browserstack-node-sdk 1.34.31 → 1.34.32

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 (133) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/templates/nginx/pods-and-services.yaml +6 -0
  25. package/ats/src/utils/AWSUtils.js +1 -1
  26. package/ats/src/utils/createAutoscalerStack.js +1 -1
  27. package/ats/src/utils/createClusterStack.js +1 -1
  28. package/ats/src/utils/createk8sClient.js +1 -1
  29. package/ats/src/utils/deleteStack.js +1 -1
  30. package/ats/src/utils/gridComponents.js +1 -1
  31. package/ats/src/utils/hstUtils.js +1 -1
  32. package/ats/src/utils/instrumentationUtils.js +1 -1
  33. package/ats/src/utils/userInput.js +1 -1
  34. package/ats/src/utils/utilityMethods.js +1 -1
  35. package/ats/src/utils/webSocketUtils.js +1 -1
  36. package/package.json +1 -1
  37. package/src/ai-sdk-node/bundle.js +1 -1
  38. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  39. package/src/bin/codeceptjs/command.js +1 -1
  40. package/src/bin/codeceptjs/helper.js +1 -1
  41. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  42. package/src/bin/cucumber-js/command.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  44. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  45. package/src/bin/cucumber-js/test-observability.js +1 -1
  46. package/src/bin/cucumber-js/test.setup.js +1 -1
  47. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  48. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  49. package/src/bin/integrations/command.js +1 -1
  50. package/src/bin/integrations/constants.js +1 -1
  51. package/src/bin/jest/command.js +1 -1
  52. package/src/bin/jest/customImplements/customCircus.js +1 -1
  53. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  54. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  55. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  56. package/src/bin/jest/jest.setup.js +1 -1
  57. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  58. package/src/bin/jest/test-observability/helper.js +1 -1
  59. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  60. package/src/bin/jest/test-observability/test-details.js +1 -1
  61. package/src/bin/jest/test_before.setup.js +1 -1
  62. package/src/bin/launcher/launcher.js +1 -1
  63. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  64. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  65. package/src/bin/mocha/command.js +1 -1
  66. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  67. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  68. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  69. package/src/bin/mocha/test.setup.js +1 -1
  70. package/src/bin/nightwatch/command.js +1 -1
  71. package/src/bin/playwright/accessibility-helper.js +1 -1
  72. package/src/bin/playwright/command.js +1 -1
  73. package/src/bin/playwright/globalSetup.js +1 -1
  74. package/src/bin/playwright/mock-process.js +1 -1
  75. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  76. package/src/bin/playwright/patches.js +1 -1
  77. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  78. package/src/bin/playwright/reporter/reporter.js +1 -1
  79. package/src/bin/playwright/reporter/test-details.js +1 -1
  80. package/src/bin/playwright/sessionDetails.js +1 -1
  81. package/src/bin/runner.js +1 -1
  82. package/src/bin/setup.js +1 -1
  83. package/src/bin/test-runner/index.js +1 -1
  84. package/src/bin/test-runner/runTest.js +1 -1
  85. package/src/bin/test-runner/testWorker.js +1 -1
  86. package/src/bin/utils/constants.js +1 -1
  87. package/src/bin/utils/log4jsAppender.js +1 -1
  88. package/src/bin/utils/logPatcher.js +1 -1
  89. package/src/bin/utils/logReportingAPI.js +1 -1
  90. package/src/bin/vanilla-js/command.js +1 -1
  91. package/src/browserStackSdk.js +1 -1
  92. package/src/helpers/BrowserStackSetup.js +1 -1
  93. package/src/helpers/accessibility-automation/constants.js +1 -1
  94. package/src/helpers/accessibility-automation/helper.js +1 -1
  95. package/src/helpers/accessibility-automation/scripts.js +1 -1
  96. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  97. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  98. package/src/helpers/ats/constants.js +1 -1
  99. package/src/helpers/ats/helper.js +1 -1
  100. package/src/helpers/capsMapping.js +1 -1
  101. package/src/helpers/central-scanner/constants.js +1 -1
  102. package/src/helpers/central-scanner/helpers.js +1 -1
  103. package/src/helpers/globals.js +1 -1
  104. package/src/helpers/helper.js +1 -1
  105. package/src/helpers/logger.js +1 -1
  106. package/src/helpers/patchHelper.js +1 -1
  107. package/src/helpers/patchHelpers.js +1 -1
  108. package/src/helpers/percy/Percy.js +1 -1
  109. package/src/helpers/percy/PercyBinary.js +1 -1
  110. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  111. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  112. package/src/helpers/percy/PercySDK.js +1 -1
  113. package/src/helpers/percy/index.js +1 -1
  114. package/src/helpers/percy/utils.js +1 -1
  115. package/src/helpers/performance/constants.js +1 -0
  116. package/src/helpers/performance/performance-tester.js +1 -0
  117. package/src/helpers/processHelper.js +1 -0
  118. package/src/helpers/request-spy.js +1 -1
  119. package/src/helpers/setKeepAlive.js +1 -1
  120. package/src/helpers/test-observability/constants.js +1 -1
  121. package/src/helpers/test-observability/error-handler.js +1 -1
  122. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  123. package/src/helpers/test-observability/sessionHandler.js +1 -1
  124. package/src/helpers/test-observability/utils.js +1 -1
  125. package/src/helpers/testhub/constants.js +1 -1
  126. package/src/helpers/testhub/testhubHandler.js +1 -1
  127. package/src/helpers/testhub/utils.js +1 -1
  128. package/src/helpers/timeoutPromise.js +1 -1
  129. package/src/helpers/utilities.js +1 -1
  130. package/src/helpers/w3cMapping.js +1 -1
  131. package/src/hubAllocationMethods.js +1 -1
  132. package/src/index.js +1 -1
  133. package/src/helpers/performance-tester.js +0 -1
