browserstack-node-sdk 1.34.33 → 1.34.34

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 (131) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance/constants.js +1 -1
  115. package/src/helpers/performance/performance-tester.js +1 -1
  116. package/src/helpers/processHelper.js +1 -1
  117. package/src/helpers/request-spy.js +1 -1
  118. package/src/helpers/setKeepAlive.js +1 -1
  119. package/src/helpers/test-observability/constants.js +1 -1
  120. package/src/helpers/test-observability/error-handler.js +1 -1
  121. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  122. package/src/helpers/test-observability/sessionHandler.js +1 -1
  123. package/src/helpers/test-observability/utils.js +1 -1
  124. package/src/helpers/testhub/constants.js +1 -1
  125. package/src/helpers/testhub/testhubHandler.js +1 -1
  126. package/src/helpers/testhub/utils.js +1 -1
  127. package/src/helpers/timeoutPromise.js +1 -1
  128. package/src/helpers/utilities.js +1 -1
  129. package/src/helpers/w3cMapping.js +1 -1
  130. package/src/hubAllocationMethods.js +1 -1
  131. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a29_0x4382(_0x1ed886,_0x3a520a){const _0x123ed0=a29_0x123e();return a29_0x4382=function(_0x43825a,_0x19e9c6){_0x43825a=_0x43825a-0x1c5;let _0x16ab56=_0x123ed0[_0x43825a];return _0x16ab56;},a29_0x4382(_0x1ed886,_0x3a520a);}const a29_0x336e9a=a29_0x4382;(function(_0x3a4c94,_0x3b3640){const _0x212fbe=a29_0x4382,_0x203575=_0x3a4c94();while(!![]){try{const _0x253aa2=-parseInt(_0x212fbe(0x230))/0x1+-parseInt(_0x212fbe(0x1d1))/0x2*(-parseInt(_0x212fbe(0x204))/0x3)+-parseInt(_0x212fbe(0x20e))/0x4+parseInt(_0x212fbe(0x232))/0x5*(-parseInt(_0x212fbe(0x22e))/0x6)+-parseInt(_0x212fbe(0x1d0))/0x7+-parseInt(_0x212fbe(0x22c))/0x8+parseInt(_0x212fbe(0x217))/0x9*(parseInt(_0x212fbe(0x223))/0xa);if(_0x253aa2===_0x3b3640)break;else _0x203575['push'](_0x203575['shift']());}catch(_0x5d3369){_0x203575['push'](_0x203575['shift']());}}}(a29_0x123e,0xd6572));const logger=require(a29_0x336e9a(0x203))[a29_0x336e9a(0x1cf)],helper=require(a29_0x336e9a(0x226)),constants=require(a29_0x336e9a(0x225)),hubAllocator=require(a29_0x336e9a(0x233)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x336e9a(0x222)),{setAccessibilityCapabilities,setExtension}=require(a29_0x336e9a(0x20b)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x336e9a(0x1fe)),globals=require(a29_0x336e9a(0x212)),{overrideExecute}=require(a29_0x336e9a(0x236)),modify=(_0x453cb8,_0x5da106=null,_0x487e05=![])=>{const _0x4dc8c3=a29_0x336e9a,_0x225d82={'GItGe':function(_0x5ca082,_0x2e4508){return _0x5ca082!==_0x2e4508;},'HGnQo':'/session','vjHCm':function(_0xc558b7,_0x50711d){return _0xc558b7!==_0x50711d;},'OuceA':function(_0x1e5474,_0xf74c30){return _0x1e5474+_0xf74c30;},'suQta':function(_0x3153b7,_0x3d0a54){return _0x3153b7+_0x3d0a54;},'upbLo':_0x4dc8c3(0x1cb),'TxSsp':_0x4dc8c3(0x21f),'QYHYm':_0x4dc8c3(0x1d5),'dhgPE':_0x4dc8c3(0x20c),'mkNIg':_0x4dc8c3(0x1f6),'HtaUC':_0x4dc8c3(0x228),'NMdRS':_0x4dc8c3(0x1de),'VbjOR':_0x4dc8c3(0x1eb),'cHtKB':_0x4dc8c3(0x1f0),'GKKiL':_0x4dc8c3(0x1ee),'bzOsS':_0x4dc8c3(0x1df),'eRkFM':function(_0x18f693,_0x56682e){return _0x18f693===_0x56682e;},'EBOKW':_0x4dc8c3(0x1fc),'ZDCTp':_0x4dc8c3(0x1fa),'vzGMp':'optimalHubUrl','Yvtvb':_0x4dc8c3(0x23f),'KNYzF':function(_0x3762dd,_0x299958,_0x1b696d){return _0x3762dd(_0x299958,_0x1b696d);},'BwPTS':function(_0x380638,_0x557dce,_0x2175f4){return _0x380638(_0x557dce,_0x2175f4);},'TSNkQ':function(_0x162ebc,_0x3a148c){return _0x162ebc(_0x3a148c);},'Swkpc':'3|4|5|0|1|2','HLikt':_0x4dc8c3(0x23c),'MKigU':_0x4dc8c3(0x1e1),'ftdvK':function(_0x52e1d9){return _0x52e1d9();},'eophE':function(_0x288f45,_0x5df2c5){return _0x288f45(_0x5df2c5);},'cFnpw':function(_0x3338b2,_0x1d325a){return _0x3338b2(_0x1d325a);},'DYQWg':function(_0x320a23,_0x139124){return _0x320a23(_0x139124);},'ojvMP':function(_0x4084ba,_0x3860e1,_0x1b257e){return _0x4084ba(_0x3860e1,_0x1b257e);},'VadVN':function(_0x17b6de,_0x35a7b6){return _0x17b6de!==_0x35a7b6;},'pAxMu':_0x4dc8c3(0x1dc),'yViED':_0x4dc8c3(0x216)},_0x30f071=helper[_0x4dc8c3(0x1ed)]();let _0x4f534b;try{_0x4f534b=helper[_0x4dc8c3(0x1c5)](),_0x4f534b[_0x4dc8c3(0x240)]&&(_0x4f534b[_0x4dc8c3(0x205)]=_0x4f534b[_0x4dc8c3(0x240)]);}catch(_0x15216d){return;}if(helper['isBrowserstackInfra']()){const _0x3357fb={};_0x3357fb[_0x4dc8c3(0x1e8)]=_0x453cb8['browserStackLogLevel'],helper[_0x4dc8c3(0x234)](_0x3357fb,new Map(),new Map()),logger[_0x4dc8c3(0x1cd)](_0x225d82[_0x4dc8c3(0x1fd)]),logger[_0x4dc8c3(0x238)](_0x225d82['yViED']);}class _0x585272 extends _0x30f071[_0x4dc8c3(0x1ec)]{[_0x4dc8c3(0x1ea)](_0x14d85d){const _0x1bd44c=_0x4dc8c3;if(_0x225d82[_0x1bd44c(0x20d)](_0x14d85d[_0x1bd44c(0x209)],_0x225d82[_0x1bd44c(0x1cc)])&&_0x225d82[_0x1bd44c(0x218)](global['newHubUrl'],''))try{global['newHubUrl']=_0x225d82[_0x1bd44c(0x200)](_0x225d82[_0x1bd44c(0x1d9)](_0x225d82[_0x1bd44c(0x1e3)],global[_0x1bd44c(0x239)]),_0x225d82['TxSsp']),this[_0x1bd44c(0x21d)]=hubAllocator['getRequestOptions'](global[_0x1bd44c(0x239)]),logger[_0x1bd44c(0x238)](_0x1bd44c(0x1f2)+global[_0x1bd44c(0x239)]),global[_0x1bd44c(0x239)]='';}catch(_0x5876fb){logger[_0x1bd44c(0x1d7)](_0x5876fb);}return super['send'](_0x14d85d);}}class _0x3fc797 extends _0x4f534b[_0x4dc8c3(0x205)]{[_0x4dc8c3(0x1ca)](){const _0x1b09f8=_0x4dc8c3;return this[_0x1b09f8(0x1e5)]=helper[_0x1b09f8(0x1e4)](_0x453cb8),logger['debug'](_0x1b09f8(0x1ce)+this[_0x1b09f8(0x1e5)]),this;}[_0x4dc8c3(0x23a)](_0x55d817){const _0x539d42=_0x4dc8c3;let _0x378371={};for(const _0x29c2f4 in _0x55d817){switch(_0x29c2f4){case _0x225d82[_0x539d42(0x20f)]:case _0x225d82['dhgPE']:this[_0x539d42(0x1e9)]&&(_0x378371=this[_0x539d42(0x1e9)]['get'](this[_0x539d42(0x1e9)][_0x539d42(0x1ef)])||{},this[_0x539d42(0x1e9)][_0x539d42(0x214)](this['chromeOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x378371,_0x55d817[_0x29c2f4])));break;case _0x225d82[_0x539d42(0x1f1)]:case _0x225d82[_0x539d42(0x1c9)]:this[_0x539d42(0x1d8)]&&(_0x378371=this['edgeOptions_'][_0x539d42(0x1d6)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this['edgeOptions_']['set'](this[_0x539d42(0x1d8)][_0x539d42(0x1ef)],helper[_0x539d42(0x213)](_0x378371,_0x55d817[_0x29c2f4])));break;case _0x225d82[_0x539d42(0x201)]:case _0x225d82['VbjOR']:this[_0x539d42(0x1da)]&&(_0x378371=this[_0x539d42(0x1da)]['get'](this[_0x539d42(0x1da)][_0x539d42(0x1ef)])||{},this[_0x539d42(0x1da)][_0x539d42(0x214)](this['firefoxOptions_'][_0x539d42(0x1ef)],helper[_0x539d42(0x213)](_0x378371,_0x55d817[_0x29c2f4])));break;case _0x225d82[_0x539d42(0x1f7)]:this[_0x539d42(0x237)]&&(_0x378371=this[_0x539d42(0x237)][_0x539d42(0x1d6)](this[_0x539d42(0x237)][_0x539d42(0x1ef)])||{},this[_0x539d42(0x237)]['set'](this[_0x539d42(0x237)][_0x539d42(0x1ef)],helper[_0x539d42(0x213)](_0x378371,_0x55d817[_0x29c2f4])));break;case _0x225d82[_0x539d42(0x221)]:case _0x225d82[_0x539d42(0x21b)]:this[_0x539d42(0x21e)]&&(_0x378371=this[_0x539d42(0x21e)][_0x539d42(0x1d6)](this[_0x539d42(0x21e)]['CAPABILITY_KEY'])||{},this[_0x539d42(0x21e)][_0x539d42(0x214)](this['ieOptions_']['CAPABILITY_KEY'],helper[_0x539d42(0x213)](_0x378371,_0x55d817[_0x29c2f4])));break;}}}[_0x4dc8c3(0x202)](){const _0x499c97=_0x4dc8c3,_0x7af46b={'zoTFj':function(_0x14edae,_0x5c9182){const _0x3ccd01=a29_0x4382;return _0x225d82[_0x3ccd01(0x241)](_0x14edae,_0x5c9182);},'bRIgY':_0x225d82[_0x499c97(0x227)]};return logger[_0x499c97(0x238)](_0x225d82['ZDCTp']),this[_0x499c97(0x23a)](_0x453cb8['capability']),Object[_0x499c97(0x1f3)](_0x453cb8[_0x499c97(0x1f8)])['forEach'](_0x7f017f=>{const _0x25fb2b=_0x499c97,_0x5abcd4=this['capabilities_'][_0x25fb2b(0x1d6)](_0x7f017f);_0x7af46b[_0x25fb2b(0x22f)](typeof _0x5abcd4,_0x7af46b[_0x25fb2b(0x21a)])?this[_0x25fb2b(0x22d)][_0x25fb2b(0x214)](_0x7f017f,helper['mergeDeep'](_0x5abcd4,_0x453cb8['capability'][_0x7f017f])):this[_0x25fb2b(0x22d)][_0x25fb2b(0x214)](_0x7f017f,_0x453cb8['capability'][_0x7f017f]);}),this;}[_0x4dc8c3(0x1e7)](){const _0xc85787=_0x4dc8c3,_0x40e3ee={'uQAiH':function(_0x41f2bd,_0x5aa2ec,_0x50b3c1){const _0x43dd0c=a29_0x4382;return _0x225d82[_0x43dd0c(0x23d)](_0x41f2bd,_0x5aa2ec,_0x50b3c1);},'YYmWh':function(_0x2eaa75,_0x2312ae,_0x1e7d7f){const _0x1dd05c=a29_0x4382;return _0x225d82[_0x1dd05c(0x1c8)](_0x2eaa75,_0x2312ae,_0x1e7d7f);},'MIUgY':function(_0x44d0c1,_0x8d87e6){return _0x225d82['TSNkQ'](_0x44d0c1,_0x8d87e6);}};if(helper[_0xc85787(0x211)]()){const _0x1ac7b2=_0x225d82[_0xc85787(0x220)][_0xc85787(0x1db)]('|');let _0x319323=0x0;while(!![]){switch(_0x1ac7b2[_0x319323++]){case'0':if(helper[_0xc85787(0x1e6)](_0x453cb8[_0xc85787(0x1dd)][_0xc85787(0x1d4)]))this[_0xc85787(0x21c)]=helper['getHttpAgent'](_0x453cb8[_0xc85787(0x1dd)][_0xc85787(0x1d4)]);else _0x453cb8[_0xc85787(0x1dd)][_0xc85787(0x1d4)]&&(this['proxy_']=_0x453cb8['proxySettings'][_0xc85787(0x1d4)],logger[_0xc85787(0x238)](_0xc85787(0x1f4)+this[_0xc85787(0x22b)]));continue;case'1':globals['getGlobal'](_0x225d82['HLikt'])&&(!_0x225d82[_0xc85787(0x1c8)](setExtension,this,_0x453cb8)&&globals['setGlobal'](_0x225d82['HLikt'],![]));continue;case'2':logger['debug'](_0x225d82[_0xc85787(0x20a)]);continue;case'3':_0x225d82[_0xc85787(0x210)](isAccessibilityAutomationSession)&&_0x225d82[_0xc85787(0x1f5)](setAccessibilityCapabilities,_0x453cb8);continue;case'4':this['setServer']();continue;case'5':this[_0xc85787(0x202)]();continue;}break;}}const _0x4aacf4=super[_0xc85787(0x1e7)]();return _0x4aacf4[_0xc85787(0x1fb)][_0xc85787(0x219)](_0x179c98=>{const _0x412eb8=_0xc85787;try{const _0xd0cf77=_0x179c98[_0x412eb8(0x23b)][_0x412eb8(0x1d6)](_0x225d82['vzGMp']);_0xd0cf77?(logger[_0x412eb8(0x238)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0xd0cf77),hubAllocator[_0x412eb8(0x231)](_0xd0cf77),helper[_0x412eb8(0x1e2)](_0xd0cf77)):logger[_0x412eb8(0x238)](_0x225d82[_0x412eb8(0x229)]);}catch(_0x4be9de){logger[_0x412eb8(0x238)](_0x412eb8(0x1e0)+_0x4be9de);}}),_0x4aacf4[_0xc85787(0x208)]=0x0,_0x4aacf4[_0xc85787(0x219)]&&_0x4aacf4['then'](_0x5c6134=>{const _0x473a89=_0xc85787,_0x3a9acb={'zfZVP':function(_0x47d90f,_0xb70aae,_0x3e2227){return _0x40e3ee['uQAiH'](_0x47d90f,_0xb70aae,_0x3e2227);}};_0x40e3ee['YYmWh'](overrideQuit,_0x5c6134,_0x4aacf4),_0x40e3ee['MIUgY'](overrideTakeScreenshot,_0x5c6134),helper[_0x473a89(0x1ff)](_0x5c6134,_0x453cb8),_0x40e3ee['uQAiH'](overrideExecute,_0x5c6134,_0x453cb8),_0x5c6134[_0x473a89(0x22a)]=async()=>{const _0x4c09e1=_0x473a89;return await _0x3a9acb[_0x4c09e1(0x206)](getAccessibilityResultsSummary,_0x5c6134,global);},_0x5c6134['getAccessibilityResults']=async()=>{const _0x5090c7=_0x473a89;return await _0x3a9acb[_0x5090c7(0x206)](getAccessibilityResults,_0x5c6134,global);};}),_0x4aacf4[_0xc85787(0x22a)]=async()=>{const _0x572627=_0xc85787;return await _0x225d82[_0x572627(0x1c8)](getAccessibilityResultsSummary,_0x4aacf4,global);},_0x4aacf4[_0xc85787(0x1f9)]=async()=>{return await _0x225d82['KNYzF'](getAccessibilityResults,_0x4aacf4,global);},_0x225d82[_0xc85787(0x23e)](overrideTakeScreenshot,_0x4aacf4),_0x225d82['DYQWg'](overrideQuit,_0x4aacf4),helper[_0xc85787(0x1ff)](_0x4aacf4,_0x453cb8),_0x225d82[_0xc85787(0x1d2)](overrideExecute,_0x4aacf4,_0x453cb8),helper['isUndefined'](global['__driversArray'])&&(global[_0xc85787(0x1c6)]=[]),helper['isUndefined'](global[_0xc85787(0x235)])&&(global[_0xc85787(0x235)]=[]),global[_0xc85787(0x1c6)][_0xc85787(0x224)](_0x4aacf4),global[_0xc85787(0x215)]=_0x4aacf4,_0x225d82['VadVN'](global[_0xc85787(0x235)],undefined)&&global[_0xc85787(0x235)][_0xc85787(0x224)](_0x4aacf4),_0x5da106&&helper[_0xc85787(0x1d3)](_0x5da106[_0xc85787(0x207)][_0xc85787(0x1c6)])&&(_0x5da106[_0xc85787(0x207)][_0xc85787(0x1c6)]=[]),_0x5da106&&_0x225d82['GItGe'](_0x5da106['global'][_0xc85787(0x235)],undefined)&&(_0x5da106[_0xc85787(0x207)][_0xc85787(0x235)][_0xc85787(0x224)](_0x4aacf4),_0x5da106[_0xc85787(0x207)][_0xc85787(0x1c6)][_0xc85787(0x224)](_0x4aacf4)),_0x4aacf4;}}return _0x4f534b[_0x4dc8c3(0x240)]=_0x4f534b[_0x4dc8c3(0x205)],_0x4f534b[_0x4dc8c3(0x205)]=_0x3fc797,_0x30f071[_0x4dc8c3(0x1ec)]=_0x585272,_0x4f534b;};module['exports'][a29_0x336e9a(0x1c7)]=modify;function a29_0x123e(){const _0x2c3dab=['18AqrFZe','vjHCm','then','bRIgY','bzOsS','agent_','options_','ieOptions_','/wd/hub','Swkpc','GKKiL','../../../helpers/patchHelpers','29828730sFEkkK','push','../../../bin/utils/constants','../../../helpers/helper','EBOKW','edgeOptions','Yvtvb','getAccessibilityResultsSummary','proxy_','10774752BsPngw','capabilities_','393180HXJuBh','zoTFj','1630612wrUKuL','updateHubUrl','5rEwYPL','../../../hubAllocationMethods','setLogLevel','__drivers','./helpers/patchHelper','safariOptions_','debug','newHubUrl','__setBrowserOptions','caps_','isAccessibilityPlatform','BwPTS','cFnpw','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','originalBuilder','eRkFM','requireSeleniumWebdriver','__driversArray','browserstackAgentObservability','KNYzF','HtaUC','setServer','https://','HGnQo','info','Hub\x20url\x20set\x20to\x20','winstonLogger','4267095lvSioD','1104gFjwFs','ojvMP','isUndefined','proxyUrl','goog:chromeOptions','get','error','edgeOptions_','suQta','firefoxOptions_','split','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','proxySettings','moz:firefoxOptions','ieOptions','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','storeOptimalHubUrl','upbLo','getHubUrl','url_','isPacProxy','build','logLevel','chromeOptions_','send','firefoxOptions','HttpClient','requireHttpClient','se:ieOptions','CAPABILITY_KEY','safari.options','mkNIg','New\x20hub\x20url\x20set\x20to\x20','keys','Proxy\x20set\x20to\x20','eophE','ms:edgeOptions','cHtKB','capability','getAccessibilityResults','Setting\x20Browserstack\x20capabilities','session_','object','pAxMu','../../../helpers/accessibility-automation/helper','overrideGet','OuceA','NMdRS','setCapabilities','../../../helpers/logger','1542ngPSvm','Builder','zfZVP','global','quitCount_','path','MKigU','../accessibility-automation/helper','chromeOptions','GItGe','6875860CJfLqy','QYHYm','ftdvK','isBrowserstackInfra','../../../helpers/globals','mergeDeep','set','__driver','Modifying\x20webdriver\x20builder'];a29_0x123e=function(){return _0x2c3dab;};return a29_0x123e();}
1
+ const a29_0xe88bd3=a29_0x2487;(function(_0x2b1255,_0x1fee90){const _0x353252=a29_0x2487,_0x304807=_0x2b1255();while(!![]){try{const _0x2721de=-parseInt(_0x353252(0x1f7))/0x1+-parseInt(_0x353252(0x1a9))/0x2+-parseInt(_0x353252(0x1f2))/0x3*(parseInt(_0x353252(0x18e))/0x4)+parseInt(_0x353252(0x1b5))/0x5*(-parseInt(_0x353252(0x1ac))/0x6)+-parseInt(_0x353252(0x196))/0x7+parseInt(_0x353252(0x18f))/0x8+parseInt(_0x353252(0x1de))/0x9*(parseInt(_0x353252(0x1bf))/0xa);if(_0x2721de===_0x1fee90)break;else _0x304807['push'](_0x304807['shift']());}catch(_0x53bc62){_0x304807['push'](_0x304807['shift']());}}}(a29_0x3209,0x3461c));function a29_0x2487(_0x49ebac,_0x5bc95f){const _0x3209ea=a29_0x3209();return a29_0x2487=function(_0x248734,_0x1ab8e8){_0x248734=_0x248734-0x185;let _0x54c3ac=_0x3209ea[_0x248734];return _0x54c3ac;},a29_0x2487(_0x49ebac,_0x5bc95f);}const logger=require(a29_0xe88bd3(0x1d6))['winstonLogger'],helper=require(a29_0xe88bd3(0x1c2)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0xe88bd3(0x1bb)),{setAccessibilityCapabilities,setExtension}=require(a29_0xe88bd3(0x1af)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0xe88bd3(0x1d9)),{overrideExecute}=require(a29_0xe88bd3(0x1dc)),modify=(_0x568075,_0x107cc2=null,_0x464402=![])=>{const _0x951d26=a29_0xe88bd3,_0x3507ee={'CxIHZ':function(_0x575c3b,_0xe7257f){return _0x575c3b!==_0xe7257f;},'WOPpB':'/session','psqtU':function(_0x1d8443,_0x3580ed){return _0x1d8443!==_0x3580ed;},'lmlfL':function(_0x1d68ba,_0x56c7ff){return _0x1d68ba+_0x56c7ff;},'giYvS':function(_0x129073,_0x25f11a){return _0x129073+_0x25f11a;},'HWjPM':_0x951d26(0x192),'HfAng':_0x951d26(0x1b9),'ByHcD':_0x951d26(0x1ec),'HPrXS':'chromeOptions','RZYrW':_0x951d26(0x1a8),'BTcPJ':'edgeOptions','TJgFt':_0x951d26(0x1f0),'XtLDH':_0x951d26(0x1a3),'YHIFi':_0x951d26(0x1c5),'qlgCv':'se:ieOptions','FKwra':_0x951d26(0x19b),'SyxgK':function(_0x501d67,_0x124931){return _0x501d67===_0x124931;},'sMbKI':'object','ObMfN':_0x951d26(0x1e9),'BvEeX':_0x951d26(0x1b8),'zDcrU':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','revwv':function(_0x13d24e,_0x244734,_0x379f73){return _0x13d24e(_0x244734,_0x379f73);},'kRRRn':_0x951d26(0x1bd),'rMTuy':function(_0x38b6b2,_0x12b240){return _0x38b6b2(_0x12b240);},'lffAg':_0x951d26(0x1c0),'eBRbD':_0x951d26(0x1d4),'XZipL':function(_0x2627cc){return _0x2627cc();},'meaWa':function(_0x113a85,_0x57506a){return _0x113a85(_0x57506a);},'fwIJo':_0x951d26(0x1aa),'fbdLq':function(_0x492d0f,_0x45dbda){return _0x492d0f!==_0x45dbda;},'gKlvg':function(_0x28de06,_0x26c54d){return _0x28de06!==_0x26c54d;},'wvIBi':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','gViKv':_0x951d26(0x1a1)},_0x106234=helper[_0x951d26(0x18d)]();let _0x4616df;try{_0x4616df=helper[_0x951d26(0x199)](),_0x4616df['originalBuilder']&&(_0x4616df[_0x951d26(0x1f3)]=_0x4616df[_0x951d26(0x1c8)]);}catch(_0x7dfcdb){return;}if(helper[_0x951d26(0x1ce)]()){const _0x5666b2={};_0x5666b2['logLevel']=_0x568075[_0x951d26(0x1cb)],helper[_0x951d26(0x190)](_0x5666b2,new Map(),new Map()),logger[_0x951d26(0x19d)](_0x3507ee[_0x951d26(0x1c3)]),logger[_0x951d26(0x1df)](_0x3507ee['gViKv']);}class _0x131966 extends _0x106234[_0x951d26(0x1b0)]{[_0x951d26(0x1e7)](_0xf3a4c7){const _0x872a64=_0x951d26;if(_0x3507ee[_0x872a64(0x1d5)](_0xf3a4c7[_0x872a64(0x19a)],_0x3507ee[_0x872a64(0x1ed)])&&_0x3507ee[_0x872a64(0x1ae)](global[_0x872a64(0x1e3)],''))try{global[_0x872a64(0x1e3)]=_0x3507ee['lmlfL'](_0x3507ee[_0x872a64(0x19e)](_0x3507ee[_0x872a64(0x1b3)],global['newHubUrl']),_0x3507ee[_0x872a64(0x1ad)]),this[_0x872a64(0x1b2)]=hubAllocator[_0x872a64(0x1ab)](global[_0x872a64(0x1e3)]),logger[_0x872a64(0x1df)](_0x872a64(0x1bc)+global[_0x872a64(0x1e3)]),global[_0x872a64(0x1e3)]='';}catch(_0x5061fd){logger['error'](_0x5061fd);}return super[_0x872a64(0x1e7)](_0xf3a4c7);}}class _0x287fac extends _0x4616df[_0x951d26(0x1f3)]{[_0x951d26(0x195)](){const _0x251bcf=_0x951d26;return this[_0x251bcf(0x1f1)]=helper['getHubUrl'](_0x568075),logger[_0x251bcf(0x1df)](_0x251bcf(0x1f6)+this['url_']),this;}[_0x951d26(0x1a2)](_0x58ec83){const _0x549aaa=_0x951d26;let _0x3e806f={};for(const _0x4159c1 in _0x58ec83){switch(_0x4159c1){case _0x3507ee[_0x549aaa(0x1db)]:case _0x3507ee['HPrXS']:this[_0x549aaa(0x1eb)]&&(_0x3e806f=this['chromeOptions_']['get'](this['chromeOptions_'][_0x549aaa(0x1c7)])||{},this[_0x549aaa(0x1eb)][_0x549aaa(0x1a4)](this['chromeOptions_'][_0x549aaa(0x1c7)],helper[_0x549aaa(0x18c)](_0x3e806f,_0x58ec83[_0x4159c1])));break;case _0x3507ee[_0x549aaa(0x1e6)]:case _0x3507ee[_0x549aaa(0x1da)]:this[_0x549aaa(0x1d8)]&&(_0x3e806f=this['edgeOptions_'][_0x549aaa(0x186)](this[_0x549aaa(0x1d8)][_0x549aaa(0x1c7)])||{},this['edgeOptions_'][_0x549aaa(0x1a4)](this[_0x549aaa(0x1d8)][_0x549aaa(0x1c7)],helper[_0x549aaa(0x18c)](_0x3e806f,_0x58ec83[_0x4159c1])));break;case _0x3507ee[_0x549aaa(0x1c9)]:case _0x3507ee[_0x549aaa(0x18a)]:this[_0x549aaa(0x1f4)]&&(_0x3e806f=this[_0x549aaa(0x1f4)][_0x549aaa(0x186)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x549aaa(0x1f4)][_0x549aaa(0x1a4)](this[_0x549aaa(0x1f4)]['CAPABILITY_KEY'],helper[_0x549aaa(0x18c)](_0x3e806f,_0x58ec83[_0x4159c1])));break;case _0x3507ee[_0x549aaa(0x1d3)]:this[_0x549aaa(0x1fa)]&&(_0x3e806f=this[_0x549aaa(0x1fa)][_0x549aaa(0x186)](this['safariOptions_'][_0x549aaa(0x1c7)])||{},this[_0x549aaa(0x1fa)]['set'](this[_0x549aaa(0x1fa)][_0x549aaa(0x1c7)],helper[_0x549aaa(0x18c)](_0x3e806f,_0x58ec83[_0x4159c1])));break;case _0x3507ee[_0x549aaa(0x1a7)]:case _0x3507ee[_0x549aaa(0x194)]:this[_0x549aaa(0x1e2)]&&(_0x3e806f=this[_0x549aaa(0x1e2)]['get'](this[_0x549aaa(0x1e2)][_0x549aaa(0x1c7)])||{},this[_0x549aaa(0x1e2)][_0x549aaa(0x1a4)](this[_0x549aaa(0x1e2)]['CAPABILITY_KEY'],helper[_0x549aaa(0x18c)](_0x3e806f,_0x58ec83[_0x4159c1])));break;}}}[_0x951d26(0x1fc)](){const _0x4b827f=_0x951d26,_0x29f0dc={'jRHvP':function(_0x1b88b4,_0x419070){return _0x3507ee['SyxgK'](_0x1b88b4,_0x419070);},'grUiF':_0x3507ee[_0x4b827f(0x188)]};return logger['debug'](_0x3507ee[_0x4b827f(0x1cf)]),this[_0x4b827f(0x1a2)](_0x568075[_0x4b827f(0x1f8)]),Object[_0x4b827f(0x1b1)](_0x568075[_0x4b827f(0x1f8)])[_0x4b827f(0x1d0)](_0x50c26e=>{const _0x224f70=_0x4b827f,_0x572854=this['capabilities_'][_0x224f70(0x186)](_0x50c26e);_0x29f0dc[_0x224f70(0x191)](typeof _0x572854,_0x29f0dc[_0x224f70(0x1fb)])?this[_0x224f70(0x1f5)][_0x224f70(0x1a4)](_0x50c26e,helper[_0x224f70(0x18c)](_0x572854,_0x568075[_0x224f70(0x1f8)][_0x50c26e])):this[_0x224f70(0x1f5)][_0x224f70(0x1a4)](_0x50c26e,_0x568075[_0x224f70(0x1f8)][_0x50c26e]);}),this;}['build'](){const _0x38765e=_0x951d26,_0x593819={'ToisQ':function(_0x230a42,_0x5f4022,_0x3e3760){const _0xc5b430=a29_0x2487;return _0x3507ee[_0xc5b430(0x1ca)](_0x230a42,_0x5f4022,_0x3e3760);},'DkWlP':_0x3507ee[_0x38765e(0x1e1)],'tNsIZ':function(_0x3e499a,_0x2f06a0){const _0x21f4de=_0x38765e;return _0x3507ee[_0x21f4de(0x1c6)](_0x3e499a,_0x2f06a0);},'xGaBV':function(_0x4df020,_0x5d4033,_0x576226){return _0x3507ee['revwv'](_0x4df020,_0x5d4033,_0x576226);}};if(helper[_0x38765e(0x1ce)]()){const _0x52bb21=_0x3507ee[_0x38765e(0x1e0)][_0x38765e(0x1a0)]('|');let _0xa6e8dd=0x0;while(!![]){switch(_0x52bb21[_0xa6e8dd++]){case'0':globals['getGlobal'](_0x3507ee['eBRbD'])&&(!_0x3507ee[_0x38765e(0x1ca)](setExtension,this,_0x568075)&&globals['setGlobal'](_0x3507ee[_0x38765e(0x1d2)],![]));continue;case'1':_0x3507ee[_0x38765e(0x1ba)](isAccessibilityAutomationSession)&&_0x3507ee['meaWa'](setAccessibilityCapabilities,_0x568075);continue;case'2':if(helper[_0x38765e(0x1a6)](_0x568075[_0x38765e(0x197)][_0x38765e(0x189)]))this['agent_']=helper['getHttpAgent'](_0x568075[_0x38765e(0x197)]['proxyUrl']);else _0x568075['proxySettings'][_0x38765e(0x189)]&&(this[_0x38765e(0x1b4)]=_0x568075[_0x38765e(0x197)][_0x38765e(0x189)],logger[_0x38765e(0x1df)]('Proxy\x20set\x20to\x20'+this['proxy_']));continue;case'3':this['setServer']();continue;case'4':logger[_0x38765e(0x1df)](_0x3507ee['fwIJo']);continue;case'5':this[_0x38765e(0x1fc)]();continue;}break;}}const _0x281180=super[_0x38765e(0x19c)]();return _0x281180[_0x38765e(0x1c4)][_0x38765e(0x1e8)](_0x348d5a=>{const _0x111903=_0x38765e;try{const _0x1fe38c=_0x348d5a[_0x111903(0x18b)][_0x111903(0x186)](_0x3507ee[_0x111903(0x185)]);_0x1fe38c?(logger[_0x111903(0x1df)](_0x111903(0x198)+_0x1fe38c),hubAllocator[_0x111903(0x1dd)](_0x1fe38c),helper[_0x111903(0x193)](_0x1fe38c)):logger[_0x111903(0x1df)](_0x3507ee['zDcrU']);}catch(_0x32e045){logger[_0x111903(0x1df)](_0x111903(0x1d7)+_0x32e045);}}),_0x281180[_0x38765e(0x1c1)]=0x0,_0x281180[_0x38765e(0x1e8)]&&_0x281180['then'](_0x194586=>{const _0x5e5e1c=_0x38765e,_0x2527c8=_0x593819['DkWlP'][_0x5e5e1c(0x1a0)]('|');let _0x574137=0x0;while(!![]){switch(_0x2527c8[_0x574137++]){case'0':_0x194586['getAccessibilityResults']=async()=>{return await _0x593819['ToisQ'](getAccessibilityResults,_0x194586,global);};continue;case'1':helper[_0x5e5e1c(0x1d1)](_0x194586,_0x568075);continue;case'2':_0x593819[_0x5e5e1c(0x19f)](overrideExecute,_0x194586,_0x568075);continue;case'3':_0x194586[_0x5e5e1c(0x1a5)]=async()=>{const _0x5cb9ff=_0x5e5e1c;return await _0x593819[_0x5cb9ff(0x19f)](getAccessibilityResultsSummary,_0x194586,global);};continue;case'4':_0x593819['ToisQ'](overrideQuit,_0x194586,_0x281180);continue;case'5':_0x593819[_0x5e5e1c(0x1cc)](overrideTakeScreenshot,_0x194586);continue;}break;}}),_0x281180['getAccessibilityResultsSummary']=async()=>{return await _0x593819['ToisQ'](getAccessibilityResultsSummary,_0x281180,global);},_0x281180[_0x38765e(0x187)]=async()=>{const _0x3acb40=_0x38765e;return await _0x593819[_0x3acb40(0x1ee)](getAccessibilityResults,_0x281180,global);},_0x3507ee[_0x38765e(0x1b7)](overrideTakeScreenshot,_0x281180),_0x3507ee['rMTuy'](overrideQuit,_0x281180),helper[_0x38765e(0x1d1)](_0x281180,_0x568075),_0x3507ee[_0x38765e(0x1ca)](overrideExecute,_0x281180,_0x568075),helper[_0x38765e(0x1be)](global['__driversArray'])&&(global[_0x38765e(0x1cd)]=[]),helper[_0x38765e(0x1be)](global['__drivers'])&&(global[_0x38765e(0x1ef)]=[]),global[_0x38765e(0x1cd)][_0x38765e(0x1b6)](_0x281180),global[_0x38765e(0x1ea)]=_0x281180,_0x3507ee['fbdLq'](global[_0x38765e(0x1ef)],undefined)&&global[_0x38765e(0x1ef)][_0x38765e(0x1b6)](_0x281180),_0x107cc2&&helper['isUndefined'](_0x107cc2[_0x38765e(0x1f9)][_0x38765e(0x1cd)])&&(_0x107cc2[_0x38765e(0x1f9)][_0x38765e(0x1cd)]=[]),_0x107cc2&&_0x3507ee[_0x38765e(0x1e5)](_0x107cc2['global'][_0x38765e(0x1ef)],undefined)&&(_0x107cc2['global']['__drivers'][_0x38765e(0x1b6)](_0x281180),_0x107cc2['global'][_0x38765e(0x1cd)][_0x38765e(0x1b6)](_0x281180)),_0x281180;}}return _0x4616df[_0x951d26(0x1c8)]=_0x4616df[_0x951d26(0x1f3)],_0x4616df['Builder']=_0x287fac,_0x106234[_0x951d26(0x1b0)]=_0x131966,_0x4616df;};function a29_0x3209(){const _0xcc4869=['YHIFi','isAccessibilityPlatform','CxIHZ','../../../helpers/logger','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','edgeOptions_','../../../helpers/globals','BTcPJ','ByHcD','./helpers/patchHelper','updateHubUrl','7455303niwDxt','debug','lffAg','kRRRn','ieOptions_','newHubUrl','exports','gKlvg','RZYrW','send','then','Setting\x20Browserstack\x20capabilities','__driver','chromeOptions_','goog:chromeOptions','WOPpB','xGaBV','__drivers','moz:firefoxOptions','url_','8958JRPvyT','Builder','firefoxOptions_','capabilities_','Hub\x20url\x20set\x20to\x20','420042gdTEAp','capability','global','safariOptions_','grUiF','setCapabilities','BvEeX','get','getAccessibilityResults','sMbKI','proxyUrl','XtLDH','caps_','mergeDeep','requireHttpClient','552AgkEMW','1272496vTCBjq','setLogLevel','jRHvP','https://','storeOptimalHubUrl','FKwra','setServer','2164155vfancD','proxySettings','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','requireSeleniumWebdriver','path','ieOptions','build','info','giYvS','ToisQ','split','Modifying\x20webdriver\x20builder','__setBrowserOptions','firefoxOptions','set','getAccessibilityResultsSummary','isPacProxy','qlgCv','ms:edgeOptions','768588gurdvD','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','getRequestOptions','14646CBAUKp','HfAng','psqtU','../accessibility-automation/helper','HttpClient','keys','options_','HWjPM','proxy_','155iKGeEG','push','meaWa','optimalHubUrl','/wd/hub','XZipL','../../../helpers/patchHelpers','New\x20hub\x20url\x20set\x20to\x20','4|5|1|2|3|0','isUndefined','20adDwbK','1|3|5|2|0|4','quitCount_','../../../helpers/helper','wvIBi','session_','safari.options','rMTuy','CAPABILITY_KEY','originalBuilder','TJgFt','revwv','browserStackLogLevel','tNsIZ','__driversArray','isBrowserstackInfra','ObMfN','forEach','overrideGet','eBRbD'];a29_0x3209=function(){return _0xcc4869;};return a29_0x3209();}module[a29_0xe88bd3(0x1e4)]['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- const a30_0x5cfa8e=a30_0x498f;(function(_0x521384,_0x27a642){const _0x4dded1=a30_0x498f,_0x74b0ed=_0x521384();while(!![]){try{const _0x2e6c03=-parseInt(_0x4dded1(0x163))/0x1*(parseInt(_0x4dded1(0x156))/0x2)+parseInt(_0x4dded1(0x153))/0x3+-parseInt(_0x4dded1(0x160))/0x4*(-parseInt(_0x4dded1(0x162))/0x5)+parseInt(_0x4dded1(0x15f))/0x6*(-parseInt(_0x4dded1(0x15b))/0x7)+-parseInt(_0x4dded1(0x15e))/0x8+parseInt(_0x4dded1(0x15a))/0x9*(parseInt(_0x4dded1(0x158))/0xa)+-parseInt(_0x4dded1(0x165))/0xb*(parseInt(_0x4dded1(0x161))/0xc);if(_0x2e6c03===_0x27a642)break;else _0x74b0ed['push'](_0x74b0ed['shift']());}catch(_0x5bf7af){_0x74b0ed['push'](_0x74b0ed['shift']());}}}(a30_0x56e0,0x83911));function a30_0x498f(_0x715376,_0x5a7dfe){const _0x56e0db=a30_0x56e0();return a30_0x498f=function(_0x498faf,_0x6b7d4a){_0x498faf=_0x498faf-0x153;let _0x3c5da2=_0x56e0db[_0x498faf];return _0x3c5da2;},a30_0x498f(_0x715376,_0x5a7dfe);}const requestSpy=require(a30_0x5cfa8e(0x157)),constants=require(a30_0x5cfa8e(0x164)),{addRequestSpy}=require(a30_0x5cfa8e(0x15c));function a30_0x56e0(){const _0x3e0e48=['706593qqSObK','timeout','YvIlP','14132UyQzyx','../../../helpers/request-spy','820RHbqiy','restore','91359uryrMo','7toqRec','../../../helpers/test-observability/utils','mochaHooks','970456iUbWbt','1403076ghkhiv','3713100jMpAGn','84kmYLls','5UWLJNi','66LAOInP','../../../bin/utils/constants','999086SqkoQa'];a30_0x56e0=function(){return _0x3e0e48;};return a30_0x56e0();}exports[a30_0x5cfa8e(0x15d)]={'beforeAll'(){const _0x15d899=a30_0x5cfa8e,_0x29f52c={'YvIlP':function(_0x574cfd){return _0x574cfd();}},_0xd3f221='browserstack internal helper hook';_0x29f52c[_0x15d899(0x155)](addRequestSpy);},'afterAll'(){const _0x440f19=a30_0x5cfa8e,_0x873596='browserstack internal helper hook';this[_0x440f19(0x154)](0xea60),requestSpy[_0x440f19(0x159)]();}};
1
+ const a30_0x5c84aa=a30_0x12c4;(function(_0x4051de,_0x2be04f){const _0x4b5a33=a30_0x12c4,_0x297a5a=_0x4051de();while(!![]){try{const _0x13d9bf=parseInt(_0x4b5a33(0x166))/0x1+parseInt(_0x4b5a33(0x169))/0x2+-parseInt(_0x4b5a33(0x171))/0x3+parseInt(_0x4b5a33(0x170))/0x4+parseInt(_0x4b5a33(0x173))/0x5+-parseInt(_0x4b5a33(0x165))/0x6*(-parseInt(_0x4b5a33(0x16d))/0x7)+-parseInt(_0x4b5a33(0x16a))/0x8;if(_0x13d9bf===_0x2be04f)break;else _0x297a5a['push'](_0x297a5a['shift']());}catch(_0xc073e){_0x297a5a['push'](_0x297a5a['shift']());}}}(a30_0x3974,0x1fee8));function a30_0x12c4(_0x1e01e2,_0x5e879a){const _0x39740e=a30_0x3974();return a30_0x12c4=function(_0x12c4e0,_0xe97e01){_0x12c4e0=_0x12c4e0-0x165;let _0x541abb=_0x39740e[_0x12c4e0];return _0x541abb;},a30_0x12c4(_0x1e01e2,_0x5e879a);}const requestSpy=require(a30_0x5c84aa(0x168)),constants=require(a30_0x5c84aa(0x16c)),{addRequestSpy}=require(a30_0x5c84aa(0x16e));function a30_0x3974(){const _0x419b59=['restore','690708fsFZja','251829uWgpod','mochaHooks','145210KDNmtj','14580JxZJhL','189522qwjgbw','timeout','../../../helpers/request-spy','164952XRSBHl','2421776rguBsD','WKBGF','../../../bin/utils/constants','126hGhjcc','../../../helpers/test-observability/utils'];a30_0x3974=function(){return _0x419b59;};return a30_0x3974();}exports[a30_0x5c84aa(0x172)]={'beforeAll'(){const _0x5b8a01=a30_0x5c84aa,_0x358ea7={'WKBGF':function(_0x370c3e){return _0x370c3e();}},_0x34a2e5='browserstack internal helper hook';_0x358ea7[_0x5b8a01(0x16b)](addRequestSpy);},'afterAll'(){const _0x27de9b=a30_0x5c84aa,_0x449345='browserstack internal helper hook';this[_0x27de9b(0x167)](0xea60),requestSpy[_0x27de9b(0x16f)]();}};
@@ -1 +1 @@
1
- const a31_0x4c9be6=a31_0xd5e2;function a31_0x487f(){const _0x25d044=['getCapabilities','835MVlTtd','getHookDetails','substring','IeLdr','lwpzl','push','TEST_PLATFORM','concat','getPlatform','RPXdW','getBrowserVersion','yxyuT','getTestEnv','55800oIStAV','SwgWv','../../../helpers/testhub/utils','EILrk','getHookSkippedTests','pNfMs','../../utils/logPatcher','LpfOC','map_','pid','parent','fromEntries','_beforeEach','bs:addPlatformDetails:','jFTJG','pending','3VyMlqS','ywwQh','13740pPlLrx','split','FaRSl','_afterEach','indexOf','_afterAll','hook:','QOxYU','filter','tests','lodash','state','11210gXFhZP','AgHUk','getSession','mapTestHooks','327vmaukA','../../../helpers/test-observability/constants','../../../helpers/test-observability/utils','yiDSx','toISOString','hKbzH','suites','kSrrL','bBvet','doyKB','reduce','sendPlatformDetails','mNZXi','forEach','__cloud_provider___','781KeMHiQ','cfxSF','mjNsz','_beforeAll','getHooksForTest','2162gVhHoV','ryjok','slice','hookAnalyticsId','UFkBc','203FLDGhi','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','markedStatus','hook','HRzlm','704860bufJKU','browserstack','uuid','1516644BPkwrx','wKmOV','4844040OhrnLc','unknown_grid','eJoUx'];a31_0x487f=function(){return _0x25d044;};return a31_0x487f();}(function(_0x24c9e3,_0x5ea0cf){const _0x412ad4=a31_0xd5e2,_0x46292c=_0x24c9e3();while(!![]){try{const _0x5cfdb6=parseInt(_0x412ad4(0x1a2))/0x1*(parseInt(_0x412ad4(0x160))/0x2)+parseInt(_0x412ad4(0x190))/0x3*(parseInt(_0x412ad4(0x16a))/0x4)+parseInt(_0x412ad4(0x173))/0x5*(parseInt(_0x412ad4(0x192))/0x6)+-parseInt(_0x412ad4(0x165))/0x7*(parseInt(_0x412ad4(0x180))/0x8)+-parseInt(_0x412ad4(0x16d))/0x9+-parseInt(_0x412ad4(0x19e))/0xa*(-parseInt(_0x412ad4(0x1b1))/0xb)+-parseInt(_0x412ad4(0x16f))/0xc;if(_0x5cfdb6===_0x5ea0cf)break;else _0x46292c['push'](_0x46292c['shift']());}catch(_0x7d782f){_0x46292c['push'](_0x46292c['shift']());}}}(a31_0x487f,0x350ae));const {v4:uuidv4}=require(a31_0x4c9be6(0x16c)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x4c9be6(0x186)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x4c9be6(0x1a4)),{consoleHolder}=require(a31_0x4c9be6(0x1a3)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x4c9be6(0x182)),{isFunction}=require(a31_0x4c9be6(0x19c)),{patchConsoleLogger}=require(a31_0x4c9be6(0x1a4));function a31_0xd5e2(_0x149e84,_0x3148e3){const _0x487ff1=a31_0x487f();return a31_0xd5e2=function(_0xd5e275,_0x5a8a75){_0xd5e275=_0xd5e275-0x15d;let _0xf49c70=_0x487ff1[_0xd5e275];return _0xf49c70;},a31_0xd5e2(_0x149e84,_0x3148e3);}patchConsoleLogger(),exports[a31_0x4c9be6(0x17f)]=()=>{const _0x213765=a31_0x4c9be6,_0x118830={'yxyuT':'generic','Eqjiw':function(_0x3efcf8){return _0x3efcf8();}};return{'ci':_0x118830[_0x213765(0x17e)],'key':_0x118830['Eqjiw'](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x4c9be6(0x174)]=_0xa58d81=>{const _0x2538ce=a31_0x4c9be6,_0x23110f={};_0x23110f[_0x2538ce(0x169)]=function(_0x41bea1,_0x4fad9f){return _0x41bea1!==_0x4fad9f;},_0x23110f[_0x2538ce(0x177)]='string',_0x23110f['yiDSx']=_0x2538ce(0x198),_0x23110f[_0x2538ce(0x161)]=_0x2538ce(0x168);const _0xcad534=_0x23110f;if(!_0xa58d81||_0xcad534['HRzlm'](typeof _0xa58d81,_0xcad534['lwpzl']))return[null,null];if(_0xcad534[_0x2538ce(0x169)](_0xa58d81[_0x2538ce(0x196)](_0xcad534[_0x2538ce(0x1a5)]),-0x1)){const _0x1a0ea0=_0xa58d81[_0x2538ce(0x193)](_0xcad534[_0x2538ce(0x1a5)]);return[_0x1a0ea0[0x0][_0x2538ce(0x162)](0x0,-0x1)[_0x2538ce(0x193)]('\x22')[0x1],_0x1a0ea0[0x1][_0x2538ce(0x175)](0x1)];}else{if(_0xcad534['HRzlm'](_0xa58d81[_0x2538ce(0x196)](_0xcad534[_0x2538ce(0x161)]),-0x1)){const _0x3a03f0=_0xa58d81[_0x2538ce(0x193)](_0xcad534['ryjok']);return[_0x3a03f0[0x0][_0x2538ce(0x162)](0x0,-0x1)[_0x2538ce(0x193)]('\x22')[0x1],_0xa58d81];}}return[null,null];},exports[a31_0x4c9be6(0x15f)]=_0x45093e=>{const _0x394b40=a31_0x4c9be6,_0x45d899={'SyRmJ':function(_0x403b4a,_0x5b608f){return _0x403b4a(_0x5b608f);},'jFTJG':'_beforeAll','FaRSl':_0x394b40(0x197),'doyKB':_0x394b40(0x18c),'hKbzH':_0x394b40(0x195)};if(!_0x45093e||!_0x45093e['parent'])return[];const _0x4bca4f=[];return[_0x45d899[_0x394b40(0x18e)],_0x45d899[_0x394b40(0x194)],_0x45d899[_0x394b40(0x1ab)],_0x45d899[_0x394b40(0x1a7)]][_0x394b40(0x1af)](_0x16b82b=>{const _0x5d0f3a=_0x394b40,_0x5d69c7={'QOxYU':function(_0x213f05,_0x1b5e00){return _0x45d899['SyRmJ'](_0x213f05,_0x1b5e00);}},_0x2c9b89=_0x45093e[_0x5d0f3a(0x18a)][_0x16b82b]||[];_0x2c9b89[_0x5d0f3a(0x1af)](_0x57d3b4=>{const _0x21d600=_0x5d0f3a;_0x57d3b4[_0x21d600(0x163)]&&!_0x5d69c7[_0x21d600(0x199)](isInternalHook,_0x57d3b4['fn'])&&_0x4bca4f[_0x21d600(0x178)](_0x57d3b4['hookAnalyticsId']);});}),[..._0x4bca4f,...exports[_0x394b40(0x15f)](_0x45093e['parent'])];},exports[a31_0x4c9be6(0x1a1)]=_0x34ed65=>{const _0x2525ad=a31_0x4c9be6,_0x43745d={'EILrk':function(_0x3657f1){return _0x3657f1();},'kSrrL':function(_0x3fa813,_0x1b6c37){return _0x3fa813===_0x1b6c37;},'AgHUk':_0x2525ad(0x195),'LpfOC':_0x2525ad(0x15e),'IeLdr':_0x2525ad(0x197),'wqJtg':'_beforeEach'};if(!_0x34ed65||!_0x34ed65['parent'])return;[_0x43745d[_0x2525ad(0x187)],_0x43745d[_0x2525ad(0x176)],_0x43745d['wqJtg'],_0x43745d[_0x2525ad(0x19f)]]['forEach'](_0x48e039=>{const _0x5d81ab=_0x2525ad,_0x267984={'bBvet':function(_0x2adb8c){const _0x378458=a31_0xd5e2;return _0x43745d[_0x378458(0x183)](_0x2adb8c);},'UFkBc':function(_0x31f899,_0x2dcc63){const _0x310975=a31_0xd5e2;return _0x43745d[_0x310975(0x1a9)](_0x31f899,_0x2dcc63);},'RPXdW':_0x43745d[_0x5d81ab(0x19f)]},_0x139590=_0x34ed65[_0x5d81ab(0x18a)][_0x48e039]||[];_0x139590[_0x5d81ab(0x1af)](_0x530b23=>{const _0x1fa6e6=_0x5d81ab;if(!_0x530b23[_0x1fa6e6(0x163)])_0x530b23[_0x1fa6e6(0x163)]=_0x267984[_0x1fa6e6(0x1aa)](uuidv4);else _0x530b23[_0x1fa6e6(0x167)]&&_0x267984[_0x1fa6e6(0x164)](_0x48e039,_0x267984[_0x1fa6e6(0x17c)])&&(_0x530b23[_0x1fa6e6(0x163)]=_0x267984[_0x1fa6e6(0x1aa)](uuidv4),delete _0x530b23[_0x1fa6e6(0x167)]);});}),exports[_0x2525ad(0x1a1)](_0x34ed65[_0x2525ad(0x18a)]);},exports[a31_0x4c9be6(0x1ad)]=async(_0xfdb873,_0x32a91a)=>{const _0x4858a8=a31_0x4c9be6,_0x1cb364={'HKAKL':function(_0x535703){return _0x535703();},'BjRLF':function(_0x4ea44f,_0x55c26a){return _0x4ea44f(_0x55c26a);},'pNfMs':function(_0x3406a7,_0x433054){return _0x3406a7(_0x433054);},'ywwQh':function(_0x5cfb4a,_0x2041fc){return _0x5cfb4a===_0x2041fc;},'hCXxm':_0x4858a8(0x16b),'SwgWv':_0x4858a8(0x170),'gTwmu':_0x4858a8(0x179)};try{if(!_0x1cb364['HKAKL'](shouldProcessEventForTesthub))return;const _0x13e3ac=await _0xfdb873[_0x4858a8(0x172)](),_0x1f3b58=await _0xfdb873[_0x4858a8(0x1a0)](),_0x4cb90f={},_0x17ac91=Object[_0x4858a8(0x18b)](_0x1f3b58[_0x4858a8(0x172)]()[_0x4858a8(0x188)]),_0x5ee1bf={'product':_0x1cb364['BjRLF'](getObservabilityLinkedProductName,_0x17ac91),'capabilities':_0x17ac91,'platform':_0x13e3ac[_0x4858a8(0x17b)](),'platform_version':_0x1cb364[_0x4858a8(0x185)](getPlatformVersion,_0x1cb364[_0x4858a8(0x191)](global[_0x4858a8(0x1b0)],_0x1cb364['hCXxm'])),'browser':_0x13e3ac['getBrowserName'](),'browser_version':_0x13e3ac[_0x4858a8(0x17d)](),'session_id':_0x1f3b58['toJSON']()};global[_0x4858a8(0x1b0)]?_0x4cb90f[global[_0x4858a8(0x1b0)]]=_0x5ee1bf:_0x4cb90f[_0x1cb364[_0x4858a8(0x181)]]=_0x5ee1bf,process['emit'](_0x4858a8(0x18d)+process[_0x4858a8(0x189)],{'timestamp':new Date()[_0x4858a8(0x1a6)](),'level':null,'message':null,'kind':_0x1cb364['gTwmu'],'http_response':_0x4cb90f,'uuid':_0x32a91a});}catch(_0x5a8ed3){_0x1cb364[_0x4858a8(0x185)](debug,_0x4858a8(0x166)+_0x5a8ed3);}},exports['getHookSkippedTests']=_0x19cac4=>{const _0x2bd9a0=a31_0x4c9be6,_0x341a64={};_0x341a64['mNZXi']=function(_0x370f43,_0x407516){return _0x370f43!==_0x407516;},_0x341a64[_0x2bd9a0(0x16e)]=_0x2bd9a0(0x168),_0x341a64[_0x2bd9a0(0x1b2)]=function(_0x1ef9d8,_0x17be93){return _0x1ef9d8!==_0x17be93;},_0x341a64[_0x2bd9a0(0x15d)]='passed',_0x341a64['jEwJQ']=function(_0x39a06b,_0x338a50){return _0x39a06b!==_0x338a50;},_0x341a64[_0x2bd9a0(0x171)]='failed';const _0xd0905=_0x341a64,_0x5abe0e=_0x19cac4[_0x2bd9a0(0x1a8)][_0x2bd9a0(0x1ac)]((_0x581327,_0x52819e)=>{const _0x2ef478=_0x2bd9a0,_0x2aa9b7=exports[_0x2ef478(0x184)](_0x52819e);return _0x2aa9b7&&(_0x581327=_0x581327[_0x2ef478(0x17a)](_0x2aa9b7)),_0x581327;},[]),_0x145f96=_0x19cac4[_0x2bd9a0(0x19b)][_0x2bd9a0(0x19a)](_0x1947dd=>{const _0x5c53c2=_0x2bd9a0,_0x59abc6=_0xd0905[_0x5c53c2(0x1ae)](_0x1947dd['type'],_0xd0905['wKmOV'])&&!_0x1947dd[_0x5c53c2(0x167)]&&_0xd0905[_0x5c53c2(0x1b2)](_0x1947dd['state'],_0xd0905[_0x5c53c2(0x15d)])&&_0xd0905['jEwJQ'](_0x1947dd[_0x5c53c2(0x19d)],_0xd0905[_0x5c53c2(0x171)])&&!_0x1947dd[_0x5c53c2(0x18f)];return _0x59abc6;});return _0x145f96[_0x2bd9a0(0x17a)](_0x5abe0e);};
1
+ function a31_0x58d2(){const _0x12323e=['mapTestHooks','zGbyU','iiHYf','uFuVM','suites','hZEQe','HeZUg','TEST_PLATFORM','4BVlCqu','4009290gMILjW','KnKiY','baqAJ','passed','toJSON','hook','QYHWO','LsXUa','generic','1438450ylqtQQ','../../../helpers/helper','1644081emSZdD','lwkOY','tests','getBrowserName','string','534632lwOazR','js-','parent','Igeow','split','getBrowserVersion','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getHooksForTest','concat','uuid','ZlFTe','../../../helpers/testhub/utils','getCapabilities','_beforeEach','browserstack','gQGKk','_afterAll','ecVlV','filter','mUHdX','../../../helpers/test-observability/utils','1434924GlBOlS','markedStatus','TjFPN','indexOf','substring','UwPNm','MFOBd','slice','ZdVUi','toISOString','wrLhP','dZbIy','push','hookAnalyticsId','CjoVj','forEach','__cloud_provider___','HsaRN','sendPlatformDetails','fRVrz','kLeSe','emit','8JhziDp','3915520ksInLH','reduce','lodash','getHookSkippedTests','264304sdmbTe','bs:addPlatformDetails:','getSession','fromEntries','esiVt','xSWpm','sUbZr','_beforeAll','NtxhE','type','getTestEnv','getHookDetails'];a31_0x58d2=function(){return _0x12323e;};return a31_0x58d2();}const a31_0x5b24d2=a31_0x2603;(function(_0x4008ac,_0x5ba73c){const _0x5a1569=a31_0x2603,_0x3605d5=_0x4008ac();while(!![]){try{const _0x3cefb9=-parseInt(_0x5a1569(0x1c7))/0x1+-parseInt(_0x5a1569(0x1a2))/0x2+-parseInt(_0x5a1569(0x1c2))/0x3*(-parseInt(_0x5a1569(0x1b6))/0x4)+parseInt(_0x5a1569(0x1c0))/0x5+parseInt(_0x5a1569(0x1b7))/0x6+-parseInt(_0x5a1569(0x19e))/0x7+parseInt(_0x5a1569(0x19d))/0x8*(parseInt(_0x5a1569(0x187))/0x9);if(_0x3cefb9===_0x5ba73c)break;else _0x3605d5['push'](_0x3605d5['shift']());}catch(_0x24059c){_0x3605d5['push'](_0x3605d5['shift']());}}}(a31_0x58d2,0x6abe8));const {v4:uuidv4}=require(a31_0x5b24d2(0x17b)),{name,version}=require('../../../../package.json'),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x5b24d2(0x186)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x5b24d2(0x1c1)),{shouldProcessEventForTesthub}=require(a31_0x5b24d2(0x17d)),{isFunction}=require(a31_0x5b24d2(0x1a0)),{patchConsoleLogger}=require(a31_0x5b24d2(0x186));function a31_0x2603(_0xfbe44b,_0x193606){const _0x58d246=a31_0x58d2();return a31_0x2603=function(_0x260328,_0x25cb64){_0x260328=_0x260328-0x176;let _0x4f70da=_0x58d246[_0x260328];return _0x4f70da;},a31_0x2603(_0xfbe44b,_0x193606);}patchConsoleLogger(),exports[a31_0x5b24d2(0x1ac)]=()=>{const _0x45e4e7=a31_0x5b24d2,_0x2976d={'dZbIy':_0x45e4e7(0x1bf),'LsXUa':function(_0xe255b7){return _0xe255b7();}};return{'ci':_0x2976d[_0x45e4e7(0x192)],'key':_0x2976d[_0x45e4e7(0x1be)](uuidv4),'version':version,'collector':_0x45e4e7(0x1c8)+name};},exports[a31_0x5b24d2(0x1ad)]=_0x6c2d8d=>{const _0x585fc3=a31_0x5b24d2,_0x5d8df0={};_0x5d8df0[_0x585fc3(0x1b3)]=function(_0x35d620,_0x3aa6b4){return _0x35d620!==_0x3aa6b4;},_0x5d8df0['zGbyU']=_0x585fc3(0x1c6),_0x5d8df0[_0x585fc3(0x19a)]=function(_0x46aa4c,_0x51ae99){return _0x46aa4c!==_0x51ae99;},_0x5d8df0[_0x585fc3(0x1aa)]='hook:',_0x5d8df0['ecVlV']=function(_0x4c9bd2,_0x1162ec){return _0x4c9bd2!==_0x1162ec;},_0x5d8df0[_0x585fc3(0x1a6)]=_0x585fc3(0x1bc);const _0xac3e12=_0x5d8df0;if(!_0x6c2d8d||_0xac3e12[_0x585fc3(0x1b3)](typeof _0x6c2d8d,_0xac3e12[_0x585fc3(0x1af)]))return[null,null];if(_0xac3e12[_0x585fc3(0x19a)](_0x6c2d8d[_0x585fc3(0x18a)](_0xac3e12['NtxhE']),-0x1)){const _0x49947d=_0x6c2d8d[_0x585fc3(0x176)](_0xac3e12[_0x585fc3(0x1aa)]);return[_0x49947d[0x0][_0x585fc3(0x18e)](0x0,-0x1)[_0x585fc3(0x176)]('\x22')[0x1],_0x49947d[0x1][_0x585fc3(0x18b)](0x1)];}else{if(_0xac3e12[_0x585fc3(0x183)](_0x6c2d8d['indexOf'](_0xac3e12['esiVt']),-0x1)){const _0x39c607=_0x6c2d8d[_0x585fc3(0x176)](_0xac3e12[_0x585fc3(0x1a6)]);return[_0x39c607[0x0][_0x585fc3(0x18e)](0x0,-0x1)[_0x585fc3(0x176)]('\x22')[0x1],_0x6c2d8d];}}return[null,null];},exports[a31_0x5b24d2(0x179)]=_0x24fbd1=>{const _0x4b2d9b=a31_0x5b24d2,_0x4df6f8={'yTqta':function(_0x497f4e,_0x36415c){return _0x497f4e(_0x36415c);},'HsaRN':_0x4b2d9b(0x1a9),'MFOBd':'_afterAll','ZdVUi':_0x4b2d9b(0x17f),'UwPNm':'_afterEach'};if(!_0x24fbd1||!_0x24fbd1['parent'])return[];const _0x42ef40=[];return[_0x4df6f8[_0x4b2d9b(0x198)],_0x4df6f8[_0x4b2d9b(0x18d)],_0x4df6f8[_0x4b2d9b(0x18f)],_0x4df6f8[_0x4b2d9b(0x18c)]]['forEach'](_0x52f416=>{const _0x3f918f=_0x4b2d9b,_0x530140={'hCvWV':function(_0x123e53,_0x42ccb7){return _0x4df6f8['yTqta'](_0x123e53,_0x42ccb7);}},_0x1eb25f=_0x24fbd1['parent'][_0x52f416]||[];_0x1eb25f[_0x3f918f(0x196)](_0x32bff4=>{const _0x2f2fe4=_0x3f918f;_0x32bff4[_0x2f2fe4(0x194)]&&!_0x530140['hCvWV'](isInternalHook,_0x32bff4['fn'])&&_0x42ef40[_0x2f2fe4(0x193)](_0x32bff4[_0x2f2fe4(0x194)]);});}),[..._0x42ef40,...exports[_0x4b2d9b(0x179)](_0x24fbd1[_0x4b2d9b(0x1c9)])];},exports[a31_0x5b24d2(0x1ae)]=_0x5cf9f4=>{const _0x2f53b9=a31_0x5b24d2,_0x5d9f9b={'sUbZr':function(_0x5efd21){return _0x5efd21();},'nUonN':function(_0x37cfa8,_0x47c2b2){return _0x37cfa8===_0x47c2b2;},'uFuVM':'_afterEach','ZlFTe':_0x2f53b9(0x1a9),'lwkOY':_0x2f53b9(0x182),'QYHWO':'_beforeEach'};if(!_0x5cf9f4||!_0x5cf9f4[_0x2f53b9(0x1c9)])return;[_0x5d9f9b[_0x2f53b9(0x17c)],_0x5d9f9b[_0x2f53b9(0x1c3)],_0x5d9f9b[_0x2f53b9(0x1bd)],_0x5d9f9b[_0x2f53b9(0x1b1)]][_0x2f53b9(0x196)](_0x41c9a3=>{const _0x4845fe=_0x2f53b9,_0x568003=_0x5cf9f4[_0x4845fe(0x1c9)][_0x41c9a3]||[];_0x568003[_0x4845fe(0x196)](_0x39068d=>{const _0x4146c0=_0x4845fe;if(!_0x39068d[_0x4146c0(0x194)])_0x39068d[_0x4146c0(0x194)]=_0x5d9f9b[_0x4146c0(0x1a8)](uuidv4);else _0x39068d['markedStatus']&&_0x5d9f9b['nUonN'](_0x41c9a3,_0x5d9f9b['uFuVM'])&&(_0x39068d['hookAnalyticsId']=_0x5d9f9b[_0x4146c0(0x1a8)](uuidv4),delete _0x39068d[_0x4146c0(0x188)]);});}),exports[_0x2f53b9(0x1ae)](_0x5cf9f4[_0x2f53b9(0x1c9)]);},exports[a31_0x5b24d2(0x199)]=async(_0x48a614,_0x4d2aa6)=>{const _0x1346cf=a31_0x5b24d2,_0x4afd30={'KnKiY':function(_0x234ae6){return _0x234ae6();},'gQGKk':function(_0x46cf3b,_0x244f69){return _0x46cf3b(_0x244f69);},'HeZUg':function(_0x2f8df0,_0x159511){return _0x2f8df0(_0x159511);},'iiHYf':function(_0x3b1463,_0x20adf8){return _0x3b1463===_0x20adf8;},'baqAJ':_0x1346cf(0x180),'CjoVj':'unknown_grid','TjFPN':_0x1346cf(0x1b5),'kLeSe':function(_0x2965b8,_0xcbc40e){return _0x2965b8(_0xcbc40e);}};try{if(!_0x4afd30[_0x1346cf(0x1b8)](shouldProcessEventForTesthub))return;const _0x5053fe=await _0x48a614[_0x1346cf(0x17e)](),_0x5efb28=await _0x48a614[_0x1346cf(0x1a4)](),_0x3d697b={},_0x17c0bb=Object[_0x1346cf(0x1a5)](_0x5efb28[_0x1346cf(0x17e)]()['map_']),_0x182fe2={'product':_0x4afd30[_0x1346cf(0x181)](getObservabilityLinkedProductName,_0x17c0bb),'capabilities':_0x17c0bb,'platform':_0x5053fe['getPlatform'](),'platform_version':_0x4afd30[_0x1346cf(0x1b4)](getPlatformVersion,_0x4afd30[_0x1346cf(0x1b0)](global['__cloud_provider___'],_0x4afd30[_0x1346cf(0x1b9)])),'browser':_0x5053fe[_0x1346cf(0x1c5)](),'browser_version':_0x5053fe[_0x1346cf(0x177)](),'session_id':_0x5efb28[_0x1346cf(0x1bb)]()};global[_0x1346cf(0x197)]?_0x3d697b[global[_0x1346cf(0x197)]]=_0x182fe2:_0x3d697b[_0x4afd30[_0x1346cf(0x195)]]=_0x182fe2,process[_0x1346cf(0x19c)](_0x1346cf(0x1a3)+process['pid'],{'timestamp':new Date()[_0x1346cf(0x190)](),'level':null,'message':null,'kind':_0x4afd30[_0x1346cf(0x189)],'http_response':_0x3d697b,'uuid':_0x4d2aa6});}catch(_0x345327){_0x4afd30[_0x1346cf(0x19b)](debug,_0x1346cf(0x178)+_0x345327);}},exports[a31_0x5b24d2(0x1a1)]=_0x9aeea3=>{const _0x498961=a31_0x5b24d2,_0x2c815f={};_0x2c815f[_0x498961(0x185)]=function(_0x23240d,_0x55e952){return _0x23240d!==_0x55e952;},_0x2c815f[_0x498961(0x1a7)]=_0x498961(0x1bc),_0x2c815f[_0x498961(0x191)]=_0x498961(0x1ba),_0x2c815f[_0x498961(0x1ca)]='failed';const _0x1167d1=_0x2c815f,_0x3b36dc=_0x9aeea3[_0x498961(0x1b2)][_0x498961(0x19f)]((_0x1993c2,_0x2d436a)=>{const _0x490ce8=_0x498961,_0xb9b50e=exports[_0x490ce8(0x1a1)](_0x2d436a);return _0xb9b50e&&(_0x1993c2=_0x1993c2[_0x490ce8(0x17a)](_0xb9b50e)),_0x1993c2;},[]),_0x2afa95=_0x9aeea3[_0x498961(0x1c4)][_0x498961(0x184)](_0x4fbc08=>{const _0x26d372=_0x498961,_0x3d8956=_0x1167d1[_0x26d372(0x185)](_0x4fbc08[_0x26d372(0x1ab)],_0x1167d1[_0x26d372(0x1a7)])&&!_0x4fbc08[_0x26d372(0x188)]&&_0x1167d1['mUHdX'](_0x4fbc08['state'],_0x1167d1[_0x26d372(0x191)])&&_0x1167d1[_0x26d372(0x185)](_0x4fbc08['state'],_0x1167d1['Igeow'])&&!_0x4fbc08['pending'];return _0x3d8956;});return _0x2afa95[_0x498961(0x17a)](_0x3b36dc);};
@@ -1 +1 @@
1
- const a32_0x2a2879=a32_0x2e75;(function(_0x5e05a9,_0x1cfa36){const _0x47cf13=a32_0x2e75,_0x1f393d=_0x5e05a9();while(!![]){try{const _0x4c5116=-parseInt(_0x47cf13(0x1a5))/0x1*(-parseInt(_0x47cf13(0x210))/0x2)+-parseInt(_0x47cf13(0x1f6))/0x3*(parseInt(_0x47cf13(0x17f))/0x4)+parseInt(_0x47cf13(0x1cb))/0x5*(-parseInt(_0x47cf13(0x20e))/0x6)+-parseInt(_0x47cf13(0x1a1))/0x7*(parseInt(_0x47cf13(0x1f3))/0x8)+-parseInt(_0x47cf13(0x19a))/0x9*(-parseInt(_0x47cf13(0x165))/0xa)+-parseInt(_0x47cf13(0x181))/0xb+parseInt(_0x47cf13(0x18b))/0xc;if(_0x4c5116===_0x1cfa36)break;else _0x1f393d['push'](_0x1f393d['shift']());}catch(_0x1a4b2b){_0x1f393d['push'](_0x1f393d['shift']());}}}(a32_0x3095,0xc1ab5));function a32_0x2e75(_0x13e7af,_0xfdd0f0){const _0x309577=a32_0x3095();return a32_0x2e75=function(_0x2e756c,_0x3c9ea0){_0x2e756c=_0x2e756c-0x161;let _0x1e54cb=_0x309577[_0x2e756c];return _0x1e54cb;},a32_0x2e75(_0x13e7af,_0xfdd0f0);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x2a2879(0x1d1)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x2a2879(0x1c5)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x2a2879(0x178)),PerformanceTester=require(a32_0x2a2879(0x20f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x2a2879(0x1f5)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x2a2879(0x164)),logger=require('../../helpers/logger')[a32_0x2a2879(0x1fe)],{shouldProcessEventForTesthub}=require(a32_0x2a2879(0x170)),testHubConstants=require(a32_0x2a2879(0x1b8));exports[a32_0x2a2879(0x1f0)]={'beforeAll'(){const _0x5a7f99=a32_0x2a2879,_0x4f8e44={'oKPPv':function(_0x407fb3,_0x1e1eb4,_0x1c6d72,_0x8180fb){return _0x407fb3(_0x1e1eb4,_0x1c6d72,_0x8180fb);},'uAjUN':_0x5a7f99(0x168),'bjDYB':_0x5a7f99(0x1d8),'xBlXw':function(_0x51103b,_0x4f0e24,_0x325f12){return _0x51103b(_0x4f0e24,_0x325f12);},'kSgqy':'passed','SqxYQ':function(_0x12e977){return _0x12e977();},'CMlfF':_0x5a7f99(0x183),'mbPOj':'beforeAll'};PerformanceTester[_0x5a7f99(0x199)]();const _0x42326b='browserstack internal helper hook';PerformanceTester[_0x5a7f99(0x1bb)](PerformanceSdkEvents[_0x5a7f99(0x1ed)],()=>{const _0x3bcd48=_0x5a7f99,_0x3337f8={'msacW':function(_0x590205,_0x459f29,_0xae6d8c,_0x52d8d2){const _0x56e720=a32_0x2e75;return _0x4f8e44[_0x56e720(0x166)](_0x590205,_0x459f29,_0xae6d8c,_0x52d8d2);},'axhaR':_0x4f8e44['uAjUN'],'AIoJO':_0x4f8e44[_0x3bcd48(0x1fb)],'ICRaV':function(_0x5e4d61,_0x28d108,_0xd1feb3){const _0x5301b4=_0x3bcd48;return _0x4f8e44[_0x5301b4(0x205)](_0x5e4d61,_0x28d108,_0xd1feb3);},'oSOoo':_0x4f8e44[_0x3bcd48(0x1b4)],'zfJco':function(_0x3976d9){const _0x358d83=_0x3bcd48;return _0x4f8e44[_0x358d83(0x189)](_0x3976d9);},'EKhWc':function(_0x207644,_0x373228,_0x38a8f9){const _0x4857a2=_0x3bcd48;return _0x4f8e44[_0x4857a2(0x205)](_0x207644,_0x373228,_0x38a8f9);}};global['__error_messages__']=[],global['__sessionFailed']=![],global[_0x3bcd48(0x188)]=async()=>{const _0x20cb62=_0x3bcd48;let _0x11b76f=![];try{await global[_0x20cb62(0x1af)][0x0][_0x20cb62(0x211)],_0x11b76f=!![],global[_0x20cb62(0x1ee)]?await _0x3337f8[_0x20cb62(0x1de)](markSessionStatus,global[_0x20cb62(0x1af)][0x0],_0x3337f8['axhaR'],global[_0x20cb62(0x1f7)]['join'](_0x3337f8[_0x20cb62(0x1f8)])):await _0x3337f8[_0x20cb62(0x207)](markSessionStatus,global[_0x20cb62(0x1af)][0x0],_0x3337f8[_0x20cb62(0x1fa)]);}catch(_0x3bdf14){logger[_0x20cb62(0x1a8)](_0x20cb62(0x18c)+_0x3bdf14);}global[_0x20cb62(0x1f7)]=[],global[_0x20cb62(0x1ee)]=![];if(_0x11b76f)try{try{_0x3337f8[_0x20cb62(0x1f9)](shouldProcessEventForTesthub)&&(global[_0x20cb62(0x1af)][0x0]&&await _0x3337f8[_0x20cb62(0x179)](sendPlatformDetails,global[_0x20cb62(0x1af)][0x0],this[_0x20cb62(0x191)]?this[_0x20cb62(0x191)][_0x20cb62(0x1f1)]:null));}catch(_0x4d6452){logger[_0x20cb62(0x1a8)](_0x20cb62(0x1eb)+_0x4d6452);}await global['__drivers'][0x0][_0x20cb62(0x195)]();}catch(_0x1cec5f){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x1cec5f);}};},{'platform':_0x4f8e44[_0x5a7f99(0x205)](nestedKeyValue,global[_0x5a7f99(0x180)],[_0x4f8e44[_0x5a7f99(0x218)]]),'hookType':_0x4f8e44[_0x5a7f99(0x174)]})();},'beforeEach'(_0x1a200a){const _0x108cfd=a32_0x2a2879,_0x3789a6={'TLhgI':function(_0x35a12e,_0x18449){return _0x35a12e>_0x18449;},'VMKKc':_0x108cfd(0x17b),'CoNcW':function(_0x3c736d,_0x3562c2,_0x196c33){return _0x3c736d(_0x3562c2,_0x196c33);},'GKQJC':_0x108cfd(0x19d),'kJkIi':function(_0x161be4){return _0x161be4();},'JQCRk':_0x108cfd(0x1d2),'xzZYe':function(_0x4a4b1a,_0x55dd68){return _0x4a4b1a===_0x55dd68;},'Kixkm':_0x108cfd(0x209),'LiteI':'https:','EAWRD':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','GRSTp':_0x108cfd(0x217),'FFRgZ':_0x108cfd(0x1b7),'gSLhD':'index','jOPIp':_0x108cfd(0x19c)};globals[_0x108cfd(0x1ab)](_0x3789a6[_0x108cfd(0x192)],this[_0x108cfd(0x191)]['titlePath']()['join'](_0x3789a6[_0x108cfd(0x1da)])),PerformanceTester[_0x108cfd(0x1bb)](PerformanceSdkEvents[_0x108cfd(0x1ed)],()=>{const _0x41b782=_0x108cfd,_0x44416b={'hnhHF':function(_0x41c07b,_0x7e1109){const _0x385fd0=a32_0x2e75;return _0x3789a6[_0x385fd0(0x1a0)](_0x41c07b,_0x7e1109);},'KJBqG':function(_0x42f37e,_0x59988b){const _0x544117=a32_0x2e75;return _0x3789a6[_0x544117(0x1a0)](_0x42f37e,_0x59988b);},'zJeuw':_0x3789a6[_0x41b782(0x1da)],'LJGij':function(_0x26c8fd,_0x4b2a6c,_0x83839d){const _0x4edff6=_0x41b782;return _0x3789a6[_0x4edff6(0x1c2)](_0x26c8fd,_0x4b2a6c,_0x83839d);},'bgFvP':_0x3789a6[_0x41b782(0x1cd)],'sOSXJ':function(_0x261855){return _0x3789a6['kJkIi'](_0x261855);},'WgxUv':_0x3789a6[_0x41b782(0x1ac)],'bGQHn':function(_0x40e2f1,_0x14d350){return _0x3789a6['xzZYe'](_0x40e2f1,_0x14d350);},'Niecz':_0x3789a6[_0x41b782(0x1d0)],'kxOzS':function(_0x65ceec,_0x539f4e){const _0x42bbd1=_0x41b782;return _0x3789a6[_0x42bbd1(0x1c0)](_0x65ceec,_0x539f4e);},'sIGBI':_0x3789a6[_0x41b782(0x1e6)],'dhGiv':_0x3789a6[_0x41b782(0x1d7)],'mUKEp':_0x3789a6[_0x41b782(0x18e)]},_0x4d3640='browserstack internal helper hook';new Promise(async _0x34710e=>{const _0x40e199=_0x41b782;let _0x27dc4f=!![];try{_0x44416b[_0x40e199(0x198)](global[_0x40e199(0x1af)][_0x40e199(0x1df)],0x1)&&(await global['driverCleanup'](),global[_0x40e199(0x1af)][_0x40e199(0x1e4)]()),_0x44416b[_0x40e199(0x1a3)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x27dc4f=![],await global[_0x40e199(0x188)]());}catch(_0x2394ab){logger[_0x40e199(0x1a8)](_0x40e199(0x19e)+_0x2394ab);}try{Array[_0x40e199(0x16b)](global[_0x40e199(0x1af)])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x40e199(0x19b)]=this[_0x40e199(0x191)][_0x40e199(0x1ce)]()['join'](_0x44416b['zJeuw'])),global['browserstackSessionName']=this[_0x40e199(0x191)][_0x40e199(0x1ce)]()[_0x40e199(0x1d3)](_0x44416b[_0x40e199(0x219)]);}catch(_0x48445d){logger[_0x40e199(0x1a8)](_0x40e199(0x187)+_0x48445d);}this['currentTest'][_0x40e199(0x1c3)]=_0x44416b[_0x40e199(0x1ec)](shouldScanTestForAccessibility,this[_0x40e199(0x191)]['titlePath'](),!![]),globals[_0x40e199(0x1ab)](_0x44416b[_0x40e199(0x1e3)],this[_0x40e199(0x191)][_0x40e199(0x1c3)]),this['currentTest'][_0x40e199(0x1bd)]=!![];if(_0x44416b['sOSXJ'](isAccessibilityAutomationSession)&&_0x27dc4f&&Array['isArray'](global[_0x40e199(0x1af)])&&_0x44416b[_0x40e199(0x198)](global[_0x40e199(0x1af)]['length'],0x0)&&globals[_0x40e199(0x1e7)](_0x44416b[_0x40e199(0x16e)]))try{const _0x341175=await global['__drivers'][0x0]['session_'];if(_0x341175){let _0x26daaa=!![];const _0x39a97a=await global[_0x40e199(0x1af)][0x0][_0x40e199(0x1d9)]();let _0x58df82;try{_0x58df82=new URL(_0x39a97a);}catch(_0x4ea75f){_0x26daaa=![];}_0x26daaa=_0x44416b[_0x40e199(0x216)](_0x58df82[_0x40e199(0x16c)],_0x44416b['Niecz'])||_0x44416b['kxOzS'](_0x58df82['protocol'],_0x44416b[_0x40e199(0x17e)]),_0x26daaa&&(this[_0x40e199(0x191)][_0x40e199(0x1c3)]&&logger['info'](_0x44416b[_0x40e199(0x197)])),this[_0x40e199(0x191)][_0x40e199(0x1bd)]=this[_0x40e199(0x191)][_0x40e199(0x1c3)],this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x40e199(0x200)](_0x44416b[_0x40e199(0x17d)]);}}catch(_0x5c342a){logger['error'](_0x40e199(0x1b2)+util[_0x40e199(0x1fc)](_0x5c342a));}_0x44416b[_0x40e199(0x1bc)](_0x34710e);})[_0x41b782(0x1a2)](()=>{const _0x48c270=_0x41b782;_0x44416b[_0x48c270(0x1bc)](_0x1a200a);});},{'platform':_0x3789a6[_0x108cfd(0x1c2)](nestedKeyValue,global[_0x108cfd(0x180)],[_0x3789a6[_0x108cfd(0x16a)]]),'hookType':_0x3789a6[_0x108cfd(0x1be)]})();},'afterEach'(_0x1e464d){const _0x36ae7c=a32_0x2a2879,_0x1f0cc2={'pwtgW':_0x36ae7c(0x17b),'VSCyO':function(_0x2047d2,_0x88f338){return _0x2047d2>_0x88f338;},'eTaKM':function(_0x5e73c8,_0x12ed3c){return _0x5e73c8===_0x12ed3c;},'jUEgV':'testcase','ciYRO':'appium:app','XTzmr':function(_0x509896,_0x1e07f9,_0x360f39,_0x5bff64){return _0x509896(_0x1e07f9,_0x360f39,_0x5bff64);},'cXMuQ':_0x36ae7c(0x1d2),'jGZPe':_0x36ae7c(0x19d),'QPiJL':_0x36ae7c(0x17c),'IvWPa':_0x36ae7c(0x167),'WEUES':_0x36ae7c(0x1c7),'aETlU':_0x36ae7c(0x16f),'Haoju':function(_0x386ce0){return _0x386ce0();},'QPOYX':function(_0x40451c,_0x3e57cd,_0x355277){return _0x40451c(_0x3e57cd,_0x355277);},'lUBQa':function(_0x10f302){return _0x10f302();},'xwfqH':_0x36ae7c(0x1a8),'BjUga':function(_0xd38d20,_0x1f3981){return _0xd38d20>_0x1f3981;},'hOXqa':function(_0x5efa2d){return _0x5efa2d();},'Celiq':function(_0x535173,_0x18bbba){return _0x535173!==_0x18bbba;},'UWThw':_0x36ae7c(0x1ba),'BwfES':function(_0x32c775,_0x46b170,_0x40422d){return _0x32c775(_0x46b170,_0x40422d);},'WOjNl':function(_0x28ddcd,_0x4a3964){return _0x28ddcd+_0x4a3964;},'rZtJQ':_0x36ae7c(0x171),'ZIhUe':_0x36ae7c(0x186),'vHnxG':_0x36ae7c(0x18d),'aWehZ':_0x36ae7c(0x200),'hDiTC':_0x36ae7c(0x183),'kIjwd':'afterEach'},_0x135014='browserstack internal helper hook';this[_0x36ae7c(0x201)](0xfde8),global[_0x36ae7c(0x208)]=this[_0x36ae7c(0x191)][_0x36ae7c(0x1ce)]()['join'](_0x1f0cc2[_0x36ae7c(0x19f)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x36ae7c(0x1ed)],()=>{const _0x2b07c0=_0x36ae7c,_0x29adeb={'dNewh':function(_0x41a616,_0x3f8c74){return _0x1f0cc2['Celiq'](_0x41a616,_0x3f8c74);},'sYatJ':_0x1f0cc2[_0x2b07c0(0x1e1)],'qarwc':function(_0x44d168,_0x27c093,_0xb3f321){const _0x1da220=_0x2b07c0;return _0x1f0cc2[_0x1da220(0x1fd)](_0x44d168,_0x27c093,_0xb3f321);},'PAuws':function(_0x7e9a91,_0x2ddbdd){const _0x2438c7=_0x2b07c0;return _0x1f0cc2[_0x2438c7(0x16d)](_0x7e9a91,_0x2ddbdd);},'FDMPS':_0x1f0cc2['rZtJQ'],'ZnzPR':_0x1f0cc2[_0x2b07c0(0x1c9)],'SzjLF':_0x1f0cc2[_0x2b07c0(0x1a7)],'vBwFa':_0x1f0cc2[_0x2b07c0(0x21a)]},_0x444024=async(_0x736a23,_0x56a499)=>{const _0x5ae606=_0x2b07c0;await global[_0x5ae606(0x1af)][0x0][_0x5ae606(0x1ff)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x736a23+_0x5ae606(0x1e0)+_0x56a499+_0x5ae606(0x161));};new Promise(async _0x106c19=>{const _0x13857c=_0x2b07c0,_0x2a7a8a={};_0x2a7a8a[_0x13857c(0x1f2)]=_0x1f0cc2[_0x13857c(0x19f)];const _0xd7059e=_0x2a7a8a;try{_0x1f0cc2[_0x13857c(0x203)](global[_0x13857c(0x1af)][_0x13857c(0x1df)],0x1)&&(await global[_0x13857c(0x188)](),global[_0x13857c(0x1af)][_0x13857c(0x1e4)](),global[_0x13857c(0x1f7)]=[],global[_0x13857c(0x1ee)]=![]);try{if(global[_0x13857c(0x182)]&&_0x1f0cc2['eTaKM'](global[_0x13857c(0x204)],_0x1f0cc2[_0x13857c(0x1a6)])&&global['__drivers'][0x0]){const _0x4984ac=_0x1f0cc2[_0x13857c(0x203)](global[_0x13857c(0x20c)][_0x13857c(0x1df)],0x0)?!!global[_0x13857c(0x20c)][0x0][_0x13857c(0x18f)]||!!global[_0x13857c(0x20c)][0x0][_0x1f0cc2[_0x13857c(0x185)]]:![],_0xf5337e={};_0xf5337e['app']=_0x4984ac,await _0x1f0cc2[_0x13857c(0x193)](percyAutoCapture,global[_0x13857c(0x1af)][0x0],_0x1f0cc2[_0x13857c(0x1a6)],_0xf5337e);}}catch(_0x32d1f4){logger[_0x13857c(0x1a8)](_0x13857c(0x190)+_0x32d1f4);}!global[_0x13857c(0x17a)]&&(await PerformanceTester[_0x13857c(0x1bb)](PerformanceAutEvents[_0x13857c(0x1b6)],async()=>{const _0x27f192=_0x13857c;await global[_0x27f192(0x1af)][0x0][_0x27f192(0x1ff)](_0x27f192(0x1dd)+JSON[_0x27f192(0x215)](this['currentTest']['titlePath']()[_0x27f192(0x1d3)](_0xd7059e[_0x27f192(0x1f2)]))+'}}');})(),global[_0x13857c(0x1af)][0x0][_0x13857c(0x1ef)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x13857c(0x194)],async()=>{const _0x775bf8=_0x13857c,_0x42e30e=_0x29adeb['dNewh'](this[_0x775bf8(0x191)][_0x775bf8(0x1e5)],_0x29adeb[_0x775bf8(0x1f4)]);_0x42e30e?(global[_0x775bf8(0x1ee)]=!![],global[_0x775bf8(0x1f7)][_0x775bf8(0x214)](this[_0x775bf8(0x191)][_0x775bf8(0x1ad)][_0x775bf8(0x176)]),await _0x29adeb['qarwc'](_0x444024,JSON[_0x775bf8(0x215)](_0x29adeb[_0x775bf8(0x1c1)](_0x29adeb[_0x775bf8(0x1a9)],this[_0x775bf8(0x191)][_0x775bf8(0x1ad)][_0x775bf8(0x176)])),_0x29adeb[_0x775bf8(0x1bf)])):await _0x29adeb[_0x775bf8(0x196)](_0x444024,JSON['stringify'](_0x29adeb[_0x775bf8(0x184)]),_0x29adeb['vBwFa']);})();}catch(_0x2e5895){logger[_0x13857c(0x1a8)](_0x13857c(0x213)+_0x2e5895);}try{if(this[_0x13857c(0x191)][_0x13857c(0x1bd)]&&globals[_0x13857c(0x1e7)](_0x1f0cc2[_0x13857c(0x1ae)])&&globals[_0x13857c(0x1e7)](_0x1f0cc2['jGZPe'])){logger[_0x13857c(0x200)](_0x1f0cc2['QPiJL']);const _0x196770={};_0x196770[_0x13857c(0x1cc)]=this[_0x13857c(0x191)][_0x13857c(0x1f1)],_0x196770['thBuildUuid']=process['env'][testHubConstants[_0x13857c(0x18a)][_0x13857c(0x20a)]],_0x196770[_0x13857c(0x206)]=process[_0x13857c(0x1cf)][testHubConstants[_0x13857c(0x18a)][_0x13857c(0x1e8)]];const _0x3b5058=_0x196770;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x13857c(0x215)](_0x3b5058)),logger[_0x13857c(0x1a8)](_0x1f0cc2[_0x13857c(0x212)]);const _0x1d0061={};_0x1d0061[_0x13857c(0x1db)]=_0x1f0cc2[_0x13857c(0x1a4)],await PerformanceTester[_0x13857c(0x1bb)](PerformanceA11yEvents[_0x13857c(0x1aa)],async()=>{const _0x3886ac=_0x13857c;logger[_0x3886ac(0x1a8)](util[_0x3886ac(0x1fc)](await global[_0x3886ac(0x1af)][0x0][_0x3886ac(0x162)](scripts[_0x3886ac(0x163)],{'method':global[_0x3886ac(0x19b)]})));},_0x1d0061)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x13857c(0x172)],async()=>{const _0x41b54b=_0x13857c;await global[_0x41b54b(0x1af)][0x0]['executeAsyncScript'](scripts[_0x41b54b(0x1b5)],_0x3b5058);})(),logger[_0x13857c(0x200)](_0x1f0cc2[_0x13857c(0x1ea)]);}}catch(_0x106d31){logger[_0x13857c(0x186)](_0x13857c(0x175)+this[_0x13857c(0x191)][_0x13857c(0x1ce)]()+'.\x20Error\x20:',_0x106d31);}try{try{if(_0x1f0cc2['Haoju'](shouldProcessEventForTesthub)){global[_0x13857c(0x1af)][0x0]&&await _0x1f0cc2[_0x13857c(0x1b1)](sendPlatformDetails,global[_0x13857c(0x1af)][0x0],this['currentTest']?this[_0x13857c(0x191)]['testAnalyticsId']:null);if(_0x1f0cc2[_0x13857c(0x1c8)](isBrowserstackInfra)){PerformanceTester[_0x13857c(0x1d6)](PerformanceO11yEvents['SYNC']);const _0x400f61=_0x13857c(0x1c4)+Date[_0x13857c(0x177)]();await _0x1f0cc2['QPOYX'](_0x444024,JSON[_0x13857c(0x215)](_0x400f61),_0x1f0cc2[_0x13857c(0x1b3)]),PerformanceTester[_0x13857c(0x1d5)](PerformanceO11yEvents[_0x13857c(0x1b9)]);}}}catch(_0x40beb5){logger[_0x13857c(0x1a8)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x40beb5),PerformanceTester[_0x13857c(0x1d5)](PerformanceO11yEvents['SYNC'],![],_0x40beb5);}_0x1f0cc2[_0x13857c(0x20d)](global['__drivers'][0x0][_0x13857c(0x169)],0x0)&&await global[_0x13857c(0x188)]();}catch(_0x21c817){logger[_0x13857c(0x1a8)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x21c817);}_0x1f0cc2['hOXqa'](_0x106c19);})[_0x2b07c0(0x1a2)](()=>{const _0x106ab1=_0x2b07c0;_0x1f0cc2[_0x106ab1(0x1e9)](_0x1e464d);});},{'platform':_0x1f0cc2['QPOYX'](nestedKeyValue,global[_0x36ae7c(0x180)],[_0x1f0cc2[_0x36ae7c(0x1ca)]]),'hookType':_0x1f0cc2[_0x36ae7c(0x1d4)]})();},'afterAll'(_0x34da31){const _0x1c4085=a32_0x2a2879,_0x499d21={'rmXYC':function(_0x1373c9){return _0x1373c9();},'soHXl':function(_0x12eb10){return _0x12eb10();},'IymfF':function(_0x4b6c1b,_0x4f0375,_0x11b15e){return _0x4b6c1b(_0x4f0375,_0x11b15e);},'QntHv':_0x1c4085(0x183),'ypllT':_0x1c4085(0x20b)},_0x526e1a='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1c4085(0x1ed)],()=>{const _0x19bb95=_0x1c4085,_0x2c5364={'GKzhN':function(_0x4ce063){const _0x361118=a32_0x2e75;return _0x499d21[_0x361118(0x173)](_0x4ce063);}};new Promise(async _0x188e3c=>{const _0x3074a7=a32_0x2e75;await global[_0x3074a7(0x188)](),_0x499d21[_0x3074a7(0x1c6)](_0x188e3c);})[_0x19bb95(0x1a2)]()[_0x19bb95(0x1e2)](()=>{_0x2c5364['GKzhN'](_0x34da31);});},{'platform':_0x499d21[_0x1c4085(0x202)](nestedKeyValue,global['__platformCaps'],[_0x499d21[_0x1c4085(0x1dc)]]),'hookType':_0x499d21[_0x1c4085(0x1b0)]})();}};function a32_0x3095(){const _0x1d2c91=['err','cXMuQ','__drivers','ypllT','QPOYX','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','xwfqH','kSgqy','saveTestResults','SESSION_NAME','browserstackTestName','../../helpers/testhub/constants','SYNC','passed','measureWrapper','sOSXJ','accessibilityScanStarted','jOPIp','ZnzPR','xzZYe','PAuws','CoNcW','shouldScanTestForAccessibility','ObservabilitySync:','./test-observability/mochaUtils','rmXYC','afterTest','lUBQa','ZIhUe','hDiTC','196790oVhjun','thTestRunUuid','GKQJC','titlePath','env','Kixkm','../../helpers/accessibility-automation/helper','isAccessibilityPlatform','join','kIjwd','end','start','EAWRD','\x20|\x20','getCurrentUrl','VMKKc','command','QntHv','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','msacW','length',',\x22level\x22:\x20\x22','UWThw','finally','bgFvP','shift','state','LiteI','getGlobal','BROWSERSTACK_TESTHUB_JWT','Haoju','aETlU','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','LJGij','SDK_HOOK','__sessionFailed','sessionNameSet__','mochaHooks','testAnalyticsId','eiune','1406696CxqCku','sYatJ','../../helpers/performance/constants','134229AEfCnK','__error_messages__','AIoJO','zfJco','oSOoo','bjDYB','format','BwfES','winstonLogger','executeScript','info','timeout','IymfF','VSCyO','percyCaptureMode','xBlXw','thJwtToken','ICRaV','sessionName','http:','BROWSERSTACK_TESTHUB_UUID','afterAll','capabilities','BjUga','240ZqKgMZ','../../helpers/performance/performance-tester','4hlBSZt','session_','IvWPa','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','push','stringify','bGQHn','Automate\x20test\x20case\x20execution\x20has\x20started.','CMlfF','zJeuw','aWehZ','\x22}}','executeAsyncScript','performScan','../../helpers/globals','509300dzFBBu','oKPPv','Performing\x20scan\x20before\x20saving\x20results','failed','quitCount_','gSLhD','isArray','protocol','WOjNl','WgxUv','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/testhub/utils','Failed:\x20','SAVE_RESULTS','soHXl','mbPOj','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','message','now','../../helpers/helper','EKhWc','__skipSessionName','\x20-\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','mUKEp','sIGBI','88DreTjh','__platformCaps','15030477YzxTGg','percy','index','SzjLF','ciYRO','error','Failed\x20to\x20store\x20session\x20name:\x20','driverCleanup','SqxYQ','ENV_VAR','42434916zGOyRH','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Passed','GRSTp','app','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','currentTest','FFRgZ','XTzmr','SESSION_STATUS','initQuit','qarwc','dhGiv','hnhHF','startMonitoring','234qOkHpt','browserstackSessionName','beforeEach','bstackA11yShouldScan','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','pwtgW','TLhgI','7tszfpC','then','KJBqG','WEUES','16878UkAdQh','jUEgV','vHnxG','debug','FDMPS','PERFORM_SCAN','setGlobal','JQCRk'];a32_0x3095=function(){return _0x1d2c91;};return a32_0x3095();}
1
+ const a32_0x463842=a32_0xec4e;function a32_0xec4e(_0x54d3ed,_0x57c729){const _0x4a10ef=a32_0x4a10();return a32_0xec4e=function(_0xec4e5e,_0x5e5f05){_0xec4e5e=_0xec4e5e-0x1a9;let _0x1f1cba=_0x4a10ef[_0xec4e5e];return _0x1f1cba;},a32_0xec4e(_0x54d3ed,_0x57c729);}function a32_0x4a10(){const _0x36f5be=['quitCount_','cZTRg','ijqPf','percyCaptureMode','PERFORM_SCAN','protocol','zFyJE','RaQul','thTestRunUuid','timeout','aBssn','auNgH','XpPPJ','6157090mnWKbS','dFhKo','EMrCa','pNuUG','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','thUrX','dRHWy','TEbPp','OBUIf','zcnys','neaXd','http:','percy','hTjmL','length','afterAll','zBeBU','14ycmgwM','OMlGb','BQWNR','currentTest','end','appium:app','failed','iQgqn','state','VaZPy','__sessionFailed','testAnalyticsId','GispA','QSNDN','REfQg','\x22}}','pJCHC','testcase','error','HEzAp','../../helpers/accessibility-automation/helper','beforeEach','isAccessibilityPlatform','fQyCk','\x20|\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','format','BROWSERSTACK_TESTHUB_JWT','QbUYs','getGlobal','command','iRrrP','debug','BWYwW','winstonLogger','__error_messages__','vzsNM','SESSION_NAME','dWLCe','wDkRX','ABydQ','../../helpers/accessibility-automation/scripts','kVpZl','../../helpers/performance/performance-tester','SESSION_STATUS','htfcB','../../helpers/globals','thJwtToken','executeScript','bstackA11yShouldScan','HChaJ','setGlobal','shouldScanTestForAccessibility','then','../../helpers/testhub/constants','stringify','NdDCu','YulkG','executeAsyncScript','CItHp','startMonitoring','initQuit','finally','FqJVy','driverCleanup','Performing\x20scan\x20before\x20saving\x20results','passed','yFgpT','WJcla','saveTestResults','4TLVJDo','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','.\x20Error\x20:','join','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','11545800pcObcj','fPesb','lsgMa','push','qJgsT','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','index','Passed','afterTest','\x20-\x20','VmBqF','app','Failed:\x20','titlePath',',\x22level\x22:\x20\x22','browserstackTestName','54368XpfaMk','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','sessionName','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','../../helpers/logger','mochaHooks','env','Automate\x20test\x20case\x20execution\x20has\x20started.','2809866GmMmeu','GJYOx','__platformCaps','accessibilityScanStarted','Failed\x20to\x20store\x20session\x20name:\x20','isArray','87SZeLqc','65190mUmrLu','ObservabilitySync:','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','YNfCn','sessionNameSet__','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','measureWrapper','info','zLyMC','chpCg','../../helpers/performance/constants','thBuildUuid','Zbhgx','browserstackSessionName','NukqW','wnCdr','message','1632219znEguN','start','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','session_','capabilities','JlxDU','SYNC','nYSYS','__drivers','wsmSF','tBxKO','EMyHH','NbuLo','QCmyA','qawAX','shift','64774325EuEQbJ','711jbTvlK','UPzyk','SDK_HOOK','qOqas','HvewQ','msjvO','err','fItuX'];a32_0x4a10=function(){return _0x36f5be;};return a32_0x4a10();}(function(_0x477b41,_0x3e50b9){const _0x2710b9=a32_0xec4e,_0x560cf8=_0x477b41();while(!![]){try{const _0x4150bc=-parseInt(_0x2710b9(0x24c))/0x1+-parseInt(_0x2710b9(0x22c))/0x2*(-parseInt(_0x2710b9(0x23a))/0x3)+-parseInt(_0x2710b9(0x217))/0x4*(parseInt(_0x2710b9(0x1c0))/0x5)+parseInt(_0x2710b9(0x234))/0x6*(-parseInt(_0x2710b9(0x1d1))/0x7)+-parseInt(_0x2710b9(0x21c))/0x8+-parseInt(_0x2710b9(0x1ab))/0x9*(parseInt(_0x2710b9(0x23b))/0xa)+parseInt(_0x2710b9(0x1aa))/0xb;if(_0x4150bc===_0x3e50b9)break;else _0x560cf8['push'](_0x560cf8['shift']());}catch(_0x200323){_0x560cf8['push'](_0x560cf8['shift']());}}}(a32_0x4a10,0xe039a));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x463842(0x1e5)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x463842(0x1fc)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x463842(0x245)),scripts=require(a32_0x463842(0x1fa)),globals=require(a32_0x463842(0x1ff)),logger=require(a32_0x463842(0x230))[a32_0x463842(0x1f3)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x463842(0x207));exports[a32_0x463842(0x231)]={'beforeAll'(){const _0x19ab72=a32_0x463842,_0x1badb5={'htfcB':function(_0x2c1819,_0x550958,_0x2b5ef9,_0x495dd8){return _0x2c1819(_0x550958,_0x2b5ef9,_0x495dd8);},'smXmz':_0x19ab72(0x1d7),'neaXd':_0x19ab72(0x1e9),'thUrX':function(_0x64d347,_0x57389c,_0x1ebc5a){return _0x64d347(_0x57389c,_0x1ebc5a);},'YNfCn':_0x19ab72(0x213),'ijqPf':function(_0x2038b1){return _0x2038b1();},'poFbE':function(_0x48aa57,_0x13cefe,_0x3c210d){return _0x48aa57(_0x13cefe,_0x3c210d);},'IKbCI':'index','BQWNR':'beforeAll'};PerformanceTester[_0x19ab72(0x20d)]();const _0x466c9f='browserstack internal helper hook';PerformanceTester[_0x19ab72(0x241)](PerformanceSdkEvents[_0x19ab72(0x1ad)],()=>{const _0x4e1374=_0x19ab72,_0x3293a5={'QCmyA':function(_0x6ed455,_0x1dde1f,_0x49e8f7,_0x3e0a6e){const _0x26a752=a32_0xec4e;return _0x1badb5[_0x26a752(0x1fe)](_0x6ed455,_0x1dde1f,_0x49e8f7,_0x3e0a6e);},'TEbPp':_0x1badb5['smXmz'],'SlVTM':_0x1badb5[_0x4e1374(0x1ca)],'wsmSF':function(_0x1774be,_0x47e0de,_0x2a2034){const _0x48fa70=_0x4e1374;return _0x1badb5[_0x48fa70(0x1c5)](_0x1774be,_0x47e0de,_0x2a2034);},'xYtrJ':_0x1badb5[_0x4e1374(0x23e)],'JlxDU':function(_0x39366c){const _0x2869d7=_0x4e1374;return _0x1badb5[_0x2869d7(0x1b5)](_0x39366c);},'rQvzK':function(_0x2c5c70,_0x5d0ff0,_0x2d5908){return _0x1badb5['poFbE'](_0x2c5c70,_0x5d0ff0,_0x2d5908);}};global[_0x4e1374(0x1f4)]=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x288007=_0x4e1374;let _0x461ac6=![];try{await global[_0x288007(0x254)][0x0][_0x288007(0x24f)],_0x461ac6=!![],global[_0x288007(0x1db)]?await _0x3293a5[_0x288007(0x259)](markSessionStatus,global[_0x288007(0x254)][0x0],_0x3293a5[_0x288007(0x1c7)],global[_0x288007(0x1f4)][_0x288007(0x21a)](_0x3293a5['SlVTM'])):await _0x3293a5[_0x288007(0x255)](markSessionStatus,global[_0x288007(0x254)][0x0],_0x3293a5['xYtrJ']);}catch(_0xb45858){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0xb45858);}global[_0x288007(0x1f4)]=[],global['__sessionFailed']=![];if(_0x461ac6)try{try{_0x3293a5[_0x288007(0x251)](shouldProcessEventForTesthub)&&(global[_0x288007(0x254)][0x0]&&await _0x3293a5['rQvzK'](sendPlatformDetails,global[_0x288007(0x254)][0x0],this[_0x288007(0x1d4)]?this[_0x288007(0x1d4)][_0x288007(0x1dc)]:null));}catch(_0x3903cb){logger[_0x288007(0x1f1)](_0x288007(0x22d)+_0x3903cb);}await global['__drivers'][0x0][_0x288007(0x20e)]();}catch(_0x4224a6){logger['debug'](_0x288007(0x23d)+_0x4224a6);}};},{'platform':_0x1badb5[_0x19ab72(0x1c5)](nestedKeyValue,global[_0x19ab72(0x236)],[_0x1badb5['IKbCI']]),'hookType':_0x1badb5[_0x19ab72(0x1d3)]})();},'beforeEach'(_0x10c70e){const _0x216926=a32_0x463842,_0x2ae855={'zcnys':function(_0x345938){return _0x345938();},'FqJVy':function(_0x59960b,_0x443339){return _0x59960b>_0x443339;},'HChaJ':_0x216926(0x225),'OMlGb':function(_0x3bb9b7,_0x29c7b0,_0x2d410f){return _0x3bb9b7(_0x29c7b0,_0x2d410f);},'rvZOv':_0x216926(0x202),'EEfjv':'isAccessibilityPlatform','fjkDQ':function(_0x53b95e,_0x128894){return _0x53b95e===_0x128894;},'wnCdr':_0x216926(0x1cb),'UPzyk':'https:','RaQul':_0x216926(0x218),'zFyJE':_0x216926(0x233),'HvewQ':_0x216926(0x22b),'iRrrP':_0x216926(0x222),'aBssn':_0x216926(0x1e6)};globals['setGlobal'](_0x2ae855[_0x216926(0x1af)],this['currentTest']['titlePath']()[_0x216926(0x21a)](_0x2ae855[_0x216926(0x203)])),PerformanceTester[_0x216926(0x241)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5055df=_0x216926,_0x112934={'zBeBU':function(_0x1bb8a4,_0x4090c2){const _0x5d50ab=a32_0xec4e;return _0x2ae855[_0x5d50ab(0x210)](_0x1bb8a4,_0x4090c2);},'msjvO':_0x2ae855['HChaJ'],'Pgzrh':function(_0x17f0e5,_0x298a60,_0x5ad6da){const _0x315ceb=a32_0xec4e;return _0x2ae855[_0x315ceb(0x1d2)](_0x17f0e5,_0x298a60,_0x5ad6da);},'GispA':_0x2ae855['rvZOv'],'kVpZl':function(_0x117b86){const _0x51ddcb=a32_0xec4e;return _0x2ae855[_0x51ddcb(0x1c9)](_0x117b86);},'fQyCk':_0x2ae855['EEfjv'],'NbuLo':function(_0x49f209,_0x6d93fd){return _0x2ae855['fjkDQ'](_0x49f209,_0x6d93fd);},'HEzAp':_0x2ae855[_0x5055df(0x24a)],'qawAX':_0x2ae855[_0x5055df(0x1ac)],'ehLIY':_0x2ae855[_0x5055df(0x1ba)],'GJYOx':_0x2ae855[_0x5055df(0x1b9)]},_0x3bbec4='browserstack internal helper hook';new Promise(async _0x466b08=>{const _0x5a8113=_0x5055df;let _0x2a81d0=!![];try{_0x112934['zBeBU'](global[_0x5a8113(0x254)][_0x5a8113(0x1ce)],0x1)&&(await global[_0x5a8113(0x211)](),global[_0x5a8113(0x254)][_0x5a8113(0x1a9)]()),_0x112934[_0x5a8113(0x1d0)](global[_0x5a8113(0x254)][0x0][_0x5a8113(0x1b3)],0x0)&&(_0x2a81d0=![],await global[_0x5a8113(0x211)]());}catch(_0x2e8f52){logger[_0x5a8113(0x1f1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2e8f52);}try{Array[_0x5a8113(0x239)](global[_0x5a8113(0x254)])&&global['__drivers'][0x0]&&(global[_0x5a8113(0x254)][0x0][_0x5a8113(0x248)]=this[_0x5a8113(0x1d4)][_0x5a8113(0x229)]()[_0x5a8113(0x21a)](_0x112934['msjvO'])),global[_0x5a8113(0x248)]=this[_0x5a8113(0x1d4)]['titlePath']()[_0x5a8113(0x21a)](_0x112934[_0x5a8113(0x1b0)]);}catch(_0x40c2f0){logger[_0x5a8113(0x1f1)](_0x5a8113(0x238)+_0x40c2f0);}this[_0x5a8113(0x1d4)][_0x5a8113(0x205)]=_0x112934['Pgzrh'](shouldScanTestForAccessibility,this[_0x5a8113(0x1d4)][_0x5a8113(0x229)](),!![]),globals[_0x5a8113(0x204)](_0x112934[_0x5a8113(0x1dd)],this[_0x5a8113(0x1d4)][_0x5a8113(0x205)]),this[_0x5a8113(0x1d4)]['accessibilityScanStarted']=!![];if(_0x112934[_0x5a8113(0x1fb)](isAccessibilityAutomationSession)&&_0x2a81d0&&Array[_0x5a8113(0x239)](global[_0x5a8113(0x254)])&&_0x112934[_0x5a8113(0x1d0)](global[_0x5a8113(0x254)][_0x5a8113(0x1ce)],0x0)&&globals[_0x5a8113(0x1ee)](_0x112934[_0x5a8113(0x1e8)]))try{const _0x4b062e=await global[_0x5a8113(0x254)][0x0][_0x5a8113(0x24f)];if(_0x4b062e){let _0x2d0f66=!![];const _0x20e08c=await global['__drivers'][0x0]['getCurrentUrl']();let _0x295989;try{_0x295989=new URL(_0x20e08c);}catch(_0x11939a){_0x2d0f66=![];}_0x2d0f66=_0x112934[_0x5a8113(0x258)](_0x295989[_0x5a8113(0x1b8)],_0x112934[_0x5a8113(0x1e4)])||_0x112934[_0x5a8113(0x258)](_0x295989[_0x5a8113(0x1b8)],_0x112934[_0x5a8113(0x25a)]),_0x2d0f66&&(this[_0x5a8113(0x1d4)][_0x5a8113(0x205)]&&logger[_0x5a8113(0x242)](_0x112934['ehLIY'])),this[_0x5a8113(0x1d4)][_0x5a8113(0x237)]=this['currentTest'][_0x5a8113(0x205)],this[_0x5a8113(0x1d4)][_0x5a8113(0x205)]&&logger['info'](_0x112934[_0x5a8113(0x235)]);}}catch(_0x277324){logger[_0x5a8113(0x1e3)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x5a8113(0x1eb)](_0x277324));}_0x112934[_0x5a8113(0x1fb)](_0x466b08);})[_0x5055df(0x206)](()=>{const _0x28f8cc=_0x5055df;_0x2ae855[_0x28f8cc(0x1c9)](_0x10c70e);});},{'platform':_0x2ae855[_0x216926(0x1d2)](nestedKeyValue,global[_0x216926(0x236)],[_0x2ae855[_0x216926(0x1f0)]]),'hookType':_0x2ae855[_0x216926(0x1bd)]})();},'afterEach'(_0x2879c2){const _0x13506e=a32_0x463842,_0x33c8ba={'NdDCu':_0x13506e(0x225),'qOqas':function(_0x2ef984,_0x28f556){return _0x2ef984>_0x28f556;},'BWYwW':function(_0x590e7f,_0x289fcb){return _0x590e7f===_0x289fcb;},'lsgMa':_0x13506e(0x1e2),'pNuUG':function(_0x155d3f,_0x1f17e3){return _0x155d3f>_0x1f17e3;},'dWLCe':_0x13506e(0x1d6),'VaZPy':function(_0x51c776,_0x4460bc,_0xbf1c4c,_0x1d01d5){return _0x51c776(_0x4460bc,_0xbf1c4c,_0x1d01d5);},'qJgsT':_0x13506e(0x1e7),'odccJ':_0x13506e(0x202),'iQgqn':_0x13506e(0x1ea),'NukqW':_0x13506e(0x212),'tBxKO':_0x13506e(0x224),'Srrpu':_0x13506e(0x1c4),'Zbhgx':function(_0x49b499){return _0x49b499();},'ABydQ':function(_0x2a90c4,_0x1ac60a,_0x4ed414){return _0x2a90c4(_0x1ac60a,_0x4ed414);},'gMsGM':function(_0x423580){return _0x423580();},'dFhKo':function(_0x178199,_0xddc8a3,_0x526b46){return _0x178199(_0xddc8a3,_0x526b46);},'VmBqF':_0x13506e(0x1f1),'vzsNM':function(_0x102b29){return _0x102b29();},'YulkG':function(_0x4df56e,_0x78b905){return _0x4df56e!==_0x78b905;},'wDkRX':_0x13506e(0x213),'EMrCa':function(_0xbc9481,_0x1709d5){return _0xbc9481+_0x1709d5;},'cZTRg':_0x13506e(0x228),'xDwoh':'error','EMyHH':_0x13506e(0x223),'QbUYs':_0x13506e(0x242),'fItuX':function(_0x5dfda6,_0x386e9a,_0x755dda){return _0x5dfda6(_0x386e9a,_0x755dda);},'OBUIf':'index','nYSYS':'afterEach'},_0x3161bc='browserstack internal helper hook';this[_0x13506e(0x1bc)](0xfde8),global[_0x13506e(0x22e)]=this['currentTest'][_0x13506e(0x229)]()[_0x13506e(0x21a)](_0x33c8ba[_0x13506e(0x209)]),PerformanceTester[_0x13506e(0x241)](PerformanceSdkEvents[_0x13506e(0x1ad)],()=>{const _0x5ba6ab=_0x13506e,_0x5a1da1={'QSNDN':function(_0x7b7211,_0x21865e){const _0xa8eba4=a32_0xec4e;return _0x33c8ba[_0xa8eba4(0x20a)](_0x7b7211,_0x21865e);},'chpCg':_0x33c8ba[_0x5ba6ab(0x1f8)],'pJCHC':function(_0x5b4d7a,_0x552b0a,_0x47f56b){const _0x8d347=_0x5ba6ab;return _0x33c8ba[_0x8d347(0x1f9)](_0x5b4d7a,_0x552b0a,_0x47f56b);},'XpPPJ':function(_0x59f729,_0x233b4b){const _0x3b8bf0=_0x5ba6ab;return _0x33c8ba[_0x3b8bf0(0x1c2)](_0x59f729,_0x233b4b);},'ASOqZ':_0x33c8ba[_0x5ba6ab(0x1b4)],'dRHWy':_0x33c8ba['xDwoh'],'auNgH':function(_0x3fe9ea,_0x24875c,_0x21bb22){const _0x2a1b86=_0x5ba6ab;return _0x33c8ba[_0x2a1b86(0x1c1)](_0x3fe9ea,_0x24875c,_0x21bb22);},'REfQg':_0x33c8ba[_0x5ba6ab(0x257)],'fPesb':_0x33c8ba[_0x5ba6ab(0x1ed)]},_0x3d18aa=async(_0xfb1db3,_0xc2e9f8)=>{const _0x576438=_0x5ba6ab;await global[_0x576438(0x254)][0x0][_0x576438(0x201)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xfb1db3+_0x576438(0x22a)+_0xc2e9f8+_0x576438(0x1e0));};new Promise(async _0x42d1b7=>{const _0x3bf2f2=_0x5ba6ab,_0x565bac={};_0x565bac[_0x3bf2f2(0x1cd)]=_0x33c8ba[_0x3bf2f2(0x209)];const _0x5ac51a=_0x565bac;try{_0x33c8ba[_0x3bf2f2(0x1ae)](global['__drivers']['length'],0x1)&&(await global[_0x3bf2f2(0x211)](),global[_0x3bf2f2(0x254)][_0x3bf2f2(0x1a9)](),global[_0x3bf2f2(0x1f4)]=[],global[_0x3bf2f2(0x1db)]=![]);try{if(global[_0x3bf2f2(0x1cc)]&&_0x33c8ba[_0x3bf2f2(0x1f2)](global[_0x3bf2f2(0x1b6)],_0x33c8ba[_0x3bf2f2(0x21e)])&&global[_0x3bf2f2(0x254)][0x0]){const _0x4e47d0=_0x33c8ba['pNuUG'](global['capabilities']['length'],0x0)?!!global[_0x3bf2f2(0x250)][0x0]['app']||!!global['capabilities'][0x0][_0x33c8ba[_0x3bf2f2(0x1f7)]]:![],_0x2cc84e={};_0x2cc84e[_0x3bf2f2(0x227)]=_0x4e47d0,await _0x33c8ba[_0x3bf2f2(0x1da)](percyAutoCapture,global['__drivers'][0x0],_0x33c8ba[_0x3bf2f2(0x21e)],_0x2cc84e);}}catch(_0x35b248){logger[_0x3bf2f2(0x1f1)](_0x3bf2f2(0x21b)+_0x35b248);}!global['__skipSessionName']&&(await PerformanceTester[_0x3bf2f2(0x241)](PerformanceAutEvents[_0x3bf2f2(0x1f6)],async()=>{const _0x6d11e0=_0x3bf2f2;await global[_0x6d11e0(0x254)][0x0][_0x6d11e0(0x201)](_0x6d11e0(0x22f)+JSON[_0x6d11e0(0x208)](this[_0x6d11e0(0x1d4)][_0x6d11e0(0x229)]()[_0x6d11e0(0x21a)](_0x5ac51a[_0x6d11e0(0x1cd)]))+'}}');})(),global[_0x3bf2f2(0x254)][0x0][_0x3bf2f2(0x23f)]=!![]),await PerformanceTester[_0x3bf2f2(0x241)](PerformanceAutEvents[_0x3bf2f2(0x1fd)],async()=>{const _0x530b9a=_0x3bf2f2,_0x47dc75=_0x5a1da1[_0x530b9a(0x1de)](this[_0x530b9a(0x1d4)][_0x530b9a(0x1d9)],_0x5a1da1[_0x530b9a(0x244)]);_0x47dc75?(global['__sessionFailed']=!![],global[_0x530b9a(0x1f4)][_0x530b9a(0x21f)](this[_0x530b9a(0x1d4)][_0x530b9a(0x1b1)][_0x530b9a(0x24b)]),await _0x5a1da1[_0x530b9a(0x1e1)](_0x3d18aa,JSON[_0x530b9a(0x208)](_0x5a1da1[_0x530b9a(0x1bf)](_0x5a1da1['ASOqZ'],this[_0x530b9a(0x1d4)][_0x530b9a(0x1b1)][_0x530b9a(0x24b)])),_0x5a1da1[_0x530b9a(0x1c6)])):await _0x5a1da1[_0x530b9a(0x1be)](_0x3d18aa,JSON[_0x530b9a(0x208)](_0x5a1da1[_0x530b9a(0x1df)]),_0x5a1da1[_0x530b9a(0x21d)]);})();}catch(_0xbfc0b3){logger[_0x3bf2f2(0x1f1)](_0x3bf2f2(0x221)+_0xbfc0b3);}try{if(this[_0x3bf2f2(0x1d4)][_0x3bf2f2(0x237)]&&globals['getGlobal'](_0x33c8ba[_0x3bf2f2(0x220)])&&globals[_0x3bf2f2(0x1ee)](_0x33c8ba['odccJ'])){logger[_0x3bf2f2(0x242)](_0x33c8ba[_0x3bf2f2(0x1d8)]);const _0x2c53ce={};_0x2c53ce[_0x3bf2f2(0x1bb)]=this['currentTest'][_0x3bf2f2(0x1dc)],_0x2c53ce[_0x3bf2f2(0x246)]=process[_0x3bf2f2(0x232)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x2c53ce[_0x3bf2f2(0x200)]=process['env'][testHubConstants['ENV_VAR'][_0x3bf2f2(0x1ec)]];const _0x594cc4=_0x2c53ce;logger['debug'](_0x3bf2f2(0x240)+JSON[_0x3bf2f2(0x208)](_0x594cc4)),logger[_0x3bf2f2(0x1f1)](_0x33c8ba[_0x3bf2f2(0x249)]);const _0x53d9bf={};_0x53d9bf[_0x3bf2f2(0x1ef)]=_0x33c8ba[_0x3bf2f2(0x256)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3bf2f2(0x1b7)],async()=>{const _0x4e9ad2=_0x3bf2f2;logger[_0x4e9ad2(0x1f1)](util[_0x4e9ad2(0x1eb)](await global[_0x4e9ad2(0x254)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global[_0x4e9ad2(0x248)]})));},_0x53d9bf)(),await PerformanceTester[_0x3bf2f2(0x241)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x39b10b=_0x3bf2f2;await global['__drivers'][0x0][_0x39b10b(0x20b)](scripts[_0x39b10b(0x216)],_0x594cc4);})(),logger['info'](_0x33c8ba['Srrpu']);}}catch(_0x556918){logger['error'](_0x3bf2f2(0x24e)+this['currentTest'][_0x3bf2f2(0x229)]()+_0x3bf2f2(0x219),_0x556918);}try{try{if(_0x33c8ba['Zbhgx'](shouldProcessEventForTesthub)){global[_0x3bf2f2(0x254)][0x0]&&await _0x33c8ba[_0x3bf2f2(0x1f9)](sendPlatformDetails,global[_0x3bf2f2(0x254)][0x0],this['currentTest']?this[_0x3bf2f2(0x1d4)][_0x3bf2f2(0x1dc)]:null);if(_0x33c8ba['gMsGM'](isBrowserstackInfra)){PerformanceTester[_0x3bf2f2(0x24d)](PerformanceO11yEvents[_0x3bf2f2(0x252)]);const _0x25da6c=_0x3bf2f2(0x23c)+Date['now']();await _0x33c8ba['dFhKo'](_0x3d18aa,JSON[_0x3bf2f2(0x208)](_0x25da6c),_0x33c8ba[_0x3bf2f2(0x226)]),PerformanceTester[_0x3bf2f2(0x1d5)](PerformanceO11yEvents[_0x3bf2f2(0x252)]);}}}catch(_0x3d4742){logger[_0x3bf2f2(0x1f1)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x3d4742),PerformanceTester['end'](PerformanceO11yEvents[_0x3bf2f2(0x252)],![],_0x3d4742);}_0x33c8ba[_0x3bf2f2(0x1c3)](global[_0x3bf2f2(0x254)][0x0]['quitCount_'],0x0)&&await global[_0x3bf2f2(0x211)]();}catch(_0x43aa4f){logger[_0x3bf2f2(0x1f1)](_0x3bf2f2(0x23d)+_0x43aa4f);}_0x33c8ba[_0x3bf2f2(0x247)](_0x42d1b7);})[_0x5ba6ab(0x206)](()=>{const _0x54c594=_0x5ba6ab;_0x33c8ba[_0x54c594(0x1f5)](_0x2879c2);});},{'platform':_0x33c8ba[_0x13506e(0x1b2)](nestedKeyValue,global[_0x13506e(0x236)],[_0x33c8ba[_0x13506e(0x1c8)]]),'hookType':_0x33c8ba[_0x13506e(0x253)]})();},'afterAll'(_0x2f6413){const _0x461651=a32_0x463842,_0x5337ca={'bjjHp':function(_0x1d8604){return _0x1d8604();},'BVRVc':function(_0x4b129d){return _0x4b129d();},'yFgpT':function(_0x24782f,_0xcbc97e,_0x47c3da){return _0x24782f(_0xcbc97e,_0x47c3da);},'CItHp':_0x461651(0x222),'WJcla':_0x461651(0x1cf)},_0x26777d='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x591d3b=_0x461651,_0x4a5ffd={'zLyMC':function(_0x4c2156){return _0x5337ca['BVRVc'](_0x4c2156);}};new Promise(async _0x56a084=>{const _0x42914e=a32_0xec4e;await global['driverCleanup'](),_0x4a5ffd[_0x42914e(0x243)](_0x56a084);})[_0x591d3b(0x206)]()[_0x591d3b(0x20f)](()=>{_0x5337ca['bjjHp'](_0x2f6413);});},{'platform':_0x5337ca[_0x461651(0x214)](nestedKeyValue,global[_0x461651(0x236)],[_0x5337ca[_0x461651(0x20c)]]),'hookType':_0x5337ca[_0x461651(0x215)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x113a16=a33_0x505c;(function(_0x2db14e,_0x3a32af){const _0x495585=a33_0x505c,_0x390807=_0x2db14e();while(!![]){try{const _0x6166b8=-parseInt(_0x495585(0xa3))/0x1+parseInt(_0x495585(0xa2))/0x2*(parseInt(_0x495585(0xa9))/0x3)+-parseInt(_0x495585(0xcd))/0x4+parseInt(_0x495585(0xb2))/0x5*(parseInt(_0x495585(0xd6))/0x6)+-parseInt(_0x495585(0xbe))/0x7*(-parseInt(_0x495585(0xad))/0x8)+-parseInt(_0x495585(0xcb))/0x9+parseInt(_0x495585(0xd2))/0xa*(-parseInt(_0x495585(0xe0))/0xb);if(_0x6166b8===_0x3a32af)break;else _0x390807['push'](_0x390807['shift']());}catch(_0x326653){_0x390807['push'](_0x390807['shift']());}}}(a33_0x46b3,0xa4cec));function a33_0x46b3(){const _0x2c45f1=['splice','fxKkj','mergeDeep','host','HhLtN','start_process','child_process','nightwatch-browserstack.json','../../helpers/logger','existsSync','test_settings','length','platforms','selenium','16htTqii','197950qSQQRt','exports','getPlatformName','--env','trim','isUndefined','264237mcwtMi','MHAcU','join','modifyBrowserStackCaps','8YQPAPD','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','winstonLogger','yjmeU','forEach','5cbFaLm','enxES','RJtgS','push','modifyBrowserStackW3CCaps','useW3C','platform','path','Getting\x20your\x20nightwatch\x20configs\x20from\x20','Kjsou','FKbzs','xwyuP','3200666VwZDJk','nightwatch.json','etoAr','BnJfr','stringify','info','close','../../helpers/helper','filter','Deleting\x20','env','findIndex','--config','1909989dJMJLC','xhqaq','906560eWFPgg','config','now','map','debug','130YnAmCn','webdriver','MmDjN','inherit','7846482mXLhor','OEHvx','../../helpers/BrowserStackSetup','nightwatch','cwd','XRrIP','desiredCapabilities','nightwatch.conf.js','PXODk','hub.browserstack.com','979638OWKxaw','slice'];a33_0x46b3=function(){return _0x2c45f1;};return a33_0x46b3();}function a33_0x505c(_0x4d649a,_0x1f62a8){const _0x46b36a=a33_0x46b3();return a33_0x505c=function(_0x505c31,_0x1cfce8){_0x505c31=_0x505c31-0xa0;let _0x2e6905=_0x46b36a[_0x505c31];return _0x2e6905;},a33_0x505c(_0x4d649a,_0x1f62a8);}const fs=require('fs'),path=require(a33_0x113a16(0xb9)),{spawn}=require(a33_0x113a16(0xe8)),logger=require(a33_0x113a16(0xea))[a33_0x113a16(0xaf)],{default:BrowserStackSetup}=require(a33_0x113a16(0xd8)),helper=require(a33_0x113a16(0xc5)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0xb5c002,_0x10061a)=>{const _0x1e50a8=a33_0x113a16,_0x1db144={'OEHvx':_0x1e50a8(0xdd),'BnJfr':_0x1e50a8(0xbf),'fxKkj':function(_0x287a04,_0x5a0cd9){return _0x287a04(_0x5a0cd9);},'RJtgS':_0x1e50a8(0xae)};let _0x3f951f=null,_0x4cc5f4={};const _0x55b723=_0x10061a[_0x1e50a8(0xc9)](_0xfc377e=>_0xfc377e===_0x1e50a8(0xca));if(!helper[_0x1e50a8(0xa8)](_0xb5c002[_0x1e50a8(0xce)])&&fs[_0x1e50a8(0xeb)](path[_0x1e50a8(0xab)](process[_0x1e50a8(0xda)](),_0xb5c002[_0x1e50a8(0xce)])))_0x3f951f=path[_0x1e50a8(0xab)](process['cwd'](),_0xb5c002['config']),_0x10061a[_0x1e50a8(0xe2)](_0x55b723,0x2);else{if(fs[_0x1e50a8(0xeb)](path[_0x1e50a8(0xab)](process[_0x1e50a8(0xda)](),_0x1db144['OEHvx'])))_0x3f951f=path[_0x1e50a8(0xab)](process[_0x1e50a8(0xda)](),_0x1db144[_0x1e50a8(0xd7)]);else fs[_0x1e50a8(0xeb)](path[_0x1e50a8(0xab)](process[_0x1e50a8(0xda)](),_0x1db144[_0x1e50a8(0xc1)]))&&(_0x3f951f=path[_0x1e50a8(0xab)](process[_0x1e50a8(0xda)](),_0x1db144[_0x1e50a8(0xc1)]));}return _0x3f951f?(logger['info'](_0x1e50a8(0xba)+_0x3f951f),_0x4cc5f4=_0x1db144[_0x1e50a8(0xe3)](require,_0x3f951f)):logger[_0x1e50a8(0xc3)](_0x1db144[_0x1e50a8(0xb4)]),_0x4cc5f4;},removeExistingEnvs=_0x4eddc6=>{const _0x14d498=a33_0x113a16,_0x1611b9={};_0x1611b9[_0x14d498(0xaa)]=function(_0x3f812c,_0x3d0321){return _0x3f812c>_0x3d0321;},_0x1611b9['MmDjN']=function(_0x16f75f,_0x2d3412){return _0x16f75f>_0x2d3412;};const _0x4dc6e9=_0x1611b9;let _0x56dec9=_0x4eddc6[_0x14d498(0xc9)](_0x296c27=>_0x296c27===_0x14d498(0xa6));_0x4dc6e9[_0x14d498(0xaa)](_0x56dec9,-0x1)&&_0x4eddc6['splice'](_0x56dec9,0x2),_0x56dec9=_0x4eddc6[_0x14d498(0xc9)](_0x2b3cc7=>_0x2b3cc7==='-e'),_0x4dc6e9[_0x14d498(0xd4)](_0x56dec9,-0x1)&&_0x4eddc6[_0x14d498(0xe2)](_0x56dec9,0x2);};function run(_0x234bc1,_0xe66868){const _0x173391=a33_0x113a16,_0x2ccec6={'XRrIP':_0x173391(0xd9),'yjmeU':function(_0x56886e,_0x26ed4d){return _0x56886e+_0x26ed4d;},'xwyuP':_0x173391(0xec),'enxES':function(_0x596442,_0x2ba083,_0x22d89c){return _0x596442(_0x2ba083,_0x22d89c);},'fjEUf':_0x173391(0xdf),'AtWwX':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Kjsou':function(_0x740b44,_0x52bb03){return _0x740b44===_0x52bb03;},'xhqaq':_0x173391(0xe9),'etoAr':function(_0x79c239,_0x35ee68){return _0x79c239(_0x35ee68);},'YhoeC':function(_0x139b5e,_0x1eb14c,_0x2b7a39,_0x1023b6){return _0x139b5e(_0x1eb14c,_0x2b7a39,_0x1023b6);},'FKbzs':'nightwatch.cmd','HhLtN':_0x173391(0xca),'Gilty':_0x173391(0xa6),'PXODk':_0x173391(0xd5),'qEtch':_0x173391(0xc4)},_0x5bf032=new BrowserStackSetup(_0x234bc1);if(!_0x5bf032['config'])return;const _0xa59f00=_0x2ccec6[_0x173391(0xb3)](getUserNightwatchConfigs,_0x234bc1,_0xe66868),_0x2b63a8={};_0x2b63a8[_0x173391(0xe7)]=![];const _0x19086e={};_0x19086e[_0x173391(0xe5)]=_0x2ccec6['fjEUf'],_0x19086e['port']=0x1bb;const _0x5b7e85={};_0x5b7e85[_0x173391(0xd3)]=_0x2b63a8,_0x5b7e85[_0x173391(0xa1)]=_0x19086e;const _0x528234=_0x5b7e85;logger['info'](_0x2ccec6['AtWwX']);const _0x5c0e4e={..._0xa59f00},_0xc9e8c9=_0x5c0e4e,_0x4e0cfe=helper[_0x173391(0xb7)](_0x5bf032[_0x173391(0xce)]),_0x49fd35=[];_0x5bf032[_0x173391(0xce)][_0x173391(0xa0)]['forEach']((_0xab06a8,_0x5460ba)=>{const _0x3fbb24=_0x173391;_0x4e0cfe?_0x49fd35[_0x3fbb24(0xb5)](helper[_0x3fbb24(0xb6)](_0x5bf032[_0x3fbb24(0xce)],_0x2ccec6[_0x3fbb24(0xdb)],_0x5460ba)):_0x49fd35[_0x3fbb24(0xb5)](helper[_0x3fbb24(0xac)](_0x5bf032['config'],_0x2ccec6['XRrIP'],_0x5460ba));});const _0x239c64={},_0x279758=[];_0x234bc1['env']=_0x234bc1[_0x173391(0xc8)]||_0x234bc1['e'];const _0x120c5f=_0x234bc1[_0x173391(0xc8)]?_0x234bc1['env'][_0x173391(0xa7)]()['split'](',')[_0x173391(0xd0)](_0x326a9f=>_0x326a9f[_0x173391(0xa7)]())[_0x173391(0xc6)](_0x5309a7=>_0x5309a7!==''):[''];_0x2ccec6[_0x173391(0xbb)](_0x120c5f[_0x173391(0xed)],0x0)&&_0x120c5f[_0x173391(0xb5)]('');_0x120c5f[_0x173391(0xb1)](_0x436fd7=>{const _0x433f0f=_0x173391;_0x49fd35[_0x433f0f(0xb1)](_0x48246e=>{const _0x4918c9=_0x433f0f;let _0x20c53c=_0x2ccec6[_0x4918c9(0xb0)](helper[_0x4918c9(0xa5)](_0x48246e,'_'),'_'+Date[_0x4918c9(0xcf)]());_0x436fd7&&(_0x20c53c+='_'+_0x436fd7);if(_0x436fd7&&(!_0xa59f00[_0x2ccec6[_0x4918c9(0xbd)]]||!_0xa59f00[_0x2ccec6[_0x4918c9(0xbd)]][_0x436fd7]))return;const _0x3679c4={..._0x528234};_0x3679c4[_0x4918c9(0xdc)]=_0x48246e;const _0x3c9813=_0x3679c4;_0x239c64[_0x20c53c]=_0x436fd7?helper[_0x4918c9(0xe4)](_0xa59f00[_0x2ccec6[_0x4918c9(0xbd)]][_0x436fd7],_0x3c9813):_0x3c9813,_0x279758[_0x4918c9(0xb5)](_0x20c53c);});});!_0xc9e8c9[_0x173391(0xec)]&&(_0xc9e8c9[_0x173391(0xec)]={});_0xc9e8c9['test_settings']={..._0xc9e8c9[_0x173391(0xec)],..._0x239c64};const _0x10ca5e=path[_0x173391(0xab)](__dirname,_0x2ccec6[_0x173391(0xcc)]);fs['writeFileSync'](_0x10ca5e,JSON[_0x173391(0xc2)](_0xc9e8c9)),_0x2ccec6[_0x173391(0xc0)](removeExistingEnvs,_0xe66868);const _0x127874=_0x2ccec6['YhoeC'](spawn,/^win/['test'](process[_0x173391(0xb8)])?_0x2ccec6[_0x173391(0xbc)]:_0x2ccec6['XRrIP'],[_0x2ccec6[_0x173391(0xe6)],_0x10ca5e,..._0xe66868[_0x173391(0xe1)](0x1),_0x2ccec6['Gilty'],_0x279758['join'](',')],{'stdio':_0x2ccec6[_0x173391(0xde)]});_0x127874['on'](_0x2ccec6['qEtch'],async _0x851611=>{const _0x57190a=_0x173391;logger[_0x57190a(0xd1)]('child\x20process\x20exited\x20with\x20code\x20'+_0x851611),logger[_0x57190a(0xc3)](_0x57190a(0xc7)+_0x10ca5e),fs['unlinkSync'](_0x10ca5e);});}module[a33_0x113a16(0xa4)]=run;
2
+ 'use strict';const a33_0xc47033=a33_0x487c;(function(_0x34f032,_0x42d98c){const _0x4d94bf=a33_0x487c,_0x2d926a=_0x34f032();while(!![]){try{const _0xc4859=parseInt(_0x4d94bf(0x114))/0x1*(parseInt(_0x4d94bf(0x100))/0x2)+-parseInt(_0x4d94bf(0x129))/0x3+-parseInt(_0x4d94bf(0xef))/0x4+parseInt(_0x4d94bf(0x117))/0x5*(-parseInt(_0x4d94bf(0x11a))/0x6)+parseInt(_0x4d94bf(0x11b))/0x7*(-parseInt(_0x4d94bf(0xe2))/0x8)+-parseInt(_0x4d94bf(0x127))/0x9*(-parseInt(_0x4d94bf(0x126))/0xa)+parseInt(_0x4d94bf(0xe3))/0xb*(parseInt(_0x4d94bf(0xf1))/0xc);if(_0xc4859===_0x42d98c)break;else _0x2d926a['push'](_0x2d926a['shift']());}catch(_0x259128){_0x2d926a['push'](_0x2d926a['shift']());}}}(a33_0x17c7,0xf30ce));function a33_0x17c7(){const _0x402822=['forEach','join','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','exports','now','QCoDz','271930nmhLVq','333UrurKj','zOUCr','316317epSlKy','eAkbo','env','ooAFf','start_process','../../helpers/helper','test_settings','88djViOq','22MCVMGU','existsSync','gsSRW','CgARe','nightwatch','Deleting\x20','debug','host','WMuIC','../../helpers/logger','getPlatformName','cwd','737300rnkOhI','writeFileSync','10281924zGGbXI','splice','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','config','platform','JtbFV','KjLYJ','--env','length','YNpaL','jOUMu','map','port','modifyBrowserStackCaps','Dnche','1269776OuPriV','child_process','nightwatch-browserstack.json','trim','--config','ZIcPJ','SEzbo','isUndefined','split','jJAZf','inherit','desiredCapabilities','vXElZ','useW3C','test','winstonLogger','push','../../helpers/BrowserStackSetup','Getting\x20your\x20nightwatch\x20configs\x20from\x20','jalWQ','3sdLuxz','OKghe','findIndex','5dLTanv','child\x20process\x20exited\x20with\x20code\x20','selenium','9191760mSFDJF','1150037zuFLnG','kDcvu','mergeDeep','unlinkSync','nightwatch.conf.js'];a33_0x17c7=function(){return _0x402822;};return a33_0x17c7();}function a33_0x487c(_0x1360df,_0x3968ec){const _0x17c75c=a33_0x17c7();return a33_0x487c=function(_0x487c54,_0x3f82ad){_0x487c54=_0x487c54-0xe1;let _0xf7d374=_0x17c75c[_0x487c54];return _0xf7d374;},a33_0x487c(_0x1360df,_0x3968ec);}const fs=require('fs'),path=require('path'),{spawn}=require(a33_0xc47033(0x101)),logger=require(a33_0xc47033(0xec))[a33_0xc47033(0x10f)],{default:BrowserStackSetup}=require(a33_0xc47033(0x111)),helper=require(a33_0xc47033(0x12e)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x3644b3,_0x68fbde)=>{const _0x57f5ba=a33_0xc47033,_0x12659c={'SEzbo':_0x57f5ba(0x11f),'JochZ':'nightwatch.json','KjLYJ':function(_0x110e49,_0x4f57f5){return _0x110e49(_0x4f57f5);},'ZIcPJ':_0x57f5ba(0x122)};let _0x105055=null,_0x34b2b8={};const _0x5ea6dc=_0x68fbde['findIndex'](_0x3b86f1=>_0x3b86f1===_0x57f5ba(0x104));if(!helper[_0x57f5ba(0x107)](_0x3644b3[_0x57f5ba(0xf4)])&&fs[_0x57f5ba(0xe4)](path[_0x57f5ba(0x121)](process[_0x57f5ba(0xee)](),_0x3644b3[_0x57f5ba(0xf4)])))_0x105055=path[_0x57f5ba(0x121)](process[_0x57f5ba(0xee)](),_0x3644b3['config']),_0x68fbde[_0x57f5ba(0xf2)](_0x5ea6dc,0x2);else{if(fs['existsSync'](path['join'](process[_0x57f5ba(0xee)](),_0x12659c[_0x57f5ba(0x106)])))_0x105055=path[_0x57f5ba(0x121)](process[_0x57f5ba(0xee)](),_0x12659c['SEzbo']);else fs[_0x57f5ba(0xe4)](path[_0x57f5ba(0x121)](process['cwd'](),_0x12659c['JochZ']))&&(_0x105055=path['join'](process['cwd'](),_0x12659c['JochZ']));}return _0x105055?(logger['info'](_0x57f5ba(0x112)+_0x105055),_0x34b2b8=_0x12659c[_0x57f5ba(0xf7)](require,_0x105055)):logger['info'](_0x12659c[_0x57f5ba(0x105)]),_0x34b2b8;},removeExistingEnvs=_0xea5e93=>{const _0x3e43fd=a33_0xc47033,_0x4fa836={};_0x4fa836['QCoDz']=function(_0x410212,_0x578fd2){return _0x410212>_0x578fd2;},_0x4fa836[_0x3e43fd(0xff)]=function(_0x51cb9,_0x229fa0){return _0x51cb9>_0x229fa0;};const _0x5f547d=_0x4fa836;let _0x277875=_0xea5e93[_0x3e43fd(0x116)](_0xd4760=>_0xd4760===_0x3e43fd(0xf8));_0x5f547d[_0x3e43fd(0x125)](_0x277875,-0x1)&&_0xea5e93[_0x3e43fd(0xf2)](_0x277875,0x2),_0x277875=_0xea5e93[_0x3e43fd(0x116)](_0x33ebef=>_0x33ebef==='-e'),_0x5f547d[_0x3e43fd(0xff)](_0x277875,-0x1)&&_0xea5e93['splice'](_0x277875,0x2);};function run(_0x226176,_0x171bd8){const _0x1f6cb0=a33_0xc47033,_0x2fcd4b={'gsSRW':_0x1f6cb0(0xe7),'TZSXB':function(_0x25f9a3,_0x42e04e){return _0x25f9a3+_0x42e04e;},'vXElZ':'test_settings','ooAFf':function(_0x997c56,_0x43e350,_0x5b9670){return _0x997c56(_0x43e350,_0x5b9670);},'jalWQ':'hub.browserstack.com','jJAZf':_0x1f6cb0(0xf3),'kDcvu':function(_0x517aaf,_0x56c843){return _0x517aaf===_0x56c843;},'WMuIC':_0x1f6cb0(0x102),'zOUCr':function(_0x387896,_0x5ad7b1){return _0x387896(_0x5ad7b1);},'YNpaL':function(_0x4315c3,_0x11cdd7,_0x3f99f3,_0xa23f64){return _0x4315c3(_0x11cdd7,_0x3f99f3,_0xa23f64);},'jOUMu':'nightwatch.cmd','YzTxm':_0x1f6cb0(0x104),'eAkbo':_0x1f6cb0(0xf8),'JtbFV':_0x1f6cb0(0x10a),'babzM':'close'},_0x234ec8=new BrowserStackSetup(_0x226176);if(!_0x234ec8[_0x1f6cb0(0xf4)])return;const _0x178b04=_0x2fcd4b[_0x1f6cb0(0x12c)](getUserNightwatchConfigs,_0x226176,_0x171bd8),_0x493c1c={};_0x493c1c[_0x1f6cb0(0x12d)]=![];const _0x237684={};_0x237684[_0x1f6cb0(0xea)]=_0x2fcd4b[_0x1f6cb0(0x113)],_0x237684[_0x1f6cb0(0xfd)]=0x1bb;const _0x2db40b={};_0x2db40b['webdriver']=_0x493c1c,_0x2db40b[_0x1f6cb0(0x119)]=_0x237684;const _0x5df7ba=_0x2db40b;logger['info'](_0x2fcd4b[_0x1f6cb0(0x109)]);const _0x31c387={..._0x178b04},_0xbc6ff6=_0x31c387,_0x36d9c5=helper[_0x1f6cb0(0x10d)](_0x234ec8[_0x1f6cb0(0xf4)]),_0x4e3fac=[];_0x234ec8[_0x1f6cb0(0xf4)]['platforms'][_0x1f6cb0(0x120)]((_0x1aafa7,_0x4c2d8d)=>{const _0x33672d=_0x1f6cb0;_0x36d9c5?_0x4e3fac[_0x33672d(0x110)](helper['modifyBrowserStackW3CCaps'](_0x234ec8['config'],_0x2fcd4b[_0x33672d(0xe5)],_0x4c2d8d)):_0x4e3fac[_0x33672d(0x110)](helper[_0x33672d(0xfe)](_0x234ec8['config'],_0x2fcd4b[_0x33672d(0xe5)],_0x4c2d8d));});const _0x43584b={},_0x60655b=[];_0x226176['env']=_0x226176[_0x1f6cb0(0x12b)]||_0x226176['e'];const _0x40c85c=_0x226176[_0x1f6cb0(0x12b)]?_0x226176[_0x1f6cb0(0x12b)][_0x1f6cb0(0x103)]()[_0x1f6cb0(0x108)](',')[_0x1f6cb0(0xfc)](_0x267a09=>_0x267a09['trim']())['filter'](_0x10e258=>_0x10e258!==''):[''];_0x2fcd4b[_0x1f6cb0(0x11c)](_0x40c85c[_0x1f6cb0(0xf9)],0x0)&&_0x40c85c[_0x1f6cb0(0x110)]('');_0x40c85c[_0x1f6cb0(0x120)](_0x44ef99=>{const _0x5777d6=_0x1f6cb0,_0x129b3e={'OKghe':function(_0x4c3ce8,_0x3432fc){return _0x2fcd4b['TZSXB'](_0x4c3ce8,_0x3432fc);},'CgARe':_0x2fcd4b[_0x5777d6(0x10c)]};_0x4e3fac[_0x5777d6(0x120)](_0x50a23b=>{const _0x3bdba4=_0x5777d6;let _0x2f6e06=_0x129b3e[_0x3bdba4(0x115)](helper[_0x3bdba4(0xed)](_0x50a23b,'_'),'_'+Date[_0x3bdba4(0x124)]());_0x44ef99&&(_0x2f6e06+='_'+_0x44ef99);if(_0x44ef99&&(!_0x178b04[_0x129b3e[_0x3bdba4(0xe6)]]||!_0x178b04[_0x129b3e[_0x3bdba4(0xe6)]][_0x44ef99]))return;const _0x8d8282={..._0x5df7ba};_0x8d8282[_0x3bdba4(0x10b)]=_0x50a23b;const _0x5841ad=_0x8d8282;_0x43584b[_0x2f6e06]=_0x44ef99?helper[_0x3bdba4(0x11d)](_0x178b04[_0x129b3e[_0x3bdba4(0xe6)]][_0x44ef99],_0x5841ad):_0x5841ad,_0x60655b['push'](_0x2f6e06);});});!_0xbc6ff6['test_settings']&&(_0xbc6ff6['test_settings']={});_0xbc6ff6[_0x1f6cb0(0xe1)]={..._0xbc6ff6[_0x1f6cb0(0xe1)],..._0x43584b};const _0x25ac07=path[_0x1f6cb0(0x121)](__dirname,_0x2fcd4b[_0x1f6cb0(0xeb)]);fs[_0x1f6cb0(0xf0)](_0x25ac07,JSON['stringify'](_0xbc6ff6)),_0x2fcd4b[_0x1f6cb0(0x128)](removeExistingEnvs,_0x171bd8);const _0x11853b=_0x2fcd4b[_0x1f6cb0(0xfa)](spawn,/^win/[_0x1f6cb0(0x10e)](process[_0x1f6cb0(0xf5)])?_0x2fcd4b[_0x1f6cb0(0xfb)]:_0x2fcd4b[_0x1f6cb0(0xe5)],[_0x2fcd4b['YzTxm'],_0x25ac07,..._0x171bd8['slice'](0x1),_0x2fcd4b[_0x1f6cb0(0x12a)],_0x60655b[_0x1f6cb0(0x121)](',')],{'stdio':_0x2fcd4b[_0x1f6cb0(0xf6)]});_0x11853b['on'](_0x2fcd4b['babzM'],async _0x62aef8=>{const _0x54bee0=_0x1f6cb0;logger[_0x54bee0(0xe9)](_0x54bee0(0x118)+_0x62aef8),logger['info'](_0x54bee0(0xe8)+_0x25ac07),fs[_0x54bee0(0x11e)](_0x25ac07);});}module[a33_0xc47033(0x123)]=run;
@@ -1 +1 @@
1
- const a34_0x2bf7a3=a34_0xc035;function a34_0x5a16(){const _0x162e66=['workerInfo','tBdzg','playwright-chromium','../../helpers/performance/constants','1344060ZJROpZ','uWWmd','browser_version','format','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','pbfcC','bestPractice','KCwjE','MtJHC','browserName','evFud','needsReview','qsauL','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','setAccessibilityCapabilities','browserStackExecuteDriver','BTdBE','../../helpers/helper','../../helpers/accessibility-automation/helper','wsEndpoint','measureWrapper','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','1260642RHWgTL','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','../../helpers/logger','6844385hvNrlE','VJMEu','parse','1614128NALhzY','accessibilityOptions','gteJW','RgxYb','performScan','project','GyljT','HFwzB','49AgvVIz','currentTest','browserstack.accessibility','vTwpT','BS_A11Y_JWT','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','RyWzn','util','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','prYWP','35199oQJaNf','bxSlZ','bstackSdkArgs','warn','replace','accessibilityPlatform','Yfyjs','platformValidation','uJVWG','latest','deviceName','connectOptions','../../helpers/performance/performance-tester','hmUjD','browser','accessibilityOptions.scannerVersion','200sCiQwM','constructor','mcIFI','No\x20summaryResults\x20found.','includeIssueType','GHELt','sgreF','env','Playwright','hCDJj','stringify','ihKaU','debug','PERFORM_SCAN','testInfo','command','pWngl','accessibilityOptions.includeIssueType.needsReview','1665660QLTBHH','accessibilityOptions.authToken','322yUvjnt','YuOPT','processAccessibilityCaps','accessibilityOptions.scannerProcessingTimeout','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','xmvgg','use','TUhgz','QCAzc','scannerProcessingTimeout','363DGyQCN','error','blAQN','chrome','(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','560079AnjpdN','../../helpers/accessibility-automation/scripts','browserStackEvaluate','ErshX','winstonLogger','No\x20accessibility\x20results\x20were\x20found.','cVspa','evaluate','wcagVersion','executeScript','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','accessibilityOptions.wcagVersion','name'];a34_0x5a16=function(){return _0x162e66;};return a34_0x5a16();}(function(_0x45a0d4,_0x513604){const _0x104ca8=a34_0xc035,_0x179ff7=_0x45a0d4();while(!![]){try{const _0x499cbe=parseInt(_0x104ca8(0xe1))/0x1+parseInt(_0x104ca8(0xe3))/0x2*(parseInt(_0x104ca8(0xbf))/0x3)+parseInt(_0x104ca8(0xac))/0x4+parseInt(_0x104ca8(0x11c))/0x5+parseInt(_0x104ca8(0x119))/0x6*(-parseInt(_0x104ca8(0xb4))/0x7)+parseInt(_0x104ca8(0xcf))/0x8*(parseInt(_0x104ca8(0xf2))/0x9)+parseInt(_0x104ca8(0x103))/0xa*(-parseInt(_0x104ca8(0xed))/0xb);if(_0x499cbe===_0x513604)break;else _0x179ff7['push'](_0x179ff7['shift']());}catch(_0x147f82){_0x179ff7['push'](_0x179ff7['shift']());}}}(a34_0x5a16,0xee746));const util=require(a34_0x2bf7a3(0xbb)),logger=require(a34_0x2bf7a3(0x11b))[a34_0x2bf7a3(0xf6)],{isAccessibilityAutomationSession}=require(a34_0x2bf7a3(0x115)),{isUndefined}=require(a34_0x2bf7a3(0x114)),scripts=require(a34_0x2bf7a3(0xf3)),PerformanceTester=require(a34_0x2bf7a3(0xcb)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x2bf7a3(0x102));function a34_0xc035(_0x148d9f,_0x275dcf){const _0x5a166a=a34_0x5a16();return a34_0xc035=function(_0xc035fb,_0x2e7e35){_0xc035fb=_0xc035fb-0xac;let _0x13c78d=_0x5a166a[_0xc035fb];return _0x13c78d;},a34_0xc035(_0x148d9f,_0x275dcf);}exports[a34_0x2bf7a3(0xf4)]=async(_0x15cc63,_0x4fa3f9,_0x3befb7={})=>{const _0x990080=a34_0x2bf7a3,_0x2403d6={};_0x2403d6[_0x990080(0xef)]='bstackSdkArgs';const _0x5be831=_0x2403d6;return await _0x15cc63[_0x990080(0xf9)](_0x990080(0xf1)+_0x4fa3f9['replace'](/arguments/g,_0x5be831['blAQN'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x990080(0xd9)](_0x3befb7)+')');},exports[a34_0x2bf7a3(0x112)]=async(_0x2c2081,_0x14bae9,_0x5f4f28={})=>{const _0xf23647=a34_0x2bf7a3,_0x4bcd73={};_0x4bcd73[_0xf23647(0xf5)]=function(_0x5eaac3,_0x5db6e5){return _0x5eaac3===_0x5db6e5;},_0x4bcd73['Nphhh']='WebDriver',_0x4bcd73['sgreF']=function(_0x3d76fb,_0x21b981){return _0x3d76fb===_0x21b981;},_0x4bcd73[_0xf23647(0x10f)]=_0xf23647(0xd7),_0x4bcd73[_0xf23647(0x11d)]=_0xf23647(0xc1);const _0x59e29d=_0x4bcd73;if(_0x59e29d['ErshX'](_0x2c2081[_0xf23647(0xd0)][_0xf23647(0xfe)],_0x59e29d['Nphhh']))return await _0x2c2081['executeAsyncScript'](_0x14bae9,_0x5f4f28);else{if(_0x59e29d[_0xf23647(0xd5)](_0x2c2081['constructor'][_0xf23647(0xfe)],_0x59e29d[_0xf23647(0x10f)]))return await _0x2c2081[_0xf23647(0xfb)]('(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'+_0x14bae9[_0xf23647(0xc3)](/arguments/g,_0x59e29d[_0xf23647(0x11d)])+_0xf23647(0x118)+JSON[_0xf23647(0xd9)](_0x5f4f28)+')');}},exports[a34_0x2bf7a3(0x111)]=async _0x274f18=>{const _0x5b2905=a34_0x2bf7a3,_0x50fdfc={};_0x50fdfc[_0x5b2905(0xeb)]=_0x5b2905(0xfd),_0x50fdfc[_0x5b2905(0x108)]=_0x5b2905(0xe6),_0x50fdfc[_0x5b2905(0xaf)]='accessibilityOptions.includeIssueType.bestPractice',_0x50fdfc[_0x5b2905(0xb7)]=_0x5b2905(0xe0),_0x50fdfc[_0x5b2905(0x10a)]=_0x5b2905(0xe2),_0x50fdfc[_0x5b2905(0xf8)]=_0x5b2905(0xce);const _0x1832e6=_0x50fdfc;_0x274f18[_0x5b2905(0xad)]&&(_0x274f18[_0x5b2905(0xad)][_0x5b2905(0xfa)]&&(_0x274f18[_0x1832e6[_0x5b2905(0xeb)]]=_0x274f18[_0x5b2905(0xad)][_0x5b2905(0xfa)]),_0x274f18[_0x5b2905(0xad)]['scannerProcessingTimeout']&&(_0x274f18[_0x1832e6[_0x5b2905(0x108)]]=_0x274f18[_0x5b2905(0xad)][_0x5b2905(0xec)]),_0x274f18[_0x5b2905(0xad)]['includeIssueType']&&(_0x274f18[_0x1832e6[_0x5b2905(0xaf)]]=_0x274f18['accessibilityOptions'][_0x5b2905(0xd3)][_0x5b2905(0x109)],_0x274f18[_0x1832e6[_0x5b2905(0xb7)]]=_0x274f18[_0x5b2905(0xad)]['includeIssueType'][_0x5b2905(0x10e)]));const _0x1c23b9=JSON[_0x5b2905(0x11e)](process[_0x5b2905(0xd6)][_0x5b2905(0xb9)])['scannerVersion'];_0x274f18[_0x1832e6[_0x5b2905(0x10a)]]=process[_0x5b2905(0xd6)][_0x5b2905(0xb8)],_0x274f18[_0x1832e6[_0x5b2905(0xf8)]]=_0x1c23b9,delete _0x274f18['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x2f1e93=>{const _0x1f0957=a34_0x2bf7a3,_0x12fef7={};_0x12fef7[_0x1f0957(0xbe)]=_0x1f0957(0xf7),_0x12fef7[_0x1f0957(0xb3)]=_0x1f0957(0x110);const _0x10c888=_0x12fef7;if(global[_0x1f0957(0xc4)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2f1e93,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2f1e93,scripts.getResults);})();return res;}catch{return logger[_0x1f0957(0xee)](_0x10c888['prYWP']),[];}else return logger[_0x1f0957(0xc2)](_0x10c888[_0x1f0957(0xb3)]),[];},exports[a34_0x2bf7a3(0xb0)]=async(_0x5ce952,_0x557753='')=>{const _0x58fc6e=a34_0x2bf7a3;if(global[_0x58fc6e(0xc4)])return await PerformanceTester[_0x58fc6e(0x117)](PerformanceA11yEvents[_0x58fc6e(0xdc)],async()=>{const _0x1b7c3a=_0x58fc6e,_0x438a68={};_0x438a68[_0x1b7c3a(0xde)]=_0x557753,await exports[_0x1b7c3a(0xf4)](_0x5ce952,scripts[_0x1b7c3a(0xb0)],_0x438a68);},{'command':_0x557753})();},exports['getAccessibilityResultsSummary']=async _0x5796e6=>{const _0x4c51d3=a34_0x2bf7a3,_0x568ae0={};_0x568ae0['ZYQgx']=_0x4c51d3(0xd2),_0x568ae0[_0x4c51d3(0x100)]=_0x4c51d3(0x11a);const _0x56568a=_0x568ae0;if(global[_0x4c51d3(0xc4)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x5796e6,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x5796e6,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x4c51d3(0xdb)](_0x56568a['ZYQgx']),{};}else return logger[_0x4c51d3(0xc2)](_0x56568a[_0x4c51d3(0x100)]),{};},exports[a34_0x2bf7a3(0xc6)]=async _0x450c27=>{const _0x2249e0=a34_0x2bf7a3,_0xa5c2ac={'eJUSR':function(_0x5b7f5d,_0x1b67f4){return _0x5b7f5d!==_0x1b67f4;},'pkYxc':_0x2249e0(0xfc),'uJVWG':function(_0x584aa5,_0xb0be43){return _0x584aa5===_0xb0be43;},'MtJHC':_0x2249e0(0xf0),'BTdBE':function(_0xcc88ea,_0x2f52b2){return _0xcc88ea===_0x2f52b2;},'xmvgg':_0x2249e0(0x101),'YuOPT':_0x2249e0(0xbc),'evFud':function(_0x1d2ada,_0x4a451f){return _0x1d2ada(_0x4a451f);},'GyljT':_0x2249e0(0xc8),'bxSlZ':function(_0x3cbfb3,_0x5d2deb){return _0x3cbfb3>_0x5d2deb;},'TUhgz':_0x2249e0(0xe7)};try{if(!_0xa5c2ac['eJUSR'](_0x450c27[_0x2249e0(0xc9)],''))return logger[_0x2249e0(0xc2)](_0xa5c2ac['pkYxc']),![];const _0x2e349b=_0x450c27[_0x2249e0(0xcd)];if(!(_0xa5c2ac[_0x2249e0(0xc7)](_0x2e349b,_0xa5c2ac[_0x2249e0(0x10b)])||_0xa5c2ac[_0x2249e0(0x113)](_0x2e349b,_0xa5c2ac[_0x2249e0(0xe8)])))return logger[_0x2249e0(0xc2)](_0xa5c2ac[_0x2249e0(0xe4)]),![];const _0xb0e8d9=_0xa5c2ac[_0x2249e0(0x10d)](parseInt,_0x450c27[_0x2249e0(0x105)]);if(!(_0xa5c2ac['uJVWG'](_0xb0e8d9,_0xa5c2ac[_0x2249e0(0xb2)])||_0xa5c2ac[_0x2249e0(0xc0)](_0xb0e8d9,0x5e)))return logger[_0x2249e0(0xc2)](_0xa5c2ac[_0x2249e0(0xea)]),![];}catch(_0x5577e2){logger[_0x2249e0(0xdb)](_0x2249e0(0xbd)+util['format'](_0x5577e2));}return!![];},exports[a34_0x2bf7a3(0xe5)]=(_0x5c41ba,_0x515d3c,_0x126fd0)=>{const _0x3f0a6d=a34_0x2bf7a3,_0x4eb2da={'Yfyjs':function(_0x1a2c4f){return _0x1a2c4f();},'pWngl':_0x3f0a6d(0xb6),'RyWzn':function(_0x460ff6,_0x8cf789){return _0x460ff6===_0x8cf789;},'gteJW':_0x3f0a6d(0xf0),'mcIFI':_0x3f0a6d(0x101),'GHELt':_0x3f0a6d(0xbc),'ATQxO':function(_0x52df7f,_0x2d296b){return _0x52df7f===_0x2d296b;},'hmUjD':_0x3f0a6d(0xc8),'ihKaU':function(_0x244b3b,_0x504b15){return _0x244b3b>_0x504b15;},'hCDJj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','uWWmd':function(_0x564958,_0x430353){return _0x564958(_0x430353);},'PjarD':_0x3f0a6d(0xfc),'phtoh':function(_0x161c1e,_0x4fba18){return _0x161c1e+_0x4fba18;}};try{if(_0x4eb2da[_0x3f0a6d(0xc5)](isAccessibilityAutomationSession)){global[_0x3f0a6d(0xc4)]=!![];!_0x5c41ba[_0x4eb2da[_0x3f0a6d(0xdf)]]&&(global[_0x3f0a6d(0xc4)]=![]);!(_0x4eb2da[_0x3f0a6d(0xba)](_0x5c41ba[_0x3f0a6d(0x10c)],_0x4eb2da[_0x3f0a6d(0xae)])||_0x4eb2da[_0x3f0a6d(0xba)](_0x5c41ba[_0x3f0a6d(0x10c)],_0x4eb2da[_0x3f0a6d(0xd1)]))&&(logger[_0x3f0a6d(0xc2)](_0x4eb2da[_0x3f0a6d(0xd4)]),global['accessibilityPlatform']=![]);!(_0x4eb2da['ATQxO'](_0x5c41ba[_0x3f0a6d(0x105)],_0x4eb2da[_0x3f0a6d(0xcc)])||_0x4eb2da[_0x3f0a6d(0xda)](_0x5c41ba[_0x3f0a6d(0x105)],0x5e))&&(logger[_0x3f0a6d(0xc2)](_0x4eb2da[_0x3f0a6d(0xd8)]),global[_0x3f0a6d(0xc4)]=![]);!_0x4eb2da['uWWmd'](isUndefined,_0x5c41ba[_0x3f0a6d(0xc9)])&&(logger[_0x3f0a6d(0xc2)](_0x4eb2da['PjarD']),global[_0x3f0a6d(0xc4)]=![]);if(!global[_0x3f0a6d(0xc4)]){_0x5c41ba[_0x4eb2da[_0x3f0a6d(0xdf)]]=![];const _0x2ceabf=_0x4eb2da['phtoh'](_0x515d3c,_0x4eb2da[_0x3f0a6d(0x104)](encodeURIComponent,JSON[_0x3f0a6d(0xd9)](_0x5c41ba)));_0x126fd0&&(_0x126fd0[_0x3f0a6d(0xb5)][_0x3f0a6d(0xdd)][_0x3f0a6d(0xb1)][_0x3f0a6d(0xe9)][_0x3f0a6d(0xca)][_0x3f0a6d(0x116)]=_0x2ceabf,_0x126fd0[_0x3f0a6d(0xff)][_0x3f0a6d(0xb1)][_0x3f0a6d(0xe9)][_0x3f0a6d(0xca)][_0x3f0a6d(0x116)]=_0x2ceabf);}}}catch(_0x57adc9){logger[_0x3f0a6d(0xdb)](_0x3f0a6d(0x107)+util[_0x3f0a6d(0x106)](_0x57adc9));}};
1
+ const a34_0x2b9bad=a34_0x7c1f;(function(_0x551a85,_0x41c988){const _0x52ffbf=a34_0x7c1f,_0x20b001=_0x551a85();while(!![]){try{const _0x1d453e=-parseInt(_0x52ffbf(0x148))/0x1+-parseInt(_0x52ffbf(0x14c))/0x2+-parseInt(_0x52ffbf(0x185))/0x3*(parseInt(_0x52ffbf(0x158))/0x4)+parseInt(_0x52ffbf(0x151))/0x5+-parseInt(_0x52ffbf(0x194))/0x6+-parseInt(_0x52ffbf(0x191))/0x7+parseInt(_0x52ffbf(0x181))/0x8;if(_0x1d453e===_0x41c988)break;else _0x20b001['push'](_0x20b001['shift']());}catch(_0x51fb04){_0x20b001['push'](_0x20b001['shift']());}}}(a34_0x4bd6,0x9a84a));function a34_0x7c1f(_0x152535,_0x174a3e){const _0x4bd634=a34_0x4bd6();return a34_0x7c1f=function(_0x7c1f52,_0x5e9782){_0x7c1f52=_0x7c1f52-0x129;let _0xec5fa6=_0x4bd634[_0x7c1f52];return _0xec5fa6;},a34_0x7c1f(_0x152535,_0x174a3e);}function a34_0x4bd6(){const _0x1639ba=['format','rQsbf','getAccessibilityResultsSummary','mqMMY','1036562VKNmZz','winstonLogger','wcagVersion','ucCJa','1960828JkwJSL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','NJptl','browserStackEvaluate','IVTMh','6015565KAZzkh','PERFORM_SCAN','name','../../helpers/performance/constants','rUDGm','accessibilityOptions.authToken','USSgf','56RfeIPG','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','parse','lRTwj','accessibilityOptions.includeIssueType.bestPractice','XAyxJ','warn','replace','iobqv','../../helpers/performance/performance-tester','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','DxsDn','mjsMT','constructor','debug','Knqro','jAQAI','env','browserstack.accessibility','browserStackExecuteDriver','No\x20accessibility\x20results\x20were\x20found.','connectOptions','LOBsW','zyDSp','util','Playwright','evaluate','includeIssueType','project','cdRKV','xkFYv','XWFVB','accessibilityOptions.includeIssueType.needsReview','currentTest','getAccessibilityResults','../../helpers/helper','HwMDB','stringify','latest','platformValidation','AKBpD','30079936hOqcGx','browser','bstackSdkArgs','processAccessibilityCaps','232665brfOqx','PCfIf','hufgW','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','(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','LFIBP','performScan','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','gboZX','No\x20summaryResults\x20found.','bestPractice','Taizq','1734180ILNtzT','setAccessibilityCapabilities','PkMVn','5878278zOQAoA','executeScript','wsEndpoint','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','tYUTv','mddnr','deviceName','playwright-chromium','measureWrapper','sYHpd','browser_version','QonWw','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','WebDriver','accessibilityOptions','mfmXX','Mbqdt','(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','kAIEy','../../helpers/accessibility-automation/scripts','accessibilityPlatform','accessibilityOptions.scannerProcessingTimeout','JxXbg','scannerProcessingTimeout','use','browserName','kVWoO','../../helpers/accessibility-automation/helper'];a34_0x4bd6=function(){return _0x1639ba;};return a34_0x4bd6();}const util=require(a34_0x2b9bad(0x170)),logger=require('../../helpers/logger')[a34_0x2b9bad(0x149)],{isAccessibilityAutomationSession}=require(a34_0x2b9bad(0x143)),{isUndefined}=require(a34_0x2b9bad(0x17b)),scripts=require(a34_0x2b9bad(0x13b)),PerformanceTester=require(a34_0x2b9bad(0x161)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x2b9bad(0x154));exports[a34_0x2b9bad(0x14f)]=async(_0x179315,_0x2a19bf,_0x1b29d2={})=>{const _0x37e73e=a34_0x2b9bad,_0x10849d={};_0x10849d[_0x37e73e(0x17c)]=_0x37e73e(0x183);const _0x988c1=_0x10849d;return await _0x179315[_0x37e73e(0x172)](_0x37e73e(0x189)+_0x2a19bf[_0x37e73e(0x15f)](/arguments/g,_0x988c1[_0x37e73e(0x17c)])+_0x37e73e(0x162)+JSON[_0x37e73e(0x17d)](_0x1b29d2)+')');},exports[a34_0x2b9bad(0x16b)]=async(_0x359f91,_0xf0c1fb,_0x35e000={})=>{const _0x7a5d62=a34_0x2b9bad,_0x227834={};_0x227834[_0x7a5d62(0x18d)]=function(_0x8c05d6,_0x49ce3b){return _0x8c05d6===_0x49ce3b;},_0x227834[_0x7a5d62(0x187)]=_0x7a5d62(0x135),_0x227834[_0x7a5d62(0x176)]=function(_0x226ca8,_0x514903){return _0x226ca8===_0x514903;},_0x227834[_0x7a5d62(0x190)]=_0x7a5d62(0x171),_0x227834[_0x7a5d62(0x138)]=_0x7a5d62(0x183);const _0x2ac5e7=_0x227834;if(_0x2ac5e7[_0x7a5d62(0x18d)](_0x359f91[_0x7a5d62(0x165)][_0x7a5d62(0x153)],_0x2ac5e7[_0x7a5d62(0x187)]))return await _0x359f91['executeAsyncScript'](_0xf0c1fb,_0x35e000);else{if(_0x2ac5e7[_0x7a5d62(0x176)](_0x359f91[_0x7a5d62(0x165)][_0x7a5d62(0x153)],_0x2ac5e7[_0x7a5d62(0x190)]))return await _0x359f91[_0x7a5d62(0x129)](_0x7a5d62(0x139)+_0xf0c1fb[_0x7a5d62(0x15f)](/arguments/g,_0x2ac5e7[_0x7a5d62(0x138)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x7a5d62(0x17d)](_0x35e000)+')');}},exports[a34_0x2b9bad(0x192)]=async _0x213411=>{const _0x17681f=a34_0x2b9bad,_0x59387f={};_0x59387f[_0x17681f(0x186)]='accessibilityOptions.wcagVersion',_0x59387f[_0x17681f(0x175)]=_0x17681f(0x13d),_0x59387f[_0x17681f(0x142)]=_0x17681f(0x15c),_0x59387f[_0x17681f(0x150)]=_0x17681f(0x178),_0x59387f[_0x17681f(0x16f)]=_0x17681f(0x156),_0x59387f[_0x17681f(0x12d)]='accessibilityOptions.scannerVersion';const _0x269e44=_0x59387f;_0x213411[_0x17681f(0x136)]&&(_0x213411['accessibilityOptions']['wcagVersion']&&(_0x213411[_0x269e44[_0x17681f(0x186)]]=_0x213411[_0x17681f(0x136)][_0x17681f(0x14a)]),_0x213411['accessibilityOptions']['scannerProcessingTimeout']&&(_0x213411[_0x269e44[_0x17681f(0x175)]]=_0x213411['accessibilityOptions'][_0x17681f(0x13f)]),_0x213411[_0x17681f(0x136)]['includeIssueType']&&(_0x213411[_0x269e44[_0x17681f(0x142)]]=_0x213411['accessibilityOptions'][_0x17681f(0x173)][_0x17681f(0x18f)],_0x213411[_0x269e44[_0x17681f(0x150)]]=_0x213411[_0x17681f(0x136)]['includeIssueType']['needsReview']));const _0x7732c5=JSON[_0x17681f(0x15a)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];_0x213411[_0x269e44['zyDSp']]=process[_0x17681f(0x169)]['BS_A11Y_JWT'],_0x213411[_0x269e44[_0x17681f(0x12d)]]=_0x7732c5,delete _0x213411['accessibilityOptions'];},exports[a34_0x2b9bad(0x17a)]=async _0x223593=>{const _0x18f722=a34_0x2b9bad,_0x210458={};_0x210458[_0x18f722(0x16e)]=_0x18f722(0x16c),_0x210458[_0x18f722(0x155)]=_0x18f722(0x18c);const _0x369bda=_0x210458;if(global[_0x18f722(0x13c)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x223593,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x223593,scripts.getResults);})();return res;}catch{return logger['error'](_0x369bda['LOBsW']),[];}else return logger['warn'](_0x369bda[_0x18f722(0x155)]),[];},exports['performScan']=async(_0x5c33d0,_0x3a2fad='')=>{const _0x26969=a34_0x2b9bad;if(global[_0x26969(0x13c)])return await PerformanceTester[_0x26969(0x130)](PerformanceA11yEvents[_0x26969(0x152)],async()=>{const _0x371098=_0x26969,_0x334aad={};_0x334aad['command']=_0x3a2fad,await exports[_0x371098(0x14f)](_0x5c33d0,scripts[_0x371098(0x18b)],_0x334aad);},{'command':_0x3a2fad})();},exports[a34_0x2b9bad(0x146)]=async _0x1625d8=>{const _0x266468=a34_0x2b9bad,_0x19eb32={};_0x19eb32[_0x266468(0x167)]=_0x266468(0x18e),_0x19eb32[_0x266468(0x14b)]=_0x266468(0x12b);const _0x4d24b4=_0x19eb32;if(global[_0x266468(0x13c)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1625d8,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1625d8,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x266468(0x166)](_0x4d24b4['Knqro']),{};}else return logger[_0x266468(0x15e)](_0x4d24b4['ucCJa']),{};},exports[a34_0x2b9bad(0x17f)]=async _0x2fe029=>{const _0x2ae63b=a34_0x2b9bad,_0x4c9362={'iobqv':function(_0x55df10,_0x105f55){return _0x55df10!==_0x105f55;},'JxXbg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','lRTwj':function(_0x1c5c84,_0x3e7843){return _0x1c5c84===_0x3e7843;},'jAQAI':'chrome','QonWw':_0x2ae63b(0x12f),'tYUTv':_0x2ae63b(0x159),'AKBpD':function(_0x494fe2,_0x4b1f77){return _0x494fe2(_0x4b1f77);},'NJptl':function(_0x3c3618,_0x486d84){return _0x3c3618===_0x486d84;},'CKDbv':_0x2ae63b(0x17e),'sYHpd':function(_0x447e94,_0x55833b){return _0x447e94>_0x55833b;},'mqMMY':_0x2ae63b(0x14d)};try{if(!_0x4c9362[_0x2ae63b(0x160)](_0x2fe029[_0x2ae63b(0x12e)],''))return logger['warn'](_0x4c9362[_0x2ae63b(0x13e)]),![];const _0x373d0b=_0x2fe029[_0x2ae63b(0x182)];if(!(_0x4c9362[_0x2ae63b(0x15b)](_0x373d0b,_0x4c9362[_0x2ae63b(0x168)])||_0x4c9362[_0x2ae63b(0x15b)](_0x373d0b,_0x4c9362[_0x2ae63b(0x133)])))return logger['warn'](_0x4c9362[_0x2ae63b(0x12c)]),![];const _0x12af82=_0x4c9362[_0x2ae63b(0x180)](parseInt,_0x2fe029[_0x2ae63b(0x132)]);if(!(_0x4c9362[_0x2ae63b(0x14e)](_0x12af82,_0x4c9362['CKDbv'])||_0x4c9362[_0x2ae63b(0x131)](_0x12af82,0x5e)))return logger[_0x2ae63b(0x15e)](_0x4c9362[_0x2ae63b(0x147)]),![];}catch(_0x21fc1a){logger[_0x2ae63b(0x166)](_0x2ae63b(0x188)+util['format'](_0x21fc1a));}return!![];},exports[a34_0x2b9bad(0x184)]=(_0x584449,_0x38a0c1,_0x3b1d8c)=>{const _0x5e7d5d=a34_0x2b9bad,_0x5646dc={'mfmXX':function(_0x501fd4){return _0x501fd4();},'XAyxJ':_0x5e7d5d(0x16a),'dPaqH':function(_0x3eaa07,_0x222980){return _0x3eaa07===_0x222980;},'rQsbf':'chrome','LFIBP':function(_0x4222cf,_0x4ac7a8){return _0x4222cf===_0x4ac7a8;},'XWFVB':_0x5e7d5d(0x12f),'USSgf':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','PkMVn':_0x5e7d5d(0x17e),'DxsDn':function(_0x56f340,_0x4ba3b7){return _0x56f340>_0x4ba3b7;},'TDCeG':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','mjsMT':function(_0x154800,_0x5c77d6){return _0x154800(_0x5c77d6);},'gYYiT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','kAIEy':function(_0x193559,_0x56d882){return _0x193559+_0x56d882;}};try{if(_0x5646dc[_0x5e7d5d(0x137)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x584449[_0x5646dc[_0x5e7d5d(0x15d)]]&&(global[_0x5e7d5d(0x13c)]=![]);!(_0x5646dc['dPaqH'](_0x584449[_0x5e7d5d(0x141)],_0x5646dc[_0x5e7d5d(0x145)])||_0x5646dc[_0x5e7d5d(0x18a)](_0x584449[_0x5e7d5d(0x141)],_0x5646dc[_0x5e7d5d(0x177)]))&&(logger[_0x5e7d5d(0x15e)](_0x5646dc[_0x5e7d5d(0x157)]),global[_0x5e7d5d(0x13c)]=![]);!(_0x5646dc[_0x5e7d5d(0x18a)](_0x584449[_0x5e7d5d(0x132)],_0x5646dc[_0x5e7d5d(0x193)])||_0x5646dc[_0x5e7d5d(0x163)](_0x584449[_0x5e7d5d(0x132)],0x5e))&&(logger[_0x5e7d5d(0x15e)](_0x5646dc['TDCeG']),global[_0x5e7d5d(0x13c)]=![]);!_0x5646dc[_0x5e7d5d(0x164)](isUndefined,_0x584449[_0x5e7d5d(0x12e)])&&(logger[_0x5e7d5d(0x15e)](_0x5646dc['gYYiT']),global[_0x5e7d5d(0x13c)]=![]);if(!global['accessibilityPlatform']){_0x584449[_0x5646dc[_0x5e7d5d(0x15d)]]=![];const _0x3088ae=_0x5646dc[_0x5e7d5d(0x13a)](_0x38a0c1,_0x5646dc[_0x5e7d5d(0x164)](encodeURIComponent,JSON[_0x5e7d5d(0x17d)](_0x584449)));_0x3b1d8c&&(_0x3b1d8c[_0x5e7d5d(0x179)]['testInfo'][_0x5e7d5d(0x174)][_0x5e7d5d(0x140)][_0x5e7d5d(0x16d)][_0x5e7d5d(0x12a)]=_0x3088ae,_0x3b1d8c['workerInfo'][_0x5e7d5d(0x174)]['use'][_0x5e7d5d(0x16d)][_0x5e7d5d(0x12a)]=_0x3088ae);}}}catch(_0x50c7d2){logger[_0x5e7d5d(0x166)](_0x5e7d5d(0x134)+util[_0x5e7d5d(0x144)](_0x50c7d2));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x5be83e=a35_0x390e;(function(_0x597b5e,_0xffd613){const _0x2553ce=a35_0x390e,_0x1acc98=_0x597b5e();while(!![]){try{const _0x39ecef=parseInt(_0x2553ce(0x1a0))/0x1+parseInt(_0x2553ce(0x186))/0x2+parseInt(_0x2553ce(0x12e))/0x3*(-parseInt(_0x2553ce(0x117))/0x4)+parseInt(_0x2553ce(0x191))/0x5+-parseInt(_0x2553ce(0x111))/0x6+-parseInt(_0x2553ce(0x1a8))/0x7*(-parseInt(_0x2553ce(0x124))/0x8)+parseInt(_0x2553ce(0x183))/0x9*(-parseInt(_0x2553ce(0x11c))/0xa);if(_0x39ecef===_0xffd613)break;else _0x1acc98['push'](_0x1acc98['shift']());}catch(_0x4d8900){_0x1acc98['push'](_0x1acc98['shift']());}}}(a35_0x1289,0xcf4c0));function a35_0x1289(){const _0x5d182f=['DPXdO','JGjth','--disable-test-observability','cLjNE','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','isTrue','error','rtcBn','eBpoH','path','assign','QwmOq','USER_CONFIG_DETAILS_PATH','win32','SDK_POST_INITIALIZE','slice','gcPsc','nestedKeyValue','UpVzM','Playwright\x20process\x20exited\x20with\x20code\x20','npx','resolve','parse','9lhFNUH','BROWSERSTACK_RERUN','Error\x20in\x20getting\x20funnel\x20data\x20results','1515868ClsdEk','false','has','WzktG','hUiWG','LtTXY','--config','EVENTS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','SDK_PRE_INITIALIZE','iaeac','7178290yUpaAV','env','uOWHe','playwright-browserstack-sdk.config.cjs','inherit','errorMessage','exports','automation','uXugK','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','close','nhHzA','config','DcKVF','PrHcl','1387379AZDIny','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SDK_CLEANUP','BROWSERSTACK_RERUN_TESTS','serializeToYamlString','VscwE','Nerum','qwBoy','918974MNSaEj','--config=','push','resolvedConfigFile','blesN','getPackageType','cliConfig','lQQFH','XAMqt','accessibility','stringify','winstonLogger','10087692JfISZu','BROWSERSTACK_AUTOMATION','homedir','writeFileSync','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/accessibility-automation/helper','20RJBAnF','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','playwright-browserstack-sdk.config.js','skipSessionName','kFyNx','10386970LbbFqs','Kwzoh','logLevel','../../helpers/test-observability/constants','./reporter/pwUtils','--disable-browserstack-automation','exitCode','includes','24dWaXkh','getConfigPath','isUndefined','testContextOptions','info','child_process','argv','measureWrapper','clearTempPWConfig','RoBFZ','243450MxlCiQ','tSkXm','PLAYWRIGHT','GCJlF','accessibilityOptions','existsSync','wRDOa','concat','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_PW_CONFIG_DIR','BROWSERSTACK_SETUP_CONFIG_PATH','test','length','PqyPW','../../helpers/logger','BRDqe','dvXcw','findIndex','platform','GCaJm','../../helpers/helper','eJPdx','launchBuild','BrowserStack\x20config\x20file\x20not\x20found.','.browserstack','map','EJDwt','Deleting\x20','dmLoY','startsWith','dDEFS','split','get','DlCsc','ZKecP','aCIHZ','VZwVg','Fgpvn','debug','requirePWModule','../../helpers/utilities','stop','skipSessionStatus','jbrJf','splice','../../helpers/testhub/testhubHandler','getProxyUrl','cwd','EhUBd','browserstackSetupConfig.json','filter','unlinkSync','RPvEH','dirname','playwright','../utils/constants','SDK_SETUP','./accessibility-helper','indexOf','join','true','UyYuV'];a35_0x1289=function(){return _0x5d182f;};return a35_0x1289();}const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x5be83e(0x129)),{format}=require('util'),logger=require(a35_0x5be83e(0x13c))[a35_0x5be83e(0x110)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x5be83e(0x142)),utilities=require(a35_0x5be83e(0x156)),constants=require(a35_0x5be83e(0x165)),{FRAMEWORKS}=require(a35_0x5be83e(0x11f)),{getConfigLoaderPath}=require(a35_0x5be83e(0x120)),{checkAccessibilityPlatformConfig}=require(a35_0x5be83e(0x116)),{setAccessibilityCapabilities}=require(a35_0x5be83e(0x167)),TestHubHandler=require(a35_0x5be83e(0x15b)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a35_0x5be83e(0x18d)],getUserPlaywrightConfig=async(_0x5a86eb,_0x445144)=>{const _0x2168bc=a35_0x5be83e,_0x39881a={'VscwE':function(_0x3a3a2b){return _0x3a3a2b();},'eBpoH':function(_0x38d57b,_0xbfa528){return _0x38d57b(_0xbfa528);},'tSkXm':_0x2168bc(0x108),'WzktG':_0x2168bc(0x1a9)},_0x25e3d3=!helper[_0x2168bc(0x126)](_0x5a86eb[_0x2168bc(0x19d)]),_0x46d4ad=_0x25e3d3?path[_0x2168bc(0x181)](process[_0x2168bc(0x15d)](),_0x5a86eb['config']):process['cwd'](),{resolveConfigFile:_0x1fff6d,resolveConfigLocation:_0x41a3a7}=helper[_0x2168bc(0x155)]['apply'](null,_0x39881a[_0x2168bc(0x1a5)](getConfigLoaderPath)),_0x5d3612=_0x1fff6d?_0x39881a[_0x2168bc(0x174)](_0x1fff6d,_0x46d4ad):helper[_0x2168bc(0x17d)](_0x39881a[_0x2168bc(0x174)](_0x41a3a7,_0x46d4ad),[_0x39881a[_0x2168bc(0x12f)]]),_0xb2b42a={};if(_0x25e3d3){const _0xd0c0fe=_0x445144[_0x2168bc(0x13f)](_0x5b3e55=>_0x5b3e55===_0x2168bc(0x18c)||_0x5b3e55==='-c'||_0x5b3e55['startsWith'](_0x2168bc(0x1a9)));_0x445144[_0x2168bc(0x15a)](_0xd0c0fe,_0x445144[_0xd0c0fe][_0x2168bc(0x14b)](_0x39881a[_0x2168bc(0x189)])?0x1:0x2);}const _0x5a5258={};return _0x5a5258[_0x2168bc(0x175)]=_0x5d3612,_0x5a5258['config']=_0xb2b42a,_0x5a5258;},handleO11yRerun=_0x49878c=>{const _0x36dce1=a35_0x5be83e,_0x595a33={};_0x595a33['hUiWG']=function(_0x59076e,_0x4beeff){return _0x59076e!==_0x4beeff;},_0x595a33[_0x36dce1(0x159)]='null',_0x595a33[_0x36dce1(0x1a6)]='--grep';const _0x1bd06c=_0x595a33,_0x4bdee8=helper[_0x36dce1(0x171)](process[_0x36dce1(0x192)][_0x36dce1(0x184)]);if(_0x4bdee8){const _0x26b0c5=process[_0x36dce1(0x192)][_0x36dce1(0x1a3)],_0x26b74e=[];if(_0x1bd06c[_0x36dce1(0x18a)](_0x26b0c5,_0x1bd06c[_0x36dce1(0x159)])&&!helper[_0x36dce1(0x126)](_0x26b0c5)){_0x26b0c5[_0x36dce1(0x14d)](',')[_0x36dce1(0x147)](_0x41cba6=>{const _0x281660=_0x36dce1;_0x26b74e[_0x281660(0x107)]('('+_0x41cba6['trim']()+')');});const _0x146261='^'+_0x26b74e[_0x36dce1(0x169)]('|')+'$';_0x49878c[_0x36dce1(0x107)](_0x1bd06c[_0x36dce1(0x1a6)],_0x146261);}}},spawnOriginalProcess=_0x509c2e=>{const _0x193030=a35_0x5be83e,_0x3e1d9b={'RoBFZ':function(_0x5489ee,_0x167f5b,_0x45fe00,_0x58b372){return _0x5489ee(_0x167f5b,_0x45fe00,_0x58b372);},'UyYuV':'npx','XMlRU':'playwright','lqMWG':function(_0x352c49,_0x13c511){return _0x352c49===_0x13c511;},'oPekJ':_0x193030(0x179),'kFyNx':_0x193030(0x195)};_0x3e1d9b[_0x193030(0x12d)](spawn,_0x3e1d9b[_0x193030(0x16b)],[_0x3e1d9b['XMlRU'],..._0x509c2e[_0x193030(0x17b)](0x1)],{'shell':_0x3e1d9b['lqMWG'](process['platform'],_0x3e1d9b['oPekJ']),'stdio':_0x3e1d9b[_0x193030(0x11b)],'cwd':process[_0x193030(0x15d)]()});},isTestCommand=(_0x433fe3,_0x18d87a)=>{const _0x41aa19=a35_0x5be83e,_0x264a0a={};_0x264a0a[_0x41aa19(0x17c)]=function(_0x574a36,_0x3d8c35){return _0x574a36>_0x3d8c35;},_0x264a0a['rtcBn']=function(_0x14d058,_0x4ac3ad){return _0x14d058===_0x4ac3ad;},_0x264a0a['UpVzM']='test';const _0x2599b9=_0x264a0a;if(_0x2599b9[_0x41aa19(0x17c)](_0x18d87a['length'],0x1)&&_0x2599b9[_0x41aa19(0x173)](_0x18d87a[0x1],_0x2599b9[_0x41aa19(0x17e)]))return!![];return![];};async function run(_0x1e87a3,_0x5232c1){const _0x22ed5f=a35_0x5be83e,_0x105c36={'QwmOq':_0x22ed5f(0x146),'DcKVF':'pw_result.json','DlCsc':function(_0x5f1c71,_0x282626){return _0x5f1c71+_0x282626;},'LtTXY':_0x22ed5f(0x185),'aCIHZ':'1|6|7|9|2|0|4|8|3|5','JGjth':function(_0x50d915){return _0x50d915();},'dmLoY':function(_0x2fb6f5,_0x1a015d){return _0x2fb6f5+_0x1a015d;},'qwBoy':'Error\x20in\x20closing\x20playwright','nhHzA':function(_0x1aa503,_0x432baf){return _0x1aa503(_0x432baf);},'Kwzoh':_0x22ed5f(0x145),'GCaJm':_0x22ed5f(0x198),'pfsFI':function(_0x3fef7c,_0x171ae6){return _0x3fef7c!=_0x171ae6;},'XAMqt':function(_0x19f1a7,_0x2a930e,_0x4c392d){return _0x19f1a7(_0x2a930e,_0x4c392d);},'Fgpvn':function(_0x1bb4ec,_0x218f1b){return _0x1bb4ec===_0x218f1b;},'cLjNE':_0x22ed5f(0x16a),'ZKecP':function(_0xb6353d,_0x1174ae){return _0xb6353d(_0x1174ae);},'DPXdO':_0x22ed5f(0x15f),'EhUBd':_0x22ed5f(0x194),'ktFsy':_0x22ed5f(0x119),'OPAKd':function(_0x292091,_0xb01c92){return _0x292091-_0xb01c92;},'eJPdx':function(_0x54daf8,_0x1844fb){return _0x54daf8+_0x1844fb;},'wRDOa':'Updated\x20config\x20file\x20name\x20to\x20-\x20','dDEFS':function(_0x2a8b9f,_0x1dffe5){return _0x2a8b9f>_0x1dffe5;},'EJDwt':function(_0x1b07e5,_0x3fd9f0){return _0x1b07e5+_0x3fd9f0;},'blesN':function(_0x290fde,_0x19858a,_0x3ecf47,_0xef39aa){return _0x290fde(_0x19858a,_0x3ecf47,_0xef39aa);},'MLEMn':_0x22ed5f(0x180),'GCJlF':_0x22ed5f(0x164),'ASdts':_0x22ed5f(0x139),'iaeac':_0x22ed5f(0x18c),'VZwVg':function(_0x20ff33,_0x1becf4){return _0x20ff33===_0x1becf4;},'lQQFH':_0x22ed5f(0x179),'RPvEH':_0x22ed5f(0x195),'knAMq':_0x22ed5f(0x19b),'uOWHe':_0x22ed5f(0x121),'FunkN':_0x22ed5f(0x187),'PqyPW':_0x22ed5f(0x16e),'dvXcw':function(_0x363b73,_0x58f429){return _0x363b73>=_0x58f429;},'uXugK':_0x22ed5f(0x136),'PrHcl':function(_0x36e2b5,_0x504cfe){return _0x36e2b5(_0x504cfe);}};!helper['isFalse'](process[_0x22ed5f(0x192)][_0x22ed5f(0x112)])&&(process['env'][_0x22ed5f(0x112)]=!![]);process[_0x22ed5f(0x12a)][_0x22ed5f(0x123)](_0x105c36[_0x22ed5f(0x193)])&&(process[_0x22ed5f(0x192)][_0x22ed5f(0x112)]=_0x105c36['FunkN'],_0x5232c1=_0x5232c1[_0x22ed5f(0x160)](_0x3899da=>_0x3899da!==_0x22ed5f(0x121)));const _0xf393de=_0x5232c1[_0x22ed5f(0x168)](_0x105c36[_0x22ed5f(0x13b)]);_0x105c36[_0x22ed5f(0x13e)](_0xf393de,0x0)&&(process['env'][_0x22ed5f(0x115)]=_0x105c36['FunkN'],_0x5232c1=_0x5232c1['filter'](_0x1beaf1=>_0x1beaf1!=='--disable-test-observability'));try{const _0x4f2254=path['join'](helper[_0x22ed5f(0x113)](),_0x105c36[_0x22ed5f(0x177)],_0x105c36[_0x22ed5f(0x19e)]);fs[_0x22ed5f(0x133)](_0x4f2254)&&fs['unlinkSync'](_0x4f2254);}catch(_0x4ba171){logger[_0x22ed5f(0x154)](_0x105c36[_0x22ed5f(0x14f)](_0x105c36[_0x22ed5f(0x199)],_0x4ba171));}if(!_0x105c36['XAMqt'](isTestCommand,_0x1e87a3,_0x5232c1)){_0x105c36[_0x22ed5f(0x19f)](spawnOriginalProcess,_0x5232c1);return;}const _0x4c07c5=new BrowserStackSetup(_0x1e87a3,FRAMEWORKS[_0x22ed5f(0x130)]);await PerformanceTester[_0x22ed5f(0x12b)](PerformanceEvents[_0x22ed5f(0x18f)],async()=>{const _0x258731=_0x22ed5f,_0x3d8a9b={'BRDqe':function(_0x5f00d7,_0x2efe33){const _0x54243f=a35_0x390e;return _0x105c36[_0x54243f(0x19c)](_0x5f00d7,_0x2efe33);}};if(!_0x4c07c5[_0x258731(0x19d)]){logger[_0x258731(0x172)](_0x105c36[_0x258731(0x11d)]);return;}await _0x4c07c5['initialize']();!helper[_0x258731(0x126)](_0x4c07c5[_0x258731(0x10b)])&&_0x4c07c5['cliConfig'][_0x258731(0x188)](_0x105c36[_0x258731(0x141)])&&(process[_0x258731(0x192)][_0x258731(0x112)]=_0x4c07c5[_0x258731(0x10b)][_0x258731(0x14e)](_0x105c36[_0x258731(0x141)])||!![]);_0x105c36['pfsFI'](_0x4c07c5['config']['testObservability'],null)&&!helper[_0x258731(0x171)](process[_0x258731(0x192)][_0x258731(0x115)])&&(process[_0x258731(0x192)][_0x258731(0x115)]=process[_0x258731(0x192)][_0x258731(0x115)]||_0x4c07c5['config']['testObservability']);const _0xafb504=!helper['isFalse'](process[_0x258731(0x192)][_0x258731(0x115)]);let _0x45d4a7=![];_0x4c07c5['config'][_0x258731(0x10e)]&&(_0x45d4a7=!![],process[_0x258731(0x192)][_0x258731(0x18e)]=_0x4c07c5[_0x258731(0x19d)][_0x258731(0x10e)]);_0x4c07c5[_0x258731(0x19d)][_0x258731(0x132)]&&(process[_0x258731(0x192)][_0x258731(0x1a1)]=JSON[_0x258731(0x10f)](_0x4c07c5[_0x258731(0x19d)]['accessibilityOptions']));const _0x50dcbc=_0x5232c1[_0x258731(0x135)](),_0x135305=await _0x105c36[_0x258731(0x10d)](getUserPlaywrightConfig,_0x1e87a3,_0x5232c1);if(helper[_0x258731(0x126)](_0x135305)){_0x105c36[_0x258731(0x19c)](spawnOriginalProcess,_0x50dcbc);return;}const _0x36310d=_0x135305['path']?path[_0x258731(0x163)](_0x135305['path']):process[_0x258731(0x15d)]();process['env'][_0x258731(0x137)]=_0x36310d,await PerformanceTester[_0x258731(0x12b)](PerformanceEvents[_0x258731(0x17a)],async()=>{const _0x273d9e=_0x258731;await TestHubHandler[_0x273d9e(0x144)](FRAMEWORKS[_0x273d9e(0x130)],_0x4c07c5),_0xafb504&&_0x3d8a9b[_0x273d9e(0x13d)](handleO11yRerun,_0x5232c1);})();let _0x38b05e=_0x105c36[_0x258731(0x153)](process['env'][_0x258731(0x18e)],_0x105c36[_0x258731(0x16f)]);_0x38b05e=_0x38b05e||_0x105c36[_0x258731(0x150)](checkAccessibilityPlatformConfig,_0x4c07c5['config']),process[_0x258731(0x192)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x38b05e;_0x38b05e&&_0x105c36[_0x258731(0x19c)](setAccessibilityCapabilities,_0x4c07c5[_0x258731(0x19d)]);const _0x12592a=path[_0x258731(0x169)](_0x135305[_0x258731(0x175)]?path[_0x258731(0x163)](_0x135305[_0x258731(0x175)]):process[_0x258731(0x15d)](),_0x105c36[_0x258731(0x16c)]);fs['writeFileSync'](_0x12592a,helper[_0x258731(0x1a4)](_0x4c07c5['config'])),process[_0x258731(0x192)][_0x258731(0x138)]=_0x12592a,helper[_0x258731(0x12c)]();let _0x2f413c='';_0x105c36[_0x258731(0x153)](helper[_0x258731(0x10a)](),constants['PACKAGE_TYPE']['MODULE'])?_0x2f413c=_0x105c36[_0x258731(0x15e)]:_0x2f413c=_0x105c36['ktFsy'];let _0x383dd2='';if(helper['isTypescriptProject'](_0x135305[_0x258731(0x175)])){_0x383dd2=_0x258731(0x19a);const _0x594a26=_0x2f413c[_0x258731(0x14d)]('.');_0x594a26[_0x105c36['OPAKd'](_0x594a26['length'],0x1)]='ts',_0x2f413c=_0x594a26[_0x258731(0x169)]('.'),logger['debug'](_0x105c36[_0x258731(0x143)](_0x105c36[_0x258731(0x134)],_0x2f413c));}else _0x383dd2=_0x258731(0x118);const _0x41d5fc=path[_0x258731(0x169)](_0x135305[_0x258731(0x175)]?path['dirname'](_0x135305[_0x258731(0x175)]):process[_0x258731(0x15d)](),_0x2f413c);let _0x175fed=_0x135305['path']?_0x135305[_0x258731(0x175)]:'';_0x175fed=_0x105c36[_0x258731(0x14c)](_0x175fed[_0x258731(0x13a)],0x0)?path[_0x258731(0x181)](_0x175fed):'',process[_0x258731(0x192)][_0x258731(0x178)]=_0x175fed;const _0xf303aa=helper[_0x258731(0x15c)](_0x4c07c5['config']);_0xf303aa&&(_0x383dd2=_0x105c36[_0x258731(0x148)](_0x258731(0x170)+_0xf303aa+'\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();',_0x383dd2));helper['filterBrowserstackArgs']({},_0x5232c1),fs[_0x258731(0x114)](_0x41d5fc,_0x383dd2),PerformanceTester['end'](PerformanceEvents[_0x258731(0x166)]);const _0xa15e37=_0x105c36[_0x258731(0x109)](spawn,_0x105c36['MLEMn'],[_0x105c36[_0x258731(0x131)],_0x105c36['ASdts'],_0x105c36[_0x258731(0x190)],_0x41d5fc,..._0x5232c1[_0x258731(0x17b)](0x2)],{'shell':_0x105c36[_0x258731(0x152)](process[_0x258731(0x140)],_0x105c36[_0x258731(0x10c)]),'stdio':_0x105c36[_0x258731(0x162)],'cwd':process[_0x258731(0x15d)](),'env':Object[_0x258731(0x176)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x258731(0x125)](_0x1e87a3),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4c07c5[_0x258731(0x19d)][_0x258731(0x127)][_0x258731(0x158)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4c07c5[_0x258731(0x19d)][_0x258731(0x127)][_0x258731(0x11a)],'BROWSERSTACK_LOG_LEVEL':_0x4c07c5[_0x258731(0x19d)][_0x258731(0x11e)]})}),_0x116829=()=>{const _0x51c73d=_0x258731;try{const _0x2cea25=path[_0x51c73d(0x169)](helper[_0x51c73d(0x113)](),_0x105c36[_0x51c73d(0x177)],_0x105c36[_0x51c73d(0x19e)]);if(fs[_0x51c73d(0x133)](_0x2cea25)){let _0x1a54cc=fs['readFileSync'](_0x2cea25);_0x1a54cc=JSON[_0x51c73d(0x182)](_0x1a54cc),_0x4c07c5[_0x51c73d(0x196)]=_0x1a54cc,fs[_0x51c73d(0x161)](_0x2cea25);}}catch(_0x1e69fe){logger[_0x51c73d(0x154)](_0x105c36['DlCsc'](_0x105c36[_0x51c73d(0x18b)],_0x1e69fe));}};_0xa15e37['on'](_0x105c36['knAMq'],async _0x1bac94=>{const _0x574350=_0x258731;try{const _0x507dd5=_0x105c36[_0x574350(0x151)]['split']('|');let _0x23bbda=0x0;while(!![]){switch(_0x507dd5[_0x23bbda++]){case'0':logger[_0x574350(0x154)](_0x574350(0x17f)+_0x1bac94);continue;case'1':PerformanceTester['start'](PerformanceEvents[_0x574350(0x1a2)]);continue;case'2':process[_0x574350(0x122)]=_0x1bac94;continue;case'3':logger[_0x574350(0x154)](_0x574350(0x149)+_0x12592a);continue;case'4':logger[_0x574350(0x128)](_0x574350(0x149)+_0x41d5fc);continue;case'5':fs[_0x574350(0x161)](_0x12592a);continue;case'6':_0x105c36[_0x574350(0x16d)](_0x116829);continue;case'7':await TestHubHandler[_0x574350(0x157)]();continue;case'8':fs['unlinkSync'](_0x41d5fc);continue;case'9':await utilities['finalExecution'](_0x4c07c5);continue;}break;}}catch(_0x200646){logger[_0x574350(0x154)](_0x105c36[_0x574350(0x14a)](_0x105c36[_0x574350(0x1a7)],_0x200646));}});})();}function a35_0x390e(_0x115176,_0x2b2163){const _0x12896b=a35_0x1289();return a35_0x390e=function(_0x390e11,_0x5177c1){_0x390e11=_0x390e11-0x107;let _0x3255ad=_0x12896b[_0x390e11];return _0x3255ad;},a35_0x390e(_0x115176,_0x2b2163);}module[a35_0x5be83e(0x197)]=run;
2
+ 'use strict';const a35_0x4b31ee=a35_0x3645;(function(_0x222ae3,_0x126773){const _0x1eae85=a35_0x3645,_0x375da6=_0x222ae3();while(!![]){try{const _0x91fe75=parseInt(_0x1eae85(0x17e))/0x1*(-parseInt(_0x1eae85(0x203))/0x2)+-parseInt(_0x1eae85(0x1b4))/0x3*(parseInt(_0x1eae85(0x1d2))/0x4)+parseInt(_0x1eae85(0x17c))/0x5+-parseInt(_0x1eae85(0x1ae))/0x6+-parseInt(_0x1eae85(0x195))/0x7+parseInt(_0x1eae85(0x216))/0x8*(-parseInt(_0x1eae85(0x1a0))/0x9)+parseInt(_0x1eae85(0x1e1))/0xa*(parseInt(_0x1eae85(0x1f4))/0xb);if(_0x91fe75===_0x126773)break;else _0x375da6['push'](_0x375da6['shift']());}catch(_0xa3b88e){_0x375da6['push'](_0x375da6['shift']());}}}(a35_0x3a68,0xc5e99));function a35_0x3a68(){const _0x10eefd=['VjoCg','resolve','ZJyUC','2|1|0|7|4|9|5|6|8|3','jsBjV','sjMnY','QqSfJ','playwright','../../helpers/BrowserStackSetup','3743544wNjBqP','SDK_CLEANUP','serializeToYamlString','ZeSxl','errorMessage','mOUWO','3743589UfMjha','isTrue','debug','cwd','lwSyS','ZZAoo','BDNkI','GlYhG','isUndefined','Updated\x20config\x20file\x20name\x20to\x20-\x20','cdETa','playwright-browserstack-sdk.config.cjs','push','has','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/accessibility-automation/helper','SDK_POST_INITIALIZE','filterBrowserstackArgs','gkJFR','skipSessionStatus','env','USER_CONFIG_DETAILS_PATH','concat','SPmqo','lbfeb','dirname','Deleting\x20','playwright-browserstack-sdk.config.js','testObservability','--config','4onuNpI','config','cliConfig','length','oTnxG','testContextOptions','Error\x20in\x20deleting\x20playwright\x20results','measureWrapper','inherit','SDK_PRE_INITIALIZE','map','EVENTS','Shsdt','YSabR','Playwright\x20process\x20exited\x20with\x20code\x20','20pOasCn','readFileSync','platform','BROWSERSTACK_TEST_ACCESSIBILITY_YML','findIndex','ohsUy','PoOlm','getConfigPath','filter','JuZAL','accessibilityOptions','RUnAx','iquke','isFalse','writeFileSync','unlinkSync','trim','pw_result.json','../../helpers/logger','20018900vGNZvE','resolvedConfigFile','ToLxy','QKwxg','npx','../../helpers/test-observability/constants','winstonLogger','XbWaS','WIbpx','../../helpers/testhub/testhubHandler','bjCZR','pzCAm','BROWSERSTACK_AUTOMATION','--config=','skipSessionName','316PGrlWX','nUmAz','join','util','OiaQT','lpvyY','includes','close','splice','oaJga','existsSync','ezuwR','TRfuX','launchBuild','dPUhf','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','LVnIw','automation','child_process','1864RYFTcF','onbdZ','win32','logLevel','kFJHp','split','BROWSERSTACK_TEST_OBSERVABILITY','hGANZ','end','SyZRE','../../helpers/helper','path','PLAYWRIGHT','info','EWdDf','5956455MCLZxi','slice','6026pRXoGi','siQqf','finalExecution','MODULE','BROWSERSTACK_PW_CONFIG_DIR','./reporter/pwUtils','kpntJ','PeAWl','isTypescriptProject','XcqAF','homedir','accessibility','ShYLq','initialize','lMSgs','--disable-browserstack-automation','assign','QEOGu','Error\x20in\x20closing\x20playwright','nestedKeyValue','Error\x20in\x20getting\x20funnel\x20data\x20results','parse','YRMCn','7829444LAJBqx','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','browserstackSetupConfig.json','BROWSERSTACK_RERUN_TESTS','JDwMt','startsWith','apply','BrowserStack\x20config\x20file\x20not\x20found.','true','false','3015UNdAbo','--disable-test-observability','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','argv','svDXG'];a35_0x3a68=function(){return _0x10eefd;};return a35_0x3a68();}function a35_0x3645(_0x21ed0b,_0x29952d){const _0x3a6878=a35_0x3a68();return a35_0x3645=function(_0x364579,_0x257902){_0x364579=_0x364579-0x17a;let _0x54921e=_0x3a6878[_0x364579];return _0x54921e;},a35_0x3645(_0x21ed0b,_0x29952d);}const fs=require('fs'),path=require(a35_0x4b31ee(0x221)),{spawn}=require(a35_0x4b31ee(0x215)),{format}=require(a35_0x4b31ee(0x206)),logger=require(a35_0x4b31ee(0x1f3))[a35_0x4b31ee(0x1fa)],{default:BrowserStackSetup}=require(a35_0x4b31ee(0x1ad)),helper=require(a35_0x4b31ee(0x220)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x4b31ee(0x1f9)),{getConfigLoaderPath}=require(a35_0x4b31ee(0x183)),{checkAccessibilityPlatformConfig}=require(a35_0x4b31ee(0x1c3)),{setAccessibilityCapabilities}=require('./accessibility-helper'),TestHubHandler=require(a35_0x4b31ee(0x1fd)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a35_0x4b31ee(0x1dd)],getUserPlaywrightConfig=async(_0x1aff85,_0x38372a)=>{const _0x5839e8=a35_0x4b31ee,_0x4fec51={'gkJFR':function(_0x3f31ad){return _0x3f31ad();},'siQqf':function(_0x29eefa,_0x14a087){return _0x29eefa(_0x14a087);},'LVnIw':function(_0x217b08,_0x1a475c){return _0x217b08(_0x1a475c);},'RoCWn':_0x5839e8(0x1f5),'MlNnt':_0x5839e8(0x201)},_0x477f07=!helper['isUndefined'](_0x1aff85[_0x5839e8(0x1d3)]),_0xb1fc66=_0x477f07?path[_0x5839e8(0x1a6)](process[_0x5839e8(0x1b7)](),_0x1aff85['config']):process[_0x5839e8(0x1b7)](),{resolveConfigFile:_0x450ae1,resolveConfigLocation:_0x2ac4aa}=helper['requirePWModule'][_0x5839e8(0x19c)](null,_0x4fec51[_0x5839e8(0x1c6)](getConfigLoaderPath)),_0x43c101=_0x450ae1?_0x4fec51[_0x5839e8(0x17f)](_0x450ae1,_0xb1fc66):helper[_0x5839e8(0x191)](_0x4fec51[_0x5839e8(0x213)](_0x2ac4aa,_0xb1fc66),[_0x4fec51['RoCWn']]),_0x55fbd8={};if(_0x477f07){const _0x3a10df=_0x38372a[_0x5839e8(0x1e5)](_0x1f9043=>_0x1f9043===_0x5839e8(0x1d1)||_0x1f9043==='-c'||_0x1f9043[_0x5839e8(0x19b)](_0x5839e8(0x201)));_0x38372a[_0x5839e8(0x20b)](_0x3a10df,_0x38372a[_0x3a10df][_0x5839e8(0x19b)](_0x4fec51['MlNnt'])?0x1:0x2);}const _0x332aa3={};return _0x332aa3['path']=_0x43c101,_0x332aa3[_0x5839e8(0x1d3)]=_0x55fbd8,_0x332aa3;},handleO11yRerun=_0x194661=>{const _0x300ffa=a35_0x4b31ee,_0x18b1cd={};_0x18b1cd[_0x300ffa(0x1e7)]=function(_0x45f8cc,_0x4edc9d){return _0x45f8cc!==_0x4edc9d;},_0x18b1cd[_0x300ffa(0x21a)]='null',_0x18b1cd['pzCAm']='--grep';const _0x2adab9=_0x18b1cd,_0x19dea9=helper[_0x300ffa(0x1b5)](process['env']['BROWSERSTACK_RERUN']);if(_0x19dea9){const _0x4fd1a8=process['env'][_0x300ffa(0x199)],_0x70c648=[];if(_0x2adab9['PoOlm'](_0x4fd1a8,_0x2adab9[_0x300ffa(0x21a)])&&!helper[_0x300ffa(0x1bc)](_0x4fd1a8)){_0x4fd1a8[_0x300ffa(0x21b)](',')[_0x300ffa(0x1dc)](_0x4950ad=>{const _0x189bb9=_0x300ffa;_0x70c648[_0x189bb9(0x1c0)]('('+_0x4950ad[_0x189bb9(0x1f1)]()+')');});const _0x389085='^'+_0x70c648[_0x300ffa(0x205)]('|')+'$';_0x194661[_0x300ffa(0x1c0)](_0x2adab9[_0x300ffa(0x1ff)],_0x389085);}}},spawnOriginalProcess=_0x4af985=>{const _0x80b03e=a35_0x4b31ee,_0x1274fb={'TRfuX':function(_0x56a108,_0x3498c8,_0x32831a,_0x5cf2e9){return _0x56a108(_0x3498c8,_0x32831a,_0x5cf2e9);},'VjoCg':'npx','cdETa':'playwright','jOUVn':function(_0x5717b9,_0x5566e7){return _0x5717b9===_0x5566e7;},'QEOGu':_0x80b03e(0x218),'lbfeb':_0x80b03e(0x1da)};_0x1274fb[_0x80b03e(0x20f)](spawn,_0x1274fb[_0x80b03e(0x1a5)],[_0x1274fb[_0x80b03e(0x1be)],..._0x4af985[_0x80b03e(0x17d)](0x1)],{'shell':_0x1274fb['jOUVn'](process[_0x80b03e(0x1e3)],_0x1274fb[_0x80b03e(0x18f)]),'stdio':_0x1274fb[_0x80b03e(0x1cc)],'cwd':process[_0x80b03e(0x1b7)]()});},isTestCommand=(_0x1c108a,_0x4b8e51)=>{const _0x4d2211=a35_0x4b31ee,_0xc113ce={};_0xc113ce[_0x4d2211(0x20c)]=function(_0x573821,_0x2b631f){return _0x573821>_0x2b631f;},_0xc113ce[_0x4d2211(0x185)]=function(_0x3a99cf,_0x15844d){return _0x3a99cf===_0x15844d;},_0xc113ce['jcZAx']='test';const _0x2992f7=_0xc113ce;if(_0x2992f7[_0x4d2211(0x20c)](_0x4b8e51[_0x4d2211(0x1d5)],0x1)&&_0x2992f7[_0x4d2211(0x185)](_0x4b8e51[0x1],_0x2992f7['jcZAx']))return!![];return![];};async function run(_0x262184,_0x3874bb){const _0x20a57e=a35_0x4b31ee,_0x8c0bab={'GlYhG':function(_0x22b363,_0xacc11){return _0x22b363(_0xacc11);},'EWdDf':'.browserstack','JDwMt':_0x20a57e(0x1f2),'bjCZR':function(_0xea3043,_0x2aade2){return _0xea3043+_0x2aade2;},'lMSgs':_0x20a57e(0x192),'ToLxy':_0x20a57e(0x1a8),'hdlfn':function(_0x1f14db){return _0x1f14db();},'QqSfJ':_0x20a57e(0x190),'LkaSQ':_0x20a57e(0x19d),'ZJyUC':_0x20a57e(0x214),'YRMCn':function(_0x4d6aec,_0x578b31){return _0x4d6aec!=_0x578b31;},'iquke':function(_0x5a2cee,_0x40af31,_0x2f8a28){return _0x5a2cee(_0x40af31,_0x2f8a28);},'oTnxG':function(_0xd6b55f,_0xfc993d){return _0xd6b55f(_0xfc993d);},'ZZAoo':function(_0x1ce6b3,_0x5cb659){return _0x1ce6b3===_0x5cb659;},'rAADi':_0x20a57e(0x19e),'JuZAL':function(_0xbbb95d,_0x4cbe57){return _0xbbb95d(_0x4cbe57);},'jsBjV':function(_0x16dc37,_0x230608){return _0x16dc37(_0x230608);},'XcqAF':_0x20a57e(0x198),'QKwxg':function(_0x4af677,_0x192ece){return _0x4af677===_0x192ece;},'BDNkI':_0x20a57e(0x1bf),'CUCBm':_0x20a57e(0x1cf),'sjMnY':function(_0x4bf10c,_0x570e21){return _0x4bf10c-_0x570e21;},'ZeSxl':function(_0x221dd7,_0x13f062){return _0x221dd7+_0x13f062;},'LHaws':_0x20a57e(0x1bd),'FoDxR':function(_0x5bed39,_0x40289c){return _0x5bed39>_0x40289c;},'Shsdt':function(_0x19d0c4,_0x4b1b21){return _0x19d0c4+_0x4b1b21;},'nUmAz':function(_0x4b9966,_0x4512ff,_0x4e3ef3,_0x243469){return _0x4b9966(_0x4512ff,_0x4e3ef3,_0x243469);},'lpvyY':_0x20a57e(0x1f8),'OiaQT':_0x20a57e(0x1ac),'ezuwR':'test','lwSyS':'--config','hGANZ':_0x20a57e(0x218),'ShYLq':_0x20a57e(0x1da),'RUnAx':_0x20a57e(0x20a),'xeenF':_0x20a57e(0x18d),'WIbpx':_0x20a57e(0x19f),'kpntJ':_0x20a57e(0x1a1),'SyZRE':function(_0x3b5813,_0x40669f){return _0x3b5813>=_0x40669f;},'mOUWO':_0x20a57e(0x1d8)};!helper[_0x20a57e(0x1ee)](process[_0x20a57e(0x1c8)][_0x20a57e(0x200)])&&(process[_0x20a57e(0x1c8)][_0x20a57e(0x200)]=!![]);process[_0x20a57e(0x1a3)][_0x20a57e(0x209)](_0x8c0bab['xeenF'])&&(process[_0x20a57e(0x1c8)]['BROWSERSTACK_AUTOMATION']=_0x8c0bab[_0x20a57e(0x1fc)],_0x3874bb=_0x3874bb[_0x20a57e(0x1e9)](_0xaa679b=>_0xaa679b!==_0x20a57e(0x18d)));const _0x4837d9=_0x3874bb['indexOf'](_0x8c0bab[_0x20a57e(0x184)]);_0x8c0bab[_0x20a57e(0x21f)](_0x4837d9,0x0)&&(process[_0x20a57e(0x1c8)][_0x20a57e(0x21c)]=_0x8c0bab[_0x20a57e(0x1fc)],_0x3874bb=_0x3874bb[_0x20a57e(0x1e9)](_0x402719=>_0x402719!=='--disable-test-observability'));try{const _0xc1e5db=path[_0x20a57e(0x205)](helper['homedir'](),_0x8c0bab[_0x20a57e(0x17b)],_0x8c0bab[_0x20a57e(0x19a)]);fs['existsSync'](_0xc1e5db)&&fs[_0x20a57e(0x1f0)](_0xc1e5db);}catch(_0x308cd1){logger[_0x20a57e(0x1b6)](_0x8c0bab[_0x20a57e(0x1b1)](_0x8c0bab[_0x20a57e(0x1b3)],_0x308cd1));}if(!_0x8c0bab[_0x20a57e(0x1ed)](isTestCommand,_0x262184,_0x3874bb)){_0x8c0bab[_0x20a57e(0x1a9)](spawnOriginalProcess,_0x3874bb);return;}const _0x5c4684=new BrowserStackSetup(_0x262184,FRAMEWORKS[_0x20a57e(0x222)]);await PerformanceTester[_0x20a57e(0x1d9)](PerformanceEvents[_0x20a57e(0x1db)],async()=>{const _0xfd9fd5=_0x20a57e,_0x46de36={'onbdZ':_0x8c0bab[_0xfd9fd5(0x17b)],'SPmqo':_0x8c0bab[_0xfd9fd5(0x19a)],'svDXG':function(_0x45ef8a,_0x1d1af8){const _0x370d9e=_0xfd9fd5;return _0x8c0bab[_0x370d9e(0x1fe)](_0x45ef8a,_0x1d1af8);},'XbWaS':_0x8c0bab[_0xfd9fd5(0x18c)],'ohsUy':_0x8c0bab[_0xfd9fd5(0x1f6)],'dPUhf':function(_0x181e35){return _0x8c0bab['hdlfn'](_0x181e35);},'YSabR':_0x8c0bab[_0xfd9fd5(0x1ab)]};if(!_0x5c4684[_0xfd9fd5(0x1d3)]){logger['error'](_0x8c0bab['LkaSQ']);return;}await _0x5c4684[_0xfd9fd5(0x18b)]();!helper[_0xfd9fd5(0x1bc)](_0x5c4684[_0xfd9fd5(0x1d4)])&&_0x5c4684[_0xfd9fd5(0x1d4)][_0xfd9fd5(0x1c1)](_0x8c0bab['ZJyUC'])&&(process[_0xfd9fd5(0x1c8)]['BROWSERSTACK_AUTOMATION']=_0x5c4684['cliConfig']['get'](_0x8c0bab[_0xfd9fd5(0x1a7)])||!![]);_0x8c0bab[_0xfd9fd5(0x194)](_0x5c4684[_0xfd9fd5(0x1d3)][_0xfd9fd5(0x1d0)],null)&&!helper[_0xfd9fd5(0x1b5)](process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x21c)])&&(process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x21c)]=process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x21c)]||_0x5c4684[_0xfd9fd5(0x1d3)]['testObservability']);const _0x49ea44=!helper[_0xfd9fd5(0x1ee)](process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x21c)]);let _0x514e94=![];_0x5c4684[_0xfd9fd5(0x1d3)][_0xfd9fd5(0x189)]&&(_0x514e94=!![],process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x1e4)]=_0x5c4684['config']['accessibility']);_0x5c4684[_0xfd9fd5(0x1d3)][_0xfd9fd5(0x1eb)]&&(process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x212)]=JSON['stringify'](_0x5c4684['config'][_0xfd9fd5(0x1eb)]));const _0x36bd26=_0x3874bb[_0xfd9fd5(0x1ca)](),_0xa41989=await _0x8c0bab[_0xfd9fd5(0x1ed)](getUserPlaywrightConfig,_0x262184,_0x3874bb);if(helper[_0xfd9fd5(0x1bc)](_0xa41989)){_0x8c0bab[_0xfd9fd5(0x1d6)](spawnOriginalProcess,_0x36bd26);return;}const _0x195426=_0xa41989[_0xfd9fd5(0x221)]?path[_0xfd9fd5(0x1cd)](_0xa41989[_0xfd9fd5(0x221)]):process[_0xfd9fd5(0x1b7)]();process['env'][_0xfd9fd5(0x182)]=_0x195426,await PerformanceTester[_0xfd9fd5(0x1d9)](PerformanceEvents[_0xfd9fd5(0x1c4)],async()=>{const _0x855811=_0xfd9fd5;await TestHubHandler[_0x855811(0x210)](FRAMEWORKS[_0x855811(0x222)],_0x5c4684),_0x49ea44&&_0x8c0bab[_0x855811(0x1bb)](handleO11yRerun,_0x3874bb);})();let _0x1ec271=_0x8c0bab[_0xfd9fd5(0x1b9)](process['env'][_0xfd9fd5(0x1e4)],_0x8c0bab['rAADi']);_0x1ec271=_0x1ec271||_0x8c0bab[_0xfd9fd5(0x1ea)](checkAccessibilityPlatformConfig,_0x5c4684[_0xfd9fd5(0x1d3)]),process['env'][_0xfd9fd5(0x1e4)]=_0x1ec271;_0x1ec271&&_0x8c0bab[_0xfd9fd5(0x1a9)](setAccessibilityCapabilities,_0x5c4684['config']);const _0x464420=path['join'](_0xa41989[_0xfd9fd5(0x221)]?path['dirname'](_0xa41989[_0xfd9fd5(0x221)]):process[_0xfd9fd5(0x1b7)](),_0x8c0bab[_0xfd9fd5(0x187)]);fs[_0xfd9fd5(0x1ef)](_0x464420,helper[_0xfd9fd5(0x1b0)](_0x5c4684[_0xfd9fd5(0x1d3)])),process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x1c2)]=_0x464420,helper['clearTempPWConfig']();let _0x4d8fde='';_0x8c0bab[_0xfd9fd5(0x1f7)](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0xfd9fd5(0x181)])?_0x4d8fde=_0x8c0bab[_0xfd9fd5(0x1ba)]:_0x4d8fde=_0x8c0bab['CUCBm'];let _0x2deb1b='';if(helper[_0xfd9fd5(0x186)](_0xa41989['path'])){_0x2deb1b=_0xfd9fd5(0x197);const _0x55724e=_0x4d8fde[_0xfd9fd5(0x21b)]('.');_0x55724e[_0x8c0bab[_0xfd9fd5(0x1aa)](_0x55724e[_0xfd9fd5(0x1d5)],0x1)]='ts',_0x4d8fde=_0x55724e['join']('.'),logger[_0xfd9fd5(0x1b6)](_0x8c0bab[_0xfd9fd5(0x1b1)](_0x8c0bab['LHaws'],_0x4d8fde));}else _0x2deb1b=_0xfd9fd5(0x196);const _0x21b6ee=path[_0xfd9fd5(0x205)](_0xa41989['path']?path[_0xfd9fd5(0x1cd)](_0xa41989[_0xfd9fd5(0x221)]):process[_0xfd9fd5(0x1b7)](),_0x4d8fde);let _0x5a3b0a=_0xa41989[_0xfd9fd5(0x221)]?_0xa41989[_0xfd9fd5(0x221)]:'';_0x5a3b0a=_0x8c0bab['FoDxR'](_0x5a3b0a[_0xfd9fd5(0x1d5)],0x0)?path['resolve'](_0x5a3b0a):'',process[_0xfd9fd5(0x1c8)][_0xfd9fd5(0x1c9)]=_0x5a3b0a;const _0xd25610=helper['getProxyUrl'](_0x5c4684[_0xfd9fd5(0x1d3)]);_0xd25610&&(_0x2deb1b=_0x8c0bab[_0xfd9fd5(0x1de)](_0xfd9fd5(0x1a2)+_0xd25610+'\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();',_0x2deb1b));helper[_0xfd9fd5(0x1c5)]({},_0x3874bb),fs['writeFileSync'](_0x21b6ee,_0x2deb1b),PerformanceTester[_0xfd9fd5(0x21e)](PerformanceEvents['SDK_SETUP']);const _0x553744=_0x8c0bab[_0xfd9fd5(0x204)](spawn,_0x8c0bab[_0xfd9fd5(0x208)],[_0x8c0bab[_0xfd9fd5(0x207)],_0x8c0bab[_0xfd9fd5(0x20e)],_0x8c0bab[_0xfd9fd5(0x1b8)],_0x21b6ee,..._0x3874bb['slice'](0x2)],{'shell':_0x8c0bab[_0xfd9fd5(0x1b9)](process['platform'],_0x8c0bab[_0xfd9fd5(0x21d)]),'stdio':_0x8c0bab[_0xfd9fd5(0x18a)],'cwd':process[_0xfd9fd5(0x1b7)](),'env':Object[_0xfd9fd5(0x18e)]({},process[_0xfd9fd5(0x1c8)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xfd9fd5(0x1e8)](_0x262184),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5c4684[_0xfd9fd5(0x1d3)]['testContextOptions'][_0xfd9fd5(0x1c7)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5c4684[_0xfd9fd5(0x1d3)][_0xfd9fd5(0x1d7)][_0xfd9fd5(0x202)],'BROWSERSTACK_LOG_LEVEL':_0x5c4684[_0xfd9fd5(0x1d3)][_0xfd9fd5(0x219)]})}),_0x504ecf=()=>{const _0x30a9e8=_0xfd9fd5;try{const _0x23c8b0=path['join'](helper[_0x30a9e8(0x188)](),_0x46de36[_0x30a9e8(0x217)],_0x46de36[_0x30a9e8(0x1cb)]);if(fs[_0x30a9e8(0x20d)](_0x23c8b0)){let _0x521d9d=fs[_0x30a9e8(0x1e2)](_0x23c8b0);_0x521d9d=JSON[_0x30a9e8(0x193)](_0x521d9d),_0x5c4684[_0x30a9e8(0x1b2)]=_0x521d9d,fs['unlinkSync'](_0x23c8b0);}}catch(_0x5657d){logger['debug'](_0x46de36[_0x30a9e8(0x1a4)](_0x46de36[_0x30a9e8(0x1fb)],_0x5657d));}};_0x553744['on'](_0x8c0bab[_0xfd9fd5(0x1ec)],async _0x129551=>{const _0x2baf32=_0xfd9fd5;try{const _0x5bd928=_0x46de36[_0x2baf32(0x1e6)]['split']('|');let _0x598c6f=0x0;while(!![]){switch(_0x5bd928[_0x598c6f++]){case'0':await TestHubHandler['stop']();continue;case'1':_0x46de36[_0x2baf32(0x211)](_0x504ecf);continue;case'2':PerformanceTester['start'](PerformanceEvents[_0x2baf32(0x1af)]);continue;case'3':fs[_0x2baf32(0x1f0)](_0x464420);continue;case'4':process['exitCode']=_0x129551;continue;case'5':logger[_0x2baf32(0x17a)](_0x2baf32(0x1ce)+_0x21b6ee);continue;case'6':fs[_0x2baf32(0x1f0)](_0x21b6ee);continue;case'7':await utilities[_0x2baf32(0x180)](_0x5c4684);continue;case'8':logger[_0x2baf32(0x1b6)](_0x2baf32(0x1ce)+_0x464420);continue;case'9':logger['debug'](_0x2baf32(0x1e0)+_0x129551);continue;}break;}}catch(_0x1c1093){logger['debug'](_0x46de36['svDXG'](_0x46de36[_0x2baf32(0x1df)],_0x1c1093));}});})();}module['exports']=run;
@@ -1 +1 @@
1
- function a36_0x27c0(_0x2f453d,_0x5a9f48){const _0x5467ba=a36_0x5467();return a36_0x27c0=function(_0x27c032,_0x1a3a8c){_0x27c032=_0x27c032-0xa5;let _0x5dee32=_0x5467ba[_0x27c032];return _0x5dee32;},a36_0x27c0(_0x2f453d,_0x5a9f48);}const a36_0x4d24fb=a36_0x27c0;function a36_0x5467(){const _0x14bf4d=['222461nLlNfY','isHandlePWErrorSet','resolve','./reporter/pwUtils','includes','459360PFBcBt','env','child_process','./mock-process.js','FNnHT','../../helpers/test-observability/utils','../../helpers/test-observability/constants','560210dOAnEd','exports','gYWtv','WvNBr','EHngG','Not\x20able\x20to\x20import\x20globalSetup','318060rxGfXp','apply','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','function','debug','5267087EFGheG','406664WAKVfO','bYZgu','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Gfoch','Path\x20','../../helpers/helper','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','ixbOy','compareVersions','fork','pugcj','wbuVA','Call\x20to\x20child\x20fork\x20with\x20args\x20','JLCCN','PLAYWRIGHT','\x20is\x20not\x20found','Running\x20existing\x20global\x20setup','480312XKkYyw','8kIbGhK'];a36_0x5467=function(){return _0x14bf4d;};return a36_0x5467();}(function(_0x5cba28,_0x1bb074){const _0x382e01=a36_0x27c0,_0x39adfb=_0x5cba28();while(!![]){try{const _0x1fd56c=-parseInt(_0x382e01(0xb2))/0x1+-parseInt(_0x382e01(0xca))/0x2+parseInt(_0x382e01(0xc4))/0x3+-parseInt(_0x382e01(0xb7))/0x4+-parseInt(_0x382e01(0xbe))/0x5+-parseInt(_0x382e01(0xb0))/0x6+-parseInt(_0x382e01(0xc9))/0x7*(-parseInt(_0x382e01(0xb1))/0x8);if(_0x1fd56c===_0x1bb074)break;else _0x39adfb['push'](_0x39adfb['shift']());}catch(_0xe4a87f){_0x39adfb['push'](_0x39adfb['shift']());}}}(a36_0x5467,0x1eb26));const util=require('util'),child_process=require(a36_0x4d24fb(0xb9)),{FRAMEWORKS}=require(a36_0x4d24fb(0xbd)),{getFrameworkVersion,debug}=require(a36_0x4d24fb(0xbc)),helper=require(a36_0x4d24fb(0xcf)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x4d24fb(0xb5)),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')['winstonLogger'];module[a36_0x4d24fb(0xbf)]=async function(_0x470c33){const _0x15da20=a36_0x4d24fb,_0x472bab={'bYZgu':function(_0x52600d,_0x4a48bc){return _0x52600d(_0x4a48bc);},'EHngG':function(_0x508bf7){return _0x508bf7();},'WvNBr':_0x15da20(0xba),'TZNmm':function(_0x14df7d){return _0x14df7d();},'Gfoch':_0x15da20(0xaf),'JLCCN':function(_0x5b3552){return _0x5b3552();},'ixbOy':function(_0x5cca14,_0xbca932){return _0x5cca14>=_0xbca932;},'wbuVA':'1.33.0','FNnHT':function(_0x253fb5,_0x3d67f1,_0x38ea25){return _0x253fb5(_0x3d67f1,_0x38ea25);},'gYWtv':function(_0x131e71,_0x5cc72b){return _0x131e71!==_0x5cc72b;},'pugcj':_0x15da20(0xc7),'aRQRE':_0x15da20(0xc3)},_0x28379c=child_process['fork'];if(helper[_0x15da20(0xb3)]())try{_0x472bab['TZNmm'](mockIsWorkerRedundant);}catch(_0x8aaa7){logger[_0x15da20(0xc8)](_0x15da20(0xc6)+util['format'](_0x8aaa7));}child_process[_0x15da20(0xa8)]=function(){const _0x11e8e4=_0x15da20;return _0x472bab[_0x11e8e4(0xcb)](debug,_0x11e8e4(0xab)+arguments[0x0]),arguments[0x0][_0x11e8e4(0xb6)](_0x472bab[_0x11e8e4(0xc2)](getForkProcessPath))?arguments[0x0]=require[_0x11e8e4(0xb4)](_0x472bab[_0x11e8e4(0xc1)]):logger['error'](_0x11e8e4(0xce)+_0x472bab[_0x11e8e4(0xc2)](getForkProcessPath)+_0x11e8e4(0xae)),_0x28379c['apply'](null,arguments);};if(process[_0x15da20(0xb8)][_0x15da20(0xcc)]){_0x472bab['bYZgu'](debug,_0x472bab[_0x15da20(0xcd)]);try{const {loadGlobalHook:_0x132afa}=helper['requirePWModule'][_0x15da20(0xc5)](null,_0x472bab[_0x15da20(0xac)](getLoadUtilsPath)),_0x391e30=_0x472bab[_0x15da20(0xcb)](getFrameworkVersion,FRAMEWORKS[_0x15da20(0xad)]);let _0x4d5d68=_0x470c33;if(_0x472bab[_0x15da20(0xa6)](helper[_0x15da20(0xa7)](_0x391e30,_0x472bab[_0x15da20(0xaa)]),0x0)){const _0x35d1c3={};_0x35d1c3['config']=_0x470c33,_0x4d5d68=_0x35d1c3;}const _0x1f1cb7=await _0x472bab[_0x15da20(0xbb)](_0x132afa,_0x4d5d68,process[_0x15da20(0xb8)][_0x15da20(0xcc)]);if(_0x472bab[_0x15da20(0xc0)](typeof _0x1f1cb7,_0x472bab[_0x15da20(0xa9)]))throw new Error(_0x472bab['aRQRE']);return _0x1f1cb7[_0x15da20(0xc5)](null,arguments);}catch(_0xd3bff4){_0x472bab[_0x15da20(0xcb)](debug,_0x15da20(0xa5)+_0xd3bff4['toString']());}}};
1
+ const a36_0x4e6981=a36_0x1b75;(function(_0x3eaf27,_0x542de4){const _0x4beced=a36_0x1b75,_0x10c2a8=_0x3eaf27();while(!![]){try{const _0x4161dd=parseInt(_0x4beced(0x111))/0x1+parseInt(_0x4beced(0xf2))/0x2*(-parseInt(_0x4beced(0x106))/0x3)+-parseInt(_0x4beced(0xfb))/0x4*(parseInt(_0x4beced(0x110))/0x5)+parseInt(_0x4beced(0x108))/0x6*(-parseInt(_0x4beced(0xff))/0x7)+parseInt(_0x4beced(0x114))/0x8+parseInt(_0x4beced(0xf8))/0x9+-parseInt(_0x4beced(0xf6))/0xa*(-parseInt(_0x4beced(0xf3))/0xb);if(_0x4161dd===_0x542de4)break;else _0x10c2a8['push'](_0x10c2a8['shift']());}catch(_0x1a48d3){_0x10c2a8['push'](_0x10c2a8['shift']());}}}(a36_0x277f,0x59da4));function a36_0x1b75(_0x24d72b,_0x282c81){const _0x277ff8=a36_0x277f();return a36_0x1b75=function(_0x1b7517,_0x7003d0){_0x1b7517=_0x1b7517-0xe4;let _0x459399=_0x277ff8[_0x1b7517];return _0x459399;},a36_0x1b75(_0x24d72b,_0x282c81);}const util=require('util'),child_process=require(a36_0x4e6981(0x105)),{FRAMEWORKS}=require(a36_0x4e6981(0x100)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x4e6981(0x109)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x4e6981(0xf7)),{mockIsWorkerRedundant}=require(a36_0x4e6981(0x10a)),logger=require(a36_0x4e6981(0xee))[a36_0x4e6981(0xfd)];module[a36_0x4e6981(0xf1)]=async function(_0x1e579e){const _0x5554f3=a36_0x4e6981,_0x4a78e2={'LZEpm':function(_0x38678b,_0x36332a){return _0x38678b(_0x36332a);},'sBuGn':function(_0x1fe877){return _0x1fe877();},'yGOZI':_0x5554f3(0xfa),'sSQsi':function(_0x4e307d){return _0x4e307d();},'HKVaP':function(_0x2f96aa,_0x127ec5){return _0x2f96aa(_0x127ec5);},'qiWKD':'Running\x20existing\x20global\x20setup','WXPhI':function(_0x4f4945,_0x4d3e78){return _0x4f4945(_0x4d3e78);},'gBXml':function(_0x43f6bd,_0xbdaff4){return _0x43f6bd>=_0xbdaff4;},'IAzQz':_0x5554f3(0x102),'Bvamd':function(_0x46ed21,_0x41a909,_0xd806a4){return _0x46ed21(_0x41a909,_0xd806a4);},'rnItY':function(_0xd27323,_0x49642d){return _0xd27323!==_0x49642d;},'HuejM':_0x5554f3(0xeb),'xoLVJ':'Not\x20able\x20to\x20import\x20globalSetup','OxWQN':function(_0x5e32f8,_0x1a0543){return _0x5e32f8(_0x1a0543);}},_0x30366f=child_process[_0x5554f3(0xfc)];if(helper[_0x5554f3(0x10f)]())try{_0x4a78e2[_0x5554f3(0xe8)](mockIsWorkerRedundant);}catch(_0xd8ef02){logger['debug'](_0x5554f3(0xe9)+util['format'](_0xd8ef02));}child_process[_0x5554f3(0xfc)]=function(){const _0x337f8f=_0x5554f3;return _0x4a78e2[_0x337f8f(0xe7)](debug,_0x337f8f(0xf9)+arguments[0x0]),arguments[0x0][_0x337f8f(0xef)](_0x4a78e2[_0x337f8f(0xe8)](getForkProcessPath))?arguments[0x0]=require[_0x337f8f(0xec)](_0x4a78e2[_0x337f8f(0xea)]):logger[_0x337f8f(0x113)](_0x337f8f(0xf5)+_0x4a78e2[_0x337f8f(0xe5)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x30366f[_0x337f8f(0x104)](null,arguments);};if(process[_0x5554f3(0x10b)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x4a78e2[_0x5554f3(0x10d)](debug,_0x4a78e2[_0x5554f3(0x101)]);try{const {loadGlobalHook:_0x34f76f}=helper[_0x5554f3(0x115)]['apply'](null,_0x4a78e2[_0x5554f3(0xe5)](getLoadUtilsPath)),_0x28b4bd=_0x4a78e2[_0x5554f3(0x112)](getFrameworkVersion,FRAMEWORKS[_0x5554f3(0x10e)]);let _0x1dfa9f=_0x1e579e;if(_0x4a78e2[_0x5554f3(0xed)](helper[_0x5554f3(0x107)](_0x28b4bd,_0x4a78e2[_0x5554f3(0x103)]),0x0)){const _0x140d6b={};_0x140d6b['config']=_0x1e579e,_0x1dfa9f=_0x140d6b;}const _0x3c3785=await _0x4a78e2['Bvamd'](_0x34f76f,_0x1dfa9f,process[_0x5554f3(0x10b)][_0x5554f3(0xe6)]);if(_0x4a78e2[_0x5554f3(0x10c)](typeof _0x3c3785,_0x4a78e2[_0x5554f3(0xf0)]))throw new Error(_0x4a78e2['xoLVJ']);return _0x3c3785['apply'](null,arguments);}catch(_0x3b2b7f){_0x4a78e2[_0x5554f3(0xe4)](debug,_0x5554f3(0xf4)+_0x3b2b7f[_0x5554f3(0xfe)]());}}};function a36_0x277f(){const _0x4d8de6=['requirePWModule','OxWQN','sSQsi','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','LZEpm','sBuGn','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','yGOZI','function','resolve','gBXml','../../helpers/logger','includes','HuejM','exports','22WosqJv','1678413ybVeab','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','Path\x20','30TPwLXl','./reporter/pwUtils','1462185rnpAzk','Call\x20to\x20child\x20fork\x20with\x20args\x20','./mock-process.js','532lZEFQA','fork','winstonLogger','toString','2755823ORZwUl','../../helpers/test-observability/constants','qiWKD','1.33.0','IAzQz','apply','child_process','26946fYmunH','compareVersions','6pKeAGt','../../helpers/helper','./patches','env','rnItY','HKVaP','PLAYWRIGHT','isHandlePWErrorSet','23605HvidoN','680619CADWcC','WXPhI','error','1500696MIOwvH'];a36_0x277f=function(){return _0x4d8de6;};return a36_0x277f();}