browserstack-node-sdk 1.33.5 → 1.33.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/testhub/constants.js +1 -1
  116. package/src/helpers/testhub/testhubHandler.js +1 -1
  117. package/src/helpers/testhub/utils.js +1 -1
  118. package/src/helpers/w3cMapping.js +1 -1
  119. package/src/hubAllocationMethods.js +1 -1
  120. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a27_0x1f69c5=a27_0xcff4;(function(_0x4edb52,_0x35d6a2){const _0x574a82=a27_0xcff4,_0x295da6=_0x4edb52();while(!![]){try{const _0xd70356=-parseInt(_0x574a82(0x1f2))/0x1*(parseInt(_0x574a82(0x1ca))/0x2)+-parseInt(_0x574a82(0x1de))/0x3*(-parseInt(_0x574a82(0x1cd))/0x4)+parseInt(_0x574a82(0x1dc))/0x5*(-parseInt(_0x574a82(0x21a))/0x6)+-parseInt(_0x574a82(0x1cf))/0x7+-parseInt(_0x574a82(0x1bb))/0x8*(-parseInt(_0x574a82(0x1d3))/0x9)+parseInt(_0x574a82(0x20b))/0xa*(parseInt(_0x574a82(0x1b7))/0xb)+parseInt(_0x574a82(0x1f1))/0xc;if(_0xd70356===_0x35d6a2)break;else _0x295da6['push'](_0x295da6['shift']());}catch(_0x2f657f){_0x295da6['push'](_0x295da6['shift']());}}}(a27_0x5b2a,0x194d8));const logger=require(a27_0x1f69c5(0x1fd))[a27_0x1f69c5(0x1b6)],helper=require(a27_0x1f69c5(0x21f)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x1f69c5(0x1e0)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),modify=(_0x534b30,_0x3804b5=null,_0x1b2f0e=![])=>{const _0x3d663f=a27_0x1f69c5,_0x4de8af={'rZVqw':function(_0x457fb9,_0x415b99){return _0x457fb9!==_0x415b99;},'MMyqH':_0x3d663f(0x207),'yEAhM':function(_0x1f9865,_0x4e4593){return _0x1f9865+_0x4e4593;},'skYaM':function(_0x5e6309,_0x150716){return _0x5e6309+_0x150716;},'Whhpw':'https://','soeXC':_0x3d663f(0x1f7),'PafUT':_0x3d663f(0x1c5),'XQngO':_0x3d663f(0x219),'DqaOH':_0x3d663f(0x1ba),'SXvEM':'edgeOptions','RBUPX':_0x3d663f(0x209),'KImlW':'firefoxOptions','SKcXb':_0x3d663f(0x21e),'UMfcP':_0x3d663f(0x1e8),'tcOgE':_0x3d663f(0x1e9),'gbRRP':function(_0x5a479f,_0x32bd89){return _0x5a479f===_0x32bd89;},'LPKWK':_0x3d663f(0x1db),'ZHtzC':_0x3d663f(0x220),'RkujH':function(_0x54aab1,_0x1602f1,_0x442e16){return _0x54aab1(_0x1602f1,_0x442e16);},'fCYjh':function(_0x2553d5,_0x48afea,_0x556955){return _0x2553d5(_0x48afea,_0x556955);},'UAfjb':function(_0x54a6ce,_0x54e850){return _0x54a6ce(_0x54e850);},'JVnAa':function(_0x84b2df,_0x5b2d64,_0x9ca4ea){return _0x84b2df(_0x5b2d64,_0x9ca4ea);},'YStTb':_0x3d663f(0x1fb),'OQmjh':_0x3d663f(0x1cb),'HQffz':_0x3d663f(0x20d),'xiGSH':function(_0x523f63){return _0x523f63();},'dyuZZ':_0x3d663f(0x1ea),'CiOzg':_0x3d663f(0x1d7),'nhJpZ':function(_0x548bdb,_0x206796){return _0x548bdb(_0x206796);},'MNhCe':function(_0x5e5578,_0x7ea822){return _0x5e5578(_0x7ea822);},'hJDFi':_0x3d663f(0x215),'PRKNE':_0x3d663f(0x202)},_0x57336a=helper['requireHttpClient']();let _0x3cd5a7;try{_0x3cd5a7=helper[_0x3d663f(0x1d5)](),_0x3cd5a7[_0x3d663f(0x1d1)]&&(_0x3cd5a7[_0x3d663f(0x1fc)]=_0x3cd5a7[_0x3d663f(0x1d1)]);}catch(_0x4f8e65){return;}if(helper[_0x3d663f(0x1c0)]()){const _0x2bce42={};_0x2bce42[_0x3d663f(0x1e7)]=_0x534b30[_0x3d663f(0x1f8)],helper[_0x3d663f(0x203)](_0x2bce42,new Map(),new Map()),logger[_0x3d663f(0x1f0)](_0x4de8af[_0x3d663f(0x20e)]),logger[_0x3d663f(0x1d6)](_0x4de8af[_0x3d663f(0x1ef)]);}class _0x558dd4 extends _0x57336a[_0x3d663f(0x1c6)]{['send'](_0x17f511){const _0x3e2480=_0x3d663f;if(_0x4de8af[_0x3e2480(0x208)](_0x17f511[_0x3e2480(0x1bc)],_0x4de8af[_0x3e2480(0x1c1)])&&_0x4de8af[_0x3e2480(0x208)](global[_0x3e2480(0x1eb)],''))try{global[_0x3e2480(0x1eb)]=_0x4de8af['yEAhM'](_0x4de8af[_0x3e2480(0x226)](_0x4de8af['Whhpw'],global['newHubUrl']),_0x4de8af[_0x3e2480(0x1c3)]),this[_0x3e2480(0x1dd)]=hubAllocator[_0x3e2480(0x1d4)](global[_0x3e2480(0x1eb)]),logger['debug']('New\x20hub\x20url\x20set\x20to\x20'+global[_0x3e2480(0x1eb)]),global[_0x3e2480(0x1eb)]='';}catch(_0x48d77b){logger[_0x3e2480(0x205)](_0x48d77b);}return super[_0x3e2480(0x213)](_0x17f511);}}class _0x3f1e9f extends _0x3cd5a7[_0x3d663f(0x1fc)]{[_0x3d663f(0x21b)](){const _0x3b97ff=_0x3d663f;return this['url_']=helper[_0x3b97ff(0x1b5)](_0x534b30),logger[_0x3b97ff(0x1d6)](_0x3b97ff(0x210)+this['url_']),this;}['__setBrowserOptions'](_0x39914a){const _0x49ac06=_0x3d663f;let _0x32b62e={};for(const _0x50c404 in _0x39914a){switch(_0x50c404){case _0x4de8af[_0x49ac06(0x1bd)]:case _0x4de8af['XQngO']:this[_0x49ac06(0x1d0)]&&(_0x32b62e=this[_0x49ac06(0x1d0)][_0x49ac06(0x1ce)](this[_0x49ac06(0x1d0)][_0x49ac06(0x206)])||{},this[_0x49ac06(0x1d0)][_0x49ac06(0x1c8)](this[_0x49ac06(0x1d0)][_0x49ac06(0x206)],helper[_0x49ac06(0x1e2)](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x1ff)]:case _0x4de8af['SXvEM']:this[_0x49ac06(0x1e4)]&&(_0x32b62e=this[_0x49ac06(0x1e4)][_0x49ac06(0x1ce)](this[_0x49ac06(0x1e4)]['CAPABILITY_KEY'])||{},this[_0x49ac06(0x1e4)][_0x49ac06(0x1c8)](this[_0x49ac06(0x1e4)][_0x49ac06(0x206)],helper['mergeDeep'](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x1c2)]:case _0x4de8af[_0x49ac06(0x1f9)]:this[_0x49ac06(0x212)]&&(_0x32b62e=this['firefoxOptions_'][_0x49ac06(0x1ce)](this[_0x49ac06(0x212)][_0x49ac06(0x206)])||{},this[_0x49ac06(0x212)][_0x49ac06(0x1c8)](this[_0x49ac06(0x212)][_0x49ac06(0x206)],helper[_0x49ac06(0x1e2)](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x1f4)]:this['safariOptions_']&&(_0x32b62e=this[_0x49ac06(0x1c9)][_0x49ac06(0x1ce)](this[_0x49ac06(0x1c9)][_0x49ac06(0x206)])||{},this[_0x49ac06(0x1c9)][_0x49ac06(0x1c8)](this[_0x49ac06(0x1c9)][_0x49ac06(0x206)],helper['mergeDeep'](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x20a)]:case _0x4de8af[_0x49ac06(0x1d9)]:this['ieOptions_']&&(_0x32b62e=this['ieOptions_'][_0x49ac06(0x1ce)](this['ieOptions_'][_0x49ac06(0x206)])||{},this[_0x49ac06(0x218)]['set'](this[_0x49ac06(0x218)][_0x49ac06(0x206)],helper[_0x49ac06(0x1e2)](_0x32b62e,_0x39914a[_0x50c404])));break;}}}[_0x3d663f(0x1d8)](){const _0x15de8c=_0x3d663f;return logger[_0x15de8c(0x1d6)](_0x4de8af['ZHtzC']),this[_0x15de8c(0x1b9)](_0x534b30[_0x15de8c(0x1b2)]),Object[_0x15de8c(0x225)](_0x534b30[_0x15de8c(0x1b2)])[_0x15de8c(0x1da)](_0x571131=>{const _0xbda710=_0x15de8c,_0x380dd3=this['capabilities_'][_0xbda710(0x1ce)](_0x571131);_0x4de8af['gbRRP'](typeof _0x380dd3,_0x4de8af[_0xbda710(0x21c)])?this['capabilities_'][_0xbda710(0x1c8)](_0x571131,helper[_0xbda710(0x1e2)](_0x380dd3,_0x534b30[_0xbda710(0x1b2)][_0x571131])):this[_0xbda710(0x1b8)][_0xbda710(0x1c8)](_0x571131,_0x534b30['capability'][_0x571131]);}),this;}['build'](){const _0xbb5bf3=_0x3d663f,_0x2b449d={'ghqIY':_0x4de8af[_0xbb5bf3(0x1d2)],'QyBeC':_0x4de8af[_0xbb5bf3(0x1f5)],'ICLZq':function(_0x281001,_0x29beef,_0x24224e){return _0x4de8af['fCYjh'](_0x281001,_0x29beef,_0x24224e);}};if(helper[_0xbb5bf3(0x1c0)]()){const _0x21c4d1=_0x4de8af[_0xbb5bf3(0x223)]['split']('|');let _0x2b0b97=0x0;while(!![]){switch(_0x21c4d1[_0x2b0b97++]){case'0':_0x4de8af[_0xbb5bf3(0x1ee)](isAccessibilityAutomationSession)&&_0x4de8af[_0xbb5bf3(0x1be)](setAccessibilityCapabilities,_0x534b30);continue;case'1':logger['debug'](_0x4de8af[_0xbb5bf3(0x222)]);continue;case'2':if(helper['isPacProxy'](_0x534b30[_0xbb5bf3(0x1ed)][_0xbb5bf3(0x1e6)]))this[_0xbb5bf3(0x21d)]=helper[_0xbb5bf3(0x228)](_0x534b30[_0xbb5bf3(0x1ed)]['proxyUrl']);else _0x534b30['proxySettings'][_0xbb5bf3(0x1e6)]&&(this[_0xbb5bf3(0x1e5)]=_0x534b30[_0xbb5bf3(0x1ed)][_0xbb5bf3(0x1e6)],logger['debug'](_0xbb5bf3(0x1ec)+this['proxy_']));continue;case'3':this[_0xbb5bf3(0x1d8)]();continue;case'4':this['setServer']();continue;case'5':globals[_0xbb5bf3(0x1c4)](_0x4de8af[_0xbb5bf3(0x1fa)])&&(!_0x4de8af[_0xbb5bf3(0x1fe)](setExtension,this,_0x534b30)&&globals[_0xbb5bf3(0x201)](_0x4de8af['CiOzg'],![]));continue;}break;}}const _0x405cdc=super['build']();return _0x405cdc[_0xbb5bf3(0x1bf)][_0xbb5bf3(0x211)](_0x3dad6d=>{const _0x169082=_0xbb5bf3;try{const _0x1b4e47=_0x3dad6d[_0x169082(0x1df)]['get'](_0x2b449d[_0x169082(0x1c7)]);_0x1b4e47?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x1b4e47),hubAllocator[_0x169082(0x1f3)](_0x1b4e47),helper[_0x169082(0x204)](_0x1b4e47)):logger[_0x169082(0x1d6)](_0x2b449d[_0x169082(0x200)]);}catch(_0x4ce326){logger[_0x169082(0x1d6)](_0x169082(0x227)+_0x4ce326);}}),_0x405cdc[_0xbb5bf3(0x1e3)]=0x0,_0x405cdc[_0xbb5bf3(0x211)]&&_0x405cdc[_0xbb5bf3(0x211)](_0x54a839=>{const _0x261ebb=_0xbb5bf3,_0x195003={'FvfYH':function(_0x2c94fe,_0x417d41,_0x565c8e){const _0x1567be=a27_0xcff4;return _0x4de8af[_0x1567be(0x1f6)](_0x2c94fe,_0x417d41,_0x565c8e);}};_0x4de8af[_0x261ebb(0x1b4)](overrideQuit,_0x54a839,_0x405cdc),_0x4de8af[_0x261ebb(0x1be)](overrideTakeScreenshot,_0x54a839),helper[_0x261ebb(0x229)](_0x54a839,_0x534b30),helper['overrideExecute'](_0x54a839,_0x534b30),_0x54a839['getAccessibilityResultsSummary']=async()=>{return await _0x195003['FvfYH'](getAccessibilityResultsSummary,_0x54a839,global);},_0x54a839[_0x261ebb(0x217)]=async()=>{const _0x4f1fbc=_0x261ebb;return await _0x2b449d[_0x4f1fbc(0x1e1)](getAccessibilityResults,_0x54a839,global);};}),_0x405cdc['getAccessibilityResultsSummary']=async()=>{const _0x2558ad=_0xbb5bf3;return await _0x2b449d[_0x2558ad(0x1e1)](getAccessibilityResultsSummary,_0x405cdc,global);},_0x405cdc['getAccessibilityResults']=async()=>{const _0x1f7898=_0xbb5bf3;return await _0x4de8af[_0x1f7898(0x1fe)](getAccessibilityResults,_0x405cdc,global);},_0x4de8af['nhJpZ'](overrideTakeScreenshot,_0x405cdc),_0x4de8af['MNhCe'](overrideQuit,_0x405cdc),helper[_0xbb5bf3(0x229)](_0x405cdc,_0x534b30),helper[_0xbb5bf3(0x224)](_0x405cdc,_0x534b30),helper[_0xbb5bf3(0x221)](global[_0xbb5bf3(0x1b3)])&&(global['__driversArray']=[]),helper[_0xbb5bf3(0x221)](global['__drivers'])&&(global[_0xbb5bf3(0x1cc)]=[]),global['__driversArray']['push'](_0x405cdc),global[_0xbb5bf3(0x20f)]=_0x405cdc,_0x4de8af[_0xbb5bf3(0x208)](global[_0xbb5bf3(0x1cc)],undefined)&&global['__drivers']['push'](_0x405cdc),_0x3804b5&&helper[_0xbb5bf3(0x221)](_0x3804b5[_0xbb5bf3(0x214)]['__driversArray'])&&(_0x3804b5[_0xbb5bf3(0x214)][_0xbb5bf3(0x1b3)]=[]),_0x3804b5&&_0x4de8af[_0xbb5bf3(0x208)](_0x3804b5[_0xbb5bf3(0x214)]['__drivers'],undefined)&&(_0x3804b5[_0xbb5bf3(0x214)]['__drivers'][_0xbb5bf3(0x20c)](_0x405cdc),_0x3804b5[_0xbb5bf3(0x214)][_0xbb5bf3(0x1b3)][_0xbb5bf3(0x20c)](_0x405cdc)),_0x405cdc;}}return _0x3cd5a7[_0x3d663f(0x1d1)]=_0x3cd5a7[_0x3d663f(0x1fc)],_0x3cd5a7['Builder']=_0x3f1e9f,_0x57336a['HttpClient']=_0x558dd4,_0x3cd5a7;};module[a27_0x1f69c5(0x216)]['browserstackAgentObservability']=modify;function a27_0xcff4(_0x471c4f,_0x4d6e87){const _0x5b2adf=a27_0x5b2a();return a27_0xcff4=function(_0xcff457,_0xcc6159){_0xcff457=_0xcff457-0x1b2;let _0x255c05=_0x5b2adf[_0xcff457];return _0x255c05;},a27_0xcff4(_0x471c4f,_0x4d6e87);}function a27_0x5b2a(){const _0x89d5be=['get','556423gJLGEI','chromeOptions_','originalBuilder','YStTb','9pYWwUH','getRequestOptions','requireSeleniumWebdriver','debug','isAccessibilityPlatform','setCapabilities','tcOgE','forEach','object','960385hhyKEp','options_','62247COJYFm','caps_','../../../helpers/patchHelpers','ICLZq','mergeDeep','quitCount_','edgeOptions_','proxy_','proxyUrl','logLevel','se:ieOptions','ieOptions','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','newHubUrl','Proxy\x20set\x20to\x20','proxySettings','xiGSH','PRKNE','info','2539776CVPCNy','467wuassp','updateHubUrl','SKcXb','OQmjh','RkujH','/wd/hub','browserStackLogLevel','KImlW','CiOzg','optimalHubUrl','Builder','../../../helpers/logger','JVnAa','DqaOH','QyBeC','setGlobal','Modifying\x20webdriver\x20builder','setLogLevel','storeOptimalHubUrl','error','CAPABILITY_KEY','/session','rZVqw','moz:firefoxOptions','UMfcP','4790wPoveC','push','0|4|3|2|5|1','hJDFi','__driver','Hub\x20url\x20set\x20to\x20','then','firefoxOptions_','send','global','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','exports','getAccessibilityResults','ieOptions_','chromeOptions','6GYxHsp','setServer','LPKWK','agent_','safari.options','../../../helpers/helper','Setting\x20Browserstack\x20capabilities','isUndefined','dyuZZ','HQffz','overrideExecute','keys','skYaM','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getHttpAgent','overrideGet','capability','__driversArray','fCYjh','getHubUrl','winstonLogger','2497EjqdoE','capabilities_','__setBrowserOptions','ms:edgeOptions','110872cLpdrF','path','PafUT','UAfjb','session_','isBrowserstackInfra','MMyqH','RBUPX','soeXC','getGlobal','goog:chromeOptions','HttpClient','ghqIY','set','safariOptions_','180sbgjKi','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','__drivers','16WPQWMp'];a27_0x5b2a=function(){return _0x89d5be;};return a27_0x5b2a();}
1
+ const a27_0x3aa7bf=a27_0x5c3a;function a27_0x5c3a(_0x2fc9df,_0x5b7df6){const _0x2a85e1=a27_0x2a85();return a27_0x5c3a=function(_0x5c3ab4,_0x6fbd6e){_0x5c3ab4=_0x5c3ab4-0xa2;let _0x58dafa=_0x2a85e1[_0x5c3ab4];return _0x58dafa;},a27_0x5c3a(_0x2fc9df,_0x5b7df6);}(function(_0x47a1cc,_0x25742d){const _0x2c4456=a27_0x5c3a,_0x4075d8=_0x47a1cc();while(!![]){try{const _0x446535=-parseInt(_0x2c4456(0xca))/0x1*(parseInt(_0x2c4456(0xf2))/0x2)+parseInt(_0x2c4456(0xf6))/0x3*(-parseInt(_0x2c4456(0x121))/0x4)+parseInt(_0x2c4456(0xc3))/0x5+-parseInt(_0x2c4456(0xd7))/0x6+parseInt(_0x2c4456(0xc1))/0x7+-parseInt(_0x2c4456(0xcc))/0x8+-parseInt(_0x2c4456(0x109))/0x9*(-parseInt(_0x2c4456(0xe0))/0xa);if(_0x446535===_0x25742d)break;else _0x4075d8['push'](_0x4075d8['shift']());}catch(_0x3b5c39){_0x4075d8['push'](_0x4075d8['shift']());}}}(a27_0x2a85,0xec430));const logger=require(a27_0x3aa7bf(0xb7))[a27_0x3aa7bf(0xb3)],helper=require(a27_0x3aa7bf(0x120)),constants=require(a27_0x3aa7bf(0xce)),hubAllocator=require(a27_0x3aa7bf(0x116)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x3aa7bf(0xf5)),{setAccessibilityCapabilities,setExtension}=require(a27_0x3aa7bf(0xee)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x3aa7bf(0xe7)),globals=require(a27_0x3aa7bf(0xbf)),modify=(_0x47a073,_0x293218=null,_0x253f82=![])=>{const _0x4f014a=a27_0x3aa7bf,_0x578f61={'STUgV':function(_0x2ccb8a,_0x420248){return _0x2ccb8a!==_0x420248;},'FZWOu':_0x4f014a(0xa3),'wokvl':function(_0x2d370f,_0x2817f1){return _0x2d370f!==_0x2817f1;},'jysvq':function(_0x28f445,_0x2951ed){return _0x28f445+_0x2951ed;},'adKBZ':function(_0x1945b8,_0x4723cf){return _0x1945b8+_0x4723cf;},'bFGLH':_0x4f014a(0xdc),'lgEXN':_0x4f014a(0x11b),'qfUFU':_0x4f014a(0xef),'YNavI':_0x4f014a(0xdd),'qxXHL':_0x4f014a(0xc7),'eWGFX':_0x4f014a(0xf0),'qNjvu':_0x4f014a(0xb0),'UdEWV':_0x4f014a(0xa7),'dPTbA':_0x4f014a(0xf7),'sAehe':'se:ieOptions','bJJhk':'ieOptions','FlgCA':function(_0x29b9de,_0x41194d){return _0x29b9de===_0x41194d;},'jkBkw':'object','bSEIi':_0x4f014a(0x10b),'PTfKi':function(_0xd3ca6e,_0x5d329c,_0xfea0f4){return _0xd3ca6e(_0x5d329c,_0xfea0f4);},'RxkoA':'optimalHubUrl','DOvEn':_0x4f014a(0x108),'ctLcM':function(_0x480d89,_0xa88f6,_0x40df2e){return _0x480d89(_0xa88f6,_0x40df2e);},'TXKtK':function(_0x41a4fa,_0x28b13f,_0x375a2f){return _0x41a4fa(_0x28b13f,_0x375a2f);},'OpfNN':_0x4f014a(0xe5),'laYiM':function(_0x1105ee,_0x42041d){return _0x1105ee(_0x42041d);},'jROYC':_0x4f014a(0xfb),'fQUDM':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','gkhnv':function(_0x7831a2){return _0x7831a2();},'HcxmY':function(_0x2b37dd,_0x3d1be9){return _0x2b37dd(_0x3d1be9);},'mZUxz':_0x4f014a(0xe6),'VrzEF':function(_0x2140ff,_0x50616e,_0x5f01e8){return _0x2140ff(_0x50616e,_0x5f01e8);},'zOWbZ':function(_0x313f69,_0x46aadc){return _0x313f69(_0x46aadc);},'dfcOx':function(_0x242bcc,_0x37ac63){return _0x242bcc(_0x37ac63);},'uRGJx':function(_0x1b3643,_0x1617d5){return _0x1b3643!==_0x1617d5;},'ouUGM':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','ufcVR':_0x4f014a(0xad)},_0x2e890e=helper[_0x4f014a(0xc5)]();let _0x5cb875;try{_0x5cb875=helper[_0x4f014a(0xe1)](),_0x5cb875[_0x4f014a(0x119)]&&(_0x5cb875['Builder']=_0x5cb875[_0x4f014a(0x119)]);}catch(_0x580191){return;}if(helper[_0x4f014a(0x10a)]()){const _0x4c15ee={};_0x4c15ee[_0x4f014a(0xf1)]=_0x47a073['browserStackLogLevel'],helper[_0x4f014a(0xc6)](_0x4c15ee,new Map(),new Map()),logger['info'](_0x578f61[_0x4f014a(0xf4)]),logger[_0x4f014a(0xaa)](_0x578f61[_0x4f014a(0x117)]);}class _0x5f1c1a extends _0x2e890e['HttpClient']{[_0x4f014a(0x122)](_0x59b5fd){const _0xa5815c=_0x4f014a;if(_0x578f61['STUgV'](_0x59b5fd[_0xa5815c(0xde)],_0x578f61[_0xa5815c(0x100)])&&_0x578f61[_0xa5815c(0x10e)](global[_0xa5815c(0x10f)],''))try{global['newHubUrl']=_0x578f61[_0xa5815c(0xd2)](_0x578f61[_0xa5815c(0x115)](_0x578f61[_0xa5815c(0x118)],global[_0xa5815c(0x10f)]),_0x578f61[_0xa5815c(0xcf)]),this[_0xa5815c(0xe4)]=hubAllocator[_0xa5815c(0xe2)](global['newHubUrl']),logger[_0xa5815c(0xaa)](_0xa5815c(0xa5)+global[_0xa5815c(0x10f)]),global[_0xa5815c(0x10f)]='';}catch(_0x5f047c){logger['error'](_0x5f047c);}return super[_0xa5815c(0x122)](_0x59b5fd);}}class _0x6c7150 extends _0x5cb875[_0x4f014a(0xf9)]{[_0x4f014a(0xd5)](){const _0x6ecc1=_0x4f014a;return this['url_']=helper[_0x6ecc1(0xfa)](_0x47a073),logger[_0x6ecc1(0xaa)](_0x6ecc1(0xd9)+this[_0x6ecc1(0xcd)]),this;}[_0x4f014a(0xb5)](_0xeb0c03){const _0xef3ef8=_0x4f014a;let _0x4a0855={};for(const _0x440cb8 in _0xeb0c03){switch(_0x440cb8){case _0x578f61[_0xef3ef8(0xb1)]:case _0x578f61[_0xef3ef8(0xa9)]:this['chromeOptions_']&&(_0x4a0855=this[_0xef3ef8(0xaf)][_0xef3ef8(0xf8)](this[_0xef3ef8(0xaf)]['CAPABILITY_KEY'])||{},this[_0xef3ef8(0xaf)][_0xef3ef8(0x101)](this[_0xef3ef8(0xaf)]['CAPABILITY_KEY'],helper[_0xef3ef8(0xa8)](_0x4a0855,_0xeb0c03[_0x440cb8])));break;case _0x578f61[_0xef3ef8(0xed)]:case _0x578f61['eWGFX']:this[_0xef3ef8(0x11f)]&&(_0x4a0855=this[_0xef3ef8(0x11f)][_0xef3ef8(0xf8)](this[_0xef3ef8(0x11f)][_0xef3ef8(0xb2)])||{},this['edgeOptions_'][_0xef3ef8(0x101)](this[_0xef3ef8(0x11f)]['CAPABILITY_KEY'],helper[_0xef3ef8(0xa8)](_0x4a0855,_0xeb0c03[_0x440cb8])));break;case _0x578f61[_0xef3ef8(0x112)]:case _0x578f61[_0xef3ef8(0xd1)]:this[_0xef3ef8(0xf3)]&&(_0x4a0855=this[_0xef3ef8(0xf3)][_0xef3ef8(0xf8)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0xef3ef8(0xf3)][_0xef3ef8(0x101)](this[_0xef3ef8(0xf3)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x4a0855,_0xeb0c03[_0x440cb8])));break;case _0x578f61[_0xef3ef8(0x110)]:this[_0xef3ef8(0x11d)]&&(_0x4a0855=this[_0xef3ef8(0x11d)]['get'](this[_0xef3ef8(0x11d)][_0xef3ef8(0xb2)])||{},this[_0xef3ef8(0x11d)]['set'](this[_0xef3ef8(0x11d)][_0xef3ef8(0xb2)],helper['mergeDeep'](_0x4a0855,_0xeb0c03[_0x440cb8])));break;case _0x578f61[_0xef3ef8(0xc4)]:case _0x578f61[_0xef3ef8(0xba)]:this[_0xef3ef8(0xe3)]&&(_0x4a0855=this[_0xef3ef8(0xe3)][_0xef3ef8(0xf8)](this['ieOptions_']['CAPABILITY_KEY'])||{},this[_0xef3ef8(0xe3)][_0xef3ef8(0x101)](this[_0xef3ef8(0xe3)][_0xef3ef8(0xb2)],helper[_0xef3ef8(0xa8)](_0x4a0855,_0xeb0c03[_0x440cb8])));break;}}}[_0x4f014a(0xae)](){const _0x4d925f=_0x4f014a;return logger[_0x4d925f(0xaa)](_0x578f61[_0x4d925f(0xb6)]),this[_0x4d925f(0xb5)](_0x47a073[_0x4d925f(0xfd)]),Object['keys'](_0x47a073['capability'])[_0x4d925f(0xe9)](_0x1a3764=>{const _0x1bfbb3=_0x4d925f,_0x2a9882=this[_0x1bfbb3(0x11c)][_0x1bfbb3(0xf8)](_0x1a3764);_0x578f61[_0x1bfbb3(0xc2)](typeof _0x2a9882,_0x578f61[_0x1bfbb3(0x10c)])?this[_0x1bfbb3(0x11c)][_0x1bfbb3(0x101)](_0x1a3764,helper['mergeDeep'](_0x2a9882,_0x47a073[_0x1bfbb3(0xfd)][_0x1a3764])):this[_0x1bfbb3(0x11c)][_0x1bfbb3(0x101)](_0x1a3764,_0x47a073[_0x1bfbb3(0xfd)][_0x1a3764]);}),this;}[_0x4f014a(0xfc)](){const _0x428305=_0x4f014a,_0x42137f={'tBIFF':_0x578f61['RxkoA'],'pqmAE':_0x578f61[_0x428305(0xa2)],'QumEo':function(_0x24a678,_0xbfda75,_0x50617f){const _0x4e126a=_0x428305;return _0x578f61[_0x4e126a(0xeb)](_0x24a678,_0xbfda75,_0x50617f);},'AZgEh':function(_0x35c14c,_0x3a8bff,_0x3b85c1){const _0xa626d5=_0x428305;return _0x578f61[_0xa626d5(0xab)](_0x35c14c,_0x3a8bff,_0x3b85c1);},'MJaKB':_0x578f61[_0x428305(0x114)],'pCuIE':function(_0xc49678,_0x101bbb){const _0x3cda3f=_0x428305;return _0x578f61[_0x3cda3f(0x106)](_0xc49678,_0x101bbb);}};if(helper[_0x428305(0x10a)]()){const _0x402d59=_0x578f61[_0x428305(0x107)]['split']('|');let _0x44e4fa=0x0;while(!![]){switch(_0x402d59[_0x44e4fa++]){case'0':if(helper[_0x428305(0xd6)](_0x47a073[_0x428305(0x124)][_0x428305(0xdb)]))this[_0x428305(0x111)]=helper[_0x428305(0xd3)](_0x47a073[_0x428305(0x124)][_0x428305(0xdb)]);else _0x47a073[_0x428305(0x124)][_0x428305(0xdb)]&&(this['proxy_']=_0x47a073['proxySettings'][_0x428305(0xdb)],logger['debug'](_0x428305(0x11e)+this['proxy_']));continue;case'1':this[_0x428305(0xae)]();continue;case'2':logger[_0x428305(0xaa)](_0x578f61[_0x428305(0xb8)]);continue;case'3':_0x578f61[_0x428305(0xbb)](isAccessibilityAutomationSession)&&_0x578f61[_0x428305(0xbe)](setAccessibilityCapabilities,_0x47a073);continue;case'4':this['setServer']();continue;case'5':globals[_0x428305(0xe8)](_0x578f61[_0x428305(0xc8)])&&(!_0x578f61[_0x428305(0xc9)](setExtension,this,_0x47a073)&&globals[_0x428305(0x123)](_0x578f61[_0x428305(0xc8)],![]));continue;}break;}}const _0x1a6c6e=super['build']();return _0x1a6c6e[_0x428305(0x11a)][_0x428305(0x102)](_0x4843e1=>{const _0x8d1dc7=_0x428305;try{const _0xe67a96=_0x4843e1[_0x8d1dc7(0xea)][_0x8d1dc7(0xf8)](_0x42137f['tBIFF']);_0xe67a96?(logger[_0x8d1dc7(0xaa)](_0x8d1dc7(0xa4)+_0xe67a96),hubAllocator[_0x8d1dc7(0xbc)](_0xe67a96),helper[_0x8d1dc7(0xbd)](_0xe67a96)):logger[_0x8d1dc7(0xaa)](_0x42137f[_0x8d1dc7(0xda)]);}catch(_0x3b8777){logger[_0x8d1dc7(0xaa)](_0x8d1dc7(0xd0)+_0x3b8777);}}),_0x1a6c6e[_0x428305(0x104)]=0x0,_0x1a6c6e[_0x428305(0x102)]&&_0x1a6c6e[_0x428305(0x102)](_0xcdedb5=>{const _0x240f3c=_0x428305,_0x30b1ad=_0x42137f[_0x240f3c(0xff)]['split']('|');let _0x3eab82=0x0;while(!![]){switch(_0x30b1ad[_0x3eab82++]){case'0':_0x42137f[_0x240f3c(0xd4)](overrideQuit,_0xcdedb5,_0x1a6c6e);continue;case'1':_0xcdedb5[_0x240f3c(0xb4)]=async()=>{return await _0x42137f['AZgEh'](getAccessibilityResults,_0xcdedb5,global);};continue;case'2':helper[_0x240f3c(0xb9)](_0xcdedb5,_0x47a073);continue;case'3':_0xcdedb5[_0x240f3c(0xc0)]=async()=>{return await _0x42137f['QumEo'](getAccessibilityResultsSummary,_0xcdedb5,global);};continue;case'4':_0x42137f['pCuIE'](overrideTakeScreenshot,_0xcdedb5);continue;case'5':helper[_0x240f3c(0xac)](_0xcdedb5,_0x47a073);continue;}break;}}),_0x1a6c6e[_0x428305(0xc0)]=async()=>{const _0x4dc8cf=_0x428305;return await _0x42137f[_0x4dc8cf(0xd4)](getAccessibilityResultsSummary,_0x1a6c6e,global);},_0x1a6c6e['getAccessibilityResults']=async()=>{return await _0x578f61['PTfKi'](getAccessibilityResults,_0x1a6c6e,global);},_0x578f61[_0x428305(0xfe)](overrideTakeScreenshot,_0x1a6c6e),_0x578f61['dfcOx'](overrideQuit,_0x1a6c6e),helper[_0x428305(0xb9)](_0x1a6c6e,_0x47a073),helper['overrideExecute'](_0x1a6c6e,_0x47a073),helper[_0x428305(0xcb)](global[_0x428305(0xd8)])&&(global['__driversArray']=[]),helper[_0x428305(0xcb)](global[_0x428305(0xec)])&&(global[_0x428305(0xec)]=[]),global['__driversArray'][_0x428305(0x113)](_0x1a6c6e),global[_0x428305(0x103)]=_0x1a6c6e,_0x578f61['wokvl'](global[_0x428305(0xec)],undefined)&&global[_0x428305(0xec)][_0x428305(0x113)](_0x1a6c6e),_0x293218&&helper[_0x428305(0xcb)](_0x293218[_0x428305(0xa6)][_0x428305(0xd8)])&&(_0x293218[_0x428305(0xa6)][_0x428305(0xd8)]=[]),_0x293218&&_0x578f61['uRGJx'](_0x293218[_0x428305(0xa6)][_0x428305(0xec)],undefined)&&(_0x293218[_0x428305(0xa6)][_0x428305(0xec)]['push'](_0x1a6c6e),_0x293218[_0x428305(0xa6)][_0x428305(0xd8)][_0x428305(0x113)](_0x1a6c6e)),_0x1a6c6e;}}return _0x5cb875[_0x4f014a(0x119)]=_0x5cb875[_0x4f014a(0xf9)],_0x5cb875[_0x4f014a(0xf9)]=_0x6c7150,_0x2e890e[_0x4f014a(0xdf)]=_0x5f1c1a,_0x5cb875;};module[a27_0x3aa7bf(0x10d)][a27_0x3aa7bf(0x105)]=modify;function a27_0x2a85(){const _0x1791f1=['firefoxOptions','mergeDeep','YNavI','debug','TXKtK','overrideExecute','Modifying\x20webdriver\x20builder','setCapabilities','chromeOptions_','moz:firefoxOptions','qfUFU','CAPABILITY_KEY','winstonLogger','getAccessibilityResults','__setBrowserOptions','bSEIi','../../../helpers/logger','fQUDM','overrideGet','bJJhk','gkhnv','updateHubUrl','storeOptimalHubUrl','HcxmY','../../../helpers/globals','getAccessibilityResultsSummary','9755599BfesZq','FlgCA','5381255obtbcd','sAehe','requireHttpClient','setLogLevel','ms:edgeOptions','mZUxz','VrzEF','1428574HuOvYa','isUndefined','15341880pzjCKw','url_','../../../bin/utils/constants','lgEXN','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','UdEWV','jysvq','getHttpAgent','AZgEh','setServer','isPacProxy','11125092lCnJKn','__driversArray','Hub\x20url\x20set\x20to\x20','pqmAE','proxyUrl','https://','chromeOptions','path','HttpClient','715940iQkVlU','requireSeleniumWebdriver','getRequestOptions','ieOptions_','options_','0|4|2|5|3|1','isAccessibilityPlatform','../../../helpers/accessibility-automation/helper','getGlobal','forEach','caps_','ctLcM','__drivers','qxXHL','../accessibility-automation/helper','goog:chromeOptions','edgeOptions','logLevel','2lMWbOs','firefoxOptions_','ouUGM','../../../helpers/patchHelpers','9PlROkB','safari.options','get','Builder','getHubUrl','3|4|1|0|5|2','build','capability','zOWbZ','MJaKB','FZWOu','set','then','__driver','quitCount_','browserstackAgentObservability','laYiM','jROYC','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','477OurEYg','isBrowserstackInfra','Setting\x20Browserstack\x20capabilities','jkBkw','exports','wokvl','newHubUrl','dPTbA','agent_','qNjvu','push','OpfNN','adKBZ','../../../hubAllocationMethods','ufcVR','bFGLH','originalBuilder','session_','/wd/hub','capabilities_','safariOptions_','Proxy\x20set\x20to\x20','edgeOptions_','../../../helpers/helper','128228NQRetf','send','setGlobal','proxySettings','DOvEn','/session','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','New\x20hub\x20url\x20set\x20to\x20','global'];a27_0x2a85=function(){return _0x1791f1;};return a27_0x2a85();}
@@ -1 +1 @@
1
- function a28_0x423b(_0x44bc0e,_0x462b85){const _0x181d69=a28_0x181d();return a28_0x423b=function(_0x423bd5,_0x4563a2){_0x423bd5=_0x423bd5-0x72;let _0x4e9f45=_0x181d69[_0x423bd5];return _0x4e9f45;},a28_0x423b(_0x44bc0e,_0x462b85);}const a28_0x7c7253=a28_0x423b;(function(_0x45bdd4,_0x1a6719){const _0x282934=a28_0x423b,_0x27a501=_0x45bdd4();while(!![]){try{const _0x37b02f=-parseInt(_0x282934(0x7c))/0x1+-parseInt(_0x282934(0x7b))/0x2*(parseInt(_0x282934(0x7d))/0x3)+parseInt(_0x282934(0x77))/0x4+-parseInt(_0x282934(0x72))/0x5+-parseInt(_0x282934(0x74))/0x6+-parseInt(_0x282934(0x7e))/0x7+-parseInt(_0x282934(0x7a))/0x8*(-parseInt(_0x282934(0x76))/0x9);if(_0x37b02f===_0x1a6719)break;else _0x27a501['push'](_0x27a501['shift']());}catch(_0x19fe42){_0x27a501['push'](_0x27a501['shift']());}}}(a28_0x181d,0x37925));const requestSpy=require('../../../helpers/request-spy'),constants=require(a28_0x7c7253(0x73)),{addRequestSpy}=require(a28_0x7c7253(0x75));function a28_0x181d(){const _0x1086fa=['152lLUkKm','8AmHTvw','195645kdmVxl','237486FciZVc','3146843XAJsaP','946505MRWRkg','../../../bin/utils/constants','1031508JusrfZ','../../../helpers/test-observability/utils','543465UAkTYq','1613468qJbJNg','restore','mochaHooks'];a28_0x181d=function(){return _0x1086fa;};return a28_0x181d();}exports[a28_0x7c7253(0x79)]={'beforeAll'(){const _0x274518={'CvzGt':function(_0x25f640){return _0x25f640();}},_0xdcc74='browserstack internal helper hook';_0x274518['CvzGt'](addRequestSpy);},'afterAll'(){const _0x3ad08c=a28_0x7c7253,_0x38e555='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x3ad08c(0x78)]();}};
1
+ function a28_0x2926(_0x43f393,_0xfed38){const _0x49f8d3=a28_0x49f8();return a28_0x2926=function(_0x292607,_0x4c4427){_0x292607=_0x292607-0x1e3;let _0x149dec=_0x49f8d3[_0x292607];return _0x149dec;},a28_0x2926(_0x43f393,_0xfed38);}const a28_0x33579a=a28_0x2926;function a28_0x49f8(){const _0x3c1232=['9RbzQwL','timeout','3620940guedlk','1594248OProvN','3938fILlUI','61441gzqIks','90nuIlDT','../../../helpers/test-observability/utils','mochaHooks','restore','4uNzWJF','670110hexEOG','804CWDtaC','../../../helpers/request-spy','29772THFlUy','10kxXXOs','795819qWckuv'];a28_0x49f8=function(){return _0x3c1232;};return a28_0x49f8();}(function(_0x3e57c7,_0x4bcce7){const _0x1ea19d=a28_0x2926,_0x8a54d7=_0x3e57c7();while(!![]){try{const _0x2ce2c8=parseInt(_0x1ea19d(0x1ea))/0x1*(-parseInt(_0x1ea19d(0x1e3))/0x2)+-parseInt(_0x1ea19d(0x1e4))/0x3*(-parseInt(_0x1ea19d(0x1ef))/0x4)+parseInt(_0x1ea19d(0x1eb))/0x5*(-parseInt(_0x1ea19d(0x1f1))/0x6)+-parseInt(_0x1ea19d(0x1f0))/0x7+-parseInt(_0x1ea19d(0x1e8))/0x8*(parseInt(_0x1ea19d(0x1e5))/0x9)+-parseInt(_0x1ea19d(0x1e7))/0xa+parseInt(_0x1ea19d(0x1e9))/0xb*(parseInt(_0x1ea19d(0x1f3))/0xc);if(_0x2ce2c8===_0x4bcce7)break;else _0x8a54d7['push'](_0x8a54d7['shift']());}catch(_0x25fb46){_0x8a54d7['push'](_0x8a54d7['shift']());}}}(a28_0x49f8,0x2d97d));const requestSpy=require(a28_0x33579a(0x1f2)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a28_0x33579a(0x1ec));exports[a28_0x33579a(0x1ed)]={'beforeAll'(){const _0x4d0cb7={'lOCwV':function(_0x4ccf76){return _0x4ccf76();}},_0x555fd4='browserstack internal helper hook';_0x4d0cb7['lOCwV'](addRequestSpy);},'afterAll'(){const _0x300315=a28_0x33579a,_0x1d8061='browserstack internal helper hook';this[_0x300315(0x1e6)](0xea60),requestSpy[_0x300315(0x1ee)]();}};
@@ -1 +1 @@
1
- const a29_0x192270=a29_0x434a;(function(_0x1eb9fb,_0x3719fb){const _0x143df5=a29_0x434a,_0x4714bf=_0x1eb9fb();while(!![]){try{const _0x5864b0=parseInt(_0x143df5(0xc4))/0x1+parseInt(_0x143df5(0xd7))/0x2+-parseInt(_0x143df5(0x91))/0x3+-parseInt(_0x143df5(0x8a))/0x4+-parseInt(_0x143df5(0xbd))/0x5+parseInt(_0x143df5(0xd4))/0x6*(parseInt(_0x143df5(0xa2))/0x7)+parseInt(_0x143df5(0xb7))/0x8;if(_0x5864b0===_0x3719fb)break;else _0x4714bf['push'](_0x4714bf['shift']());}catch(_0x5b8323){_0x4714bf['push'](_0x4714bf['shift']());}}}(a29_0x5828,0xe2c22));function a29_0x5828(){const _0x2e77ba=['markedStatus','ciHBu','zDnar','slice','1804746VkSCUU','bzgwC','appium:app','796932HbKJPg','sendPlatformDetails','rDsVk','jxnAy','_beforeEach','mapTestHooks','UirKN','../../utils/logPatcher','UhBUI','type','zOSfp','qnUDJ','tQTCq','_beforeAll','QmkkZ','getHookSkippedTests','728076lWypjf','vJzKQ','uuid','tests','state','PysqK','JysZW','1390239IHkLpi','fwkSL','../../../helpers/helper','failed','JfieY','TEST_PLATFORM','bs:addPlatformDetails:','jerUT','toISOString','ZLNJA','toJSON','__cloud_provider___','XrXQe','../../../../package.json','getHookDetails','HMWiD','nVCyg','7SFAIaj','getBrowserVersion','indexOf','IHZFi','pending','../../../helpers/testhub/utils','gxHwJ','_afterEach','OrLZa','browserstack','../../utils/logReportingAPI','parent','emit','concat','fromEntries','lhzVC','automate','hook','hookAnalyticsId','suites','cvhVA','15380344qiySAO','app','VxWJf','getBrowserName','pid','_afterAll','8433840WIMNlE','ZMtIJ','substring','dDEXP','generic','string','keys','639202UwCtip','OezEa','../../../helpers/test-observability/utils','getHooksForTest','split','getSession','unknown_grid','getCapabilities','Mpvnr','BbXUp','forEach','aCvVd'];a29_0x5828=function(){return _0x2e77ba;};return a29_0x5828();}function a29_0x434a(_0x564d33,_0x54d2d2){const _0x58285f=a29_0x5828();return a29_0x434a=function(_0x434ae8,_0x1fbb51){_0x434ae8=_0x434ae8-0x81;let _0x471e57=_0x58285f[_0x434ae8];return _0x471e57;},a29_0x434a(_0x564d33,_0x54d2d2);}const {v4:uuidv4}=require(a29_0x192270(0x8c)),{name,version}=require(a29_0x192270(0x9e)),logPatcher=require(a29_0x192270(0x81)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x192270(0xac)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x192270(0xc6)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a29_0x192270(0x93)),{shouldProcessEventForTesthub}=require(a29_0x192270(0xa7));console={},Object[a29_0x192270(0xc3)](consoleHolder)['forEach'](_0x2697cd=>{console[_0x2697cd]=(..._0x47b49c)=>{BSTestOpsPatcher[_0x2697cd](..._0x47b49c);};}),exports['getTestEnv']=()=>{const _0x2c7ee5=a29_0x192270,_0x238ff8={'GQRvc':_0x2c7ee5(0xc1),'JysZW':function(_0x1cbda4){return _0x1cbda4();}};return{'ci':_0x238ff8['GQRvc'],'key':_0x238ff8[_0x2c7ee5(0x90)](uuidv4),'version':version,'collector':'js-'+name};},exports[a29_0x192270(0x9f)]=_0x1e568a=>{const _0x380102=a29_0x192270,_0x2aa878={};_0x2aa878['zDnar']=function(_0x44da52,_0x9932a4){return _0x44da52!==_0x9932a4;},_0x2aa878[_0x380102(0x82)]=_0x380102(0xc2),_0x2aa878['QmkkZ']='hook:',_0x2aa878[_0x380102(0xcc)]=_0x380102(0xb3);const _0x16e6b9=_0x2aa878;if(!_0x1e568a||_0x16e6b9[_0x380102(0xd2)](typeof _0x1e568a,_0x16e6b9[_0x380102(0x82)]))return[null,null];if(_0x16e6b9['zDnar'](_0x1e568a['indexOf'](_0x16e6b9['QmkkZ']),-0x1)){const _0x46f3be=_0x1e568a[_0x380102(0xc8)](_0x16e6b9[_0x380102(0x88)]);return[_0x46f3be[0x0][_0x380102(0xd3)](0x0,-0x1)[_0x380102(0xc8)]('\x22')[0x1],_0x46f3be[0x1][_0x380102(0xbf)](0x1)];}else{if(_0x16e6b9[_0x380102(0xd2)](_0x1e568a[_0x380102(0xa4)](_0x16e6b9[_0x380102(0xcc)]),-0x1)){const _0x3ed1e3=_0x1e568a[_0x380102(0xc8)](_0x16e6b9[_0x380102(0xcc)]);return[_0x3ed1e3[0x0]['slice'](0x0,-0x1)[_0x380102(0xc8)]('\x22')[0x1],_0x1e568a];}}return[null,null];},exports[a29_0x192270(0xc7)]=_0x34828d=>{const _0x354bd1=a29_0x192270,_0x51e423={'OrLZa':function(_0x3cea9c,_0x5454e7){return _0x3cea9c(_0x5454e7);},'aCvVd':'_beforeAll','ciHBu':_0x354bd1(0xbc),'vJzKQ':'_beforeEach','OezEa':_0x354bd1(0xa9)};if(!_0x34828d||!_0x34828d[_0x354bd1(0xad)])return[];const _0x8dac44=[];return[_0x51e423[_0x354bd1(0xcf)],_0x51e423[_0x354bd1(0xd1)],_0x51e423[_0x354bd1(0x8b)],_0x51e423[_0x354bd1(0xc5)]][_0x354bd1(0xce)](_0x5df83e=>{const _0x1719f0=_0x354bd1,_0x110fb4={'shBgX':function(_0x3f3b54,_0x3dc30c){const _0x5d0925=a29_0x434a;return _0x51e423[_0x5d0925(0xaa)](_0x3f3b54,_0x3dc30c);}},_0x178810=_0x34828d['parent'][_0x5df83e]||[];_0x178810[_0x1719f0(0xce)](_0xad1b62=>{const _0x4330ab=_0x1719f0;_0xad1b62[_0x4330ab(0xb4)]&&!_0x110fb4['shBgX'](isInternalHook,_0xad1b62['fn'])&&_0x8dac44['push'](_0xad1b62[_0x4330ab(0xb4)]);});}),[..._0x8dac44,...exports['getHooksForTest'](_0x34828d[_0x354bd1(0xad)])];},exports[a29_0x192270(0xdc)]=_0x1e924e=>{const _0x27c224=a29_0x192270,_0x19d1ce={'tQTCq':function(_0x48117d){return _0x48117d();},'VNNMN':function(_0x508971,_0x129e51){return _0x508971===_0x129e51;},'qnUDJ':_0x27c224(0xa9),'OvBff':function(_0x3e3048){return _0x3e3048();},'PysqK':_0x27c224(0x87),'nVCyg':_0x27c224(0xbc),'rDsVk':_0x27c224(0xdb)};if(!_0x1e924e||!_0x1e924e[_0x27c224(0xad)])return;[_0x19d1ce[_0x27c224(0x8f)],_0x19d1ce[_0x27c224(0xa1)],_0x19d1ce[_0x27c224(0xd9)],_0x19d1ce['qnUDJ']][_0x27c224(0xce)](_0x291251=>{const _0x270b06=_0x27c224,_0x3f42c7={'VxWJf':function(_0x3521cc){const _0x322bcc=a29_0x434a;return _0x19d1ce[_0x322bcc(0x86)](_0x3521cc);},'dDEXP':function(_0x454e5d,_0x2c3d0c){return _0x19d1ce['VNNMN'](_0x454e5d,_0x2c3d0c);},'UirKN':_0x19d1ce[_0x270b06(0x85)],'afkvK':function(_0x425f1c){return _0x19d1ce['OvBff'](_0x425f1c);}},_0x1a4cfa=_0x1e924e['parent'][_0x291251]||[];_0x1a4cfa['forEach'](_0x37f391=>{const _0x1e5467=_0x270b06;if(!_0x37f391[_0x1e5467(0xb4)])_0x37f391[_0x1e5467(0xb4)]=_0x3f42c7[_0x1e5467(0xb9)](uuidv4);else _0x37f391[_0x1e5467(0xd0)]&&_0x3f42c7[_0x1e5467(0xc0)](_0x291251,_0x3f42c7[_0x1e5467(0xdd)])&&(_0x37f391[_0x1e5467(0xb4)]=_0x3f42c7['afkvK'](uuidv4),delete _0x37f391[_0x1e5467(0xd0)]);});}),exports[_0x27c224(0xdc)](_0x1e924e[_0x27c224(0xad)]);},exports[a29_0x192270(0xd8)]=async(_0x3d9607,_0x3bc673)=>{const _0x48c8e5=a29_0x192270,_0x493e60={'bzgwC':function(_0x59e358){return _0x59e358();},'gxHwJ':function(_0x4fe09f,_0x4bcc99){return _0x4fe09f===_0x4bcc99;},'JfieY':_0x48c8e5(0xab),'BbXUp':_0x48c8e5(0xd6),'lhzVC':_0x48c8e5(0xb8),'IHZFi':'app-automate','QjmZX':_0x48c8e5(0xb2),'jxnAy':function(_0xb0f9c8,_0x1af63b){return _0xb0f9c8(_0x1af63b);},'HMWiD':_0x48c8e5(0xca),'ZLNJA':_0x48c8e5(0x96),'XrXQe':function(_0x39d937,_0x1ba12f){return _0x39d937(_0x1ba12f);}};try{if(!_0x493e60[_0x48c8e5(0xd5)](shouldProcessEventForTesthub))return;const _0x4e3529=await _0x3d9607[_0x48c8e5(0xcb)](),_0x3aefc4=await _0x3d9607[_0x48c8e5(0xc9)](),_0x15de00={},_0x191434=Object[_0x48c8e5(0xb0)](_0x3aefc4[_0x48c8e5(0xcb)]()['map_']),_0x5f4b44={'product':_0x493e60[_0x48c8e5(0xa8)](global[_0x48c8e5(0x9c)],_0x493e60[_0x48c8e5(0x95)])?_0x191434[_0x493e60[_0x48c8e5(0xcd)]]||_0x191434[_0x493e60[_0x48c8e5(0xb1)]]?_0x493e60[_0x48c8e5(0xa5)]:_0x493e60['QjmZX']:null,'capabilities':_0x191434,'platform':_0x4e3529['getPlatform'](),'platform_version':_0x493e60[_0x48c8e5(0xda)](getPlatformVersion,_0x493e60['gxHwJ'](global[_0x48c8e5(0x9c)],_0x493e60[_0x48c8e5(0x95)])),'browser':_0x4e3529[_0x48c8e5(0xba)](),'browser_version':_0x4e3529[_0x48c8e5(0xa3)](),'session_id':_0x3aefc4[_0x48c8e5(0x9b)]()};global[_0x48c8e5(0x9c)]?_0x15de00[global[_0x48c8e5(0x9c)]]=_0x5f4b44:_0x15de00[_0x493e60[_0x48c8e5(0xa0)]]=_0x5f4b44,process[_0x48c8e5(0xae)](_0x48c8e5(0x97)+process[_0x48c8e5(0xbb)],{'timestamp':new Date()[_0x48c8e5(0x99)](),'level':null,'message':null,'kind':_0x493e60[_0x48c8e5(0x9a)],'http_response':_0x15de00,'uuid':_0x3bc673});}catch(_0x3aaabb){_0x493e60[_0x48c8e5(0x9d)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x3aaabb);}},exports[a29_0x192270(0x89)]=_0x515a18=>{const _0x2f973f=a29_0x192270,_0x1aab1e={};_0x1aab1e[_0x2f973f(0x92)]=function(_0xc65c8a,_0x32adf7){return _0xc65c8a!==_0x32adf7;},_0x1aab1e['ZMtIJ']=_0x2f973f(0xb3),_0x1aab1e[_0x2f973f(0x98)]='passed',_0x1aab1e[_0x2f973f(0xb6)]=function(_0x37b68f,_0x2602a4){return _0x37b68f!==_0x2602a4;},_0x1aab1e[_0x2f973f(0x84)]=_0x2f973f(0x94);const _0x4d9860=_0x1aab1e,_0x169046=_0x515a18[_0x2f973f(0xb5)]['reduce']((_0x18ec2b,_0x2c07e7)=>{const _0x92a54d=_0x2f973f,_0x11632b=exports[_0x92a54d(0x89)](_0x2c07e7);return _0x11632b&&(_0x18ec2b=_0x18ec2b[_0x92a54d(0xaf)](_0x11632b)),_0x18ec2b;},[]),_0x14bcd2=_0x515a18[_0x2f973f(0x8d)]['filter'](_0x56813c=>{const _0x2dc4b5=_0x2f973f,_0x3b484a=_0x4d9860[_0x2dc4b5(0x92)](_0x56813c[_0x2dc4b5(0x83)],_0x4d9860[_0x2dc4b5(0xbe)])&&!_0x56813c[_0x2dc4b5(0xd0)]&&_0x4d9860[_0x2dc4b5(0x92)](_0x56813c['state'],_0x4d9860[_0x2dc4b5(0x98)])&&_0x4d9860['cvhVA'](_0x56813c[_0x2dc4b5(0x8e)],_0x4d9860[_0x2dc4b5(0x84)])&&!_0x56813c[_0x2dc4b5(0xa6)];return _0x3b484a;});return _0x14bcd2['concat'](_0x169046);};
1
+ const a29_0x123c6c=a29_0x1337;function a29_0x425d(){const _0x333401=['zsCfD','TEST_PLATFORM','uuid','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','hook:','getTestEnv','jGAWM','getBrowserName','tpmjE','740192zLvXuk','app','../../../../package.json','getHookDetails','IJxUM','__cloud_provider___','HzOAC','bs:addPlatformDetails:','kvQVo','HGdgf','slice','fromEntries','generic','QNwBe','DnBQU','7pRrQaa','XGdHS','404487RZEOEB','HaHOi','sendPlatformDetails','OPdyS','string','NIMqb','hookAnalyticsId','kycbT','BULmg','../../../helpers/test-observability/constants','toJSON','reduce','194190yeyNpi','suites','../../../helpers/helper','indexOf','TRUwe','KXmAi','761781KgkxPG','SEREm','svDwO','WhPAI','filter','getHooksForTest','pending','pid','iDqXt','parent','hUgdV','concat','lyuVQ','eOqcK','split','keys','2410216cEJJyO','_afterEach','emit','gmBXt','getBrowserVersion','dLrib','toISOString','_afterAll','push','mapTestHooks','state','hook','ojUbI','tests','oBwsJ','js-','YuaLD','UAAoc','failed','3988962SDGdIN','Htrxp','132eKCUDK','QCfNs','getCapabilities','markedStatus','vuBTP','784716VmcJAG','forEach'];a29_0x425d=function(){return _0x333401;};return a29_0x425d();}(function(_0xbb651a,_0x58d031){const _0x3cba7c=a29_0x1337,_0x531d49=_0xbb651a();while(!![]){try{const _0x496e25=-parseInt(_0x3cba7c(0xce))/0x1+parseInt(_0x3cba7c(0xf8))/0x2+-parseInt(_0x3cba7c(0xbc))/0x3+parseInt(_0x3cba7c(0x103))/0x4+parseInt(_0x3cba7c(0xc8))/0x5*(parseInt(_0x3cba7c(0xf3))/0x6)+-parseInt(_0x3cba7c(0xba))/0x7*(parseInt(_0x3cba7c(0xde))/0x8)+parseInt(_0x3cba7c(0xf1))/0x9;if(_0x496e25===_0x58d031)break;else _0x531d49['push'](_0x531d49['shift']());}catch(_0x58f1b6){_0x531d49['push'](_0x531d49['shift']());}}}(a29_0x425d,0xa5535));function a29_0x1337(_0x538787,_0x1fa8ba){const _0x425dfb=a29_0x425d();return a29_0x1337=function(_0x1337a8,_0x1155ee){_0x1337a8=_0x1337a8-0xad;let _0x5e4501=_0x425dfb[_0x1337a8];return _0x5e4501;},a29_0x1337(_0x538787,_0x1fa8ba);}const {v4:uuidv4}=require(a29_0x123c6c(0xfc)),{name,version}=require(a29_0x123c6c(0xad)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require('../../utils/logReportingAPI'),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a29_0x123c6c(0xc5)),{getPlatformVersion}=require(a29_0x123c6c(0xca)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils');console={},Object[a29_0x123c6c(0xdd)](consoleHolder)[a29_0x123c6c(0xf9)](_0x1ee120=>{console[_0x1ee120]=(..._0x4b0924)=>{BSTestOpsPatcher[_0x1ee120](..._0x4b0924);};}),exports[a29_0x123c6c(0xff)]=()=>{const _0x3bb4d6=a29_0x123c6c,_0x23b90b={'bpHbf':_0x3bb4d6(0xb7),'FEkhA':function(_0x431a2c){return _0x431a2c();}};return{'ci':_0x23b90b['bpHbf'],'key':_0x23b90b['FEkhA'](uuidv4),'version':version,'collector':_0x3bb4d6(0xed)+name};},exports[a29_0x123c6c(0xae)]=_0x385f4a=>{const _0x5e1368=a29_0x123c6c,_0x5f0bdd={};_0x5f0bdd['kvQVo']=function(_0x390163,_0x23774c){return _0x390163!==_0x23774c;},_0x5f0bdd[_0x5e1368(0xd0)]=_0x5e1368(0xc0),_0x5f0bdd['HGdgf']=_0x5e1368(0xfe),_0x5f0bdd[_0x5e1368(0xf2)]=function(_0x25af23,_0x154a24){return _0x25af23!==_0x154a24;},_0x5f0bdd[_0x5e1368(0xdb)]='hook';const _0x335c7f=_0x5f0bdd;if(!_0x385f4a||_0x335c7f['kvQVo'](typeof _0x385f4a,_0x335c7f[_0x5e1368(0xd0)]))return[null,null];if(_0x335c7f[_0x5e1368(0xb3)](_0x385f4a[_0x5e1368(0xcb)](_0x335c7f[_0x5e1368(0xb4)]),-0x1)){const _0x2e4f7b=_0x385f4a[_0x5e1368(0xdc)](_0x335c7f[_0x5e1368(0xb4)]);return[_0x2e4f7b[0x0][_0x5e1368(0xb5)](0x0,-0x1)['split']('\x22')[0x1],_0x2e4f7b[0x1]['substring'](0x1)];}else{if(_0x335c7f[_0x5e1368(0xf2)](_0x385f4a[_0x5e1368(0xcb)](_0x335c7f[_0x5e1368(0xdb)]),-0x1)){const _0x7f417d=_0x385f4a[_0x5e1368(0xdc)](_0x335c7f[_0x5e1368(0xdb)]);return[_0x7f417d[0x0][_0x5e1368(0xb5)](0x0,-0x1)[_0x5e1368(0xdc)]('\x22')[0x1],_0x385f4a];}}return[null,null];},exports[a29_0x123c6c(0xd3)]=_0x14b303=>{const _0x2805f8=a29_0x123c6c,_0x1b56af={'jGAWM':function(_0x3ff0f4,_0x15330d){return _0x3ff0f4(_0x15330d);},'gmBXt':'_beforeAll','XGdHS':_0x2805f8(0xe5),'tpmjE':'_beforeEach','oBwsJ':_0x2805f8(0xdf)};if(!_0x14b303||!_0x14b303['parent'])return[];const _0x24c94e=[];return[_0x1b56af[_0x2805f8(0xe1)],_0x1b56af[_0x2805f8(0xbb)],_0x1b56af[_0x2805f8(0x102)],_0x1b56af[_0x2805f8(0xec)]][_0x2805f8(0xf9)](_0x7e37ba=>{const _0x127a0f=_0x2805f8,_0x3a8d28={'YuaLD':function(_0x24f0de,_0x50dc71){const _0x4725aa=a29_0x1337;return _0x1b56af[_0x4725aa(0x100)](_0x24f0de,_0x50dc71);}},_0x31b519=_0x14b303[_0x127a0f(0xd7)][_0x7e37ba]||[];_0x31b519['forEach'](_0x290497=>{const _0x18891a=_0x127a0f;_0x290497[_0x18891a(0xc2)]&&!_0x3a8d28[_0x18891a(0xee)](isInternalHook,_0x290497['fn'])&&_0x24c94e[_0x18891a(0xe6)](_0x290497['hookAnalyticsId']);});}),[..._0x24c94e,...exports[_0x2805f8(0xd3)](_0x14b303['parent'])];},exports[a29_0x123c6c(0xe7)]=_0x332bd9=>{const _0x514794=a29_0x123c6c,_0x499d71={'BULmg':function(_0x2cd3e0){return _0x2cd3e0();},'zsCfD':function(_0x24b09f,_0x28da28){return _0x24b09f===_0x28da28;},'lyuVQ':_0x514794(0xdf),'kycbT':function(_0xb88c2f){return _0xb88c2f();},'SEREm':'_beforeAll','koLiH':'_afterAll','NIMqb':'_beforeEach'};if(!_0x332bd9||!_0x332bd9[_0x514794(0xd7)])return;[_0x499d71[_0x514794(0xcf)],_0x499d71['koLiH'],_0x499d71[_0x514794(0xc1)],_0x499d71[_0x514794(0xda)]][_0x514794(0xf9)](_0x302f7c=>{const _0x1c8724=_0x514794,_0x482ae8={'vuBTP':function(_0x18fbdf){const _0x4c74b8=a29_0x1337;return _0x499d71[_0x4c74b8(0xc4)](_0x18fbdf);},'YtqFh':function(_0x49f6c8,_0x1af60d){const _0x500698=a29_0x1337;return _0x499d71[_0x500698(0xfa)](_0x49f6c8,_0x1af60d);},'QNwBe':_0x499d71[_0x1c8724(0xda)],'UAAoc':function(_0x3bff8d){const _0x4663ed=_0x1c8724;return _0x499d71[_0x4663ed(0xc3)](_0x3bff8d);}},_0x49c79d=_0x332bd9['parent'][_0x302f7c]||[];_0x49c79d[_0x1c8724(0xf9)](_0x29f79c=>{const _0x2f6ab0=_0x1c8724;if(!_0x29f79c[_0x2f6ab0(0xc2)])_0x29f79c[_0x2f6ab0(0xc2)]=_0x482ae8[_0x2f6ab0(0xf7)](uuidv4);else _0x29f79c[_0x2f6ab0(0xf6)]&&_0x482ae8['YtqFh'](_0x302f7c,_0x482ae8[_0x2f6ab0(0xb8)])&&(_0x29f79c['hookAnalyticsId']=_0x482ae8[_0x2f6ab0(0xef)](uuidv4),delete _0x29f79c[_0x2f6ab0(0xf6)]);});}),exports[_0x514794(0xe7)](_0x332bd9[_0x514794(0xd7)]);},exports[a29_0x123c6c(0xbe)]=async(_0x30b94a,_0x572e4e)=>{const _0x165829=a29_0x123c6c,_0x4be28a={'OPdyS':function(_0x114cc0){return _0x114cc0();},'IJxUM':function(_0x399425,_0x5cd1f5){return _0x399425===_0x5cd1f5;},'Yawsn':'browserstack','WhPAI':'appium:app','hUgdV':_0x165829(0x104),'TRUwe':'app-automate','aLdUE':'automate','HzOAC':function(_0x405306,_0x1207bd){return _0x405306(_0x1207bd);},'DnBQU':'unknown_grid','ojUbI':_0x165829(0xfb)};try{if(!_0x4be28a[_0x165829(0xbf)](shouldProcessEventForTesthub))return;const _0x400ea2=await _0x30b94a[_0x165829(0xf5)](),_0x3f6431=await _0x30b94a['getSession'](),_0x37b2c4={},_0x348b97=Object[_0x165829(0xb6)](_0x3f6431['getCapabilities']()['map_']),_0x48f5c7={'product':_0x4be28a[_0x165829(0xaf)](global[_0x165829(0xb0)],_0x4be28a['Yawsn'])?_0x348b97[_0x4be28a[_0x165829(0xd1)]]||_0x348b97[_0x4be28a[_0x165829(0xd8)]]?_0x4be28a[_0x165829(0xcc)]:_0x4be28a['aLdUE']:null,'capabilities':_0x348b97,'platform':_0x400ea2['getPlatform'](),'platform_version':_0x4be28a[_0x165829(0xb1)](getPlatformVersion,_0x4be28a[_0x165829(0xaf)](global[_0x165829(0xb0)],_0x4be28a['Yawsn'])),'browser':_0x400ea2[_0x165829(0x101)](),'browser_version':_0x400ea2[_0x165829(0xe2)](),'session_id':_0x3f6431[_0x165829(0xc6)]()};global[_0x165829(0xb0)]?_0x37b2c4[global[_0x165829(0xb0)]]=_0x48f5c7:_0x37b2c4[_0x4be28a[_0x165829(0xb9)]]=_0x48f5c7,process[_0x165829(0xe0)](_0x165829(0xb2)+process[_0x165829(0xd5)],{'timestamp':new Date()[_0x165829(0xe4)](),'level':null,'message':null,'kind':_0x4be28a[_0x165829(0xea)],'http_response':_0x37b2c4,'uuid':_0x572e4e});}catch(_0x5e16ee){_0x4be28a[_0x165829(0xb1)](debug,_0x165829(0xfd)+_0x5e16ee);}},exports['getHookSkippedTests']=_0x2bd354=>{const _0x15aa76=a29_0x123c6c,_0x868514={};_0x868514['okxhd']=function(_0x82e50e,_0x467d29){return _0x82e50e!==_0x467d29;},_0x868514[_0x15aa76(0xbd)]=_0x15aa76(0xe9),_0x868514[_0x15aa76(0xf4)]=function(_0x44aecc,_0x318bf2){return _0x44aecc!==_0x318bf2;},_0x868514[_0x15aa76(0xcd)]='passed',_0x868514[_0x15aa76(0xd6)]=function(_0x5f0166,_0x347a75){return _0x5f0166!==_0x347a75;},_0x868514[_0x15aa76(0xe3)]=_0x15aa76(0xf0);const _0x54911b=_0x868514,_0xb259d7=_0x2bd354[_0x15aa76(0xc9)][_0x15aa76(0xc7)]((_0x1cab97,_0x4d157d)=>{const _0x4bb92c=exports['getHookSkippedTests'](_0x4d157d);return _0x4bb92c&&(_0x1cab97=_0x1cab97['concat'](_0x4bb92c)),_0x1cab97;},[]),_0x414b22=_0x2bd354[_0x15aa76(0xeb)][_0x15aa76(0xd2)](_0x15f0ab=>{const _0x151e91=_0x15aa76,_0x125460=_0x54911b['okxhd'](_0x15f0ab['type'],_0x54911b[_0x151e91(0xbd)])&&!_0x15f0ab['markedStatus']&&_0x54911b[_0x151e91(0xf4)](_0x15f0ab[_0x151e91(0xe8)],_0x54911b[_0x151e91(0xcd)])&&_0x54911b[_0x151e91(0xd6)](_0x15f0ab[_0x151e91(0xe8)],_0x54911b[_0x151e91(0xe3)])&&!_0x15f0ab[_0x151e91(0xd4)];return _0x125460;});return _0x414b22[_0x15aa76(0xd9)](_0xb259d7);};
@@ -1 +1 @@
1
- const a30_0x73700b=a30_0x5d84;(function(_0x4a5436,_0x18a78d){const _0x292ed4=a30_0x5d84,_0x5e9a25=_0x4a5436();while(!![]){try{const _0xb5989d=parseInt(_0x292ed4(0x107))/0x1*(parseInt(_0x292ed4(0x156))/0x2)+-parseInt(_0x292ed4(0x11c))/0x3+parseInt(_0x292ed4(0x135))/0x4*(parseInt(_0x292ed4(0x10c))/0x5)+parseInt(_0x292ed4(0x155))/0x6+-parseInt(_0x292ed4(0x15f))/0x7*(-parseInt(_0x292ed4(0x14c))/0x8)+parseInt(_0x292ed4(0x15a))/0x9*(parseInt(_0x292ed4(0xf1))/0xa)+-parseInt(_0x292ed4(0x128))/0xb;if(_0xb5989d===_0x18a78d)break;else _0x5e9a25['push'](_0x5e9a25['shift']());}catch(_0x5e3c40){_0x5e9a25['push'](_0x5e9a25['shift']());}}}(a30_0x59be,0x4945f));function a30_0x5d84(_0x516f22,_0x3b2245){const _0x59beff=a30_0x59be();return a30_0x5d84=function(_0x5d84c3,_0xbee85a){_0x5d84c3=_0x5d84c3-0xe5;let _0x53ec9e=_0x59beff[_0x5d84c3];return _0x53ec9e;},a30_0x5d84(_0x516f22,_0x3b2245);}const util=require(a30_0x73700b(0x14e)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x73700b(0x13d)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a30_0x73700b(0x134)),{isTestObservabilitySession}=require(a30_0x73700b(0x157)),PerformanceTester=require(a30_0x73700b(0x144)),scripts=require(a30_0x73700b(0x153)),globals=require(a30_0x73700b(0xea)),logger=require(a30_0x73700b(0x151))[a30_0x73700b(0x110)],{shouldProcessEventForTesthub}=require(a30_0x73700b(0x127)),testHubConstants=require(a30_0x73700b(0x14d));exports[a30_0x73700b(0x129)]={'beforeAll'(){const _0x3d55a5=a30_0x73700b,_0x2174f6={'RPkAk':function(_0x39d265,_0x523fb6,_0xc4c095,_0x20fd9f){return _0x39d265(_0x523fb6,_0xc4c095,_0x20fd9f);},'pThlB':'failed','cPowR':_0x3d55a5(0x12a),'jYKco':function(_0x15ac46,_0x1b4b01,_0x5c6453){return _0x15ac46(_0x1b4b01,_0x5c6453);},'XfZcG':_0x3d55a5(0xe5),'lRIDm':function(_0x10d4b0){return _0x10d4b0();},'oYhMS':function(_0x2a0ade,_0x303f3d,_0x447d50){return _0x2a0ade(_0x303f3d,_0x447d50);}};PerformanceTester[_0x3d55a5(0x12d)]();const _0x3925a0='browserstack internal helper hook';global['__error_messages__']=[],global[_0x3d55a5(0x149)]=![],global[_0x3d55a5(0x130)]=async()=>{const _0x4ce7b5=_0x3d55a5;let _0x3ef7de=![];try{await global['__drivers'][0x0][_0x4ce7b5(0xeb)],_0x3ef7de=!![],global[_0x4ce7b5(0x149)]?await _0x2174f6[_0x4ce7b5(0x152)](markSessionStatus,global[_0x4ce7b5(0xff)][0x0],_0x2174f6['pThlB'],global[_0x4ce7b5(0x121)][_0x4ce7b5(0xf0)](_0x2174f6['cPowR'])):await _0x2174f6[_0x4ce7b5(0x11d)](markSessionStatus,global[_0x4ce7b5(0xff)][0x0],_0x2174f6[_0x4ce7b5(0x12f)]);}catch(_0x3edd9d){}global[_0x4ce7b5(0x121)]=[],global[_0x4ce7b5(0x149)]=![];if(_0x3ef7de)try{try{_0x2174f6[_0x4ce7b5(0x11f)](shouldProcessEventForTesthub)&&(global[_0x4ce7b5(0xff)][0x0]&&await _0x2174f6['oYhMS'](sendPlatformDetails,global[_0x4ce7b5(0xff)][0x0],this[_0x4ce7b5(0x10a)]?this[_0x4ce7b5(0x10a)]['testAnalyticsId']:null));}catch{}await global[_0x4ce7b5(0xff)][0x0]['initQuit']();}catch(_0x27342c){}};},'beforeEach'(_0x4a9d18){const _0x2b1981=a30_0x73700b,_0x4f74ea={'CYWDi':function(_0x640836,_0x4b4c5a){return _0x640836>_0x4b4c5a;},'emeZz':'\x20-\x20','gdHIq':function(_0x196fea,_0x38ba55,_0x26bd54){return _0x196fea(_0x38ba55,_0x26bd54);},'JCPFi':_0x2b1981(0xfe),'uLCsN':function(_0x52523c){return _0x52523c();},'oRFOz':_0x2b1981(0xef),'nGVIs':function(_0x549b5f,_0x4d8e93){return _0x549b5f===_0x4d8e93;},'YIkKO':_0x2b1981(0x148),'xZZJW':_0x2b1981(0xf5),'ucITk':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','nJtNX':_0x2b1981(0x143)};new Promise(async _0x402b25=>{const _0x5bc214=_0x2b1981,_0xc5594b='browserstack internal helper hook';let _0x4db721=!![];try{_0x4f74ea[_0x5bc214(0x15c)](global['__drivers'][_0x5bc214(0x131)],0x1)&&(await global[_0x5bc214(0x130)](),global['__drivers'][_0x5bc214(0x11b)]()),_0x4f74ea[_0x5bc214(0x15c)](global['__drivers'][0x0][_0x5bc214(0x160)],0x0)&&(_0x4db721=![],await global[_0x5bc214(0x130)]());}catch{}try{Array[_0x5bc214(0x132)](global[_0x5bc214(0xff)])&&global[_0x5bc214(0xff)][0x0]&&(global[_0x5bc214(0xff)][0x0][_0x5bc214(0x139)]=this['currentTest'][_0x5bc214(0xf9)]()[_0x5bc214(0xf0)](_0x4f74ea[_0x5bc214(0x13f)])),global['browserstackSessionName']=this[_0x5bc214(0x10a)]['titlePath']()[_0x5bc214(0xf0)](_0x4f74ea[_0x5bc214(0x13f)]);}catch(_0x3ced1b){logger[_0x5bc214(0x12e)](_0x5bc214(0x119)+_0x3ced1b);}this[_0x5bc214(0x10a)][_0x5bc214(0x11e)]=_0x4f74ea[_0x5bc214(0x10d)](shouldScanTestForAccessibility,this['currentTest'][_0x5bc214(0xf9)](),!![]),globals[_0x5bc214(0x15d)](_0x4f74ea[_0x5bc214(0x120)],this['currentTest'][_0x5bc214(0x11e)]),this[_0x5bc214(0x10a)][_0x5bc214(0x142)]=!![];if(_0x4f74ea['uLCsN'](isAccessibilityAutomationSession)&&_0x4db721&&Array[_0x5bc214(0x132)](global[_0x5bc214(0xff)])&&_0x4f74ea[_0x5bc214(0x15c)](global[_0x5bc214(0xff)][_0x5bc214(0x131)],0x0)&&globals[_0x5bc214(0x13a)](_0x4f74ea[_0x5bc214(0xee)]))try{const _0x8a7d63=await global[_0x5bc214(0xff)][0x0][_0x5bc214(0xeb)];if(_0x8a7d63){let _0x44646d=!![];const _0x57911a=await global['__drivers'][0x0][_0x5bc214(0x108)]();let _0x1626d8;try{_0x1626d8=new URL(_0x57911a);}catch(_0x2f7788){_0x44646d=![];}_0x44646d=_0x4f74ea[_0x5bc214(0x150)](_0x1626d8[_0x5bc214(0x10b)],_0x4f74ea[_0x5bc214(0xf6)])||_0x4f74ea[_0x5bc214(0x150)](_0x1626d8['protocol'],_0x4f74ea['xZZJW']),_0x44646d&&(this[_0x5bc214(0x10a)][_0x5bc214(0x11e)]&&logger[_0x5bc214(0x105)](_0x4f74ea[_0x5bc214(0xf2)])),this[_0x5bc214(0x10a)][_0x5bc214(0x142)]=this[_0x5bc214(0x10a)][_0x5bc214(0x11e)],this[_0x5bc214(0x10a)][_0x5bc214(0x11e)]&&logger[_0x5bc214(0x105)](_0x4f74ea[_0x5bc214(0x117)]);}}catch(_0x32018a){logger[_0x5bc214(0x14f)](_0x5bc214(0x125)+util['format'](_0x32018a));}_0x4f74ea[_0x5bc214(0xfd)](_0x402b25);})[_0x2b1981(0x133)](_0x4a9d18);},'afterEach'(_0x446084){const _0x98e952=a30_0x73700b,_0x36e4bb={'TCcBq':function(_0x3c7a96,_0x4cf4b7){return _0x3c7a96>_0x4cf4b7;},'YEGKG':function(_0x2d5829,_0x23d0f4){return _0x2d5829===_0x23d0f4;},'aQjyO':'testcase','fibQi':function(_0x1eb546,_0x357a71){return _0x1eb546>_0x357a71;},'VwEIR':_0x98e952(0x123),'CPyfw':function(_0x23c258,_0x30d871,_0x82042a,_0x525140){return _0x23c258(_0x30d871,_0x82042a,_0x525140);},'KgdfJ':_0x98e952(0x140),'zvzvv':function(_0x53b3f4,_0x404605){return _0x53b3f4!==_0x404605;},'oxjqh':_0x98e952(0xe5),'bMsGs':function(_0x49eb14,_0x3e04d3,_0x262486){return _0x49eb14(_0x3e04d3,_0x262486);},'bJMFz':function(_0x2df228,_0x1229e2){return _0x2df228+_0x1229e2;},'qtaAp':_0x98e952(0xed),'NAxsa':_0x98e952(0x14f),'oRXaI':function(_0x19d388,_0x1fbfea,_0x3f6790){return _0x19d388(_0x1fbfea,_0x3f6790);},'rIYVd':_0x98e952(0x146),'kjdtK':_0x98e952(0x105),'PMIBr':_0x98e952(0xef),'tdcZs':_0x98e952(0xfe),'dOUTS':_0x98e952(0x154),'lrFvD':_0x98e952(0x13e),'kQxAp':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ifvCG':function(_0x560a0e){return _0x560a0e();},'mPiOi':function(_0x1dbb63){return _0x1dbb63();},'qouds':function(_0x3dfca1,_0x100aeb,_0x15dbf2){return _0x3dfca1(_0x100aeb,_0x15dbf2);},'NxUNk':_0x98e952(0x12e),'PTTEd':function(_0x1e7415){return _0x1e7415();}},_0x4a78c4='browserstack internal helper hook';this[_0x98e952(0x10f)](0xfde8);const _0x4e157b=async(_0x2dc6b4,_0x5ac337)=>{const _0xc6fa69=_0x98e952;await global[_0xc6fa69(0xff)][0x0][_0xc6fa69(0x147)](_0xc6fa69(0x159)+_0x2dc6b4+',\x22level\x22:\x20\x22'+_0x5ac337+_0xc6fa69(0x101));};new Promise(async _0x3c535e=>{const _0x3cd932=_0x98e952;try{_0x36e4bb[_0x3cd932(0x141)](global['__drivers'][_0x3cd932(0x131)],0x1)&&(await global[_0x3cd932(0x130)](),global['__drivers'][_0x3cd932(0x11b)](),global['__error_messages__']=[],global[_0x3cd932(0x149)]=![]);try{if(global['percy']&&_0x36e4bb[_0x3cd932(0x115)](global['percyCaptureMode'],_0x36e4bb[_0x3cd932(0xf4)])&&global[_0x3cd932(0xff)][0x0]){const _0x141cff=_0x36e4bb[_0x3cd932(0x100)](global[_0x3cd932(0xf3)]['length'],0x0)?!!global['capabilities'][0x0]['app']||!!global['capabilities'][0x0][_0x36e4bb['VwEIR']]:![],_0x3a78d2={};_0x3a78d2[_0x3cd932(0x162)]=_0x141cff,await _0x36e4bb['CPyfw'](percyAutoCapture,global[_0x3cd932(0xff)][0x0],_0x36e4bb[_0x3cd932(0xf4)],_0x3a78d2);}}catch(_0x4718ae){}!global[_0x3cd932(0xf7)]&&(await global[_0x3cd932(0xff)][0x0][_0x3cd932(0x147)](_0x3cd932(0x111)+JSON[_0x3cd932(0xec)](this[_0x3cd932(0x10a)]['titlePath']()[_0x3cd932(0xf0)](_0x36e4bb[_0x3cd932(0x124)]))+'}}'),global[_0x3cd932(0xff)][0x0][_0x3cd932(0x136)]=!![]);const _0x3162c4=_0x36e4bb[_0x3cd932(0x161)](this[_0x3cd932(0x10a)][_0x3cd932(0x158)],_0x36e4bb[_0x3cd932(0x10e)]);_0x3162c4?(global[_0x3cd932(0x149)]=!![],global[_0x3cd932(0x121)][_0x3cd932(0xfb)](this[_0x3cd932(0x10a)]['err'][_0x3cd932(0x14b)]),await _0x36e4bb[_0x3cd932(0x145)](_0x4e157b,JSON[_0x3cd932(0xec)](_0x36e4bb[_0x3cd932(0xfc)](_0x36e4bb[_0x3cd932(0x118)],this[_0x3cd932(0x10a)][_0x3cd932(0x103)][_0x3cd932(0x14b)])),_0x36e4bb[_0x3cd932(0x114)])):await _0x36e4bb['oRXaI'](_0x4e157b,JSON['stringify'](_0x36e4bb[_0x3cd932(0x11a)]),_0x36e4bb[_0x3cd932(0xe9)]);}catch(_0x32a48f){}try{if(this[_0x3cd932(0x10a)][_0x3cd932(0x142)]&&globals[_0x3cd932(0x13a)](_0x36e4bb[_0x3cd932(0x102)])&&globals[_0x3cd932(0x13a)](_0x36e4bb[_0x3cd932(0x109)])){logger[_0x3cd932(0x105)](_0x36e4bb[_0x3cd932(0x122)]);const _0x5a352a={};_0x5a352a[_0x3cd932(0x138)]=this[_0x3cd932(0x10a)][_0x3cd932(0x113)],_0x5a352a['thBuildUuid']=process[_0x3cd932(0x13b)][testHubConstants[_0x3cd932(0x15b)][_0x3cd932(0x116)]],_0x5a352a[_0x3cd932(0x126)]=process[_0x3cd932(0x13b)][testHubConstants[_0x3cd932(0x15b)][_0x3cd932(0x12c)]];const _0x16f800=_0x5a352a;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x16f800)),logger[_0x3cd932(0x12e)](_0x36e4bb[_0x3cd932(0x137)]),logger[_0x3cd932(0x12e)](util[_0x3cd932(0xe8)](await global['__drivers'][0x0][_0x3cd932(0xe7)](scripts[_0x3cd932(0xf8)],{'method':global[_0x3cd932(0x139)]}))),await global[_0x3cd932(0xff)][0x0]['executeAsyncScript'](scripts[_0x3cd932(0x12b)],_0x16f800),logger[_0x3cd932(0x105)](_0x36e4bb[_0x3cd932(0x13c)]);}}catch(_0x3e278b){logger[_0x3cd932(0x14f)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x3cd932(0x10a)][_0x3cd932(0xf9)]()+_0x3cd932(0x14a),_0x3e278b);}try{try{if(_0x36e4bb['ifvCG'](shouldProcessEventForTesthub)){global[_0x3cd932(0xff)][0x0]&&await _0x36e4bb[_0x3cd932(0x15e)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3cd932(0x10a)]?this[_0x3cd932(0x10a)][_0x3cd932(0x113)]:null);if(_0x36e4bb['mPiOi'](isBrowserstackInfra)){const _0x5b08a2='ObservabilitySync:'+Date[_0x3cd932(0x106)]();await _0x36e4bb[_0x3cd932(0x112)](_0x4e157b,JSON['stringify'](_0x5b08a2),_0x36e4bb[_0x3cd932(0xe6)]);}}}catch{}_0x36e4bb[_0x3cd932(0x100)](global['__drivers'][0x0][_0x3cd932(0x160)],0x0)&&await global['driverCleanup']();}catch(_0x2837ac){}_0x36e4bb[_0x3cd932(0xfa)](_0x3c535e);})[_0x98e952(0x133)](()=>_0x446084());},'afterAll'(_0x2704d1){const _0x16855f=a30_0x73700b,_0x4018dd={'rZFJv':function(_0x4f5dcb){return _0x4f5dcb();}},_0x30f8cc='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x4f233c=>{const _0x94b326=a30_0x5d84;PerformanceTester['stopMonitoring'](),await global[_0x94b326(0x130)](),_0x4018dd[_0x94b326(0x104)](_0x4f233c);})[_0x16855f(0x133)](()=>_0x2704d1());}};function a30_0x59be(){const _0x36aac3=['oxjqh','timeout','winstonLogger','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','qouds','testAnalyticsId','NAxsa','YEGKG','BROWSERSTACK_TESTHUB_UUID','nJtNX','qtaAp','Failed\x20to\x20store\x20session\x20name:\x20','rIYVd','shift','1611714xRfhOM','jYKco','shouldScanTestForAccessibility','lRIDm','JCPFi','__error_messages__','dOUTS','appium:app','KgdfJ','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','thJwtToken','../../helpers/testhub/utils','7034467GJKgCc','mochaHooks','\x20|\x20','saveTestResults','BROWSERSTACK_TESTHUB_JWT','startMonitoring','debug','XfZcG','driverCleanup','length','isArray','then','../../helpers/helper','1864aQcpcR','sessionNameSet__','lrFvD','thTestRunUuid','browserstackSessionName','getGlobal','env','kQxAp','../../helpers/accessibility-automation/helper','Performing\x20scan\x20before\x20saving\x20results','emeZz','\x20-\x20','TCcBq','accessibilityScanStarted','Automate\x20test\x20case\x20execution\x20has\x20started.','../../helpers/performance-tester','bMsGs','Passed','executeScript','http:','__sessionFailed','.\x20Error\x20:','message','16TgGcrL','../../helpers/testhub/constants','util','error','nGVIs','../../helpers/logger','RPkAk','../../helpers/accessibility-automation/scripts','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','3088536ArXLla','8AcjzIJ','../../helpers/test-observability/utils','state','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','45IMEPFs','ENV_VAR','CYWDi','setGlobal','oRXaI','912961WQWWBe','quitCount_','zvzvv','app','passed','NxUNk','executeAsyncScript','format','kjdtK','../../helpers/globals','session_','stringify','Failed:\x20','oRFOz','isAccessibilityPlatform','join','61860xiQBnv','ucITk','capabilities','aQjyO','https:','YIkKO','__skipSessionName','performScan','titlePath','PTTEd','push','bJMFz','uLCsN','bstackA11yShouldScan','__drivers','fibQi','\x22}}','PMIBr','err','rZFJv','info','now','122963qCUgPR','getCurrentUrl','tdcZs','currentTest','protocol','1915cXmGpj','gdHIq'];a30_0x59be=function(){return _0x36aac3;};return a30_0x59be();}
1
+ function a30_0x3674(_0x50cedf,_0x1f9df0){const _0x6305c2=a30_0x6305();return a30_0x3674=function(_0x367410,_0x588c2f){_0x367410=_0x367410-0x174;let _0x2d73f6=_0x6305c2[_0x367410];return _0x2d73f6;},a30_0x3674(_0x50cedf,_0x1f9df0);}const a30_0x2f2a9d=a30_0x3674;(function(_0x10c7ce,_0x4a0e0a){const _0x18d198=a30_0x3674,_0x27f56a=_0x10c7ce();while(!![]){try{const _0x3fa4b3=-parseInt(_0x18d198(0x1db))/0x1*(-parseInt(_0x18d198(0x1a8))/0x2)+parseInt(_0x18d198(0x18e))/0x3+-parseInt(_0x18d198(0x19b))/0x4*(-parseInt(_0x18d198(0x1cf))/0x5)+parseInt(_0x18d198(0x1b7))/0x6+-parseInt(_0x18d198(0x1e8))/0x7+-parseInt(_0x18d198(0x1ca))/0x8+parseInt(_0x18d198(0x1c8))/0x9;if(_0x3fa4b3===_0x4a0e0a)break;else _0x27f56a['push'](_0x27f56a['shift']());}catch(_0x493b6b){_0x27f56a['push'](_0x27f56a['shift']());}}}(a30_0x6305,0x9164f));const util=require(a30_0x2f2a9d(0x1e7)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x2f2a9d(0x1b9)),{percyAutoCapture}=require(a30_0x2f2a9d(0x187)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a30_0x2f2a9d(0x1d2)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a30_0x2f2a9d(0x1a0)),globals=require(a30_0x2f2a9d(0x1d6)),logger=require(a30_0x2f2a9d(0x186))[a30_0x2f2a9d(0x1df)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');exports[a30_0x2f2a9d(0x1cc)]={'beforeAll'(){const _0x4ed9d9=a30_0x2f2a9d,_0x5396fa={'qRmcO':function(_0xdc8ec1,_0x5848e1,_0x58a89b,_0x450b42){return _0xdc8ec1(_0x5848e1,_0x58a89b,_0x450b42);},'QOqcG':_0x4ed9d9(0x188),'pzlId':_0x4ed9d9(0x1c4),'JbIOt':function(_0x3aa4cd,_0x41986b,_0x542923){return _0x3aa4cd(_0x41986b,_0x542923);},'QvZwa':_0x4ed9d9(0x174),'wRSkF':function(_0x4577ee){return _0x4577ee();},'PbtSB':function(_0xa56ce,_0x2b7b69,_0x2a59e8){return _0xa56ce(_0x2b7b69,_0x2a59e8);}};PerformanceTester[_0x4ed9d9(0x192)]();const _0x56e81c='browserstack internal helper hook';global[_0x4ed9d9(0x1ab)]=[],global[_0x4ed9d9(0x181)]=![],global[_0x4ed9d9(0x193)]=async()=>{const _0x3ab0e6=_0x4ed9d9;let _0x23ad7f=![];try{await global[_0x3ab0e6(0x1b4)][0x0][_0x3ab0e6(0x18c)],_0x23ad7f=!![],global[_0x3ab0e6(0x181)]?await _0x5396fa[_0x3ab0e6(0x196)](markSessionStatus,global[_0x3ab0e6(0x1b4)][0x0],_0x5396fa[_0x3ab0e6(0x1d0)],global['__error_messages__'][_0x3ab0e6(0x1e1)](_0x5396fa[_0x3ab0e6(0x198)])):await _0x5396fa[_0x3ab0e6(0x1cb)](markSessionStatus,global['__drivers'][0x0],_0x5396fa[_0x3ab0e6(0x1c1)]);}catch(_0x3d4e2a){}global[_0x3ab0e6(0x1ab)]=[],global[_0x3ab0e6(0x181)]=![];if(_0x23ad7f)try{try{_0x5396fa[_0x3ab0e6(0x18b)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x5396fa[_0x3ab0e6(0x1d3)](sendPlatformDetails,global[_0x3ab0e6(0x1b4)][0x0],this['currentTest']?this[_0x3ab0e6(0x1b0)][_0x3ab0e6(0x1bc)]:null));}catch{}await global[_0x3ab0e6(0x1b4)][0x0]['initQuit']();}catch(_0x1a04ec){}};},'beforeEach'(_0x46611d){const _0x577ae0=a30_0x2f2a9d,_0x199f73={'ZgKHC':function(_0x2c9738,_0x1caeb8){return _0x2c9738>_0x1caeb8;},'YdRgY':_0x577ae0(0x1b5),'wlKUZ':function(_0x7b649e,_0x7abf41,_0x51a44a){return _0x7b649e(_0x7abf41,_0x51a44a);},'ssuyZ':'bstackA11yShouldScan','OfHDF':function(_0x4aafb8){return _0x4aafb8();},'FrGsX':function(_0x4581ef,_0x2c772a){return _0x4581ef>_0x2c772a;},'IMcjA':_0x577ae0(0x1a4),'WgucX':function(_0x4e7a55,_0x50411b){return _0x4e7a55===_0x50411b;},'keivl':_0x577ae0(0x1a7),'mDzaU':function(_0x3954a9,_0x250b87){return _0x3954a9===_0x250b87;},'kDhYz':_0x577ae0(0x17a),'wEwuO':_0x577ae0(0x17d),'aahlW':_0x577ae0(0x1b8)};new Promise(async _0x312339=>{const _0x4d9f93=_0x577ae0,_0xd0df77='browserstack internal helper hook';let _0x388d10=!![];try{_0x199f73[_0x4d9f93(0x19d)](global[_0x4d9f93(0x1b4)][_0x4d9f93(0x175)],0x1)&&(await global[_0x4d9f93(0x193)](),global[_0x4d9f93(0x1b4)][_0x4d9f93(0x1ae)]()),_0x199f73['ZgKHC'](global[_0x4d9f93(0x1b4)][0x0]['quitCount_'],0x0)&&(_0x388d10=![],await global['driverCleanup']());}catch{}try{Array[_0x4d9f93(0x17e)](global[_0x4d9f93(0x1b4)])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x4d9f93(0x1e5)]=this[_0x4d9f93(0x1b0)][_0x4d9f93(0x1de)]()[_0x4d9f93(0x1e1)](_0x199f73[_0x4d9f93(0x1b6)])),global[_0x4d9f93(0x1e5)]=this['currentTest']['titlePath']()[_0x4d9f93(0x1e1)](_0x199f73[_0x4d9f93(0x1b6)]);}catch(_0x50fd0d){logger['debug'](_0x4d9f93(0x18d)+_0x50fd0d);}this['currentTest']['shouldScanTestForAccessibility']=_0x199f73[_0x4d9f93(0x17f)](shouldScanTestForAccessibility,this[_0x4d9f93(0x1b0)]['titlePath'](),!![]),globals[_0x4d9f93(0x18f)](_0x199f73['ssuyZ'],this[_0x4d9f93(0x1b0)]['shouldScanTestForAccessibility']),this[_0x4d9f93(0x1b0)][_0x4d9f93(0x17c)]=!![];if(_0x199f73['OfHDF'](isAccessibilityAutomationSession)&&_0x388d10&&Array[_0x4d9f93(0x17e)](global['__drivers'])&&_0x199f73[_0x4d9f93(0x1d5)](global[_0x4d9f93(0x1b4)][_0x4d9f93(0x175)],0x0)&&globals[_0x4d9f93(0x1a9)](_0x199f73['IMcjA']))try{const _0x56bbb2=await global[_0x4d9f93(0x1b4)][0x0][_0x4d9f93(0x18c)];if(_0x56bbb2){let _0x333681=!![];const _0x3df55b=await global['__drivers'][0x0]['getCurrentUrl']();let _0x2baf4d;try{_0x2baf4d=new URL(_0x3df55b);}catch(_0x4dda23){_0x333681=![];}_0x333681=_0x199f73[_0x4d9f93(0x183)](_0x2baf4d[_0x4d9f93(0x1d9)],_0x199f73['keivl'])||_0x199f73[_0x4d9f93(0x1cd)](_0x2baf4d[_0x4d9f93(0x1d9)],_0x199f73[_0x4d9f93(0x1a2)]),_0x333681&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x4d9f93(0x1d4)](_0x199f73[_0x4d9f93(0x1c6)])),this[_0x4d9f93(0x1b0)][_0x4d9f93(0x17c)]=this[_0x4d9f93(0x1b0)][_0x4d9f93(0x1e0)],this[_0x4d9f93(0x1b0)][_0x4d9f93(0x1e0)]&&logger[_0x4d9f93(0x1d4)](_0x199f73['aahlW']);}}catch(_0x2347ff){logger[_0x4d9f93(0x1e6)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4d9f93(0x1a1)](_0x2347ff));}_0x199f73[_0x4d9f93(0x1e3)](_0x312339);})[_0x577ae0(0x18a)](_0x46611d);},'afterEach'(_0x11b274){const _0x4c90e1=a30_0x2f2a9d,_0x14d549={'Zsdvq':function(_0x4e86d6,_0x34a5bf){return _0x4e86d6>_0x34a5bf;},'IRuUU':function(_0x22d95e,_0x3fd7a0){return _0x22d95e===_0x3fd7a0;},'jBIrg':_0x4c90e1(0x1e2),'Swukq':_0x4c90e1(0x1a3),'yfqBz':function(_0x456ddf,_0x3b1e25,_0x12569f,_0x2eda7c){return _0x456ddf(_0x3b1e25,_0x12569f,_0x2eda7c);},'xzFYp':_0x4c90e1(0x1b5),'hhKzA':function(_0x3e1ecb,_0x3f9e23){return _0x3e1ecb!==_0x3f9e23;},'omlWn':'passed','QyPkF':function(_0x29f633,_0x37054a,_0xe584e9){return _0x29f633(_0x37054a,_0xe584e9);},'aoTHx':function(_0x506ea7,_0x2bd22c){return _0x506ea7+_0x2bd22c;},'fBDAH':_0x4c90e1(0x1c9),'wJLbi':_0x4c90e1(0x1e6),'nKqJH':_0x4c90e1(0x195),'VTquC':_0x4c90e1(0x1d4),'lvzUn':_0x4c90e1(0x1a4),'McNmB':_0x4c90e1(0x1dd),'wHHIi':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','SgifU':_0x4c90e1(0x182),'proRh':_0x4c90e1(0x1e9),'Iiite':function(_0x55f455){return _0x55f455();},'rDXMb':function(_0x331820){return _0x331820();},'nLFuT':_0x4c90e1(0x184)},_0x7d8e7f='browserstack internal helper hook';this[_0x4c90e1(0x179)](0xfde8);const _0x1142f7=async(_0x3618ce,_0x12ae55)=>{const _0xa08f5e=_0x4c90e1;await global[_0xa08f5e(0x1b4)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x3618ce+',\x22level\x22:\x20\x22'+_0x12ae55+_0xa08f5e(0x19e));};new Promise(async _0x96f2c2=>{const _0xb5adce=_0x4c90e1;try{_0x14d549[_0xb5adce(0x1d7)](global[_0xb5adce(0x1b4)][_0xb5adce(0x175)],0x1)&&(await global[_0xb5adce(0x193)](),global[_0xb5adce(0x1b4)]['shift'](),global[_0xb5adce(0x1ab)]=[],global[_0xb5adce(0x181)]=![]);try{if(global[_0xb5adce(0x1da)]&&_0x14d549[_0xb5adce(0x177)](global[_0xb5adce(0x1ba)],_0x14d549['jBIrg'])&&global[_0xb5adce(0x1b4)][0x0]){const _0x4f4249=_0x14d549['Zsdvq'](global[_0xb5adce(0x190)][_0xb5adce(0x175)],0x0)?!!global[_0xb5adce(0x190)][0x0][_0xb5adce(0x1d8)]||!!global[_0xb5adce(0x190)][0x0][_0x14d549['Swukq']]:![],_0x12058b={};_0x12058b[_0xb5adce(0x1d8)]=_0x4f4249,await _0x14d549[_0xb5adce(0x197)](percyAutoCapture,global['__drivers'][0x0],_0x14d549[_0xb5adce(0x176)],_0x12058b);}}catch(_0x1b3629){}!global[_0xb5adce(0x1be)]&&(await global[_0xb5adce(0x1b4)][0x0]['executeScript'](_0xb5adce(0x1a5)+JSON['stringify'](this[_0xb5adce(0x1b0)][_0xb5adce(0x1de)]()['join'](_0x14d549[_0xb5adce(0x1c5)]))+'}}'),global[_0xb5adce(0x1b4)][0x0][_0xb5adce(0x1ad)]=!![]);const _0xbf9829=_0x14d549[_0xb5adce(0x1aa)](this[_0xb5adce(0x1b0)][_0xb5adce(0x185)],_0x14d549['omlWn']);_0xbf9829?(global[_0xb5adce(0x181)]=!![],global[_0xb5adce(0x1ab)][_0xb5adce(0x1c7)](this[_0xb5adce(0x1b0)]['err'][_0xb5adce(0x1a6)]),await _0x14d549[_0xb5adce(0x189)](_0x1142f7,JSON[_0xb5adce(0x1af)](_0x14d549[_0xb5adce(0x1dc)](_0x14d549[_0xb5adce(0x1ce)],this[_0xb5adce(0x1b0)][_0xb5adce(0x199)][_0xb5adce(0x1a6)])),_0x14d549['wJLbi'])):await _0x14d549[_0xb5adce(0x189)](_0x1142f7,JSON[_0xb5adce(0x1af)](_0x14d549[_0xb5adce(0x1c2)]),_0x14d549[_0xb5adce(0x1b2)]);}catch(_0x3f6c20){}try{if(this[_0xb5adce(0x1b0)]['accessibilityScanStarted']&&globals[_0xb5adce(0x1a9)](_0x14d549[_0xb5adce(0x1bb)])&&globals[_0xb5adce(0x1a9)](_0x14d549[_0xb5adce(0x178)])){logger[_0xb5adce(0x1d4)](_0x14d549[_0xb5adce(0x1b3)]);const _0x2bf1b6={};_0x2bf1b6[_0xb5adce(0x1ac)]=this[_0xb5adce(0x1b0)]['testAnalyticsId'],_0x2bf1b6[_0xb5adce(0x1c0)]=process['env'][testHubConstants[_0xb5adce(0x194)][_0xb5adce(0x180)]],_0x2bf1b6['thJwtToken']=process['env'][testHubConstants[_0xb5adce(0x194)]['BROWSERSTACK_TESTHUB_JWT']];const _0x23074e=_0x2bf1b6;logger[_0xb5adce(0x184)](_0xb5adce(0x1bd)+JSON['stringify'](_0x23074e)),logger['debug'](_0x14d549['SgifU']),logger[_0xb5adce(0x184)](util['format'](await global[_0xb5adce(0x1b4)][0x0]['executeAsyncScript'](scripts[_0xb5adce(0x1d1)],{'method':global[_0xb5adce(0x1e5)]}))),await global[_0xb5adce(0x1b4)][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x23074e),logger[_0xb5adce(0x1d4)](_0x14d549[_0xb5adce(0x19c)]);}}catch(_0x28226c){logger[_0xb5adce(0x1e6)](_0xb5adce(0x17b)+this[_0xb5adce(0x1b0)][_0xb5adce(0x1de)]()+_0xb5adce(0x1e4),_0x28226c);}try{try{if(_0x14d549['Iiite'](shouldProcessEventForTesthub)){global[_0xb5adce(0x1b4)][0x0]&&await _0x14d549[_0xb5adce(0x189)](sendPlatformDetails,global['__drivers'][0x0],this[_0xb5adce(0x1b0)]?this['currentTest']['testAnalyticsId']:null);if(_0x14d549['rDXMb'](isBrowserstackInfra)){const _0x1fe547=_0xb5adce(0x19a)+Date[_0xb5adce(0x1b1)]();await _0x14d549['QyPkF'](_0x1142f7,JSON['stringify'](_0x1fe547),_0x14d549[_0xb5adce(0x191)]);}}}catch{}_0x14d549['Zsdvq'](global[_0xb5adce(0x1b4)][0x0][_0xb5adce(0x1c3)],0x0)&&await global[_0xb5adce(0x193)]();}catch(_0x37e9fa){}_0x14d549[_0xb5adce(0x19f)](_0x96f2c2);})['then'](()=>_0x11b274());},'afterAll'(_0x1b72cd){const _0x4ec344=a30_0x2f2a9d,_0x40dcbc={'ofzkG':function(_0x2616e5){return _0x2616e5();}},_0x30f21d='browserstack internal helper hook';this[_0x4ec344(0x179)](0xfde8),new Promise(async _0x22b89a=>{const _0x21596c=_0x4ec344;PerformanceTester[_0x21596c(0x1bf)](),await global[_0x21596c(0x193)](),_0x40dcbc['ofzkG'](_0x22b89a);})['then'](()=>_0x1b72cd());}};function a30_0x6305(){const _0x8409a3=['shift','stringify','currentTest','now','VTquC','wHHIi','__drivers','\x20-\x20','YdRgY','2469492tJWyDP','Automate\x20test\x20case\x20execution\x20has\x20started.','../../helpers/accessibility-automation/helper','percyCaptureMode','lvzUn','testAnalyticsId','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__skipSessionName','stopMonitoring','thBuildUuid','QvZwa','nKqJH','quitCount_','\x20|\x20','xzFYp','wEwuO','push','4993119jSDHxj','Failed:\x20','3096520ZtWVjt','JbIOt','mochaHooks','mDzaU','fBDAH','255TnGOPN','QOqcG','performScan','../../helpers/helper','PbtSB','info','FrGsX','../../helpers/globals','Zsdvq','app','protocol','percy','2843USoEqg','aoTHx','bstackA11yShouldScan','titlePath','winstonLogger','shouldScanTestForAccessibility','join','testcase','OfHDF','.\x20Error\x20:','browserstackSessionName','error','util','7934983auWFrZ','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','passed','length','jBIrg','IRuUU','McNmB','timeout','https:','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','accessibilityScanStarted','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','isArray','wlKUZ','BROWSERSTACK_TESTHUB_UUID','__sessionFailed','Performing\x20scan\x20before\x20saving\x20results','WgucX','debug','state','../../helpers/logger','../../helpers/percy/utils','failed','QyPkF','then','wRSkF','session_','Failed\x20to\x20store\x20session\x20name:\x20','2804085FeOpJE','setGlobal','capabilities','nLFuT','startMonitoring','driverCleanup','ENV_VAR','Passed','qRmcO','yfqBz','pzlId','err','ObservabilitySync:','13080wgBuAF','proRh','ZgKHC','\x22}}','rDXMb','../../helpers/accessibility-automation/scripts','format','kDhYz','appium:app','isAccessibilityPlatform','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','message','http:','34gXbKuT','getGlobal','hhKzA','__error_messages__','thTestRunUuid','sessionNameSet__'];a30_0x6305=function(){return _0x8409a3;};return a30_0x6305();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a31_0x2e08cc=a31_0x2c0d;(function(_0x52a4e7,_0x55bb37){const _0x2fe562=a31_0x2c0d,_0x50e988=_0x52a4e7();while(!![]){try{const _0x3fb382=-parseInt(_0x2fe562(0xa4))/0x1+parseInt(_0x2fe562(0x98))/0x2+parseInt(_0x2fe562(0xb3))/0x3+-parseInt(_0x2fe562(0xaa))/0x4*(-parseInt(_0x2fe562(0xa2))/0x5)+-parseInt(_0x2fe562(0xa7))/0x6*(parseInt(_0x2fe562(0xb8))/0x7)+-parseInt(_0x2fe562(0x78))/0x8*(parseInt(_0x2fe562(0x89))/0x9)+-parseInt(_0x2fe562(0x77))/0xa*(-parseInt(_0x2fe562(0x72))/0xb);if(_0x3fb382===_0x55bb37)break;else _0x50e988['push'](_0x50e988['shift']());}catch(_0x358071){_0x50e988['push'](_0x50e988['shift']());}}}(a31_0x16e9,0xb7397));function a31_0x16e9(){const _0xa1ae2c=['host','stringify','DjoLf','winstonLogger','writeFileSync','path','../../helpers/BrowserStackSetup','304025RujMsj','OSPRQ','1012548gPZwVQ','inherit','child_process','210yAwQAh','length','gVGkC','36KCXxSH','IMwWx','hdUal','platform','uxAXc','MvrIE','child\x20process\x20exited\x20with\x20code\x20','cwd','test','1343937MYLLuF','CzXCU','desiredCapabilities','config','test_settings','18242EISwJt','Twvkj','findIndex','trim','close','11AIuNqj','existsSync','../../helpers/helper','nightwatch','isUndefined','6069670lzfgHG','968PhXfRk','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','forEach','exports','splice','port','webdriver','EqGzr','filter','info','join','map','SbHlS','tbGeG','ONuoH','hub.browserstack.com','--config','63387QZhzbk','env','start_process','platforms','slice','unlinkSync','nightwatch.cmd','nightwatch-browserstack.json','bpDAE','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.conf.js','--env','push','VVsmS','wLAUR','2208514AowinN','XsruQ','selenium'];a31_0x16e9=function(){return _0xa1ae2c;};return a31_0x16e9();}function a31_0x2c0d(_0x4b489d,_0x1f438a){const _0x16e94d=a31_0x16e9();return a31_0x2c0d=function(_0x2c0de5,_0x55c016){_0x2c0de5=_0x2c0de5-0x72;let _0x3953dd=_0x16e94d[_0x2c0de5];return _0x3953dd;},a31_0x2c0d(_0x4b489d,_0x1f438a);}const fs=require('fs'),path=require(a31_0x2e08cc(0xa0)),{spawn}=require(a31_0x2e08cc(0xa6)),logger=require('../../helpers/logger')[a31_0x2e08cc(0x9e)],{default:BrowserStackSetup}=require(a31_0x2e08cc(0xa1)),helper=require(a31_0x2e08cc(0x74)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x456fdb,_0x29be06)=>{const _0x259b27=a31_0x2e08cc,_0x40f316={'ONuoH':_0x259b27(0x93),'hdUal':'nightwatch.json','wLAUR':function(_0x1aa25b,_0x5f5d4b){return _0x1aa25b(_0x5f5d4b);},'EqGzr':_0x259b27(0x92)};let _0x4058c1=null,_0x5f3476={};const _0xa8316d=_0x29be06[_0x259b27(0xba)](_0x428bb2=>_0x428bb2===_0x259b27(0x88));if(!helper[_0x259b27(0x76)](_0x456fdb[_0x259b27(0xb6)])&&fs[_0x259b27(0x73)](path['join'](process['cwd'](),_0x456fdb['config'])))_0x4058c1=path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x456fdb['config']),_0x29be06[_0x259b27(0x7c)](_0xa8316d,0x2);else{if(fs['existsSync'](path[_0x259b27(0x82)](process['cwd'](),_0x40f316[_0x259b27(0x86)])))_0x4058c1=path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x40f316['ONuoH']);else fs[_0x259b27(0x73)](path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x40f316['hdUal']))&&(_0x4058c1=path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x40f316[_0x259b27(0xac)]));}return _0x4058c1?(logger[_0x259b27(0x81)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4058c1),_0x5f3476=_0x40f316[_0x259b27(0x97)](require,_0x4058c1)):logger[_0x259b27(0x81)](_0x40f316[_0x259b27(0x7f)]),_0x5f3476;},removeExistingEnvs=_0x2e74d7=>{const _0xaff5f=a31_0x2e08cc,_0xe89ef6={};_0xe89ef6[_0xaff5f(0x96)]=function(_0x195bd9,_0x2b3a33){return _0x195bd9>_0x2b3a33;};const _0xd3122a=_0xe89ef6;let _0x4da780=_0x2e74d7[_0xaff5f(0xba)](_0x1541fe=>_0x1541fe===_0xaff5f(0x94));_0xd3122a[_0xaff5f(0x96)](_0x4da780,-0x1)&&_0x2e74d7[_0xaff5f(0x7c)](_0x4da780,0x2),_0x4da780=_0x2e74d7[_0xaff5f(0xba)](_0x6c9417=>_0x6c9417==='-e'),_0xd3122a[_0xaff5f(0x96)](_0x4da780,-0x1)&&_0x2e74d7[_0xaff5f(0x7c)](_0x4da780,0x2);};function run(_0x48b4ae,_0x481628){const _0x1998f1=a31_0x2e08cc,_0x35519b={'uxAXc':_0x1998f1(0x75),'tbGeG':function(_0x594353,_0x468da0){return _0x594353+_0x468da0;},'vwybu':'test_settings','bpDAE':function(_0xfb83be,_0x3c2f2d,_0x310738){return _0xfb83be(_0x3c2f2d,_0x310738);},'IMwWx':_0x1998f1(0x87),'CzXCU':_0x1998f1(0x79),'OSPRQ':function(_0x5ec17c,_0x327b5c){return _0x5ec17c===_0x327b5c;},'DjoLf':_0x1998f1(0x90),'Twvkj':function(_0x50adca,_0x19e858){return _0x50adca(_0x19e858);},'SbHlS':function(_0x9cb3bc,_0x2f6ea5,_0x5c3528,_0x19a6a){return _0x9cb3bc(_0x2f6ea5,_0x5c3528,_0x19a6a);},'VzAuS':_0x1998f1(0x8f),'gVGkC':'--config','MvrIE':_0x1998f1(0x94),'XsruQ':_0x1998f1(0xa5),'JIZUL':_0x1998f1(0xbc)},_0x155d95=new BrowserStackSetup(_0x48b4ae);if(!_0x155d95[_0x1998f1(0xb6)])return;const _0x391f1f=_0x35519b[_0x1998f1(0x91)](getUserNightwatchConfigs,_0x48b4ae,_0x481628),_0x4f191b={};_0x4f191b[_0x1998f1(0x8b)]=![];const _0x342f49={};_0x342f49[_0x1998f1(0x9b)]=_0x35519b[_0x1998f1(0xab)],_0x342f49[_0x1998f1(0x7d)]=0x1bb;const _0x3ada67={};_0x3ada67[_0x1998f1(0x7e)]=_0x4f191b,_0x3ada67[_0x1998f1(0x9a)]=_0x342f49;const _0x7caaa1=_0x3ada67;logger[_0x1998f1(0x81)](_0x35519b[_0x1998f1(0xb4)]);const _0x1eeb17={..._0x391f1f},_0x11520d=_0x1eeb17,_0x442b9d=helper['useW3C'](_0x155d95[_0x1998f1(0xb6)]),_0x157496=[];_0x155d95[_0x1998f1(0xb6)][_0x1998f1(0x8c)]['forEach']((_0x18b3c9,_0x279fc4)=>{const _0x323bc6=_0x1998f1;_0x442b9d?_0x157496[_0x323bc6(0x95)](helper['modifyBrowserStackW3CCaps'](_0x155d95[_0x323bc6(0xb6)],_0x35519b[_0x323bc6(0xae)],_0x279fc4)):_0x157496[_0x323bc6(0x95)](helper['modifyBrowserStackCaps'](_0x155d95[_0x323bc6(0xb6)],_0x35519b['uxAXc'],_0x279fc4));});const _0x4fe9da={},_0x2a6c83=[];_0x48b4ae['env']=_0x48b4ae[_0x1998f1(0x8a)]||_0x48b4ae['e'];const _0x519acc=_0x48b4ae[_0x1998f1(0x8a)]?_0x48b4ae['env']['trim']()['split'](',')[_0x1998f1(0x83)](_0x64e1ba=>_0x64e1ba[_0x1998f1(0xbb)]())[_0x1998f1(0x80)](_0x191fa6=>_0x191fa6!==''):[''];_0x35519b[_0x1998f1(0xa3)](_0x519acc[_0x1998f1(0xa8)],0x0)&&_0x519acc[_0x1998f1(0x95)]('');_0x519acc[_0x1998f1(0x7a)](_0x1e9981=>{const _0x5ec948={'YrrYu':function(_0x4d1eee,_0xcec38f){const _0x3902eb=a31_0x2c0d;return _0x35519b[_0x3902eb(0x85)](_0x4d1eee,_0xcec38f);},'GCOjz':_0x35519b['vwybu']};_0x157496['forEach'](_0x109148=>{const _0x3b55b0=a31_0x2c0d;let _0x32a47d=_0x5ec948['YrrYu'](helper['getPlatformName'](_0x109148,'_'),'_'+Date['now']());_0x1e9981&&(_0x32a47d+='_'+_0x1e9981);if(_0x1e9981&&(!_0x391f1f[_0x5ec948['GCOjz']]||!_0x391f1f[_0x5ec948['GCOjz']][_0x1e9981]))return;const _0x1e17b9={..._0x7caaa1};_0x1e17b9[_0x3b55b0(0xb5)]=_0x109148;const _0x356966=_0x1e17b9;_0x4fe9da[_0x32a47d]=_0x1e9981?helper['mergeDeep'](_0x391f1f[_0x5ec948['GCOjz']][_0x1e9981],_0x356966):_0x356966,_0x2a6c83['push'](_0x32a47d);});});!_0x11520d[_0x1998f1(0xb7)]&&(_0x11520d[_0x1998f1(0xb7)]={});_0x11520d[_0x1998f1(0xb7)]={..._0x11520d[_0x1998f1(0xb7)],..._0x4fe9da};const _0x206ac8=path['join'](__dirname,_0x35519b[_0x1998f1(0x9d)]);fs[_0x1998f1(0x9f)](_0x206ac8,JSON[_0x1998f1(0x9c)](_0x11520d)),_0x35519b[_0x1998f1(0xb9)](removeExistingEnvs,_0x481628);const _0x41afb1=_0x35519b[_0x1998f1(0x84)](spawn,/^win/[_0x1998f1(0xb2)](process[_0x1998f1(0xad)])?_0x35519b['VzAuS']:_0x35519b['uxAXc'],[_0x35519b[_0x1998f1(0xa9)],_0x206ac8,..._0x481628[_0x1998f1(0x8d)](0x1),_0x35519b[_0x1998f1(0xaf)],_0x2a6c83[_0x1998f1(0x82)](',')],{'stdio':_0x35519b[_0x1998f1(0x99)]});_0x41afb1['on'](_0x35519b['JIZUL'],async _0x149f8b=>{const _0x20c325=_0x1998f1;logger['debug'](_0x20c325(0xb0)+_0x149f8b),logger[_0x20c325(0x81)]('Deleting\x20'+_0x206ac8),fs[_0x20c325(0x8e)](_0x206ac8);});}module[a31_0x2e08cc(0x7b)]=run;
2
+ 'use strict';function a31_0x4d2d(){const _0x3640bd=['uwXLr','writeFileSync','splice','map','tqice','isUndefined','nightwatch.json','PFNfr','cwd','--env','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','NHaUZ','push','IKNuN','../../helpers/logger','env','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','iRPxj','URZBd','1611108EcqBCD','desiredCapabilities','mkEqQ','close','9016IugNyQ','stringify','length','existsSync','now','slice','cIrOl','path','28IqJDvT','nightwatch.cmd','child\x20process\x20exited\x20with\x20code\x20','Deleting\x20','test','useW3C','exports','10735668mLKvbF','filter','KKZKB','join','start_process','20wjGbwM','platforms','nightwatch.conf.js','port','691480JBfeqG','129919WsFeCu','forEach','6980404djVECe','875772qpxRTB','findIndex','inherit','trim','714KdqIFv','config','debug','info','host','GSryl','THoHg','Kddlo','winstonLogger','253JUJlrv','--config','test_settings','hub.browserstack.com','child_process','mergeDeep','xkeBB','../../helpers/BrowserStackSetup'];a31_0x4d2d=function(){return _0x3640bd;};return a31_0x4d2d();}const a31_0x57277d=a31_0x96d2;function a31_0x96d2(_0x15e6f0,_0x3dd047){const _0x4d2df1=a31_0x4d2d();return a31_0x96d2=function(_0x96d27f,_0x29f2d8){_0x96d27f=_0x96d27f-0x1b1;let _0xe3610f=_0x4d2df1[_0x96d27f];return _0xe3610f;},a31_0x96d2(_0x15e6f0,_0x3dd047);}(function(_0x262b28,_0x4ee137){const _0x7a86e4=a31_0x96d2,_0x56746f=_0x262b28();while(!![]){try{const _0x2086f0=-parseInt(_0x7a86e4(0x1d3))/0x1*(-parseInt(_0x7a86e4(0x1c2))/0x2)+parseInt(_0x7a86e4(0x1d6))/0x3+-parseInt(_0x7a86e4(0x1d5))/0x4+parseInt(_0x7a86e4(0x1ce))/0x5*(parseInt(_0x7a86e4(0x1b6))/0x6)+parseInt(_0x7a86e4(0x1da))/0x7*(-parseInt(_0x7a86e4(0x1ba))/0x8)+parseInt(_0x7a86e4(0x1c9))/0x9+-parseInt(_0x7a86e4(0x1d2))/0xa*(parseInt(_0x7a86e4(0x1e3))/0xb);if(_0x2086f0===_0x4ee137)break;else _0x56746f['push'](_0x56746f['shift']());}catch(_0x59b595){_0x56746f['push'](_0x56746f['shift']());}}}(a31_0x4d2d,0xe2617));const fs=require('fs'),path=require(a31_0x57277d(0x1c1)),{spawn}=require(a31_0x57277d(0x1e7)),logger=require(a31_0x57277d(0x1b1))[a31_0x57277d(0x1e2)],{default:BrowserStackSetup}=require(a31_0x57277d(0x1ea)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x1ddbb5,_0x35c8ea)=>{const _0x541d06=a31_0x57277d,_0x5be7db={'GSryl':_0x541d06(0x1d0),'uwXLr':_0x541d06(0x1f1),'URZBd':function(_0x385413,_0x4a1429){return _0x385413(_0x4a1429);},'cIrOl':_0x541d06(0x1b3)};let _0x41b0d5=null,_0x434031={};const _0x10e786=_0x35c8ea[_0x541d06(0x1d7)](_0x332a6b=>_0x332a6b==='--config');if(!helper[_0x541d06(0x1f0)](_0x1ddbb5[_0x541d06(0x1db)])&&fs[_0x541d06(0x1bd)](path[_0x541d06(0x1cc)](process['cwd'](),_0x1ddbb5['config'])))_0x41b0d5=path[_0x541d06(0x1cc)](process[_0x541d06(0x1f3)](),_0x1ddbb5[_0x541d06(0x1db)]),_0x35c8ea[_0x541d06(0x1ed)](_0x10e786,0x2);else{if(fs[_0x541d06(0x1bd)](path[_0x541d06(0x1cc)](process['cwd'](),_0x5be7db['GSryl'])))_0x41b0d5=path[_0x541d06(0x1cc)](process[_0x541d06(0x1f3)](),_0x5be7db[_0x541d06(0x1df)]);else fs['existsSync'](path[_0x541d06(0x1cc)](process[_0x541d06(0x1f3)](),_0x5be7db[_0x541d06(0x1eb)]))&&(_0x41b0d5=path['join'](process[_0x541d06(0x1f3)](),_0x5be7db[_0x541d06(0x1eb)]));}return _0x41b0d5?(logger[_0x541d06(0x1dd)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x41b0d5),_0x434031=_0x5be7db[_0x541d06(0x1b5)](require,_0x41b0d5)):logger[_0x541d06(0x1dd)](_0x5be7db[_0x541d06(0x1c0)]),_0x434031;},removeExistingEnvs=_0xe9ed63=>{const _0x3e52e9=a31_0x57277d,_0x350431={};_0x350431['PFNfr']=function(_0x50314d,_0x16f9a7){return _0x50314d>_0x16f9a7;};const _0x17e78f=_0x350431;let _0x3fd486=_0xe9ed63[_0x3e52e9(0x1d7)](_0xa8947d=>_0xa8947d===_0x3e52e9(0x1f4));_0x17e78f[_0x3e52e9(0x1f2)](_0x3fd486,-0x1)&&_0xe9ed63['splice'](_0x3fd486,0x2),_0x3fd486=_0xe9ed63[_0x3e52e9(0x1d7)](_0x243ed7=>_0x243ed7==='-e'),_0x17e78f[_0x3e52e9(0x1f2)](_0x3fd486,-0x1)&&_0xe9ed63[_0x3e52e9(0x1ed)](_0x3fd486,0x2);};function run(_0x490750,_0x255b57){const _0x29fbbc=a31_0x57277d,_0x15fbb9={'KKZKB':'nightwatch','tqice':function(_0x14db1f,_0x436c11){return _0x14db1f+_0x436c11;},'iRPxj':_0x29fbbc(0x1e5),'NHaUZ':function(_0x1c2c86,_0x59a951,_0x110991){return _0x1c2c86(_0x59a951,_0x110991);},'IKNuN':_0x29fbbc(0x1e6),'gCuOr':_0x29fbbc(0x1f5),'krQkI':function(_0x232348,_0x2b4470){return _0x232348===_0x2b4470;},'OsSlt':'nightwatch-browserstack.json','Kddlo':function(_0x411bdc,_0x47704d){return _0x411bdc(_0x47704d);},'THoHg':function(_0x33b77f,_0x52e331,_0x598a6c,_0x49c3fb){return _0x33b77f(_0x52e331,_0x598a6c,_0x49c3fb);},'stwxy':_0x29fbbc(0x1c3),'SZIgO':_0x29fbbc(0x1e4),'YZduP':'--env','xkeBB':_0x29fbbc(0x1d8),'mkEqQ':_0x29fbbc(0x1b9)},_0x30b3f1=new BrowserStackSetup(_0x490750);if(!_0x30b3f1[_0x29fbbc(0x1db)])return;const _0x210e30=_0x15fbb9[_0x29fbbc(0x1f6)](getUserNightwatchConfigs,_0x490750,_0x255b57),_0x592cd5={};_0x592cd5[_0x29fbbc(0x1cd)]=![];const _0x3e69cf={};_0x3e69cf[_0x29fbbc(0x1de)]=_0x15fbb9[_0x29fbbc(0x1f8)],_0x3e69cf[_0x29fbbc(0x1d1)]=0x1bb;const _0x4e507f={};_0x4e507f['webdriver']=_0x592cd5,_0x4e507f['selenium']=_0x3e69cf;const _0x335ae4=_0x4e507f;logger['info'](_0x15fbb9['gCuOr']);const _0x2d542e={..._0x210e30},_0x526498=_0x2d542e,_0x4cb699=helper[_0x29fbbc(0x1c7)](_0x30b3f1[_0x29fbbc(0x1db)]),_0x3a42d2=[];_0x30b3f1[_0x29fbbc(0x1db)][_0x29fbbc(0x1cf)][_0x29fbbc(0x1d4)]((_0x22138d,_0xe8d7)=>{const _0x1b7e6b=_0x29fbbc;_0x4cb699?_0x3a42d2['push'](helper['modifyBrowserStackW3CCaps'](_0x30b3f1['config'],_0x15fbb9[_0x1b7e6b(0x1cb)],_0xe8d7)):_0x3a42d2[_0x1b7e6b(0x1f7)](helper['modifyBrowserStackCaps'](_0x30b3f1[_0x1b7e6b(0x1db)],_0x15fbb9[_0x1b7e6b(0x1cb)],_0xe8d7));});const _0x3e7514={},_0x2ae066=[];_0x490750[_0x29fbbc(0x1b2)]=_0x490750[_0x29fbbc(0x1b2)]||_0x490750['e'];const _0x1ca7ac=_0x490750[_0x29fbbc(0x1b2)]?_0x490750['env'][_0x29fbbc(0x1d9)]()['split'](',')[_0x29fbbc(0x1ee)](_0x232d0a=>_0x232d0a[_0x29fbbc(0x1d9)]())[_0x29fbbc(0x1ca)](_0x358b59=>_0x358b59!==''):[''];_0x15fbb9['krQkI'](_0x1ca7ac[_0x29fbbc(0x1bc)],0x0)&&_0x1ca7ac[_0x29fbbc(0x1f7)]('');_0x1ca7ac['forEach'](_0x5a07f8=>{const _0x4b47c1=_0x29fbbc;_0x3a42d2[_0x4b47c1(0x1d4)](_0x5b76e9=>{const _0xe51781=_0x4b47c1;let _0x5e0ad5=_0x15fbb9[_0xe51781(0x1ef)](helper['getPlatformName'](_0x5b76e9,'_'),'_'+Date[_0xe51781(0x1be)]());_0x5a07f8&&(_0x5e0ad5+='_'+_0x5a07f8);if(_0x5a07f8&&(!_0x210e30[_0x15fbb9[_0xe51781(0x1b4)]]||!_0x210e30[_0x15fbb9[_0xe51781(0x1b4)]][_0x5a07f8]))return;const _0x4ab1a8={..._0x335ae4};_0x4ab1a8[_0xe51781(0x1b7)]=_0x5b76e9;const _0x14b82e=_0x4ab1a8;_0x3e7514[_0x5e0ad5]=_0x5a07f8?helper[_0xe51781(0x1e8)](_0x210e30[_0x15fbb9[_0xe51781(0x1b4)]][_0x5a07f8],_0x14b82e):_0x14b82e,_0x2ae066['push'](_0x5e0ad5);});});!_0x526498[_0x29fbbc(0x1e5)]&&(_0x526498[_0x29fbbc(0x1e5)]={});_0x526498[_0x29fbbc(0x1e5)]={..._0x526498[_0x29fbbc(0x1e5)],..._0x3e7514};const _0x4c1aa7=path[_0x29fbbc(0x1cc)](__dirname,_0x15fbb9['OsSlt']);fs[_0x29fbbc(0x1ec)](_0x4c1aa7,JSON[_0x29fbbc(0x1bb)](_0x526498)),_0x15fbb9[_0x29fbbc(0x1e1)](removeExistingEnvs,_0x255b57);const _0x17d854=_0x15fbb9[_0x29fbbc(0x1e0)](spawn,/^win/[_0x29fbbc(0x1c6)](process['platform'])?_0x15fbb9['stwxy']:_0x15fbb9['KKZKB'],[_0x15fbb9['SZIgO'],_0x4c1aa7,..._0x255b57[_0x29fbbc(0x1bf)](0x1),_0x15fbb9['YZduP'],_0x2ae066[_0x29fbbc(0x1cc)](',')],{'stdio':_0x15fbb9[_0x29fbbc(0x1e9)]});_0x17d854['on'](_0x15fbb9[_0x29fbbc(0x1b8)],async _0x535b79=>{const _0x5ce8e6=_0x29fbbc;logger[_0x5ce8e6(0x1dc)](_0x5ce8e6(0x1c4)+_0x535b79),logger[_0x5ce8e6(0x1dd)](_0x5ce8e6(0x1c5)+_0x4c1aa7),fs['unlinkSync'](_0x4c1aa7);});}module[a31_0x57277d(0x1c8)]=run;
@@ -1 +1 @@
1
- const a32_0x528607=a32_0x2564;(function(_0x32f196,_0x53a9f8){const _0x2ed80b=a32_0x2564,_0x1d0105=_0x32f196();while(!![]){try{const _0x1dcf54=-parseInt(_0x2ed80b(0x1d0))/0x1+-parseInt(_0x2ed80b(0x213))/0x2+parseInt(_0x2ed80b(0x1d1))/0x3+parseInt(_0x2ed80b(0x1e0))/0x4+-parseInt(_0x2ed80b(0x1fe))/0x5+parseInt(_0x2ed80b(0x21b))/0x6+parseInt(_0x2ed80b(0x1d5))/0x7*(parseInt(_0x2ed80b(0x209))/0x8);if(_0x1dcf54===_0x53a9f8)break;else _0x1d0105['push'](_0x1d0105['shift']());}catch(_0x3e3c77){_0x1d0105['push'](_0x1d0105['shift']());}}}(a32_0x12c2,0x40f48));const util=require(a32_0x528607(0x226)),logger=require(a32_0x528607(0x1f0))['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a32_0x528607(0x210)),scripts=require('../../helpers/accessibility-automation/scripts');function a32_0x2564(_0x29c785,_0x24243a){const _0x12c238=a32_0x12c2();return a32_0x2564=function(_0x2564d5,_0x11e1be){_0x2564d5=_0x2564d5-0x1bd;let _0x553978=_0x12c238[_0x2564d5];return _0x553978;},a32_0x2564(_0x29c785,_0x24243a);}exports['browserStackEvaluate']=async(_0x13eda4,_0x1a6147,_0x296d4c={})=>{const _0x3a621f=a32_0x528607,_0x23f7f3={};_0x23f7f3['pGpyb']='bstackSdkArgs';const _0x40cdf7=_0x23f7f3;return await _0x13eda4['evaluate']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x1a6147[_0x3a621f(0x1da)](/arguments/g,_0x40cdf7[_0x3a621f(0x1be)])+_0x3a621f(0x1e2)+JSON['stringify'](_0x296d4c)+')');},exports[a32_0x528607(0x1fc)]=async(_0x4d5a3c,_0x507289,_0xe56839={})=>{const _0x3f62dc=a32_0x528607,_0x57208d={};_0x57208d['BUdoq']=function(_0xa13fe4,_0x1a231c){return _0xa13fe4===_0x1a231c;},_0x57208d[_0x3f62dc(0x216)]=_0x3f62dc(0x21e),_0x57208d[_0x3f62dc(0x1d8)]=function(_0x5d0f21,_0x567118){return _0x5d0f21===_0x567118;},_0x57208d[_0x3f62dc(0x1d3)]=_0x3f62dc(0x1e4),_0x57208d['cOhTr']=_0x3f62dc(0x20f);const _0x59219a=_0x57208d;if(_0x59219a[_0x3f62dc(0x1c7)](_0x4d5a3c['constructor'][_0x3f62dc(0x204)],_0x59219a[_0x3f62dc(0x216)]))return await _0x4d5a3c['executeAsyncScript'](_0x507289,_0xe56839);else{if(_0x59219a[_0x3f62dc(0x1d8)](_0x4d5a3c['constructor'][_0x3f62dc(0x204)],_0x59219a[_0x3f62dc(0x1d3)]))return await _0x4d5a3c[_0x3f62dc(0x205)](_0x3f62dc(0x1c0)+_0x507289[_0x3f62dc(0x1da)](/arguments/g,_0x59219a[_0x3f62dc(0x20d)])+_0x3f62dc(0x225)+JSON[_0x3f62dc(0x1f9)](_0xe56839)+')');}},exports[a32_0x528607(0x203)]=async _0x12d888=>{const _0x3e158c=a32_0x528607,_0x1145b9={};_0x1145b9[_0x3e158c(0x1e9)]=_0x3e158c(0x1db),_0x1145b9[_0x3e158c(0x1ee)]=_0x3e158c(0x1f5),_0x1145b9[_0x3e158c(0x1f7)]=_0x3e158c(0x221),_0x1145b9[_0x3e158c(0x212)]=_0x3e158c(0x1ed),_0x1145b9[_0x3e158c(0x1c6)]=_0x3e158c(0x201),_0x1145b9[_0x3e158c(0x21c)]=_0x3e158c(0x214);const _0x17e874=_0x1145b9;_0x12d888[_0x3e158c(0x223)]&&(_0x12d888['accessibilityOptions']['wcagVersion']&&(_0x12d888[_0x17e874[_0x3e158c(0x1e9)]]=_0x12d888[_0x3e158c(0x223)]['wcagVersion']),_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1c9)]&&(_0x12d888[_0x17e874[_0x3e158c(0x1ee)]]=_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1c9)]),_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1f1)]&&(_0x12d888[_0x17e874['rblvG']]=_0x12d888[_0x3e158c(0x223)]['includeIssueType'][_0x3e158c(0x20b)],_0x12d888[_0x17e874['ERQPV']]=_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1f1)]['needsReview']));const _0x6f5e69=JSON[_0x3e158c(0x224)](process[_0x3e158c(0x218)][_0x3e158c(0x1fd)])[_0x3e158c(0x1e8)];_0x12d888[_0x17e874[_0x3e158c(0x1c6)]]=process[_0x3e158c(0x218)][_0x3e158c(0x1f8)],_0x12d888[_0x17e874[_0x3e158c(0x21c)]]=_0x6f5e69,delete _0x12d888[_0x3e158c(0x223)];},exports[a32_0x528607(0x215)]=async _0x34e6df=>{const _0x204d1b=a32_0x528607,_0xb1c17a={};_0xb1c17a['oprej']=_0x204d1b(0x1f4),_0xb1c17a[_0x204d1b(0x1eb)]=_0x204d1b(0x227);const _0x2ce67f=_0xb1c17a;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x34e6df,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x34e6df,scripts.getResults);return res;}catch{return logger[_0x204d1b(0x1c2)](_0x2ce67f[_0x204d1b(0x1d6)]),[];}else return logger[_0x204d1b(0x1c4)](_0x2ce67f['agtkf']),[];},exports[a32_0x528607(0x206)]=async(_0x29daf1,_0x9184b2='')=>{const _0x4cdd91=a32_0x528607;if(global['accessibilityPlatform']){const _0x4dd3af={};return _0x4dd3af[_0x4cdd91(0x1d7)]=_0x9184b2,await exports[_0x4cdd91(0x1ca)](_0x29daf1,scripts['performScan'],_0x4dd3af);}},exports[a32_0x528607(0x21a)]=async _0xc4ac6d=>{const _0x293a06=a32_0x528607,_0x153ee2={};_0x153ee2['mBVUG']=_0x293a06(0x217),_0x153ee2[_0x293a06(0x222)]=_0x293a06(0x1bd);const _0x1dd0ca=_0x153ee2;if(global[_0x293a06(0x1fa)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0xc4ac6d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0xc4ac6d,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x293a06(0x1e1)](_0x1dd0ca[_0x293a06(0x1c1)]),{};}else return logger[_0x293a06(0x1c4)](_0x1dd0ca[_0x293a06(0x222)]),{};},exports[a32_0x528607(0x1ce)]=async _0x5c8dc6=>{const _0x396acb=a32_0x528607,_0x19a46b={'nEjhm':function(_0x2bb906,_0x491f1e){return _0x2bb906!==_0x491f1e;},'qseLB':_0x396acb(0x1f3),'luuJb':function(_0x2e466f,_0x5c5e00){return _0x2e466f===_0x5c5e00;},'JmTRZ':'chrome','MZxPc':_0x396acb(0x1dc),'tyZwS':_0x396acb(0x207),'mTSNu':function(_0x4e782e,_0x28b2b4){return _0x4e782e(_0x28b2b4);},'TGnTY':_0x396acb(0x1f6),'YiDFL':function(_0x17a101,_0xe2cdb2){return _0x17a101>_0xe2cdb2;},'aWxnj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x19a46b[_0x396acb(0x1cf)](_0x5c8dc6[_0x396acb(0x208)],''))return logger[_0x396acb(0x1c4)](_0x19a46b[_0x396acb(0x1cb)]),![];const _0x47f7e3=_0x5c8dc6[_0x396acb(0x21f)];if(!(_0x19a46b[_0x396acb(0x1ff)](_0x47f7e3,_0x19a46b[_0x396acb(0x1e3)])||_0x19a46b[_0x396acb(0x1ff)](_0x47f7e3,_0x19a46b[_0x396acb(0x20c)])))return logger[_0x396acb(0x1c4)](_0x19a46b[_0x396acb(0x1f2)]),![];const _0x76c3b4=_0x19a46b[_0x396acb(0x1fb)](parseInt,_0x5c8dc6[_0x396acb(0x1e7)]);if(!(_0x19a46b[_0x396acb(0x1ff)](_0x76c3b4,_0x19a46b[_0x396acb(0x1e6)])||_0x19a46b[_0x396acb(0x1e5)](_0x76c3b4,0x5e)))return logger[_0x396acb(0x1c4)](_0x19a46b[_0x396acb(0x21d)]),![];}catch(_0x56bca3){logger['debug'](_0x396acb(0x1d4)+util[_0x396acb(0x219)](_0x56bca3));}return!![];},exports[a32_0x528607(0x1d2)]=(_0x4e071d,_0x4d1030,_0x2c28e0)=>{const _0x5d9198=a32_0x528607,_0x506cc1={'gQxkh':function(_0x4eb419){return _0x4eb419();},'dyING':_0x5d9198(0x1c3),'pfKQR':function(_0x1617e3,_0xcb975e){return _0x1617e3===_0xcb975e;},'mZxTJ':'chrome','FCKqR':function(_0x4fd4c6,_0x590572){return _0x4fd4c6===_0x590572;},'GCgVR':_0x5d9198(0x1dc),'qreUh':_0x5d9198(0x207),'gzTLq':'latest','MuLLF':function(_0x58e9b9,_0x344fac){return _0x58e9b9>_0x344fac;},'yIDgN':_0x5d9198(0x1ec),'mmrgV':function(_0x3ba640,_0x749912){return _0x3ba640(_0x749912);},'LeAFl':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','OQAXS':function(_0x2f11a8,_0x29b317){return _0x2f11a8+_0x29b317;},'gnYUy':function(_0x1c062e,_0x3e9ae4){return _0x1c062e(_0x3e9ae4);}};try{if(_0x506cc1[_0x5d9198(0x20e)](isAccessibilityAutomationSession)){global[_0x5d9198(0x1fa)]=!![];!_0x4e071d[_0x506cc1[_0x5d9198(0x1cc)]]&&(global[_0x5d9198(0x1fa)]=![]);!(_0x506cc1[_0x5d9198(0x200)](_0x4e071d[_0x5d9198(0x202)],_0x506cc1['mZxTJ'])||_0x506cc1[_0x5d9198(0x1c5)](_0x4e071d['browserName'],_0x506cc1['GCgVR']))&&(logger['warn'](_0x506cc1['qreUh']),global[_0x5d9198(0x1fa)]=![]);!(_0x506cc1[_0x5d9198(0x200)](_0x4e071d[_0x5d9198(0x1e7)],_0x506cc1[_0x5d9198(0x1c8)])||_0x506cc1[_0x5d9198(0x211)](_0x4e071d[_0x5d9198(0x1e7)],0x5e))&&(logger[_0x5d9198(0x1c4)](_0x506cc1[_0x5d9198(0x20a)]),global['accessibilityPlatform']=![]);!_0x506cc1[_0x5d9198(0x1ef)](isUndefined,_0x4e071d[_0x5d9198(0x208)])&&(logger[_0x5d9198(0x1c4)](_0x506cc1[_0x5d9198(0x1de)]),global[_0x5d9198(0x1fa)]=![]);if(!global['accessibilityPlatform']){_0x4e071d[_0x506cc1[_0x5d9198(0x1cc)]]=![];const _0x48dd3e=_0x506cc1[_0x5d9198(0x1cd)](_0x4d1030,_0x506cc1[_0x5d9198(0x1ea)](encodeURIComponent,JSON[_0x5d9198(0x1f9)](_0x4e071d)));_0x2c28e0&&(_0x2c28e0[_0x5d9198(0x1d9)][_0x5d9198(0x1bf)][_0x5d9198(0x1dd)][_0x5d9198(0x1df)]['connectOptions']['wsEndpoint']=_0x48dd3e);}}}catch(_0x266a44){logger['debug'](_0x5d9198(0x220)+util[_0x5d9198(0x219)](_0x266a44));}};function a32_0x12c2(){const _0xdb9405=['deviceName','501136SpYcBW','yIDgN','bestPractice','MZxPc','cOhTr','gQxkh','bstackSdkArgs','../../helpers/helper','MuLLF','ERQPV','83084ALMCBm','accessibilityOptions.scannerVersion','getAccessibilityResults','KXHMd','No\x20summaryResults\x20found.','env','format','getAccessibilityResultsSummary','767268dxlkPo','NGwcL','aWxnj','WebDriver','browser','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','accessibilityOptions.includeIssueType.bestPractice','qZsFt','accessibilityOptions','parse','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','util','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','pGpyb','testInfo','(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','mBVUG','error','browserstack.accessibility','warn','FCKqR','pREhW','BUdoq','gzTLq','scannerProcessingTimeout','browserStackEvaluate','qseLB','dyING','OQAXS','platformValidation','nEjhm','425699dfRtIK','1500867lmzOQe','processAccessibilityCaps','DsjWX','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','42cdCNlN','oprej','method','sMZXX','currentTest','replace','accessibilityOptions.wcagVersion','playwright-chromium','project','LeAFl','use','823396Aklgaf','debug','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','JmTRZ','Playwright','YiDFL','TGnTY','browser_version','scannerVersion','SkJmB','gnYUy','agtkf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','accessibilityOptions.includeIssueType.needsReview','zWISX','mmrgV','../../helpers/logger','includeIssueType','tyZwS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','No\x20accessibility\x20results\x20were\x20found.','accessibilityOptions.scannerProcessingTimeout','latest','rblvG','BS_A11Y_JWT','stringify','accessibilityPlatform','mTSNu','browserStackExecuteDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2382855jcOqiJ','luuJb','pfKQR','accessibilityOptions.authToken','browserName','setAccessibilityCapabilities','name','executeScript','performScan','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.'];a32_0x12c2=function(){return _0xdb9405;};return a32_0x12c2();}
1
+ const a32_0x42eead=a32_0x9a62;function a32_0x9a62(_0x556111,_0x2fae5e){const _0xde0d63=a32_0xde0d();return a32_0x9a62=function(_0x9a628c,_0x17b1fd){_0x9a628c=_0x9a628c-0x1a0;let _0x3d344a=_0xde0d63[_0x9a628c];return _0x3d344a;},a32_0x9a62(_0x556111,_0x2fae5e);}(function(_0x4ae935,_0x5b3da8){const _0x523212=a32_0x9a62,_0x35a56d=_0x4ae935();while(!![]){try{const _0x4c0a74=parseInt(_0x523212(0x1e6))/0x1+-parseInt(_0x523212(0x1c3))/0x2+-parseInt(_0x523212(0x1f4))/0x3*(parseInt(_0x523212(0x1cf))/0x4)+-parseInt(_0x523212(0x1c0))/0x5*(-parseInt(_0x523212(0x1f1))/0x6)+-parseInt(_0x523212(0x1b8))/0x7+parseInt(_0x523212(0x1d2))/0x8+-parseInt(_0x523212(0x1da))/0x9*(-parseInt(_0x523212(0x1ba))/0xa);if(_0x4c0a74===_0x5b3da8)break;else _0x35a56d['push'](_0x35a56d['shift']());}catch(_0x4765c5){_0x35a56d['push'](_0x35a56d['shift']());}}}(a32_0xde0d,0xc3593));const util=require(a32_0x42eead(0x1d9)),logger=require(a32_0x42eead(0x1c6))[a32_0x42eead(0x1bb)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a32_0x42eead(0x1bd)),scripts=require(a32_0x42eead(0x1e1));exports[a32_0x42eead(0x1ce)]=async(_0x18ea5a,_0xe0e4f5,_0x373a18={})=>{const _0x1820cc=a32_0x42eead,_0xc9c181={};_0xc9c181[_0x1820cc(0x1f5)]=_0x1820cc(0x1e7);const _0x348e81=_0xc9c181;return await _0x18ea5a['evaluate'](_0x1820cc(0x1d0)+_0xe0e4f5[_0x1820cc(0x1db)](/arguments/g,_0x348e81[_0x1820cc(0x1f5)])+_0x1820cc(0x1cd)+JSON['stringify'](_0x373a18)+')');},exports[a32_0x42eead(0x1ca)]=async(_0x47448b,_0x5a075d,_0xfc0097={})=>{const _0x4b9f5b=a32_0x42eead,_0x43d559={};_0x43d559[_0x4b9f5b(0x1eb)]=function(_0x475c87,_0x16692a){return _0x475c87===_0x16692a;},_0x43d559['qIXoz']=_0x4b9f5b(0x1f8),_0x43d559['UAyHR']=function(_0x232c5e,_0x47f546){return _0x232c5e===_0x47f546;},_0x43d559[_0x4b9f5b(0x1a7)]=_0x4b9f5b(0x1f6),_0x43d559['aDcMQ']=_0x4b9f5b(0x1e7);const _0x567955=_0x43d559;if(_0x567955[_0x4b9f5b(0x1eb)](_0x47448b[_0x4b9f5b(0x1c8)]['name'],_0x567955[_0x4b9f5b(0x1e4)]))return await _0x47448b['executeAsyncScript'](_0x5a075d,_0xfc0097);else{if(_0x567955[_0x4b9f5b(0x1ae)](_0x47448b[_0x4b9f5b(0x1c8)][_0x4b9f5b(0x1c1)],_0x567955['tKxfa']))return await _0x47448b[_0x4b9f5b(0x1ef)](_0x4b9f5b(0x1e0)+_0x5a075d[_0x4b9f5b(0x1db)](/arguments/g,_0x567955[_0x4b9f5b(0x1cb)])+_0x4b9f5b(0x1cc)+JSON[_0x4b9f5b(0x1fa)](_0xfc0097)+')');}},exports[a32_0x42eead(0x201)]=async _0x2091d5=>{const _0x4c06e8=a32_0x42eead,_0x50714b={};_0x50714b['ZsnNC']=_0x4c06e8(0x1be),_0x50714b['tEbVX']=_0x4c06e8(0x1fc),_0x50714b[_0x4c06e8(0x1a4)]=_0x4c06e8(0x1b4),_0x50714b['yZBig']=_0x4c06e8(0x1d4),_0x50714b['Pzmtd']='accessibilityOptions.authToken',_0x50714b['tqOcF']='accessibilityOptions.scannerVersion';const _0x47e7e0=_0x50714b;_0x2091d5[_0x4c06e8(0x1b5)]&&(_0x2091d5[_0x4c06e8(0x1b5)]['wcagVersion']&&(_0x2091d5[_0x47e7e0['ZsnNC']]=_0x2091d5[_0x4c06e8(0x1b5)]['wcagVersion']),_0x2091d5[_0x4c06e8(0x1b5)][_0x4c06e8(0x1d8)]&&(_0x2091d5[_0x47e7e0[_0x4c06e8(0x1dc)]]=_0x2091d5[_0x4c06e8(0x1b5)]['scannerProcessingTimeout']),_0x2091d5[_0x4c06e8(0x1b5)]['includeIssueType']&&(_0x2091d5[_0x47e7e0['RsRbS']]=_0x2091d5[_0x4c06e8(0x1b5)][_0x4c06e8(0x1af)][_0x4c06e8(0x1fd)],_0x2091d5[_0x47e7e0[_0x4c06e8(0x1b6)]]=_0x2091d5[_0x4c06e8(0x1b5)][_0x4c06e8(0x1af)]['needsReview']));const _0x2ed63d=JSON[_0x4c06e8(0x1f0)](process[_0x4c06e8(0x1d5)][_0x4c06e8(0x1b9)])[_0x4c06e8(0x1a5)];_0x2091d5[_0x47e7e0['Pzmtd']]=process[_0x4c06e8(0x1d5)][_0x4c06e8(0x1bf)],_0x2091d5[_0x47e7e0['tqOcF']]=_0x2ed63d,delete _0x2091d5['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x32cb9e=>{const _0xe06d52=a32_0x42eead,_0x5bffea={};_0x5bffea['PdvGf']=_0xe06d52(0x1bc),_0x5bffea[_0xe06d52(0x1fb)]=_0xe06d52(0x1b7);const _0x40043c=_0x5bffea;if(global[_0xe06d52(0x1a0)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x32cb9e,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x32cb9e,scripts.getResults);return res;}catch{return logger['error'](_0x40043c[_0xe06d52(0x1d3)]),[];}else return logger[_0xe06d52(0x1b3)](_0x40043c[_0xe06d52(0x1fb)]),[];},exports['performScan']=async(_0x568dac,_0x112fee='')=>{const _0x20a603=a32_0x42eead;if(global[_0x20a603(0x1a0)]){const _0xb38a42={};return _0xb38a42[_0x20a603(0x1e9)]=_0x112fee,await exports[_0x20a603(0x1ce)](_0x568dac,scripts[_0x20a603(0x202)],_0xb38a42);}},exports[a32_0x42eead(0x1aa)]=async _0x507080=>{const _0x57bfb2=a32_0x42eead,_0x1e482d={};_0x1e482d['JDRGk']='No\x20summaryResults\x20found.',_0x1e482d[_0x57bfb2(0x1b0)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x177a22=_0x1e482d;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x507080,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x507080,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x57bfb2(0x1ac)](_0x177a22[_0x57bfb2(0x1d1)]),{};}else return logger[_0x57bfb2(0x1b3)](_0x177a22[_0x57bfb2(0x1b0)]),{};},exports[a32_0x42eead(0x1a8)]=async _0x29c6f6=>{const _0x513226=a32_0x42eead,_0x2dde28={'ABnsd':function(_0x59fcc3,_0x111522){return _0x59fcc3!==_0x111522;},'KpKfG':_0x513226(0x1f2),'cphey':function(_0x3f5d5b,_0x5e4f95){return _0x3f5d5b===_0x5e4f95;},'zluvk':_0x513226(0x1c7),'AwOVm':function(_0x5e7036,_0x546f07){return _0x5e7036===_0x546f07;},'PPEoJ':_0x513226(0x1d7),'tnuuW':_0x513226(0x1b2),'wjoLw':function(_0x43c50b,_0x13c51){return _0x43c50b(_0x13c51);},'FunYH':'latest','BJMfp':function(_0x3b7813,_0x7c23ec){return _0x3b7813>_0x7c23ec;},'CZGrT':_0x513226(0x1f9)};try{if(!_0x2dde28[_0x513226(0x1c9)](_0x29c6f6[_0x513226(0x1a9)],''))return logger[_0x513226(0x1b3)](_0x2dde28[_0x513226(0x1d6)]),![];const _0xfb33d9=_0x29c6f6[_0x513226(0x1de)];if(!(_0x2dde28[_0x513226(0x1b1)](_0xfb33d9,_0x2dde28[_0x513226(0x1ee)])||_0x2dde28[_0x513226(0x1a6)](_0xfb33d9,_0x2dde28[_0x513226(0x1c2)])))return logger[_0x513226(0x1b3)](_0x2dde28[_0x513226(0x1ec)]),![];const _0x372f19=_0x2dde28[_0x513226(0x1e3)](parseInt,_0x29c6f6[_0x513226(0x1c4)]);if(!(_0x2dde28[_0x513226(0x1b1)](_0x372f19,_0x2dde28['FunYH'])||_0x2dde28[_0x513226(0x200)](_0x372f19,0x5e)))return logger[_0x513226(0x1b3)](_0x2dde28['CZGrT']),![];}catch(_0x57f665){logger[_0x513226(0x1ac)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x57f665));}return!![];},exports[a32_0x42eead(0x1c5)]=(_0x47d25d,_0x582582,_0x3fb389)=>{const _0x1ee1fc=a32_0x42eead,_0xfc11b0={'VQFTg':function(_0x118475){return _0x118475();},'rKTrD':'browserstack.accessibility','SEtrS':function(_0x5017e6,_0x401d61){return _0x5017e6===_0x401d61;},'VltFd':_0x1ee1fc(0x1c7),'hhLmb':'playwright-chromium','zxZIV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','vHQNP':_0x1ee1fc(0x1ab),'zgwXi':function(_0x412475,_0x4604b0){return _0x412475>_0x4604b0;},'ZBtto':_0x1ee1fc(0x1f9),'nTdRl':function(_0x5e5e7f,_0x1a30f0){return _0x5e5e7f(_0x1a30f0);},'jVPNk':_0x1ee1fc(0x1f2),'jcqXC':function(_0x41e8fa,_0x253887){return _0x41e8fa+_0x253887;},'PXdOI':function(_0x3e273e,_0x583edb){return _0x3e273e(_0x583edb);}};try{if(_0xfc11b0[_0x1ee1fc(0x1a1)](isAccessibilityAutomationSession)){global[_0x1ee1fc(0x1a0)]=!![];!_0x47d25d[_0xfc11b0[_0x1ee1fc(0x1e5)]]&&(global['accessibilityPlatform']=![]);!(_0xfc11b0[_0x1ee1fc(0x1dd)](_0x47d25d[_0x1ee1fc(0x1ad)],_0xfc11b0['VltFd'])||_0xfc11b0[_0x1ee1fc(0x1dd)](_0x47d25d['browserName'],_0xfc11b0[_0x1ee1fc(0x1df)]))&&(logger['warn'](_0xfc11b0[_0x1ee1fc(0x1a3)]),global[_0x1ee1fc(0x1a0)]=![]);!(_0xfc11b0[_0x1ee1fc(0x1dd)](_0x47d25d[_0x1ee1fc(0x1c4)],_0xfc11b0[_0x1ee1fc(0x1fe)])||_0xfc11b0['zgwXi'](_0x47d25d[_0x1ee1fc(0x1c4)],0x5e))&&(logger[_0x1ee1fc(0x1b3)](_0xfc11b0['ZBtto']),global[_0x1ee1fc(0x1a0)]=![]);!_0xfc11b0[_0x1ee1fc(0x1ed)](isUndefined,_0x47d25d[_0x1ee1fc(0x1a9)])&&(logger['warn'](_0xfc11b0[_0x1ee1fc(0x1ea)]),global[_0x1ee1fc(0x1a0)]=![]);if(!global['accessibilityPlatform']){_0x47d25d[_0xfc11b0[_0x1ee1fc(0x1e5)]]=![];const _0x11f735=_0xfc11b0[_0x1ee1fc(0x1f3)](_0x582582,_0xfc11b0[_0x1ee1fc(0x1f7)](encodeURIComponent,JSON[_0x1ee1fc(0x1fa)](_0x47d25d)));_0x3fb389&&(_0x3fb389[_0x1ee1fc(0x1e2)][_0x1ee1fc(0x1a2)]['project']['use']['connectOptions'][_0x1ee1fc(0x1e8)]=_0x11f735);}}}catch(_0x2f0207){logger[_0x1ee1fc(0x1ac)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x1ee1fc(0x1ff)](_0x2f0207));}};function a32_0xde0d(){const _0x2f1954=['browserStackEvaluate','39428xBYjef','(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','JDRGk','9135920EUFcBL','PdvGf','accessibilityOptions.includeIssueType.needsReview','env','KpKfG','playwright-chromium','scannerProcessingTimeout','util','8429391xUXIZD','replace','tEbVX','SEtrS','browser','hhLmb','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','../../helpers/accessibility-automation/scripts','currentTest','wjoLw','qIXoz','rKTrD','1024364cIkFoR','bstackSdkArgs','wsEndpoint','method','jVPNk','jsQCI','tnuuW','nTdRl','zluvk','executeScript','parse','2091522AcPQpz','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','jcqXC','411eBqnTx','BYtVQ','Playwright','PXdOI','WebDriver','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','stringify','WTiec','accessibilityOptions.scannerProcessingTimeout','bestPractice','vHQNP','format','BJMfp','setAccessibilityCapabilities','performScan','accessibilityPlatform','VQFTg','testInfo','zxZIV','RsRbS','scannerVersion','AwOVm','tKxfa','platformValidation','deviceName','getAccessibilityResultsSummary','latest','debug','browserName','UAyHR','includeIssueType','DJoEt','cphey','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','warn','accessibilityOptions.includeIssueType.bestPractice','accessibilityOptions','yZBig','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','5203793RgxGnJ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','10qIZmrG','winstonLogger','No\x20accessibility\x20results\x20were\x20found.','../../helpers/helper','accessibilityOptions.wcagVersion','BS_A11Y_JWT','5WtyJjM','name','PPEoJ','1115170gXBPZM','browser_version','processAccessibilityCaps','../../helpers/logger','chrome','constructor','ABnsd','browserStackExecuteDriver','aDcMQ','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','\x0a\x20\x20\x20\x20})\x0a\x20\x20})('];a32_0xde0d=function(){return _0x2f1954;};return a32_0xde0d();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x1290(_0x199fb8,_0x4be319){const _0x385fb8=a33_0x385f();return a33_0x1290=function(_0x129001,_0x152c38){_0x129001=_0x129001-0xf3;let _0x53cff1=_0x385fb8[_0x129001];return _0x53cff1;},a33_0x1290(_0x199fb8,_0x4be319);}const a33_0x1d2fc2=a33_0x1290;function a33_0x385f(){const _0x534d28=['wMEny','.browserstack','../../helpers/test-observability/constants','info','../../helpers/logger','Taieh','accessibilityOptions','bFpCn','3542046ezzUBW','tXdBw','BROWSERSTACK_SETUP_CONFIG_PATH','lsmGr','logLevel','ZeFyR','yufJt','Updated\x20config\x20file\x20name\x20to\x20-\x20','\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();','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/BrowserStackSetup','../../helpers/testhub/utils','--grep','join','BROWSERSTACK_TEST_ACCESSIBILITY_YML','testContextOptions','../utils/constants','pXyQz','filter','Error\x20in\x20getting\x20funnel\x20data\x20results','getConfigPath','startsWith','debug','BROWSERSTACK_PW_CONFIG_DIR','testObservability','rWRoX','./accessibility-helper','isUndefined','--disable-browserstack-automation','BROWSERSTACK_AUTOMATION','markSDKSetupComplete','pfCpz','isTrue','close','\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','serializeToYamlString','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','VanpV','../../helpers/helper','dirname','lVmXz','resolve','readFileSync','cwd','getProxyUrl','nestedKeyValue','requirePWModule','XzgPA','accessibility','automation','gAmDc','iaQYM','BJQeA','2822624aGlSEZ','initialize','win32','error','winstonLogger','config','includes','apply','kkpqI','ElCqN','BrowserStack\x20config\x20file\x20not\x20found.','get','--config','6738puvsxn','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','Error\x20in\x20closing\x20playwright','../../helpers/accessibility-automation/helper','length','SVdvE','2910kYBZVA','pw_result.json','Error\x20in\x20deleting\x20playwright\x20results','existsSync','test','filterBrowserstackConfig','parse','aoCgG','homedir','errorMessage','playwright','GaiSB','slice','--config=','Deleting\x20','exports','cliConfig','qmonv','map','../../helpers/test-observability/utils','./reporter/pwUtils','stringify','unlinkSync','skipSessionStatus','JGJnY','gycPE','null','zODfp','util','ShReU','MODULE','env','xMXre','ksQru','npx','exitCode','lzBaP','TsCEG','YVlbo','platform','playwright-browserstack-sdk.config.cjs','cKgCT','split','concat','push','writeFileSync','vBYsN','fYiHl','trim','xssEE','findIndex','path','BROWSERSTACK_RERUN_TESTS','MoWaJ','false','has','728366RgjYjF','1869784UfSlEM','PLAYWRIGHT','934332IwWLef','--disable-test-observability','isTypescriptProject','FShYQ','jfxeL','../../helpers/test-observability/error-handler','USER_CONFIG_DETAILS_PATH','finalExecution','BROWSERSTACK_RERUN','nFSXJ','XYLsa','getPackageType','23141528cdWHxo','inherit','DXpIC'];a33_0x385f=function(){return _0x534d28;};return a33_0x385f();}(function(_0x38d60a,_0x37213d){const _0x48c85e=a33_0x1290,_0x238b48=_0x38d60a();while(!![]){try{const _0x506d44=-parseInt(_0x48c85e(0x133))/0x1+-parseInt(_0x48c85e(0x130))/0x2+-parseInt(_0x48c85e(0x14a))/0x3+parseInt(_0x48c85e(0x131))/0x4+parseInt(_0x48c85e(0xf8))/0x5*(-parseInt(_0x48c85e(0x18d))/0x6)+parseInt(_0x48c85e(0x180))/0x7+parseInt(_0x48c85e(0x13f))/0x8;if(_0x506d44===_0x37213d)break;else _0x238b48['push'](_0x238b48['shift']());}catch(_0x61193){_0x238b48['push'](_0x238b48['shift']());}}}(a33_0x385f,0x99f3a));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a33_0x1d2fc2(0x114)),logger=require(a33_0x1d2fc2(0x146))[a33_0x1d2fc2(0x184)],{default:BrowserStackSetup}=require(a33_0x1d2fc2(0x154)),helper=require(a33_0x1d2fc2(0x171)),constants=require(a33_0x1d2fc2(0x15a)),{FRAMEWORKS}=require(a33_0x1d2fc2(0x144)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x1d2fc2(0x10c)),{CrashReporter}=require(a33_0x1d2fc2(0x138)),{getFrameworkVersion}=require(a33_0x1d2fc2(0x10b)),{checkAccessibilityPlatformConfig}=require(a33_0x1d2fc2(0xf5)),{setAccessibilityCapabilities}=require(a33_0x1d2fc2(0x164)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a33_0x1d2fc2(0x155)),getUserPlaywrightConfig=async(_0x4a697a,_0x1b8795)=>{const _0x2d5a84=a33_0x1d2fc2,_0x2756ed={'VlTnG':function(_0x3f5969){return _0x3f5969();},'YVlbo':function(_0x4ed823,_0x355701){return _0x4ed823(_0x355701);},'aoCgG':function(_0x554a99,_0x24ed48){return _0x554a99(_0x24ed48);},'fYiHl':'resolvedConfigFile','FShYQ':_0x2d5a84(0x105)},_0xa489e7=!helper['isUndefined'](_0x4a697a[_0x2d5a84(0x185)]),_0x3f6edc=_0xa489e7?path[_0x2d5a84(0x174)](process[_0x2d5a84(0x176)](),_0x4a697a[_0x2d5a84(0x185)]):process[_0x2d5a84(0x176)](),{resolveConfigFile:_0x13cde5,resolveConfigLocation:_0x390738}=helper[_0x2d5a84(0x179)][_0x2d5a84(0x187)](null,_0x2756ed['VlTnG'](getConfigLoaderPath)),_0x8a3b90=_0x13cde5?_0x2756ed[_0x2d5a84(0x11e)](_0x13cde5,_0x3f6edc):helper[_0x2d5a84(0x178)](_0x2756ed[_0x2d5a84(0xff)](_0x390738,_0x3f6edc),[_0x2756ed[_0x2d5a84(0x127)]]);let _0x18ce1c={};if(_0xa489e7){const _0x17edc6=_0x1b8795[_0x2d5a84(0x12a)](_0x32627e=>_0x32627e===_0x2d5a84(0x18c)||_0x32627e==='-c'||_0x32627e[_0x2d5a84(0x15f)](_0x2d5a84(0x105)));_0x1b8795['splice'](_0x17edc6,_0x1b8795[_0x17edc6]['startsWith'](_0x2756ed[_0x2d5a84(0x136)])?0x1:0x2);}const _0x41e73f={};return _0x41e73f[_0x2d5a84(0x12b)]=_0x8a3b90,_0x41e73f[_0x2d5a84(0x185)]=_0x18ce1c,_0x41e73f;},handleO11yRerun=_0x449656=>{const _0x13a47b=a33_0x1d2fc2,_0x51e82b={};_0x51e82b[_0x13a47b(0x13d)]=function(_0x931c61,_0x29acfd){return _0x931c61!==_0x29acfd;},_0x51e82b[_0x13a47b(0x119)]=_0x13a47b(0x112),_0x51e82b['gycPE']=_0x13a47b(0x156);const _0x16d411=_0x51e82b,_0x4af287=helper[_0x13a47b(0x16a)](process['env'][_0x13a47b(0x13b)]);if(_0x4af287){const _0x3c2286=process['env'][_0x13a47b(0x12c)],_0x27e79e=[];if(_0x16d411[_0x13a47b(0x13d)](_0x3c2286,_0x16d411[_0x13a47b(0x119)])&&!helper[_0x13a47b(0x165)](_0x3c2286)){_0x3c2286['split'](',')[_0x13a47b(0x10a)](_0x33a1c0=>{const _0x32d05a=_0x13a47b;_0x27e79e[_0x32d05a(0x124)]('('+_0x33a1c0[_0x32d05a(0x128)]()+')');});const _0x3a7851='^'+_0x27e79e['join']('|')+'$';_0x449656[_0x13a47b(0x124)](_0x16d411[_0x13a47b(0x111)],_0x3a7851);}}},spawnOriginalProcess=_0x57f7b2=>{const _0x4aea09=a33_0x1d2fc2,_0x16ee32={'CUwfF':function(_0x169691,_0xce87e6,_0x1d3385,_0xa81113){return _0x169691(_0xce87e6,_0x1d3385,_0xa81113);},'FuBmt':_0x4aea09(0x11a),'tXdBw':_0x4aea09(0x102),'GaiSB':function(_0x36e300,_0x5e86bc){return _0x36e300===_0x5e86bc;},'MGkwZ':'win32','qmonv':_0x4aea09(0x140)};_0x16ee32['CUwfF'](spawn,_0x16ee32['FuBmt'],[_0x16ee32[_0x4aea09(0x14b)],..._0x57f7b2[_0x4aea09(0x104)](0x1)],{'shell':_0x16ee32[_0x4aea09(0x103)](process[_0x4aea09(0x11f)],_0x16ee32['MGkwZ']),'stdio':_0x16ee32[_0x4aea09(0x109)],'cwd':process[_0x4aea09(0x176)]()});},isTestCommand=(_0x14c8d8,_0x15fe0d)=>{const _0x3677ac=a33_0x1d2fc2,_0x47a64c={};_0x47a64c['ShReU']=function(_0x2be27f,_0x27f5f9){return _0x2be27f>_0x27f5f9;},_0x47a64c[_0x3677ac(0x126)]=function(_0xd9017b,_0x2cfd49){return _0xd9017b===_0x2cfd49;},_0x47a64c['xMXre']=_0x3677ac(0xfc);const _0x206e0f=_0x47a64c;if(_0x206e0f[_0x3677ac(0x115)](_0x15fe0d[_0x3677ac(0xf6)],0x1)&&_0x206e0f[_0x3677ac(0x126)](_0x15fe0d[0x1],_0x206e0f[_0x3677ac(0x118)]))return!![];return![];};async function run(_0x133336,_0x6845c1){const _0xc23aea=a33_0x1d2fc2,_0x57ff6d={'BJQeA':_0xc23aea(0x143),'wMEny':_0xc23aea(0xf9),'HXAah':function(_0x300564,_0x326cac){return _0x300564+_0x326cac;},'xssEE':_0xc23aea(0x15d),'pfCpz':'4|2|3|0|5|1|7|6|8','bFpCn':function(_0x1685b4){return _0x1685b4();},'gAmDc':function(_0x3d4af5,_0x269485){return _0x3d4af5+_0x269485;},'VanpV':_0xc23aea(0xf4),'WInZm':_0xc23aea(0x166),'kkpqI':_0xc23aea(0x12e),'rWRoX':_0xc23aea(0x134),'jfxeL':function(_0x58cd3d,_0x3d8a07){return _0x58cd3d>=_0x3d8a07;},'nFSXJ':_0xc23aea(0xfa),'Taieh':function(_0x3483d2,_0x457bf4,_0x3587a3){return _0x3483d2(_0x457bf4,_0x3587a3);},'iaQYM':function(_0x160e65,_0x4d0fde){return _0x160e65(_0x4d0fde);},'ZeFyR':_0xc23aea(0x18a),'cKgCT':_0xc23aea(0x17c),'fqUHS':function(_0x4c547c,_0x302059){return _0x4c547c!=_0x302059;},'JGJnY':function(_0x1e7f47,_0x2eb3f8,_0x3d403c){return _0x1e7f47(_0x2eb3f8,_0x3d403c);},'yufJt':function(_0x43ee72,_0x37b630){return _0x43ee72===_0x37b630;},'lsmGr':'true','YyiDR':function(_0xf614e,_0x33040e){return _0xf614e(_0x33040e);},'WWlPL':'browserstackSetupConfig.json','lVmXz':_0xc23aea(0x120),'MoWaJ':_0xc23aea(0x16d),'abWmP':function(_0x3847db,_0x189bd6){return _0x3847db-_0x189bd6;},'pXyQz':_0xc23aea(0x151),'lzBaP':function(_0x3358f5,_0x4eed65){return _0x3358f5>_0x4eed65;},'TsCEG':function(_0xb5e841,_0x380766){return _0xb5e841+_0x380766;},'DXpIC':function(_0x1bf571,_0xafdcf,_0x2a4acd,_0x32814e){return _0x1bf571(_0xafdcf,_0x2a4acd,_0x32814e);},'aajpe':'npx','SVdvE':_0xc23aea(0x102),'lUNDk':_0xc23aea(0xfc),'XzgPA':'--config','MDLzK':function(_0x4c3b5b,_0x27c3bd){return _0x4c3b5b===_0x27c3bd;},'ElCqN':_0xc23aea(0x182),'zODfp':_0xc23aea(0x140),'aEklt':_0xc23aea(0x16b)};!helper['isFalse'](process[_0xc23aea(0x117)]['BROWSERSTACK_AUTOMATION'])&&(process['env'][_0xc23aea(0x167)]=!![]);process['argv'][_0xc23aea(0x186)](_0x57ff6d['WInZm'])&&(process['env'][_0xc23aea(0x167)]=_0x57ff6d[_0xc23aea(0x188)],_0x6845c1=_0x6845c1[_0xc23aea(0x15c)](_0x37273d=>_0x37273d!==_0xc23aea(0x166)));const _0x2b5f8f=_0x6845c1['indexOf'](_0x57ff6d[_0xc23aea(0x163)]);_0x57ff6d[_0xc23aea(0x137)](_0x2b5f8f,0x0)&&(process[_0xc23aea(0x117)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x57ff6d['kkpqI'],_0x6845c1=_0x6845c1['filter'](_0x40b1d9=>_0x40b1d9!=='--disable-test-observability'));try{const _0x408fa0=path[_0xc23aea(0x157)](helper[_0xc23aea(0x100)](),_0x57ff6d[_0xc23aea(0x17f)],_0x57ff6d[_0xc23aea(0x142)]);fs[_0xc23aea(0xfb)](_0x408fa0)&&fs[_0xc23aea(0x10e)](_0x408fa0);}catch(_0x50a540){logger['debug'](_0x57ff6d[_0xc23aea(0x17d)](_0x57ff6d[_0xc23aea(0x13c)],_0x50a540));}if(!_0x57ff6d[_0xc23aea(0x147)](isTestCommand,_0x133336,_0x6845c1)){_0x57ff6d[_0xc23aea(0x17e)](spawnOriginalProcess,_0x6845c1);return;}const _0xae0428=new BrowserStackSetup(_0x133336,FRAMEWORKS['PLAYWRIGHT']);if(!_0xae0428[_0xc23aea(0x185)]){logger[_0xc23aea(0x183)](_0x57ff6d[_0xc23aea(0x14f)]);return;}await _0xae0428[_0xc23aea(0x181)]();!helper['isUndefined'](_0xae0428[_0xc23aea(0x108)])&&_0xae0428[_0xc23aea(0x108)][_0xc23aea(0x12f)](_0x57ff6d[_0xc23aea(0x121)])&&(process[_0xc23aea(0x117)][_0xc23aea(0x167)]=_0xae0428['cliConfig'][_0xc23aea(0x18b)](_0x57ff6d['cKgCT'])||!![]);_0x57ff6d['fqUHS'](_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x162)],null)&&!helper[_0xc23aea(0x16a)](process[_0xc23aea(0x117)][_0xc23aea(0x153)])&&(process[_0xc23aea(0x117)][_0xc23aea(0x153)]=process[_0xc23aea(0x117)][_0xc23aea(0x153)]||_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x162)]);const _0x34286c=!helper['isFalse'](process['env'][_0xc23aea(0x153)]);let _0xad8219=![];_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x17b)]&&(_0xad8219=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x17b)]);_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x148)]&&(process[_0xc23aea(0x117)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xc23aea(0x10d)](_0xae0428[_0xc23aea(0x185)]['accessibilityOptions']));const _0x1ae8f2=_0x6845c1[_0xc23aea(0x123)](),_0x20e4e3=await _0x57ff6d[_0xc23aea(0x110)](getUserPlaywrightConfig,_0x133336,_0x6845c1);if(helper[_0xc23aea(0x165)](_0x20e4e3)){_0x57ff6d[_0xc23aea(0x17e)](spawnOriginalProcess,_0x1ae8f2);return;}const _0x2259b2=_0x20e4e3[_0xc23aea(0x12b)]?path['dirname'](_0x20e4e3[_0xc23aea(0x12b)]):process[_0xc23aea(0x176)]();process[_0xc23aea(0x117)][_0xc23aea(0x161)]=_0x2259b2,await TestHubHandler['launchBuild'](FRAMEWORKS[_0xc23aea(0x132)],_0xae0428);_0x34286c&&_0x57ff6d[_0xc23aea(0x17e)](handleO11yRerun,_0x6845c1);let _0x21a7aa=_0x57ff6d['yufJt'](process[_0xc23aea(0x117)][_0xc23aea(0x158)],_0x57ff6d[_0xc23aea(0x14d)]);_0x21a7aa=_0x21a7aa||_0x57ff6d['iaQYM'](checkAccessibilityPlatformConfig,_0xae0428[_0xc23aea(0x185)]),process[_0xc23aea(0x117)][_0xc23aea(0x158)]=_0x21a7aa;_0x21a7aa&&_0x57ff6d['YyiDR'](setAccessibilityCapabilities,_0xae0428[_0xc23aea(0x185)]);const _0x1f1de4=path['join'](_0x20e4e3[_0xc23aea(0x12b)]?path[_0xc23aea(0x172)](_0x20e4e3[_0xc23aea(0x12b)]):process[_0xc23aea(0x176)](),_0x57ff6d['WWlPL']);fs['writeFileSync'](_0x1f1de4,helper[_0xc23aea(0x16e)](_0xae0428[_0xc23aea(0x185)])),process[_0xc23aea(0x117)][_0xc23aea(0x14c)]=_0x1f1de4,helper['clearTempPWConfig']();let _0x28b353='';_0x57ff6d[_0xc23aea(0x150)](helper[_0xc23aea(0x13e)](),constants['PACKAGE_TYPE'][_0xc23aea(0x116)])?_0x28b353=_0x57ff6d[_0xc23aea(0x173)]:_0x28b353=_0x57ff6d[_0xc23aea(0x12d)];let _0x47070a='';if(helper[_0xc23aea(0x135)](_0x20e4e3[_0xc23aea(0x12b)])){_0x47070a=_0xc23aea(0x16f);const _0x32ad22=_0x28b353['split']('.');_0x32ad22[_0x57ff6d['abWmP'](_0x32ad22[_0xc23aea(0xf6)],0x1)]='ts',_0x28b353=_0x32ad22[_0xc23aea(0x157)]('.'),logger[_0xc23aea(0x160)](_0x57ff6d[_0xc23aea(0x17d)](_0x57ff6d[_0xc23aea(0x15b)],_0x28b353));}else _0x47070a=_0xc23aea(0x16c);const _0x157962=path['join'](_0x20e4e3[_0xc23aea(0x12b)]?path[_0xc23aea(0x172)](_0x20e4e3[_0xc23aea(0x12b)]):process[_0xc23aea(0x176)](),_0x28b353);let _0x1b3268=_0x20e4e3['path']?_0x20e4e3[_0xc23aea(0x12b)]:'';_0x1b3268=_0x57ff6d[_0xc23aea(0x11c)](_0x1b3268[_0xc23aea(0xf6)],0x0)?path[_0xc23aea(0x174)](_0x1b3268):'',process[_0xc23aea(0x117)][_0xc23aea(0x139)]=_0x1b3268;const _0x1fe359=helper[_0xc23aea(0x177)](_0xae0428[_0xc23aea(0x185)]);_0x1fe359&&(_0x47070a=_0x57ff6d[_0xc23aea(0x11d)](_0xc23aea(0xf3)+_0x1fe359+_0xc23aea(0x152),_0x47070a));helper[_0xc23aea(0xfd)]({},_0x6845c1),fs[_0xc23aea(0x125)](_0x157962,_0x47070a),helper[_0xc23aea(0x168)]();const _0x3f7004=_0x57ff6d[_0xc23aea(0x141)](spawn,_0x57ff6d['aajpe'],[_0x57ff6d[_0xc23aea(0xf7)],_0x57ff6d['lUNDk'],_0x57ff6d[_0xc23aea(0x17a)],_0x157962,..._0x6845c1['slice'](0x2)],{'shell':_0x57ff6d['MDLzK'](process[_0xc23aea(0x11f)],_0x57ff6d[_0xc23aea(0x189)]),'stdio':_0x57ff6d[_0xc23aea(0x113)],'cwd':process[_0xc23aea(0x176)](),'env':Object['assign']({},process[_0xc23aea(0x117)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xc23aea(0x15e)](_0x133336),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xae0428[_0xc23aea(0x185)]['testContextOptions'][_0xc23aea(0x10f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0xae0428['config'][_0xc23aea(0x159)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x14e)]})}),_0x597940=()=>{const _0x45d0fe=_0xc23aea;try{const _0x22551a=path[_0x45d0fe(0x157)](helper['homedir'](),_0x57ff6d['BJQeA'],_0x57ff6d['wMEny']);if(fs[_0x45d0fe(0xfb)](_0x22551a)){let _0x1bf10d=fs[_0x45d0fe(0x175)](_0x22551a);_0x1bf10d=JSON[_0x45d0fe(0xfe)](_0x1bf10d),_0xae0428[_0x45d0fe(0x101)]=_0x1bf10d,fs[_0x45d0fe(0x10e)](_0x22551a);}}catch(_0xf9f7c5){logger[_0x45d0fe(0x160)](_0x57ff6d['HXAah'](_0x57ff6d[_0x45d0fe(0x129)],_0xf9f7c5));}};_0x3f7004['on'](_0x57ff6d['aEklt'],async _0xe220ee=>{const _0x28d959=_0xc23aea;try{const _0x19e837=_0x57ff6d[_0x28d959(0x169)][_0x28d959(0x122)]('|');let _0x20fe18=0x0;while(!![]){switch(_0x19e837[_0x20fe18++]){case'0':process[_0x28d959(0x11b)]=_0xe220ee;continue;case'1':logger[_0x28d959(0x145)](_0x28d959(0x106)+_0x157962);continue;case'2':await TestHubHandler['stop']();continue;case'3':await helper[_0x28d959(0x13a)](_0xae0428);continue;case'4':_0x57ff6d[_0x28d959(0x149)](_0x597940);continue;case'5':logger[_0x28d959(0x160)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0xe220ee);continue;case'6':logger[_0x28d959(0x160)](_0x28d959(0x106)+_0x1f1de4);continue;case'7':fs[_0x28d959(0x10e)](_0x157962);continue;case'8':fs['unlinkSync'](_0x1f1de4);continue;}break;}}catch(_0x413e22){logger[_0x28d959(0x160)](_0x57ff6d[_0x28d959(0x17d)](_0x57ff6d[_0x28d959(0x170)],_0x413e22));}});}module[a33_0x1d2fc2(0x107)]=run;
2
+ 'use strict';const a33_0x2d8495=a33_0x6c72;(function(_0x330b79,_0x451fd2){const _0xe40a7a=a33_0x6c72,_0x50d83c=_0x330b79();while(!![]){try{const _0x26a7e7=-parseInt(_0xe40a7a(0x84))/0x1+parseInt(_0xe40a7a(0xf8))/0x2*(-parseInt(_0xe40a7a(0x8c))/0x3)+parseInt(_0xe40a7a(0xe1))/0x4*(-parseInt(_0xe40a7a(0xfd))/0x5)+parseInt(_0xe40a7a(0x10d))/0x6*(-parseInt(_0xe40a7a(0x8b))/0x7)+-parseInt(_0xe40a7a(0xfb))/0x8*(-parseInt(_0xe40a7a(0x117))/0x9)+parseInt(_0xe40a7a(0xa9))/0xa+parseInt(_0xe40a7a(0xdc))/0xb;if(_0x26a7e7===_0x451fd2)break;else _0x50d83c['push'](_0x50d83c['shift']());}catch(_0x546689){_0x50d83c['push'](_0x50d83c['shift']());}}}(a33_0xa922,0xc169b));function a33_0x6c72(_0x4a7a61,_0x4c90e3){const _0xa9222=a33_0xa922();return a33_0x6c72=function(_0x6c72ee,_0x2eb80f){_0x6c72ee=_0x6c72ee-0x7b;let _0x3bbab2=_0xa9222[_0x6c72ee];return _0x3bbab2;},a33_0x6c72(_0x4a7a61,_0x4c90e3);}const fs=require('fs'),path=require(a33_0x2d8495(0x10a)),{spawn}=require(a33_0x2d8495(0xa0)),{format}=require(a33_0x2d8495(0xa5)),logger=require(a33_0x2d8495(0xe3))[a33_0x2d8495(0xd1)],{default:BrowserStackSetup}=require(a33_0x2d8495(0xc8)),helper=require('../../helpers/helper'),constants=require(a33_0x2d8495(0x11d)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter}=require(a33_0x2d8495(0x11c)),{getFrameworkVersion}=require(a33_0x2d8495(0xd0)),{checkAccessibilityPlatformConfig}=require(a33_0x2d8495(0xcb)),{setAccessibilityCapabilities}=require(a33_0x2d8495(0x9e)),TestHubHandler=require(a33_0x2d8495(0xce)),{shouldProcessEventForTesthub}=require(a33_0x2d8495(0xff)),getUserPlaywrightConfig=async(_0x516cf0,_0x34bf29)=>{const _0x360e8a=a33_0x2d8495,_0x11c6aa={'Yaoyc':function(_0x396e47){return _0x396e47();},'YyOmM':function(_0x1a1805,_0x186914){return _0x1a1805(_0x186914);},'ODkjc':function(_0x2e387f,_0x5cc869){return _0x2e387f(_0x5cc869);},'qVXwr':'resolvedConfigFile','yKjXq':_0x360e8a(0x93)},_0x1c4993=!helper[_0x360e8a(0x90)](_0x516cf0[_0x360e8a(0xa7)]),_0x46bae8=_0x1c4993?path[_0x360e8a(0xbb)](process[_0x360e8a(0x98)](),_0x516cf0[_0x360e8a(0xa7)]):process[_0x360e8a(0x98)](),{resolveConfigFile:_0x288a9d,resolveConfigLocation:_0x32c34d}=helper[_0x360e8a(0x105)][_0x360e8a(0xe7)](null,_0x11c6aa[_0x360e8a(0xc3)](getConfigLoaderPath)),_0x2a74ae=_0x288a9d?_0x11c6aa[_0x360e8a(0xc9)](_0x288a9d,_0x46bae8):helper[_0x360e8a(0x8d)](_0x11c6aa['ODkjc'](_0x32c34d,_0x46bae8),[_0x11c6aa[_0x360e8a(0xb4)]]);let _0x46a5ba={};if(_0x1c4993){const _0x3ea0a9=_0x34bf29[_0x360e8a(0xea)](_0x14ca5d=>_0x14ca5d===_0x360e8a(0x107)||_0x14ca5d==='-c'||_0x14ca5d[_0x360e8a(0xa1)](_0x360e8a(0x93)));_0x34bf29[_0x360e8a(0xbc)](_0x3ea0a9,_0x34bf29[_0x3ea0a9][_0x360e8a(0xa1)](_0x11c6aa[_0x360e8a(0xf7)])?0x1:0x2);}const _0x1c3fc5={};return _0x1c3fc5[_0x360e8a(0x10a)]=_0x2a74ae,_0x1c3fc5[_0x360e8a(0xa7)]=_0x46a5ba,_0x1c3fc5;},handleO11yRerun=_0x1649ff=>{const _0x5459cf=a33_0x2d8495,_0x24cfb8={};_0x24cfb8[_0x5459cf(0x88)]=function(_0x406b35,_0x34eed9){return _0x406b35!==_0x34eed9;},_0x24cfb8['InAct']=_0x5459cf(0xae),_0x24cfb8['AqBYP']=_0x5459cf(0xc1);const _0x2fe9ad=_0x24cfb8,_0x5f5af7=helper[_0x5459cf(0xfe)](process[_0x5459cf(0xdd)][_0x5459cf(0xa8)]);if(_0x5f5af7){const _0x2cea23=process[_0x5459cf(0xdd)][_0x5459cf(0xb6)],_0x378885=[];if(_0x2fe9ad[_0x5459cf(0x88)](_0x2cea23,_0x2fe9ad[_0x5459cf(0x9a)])&&!helper[_0x5459cf(0x90)](_0x2cea23)){_0x2cea23['split'](',')[_0x5459cf(0x83)](_0xfa166e=>{const _0x122ce8=_0x5459cf;_0x378885[_0x122ce8(0xb9)]('('+_0xfa166e[_0x122ce8(0x113)]()+')');});const _0x582c1b='^'+_0x378885[_0x5459cf(0xf2)]('|')+'$';_0x1649ff[_0x5459cf(0xb9)](_0x2fe9ad[_0x5459cf(0x106)],_0x582c1b);}}},spawnOriginalProcess=_0x4d4b35=>{const _0x513fc5=a33_0x2d8495,_0x5d0df2={'ritaw':function(_0x399e85,_0x3493d3,_0x3600e1,_0x3541fe){return _0x399e85(_0x3493d3,_0x3600e1,_0x3541fe);},'cuxSV':_0x513fc5(0x86),'eiQiK':_0x513fc5(0x115),'QibJi':function(_0x1953ab,_0x49bc58){return _0x1953ab===_0x49bc58;},'tjuuI':_0x513fc5(0x92),'iqynS':_0x513fc5(0x100)};_0x5d0df2[_0x513fc5(0xde)](spawn,_0x5d0df2[_0x513fc5(0x104)],[_0x5d0df2[_0x513fc5(0xeb)],..._0x4d4b35[_0x513fc5(0xf1)](0x1)],{'shell':_0x5d0df2[_0x513fc5(0xc4)](process[_0x513fc5(0xd4)],_0x5d0df2[_0x513fc5(0xe6)]),'stdio':_0x5d0df2[_0x513fc5(0xc5)],'cwd':process['cwd']()});},isTestCommand=(_0x2d3e0e,_0x2ad312)=>{const _0x2e88ec=a33_0x2d8495,_0x24a21f={};_0x24a21f[_0x2e88ec(0xe0)]=function(_0x4b440d,_0x4c840a){return _0x4b440d>_0x4c840a;},_0x24a21f[_0x2e88ec(0xc2)]=function(_0x3504ed,_0x564ffc){return _0x3504ed===_0x564ffc;},_0x24a21f['Mdzni']='test';const _0x3d0261=_0x24a21f;if(_0x3d0261[_0x2e88ec(0xe0)](_0x2ad312[_0x2e88ec(0xf6)],0x1)&&_0x3d0261[_0x2e88ec(0xc2)](_0x2ad312[0x1],_0x3d0261[_0x2e88ec(0x8f)]))return!![];return![];};async function run(_0x36a0d7,_0x3ad4d0){const _0x174b5a=a33_0x2d8495,_0x229f79={'Gmogo':'.browserstack','NpNaY':_0x174b5a(0xaa),'DoGdD':function(_0x385d1f,_0x3a70d8){return _0x385d1f+_0x3a70d8;},'fjOse':_0x174b5a(0x7f),'KuiHu':_0x174b5a(0xcd),'najXp':function(_0x249aca){return _0x249aca();},'skVNZ':_0x174b5a(0xfc),'NSAEQ':_0x174b5a(0x11a),'BtHTH':'false','CQvLw':_0x174b5a(0xaf),'DlmXy':function(_0x2f7294,_0x4e609a){return _0x2f7294>=_0x4e609a;},'bzhzS':_0x174b5a(0xfa),'nleLw':function(_0x31b323,_0xddf770,_0x5eacdb){return _0x31b323(_0xddf770,_0x5eacdb);},'ELLIS':function(_0x2aecd1,_0x54e34e){return _0x2aecd1(_0x54e34e);},'suRIn':'BrowserStack\x20config\x20file\x20not\x20found.','sUURv':_0x174b5a(0x7d),'mrEgc':function(_0x5b8b65,_0x36fe8b){return _0x5b8b65!=_0x36fe8b;},'utFXw':function(_0x58e182,_0x1f11a9,_0x5d8555){return _0x58e182(_0x1f11a9,_0x5d8555);},'vWSSt':function(_0x434e6c,_0x14b7a4){return _0x434e6c(_0x14b7a4);},'YEHIp':function(_0x40a00b,_0x58d3cf){return _0x40a00b===_0x58d3cf;},'lyUSO':_0x174b5a(0xd5),'UpCPG':_0x174b5a(0x8e),'KtchJ':_0x174b5a(0x7c),'nwWiq':'playwright-browserstack-sdk.config.js','qbAOR':function(_0x4a9e56,_0x302139){return _0x4a9e56-_0x302139;},'NOGkk':function(_0x1b631e,_0x58872f){return _0x1b631e+_0x58872f;},'SipnW':_0x174b5a(0x111),'VPFBj':function(_0xfdb88e,_0x4feefe){return _0xfdb88e>_0x4feefe;},'gdcbe':function(_0x525613,_0x40ba7a,_0x5c61c6,_0xde38d6){return _0x525613(_0x40ba7a,_0x5c61c6,_0xde38d6);},'btjhV':'npx','lJwrn':_0x174b5a(0x115),'Bfoxt':'test','ZVuEM':_0x174b5a(0x107),'BpWAw':_0x174b5a(0x92),'JVEFn':_0x174b5a(0x100),'pshJn':_0x174b5a(0x109)};!helper[_0x174b5a(0x101)](process['env']['BROWSERSTACK_AUTOMATION'])&&(process[_0x174b5a(0xdd)][_0x174b5a(0xef)]=!![]);process['argv'][_0x174b5a(0xd7)](_0x229f79[_0x174b5a(0xa4)])&&(process[_0x174b5a(0xdd)][_0x174b5a(0xef)]=_0x229f79[_0x174b5a(0x119)],_0x3ad4d0=_0x3ad4d0[_0x174b5a(0xf5)](_0x4f8174=>_0x4f8174!==_0x174b5a(0x11a)));const _0x3cc9d1=_0x3ad4d0[_0x174b5a(0xdf)](_0x229f79[_0x174b5a(0xc0)]);_0x229f79[_0x174b5a(0x95)](_0x3cc9d1,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x229f79[_0x174b5a(0x119)],_0x3ad4d0=_0x3ad4d0[_0x174b5a(0xf5)](_0x5a1fba=>_0x5a1fba!==_0x174b5a(0xaf)));try{const _0x5120f5=path[_0x174b5a(0xf2)](helper[_0x174b5a(0xbe)](),_0x229f79[_0x174b5a(0xd2)],_0x229f79[_0x174b5a(0xc7)]);fs[_0x174b5a(0x82)](_0x5120f5)&&fs[_0x174b5a(0xf9)](_0x5120f5);}catch(_0x17d7e8){logger[_0x174b5a(0x9c)](_0x229f79[_0x174b5a(0xb0)](_0x229f79['bzhzS'],_0x17d7e8));}if(!_0x229f79[_0x174b5a(0xb1)](isTestCommand,_0x36a0d7,_0x3ad4d0)){_0x229f79['ELLIS'](spawnOriginalProcess,_0x3ad4d0);return;}const _0x5b7d87=new BrowserStackSetup(_0x36a0d7,FRAMEWORKS[_0x174b5a(0xd9)]);if(!_0x5b7d87['config']){logger[_0x174b5a(0xe5)](_0x229f79[_0x174b5a(0x110)]);return;}await _0x5b7d87[_0x174b5a(0x89)]();!helper[_0x174b5a(0x90)](_0x5b7d87[_0x174b5a(0xba)])&&_0x5b7d87['cliConfig'][_0x174b5a(0x7b)](_0x229f79[_0x174b5a(0xd3)])&&(process[_0x174b5a(0xdd)][_0x174b5a(0xef)]=_0x5b7d87[_0x174b5a(0xba)][_0x174b5a(0x118)](_0x229f79['sUURv'])||!![]);_0x229f79[_0x174b5a(0xbd)](_0x5b7d87[_0x174b5a(0xa7)]['testObservability'],null)&&!helper[_0x174b5a(0xfe)](process[_0x174b5a(0xdd)][_0x174b5a(0xb3)])&&(process[_0x174b5a(0xdd)][_0x174b5a(0xb3)]=process[_0x174b5a(0xdd)][_0x174b5a(0xb3)]||_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0xa2)]);const _0x42f8f1=!helper['isFalse'](process[_0x174b5a(0xdd)][_0x174b5a(0xb3)]);let _0x46512f=![];_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0xe4)]&&(_0x46512f=!![],process['env'][_0x174b5a(0xf3)]=_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0xe4)]);_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0x94)]&&(process[_0x174b5a(0xdd)][_0x174b5a(0xed)]=JSON['stringify'](_0x5b7d87[_0x174b5a(0xa7)]['accessibilityOptions']));const _0x876b98=_0x3ad4d0[_0x174b5a(0x9f)](),_0x11497d=await _0x229f79[_0x174b5a(0x80)](getUserPlaywrightConfig,_0x36a0d7,_0x3ad4d0);if(helper[_0x174b5a(0x90)](_0x11497d)){_0x229f79[_0x174b5a(0x99)](spawnOriginalProcess,_0x876b98);return;}const _0x40e924=_0x11497d[_0x174b5a(0x10a)]?path[_0x174b5a(0x108)](_0x11497d[_0x174b5a(0x10a)]):process[_0x174b5a(0x98)]();process[_0x174b5a(0xdd)][_0x174b5a(0xb8)]=_0x40e924,await TestHubHandler[_0x174b5a(0x8a)](FRAMEWORKS['PLAYWRIGHT'],_0x5b7d87);_0x42f8f1&&_0x229f79[_0x174b5a(0xa3)](handleO11yRerun,_0x3ad4d0);let _0x1cfcae=_0x229f79[_0x174b5a(0xa6)](process['env'][_0x174b5a(0xf3)],_0x229f79['lyUSO']);_0x1cfcae=_0x1cfcae||_0x229f79[_0x174b5a(0x99)](checkAccessibilityPlatformConfig,_0x5b7d87[_0x174b5a(0xa7)]),process[_0x174b5a(0xdd)][_0x174b5a(0xf3)]=_0x1cfcae;_0x1cfcae&&_0x229f79['ELLIS'](setAccessibilityCapabilities,_0x5b7d87[_0x174b5a(0xa7)]);const _0x4f0964=path[_0x174b5a(0xf2)](_0x11497d['path']?path[_0x174b5a(0x108)](_0x11497d[_0x174b5a(0x10a)]):process[_0x174b5a(0x98)](),_0x229f79[_0x174b5a(0xca)]);fs[_0x174b5a(0xb5)](_0x4f0964,helper['serializeToYamlString'](_0x5b7d87[_0x174b5a(0xa7)])),process[_0x174b5a(0xdd)][_0x174b5a(0x114)]=_0x4f0964,helper['clearTempPWConfig']();let _0x257ded='';_0x229f79['YEHIp'](helper[_0x174b5a(0xe2)](),constants[_0x174b5a(0x103)][_0x174b5a(0x9d)])?_0x257ded=_0x229f79[_0x174b5a(0x10c)]:_0x257ded=_0x229f79[_0x174b5a(0xcf)];let _0x29d771='';if(helper['isTypescriptProject'](_0x11497d['path'])){_0x29d771=_0x174b5a(0xdb);const _0x329e2f=_0x257ded[_0x174b5a(0xb2)]('.');_0x329e2f[_0x229f79[_0x174b5a(0xf4)](_0x329e2f[_0x174b5a(0xf6)],0x1)]='ts',_0x257ded=_0x329e2f['join']('.'),logger[_0x174b5a(0x9c)](_0x229f79[_0x174b5a(0x85)](_0x229f79['SipnW'],_0x257ded));}else _0x29d771=_0x174b5a(0xf0);const _0x3b7332=path['join'](_0x11497d[_0x174b5a(0x10a)]?path[_0x174b5a(0x108)](_0x11497d['path']):process[_0x174b5a(0x98)](),_0x257ded);let _0x47fc54=_0x11497d[_0x174b5a(0x10a)]?_0x11497d[_0x174b5a(0x10a)]:'';_0x47fc54=_0x229f79[_0x174b5a(0x116)](_0x47fc54[_0x174b5a(0xf6)],0x0)?path['resolve'](_0x47fc54):'',process[_0x174b5a(0xdd)]['USER_CONFIG_DETAILS_PATH']=_0x47fc54;const _0x32ce74=helper['getProxyUrl'](_0x5b7d87[_0x174b5a(0xa7)]);_0x32ce74&&(_0x29d771=_0x229f79[_0x174b5a(0x85)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x32ce74+_0x174b5a(0x10f),_0x29d771));helper[_0x174b5a(0xe9)]({},_0x3ad4d0),fs[_0x174b5a(0xb5)](_0x3b7332,_0x29d771),helper[_0x174b5a(0x81)]();const _0x11a3b7=_0x229f79['gdcbe'](spawn,_0x229f79[_0x174b5a(0xbf)],[_0x229f79[_0x174b5a(0x87)],_0x229f79[_0x174b5a(0x91)],_0x229f79[_0x174b5a(0x10e)],_0x3b7332,..._0x3ad4d0['slice'](0x2)],{'shell':_0x229f79['YEHIp'](process[_0x174b5a(0xd4)],_0x229f79[_0x174b5a(0xda)]),'stdio':_0x229f79[_0x174b5a(0xad)],'cwd':process[_0x174b5a(0x98)](),'env':Object[_0x174b5a(0xee)]({},process[_0x174b5a(0xdd)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x174b5a(0x10b)](_0x36a0d7),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5b7d87['config'][_0x174b5a(0x96)][_0x174b5a(0xd6)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0x96)][_0x174b5a(0xc6)],'BROWSERSTACK_LOG_LEVEL':_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0x11b)]})}),_0x2ec3d4=()=>{const _0x57d221=_0x174b5a;try{const _0x688b85=path[_0x57d221(0xf2)](helper[_0x57d221(0xbe)](),_0x229f79['Gmogo'],_0x229f79[_0x57d221(0xc7)]);if(fs[_0x57d221(0x82)](_0x688b85)){let _0x5aff35=fs[_0x57d221(0xb7)](_0x688b85);_0x5aff35=JSON[_0x57d221(0xe8)](_0x5aff35),_0x5b7d87['errorMessage']=_0x5aff35,fs['unlinkSync'](_0x688b85);}}catch(_0x7441dc){logger[_0x57d221(0x9c)](_0x229f79[_0x57d221(0xb0)](_0x229f79[_0x57d221(0x102)],_0x7441dc));}};_0x11a3b7['on'](_0x229f79[_0x174b5a(0xec)],async _0x35ff66=>{const _0x1d5712=_0x174b5a;try{const _0x2d8cec=_0x229f79[_0x1d5712(0xcc)][_0x1d5712(0xb2)]('|');let _0x3921ec=0x0;while(!![]){switch(_0x2d8cec[_0x3921ec++]){case'0':await TestHubHandler[_0x1d5712(0x7e)]();continue;case'1':process['exitCode']=_0x35ff66;continue;case'2':logger[_0x1d5712(0x9c)](_0x1d5712(0xab)+_0x4f0964);continue;case'3':logger[_0x1d5712(0x9c)](_0x1d5712(0xd8)+_0x35ff66);continue;case'4':fs[_0x1d5712(0xf9)](_0x3b7332);continue;case'5':await helper[_0x1d5712(0xac)](_0x5b7d87);continue;case'6':fs[_0x1d5712(0xf9)](_0x4f0964);continue;case'7':_0x229f79['najXp'](_0x2ec3d4);continue;case'8':logger[_0x1d5712(0x112)]('Deleting\x20'+_0x3b7332);continue;}break;}}catch(_0x21e911){logger['debug'](_0x229f79['DoGdD'](_0x229f79[_0x1d5712(0x9b)],_0x21e911));}});}function a33_0xa922(){const _0x280db3=['../../helpers/testhub/testhubHandler','nwWiq','../../helpers/test-observability/utils','winstonLogger','Gmogo','sUURv','platform','true','skipSessionStatus','includes','Playwright\x20process\x20exited\x20with\x20code\x20','PLAYWRIGHT','BpWAw','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','14436180PwKDtP','env','ritaw','indexOf','cwpcv','1148328AJSSSR','getPackageType','../../helpers/logger','accessibility','error','tjuuI','apply','parse','filterBrowserstackConfig','findIndex','eiQiK','pshJn','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','assign','BROWSERSTACK_AUTOMATION','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','slice','join','BROWSERSTACK_TEST_ACCESSIBILITY_YML','qbAOR','filter','length','yKjXq','482084rjiLrY','unlinkSync','Error\x20in\x20deleting\x20playwright\x20results','598648jLUrxA','Error\x20in\x20closing\x20playwright','5MOSXhB','isTrue','../../helpers/testhub/utils','inherit','isFalse','fjOse','PACKAGE_TYPE','cuxSV','requirePWModule','AqBYP','--config','dirname','close','path','getConfigPath','KtchJ','1138182SYAuNi','ZVuEM','\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();','suRIn','Updated\x20config\x20file\x20name\x20to\x20-\x20','info','trim','BROWSERSTACK_SETUP_CONFIG_PATH','playwright','VPFBj','45sZAzuV','get','BtHTH','--disable-browserstack-automation','logLevel','../../helpers/test-observability/error-handler','../utils/constants','has','playwright-browserstack-sdk.config.cjs','automation','stop','Error\x20in\x20getting\x20funnel\x20data\x20results','utFXw','markSDKSetupComplete','existsSync','map','845280OULPDS','NOGkk','npx','lJwrn','NLVZT','initialize','launchBuild','7qdlJtw','3ODoeXY','nestedKeyValue','browserstackSetupConfig.json','Mdzni','isUndefined','Bfoxt','win32','--config=','accessibilityOptions','DlmXy','testContextOptions','exports','cwd','vWSSt','InAct','skVNZ','debug','MODULE','./accessibility-helper','concat','child_process','startsWith','testObservability','ELLIS','NSAEQ','util','YEHIp','config','BROWSERSTACK_RERUN','6687850yvcBot','pw_result.json','Deleting\x20','finalExecution','JVEFn','null','--disable-test-observability','DoGdD','nleLw','split','BROWSERSTACK_TEST_OBSERVABILITY','qVXwr','writeFileSync','BROWSERSTACK_RERUN_TESTS','readFileSync','BROWSERSTACK_PW_CONFIG_DIR','push','cliConfig','resolve','splice','mrEgc','homedir','btjhV','CQvLw','--grep','NcejQ','Yaoyc','QibJi','iqynS','skipSessionName','NpNaY','../../helpers/BrowserStackSetup','YyOmM','UpCPG','../../helpers/accessibility-automation/helper','KuiHu','7|0|5|1|3|8|4|2|6'];a33_0xa922=function(){return _0x280db3;};return a33_0xa922();}module[a33_0x2d8495(0x97)]=run;
@@ -1 +1 @@
1
- const a34_0x4a5a25=a34_0x5206;(function(_0x315b33,_0x363387){const _0x351860=a34_0x5206,_0x5b7870=_0x315b33();while(!![]){try{const _0x13afab=parseInt(_0x351860(0x19d))/0x1*(-parseInt(_0x351860(0x1bb))/0x2)+parseInt(_0x351860(0x1a9))/0x3*(parseInt(_0x351860(0x1b7))/0x4)+-parseInt(_0x351860(0x1a8))/0x5*(-parseInt(_0x351860(0x19b))/0x6)+-parseInt(_0x351860(0x1a0))/0x7*(-parseInt(_0x351860(0x19e))/0x8)+-parseInt(_0x351860(0x1ac))/0x9*(-parseInt(_0x351860(0x1b9))/0xa)+parseInt(_0x351860(0x198))/0xb*(parseInt(_0x351860(0x1af))/0xc)+parseInt(_0x351860(0x19a))/0xd*(-parseInt(_0x351860(0x1a2))/0xe);if(_0x13afab===_0x363387)break;else _0x5b7870['push'](_0x5b7870['shift']());}catch(_0x4e546b){_0x5b7870['push'](_0x5b7870['shift']());}}}(a34_0x1448,0xba266));function a34_0x5206(_0x4aaa3c,_0x2ca62a){const _0x144859=a34_0x1448();return a34_0x5206=function(_0x52068b,_0x5e2376){_0x52068b=_0x52068b-0x198;let _0x1a1eb4=_0x144859[_0x52068b];return _0x1a1eb4;},a34_0x5206(_0x4aaa3c,_0x2ca62a);}const child_process=require(a34_0x4a5a25(0x1b3)),{FRAMEWORKS}=require(a34_0x4a5a25(0x1b8)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a34_0x4a5a25(0x1a3)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x4a5a25(0x19f)),logger=require('../../helpers/logger')[a34_0x4a5a25(0x1aa)];function a34_0x1448(){const _0x49b392=['VudnP','error','compareVersions','OpHHj','66ijLXsv','Call\x20to\x20child\x20fork\x20with\x20args\x20','689RYjHru','1182ShsIiQ','env','277oPBKNX','2584ZueKkN','./reporter/pwUtils','31689vYCdsG','sWMhB','739802TFgyWu','../../helpers/helper','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','requirePWModule','HbKeP','apply','1205aJRCrL','174tbWDhw','winstonLogger','MIdtF','948168tppuGm','Not\x20able\x20to\x20import\x20globalSetup','Running\x20existing\x20global\x20setup','2686188fszTUi','exports','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','\x20is\x20not\x20found','child_process','PLAYWRIGHT','fork','HIaiv','54212uQpepV','../../helpers/test-observability/constants','110WZGhgW','./mock-process.js','8914sQlsvN','function'];a34_0x1448=function(){return _0x49b392;};return a34_0x1448();}module[a34_0x4a5a25(0x1b0)]=async function(_0x25434e){const _0x131a27=a34_0x4a5a25,_0x4924bc={'sWMhB':function(_0x5bc474,_0x550903){return _0x5bc474(_0x550903);},'ecwue':function(_0x1de9dd){return _0x1de9dd();},'HbKeP':_0x131a27(0x1ba),'bzZyH':function(_0x22610e){return _0x22610e();},'Felnt':_0x131a27(0x1ae),'VvgLa':function(_0x4916d3,_0x432f2e){return _0x4916d3>=_0x432f2e;},'VudnP':'1.33.0','MIdtF':function(_0x58dfca,_0x3e6344,_0x4d4531){return _0x58dfca(_0x3e6344,_0x4d4531);},'ZDjPD':function(_0x3c3b4c,_0xd86758){return _0x3c3b4c!==_0xd86758;},'Vvyxa':_0x131a27(0x1bc),'HIaiv':_0x131a27(0x1ad),'OpHHj':function(_0x1c3c81,_0x297fb3){return _0x1c3c81(_0x297fb3);}},_0x1142ab=child_process[_0x131a27(0x1b5)];child_process[_0x131a27(0x1b5)]=function(){const _0x30334e=_0x131a27;return _0x4924bc[_0x30334e(0x1a1)](debug,_0x30334e(0x199)+arguments[0x0]),arguments[0x0]['includes'](_0x4924bc['ecwue'](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x4924bc[_0x30334e(0x1a6)]):logger[_0x30334e(0x1be)]('Path\x20'+_0x4924bc['bzZyH'](getForkProcessPath)+_0x30334e(0x1b2)),_0x1142ab['apply'](null,arguments);};if(process[_0x131a27(0x19c)][_0x131a27(0x1a4)]){_0x4924bc['sWMhB'](debug,_0x4924bc['Felnt']);try{const {loadGlobalHook:_0x555658}=helper[_0x131a27(0x1a5)][_0x131a27(0x1a7)](null,_0x4924bc['bzZyH'](getLoadUtilsPath)),_0x54d34a=_0x4924bc[_0x131a27(0x1a1)](getFrameworkVersion,FRAMEWORKS[_0x131a27(0x1b4)]);let _0x209695=_0x25434e;if(_0x4924bc['VvgLa'](helper[_0x131a27(0x1bf)](_0x54d34a,_0x4924bc[_0x131a27(0x1bd)]),0x0)){const _0x4f5111={};_0x4f5111['config']=_0x25434e,_0x209695=_0x4f5111;}const _0x1745e3=await _0x4924bc[_0x131a27(0x1ab)](_0x555658,_0x209695,process[_0x131a27(0x19c)][_0x131a27(0x1a4)]);if(_0x4924bc['ZDjPD'](typeof _0x1745e3,_0x4924bc['Vvyxa']))throw new Error(_0x4924bc[_0x131a27(0x1b6)]);return _0x1745e3[_0x131a27(0x1a7)](null,arguments);}catch(_0x118ba0){_0x4924bc[_0x131a27(0x1c0)](debug,_0x131a27(0x1b1)+_0x118ba0['toString']());}}};
1
+ const a34_0x5d7b7b=a34_0xb1d9;function a34_0x182d(){const _0xb0bb27=['1.33.0','12411LDYYGc','ohRBq','nZCXK','IlyHI','toString','Call\x20to\x20child\x20fork\x20with\x20args\x20','env','../../helpers/logger','10401HTrSYt','RkGHb','fyUcy','Uykda','qJYgY','112mDtyyI','wiqGH','includes','629624gWlbLP','fork','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Running\x20existing\x20global\x20setup','2646OxGqwe','../../helpers/test-observability/utils','../../helpers/helper','13435ChnQYe','1381480ynyifP','WlnDy','config','45hLOwJC','winstonLogger','412KmmdxA','Not\x20able\x20to\x20import\x20globalSetup','9198398mGlvpT','bnTML','requirePWModule','4482590SbkUDW','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','compareVersions','apply','function','djwJC'];a34_0x182d=function(){return _0xb0bb27;};return a34_0x182d();}(function(_0x19014e,_0xde468f){const _0x507761=a34_0xb1d9,_0x4e8993=_0x19014e();while(!![]){try{const _0x4a0804=parseInt(_0x507761(0x118))/0x1*(parseInt(_0x507761(0x10e))/0x2)+parseInt(_0x507761(0x109))/0x3*(parseInt(_0x507761(0x11e))/0x4)+-parseInt(_0x507761(0xfa))/0x5+parseInt(_0x507761(0x115))/0x6*(-parseInt(_0x507761(0x101))/0x7)+parseInt(_0x507761(0x111))/0x8*(parseInt(_0x507761(0x11c))/0x9)+-parseInt(_0x507761(0x119))/0xa+parseInt(_0x507761(0x120))/0xb;if(_0x4a0804===_0xde468f)break;else _0x4e8993['push'](_0x4e8993['shift']());}catch(_0x3824f1){_0x4e8993['push'](_0x4e8993['shift']());}}}(a34_0x182d,0x7f98b));const child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a34_0x5d7b7b(0x116)),helper=require(a34_0x5d7b7b(0x117)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),logger=require(a34_0x5d7b7b(0x108))[a34_0x5d7b7b(0x11d)];function a34_0xb1d9(_0x2892f9,_0x3788a6){const _0x182d32=a34_0x182d();return a34_0xb1d9=function(_0xb1d9ed,_0x55c270){_0xb1d9ed=_0xb1d9ed-0xfa;let _0x327be7=_0x182d32[_0xb1d9ed];return _0x327be7;},a34_0xb1d9(_0x2892f9,_0x3788a6);}module['exports']=async function(_0x46c751){const _0x349f53=a34_0x5d7b7b,_0x4f5e7e={'WlnDy':function(_0x5862a0,_0x4b96b6){return _0x5862a0(_0x4b96b6);},'RkGHb':function(_0x562454){return _0x562454();},'IlyHI':'./mock-process.js','wiqGH':function(_0xba634a){return _0xba634a();},'ohRBq':_0x349f53(0x114),'VnSsm':function(_0x321470){return _0x321470();},'Uykda':function(_0x43f5e9,_0x5862ca){return _0x43f5e9(_0x5862ca);},'qJYgY':function(_0x4bbfee,_0x7b8d03){return _0x4bbfee>=_0x7b8d03;},'nZCXK':_0x349f53(0x100),'bnTML':function(_0x337d7d,_0x3d9d5e,_0x265f8e){return _0x337d7d(_0x3d9d5e,_0x265f8e);},'PTjJy':function(_0x32f4cb,_0x28397e){return _0x32f4cb!==_0x28397e;},'djwJC':_0x349f53(0xfe),'kvPYV':_0x349f53(0x11f),'fyUcy':function(_0x341530,_0x8497e4){return _0x341530(_0x8497e4);}},_0x4d1bfd=child_process[_0x349f53(0x112)];child_process[_0x349f53(0x112)]=function(){const _0x5d7238=_0x349f53;return _0x4f5e7e[_0x5d7238(0x11a)](debug,_0x5d7238(0x106)+arguments[0x0]),arguments[0x0][_0x5d7238(0x110)](_0x4f5e7e[_0x5d7238(0x10a)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x4f5e7e[_0x5d7238(0x104)]):logger['error']('Path\x20'+_0x4f5e7e[_0x5d7238(0x10f)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x4d1bfd[_0x5d7238(0xfd)](null,arguments);};if(process[_0x349f53(0x107)][_0x349f53(0x113)]){_0x4f5e7e[_0x349f53(0x11a)](debug,_0x4f5e7e[_0x349f53(0x102)]);try{const {loadGlobalHook:_0x114273}=helper[_0x349f53(0x122)][_0x349f53(0xfd)](null,_0x4f5e7e['VnSsm'](getLoadUtilsPath)),_0x22eb9b=_0x4f5e7e[_0x349f53(0x10c)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x21ab1f=_0x46c751;if(_0x4f5e7e[_0x349f53(0x10d)](helper[_0x349f53(0xfc)](_0x22eb9b,_0x4f5e7e[_0x349f53(0x103)]),0x0)){const _0x3c44c5={};_0x3c44c5[_0x349f53(0x11b)]=_0x46c751,_0x21ab1f=_0x3c44c5;}const _0x49376e=await _0x4f5e7e[_0x349f53(0x121)](_0x114273,_0x21ab1f,process[_0x349f53(0x107)][_0x349f53(0x113)]);if(_0x4f5e7e['PTjJy'](typeof _0x49376e,_0x4f5e7e[_0x349f53(0xff)]))throw new Error(_0x4f5e7e['kvPYV']);return _0x49376e[_0x349f53(0xfd)](null,arguments);}catch(_0x73a5a0){_0x4f5e7e[_0x349f53(0x10b)](debug,_0x349f53(0xfb)+_0x73a5a0[_0x349f53(0x105)]());}}};