@@ -1 +1 @@
1
- const a29_0x2dca33=a29_0x2561;function a29_0x2561(_0x33095c,_0x2fbe3d){const _0x55bd4e=a29_0x55bd();return a29_0x2561=function(_0x256187,_0x3229c2){_0x256187=_0x256187-0x1a6;let _0x41b17d=_0x55bd4e[_0x256187];return _0x41b17d;},a29_0x2561(_0x33095c,_0x2fbe3d);}(function(_0x5eb8c9,_0x4c6a74){const _0x15113f=a29_0x2561,_0x284a37=_0x5eb8c9();while(!![]){try{const _0x37d52e=-parseInt(_0x15113f(0x1ff))/0x1+-parseInt(_0x15113f(0x222))/0x2*(parseInt(_0x15113f(0x220))/0x3)+parseInt(_0x15113f(0x1e4))/0x4*(-parseInt(_0x15113f(0x1d0))/0x5)+parseInt(_0x15113f(0x1dc))/0x6*(-parseInt(_0x15113f(0x212))/0x7)+parseInt(_0x15113f(0x1bb))/0x8+-parseInt(_0x15113f(0x21c))/0x9+-parseInt(_0x15113f(0x1c7))/0xa*(-parseInt(_0x15113f(0x204))/0xb);if(_0x37d52e===_0x4c6a74)break;else _0x284a37['push'](_0x284a37['shift']());}catch(_0x18fbc0){_0x284a37['push'](_0x284a37['shift']());}}}(a29_0x55bd,0xc4923));const logger=require(a29_0x2dca33(0x1e2))[a29_0x2dca33(0x1e0)],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x2dca33(0x1b7)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x2dca33(0x1a9)),{setAccessibilityCapabilities,setExtension}=require(a29_0x2dca33(0x20f)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x2dca33(0x1f9)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x417ca2,_0xdd0886=null,_0x55cdf8=![])=>{const _0x4721bb=a29_0x2dca33,_0x53bbbd={'Ztaip':function(_0x58ea00,_0x230c87){return _0x58ea00!==_0x230c87;},'XnZzi':_0x4721bb(0x1be),'ZeHYA':function(_0x1b8978,_0x295e1f){return _0x1b8978+_0x295e1f;},'rffZY':function(_0x44bd8b,_0x135057){return _0x44bd8b+_0x135057;},'SGMFf':_0x4721bb(0x1e3),'aqvqg':_0x4721bb(0x1f5),'EWkfX':'goog:chromeOptions','UlFqO':_0x4721bb(0x1fd),'RCRmK':_0x4721bb(0x1dd),'BIpPL':_0x4721bb(0x1c0),'URHdh':'moz:firefoxOptions','oJwmV':_0x4721bb(0x224),'RgmtA':_0x4721bb(0x1ec),'ljTdg':_0x4721bb(0x1da),'DAMuy':_0x4721bb(0x1ab),'lqqyo':function(_0x461b96,_0x367054){return _0x461b96===_0x367054;},'QsRXE':'object','jLyqk':_0x4721bb(0x1c5),'NYTbQ':function(_0x23ae99,_0x45ea5f,_0x904ba4){return _0x23ae99(_0x45ea5f,_0x904ba4);},'RRSFg':function(_0x503a9a,_0x26a83a,_0x4585c1){return _0x503a9a(_0x26a83a,_0x4585c1);},'hTIXd':function(_0x797a5a,_0x5e8747){return _0x797a5a(_0x5e8747);},'akxyY':function(_0x3b972a,_0x52e8f2,_0x31a6da){return _0x3b972a(_0x52e8f2,_0x31a6da);},'aWHGO':_0x4721bb(0x1e5),'lEkYf':_0x4721bb(0x1c1),'KaTXp':function(_0x2951cd,_0x180f25,_0x58ce27){return _0x2951cd(_0x180f25,_0x58ce27);},'eggae':function(_0xbae2fd,_0x3f5c2e,_0x4533b0){return _0xbae2fd(_0x3f5c2e,_0x4533b0);},'FlXnI':_0x4721bb(0x1db),'tssvC':function(_0x3f2280){return _0x3f2280();},'KCUfd':function(_0x3f2d13,_0x494b8f){return _0x3f2d13(_0x494b8f);},'rCopT':'isAccessibilityPlatform','WnApc':function(_0x2d18c3,_0x3e1617,_0x4fb032){return _0x2d18c3(_0x3e1617,_0x4fb032);},'IiLMY':_0x4721bb(0x1b5),'UOmpS':function(_0x42b798,_0x50bff4){return _0x42b798(_0x50bff4);},'RdJMZ':_0x4721bb(0x206),'yvIQV':_0x4721bb(0x1b9)},_0x4dcfde=helper[_0x4721bb(0x1bc)]();let _0x3162c8;try{_0x3162c8=helper[_0x4721bb(0x21d)](),_0x3162c8[_0x4721bb(0x1f1)]&&(_0x3162c8['Builder']=_0x3162c8['originalBuilder']);}catch(_0x2a7cfc){return;}if(helper[_0x4721bb(0x1d6)]()){const _0x35d3e1={};_0x35d3e1[_0x4721bb(0x1c8)]=_0x417ca2['browserStackLogLevel'],helper[_0x4721bb(0x1f0)](_0x35d3e1,new Map(),new Map()),logger['info'](_0x53bbbd[_0x4721bb(0x1d5)]),logger[_0x4721bb(0x1fe)](_0x53bbbd['yvIQV']);}class _0x1ece84 extends _0x4dcfde[_0x4721bb(0x1e6)]{['send'](_0x16307c){const _0x42faa8=_0x4721bb;if(_0x53bbbd[_0x42faa8(0x20c)](_0x16307c['path'],_0x53bbbd[_0x42faa8(0x1e7)])&&_0x53bbbd[_0x42faa8(0x20c)](global[_0x42faa8(0x1cf)],''))try{global[_0x42faa8(0x1cf)]=_0x53bbbd[_0x42faa8(0x218)](_0x53bbbd[_0x42faa8(0x1c9)](_0x53bbbd[_0x42faa8(0x1bd)],global[_0x42faa8(0x1cf)]),_0x53bbbd['aqvqg']),this[_0x42faa8(0x1f7)]=hubAllocator[_0x42faa8(0x200)](global[_0x42faa8(0x1cf)]),logger[_0x42faa8(0x1fe)](_0x42faa8(0x1b2)+global['newHubUrl']),global[_0x42faa8(0x1cf)]='';}catch(_0x4da687){logger[_0x42faa8(0x1b8)](_0x4da687);}return super[_0x42faa8(0x207)](_0x16307c);}}class _0x1e53ff extends _0x3162c8[_0x4721bb(0x1b4)]{['setServer'](){const _0x5e2446=_0x4721bb;return this[_0x5e2446(0x1fc)]=helper[_0x5e2446(0x1d7)](_0x417ca2),logger['debug'](_0x5e2446(0x1de)+this['url_']),this;}[_0x4721bb(0x1d1)](_0x3c9576){const _0x326ce5=_0x4721bb;let _0x41c084={};for(const _0x1a33ca in _0x3c9576){switch(_0x1a33ca){case _0x53bbbd['EWkfX']:case _0x53bbbd['UlFqO']:this[_0x326ce5(0x1c2)]&&(_0x41c084=this['chromeOptions_'][_0x326ce5(0x1f2)](this['chromeOptions_'][_0x326ce5(0x1e8)])||{},this[_0x326ce5(0x1c2)]['set'](this[_0x326ce5(0x1c2)][_0x326ce5(0x1e8)],helper[_0x326ce5(0x1d2)](_0x41c084,_0x3c9576[_0x1a33ca])));break;case _0x53bbbd['RCRmK']:case _0x53bbbd[_0x326ce5(0x215)]:this[_0x326ce5(0x1df)]&&(_0x41c084=this['edgeOptions_'][_0x326ce5(0x1f2)](this[_0x326ce5(0x1df)]['CAPABILITY_KEY'])||{},this[_0x326ce5(0x1df)][_0x326ce5(0x223)](this[_0x326ce5(0x1df)][_0x326ce5(0x1e8)],helper[_0x326ce5(0x1d2)](_0x41c084,_0x3c9576[_0x1a33ca])));break;case _0x53bbbd[_0x326ce5(0x21e)]:case _0x53bbbd[_0x326ce5(0x1bf)]:this[_0x326ce5(0x1e1)]&&(_0x41c084=this[_0x326ce5(0x1e1)][_0x326ce5(0x1f2)](this[_0x326ce5(0x1e1)][_0x326ce5(0x1e8)])||{},this[_0x326ce5(0x1e1)][_0x326ce5(0x223)](this[_0x326ce5(0x1e1)][_0x326ce5(0x1e8)],helper['mergeDeep'](_0x41c084,_0x3c9576[_0x1a33ca])));break;case _0x53bbbd[_0x326ce5(0x1b0)]:this['safariOptions_']&&(_0x41c084=this[_0x326ce5(0x1ac)][_0x326ce5(0x1f2)](this['safariOptions_'][_0x326ce5(0x1e8)])||{},this[_0x326ce5(0x1ac)]['set'](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x326ce5(0x1d2)](_0x41c084,_0x3c9576[_0x1a33ca])));break;case _0x53bbbd[_0x326ce5(0x21b)]:case _0x53bbbd[_0x326ce5(0x1c3)]:this[_0x326ce5(0x219)]&&(_0x41c084=this[_0x326ce5(0x219)]['get'](this[_0x326ce5(0x219)][_0x326ce5(0x1e8)])||{},this[_0x326ce5(0x219)][_0x326ce5(0x223)](this[_0x326ce5(0x219)][_0x326ce5(0x1e8)],helper[_0x326ce5(0x1d2)](_0x41c084,_0x3c9576[_0x1a33ca])));break;}}}[_0x4721bb(0x211)](){const _0x21490b=_0x4721bb,_0x556af8={'rUOzA':function(_0xadca8f,_0x3692a8){return _0x53bbbd['lqqyo'](_0xadca8f,_0x3692a8);},'SpsFF':_0x53bbbd['QsRXE']};return logger[_0x21490b(0x1fe)](_0x53bbbd[_0x21490b(0x20d)]),this[_0x21490b(0x1d1)](_0x417ca2[_0x21490b(0x1b6)]),Object['keys'](_0x417ca2['capability'])[_0x21490b(0x1fa)](_0x5eb7a6=>{const _0x3d14d4=_0x21490b,_0xe0a0dc=this[_0x3d14d4(0x214)][_0x3d14d4(0x1f2)](_0x5eb7a6);_0x556af8[_0x3d14d4(0x1e9)](typeof _0xe0a0dc,_0x556af8[_0x3d14d4(0x1ca)])?this[_0x3d14d4(0x214)][_0x3d14d4(0x223)](_0x5eb7a6,helper[_0x3d14d4(0x1d2)](_0xe0a0dc,_0x417ca2[_0x3d14d4(0x1b6)][_0x5eb7a6])):this[_0x3d14d4(0x214)][_0x3d14d4(0x223)](_0x5eb7a6,_0x417ca2['capability'][_0x5eb7a6]);}),this;}[_0x4721bb(0x1ee)](){const _0x134f51=_0x4721bb,_0x2edd56={'BjCzQ':_0x53bbbd[_0x134f51(0x208)],'OXMlp':_0x53bbbd[_0x134f51(0x1ad)],'ZLlCs':function(_0x2ad743,_0x5ef9ff,_0x42c1a4){return _0x53bbbd['KaTXp'](_0x2ad743,_0x5ef9ff,_0x42c1a4);},'ZsQWX':function(_0x2f514d,_0x4af62c,_0x9b9607){const _0x259ac7=_0x134f51;return _0x53bbbd[_0x259ac7(0x217)](_0x2f514d,_0x4af62c,_0x9b9607);}};if(helper[_0x134f51(0x1d6)]()){const _0xf1e564=_0x53bbbd[_0x134f51(0x203)][_0x134f51(0x1cc)]('|');let _0x291a88=0x0;while(!![]){switch(_0xf1e564[_0x291a88++]){case'0':_0x53bbbd[_0x134f51(0x21a)](isAccessibilityAutomationSession)&&_0x53bbbd[_0x134f51(0x1a8)](setAccessibilityCapabilities,_0x417ca2);continue;case'1':globals[_0x134f51(0x1a7)](_0x53bbbd[_0x134f51(0x201)])&&(!_0x53bbbd[_0x134f51(0x1aa)](setExtension,this,_0x417ca2)&&globals[_0x134f51(0x21f)](_0x53bbbd[_0x134f51(0x201)],![]));continue;case'2':this[_0x134f51(0x211)]();continue;case'3':if(helper[_0x134f51(0x202)](_0x417ca2[_0x134f51(0x1ea)]['proxyUrl']))this[_0x134f51(0x1f3)]=helper[_0x134f51(0x1f8)](_0x417ca2[_0x134f51(0x1ea)]['proxyUrl']);else _0x417ca2[_0x134f51(0x1ea)][_0x134f51(0x1b1)]&&(this[_0x134f51(0x1ce)]=_0x417ca2[_0x134f51(0x1ea)][_0x134f51(0x1b1)],logger[_0x134f51(0x1fe)](_0x134f51(0x1ed)+this[_0x134f51(0x1ce)]));continue;case'4':logger[_0x134f51(0x1fe)](_0x53bbbd[_0x134f51(0x20a)]);continue;case'5':this[_0x134f51(0x1d3)]();continue;}break;}}const _0x3b66b6=super[_0x134f51(0x1ee)]();return _0x3b66b6['session_']['then'](_0x47c5a6=>{const _0x1ad0ca=_0x134f51;try{const _0x22c206=_0x47c5a6[_0x1ad0ca(0x1d9)][_0x1ad0ca(0x1f2)](_0x2edd56[_0x1ad0ca(0x1d8)]);_0x22c206?(logger['debug'](_0x1ad0ca(0x1eb)+_0x22c206),hubAllocator['updateHubUrl'](_0x22c206),helper[_0x1ad0ca(0x221)](_0x22c206)):logger[_0x1ad0ca(0x1fe)](_0x2edd56[_0x1ad0ca(0x1cd)]);}catch(_0x16db31){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x16db31);}}),_0x3b66b6['quitCount_']=0x0,_0x3b66b6[_0x134f51(0x1c4)]&&_0x3b66b6[_0x134f51(0x1c4)](_0x56d672=>{const _0x21dbba=_0x134f51,_0x41d23b={'pWUMg':function(_0xb2d222,_0x43f9e9,_0x59648f){const _0x2daafe=a29_0x2561;return _0x53bbbd[_0x2daafe(0x20e)](_0xb2d222,_0x43f9e9,_0x59648f);}};_0x53bbbd[_0x21dbba(0x1ef)](overrideQuit,_0x56d672,_0x3b66b6),_0x53bbbd[_0x21dbba(0x1ba)](overrideTakeScreenshot,_0x56d672),helper['overrideGet'](_0x56d672,_0x417ca2),_0x53bbbd['RRSFg'](overrideExecute,_0x56d672,_0x417ca2),_0x56d672['getAccessibilityResultsSummary']=async()=>{const _0x5eb6ef=_0x21dbba;return await _0x41d23b[_0x5eb6ef(0x1d4)](getAccessibilityResultsSummary,_0x56d672,global);},_0x56d672[_0x21dbba(0x1c6)]=async()=>{const _0x172c6d=_0x21dbba;return await _0x2edd56[_0x172c6d(0x213)](getAccessibilityResults,_0x56d672,global);};}),_0x3b66b6[_0x134f51(0x1b3)]=async()=>{const _0x66be5c=_0x134f51;return await _0x2edd56[_0x66be5c(0x209)](getAccessibilityResultsSummary,_0x3b66b6,global);},_0x3b66b6[_0x134f51(0x1c6)]=async()=>{const _0x23c9db=_0x134f51;return await _0x53bbbd[_0x23c9db(0x1fb)](getAccessibilityResults,_0x3b66b6,global);},_0x53bbbd[_0x134f51(0x205)](overrideTakeScreenshot,_0x3b66b6),_0x53bbbd['UOmpS'](overrideQuit,_0x3b66b6),helper[_0x134f51(0x1cb)](_0x3b66b6,_0x417ca2),_0x53bbbd[_0x134f51(0x20e)](overrideExecute,_0x3b66b6,_0x417ca2),helper['isUndefined'](global['__driversArray'])&&(global[_0x134f51(0x1af)]=[]),helper[_0x134f51(0x1ae)](global['__drivers'])&&(global[_0x134f51(0x20b)]=[]),global[_0x134f51(0x1af)]['push'](_0x3b66b6),global[_0x134f51(0x210)]=_0x3b66b6,_0x53bbbd[_0x134f51(0x20c)](global[_0x134f51(0x20b)],undefined)&&global['__drivers'][_0x134f51(0x1a6)](_0x3b66b6),_0xdd0886&&helper[_0x134f51(0x1ae)](_0xdd0886[_0x134f51(0x1f6)][_0x134f51(0x1af)])&&(_0xdd0886[_0x134f51(0x1f6)][_0x134f51(0x1af)]=[]),_0xdd0886&&_0x53bbbd[_0x134f51(0x20c)](_0xdd0886['global'][_0x134f51(0x20b)],undefined)&&(_0xdd0886[_0x134f51(0x1f6)][_0x134f51(0x20b)][_0x134f51(0x1a6)](_0x3b66b6),_0xdd0886['global'][_0x134f51(0x1af)][_0x134f51(0x1a6)](_0x3b66b6)),_0x3b66b6;}}return _0x3162c8[_0x4721bb(0x1f1)]=_0x3162c8[_0x4721bb(0x1b4)],_0x3162c8[_0x4721bb(0x1b4)]=_0x1e53ff,_0x4dcfde[_0x4721bb(0x1e6)]=_0x1ece84,_0x3162c8;};function a29_0x55bd(){const _0x255d8a=['proxySettings','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','safari.options','Proxy\x20set\x20to\x20','build','RRSFg','setLogLevel','originalBuilder','get','agent_','exports','/wd/hub','global','options_','getHttpAgent','../../../helpers/globals','forEach','akxyY','url_','chromeOptions','debug','200550ndZbPf','getRequestOptions','rCopT','isPacProxy','FlXnI','1368961QINVnG','UOmpS','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','send','aWHGO','ZsQWX','IiLMY','__drivers','Ztaip','jLyqk','NYTbQ','../accessibility-automation/helper','__driver','setCapabilities','7735XyOvNu','ZLlCs','capabilities_','BIpPL','browserstackAgentObservability','eggae','ZeHYA','ieOptions_','tssvC','ljTdg','6344541yvTKKg','requireSeleniumWebdriver','URHdh','setGlobal','3yUVtRo','storeOptimalHubUrl','2959402QMhDRG','set','firefoxOptions','push','getGlobal','KCUfd','../../../helpers/patchHelpers','WnApc','ieOptions','safariOptions_','lEkYf','isUndefined','__driversArray','RgmtA','proxyUrl','New\x20hub\x20url\x20set\x20to\x20','getAccessibilityResultsSummary','Builder','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','capability','../../../hubAllocationMethods','error','Modifying\x20webdriver\x20builder','hTIXd','2293616qwOqCT','requireHttpClient','SGMFf','/session','oJwmV','edgeOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','chromeOptions_','DAMuy','then','Setting\x20Browserstack\x20capabilities','getAccessibilityResults','370bIWcrS','logLevel','rffZY','SpsFF','overrideGet','split','OXMlp','proxy_','newHubUrl','149085zSBboa','__setBrowserOptions','mergeDeep','setServer','pWUMg','RdJMZ','isBrowserstackInfra','getHubUrl','BjCzQ','caps_','se:ieOptions','0|5|2|3|1|4','3246lWaydx','ms:edgeOptions','Hub\x20url\x20set\x20to\x20','edgeOptions_','winstonLogger','firefoxOptions_','../../../helpers/logger','https://','148rwkwWP','optimalHubUrl','HttpClient','XnZzi','CAPABILITY_KEY','rUOzA'];a29_0x55bd=function(){return _0x255d8a;};return a29_0x55bd();}module[a29_0x2dca33(0x1f4)][a29_0x2dca33(0x216)]=modify;
1
+ const a29_0x5a00b6=a29_0x5ba7;(function(_0x1a4125,_0x51b907){const _0x41ae7c=a29_0x5ba7,_0x55c3a9=_0x1a4125();while(!![]){try{const _0x59b961=-parseInt(_0x41ae7c(0x190))/0x1*(parseInt(_0x41ae7c(0x1a2))/0x2)+-parseInt(_0x41ae7c(0x15f))/0x3+parseInt(_0x41ae7c(0x184))/0x4+-parseInt(_0x41ae7c(0x17c))/0x5*(parseInt(_0x41ae7c(0x1a1))/0x6)+-parseInt(_0x41ae7c(0x1c0))/0x7+parseInt(_0x41ae7c(0x16e))/0x8+parseInt(_0x41ae7c(0x17f))/0x9;if(_0x59b961===_0x51b907)break;else _0x55c3a9['push'](_0x55c3a9['shift']());}catch(_0x5ca91b){_0x55c3a9['push'](_0x55c3a9['shift']());}}}(a29_0x49bd,0xd8665));function a29_0x5ba7(_0x5d713a,_0x33b6a5){const _0x49bd56=a29_0x49bd();return a29_0x5ba7=function(_0x5ba767,_0x595f14){_0x5ba767=_0x5ba767-0x15d;let _0x4b844d=_0x49bd56[_0x5ba767];return _0x4b844d;},a29_0x5ba7(_0x5d713a,_0x33b6a5);}const logger=require(a29_0x5a00b6(0x187))[a29_0x5a00b6(0x1b7)],helper=require(a29_0x5a00b6(0x1d3)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x5a00b6(0x1ae)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x5a00b6(0x1bb)),globals=require(a29_0x5a00b6(0x1a8)),{overrideExecute}=require(a29_0x5a00b6(0x18d)),modify=(_0xa1bc1a,_0x336a3e=null,_0x216e60=![])=>{const _0x23ba7a=a29_0x5a00b6,_0x14791b={'Znshf':function(_0x19fa48,_0x656e01){return _0x19fa48!==_0x656e01;},'gtRtA':_0x23ba7a(0x174),'fJZJl':function(_0x3b5435,_0x1f3182){return _0x3b5435+_0x1f3182;},'xbpEF':function(_0x462c37,_0x203b97){return _0x462c37+_0x203b97;},'emvyA':'https://','GkzFl':_0x23ba7a(0x1cc),'inlkM':'goog:chromeOptions','zRQBU':_0x23ba7a(0x1b6),'cIiaC':_0x23ba7a(0x1d6),'VQpvF':_0x23ba7a(0x168),'MIVPX':_0x23ba7a(0x1a5),'sERqL':_0x23ba7a(0x182),'MPdNX':_0x23ba7a(0x178),'GStRn':'se:ieOptions','sOLcs':_0x23ba7a(0x1c2),'xQmFI':function(_0x386272,_0x1abf4a){return _0x386272===_0x1abf4a;},'wMxjv':_0x23ba7a(0x179),'kkZUD':'Setting\x20Browserstack\x20capabilities','Txmtk':_0x23ba7a(0x175),'Ukghn':_0x23ba7a(0x17b),'uVQEy':function(_0xab2fc1,_0x1fec80,_0x13136a){return _0xab2fc1(_0x1fec80,_0x13136a);},'mKeKL':function(_0x4f0468,_0x562c34){return _0x4f0468(_0x562c34);},'lMZRI':function(_0x48f0a1,_0x52dea4,_0x11c116){return _0x48f0a1(_0x52dea4,_0x11c116);},'eNEaW':_0x23ba7a(0x1cf),'BTTiy':function(_0x5f4f56){return _0x5f4f56();},'LslNo':_0x23ba7a(0x1b0),'jCRoC':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','baiLx':function(_0x16a676,_0x4d2f3f){return _0x16a676(_0x4d2f3f);},'bDbfq':_0x23ba7a(0x167),'roeRv':_0x23ba7a(0x1b3)},_0x99c78a=helper[_0x23ba7a(0x181)]();let _0x2dcd4c;try{_0x2dcd4c=helper[_0x23ba7a(0x196)](),_0x2dcd4c[_0x23ba7a(0x1af)]&&(_0x2dcd4c[_0x23ba7a(0x19f)]=_0x2dcd4c[_0x23ba7a(0x1af)]);}catch(_0x31f288){return;}if(helper[_0x23ba7a(0x169)]()){const _0x3e664f={};_0x3e664f[_0x23ba7a(0x1a7)]=_0xa1bc1a[_0x23ba7a(0x1ce)],helper[_0x23ba7a(0x16a)](_0x3e664f,new Map(),new Map()),logger[_0x23ba7a(0x177)](_0x14791b[_0x23ba7a(0x1b8)]),logger[_0x23ba7a(0x192)](_0x14791b[_0x23ba7a(0x19c)]);}class _0x52e0e8 extends _0x99c78a[_0x23ba7a(0x162)]{[_0x23ba7a(0x1a3)](_0x163bc8){const _0x3b0374=_0x23ba7a;if(_0x14791b['Znshf'](_0x163bc8[_0x3b0374(0x16c)],_0x14791b[_0x3b0374(0x19d)])&&_0x14791b['Znshf'](global['newHubUrl'],''))try{global['newHubUrl']=_0x14791b[_0x3b0374(0x1b2)](_0x14791b[_0x3b0374(0x1ad)](_0x14791b[_0x3b0374(0x19b)],global[_0x3b0374(0x1c3)]),_0x14791b[_0x3b0374(0x1c5)]),this[_0x3b0374(0x1a9)]=hubAllocator[_0x3b0374(0x171)](global['newHubUrl']),logger[_0x3b0374(0x192)](_0x3b0374(0x1d0)+global[_0x3b0374(0x1c3)]),global[_0x3b0374(0x1c3)]='';}catch(_0x43d3bb){logger['error'](_0x43d3bb);}return super[_0x3b0374(0x1a3)](_0x163bc8);}}class _0x21ea1b extends _0x2dcd4c['Builder']{['setServer'](){const _0x568334=_0x23ba7a;return this[_0x568334(0x1c6)]=helper['getHubUrl'](_0xa1bc1a),logger[_0x568334(0x192)]('Hub\x20url\x20set\x20to\x20'+this[_0x568334(0x1c6)]),this;}[_0x23ba7a(0x180)](_0x5211c8){const _0x225d5f=_0x23ba7a;let _0x2ac534={};for(const _0x86ee0b in _0x5211c8){switch(_0x86ee0b){case _0x14791b[_0x225d5f(0x17e)]:case _0x14791b[_0x225d5f(0x16f)]:this[_0x225d5f(0x1d7)]&&(_0x2ac534=this[_0x225d5f(0x1d7)][_0x225d5f(0x199)](this[_0x225d5f(0x1d7)][_0x225d5f(0x18a)])||{},this[_0x225d5f(0x1d7)][_0x225d5f(0x186)](this[_0x225d5f(0x1d7)]['CAPABILITY_KEY'],helper[_0x225d5f(0x1a4)](_0x2ac534,_0x5211c8[_0x86ee0b])));break;case _0x14791b[_0x225d5f(0x1b4)]:case _0x14791b[_0x225d5f(0x19a)]:this[_0x225d5f(0x1a6)]&&(_0x2ac534=this[_0x225d5f(0x1a6)][_0x225d5f(0x199)](this[_0x225d5f(0x1a6)][_0x225d5f(0x18a)])||{},this['edgeOptions_'][_0x225d5f(0x186)](this['edgeOptions_'][_0x225d5f(0x18a)],helper[_0x225d5f(0x1a4)](_0x2ac534,_0x5211c8[_0x86ee0b])));break;case _0x14791b[_0x225d5f(0x160)]:case _0x14791b['sERqL']:this[_0x225d5f(0x172)]&&(_0x2ac534=this[_0x225d5f(0x172)][_0x225d5f(0x199)](this[_0x225d5f(0x172)][_0x225d5f(0x18a)])||{},this['firefoxOptions_'][_0x225d5f(0x186)](this['firefoxOptions_'][_0x225d5f(0x18a)],helper[_0x225d5f(0x1a4)](_0x2ac534,_0x5211c8[_0x86ee0b])));break;case _0x14791b[_0x225d5f(0x15e)]:this['safariOptions_']&&(_0x2ac534=this['safariOptions_'][_0x225d5f(0x199)](this[_0x225d5f(0x176)][_0x225d5f(0x18a)])||{},this[_0x225d5f(0x176)][_0x225d5f(0x186)](this[_0x225d5f(0x176)]['CAPABILITY_KEY'],helper[_0x225d5f(0x1a4)](_0x2ac534,_0x5211c8[_0x86ee0b])));break;case _0x14791b[_0x225d5f(0x15d)]:case _0x14791b[_0x225d5f(0x170)]:this[_0x225d5f(0x1ba)]&&(_0x2ac534=this[_0x225d5f(0x1ba)]['get'](this[_0x225d5f(0x1ba)]['CAPABILITY_KEY'])||{},this[_0x225d5f(0x1ba)][_0x225d5f(0x186)](this[_0x225d5f(0x1ba)][_0x225d5f(0x18a)],helper[_0x225d5f(0x1a4)](_0x2ac534,_0x5211c8[_0x86ee0b])));break;}}}[_0x23ba7a(0x173)](){const _0x29ecc7=_0x23ba7a,_0x17536c={'fASrb':function(_0x146224,_0x3017f5){return _0x14791b['xQmFI'](_0x146224,_0x3017f5);},'VbDUc':_0x14791b[_0x29ecc7(0x1ac)]};return logger[_0x29ecc7(0x192)](_0x14791b[_0x29ecc7(0x1bd)]),this['__setBrowserOptions'](_0xa1bc1a[_0x29ecc7(0x1ab)]),Object[_0x29ecc7(0x1bf)](_0xa1bc1a[_0x29ecc7(0x1ab)])[_0x29ecc7(0x1c9)](_0x3766f6=>{const _0x430650=_0x29ecc7,_0x21640f=this[_0x430650(0x1be)][_0x430650(0x199)](_0x3766f6);_0x17536c[_0x430650(0x1d1)](typeof _0x21640f,_0x17536c[_0x430650(0x161)])?this['capabilities_'][_0x430650(0x186)](_0x3766f6,helper[_0x430650(0x1a4)](_0x21640f,_0xa1bc1a['capability'][_0x3766f6])):this[_0x430650(0x1be)]['set'](_0x3766f6,_0xa1bc1a['capability'][_0x3766f6]);}),this;}[_0x23ba7a(0x1b9)](){const _0xbbe484=_0x23ba7a,_0x53ff21={'lULLl':_0x14791b['Txmtk'],'gSQjB':_0x14791b[_0xbbe484(0x17d)],'BQRgb':function(_0x21c9ce,_0x37002e,_0x4d6a71){const _0x46c1fc=_0xbbe484;return _0x14791b[_0x46c1fc(0x1c8)](_0x21c9ce,_0x37002e,_0x4d6a71);},'eTRWt':function(_0x180be0,_0x17a64f){const _0x1cf6fe=_0xbbe484;return _0x14791b[_0x1cf6fe(0x18b)](_0x180be0,_0x17a64f);},'NVYxn':function(_0x4dd18d,_0x222b04,_0x5ad83e){const _0x3d4446=_0xbbe484;return _0x14791b[_0x3d4446(0x16d)](_0x4dd18d,_0x222b04,_0x5ad83e);},'hAlxe':function(_0x1bffed,_0x262bad,_0x194237){const _0x23e064=_0xbbe484;return _0x14791b[_0x23e064(0x16d)](_0x1bffed,_0x262bad,_0x194237);}};if(helper['isBrowserstackInfra']()){const _0x27fd20=_0x14791b[_0xbbe484(0x193)][_0xbbe484(0x1d4)]('|');let _0x4eda9d=0x0;while(!![]){switch(_0x27fd20[_0x4eda9d++]){case'0':_0x14791b['BTTiy'](isAccessibilityAutomationSession)&&_0x14791b[_0xbbe484(0x18b)](setAccessibilityCapabilities,_0xa1bc1a);continue;case'1':this[_0xbbe484(0x191)]();continue;case'2':globals[_0xbbe484(0x197)](_0x14791b['LslNo'])&&(!_0x14791b['uVQEy'](setExtension,this,_0xa1bc1a)&&globals['setGlobal'](_0x14791b['LslNo'],![]));continue;case'3':if(helper[_0xbbe484(0x19e)](_0xa1bc1a[_0xbbe484(0x17a)][_0xbbe484(0x164)]))this['agent_']=helper[_0xbbe484(0x185)](_0xa1bc1a[_0xbbe484(0x17a)]['proxyUrl']);else _0xa1bc1a[_0xbbe484(0x17a)][_0xbbe484(0x164)]&&(this['proxy_']=_0xa1bc1a[_0xbbe484(0x17a)][_0xbbe484(0x164)],logger[_0xbbe484(0x192)](_0xbbe484(0x1c7)+this[_0xbbe484(0x18e)]));continue;case'4':logger['debug'](_0x14791b['jCRoC']);continue;case'5':this[_0xbbe484(0x173)]();continue;}break;}}const _0x23f0d6=super['build']();return _0x23f0d6[_0xbbe484(0x195)][_0xbbe484(0x1aa)](_0x323661=>{const _0x16e2ec=_0xbbe484;try{const _0x1736cd=_0x323661['caps_'][_0x16e2ec(0x199)](_0x53ff21[_0x16e2ec(0x18f)]);_0x1736cd?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x1736cd),hubAllocator[_0x16e2ec(0x189)](_0x1736cd),helper[_0x16e2ec(0x16b)](_0x1736cd)):logger[_0x16e2ec(0x192)](_0x53ff21[_0x16e2ec(0x1b5)]);}catch(_0x183663){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x183663);}}),_0x23f0d6[_0xbbe484(0x163)]=0x0,_0x23f0d6[_0xbbe484(0x1aa)]&&_0x23f0d6[_0xbbe484(0x1aa)](_0x30efa0=>{const _0x335774=_0xbbe484,_0x47b032={'vhiZX':function(_0x16cf02,_0x42f724,_0x506307){const _0x204433=a29_0x5ba7;return _0x53ff21[_0x204433(0x166)](_0x16cf02,_0x42f724,_0x506307);}};_0x53ff21[_0x335774(0x166)](overrideQuit,_0x30efa0,_0x23f0d6),_0x53ff21[_0x335774(0x1d2)](overrideTakeScreenshot,_0x30efa0),helper[_0x335774(0x1ca)](_0x30efa0,_0xa1bc1a),_0x53ff21[_0x335774(0x166)](overrideExecute,_0x30efa0,_0xa1bc1a),_0x30efa0[_0x335774(0x1b1)]=async()=>{const _0x18f688=_0x335774;return await _0x47b032[_0x18f688(0x1a0)](getAccessibilityResultsSummary,_0x30efa0,global);},_0x30efa0[_0x335774(0x188)]=async()=>{const _0x368072=_0x335774;return await _0x53ff21[_0x368072(0x166)](getAccessibilityResults,_0x30efa0,global);};}),_0x23f0d6[_0xbbe484(0x1b1)]=async()=>{return await _0x53ff21['NVYxn'](getAccessibilityResultsSummary,_0x23f0d6,global);},_0x23f0d6[_0xbbe484(0x188)]=async()=>{const _0x78f3e8=_0xbbe484;return await _0x53ff21[_0x78f3e8(0x1d5)](getAccessibilityResults,_0x23f0d6,global);},_0x14791b[_0xbbe484(0x1cb)](overrideTakeScreenshot,_0x23f0d6),_0x14791b[_0xbbe484(0x18b)](overrideQuit,_0x23f0d6),helper[_0xbbe484(0x1ca)](_0x23f0d6,_0xa1bc1a),_0x14791b['uVQEy'](overrideExecute,_0x23f0d6,_0xa1bc1a),helper[_0xbbe484(0x183)](global['__driversArray'])&&(global[_0xbbe484(0x198)]=[]),helper[_0xbbe484(0x183)](global['__drivers'])&&(global['__drivers']=[]),global[_0xbbe484(0x198)]['push'](_0x23f0d6),global[_0xbbe484(0x165)]=_0x23f0d6,_0x14791b['Znshf'](global[_0xbbe484(0x1c4)],undefined)&&global[_0xbbe484(0x1c4)]['push'](_0x23f0d6),_0x336a3e&&helper['isUndefined'](_0x336a3e[_0xbbe484(0x18c)]['__driversArray'])&&(_0x336a3e['global'][_0xbbe484(0x198)]=[]),_0x336a3e&&_0x14791b[_0xbbe484(0x194)](_0x336a3e[_0xbbe484(0x18c)][_0xbbe484(0x1c4)],undefined)&&(_0x336a3e[_0xbbe484(0x18c)][_0xbbe484(0x1c4)][_0xbbe484(0x1c1)](_0x23f0d6),_0x336a3e[_0xbbe484(0x18c)]['__driversArray']['push'](_0x23f0d6)),_0x23f0d6;}}return _0x2dcd4c[_0x23ba7a(0x1af)]=_0x2dcd4c[_0x23ba7a(0x19f)],_0x2dcd4c[_0x23ba7a(0x19f)]=_0x21ea1b,_0x99c78a[_0x23ba7a(0x162)]=_0x52e0e8,_0x2dcd4c;};module[a29_0x5a00b6(0x1cd)][a29_0x5a00b6(0x1bc)]=modify;function a29_0x49bd(){const _0x1bd70c=['isUndefined','5393680RZUAsa','getHttpAgent','set','../../../helpers/logger','getAccessibilityResults','updateHubUrl','CAPABILITY_KEY','mKeKL','global','./helpers/patchHelper','proxy_','lULLl','6nRIYhA','setServer','debug','eNEaW','Znshf','session_','requireSeleniumWebdriver','getGlobal','__driversArray','get','VQpvF','emvyA','roeRv','gtRtA','isPacProxy','Builder','vhiZX','72222JhPdMi','9104LMxPUI','send','mergeDeep','moz:firefoxOptions','edgeOptions_','logLevel','../../../helpers/globals','options_','then','capability','wMxjv','xbpEF','../accessibility-automation/helper','originalBuilder','isAccessibilityPlatform','getAccessibilityResultsSummary','fJZJl','Modifying\x20webdriver\x20builder','cIiaC','gSQjB','chromeOptions','winstonLogger','bDbfq','build','ieOptions_','../../../helpers/accessibility-automation/helper','browserstackAgentObservability','kkZUD','capabilities_','keys','3081715WuBiJv','push','ieOptions','newHubUrl','__drivers','GkzFl','url_','Proxy\x20set\x20to\x20','uVQEy','forEach','overrideGet','baiLx','/wd/hub','exports','browserStackLogLevel','0|1|5|3|2|4','New\x20hub\x20url\x20set\x20to\x20','fASrb','eTRWt','../../../helpers/helper','split','hAlxe','ms:edgeOptions','chromeOptions_','GStRn','MPdNX','853062wAFZLD','MIVPX','VbDUc','HttpClient','quitCount_','proxyUrl','__driver','BQRgb','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','edgeOptions','isBrowserstackInfra','setLogLevel','storeOptimalHubUrl','path','lMZRI','196600LfUkAl','zRQBU','sOLcs','getRequestOptions','firefoxOptions_','setCapabilities','/session','optimalHubUrl','safariOptions_','info','safari.options','object','proxySettings','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','15pGwtvS','Ukghn','inlkM','2712600upAwSn','__setBrowserOptions','requireHttpClient','firefoxOptions'];a29_0x49bd=function(){return _0x1bd70c;};return a29_0x49bd();}
@@ -1 +1 @@
1
- const a30_0x22698d=a30_0x31f6;(function(_0x27b01e,_0x128eff){const _0x4f0cfb=a30_0x31f6,_0x38fa0b=_0x27b01e();while(!![]){try{const _0x3eafc2=parseInt(_0x4f0cfb(0xb2))/0x1*(parseInt(_0x4f0cfb(0xbb))/0x2)+parseInt(_0x4f0cfb(0xbc))/0x3*(-parseInt(_0x4f0cfb(0xbe))/0x4)+-parseInt(_0x4f0cfb(0xbf))/0x5+-parseInt(_0x4f0cfb(0xbd))/0x6+parseInt(_0x4f0cfb(0xb3))/0x7*(-parseInt(_0x4f0cfb(0xb9))/0x8)+-parseInt(_0x4f0cfb(0xb1))/0x9*(parseInt(_0x4f0cfb(0xba))/0xa)+parseInt(_0x4f0cfb(0xb5))/0xb;if(_0x3eafc2===_0x128eff)break;else _0x38fa0b['push'](_0x38fa0b['shift']());}catch(_0x38a05f){_0x38fa0b['push'](_0x38fa0b['shift']());}}}(a30_0x2724,0x2256d));const requestSpy=require(a30_0x22698d(0xaf)),constants=require(a30_0x22698d(0xb4)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a30_0x22698d(0xb6)]={'beforeAll'(){const _0x1ee7f9=a30_0x22698d,_0x4870f7={'rDRvI':function(_0x547186){return _0x547186();}},_0x5a82ff='browserstack internal helper hook';_0x4870f7[_0x1ee7f9(0xb8)](addRequestSpy);},'afterAll'(){const _0x45f942=a30_0x22698d,_0xf79566='browserstack internal helper hook';this[_0x45f942(0xb7)](0xea60),requestSpy[_0x45f942(0xb0)]();}};function a30_0x31f6(_0x861913,_0x2db47c){const _0x27245b=a30_0x2724();return a30_0x31f6=function(_0x31f6db,_0x2e4ebd){_0x31f6db=_0x31f6db-0xaf;let _0x5bb59c=_0x27245b[_0x31f6db];return _0x5bb59c;},a30_0x31f6(_0x861913,_0x2db47c);}function a30_0x2724(){const _0x548001=['1002825EgwVKN','../../../helpers/request-spy','restore','45bjyXKP','1MWBHbe','594629UKpSZB','../../../bin/utils/constants','9110937mbycok','mochaHooks','timeout','rDRvI','24JgnVeg','126010jLuZSa','304474VgBGhv','44421mwJeJL','596010ODQuVo','60yiJiBI'];a30_0x2724=function(){return _0x548001;};return a30_0x2724();}
1
+ const a30_0x1d11b5=a30_0x323b;(function(_0x1909b1,_0x11730f){const _0x241cf2=a30_0x323b,_0xf1290c=_0x1909b1();while(!![]){try{const _0x2cac28=parseInt(_0x241cf2(0x190))/0x1+parseInt(_0x241cf2(0x18d))/0x2+parseInt(_0x241cf2(0x191))/0x3*(-parseInt(_0x241cf2(0x18f))/0x4)+-parseInt(_0x241cf2(0x196))/0x5*(-parseInt(_0x241cf2(0x197))/0x6)+-parseInt(_0x241cf2(0x18e))/0x7*(-parseInt(_0x241cf2(0x18c))/0x8)+parseInt(_0x241cf2(0x192))/0x9*(parseInt(_0x241cf2(0x18b))/0xa)+-parseInt(_0x241cf2(0x198))/0xb*(parseInt(_0x241cf2(0x199))/0xc);if(_0x2cac28===_0x11730f)break;else _0xf1290c['push'](_0xf1290c['shift']());}catch(_0x2b6055){_0xf1290c['push'](_0xf1290c['shift']());}}}(a30_0x3937,0x8bc3b));const requestSpy=require(a30_0x1d11b5(0x193)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a30_0x323b(_0x25601a,_0x1a3939){const _0x3937e9=a30_0x3937();return a30_0x323b=function(_0x323b5d,_0x5b6c65){_0x323b5d=_0x323b5d-0x18b;let _0x1576b6=_0x3937e9[_0x323b5d];return _0x1576b6;},a30_0x323b(_0x25601a,_0x1a3939);}function a30_0x3937(){const _0xb2ed1c=['6306mswABd','36935426ZLSFxz','12vrWGac','1573450YAWYTH','996656mAmoff','1342364vLECsx','35QGKEFo','551592JAawzu','800519SfqUBi','6HLoBIo','63xhNsZR','../../../helpers/request-spy','mochaHooks','timeout','4805ModzMv'];a30_0x3937=function(){return _0xb2ed1c;};return a30_0x3937();}exports[a30_0x1d11b5(0x194)]={'beforeAll'(){const _0x1565a4={'spPJO':function(_0x23ae6d){return _0x23ae6d();}},_0x1f174b='browserstack internal helper hook';_0x1565a4['spPJO'](addRequestSpy);},'afterAll'(){const _0x30075d=a30_0x1d11b5,_0x28867d='browserstack internal helper hook';this[_0x30075d(0x195)](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- function a31_0x277f(_0x52fece,_0x1d6238){const _0x433382=a31_0x4333();return a31_0x277f=function(_0x277f45,_0x414468){_0x277f45=_0x277f45-0x181;let _0x42ae82=_0x433382[_0x277f45];return _0x42ae82;},a31_0x277f(_0x52fece,_0x1d6238);}const a31_0x2e7bcf=a31_0x277f;function a31_0x4333(){const _0x3fb42d=['indexOf','__cloud_provider___','getTestEnv','wcCNY','type','toJSON','hook','xCWeg','slice','pXIdG','../../../helpers/test-observability/utils','getHooksForTest','MziCN','gVWiy','../../../../package.json','getCapabilities','11592968hFDJJG','../../utils/logPatcher','_beforeAll','AwaRu','toISOString','lodash','markedStatus','split','Vswnj','3789392UZQnAg','CFUif','generic','HWVLs','mapTestHooks','Beepp','eEner','../../../helpers/test-observability/constants','cphoV','IhxGq','reduce','pid','QuzeN','29262pVfYZE','rLynw','concat','../../../helpers/helper','eAQMl','41794720OAOCRr','HeQcG','map_','1125GrloRE','passed','fMGNo','YYVDo','getHookSkippedTests','_beforeEach','vNsxn','unknown_grid','1310xXvGtN','hAFfl','../../../helpers/testhub/utils','getSession','state','forEach','TpmST','emit','66910EmyGwH','substring','7gTzbbT','hHcXZ','browserstack','tests','YfUYF','WJZiK','hookAnalyticsId','_afterAll','_afterEach','PuBsW','mqrpl','getPlatform','1358367bopvzH','failed','filter','bs:addPlatformDetails:','40KxrwlI','parent','js-','35163VXrAUU','zFtQD','oAgIe','BlBtX','HzIWM'];a31_0x4333=function(){return _0x3fb42d;};return a31_0x4333();}(function(_0x5c1563,_0x30bbfb){const _0x9669c8=a31_0x277f,_0x20cf63=_0x5c1563();while(!![]){try{const _0x250131=parseInt(_0x9669c8(0x1ab))/0x1*(-parseInt(_0x9669c8(0x1bd))/0x2)+-parseInt(_0x9669c8(0x1b9))/0x3+parseInt(_0x9669c8(0x186))/0x4+parseInt(_0x9669c8(0x19b))/0x5*(-parseInt(_0x9669c8(0x193))/0x6)+parseInt(_0x9669c8(0x1ad))/0x7*(-parseInt(_0x9669c8(0x1d5))/0x8)+-parseInt(_0x9669c8(0x1c0))/0x9*(-parseInt(_0x9669c8(0x1a3))/0xa)+parseInt(_0x9669c8(0x198))/0xb;if(_0x250131===_0x30bbfb)break;else _0x20cf63['push'](_0x20cf63['shift']());}catch(_0x42b4fa){_0x20cf63['push'](_0x20cf63['shift']());}}}(a31_0x4333,0xe0ea2));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x2e7bcf(0x1d3)),logPatcher=require(a31_0x2e7bcf(0x1d6)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x2e7bcf(0x1cf)),{consoleHolder}=require(a31_0x2e7bcf(0x18d)),{getPlatformVersion}=require(a31_0x2e7bcf(0x196)),{shouldProcessEventForTesthub}=require(a31_0x2e7bcf(0x1a5)),{isFunction}=require(a31_0x2e7bcf(0x182)),{patchConsoleLogger}=require(a31_0x2e7bcf(0x1cf));patchConsoleLogger(),exports[a31_0x2e7bcf(0x1c7)]=()=>{const _0x4cd329=a31_0x2e7bcf,_0x217ab9={'fMGNo':_0x4cd329(0x188),'xCWeg':function(_0x5bb7ea){return _0x5bb7ea();}};return{'ci':_0x217ab9[_0x4cd329(0x19d)],'key':_0x217ab9[_0x4cd329(0x1cc)](uuidv4),'version':version,'collector':_0x4cd329(0x1bf)+name};},exports['getHookDetails']=_0x32a479=>{const _0x3c4350=a31_0x2e7bcf,_0x372585={};_0x372585[_0x3c4350(0x192)]=function(_0x19e372,_0x54e0b1){return _0x19e372!==_0x54e0b1;},_0x372585[_0x3c4350(0x1d2)]='string',_0x372585['vNsxn']='hook:',_0x372585['hAFfl']=function(_0x4d28ab,_0x5594a4){return _0x4d28ab!==_0x5594a4;},_0x372585['YfUYF']=_0x3c4350(0x1cb);const _0x88f0e9=_0x372585;if(!_0x32a479||_0x88f0e9[_0x3c4350(0x192)](typeof _0x32a479,_0x88f0e9[_0x3c4350(0x1d2)]))return[null,null];if(_0x88f0e9[_0x3c4350(0x192)](_0x32a479['indexOf'](_0x88f0e9[_0x3c4350(0x1a1)]),-0x1)){const _0xbc3526=_0x32a479['split'](_0x88f0e9[_0x3c4350(0x1a1)]);return[_0xbc3526[0x0]['slice'](0x0,-0x1)[_0x3c4350(0x184)]('\x22')[0x1],_0xbc3526[0x1][_0x3c4350(0x1ac)](0x1)];}else{if(_0x88f0e9[_0x3c4350(0x1a4)](_0x32a479[_0x3c4350(0x1c5)](_0x88f0e9[_0x3c4350(0x1b1)]),-0x1)){const _0xbd5afd=_0x32a479['split'](_0x88f0e9[_0x3c4350(0x1b1)]);return[_0xbd5afd[0x0][_0x3c4350(0x1cd)](0x0,-0x1)[_0x3c4350(0x184)]('\x22')[0x1],_0x32a479];}}return[null,null];},exports['getHooksForTest']=_0x5aaab5=>{const _0x56f3a5=a31_0x2e7bcf,_0x1f4951={'BlBtX':function(_0x43dfb5,_0x1912a9){return _0x43dfb5(_0x1912a9);},'wcCNY':_0x56f3a5(0x1d7),'Vswnj':_0x56f3a5(0x1b4),'TpmST':_0x56f3a5(0x1a0),'oAgIe':_0x56f3a5(0x1b5)};if(!_0x5aaab5||!_0x5aaab5[_0x56f3a5(0x1be)])return[];const _0xbb7112=[];return[_0x1f4951[_0x56f3a5(0x1c8)],_0x1f4951[_0x56f3a5(0x185)],_0x1f4951[_0x56f3a5(0x1a9)],_0x1f4951[_0x56f3a5(0x1c2)]][_0x56f3a5(0x1a8)](_0x338033=>{const _0x29d069=_0x56f3a5,_0x28f6f1=_0x5aaab5[_0x29d069(0x1be)][_0x338033]||[];_0x28f6f1[_0x29d069(0x1a8)](_0x1e8c56=>{const _0xf83248=_0x29d069;_0x1e8c56[_0xf83248(0x1b3)]&&!_0x1f4951[_0xf83248(0x1c3)](isInternalHook,_0x1e8c56['fn'])&&_0xbb7112['push'](_0x1e8c56[_0xf83248(0x1b3)]);});}),[..._0xbb7112,...exports[_0x56f3a5(0x1d0)](_0x5aaab5[_0x56f3a5(0x1be)])];},exports[a31_0x2e7bcf(0x18a)]=_0x503ae5=>{const _0x5bc7e0=a31_0x2e7bcf,_0x45abd2={'eAQMl':function(_0x54be38){return _0x54be38();},'HeQcG':function(_0x539778,_0x2e0b1e){return _0x539778===_0x2e0b1e;},'CFUif':'_afterEach','dcOTC':'_beforeAll','MziCN':'_afterAll','WJZiK':_0x5bc7e0(0x1a0)};if(!_0x503ae5||!_0x503ae5[_0x5bc7e0(0x1be)])return;[_0x45abd2['dcOTC'],_0x45abd2[_0x5bc7e0(0x1d1)],_0x45abd2[_0x5bc7e0(0x1b2)],_0x45abd2[_0x5bc7e0(0x187)]][_0x5bc7e0(0x1a8)](_0x3d5f2a=>{const _0x13cf3d=_0x5bc7e0,_0x17acc6={'AwaRu':function(_0x4ee6e7){const _0x1c9445=a31_0x277f;return _0x45abd2[_0x1c9445(0x197)](_0x4ee6e7);},'eEner':function(_0x59e620,_0x5c9717){const _0x120726=a31_0x277f;return _0x45abd2[_0x120726(0x199)](_0x59e620,_0x5c9717);},'cphoV':_0x45abd2[_0x13cf3d(0x187)]},_0x7f56fb=_0x503ae5[_0x13cf3d(0x1be)][_0x3d5f2a]||[];_0x7f56fb[_0x13cf3d(0x1a8)](_0x39d9d1=>{const _0x5be5f3=_0x13cf3d;if(!_0x39d9d1[_0x5be5f3(0x1b3)])_0x39d9d1[_0x5be5f3(0x1b3)]=_0x17acc6[_0x5be5f3(0x1d8)](uuidv4);else _0x39d9d1[_0x5be5f3(0x183)]&&_0x17acc6[_0x5be5f3(0x18c)](_0x3d5f2a,_0x17acc6[_0x5be5f3(0x18e)])&&(_0x39d9d1[_0x5be5f3(0x1b3)]=_0x17acc6[_0x5be5f3(0x1d8)](uuidv4),delete _0x39d9d1[_0x5be5f3(0x183)]);});}),exports[_0x5bc7e0(0x18a)](_0x503ae5[_0x5bc7e0(0x1be)]);},exports['sendPlatformDetails']=async(_0x353c8d,_0x2a6238)=>{const _0x3d9a9e=a31_0x2e7bcf,_0x439752={'pXIdG':function(_0x57c817){return _0x57c817();},'IhxGq':function(_0x5ba52a,_0xbfdbeb){return _0x5ba52a(_0xbfdbeb);},'mqrpl':function(_0x59b3ef,_0x4ea4d2){return _0x59b3ef(_0x4ea4d2);},'qUPrZ':function(_0x362795,_0x447fdc){return _0x362795===_0x447fdc;},'HzIWM':_0x3d9a9e(0x1af),'Beepp':_0x3d9a9e(0x1a2),'YYVDo':'TEST_PLATFORM'};try{if(!_0x439752[_0x3d9a9e(0x1ce)](shouldProcessEventForTesthub))return;const _0x5c12b0=await _0x353c8d[_0x3d9a9e(0x1d4)](),_0x44fbc0=await _0x353c8d[_0x3d9a9e(0x1a6)](),_0x1e912e={},_0x277643=Object['fromEntries'](_0x44fbc0[_0x3d9a9e(0x1d4)]()[_0x3d9a9e(0x19a)]),_0x3713f1={'product':_0x439752[_0x3d9a9e(0x18f)](getObservabilityLinkedProductName,_0x277643),'capabilities':_0x277643,'platform':_0x5c12b0[_0x3d9a9e(0x1b8)](),'platform_version':_0x439752[_0x3d9a9e(0x1b7)](getPlatformVersion,_0x439752['qUPrZ'](global[_0x3d9a9e(0x1c6)],_0x439752[_0x3d9a9e(0x1c4)])),'browser':_0x5c12b0['getBrowserName'](),'browser_version':_0x5c12b0['getBrowserVersion'](),'session_id':_0x44fbc0[_0x3d9a9e(0x1ca)]()};global[_0x3d9a9e(0x1c6)]?_0x1e912e[global[_0x3d9a9e(0x1c6)]]=_0x3713f1:_0x1e912e[_0x439752[_0x3d9a9e(0x18b)]]=_0x3713f1,process[_0x3d9a9e(0x1aa)](_0x3d9a9e(0x1bc)+process[_0x3d9a9e(0x191)],{'timestamp':new Date()[_0x3d9a9e(0x181)](),'level':null,'message':null,'kind':_0x439752[_0x3d9a9e(0x19e)],'http_response':_0x1e912e,'uuid':_0x2a6238});}catch(_0x5a52cc){_0x439752[_0x3d9a9e(0x1b7)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x5a52cc);}},exports[a31_0x2e7bcf(0x19f)]=_0x1ee572=>{const _0x2e78cf=a31_0x2e7bcf,_0x34b679={};_0x34b679[_0x2e78cf(0x1ae)]=function(_0x30e83c,_0x18f568){return _0x30e83c!==_0x18f568;},_0x34b679[_0x2e78cf(0x1b6)]=_0x2e78cf(0x1cb),_0x34b679['HWVLs']=function(_0x29a809,_0x2e8ff2){return _0x29a809!==_0x2e8ff2;},_0x34b679[_0x2e78cf(0x1c1)]=_0x2e78cf(0x19c),_0x34b679[_0x2e78cf(0x194)]=_0x2e78cf(0x1ba);const _0x185121=_0x34b679,_0x4a7c34=_0x1ee572['suites'][_0x2e78cf(0x190)]((_0x29e6c8,_0x46dd0f)=>{const _0x3f1749=_0x2e78cf,_0x37fa2c=exports[_0x3f1749(0x19f)](_0x46dd0f);return _0x37fa2c&&(_0x29e6c8=_0x29e6c8[_0x3f1749(0x195)](_0x37fa2c)),_0x29e6c8;},[]),_0x3b7a39=_0x1ee572[_0x2e78cf(0x1b0)][_0x2e78cf(0x1bb)](_0x1f068c=>{const _0x1cf764=_0x2e78cf,_0x226942=_0x185121[_0x1cf764(0x1ae)](_0x1f068c[_0x1cf764(0x1c9)],_0x185121['PuBsW'])&&!_0x1f068c[_0x1cf764(0x183)]&&_0x185121[_0x1cf764(0x189)](_0x1f068c['state'],_0x185121[_0x1cf764(0x1c1)])&&_0x185121['HWVLs'](_0x1f068c[_0x1cf764(0x1a7)],_0x185121[_0x1cf764(0x194)])&&!_0x1f068c['pending'];return _0x226942;});return _0x3b7a39[_0x2e78cf(0x195)](_0x4a7c34);};
1
+ function a31_0x1b61(){const _0x579e56=['../../../helpers/test-observability/utils','hookAnalyticsId','browserstack','_beforeAll','Mwgoa','passed','getTestEnv','obEDJ','type','../../../helpers/test-observability/constants','672492kWhmVs','tests','slice','1TENVrp','reduce','uxpDs','mjuOy','vIrmv','split','3640301BZSMSa','4aYurWS','WXEKn','__cloud_provider___','../../../helpers/helper','19051452GUThUd','fromEntries','mapTestHooks','sSZgn','12114wpMXcm','_afterAll','QMijE','js-','getPlatform','GkNnT','wVjAY','map_','../../../helpers/testhub/utils','concat','emit','_afterEach','oiStS','gaOFI','parent','getHooksForTest','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','921216TwrtsH','pending','VtbFL','695DGREtH','dgkAd','../../../../package.json','getHookSkippedTests','getBrowserVersion','nGuXm','SyhSK','TEST_PLATFORM','MlSuY','DKxJu','22297KAPrRZ','unknown_grid','forEach','state','PBTbW','oJUCt','sendPlatformDetails','push','hook','iaBUz','5030KqzhNr','getSession','pid','_beforeEach','toISOString','getCapabilities','bs:addPlatformDetails:','markedStatus','2007540JSWLZa','indexOf','suites','oRNAD','sFGsM','8PoqxTk','toJSON','CSMKM'];a31_0x1b61=function(){return _0x579e56;};return a31_0x1b61();}const a31_0x248d4c=a31_0xd17a;(function(_0x13e588,_0x164de1){const _0x54f66a=a31_0xd17a,_0x132151=_0x13e588();while(!![]){try{const _0x55f059=parseInt(_0x54f66a(0x14a))/0x1*(parseInt(_0x54f66a(0x16a))/0x2)+-parseInt(_0x54f66a(0x147))/0x3*(parseInt(_0x54f66a(0x151))/0x4)+parseInt(_0x54f66a(0x16d))/0x5*(parseInt(_0x54f66a(0x159))/0x6)+parseInt(_0x54f66a(0x150))/0x7+parseInt(_0x54f66a(0x13a))/0x8*(parseInt(_0x54f66a(0x135))/0x9)+-parseInt(_0x54f66a(0x12d))/0xa*(-parseInt(_0x54f66a(0x177))/0xb)+-parseInt(_0x54f66a(0x155))/0xc;if(_0x55f059===_0x164de1)break;else _0x132151['push'](_0x132151['shift']());}catch(_0x3b9c8b){_0x132151['push'](_0x132151['shift']());}}}(a31_0x1b61,0xa8fb4));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x248d4c(0x16f)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x248d4c(0x13d)),{consoleHolder}=require(a31_0x248d4c(0x146)),{getPlatformVersion}=require(a31_0x248d4c(0x154)),{shouldProcessEventForTesthub}=require(a31_0x248d4c(0x161)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a31_0x248d4c(0x13d));function a31_0xd17a(_0x3e8541,_0x443d81){const _0x1b61dd=a31_0x1b61();return a31_0xd17a=function(_0xd17af2,_0x231a8d){_0xd17af2=_0xd17af2-0x128;let _0x5664fa=_0x1b61dd[_0xd17af2];return _0x5664fa;},a31_0xd17a(_0x3e8541,_0x443d81);}patchConsoleLogger(),exports[a31_0x248d4c(0x143)]=()=>{const _0x523d79=a31_0x248d4c,_0x10143b={'WXEKn':'generic','Mwgoa':function(_0x59882c){return _0x59882c();}};return{'ci':_0x10143b[_0x523d79(0x152)],'key':_0x10143b[_0x523d79(0x141)](uuidv4),'version':version,'collector':_0x523d79(0x15c)+name};},exports['getHookDetails']=_0x4104e9=>{const _0x3ea623=a31_0x248d4c,_0x4fe471={};_0x4fe471[_0x3ea623(0x165)]=function(_0x31861e,_0x51baf8){return _0x31861e!==_0x51baf8;},_0x4fe471[_0x3ea623(0x14d)]='string',_0x4fe471[_0x3ea623(0x173)]='hook:',_0x4fe471[_0x3ea623(0x16e)]=_0x3ea623(0x12b);const _0x20d779=_0x4fe471;if(!_0x4104e9||_0x20d779['oiStS'](typeof _0x4104e9,_0x20d779['mjuOy']))return[null,null];if(_0x20d779[_0x3ea623(0x165)](_0x4104e9['indexOf'](_0x20d779[_0x3ea623(0x173)]),-0x1)){const _0x1a0535=_0x4104e9[_0x3ea623(0x14f)](_0x20d779[_0x3ea623(0x173)]);return[_0x1a0535[0x0][_0x3ea623(0x149)](0x0,-0x1)[_0x3ea623(0x14f)]('\x22')[0x1],_0x1a0535[0x1]['substring'](0x1)];}else{if(_0x20d779['oiStS'](_0x4104e9[_0x3ea623(0x136)](_0x20d779[_0x3ea623(0x16e)]),-0x1)){const _0x458079=_0x4104e9[_0x3ea623(0x14f)](_0x20d779[_0x3ea623(0x16e)]);return[_0x458079[0x0]['slice'](0x0,-0x1)['split']('\x22')[0x1],_0x4104e9];}}return[null,null];},exports[a31_0x248d4c(0x168)]=_0x5526ce=>{const _0x3bf986=a31_0x248d4c,_0x473b4b={'oRNAD':function(_0x4f96e4,_0x33eb80){return _0x4f96e4(_0x33eb80);},'SuhXD':_0x3bf986(0x140),'CSMKM':_0x3bf986(0x15a),'VtbFL':_0x3bf986(0x130),'GkNnT':_0x3bf986(0x164)};if(!_0x5526ce||!_0x5526ce['parent'])return[];const _0xb85c8b=[];return[_0x473b4b['SuhXD'],_0x473b4b[_0x3bf986(0x13c)],_0x473b4b[_0x3bf986(0x16c)],_0x473b4b[_0x3bf986(0x15e)]]['forEach'](_0x3643c4=>{const _0x3651bf=_0x3bf986,_0x1f246a={'obEDJ':function(_0x243e46,_0x4224d5){const _0x3206fc=a31_0xd17a;return _0x473b4b[_0x3206fc(0x138)](_0x243e46,_0x4224d5);}},_0x12e8c5=_0x5526ce[_0x3651bf(0x167)][_0x3643c4]||[];_0x12e8c5[_0x3651bf(0x179)](_0x264823=>{const _0x34437c=_0x3651bf;_0x264823[_0x34437c(0x13e)]&&!_0x1f246a[_0x34437c(0x144)](isInternalHook,_0x264823['fn'])&&_0xb85c8b[_0x34437c(0x12a)](_0x264823['hookAnalyticsId']);});}),[..._0xb85c8b,...exports['getHooksForTest'](_0x5526ce[_0x3bf986(0x167)])];},exports['mapTestHooks']=_0x6b334c=>{const _0x1ba4b1=a31_0x248d4c,_0x254046={'PnudL':function(_0x59101c){return _0x59101c();},'MlSuY':function(_0x356742,_0x4eeeb3){return _0x356742===_0x4eeeb3;},'nGuXm':_0x1ba4b1(0x164),'ZnKiX':function(_0x370071){return _0x370071();},'gaOFI':_0x1ba4b1(0x140),'VcHGg':'_afterAll','yAkBZ':_0x1ba4b1(0x130)};if(!_0x6b334c||!_0x6b334c['parent'])return;[_0x254046[_0x1ba4b1(0x166)],_0x254046['VcHGg'],_0x254046['yAkBZ'],_0x254046[_0x1ba4b1(0x172)]][_0x1ba4b1(0x179)](_0x14dae8=>{const _0x339f55=_0x1ba4b1,_0x185ad5=_0x6b334c[_0x339f55(0x167)][_0x14dae8]||[];_0x185ad5[_0x339f55(0x179)](_0x4fa9cf=>{const _0x118931=_0x339f55;if(!_0x4fa9cf['hookAnalyticsId'])_0x4fa9cf[_0x118931(0x13e)]=_0x254046['PnudL'](uuidv4);else _0x4fa9cf['markedStatus']&&_0x254046[_0x118931(0x175)](_0x14dae8,_0x254046[_0x118931(0x172)])&&(_0x4fa9cf[_0x118931(0x13e)]=_0x254046['ZnKiX'](uuidv4),delete _0x4fa9cf[_0x118931(0x134)]);});}),exports[_0x1ba4b1(0x157)](_0x6b334c[_0x1ba4b1(0x167)]);},exports[a31_0x248d4c(0x129)]=async(_0x4a782b,_0x4e07d2)=>{const _0xcc3fbd=a31_0x248d4c,_0x3e7781={'sFGsM':function(_0xe4991d){return _0xe4991d();},'DKxJu':function(_0x53bcd8,_0x541980){return _0x53bcd8(_0x541980);},'iaBUz':function(_0x2de8eb,_0x37163c){return _0x2de8eb===_0x37163c;},'dVMMp':_0xcc3fbd(0x13f),'PBTbW':_0xcc3fbd(0x178),'oJUCt':_0xcc3fbd(0x174),'vIrmv':function(_0x534b89,_0x2bcf79){return _0x534b89(_0x2bcf79);}};try{if(!_0x3e7781[_0xcc3fbd(0x139)](shouldProcessEventForTesthub))return;const _0x47757a=await _0x4a782b[_0xcc3fbd(0x132)](),_0x1dba44=await _0x4a782b[_0xcc3fbd(0x12e)](),_0x234669={},_0x48467b=Object[_0xcc3fbd(0x156)](_0x1dba44['getCapabilities']()[_0xcc3fbd(0x160)]),_0x134784={'product':_0x3e7781[_0xcc3fbd(0x176)](getObservabilityLinkedProductName,_0x48467b),'capabilities':_0x48467b,'platform':_0x47757a[_0xcc3fbd(0x15d)](),'platform_version':_0x3e7781['DKxJu'](getPlatformVersion,_0x3e7781[_0xcc3fbd(0x12c)](global[_0xcc3fbd(0x153)],_0x3e7781['dVMMp'])),'browser':_0x47757a['getBrowserName'](),'browser_version':_0x47757a[_0xcc3fbd(0x171)](),'session_id':_0x1dba44[_0xcc3fbd(0x13b)]()};global['__cloud_provider___']?_0x234669[global[_0xcc3fbd(0x153)]]=_0x134784:_0x234669[_0x3e7781[_0xcc3fbd(0x17b)]]=_0x134784,process[_0xcc3fbd(0x163)](_0xcc3fbd(0x133)+process[_0xcc3fbd(0x12f)],{'timestamp':new Date()[_0xcc3fbd(0x131)](),'level':null,'message':null,'kind':_0x3e7781[_0xcc3fbd(0x128)],'http_response':_0x234669,'uuid':_0x4e07d2});}catch(_0xb5af6a){_0x3e7781[_0xcc3fbd(0x14e)](debug,_0xcc3fbd(0x169)+_0xb5af6a);}},exports[a31_0x248d4c(0x170)]=_0xf2fd66=>{const _0x3b1a53=a31_0x248d4c,_0x577b6d={};_0x577b6d[_0x3b1a53(0x15b)]=function(_0x214244,_0x12e054){return _0x214244!==_0x12e054;},_0x577b6d[_0x3b1a53(0x14c)]=_0x3b1a53(0x12b),_0x577b6d['wVjAY']=_0x3b1a53(0x142),_0x577b6d[_0x3b1a53(0x158)]='failed';const _0x247d5d=_0x577b6d,_0x3e2b1d=_0xf2fd66[_0x3b1a53(0x137)][_0x3b1a53(0x14b)]((_0x5cee30,_0x30c5fa)=>{const _0x3bb289=_0x3b1a53,_0x1c900b=exports[_0x3bb289(0x170)](_0x30c5fa);return _0x1c900b&&(_0x5cee30=_0x5cee30[_0x3bb289(0x162)](_0x1c900b)),_0x5cee30;},[]),_0x48b0a2=_0xf2fd66[_0x3b1a53(0x148)]['filter'](_0x1a9f73=>{const _0x1669dc=_0x3b1a53,_0x248211=_0x247d5d['QMijE'](_0x1a9f73[_0x1669dc(0x145)],_0x247d5d['uxpDs'])&&!_0x1a9f73['markedStatus']&&_0x247d5d[_0x1669dc(0x15b)](_0x1a9f73[_0x1669dc(0x17a)],_0x247d5d[_0x1669dc(0x15f)])&&_0x247d5d[_0x1669dc(0x15b)](_0x1a9f73[_0x1669dc(0x17a)],_0x247d5d[_0x1669dc(0x158)])&&!_0x1a9f73[_0x1669dc(0x16b)];return _0x248211;});return _0x48b0a2[_0x3b1a53(0x162)](_0x3e2b1d);};
@@ -1 +1 @@
1
- const a32_0x4248fc=a32_0x7d3c;(function(_0x21a7aa,_0x50800b){const _0x1e4ac7=a32_0x7d3c,_0x2aab17=_0x21a7aa();while(!![]){try{const _0x1a18a1=parseInt(_0x1e4ac7(0xd4))/0x1+parseInt(_0x1e4ac7(0xfe))/0x2*(-parseInt(_0x1e4ac7(0x148))/0x3)+parseInt(_0x1e4ac7(0x139))/0x4*(parseInt(_0x1e4ac7(0x132))/0x5)+parseInt(_0x1e4ac7(0xe9))/0x6+-parseInt(_0x1e4ac7(0x142))/0x7*(parseInt(_0x1e4ac7(0x103))/0x8)+-parseInt(_0x1e4ac7(0x125))/0x9*(-parseInt(_0x1e4ac7(0x135))/0xa)+parseInt(_0x1e4ac7(0x12f))/0xb*(parseInt(_0x1e4ac7(0x10a))/0xc);if(_0x1a18a1===_0x50800b)break;else _0x2aab17['push'](_0x2aab17['shift']());}catch(_0x223a40){_0x2aab17['push'](_0x2aab17['shift']());}}}(a32_0x23d5,0x2886b));const util=require(a32_0x4248fc(0x12d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x4248fc(0xd9)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x4248fc(0x13b)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0x4248fc(0x12c)),globals=require(a32_0x4248fc(0xe8)),logger=require(a32_0x4248fc(0x14a))[a32_0x4248fc(0x117)],{shouldProcessEventForTesthub}=require(a32_0x4248fc(0x114)),testHubConstants=require(a32_0x4248fc(0x120));function a32_0x7d3c(_0x36fac1,_0x5a3e9c){const _0x23d581=a32_0x23d5();return a32_0x7d3c=function(_0x7d3cc0,_0x3ade9c){_0x7d3cc0=_0x7d3cc0-0xce;let _0x59ca59=_0x23d581[_0x7d3cc0];return _0x59ca59;},a32_0x7d3c(_0x36fac1,_0x5a3e9c);}function a32_0x23d5(){const _0x1f9c3e=['ZMErn','zjvOp','owPoc','16xYlKGT','EPPOL','../../helpers/helper','executeScript','state','accessibilityScanStarted','HDhMx','eBXaL','Passed','7PLJJwp','stringify','Failed:\x20','hmPiU','YnrRN','message','7431qSVDII','failed','../../helpers/logger','performScan','then','https:','browserstackSessionName','thTestRunUuid','REQpQ','__sessionFailed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','testcase','http:','21661bCRXUy','session_','getGlobal','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','cHzpw','./test-observability/mochaUtils','gAyNc','error','ypreL','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','hmMtA','testAnalyticsId','LwVbQ','saveTestResults','YhkYy','Kjjay','ilBmE','thJwtToken','timeout','XugLR','../../helpers/globals','1069656pPKUxn','push','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','BqGfv','shouldScanTestForAccessibility','debug','ObservabilitySync:','.\x20Error\x20:','BVnql','info','sessionNameSet__','JmqoB','stopMonitoring','__error_messages__','\x20|\x20','setGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','percy','__drivers','capabilities','\x22}}','22BUYEYI','length','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','kFaDo','app','1611728roUGqz','ENV_VAR','LBTjp','mochaHooks','driverCleanup','bcwea','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','157332DZIPXe','now','WXslx','RvTwx','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20',',\x22level\x22:\x20\x22','appium:app','quitCount_','initQuit','env','../../helpers/testhub/utils','executeAsyncScript','arbMr','winstonLogger','isAccessibilityPlatform','BROWSERSTACK_TESTHUB_JWT','gRvbL','join','shift','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','__skipSessionName','cAyzu','../../helpers/testhub/constants','qRMzB','kfedP','bstackA11yShouldScan','protocol','4779Ltmbmk','currentTest','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','err','Automate\x20test\x20case\x20execution\x20has\x20started.','BROWSERSTACK_TESTHUB_UUID','OIASo','../../helpers/accessibility-automation/scripts','util','GBRdv','66bWyuMR','\x20-\x20','titlePath','34285bgozpU','thBuildUuid','format','1670XCyrEu'];a32_0x23d5=function(){return _0x1f9c3e;};return a32_0x23d5();}exports[a32_0x4248fc(0x106)]={'beforeAll'(){const _0x28989c=a32_0x4248fc,_0xf8b2e4={'qRMzB':function(_0x36ae83,_0x1d0093,_0x34bc73,_0x49f219){return _0x36ae83(_0x1d0093,_0x34bc73,_0x49f219);},'kfedP':_0x28989c(0x149),'zBLWT':_0x28989c(0xf7),'GBRdv':function(_0x2cb79a,_0x3f55bc,_0x14ab02){return _0x2cb79a(_0x3f55bc,_0x14ab02);},'gAyNc':'passed','ypreL':function(_0x42909c){return _0x42909c();},'Kjjay':function(_0x3bd17f,_0x1ea5b4,_0x4a2be8){return _0x3bd17f(_0x1ea5b4,_0x4a2be8);}};PerformanceTester['startMonitoring']();const _0xed0ef3='browserstack internal helper hook';global[_0x28989c(0xf6)]=[],global[_0x28989c(0xd0)]=![],global['driverCleanup']=async()=>{const _0x54e67c=_0x28989c;let _0x52767c=![];try{await global[_0x54e67c(0xfb)][0x0][_0x54e67c(0xd5)],_0x52767c=!![],global['__sessionFailed']?await _0xf8b2e4[_0x54e67c(0x121)](markSessionStatus,global[_0x54e67c(0xfb)][0x0],_0xf8b2e4[_0x54e67c(0x122)],global[_0x54e67c(0xf6)][_0x54e67c(0x11b)](_0xf8b2e4['zBLWT'])):await _0xf8b2e4[_0x54e67c(0x12e)](markSessionStatus,global[_0x54e67c(0xfb)][0x0],_0xf8b2e4[_0x54e67c(0xda)]);}catch(_0x93a8cb){logger[_0x54e67c(0xee)](_0x54e67c(0xdd)+_0x93a8cb);}global[_0x54e67c(0xf6)]=[],global[_0x54e67c(0xd0)]=![];if(_0x52767c)try{try{_0xf8b2e4[_0x54e67c(0xdc)](shouldProcessEventForTesthub)&&(global[_0x54e67c(0xfb)][0x0]&&await _0xf8b2e4[_0x54e67c(0xe3)](sendPlatformDetails,global[_0x54e67c(0xfb)][0x0],this[_0x54e67c(0x126)]?this[_0x54e67c(0x126)]['testAnalyticsId']:null));}catch(_0x2f0deb){logger[_0x54e67c(0xee)](_0x54e67c(0x127)+_0x2f0deb);}await global['__drivers'][0x0][_0x54e67c(0x112)]();}catch(_0x51dd83){logger[_0x54e67c(0xee)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x51dd83);}};},'beforeEach'(_0x5b22b4){const _0x86c0fe=a32_0x4248fc,_0x20d138={'BVnql':function(_0xa4b6e3,_0xd11c6f){return _0xa4b6e3>_0xd11c6f;},'REQpQ':_0x86c0fe(0x130),'EPPOL':function(_0x3dcf2a,_0x6d634f,_0x4f2b73){return _0x3dcf2a(_0x6d634f,_0x4f2b73);},'hmPiU':_0x86c0fe(0x123),'JmqoB':function(_0x17a642){return _0x17a642();},'owPoc':function(_0x1c1346,_0x5e5fe0){return _0x1c1346>_0x5e5fe0;},'gRvbL':_0x86c0fe(0x118),'XugLR':function(_0x4b8f13,_0x53841c){return _0x4b8f13===_0x53841c;},'srNpz':_0x86c0fe(0xd3),'arbMr':function(_0x350d89,_0xd28604){return _0x350d89===_0xd28604;},'cAyzu':_0x86c0fe(0x14d),'sTfTu':_0x86c0fe(0xeb),'zjvOp':_0x86c0fe(0x129),'WCaoy':function(_0x3028ae){return _0x3028ae();}};new Promise(async _0xd83299=>{const _0x4d0e9a=_0x86c0fe,_0x1e9713='browserstack internal helper hook';let _0x4e76b9=!![];try{_0x20d138[_0x4d0e9a(0xf1)](global['__drivers'][_0x4d0e9a(0xff)],0x1)&&(await global['driverCleanup'](),global[_0x4d0e9a(0xfb)][_0x4d0e9a(0x11c)]()),_0x20d138[_0x4d0e9a(0xf1)](global[_0x4d0e9a(0xfb)][0x0][_0x4d0e9a(0x111)],0x0)&&(_0x4e76b9=![],await global['driverCleanup']());}catch(_0xeaaa3e){logger[_0x4d0e9a(0xee)](_0x4d0e9a(0x109)+_0xeaaa3e);}try{Array['isArray'](global[_0x4d0e9a(0xfb)])&&global[_0x4d0e9a(0xfb)][0x0]&&(global[_0x4d0e9a(0xfb)][0x0][_0x4d0e9a(0x14e)]=this[_0x4d0e9a(0x126)][_0x4d0e9a(0x131)]()[_0x4d0e9a(0x11b)](_0x20d138[_0x4d0e9a(0xcf)])),global[_0x4d0e9a(0x14e)]=this[_0x4d0e9a(0x126)][_0x4d0e9a(0x131)]()[_0x4d0e9a(0x11b)](_0x20d138[_0x4d0e9a(0xcf)]);}catch(_0xe8ac12){logger[_0x4d0e9a(0xee)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0xe8ac12);}this[_0x4d0e9a(0x126)][_0x4d0e9a(0xed)]=_0x20d138[_0x4d0e9a(0x13a)](shouldScanTestForAccessibility,this[_0x4d0e9a(0x126)]['titlePath'](),!![]),globals[_0x4d0e9a(0xf8)](_0x20d138[_0x4d0e9a(0x145)],this['currentTest']['shouldScanTestForAccessibility']),this['currentTest'][_0x4d0e9a(0x13e)]=!![];if(_0x20d138[_0x4d0e9a(0xf4)](isAccessibilityAutomationSession)&&_0x4e76b9&&Array['isArray'](global['__drivers'])&&_0x20d138[_0x4d0e9a(0x138)](global[_0x4d0e9a(0xfb)][_0x4d0e9a(0xff)],0x0)&&globals[_0x4d0e9a(0xd6)](_0x20d138[_0x4d0e9a(0x11a)]))try{const _0x462150=await global[_0x4d0e9a(0xfb)][0x0][_0x4d0e9a(0xd5)];if(_0x462150){let _0x2b29f1=!![];const _0x37a6b4=await global[_0x4d0e9a(0xfb)][0x0]['getCurrentUrl']();let _0x5cfffe;try{_0x5cfffe=new URL(_0x37a6b4);}catch(_0x59d5be){_0x2b29f1=![];}_0x2b29f1=_0x20d138[_0x4d0e9a(0xe7)](_0x5cfffe[_0x4d0e9a(0x124)],_0x20d138['srNpz'])||_0x20d138[_0x4d0e9a(0x116)](_0x5cfffe['protocol'],_0x20d138[_0x4d0e9a(0x11f)]),_0x2b29f1&&(this[_0x4d0e9a(0x126)]['shouldScanTestForAccessibility']&&logger[_0x4d0e9a(0xf2)](_0x20d138['sTfTu'])),this[_0x4d0e9a(0x126)][_0x4d0e9a(0x13e)]=this[_0x4d0e9a(0x126)][_0x4d0e9a(0xed)],this['currentTest'][_0x4d0e9a(0xed)]&&logger[_0x4d0e9a(0xf2)](_0x20d138[_0x4d0e9a(0x137)]);}}catch(_0x403ce7){logger[_0x4d0e9a(0xdb)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4d0e9a(0x134)](_0x403ce7));}_0x20d138['WCaoy'](_0xd83299);})[_0x86c0fe(0x14c)](_0x5b22b4);},'afterEach'(_0x5ba0ff){const _0x177baa=a32_0x4248fc,_0x983c31={'RvTwx':function(_0x5a581e,_0x45b6b4){return _0x5a581e>_0x45b6b4;},'WXslx':function(_0x239f1b,_0x4b261){return _0x239f1b===_0x4b261;},'ZMErn':_0x177baa(0xd2),'xVZit':_0x177baa(0x110),'bcwea':function(_0x5ec363,_0x5eadbf,_0x2843f3,_0x38626c){return _0x5ec363(_0x5eadbf,_0x2843f3,_0x38626c);},'eBXaL':'\x20-\x20','WLzQi':function(_0x2643aa,_0x13be37){return _0x2643aa!==_0x13be37;},'qzqlj':'passed','HDhMx':function(_0x306bc3,_0x1a00a2,_0x5dcf73){return _0x306bc3(_0x1a00a2,_0x5dcf73);},'LBTjp':function(_0x4f6d80,_0x4071a3){return _0x4f6d80+_0x4071a3;},'OIASo':_0x177baa(0x144),'YhkYy':_0x177baa(0xdb),'BqGfv':function(_0x32cc5e,_0x95a032,_0x29f3b1){return _0x32cc5e(_0x95a032,_0x29f3b1);},'ilBmE':_0x177baa(0x141),'aoUUW':_0x177baa(0xf2),'YAmHX':_0x177baa(0x118),'aqDdU':_0x177baa(0x123),'YnrRN':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','hmMtA':'Performing\x20scan\x20before\x20saving\x20results','IMtPv':_0x177baa(0xd7),'kFaDo':function(_0x3f330e){return _0x3f330e();},'UYRqU':function(_0x1bb1a5){return _0x1bb1a5();},'cHzpw':_0x177baa(0xee),'LWCMP':function(_0x3a1fd9,_0x4f9ba1){return _0x3a1fd9>_0x4f9ba1;},'WoQBe':function(_0x2a9d23){return _0x2a9d23();}},_0xf0a38c='browserstack internal helper hook';this[_0x177baa(0xe6)](0xfde8);const _0x5c792e=async(_0x4d7f74,_0x3f6ad0)=>{const _0x1c69f6=_0x177baa;await global[_0x1c69f6(0xfb)][0x0][_0x1c69f6(0x13c)](_0x1c69f6(0xf9)+_0x4d7f74+_0x1c69f6(0x10f)+_0x3f6ad0+_0x1c69f6(0xfd));};new Promise(async _0x2cab40=>{const _0x34367e=_0x177baa;try{_0x983c31[_0x34367e(0x10d)](global[_0x34367e(0xfb)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x34367e(0xfb)][_0x34367e(0x11c)](),global['__error_messages__']=[],global[_0x34367e(0xd0)]=![]);try{if(global[_0x34367e(0xfa)]&&_0x983c31[_0x34367e(0x10c)](global['percyCaptureMode'],_0x983c31[_0x34367e(0x136)])&&global['__drivers'][0x0]){const _0x11fe36=_0x983c31[_0x34367e(0x10d)](global[_0x34367e(0xfc)]['length'],0x0)?!!global['capabilities'][0x0][_0x34367e(0x102)]||!!global['capabilities'][0x0][_0x983c31['xVZit']]:![],_0x569b31={};_0x569b31['app']=_0x11fe36,await _0x983c31[_0x34367e(0x108)](percyAutoCapture,global[_0x34367e(0xfb)][0x0],_0x983c31['ZMErn'],_0x569b31);}}catch(_0x2bb488){logger[_0x34367e(0xee)](_0x34367e(0x100)+_0x2bb488);}!global[_0x34367e(0x11e)]&&(await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x34367e(0x143)](this[_0x34367e(0x126)][_0x34367e(0x131)]()[_0x34367e(0x11b)](_0x983c31[_0x34367e(0x140)]))+'}}'),global[_0x34367e(0xfb)][0x0][_0x34367e(0xf3)]=!![]);const _0x20d139=_0x983c31['WLzQi'](this[_0x34367e(0x126)][_0x34367e(0x13d)],_0x983c31['qzqlj']);_0x20d139?(global[_0x34367e(0xd0)]=!![],global[_0x34367e(0xf6)][_0x34367e(0xea)](this[_0x34367e(0x126)][_0x34367e(0x128)][_0x34367e(0x147)]),await _0x983c31[_0x34367e(0x13f)](_0x5c792e,JSON[_0x34367e(0x143)](_0x983c31[_0x34367e(0x105)](_0x983c31[_0x34367e(0x12b)],this[_0x34367e(0x126)]['err']['message'])),_0x983c31[_0x34367e(0xe2)])):await _0x983c31[_0x34367e(0xec)](_0x5c792e,JSON[_0x34367e(0x143)](_0x983c31[_0x34367e(0xe4)]),_0x983c31['aoUUW']);}catch(_0x4301e3){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x4301e3);}try{if(this[_0x34367e(0x126)]['accessibilityScanStarted']&&globals['getGlobal'](_0x983c31['YAmHX'])&&globals[_0x34367e(0xd6)](_0x983c31['aqDdU'])){logger['info'](_0x983c31[_0x34367e(0x146)]);const _0x566ed7={};_0x566ed7[_0x34367e(0xce)]=this[_0x34367e(0x126)][_0x34367e(0xdf)],_0x566ed7[_0x34367e(0x133)]=process['env'][testHubConstants[_0x34367e(0x104)][_0x34367e(0x12a)]],_0x566ed7[_0x34367e(0xe5)]=process[_0x34367e(0x113)][testHubConstants['ENV_VAR'][_0x34367e(0x119)]];const _0x3b2505=_0x566ed7;logger[_0x34367e(0xee)](_0x34367e(0xd1)+JSON[_0x34367e(0x143)](_0x3b2505)),logger[_0x34367e(0xee)](_0x983c31[_0x34367e(0xde)]),logger[_0x34367e(0xee)](util[_0x34367e(0x134)](await global[_0x34367e(0xfb)][0x0][_0x34367e(0x115)](scripts[_0x34367e(0x14b)],{'method':global[_0x34367e(0x14e)]}))),await global['__drivers'][0x0][_0x34367e(0x115)](scripts[_0x34367e(0xe1)],_0x3b2505),logger[_0x34367e(0xf2)](_0x983c31['IMtPv']);}}catch(_0xcde6a2){logger['error'](_0x34367e(0x10e)+this[_0x34367e(0x126)][_0x34367e(0x131)]()+_0x34367e(0xf0),_0xcde6a2);}try{try{if(_0x983c31[_0x34367e(0x101)](shouldProcessEventForTesthub)){global[_0x34367e(0xfb)][0x0]&&await _0x983c31[_0x34367e(0xec)](sendPlatformDetails,global[_0x34367e(0xfb)][0x0],this[_0x34367e(0x126)]?this[_0x34367e(0x126)]['testAnalyticsId']:null);if(_0x983c31['UYRqU'](isBrowserstackInfra)){const _0x174665=_0x34367e(0xef)+Date[_0x34367e(0x10b)]();await _0x983c31['BqGfv'](_0x5c792e,JSON[_0x34367e(0x143)](_0x174665),_0x983c31[_0x34367e(0xd8)]);}}}catch(_0x40ff43){logger['debug'](_0x34367e(0x11d)+_0x40ff43);}_0x983c31['LWCMP'](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x34367e(0x107)]();}catch(_0x8686eb){logger[_0x34367e(0xee)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x8686eb);}_0x983c31['WoQBe'](_0x2cab40);})[_0x177baa(0x14c)](()=>_0x5ba0ff());},'afterAll'(_0x140635){const _0x2412a0=a32_0x4248fc,_0x3247c4={'LwVbQ':function(_0x463b8d){return _0x463b8d();}},_0x29f3a1='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x2a5e01=>{const _0x196336=a32_0x7d3c;PerformanceTester[_0x196336(0xf5)](),await global[_0x196336(0x107)](),_0x3247c4[_0x196336(0xe0)](_0x2a5e01);})[_0x2412a0(0x14c)](()=>_0x140635());}};
1
+ const a32_0x2b863a=a32_0x3501;(function(_0x7fb333,_0x3c61ac){const _0x5dc322=a32_0x3501,_0x4c8432=_0x7fb333();while(!![]){try{const _0x291698=parseInt(_0x5dc322(0x8c))/0x1*(parseInt(_0x5dc322(0xc7))/0x2)+-parseInt(_0x5dc322(0xb6))/0x3+-parseInt(_0x5dc322(0xb5))/0x4+parseInt(_0x5dc322(0x99))/0x5+parseInt(_0x5dc322(0x110))/0x6+parseInt(_0x5dc322(0xd0))/0x7*(-parseInt(_0x5dc322(0xfe))/0x8)+-parseInt(_0x5dc322(0x77))/0x9*(-parseInt(_0x5dc322(0x96))/0xa);if(_0x291698===_0x3c61ac)break;else _0x4c8432['push'](_0x4c8432['shift']());}catch(_0x1ce9ef){_0x4c8432['push'](_0x4c8432['shift']());}}}(a32_0x4e9a,0x5d237));function a32_0x3501(_0x40ff41,_0xa92da5){const _0x4e9a7b=a32_0x4e9a();return a32_0x3501=function(_0x3501d2,_0x3e69ce){_0x3501d2=_0x3501d2-0x6b;let _0x5660c7=_0x4e9a7b[_0x3501d2];return _0x5660c7;},a32_0x3501(_0x40ff41,_0xa92da5);}const util=require(a32_0x2b863a(0xeb)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x2b863a(0x9f)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x2b863a(0x7b)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x2b863a(0x89)),PerformanceTester=require(a32_0x2b863a(0x9e)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x2b863a(0xa7)),scripts=require(a32_0x2b863a(0xf9)),globals=require(a32_0x2b863a(0x10e)),logger=require(a32_0x2b863a(0xf5))[a32_0x2b863a(0xc2)],{shouldProcessEventForTesthub}=require(a32_0x2b863a(0xcc)),testHubConstants=require('../../helpers/testhub/constants');exports[a32_0x2b863a(0xc3)]={'beforeAll'(){const _0x5283f9=a32_0x2b863a,_0x29f443={'LGOdO':function(_0x52ff76,_0x5e53ac,_0x23bb76,_0x3c8908){return _0x52ff76(_0x5e53ac,_0x23bb76,_0x3c8908);},'WBnpZ':_0x5283f9(0x75),'pcPON':_0x5283f9(0x11b),'iKBBI':function(_0x54cd33,_0xbb6929,_0x5c19db){return _0x54cd33(_0xbb6929,_0x5c19db);},'uVWSK':_0x5283f9(0xc5),'puuPT':function(_0x3e59fe){return _0x3e59fe();},'jdhJt':'index','YBcBs':_0x5283f9(0xcd)};PerformanceTester[_0x5283f9(0x8a)]();const _0x6189b='browserstack internal helper hook';PerformanceTester[_0x5283f9(0xee)](PerformanceSdkEvents[_0x5283f9(0xc6)],()=>{const _0x1d5950=_0x5283f9;global[_0x1d5950(0xe4)]=[],global[_0x1d5950(0x108)]=![],global['driverCleanup']=async()=>{const _0x49c5eb=_0x1d5950;let _0x1a7f4e=![];try{await global[_0x49c5eb(0xf8)][0x0]['session_'],_0x1a7f4e=!![],global[_0x49c5eb(0x108)]?await _0x29f443[_0x49c5eb(0xea)](markSessionStatus,global[_0x49c5eb(0xf8)][0x0],_0x29f443[_0x49c5eb(0x118)],global[_0x49c5eb(0xe4)]['join'](_0x29f443['pcPON'])):await _0x29f443[_0x49c5eb(0x91)](markSessionStatus,global[_0x49c5eb(0xf8)][0x0],_0x29f443[_0x49c5eb(0x106)]);}catch(_0x1b30d4){logger[_0x49c5eb(0xbd)](_0x49c5eb(0xbf)+_0x1b30d4);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x1a7f4e)try{try{_0x29f443[_0x49c5eb(0xd5)](shouldProcessEventForTesthub)&&(global[_0x49c5eb(0xf8)][0x0]&&await _0x29f443[_0x49c5eb(0x91)](sendPlatformDetails,global['__drivers'][0x0],this[_0x49c5eb(0xd6)]?this[_0x49c5eb(0xd6)]['testAnalyticsId']:null));}catch(_0x7770fe){logger['debug'](_0x49c5eb(0xe0)+_0x7770fe);}await global['__drivers'][0x0][_0x49c5eb(0x119)]();}catch(_0x145705){logger[_0x49c5eb(0xbd)](_0x49c5eb(0xbb)+_0x145705);}};},{'platform':_0x29f443[_0x5283f9(0x91)](nestedKeyValue,global[_0x5283f9(0x6e)],[_0x29f443[_0x5283f9(0xaa)]]),'hookType':_0x29f443[_0x5283f9(0xc9)]})();},'beforeEach'(_0x378e0f){const _0x503f75=a32_0x2b863a,_0x13f8ef={'usWnj':function(_0x8081f,_0x46df0a){return _0x8081f>_0x46df0a;},'NnNWB':_0x503f75(0xec),'Hnoau':function(_0x138f4f,_0x482a38,_0x42bb86){return _0x138f4f(_0x482a38,_0x42bb86);},'GOmtv':'bstackA11yShouldScan','ijHwy':function(_0x1dfe6c){return _0x1dfe6c();},'iLlCO':function(_0x5d5bb5,_0x4f6564){return _0x5d5bb5>_0x4f6564;},'eQBJp':'isAccessibilityPlatform','UszGL':function(_0x102a5b,_0x47f3b9){return _0x102a5b===_0x47f3b9;},'RCZxK':_0x503f75(0xbe),'AWnLU':function(_0x131bd0,_0x1e923d){return _0x131bd0===_0x1e923d;},'HJHdB':_0x503f75(0xab),'XypzQ':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','twBCG':'Automate\x20test\x20case\x20execution\x20has\x20started.','GNQAM':_0x503f75(0x74),'FrxEy':function(_0x4e490d,_0x134280,_0x73b900){return _0x4e490d(_0x134280,_0x73b900);},'FDBoF':_0x503f75(0xd4),'VwSwT':_0x503f75(0x85)};globals['setGlobal'](_0x13f8ef['GNQAM'],this[_0x503f75(0xd6)][_0x503f75(0xd8)]()[_0x503f75(0x7c)](_0x13f8ef['NnNWB'])),PerformanceTester[_0x503f75(0xee)](PerformanceSdkEvents[_0x503f75(0xc6)],()=>{const _0x3f229c=_0x503f75,_0x5d2840={'IuOKe':function(_0x5dacc9,_0x40292e){return _0x13f8ef['usWnj'](_0x5dacc9,_0x40292e);},'QdAuh':function(_0x3b0b2a,_0x271bac){const _0x104904=a32_0x3501;return _0x13f8ef[_0x104904(0x86)](_0x3b0b2a,_0x271bac);},'qRtAs':_0x13f8ef[_0x3f229c(0x6c)],'vkApv':function(_0x140398,_0x1b3954,_0x400a01){return _0x13f8ef['Hnoau'](_0x140398,_0x1b3954,_0x400a01);},'WalxJ':_0x13f8ef['GOmtv'],'tZqVC':function(_0xbd5b33){const _0x32fa95=_0x3f229c;return _0x13f8ef[_0x32fa95(0x102)](_0xbd5b33);},'OKfHi':function(_0x340882,_0x172d17){const _0x4edf5b=_0x3f229c;return _0x13f8ef[_0x4edf5b(0x7d)](_0x340882,_0x172d17);},'gGcOd':_0x13f8ef[_0x3f229c(0x10a)],'IoPNP':function(_0x3e3dfc,_0x30429b){const _0x46acf0=_0x3f229c;return _0x13f8ef[_0x46acf0(0xde)](_0x3e3dfc,_0x30429b);},'HqxzL':_0x13f8ef[_0x3f229c(0xfa)],'RGOlt':function(_0x3016ca,_0x24d3e5){const _0x3bfdbd=_0x3f229c;return _0x13f8ef[_0x3bfdbd(0xad)](_0x3016ca,_0x24d3e5);},'lBuoS':_0x13f8ef['HJHdB'],'gSaSn':_0x13f8ef['XypzQ'],'XBAII':_0x13f8ef[_0x3f229c(0xe9)],'HEKmr':function(_0x213c46){const _0x111226=_0x3f229c;return _0x13f8ef[_0x111226(0x102)](_0x213c46);}},_0x4c0472='browserstack internal helper hook';new Promise(async _0x4b29c4=>{const _0x1348d7=_0x3f229c;let _0x52f9ba=!![];try{_0x5d2840[_0x1348d7(0x8f)](global[_0x1348d7(0xf8)][_0x1348d7(0xa1)],0x1)&&(await global[_0x1348d7(0x94)](),global[_0x1348d7(0xf8)][_0x1348d7(0xc0)]()),_0x5d2840[_0x1348d7(0xb7)](global[_0x1348d7(0xf8)][0x0]['quitCount_'],0x0)&&(_0x52f9ba=![],await global[_0x1348d7(0x94)]());}catch(_0x1681cd){logger['debug'](_0x1348d7(0xbb)+_0x1681cd);}try{Array[_0x1348d7(0xd9)](global['__drivers'])&&global[_0x1348d7(0xf8)][0x0]&&(global[_0x1348d7(0xf8)][0x0]['browserstackSessionName']=this[_0x1348d7(0xd6)]['titlePath']()['join'](_0x5d2840['qRtAs'])),global[_0x1348d7(0xa6)]=this[_0x1348d7(0xd6)][_0x1348d7(0xd8)]()['join'](_0x5d2840[_0x1348d7(0xe1)]);}catch(_0x40ce1d){logger[_0x1348d7(0xbd)](_0x1348d7(0x79)+_0x40ce1d);}this[_0x1348d7(0xd6)]['shouldScanTestForAccessibility']=_0x5d2840[_0x1348d7(0x70)](shouldScanTestForAccessibility,this[_0x1348d7(0xd6)]['titlePath'](),!![]),globals['setGlobal'](_0x5d2840[_0x1348d7(0xdc)],this[_0x1348d7(0xd6)][_0x1348d7(0x100)]),this['currentTest'][_0x1348d7(0xfc)]=!![];if(_0x5d2840['tZqVC'](isAccessibilityAutomationSession)&&_0x52f9ba&&Array[_0x1348d7(0xd9)](global[_0x1348d7(0xf8)])&&_0x5d2840['OKfHi'](global[_0x1348d7(0xf8)][_0x1348d7(0xa1)],0x0)&&globals[_0x1348d7(0xae)](_0x5d2840['gGcOd']))try{const _0xd57383=await global['__drivers'][0x0]['session_'];if(_0xd57383){let _0x5a3e61=!![];const _0x5d37c1=await global[_0x1348d7(0xf8)][0x0][_0x1348d7(0x9c)]();let _0x22e78b;try{_0x22e78b=new URL(_0x5d37c1);}catch(_0x543c05){_0x5a3e61=![];}_0x5a3e61=_0x5d2840[_0x1348d7(0x8e)](_0x22e78b[_0x1348d7(0x81)],_0x5d2840[_0x1348d7(0xe8)])||_0x5d2840[_0x1348d7(0xf4)](_0x22e78b['protocol'],_0x5d2840['lBuoS']),_0x5a3e61&&(this['currentTest'][_0x1348d7(0x100)]&&logger['info'](_0x5d2840['gSaSn'])),this[_0x1348d7(0xd6)][_0x1348d7(0xfc)]=this[_0x1348d7(0xd6)][_0x1348d7(0x100)],this[_0x1348d7(0xd6)]['shouldScanTestForAccessibility']&&logger[_0x1348d7(0x111)](_0x5d2840['XBAII']);}}catch(_0x294a61){logger['error'](_0x1348d7(0x87)+util[_0x1348d7(0xf0)](_0x294a61));}_0x5d2840['tZqVC'](_0x4b29c4);})[_0x3f229c(0xb4)](()=>{const _0x59f200=_0x3f229c;_0x5d2840[_0x59f200(0x11a)](_0x378e0f);});},{'platform':_0x13f8ef[_0x503f75(0x71)](nestedKeyValue,global[_0x503f75(0x6e)],[_0x13f8ef[_0x503f75(0xe7)]]),'hookType':_0x13f8ef[_0x503f75(0x73)]})();},'afterEach'(_0x4b5a6){const _0xb9539=a32_0x2b863a,_0x5cec9f={'NGmGM':function(_0x3200c2){return _0x3200c2();},'Yhpol':_0xb9539(0xec),'tVYDN':function(_0x2d4c11,_0x4ea3e3){return _0x2d4c11!==_0x4ea3e3;},'iAMxa':_0xb9539(0xc5),'LQYgt':function(_0x411b8c,_0x8f514d,_0x27b060){return _0x411b8c(_0x8f514d,_0x27b060);},'KDDlD':function(_0x1e53c8,_0x3d7c05){return _0x1e53c8+_0x3d7c05;},'jyXoz':_0xb9539(0x103),'mmWrI':'error','cBMGf':_0xb9539(0xd2),'HqvUe':_0xb9539(0x111),'XSxPa':function(_0x4a94e6,_0x448c87){return _0x4a94e6>_0x448c87;},'yKQNe':function(_0x355ffc,_0x468b1c){return _0x355ffc===_0x468b1c;},'kDnto':_0xb9539(0xc4),'AwrTY':_0xb9539(0x6b),'TCInm':function(_0x13a3ef,_0xa58e7c,_0xa92145,_0x5d33fc){return _0x13a3ef(_0xa58e7c,_0xa92145,_0x5d33fc);},'MsJVA':_0xb9539(0xb0),'junHm':'bstackA11yShouldScan','szkds':_0xb9539(0xb9),'iFrfb':'Performing\x20scan\x20before\x20saving\x20results','LRuyy':_0xb9539(0xa2),'ZLKrE':_0xb9539(0x101),'MsNVw':function(_0x16b9a7,_0x43eb23,_0x42a893){return _0x16b9a7(_0x43eb23,_0x42a893);},'gMcse':_0xb9539(0xbd),'ofAij':function(_0x5a7127){return _0x5a7127();},'zFvpA':_0xb9539(0xd4),'DzToQ':_0xb9539(0xa0)},_0x4f71d5='browserstack internal helper hook';this[_0xb9539(0x115)](0xfde8),global[_0xb9539(0xcf)]=this[_0xb9539(0xd6)]['titlePath']()[_0xb9539(0x7c)](_0x5cec9f[_0xb9539(0xda)]),PerformanceTester[_0xb9539(0xee)](PerformanceSdkEvents[_0xb9539(0xc6)],()=>{const _0x5ed627=_0xb9539,_0x5d99ba={'LkAgd':_0x5cec9f['Yhpol'],'VNRno':function(_0x1acd64,_0x5cfa0e){return _0x5cec9f['tVYDN'](_0x1acd64,_0x5cfa0e);},'GglhU':_0x5cec9f[_0x5ed627(0xef)],'rMRRU':function(_0x53e772,_0x1ee253,_0x35c736){return _0x5cec9f['LQYgt'](_0x53e772,_0x1ee253,_0x35c736);},'uRcch':function(_0x2eb0f6,_0x1123d6){const _0x1eb6c3=_0x5ed627;return _0x5cec9f[_0x1eb6c3(0x9d)](_0x2eb0f6,_0x1123d6);},'clYnV':_0x5cec9f[_0x5ed627(0x8b)],'aUwoq':_0x5cec9f[_0x5ed627(0x78)],'IXumV':_0x5cec9f[_0x5ed627(0x104)],'flKgh':_0x5cec9f[_0x5ed627(0xaf)],'zrYnX':function(_0x404f44,_0x3d1c35){const _0xb44fdb=_0x5ed627;return _0x5cec9f[_0xb44fdb(0x9a)](_0x404f44,_0x3d1c35);},'masaN':function(_0x5a7301,_0x42c276){const _0x216e2d=_0x5ed627;return _0x5cec9f[_0x216e2d(0xa3)](_0x5a7301,_0x42c276);},'jnDIQ':_0x5cec9f['kDnto'],'xORlB':_0x5cec9f[_0x5ed627(0x76)],'eupuJ':function(_0x4af8e7,_0x25c5bf,_0x3dadb8,_0x19ee0d){const _0x3e81c2=_0x5ed627;return _0x5cec9f[_0x3e81c2(0xc1)](_0x4af8e7,_0x25c5bf,_0x3dadb8,_0x19ee0d);},'DnGMq':_0x5cec9f[_0x5ed627(0xdd)],'kWKhl':_0x5cec9f[_0x5ed627(0xe3)],'qSEjR':_0x5cec9f['szkds'],'jMXIb':_0x5cec9f[_0x5ed627(0xba)],'JTemI':_0x5cec9f[_0x5ed627(0xa5)],'tiDZX':_0x5cec9f[_0x5ed627(0xb3)],'metVw':function(_0x28fa29){const _0xf3880b=_0x5ed627;return _0x5cec9f[_0xf3880b(0x97)](_0x28fa29);},'rkiBG':function(_0x559caa,_0x25c52d,_0x5dafcc){const _0x5d2f4f=_0x5ed627;return _0x5cec9f[_0x5d2f4f(0xa4)](_0x559caa,_0x25c52d,_0x5dafcc);},'kBgiG':function(_0x26fa18){const _0x216e14=_0x5ed627;return _0x5cec9f[_0x216e14(0x97)](_0x26fa18);},'GJaZY':_0x5cec9f[_0x5ed627(0x88)],'UINWa':function(_0x592890){const _0x252e89=_0x5ed627;return _0x5cec9f[_0x252e89(0xac)](_0x592890);}},_0x1898aa=async(_0xa24021,_0x349e67)=>{const _0x54142c=_0x5ed627;await global[_0x54142c(0xf8)][0x0][_0x54142c(0x107)](_0x54142c(0x7f)+_0xa24021+_0x54142c(0xed)+_0x349e67+'\x22}}');};new Promise(async _0x3e3893=>{const _0x391a96=_0x5ed627;try{_0x5d99ba[_0x391a96(0xdf)](global[_0x391a96(0xf8)]['length'],0x1)&&(await global['driverCleanup'](),global['__drivers']['shift'](),global[_0x391a96(0xe4)]=[],global[_0x391a96(0x108)]=![]);try{if(global[_0x391a96(0x95)]&&_0x5d99ba[_0x391a96(0x10d)](global[_0x391a96(0xd1)],_0x5d99ba[_0x391a96(0xe6)])&&global['__drivers'][0x0]){const _0x27a94e=_0x5d99ba[_0x391a96(0xdf)](global[_0x391a96(0xca)]['length'],0x0)?!!global[_0x391a96(0xca)][0x0][_0x391a96(0x10f)]||!!global[_0x391a96(0xca)][0x0][_0x5d99ba['xORlB']]:![],_0x1c32a8={};_0x1c32a8[_0x391a96(0x10f)]=_0x27a94e,await _0x5d99ba[_0x391a96(0x7a)](percyAutoCapture,global[_0x391a96(0xf8)][0x0],_0x5d99ba[_0x391a96(0xe6)],_0x1c32a8);}}catch(_0x43ce30){logger[_0x391a96(0xbd)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x43ce30);}!global['__skipSessionName']&&(await PerformanceTester[_0x391a96(0xee)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x17f466=_0x391a96;await global[_0x17f466(0xf8)][0x0][_0x17f466(0x107)](_0x17f466(0xd3)+JSON[_0x17f466(0x83)](this[_0x17f466(0xd6)][_0x17f466(0xd8)]()['join'](_0x5d99ba[_0x17f466(0x116)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x391a96(0x84)],async()=>{const _0x4a655e=_0x391a96,_0x437a6c=_0x5d99ba['VNRno'](this[_0x4a655e(0xd6)]['state'],_0x5d99ba['GglhU']);_0x437a6c?(global[_0x4a655e(0x108)]=!![],global[_0x4a655e(0xe4)][_0x4a655e(0xd7)](this[_0x4a655e(0xd6)]['err'][_0x4a655e(0x82)]),await _0x5d99ba['rMRRU'](_0x1898aa,JSON['stringify'](_0x5d99ba[_0x4a655e(0xdb)](_0x5d99ba['clYnV'],this[_0x4a655e(0xd6)][_0x4a655e(0xcb)][_0x4a655e(0x82)])),_0x5d99ba['aUwoq'])):await _0x5d99ba[_0x4a655e(0x90)](_0x1898aa,JSON[_0x4a655e(0x83)](_0x5d99ba['IXumV']),_0x5d99ba[_0x4a655e(0x112)]);})();}catch(_0x105f8b){logger[_0x391a96(0xbd)](_0x391a96(0x105)+_0x105f8b);}try{if(this['currentTest'][_0x391a96(0xfc)]&&globals['getGlobal'](_0x5d99ba['DnGMq'])&&globals[_0x391a96(0xae)](_0x5d99ba[_0x391a96(0xfb)])){logger[_0x391a96(0x111)](_0x5d99ba['qSEjR']);const _0x181e90={};_0x181e90[_0x391a96(0x6d)]=this[_0x391a96(0xd6)]['testAnalyticsId'],_0x181e90[_0x391a96(0x98)]=process[_0x391a96(0xf3)][testHubConstants[_0x391a96(0xce)]['BROWSERSTACK_TESTHUB_UUID']],_0x181e90[_0x391a96(0xf2)]=process[_0x391a96(0xf3)][testHubConstants['ENV_VAR'][_0x391a96(0xc8)]];const _0x15f493=_0x181e90;logger[_0x391a96(0xbd)](_0x391a96(0xf1)+JSON[_0x391a96(0x83)](_0x15f493)),logger[_0x391a96(0xbd)](_0x5d99ba[_0x391a96(0xa8)]);const _0x4a23f1={};_0x4a23f1[_0x391a96(0xe5)]=_0x5d99ba[_0x391a96(0x114)],await PerformanceTester[_0x391a96(0xee)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4992bb=_0x391a96;logger[_0x4992bb(0xbd)](util[_0x4992bb(0xf0)](await global['__drivers'][0x0][_0x4992bb(0x72)](scripts[_0x4992bb(0x9b)],{'method':global[_0x4992bb(0xa6)]})));},_0x4a23f1)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x391a96(0x93)],async()=>{const _0x3c3195=_0x391a96;await global[_0x3c3195(0xf8)][0x0][_0x3c3195(0x72)](scripts[_0x3c3195(0xb8)],_0x15f493);})(),logger[_0x391a96(0x111)](_0x5d99ba[_0x391a96(0xb2)]);}}catch(_0x55d62c){logger[_0x391a96(0x109)](_0x391a96(0xa9)+this[_0x391a96(0xd6)][_0x391a96(0xd8)]()+_0x391a96(0x7e),_0x55d62c);}try{try{if(_0x5d99ba[_0x391a96(0x10c)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x5d99ba[_0x391a96(0x113)](sendPlatformDetails,global[_0x391a96(0xf8)][0x0],this['currentTest']?this[_0x391a96(0xd6)]['testAnalyticsId']:null);if(_0x5d99ba[_0x391a96(0xf6)](isBrowserstackInfra)){PerformanceTester[_0x391a96(0x10b)](PerformanceO11yEvents[_0x391a96(0xb1)]);const _0x2ead2d='ObservabilitySync:'+Date[_0x391a96(0xf7)]();await _0x5d99ba['rkiBG'](_0x1898aa,JSON[_0x391a96(0x83)](_0x2ead2d),_0x5d99ba['GJaZY']),PerformanceTester['end'](PerformanceO11yEvents[_0x391a96(0xb1)]);}}}catch(_0xdeb2ef){logger[_0x391a96(0xbd)](_0x391a96(0x92)+_0xdeb2ef),PerformanceTester['end'](PerformanceO11yEvents[_0x391a96(0xb1)],![],_0xdeb2ef);}_0x5d99ba[_0x391a96(0xdf)](global[_0x391a96(0xf8)][0x0]['quitCount_'],0x0)&&await global[_0x391a96(0x94)]();}catch(_0x1b49e4){logger[_0x391a96(0xbd)](_0x391a96(0xbb)+_0x1b49e4);}_0x5d99ba[_0x391a96(0xfd)](_0x3e3893);})[_0x5ed627(0xb4)](()=>{const _0x56410c=_0x5ed627;_0x5cec9f[_0x56410c(0x97)](_0x4b5a6);});},{'platform':_0x5cec9f['MsNVw'](nestedKeyValue,global[_0xb9539(0x6e)],[_0x5cec9f[_0xb9539(0xbc)]]),'hookType':_0x5cec9f[_0xb9539(0x80)]})();},'afterAll'(_0x147a06){const _0x51b636=a32_0x2b863a,_0x598855={'ljWjw':function(_0x22539a){return _0x22539a();},'BKzVg':function(_0x5aa29f){return _0x5aa29f();},'pcPVd':function(_0x2f577b,_0x48aaf6,_0x4a047){return _0x2f577b(_0x48aaf6,_0x4a047);},'MAJtK':_0x51b636(0xd4),'GMqlp':_0x51b636(0x6f)},_0x1e1d1f='browserstack internal helper hook';this[_0x51b636(0x115)](0xfde8),PerformanceTester[_0x51b636(0xee)](PerformanceSdkEvents[_0x51b636(0xc6)],()=>{const _0x5deee7=_0x51b636,_0x43de03={'rqhch':function(_0x5d31ff){return _0x598855['ljWjw'](_0x5d31ff);},'BqnuY':function(_0x3c46c5){return _0x598855['BKzVg'](_0x3c46c5);}};new Promise(async _0x5c4445=>{const _0x58d780=a32_0x3501;await global[_0x58d780(0x94)](),_0x43de03['rqhch'](_0x5c4445);})['then']()[_0x5deee7(0x8d)](()=>{_0x43de03['BqnuY'](_0x147a06);});},{'platform':_0x598855[_0x51b636(0xe2)](nestedKeyValue,global[_0x51b636(0x6e)],[_0x598855[_0x51b636(0x117)]]),'hookType':_0x598855[_0x51b636(0xff)]})();}};function a32_0x4e9a(){const _0x520c7c=['DzToQ','protocol','message','stringify','SESSION_STATUS','beforeEach','usWnj','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','gMcse','../../helpers/helper','startMonitoring','jyXoz','17FNbtDS','finally','IoPNP','IuOKe','rMRRU','iKBBI','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','SAVE_RESULTS','driverCleanup','percy','131830mhWZLB','NGmGM','thBuildUuid','1285175IikZmA','XSxPa','performScan','getCurrentUrl','KDDlD','../../helpers/performance/performance-tester','../../helpers/accessibility-automation/helper','afterEach','length','afterTest','yKQNe','MsNVw','LRuyy','browserstackSessionName','../../helpers/performance/constants','jMXIb','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','jdhJt','https:','ofAij','AWnLU','getGlobal','HqvUe','isAccessibilityPlatform','SYNC','tiDZX','ZLKrE','then','2776620KAJqsf','2040882DwpkAL','QdAuh','saveTestResults','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','iFrfb','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','zFvpA','debug','http:','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','shift','TCInm','winstonLogger','mochaHooks','testcase','passed','SDK_HOOK','61986KNRHPR','BROWSERSTACK_TESTHUB_JWT','YBcBs','capabilities','err','../../helpers/testhub/utils','beforeAll','ENV_VAR','sessionName','161Rqkrsf','percyCaptureMode','Passed','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','index','puuPT','currentTest','push','titlePath','isArray','Yhpol','uRcch','WalxJ','MsJVA','UszGL','zrYnX','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','qRtAs','pcPVd','junHm','__error_messages__','command','jnDIQ','FDBoF','HqxzL','twBCG','LGOdO','util','\x20-\x20',',\x22level\x22:\x20\x22','measureWrapper','iAMxa','format','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','thJwtToken','env','RGOlt','../../helpers/logger','kBgiG','now','__drivers','../../helpers/accessibility-automation/scripts','RCZxK','kWKhl','accessibilityScanStarted','UINWa','231480sJCmoV','GMqlp','shouldScanTestForAccessibility','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ijHwy','Failed:\x20','cBMGf','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','uVWSK','executeScript','__sessionFailed','error','eQBJp','start','metVw','masaN','../../helpers/globals','app','3734652vNsUwI','info','flKgh','rkiBG','JTemI','timeout','LkAgd','MAJtK','WBnpZ','initQuit','HEKmr','\x20|\x20','appium:app','NnNWB','thTestRunUuid','__platformCaps','afterAll','vkApv','FrxEy','executeAsyncScript','VwSwT','browserstackTestName','failed','AwrTY','693unwJFn','mmWrI','Failed\x20to\x20store\x20session\x20name:\x20','eupuJ','./test-observability/mochaUtils','join','iLlCO','.\x20Error\x20:','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'];a32_0x4e9a=function(){return _0x520c7c;};return a32_0x4e9a();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x532c(_0x461573,_0x33b299){const _0x2edbcb=a33_0x2edb();return a33_0x532c=function(_0x532c80,_0x1bad2e){_0x532c80=_0x532c80-0x99;let _0x40fb70=_0x2edbcb[_0x532c80];return _0x40fb70;},a33_0x532c(_0x461573,_0x33b299);}const a33_0x52848d=a33_0x532c;function a33_0x2edb(){const _0x2baf11=['platform','now','unlinkSync','exports','VXhHl','length','10PFibnL','../../helpers/BrowserStackSetup','findIndex','winstonLogger','mergeDeep','existsSync','rSWrp','961500ocYmPq','selenium','desiredCapabilities','HaZal','TArjs','split','Deleting\x20','fKZci','host','asEFf','2840886HXvkDT','cwd','9615YJrslp','nightwatch-browserstack.json','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','hGgCt','../../helpers/logger','info','ceNZe','stringify','config','TKBZI','env','start_process','writeFileSync','../utils/constants','nightwatch.cmd','push','forEach','webdriver','nkUMy','close','10239218tPXSgn','XiqPb','getPlatformName','splice','test_settings','91357PdHkGV','slice','nightwatch.conf.js','LtYij','port','102REeQYr','modifyBrowserStackCaps','1108503SkcEDP','24yTpMzA','bAmZD','--config','--env','1588rDuLcd','platforms','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','useW3C','fhPLQ','inherit','join','trim','path','jImuO','child_process','auGNa','hub.browserstack.com','filter','Cswss','uPucW','17395HwoGrj','Bcbtv'];a33_0x2edb=function(){return _0x2baf11;};return a33_0x2edb();}(function(_0x3cadc2,_0x3588f4){const _0x11c269=a33_0x532c,_0x4e7d15=_0x3cadc2();while(!![]){try{const _0x2b88f0=-parseInt(_0x11c269(0x99))/0x1*(parseInt(_0x11c269(0xd2))/0x2)+parseInt(_0x11c269(0xa8))/0x3+parseInt(_0x11c269(0xd9))/0x4*(-parseInt(_0x11c269(0xb4))/0x5)+parseInt(_0x11c269(0xb2))/0x6+parseInt(_0x11c269(0xcd))/0x7+-parseInt(_0x11c269(0xd5))/0x8*(-parseInt(_0x11c269(0xd4))/0x9)+parseInt(_0x11c269(0xa1))/0xa*(parseInt(_0x11c269(0xc8))/0xb);if(_0x2b88f0===_0x3588f4)break;else _0x4e7d15['push'](_0x4e7d15['shift']());}catch(_0x3b2cf9){_0x4e7d15['push'](_0x4e7d15['shift']());}}}(a33_0x2edb,0x6f85b));const fs=require('fs'),path=require(a33_0x52848d(0xe1)),{spawn}=require(a33_0x52848d(0xe3)),logger=require(a33_0x52848d(0xb8))[a33_0x52848d(0xa4)],{default:BrowserStackSetup}=require(a33_0x52848d(0xa2)),helper=require('../../helpers/helper'),constants=require(a33_0x52848d(0xc1)),getUserNightwatchConfigs=(_0x5c1d56,_0x80253e)=>{const _0x9773a8=a33_0x52848d,_0x5b29f2={'rSWrp':_0x9773a8(0xcf),'auGNa':'nightwatch.json','ceNZe':function(_0x459c47,_0x55c355){return _0x459c47(_0x55c355);},'bAmZD':_0x9773a8(0xb6)};let _0x4d4190=null,_0x28c53c={};const _0x34a2b3=_0x80253e[_0x9773a8(0xa3)](_0x35d56d=>_0x35d56d===_0x9773a8(0xd7));if(!helper['isUndefined'](_0x5c1d56[_0x9773a8(0xbc)])&&fs['existsSync'](path[_0x9773a8(0xdf)](process[_0x9773a8(0xb3)](),_0x5c1d56[_0x9773a8(0xbc)])))_0x4d4190=path[_0x9773a8(0xdf)](process[_0x9773a8(0xb3)](),_0x5c1d56[_0x9773a8(0xbc)]),_0x80253e[_0x9773a8(0xcb)](_0x34a2b3,0x2);else{if(fs[_0x9773a8(0xa6)](path[_0x9773a8(0xdf)](process[_0x9773a8(0xb3)](),_0x5b29f2['rSWrp'])))_0x4d4190=path[_0x9773a8(0xdf)](process[_0x9773a8(0xb3)](),_0x5b29f2[_0x9773a8(0xa7)]);else fs[_0x9773a8(0xa6)](path[_0x9773a8(0xdf)](process[_0x9773a8(0xb3)](),_0x5b29f2[_0x9773a8(0xe4)]))&&(_0x4d4190=path['join'](process['cwd'](),_0x5b29f2['auGNa']));}return _0x4d4190?(logger[_0x9773a8(0xb9)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4d4190),_0x28c53c=_0x5b29f2[_0x9773a8(0xba)](require,_0x4d4190)):logger[_0x9773a8(0xb9)](_0x5b29f2[_0x9773a8(0xd6)]),_0x28c53c;},removeExistingEnvs=_0x52f7a9=>{const _0x34cb0e=a33_0x52848d,_0x2e5136={};_0x2e5136[_0x34cb0e(0xd0)]=function(_0x14afad,_0x54957b){return _0x14afad>_0x54957b;},_0x2e5136[_0x34cb0e(0xb7)]=function(_0x35473a,_0x21d235){return _0x35473a>_0x21d235;};const _0x4fd4cf=_0x2e5136;let _0x1465a3=_0x52f7a9[_0x34cb0e(0xa3)](_0x25bddf=>_0x25bddf===_0x34cb0e(0xd8));_0x4fd4cf['LtYij'](_0x1465a3,-0x1)&&_0x52f7a9[_0x34cb0e(0xcb)](_0x1465a3,0x2),_0x1465a3=_0x52f7a9[_0x34cb0e(0xa3)](_0x3547a1=>_0x3547a1==='-e'),_0x4fd4cf['hGgCt'](_0x1465a3,-0x1)&&_0x52f7a9[_0x34cb0e(0xcb)](_0x1465a3,0x2);};function run(_0x4e2d03,_0x5e4ccd){const _0x284a29=a33_0x52848d,_0x1b24d4={'asEFf':'nightwatch','TArjs':function(_0x537706,_0x225415){return _0x537706+_0x225415;},'dJxKq':_0x284a29(0xcc),'fKZci':function(_0x36a339,_0x1668d8,_0x56ce57){return _0x36a339(_0x1668d8,_0x56ce57);},'mGwik':_0x284a29(0xe5),'BySoc':_0x284a29(0xdb),'jImuO':function(_0x13afac,_0x303008){return _0x13afac===_0x303008;},'uPucW':_0x284a29(0xb5),'Cswss':function(_0x263343,_0x41364c){return _0x263343(_0x41364c);},'VXhHl':function(_0x156987,_0x3ff9ad,_0x36897b,_0x4b798a){return _0x156987(_0x3ff9ad,_0x36897b,_0x4b798a);},'fhPLQ':_0x284a29(0xc2),'nkUMy':_0x284a29(0xd7),'XiqPb':_0x284a29(0xd8),'TnMYq':_0x284a29(0xde),'Bcbtv':_0x284a29(0xc7)},_0x51225f=new BrowserStackSetup(_0x4e2d03);if(!_0x51225f[_0x284a29(0xbc)])return;const _0xc3069d=_0x1b24d4[_0x284a29(0xaf)](getUserNightwatchConfigs,_0x4e2d03,_0x5e4ccd),_0x5594ac={};_0x5594ac[_0x284a29(0xbf)]=![];const _0x16fc18={};_0x16fc18[_0x284a29(0xb0)]=_0x1b24d4['mGwik'],_0x16fc18[_0x284a29(0xd1)]=0x1bb;const _0x32f1cb={};_0x32f1cb[_0x284a29(0xc5)]=_0x5594ac,_0x32f1cb[_0x284a29(0xa9)]=_0x16fc18;const _0x2d186b=_0x32f1cb;logger[_0x284a29(0xb9)](_0x1b24d4['BySoc']);const _0x115eaf={..._0xc3069d},_0x4a8481=_0x115eaf,_0x1f0911=helper[_0x284a29(0xdc)](_0x51225f['config']),_0x53c56c=[];_0x51225f[_0x284a29(0xbc)][_0x284a29(0xda)][_0x284a29(0xc4)]((_0x598907,_0x16eb9d)=>{const _0x413e0d=_0x284a29;_0x1f0911?_0x53c56c[_0x413e0d(0xc3)](helper['modifyBrowserStackW3CCaps'](_0x51225f['config'],_0x1b24d4[_0x413e0d(0xb1)],_0x16eb9d)):_0x53c56c[_0x413e0d(0xc3)](helper[_0x413e0d(0xd3)](_0x51225f['config'],_0x1b24d4[_0x413e0d(0xb1)],_0x16eb9d));});const _0x5609ef={},_0x3a1ea2=[];_0x4e2d03[_0x284a29(0xbe)]=_0x4e2d03['env']||_0x4e2d03['e'];const _0x477e98=_0x4e2d03[_0x284a29(0xbe)]?_0x4e2d03[_0x284a29(0xbe)][_0x284a29(0xe0)]()[_0x284a29(0xad)](',')['map'](_0x43404f=>_0x43404f[_0x284a29(0xe0)]())[_0x284a29(0xe6)](_0x2a3b2e=>_0x2a3b2e!==''):[''];_0x1b24d4[_0x284a29(0xe2)](_0x477e98[_0x284a29(0xa0)],0x0)&&_0x477e98['push']('');_0x477e98['forEach'](_0x232482=>{const _0x8d1731={'HaZal':function(_0x5eddd5,_0x25c536){const _0x3726b2=a33_0x532c;return _0x1b24d4[_0x3726b2(0xac)](_0x5eddd5,_0x25c536);},'TKBZI':_0x1b24d4['dJxKq']};_0x53c56c['forEach'](_0x163e1d=>{const _0x498aeb=a33_0x532c;let _0x254708=_0x8d1731[_0x498aeb(0xab)](helper[_0x498aeb(0xca)](_0x163e1d,'_'),'_'+Date[_0x498aeb(0x9c)]());_0x232482&&(_0x254708+='_'+_0x232482);if(_0x232482&&(!_0xc3069d[_0x8d1731[_0x498aeb(0xbd)]]||!_0xc3069d[_0x8d1731[_0x498aeb(0xbd)]][_0x232482]))return;const _0x42c1e3={..._0x2d186b};_0x42c1e3[_0x498aeb(0xaa)]=_0x163e1d;const _0x21b749=_0x42c1e3;_0x5609ef[_0x254708]=_0x232482?helper[_0x498aeb(0xa5)](_0xc3069d[_0x8d1731['TKBZI']][_0x232482],_0x21b749):_0x21b749,_0x3a1ea2[_0x498aeb(0xc3)](_0x254708);});});!_0x4a8481[_0x284a29(0xcc)]&&(_0x4a8481['test_settings']={});_0x4a8481['test_settings']={..._0x4a8481[_0x284a29(0xcc)],..._0x5609ef};const _0xe8dc4=path[_0x284a29(0xdf)](__dirname,_0x1b24d4[_0x284a29(0xe8)]);fs[_0x284a29(0xc0)](_0xe8dc4,JSON[_0x284a29(0xbb)](_0x4a8481)),_0x1b24d4[_0x284a29(0xe7)](removeExistingEnvs,_0x5e4ccd);const _0x3bbe9c=_0x1b24d4[_0x284a29(0x9f)](spawn,/^win/['test'](process[_0x284a29(0x9b)])?_0x1b24d4[_0x284a29(0xdd)]:_0x1b24d4['asEFf'],[_0x1b24d4[_0x284a29(0xc6)],_0xe8dc4,..._0x5e4ccd[_0x284a29(0xce)](0x1),_0x1b24d4[_0x284a29(0xc9)],_0x3a1ea2[_0x284a29(0xdf)](',')],{'stdio':_0x1b24d4['TnMYq']});_0x3bbe9c['on'](_0x1b24d4[_0x284a29(0x9a)],async _0xee13c3=>{const _0x2a038f=_0x284a29;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0xee13c3),logger[_0x2a038f(0xb9)](_0x2a038f(0xae)+_0xe8dc4),fs[_0x2a038f(0x9d)](_0xe8dc4);});}module[a33_0x52848d(0x9e)]=run;
2
+ 'use strict';const a33_0x2caf38=a33_0x2368;(function(_0x2ca2af,_0x27f4b5){const _0x57df61=a33_0x2368,_0x17d8af=_0x2ca2af();while(!![]){try{const _0x24ad49=-parseInt(_0x57df61(0xa4))/0x1*(-parseInt(_0x57df61(0x76))/0x2)+-parseInt(_0x57df61(0x98))/0x3+parseInt(_0x57df61(0x95))/0x4*(parseInt(_0x57df61(0xb0))/0x5)+-parseInt(_0x57df61(0xb8))/0x6+-parseInt(_0x57df61(0x7b))/0x7+-parseInt(_0x57df61(0x83))/0x8*(-parseInt(_0x57df61(0xad))/0x9)+-parseInt(_0x57df61(0xb9))/0xa;if(_0x24ad49===_0x27f4b5)break;else _0x17d8af['push'](_0x17d8af['shift']());}catch(_0x1b2164){_0x17d8af['push'](_0x17d8af['shift']());}}}(a33_0x25b4,0xe1106));const fs=require('fs'),path=require(a33_0x2caf38(0x72)),{spawn}=require(a33_0x2caf38(0x97)),logger=require(a33_0x2caf38(0xaf))[a33_0x2caf38(0x8c)],{default:BrowserStackSetup}=require(a33_0x2caf38(0xb2)),helper=require(a33_0x2caf38(0x9a)),constants=require(a33_0x2caf38(0x94)),getUserNightwatchConfigs=(_0x24e38b,_0xa7bdff)=>{const _0x26286c=a33_0x2caf38,_0x458f4e={'UdPOv':'nightwatch.conf.js','ebOBy':_0x26286c(0x78),'pFwOR':function(_0x461ec0,_0xe03652){return _0x461ec0(_0xe03652);},'Qvbiz':_0x26286c(0x9c)};let _0x3152dc=null,_0x355e1f={};const _0x595041=_0xa7bdff['findIndex'](_0xab467d=>_0xab467d===_0x26286c(0x89));if(!helper[_0x26286c(0x71)](_0x24e38b[_0x26286c(0xa8)])&&fs[_0x26286c(0x7a)](path[_0x26286c(0xab)](process[_0x26286c(0x8a)](),_0x24e38b[_0x26286c(0xa8)])))_0x3152dc=path[_0x26286c(0xab)](process[_0x26286c(0x8a)](),_0x24e38b['config']),_0xa7bdff['splice'](_0x595041,0x2);else{if(fs[_0x26286c(0x7a)](path['join'](process['cwd'](),_0x458f4e[_0x26286c(0x91)])))_0x3152dc=path[_0x26286c(0xab)](process['cwd'](),_0x458f4e[_0x26286c(0x91)]);else fs[_0x26286c(0x7a)](path[_0x26286c(0xab)](process[_0x26286c(0x8a)](),_0x458f4e[_0x26286c(0xa0)]))&&(_0x3152dc=path[_0x26286c(0xab)](process['cwd'](),_0x458f4e[_0x26286c(0xa0)]));}return _0x3152dc?(logger['info'](_0x26286c(0x81)+_0x3152dc),_0x355e1f=_0x458f4e[_0x26286c(0x7e)](require,_0x3152dc)):logger[_0x26286c(0x87)](_0x458f4e[_0x26286c(0x9d)]),_0x355e1f;},removeExistingEnvs=_0x51c734=>{const _0x745804=a33_0x2caf38,_0x1169e0={};_0x1169e0[_0x745804(0xa5)]=function(_0x1c99d6,_0x578127){return _0x1c99d6>_0x578127;},_0x1169e0[_0x745804(0x86)]=function(_0x313b43,_0x4f7468){return _0x313b43>_0x4f7468;};const _0x5264fd=_0x1169e0;let _0x494c6d=_0x51c734[_0x745804(0xbc)](_0x1f478a=>_0x1f478a===_0x745804(0x93));_0x5264fd[_0x745804(0xa5)](_0x494c6d,-0x1)&&_0x51c734[_0x745804(0x74)](_0x494c6d,0x2),_0x494c6d=_0x51c734[_0x745804(0xbc)](_0x2eb0c2=>_0x2eb0c2==='-e'),_0x5264fd[_0x745804(0x86)](_0x494c6d,-0x1)&&_0x51c734[_0x745804(0x74)](_0x494c6d,0x2);};function run(_0x606d72,_0x446ed6){const _0x4436f9=a33_0x2caf38,_0xa01a48={'fDeto':'nightwatch','fHbsY':function(_0x171034,_0x55d4de){return _0x171034+_0x55d4de;},'fLXJU':_0x4436f9(0x85),'QeomP':function(_0xeff122,_0x3497ab,_0x5e3d67){return _0xeff122(_0x3497ab,_0x5e3d67);},'NBjdo':'hub.browserstack.com','SRapW':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','kfUqF':function(_0x1a0436,_0x110fde){return _0x1a0436===_0x110fde;},'JSqOA':_0x4436f9(0x92),'yhcvj':function(_0x6b9619,_0x24384a){return _0x6b9619(_0x24384a);},'krfok':function(_0x41bd38,_0x5a6406,_0x2399d1,_0x3e0225){return _0x41bd38(_0x5a6406,_0x2399d1,_0x3e0225);},'dpNwb':'nightwatch.cmd','wuhjR':'--config','LmzHW':_0x4436f9(0x93),'Sidml':_0x4436f9(0xb3),'vjKUP':_0x4436f9(0x8f)},_0xa9137b=new BrowserStackSetup(_0x606d72);if(!_0xa9137b['config'])return;const _0x52b168=_0xa01a48[_0x4436f9(0xa3)](getUserNightwatchConfigs,_0x606d72,_0x446ed6),_0x25f3fc={};_0x25f3fc['start_process']=![];const _0x3c8031={};_0x3c8031[_0x4436f9(0xa7)]=_0xa01a48[_0x4436f9(0x6f)],_0x3c8031[_0x4436f9(0xb7)]=0x1bb;const _0x208d19={};_0x208d19[_0x4436f9(0xa1)]=_0x25f3fc,_0x208d19['selenium']=_0x3c8031;const _0x4342c9=_0x208d19;logger[_0x4436f9(0x87)](_0xa01a48[_0x4436f9(0xb1)]);const _0x3d8a62={..._0x52b168},_0x6304cd=_0x3d8a62,_0x438d73=helper[_0x4436f9(0x70)](_0xa9137b[_0x4436f9(0xa8)]),_0x162740=[];_0xa9137b[_0x4436f9(0xa8)][_0x4436f9(0x8e)][_0x4436f9(0x77)]((_0x2a0a38,_0x5d63b6)=>{const _0x436e7e=_0x4436f9;_0x438d73?_0x162740[_0x436e7e(0x88)](helper[_0x436e7e(0xa2)](_0xa9137b[_0x436e7e(0xa8)],_0xa01a48[_0x436e7e(0x96)],_0x5d63b6)):_0x162740[_0x436e7e(0x88)](helper[_0x436e7e(0x73)](_0xa9137b['config'],_0xa01a48[_0x436e7e(0x96)],_0x5d63b6));});const _0x40b4b1={},_0x3ded89=[];_0x606d72[_0x4436f9(0xb6)]=_0x606d72['env']||_0x606d72['e'];const _0x92f3e5=_0x606d72[_0x4436f9(0xb6)]?_0x606d72[_0x4436f9(0xb6)][_0x4436f9(0xba)]()[_0x4436f9(0x7d)](',')[_0x4436f9(0x90)](_0x36ea69=>_0x36ea69['trim']())[_0x4436f9(0x9b)](_0x47a635=>_0x47a635!==''):[''];_0xa01a48['kfUqF'](_0x92f3e5[_0x4436f9(0x75)],0x0)&&_0x92f3e5[_0x4436f9(0x88)]('');_0x92f3e5[_0x4436f9(0x77)](_0x17c44c=>{const _0x20b3a0=_0x4436f9;_0x162740[_0x20b3a0(0x77)](_0x370292=>{const _0x1cd8d4=_0x20b3a0;let _0x1d304b=_0xa01a48[_0x1cd8d4(0x79)](helper[_0x1cd8d4(0xa9)](_0x370292,'_'),'_'+Date[_0x1cd8d4(0x8d)]());_0x17c44c&&(_0x1d304b+='_'+_0x17c44c);if(_0x17c44c&&(!_0x52b168[_0xa01a48[_0x1cd8d4(0x99)]]||!_0x52b168[_0xa01a48[_0x1cd8d4(0x99)]][_0x17c44c]))return;const _0x2c4a3f={..._0x4342c9};_0x2c4a3f[_0x1cd8d4(0xb4)]=_0x370292;const _0x3fa860=_0x2c4a3f;_0x40b4b1[_0x1d304b]=_0x17c44c?helper[_0x1cd8d4(0x82)](_0x52b168[_0xa01a48[_0x1cd8d4(0x99)]][_0x17c44c],_0x3fa860):_0x3fa860,_0x3ded89[_0x1cd8d4(0x88)](_0x1d304b);});});!_0x6304cd[_0x4436f9(0x85)]&&(_0x6304cd['test_settings']={});_0x6304cd[_0x4436f9(0x85)]={..._0x6304cd[_0x4436f9(0x85)],..._0x40b4b1};const _0x369d62=path[_0x4436f9(0xab)](__dirname,_0xa01a48[_0x4436f9(0x84)]);fs[_0x4436f9(0xa6)](_0x369d62,JSON[_0x4436f9(0xaa)](_0x6304cd)),_0xa01a48[_0x4436f9(0x7f)](removeExistingEnvs,_0x446ed6);const _0x2a0dc7=_0xa01a48[_0x4436f9(0x80)](spawn,/^win/['test'](process['platform'])?_0xa01a48['dpNwb']:_0xa01a48['fDeto'],[_0xa01a48['wuhjR'],_0x369d62,..._0x446ed6[_0x4436f9(0xac)](0x1),_0xa01a48[_0x4436f9(0x9e)],_0x3ded89[_0x4436f9(0xab)](',')],{'stdio':_0xa01a48[_0x4436f9(0xbb)]});_0x2a0dc7['on'](_0xa01a48[_0x4436f9(0xae)],async _0x3bb5bd=>{const _0x273be6=_0x4436f9;logger[_0x273be6(0x7c)]('child\x20process\x20exited\x20with\x20code\x20'+_0x3bb5bd),logger[_0x273be6(0x87)](_0x273be6(0xb5)+_0x369d62),fs[_0x273be6(0x9f)](_0x369d62);});}function a33_0x2368(_0x445d7a,_0x303e3b){const _0x25b479=a33_0x25b4();return a33_0x2368=function(_0x23689a,_0x3c62b0){_0x23689a=_0x23689a-0x6f;let _0x851c6c=_0x25b479[_0x23689a];return _0x851c6c;},a33_0x2368(_0x445d7a,_0x303e3b);}function a33_0x25b4(){const _0x419c4b=['--config','cwd','exports','winstonLogger','now','platforms','close','map','UdPOv','nightwatch-browserstack.json','--env','../utils/constants','4548644HWMEZr','fDeto','child_process','1132524IYsVXD','fLXJU','../../helpers/helper','filter','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Qvbiz','LmzHW','unlinkSync','ebOBy','webdriver','modifyBrowserStackW3CCaps','QeomP','20294UkyjXV','eZnSY','writeFileSync','host','config','getPlatformName','stringify','join','slice','375327FGgLks','vjKUP','../../helpers/logger','5YZrXrC','SRapW','../../helpers/BrowserStackSetup','inherit','desiredCapabilities','Deleting\x20','env','port','1314228fCElAA','9376410UuelSq','trim','Sidml','findIndex','NBjdo','useW3C','isUndefined','path','modifyBrowserStackCaps','splice','length','146zJNBwj','forEach','nightwatch.json','fHbsY','existsSync','2597623oBhiBt','debug','split','pFwOR','yhcvj','krfok','Getting\x20your\x20nightwatch\x20configs\x20from\x20','mergeDeep','40UHXLqj','JSqOA','test_settings','yPJiU','info','push'];a33_0x25b4=function(){return _0x419c4b;};return a33_0x25b4();}module[a33_0x2caf38(0x8b)]=run;
@@ -1 +1 @@
1
- const a34_0x52a4e3=a34_0x44b6;function a34_0x26fd(){const _0x159603=['zpIDJ','use','(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','deviceName','../../helpers/accessibility-automation/helper','browserstack.accessibility','LWqFP','JBDbl','JqEAg','accessibilityOptions','warn','iyLqR','accessibilityOptions.includeIssueType.needsReview','ZuvxW','392180DxRLwR','connectOptions','browser','FViIu','accessibilityPlatform','playwright-chromium','project','vSVrd','../../helpers/logger','scannerVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/accessibility-automation/scripts','228972YIARRW','zANAY','3861558AGNZoe','TFmaS','accessibilityOptions.includeIssueType.bestPractice','browserStackExecuteDriver','wDCZn','constructor','wcagVersion','rCdVG','getAccessibilityResults','3392fXCOEc','2897250AfFQLp','getAccessibilityResultsSummary','needsReview','OQUjl','yCQxc','currentTest','lvAPX','8435ZkXoXM','sjRGS','executeAsyncScript','WebDriver','debug','replace','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','HQKTP','ScVQM','accessibilityOptions.scannerProcessingTimeout','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','TnOkh','ZOplp','includeIssueType','winstonLogger','env','performScan','HIoot','1338CMXICV','parse','bstackSdkArgs','bestPractice','ENsIM','UfZqk','latest','scannerProcessingTimeout','browserStackEvaluate','accessibilityOptions.authToken','accessibilityOptions.scannerVersion','platformValidation','executeScript','XdUsN','util','ENhaA','browserName','SwEdX','chrome','CNNBg','No\x20accessibility\x20results\x20were\x20found.','BS_A11Y_JWT','accessibilityOptions.wcagVersion','browser_version','elYcz','2145265rbptnR','evaluate','stringify','NPYbo','VloBC','format','wsEndpoint','processAccessibilityCaps','398WNVglV','UCUKT','name'];a34_0x26fd=function(){return _0x159603;};return a34_0x26fd();}(function(_0x4fc716,_0x5b0b82){const _0x3c426a=a34_0x44b6,_0x120861=_0x4fc716();while(!![]){try{const _0x185fe0=parseInt(_0x3c426a(0x17e))/0x1+-parseInt(_0x3c426a(0x16d))/0x2*(parseInt(_0x3c426a(0x14c))/0x3)+-parseInt(_0x3c426a(0x18a))/0x4+parseInt(_0x3c426a(0x165))/0x5+-parseInt(_0x3c426a(0x196))/0x6+parseInt(_0x3c426a(0x19d))/0x7*(parseInt(_0x3c426a(0x195))/0x8)+-parseInt(_0x3c426a(0x18c))/0x9;if(_0x185fe0===_0x5b0b82)break;else _0x120861['push'](_0x120861['shift']());}catch(_0x3be303){_0x120861['push'](_0x120861['shift']());}}}(a34_0x26fd,0x42f2b));function a34_0x44b6(_0x3e13d2,_0x3dcb4e){const _0x26fd5c=a34_0x26fd();return a34_0x44b6=function(_0x44b67e,_0x25d17b){_0x44b67e=_0x44b67e-0x145;let _0x54ca38=_0x26fd5c[_0x44b67e];return _0x54ca38;},a34_0x44b6(_0x3e13d2,_0x3dcb4e);}const util=require(a34_0x52a4e3(0x15a)),logger=require(a34_0x52a4e3(0x186))[a34_0x52a4e3(0x148)],{isAccessibilityAutomationSession}=require(a34_0x52a4e3(0x174)),{isUndefined}=require('../../helpers/helper'),scripts=require(a34_0x52a4e3(0x189));exports[a34_0x52a4e3(0x154)]=async(_0x207437,_0x513633,_0xd8086e={})=>{const _0x136a51=a34_0x52a4e3,_0x34cb5a={};_0x34cb5a[_0x136a51(0x18b)]=_0x136a51(0x14e);const _0x29b454=_0x34cb5a;return await _0x207437[_0x136a51(0x166)]('(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'+_0x513633[_0x136a51(0x1a2)](/arguments/g,_0x29b454[_0x136a51(0x18b)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x136a51(0x167)](_0xd8086e)+')');},exports[a34_0x52a4e3(0x18f)]=async(_0x50258f,_0xb37c8,_0x551831={})=>{const _0x3f6589=a34_0x52a4e3,_0x453ff3={};_0x453ff3[_0x3f6589(0x19e)]=function(_0x5d43ce,_0x498edf){return _0x5d43ce===_0x498edf;},_0x453ff3['HIoot']=_0x3f6589(0x1a0),_0x453ff3[_0x3f6589(0x164)]=function(_0x40b032,_0x472798){return _0x40b032===_0x472798;},_0x453ff3[_0x3f6589(0x15b)]='Playwright',_0x453ff3['ENsIM']=_0x3f6589(0x14e);const _0x1a9a9=_0x453ff3;if(_0x1a9a9[_0x3f6589(0x19e)](_0x50258f['constructor'][_0x3f6589(0x16f)],_0x1a9a9[_0x3f6589(0x14b)]))return await _0x50258f[_0x3f6589(0x19f)](_0xb37c8,_0x551831);else{if(_0x1a9a9[_0x3f6589(0x164)](_0x50258f[_0x3f6589(0x191)][_0x3f6589(0x16f)],_0x1a9a9['ENhaA']))return await _0x50258f[_0x3f6589(0x158)](_0x3f6589(0x172)+_0xb37c8[_0x3f6589(0x1a2)](/arguments/g,_0x1a9a9[_0x3f6589(0x150)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x3f6589(0x167)](_0x551831)+')');}},exports['setAccessibilityCapabilities']=async _0x30e482=>{const _0x5ed873=a34_0x52a4e3,_0x91ed04={};_0x91ed04[_0x5ed873(0x1a4)]=_0x5ed873(0x162),_0x91ed04[_0x5ed873(0x15f)]=_0x5ed873(0x1a6),_0x91ed04['UBOtX']=_0x5ed873(0x18e),_0x91ed04[_0x5ed873(0x146)]=_0x5ed873(0x17c),_0x91ed04[_0x5ed873(0x181)]=_0x5ed873(0x155),_0x91ed04['TIyVX']=_0x5ed873(0x156);const _0x26a8ac=_0x91ed04;_0x30e482['accessibilityOptions']&&(_0x30e482[_0x5ed873(0x179)][_0x5ed873(0x192)]&&(_0x30e482[_0x26a8ac[_0x5ed873(0x1a4)]]=_0x30e482['accessibilityOptions'][_0x5ed873(0x192)]),_0x30e482[_0x5ed873(0x179)][_0x5ed873(0x153)]&&(_0x30e482[_0x26a8ac['CNNBg']]=_0x30e482[_0x5ed873(0x179)][_0x5ed873(0x153)]),_0x30e482[_0x5ed873(0x179)]['includeIssueType']&&(_0x30e482[_0x26a8ac['UBOtX']]=_0x30e482['accessibilityOptions'][_0x5ed873(0x147)][_0x5ed873(0x14f)],_0x30e482[_0x26a8ac[_0x5ed873(0x146)]]=_0x30e482[_0x5ed873(0x179)]['includeIssueType'][_0x5ed873(0x198)]));const _0x5437fc=JSON[_0x5ed873(0x14d)](process[_0x5ed873(0x149)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x5ed873(0x187)];_0x30e482[_0x26a8ac[_0x5ed873(0x181)]]=process[_0x5ed873(0x149)][_0x5ed873(0x161)],_0x30e482[_0x26a8ac['TIyVX']]=_0x5437fc,delete _0x30e482[_0x5ed873(0x179)];},exports[a34_0x52a4e3(0x194)]=async _0x59ff74=>{const _0x1c6cfa=a34_0x52a4e3,_0x451497={};_0x451497['wDCZn']=_0x1c6cfa(0x160),_0x451497[_0x1c6cfa(0x19a)]=_0x1c6cfa(0x1a7);const _0x12f1d5=_0x451497;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x59ff74,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x59ff74,scripts.getResults);return res;}catch{return logger['error'](_0x12f1d5[_0x1c6cfa(0x190)]),[];}else return logger['warn'](_0x12f1d5['yCQxc']),[];},exports[a34_0x52a4e3(0x14a)]=async(_0x47a757,_0x3d0e78='')=>{const _0x42c00e=a34_0x52a4e3;if(global[_0x42c00e(0x182)]){const _0x38b891={};return _0x38b891['method']=_0x3d0e78,await exports[_0x42c00e(0x154)](_0x47a757,scripts[_0x42c00e(0x14a)],_0x38b891);}},exports[a34_0x52a4e3(0x197)]=async _0x4e9fac=>{const _0x119c35=a34_0x52a4e3,_0x41fd14={};_0x41fd14[_0x119c35(0x16e)]='No\x20summaryResults\x20found.',_0x41fd14[_0x119c35(0x1a5)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x5a8f48=_0x41fd14;if(global[_0x119c35(0x182)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4e9fac,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x4e9fac,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x119c35(0x1a1)](_0x5a8f48[_0x119c35(0x16e)]),{};}else return logger[_0x119c35(0x17a)](_0x5a8f48[_0x119c35(0x1a5)]),{};},exports[a34_0x52a4e3(0x157)]=async _0x4dfbec=>{const _0x18fc55=a34_0x52a4e3,_0x55c346={'vSVrd':function(_0x538eba,_0x30d0f4){return _0x538eba!==_0x30d0f4;},'pBXoR':_0x18fc55(0x1a3),'UfZqk':function(_0x3d179d,_0x4b47e3){return _0x3d179d===_0x4b47e3;},'LWqFP':_0x18fc55(0x15e),'PExdN':'playwright-chromium','VloBC':_0x18fc55(0x188),'OQUjl':function(_0x2a407a,_0x29d315){return _0x2a407a(_0x29d315);},'SwEdX':function(_0x90ff04,_0x5aeb20){return _0x90ff04===_0x5aeb20;},'ZuvxW':_0x18fc55(0x152),'TFmaS':function(_0x5e1fd5,_0x551808){return _0x5e1fd5>_0x551808;},'GUPsu':_0x18fc55(0x1a8)};try{if(!_0x55c346[_0x18fc55(0x185)](_0x4dfbec['deviceName'],''))return logger['warn'](_0x55c346['pBXoR']),![];const _0x43a8fa=_0x4dfbec[_0x18fc55(0x180)];if(!(_0x55c346[_0x18fc55(0x151)](_0x43a8fa,_0x55c346[_0x18fc55(0x176)])||_0x55c346[_0x18fc55(0x151)](_0x43a8fa,_0x55c346['PExdN'])))return logger['warn'](_0x55c346[_0x18fc55(0x169)]),![];const _0x2bdd30=_0x55c346[_0x18fc55(0x199)](parseInt,_0x4dfbec[_0x18fc55(0x163)]);if(!(_0x55c346[_0x18fc55(0x15d)](_0x2bdd30,_0x55c346[_0x18fc55(0x17d)])||_0x55c346[_0x18fc55(0x18d)](_0x2bdd30,0x5e)))return logger[_0x18fc55(0x17a)](_0x55c346['GUPsu']),![];}catch(_0x3b9490){logger[_0x18fc55(0x1a1)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x18fc55(0x16a)](_0x3b9490));}return!![];},exports[a34_0x52a4e3(0x16c)]=(_0xe06e7e,_0x3c32e1,_0x2b3677)=>{const _0x22f0f4=a34_0x52a4e3,_0x1f6813={'jkYcj':function(_0x3a70b6){return _0x3a70b6();},'zpIDJ':_0x22f0f4(0x175),'JBDbl':function(_0x48490a,_0x167889){return _0x48490a===_0x167889;},'iyLqR':_0x22f0f4(0x15e),'QWCfw':_0x22f0f4(0x183),'lvAPX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','TnOkh':function(_0x46dbab,_0x1a68e9){return _0x46dbab===_0x1a68e9;},'rCdVG':_0x22f0f4(0x152),'GAaOD':function(_0x277587,_0x477597){return _0x277587>_0x477597;},'eoeSB':_0x22f0f4(0x1a8),'NPYbo':function(_0x13334a,_0x3371d2){return _0x13334a(_0x3371d2);},'XdUsN':_0x22f0f4(0x1a3),'JqEAg':function(_0x361103,_0x5092bc){return _0x361103+_0x5092bc;}};try{if(_0x1f6813['jkYcj'](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0xe06e7e[_0x1f6813['zpIDJ']]&&(global['accessibilityPlatform']=![]);!(_0x1f6813[_0x22f0f4(0x177)](_0xe06e7e[_0x22f0f4(0x15c)],_0x1f6813[_0x22f0f4(0x17b)])||_0x1f6813[_0x22f0f4(0x177)](_0xe06e7e[_0x22f0f4(0x15c)],_0x1f6813['QWCfw']))&&(logger[_0x22f0f4(0x17a)](_0x1f6813[_0x22f0f4(0x19c)]),global[_0x22f0f4(0x182)]=![]);!(_0x1f6813[_0x22f0f4(0x145)](_0xe06e7e['browser_version'],_0x1f6813[_0x22f0f4(0x193)])||_0x1f6813['GAaOD'](_0xe06e7e['browser_version'],0x5e))&&(logger[_0x22f0f4(0x17a)](_0x1f6813['eoeSB']),global[_0x22f0f4(0x182)]=![]);!_0x1f6813[_0x22f0f4(0x168)](isUndefined,_0xe06e7e[_0x22f0f4(0x173)])&&(logger['warn'](_0x1f6813[_0x22f0f4(0x159)]),global[_0x22f0f4(0x182)]=![]);if(!global['accessibilityPlatform']){_0xe06e7e[_0x1f6813[_0x22f0f4(0x170)]]=![];const _0x4a4a20=_0x1f6813[_0x22f0f4(0x178)](_0x3c32e1,_0x1f6813[_0x22f0f4(0x168)](encodeURIComponent,JSON[_0x22f0f4(0x167)](_0xe06e7e)));_0x2b3677&&(_0x2b3677[_0x22f0f4(0x19b)]['testInfo'][_0x22f0f4(0x184)]['use'][_0x22f0f4(0x17f)][_0x22f0f4(0x16b)]=_0x4a4a20,_0x2b3677['workerInfo']['project'][_0x22f0f4(0x171)][_0x22f0f4(0x17f)][_0x22f0f4(0x16b)]=_0x4a4a20);}}}catch(_0x5ba483){logger[_0x22f0f4(0x1a1)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x5ba483));}};
1
+ const a34_0x18aecc=a34_0x4d9c;function a34_0x4d9c(_0x40512e,_0x20430a){const _0x44c364=a34_0x44c3();return a34_0x4d9c=function(_0x4d9cf4,_0xc74ab0){_0x4d9cf4=_0x4d9cf4-0x81;let _0x577ef2=_0x44c364[_0x4d9cf4];return _0x577ef2;},a34_0x4d9c(_0x40512e,_0x20430a);}(function(_0x283bad,_0x343e25){const _0x34a073=a34_0x4d9c,_0x23121e=_0x283bad();while(!![]){try{const _0x10065c=-parseInt(_0x34a073(0xe8))/0x1+-parseInt(_0x34a073(0xd2))/0x2+-parseInt(_0x34a073(0x89))/0x3*(parseInt(_0x34a073(0xa8))/0x4)+parseInt(_0x34a073(0xa3))/0x5+-parseInt(_0x34a073(0xe3))/0x6*(parseInt(_0x34a073(0x96))/0x7)+-parseInt(_0x34a073(0xc3))/0x8+parseInt(_0x34a073(0xcc))/0x9;if(_0x10065c===_0x343e25)break;else _0x23121e['push'](_0x23121e['shift']());}catch(_0x3a279b){_0x23121e['push'](_0x23121e['shift']());}}}(a34_0x44c3,0x68b36));const util=require(a34_0x18aecc(0x99)),logger=require('../../helpers/logger')[a34_0x18aecc(0xca)],{isAccessibilityAutomationSession}=require(a34_0x18aecc(0x88)),{isUndefined}=require('../../helpers/helper'),scripts=require(a34_0x18aecc(0x8a)),PerformanceTester=require(a34_0x18aecc(0xe5)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x18aecc(0xad));exports[a34_0x18aecc(0xc9)]=async(_0x3b8f21,_0x4eb1a7,_0x82830a={})=>{const _0xeedb32=a34_0x18aecc,_0x1c8774={};_0x1c8774[_0xeedb32(0xb9)]=_0xeedb32(0xa1);const _0x418497=_0x1c8774;return await _0x3b8f21[_0xeedb32(0xc1)]('(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'+_0x4eb1a7[_0xeedb32(0xb8)](/arguments/g,_0x418497[_0xeedb32(0xb9)])+_0xeedb32(0x92)+JSON[_0xeedb32(0x9b)](_0x82830a)+')');},exports['browserStackExecuteDriver']=async(_0x5ddbf5,_0x439c8a,_0xeb1616={})=>{const _0x20313d=a34_0x18aecc,_0x3486a1={};_0x3486a1[_0x20313d(0x84)]=function(_0x946156,_0xa207f8){return _0x946156===_0xa207f8;},_0x3486a1[_0x20313d(0xbc)]=_0x20313d(0xdd),_0x3486a1['DwVPl']=function(_0xb207ff,_0x4d82fc){return _0xb207ff===_0x4d82fc;},_0x3486a1[_0x20313d(0xc8)]=_0x20313d(0xaa),_0x3486a1[_0x20313d(0xc5)]='bstackSdkArgs';const _0x528a16=_0x3486a1;if(_0x528a16[_0x20313d(0x84)](_0x5ddbf5['constructor'][_0x20313d(0xc6)],_0x528a16['cUnUK']))return await _0x5ddbf5[_0x20313d(0xc2)](_0x439c8a,_0xeb1616);else{if(_0x528a16[_0x20313d(0x8b)](_0x5ddbf5[_0x20313d(0xb4)][_0x20313d(0xc6)],_0x528a16['UBfzo']))return await _0x5ddbf5[_0x20313d(0xcb)]('(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'+_0x439c8a[_0x20313d(0xb8)](/arguments/g,_0x528a16[_0x20313d(0xc5)])+_0x20313d(0xa6)+JSON[_0x20313d(0x9b)](_0xeb1616)+')');}},exports['setAccessibilityCapabilities']=async _0x466c9d=>{const _0x250dcb=a34_0x18aecc,_0x4909b4={};_0x4909b4[_0x250dcb(0xb5)]='accessibilityOptions.wcagVersion',_0x4909b4[_0x250dcb(0x9c)]=_0x250dcb(0x93),_0x4909b4[_0x250dcb(0x97)]=_0x250dcb(0xbd),_0x4909b4[_0x250dcb(0xcf)]='accessibilityOptions.includeIssueType.needsReview',_0x4909b4[_0x250dcb(0xe1)]=_0x250dcb(0xab),_0x4909b4[_0x250dcb(0xd5)]='accessibilityOptions.scannerVersion';const _0x2ae373=_0x4909b4;_0x466c9d[_0x250dcb(0xa5)]&&(_0x466c9d[_0x250dcb(0xa5)][_0x250dcb(0xcd)]&&(_0x466c9d[_0x2ae373[_0x250dcb(0xb5)]]=_0x466c9d['accessibilityOptions']['wcagVersion']),_0x466c9d[_0x250dcb(0xa5)]['scannerProcessingTimeout']&&(_0x466c9d[_0x2ae373[_0x250dcb(0x9c)]]=_0x466c9d[_0x250dcb(0xa5)][_0x250dcb(0x91)]),_0x466c9d[_0x250dcb(0xa5)][_0x250dcb(0xd0)]&&(_0x466c9d[_0x2ae373[_0x250dcb(0x97)]]=_0x466c9d[_0x250dcb(0xa5)][_0x250dcb(0xd0)][_0x250dcb(0xb0)],_0x466c9d[_0x2ae373[_0x250dcb(0xcf)]]=_0x466c9d[_0x250dcb(0xa5)][_0x250dcb(0xd0)][_0x250dcb(0xd1)]));const _0x4a3841=JSON[_0x250dcb(0xaf)](process[_0x250dcb(0xa0)][_0x250dcb(0x9e)])[_0x250dcb(0x90)];_0x466c9d[_0x2ae373[_0x250dcb(0xe1)]]=process[_0x250dcb(0xa0)][_0x250dcb(0xde)],_0x466c9d[_0x2ae373['LKruV']]=_0x4a3841,delete _0x466c9d[_0x250dcb(0xa5)];},exports[a34_0x18aecc(0xdc)]=async _0x2ecc7f=>{const _0x3bbb0f=a34_0x18aecc,_0x4259f7={};_0x4259f7[_0x3bbb0f(0x85)]='No\x20accessibility\x20results\x20were\x20found.',_0x4259f7[_0x3bbb0f(0x8d)]=_0x3bbb0f(0xe0);const _0x16dcef=_0x4259f7;if(global[_0x3bbb0f(0xd6)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2ecc7f,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2ecc7f,scripts.getResults);})();return res;}catch{return logger['error'](_0x16dcef[_0x3bbb0f(0x85)]),[];}else return logger['warn'](_0x16dcef[_0x3bbb0f(0x8d)]),[];},exports[a34_0x18aecc(0xac)]=async(_0x5915a8,_0x4ea181='')=>{if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x39c905=a34_0x4d9c,_0x4255de={};_0x4255de['command']=_0x4ea181,await exports[_0x39c905(0xc9)](_0x5915a8,scripts['performScan'],_0x4255de);},{'command':_0x4ea181})();},exports[a34_0x18aecc(0xb3)]=async _0x2ceb3e=>{const _0x56e86b=a34_0x18aecc,_0x4d72a5={};_0x4d72a5['YsQra']=_0x56e86b(0xe6),_0x4d72a5['ehCAg']=_0x56e86b(0xd4);const _0xb2651b=_0x4d72a5;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2ceb3e,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2ceb3e,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0xb2651b['YsQra']),{};}else return logger['warn'](_0xb2651b[_0x56e86b(0xe4)]),{};},exports[a34_0x18aecc(0x83)]=async _0x251228=>{const _0xfb3fad=a34_0x18aecc,_0x46faa0={'fSWib':function(_0xa5cd87,_0x53d1a7){return _0xa5cd87!==_0x53d1a7;},'BztSG':_0xfb3fad(0xd7),'HxabM':function(_0x26c82a,_0x15f77f){return _0x26c82a===_0x15f77f;},'SikrV':_0xfb3fad(0xa4),'OsIce':function(_0x521ab5,_0x3dd476){return _0x521ab5===_0x3dd476;},'JmBzb':_0xfb3fad(0xb7),'blgbp':_0xfb3fad(0x9f),'YCZEA':function(_0x411857,_0x8ef099){return _0x411857(_0x8ef099);},'cNRBJ':function(_0xeb4d33,_0x5bf051){return _0xeb4d33===_0x5bf051;},'kUZOn':_0xfb3fad(0xdb),'pBLie':function(_0x3ba99f,_0x219cb6){return _0x3ba99f>_0x219cb6;},'aMMVF':_0xfb3fad(0xc7)};try{if(!_0x46faa0[_0xfb3fad(0x82)](_0x251228[_0xfb3fad(0x86)],''))return logger[_0xfb3fad(0xda)](_0x46faa0['BztSG']),![];const _0x80fb99=_0x251228['browser'];if(!(_0x46faa0[_0xfb3fad(0xa9)](_0x80fb99,_0x46faa0['SikrV'])||_0x46faa0[_0xfb3fad(0xdf)](_0x80fb99,_0x46faa0[_0xfb3fad(0xba)])))return logger[_0xfb3fad(0xda)](_0x46faa0[_0xfb3fad(0xbf)]),![];const _0x41cd4b=_0x46faa0[_0xfb3fad(0xbe)](parseInt,_0x251228[_0xfb3fad(0xe2)]);if(!(_0x46faa0[_0xfb3fad(0x8c)](_0x41cd4b,_0x46faa0[_0xfb3fad(0xc0)])||_0x46faa0['pBLie'](_0x41cd4b,0x5e)))return logger[_0xfb3fad(0xda)](_0x46faa0['aMMVF']),![];}catch(_0x2ec38f){logger[_0xfb3fad(0xbb)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0xfb3fad(0xe7)](_0x2ec38f));}return!![];},exports[a34_0x18aecc(0xb1)]=(_0xf5fa3b,_0x5696d1,_0x35778e)=>{const _0x52d6cc=a34_0x18aecc,_0x276561={'lYMwZ':function(_0x123ed6){return _0x123ed6();},'QNhje':_0x52d6cc(0x9d),'McqWs':function(_0x35712d,_0x688a8b){return _0x35712d===_0x688a8b;},'vlPGI':_0x52d6cc(0xa4),'VrPlm':function(_0x5256e7,_0x154f10){return _0x5256e7===_0x154f10;},'SopXh':_0x52d6cc(0xb7),'JQgYC':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','SZLiR':_0x52d6cc(0xdb),'khRqD':function(_0x224548,_0x1a9deb){return _0x224548>_0x1a9deb;},'hRhzC':_0x52d6cc(0xc7),'kZrBf':function(_0x3a8aac,_0xce9db){return _0x3a8aac(_0xce9db);},'oiZOL':_0x52d6cc(0xd7),'NNwBW':function(_0x303b09,_0xf3b46){return _0x303b09+_0xf3b46;}};try{if(_0x276561[_0x52d6cc(0x8f)](isAccessibilityAutomationSession)){global[_0x52d6cc(0xd6)]=!![];!_0xf5fa3b[_0x276561['QNhje']]&&(global[_0x52d6cc(0xd6)]=![]);!(_0x276561[_0x52d6cc(0x81)](_0xf5fa3b[_0x52d6cc(0xce)],_0x276561[_0x52d6cc(0x98)])||_0x276561['VrPlm'](_0xf5fa3b[_0x52d6cc(0xce)],_0x276561['SopXh']))&&(logger[_0x52d6cc(0xda)](_0x276561['JQgYC']),global[_0x52d6cc(0xd6)]=![]);!(_0x276561[_0x52d6cc(0x94)](_0xf5fa3b[_0x52d6cc(0xe2)],_0x276561[_0x52d6cc(0xa7)])||_0x276561[_0x52d6cc(0x87)](_0xf5fa3b[_0x52d6cc(0xe2)],0x5e))&&(logger['warn'](_0x276561[_0x52d6cc(0x95)]),global['accessibilityPlatform']=![]);!_0x276561['kZrBf'](isUndefined,_0xf5fa3b[_0x52d6cc(0x86)])&&(logger[_0x52d6cc(0xda)](_0x276561[_0x52d6cc(0xa2)]),global[_0x52d6cc(0xd6)]=![]);if(!global[_0x52d6cc(0xd6)]){_0xf5fa3b[_0x276561['QNhje']]=![];const _0x4e1592=_0x276561[_0x52d6cc(0xae)](_0x5696d1,_0x276561[_0x52d6cc(0xd3)](encodeURIComponent,JSON[_0x52d6cc(0x9b)](_0xf5fa3b)));_0x35778e&&(_0x35778e[_0x52d6cc(0xb2)]['testInfo'][_0x52d6cc(0x8e)]['use'][_0x52d6cc(0xc4)][_0x52d6cc(0x9a)]=_0x4e1592,_0x35778e[_0x52d6cc(0xb6)]['project'][_0x52d6cc(0xd8)]['connectOptions'][_0x52d6cc(0x9a)]=_0x4e1592);}}}catch(_0x1cd0a5){logger[_0x52d6cc(0xbb)](_0x52d6cc(0xd9)+util[_0x52d6cc(0xe7)](_0x1cd0a5));}};function a34_0x44c3(){const _0xf61454=['khRqD','../../helpers/accessibility-automation/helper','21lqHALu','../../helpers/accessibility-automation/scripts','DwVPl','cNRBJ','leRiy','project','lYMwZ','scannerVersion','scannerProcessingTimeout','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions.scannerProcessingTimeout','VrPlm','hRhzC','258293kzpfzX','oFVJK','vlPGI','util','wsEndpoint','stringify','iZbiY','browserstack.accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','env','bstackSdkArgs','oiZOL','4135780cOjzhV','chrome','accessibilityOptions','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','SZLiR','9876KEzOvJ','HxabM','Playwright','accessibilityOptions.authToken','performScan','../../helpers/performance/constants','NNwBW','parse','bestPractice','processAccessibilityCaps','currentTest','getAccessibilityResultsSummary','constructor','JvzvB','workerInfo','playwright-chromium','replace','TGKUB','JmBzb','debug','cUnUK','accessibilityOptions.includeIssueType.bestPractice','YCZEA','blgbp','kUZOn','evaluate','executeAsyncScript','2323832zZBCGB','connectOptions','ATZyy','name','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','UBfzo','browserStackEvaluate','winstonLogger','executeScript','18028998XjNWCZ','wcagVersion','browserName','YWoAG','includeIssueType','needsReview','1170456sFnymc','kZrBf','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','LKruV','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','use','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','warn','latest','getAccessibilityResults','WebDriver','BS_A11Y_JWT','OsIce','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','pGWLr','browser_version','138HuQWsr','ehCAg','../../helpers/performance/performance-tester','No\x20summaryResults\x20found.','format','659857bqcnOs','McqWs','fSWib','platformValidation','rJuuq','IhsET','deviceName'];a34_0x44c3=function(){return _0xf61454;};return a34_0x44c3();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0xcb56(_0x5e0b73,_0x1be1ce){const _0x287d56=a35_0x287d();return a35_0xcb56=function(_0xcb56b,_0x4085cf){_0xcb56b=_0xcb56b-0xb0;let _0x1bbbe8=_0x287d56[_0xcb56b];return _0x1bbbe8;},a35_0xcb56(_0x5e0b73,_0x1be1ce);}const a35_0x3b8b98=a35_0xcb56;(function(_0x2426bf,_0x1f7b3f){const _0x26b4bf=a35_0xcb56,_0x555fea=_0x2426bf();while(!![]){try{const _0x2ed097=-parseInt(_0x26b4bf(0xf3))/0x1+parseInt(_0x26b4bf(0x106))/0x2+-parseInt(_0x26b4bf(0x10b))/0x3*(-parseInt(_0x26b4bf(0xc4))/0x4)+parseInt(_0x26b4bf(0xc2))/0x5+parseInt(_0x26b4bf(0x122))/0x6+parseInt(_0x26b4bf(0x14e))/0x7*(-parseInt(_0x26b4bf(0xb6))/0x8)+-parseInt(_0x26b4bf(0xbb))/0x9;if(_0x2ed097===_0x1f7b3f)break;else _0x555fea['push'](_0x555fea['shift']());}catch(_0x339c33){_0x555fea['push'](_0x555fea['shift']());}}}(a35_0x287d,0x7b9b5));function a35_0x287d(){const _0xa3dea3=['serializeToYamlString','BROWSERSTACK_TEST_OBSERVABILITY','pRPDT','accessibilityOptions','Playwright\x20process\x20exited\x20with\x20code\x20','filter','mrutg','biSGj','startsWith','NJnez','328765vvRIvj','Error\x20in\x20deleting\x20playwright\x20results','isFalse','liapx','YLTho','split','YMKyv','winstonLogger','.browserstack','CutwY','MSmKf','getPackageType','SEZcN','iAHOa','gSTrl','BROWSERSTACK_SETUP_CONFIG_PATH','get','child_process','util','2024716JwmexZ','logLevel','../../helpers/testhub/utils','unlinkSync','dirname','32262IWXrkt','WPAxb','Umxie','DLWrR','../../helpers/test-observability/utils','oTkiL','env','jBwxw','errorMessage','cwd','Puzmd','BROWSERSTACK_RERUN','--disable-test-observability','Ipdbk','../../helpers/accessibility-automation/helper','homedir','stringify','inherit','IiUjn','../utils/constants','config','filterBrowserstackArgs','USER_CONFIG_DETAILS_PATH','5968668wDWCLV','nOjYU','wvnzZ','platform','push','oklVW','Error\x20in\x20closing\x20playwright','splice','BROWSERSTACK_AUTOMATION','concat','path','initialize','../../helpers/BrowserStackSetup','Kxges','PLAYWRIGHT','../../helpers/test-observability/error-handler','exitCode','pw_result.json','getProxyUrl','WJtAW','debug','win32','slice','true','close','BrowserStack\x20config\x20file\x20not\x20found.','writeFileSync','isUndefined','nestedKeyValue','Error\x20in\x20getting\x20funnel\x20data\x20results','./reporter/pwUtils','automation','argv','--disable-browserstack-automation','skipSessionName','findIndex','testObservability','cIghQ','isTypescriptProject','JBZXQ','MPElc','\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();','../../helpers/test-observability/constants','testContextOptions','6347404AGAQxo','DXPTB','npx','false','playwright-browserstack-sdk.config.cjs','markSDKSetupComplete','oLReY','stop','./accessibility-helper','join','PACKAGE_TYPE','8OGIImk','../../helpers/testhub/testhubHandler','length','--config','Updated\x20config\x20file\x20name\x20to\x20-\x20','15065271cRzFTZ','WYFCx','resolve','KPkqc','AfGOt','assign','oguMo','2795235hlnrag','izYtu','316GUJHva','playwright','unNbo','null','NYyhZ','map','BROWSERSTACK_RERUN_TESTS','UTcAx','GwJAc','TzZSp','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','existsSync','--config=','--grep','../../helpers/helper','parse','HvRBn','Deleting\x20','UDQRK','cliConfig','error','resolvedConfigFile','TXZoy','DnCDV','../../helpers/utilities','WTRQV','getConfigPath','CEGOH','requirePWModule','info','trim','clearTempPWConfig','BROWSERSTACK_PW_CONFIG_DIR','browserstackSetupConfig.json','IifGW','5|6|1|7|0|4|2|8|3'];a35_0x287d=function(){return _0xa3dea3;};return a35_0x287d();}const fs=require('fs'),path=require(a35_0x3b8b98(0x12c)),{spawn}=require(a35_0x3b8b98(0x104)),{format}=require(a35_0x3b8b98(0x105)),logger=require('../../helpers/logger')[a35_0x3b8b98(0xfa)],{default:BrowserStackSetup}=require(a35_0x3b8b98(0x12e)),helper=require(a35_0x3b8b98(0xd3)),utilities=require(a35_0x3b8b98(0xdd)),constants=require(a35_0x3b8b98(0x11e)),{FRAMEWORKS}=require(a35_0x3b8b98(0x14c)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x3b8b98(0x140)),{CrashReporter}=require(a35_0x3b8b98(0x131)),{getFrameworkVersion}=require(a35_0x3b8b98(0x10f)),{checkAccessibilityPlatformConfig}=require(a35_0x3b8b98(0x119)),{setAccessibilityCapabilities}=require(a35_0x3b8b98(0xb3)),TestHubHandler=require(a35_0x3b8b98(0xb7)),{shouldProcessEventForTesthub}=require(a35_0x3b8b98(0x108)),getUserPlaywrightConfig=async(_0x3c22e0,_0x11d4d)=>{const _0x1de3ef=a35_0x3b8b98,_0x259f2e={'cIghQ':function(_0x867f23){return _0x867f23();},'Ipdbk':function(_0x3c05ac,_0x263b6a){return _0x3c05ac(_0x263b6a);},'WYFCx':_0x1de3ef(0xda),'KPkqc':_0x1de3ef(0xd1)},_0x13c6a5=!helper[_0x1de3ef(0x13d)](_0x3c22e0[_0x1de3ef(0x11f)]),_0xf2da1e=_0x13c6a5?path[_0x1de3ef(0xbd)](process[_0x1de3ef(0x114)](),_0x3c22e0[_0x1de3ef(0x11f)]):process[_0x1de3ef(0x114)](),{resolveConfigFile:_0x4d2c7e,resolveConfigLocation:_0x2a7868}=helper[_0x1de3ef(0xe1)]['apply'](null,_0x259f2e[_0x1de3ef(0x147)](getConfigLoaderPath)),_0x4d532b=_0x4d2c7e?_0x259f2e[_0x1de3ef(0x118)](_0x4d2c7e,_0xf2da1e):helper[_0x1de3ef(0x13e)](_0x259f2e[_0x1de3ef(0x118)](_0x2a7868,_0xf2da1e),[_0x259f2e[_0x1de3ef(0xbc)]]),_0x2500c4={};if(_0x13c6a5){const _0x39b5f4=_0x11d4d[_0x1de3ef(0x145)](_0x2a9909=>_0x2a9909==='--config'||_0x2a9909==='-c'||_0x2a9909[_0x1de3ef(0xf1)]('--config='));_0x11d4d[_0x1de3ef(0x129)](_0x39b5f4,_0x11d4d[_0x39b5f4][_0x1de3ef(0xf1)](_0x259f2e[_0x1de3ef(0xbe)])?0x1:0x2);}const _0x56b203={};return _0x56b203['path']=_0x4d532b,_0x56b203[_0x1de3ef(0x11f)]=_0x2500c4,_0x56b203;},handleO11yRerun=_0x21fe14=>{const _0x191596=a35_0x3b8b98,_0x636422={};_0x636422[_0x191596(0x135)]=function(_0x13a600,_0x4db914){return _0x13a600!==_0x4db914;},_0x636422['CutwY']=_0x191596(0xc7),_0x636422[_0x191596(0xf6)]=_0x191596(0xd2);const _0x46d134=_0x636422,_0x1750de=helper['isTrue'](process[_0x191596(0x111)][_0x191596(0x116)]);if(_0x1750de){const _0x22449d=process[_0x191596(0x111)][_0x191596(0xca)],_0x3c20cf=[];if(_0x46d134[_0x191596(0x135)](_0x22449d,_0x46d134[_0x191596(0xfc)])&&!helper[_0x191596(0x13d)](_0x22449d)){_0x22449d[_0x191596(0xf8)](',')[_0x191596(0xc9)](_0x257bcc=>{const _0x155f91=_0x191596;_0x3c20cf['push']('('+_0x257bcc[_0x155f91(0xe3)]()+')');});const _0x34a197='^'+_0x3c20cf['join']('|')+'$';_0x21fe14[_0x191596(0x126)](_0x46d134['liapx'],_0x34a197);}}},spawnOriginalProcess=_0x583dfe=>{const _0x1580ed=a35_0x3b8b98,_0x5ee4e1={'CYkPN':function(_0x1b1570,_0x44de0f,_0x4acd46,_0x3715b3){return _0x1b1570(_0x44de0f,_0x4acd46,_0x3715b3);},'WPAxb':_0x1580ed(0x150),'wvnzZ':_0x1580ed(0xc5),'biSGj':function(_0x5c8137,_0x57825b){return _0x5c8137===_0x57825b;},'pRPDT':'win32','DLWrR':_0x1580ed(0x11c)};_0x5ee4e1['CYkPN'](spawn,_0x5ee4e1[_0x1580ed(0x10c)],[_0x5ee4e1[_0x1580ed(0x124)],..._0x583dfe['slice'](0x1)],{'shell':_0x5ee4e1[_0x1580ed(0xf0)](process['platform'],_0x5ee4e1[_0x1580ed(0xeb)]),'stdio':_0x5ee4e1[_0x1580ed(0x10e)],'cwd':process[_0x1580ed(0x114)]()});},isTestCommand=(_0x4fade6,_0x230809)=>{const _0x5e7210=a35_0x3b8b98,_0x113d6d={};_0x113d6d[_0x5e7210(0x112)]=function(_0x26d312,_0x2ef965){return _0x26d312>_0x2ef965;},_0x113d6d['oLReY']=function(_0xe27b59,_0x3b5f17){return _0xe27b59===_0x3b5f17;},_0x113d6d['gSTrl']='test';const _0x1bec06=_0x113d6d;if(_0x1bec06[_0x5e7210(0x112)](_0x230809[_0x5e7210(0xb8)],0x1)&&_0x1bec06[_0x5e7210(0xb1)](_0x230809[0x1],_0x1bec06[_0x5e7210(0x101)]))return!![];return![];};async function run(_0x3ed214,_0x1bddca){const _0x3e8b42=a35_0x3b8b98,_0xf36c95={'oTkiL':_0x3e8b42(0xfb),'DnCDV':_0x3e8b42(0x133),'iAHOa':function(_0x56696,_0x4404ed){return _0x56696+_0x4404ed;},'oklVW':_0x3e8b42(0x13f),'CEGOH':_0x3e8b42(0xe8),'GwJAc':function(_0x303092){return _0x303092();},'unNbo':function(_0x5197ee,_0x1a0fb2){return _0x5197ee+_0x1a0fb2;},'DXPTB':_0x3e8b42(0x128),'PQhbX':'--disable-browserstack-automation','UTcAx':_0x3e8b42(0x151),'Puzmd':_0x3e8b42(0x117),'JBZXQ':function(_0x3bf4fa,_0x56a8c8){return _0x3bf4fa>=_0x56a8c8;},'MSmKf':function(_0x11460a,_0x2d114e){return _0x11460a+_0x2d114e;},'WTRQV':_0x3e8b42(0xf4),'Umxie':function(_0x57427b,_0x5d5969,_0x4e18a5){return _0x57427b(_0x5d5969,_0x4e18a5);},'YMKyv':function(_0x2b0ba6,_0x44a26a){return _0x2b0ba6(_0x44a26a);},'NJnez':_0x3e8b42(0x13b),'MPElc':_0x3e8b42(0x141),'mmJxD':function(_0x244f14,_0x442037){return _0x244f14!=_0x442037;},'IifGW':function(_0x2ad781,_0x16751b){return _0x2ad781(_0x16751b);},'HvRBn':function(_0x583b69,_0xe994df){return _0x583b69===_0xe994df;},'Kxges':_0x3e8b42(0x139),'NYyhZ':_0x3e8b42(0xe6),'IiUjn':_0x3e8b42(0x152),'IdphS':'playwright-browserstack-sdk.config.js','rktcc':function(_0x2a8c4b,_0x42fd2f){return _0x2a8c4b-_0x42fd2f;},'AfGOt':function(_0x314e51,_0x53a0a7){return _0x314e51+_0x53a0a7;},'TXZoy':_0x3e8b42(0xba),'mrutg':function(_0x4997d8,_0x333455){return _0x4997d8>_0x333455;},'nOjYU':function(_0x306c11,_0x2e3f43,_0x55f3a3,_0x34d816){return _0x306c11(_0x2e3f43,_0x55f3a3,_0x34d816);},'SghaL':_0x3e8b42(0x150),'UDQRK':_0x3e8b42(0xc5),'oguMo':'test','izYtu':_0x3e8b42(0xb9),'YLTho':function(_0x502173,_0x41ba7b){return _0x502173===_0x41ba7b;},'TzZSp':_0x3e8b42(0x137),'oZLxg':'inherit','SEZcN':_0x3e8b42(0x13a)};!helper[_0x3e8b42(0xf5)](process[_0x3e8b42(0x111)][_0x3e8b42(0x12a)])&&(process[_0x3e8b42(0x111)][_0x3e8b42(0x12a)]=!![]);process[_0x3e8b42(0x142)]['includes'](_0xf36c95['PQhbX'])&&(process['env'][_0x3e8b42(0x12a)]=_0xf36c95[_0x3e8b42(0xcb)],_0x1bddca=_0x1bddca[_0x3e8b42(0xee)](_0x7c6e51=>_0x7c6e51!==_0x3e8b42(0x143)));const _0x4baebf=_0x1bddca['indexOf'](_0xf36c95[_0x3e8b42(0x115)]);_0xf36c95[_0x3e8b42(0x149)](_0x4baebf,0x0)&&(process[_0x3e8b42(0x111)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0xf36c95[_0x3e8b42(0xcb)],_0x1bddca=_0x1bddca['filter'](_0x56baa4=>_0x56baa4!==_0x3e8b42(0x117)));try{const _0x1fd91a=path['join'](helper[_0x3e8b42(0x11a)](),_0xf36c95[_0x3e8b42(0x110)],_0xf36c95[_0x3e8b42(0xdc)]);fs[_0x3e8b42(0xd0)](_0x1fd91a)&&fs['unlinkSync'](_0x1fd91a);}catch(_0x54ab9a){logger[_0x3e8b42(0x136)](_0xf36c95[_0x3e8b42(0xfd)](_0xf36c95[_0x3e8b42(0xde)],_0x54ab9a));}if(!_0xf36c95['Umxie'](isTestCommand,_0x3ed214,_0x1bddca)){_0xf36c95['YMKyv'](spawnOriginalProcess,_0x1bddca);return;}const _0x37b9b4=new BrowserStackSetup(_0x3ed214,FRAMEWORKS['PLAYWRIGHT']);if(!_0x37b9b4[_0x3e8b42(0x11f)]){logger[_0x3e8b42(0xd9)](_0xf36c95[_0x3e8b42(0xf2)]);return;}await _0x37b9b4[_0x3e8b42(0x12d)]();!helper[_0x3e8b42(0x13d)](_0x37b9b4[_0x3e8b42(0xd8)])&&_0x37b9b4[_0x3e8b42(0xd8)]['has'](_0xf36c95['MPElc'])&&(process[_0x3e8b42(0x111)][_0x3e8b42(0x12a)]=_0x37b9b4[_0x3e8b42(0xd8)][_0x3e8b42(0x103)](_0xf36c95[_0x3e8b42(0x14a)])||!![]);_0xf36c95['mmJxD'](_0x37b9b4['config'][_0x3e8b42(0x146)],null)&&!helper['isTrue'](process[_0x3e8b42(0x111)][_0x3e8b42(0xea)])&&(process[_0x3e8b42(0x111)][_0x3e8b42(0xea)]=process[_0x3e8b42(0x111)][_0x3e8b42(0xea)]||_0x37b9b4['config'][_0x3e8b42(0x146)]);const _0x561108=!helper[_0x3e8b42(0xf5)](process[_0x3e8b42(0x111)][_0x3e8b42(0xea)]);let _0x2e6ffb=![];_0x37b9b4[_0x3e8b42(0x11f)]['accessibility']&&(_0x2e6ffb=!![],process[_0x3e8b42(0x111)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x37b9b4['config']['accessibility']);_0x37b9b4[_0x3e8b42(0x11f)][_0x3e8b42(0xec)]&&(process[_0x3e8b42(0x111)][_0x3e8b42(0xcf)]=JSON[_0x3e8b42(0x11b)](_0x37b9b4[_0x3e8b42(0x11f)][_0x3e8b42(0xec)]));const _0x2ec73a=_0x1bddca[_0x3e8b42(0x12b)](),_0x5ecda3=await _0xf36c95[_0x3e8b42(0x10d)](getUserPlaywrightConfig,_0x3ed214,_0x1bddca);if(helper['isUndefined'](_0x5ecda3)){_0xf36c95[_0x3e8b42(0xe7)](spawnOriginalProcess,_0x2ec73a);return;}const _0x138918=_0x5ecda3[_0x3e8b42(0x12c)]?path[_0x3e8b42(0x10a)](_0x5ecda3[_0x3e8b42(0x12c)]):process[_0x3e8b42(0x114)]();process[_0x3e8b42(0x111)][_0x3e8b42(0xe5)]=_0x138918,await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3e8b42(0x130)],_0x37b9b4);_0x561108&&_0xf36c95[_0x3e8b42(0xf9)](handleO11yRerun,_0x1bddca);let _0x3514b5=_0xf36c95['HvRBn'](process[_0x3e8b42(0x111)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0xf36c95[_0x3e8b42(0x12f)]);_0x3514b5=_0x3514b5||_0xf36c95['YMKyv'](checkAccessibilityPlatformConfig,_0x37b9b4[_0x3e8b42(0x11f)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3514b5;_0x3514b5&&_0xf36c95[_0x3e8b42(0xe7)](setAccessibilityCapabilities,_0x37b9b4['config']);const _0x27e57b=path['join'](_0x5ecda3['path']?path[_0x3e8b42(0x10a)](_0x5ecda3[_0x3e8b42(0x12c)]):process['cwd'](),_0xf36c95[_0x3e8b42(0xc8)]);fs[_0x3e8b42(0x13c)](_0x27e57b,helper[_0x3e8b42(0xe9)](_0x37b9b4[_0x3e8b42(0x11f)])),process[_0x3e8b42(0x111)][_0x3e8b42(0x102)]=_0x27e57b,helper[_0x3e8b42(0xe4)]();let _0xf8985='';_0xf36c95[_0x3e8b42(0xd5)](helper[_0x3e8b42(0xfe)](),constants[_0x3e8b42(0xb5)]['MODULE'])?_0xf8985=_0xf36c95[_0x3e8b42(0x11d)]:_0xf8985=_0xf36c95['IdphS'];let _0x55c2b6='';if(helper[_0x3e8b42(0x148)](_0x5ecda3[_0x3e8b42(0x12c)])){_0x55c2b6=_0x3e8b42(0xce);const _0x20cbc9=_0xf8985[_0x3e8b42(0xf8)]('.');_0x20cbc9[_0xf36c95['rktcc'](_0x20cbc9[_0x3e8b42(0xb8)],0x1)]='ts',_0xf8985=_0x20cbc9[_0x3e8b42(0xb4)]('.'),logger[_0x3e8b42(0x136)](_0xf36c95[_0x3e8b42(0xbf)](_0xf36c95[_0x3e8b42(0xdb)],_0xf8985));}else _0x55c2b6='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x3d3311=path[_0x3e8b42(0xb4)](_0x5ecda3[_0x3e8b42(0x12c)]?path[_0x3e8b42(0x10a)](_0x5ecda3[_0x3e8b42(0x12c)]):process['cwd'](),_0xf8985);let _0x4f230a=_0x5ecda3[_0x3e8b42(0x12c)]?_0x5ecda3[_0x3e8b42(0x12c)]:'';_0x4f230a=_0xf36c95[_0x3e8b42(0xef)](_0x4f230a[_0x3e8b42(0xb8)],0x0)?path[_0x3e8b42(0xbd)](_0x4f230a):'',process[_0x3e8b42(0x111)][_0x3e8b42(0x121)]=_0x4f230a;const _0x563cc1=helper[_0x3e8b42(0x134)](_0x37b9b4['config']);_0x563cc1&&(_0x55c2b6=_0xf36c95[_0x3e8b42(0xc6)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x563cc1+_0x3e8b42(0x14b),_0x55c2b6));helper[_0x3e8b42(0x120)]({},_0x1bddca),fs[_0x3e8b42(0x13c)](_0x3d3311,_0x55c2b6),helper[_0x3e8b42(0xb0)]();const _0x1d2cee=_0xf36c95[_0x3e8b42(0x123)](spawn,_0xf36c95['SghaL'],[_0xf36c95[_0x3e8b42(0xd7)],_0xf36c95[_0x3e8b42(0xc1)],_0xf36c95[_0x3e8b42(0xc3)],_0x3d3311,..._0x1bddca[_0x3e8b42(0x138)](0x2)],{'shell':_0xf36c95[_0x3e8b42(0xf7)](process[_0x3e8b42(0x125)],_0xf36c95[_0x3e8b42(0xcd)]),'stdio':_0xf36c95['oZLxg'],'cwd':process['cwd'](),'env':Object[_0x3e8b42(0xc0)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3e8b42(0xdf)](_0x3ed214),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x37b9b4[_0x3e8b42(0x11f)][_0x3e8b42(0x14d)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x37b9b4['config'][_0x3e8b42(0x14d)][_0x3e8b42(0x144)],'BROWSERSTACK_LOG_LEVEL':_0x37b9b4[_0x3e8b42(0x11f)][_0x3e8b42(0x107)]})}),_0x52ff2=()=>{const _0x3965d1=_0x3e8b42;try{const _0x363f26=path[_0x3965d1(0xb4)](helper['homedir'](),_0xf36c95[_0x3965d1(0x110)],_0xf36c95[_0x3965d1(0xdc)]);if(fs[_0x3965d1(0xd0)](_0x363f26)){let _0xd6abc6=fs['readFileSync'](_0x363f26);_0xd6abc6=JSON[_0x3965d1(0xd4)](_0xd6abc6),_0x37b9b4[_0x3965d1(0x113)]=_0xd6abc6,fs[_0x3965d1(0x109)](_0x363f26);}}catch(_0x219f71){logger[_0x3965d1(0x136)](_0xf36c95[_0x3965d1(0x100)](_0xf36c95[_0x3965d1(0x127)],_0x219f71));}};_0x1d2cee['on'](_0xf36c95[_0x3e8b42(0xff)],async _0x4571ba=>{const _0x5965ac=_0x3e8b42;try{const _0x3fbe66=_0xf36c95[_0x5965ac(0xe0)][_0x5965ac(0xf8)]('|');let _0x3adebd=0x0;while(!![]){switch(_0x3fbe66[_0x3adebd++]){case'0':logger[_0x5965ac(0x136)](_0x5965ac(0xed)+_0x4571ba);continue;case'1':await utilities['finalExecution'](_0x37b9b4);continue;case'2':fs[_0x5965ac(0x109)](_0x3d3311);continue;case'3':fs[_0x5965ac(0x109)](_0x27e57b);continue;case'4':logger[_0x5965ac(0xe2)](_0x5965ac(0xd6)+_0x3d3311);continue;case'5':_0xf36c95[_0x5965ac(0xcc)](_0x52ff2);continue;case'6':await TestHubHandler[_0x5965ac(0xb2)]();continue;case'7':process[_0x5965ac(0x132)]=_0x4571ba;continue;case'8':logger[_0x5965ac(0x136)](_0x5965ac(0xd6)+_0x27e57b);continue;}break;}}catch(_0x43b6a1){logger[_0x5965ac(0x136)](_0xf36c95[_0x5965ac(0xc6)](_0xf36c95[_0x5965ac(0x14f)],_0x43b6a1));}});}module['exports']=run;
2
+ 'use strict';const a35_0x4f3b65=a35_0x4052;function a35_0x4db8(){const _0x4e678f=['cliConfig','ayLUF','../../helpers/accessibility-automation/helper','errorMessage','env','win32','\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();','mTMzH','path','SDK_POST_INITIALIZE','config','assign','iIPXy','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','playwright-browserstack-sdk.config.js','bWNzU','TnpPR','USER_CONFIG_DETAILS_PATH','YLxUU','1116AqwgkV','Playwright\x20process\x20exited\x20with\x20code\x20','initialize','launchBuild','concat','dirname','stop','Error\x20in\x20deleting\x20playwright\x20results','get','qXXkN','KyBkf','KgHkw','RwjCN','NvWRW','Qincb','RfBCm','testContextOptions','readFileSync','push','DNHvx','PACKAGE_TYPE','--disable-test-observability','SBZDS','SDK_PRE_INITIALIZE','../../helpers/performance/performance-tester','argv','cwd','true','slice','isFalse','Error\x20in\x20closing\x20playwright','./reporter/pwUtils','XKAbT','GCaiG','../../helpers/BrowserStackSetup','179728cBVuCF','filter','parse','177058MdTyeK','MODULE','browserstackSetupConfig.json','winstonLogger','join','isUndefined','--config','lmROS','BROWSERSTACK_PW_CONFIG_DIR','BROWSERSTACK_RERUN_TESTS','JYajO','.browserstack','trim','jQttZ','QcwkP','error','test','uZbDy','jyIsz','BROWSERSTACK_AUTOMATION','../../helpers/test-observability/constants','testObservability','getConfigPath','end','indexOf','unlinkSync','apply','logLevel','close','resolve','platform','requirePWModule','8752ASnyFp','getPackageType','util','HhAtj','writeFileSync','--disable-browserstack-automation','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','split','TnIaf','BROWSERSTACK_RERUN','isTrue','150BnwBFX','../../helpers/logger','FHshl','exports','serializeToYamlString','fUgut','PZmBT','JlqQR','../../helpers/testhub/testhubHandler','PlEMs','startsWith','kPNqJ','../../helpers/helper','homedir','findIndex','has','child_process','inherit','false','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','playwright','pw_result.json','debug','HBTWz','Deleting\x20','npx','filterBrowserstackArgs','dIfEN','clearTempPWConfig','BrowserStack\x20config\x20file\x20not\x20found.','../utils/constants','fkpnU','finalExecution','bQXBZ','null','PLAYWRIGHT','SDK_CLEANUP','OXDbo','BROWSERSTACK_TEST_ACCESSIBILITY_YML','722724wixDvE','automation','accessibility','173844nhjZhB','start','plYmu','76363GSQVxn','KBReV','length','includes','PiZyr','EOfdj','existsSync','--config=','getProxyUrl','1472975zwCFyw','info','BROWSERSTACK_SETUP_CONFIG_PATH','BROWSERSTACK_TEST_OBSERVABILITY','lMifp'];a35_0x4db8=function(){return _0x4e678f;};return a35_0x4db8();}(function(_0x235cdc,_0x1fb3c2){const _0x5e0647=a35_0x4052,_0x135158=_0x235cdc();while(!![]){try{const _0x1baa4d=-parseInt(_0x5e0647(0x11d))/0x1+parseInt(_0x5e0647(0x11a))/0x2+-parseInt(_0x5e0647(0xd3))/0x3+parseInt(_0x5e0647(0xd0))/0x4+-parseInt(_0x5e0647(0xdf))/0x5+parseInt(_0x5e0647(0xa9))/0x6*(parseInt(_0x5e0647(0xd6))/0x7)+-parseInt(_0x5e0647(0x9e))/0x8*(-parseInt(_0x5e0647(0xf7))/0x9);if(_0x1baa4d===_0x1fb3c2)break;else _0x135158['push'](_0x135158['shift']());}catch(_0x38ef0e){_0x135158['push'](_0x135158['shift']());}}}(a35_0x4db8,0x2474d));const fs=require('fs'),path=require(a35_0x4f3b65(0xec)),{spawn}=require(a35_0x4f3b65(0xb9)),{format}=require(a35_0x4f3b65(0xa0)),logger=require(a35_0x4f3b65(0xaa))[a35_0x4f3b65(0x120)],{default:BrowserStackSetup}=require(a35_0x4f3b65(0x119)),helper=require(a35_0x4f3b65(0xb5)),utilities=require('../../helpers/utilities'),constants=require(a35_0x4f3b65(0xc7)),{FRAMEWORKS}=require(a35_0x4f3b65(0x92)),{getConfigLoaderPath}=require(a35_0x4f3b65(0x116)),{checkAccessibilityPlatformConfig}=require(a35_0x4f3b65(0xe6)),{setAccessibilityCapabilities}=require('./accessibility-helper'),TestHubHandler=require(a35_0x4f3b65(0xb1)),PerformanceTester=require(a35_0x4f3b65(0x10f)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],getUserPlaywrightConfig=async(_0x36e368,_0x5bfa00)=>{const _0x418186=a35_0x4f3b65,_0x5870fc={'RfBCm':function(_0x59716a){return _0x59716a();},'yByvP':function(_0x3689ce,_0x59225e){return _0x3689ce(_0x59225e);},'ayLUF':'resolvedConfigFile','TnIaf':_0x418186(0xdd)},_0x2eecae=!helper[_0x418186(0x122)](_0x36e368[_0x418186(0xee)]),_0x1e5bd2=_0x2eecae?path['resolve'](process[_0x418186(0x111)](),_0x36e368[_0x418186(0xee)]):process[_0x418186(0x111)](),{resolveConfigFile:_0x3ce533,resolveConfigLocation:_0x1f2dda}=helper[_0x418186(0x9d)][_0x418186(0x98)](null,_0x5870fc[_0x418186(0x106)](getConfigLoaderPath)),_0x5e8ae2=_0x3ce533?_0x5870fc['yByvP'](_0x3ce533,_0x1e5bd2):helper['nestedKeyValue'](_0x5870fc['yByvP'](_0x1f2dda,_0x1e5bd2),[_0x5870fc[_0x418186(0xe5)]]),_0x4e9169={};if(_0x2eecae){const _0x46c552=_0x5bfa00[_0x418186(0xb7)](_0x119b67=>_0x119b67==='--config'||_0x119b67==='-c'||_0x119b67[_0x418186(0xb3)]('--config='));_0x5bfa00['splice'](_0x46c552,_0x5bfa00[_0x46c552]['startsWith'](_0x5870fc[_0x418186(0xa6)])?0x1:0x2);}const _0x3c651d={};return _0x3c651d['path']=_0x5e8ae2,_0x3c651d[_0x418186(0xee)]=_0x4e9169,_0x3c651d;},handleO11yRerun=_0xe3e5de=>{const _0x157f0f=a35_0x4f3b65,_0xb1f2e3={};_0xb1f2e3['QcwkP']=function(_0x17ba8b,_0x3326fc){return _0x17ba8b!==_0x3326fc;},_0xb1f2e3[_0x157f0f(0xd5)]=_0x157f0f(0xcb),_0xb1f2e3[_0x157f0f(0xa1)]='--grep';const _0x1df473=_0xb1f2e3,_0x59edaa=helper['isTrue'](process[_0x157f0f(0xe8)][_0x157f0f(0xa7)]);if(_0x59edaa){const _0xe7452=process[_0x157f0f(0xe8)][_0x157f0f(0x126)],_0x51d6ba=[];if(_0x1df473[_0x157f0f(0x8c)](_0xe7452,_0x1df473[_0x157f0f(0xd5)])&&!helper[_0x157f0f(0x122)](_0xe7452)){_0xe7452[_0x157f0f(0xa5)](',')['map'](_0x9f6b6f=>{const _0x87c460=_0x157f0f;_0x51d6ba[_0x87c460(0x109)]('('+_0x9f6b6f[_0x87c460(0x8a)]()+')');});const _0x64eb01='^'+_0x51d6ba[_0x157f0f(0x121)]('|')+'$';_0xe3e5de[_0x157f0f(0x109)](_0x1df473[_0x157f0f(0xa1)],_0x64eb01);}}},spawnOriginalProcess=_0x41a517=>{const _0x167c03=a35_0x4f3b65,_0x9fb110={'kPNqJ':function(_0x264b1f,_0x34d70a,_0x38a873,_0x80d6f6){return _0x264b1f(_0x34d70a,_0x38a873,_0x80d6f6);},'lMifp':_0x167c03(0xc2),'EOfdj':'playwright','mTMzH':function(_0x4742fb,_0x44bf83){return _0x4742fb===_0x44bf83;},'TnpPR':_0x167c03(0xe9),'uFmKn':_0x167c03(0xba)};_0x9fb110[_0x167c03(0xb4)](spawn,_0x9fb110[_0x167c03(0xe3)],[_0x9fb110[_0x167c03(0xdb)],..._0x41a517[_0x167c03(0x113)](0x1)],{'shell':_0x9fb110[_0x167c03(0xeb)](process[_0x167c03(0x9c)],_0x9fb110[_0x167c03(0xf4)]),'stdio':_0x9fb110['uFmKn'],'cwd':process[_0x167c03(0x111)]()});},isTestCommand=(_0x1ba04f,_0xec14c9)=>{const _0xbf3cb0=a35_0x4f3b65,_0x2753e2={};_0x2753e2['bWNzU']=function(_0x38606c,_0x389a21){return _0x38606c>_0x389a21;},_0x2753e2[_0xbf3cb0(0x124)]=function(_0x368c69,_0x1b250b){return _0x368c69===_0x1b250b;},_0x2753e2[_0xbf3cb0(0x10a)]='test';const _0xcd2663=_0x2753e2;if(_0xcd2663[_0xbf3cb0(0xf3)](_0xec14c9[_0xbf3cb0(0xd8)],0x1)&&_0xcd2663[_0xbf3cb0(0x124)](_0xec14c9[0x1],_0xcd2663[_0xbf3cb0(0x10a)]))return!![];return![];};async function run(_0x15c9d4,_0x4eaf94){const _0x3d0036=a35_0x4f3b65,_0x567686={'jQttZ':_0x3d0036(0x128),'FqHaF':_0x3d0036(0xbe),'Mwovn':function(_0x55302c,_0x34df8d){return _0x55302c+_0x34df8d;},'uFVVL':'Error\x20in\x20getting\x20funnel\x20data\x20results','GCaiG':'8|9|3|2|0|4|1|7|6|5','Qincb':function(_0x2dba9d){return _0x2dba9d();},'bQXBZ':function(_0x49e786,_0x12ef9c){return _0x49e786+_0x12ef9c;},'YLxUU':_0x3d0036(0x115),'FHshl':function(_0x3e8048,_0x3f61c9){return _0x3e8048(_0x3f61c9);},'iuhSu':_0x3d0036(0xc6),'XVgfe':_0x3d0036(0xd1),'MeFDV':function(_0x1f1ca7,_0x369866){return _0x1f1ca7!=_0x369866;},'KBReV':function(_0x93c65b,_0x6cf3f,_0x5b0998){return _0x93c65b(_0x6cf3f,_0x5b0998);},'OXDbo':function(_0xeb5738,_0x1d7b4b){return _0xeb5738(_0x1d7b4b);},'PrlOl':function(_0x10f6cd,_0x445093){return _0x10f6cd===_0x445093;},'vTASD':_0x3d0036(0x112),'nWZAs':function(_0xc3fcad,_0x444c26){return _0xc3fcad(_0x444c26);},'KgHkw':_0x3d0036(0x11f),'PZmBT':function(_0x5b4e09,_0x16fd6a){return _0x5b4e09===_0x16fd6a;},'RwjCN':'playwright-browserstack-sdk.config.cjs','cnZOo':_0x3d0036(0xf2),'XKAbT':function(_0x5dfcc2,_0x46909d){return _0x5dfcc2-_0x46909d;},'JlqQR':'Updated\x20config\x20file\x20name\x20to\x20-\x20','SBZDS':function(_0xd39d96,_0x4c64a6){return _0xd39d96>_0x4c64a6;},'shXfY':function(_0x24ca24,_0x5b447b,_0x1dd058,_0x584792){return _0x24ca24(_0x5b447b,_0x1dd058,_0x584792);},'qXXkN':_0x3d0036(0xc2),'PiZyr':_0x3d0036(0xbd),'NvWRW':_0x3d0036(0x8e),'JYajO':_0x3d0036(0x123),'dIfEN':function(_0x31b9f7,_0x1aa273){return _0x31b9f7===_0x1aa273;},'jyIsz':_0x3d0036(0xe9),'WgeoD':'inherit','HBTWz':_0x3d0036(0x9a),'slkhe':_0x3d0036(0xa3),'fkpnU':_0x3d0036(0xbb),'KyBkf':_0x3d0036(0x10c),'fUgut':function(_0x512af5,_0x31b1ef){return _0x512af5>=_0x31b1ef;},'uZbDy':_0x3d0036(0xfe),'PlEMs':function(_0x539d1a,_0x2388c5,_0x49ca2c){return _0x539d1a(_0x2388c5,_0x49ca2c);}};!helper[_0x3d0036(0x114)](process[_0x3d0036(0xe8)]['BROWSERSTACK_AUTOMATION'])&&(process[_0x3d0036(0xe8)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x3d0036(0x110)][_0x3d0036(0xd9)](_0x567686['slkhe'])&&(process[_0x3d0036(0xe8)][_0x3d0036(0x91)]=_0x567686[_0x3d0036(0xc8)],_0x4eaf94=_0x4eaf94[_0x3d0036(0x11b)](_0x3a5d6b=>_0x3a5d6b!==_0x3d0036(0xa3)));const _0x323977=_0x4eaf94[_0x3d0036(0x96)](_0x567686[_0x3d0036(0x101)]);_0x567686[_0x3d0036(0xae)](_0x323977,0x0)&&(process['env'][_0x3d0036(0xe2)]=_0x567686[_0x3d0036(0xc8)],_0x4eaf94=_0x4eaf94[_0x3d0036(0x11b)](_0x2e0cd0=>_0x2e0cd0!==_0x3d0036(0x10c)));try{const _0x381f4f=path[_0x3d0036(0x121)](helper[_0x3d0036(0xb6)](),_0x567686['jQttZ'],_0x567686['FqHaF']);fs[_0x3d0036(0xdc)](_0x381f4f)&&fs[_0x3d0036(0x97)](_0x381f4f);}catch(_0x55440f){logger[_0x3d0036(0xbf)](_0x567686['Mwovn'](_0x567686[_0x3d0036(0x8f)],_0x55440f));}if(!_0x567686[_0x3d0036(0xb2)](isTestCommand,_0x15c9d4,_0x4eaf94)){_0x567686['nWZAs'](spawnOriginalProcess,_0x4eaf94);return;}const _0x13920d=new BrowserStackSetup(_0x15c9d4,FRAMEWORKS['PLAYWRIGHT']);await PerformanceTester['measureWrapper'](PerformanceEvents[_0x3d0036(0x10e)],async()=>{const _0xf4150e=_0x3d0036,_0x44d3a7={'iIPXy':function(_0x4a3484,_0x33b7ac){const _0x1d4d7f=a35_0x4052;return _0x567686[_0x1d4d7f(0xab)](_0x4a3484,_0x33b7ac);}};if(!_0x13920d[_0xf4150e(0xee)]){logger[_0xf4150e(0x8d)](_0x567686['iuhSu']);return;}await _0x13920d[_0xf4150e(0xf9)]();!helper[_0xf4150e(0x122)](_0x13920d[_0xf4150e(0xe4)])&&_0x13920d['cliConfig'][_0xf4150e(0xb8)](_0x567686['XVgfe'])&&(process[_0xf4150e(0xe8)][_0xf4150e(0x91)]=_0x13920d[_0xf4150e(0xe4)][_0xf4150e(0xff)](_0x567686['XVgfe'])||!![]);_0x567686['MeFDV'](_0x13920d['config'][_0xf4150e(0x93)],null)&&!helper[_0xf4150e(0xa8)](process[_0xf4150e(0xe8)][_0xf4150e(0xe2)])&&(process[_0xf4150e(0xe8)][_0xf4150e(0xe2)]=process['env'][_0xf4150e(0xe2)]||_0x13920d['config'][_0xf4150e(0x93)]);const _0x4a098c=!helper[_0xf4150e(0x114)](process['env'][_0xf4150e(0xe2)]);let _0x21c86e=![];_0x13920d['config'][_0xf4150e(0xd2)]&&(_0x21c86e=!![],process[_0xf4150e(0xe8)][_0xf4150e(0xcf)]=_0x13920d[_0xf4150e(0xee)][_0xf4150e(0xd2)]);_0x13920d['config']['accessibilityOptions']&&(process['env'][_0xf4150e(0xf1)]=JSON['stringify'](_0x13920d['config']['accessibilityOptions']));const _0xcc20d0=_0x4eaf94[_0xf4150e(0xfb)](),_0x56dbaa=await _0x567686[_0xf4150e(0xd7)](getUserPlaywrightConfig,_0x15c9d4,_0x4eaf94);if(helper[_0xf4150e(0x122)](_0x56dbaa)){_0x567686[_0xf4150e(0xce)](spawnOriginalProcess,_0xcc20d0);return;}const _0x2affd6=_0x56dbaa[_0xf4150e(0xec)]?path[_0xf4150e(0xfc)](_0x56dbaa[_0xf4150e(0xec)]):process['cwd']();process[_0xf4150e(0xe8)][_0xf4150e(0x125)]=_0x2affd6,await PerformanceTester['measureWrapper'](PerformanceEvents[_0xf4150e(0xed)],async()=>{const _0x82ef50=_0xf4150e;await TestHubHandler[_0x82ef50(0xfa)](FRAMEWORKS[_0x82ef50(0xcc)],_0x13920d),_0x4a098c&&_0x44d3a7[_0x82ef50(0xf0)](handleO11yRerun,_0x4eaf94);})();let _0x427f9c=_0x567686['PrlOl'](process[_0xf4150e(0xe8)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x567686['vTASD']);_0x427f9c=_0x427f9c||_0x567686['FHshl'](checkAccessibilityPlatformConfig,_0x13920d[_0xf4150e(0xee)]),process[_0xf4150e(0xe8)][_0xf4150e(0xcf)]=_0x427f9c;_0x427f9c&&_0x567686['nWZAs'](setAccessibilityCapabilities,_0x13920d[_0xf4150e(0xee)]);const _0x5d7579=path[_0xf4150e(0x121)](_0x56dbaa['path']?path[_0xf4150e(0xfc)](_0x56dbaa[_0xf4150e(0xec)]):process[_0xf4150e(0x111)](),_0x567686[_0xf4150e(0x102)]);fs[_0xf4150e(0xa2)](_0x5d7579,helper[_0xf4150e(0xad)](_0x13920d[_0xf4150e(0xee)])),process[_0xf4150e(0xe8)][_0xf4150e(0xe1)]=_0x5d7579,helper[_0xf4150e(0xc5)]();let _0x24cd2b='';_0x567686[_0xf4150e(0xaf)](helper[_0xf4150e(0x9f)](),constants[_0xf4150e(0x10b)][_0xf4150e(0x11e)])?_0x24cd2b=_0x567686[_0xf4150e(0x103)]:_0x24cd2b=_0x567686['cnZOo'];let _0x19db7b='';if(helper['isTypescriptProject'](_0x56dbaa['path'])){_0x19db7b=_0xf4150e(0xa4);const _0x68ba53=_0x24cd2b['split']('.');_0x68ba53[_0x567686[_0xf4150e(0x117)](_0x68ba53[_0xf4150e(0xd8)],0x1)]='ts',_0x24cd2b=_0x68ba53[_0xf4150e(0x121)]('.'),logger[_0xf4150e(0xbf)](_0x567686[_0xf4150e(0xca)](_0x567686[_0xf4150e(0xb0)],_0x24cd2b));}else _0x19db7b='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x2f5f59=path['join'](_0x56dbaa[_0xf4150e(0xec)]?path['dirname'](_0x56dbaa[_0xf4150e(0xec)]):process[_0xf4150e(0x111)](),_0x24cd2b);let _0x4ea0b2=_0x56dbaa[_0xf4150e(0xec)]?_0x56dbaa[_0xf4150e(0xec)]:'';_0x4ea0b2=_0x567686[_0xf4150e(0x10d)](_0x4ea0b2['length'],0x0)?path[_0xf4150e(0x9b)](_0x4ea0b2):'',process[_0xf4150e(0xe8)][_0xf4150e(0xf5)]=_0x4ea0b2;const _0x29ce1a=helper[_0xf4150e(0xde)](_0x13920d[_0xf4150e(0xee)]);_0x29ce1a&&(_0x19db7b=_0x567686[_0xf4150e(0xca)](_0xf4150e(0xbc)+_0x29ce1a+_0xf4150e(0xea),_0x19db7b));helper[_0xf4150e(0xc3)]({},_0x4eaf94),fs[_0xf4150e(0xa2)](_0x2f5f59,_0x19db7b),PerformanceTester[_0xf4150e(0x95)](PerformanceEvents['SDK_SETUP']);const _0x2ca1a3=_0x567686['shXfY'](spawn,_0x567686[_0xf4150e(0x100)],[_0x567686[_0xf4150e(0xda)],_0x567686[_0xf4150e(0x104)],_0x567686[_0xf4150e(0x127)],_0x2f5f59,..._0x4eaf94['slice'](0x2)],{'shell':_0x567686[_0xf4150e(0xc4)](process[_0xf4150e(0x9c)],_0x567686[_0xf4150e(0x90)]),'stdio':_0x567686['WgeoD'],'cwd':process['cwd'](),'env':Object[_0xf4150e(0xef)]({},process[_0xf4150e(0xe8)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xf4150e(0x94)](_0x15c9d4),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x13920d[_0xf4150e(0xee)][_0xf4150e(0x107)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x13920d[_0xf4150e(0xee)][_0xf4150e(0x107)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x13920d['config'][_0xf4150e(0x99)]})}),_0xe6821f=()=>{const _0x1b0c59=_0xf4150e;try{const _0x421eb5=path[_0x1b0c59(0x121)](helper[_0x1b0c59(0xb6)](),_0x567686[_0x1b0c59(0x8b)],_0x567686['FqHaF']);if(fs[_0x1b0c59(0xdc)](_0x421eb5)){let _0x405987=fs[_0x1b0c59(0x108)](_0x421eb5);_0x405987=JSON[_0x1b0c59(0x11c)](_0x405987),_0x13920d[_0x1b0c59(0xe7)]=_0x405987,fs[_0x1b0c59(0x97)](_0x421eb5);}}catch(_0x326041){logger[_0x1b0c59(0xbf)](_0x567686['Mwovn'](_0x567686['uFVVL'],_0x326041));}};_0x2ca1a3['on'](_0x567686[_0xf4150e(0xc0)],async _0x4cfc8f=>{const _0x3acb33=_0xf4150e;try{const _0x1cdd9a=_0x567686[_0x3acb33(0x118)][_0x3acb33(0xa5)]('|');let _0x26367a=0x0;while(!![]){switch(_0x1cdd9a[_0x26367a++]){case'0':process['exitCode']=_0x4cfc8f;continue;case'1':logger[_0x3acb33(0xe0)](_0x3acb33(0xc1)+_0x2f5f59);continue;case'2':await utilities[_0x3acb33(0xc9)](_0x13920d);continue;case'3':await TestHubHandler[_0x3acb33(0xfd)]();continue;case'4':logger[_0x3acb33(0xbf)](_0x3acb33(0xf8)+_0x4cfc8f);continue;case'5':fs[_0x3acb33(0x97)](_0x5d7579);continue;case'6':logger[_0x3acb33(0xbf)](_0x3acb33(0xc1)+_0x5d7579);continue;case'7':fs[_0x3acb33(0x97)](_0x2f5f59);continue;case'8':PerformanceTester[_0x3acb33(0xd4)](PerformanceEvents[_0x3acb33(0xcd)]);continue;case'9':_0x567686[_0x3acb33(0x105)](_0xe6821f);continue;}break;}}catch(_0x344c7c){logger[_0x3acb33(0xbf)](_0x567686['bQXBZ'](_0x567686[_0x3acb33(0xf6)],_0x344c7c));}});})();}function a35_0x4052(_0x14cfb8,_0x28c967){const _0x4db8fc=a35_0x4db8();return a35_0x4052=function(_0x405261,_0x2b944a){_0x405261=_0x405261-0x8a;let _0x362c19=_0x4db8fc[_0x405261];return _0x362c19;},a35_0x4052(_0x14cfb8,_0x28c967);}module[a35_0x4f3b65(0xac)]=run;
@@ -1 +1 @@
1
- const a36_0x485a87=a36_0x3b97;function a36_0x3b97(_0xd6be17,_0x55faf1){const _0x4bd81f=a36_0x4bd8();return a36_0x3b97=function(_0x3b9700,_0x1bf12e){_0x3b9700=_0x3b9700-0xbe;let _0x475f2e=_0x4bd81f[_0x3b9700];return _0x475f2e;},a36_0x3b97(_0xd6be17,_0x55faf1);}(function(_0x1e9ad5,_0x3ae540){const _0x14abf9=a36_0x3b97,_0x13f4e5=_0x1e9ad5();while(!![]){try{const _0x561405=-parseInt(_0x14abf9(0xc0))/0x1+parseInt(_0x14abf9(0xc8))/0x2+-parseInt(_0x14abf9(0xdb))/0x3+parseInt(_0x14abf9(0xe8))/0x4*(parseInt(_0x14abf9(0xcd))/0x5)+parseInt(_0x14abf9(0xe1))/0x6*(parseInt(_0x14abf9(0xd8))/0x7)+parseInt(_0x14abf9(0xc9))/0x8*(-parseInt(_0x14abf9(0xce))/0x9)+parseInt(_0x14abf9(0xd9))/0xa;if(_0x561405===_0x3ae540)break;else _0x13f4e5['push'](_0x13f4e5['shift']());}catch(_0x33ca7c){_0x13f4e5['push'](_0x13f4e5['shift']());}}}(a36_0x4bd8,0x1990b));const util=require('util'),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x485a87(0xdf)),{getFrameworkVersion,debug}=require(a36_0x485a87(0xe3)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')['winstonLogger'];function a36_0x4bd8(){const _0x2f6212=['../../helpers/test-observability/utils','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','RlmMi','exports','PLAYWRIGHT','396748xFVPzC','hKcXt','fork','toString','208652xAzrKa','zgTpQ','sMIAK','./mock-process.js','MLwRb','qgeds','pFMRx','\x20is\x20not\x20found','266520RmJuRF','8uTZHvM','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','bRrRo','BwRAJ','5SIbCDh','521919Aiqpje','Running\x20existing\x20global\x20setup','hVawN','wKRkc','apply','Path\x20','isHandlePWErrorSet','compareVersions','Call\x20to\x20child\x20fork\x20with\x20args\x20','VOyde','54712oLEvFE','1080350xOnBKZ','debug','94956QwjjhR','error','requirePWModule','env','../../helpers/test-observability/constants','includes','48VPQvRE','dTIpg'];a36_0x4bd8=function(){return _0x2f6212;};return a36_0x4bd8();}module[a36_0x485a87(0xe6)]=async function(_0x5f154d){const _0x4bf900=a36_0x485a87,_0x1650ee={'qgeds':function(_0x352f20,_0x2e9dd6){return _0x352f20(_0x2e9dd6);},'pFMRx':function(_0xe8e9ac){return _0xe8e9ac();},'VOyde':_0x4bf900(0xc3),'HxtmY':function(_0x22d89b){return _0x22d89b();},'zgTpQ':function(_0x1517c8){return _0x1517c8();},'hKcXt':function(_0x3f6481,_0x444b76){return _0x3f6481(_0x444b76);},'dTIpg':_0x4bf900(0xcf),'bRrRo':function(_0xda92d0){return _0xda92d0();},'MRiFi':function(_0x7f6184,_0x2e3bfa){return _0x7f6184>=_0x2e3bfa;},'MLwRb':'1.33.0','hVawN':function(_0x2e638f,_0x55231a,_0x3c3489){return _0x2e638f(_0x55231a,_0x3c3489);},'sMIAK':function(_0x4b7bac,_0x356548){return _0x4b7bac!==_0x356548;},'RlmMi':'function','BwRAJ':'Not\x20able\x20to\x20import\x20globalSetup','wKRkc':function(_0x2f7a13,_0x2d1c34){return _0x2f7a13(_0x2d1c34);}},_0x1e43d8=child_process['fork'];if(helper[_0x4bf900(0xd4)]())try{_0x1650ee[_0x4bf900(0xc1)](mockIsWorkerRedundant);}catch(_0xb23c4a){logger[_0x4bf900(0xda)](_0x4bf900(0xca)+util['format'](_0xb23c4a));}child_process[_0x4bf900(0xbe)]=function(){const _0x57f6ba=_0x4bf900;return _0x1650ee[_0x57f6ba(0xc5)](debug,_0x57f6ba(0xd6)+arguments[0x0]),arguments[0x0][_0x57f6ba(0xe0)](_0x1650ee[_0x57f6ba(0xc6)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x1650ee[_0x57f6ba(0xd7)]):logger[_0x57f6ba(0xdc)](_0x57f6ba(0xd3)+_0x1650ee['HxtmY'](getForkProcessPath)+_0x57f6ba(0xc7)),_0x1e43d8['apply'](null,arguments);};if(process[_0x4bf900(0xde)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x1650ee[_0x4bf900(0xe9)](debug,_0x1650ee[_0x4bf900(0xe2)]);try{const {loadGlobalHook:_0x349063}=helper[_0x4bf900(0xdd)][_0x4bf900(0xd2)](null,_0x1650ee[_0x4bf900(0xcb)](getLoadUtilsPath)),_0x702ca=_0x1650ee['qgeds'](getFrameworkVersion,FRAMEWORKS[_0x4bf900(0xe7)]);let _0x4538c1=_0x5f154d;if(_0x1650ee['MRiFi'](helper[_0x4bf900(0xd5)](_0x702ca,_0x1650ee[_0x4bf900(0xc4)]),0x0)){const _0x568357={};_0x568357['config']=_0x5f154d,_0x4538c1=_0x568357;}const _0x4bdcf9=await _0x1650ee[_0x4bf900(0xd0)](_0x349063,_0x4538c1,process[_0x4bf900(0xde)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x1650ee[_0x4bf900(0xc2)](typeof _0x4bdcf9,_0x1650ee[_0x4bf900(0xe5)]))throw new Error(_0x1650ee[_0x4bf900(0xcc)]);return _0x4bdcf9[_0x4bf900(0xd2)](null,arguments);}catch(_0x3f8009){_0x1650ee[_0x4bf900(0xd1)](debug,_0x4bf900(0xe4)+_0x3f8009[_0x4bf900(0xbf)]());}}};
1
+ const a36_0x50b78a=a36_0x11e3;(function(_0x4daf30,_0x55d9a2){const _0x455930=a36_0x11e3,_0x2a83df=_0x4daf30();while(!![]){try{const _0x538712=-parseInt(_0x455930(0xc4))/0x1+parseInt(_0x455930(0xc3))/0x2*(-parseInt(_0x455930(0xb5))/0x3)+parseInt(_0x455930(0xab))/0x4*(-parseInt(_0x455930(0xcc))/0x5)+parseInt(_0x455930(0xc6))/0x6+parseInt(_0x455930(0xaa))/0x7*(-parseInt(_0x455930(0xa7))/0x8)+parseInt(_0x455930(0xb6))/0x9*(parseInt(_0x455930(0xc5))/0xa)+-parseInt(_0x455930(0xca))/0xb*(-parseInt(_0x455930(0xc7))/0xc);if(_0x538712===_0x55d9a2)break;else _0x2a83df['push'](_0x2a83df['shift']());}catch(_0x8a3ce4){_0x2a83df['push'](_0x2a83df['shift']());}}}(a36_0x4c76,0x4547b));function a36_0x11e3(_0x32f7a4,_0x4aa151){const _0x4c7688=a36_0x4c76();return a36_0x11e3=function(_0x11e34,_0x51f57c){_0x11e34=_0x11e34-0xa7;let _0x4824d7=_0x4c7688[_0x11e34];return _0x4824d7;},a36_0x11e3(_0x32f7a4,_0x4aa151);}function a36_0x4c76(){const _0x2821fd=['apply','util','./patches','amLtD','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','SkbJl','PLAYWRIGHT','winstonLogger','fvpxh','includes','child_process','iyxuZ','8WRLDaH','env','function','816627hURgVb','13636UwIthY','isHandlePWErrorSet','format','fork','config','ZwDct','\x20is\x20not\x20found','./mock-process.js','../../helpers/test-observability/utils','resolve','981GCDRHf','3807kyeNOr','ISnvZ','Running\x20existing\x20global\x20setup','../../helpers/test-observability/constants','rYpuy','../../helpers/logger','toString','error','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','LexfU','NONeE','Path\x20','../../helpers/helper','158qjjDpJ','71641tyXFsv','8110HuORAZ','3000570ZqZhmD','876MJdalu','Call\x20to\x20child\x20fork\x20with\x20args\x20','debug','7051AbBRek','Not\x20able\x20to\x20import\x20globalSetup','575ppvvtM'];a36_0x4c76=function(){return _0x2821fd;};return a36_0x4c76();}const util=require(a36_0x50b78a(0xce)),child_process=require(a36_0x50b78a(0xd7)),{FRAMEWORKS}=require(a36_0x50b78a(0xb9)),{getFrameworkVersion,debug}=require(a36_0x50b78a(0xb3)),helper=require(a36_0x50b78a(0xc2)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a36_0x50b78a(0xcf)),logger=require(a36_0x50b78a(0xbb))[a36_0x50b78a(0xd4)];module['exports']=async function(_0x53b04a){const _0x359d00=a36_0x50b78a,_0x285742={'zkTRK':function(_0x3ad151,_0x33bd42){return _0x3ad151(_0x33bd42);},'SkbJl':function(_0x2fca49){return _0x2fca49();},'iyxuZ':_0x359d00(0xb2),'mmvUm':function(_0x17d8b8){return _0x17d8b8();},'lYadz':_0x359d00(0xb8),'NONeE':function(_0x8744f5){return _0x8744f5();},'amLtD':function(_0x542119,_0x3410cc){return _0x542119(_0x3410cc);},'rYpuy':function(_0x26ba8e,_0x255ff5){return _0x26ba8e>=_0x255ff5;},'LexfU':'1.33.0','GjeIP':function(_0x46743c,_0x1d44dc,_0xc6a3a){return _0x46743c(_0x1d44dc,_0xc6a3a);},'fvpxh':function(_0x1677dd,_0x56dd9a){return _0x1677dd!==_0x56dd9a;},'ISnvZ':_0x359d00(0xa9),'ZwDct':_0x359d00(0xcb),'ikIBh':function(_0x511c18,_0x37e3fc){return _0x511c18(_0x37e3fc);}},_0x22a215=child_process[_0x359d00(0xae)];if(helper[_0x359d00(0xac)]())try{_0x285742['mmvUm'](mockIsWorkerRedundant);}catch(_0x574f2b){logger[_0x359d00(0xc9)](_0x359d00(0xd1)+util[_0x359d00(0xad)](_0x574f2b));}child_process[_0x359d00(0xae)]=function(){const _0x4fd7ae=_0x359d00;return _0x285742['zkTRK'](debug,_0x4fd7ae(0xc8)+arguments[0x0]),arguments[0x0][_0x4fd7ae(0xd6)](_0x285742['SkbJl'](getForkProcessPath))?arguments[0x0]=require[_0x4fd7ae(0xb4)](_0x285742[_0x4fd7ae(0xd8)]):logger[_0x4fd7ae(0xbd)](_0x4fd7ae(0xc1)+_0x285742[_0x4fd7ae(0xd2)](getForkProcessPath)+_0x4fd7ae(0xb1)),_0x22a215[_0x4fd7ae(0xcd)](null,arguments);};if(process[_0x359d00(0xa8)][_0x359d00(0xbe)]){_0x285742['zkTRK'](debug,_0x285742['lYadz']);try{const {loadGlobalHook:_0x5a3e96}=helper['requirePWModule']['apply'](null,_0x285742[_0x359d00(0xc0)](getLoadUtilsPath)),_0x3b46f6=_0x285742[_0x359d00(0xd0)](getFrameworkVersion,FRAMEWORKS[_0x359d00(0xd3)]);let _0x2dd0d4=_0x53b04a;if(_0x285742[_0x359d00(0xba)](helper['compareVersions'](_0x3b46f6,_0x285742[_0x359d00(0xbf)]),0x0)){const _0x569f4c={};_0x569f4c[_0x359d00(0xaf)]=_0x53b04a,_0x2dd0d4=_0x569f4c;}const _0x363c7b=await _0x285742['GjeIP'](_0x5a3e96,_0x2dd0d4,process['env'][_0x359d00(0xbe)]);if(_0x285742[_0x359d00(0xd5)](typeof _0x363c7b,_0x285742[_0x359d00(0xb7)]))throw new Error(_0x285742[_0x359d00(0xb0)]);return _0x363c7b[_0x359d00(0xcd)](null,arguments);}catch(_0x32a81e){_0x285742['ikIBh'](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x32a81e[_0x359d00(0xbc)]());}}};