browserstack-node-sdk 1.34.38 → 1.34.40

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 (147) hide show
  1. package/ats/src/CFTemplates/hub-ha.yaml +81 -0
  2. package/ats/src/cloudproviders/AWS.js +1 -1
  3. package/ats/src/cloudproviders/Azure.js +1 -1
  4. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  6. package/ats/src/cloudproviders/utils.js +1 -1
  7. package/ats/src/commands/configure.js +1 -1
  8. package/ats/src/commands/connect.js +1 -1
  9. package/ats/src/commands/connect_commands/grid.js +1 -1
  10. package/ats/src/commands/create.js +1 -1
  11. package/ats/src/commands/create_commands/grid.js +1 -1
  12. package/ats/src/commands/delete.js +1 -1
  13. package/ats/src/commands/delete_commands/grid.js +1 -1
  14. package/ats/src/commands/init.js +1 -1
  15. package/ats/src/commands/list.js +1 -1
  16. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  17. package/ats/src/commands/list_commands/grids.js +1 -1
  18. package/ats/src/commands/start.js +1 -1
  19. package/ats/src/commands/start_commands/grid.js +1 -1
  20. package/ats/src/commands/stop.js +1 -1
  21. package/ats/src/commands/stop_commands/grid.js +1 -1
  22. package/ats/src/config/constants.js +1 -1
  23. package/ats/src/config/logger.js +1 -1
  24. package/ats/src/index.js +1 -1
  25. package/ats/src/templates/browserstack-secret.yaml +10 -0
  26. package/ats/src/templates/hub-deployment.yaml +25 -3
  27. package/ats/src/templates/hubharesources/bitnami-kafka.yaml +711 -0
  28. package/ats/src/templates/hubharesources/bitnami-redis.yaml +1048 -0
  29. package/ats/src/templates/hubharesources/browserstack-secret.yaml +10 -0
  30. package/ats/src/templates/hubharesources/efs-csi-driver-aws.yaml +401 -0
  31. package/ats/src/templates/hubharesources/federatedidentityuploader.json +50 -0
  32. package/ats/src/templates/hubharesources/storage-class.yaml +12 -0
  33. package/ats/src/templates/hubharesources/turboscale-uploader.yaml +53 -0
  34. package/ats/src/templates/nginx/helper.yaml +1 -0
  35. package/ats/src/templates/nginx/private-pods-and-services.yaml +1 -0
  36. package/ats/src/templates/turboscale-agent.yaml +0 -8
  37. package/ats/src/utils/AWSUtils.js +1 -1
  38. package/ats/src/utils/createAutoscalerStack.js +1 -1
  39. package/ats/src/utils/createClusterStack.js +1 -1
  40. package/ats/src/utils/createHubHaStack.js +1 -0
  41. package/ats/src/utils/createk8sClient.js +1 -1
  42. package/ats/src/utils/deleteEFSMountTargets.js +1 -0
  43. package/ats/src/utils/deleteStack.js +1 -1
  44. package/ats/src/utils/describeStack.js +1 -0
  45. package/ats/src/utils/gridComponents.js +1 -1
  46. package/ats/src/utils/hstUtils.js +1 -1
  47. package/ats/src/utils/instrumentationUtils.js +1 -1
  48. package/ats/src/utils/userInput.js +1 -1
  49. package/ats/src/utils/utilityMethods.js +1 -1
  50. package/ats/src/utils/webSocketUtils.js +1 -1
  51. package/package.json +1 -1
  52. package/src/ai-sdk-node/bundle.js +1 -1
  53. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  54. package/src/bin/codeceptjs/command.js +1 -1
  55. package/src/bin/codeceptjs/helper.js +1 -1
  56. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  57. package/src/bin/cucumber-js/command.js +1 -1
  58. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  59. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  60. package/src/bin/cucumber-js/test-observability.js +1 -1
  61. package/src/bin/cucumber-js/test.setup.js +1 -1
  62. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  63. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  64. package/src/bin/integrations/command.js +1 -1
  65. package/src/bin/integrations/constants.js +1 -1
  66. package/src/bin/jest/command.js +1 -1
  67. package/src/bin/jest/customImplements/customCircus.js +1 -1
  68. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  69. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  70. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  71. package/src/bin/jest/jest.setup.js +1 -1
  72. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  73. package/src/bin/jest/test-observability/helper.js +1 -1
  74. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  75. package/src/bin/jest/test-observability/test-details.js +1 -1
  76. package/src/bin/jest/test_before.setup.js +1 -1
  77. package/src/bin/launcher/launcher.js +1 -1
  78. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  79. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  80. package/src/bin/mocha/command.js +1 -1
  81. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/playwright/accessibility-helper.js +1 -1
  87. package/src/bin/playwright/command.js +1 -1
  88. package/src/bin/playwright/globalSetup.js +1 -1
  89. package/src/bin/playwright/mock-process.js +1 -1
  90. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  91. package/src/bin/playwright/patches.js +1 -1
  92. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  93. package/src/bin/playwright/reporter/reporter.js +1 -1
  94. package/src/bin/playwright/reporter/test-details.js +1 -1
  95. package/src/bin/playwright/sessionDetails.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/constants.js +1 -1
  102. package/src/bin/utils/log4jsAppender.js +1 -1
  103. package/src/bin/utils/logPatcher.js +1 -1
  104. package/src/bin/utils/logReportingAPI.js +1 -1
  105. package/src/bin/vanilla-js/command.js +1 -1
  106. package/src/browserStackSdk.js +1 -1
  107. package/src/helpers/BrowserStackSetup.js +1 -1
  108. package/src/helpers/accessibility-automation/constants.js +1 -1
  109. package/src/helpers/accessibility-automation/helper.js +1 -1
  110. package/src/helpers/accessibility-automation/scripts.js +1 -1
  111. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  112. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  113. package/src/helpers/ats/constants.js +1 -1
  114. package/src/helpers/ats/helper.js +1 -1
  115. package/src/helpers/capsMapping.js +1 -1
  116. package/src/helpers/central-scanner/constants.js +1 -1
  117. package/src/helpers/central-scanner/helpers.js +1 -1
  118. package/src/helpers/globals.js +1 -1
  119. package/src/helpers/helper.js +1 -1
  120. package/src/helpers/logger.js +1 -1
  121. package/src/helpers/patchHelper.js +1 -1
  122. package/src/helpers/patchHelpers.js +1 -1
  123. package/src/helpers/percy/Percy.js +1 -1
  124. package/src/helpers/percy/PercyBinary.js +1 -1
  125. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  126. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  127. package/src/helpers/percy/PercySDK.js +1 -1
  128. package/src/helpers/percy/index.js +1 -1
  129. package/src/helpers/percy/utils.js +1 -1
  130. package/src/helpers/performance/constants.js +1 -1
  131. package/src/helpers/performance/performance-tester.js +1 -1
  132. package/src/helpers/processHelper.js +1 -1
  133. package/src/helpers/request-spy.js +1 -1
  134. package/src/helpers/setKeepAlive.js +1 -1
  135. package/src/helpers/test-observability/constants.js +1 -1
  136. package/src/helpers/test-observability/error-handler.js +1 -1
  137. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  138. package/src/helpers/test-observability/sessionHandler.js +1 -1
  139. package/src/helpers/test-observability/utils.js +1 -1
  140. package/src/helpers/testhub/constants.js +1 -1
  141. package/src/helpers/testhub/testhubHandler.js +1 -1
  142. package/src/helpers/testhub/utils.js +1 -1
  143. package/src/helpers/timeoutPromise.js +1 -1
  144. package/src/helpers/utilities.js +1 -1
  145. package/src/helpers/w3cMapping.js +1 -1
  146. package/src/hubAllocationMethods.js +1 -1
  147. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x9f7474=a29_0x1a62;function a29_0x2ef3(){const _0x27bfd8=['https://','dFHVi','Modifying\x20webdriver\x20builder','setGlobal','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','originalBuilder','error','safari.options','winstonLogger','1820556UoFPwK','global','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','isBrowserstackInfra','gGNlz','2679312djQFVf','zcWBt','ZsHSq','40412mdDPwz','ieOptions_','storeOptimalHubUrl','firefoxOptions_','updateHubUrl','then','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','get','TlRlF','info','optimalHubUrl','84ESWSmF','chromeOptions_','Xbxlb','IoUuD','capability','debug','caps_','oLmTY','safariOptions_','overrideGet','../../../hubAllocationMethods','requireHttpClient','getGlobal','setCapabilities','Lwmcj','forEach','agent_','/session','../../../helpers/accessibility-automation/helper','New\x20hub\x20url\x20set\x20to\x20','pIBBv','__driversArray','isPacProxy','../../../helpers/logger','goog:chromeOptions','CAPABILITY_KEY','../accessibility-automation/helper','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','proxyUrl','1647650zGVkmr','vllNf','../../../bin/utils/constants','chromeOptions','./helpers/patchHelper','keys','WEjmG','jyKut','mergeDeep','ltUER','JEMHU','isUndefined','capabilities_','ms:edgeOptions','jXhEa','__drivers','getAccessibilityResultsSummary','url_','browserstackAgentObservability','390njPuxI','Setting\x20Browserstack\x20capabilities','igLgi','send','dLHgz','/wd/hub','Proxy\x20set\x20to\x20','split','12443277oIbluT','setServer','push','dIUBi','quitCount_','getAccessibilityResults','BAcCJ','__setBrowserOptions','ouWlL','iFIed','edgeOptions','1477323CLhVmZ','browserStackLogLevel','Builder','ejvvX','__driver','435GEyAZg','getHubUrl','../../../helpers/globals','newHubUrl','HttpClient','SfSdI','edgeOptions_','proxySettings','set','path','options_','OQgur','UHcqk','128906tJAVKS','../../../helpers/helper','build'];a29_0x2ef3=function(){return _0x27bfd8;};return a29_0x2ef3();}(function(_0x2ce210,_0xa3b334){const _0x24e8bb=a29_0x1a62,_0x6446f1=_0x2ce210();while(!![]){try{const _0xf7739d=-parseInt(_0x24e8bb(0x1db))/0x1+-parseInt(_0x24e8bb(0x213))/0x2*(parseInt(_0x24e8bb(0x232))/0x3)+-parseInt(_0x24e8bb(0x227))/0x4*(parseInt(_0x24e8bb(0x206))/0x5)+parseInt(_0x24e8bb(0x21f))/0x6+-parseInt(_0x24e8bb(0x1f6))/0x7+parseInt(_0x24e8bb(0x224))/0x8+parseInt(_0x24e8bb(0x201))/0x9*(parseInt(_0x24e8bb(0x1ee))/0xa);if(_0xf7739d===_0xa3b334)break;else _0x6446f1['push'](_0x6446f1['shift']());}catch(_0x59713b){_0x6446f1['push'](_0x6446f1['shift']());}}}(a29_0x2ef3,0xe355f));function a29_0x1a62(_0x4904f9,_0x5d47a3){const _0x2ef3c3=a29_0x2ef3();return a29_0x1a62=function(_0x1a6268,_0x4b7e60){_0x1a6268=_0x1a6268-0x1cd;let _0x4786e7=_0x2ef3c3[_0x1a6268];return _0x4786e7;},a29_0x1a62(_0x4904f9,_0x5d47a3);}const logger=require(a29_0x9f7474(0x1d5))[a29_0x9f7474(0x21e)],helper=require(a29_0x9f7474(0x214)),constants=require(a29_0x9f7474(0x1dd)),hubAllocator=require(a29_0x9f7474(0x23c)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x9f7474(0x1d8)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x9f7474(0x1d0)),globals=require(a29_0x9f7474(0x208)),{overrideExecute}=require(a29_0x9f7474(0x1df)),modify=(_0x285f90,_0xd444ff=null,_0x4c6126=![])=>{const _0x2d642e=a29_0x9f7474,_0x4ee5e7={'Lwmcj':function(_0x54e39d,_0x299f6c){return _0x54e39d!==_0x299f6c;},'jXhEa':_0x2d642e(0x1cf),'gfEcX':function(_0x51ebbc,_0x7e5eda){return _0x51ebbc+_0x7e5eda;},'zcWBt':function(_0xf70abd,_0x4c7555){return _0xf70abd+_0x4c7555;},'SfSdI':_0x2d642e(0x216),'jyKut':_0x2d642e(0x1f3),'dFHVi':_0x2d642e(0x1d6),'dLHgz':_0x2d642e(0x1de),'UHcqk':_0x2d642e(0x1e8),'SayOe':_0x2d642e(0x200),'hMKgb':'moz:firefoxOptions','gGNlz':'firefoxOptions','ltUER':_0x2d642e(0x21d),'WEjmG':'se:ieOptions','hNhpG':'ieOptions','ouWlL':function(_0x238e57,_0x2dbc6a){return _0x238e57===_0x2dbc6a;},'zkcav':'object','igLgi':_0x2d642e(0x1ef),'DskNL':_0x2d642e(0x231),'blHns':_0x2d642e(0x22d),'BAcCJ':function(_0x1218b9,_0x2b83bf,_0x130159){return _0x1218b9(_0x2b83bf,_0x130159);},'TlRlF':function(_0x3f0ebb,_0x2c6a97){return _0x3f0ebb(_0x2c6a97);},'ZsHSq':function(_0x125f5b,_0x5ea21e,_0x193af5){return _0x125f5b(_0x5ea21e,_0x193af5);},'oLmTY':function(_0x1ab8e4,_0x53bc3b,_0x186a27){return _0x1ab8e4(_0x53bc3b,_0x186a27);},'sPuep':'3|0|2|1|4|5','dIUBi':function(_0x459aab){return _0x459aab();},'iFIed':'isAccessibilityPlatform','IoUuD':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','Xbxlb':function(_0x9e1161,_0x49008b){return _0x9e1161!==_0x49008b;},'OQgur':_0x2d642e(0x21a),'pIBBv':_0x2d642e(0x218)},_0x21998d=helper[_0x2d642e(0x23d)]();let _0x6b0085;try{_0x6b0085=helper['requireSeleniumWebdriver'](),_0x6b0085[_0x2d642e(0x21b)]&&(_0x6b0085[_0x2d642e(0x203)]=_0x6b0085[_0x2d642e(0x21b)]);}catch(_0x4cc857){return;}if(helper[_0x2d642e(0x222)]()){const _0x5a482c={};_0x5a482c['logLevel']=_0x285f90[_0x2d642e(0x202)],helper['setLogLevel'](_0x5a482c,new Map(),new Map()),logger[_0x2d642e(0x230)](_0x4ee5e7[_0x2d642e(0x211)]),logger[_0x2d642e(0x237)](_0x4ee5e7[_0x2d642e(0x1d2)]);}class _0x146b04 extends _0x21998d[_0x2d642e(0x20a)]{[_0x2d642e(0x1f1)](_0x4381b8){const _0x1f173a=_0x2d642e;if(_0x4ee5e7[_0x1f173a(0x240)](_0x4381b8[_0x1f173a(0x20f)],_0x4ee5e7[_0x1f173a(0x1e9)])&&_0x4ee5e7['Lwmcj'](global[_0x1f173a(0x209)],''))try{global[_0x1f173a(0x209)]=_0x4ee5e7['gfEcX'](_0x4ee5e7[_0x1f173a(0x225)](_0x4ee5e7[_0x1f173a(0x20b)],global[_0x1f173a(0x209)]),_0x4ee5e7[_0x1f173a(0x1e2)]),this[_0x1f173a(0x210)]=hubAllocator['getRequestOptions'](global[_0x1f173a(0x209)]),logger['debug'](_0x1f173a(0x1d1)+global[_0x1f173a(0x209)]),global[_0x1f173a(0x209)]='';}catch(_0x4853ca){logger[_0x1f173a(0x21c)](_0x4853ca);}return super[_0x1f173a(0x1f1)](_0x4381b8);}}class _0x3a4d40 extends _0x6b0085[_0x2d642e(0x203)]{[_0x2d642e(0x1f7)](){const _0x4f5c85=_0x2d642e;return this['url_']=helper[_0x4f5c85(0x207)](_0x285f90),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x4f5c85(0x1ec)]),this;}['__setBrowserOptions'](_0x1b1885){const _0x4b162b=_0x2d642e;let _0x2975b1={};for(const _0x6bfe8c in _0x1b1885){switch(_0x6bfe8c){case _0x4ee5e7[_0x4b162b(0x217)]:case _0x4ee5e7[_0x4b162b(0x1f2)]:this['chromeOptions_']&&(_0x2975b1=this[_0x4b162b(0x233)][_0x4b162b(0x22e)](this['chromeOptions_'][_0x4b162b(0x1d7)])||{},this[_0x4b162b(0x233)][_0x4b162b(0x20e)](this['chromeOptions_'][_0x4b162b(0x1d7)],helper[_0x4b162b(0x1e3)](_0x2975b1,_0x1b1885[_0x6bfe8c])));break;case _0x4ee5e7[_0x4b162b(0x212)]:case _0x4ee5e7['SayOe']:this[_0x4b162b(0x20c)]&&(_0x2975b1=this[_0x4b162b(0x20c)][_0x4b162b(0x22e)](this['edgeOptions_'][_0x4b162b(0x1d7)])||{},this['edgeOptions_']['set'](this['edgeOptions_'][_0x4b162b(0x1d7)],helper['mergeDeep'](_0x2975b1,_0x1b1885[_0x6bfe8c])));break;case _0x4ee5e7['hMKgb']:case _0x4ee5e7[_0x4b162b(0x223)]:this[_0x4b162b(0x22a)]&&(_0x2975b1=this[_0x4b162b(0x22a)][_0x4b162b(0x22e)](this[_0x4b162b(0x22a)][_0x4b162b(0x1d7)])||{},this[_0x4b162b(0x22a)][_0x4b162b(0x20e)](this[_0x4b162b(0x22a)][_0x4b162b(0x1d7)],helper[_0x4b162b(0x1e3)](_0x2975b1,_0x1b1885[_0x6bfe8c])));break;case _0x4ee5e7[_0x4b162b(0x1e4)]:this[_0x4b162b(0x23a)]&&(_0x2975b1=this[_0x4b162b(0x23a)][_0x4b162b(0x22e)](this[_0x4b162b(0x23a)]['CAPABILITY_KEY'])||{},this[_0x4b162b(0x23a)][_0x4b162b(0x20e)](this[_0x4b162b(0x23a)][_0x4b162b(0x1d7)],helper[_0x4b162b(0x1e3)](_0x2975b1,_0x1b1885[_0x6bfe8c])));break;case _0x4ee5e7[_0x4b162b(0x1e1)]:case _0x4ee5e7['hNhpG']:this[_0x4b162b(0x228)]&&(_0x2975b1=this[_0x4b162b(0x228)][_0x4b162b(0x22e)](this[_0x4b162b(0x228)][_0x4b162b(0x1d7)])||{},this[_0x4b162b(0x228)][_0x4b162b(0x20e)](this[_0x4b162b(0x228)][_0x4b162b(0x1d7)],helper[_0x4b162b(0x1e3)](_0x2975b1,_0x1b1885[_0x6bfe8c])));break;}}}[_0x2d642e(0x23f)](){const _0x12ec76=_0x2d642e,_0xf68b3={'vllNf':function(_0x6f60b1,_0x3eccac){const _0x3ba395=a29_0x1a62;return _0x4ee5e7[_0x3ba395(0x1fe)](_0x6f60b1,_0x3eccac);},'ejvvX':_0x4ee5e7['zkcav']};return logger[_0x12ec76(0x237)](_0x4ee5e7[_0x12ec76(0x1f0)]),this[_0x12ec76(0x1fd)](_0x285f90[_0x12ec76(0x236)]),Object[_0x12ec76(0x1e0)](_0x285f90['capability'])[_0x12ec76(0x1cd)](_0x5d02a9=>{const _0x121537=_0x12ec76,_0x552f74=this['capabilities_'][_0x121537(0x22e)](_0x5d02a9);_0xf68b3[_0x121537(0x1dc)](typeof _0x552f74,_0xf68b3[_0x121537(0x204)])?this[_0x121537(0x1e7)]['set'](_0x5d02a9,helper[_0x121537(0x1e3)](_0x552f74,_0x285f90[_0x121537(0x236)][_0x5d02a9])):this[_0x121537(0x1e7)][_0x121537(0x20e)](_0x5d02a9,_0x285f90[_0x121537(0x236)][_0x5d02a9]);}),this;}[_0x2d642e(0x215)](){const _0x1ca872=_0x2d642e,_0x13e89a={'JEMHU':function(_0x820810,_0x4086af,_0x5cdf9e){const _0x3e4df6=a29_0x1a62;return _0x4ee5e7[_0x3e4df6(0x239)](_0x820810,_0x4086af,_0x5cdf9e);},'TUfRQ':function(_0x4e4a18,_0xcee76c,_0x28deb5){const _0xdbc2e2=a29_0x1a62;return _0x4ee5e7[_0xdbc2e2(0x239)](_0x4e4a18,_0xcee76c,_0x28deb5);}};if(helper[_0x1ca872(0x222)]()){const _0x3503d9=_0x4ee5e7['sPuep'][_0x1ca872(0x1f5)]('|');let _0x731deb=0x0;while(!![]){switch(_0x3503d9[_0x731deb++]){case'0':this[_0x1ca872(0x1f7)]();continue;case'1':if(helper[_0x1ca872(0x1d4)](_0x285f90[_0x1ca872(0x20d)][_0x1ca872(0x1da)]))this[_0x1ca872(0x1ce)]=helper['getHttpAgent'](_0x285f90[_0x1ca872(0x20d)][_0x1ca872(0x1da)]);else _0x285f90[_0x1ca872(0x20d)][_0x1ca872(0x1da)]&&(this['proxy_']=_0x285f90[_0x1ca872(0x20d)][_0x1ca872(0x1da)],logger[_0x1ca872(0x237)](_0x1ca872(0x1f4)+this['proxy_']));continue;case'2':this['setCapabilities']();continue;case'3':_0x4ee5e7[_0x1ca872(0x1f9)](isAccessibilityAutomationSession)&&_0x4ee5e7[_0x1ca872(0x22f)](setAccessibilityCapabilities,_0x285f90);continue;case'4':globals[_0x1ca872(0x23e)](_0x4ee5e7[_0x1ca872(0x1ff)])&&(!_0x4ee5e7[_0x1ca872(0x239)](setExtension,this,_0x285f90)&&globals[_0x1ca872(0x219)](_0x4ee5e7[_0x1ca872(0x1ff)],![]));continue;case'5':logger[_0x1ca872(0x237)](_0x4ee5e7[_0x1ca872(0x235)]);continue;}break;}}const _0x1db84a=super[_0x1ca872(0x215)]();return _0x1db84a['session_'][_0x1ca872(0x22c)](_0x26021e=>{const _0x5e61d9=_0x1ca872;try{const _0x1d43c0=_0x26021e[_0x5e61d9(0x238)][_0x5e61d9(0x22e)](_0x4ee5e7['DskNL']);_0x1d43c0?(logger['debug'](_0x5e61d9(0x221)+_0x1d43c0),hubAllocator[_0x5e61d9(0x22b)](_0x1d43c0),helper[_0x5e61d9(0x229)](_0x1d43c0)):logger['debug'](_0x4ee5e7['blHns']);}catch(_0x66f76e){logger['debug'](_0x5e61d9(0x1d9)+_0x66f76e);}}),_0x1db84a[_0x1ca872(0x1fa)]=0x0,_0x1db84a['then']&&_0x1db84a['then'](_0x4c5597=>{const _0x414d13=_0x1ca872,_0x3b345b={'sSsyE':function(_0x46ca47,_0xfa4159,_0x120f25){const _0x3b54c3=a29_0x1a62;return _0x4ee5e7[_0x3b54c3(0x1fc)](_0x46ca47,_0xfa4159,_0x120f25);}};_0x4ee5e7[_0x414d13(0x1fc)](overrideQuit,_0x4c5597,_0x1db84a),_0x4ee5e7['TlRlF'](overrideTakeScreenshot,_0x4c5597),helper['overrideGet'](_0x4c5597,_0x285f90),_0x4ee5e7['BAcCJ'](overrideExecute,_0x4c5597,_0x285f90),_0x4c5597[_0x414d13(0x1eb)]=async()=>{return await _0x3b345b['sSsyE'](getAccessibilityResultsSummary,_0x4c5597,global);},_0x4c5597['getAccessibilityResults']=async()=>{const _0x123ca6=_0x414d13;return await _0x13e89a[_0x123ca6(0x1e5)](getAccessibilityResults,_0x4c5597,global);};}),_0x1db84a[_0x1ca872(0x1eb)]=async()=>{return await _0x13e89a['TUfRQ'](getAccessibilityResultsSummary,_0x1db84a,global);},_0x1db84a[_0x1ca872(0x1fb)]=async()=>{const _0x5c51ce=_0x1ca872;return await _0x4ee5e7[_0x5c51ce(0x226)](getAccessibilityResults,_0x1db84a,global);},_0x4ee5e7[_0x1ca872(0x22f)](overrideTakeScreenshot,_0x1db84a),_0x4ee5e7[_0x1ca872(0x22f)](overrideQuit,_0x1db84a),helper[_0x1ca872(0x23b)](_0x1db84a,_0x285f90),_0x4ee5e7['ZsHSq'](overrideExecute,_0x1db84a,_0x285f90),helper['isUndefined'](global[_0x1ca872(0x1d3)])&&(global[_0x1ca872(0x1d3)]=[]),helper['isUndefined'](global[_0x1ca872(0x1ea)])&&(global['__drivers']=[]),global[_0x1ca872(0x1d3)][_0x1ca872(0x1f8)](_0x1db84a),global[_0x1ca872(0x205)]=_0x1db84a,_0x4ee5e7['Lwmcj'](global['__drivers'],undefined)&&global['__drivers']['push'](_0x1db84a),_0xd444ff&&helper[_0x1ca872(0x1e6)](_0xd444ff[_0x1ca872(0x220)][_0x1ca872(0x1d3)])&&(_0xd444ff[_0x1ca872(0x220)][_0x1ca872(0x1d3)]=[]),_0xd444ff&&_0x4ee5e7[_0x1ca872(0x234)](_0xd444ff[_0x1ca872(0x220)][_0x1ca872(0x1ea)],undefined)&&(_0xd444ff[_0x1ca872(0x220)][_0x1ca872(0x1ea)][_0x1ca872(0x1f8)](_0x1db84a),_0xd444ff[_0x1ca872(0x220)]['__driversArray']['push'](_0x1db84a)),_0x1db84a;}}return _0x6b0085[_0x2d642e(0x21b)]=_0x6b0085[_0x2d642e(0x203)],_0x6b0085[_0x2d642e(0x203)]=_0x3a4d40,_0x21998d[_0x2d642e(0x20a)]=_0x146b04,_0x6b0085;};module['exports'][a29_0x9f7474(0x1ed)]=modify;
1
+ function a29_0x1b91(){const _0x101f22=['Modifying\x20webdriver\x20builder','getRequestOptions','mergeDeep','7kuOjST','qsgRy','agent_','originalBuilder','capability','__driver','forEach','split','hHxNY','qCoKn','hyHYt','gClKn','3656820cmzLnY','dWpxu','../../../helpers/accessibility-automation/helper','build','overrideGet','get','58214LEMObU','error','getAccessibilityResultsSummary','JhLOf','/session','logLevel','info','AbliC','./helpers/patchHelper','firefoxOptions','mWysf','Builder','moz:firefoxOptions','gyzKN','3|1|2|0|4|5','firefoxOptions_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','QDEtR','optimalHubUrl','chromeOptions_','setLogLevel','__driversArray','isAccessibilityPlatform','setCapabilities','getGlobal','updateHubUrl','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','kOMHr','10066984hamYrY','1954833Ycbwcu','caps_','requireHttpClient','ieOptions_','../accessibility-automation/helper','proxyUrl','1246240WCWZNu','../../../helpers/logger','oIdDW','6qoYtGG','../../../helpers/patchHelpers','set','getHubUrl','../../../hubAllocationMethods','path','__drivers','debug','send','zUZiY','ieOptions','safari.options','then','session_','isBrowserstackInfra','storeOptimalHubUrl','BWgBJ','global','qVmUU','isPacProxy','3168072XYgwsc','setGlobal','/wd/hub','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','__setBrowserOptions','safariOptions_','JUPMy','getAccessibilityResults','Eysyl','YEoJL','newHubUrl','tQDmg','HttpClient','CAPABILITY_KEY','isUndefined','Setting\x20Browserstack\x20capabilities','options_','exports','browserStackLogLevel','goog:chromeOptions','winstonLogger','url_','rjnMM','setServer','proxySettings','aHDgE','edgeOptions_','1974585XNTRUW','44mSbCGh','ZxQxq','qXjhF','capabilities_','xTJvQ','ms:edgeOptions','push','edgeOptions','proxy_','upEGF','qgmkR'];a29_0x1b91=function(){return _0x101f22;};return a29_0x1b91();}function a29_0x20dd(_0x403431,_0x40198e){const _0x1b91e4=a29_0x1b91();return a29_0x20dd=function(_0x20dd64,_0x138f10){_0x20dd64=_0x20dd64-0x82;let _0x5bfbf3=_0x1b91e4[_0x20dd64];return _0x5bfbf3;},a29_0x20dd(_0x403431,_0x40198e);}const a29_0x51b840=a29_0x20dd;(function(_0x152426,_0x238dbe){const _0x4d95bc=a29_0x20dd,_0xb570f0=_0x152426();while(!![]){try{const _0x498dd7=-parseInt(_0x4d95bc(0xe3))/0x1*(-parseInt(_0x4d95bc(0x8d))/0x2)+parseInt(_0x4d95bc(0xaa))/0x3+parseInt(_0x4d95bc(0xb0))/0x4+parseInt(_0x4d95bc(0xe2))/0x5*(parseInt(_0x4d95bc(0xb3))/0x6)+-parseInt(_0x4d95bc(0xf1))/0x7*(parseInt(_0x4d95bc(0xa9))/0x8)+-parseInt(_0x4d95bc(0xc7))/0x9+-parseInt(_0x4d95bc(0x87))/0xa;if(_0x498dd7===_0x238dbe)break;else _0xb570f0['push'](_0xb570f0['shift']());}catch(_0xe2725){_0xb570f0['push'](_0xb570f0['shift']());}}}(a29_0x1b91,0xa1ccd));const logger=require(a29_0x51b840(0xb1))[a29_0x51b840(0xdb)],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x51b840(0xb7)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x51b840(0xb4)),{setAccessibilityCapabilities,setExtension}=require(a29_0x51b840(0xae)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x51b840(0x89)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a29_0x51b840(0x95)),modify=(_0x57df45,_0x25a690=null,_0x5a9eb9=![])=>{const _0x48ead6=a29_0x51b840,_0x66483f={'qsgRy':function(_0x308fef,_0x69c4be){return _0x308fef!==_0x69c4be;},'eWLEK':_0x48ead6(0x91),'gClKn':function(_0xd78724,_0x1856d9){return _0xd78724!==_0x1856d9;},'hHxNY':function(_0x44c874,_0x2d6f17){return _0x44c874+_0x2d6f17;},'kOMHr':'https://','JhLOf':_0x48ead6(0xc9),'ALisf':_0x48ead6(0xda),'JUPMy':'chromeOptions','xTJvQ':_0x48ead6(0xe8),'hudRi':_0x48ead6(0xea),'aHDgE':_0x48ead6(0x99),'Eysyl':_0x48ead6(0x96),'BWgBJ':_0x48ead6(0xbe),'qCoKn':'se:ieOptions','kmELe':_0x48ead6(0xbd),'QDEtR':function(_0xbc2d0d,_0x40c612){return _0xbc2d0d===_0x40c612;},'tQDmg':'object','upEGF':_0x48ead6(0xd6),'oIdDW':_0x48ead6(0x9f),'hyHYt':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','mWysf':function(_0x3bcd75,_0x5983a8,_0x25be9c){return _0x3bcd75(_0x5983a8,_0x25be9c);},'qVmUU':function(_0x1c074f,_0x37bf19){return _0x1c074f(_0x37bf19);},'zUZiY':function(_0x590aba,_0x152fcf,_0x20550f){return _0x590aba(_0x152fcf,_0x20550f);},'qXjhF':_0x48ead6(0x9b),'AbliC':function(_0x328fbb){return _0x328fbb();},'gyzKN':_0x48ead6(0xa3),'GTAWX':_0x48ead6(0x9d),'xPkSA':function(_0x534c8c,_0x3ea1c2){return _0x534c8c(_0x3ea1c2);},'rjnMM':function(_0x22954f,_0x1a9e36,_0x3b0b41){return _0x22954f(_0x1a9e36,_0x3b0b41);},'dWpxu':_0x48ead6(0xa7),'qgmkR':_0x48ead6(0xee)},_0x5f5b53=helper[_0x48ead6(0xac)]();let _0x499418;try{_0x499418=helper['requireSeleniumWebdriver'](),_0x499418[_0x48ead6(0xf4)]&&(_0x499418[_0x48ead6(0x98)]=_0x499418['originalBuilder']);}catch(_0x4b2116){return;}if(helper[_0x48ead6(0xc1)]()){const _0xa5ab28={};_0xa5ab28[_0x48ead6(0x92)]=_0x57df45[_0x48ead6(0xd9)],helper[_0x48ead6(0xa1)](_0xa5ab28,new Map(),new Map()),logger[_0x48ead6(0x93)](_0x66483f[_0x48ead6(0x88)]),logger[_0x48ead6(0xba)](_0x66483f[_0x48ead6(0xed)]);}class _0x19550f extends _0x5f5b53[_0x48ead6(0xd3)]{[_0x48ead6(0xbb)](_0xb0ba70){const _0xacf3c0=_0x48ead6;if(_0x66483f[_0xacf3c0(0xf2)](_0xb0ba70[_0xacf3c0(0xb8)],_0x66483f['eWLEK'])&&_0x66483f[_0xacf3c0(0x86)](global['newHubUrl'],''))try{global[_0xacf3c0(0xd1)]=_0x66483f[_0xacf3c0(0x83)](_0x66483f[_0xacf3c0(0x83)](_0x66483f[_0xacf3c0(0xa8)],global[_0xacf3c0(0xd1)]),_0x66483f[_0xacf3c0(0x90)]),this[_0xacf3c0(0xd7)]=hubAllocator[_0xacf3c0(0xef)](global[_0xacf3c0(0xd1)]),logger[_0xacf3c0(0xba)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0xacf3c0(0xd1)]),global[_0xacf3c0(0xd1)]='';}catch(_0x323479){logger[_0xacf3c0(0x8e)](_0x323479);}return super[_0xacf3c0(0xbb)](_0xb0ba70);}}class _0x33d8b3 extends _0x499418[_0x48ead6(0x98)]{[_0x48ead6(0xde)](){const _0xcc5019=_0x48ead6;return this[_0xcc5019(0xdc)]=helper[_0xcc5019(0xb6)](_0x57df45),logger[_0xcc5019(0xba)]('Hub\x20url\x20set\x20to\x20'+this[_0xcc5019(0xdc)]),this;}[_0x48ead6(0xcb)](_0x3439b8){const _0x3bad6d=_0x48ead6;let _0x2ed713={};for(const _0x11ed1d in _0x3439b8){switch(_0x11ed1d){case _0x66483f['ALisf']:case _0x66483f[_0x3bad6d(0xcd)]:this[_0x3bad6d(0xa0)]&&(_0x2ed713=this['chromeOptions_'][_0x3bad6d(0x8c)](this[_0x3bad6d(0xa0)]['CAPABILITY_KEY'])||{},this[_0x3bad6d(0xa0)][_0x3bad6d(0xb5)](this['chromeOptions_'][_0x3bad6d(0xd4)],helper[_0x3bad6d(0xf0)](_0x2ed713,_0x3439b8[_0x11ed1d])));break;case _0x66483f[_0x3bad6d(0xe7)]:case _0x66483f['hudRi']:this[_0x3bad6d(0xe1)]&&(_0x2ed713=this[_0x3bad6d(0xe1)]['get'](this[_0x3bad6d(0xe1)][_0x3bad6d(0xd4)])||{},this[_0x3bad6d(0xe1)]['set'](this[_0x3bad6d(0xe1)][_0x3bad6d(0xd4)],helper[_0x3bad6d(0xf0)](_0x2ed713,_0x3439b8[_0x11ed1d])));break;case _0x66483f[_0x3bad6d(0xe0)]:case _0x66483f[_0x3bad6d(0xcf)]:this[_0x3bad6d(0x9c)]&&(_0x2ed713=this[_0x3bad6d(0x9c)][_0x3bad6d(0x8c)](this[_0x3bad6d(0x9c)][_0x3bad6d(0xd4)])||{},this[_0x3bad6d(0x9c)][_0x3bad6d(0xb5)](this[_0x3bad6d(0x9c)][_0x3bad6d(0xd4)],helper['mergeDeep'](_0x2ed713,_0x3439b8[_0x11ed1d])));break;case _0x66483f[_0x3bad6d(0xc3)]:this[_0x3bad6d(0xcc)]&&(_0x2ed713=this['safariOptions_']['get'](this['safariOptions_'][_0x3bad6d(0xd4)])||{},this['safariOptions_']['set'](this[_0x3bad6d(0xcc)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x2ed713,_0x3439b8[_0x11ed1d])));break;case _0x66483f[_0x3bad6d(0x84)]:case _0x66483f['kmELe']:this[_0x3bad6d(0xad)]&&(_0x2ed713=this[_0x3bad6d(0xad)][_0x3bad6d(0x8c)](this[_0x3bad6d(0xad)]['CAPABILITY_KEY'])||{},this[_0x3bad6d(0xad)][_0x3bad6d(0xb5)](this[_0x3bad6d(0xad)][_0x3bad6d(0xd4)],helper['mergeDeep'](_0x2ed713,_0x3439b8[_0x11ed1d])));break;}}}[_0x48ead6(0xa4)](){const _0x514ff6=_0x48ead6;return logger[_0x514ff6(0xba)](_0x66483f[_0x514ff6(0xec)]),this['__setBrowserOptions'](_0x57df45[_0x514ff6(0xf5)]),Object['keys'](_0x57df45[_0x514ff6(0xf5)])[_0x514ff6(0xf7)](_0x50124f=>{const _0x260171=_0x514ff6,_0x14ad03=this[_0x260171(0xe6)][_0x260171(0x8c)](_0x50124f);_0x66483f[_0x260171(0x9e)](typeof _0x14ad03,_0x66483f[_0x260171(0xd2)])?this[_0x260171(0xe6)][_0x260171(0xb5)](_0x50124f,helper[_0x260171(0xf0)](_0x14ad03,_0x57df45[_0x260171(0xf5)][_0x50124f])):this[_0x260171(0xe6)]['set'](_0x50124f,_0x57df45['capability'][_0x50124f]);}),this;}['build'](){const _0x312923=_0x48ead6,_0x1bfae1={'YEoJL':function(_0x11db46,_0x30ac2c,_0x50408a){const _0x3a4d5d=a29_0x20dd;return _0x66483f[_0x3a4d5d(0x97)](_0x11db46,_0x30ac2c,_0x50408a);}};if(helper[_0x312923(0xc1)]()){const _0x34e957=_0x66483f[_0x312923(0xe5)][_0x312923(0x82)]('|');let _0x8a4ad1=0x0;while(!![]){switch(_0x34e957[_0x8a4ad1++]){case'0':if(helper[_0x312923(0xc6)](_0x57df45[_0x312923(0xdf)]['proxyUrl']))this[_0x312923(0xf3)]=helper['getHttpAgent'](_0x57df45['proxySettings'][_0x312923(0xaf)]);else _0x57df45['proxySettings'][_0x312923(0xaf)]&&(this[_0x312923(0xeb)]=_0x57df45[_0x312923(0xdf)][_0x312923(0xaf)],logger[_0x312923(0xba)]('Proxy\x20set\x20to\x20'+this[_0x312923(0xeb)]));continue;case'1':this[_0x312923(0xde)]();continue;case'2':this[_0x312923(0xa4)]();continue;case'3':_0x66483f[_0x312923(0x94)](isAccessibilityAutomationSession)&&_0x66483f['qVmUU'](setAccessibilityCapabilities,_0x57df45);continue;case'4':globals[_0x312923(0xa5)](_0x66483f[_0x312923(0x9a)])&&(!_0x66483f[_0x312923(0x97)](setExtension,this,_0x57df45)&&globals[_0x312923(0xc8)](_0x66483f[_0x312923(0x9a)],![]));continue;case'5':logger[_0x312923(0xba)](_0x66483f['GTAWX']);continue;}break;}}const _0x102d60=super[_0x312923(0x8a)]();return _0x102d60[_0x312923(0xc0)][_0x312923(0xbf)](_0x1f3472=>{const _0xaca91=_0x312923;try{const _0x55b122=_0x1f3472[_0xaca91(0xab)][_0xaca91(0x8c)](_0x66483f[_0xaca91(0xb2)]);_0x55b122?(logger[_0xaca91(0xba)](_0xaca91(0xca)+_0x55b122),hubAllocator[_0xaca91(0xa6)](_0x55b122),helper[_0xaca91(0xc2)](_0x55b122)):logger['debug'](_0x66483f[_0xaca91(0x85)]);}catch(_0x1ad63b){logger[_0xaca91(0xba)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x1ad63b);}}),_0x102d60['quitCount_']=0x0,_0x102d60['then']&&_0x102d60['then'](_0x5c3760=>{const _0x56c434=_0x312923,_0x4f9305={'ZxQxq':function(_0xb1d3d7,_0xcb14ba,_0x76a82b){return _0x66483f['mWysf'](_0xb1d3d7,_0xcb14ba,_0x76a82b);}};_0x66483f['mWysf'](overrideQuit,_0x5c3760,_0x102d60),_0x66483f[_0x56c434(0xc5)](overrideTakeScreenshot,_0x5c3760),helper[_0x56c434(0x8b)](_0x5c3760,_0x57df45),_0x66483f[_0x56c434(0x97)](overrideExecute,_0x5c3760,_0x57df45),_0x5c3760[_0x56c434(0x8f)]=async()=>{const _0x4bcade=_0x56c434;return await _0x4f9305[_0x4bcade(0xe4)](getAccessibilityResultsSummary,_0x5c3760,global);},_0x5c3760[_0x56c434(0xce)]=async()=>{const _0x12a9b1=_0x56c434;return await _0x1bfae1[_0x12a9b1(0xd0)](getAccessibilityResults,_0x5c3760,global);};}),_0x102d60[_0x312923(0x8f)]=async()=>{const _0x36392a=_0x312923;return await _0x1bfae1[_0x36392a(0xd0)](getAccessibilityResultsSummary,_0x102d60,global);},_0x102d60[_0x312923(0xce)]=async()=>{const _0x427926=_0x312923;return await _0x66483f[_0x427926(0xbc)](getAccessibilityResults,_0x102d60,global);},_0x66483f['xPkSA'](overrideTakeScreenshot,_0x102d60),_0x66483f['xPkSA'](overrideQuit,_0x102d60),helper[_0x312923(0x8b)](_0x102d60,_0x57df45),_0x66483f[_0x312923(0xdd)](overrideExecute,_0x102d60,_0x57df45),helper[_0x312923(0xd5)](global[_0x312923(0xa2)])&&(global[_0x312923(0xa2)]=[]),helper['isUndefined'](global[_0x312923(0xb9)])&&(global[_0x312923(0xb9)]=[]),global['__driversArray']['push'](_0x102d60),global[_0x312923(0xf6)]=_0x102d60,_0x66483f['qsgRy'](global['__drivers'],undefined)&&global[_0x312923(0xb9)][_0x312923(0xe9)](_0x102d60),_0x25a690&&helper[_0x312923(0xd5)](_0x25a690[_0x312923(0xc4)][_0x312923(0xa2)])&&(_0x25a690[_0x312923(0xc4)][_0x312923(0xa2)]=[]),_0x25a690&&_0x66483f[_0x312923(0xf2)](_0x25a690[_0x312923(0xc4)][_0x312923(0xb9)],undefined)&&(_0x25a690[_0x312923(0xc4)][_0x312923(0xb9)]['push'](_0x102d60),_0x25a690[_0x312923(0xc4)][_0x312923(0xa2)]['push'](_0x102d60)),_0x102d60;}}return _0x499418[_0x48ead6(0xf4)]=_0x499418[_0x48ead6(0x98)],_0x499418[_0x48ead6(0x98)]=_0x33d8b3,_0x5f5b53['HttpClient']=_0x19550f,_0x499418;};module[a29_0x51b840(0xd8)]['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- function a30_0x5f2b(_0x13ae27,_0x593563){const _0x3f14a9=a30_0x3f14();return a30_0x5f2b=function(_0x5f2bd5,_0x22fc05){_0x5f2bd5=_0x5f2bd5-0x10c;let _0x20f46c=_0x3f14a9[_0x5f2bd5];return _0x20f46c;},a30_0x5f2b(_0x13ae27,_0x593563);}const a30_0x2c2f08=a30_0x5f2b;(function(_0x49b7b9,_0x3e9b66){const _0x297386=a30_0x5f2b,_0x456fb5=_0x49b7b9();while(!![]){try{const _0x35ae74=-parseInt(_0x297386(0x114))/0x1*(parseInt(_0x297386(0x113))/0x2)+parseInt(_0x297386(0x119))/0x3+parseInt(_0x297386(0x117))/0x4+parseInt(_0x297386(0x10d))/0x5+-parseInt(_0x297386(0x118))/0x6*(-parseInt(_0x297386(0x10c))/0x7)+parseInt(_0x297386(0x111))/0x8*(parseInt(_0x297386(0x10e))/0x9)+parseInt(_0x297386(0x115))/0xa*(-parseInt(_0x297386(0x11a))/0xb);if(_0x35ae74===_0x3e9b66)break;else _0x456fb5['push'](_0x456fb5['shift']());}catch(_0x529b71){_0x456fb5['push'](_0x456fb5['shift']());}}}(a30_0x3f14,0x6eec1));const requestSpy=require(a30_0x2c2f08(0x112)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a30_0x3f14(){const _0x4e9205=['3065200jorsiw','3969927qkMZoc','lXEOS','timeout','16CbaTZG','../../../helpers/request-spy','4GPxTtT','55763qOxrmM','24671510geSikC','mochaHooks','748468oPZfzJ','1194CHHmOV','1450824yFafCo','11yxDPqp','30499bcjdvj'];a30_0x3f14=function(){return _0x4e9205;};return a30_0x3f14();}exports[a30_0x2c2f08(0x116)]={'beforeAll'(){const _0xccc58c=a30_0x2c2f08,_0x58e8a1={'lXEOS':function(_0x4ff0cb){return _0x4ff0cb();}},_0x148f8a='browserstack internal helper hook';_0x58e8a1[_0xccc58c(0x10f)](addRequestSpy);},'afterAll'(){const _0x3785b4=a30_0x2c2f08,_0x2b506c='browserstack internal helper hook';this[_0x3785b4(0x110)](0xea60),requestSpy['restore']();}};
1
+ function a30_0x308f(_0x41e5a3,_0x23e9a3){const _0x6153ee=a30_0x6153();return a30_0x308f=function(_0x308f9d,_0x4f1748){_0x308f9d=_0x308f9d-0x108;let _0x5d94b4=_0x6153ee[_0x308f9d];return _0x5d94b4;},a30_0x308f(_0x41e5a3,_0x23e9a3);}const a30_0x296843=a30_0x308f;(function(_0x528a54,_0x475f89){const _0x236f25=a30_0x308f,_0x57d59c=_0x528a54();while(!![]){try{const _0x265b79=-parseInt(_0x236f25(0x117))/0x1*(parseInt(_0x236f25(0x108))/0x2)+-parseInt(_0x236f25(0x10f))/0x3+-parseInt(_0x236f25(0x10d))/0x4+parseInt(_0x236f25(0x112))/0x5*(-parseInt(_0x236f25(0x113))/0x6)+parseInt(_0x236f25(0x10e))/0x7+parseInt(_0x236f25(0x109))/0x8*(-parseInt(_0x236f25(0x114))/0x9)+parseInt(_0x236f25(0x111))/0xa;if(_0x265b79===_0x475f89)break;else _0x57d59c['push'](_0x57d59c['shift']());}catch(_0x50f852){_0x57d59c['push'](_0x57d59c['shift']());}}}(a30_0x6153,0x268d2));const requestSpy=require(a30_0x296843(0x115)),constants=require(a30_0x296843(0x10a)),{addRequestSpy}=require(a30_0x296843(0x110));exports[a30_0x296843(0x116)]={'beforeAll'(){const _0xf9bbf9=a30_0x296843,_0x510a91={'GkTuA':function(_0x208de8){return _0x208de8();}},_0x3ba032='browserstack internal helper hook';_0x510a91[_0xf9bbf9(0x118)](addRequestSpy);},'afterAll'(){const _0x10efd0=a30_0x296843,_0x1aef57='browserstack internal helper hook';this[_0x10efd0(0x10b)](0xea60),requestSpy[_0x10efd0(0x10c)]();}};function a30_0x6153(){const _0x37aa5e=['GkTuA','10OQhKXI','8xHERxi','../../../bin/utils/constants','timeout','restore','1160352cqKtdF','1461159apPtay','684351nkYzra','../../../helpers/test-observability/utils','9811280OmJzGx','8670mmrwQc','606tzodfp','211275fPFpqq','../../../helpers/request-spy','mochaHooks','63029AWwvkZ'];a30_0x6153=function(){return _0x37aa5e;};return a30_0x6153();}
@@ -1 +1 @@
1
- const a31_0x524012=a31_0x14ec;(function(_0x2a74d1,_0x360408){const _0x367cac=a31_0x14ec,_0x26127b=_0x2a74d1();while(!![]){try{const _0x585695=-parseInt(_0x367cac(0x1bb))/0x1*(-parseInt(_0x367cac(0x19e))/0x2)+parseInt(_0x367cac(0x1d7))/0x3*(parseInt(_0x367cac(0x18b))/0x4)+parseInt(_0x367cac(0x1c1))/0x5*(parseInt(_0x367cac(0x19f))/0x6)+-parseInt(_0x367cac(0x1cd))/0x7*(parseInt(_0x367cac(0x1a9))/0x8)+-parseInt(_0x367cac(0x1bd))/0x9+parseInt(_0x367cac(0x1b4))/0xa+parseInt(_0x367cac(0x196))/0xb;if(_0x585695===_0x360408)break;else _0x26127b['push'](_0x26127b['shift']());}catch(_0x2a500d){_0x26127b['push'](_0x26127b['shift']());}}}(a31_0x19e5,0x3406d));const {v4:uuidv4}=require(a31_0x524012(0x19c)),{name,version}=require(a31_0x524012(0x188)),logPatcher=require(a31_0x524012(0x192)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x524012(0x194)),{consoleHolder}=require(a31_0x524012(0x1ac)),{getPlatformVersion}=require(a31_0x524012(0x1cf)),{shouldProcessEventForTesthub}=require(a31_0x524012(0x195)),{isFunction}=require(a31_0x524012(0x1d3)),{patchConsoleLogger}=require(a31_0x524012(0x194));function a31_0x19e5(){const _0x427728=['zVlBu','generic','split','_beforeEach','bPtOw','2880661qHZJce','_afterAll','../../../helpers/helper','FrRly','BoMBK','SlXvg','lodash','js-','bs:addPlatformDetails:','yomRH','12mqhdwy','hook','getCapabilities','FbFaq','push','getSession','state','TEST_PLATFORM','../../../../package.json','getHookSkippedTests','pid','285700GPzskf','XrCyB','SUyEu','toISOString','string','getBrowserVersion','indexOf','../../utils/logPatcher','reduce','../../../helpers/test-observability/utils','../../../helpers/testhub/utils','4195752DRlpXo','sendPlatformDetails','iGVIa','type','mapTestHooks','parent','uuid','fromEntries','4514aaPpUK','105114yVPGwf','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','forEach','uMETD','markedStatus','__cloud_provider___','pending','getHookDetails','substring','CGFxW','8wOHKal','slice','xPQPI','../../../helpers/test-observability/constants','browserstack','Vkcol','toJSON','jNZhj','passed','fqCdv','getTestEnv','2641040SjzWau','aqHoP','concat','hookAnalyticsId','hzJGr','zYNDq','_beforeAll','11JsBHeT','hook:','3140622dAkqIM','dWAHw','lAhxV','HeLWW','5AcnDpN','fPFkO','LrysU','PWoIn','Aysjd','_afterEach','PBCyj'];a31_0x19e5=function(){return _0x427728;};return a31_0x19e5();}function a31_0x14ec(_0x229776,_0xcd0a28){const _0x19e5d1=a31_0x19e5();return a31_0x14ec=function(_0x14ec7b,_0x4d5d37){_0x14ec7b=_0x14ec7b-0x182;let _0xa4e2a6=_0x19e5d1[_0x14ec7b];return _0xa4e2a6;},a31_0x14ec(_0x229776,_0xcd0a28);}patchConsoleLogger(),exports[a31_0x524012(0x1b3)]=()=>{const _0x12528f=a31_0x524012,_0x4e633e={'BoMBK':_0x12528f(0x1c9),'hzJGr':function(_0xfe730b){return _0xfe730b();}};return{'ci':_0x4e633e[_0x12528f(0x1d1)],'key':_0x4e633e[_0x12528f(0x1b8)](uuidv4),'version':version,'collector':_0x12528f(0x1d4)+name};},exports[a31_0x524012(0x1a6)]=_0x33d811=>{const _0x2716c9=a31_0x524012,_0x311d35={};_0x311d35[_0x2716c9(0x1c7)]=function(_0x11cdfc,_0x33704c){return _0x11cdfc!==_0x33704c;},_0x311d35[_0x2716c9(0x1c3)]=_0x2716c9(0x18f),_0x311d35[_0x2716c9(0x1ae)]=_0x2716c9(0x1bc),_0x311d35[_0x2716c9(0x1bf)]=function(_0x48774c,_0x1b0e04){return _0x48774c!==_0x1b0e04;},_0x311d35[_0x2716c9(0x1c5)]=_0x2716c9(0x1d8);const _0x4f6d63=_0x311d35;if(!_0x33d811||_0x4f6d63[_0x2716c9(0x1c7)](typeof _0x33d811,_0x4f6d63[_0x2716c9(0x1c3)]))return[null,null];if(_0x4f6d63[_0x2716c9(0x1c7)](_0x33d811[_0x2716c9(0x191)](_0x4f6d63['Vkcol']),-0x1)){const _0x5af766=_0x33d811[_0x2716c9(0x1ca)](_0x4f6d63['Vkcol']);return[_0x5af766[0x0][_0x2716c9(0x1aa)](0x0,-0x1)['split']('\x22')[0x1],_0x5af766[0x1][_0x2716c9(0x1a7)](0x1)];}else{if(_0x4f6d63[_0x2716c9(0x1bf)](_0x33d811[_0x2716c9(0x191)](_0x4f6d63[_0x2716c9(0x1c5)]),-0x1)){const _0x2f1518=_0x33d811[_0x2716c9(0x1ca)](_0x4f6d63[_0x2716c9(0x1c5)]);return[_0x2f1518[0x0][_0x2716c9(0x1aa)](0x0,-0x1)[_0x2716c9(0x1ca)]('\x22')[0x1],_0x33d811];}}return[null,null];},exports['getHooksForTest']=_0x4b7c3f=>{const _0x2ae326=a31_0x524012,_0x400ec3={'fPFkO':function(_0x1c3b93,_0x2b2554){return _0x1c3b93(_0x2b2554);},'FrRly':_0x2ae326(0x1ba),'lROSX':_0x2ae326(0x1ce),'bPtOw':_0x2ae326(0x1cb),'ASFdq':_0x2ae326(0x1c6)};if(!_0x4b7c3f||!_0x4b7c3f[_0x2ae326(0x19b)])return[];const _0x3d524b=[];return[_0x400ec3[_0x2ae326(0x1d0)],_0x400ec3['lROSX'],_0x400ec3[_0x2ae326(0x1cc)],_0x400ec3['ASFdq']][_0x2ae326(0x1a1)](_0x4df663=>{const _0x34a803=_0x2ae326,_0x52bdd6=_0x4b7c3f['parent'][_0x4df663]||[];_0x52bdd6[_0x34a803(0x1a1)](_0x4993cf=>{const _0x2db102=_0x34a803;_0x4993cf[_0x2db102(0x1b7)]&&!_0x400ec3[_0x2db102(0x1c2)](isInternalHook,_0x4993cf['fn'])&&_0x3d524b[_0x2db102(0x184)](_0x4993cf['hookAnalyticsId']);});}),[..._0x3d524b,...exports['getHooksForTest'](_0x4b7c3f[_0x2ae326(0x19b)])];},exports[a31_0x524012(0x19a)]=_0x1ff302=>{const _0x4f8911=a31_0x524012,_0x4d77f3={'xPQPI':function(_0x556cb9){return _0x556cb9();},'dWAHw':function(_0x3e89ef,_0x35b7fa){return _0x3e89ef===_0x35b7fa;},'aqHoP':_0x4f8911(0x1c6),'SlXvg':'_beforeAll','zYNDq':_0x4f8911(0x1ce),'FZUWK':_0x4f8911(0x1cb)};if(!_0x1ff302||!_0x1ff302[_0x4f8911(0x19b)])return;[_0x4d77f3[_0x4f8911(0x1d2)],_0x4d77f3[_0x4f8911(0x1b9)],_0x4d77f3['FZUWK'],_0x4d77f3[_0x4f8911(0x1b5)]]['forEach'](_0x52cfbc=>{const _0x690502=_0x4f8911,_0x5ba054={'uMETD':function(_0x232088){const _0x42a806=a31_0x14ec;return _0x4d77f3[_0x42a806(0x1ab)](_0x232088);},'CGFxW':function(_0x3bca2b,_0x4f3806){const _0x30641e=a31_0x14ec;return _0x4d77f3[_0x30641e(0x1be)](_0x3bca2b,_0x4f3806);},'SUyEu':_0x4d77f3[_0x690502(0x1b5)]},_0x19205b=_0x1ff302[_0x690502(0x19b)][_0x52cfbc]||[];_0x19205b['forEach'](_0x25f8a7=>{const _0x589625=_0x690502;if(!_0x25f8a7[_0x589625(0x1b7)])_0x25f8a7[_0x589625(0x1b7)]=_0x5ba054[_0x589625(0x1a2)](uuidv4);else _0x25f8a7[_0x589625(0x1a3)]&&_0x5ba054[_0x589625(0x1a8)](_0x52cfbc,_0x5ba054[_0x589625(0x18d)])&&(_0x25f8a7[_0x589625(0x1b7)]=_0x5ba054[_0x589625(0x1a2)](uuidv4),delete _0x25f8a7[_0x589625(0x1a3)]);});}),exports[_0x4f8911(0x19a)](_0x1ff302[_0x4f8911(0x19b)]);},exports[a31_0x524012(0x197)]=async(_0x19e8ed,_0x2a4aca)=>{const _0x208bfd=a31_0x524012,_0xe50d45={'OfKda':function(_0x30275a){return _0x30275a();},'EzTDX':function(_0x1353a7,_0x45df7a){return _0x1353a7(_0x45df7a);},'PWoIn':function(_0x5e13c0,_0x5de39c){return _0x5e13c0===_0x5de39c;},'PpcLY':_0x208bfd(0x1ad),'jNZhj':'unknown_grid','zVlBu':_0x208bfd(0x187),'SjwcN':function(_0x29668b,_0xfebdb){return _0x29668b(_0xfebdb);}};try{if(!_0xe50d45['OfKda'](shouldProcessEventForTesthub))return;const _0x3f0b45=await _0x19e8ed['getCapabilities'](),_0x27be86=await _0x19e8ed[_0x208bfd(0x185)](),_0x1fb2fb={},_0x3c406c=Object[_0x208bfd(0x19d)](_0x27be86[_0x208bfd(0x182)]()['map_']),_0x1d533c={'product':_0xe50d45['EzTDX'](getObservabilityLinkedProductName,_0x3c406c),'capabilities':_0x3c406c,'platform':_0x3f0b45['getPlatform'](),'platform_version':_0xe50d45['EzTDX'](getPlatformVersion,_0xe50d45[_0x208bfd(0x1c4)](global[_0x208bfd(0x1a4)],_0xe50d45['PpcLY'])),'browser':_0x3f0b45['getBrowserName'](),'browser_version':_0x3f0b45[_0x208bfd(0x190)](),'session_id':_0x27be86[_0x208bfd(0x1af)]()};global['__cloud_provider___']?_0x1fb2fb[global['__cloud_provider___']]=_0x1d533c:_0x1fb2fb[_0xe50d45[_0x208bfd(0x1b0)]]=_0x1d533c,process['emit'](_0x208bfd(0x1d5)+process[_0x208bfd(0x18a)],{'timestamp':new Date()[_0x208bfd(0x18e)](),'level':null,'message':null,'kind':_0xe50d45[_0x208bfd(0x1c8)],'http_response':_0x1fb2fb,'uuid':_0x2a4aca});}catch(_0x3c58d0){_0xe50d45['SjwcN'](debug,_0x208bfd(0x1a0)+_0x3c58d0);}},exports['getHookSkippedTests']=_0x5520a3=>{const _0x3b3bf9=a31_0x524012,_0x1a50ef={};_0x1a50ef[_0x3b3bf9(0x1b2)]=function(_0x5eab20,_0x32c2e0){return _0x5eab20!==_0x32c2e0;},_0x1a50ef['HeLWW']=_0x3b3bf9(0x1d8),_0x1a50ef[_0x3b3bf9(0x183)]=function(_0x159d6d,_0x4a3d7c){return _0x159d6d!==_0x4a3d7c;},_0x1a50ef[_0x3b3bf9(0x18c)]=_0x3b3bf9(0x1b1),_0x1a50ef['iGVIa']=function(_0x520ce4,_0x5b913b){return _0x520ce4!==_0x5b913b;},_0x1a50ef[_0x3b3bf9(0x1d6)]='failed';const _0x10d654=_0x1a50ef,_0x14423a=_0x5520a3['suites'][_0x3b3bf9(0x193)]((_0x1f4858,_0x344edf)=>{const _0x508904=_0x3b3bf9,_0x432d39=exports[_0x508904(0x189)](_0x344edf);return _0x432d39&&(_0x1f4858=_0x1f4858[_0x508904(0x1b6)](_0x432d39)),_0x1f4858;},[]),_0x3286c3=_0x5520a3['tests']['filter'](_0x4aa9ae=>{const _0xc50d6e=_0x3b3bf9,_0x422497=_0x10d654[_0xc50d6e(0x1b2)](_0x4aa9ae[_0xc50d6e(0x199)],_0x10d654[_0xc50d6e(0x1c0)])&&!_0x4aa9ae[_0xc50d6e(0x1a3)]&&_0x10d654[_0xc50d6e(0x183)](_0x4aa9ae[_0xc50d6e(0x186)],_0x10d654[_0xc50d6e(0x18c)])&&_0x10d654[_0xc50d6e(0x198)](_0x4aa9ae['state'],_0x10d654['yomRH'])&&!_0x4aa9ae[_0xc50d6e(0x1a5)];return _0x422497;});return _0x3286c3[_0x3b3bf9(0x1b6)](_0x14423a);};
1
+ function a31_0x15fa(){const _0x4009b2=['2127546kNnmSn','ggtoV','js-','parent','getSession','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','VSQBc','indexOf','fromEntries','jVbAQ','split','65TkorTa','../../../helpers/testhub/utils','pHDdb','toISOString','uuid','_afterAll','getTestEnv','slice','../../../helpers/test-observability/utils','SnehM','getBrowserName','toJSON','substring','pDzWw','LwKGd','_beforeAll','fCrkA','forEach','57316JCwnJa','filter','generic','bs:addPlatformDetails:','TmqNq','_afterEach','getCapabilities','hook:','634278sFvpyY','hookAnalyticsId','__cloud_provider___','2380rQZCHV','vziWM','hook','zTgfg','string','bBRKT','uSBuC','../../../helpers/helper','HvPmh','getHooksForTest','getBrowserVersion','getPlatform','rvfnT','sFRBV','naPTM','nycEo','iACPK','tests','type','nypmU','../../../helpers/test-observability/constants','../../utils/logPatcher','suites','yvwLo','11978065jpsMzh','browserstack','getHookSkippedTests','passed','failed','uJDmB','500826jttrkQ','4QuoCju','10KwLyXa','pid','emit','oenBG','push','pending','fuFKW','PoFxL','_beforeEach','KUXhr','mapTestHooks','markedStatus','2927305wjkIPb','iJGkH','120WeuhLN','concat','iwlVo','state'];a31_0x15fa=function(){return _0x4009b2;};return a31_0x15fa();}const a31_0xdc39d6=a31_0x29a5;function a31_0x29a5(_0x116a5c,_0x5450b3){const _0x15faf4=a31_0x15fa();return a31_0x29a5=function(_0x29a5a7,_0x500c65){_0x29a5a7=_0x29a5a7-0x15f;let _0x303bbd=_0x15faf4[_0x29a5a7];return _0x303bbd;},a31_0x29a5(_0x116a5c,_0x5450b3);}(function(_0x198b0d,_0x38ce46){const _0x7b79db=a31_0x29a5,_0x2a3ea2=_0x198b0d();while(!![]){try{const _0x401b40=parseInt(_0x7b79db(0x186))/0x1*(parseInt(_0x7b79db(0x1a3))/0x2)+-parseInt(_0x7b79db(0x167))/0x3+parseInt(_0x7b79db(0x168))/0x4*(-parseInt(_0x7b79db(0x175))/0x5)+parseInt(_0x7b79db(0x1a0))/0x6+-parseInt(_0x7b79db(0x198))/0x7*(-parseInt(_0x7b79db(0x177))/0x8)+-parseInt(_0x7b79db(0x17b))/0x9+parseInt(_0x7b79db(0x169))/0xa*(parseInt(_0x7b79db(0x161))/0xb);if(_0x401b40===_0x38ce46)break;else _0x2a3ea2['push'](_0x2a3ea2['shift']());}catch(_0x5521dd){_0x2a3ea2['push'](_0x2a3ea2['shift']());}}}(a31_0x15fa,0x631f1));const {v4:uuidv4}=require(a31_0xdc39d6(0x18a)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0xdc39d6(0x1b8)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0xdc39d6(0x18e)),{consoleHolder}=require(a31_0xdc39d6(0x1b7)),{getPlatformVersion}=require(a31_0xdc39d6(0x1aa)),{shouldProcessEventForTesthub}=require(a31_0xdc39d6(0x187)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a31_0xdc39d6(0x18e));patchConsoleLogger(),exports[a31_0xdc39d6(0x18c)]=()=>{const _0x46f8a4=a31_0xdc39d6,_0x3cf3e1={'SnehM':_0x46f8a4(0x19a),'pDzWw':function(_0x22b243){return _0x22b243();}};return{'ci':_0x3cf3e1[_0x46f8a4(0x18f)],'key':_0x3cf3e1[_0x46f8a4(0x193)](uuidv4),'version':version,'collector':_0x46f8a4(0x17d)+name};},exports['getHookDetails']=_0x1acd94=>{const _0x5ba0b8=a31_0xdc39d6,_0x5e31ec={};_0x5e31ec['iwlVo']=function(_0x6d4b1b,_0x1bb39e){return _0x6d4b1b!==_0x1bb39e;},_0x5e31ec['pzcuz']=_0x5ba0b8(0x1a7),_0x5e31ec[_0x5ba0b8(0x1af)]=function(_0x4fd27f,_0x475582){return _0x4fd27f!==_0x475582;},_0x5e31ec['bBRKT']=_0x5ba0b8(0x19f),_0x5e31ec[_0x5ba0b8(0x184)]=function(_0x4c53a7,_0x5f290b){return _0x4c53a7!==_0x5f290b;},_0x5e31ec[_0x5ba0b8(0x16f)]='hook';const _0x4bdbbd=_0x5e31ec;if(!_0x1acd94||_0x4bdbbd[_0x5ba0b8(0x179)](typeof _0x1acd94,_0x4bdbbd['pzcuz']))return[null,null];if(_0x4bdbbd[_0x5ba0b8(0x1af)](_0x1acd94[_0x5ba0b8(0x182)](_0x4bdbbd[_0x5ba0b8(0x1a8)]),-0x1)){const _0x575ddc=_0x1acd94['split'](_0x4bdbbd[_0x5ba0b8(0x1a8)]);return[_0x575ddc[0x0][_0x5ba0b8(0x18d)](0x0,-0x1)[_0x5ba0b8(0x185)]('\x22')[0x1],_0x575ddc[0x1][_0x5ba0b8(0x192)](0x1)];}else{if(_0x4bdbbd[_0x5ba0b8(0x184)](_0x1acd94[_0x5ba0b8(0x182)](_0x4bdbbd['fuFKW']),-0x1)){const _0x4c1584=_0x1acd94[_0x5ba0b8(0x185)](_0x4bdbbd['fuFKW']);return[_0x4c1584[0x0][_0x5ba0b8(0x18d)](0x0,-0x1)[_0x5ba0b8(0x185)]('\x22')[0x1],_0x1acd94];}}return[null,null];},exports['getHooksForTest']=_0x130263=>{const _0x4c2642=a31_0xdc39d6,_0x100f85={'naPTM':function(_0x495ae4,_0x5335af){return _0x495ae4(_0x5335af);},'iJGkH':_0x4c2642(0x195),'OsddL':_0x4c2642(0x18b),'LwKGd':_0x4c2642(0x171),'nypmU':_0x4c2642(0x19d)};if(!_0x130263||!_0x130263[_0x4c2642(0x17e)])return[];const _0x310980=[];return[_0x100f85[_0x4c2642(0x176)],_0x100f85['OsddL'],_0x100f85[_0x4c2642(0x194)],_0x100f85[_0x4c2642(0x1b6)]]['forEach'](_0x346edb=>{const _0x324efa=_0x4c2642,_0x74050d=_0x130263[_0x324efa(0x17e)][_0x346edb]||[];_0x74050d[_0x324efa(0x197)](_0x2b62b2=>{const _0x2899d5=_0x324efa;_0x2b62b2[_0x2899d5(0x1a1)]&&!_0x100f85[_0x2899d5(0x1b1)](isInternalHook,_0x2b62b2['fn'])&&_0x310980[_0x2899d5(0x16d)](_0x2b62b2[_0x2899d5(0x1a1)]);});}),[..._0x310980,...exports[_0x4c2642(0x1ac)](_0x130263[_0x4c2642(0x17e)])];},exports[a31_0xdc39d6(0x173)]=_0x3b30ed=>{const _0x46e9cd=a31_0xdc39d6,_0x58ef1f={'HvPmh':function(_0x48af36){return _0x48af36();},'nycEo':function(_0x2d8960,_0x1e8199){return _0x2d8960===_0x1e8199;},'wyzmf':'_afterEach','pHDdb':'_beforeAll','yvwLo':'_afterAll','PoFxL':_0x46e9cd(0x171)};if(!_0x3b30ed||!_0x3b30ed['parent'])return;[_0x58ef1f[_0x46e9cd(0x188)],_0x58ef1f[_0x46e9cd(0x160)],_0x58ef1f[_0x46e9cd(0x170)],_0x58ef1f['wyzmf']][_0x46e9cd(0x197)](_0x4c91c6=>{const _0x231c1f=_0x46e9cd,_0x56b0bc={'lPBQM':function(_0x1d8edb){const _0x59b838=a31_0x29a5;return _0x58ef1f[_0x59b838(0x1ab)](_0x1d8edb);},'iACPK':function(_0x285b9f,_0x5a610f){const _0x11ca03=a31_0x29a5;return _0x58ef1f[_0x11ca03(0x1b2)](_0x285b9f,_0x5a610f);},'ggtoV':_0x58ef1f['wyzmf'],'CWKQw':function(_0x508369){const _0x327123=a31_0x29a5;return _0x58ef1f[_0x327123(0x1ab)](_0x508369);}},_0x13a4e8=_0x3b30ed[_0x231c1f(0x17e)][_0x4c91c6]||[];_0x13a4e8[_0x231c1f(0x197)](_0x376f7c=>{const _0x466478=_0x231c1f;if(!_0x376f7c['hookAnalyticsId'])_0x376f7c[_0x466478(0x1a1)]=_0x56b0bc['lPBQM'](uuidv4);else _0x376f7c[_0x466478(0x174)]&&_0x56b0bc[_0x466478(0x1b3)](_0x4c91c6,_0x56b0bc[_0x466478(0x17c)])&&(_0x376f7c[_0x466478(0x1a1)]=_0x56b0bc['CWKQw'](uuidv4),delete _0x376f7c[_0x466478(0x174)]);});}),exports[_0x46e9cd(0x173)](_0x3b30ed[_0x46e9cd(0x17e)]);},exports['sendPlatformDetails']=async(_0x201182,_0x260290)=>{const _0x5e7561=a31_0xdc39d6,_0x5ad2a3={'zTgfg':function(_0x4a171f){return _0x4a171f();},'VSQBc':function(_0x534b90,_0x4584de){return _0x534b90(_0x4584de);},'vziWM':function(_0x1fd136,_0x5737b5){return _0x1fd136===_0x5737b5;},'uSBuC':_0x5e7561(0x162),'sFRBV':'unknown_grid','jWKSN':'TEST_PLATFORM','kyCVA':function(_0x5bc95c,_0x3e0869){return _0x5bc95c(_0x3e0869);}};try{if(!_0x5ad2a3[_0x5e7561(0x1a6)](shouldProcessEventForTesthub))return;const _0x5b056a=await _0x201182[_0x5e7561(0x19e)](),_0x6e95c=await _0x201182[_0x5e7561(0x17f)](),_0x5020eb={},_0xea7bb1=Object[_0x5e7561(0x183)](_0x6e95c[_0x5e7561(0x19e)]()['map_']),_0x5bfcb5={'product':_0x5ad2a3[_0x5e7561(0x181)](getObservabilityLinkedProductName,_0xea7bb1),'capabilities':_0xea7bb1,'platform':_0x5b056a[_0x5e7561(0x1ae)](),'platform_version':_0x5ad2a3[_0x5e7561(0x181)](getPlatformVersion,_0x5ad2a3[_0x5e7561(0x1a4)](global[_0x5e7561(0x1a2)],_0x5ad2a3[_0x5e7561(0x1a9)])),'browser':_0x5b056a[_0x5e7561(0x190)](),'browser_version':_0x5b056a[_0x5e7561(0x1ad)](),'session_id':_0x6e95c[_0x5e7561(0x191)]()};global[_0x5e7561(0x1a2)]?_0x5020eb[global[_0x5e7561(0x1a2)]]=_0x5bfcb5:_0x5020eb[_0x5ad2a3[_0x5e7561(0x1b0)]]=_0x5bfcb5,process[_0x5e7561(0x16b)](_0x5e7561(0x19b)+process[_0x5e7561(0x16a)],{'timestamp':new Date()[_0x5e7561(0x189)](),'level':null,'message':null,'kind':_0x5ad2a3['jWKSN'],'http_response':_0x5020eb,'uuid':_0x260290});}catch(_0x32e098){_0x5ad2a3['kyCVA'](debug,_0x5e7561(0x180)+_0x32e098);}},exports[a31_0xdc39d6(0x163)]=_0xc71883=>{const _0x48e6c8=a31_0xdc39d6,_0x49978e={};_0x49978e[_0x48e6c8(0x16c)]=function(_0x2d4817,_0x4baed0){return _0x2d4817!==_0x4baed0;},_0x49978e['uJDmB']=_0x48e6c8(0x1a5),_0x49978e[_0x48e6c8(0x196)]=function(_0x5cce35,_0x3db731){return _0x5cce35!==_0x3db731;},_0x49978e['TmqNq']=_0x48e6c8(0x164),_0x49978e['KUXhr']=_0x48e6c8(0x165);const _0x30e4c8=_0x49978e,_0x46c8f6=_0xc71883[_0x48e6c8(0x15f)]['reduce']((_0x2b60df,_0x1bb53d)=>{const _0x26c6f1=_0x48e6c8,_0x23eb63=exports[_0x26c6f1(0x163)](_0x1bb53d);return _0x23eb63&&(_0x2b60df=_0x2b60df['concat'](_0x23eb63)),_0x2b60df;},[]),_0x4859c2=_0xc71883[_0x48e6c8(0x1b4)][_0x48e6c8(0x199)](_0x29fe90=>{const _0x1e0041=_0x48e6c8,_0x1a7ef7=_0x30e4c8[_0x1e0041(0x16c)](_0x29fe90[_0x1e0041(0x1b5)],_0x30e4c8[_0x1e0041(0x166)])&&!_0x29fe90['markedStatus']&&_0x30e4c8['fCrkA'](_0x29fe90[_0x1e0041(0x17a)],_0x30e4c8[_0x1e0041(0x19c)])&&_0x30e4c8[_0x1e0041(0x16c)](_0x29fe90[_0x1e0041(0x17a)],_0x30e4c8[_0x1e0041(0x172)])&&!_0x29fe90[_0x1e0041(0x16e)];return _0x1a7ef7;});return _0x4859c2[_0x48e6c8(0x178)](_0x46c8f6);};
@@ -1 +1 @@
1
- function a32_0x1d75(_0xddc0b1,_0x317ca7){const _0x18077b=a32_0x1807();return a32_0x1d75=function(_0x1d758b,_0x4d489d){_0x1d758b=_0x1d758b-0x8f;let _0x3613af=_0x18077b[_0x1d758b];return _0x3613af;},a32_0x1d75(_0xddc0b1,_0x317ca7);}const a32_0x383505=a32_0x1d75;(function(_0x4c4b58,_0x4a085a){const _0x5c1f7d=a32_0x1d75,_0x338034=_0x4c4b58();while(!![]){try{const _0x5e75ab=parseInt(_0x5c1f7d(0xb4))/0x1*(-parseInt(_0x5c1f7d(0xc9))/0x2)+-parseInt(_0x5c1f7d(0xb2))/0x3*(parseInt(_0x5c1f7d(0xd8))/0x4)+-parseInt(_0x5c1f7d(0x13e))/0x5+parseInt(_0x5c1f7d(0xa1))/0x6+parseInt(_0x5c1f7d(0xbe))/0x7+-parseInt(_0x5c1f7d(0xb0))/0x8*(parseInt(_0x5c1f7d(0xfd))/0x9)+-parseInt(_0x5c1f7d(0xa9))/0xa*(-parseInt(_0x5c1f7d(0x96))/0xb);if(_0x5e75ab===_0x4a085a)break;else _0x338034['push'](_0x338034['shift']());}catch(_0x4e75c0){_0x338034['push'](_0x338034['shift']());}}}(a32_0x1807,0xde670));const util=require(a32_0x383505(0xdf)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x383505(0x13d)),{percyAutoCapture}=require(a32_0x383505(0x102)),{sendPlatformDetails}=require(a32_0x383505(0xdd)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x383505(0x12b)),PerformanceTester=require(a32_0x383505(0xf9)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x383505(0xfa)),scripts=require(a32_0x383505(0x9b)),globals=require(a32_0x383505(0xe8)),logger=require(a32_0x383505(0xc1))[a32_0x383505(0x12e)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x383505(0x109));exports['mochaHooks']={'beforeAll'(){const _0x51a2ca=a32_0x383505,_0x313c8c={'eFynd':function(_0x2b9fb5,_0x328747,_0xd1c0b9,_0x558e6f){return _0x2b9fb5(_0x328747,_0xd1c0b9,_0x558e6f);},'fndBF':'failed','vLPSG':_0x51a2ca(0xae),'oJRec':function(_0x5de54f,_0x2302c9,_0x961847){return _0x5de54f(_0x2302c9,_0x961847);},'fkAdn':_0x51a2ca(0xed),'ZgUDw':function(_0x306583){return _0x306583();},'UWidd':_0x51a2ca(0xc6),'TJQIH':_0x51a2ca(0xd5)};PerformanceTester[_0x51a2ca(0xe9)]();const _0x1dccbb='browserstack internal helper hook';PerformanceTester[_0x51a2ca(0x131)](PerformanceSdkEvents[_0x51a2ca(0x142)],()=>{const _0x6844d2=_0x51a2ca;global[_0x6844d2(0xde)]=[],global['__sessionFailed']=![],global[_0x6844d2(0xf1)]=async()=>{const _0x5e1205=_0x6844d2;let _0x7bd93f=![];try{await global[_0x5e1205(0xbc)][0x0][_0x5e1205(0xa6)],_0x7bd93f=!![],global[_0x5e1205(0x97)]?await _0x313c8c['eFynd'](markSessionStatus,global[_0x5e1205(0xbc)][0x0],_0x313c8c[_0x5e1205(0x138)],global['__error_messages__'][_0x5e1205(0x9e)](_0x313c8c[_0x5e1205(0x11d)])):await _0x313c8c[_0x5e1205(0xe6)](markSessionStatus,global[_0x5e1205(0xbc)][0x0],_0x313c8c[_0x5e1205(0xd1)]);}catch(_0x37049c){logger[_0x5e1205(0x113)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x37049c);}global[_0x5e1205(0xde)]=[],global[_0x5e1205(0x97)]=![];if(_0x7bd93f)try{try{_0x313c8c[_0x5e1205(0xbd)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x313c8c[_0x5e1205(0xe6)](sendPlatformDetails,global[_0x5e1205(0xbc)][0x0],this[_0x5e1205(0xbb)]?this[_0x5e1205(0xbb)][_0x5e1205(0x130)]:null));}catch(_0x1bdac0){logger[_0x5e1205(0x113)](_0x5e1205(0x132)+_0x1bdac0);}await global[_0x5e1205(0xbc)][0x0][_0x5e1205(0xf2)]();}catch(_0x24c7f9){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x24c7f9);}};},{'platform':_0x313c8c['oJRec'](nestedKeyValue,global[_0x51a2ca(0xf3)],[_0x313c8c['UWidd']]),'hookType':_0x313c8c[_0x51a2ca(0xf4)]})();},'beforeEach'(_0x365504){const _0x43c587=a32_0x383505,_0x36e2e2={'YCgoi':function(_0x4149b8,_0x4addc6){return _0x4149b8>_0x4addc6;},'qiDiN':_0x43c587(0x8f),'wgOEX':function(_0x2af00c,_0x4f226e,_0x316386){return _0x2af00c(_0x4f226e,_0x316386);},'Qwlil':'bstackA11yShouldScan','nAPGN':function(_0x4d96fd){return _0x4d96fd();},'hMQoc':_0x43c587(0x120),'uZgkP':function(_0x357e62,_0x4f50ef){return _0x357e62===_0x4f50ef;},'gvEyl':_0x43c587(0xec),'OZYIu':function(_0x38da5b,_0x1f48c5){return _0x38da5b===_0x1f48c5;},'gfEtP':_0x43c587(0x100),'mqwVE':_0x43c587(0x114),'tVCOG':'Automate\x20test\x20case\x20execution\x20has\x20started.','MTRUO':_0x43c587(0xb1),'gqGFw':function(_0x4cba8f,_0x54e56e,_0xbd9f11){return _0x4cba8f(_0x54e56e,_0xbd9f11);},'STaCM':_0x43c587(0xc6),'YgILr':_0x43c587(0xd6)};globals[_0x43c587(0xf7)](_0x36e2e2['MTRUO'],this[_0x43c587(0xbb)][_0x43c587(0xe3)]()[_0x43c587(0x9e)](_0x36e2e2[_0x43c587(0x90)])),PerformanceTester[_0x43c587(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4cbd8b=_0x43c587,_0x17d3bb='browserstack internal helper hook';new Promise(async _0x59ade6=>{const _0x7db423=a32_0x1d75;let _0x22ec7d=!![];try{_0x36e2e2['YCgoi'](global['__drivers'][_0x7db423(0x13f)],0x1)&&(await global[_0x7db423(0xf1)](),global[_0x7db423(0xbc)][_0x7db423(0x9d)]()),_0x36e2e2['YCgoi'](global[_0x7db423(0xbc)][0x0][_0x7db423(0xd0)],0x0)&&(_0x22ec7d=![],await global[_0x7db423(0xf1)]());}catch(_0x13a39e){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x13a39e);}try{Array[_0x7db423(0x118)](global[_0x7db423(0xbc)])&&global[_0x7db423(0xbc)][0x0]&&(global['__drivers'][0x0][_0x7db423(0xe4)]=this['currentTest'][_0x7db423(0xe3)]()[_0x7db423(0x9e)](_0x36e2e2['qiDiN'])),global['browserstackSessionName']=this['currentTest']['titlePath']()[_0x7db423(0x9e)](_0x36e2e2[_0x7db423(0x90)]);}catch(_0x37b621){logger[_0x7db423(0x113)](_0x7db423(0x133)+_0x37b621);}this[_0x7db423(0xbb)][_0x7db423(0x11b)]=_0x36e2e2[_0x7db423(0xc3)](shouldScanTestForAccessibility,this[_0x7db423(0xbb)][_0x7db423(0xe3)](),!![]),globals[_0x7db423(0xf7)](_0x36e2e2[_0x7db423(0xeb)],this['currentTest'][_0x7db423(0x11b)]),this['currentTest'][_0x7db423(0xe0)]=!![];if(_0x36e2e2[_0x7db423(0xcf)](isAccessibilityAutomationSession)&&_0x22ec7d&&Array[_0x7db423(0x118)](global[_0x7db423(0xbc)])&&_0x36e2e2[_0x7db423(0xce)](global[_0x7db423(0xbc)]['length'],0x0)&&globals[_0x7db423(0xff)](_0x36e2e2[_0x7db423(0x137)]))try{const _0x2e2e20=await global['__drivers'][0x0][_0x7db423(0xa6)];if(_0x2e2e20){let _0x1dba68=!![];const _0x1f51c0=await global[_0x7db423(0xbc)][0x0][_0x7db423(0x9f)]();let _0x5c002e;try{_0x5c002e=new URL(_0x1f51c0);}catch(_0x2a9893){_0x1dba68=![];}_0x1dba68=_0x36e2e2[_0x7db423(0xfb)](_0x5c002e['protocol'],_0x36e2e2[_0x7db423(0xf8)])||_0x36e2e2[_0x7db423(0xaf)](_0x5c002e[_0x7db423(0x112)],_0x36e2e2[_0x7db423(0x12a)]),_0x1dba68&&(this[_0x7db423(0xbb)][_0x7db423(0x11b)]&&logger[_0x7db423(0xa4)](_0x36e2e2[_0x7db423(0x10c)])),this[_0x7db423(0xbb)][_0x7db423(0xe0)]=this['currentTest'][_0x7db423(0x11b)],this[_0x7db423(0xbb)]['shouldScanTestForAccessibility']&&logger[_0x7db423(0xa4)](_0x36e2e2[_0x7db423(0xd9)]);}}catch(_0x5febb8){logger[_0x7db423(0x106)](_0x7db423(0xf0)+util[_0x7db423(0xad)](_0x5febb8));}_0x36e2e2[_0x7db423(0xcf)](_0x59ade6);})[_0x4cbd8b(0xb3)](()=>{_0x36e2e2['nAPGN'](_0x365504);});},{'platform':_0x36e2e2[_0x43c587(0xd3)](nestedKeyValue,global[_0x43c587(0xf3)],[_0x36e2e2['STaCM']]),'hookType':_0x36e2e2[_0x43c587(0xe1)]})();},'afterEach'(_0xce1daf){const _0x2744fc=a32_0x383505,_0x5889be={'YoOjx':'\x20-\x20','MAiZj':function(_0x62e7eb,_0x2f37ae){return _0x62e7eb!==_0x2f37ae;},'faKWR':'passed','gubNp':function(_0x5ee315,_0x18966f,_0x3ccad5){return _0x5ee315(_0x18966f,_0x3ccad5);},'RQNaq':function(_0x56a297,_0x30816f){return _0x56a297+_0x30816f;},'MxGOb':'Failed:\x20','Gkioo':_0x2744fc(0x106),'bPpQm':'Passed','ovhZB':'info','OYoFz':function(_0x5df25b,_0xca52fb){return _0x5df25b>_0xca52fb;},'lZVNx':function(_0x5060fc,_0x37ee76){return _0x5060fc===_0x37ee76;},'vqgDe':_0x2744fc(0x13c),'fVsZx':_0x2744fc(0x10a),'iVJsR':function(_0x9f0e07,_0x2966d9,_0x135ee5,_0x28f87c){return _0x9f0e07(_0x2966d9,_0x135ee5,_0x28f87c);},'AVxhb':_0x2744fc(0x120),'GIhTW':_0x2744fc(0x104),'UxnDV':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','gitfX':_0x2744fc(0xe7),'ivFGu':_0x2744fc(0x129),'ljKPl':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','OPzTY':function(_0x4abfbf){return _0x4abfbf();},'ChmCG':function(_0x1e555a){return _0x1e555a();},'tZaBk':function(_0x478b87,_0x1ac24e,_0x5c1e60){return _0x478b87(_0x1ac24e,_0x5c1e60);},'GiNKl':_0x2744fc(0x113),'FINVi':_0x2744fc(0xc6),'TBTOI':_0x2744fc(0xdc)},_0x3e607e='browserstack internal helper hook';this[_0x2744fc(0xcb)](0xfde8),global[_0x2744fc(0x111)]=this[_0x2744fc(0xbb)][_0x2744fc(0xe3)]()[_0x2744fc(0x9e)](_0x5889be[_0x2744fc(0xe2)]),PerformanceTester[_0x2744fc(0x131)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4288e7=_0x2744fc,_0x5aa99e={'quaAW':_0x5889be[_0x4288e7(0xe2)],'YwWnc':function(_0x3924b0,_0x3ed145){const _0x26c9e1=_0x4288e7;return _0x5889be[_0x26c9e1(0x95)](_0x3924b0,_0x3ed145);},'rEqkE':_0x5889be[_0x4288e7(0x12f)],'lATjF':function(_0x45c466,_0x39850a,_0x5732e3){return _0x5889be['gubNp'](_0x45c466,_0x39850a,_0x5732e3);},'xyREs':function(_0x370ef1,_0x3f0621){const _0x74b441=_0x4288e7;return _0x5889be[_0x74b441(0x10d)](_0x370ef1,_0x3f0621);},'BQryZ':_0x5889be['MxGOb'],'mfnLe':_0x5889be[_0x4288e7(0x119)],'gsUBb':_0x5889be['bPpQm'],'exNUQ':_0x5889be[_0x4288e7(0xcd)],'IsyoI':function(_0x3600b5,_0x10be64){const _0x273837=_0x4288e7;return _0x5889be[_0x273837(0x9c)](_0x3600b5,_0x10be64);},'SflCz':function(_0x4ad771,_0xc64e77){return _0x5889be['lZVNx'](_0x4ad771,_0xc64e77);},'bMhSO':_0x5889be[_0x4288e7(0xee)],'Jyrar':_0x5889be[_0x4288e7(0xa2)],'tLYjR':function(_0x5bd4a6,_0x41f317,_0x468d38,_0x246524){const _0x4d68e9=_0x4288e7;return _0x5889be[_0x4d68e9(0x11c)](_0x5bd4a6,_0x41f317,_0x468d38,_0x246524);},'STTYU':_0x5889be[_0x4288e7(0x116)],'kZIhd':_0x5889be[_0x4288e7(0x135)],'ZaNng':_0x5889be[_0x4288e7(0x12d)],'mGyNE':_0x5889be['gitfX'],'tBrUN':_0x5889be[_0x4288e7(0xef)],'snrwL':_0x5889be[_0x4288e7(0x143)],'XMkIU':function(_0x24f81d){const _0x3a7963=_0x4288e7;return _0x5889be[_0x3a7963(0xaa)](_0x24f81d);},'QWLQu':function(_0x357272){const _0x2c724f=_0x4288e7;return _0x5889be[_0x2c724f(0xac)](_0x357272);},'zFGcJ':function(_0x355af6,_0x17adc6,_0x3c717d){return _0x5889be['tZaBk'](_0x355af6,_0x17adc6,_0x3c717d);},'MYQpF':_0x5889be[_0x4288e7(0xca)]},_0x15336d=async(_0x460c2c,_0x405e81)=>{const _0x4258db=_0x4288e7;await global[_0x4258db(0xbc)][0x0][_0x4258db(0x12c)](_0x4258db(0xc2)+_0x460c2c+',\x22level\x22:\x20\x22'+_0x405e81+_0x4258db(0x98));};new Promise(async _0x5177cb=>{const _0x44346d=_0x4288e7,_0x5ee3ab={'MkQie':function(_0x460195,_0x17a9c7){return _0x5aa99e['YwWnc'](_0x460195,_0x17a9c7);},'WuXAx':_0x5aa99e[_0x44346d(0xba)],'LGuwu':function(_0x42adb0,_0x59a6f3,_0x5ea0d8){return _0x5aa99e['lATjF'](_0x42adb0,_0x59a6f3,_0x5ea0d8);},'PsTWY':function(_0x37cd54,_0x53e2a7){const _0x2a8646=_0x44346d;return _0x5aa99e[_0x2a8646(0x108)](_0x37cd54,_0x53e2a7);},'mmjUV':_0x5aa99e[_0x44346d(0x9a)],'DpCiD':_0x5aa99e[_0x44346d(0xcc)],'xqReR':_0x5aa99e[_0x44346d(0x134)],'ktrHN':_0x5aa99e[_0x44346d(0x139)]};try{_0x5aa99e[_0x44346d(0xab)](global[_0x44346d(0xbc)][_0x44346d(0x13f)],0x1)&&(await global['driverCleanup'](),global[_0x44346d(0xbc)][_0x44346d(0x9d)](),global[_0x44346d(0xde)]=[],global[_0x44346d(0x97)]=![]);try{if(global['percy']&&_0x5aa99e[_0x44346d(0x141)](global['percyCaptureMode'],_0x5aa99e[_0x44346d(0xa3)])&&global[_0x44346d(0xbc)][0x0]){const _0x3f4234=_0x5aa99e[_0x44346d(0xab)](global[_0x44346d(0x13b)][_0x44346d(0x13f)],0x0)?!!global[_0x44346d(0x13b)][0x0][_0x44346d(0x126)]||!!global[_0x44346d(0x13b)][0x0][_0x5aa99e[_0x44346d(0x107)]]:![],_0x20a2f7={};_0x20a2f7[_0x44346d(0x126)]=_0x3f4234,await _0x5aa99e[_0x44346d(0xa8)](percyAutoCapture,global[_0x44346d(0xbc)][0x0],_0x5aa99e['bMhSO'],_0x20a2f7);}}catch(_0x3536d5){logger[_0x44346d(0x113)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x3536d5);}!global['__skipSessionName']&&(await PerformanceTester[_0x44346d(0x131)](PerformanceAutEvents[_0x44346d(0x105)],async()=>{const _0x1c1bff=_0x44346d;await global[_0x1c1bff(0xbc)][0x0][_0x1c1bff(0x12c)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x1c1bff(0xb8)](this['currentTest']['titlePath']()[_0x1c1bff(0x9e)](_0x5aa99e[_0x1c1bff(0x10b)]))+'}}');})(),global[_0x44346d(0xbc)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x44346d(0x131)](PerformanceAutEvents[_0x44346d(0xc0)],async()=>{const _0x5adb90=_0x44346d,_0x44f876=_0x5ee3ab[_0x5adb90(0xb5)](this[_0x5adb90(0xbb)]['state'],_0x5ee3ab[_0x5adb90(0x117)]);_0x44f876?(global[_0x5adb90(0x97)]=!![],global[_0x5adb90(0xde)][_0x5adb90(0x10f)](this['currentTest'][_0x5adb90(0x94)][_0x5adb90(0xb7)]),await _0x5ee3ab[_0x5adb90(0xa5)](_0x15336d,JSON[_0x5adb90(0xb8)](_0x5ee3ab[_0x5adb90(0x140)](_0x5ee3ab['mmjUV'],this[_0x5adb90(0xbb)][_0x5adb90(0x94)][_0x5adb90(0xb7)])),_0x5ee3ab[_0x5adb90(0xd7)])):await _0x5ee3ab[_0x5adb90(0xa5)](_0x15336d,JSON[_0x5adb90(0xb8)](_0x5ee3ab[_0x5adb90(0x123)]),_0x5ee3ab[_0x5adb90(0x103)]);})();}catch(_0x298ec5){logger[_0x44346d(0x113)](_0x44346d(0x115)+_0x298ec5);}try{if(this['currentTest'][_0x44346d(0xe0)]&&globals[_0x44346d(0xff)](_0x5aa99e[_0x44346d(0xc8)])&&globals['getGlobal'](_0x5aa99e[_0x44346d(0xf5)])){logger['info'](_0x5aa99e[_0x44346d(0x99)]);const _0x4b0f39={};_0x4b0f39[_0x44346d(0x125)]=this[_0x44346d(0xbb)]['testAnalyticsId'],_0x4b0f39['thBuildUuid']=process[_0x44346d(0xc5)][testHubConstants[_0x44346d(0x101)][_0x44346d(0xb6)]],_0x4b0f39['thJwtToken']=process['env'][testHubConstants['ENV_VAR'][_0x44346d(0x13a)]];const _0x28c02d=_0x4b0f39;logger[_0x44346d(0x113)](_0x44346d(0x122)+JSON[_0x44346d(0xb8)](_0x28c02d)),logger[_0x44346d(0x113)](_0x5aa99e[_0x44346d(0x93)]);const _0x387dc1={};_0x387dc1[_0x44346d(0xdb)]=_0x5aa99e[_0x44346d(0xda)],await PerformanceTester[_0x44346d(0x131)](PerformanceA11yEvents[_0x44346d(0xd4)],async()=>{const _0x3bb9b3=_0x44346d;logger[_0x3bb9b3(0x113)](util[_0x3bb9b3(0xad)](await global['__drivers'][0x0][_0x3bb9b3(0x124)](scripts[_0x3bb9b3(0xc4)],{'method':global[_0x3bb9b3(0xe4)]})));},_0x387dc1)(),await PerformanceTester[_0x44346d(0x131)](PerformanceA11yEvents[_0x44346d(0xa7)],async()=>{const _0x198b71=_0x44346d;await global['__drivers'][0x0][_0x198b71(0x124)](scripts[_0x198b71(0xc7)],_0x28c02d);})(),logger['info'](_0x5aa99e[_0x44346d(0xf6)]);}}catch(_0x2fa806){logger[_0x44346d(0x106)](_0x44346d(0x128)+this[_0x44346d(0xbb)][_0x44346d(0xe3)]()+_0x44346d(0xe5),_0x2fa806);}try{try{if(_0x5aa99e['XMkIU'](shouldProcessEventForTesthub)){global[_0x44346d(0xbc)][0x0]&&await _0x5aa99e[_0x44346d(0x91)](sendPlatformDetails,global[_0x44346d(0xbc)][0x0],this[_0x44346d(0xbb)]?this[_0x44346d(0xbb)]['testAnalyticsId']:null);if(_0x5aa99e[_0x44346d(0x136)](isBrowserstackInfra)){PerformanceTester[_0x44346d(0x10e)](PerformanceO11yEvents[_0x44346d(0x121)]);const _0x3acbfb=_0x44346d(0xb9)+Date[_0x44346d(0xfe)]();await _0x5aa99e[_0x44346d(0xbf)](_0x15336d,JSON['stringify'](_0x3acbfb),_0x5aa99e[_0x44346d(0xd2)]),PerformanceTester[_0x44346d(0xfc)](PerformanceO11yEvents[_0x44346d(0x121)]);}}}catch(_0xf8c724){logger[_0x44346d(0x113)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0xf8c724),PerformanceTester['end'](PerformanceO11yEvents[_0x44346d(0x121)],![],_0xf8c724);}_0x5aa99e['IsyoI'](global[_0x44346d(0xbc)][0x0][_0x44346d(0xd0)],0x0)&&await global[_0x44346d(0xf1)]();}catch(_0x5d0b40){logger[_0x44346d(0x113)](_0x44346d(0x11a)+_0x5d0b40);}_0x5aa99e['XMkIU'](_0x5177cb);})['then'](()=>{const _0x556944=_0x4288e7;_0x5aa99e[_0x556944(0x136)](_0xce1daf);});},{'platform':_0x5889be['tZaBk'](nestedKeyValue,global[_0x2744fc(0xf3)],[_0x5889be[_0x2744fc(0x11f)]]),'hookType':_0x5889be[_0x2744fc(0x11e)]})();},'afterAll'(_0x4d930e){const _0x18836d=a32_0x383505,_0x26ab74={'BzbIA':function(_0x5ab946){return _0x5ab946();},'GWljd':function(_0x1a2390){return _0x1a2390();},'AuvFo':function(_0x44d318,_0x173c7d,_0x37e89a){return _0x44d318(_0x173c7d,_0x37e89a);},'BvuCX':'index','eShUo':_0x18836d(0x127)},_0x28e981='browserstack internal helper hook';this[_0x18836d(0xcb)](0xfde8),PerformanceTester[_0x18836d(0x131)](PerformanceSdkEvents[_0x18836d(0x142)],()=>{const _0x1cb64e=_0x18836d,_0x142462={'hMPCl':function(_0x66f445){return _0x26ab74['BzbIA'](_0x66f445);},'PsTzv':function(_0x5574ea){const _0x3e0c60=a32_0x1d75;return _0x26ab74[_0x3e0c60(0xea)](_0x5574ea);}};new Promise(async _0x72f012=>{const _0x1f8eb3=a32_0x1d75;await global[_0x1f8eb3(0xf1)](),_0x142462['hMPCl'](_0x72f012);})[_0x1cb64e(0xb3)]()['finally'](()=>{_0x142462['PsTzv'](_0x4d930e);});},{'platform':_0x26ab74[_0x18836d(0x110)](nestedKeyValue,global[_0x18836d(0xf3)],[_0x26ab74[_0x18836d(0xa0)]]),'hookType':_0x26ab74[_0x18836d(0x92)]})();}};function a32_0x1807(){const _0x4eaed3=['BQryZ','../../helpers/accessibility-automation/scripts','OYoFz','shift','join','getCurrentUrl','BvuCX','1045566VHQqOW','fVsZx','bMhSO','info','LGuwu','session_','SAVE_RESULTS','tLYjR','157770vYLIvi','OPzTY','IsyoI','ChmCG','format','\x20|\x20','OZYIu','17528ZnzGWz','browserstackTestName','3hJeugB','then','1eNbTdz','MkQie','BROWSERSTACK_TESTHUB_UUID','message','stringify','ObservabilitySync:','rEqkE','currentTest','__drivers','ZgUDw','4961684SxhctK','zFGcJ','SESSION_STATUS','../../helpers/logger','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','wgOEX','performScan','env','index','saveTestResults','STTYU','3051164aoCFEd','GiNKl','timeout','mfnLe','ovhZB','YCgoi','nAPGN','quitCount_','fkAdn','MYQpF','gqGFw','PERFORM_SCAN','beforeAll','beforeEach','DpCiD','1761820NSlXUT','tVCOG','tBrUN','command','afterEach','./test-observability/mochaUtils','__error_messages__','util','accessibilityScanStarted','YgILr','YoOjx','titlePath','browserstackSessionName','.\x20Error\x20:','oJRec','Performing\x20scan\x20before\x20saving\x20results','../../helpers/globals','startMonitoring','GWljd','Qwlil','http:','passed','vqgDe','ivFGu','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','driverCleanup','initQuit','__platformCaps','TJQIH','kZIhd','snrwL','setGlobal','gvEyl','../../helpers/performance/performance-tester','../../helpers/performance/constants','uZgkP','end','3681BOeGOT','now','getGlobal','https:','ENV_VAR','../../helpers/percy/utils','ktrHN','bstackA11yShouldScan','SESSION_NAME','error','Jyrar','xyREs','../../helpers/testhub/constants','appium:app','quaAW','mqwVE','RQNaq','start','push','AuvFo','sessionName','protocol','debug','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','AVxhb','WuXAx','isArray','Gkioo','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','shouldScanTestForAccessibility','iVJsR','vLPSG','TBTOI','FINVi','isAccessibilityPlatform','SYNC','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','xqReR','executeAsyncScript','thTestRunUuid','app','afterAll','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','afterTest','gfEtP','../../helpers/helper','executeScript','UxnDV','winstonLogger','faKWR','testAnalyticsId','measureWrapper','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','gsUBb','GIhTW','QWLQu','hMQoc','fndBF','exNUQ','BROWSERSTACK_TESTHUB_JWT','capabilities','testcase','../../helpers/accessibility-automation/helper','7085390NRcTWj','length','PsTWY','SflCz','SDK_HOOK','ljKPl','\x20-\x20','qiDiN','lATjF','eShUo','mGyNE','err','MAiZj','3003CrksUF','__sessionFailed','\x22}}','ZaNng'];a32_0x1807=function(){return _0x4eaed3;};return a32_0x1807();}
1
+ const a32_0x529a6d=a32_0x26e7;(function(_0x5b7659,_0xc9f2d1){const _0x9552cb=a32_0x26e7,_0xac6ca8=_0x5b7659();while(!![]){try{const _0x32350c=-parseInt(_0x9552cb(0x221))/0x1*(-parseInt(_0x9552cb(0x26f))/0x2)+parseInt(_0x9552cb(0x229))/0x3+parseInt(_0x9552cb(0x233))/0x4+parseInt(_0x9552cb(0x297))/0x5+-parseInt(_0x9552cb(0x257))/0x6+-parseInt(_0x9552cb(0x23c))/0x7+-parseInt(_0x9552cb(0x22c))/0x8*(parseInt(_0x9552cb(0x20e))/0x9);if(_0x32350c===_0xc9f2d1)break;else _0xac6ca8['push'](_0xac6ca8['shift']());}catch(_0x57053c){_0xac6ca8['push'](_0xac6ca8['shift']());}}}(a32_0x1126,0x94535));const util=require(a32_0x529a6d(0x226)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x529a6d(0x288)),{percyAutoCapture}=require(a32_0x529a6d(0x24b)),{sendPlatformDetails}=require(a32_0x529a6d(0x263)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x529a6d(0x252)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x529a6d(0x22a)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x529a6d(0x223)),logger=require(a32_0x529a6d(0x28f))[a32_0x529a6d(0x1f5)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x529a6d(0x208));exports[a32_0x529a6d(0x207)]={'beforeAll'(){const _0x24103d=a32_0x529a6d,_0x31f516={'zRDEJ':function(_0x290f34,_0x43d241,_0x344741,_0x133cca){return _0x290f34(_0x43d241,_0x344741,_0x133cca);},'ymLks':_0x24103d(0x212),'AWeyf':_0x24103d(0x23a),'lmDwf':function(_0x3ca719,_0x514e74,_0x5b7ce2){return _0x3ca719(_0x514e74,_0x5b7ce2);},'QeAbv':_0x24103d(0x266),'PcEYi':function(_0x4b5c8d){return _0x4b5c8d();},'QGHfw':function(_0x42f177,_0xcc34f9,_0x52d7f3){return _0x42f177(_0xcc34f9,_0x52d7f3);},'rQYRd':function(_0x1a0048,_0x593d77,_0x47c9a6){return _0x1a0048(_0x593d77,_0x47c9a6);},'sXXbr':_0x24103d(0x235),'ttCXI':_0x24103d(0x278)};PerformanceTester[_0x24103d(0x21f)]();const _0x49b20a='browserstack internal helper hook';PerformanceTester[_0x24103d(0x219)](PerformanceSdkEvents[_0x24103d(0x200)],()=>{const _0x2cecc0=_0x24103d;global[_0x2cecc0(0x22b)]=[],global[_0x2cecc0(0x1fd)]=![],global['driverCleanup']=async()=>{const _0x31c478=_0x2cecc0;let _0x25ffe8=![];try{await global[_0x31c478(0x28a)][0x0][_0x31c478(0x1f8)],_0x25ffe8=!![],global['__sessionFailed']?await _0x31f516[_0x31c478(0x27f)](markSessionStatus,global[_0x31c478(0x28a)][0x0],_0x31f516[_0x31c478(0x261)],global[_0x31c478(0x22b)][_0x31c478(0x234)](_0x31f516[_0x31c478(0x1f6)])):await _0x31f516['lmDwf'](markSessionStatus,global[_0x31c478(0x28a)][0x0],_0x31f516[_0x31c478(0x236)]);}catch(_0x3c4121){logger[_0x31c478(0x25f)](_0x31c478(0x27c)+_0x3c4121);}global[_0x31c478(0x22b)]=[],global[_0x31c478(0x1fd)]=![];if(_0x25ffe8)try{try{_0x31f516[_0x31c478(0x1fc)](shouldProcessEventForTesthub)&&(global[_0x31c478(0x28a)][0x0]&&await _0x31f516[_0x31c478(0x217)](sendPlatformDetails,global[_0x31c478(0x28a)][0x0],this['currentTest']?this[_0x31c478(0x25b)][_0x31c478(0x258)]:null));}catch(_0x14a4a6){logger['debug']('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x14a4a6);}await global[_0x31c478(0x28a)][0x0]['initQuit']();}catch(_0x5a5108){logger[_0x31c478(0x25f)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5a5108);}};},{'platform':_0x31f516[_0x24103d(0x27e)](nestedKeyValue,global[_0x24103d(0x246)],[_0x31f516[_0x24103d(0x228)]]),'hookType':_0x31f516['ttCXI']})();},'beforeEach'(_0x2cdc78){const _0x28e2f9=a32_0x529a6d,_0xbd7164={'Mfxfc':function(_0x4d63fa,_0x3d3846){return _0x4d63fa>_0x3d3846;},'MgLer':function(_0x25f2d1,_0x25196b){return _0x25f2d1>_0x25196b;},'wOBeb':_0x28e2f9(0x26b),'HoFyz':function(_0xe72c25,_0x1264cc,_0x5b4cca){return _0xe72c25(_0x1264cc,_0x5b4cca);},'aHKlQ':_0x28e2f9(0x256),'BtFNd':function(_0x57e54b){return _0x57e54b();},'IBThb':function(_0x134cd9,_0x385ec9){return _0x134cd9>_0x385ec9;},'fUBRJ':_0x28e2f9(0x22d),'orSzV':function(_0x1843d4,_0xf7379){return _0x1843d4===_0xf7379;},'YkPYr':_0x28e2f9(0x222),'sVbsr':_0x28e2f9(0x255),'Dluzg':_0x28e2f9(0x24c),'eznOb':'Automate\x20test\x20case\x20execution\x20has\x20started.','mIBja':function(_0x2f2d41){return _0x2f2d41();},'zHnMR':_0x28e2f9(0x21d),'uuAEu':function(_0x1d0833,_0x29608c,_0x464b1d){return _0x1d0833(_0x29608c,_0x464b1d);},'IlDhM':_0x28e2f9(0x235),'LSkbz':'beforeEach'};globals['setGlobal'](_0xbd7164[_0x28e2f9(0x286)],this[_0x28e2f9(0x25b)][_0x28e2f9(0x24f)]()['join'](_0xbd7164[_0x28e2f9(0x262)])),PerformanceTester[_0x28e2f9(0x219)](PerformanceSdkEvents[_0x28e2f9(0x200)],()=>{const _0x25b7a9='browserstack internal helper hook';new Promise(async _0x3ae2cc=>{const _0x36a3ca=a32_0x26e7;let _0x1a4d8a=!![];try{_0xbd7164[_0x36a3ca(0x1f3)](global[_0x36a3ca(0x28a)][_0x36a3ca(0x21c)],0x1)&&(await global['driverCleanup'](),global[_0x36a3ca(0x28a)][_0x36a3ca(0x285)]()),_0xbd7164[_0x36a3ca(0x23d)](global[_0x36a3ca(0x28a)][0x0][_0x36a3ca(0x243)],0x0)&&(_0x1a4d8a=![],await global[_0x36a3ca(0x206)]());}catch(_0x3660fe){logger['debug'](_0x36a3ca(0x1f4)+_0x3660fe);}try{Array[_0x36a3ca(0x25a)](global[_0x36a3ca(0x28a)])&&global[_0x36a3ca(0x28a)][0x0]&&(global[_0x36a3ca(0x28a)][0x0][_0x36a3ca(0x27a)]=this[_0x36a3ca(0x25b)]['titlePath']()[_0x36a3ca(0x234)](_0xbd7164[_0x36a3ca(0x262)])),global[_0x36a3ca(0x27a)]=this[_0x36a3ca(0x25b)][_0x36a3ca(0x24f)]()['join'](_0xbd7164['wOBeb']);}catch(_0x54e60d){logger['debug'](_0x36a3ca(0x23f)+_0x54e60d);}this[_0x36a3ca(0x25b)]['shouldScanTestForAccessibility']=_0xbd7164[_0x36a3ca(0x273)](shouldScanTestForAccessibility,this[_0x36a3ca(0x25b)]['titlePath'](),!![]),globals[_0x36a3ca(0x201)](_0xbd7164['aHKlQ'],this[_0x36a3ca(0x25b)][_0x36a3ca(0x242)]),this['currentTest'][_0x36a3ca(0x287)]=!![];if(_0xbd7164[_0x36a3ca(0x216)](isAccessibilityAutomationSession)&&_0x1a4d8a&&Array['isArray'](global['__drivers'])&&_0xbd7164[_0x36a3ca(0x28c)](global[_0x36a3ca(0x28a)][_0x36a3ca(0x21c)],0x0)&&globals[_0x36a3ca(0x23e)](_0xbd7164[_0x36a3ca(0x1fe)]))try{const _0x3d9dc9=await global['__drivers'][0x0][_0x36a3ca(0x1f8)];if(_0x3d9dc9){let _0x3730d5=!![];const _0x2ee062=await global[_0x36a3ca(0x28a)][0x0][_0x36a3ca(0x264)]();let _0x56b8ad;try{_0x56b8ad=new URL(_0x2ee062);}catch(_0x19a10b){_0x3730d5=![];}_0x3730d5=_0xbd7164[_0x36a3ca(0x248)](_0x56b8ad[_0x36a3ca(0x1fa)],_0xbd7164[_0x36a3ca(0x26a)])||_0xbd7164[_0x36a3ca(0x248)](_0x56b8ad[_0x36a3ca(0x1fa)],_0xbd7164[_0x36a3ca(0x253)]),_0x3730d5&&(this[_0x36a3ca(0x25b)][_0x36a3ca(0x242)]&&logger[_0x36a3ca(0x220)](_0xbd7164['Dluzg'])),this[_0x36a3ca(0x25b)][_0x36a3ca(0x287)]=this[_0x36a3ca(0x25b)]['shouldScanTestForAccessibility'],this[_0x36a3ca(0x25b)]['shouldScanTestForAccessibility']&&logger['info'](_0xbd7164[_0x36a3ca(0x227)]);}}catch(_0x3d62ad){logger[_0x36a3ca(0x25d)](_0x36a3ca(0x1f7)+util[_0x36a3ca(0x211)](_0x3d62ad));}_0xbd7164[_0x36a3ca(0x216)](_0x3ae2cc);})['then'](()=>{const _0x4305e4=a32_0x26e7;_0xbd7164[_0x4305e4(0x20c)](_0x2cdc78);});},{'platform':_0xbd7164[_0x28e2f9(0x205)](nestedKeyValue,global[_0x28e2f9(0x246)],[_0xbd7164['IlDhM']]),'hookType':_0xbd7164[_0x28e2f9(0x269)]})();},'afterEach'(_0x421452){const _0x1a32be=a32_0x529a6d,_0x1ab04f={'BelMS':function(_0x22499e,_0x2d800c){return _0x22499e>_0x2d800c;},'sbYfL':function(_0x323975,_0x8fc62c){return _0x323975===_0x8fc62c;},'RumBv':'testcase','iMxaj':_0x1a32be(0x230),'Kqrbx':function(_0x35b72f,_0x17cf8e,_0x12d1bf,_0x5455f1){return _0x35b72f(_0x17cf8e,_0x12d1bf,_0x5455f1);},'WfwvZ':_0x1a32be(0x22d),'RKpyA':_0x1a32be(0x256),'qRGqj':_0x1a32be(0x270),'iANRb':_0x1a32be(0x27d),'oZmyx':_0x1a32be(0x218),'ePEZN':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','JMFEk':function(_0x158f81){return _0x158f81();},'jifVf':function(_0x4a0c27,_0x49086f,_0x43406e){return _0x4a0c27(_0x49086f,_0x43406e);},'UGchD':function(_0x4869b2){return _0x4869b2();},'nvxVb':_0x1a32be(0x25f),'SitBb':function(_0x5807b9,_0x5ae8cc){return _0x5807b9>_0x5ae8cc;},'szlLV':function(_0x68bea2){return _0x68bea2();},'yiTky':_0x1a32be(0x26b),'xeDgd':function(_0x3e168e,_0x3c6da1){return _0x3e168e!==_0x3c6da1;},'MeZNx':'passed','vkNDb':function(_0x53206e,_0x40e65d){return _0x53206e+_0x40e65d;},'NgusK':_0x1a32be(0x249),'IISZe':_0x1a32be(0x25d),'qWJmn':function(_0x47a5e4,_0x26128e,_0x5a0ac6){return _0x47a5e4(_0x26128e,_0x5a0ac6);},'pjasp':_0x1a32be(0x282),'XjiGo':_0x1a32be(0x220),'azIJP':_0x1a32be(0x235),'UOaxM':_0x1a32be(0x292)},_0x50ba0b='browserstack internal helper hook';this[_0x1a32be(0x289)](0xfde8),global['sessionName']=this['currentTest'][_0x1a32be(0x24f)]()[_0x1a32be(0x234)](_0x1ab04f['yiTky']),PerformanceTester[_0x1a32be(0x219)](PerformanceSdkEvents[_0x1a32be(0x200)],()=>{const _0x9d5e5c=_0x1a32be,_0x4ecec7={'FlBnW':_0x1ab04f['yiTky'],'krTzP':function(_0x26e2da,_0x118b6e){const _0x457cfb=a32_0x26e7;return _0x1ab04f[_0x457cfb(0x225)](_0x26e2da,_0x118b6e);},'vWlXq':_0x1ab04f[_0x9d5e5c(0x214)],'ZBLjr':function(_0x554920,_0x131f52,_0x3abaee){const _0x41a92c=_0x9d5e5c;return _0x1ab04f[_0x41a92c(0x250)](_0x554920,_0x131f52,_0x3abaee);},'NVjVq':function(_0x3dae13,_0x428331){const _0x1c27cd=_0x9d5e5c;return _0x1ab04f[_0x1c27cd(0x272)](_0x3dae13,_0x428331);},'WvFGA':_0x1ab04f['NgusK'],'YuuwN':_0x1ab04f['IISZe'],'qbZNp':function(_0x3f1803,_0x12d5ac,_0x29a2b4){return _0x1ab04f['qWJmn'](_0x3f1803,_0x12d5ac,_0x29a2b4);},'oIOBc':_0x1ab04f[_0x9d5e5c(0x27b)],'cgzSL':_0x1ab04f[_0x9d5e5c(0x275)]},_0x58b52d=async(_0x40982d,_0x446382)=>{const _0x58aed6=_0x9d5e5c;await global['__drivers'][0x0][_0x58aed6(0x237)](_0x58aed6(0x26d)+_0x40982d+_0x58aed6(0x28d)+_0x446382+_0x58aed6(0x268));};new Promise(async _0x1a8a44=>{const _0x39b3f8=_0x9d5e5c;try{_0x1ab04f['BelMS'](global[_0x39b3f8(0x28a)][_0x39b3f8(0x21c)],0x1)&&(await global[_0x39b3f8(0x206)](),global['__drivers'][_0x39b3f8(0x285)](),global['__error_messages__']=[],global[_0x39b3f8(0x1fd)]=![]);try{if(global[_0x39b3f8(0x209)]&&_0x1ab04f['sbYfL'](global[_0x39b3f8(0x241)],_0x1ab04f[_0x39b3f8(0x265)])&&global[_0x39b3f8(0x28a)][0x0]){const _0x24198f=_0x1ab04f[_0x39b3f8(0x21e)](global['capabilities']['length'],0x0)?!!global[_0x39b3f8(0x24e)][0x0][_0x39b3f8(0x238)]||!!global[_0x39b3f8(0x24e)][0x0][_0x1ab04f[_0x39b3f8(0x247)]]:![],_0x1ea531={};_0x1ea531['app']=_0x24198f,await _0x1ab04f['Kqrbx'](percyAutoCapture,global[_0x39b3f8(0x28a)][0x0],_0x1ab04f[_0x39b3f8(0x265)],_0x1ea531);}}catch(_0xe533eb){logger[_0x39b3f8(0x25f)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0xe533eb);}!global[_0x39b3f8(0x283)]&&(await PerformanceTester[_0x39b3f8(0x219)](PerformanceAutEvents[_0x39b3f8(0x25e)],async()=>{const _0x26c1a4=_0x39b3f8;await global[_0x26c1a4(0x28a)][0x0][_0x26c1a4(0x237)](_0x26c1a4(0x224)+JSON[_0x26c1a4(0x274)](this[_0x26c1a4(0x25b)][_0x26c1a4(0x24f)]()['join'](_0x4ecec7[_0x26c1a4(0x20b)]))+'}}');})(),global[_0x39b3f8(0x28a)][0x0][_0x39b3f8(0x20d)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x39b3f8(0x1ff)],async()=>{const _0x553cbb=_0x39b3f8,_0x52b3f5=_0x4ecec7[_0x553cbb(0x28e)](this[_0x553cbb(0x25b)][_0x553cbb(0x280)],_0x4ecec7[_0x553cbb(0x295)]);_0x52b3f5?(global[_0x553cbb(0x1fd)]=!![],global['__error_messages__'][_0x553cbb(0x279)](this[_0x553cbb(0x25b)]['err'][_0x553cbb(0x267)]),await _0x4ecec7['ZBLjr'](_0x58b52d,JSON[_0x553cbb(0x274)](_0x4ecec7['NVjVq'](_0x4ecec7[_0x553cbb(0x26c)],this[_0x553cbb(0x25b)]['err'][_0x553cbb(0x267)])),_0x4ecec7[_0x553cbb(0x1f9)])):await _0x4ecec7[_0x553cbb(0x259)](_0x58b52d,JSON[_0x553cbb(0x274)](_0x4ecec7[_0x553cbb(0x290)]),_0x4ecec7[_0x553cbb(0x291)]);})();}catch(_0x135b80){logger[_0x39b3f8(0x25f)](_0x39b3f8(0x284)+_0x135b80);}try{if(this[_0x39b3f8(0x25b)][_0x39b3f8(0x287)]&&globals['getGlobal'](_0x1ab04f['WfwvZ'])&&globals[_0x39b3f8(0x23e)](_0x1ab04f[_0x39b3f8(0x22f)])){logger['info'](_0x1ab04f[_0x39b3f8(0x231)]);const _0x4a9f06={};_0x4a9f06['thTestRunUuid']=this[_0x39b3f8(0x25b)][_0x39b3f8(0x258)],_0x4a9f06['thBuildUuid']=process['env'][testHubConstants[_0x39b3f8(0x239)]['BROWSERSTACK_TESTHUB_UUID']],_0x4a9f06[_0x39b3f8(0x213)]=process[_0x39b3f8(0x232)][testHubConstants[_0x39b3f8(0x239)][_0x39b3f8(0x22e)]];const _0x2741bb=_0x4a9f06;logger[_0x39b3f8(0x25f)](_0x39b3f8(0x215)+JSON[_0x39b3f8(0x274)](_0x2741bb)),logger[_0x39b3f8(0x25f)](_0x1ab04f[_0x39b3f8(0x24d)]);const _0x41dfd8={};_0x41dfd8[_0x39b3f8(0x294)]=_0x1ab04f[_0x39b3f8(0x204)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x39b3f8(0x296)],async()=>{const _0x15bbf2=_0x39b3f8;logger[_0x15bbf2(0x25f)](util[_0x15bbf2(0x211)](await global[_0x15bbf2(0x28a)][0x0][_0x15bbf2(0x240)](scripts[_0x15bbf2(0x276)],{'method':global['browserstackSessionName']})));},_0x41dfd8)(),await PerformanceTester[_0x39b3f8(0x219)](PerformanceA11yEvents[_0x39b3f8(0x271)],async()=>{const _0x291715=_0x39b3f8;await global[_0x291715(0x28a)][0x0][_0x291715(0x240)](scripts['saveTestResults'],_0x2741bb);})(),logger[_0x39b3f8(0x220)](_0x1ab04f[_0x39b3f8(0x293)]);}}catch(_0x9da870){logger[_0x39b3f8(0x25d)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x39b3f8(0x25b)][_0x39b3f8(0x24f)]()+_0x39b3f8(0x20a),_0x9da870);}try{try{if(_0x1ab04f[_0x39b3f8(0x281)](shouldProcessEventForTesthub)){global[_0x39b3f8(0x28a)][0x0]&&await _0x1ab04f[_0x39b3f8(0x250)](sendPlatformDetails,global[_0x39b3f8(0x28a)][0x0],this[_0x39b3f8(0x25b)]?this['currentTest']['testAnalyticsId']:null);if(_0x1ab04f[_0x39b3f8(0x23b)](isBrowserstackInfra)){PerformanceTester[_0x39b3f8(0x254)](PerformanceO11yEvents[_0x39b3f8(0x245)]);const _0x26a58e=_0x39b3f8(0x210)+Date[_0x39b3f8(0x24a)]();await _0x1ab04f[_0x39b3f8(0x250)](_0x58b52d,JSON['stringify'](_0x26a58e),_0x1ab04f[_0x39b3f8(0x202)]),PerformanceTester[_0x39b3f8(0x1fb)](PerformanceO11yEvents[_0x39b3f8(0x245)]);}}}catch(_0x11e20d){logger['debug'](_0x39b3f8(0x260)+_0x11e20d),PerformanceTester['end'](PerformanceO11yEvents[_0x39b3f8(0x245)],![],_0x11e20d);}_0x1ab04f[_0x39b3f8(0x28b)](global[_0x39b3f8(0x28a)][0x0][_0x39b3f8(0x243)],0x0)&&await global[_0x39b3f8(0x206)]();}catch(_0x3515b7){logger[_0x39b3f8(0x25f)](_0x39b3f8(0x1f4)+_0x3515b7);}_0x1ab04f[_0x39b3f8(0x23b)](_0x1a8a44);})[_0x9d5e5c(0x21b)](()=>{const _0x6dc481=_0x9d5e5c;_0x1ab04f[_0x6dc481(0x20f)](_0x421452);});},{'platform':_0x1ab04f['qWJmn'](nestedKeyValue,global[_0x1a32be(0x246)],[_0x1ab04f['azIJP']]),'hookType':_0x1ab04f[_0x1a32be(0x21a)]})();},'afterAll'(_0x1c3049){const _0x28b0c8=a32_0x529a6d,_0x1914bf={'xLjVN':function(_0x431903){return _0x431903();},'CGoyN':function(_0x5cce12){return _0x5cce12();},'GJBeU':function(_0x423eb5,_0x473400,_0x4a1c64){return _0x423eb5(_0x473400,_0x4a1c64);},'tDdAP':_0x28b0c8(0x235),'xJWjd':_0x28b0c8(0x277)},_0x5bb18a='browserstack internal helper hook';this[_0x28b0c8(0x289)](0xfde8),PerformanceTester[_0x28b0c8(0x219)](PerformanceSdkEvents[_0x28b0c8(0x200)],()=>{const _0x3d12e6=_0x28b0c8;new Promise(async _0x2c33d4=>{const _0x54c42d=a32_0x26e7;await global[_0x54c42d(0x206)](),_0x1914bf['xLjVN'](_0x2c33d4);})[_0x3d12e6(0x21b)]()[_0x3d12e6(0x26e)](()=>{const _0x4e0435=_0x3d12e6;_0x1914bf[_0x4e0435(0x244)](_0x1c3049);});},{'platform':_0x1914bf[_0x28b0c8(0x251)](nestedKeyValue,global[_0x28b0c8(0x246)],[_0x1914bf[_0x28b0c8(0x25c)]]),'hookType':_0x1914bf[_0x28b0c8(0x203)]})();}};function a32_0x26e7(_0x305d65,_0x5c2844){const _0x1126ef=a32_0x1126();return a32_0x26e7=function(_0x26e7ad,_0x410dbd){_0x26e7ad=_0x26e7ad-0x1f3;let _0xe566fd=_0x1126ef[_0x26e7ad];return _0xe566fd;},a32_0x26e7(_0x305d65,_0x5c2844);}function a32_0x1126(){const _0xece6e6=['SitBb','IBThb',',\x22level\x22:\x20\x22','krTzP','../../helpers/logger','oIOBc','cgzSL','afterEach','ePEZN','command','vWlXq','PERFORM_SCAN','2852355SGJIoF','Mfxfc','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','winstonLogger','AWeyf','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','session_','YuuwN','protocol','end','PcEYi','__sessionFailed','fUBRJ','SESSION_STATUS','SDK_HOOK','setGlobal','nvxVb','xJWjd','oZmyx','uuAEu','driverCleanup','mochaHooks','../../helpers/testhub/constants','percy','.\x20Error\x20:','FlBnW','mIBja','sessionNameSet__','99432ulwPHn','szlLV','ObservabilitySync:','format','failed','thJwtToken','MeZNx','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','BtFNd','QGHfw','afterTest','measureWrapper','UOaxM','then','length','browserstackTestName','BelMS','startMonitoring','info','1877ketLpG','http:','../../helpers/globals','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','xeDgd','util','eznOb','sXXbr','2797323xffIFn','../../helpers/performance/constants','__error_messages__','80xHzofG','isAccessibilityPlatform','BROWSERSTACK_TESTHUB_JWT','RKpyA','appium:app','qRGqj','env','1127708qpECjU','join','index','QeAbv','executeScript','app','ENV_VAR','\x20|\x20','UGchD','8384152hATtxf','MgLer','getGlobal','Failed\x20to\x20store\x20session\x20name:\x20','executeAsyncScript','percyCaptureMode','shouldScanTestForAccessibility','quitCount_','CGoyN','SYNC','__platformCaps','iMxaj','orSzV','Failed:\x20','now','../../helpers/percy/utils','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','iANRb','capabilities','titlePath','jifVf','GJBeU','../../helpers/helper','sVbsr','start','https:','bstackA11yShouldScan','4721610ELwqoI','testAnalyticsId','qbZNp','isArray','currentTest','tDdAP','error','SESSION_NAME','debug','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','ymLks','wOBeb','./test-observability/mochaUtils','getCurrentUrl','RumBv','passed','message','\x22}}','LSkbz','YkPYr','\x20-\x20','WvFGA','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','finally','978XvcXET','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','SAVE_RESULTS','vkNDb','HoFyz','stringify','XjiGo','performScan','afterAll','beforeAll','push','browserstackSessionName','pjasp','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Performing\x20scan\x20before\x20saving\x20results','rQYRd','zRDEJ','state','JMFEk','Passed','__skipSessionName','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','shift','zHnMR','accessibilityScanStarted','../../helpers/accessibility-automation/helper','timeout','__drivers'];a32_0x1126=function(){return _0xece6e6;};return a32_0x1126();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x3938b6=a33_0x19c2;(function(_0x516c4a,_0xf85fc3){const _0x427169=a33_0x19c2,_0x416468=_0x516c4a();while(!![]){try{const _0x591a37=parseInt(_0x427169(0xe9))/0x1+-parseInt(_0x427169(0xfd))/0x2+parseInt(_0x427169(0x101))/0x3+parseInt(_0x427169(0x11d))/0x4+parseInt(_0x427169(0x11b))/0x5+-parseInt(_0x427169(0xe2))/0x6+-parseInt(_0x427169(0x11f))/0x7*(parseInt(_0x427169(0xf4))/0x8);if(_0x591a37===_0xf85fc3)break;else _0x416468['push'](_0x416468['shift']());}catch(_0x26ea4d){_0x416468['push'](_0x416468['shift']());}}}(a33_0x10ac,0x7b0f4));function a33_0x10ac(){const _0x3d9bfd=['Deleting\x20','webdriver','ceoAl','env','CFOjP','path','2072424XnIwNe','mergeDeep','bHXqF','uKknz','length','writeFileSync','zYeRX','371611mKyVLn','selenium','bRLoP','filter','../../helpers/BrowserStackSetup','--config','unlinkSync','info','getPlatformName','existsSync','BKmOd','8xwPMUs','debug','child\x20process\x20exited\x20with\x20code\x20','findIndex','XbKQl','splice','--env','modifyBrowserStackW3CCaps','config','1423312nogPth','nightwatch.conf.js','forEach','qYemQ','1886664uvHzBM','hlaOR','useW3C','join','start_process','split','../../helpers/logger','../../helpers/helper','test','kzDyP','pVPVP','Oozkt','nightwatch-browserstack.json','platform','nightwatch.json','trim','test_settings','nightwatch','push','map','oNDDl','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','winstonLogger','now','YDxUI','cwd','3264990OBnQFh','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','646624kwYqsb','Buvlu','1778287TvWJhh','isUndefined','hub.browserstack.com','stringify'];a33_0x10ac=function(){return _0x3d9bfd;};return a33_0x10ac();}const fs=require('fs'),path=require(a33_0x3938b6(0xe1)),{spawn}=require('child_process'),logger=require(a33_0x3938b6(0x107))[a33_0x3938b6(0x117)],{default:BrowserStackSetup}=require(a33_0x3938b6(0xed)),helper=require(a33_0x3938b6(0x108)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x3176b9,_0x9899c6)=>{const _0x533e37=a33_0x3938b6,_0x37e8a9={'XbKQl':_0x533e37(0xfe),'uKknz':_0x533e37(0x10f),'BJgua':function(_0x4259a8,_0x985276){return _0x4259a8(_0x985276);},'htPDQ':_0x533e37(0x11c)};let _0x5e5a5a=null,_0x9b2305={};const _0x481d17=_0x9899c6[_0x533e37(0xf7)](_0xf7e230=>_0xf7e230==='--config');if(!helper[_0x533e37(0xd9)](_0x3176b9[_0x533e37(0xfc)])&&fs['existsSync'](path[_0x533e37(0x104)](process[_0x533e37(0x11a)](),_0x3176b9['config'])))_0x5e5a5a=path[_0x533e37(0x104)](process['cwd'](),_0x3176b9[_0x533e37(0xfc)]),_0x9899c6[_0x533e37(0xf9)](_0x481d17,0x2);else{if(fs['existsSync'](path['join'](process['cwd'](),_0x37e8a9[_0x533e37(0xf8)])))_0x5e5a5a=path[_0x533e37(0x104)](process[_0x533e37(0x11a)](),_0x37e8a9['XbKQl']);else fs[_0x533e37(0xf2)](path[_0x533e37(0x104)](process[_0x533e37(0x11a)](),_0x37e8a9[_0x533e37(0xe5)]))&&(_0x5e5a5a=path[_0x533e37(0x104)](process[_0x533e37(0x11a)](),_0x37e8a9['uKknz']));}return _0x5e5a5a?(logger[_0x533e37(0xf0)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x5e5a5a),_0x9b2305=_0x37e8a9['BJgua'](require,_0x5e5a5a)):logger[_0x533e37(0xf0)](_0x37e8a9['htPDQ']),_0x9b2305;},removeExistingEnvs=_0x46f690=>{const _0x1cfe79=a33_0x3938b6,_0x1021c4={};_0x1021c4['Buvlu']=function(_0x2356bd,_0x5f08f3){return _0x2356bd>_0x5f08f3;},_0x1021c4['zQmDJ']=function(_0x5ed49d,_0x29f834){return _0x5ed49d>_0x29f834;};const _0x281040=_0x1021c4;let _0x12c593=_0x46f690[_0x1cfe79(0xf7)](_0x55e52e=>_0x55e52e===_0x1cfe79(0xfa));_0x281040[_0x1cfe79(0x11e)](_0x12c593,-0x1)&&_0x46f690[_0x1cfe79(0xf9)](_0x12c593,0x2),_0x12c593=_0x46f690['findIndex'](_0x2b4ee1=>_0x2b4ee1==='-e'),_0x281040['zQmDJ'](_0x12c593,-0x1)&&_0x46f690[_0x1cfe79(0xf9)](_0x12c593,0x2);};function a33_0x19c2(_0x3880cc,_0x10aff2){const _0x10acca=a33_0x10ac();return a33_0x19c2=function(_0x19c27f,_0x15f957){_0x19c27f=_0x19c27f-0xd9;let _0x58a0f=_0x10acca[_0x19c27f];return _0x58a0f;},a33_0x19c2(_0x3880cc,_0x10aff2);}function run(_0x3fd517,_0x54bb52){const _0x521c16=a33_0x3938b6,_0x4e454d={'BKmOd':_0x521c16(0x112),'omgNw':function(_0x59fe3b,_0x4dc069){return _0x59fe3b+_0x4dc069;},'oNDDl':_0x521c16(0x111),'bRLoP':function(_0x535d63,_0x46ad35,_0x558d8b){return _0x535d63(_0x46ad35,_0x558d8b);},'Oozkt':_0x521c16(0xda),'YDxUI':_0x521c16(0x116),'hlaOR':function(_0x504dad,_0x51db82){return _0x504dad===_0x51db82;},'qYemQ':_0x521c16(0x10d),'kzDyP':function(_0x4a6ab6,_0x3ddd92){return _0x4a6ab6(_0x3ddd92);},'CFOjP':function(_0x3b6b73,_0x11673b,_0x572cd9,_0x525d9e){return _0x3b6b73(_0x11673b,_0x572cd9,_0x525d9e);},'ZvDgf':'nightwatch.cmd','pVPVP':_0x521c16(0xee),'bMAyN':'--env','zYeRX':'inherit','ceoAl':'close'},_0x4088d4=new BrowserStackSetup(_0x3fd517);if(!_0x4088d4[_0x521c16(0xfc)])return;const _0x1d854a=_0x4e454d[_0x521c16(0xeb)](getUserNightwatchConfigs,_0x3fd517,_0x54bb52),_0x40adaa={};_0x40adaa[_0x521c16(0x105)]=![];const _0x215b56={};_0x215b56['host']=_0x4e454d[_0x521c16(0x10c)],_0x215b56['port']=0x1bb;const _0x2de30e={};_0x2de30e[_0x521c16(0xdd)]=_0x40adaa,_0x2de30e[_0x521c16(0xea)]=_0x215b56;const _0x1fc5ca=_0x2de30e;logger[_0x521c16(0xf0)](_0x4e454d[_0x521c16(0x119)]);const _0x27d866={..._0x1d854a},_0x2c0434=_0x27d866,_0x57051e=helper[_0x521c16(0x103)](_0x4088d4['config']),_0x462de8=[];_0x4088d4[_0x521c16(0xfc)]['platforms'][_0x521c16(0xff)]((_0x40f96c,_0x17119c)=>{const _0x4cb1fe=_0x521c16;_0x57051e?_0x462de8['push'](helper[_0x4cb1fe(0xfb)](_0x4088d4[_0x4cb1fe(0xfc)],_0x4e454d[_0x4cb1fe(0xf3)],_0x17119c)):_0x462de8['push'](helper['modifyBrowserStackCaps'](_0x4088d4[_0x4cb1fe(0xfc)],_0x4e454d['BKmOd'],_0x17119c));});const _0x2fdaa3={},_0x4af3b7=[];_0x3fd517['env']=_0x3fd517[_0x521c16(0xdf)]||_0x3fd517['e'];const _0x7faadf=_0x3fd517[_0x521c16(0xdf)]?_0x3fd517[_0x521c16(0xdf)][_0x521c16(0x110)]()[_0x521c16(0x106)](',')[_0x521c16(0x114)](_0x381828=>_0x381828[_0x521c16(0x110)]())[_0x521c16(0xec)](_0x227d84=>_0x227d84!==''):[''];_0x4e454d[_0x521c16(0x102)](_0x7faadf[_0x521c16(0xe6)],0x0)&&_0x7faadf[_0x521c16(0x113)]('');_0x7faadf[_0x521c16(0xff)](_0x569a13=>{const _0x468598=_0x521c16,_0x45d43a={'JZhkF':function(_0x523d63,_0x580f3e){return _0x4e454d['omgNw'](_0x523d63,_0x580f3e);},'bHXqF':_0x4e454d[_0x468598(0x115)]};_0x462de8['forEach'](_0x256a97=>{const _0x4e9098=_0x468598;let _0x12d322=_0x45d43a['JZhkF'](helper[_0x4e9098(0xf1)](_0x256a97,'_'),'_'+Date[_0x4e9098(0x118)]());_0x569a13&&(_0x12d322+='_'+_0x569a13);if(_0x569a13&&(!_0x1d854a[_0x45d43a[_0x4e9098(0xe4)]]||!_0x1d854a[_0x45d43a[_0x4e9098(0xe4)]][_0x569a13]))return;const _0x490ae4={..._0x1fc5ca};_0x490ae4['desiredCapabilities']=_0x256a97;const _0x253037=_0x490ae4;_0x2fdaa3[_0x12d322]=_0x569a13?helper[_0x4e9098(0xe3)](_0x1d854a[_0x45d43a[_0x4e9098(0xe4)]][_0x569a13],_0x253037):_0x253037,_0x4af3b7[_0x4e9098(0x113)](_0x12d322);});});!_0x2c0434['test_settings']&&(_0x2c0434[_0x521c16(0x111)]={});_0x2c0434['test_settings']={..._0x2c0434[_0x521c16(0x111)],..._0x2fdaa3};const _0x365268=path[_0x521c16(0x104)](__dirname,_0x4e454d[_0x521c16(0x100)]);fs[_0x521c16(0xe7)](_0x365268,JSON[_0x521c16(0xdb)](_0x2c0434)),_0x4e454d[_0x521c16(0x10a)](removeExistingEnvs,_0x54bb52);const _0x494168=_0x4e454d[_0x521c16(0xe0)](spawn,/^win/[_0x521c16(0x109)](process[_0x521c16(0x10e)])?_0x4e454d['ZvDgf']:_0x4e454d[_0x521c16(0xf3)],[_0x4e454d[_0x521c16(0x10b)],_0x365268,..._0x54bb52['slice'](0x1),_0x4e454d['bMAyN'],_0x4af3b7[_0x521c16(0x104)](',')],{'stdio':_0x4e454d[_0x521c16(0xe8)]});_0x494168['on'](_0x4e454d[_0x521c16(0xde)],async _0x4dbe28=>{const _0x2e1918=_0x521c16;logger[_0x2e1918(0xf5)](_0x2e1918(0xf6)+_0x4dbe28),logger[_0x2e1918(0xf0)](_0x2e1918(0xdc)+_0x365268),fs[_0x2e1918(0xef)](_0x365268);});}module['exports']=run;
2
+ 'use strict';function a33_0xaac1(_0x48962a,_0x2f4bcf){const _0x3a8db4=a33_0x3a8d();return a33_0xaac1=function(_0xaac140,_0x3ae94c){_0xaac140=_0xaac140-0xf3;let _0x3e8214=_0x3a8db4[_0xaac140];return _0x3e8214;},a33_0xaac1(_0x48962a,_0x2f4bcf);}function a33_0x3a8d(){const _0x11488a=['../../helpers/logger','nXCUo','stringify','winstonLogger','platform','cwd','../../helpers/BrowserStackSetup','jtMDE','nightwatch','nightwatch.cmd','child\x20process\x20exited\x20with\x20code\x20','nightwatch.conf.js','config','isUndefined','close','path','UHLZk','YQmkp','test_settings','platforms','8228424oXIejP','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','child_process','4pyDPCm','LXmum','splice','modifyBrowserStackCaps','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','ZwKgZ','writeFileSync','webdriver','Getting\x20your\x20nightwatch\x20configs\x20from\x20','EuidD','modifyBrowserStackW3CCaps','desiredCapabilities','port','UeHtJ','sRcJu','existsSync','10552936OANEvg','115195xziKVE','test','aeVuC','../../helpers/helper','156HrAVre','7OKJkaU','4720716XoKeQM','inherit','mergeDeep','exports','TtUbv','push','ekXyr','filter','--env','FHSkt','--config','qXdaA','ncZui','trim','FQfpx','655192EkjWSs','join','Deleting\x20','PJYlY','env','25424100xvPDfC','selenium','../utils/constants','start_process','teSyp','info','useW3C','nightwatch.json','debug','nightwatch-browserstack.json','slice','findIndex','13405977gTNctW'];a33_0x3a8d=function(){return _0x11488a;};return a33_0x3a8d();}const a33_0xb00039=a33_0xaac1;(function(_0xa6f0c0,_0x5d1a74){const _0x5910d5=a33_0xaac1,_0x79168f=_0xa6f0c0();while(!![]){try{const _0x7e40cf=-parseInt(_0x5910d5(0xf4))/0x1*(-parseInt(_0x5910d5(0x11a))/0x2)+parseInt(_0x5910d5(0x10b))/0x3+parseInt(_0x5910d5(0x109))/0x4*(-parseInt(_0x5910d5(0x105))/0x5)+-parseInt(_0x5910d5(0x140))/0x6*(parseInt(_0x5910d5(0x10a))/0x7)+parseInt(_0x5910d5(0x104))/0x8+parseInt(_0x5910d5(0x12b))/0x9+-parseInt(_0x5910d5(0x11f))/0xa;if(_0x7e40cf===_0x5d1a74)break;else _0x79168f['push'](_0x79168f['shift']());}catch(_0x521427){_0x79168f['push'](_0x79168f['shift']());}}}(a33_0x3a8d,0xd6ea3));const fs=require('fs'),path=require(a33_0xb00039(0x13b)),{spawn}=require(a33_0xb00039(0xf3)),logger=require(a33_0xb00039(0x12c))[a33_0xb00039(0x12f)],{default:BrowserStackSetup}=require(a33_0xb00039(0x132)),helper=require(a33_0xb00039(0x108)),constants=require(a33_0xb00039(0x121)),getUserNightwatchConfigs=(_0x51a6bb,_0x51fdc8)=>{const _0x2cbcd6=a33_0xb00039,_0x4cf53a={'UHLZk':_0x2cbcd6(0x137),'LXmum':_0x2cbcd6(0x126),'EuidD':function(_0x5a1f3c,_0x4d24c6){return _0x5a1f3c(_0x4d24c6);},'qXdaA':_0x2cbcd6(0xf8)};let _0x48f87b=null,_0x57c23a={};const _0x4cc524=_0x51fdc8[_0x2cbcd6(0x12a)](_0x3e53b1=>_0x3e53b1===_0x2cbcd6(0x115));if(!helper[_0x2cbcd6(0x139)](_0x51a6bb[_0x2cbcd6(0x138)])&&fs[_0x2cbcd6(0x103)](path['join'](process['cwd'](),_0x51a6bb['config'])))_0x48f87b=path[_0x2cbcd6(0x11b)](process[_0x2cbcd6(0x131)](),_0x51a6bb[_0x2cbcd6(0x138)]),_0x51fdc8['splice'](_0x4cc524,0x2);else{if(fs[_0x2cbcd6(0x103)](path[_0x2cbcd6(0x11b)](process[_0x2cbcd6(0x131)](),_0x4cf53a['UHLZk'])))_0x48f87b=path[_0x2cbcd6(0x11b)](process[_0x2cbcd6(0x131)](),_0x4cf53a[_0x2cbcd6(0x13c)]);else fs[_0x2cbcd6(0x103)](path[_0x2cbcd6(0x11b)](process[_0x2cbcd6(0x131)](),_0x4cf53a[_0x2cbcd6(0xf5)]))&&(_0x48f87b=path['join'](process['cwd'](),_0x4cf53a['LXmum']));}return _0x48f87b?(logger[_0x2cbcd6(0x124)](_0x2cbcd6(0xfc)+_0x48f87b),_0x57c23a=_0x4cf53a[_0x2cbcd6(0xfd)](require,_0x48f87b)):logger[_0x2cbcd6(0x124)](_0x4cf53a[_0x2cbcd6(0x116)]),_0x57c23a;},removeExistingEnvs=_0x3e41e4=>{const _0x11860e=a33_0xb00039,_0x415eec={};_0x415eec[_0x11860e(0x117)]=function(_0x3f68cd,_0x3427ed){return _0x3f68cd>_0x3427ed;},_0x415eec['JvngD']=function(_0x359ee3,_0x5312a2){return _0x359ee3>_0x5312a2;};const _0x2a213e=_0x415eec;let _0x293f8b=_0x3e41e4['findIndex'](_0x3b9bca=>_0x3b9bca===_0x11860e(0x113));_0x2a213e[_0x11860e(0x117)](_0x293f8b,-0x1)&&_0x3e41e4[_0x11860e(0xf6)](_0x293f8b,0x2),_0x293f8b=_0x3e41e4[_0x11860e(0x12a)](_0x4647fb=>_0x4647fb==='-e'),_0x2a213e['JvngD'](_0x293f8b,-0x1)&&_0x3e41e4[_0x11860e(0xf6)](_0x293f8b,0x2);};function run(_0x3bdc00,_0x21e8de){const _0x47301a=a33_0xb00039,_0x150eb0={'MVzbg':_0x47301a(0x134),'ekXyr':function(_0x5f3e69,_0x2a8b4a){return _0x5f3e69+_0x2a8b4a;},'FQfpx':_0x47301a(0x13e),'jtMDE':function(_0xcb6fe4,_0xf95ebd,_0x38b6b1){return _0xcb6fe4(_0xf95ebd,_0x38b6b1);},'TtUbv':'hub.browserstack.com','PJYlY':_0x47301a(0x141),'FHSkt':function(_0x7a0a63,_0x369eb5){return _0x7a0a63===_0x369eb5;},'sRcJu':_0x47301a(0x128),'UeHtJ':function(_0x4a7009,_0x41dc81){return _0x4a7009(_0x41dc81);},'nXCUo':function(_0xdc881,_0x2531fb,_0x5ed26b,_0x2c3512){return _0xdc881(_0x2531fb,_0x5ed26b,_0x2c3512);},'YQmkp':_0x47301a(0x135),'aeVuC':_0x47301a(0x115),'ZwKgZ':_0x47301a(0x113),'GMsBX':_0x47301a(0x10c),'teSyp':_0x47301a(0x13a)},_0x337966=new BrowserStackSetup(_0x3bdc00);if(!_0x337966[_0x47301a(0x138)])return;const _0x13d7a3=_0x150eb0[_0x47301a(0x133)](getUserNightwatchConfigs,_0x3bdc00,_0x21e8de),_0x3aea68={};_0x3aea68[_0x47301a(0x122)]=![];const _0x58092a={};_0x58092a['host']=_0x150eb0[_0x47301a(0x10f)],_0x58092a[_0x47301a(0x100)]=0x1bb;const _0x4cb3ad={};_0x4cb3ad[_0x47301a(0xfb)]=_0x3aea68,_0x4cb3ad[_0x47301a(0x120)]=_0x58092a;const _0x1cd647=_0x4cb3ad;logger['info'](_0x150eb0[_0x47301a(0x11d)]);const _0x4c4e78={..._0x13d7a3},_0x4ae1ea=_0x4c4e78,_0x57939b=helper[_0x47301a(0x125)](_0x337966['config']),_0x5b6b33=[];_0x337966[_0x47301a(0x138)][_0x47301a(0x13f)]['forEach']((_0x2703b6,_0x23533c)=>{const _0x24594a=_0x47301a;_0x57939b?_0x5b6b33[_0x24594a(0x110)](helper[_0x24594a(0xfe)](_0x337966[_0x24594a(0x138)],_0x150eb0['MVzbg'],_0x23533c)):_0x5b6b33['push'](helper[_0x24594a(0xf7)](_0x337966[_0x24594a(0x138)],_0x150eb0['MVzbg'],_0x23533c));});const _0x2016ae={},_0x559dd2=[];_0x3bdc00[_0x47301a(0x11e)]=_0x3bdc00[_0x47301a(0x11e)]||_0x3bdc00['e'];const _0x5afdd6=_0x3bdc00[_0x47301a(0x11e)]?_0x3bdc00[_0x47301a(0x11e)][_0x47301a(0x118)]()['split'](',')['map'](_0x193fcf=>_0x193fcf['trim']())[_0x47301a(0x112)](_0x223b5f=>_0x223b5f!==''):[''];_0x150eb0[_0x47301a(0x114)](_0x5afdd6['length'],0x0)&&_0x5afdd6['push']('');_0x5afdd6['forEach'](_0x1ee7e7=>{_0x5b6b33['forEach'](_0x2bec2d=>{const _0x49f477=a33_0xaac1;let _0x2b6cc5=_0x150eb0[_0x49f477(0x111)](helper['getPlatformName'](_0x2bec2d,'_'),'_'+Date['now']());_0x1ee7e7&&(_0x2b6cc5+='_'+_0x1ee7e7);if(_0x1ee7e7&&(!_0x13d7a3[_0x150eb0[_0x49f477(0x119)]]||!_0x13d7a3[_0x150eb0[_0x49f477(0x119)]][_0x1ee7e7]))return;const _0x4afb97={..._0x1cd647};_0x4afb97[_0x49f477(0xff)]=_0x2bec2d;const _0x23ae6f=_0x4afb97;_0x2016ae[_0x2b6cc5]=_0x1ee7e7?helper[_0x49f477(0x10d)](_0x13d7a3[_0x150eb0[_0x49f477(0x119)]][_0x1ee7e7],_0x23ae6f):_0x23ae6f,_0x559dd2[_0x49f477(0x110)](_0x2b6cc5);});});!_0x4ae1ea[_0x47301a(0x13e)]&&(_0x4ae1ea[_0x47301a(0x13e)]={});_0x4ae1ea[_0x47301a(0x13e)]={..._0x4ae1ea[_0x47301a(0x13e)],..._0x2016ae};const _0x1f3407=path[_0x47301a(0x11b)](__dirname,_0x150eb0[_0x47301a(0x102)]);fs[_0x47301a(0xfa)](_0x1f3407,JSON[_0x47301a(0x12e)](_0x4ae1ea)),_0x150eb0[_0x47301a(0x101)](removeExistingEnvs,_0x21e8de);const _0x4e18db=_0x150eb0[_0x47301a(0x12d)](spawn,/^win/[_0x47301a(0x106)](process[_0x47301a(0x130)])?_0x150eb0[_0x47301a(0x13d)]:_0x150eb0['MVzbg'],[_0x150eb0[_0x47301a(0x107)],_0x1f3407,..._0x21e8de[_0x47301a(0x129)](0x1),_0x150eb0[_0x47301a(0xf9)],_0x559dd2[_0x47301a(0x11b)](',')],{'stdio':_0x150eb0['GMsBX']});_0x4e18db['on'](_0x150eb0[_0x47301a(0x123)],async _0x4b5407=>{const _0x2b6765=_0x47301a;logger[_0x2b6765(0x127)](_0x2b6765(0x136)+_0x4b5407),logger[_0x2b6765(0x124)](_0x2b6765(0x11c)+_0x1f3407),fs['unlinkSync'](_0x1f3407);});}module[a33_0xb00039(0x10e)]=run;
@@ -1 +1 @@
1
- function a34_0x4faf(){const _0x2bc659=['Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','measureWrapper','debug','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','wsEndpoint','gTrcq','2421tyKGss','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.includeIssueType.bestPractice','hZAHM','latest','Esdhg','tSnbl','executeScript','4847264rBPpyM','playwright-chromium','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','replace','kpsHz','stringify','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/accessibility-automation/helper','63xVoCbs','zHRVT','testInfo','performScan','env','workerInfo','MyGoT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','No\x20accessibility\x20results\x20were\x20found.','format','ugmra','accessibilityPlatform','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','browser_version','GVqTr','scannerVersion','uEuhj','qxhwf','includeIssueType','bstackSdkArgs','setAccessibilityCapabilities','accessibilityOptions.wcagVersion','yCblW','PERFORM_SCAN','11jEsxot','browserStackExecuteDriver','wcagVersion','(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','ZFhXC','project','KDFGm','hryjB','4821520fIFjrE','21nQXErH','BCtex','BS_A11Y_JWT','gaFoT','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','hgkie','browserName','8971614MXzpED','scannerProcessingTimeout','zSOoa','../../helpers/performance/constants','connectOptions','yPHlL','use','browser','WebDriver','2331270ARcmVc','RGHJS','9124gbLbKG','pPstO','dRSLj','../../helpers/logger','44rbptHK','mgCKw','command','RYVVI','browserstack.accessibility','frsLS','FwdPr','bestPractice','warn','xLLDz','accessibilityOptions.scannerProcessingTimeout','../../helpers/performance/performance-tester','accessibilityOptions.scannerVersion','97258272aoHjtv','parse','getAccessibilityResultsSummary','getAccessibilityResults','sRMCE','CYUqF','winstonLogger','browserStackEvaluate','278gtLTIZ','evaluate','executeAsyncScript','accessibilityOptions.includeIssueType.needsReview','deviceName','util','ZOyzx','uFdsY'];a34_0x4faf=function(){return _0x2bc659;};return a34_0x4faf();}const a34_0x4762f4=a34_0x4bbb;function a34_0x4bbb(_0x29f0c3,_0x197786){const _0x4fafc3=a34_0x4faf();return a34_0x4bbb=function(_0x4bbbe2,_0x157904){_0x4bbbe2=_0x4bbbe2-0x1ad;let _0x2e93c0=_0x4fafc3[_0x4bbbe2];return _0x2e93c0;},a34_0x4bbb(_0x29f0c3,_0x197786);}(function(_0x4aaf71,_0x2ab550){const _0x32177a=a34_0x4bbb,_0x49e385=_0x4aaf71();while(!![]){try{const _0x291abb=-parseInt(_0x32177a(0x1cb))/0x1*(parseInt(_0x32177a(0x1b2))/0x2)+parseInt(_0x32177a(0x1d9))/0x3*(-parseInt(_0x32177a(0x1b6))/0x4)+-parseInt(_0x32177a(0x20a))/0x5+-parseInt(_0x32177a(0x214))/0x6+parseInt(_0x32177a(0x20b))/0x7*(-parseInt(_0x32177a(0x1e1))/0x8)+parseInt(_0x32177a(0x1ea))/0x9*(-parseInt(_0x32177a(0x1b0))/0xa)+-parseInt(_0x32177a(0x202))/0xb*(-parseInt(_0x32177a(0x1c3))/0xc);if(_0x291abb===_0x2ab550)break;else _0x49e385['push'](_0x49e385['shift']());}catch(_0x5645cc){_0x49e385['push'](_0x49e385['shift']());}}}(a34_0x4faf,0xe041d));const util=require(a34_0x4762f4(0x1d0)),logger=require(a34_0x4762f4(0x1b5))[a34_0x4762f4(0x1c9)],{isAccessibilityAutomationSession}=require(a34_0x4762f4(0x1e9)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x4762f4(0x1c1)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x4762f4(0x217));exports[a34_0x4762f4(0x1ca)]=async(_0x5ed940,_0x1810a8,_0x2c2a72={})=>{const _0x2c8c98=a34_0x4762f4,_0xaa4d9={};_0xaa4d9['hZAHM']='bstackSdkArgs';const _0x3e591a=_0xaa4d9;return await _0x5ed940[_0x2c8c98(0x1cc)](_0x2c8c98(0x205)+_0x1810a8['replace'](/arguments/g,_0x3e591a[_0x2c8c98(0x1dc)])+_0x2c8c98(0x1d6)+JSON['stringify'](_0x2c2a72)+')');},exports[a34_0x4762f4(0x203)]=async(_0x223ce8,_0x328f18,_0x51a6e0={})=>{const _0x4b64fe=a34_0x4762f4,_0x59fb09={};_0x59fb09[_0x4b64fe(0x1e5)]=function(_0x1e73cf,_0x230bcd){return _0x1e73cf===_0x230bcd;},_0x59fb09[_0x4b64fe(0x20c)]=_0x4b64fe(0x1af),_0x59fb09[_0x4b64fe(0x1c7)]='Playwright',_0x59fb09['dRSLj']=_0x4b64fe(0x1fd);const _0xb733f2=_0x59fb09;if(_0xb733f2[_0x4b64fe(0x1e5)](_0x223ce8['constructor']['name'],_0xb733f2['BCtex']))return await _0x223ce8[_0x4b64fe(0x1cd)](_0x328f18,_0x51a6e0);else{if(_0xb733f2[_0x4b64fe(0x1e5)](_0x223ce8['constructor']['name'],_0xb733f2[_0x4b64fe(0x1c7)]))return await _0x223ce8[_0x4b64fe(0x1e0)](_0x4b64fe(0x1f6)+_0x328f18[_0x4b64fe(0x1e4)](/arguments/g,_0xb733f2[_0x4b64fe(0x1b4)])+_0x4b64fe(0x1da)+JSON[_0x4b64fe(0x1e6)](_0x51a6e0)+')');}},exports[a34_0x4762f4(0x1fe)]=async _0x577b5f=>{const _0x47dfed=a34_0x4762f4,_0x496dcf={};_0x496dcf[_0x47dfed(0x1f8)]=_0x47dfed(0x1ff),_0x496dcf[_0x47dfed(0x1b1)]=_0x47dfed(0x1c0),_0x496dcf[_0x47dfed(0x1b7)]=_0x47dfed(0x1db),_0x496dcf[_0x47dfed(0x1f4)]=_0x47dfed(0x1ce),_0x496dcf[_0x47dfed(0x209)]='accessibilityOptions.authToken',_0x496dcf[_0x47dfed(0x1c8)]=_0x47dfed(0x1c2);const _0x58f0fd=_0x496dcf;_0x577b5f[_0x47dfed(0x210)]&&(_0x577b5f['accessibilityOptions'][_0x47dfed(0x204)]&&(_0x577b5f[_0x58f0fd['GVqTr']]=_0x577b5f[_0x47dfed(0x210)][_0x47dfed(0x204)]),_0x577b5f[_0x47dfed(0x210)][_0x47dfed(0x215)]&&(_0x577b5f[_0x58f0fd[_0x47dfed(0x1b1)]]=_0x577b5f['accessibilityOptions'][_0x47dfed(0x215)]),_0x577b5f[_0x47dfed(0x210)][_0x47dfed(0x1fc)]&&(_0x577b5f[_0x58f0fd[_0x47dfed(0x1b7)]]=_0x577b5f['accessibilityOptions'][_0x47dfed(0x1fc)][_0x47dfed(0x1bd)],_0x577b5f[_0x58f0fd[_0x47dfed(0x1f4)]]=_0x577b5f[_0x47dfed(0x210)]['includeIssueType']['needsReview']));const _0x5b7bfb=JSON[_0x47dfed(0x1c4)](process[_0x47dfed(0x1ee)][_0x47dfed(0x211)])[_0x47dfed(0x1f9)];_0x577b5f[_0x58f0fd[_0x47dfed(0x209)]]=process['env'][_0x47dfed(0x20d)],_0x577b5f[_0x58f0fd[_0x47dfed(0x1c8)]]=_0x5b7bfb,delete _0x577b5f['accessibilityOptions'];},exports[a34_0x4762f4(0x1c6)]=async _0x22889e=>{const _0x1b58b5=a34_0x4762f4,_0x5f2773={};_0x5f2773[_0x1b58b5(0x20e)]=_0x1b58b5(0x1f2),_0x5f2773[_0x1b58b5(0x208)]=_0x1b58b5(0x20f);const _0x30a685=_0x5f2773;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x22889e,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x22889e,scripts.getResults);})();return res;}catch{return logger['error'](_0x30a685[_0x1b58b5(0x20e)]),[];}else return logger[_0x1b58b5(0x1be)](_0x30a685[_0x1b58b5(0x208)]),[];},exports[a34_0x4762f4(0x1ed)]=async(_0x1d6943,_0x5997ac='')=>{const _0x301f80=a34_0x4762f4;if(global[_0x301f80(0x1f5)])return await PerformanceTester[_0x301f80(0x1d4)](PerformanceA11yEvents[_0x301f80(0x201)],async()=>{const _0x5728ea=_0x301f80,_0x141b19={};_0x141b19[_0x5728ea(0x1b8)]=_0x5997ac,await exports[_0x5728ea(0x1ca)](_0x1d6943,scripts['performScan'],_0x141b19);},{'command':_0x5997ac})();},exports[a34_0x4762f4(0x1c5)]=async _0x2b02ae=>{const _0x290863=a34_0x4762f4,_0x479fd0={};_0x479fd0[_0x290863(0x1d8)]='No\x20summaryResults\x20found.',_0x479fd0['qtnOy']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x26aedb=_0x479fd0;if(global[_0x290863(0x1f5)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2b02ae,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2b02ae,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x26aedb[_0x290863(0x1d8)]),{};}else return logger['warn'](_0x26aedb['qtnOy']),{};},exports['platformValidation']=async _0x4e2dc4=>{const _0x2cb900=a34_0x4762f4,_0x4aaa46={'ZOyzx':function(_0x4baff1,_0x14ed41){return _0x4baff1!==_0x14ed41;},'adouC':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','tSnbl':function(_0x27add9,_0x2da618){return _0x27add9===_0x2da618;},'Esdhg':'chrome','frsLS':_0x2cb900(0x1e2),'pPstO':_0x2cb900(0x1e8),'uFdsY':function(_0x453977,_0x4be36d){return _0x453977(_0x4be36d);},'RYVVI':function(_0x326a3c,_0x26fa34){return _0x326a3c===_0x26fa34;},'klzhJ':_0x2cb900(0x1dd),'yCblW':function(_0x44d2c6,_0x56a78f){return _0x44d2c6>_0x56a78f;},'hgkie':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x4aaa46[_0x2cb900(0x1d1)](_0x4e2dc4['deviceName'],''))return logger[_0x2cb900(0x1be)](_0x4aaa46['adouC']),![];const _0x143de8=_0x4e2dc4[_0x2cb900(0x1ae)];if(!(_0x4aaa46[_0x2cb900(0x1df)](_0x143de8,_0x4aaa46[_0x2cb900(0x1de)])||_0x4aaa46['tSnbl'](_0x143de8,_0x4aaa46[_0x2cb900(0x1bb)])))return logger[_0x2cb900(0x1be)](_0x4aaa46[_0x2cb900(0x1b3)]),![];const _0x24cc1a=_0x4aaa46[_0x2cb900(0x1d2)](parseInt,_0x4e2dc4['browser_version']);if(!(_0x4aaa46[_0x2cb900(0x1b9)](_0x24cc1a,_0x4aaa46['klzhJ'])||_0x4aaa46[_0x2cb900(0x200)](_0x24cc1a,0x5e)))return logger[_0x2cb900(0x1be)](_0x4aaa46[_0x2cb900(0x212)]),![];}catch(_0x37eb0f){logger[_0x2cb900(0x1d5)](_0x2cb900(0x1d3)+util[_0x2cb900(0x1f3)](_0x37eb0f));}return!![];},exports['processAccessibilityCaps']=(_0x3e9952,_0x357b7f,_0x99c61f)=>{const _0x4acc76=a34_0x4762f4,_0x18166a={'ZFhXC':function(_0x2a6caa){return _0x2a6caa();},'zSOoa':_0x4acc76(0x1ba),'xLLDz':function(_0x186e1c,_0x4667e3){return _0x186e1c===_0x4667e3;},'qxhwf':_0x4acc76(0x1e7),'yPHlL':function(_0x1c8fc0,_0x12ad25){return _0x1c8fc0===_0x12ad25;},'zHRVT':_0x4acc76(0x1e2),'uEuhj':_0x4acc76(0x1e8),'MyGoT':'latest','VhyTx':function(_0x59f50d,_0x47b235){return _0x59f50d>_0x47b235;},'aBOug':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FwdPr':function(_0x51316b,_0x230897){return _0x51316b(_0x230897);},'JyGVC':_0x4acc76(0x1f1),'ulQPK':function(_0x4fca77,_0x426163){return _0x4fca77+_0x426163;},'SwTMz':function(_0x286534,_0x4e405d){return _0x286534(_0x4e405d);}};try{if(_0x18166a[_0x4acc76(0x206)](isAccessibilityAutomationSession)){global[_0x4acc76(0x1f5)]=!![];!_0x3e9952[_0x18166a['zSOoa']]&&(global[_0x4acc76(0x1f5)]=![]);!(_0x18166a[_0x4acc76(0x1bf)](_0x3e9952[_0x4acc76(0x213)],_0x18166a[_0x4acc76(0x1fb)])||_0x18166a[_0x4acc76(0x219)](_0x3e9952[_0x4acc76(0x213)],_0x18166a[_0x4acc76(0x1eb)]))&&(logger[_0x4acc76(0x1be)](_0x18166a[_0x4acc76(0x1fa)]),global['accessibilityPlatform']=![]);!(_0x18166a[_0x4acc76(0x219)](_0x3e9952[_0x4acc76(0x1f7)],_0x18166a[_0x4acc76(0x1f0)])||_0x18166a['VhyTx'](_0x3e9952['browser_version'],0x5e))&&(logger[_0x4acc76(0x1be)](_0x18166a['aBOug']),global[_0x4acc76(0x1f5)]=![]);!_0x18166a[_0x4acc76(0x1bc)](isUndefined,_0x3e9952[_0x4acc76(0x1cf)])&&(logger[_0x4acc76(0x1be)](_0x18166a['JyGVC']),global[_0x4acc76(0x1f5)]=![]);if(!global['accessibilityPlatform']){_0x3e9952[_0x18166a[_0x4acc76(0x216)]]=![];const _0x2c58ea=_0x18166a['ulQPK'](_0x357b7f,_0x18166a['SwTMz'](encodeURIComponent,JSON['stringify'](_0x3e9952)));_0x99c61f&&(_0x99c61f['currentTest'][_0x4acc76(0x1ec)]['project'][_0x4acc76(0x1ad)][_0x4acc76(0x218)][_0x4acc76(0x1d7)]=_0x2c58ea,_0x99c61f[_0x4acc76(0x1ef)][_0x4acc76(0x207)]['use'][_0x4acc76(0x218)][_0x4acc76(0x1d7)]=_0x2c58ea);}}}catch(_0x13804d){logger['debug'](_0x4acc76(0x1e3)+util[_0x4acc76(0x1f3)](_0x13804d));}};
1
+ const a34_0x72661d=a34_0x19e0;function a34_0x19e0(_0x24e4a7,_0x1498b3){const _0x545805=a34_0x5458();return a34_0x19e0=function(_0x19e091,_0x248965){_0x19e091=_0x19e091-0x127;let _0x9cd0ec=_0x545805[_0x19e091];return _0x9cd0ec;},a34_0x19e0(_0x24e4a7,_0x1498b3);}(function(_0x23f3b5,_0x2650de){const _0x1eee7c=a34_0x19e0,_0x21ccc0=_0x23f3b5();while(!![]){try{const _0x26bb35=parseInt(_0x1eee7c(0x153))/0x1+parseInt(_0x1eee7c(0x186))/0x2*(parseInt(_0x1eee7c(0x18a))/0x3)+-parseInt(_0x1eee7c(0x182))/0x4+parseInt(_0x1eee7c(0x136))/0x5*(parseInt(_0x1eee7c(0x159))/0x6)+parseInt(_0x1eee7c(0x18c))/0x7*(parseInt(_0x1eee7c(0x150))/0x8)+-parseInt(_0x1eee7c(0x167))/0x9*(-parseInt(_0x1eee7c(0x16b))/0xa)+-parseInt(_0x1eee7c(0x171))/0xb*(parseInt(_0x1eee7c(0x18e))/0xc);if(_0x26bb35===_0x2650de)break;else _0x21ccc0['push'](_0x21ccc0['shift']());}catch(_0x2dba94){_0x21ccc0['push'](_0x21ccc0['shift']());}}}(a34_0x5458,0x1dddc));function a34_0x5458(){const _0x13bee1=['browserstack.accessibility','VMhzR','processAccessibilityCaps','project','WebDriver','391721iKsRCm','pGvcm','VjQQC','IVtkF','includeIssueType','needsReview','yJHCt','nBkTE','gHfIO','accessibilityOptions','accessibilityOptions.authToken','JZbgL','name','ucCBs','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','setAccessibilityCapabilities','browser','903028eZRcHI','../../helpers/helper','debug','HTvAi','14962kjlorL','env','executeScript','browser_version','3cUCDhK','accessibilityOptions.wcagVersion','7vNQbwq','xhjKo','36COiMWB','No\x20accessibility\x20results\x20were\x20found.','../../helpers/performance/constants','moneS','accessibilityOptions.scannerVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','UNjSr','use','bstackSdkArgs','scannerProcessingTimeout','iIkcl','../../helpers/accessibility-automation/helper','wcagVersion','BS_A11Y_JWT','rVszz','Playwright','../../helpers/performance/performance-tester','accessibilityOptions.includeIssueType.needsReview','browserStackExecuteDriver','browserStackEvaluate','parse','evaluate','71675UlYpYq','MwSTI','UmEWw','playwright-chromium','warn','LfUVC','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Okyex','currentTest','performScan','JtSBV','GYQFl','HgXYz','../../helpers/accessibility-automation/scripts','mXqaY','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','platformValidation','CJJFM','connectOptions','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','accessibilityOptions.scannerProcessingTimeout','chrome','scannerVersion','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','PERFORM_SCAN','558328zRkFFe','deviceName','constructor','49673JuHqYM','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','stringify','aDPtH','GxQSs','wsEndpoint','36dWRUdj','(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','FcXKv','format','replace','measureWrapper','bestPractice','error','jYECk','browserName','getAccessibilityResults','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','SOuVt','command','197973XiVALe','latest','hqvjA','iqwCN','110NCVSLH'];a34_0x5458=function(){return _0x13bee1;};return a34_0x5458();}const util=require('util'),logger=require('../../helpers/logger')['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x72661d(0x12b)),{isUndefined}=require(a34_0x72661d(0x183)),scripts=require(a34_0x72661d(0x143)),PerformanceTester=require(a34_0x72661d(0x130)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x72661d(0x190));exports[a34_0x72661d(0x133)]=async(_0x46b511,_0x5cb0f0,_0x12249e={})=>{const _0x26626c=a34_0x72661d,_0x4fa9c4={};_0x4fa9c4[_0x26626c(0x173)]=_0x26626c(0x128);const _0x238782=_0x4fa9c4;return await _0x46b511[_0x26626c(0x135)]('(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'+_0x5cb0f0[_0x26626c(0x15d)](/arguments/g,_0x238782[_0x26626c(0x173)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x26626c(0x155)](_0x12249e)+')');},exports[a34_0x72661d(0x132)]=async(_0xd5fba6,_0x28b61f,_0x4ea84b={})=>{const _0x5e3744=a34_0x72661d,_0x5036f2={};_0x5036f2[_0x5e3744(0x142)]=function(_0x560524,_0x1d6961){return _0x560524===_0x1d6961;},_0x5036f2[_0x5e3744(0x161)]=_0x5e3744(0x170),_0x5036f2['MwSTI']=_0x5e3744(0x12f),_0x5036f2[_0x5e3744(0x178)]=_0x5e3744(0x128);const _0xdcf0bb=_0x5036f2;if(_0xdcf0bb[_0x5e3744(0x142)](_0xd5fba6[_0x5e3744(0x152)][_0x5e3744(0x17d)],_0xdcf0bb['jYECk']))return await _0xd5fba6['executeAsyncScript'](_0x28b61f,_0x4ea84b);else{if(_0xdcf0bb[_0x5e3744(0x142)](_0xd5fba6[_0x5e3744(0x152)]['name'],_0xdcf0bb[_0x5e3744(0x137)]))return await _0xd5fba6[_0x5e3744(0x188)](_0x5e3744(0x15a)+_0x28b61f['replace'](/arguments/g,_0xdcf0bb[_0x5e3744(0x178)])+_0x5e3744(0x17f)+JSON[_0x5e3744(0x155)](_0x4ea84b)+')');}},exports[a34_0x72661d(0x180)]=async _0xc6ae32=>{const _0x52f930=a34_0x72661d,_0x3d1c34={};_0x3d1c34['hqvjA']=_0x52f930(0x18b),_0x3d1c34[_0x52f930(0x177)]=_0x52f930(0x14b),_0x3d1c34[_0x52f930(0x156)]='accessibilityOptions.includeIssueType.bestPractice',_0x3d1c34[_0x52f930(0x185)]=_0x52f930(0x131),_0x3d1c34[_0x52f930(0x12a)]=_0x52f930(0x17b),_0x3d1c34[_0x52f930(0x165)]=_0x52f930(0x192);const _0x31d52a=_0x3d1c34;_0xc6ae32[_0x52f930(0x17a)]&&(_0xc6ae32[_0x52f930(0x17a)][_0x52f930(0x12c)]&&(_0xc6ae32[_0x31d52a[_0x52f930(0x169)]]=_0xc6ae32[_0x52f930(0x17a)][_0x52f930(0x12c)]),_0xc6ae32[_0x52f930(0x17a)][_0x52f930(0x129)]&&(_0xc6ae32[_0x31d52a[_0x52f930(0x177)]]=_0xc6ae32['accessibilityOptions'][_0x52f930(0x129)]),_0xc6ae32[_0x52f930(0x17a)][_0x52f930(0x175)]&&(_0xc6ae32[_0x31d52a[_0x52f930(0x156)]]=_0xc6ae32['accessibilityOptions'][_0x52f930(0x175)][_0x52f930(0x15f)],_0xc6ae32[_0x31d52a[_0x52f930(0x185)]]=_0xc6ae32[_0x52f930(0x17a)][_0x52f930(0x175)][_0x52f930(0x176)]));const _0x4f138b=JSON[_0x52f930(0x134)](process[_0x52f930(0x187)][_0x52f930(0x193)])[_0x52f930(0x14d)];_0xc6ae32[_0x31d52a[_0x52f930(0x12a)]]=process[_0x52f930(0x187)][_0x52f930(0x12d)],_0xc6ae32[_0x31d52a[_0x52f930(0x165)]]=_0x4f138b,delete _0xc6ae32[_0x52f930(0x17a)];},exports[a34_0x72661d(0x163)]=async _0x26b4b9=>{const _0x3bf249=a34_0x72661d,_0x10d1d4={};_0x10d1d4[_0x3bf249(0x16a)]=_0x3bf249(0x18f),_0x10d1d4[_0x3bf249(0x179)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x457d79=_0x10d1d4;if(global[_0x3bf249(0x145)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x26b4b9,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x26b4b9,scripts.getResults);})();return res;}catch{return logger[_0x3bf249(0x160)](_0x457d79['iqwCN']),[];}else return logger[_0x3bf249(0x13a)](_0x457d79['gHfIO']),[];},exports[a34_0x72661d(0x13f)]=async(_0x2e5e2a,_0x4014a2='')=>{const _0x10261e=a34_0x72661d;if(global['accessibilityPlatform'])return await PerformanceTester[_0x10261e(0x15e)](PerformanceA11yEvents[_0x10261e(0x14f)],async()=>{const _0x2cb980=_0x10261e,_0x3f3cf6={};_0x3f3cf6[_0x2cb980(0x166)]=_0x4014a2,await exports[_0x2cb980(0x133)](_0x2e5e2a,scripts[_0x2cb980(0x13f)],_0x3f3cf6);},{'command':_0x4014a2})();},exports['getAccessibilityResultsSummary']=async _0x4395e1=>{const _0x3e9381=a34_0x72661d,_0x1b148b={};_0x1b148b['UmEWw']='No\x20summaryResults\x20found.',_0x1b148b['KLTWW']=_0x3e9381(0x13c);const _0x3f6719=_0x1b148b;if(global[_0x3e9381(0x145)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4395e1,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4395e1,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x3e9381(0x184)](_0x3f6719[_0x3e9381(0x138)]),{};}else return logger[_0x3e9381(0x13a)](_0x3f6719['KLTWW']),{};},exports[a34_0x72661d(0x147)]=async _0x7c776=>{const _0x224200=a34_0x72661d,_0x41ac7e={'Okyex':function(_0x257771,_0x32102b){return _0x257771!==_0x32102b;},'JZbgL':_0x224200(0x164),'IVtkF':function(_0x25b303,_0x28a360){return _0x25b303===_0x28a360;},'moneS':_0x224200(0x14c),'GxQSs':_0x224200(0x139),'UNjSr':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','VMhzR':function(_0x46c1eb,_0x9c8f33){return _0x46c1eb(_0x9c8f33);},'pGvFL':'latest','FcXKv':function(_0x37f16d,_0x209120){return _0x37f16d>_0x209120;},'MTqzq':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x41ac7e[_0x224200(0x13d)](_0x7c776[_0x224200(0x151)],''))return logger[_0x224200(0x13a)](_0x41ac7e[_0x224200(0x17c)]),![];const _0x4ad92e=_0x7c776[_0x224200(0x181)];if(!(_0x41ac7e[_0x224200(0x174)](_0x4ad92e,_0x41ac7e[_0x224200(0x191)])||_0x41ac7e[_0x224200(0x174)](_0x4ad92e,_0x41ac7e[_0x224200(0x157)])))return logger[_0x224200(0x13a)](_0x41ac7e[_0x224200(0x194)]),![];const _0x1e5a3c=_0x41ac7e[_0x224200(0x16d)](parseInt,_0x7c776[_0x224200(0x189)]);if(!(_0x41ac7e[_0x224200(0x174)](_0x1e5a3c,_0x41ac7e['pGvFL'])||_0x41ac7e[_0x224200(0x15b)](_0x1e5a3c,0x5e)))return logger[_0x224200(0x13a)](_0x41ac7e['MTqzq']),![];}catch(_0x5c4837){logger[_0x224200(0x184)](_0x224200(0x14e)+util[_0x224200(0x15c)](_0x5c4837));}return!![];},exports[a34_0x72661d(0x16e)]=(_0x52fcf7,_0x17d054,_0x30532b)=>{const _0x21ff0d=a34_0x72661d,_0x499460={'pGvcm':function(_0x38dab3){return _0x38dab3();},'CJJFM':_0x21ff0d(0x16c),'JtSBV':function(_0x160180,_0x4154b7){return _0x160180===_0x4154b7;},'GYQFl':'chrome','axFsY':_0x21ff0d(0x139),'ucCBs':_0x21ff0d(0x154),'rVszz':_0x21ff0d(0x168),'LZPVe':function(_0x57a7bc,_0x21aba1){return _0x57a7bc>_0x21aba1;},'LfUVC':_0x21ff0d(0x146),'uAOZR':function(_0x43e6fb,_0x1b1e5d){return _0x43e6fb(_0x1b1e5d);},'mXqaY':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','xhjKo':function(_0x20c018,_0x2dd4e1){return _0x20c018+_0x2dd4e1;},'VSKLB':function(_0x33062e,_0x45fdfb){return _0x33062e(_0x45fdfb);}};try{if(_0x499460[_0x21ff0d(0x172)](isAccessibilityAutomationSession)){global[_0x21ff0d(0x145)]=!![];!_0x52fcf7[_0x499460[_0x21ff0d(0x148)]]&&(global[_0x21ff0d(0x145)]=![]);!(_0x499460[_0x21ff0d(0x140)](_0x52fcf7[_0x21ff0d(0x162)],_0x499460[_0x21ff0d(0x141)])||_0x499460[_0x21ff0d(0x140)](_0x52fcf7[_0x21ff0d(0x162)],_0x499460['axFsY']))&&(logger[_0x21ff0d(0x13a)](_0x499460[_0x21ff0d(0x17e)]),global['accessibilityPlatform']=![]);!(_0x499460[_0x21ff0d(0x140)](_0x52fcf7[_0x21ff0d(0x189)],_0x499460[_0x21ff0d(0x12e)])||_0x499460['LZPVe'](_0x52fcf7['browser_version'],0x5e))&&(logger[_0x21ff0d(0x13a)](_0x499460[_0x21ff0d(0x13b)]),global[_0x21ff0d(0x145)]=![]);!_0x499460['uAOZR'](isUndefined,_0x52fcf7['deviceName'])&&(logger['warn'](_0x499460[_0x21ff0d(0x144)]),global[_0x21ff0d(0x145)]=![]);if(!global[_0x21ff0d(0x145)]){_0x52fcf7[_0x499460[_0x21ff0d(0x148)]]=![];const _0x865dfd=_0x499460[_0x21ff0d(0x18d)](_0x17d054,_0x499460['VSKLB'](encodeURIComponent,JSON[_0x21ff0d(0x155)](_0x52fcf7)));_0x30532b&&(_0x30532b[_0x21ff0d(0x13e)]['testInfo'][_0x21ff0d(0x16f)][_0x21ff0d(0x127)][_0x21ff0d(0x149)][_0x21ff0d(0x158)]=_0x865dfd,_0x30532b['workerInfo']['project'][_0x21ff0d(0x127)][_0x21ff0d(0x149)][_0x21ff0d(0x158)]=_0x865dfd);}}}catch(_0x94ec0d){logger[_0x21ff0d(0x184)](_0x21ff0d(0x14a)+util[_0x21ff0d(0x15c)](_0x94ec0d));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x279114=a35_0x3d99;function a35_0x34d6(){const _0x12a739=['1186sGYynx','gXzNt','nestedKeyValue','Playwright\x20process\x20exited\x20with\x20code\x20','split','Error\x20in\x20closing\x20playwright','XCXVY','argv','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','Updated\x20config\x20file\x20name\x20to\x20-\x20','1097346FQzlGn','isUndefined','WyLxK','start','accessibilityOptions','.browserstack','length','tpyGW','unlinkSync','debug','laUnP','info','validateRerunTestList','NoGGg','3dDJbIx','platform','MODULE','skipSessionName','KnpVi','iTYDB','accessibility','BYFZJ','myiki','join','splice','./accessibility-helper','OiXdg','314615tsVtEM','startsWith','close','ftJkU','WqPyU','isTrue','env','../../helpers/performance/constants','winstonLogger','SFkCu','resolve','concat','stringify','--config=','OVCYD','../../helpers/BrowserStackSetup','path','KtOxh','skipSessionStatus','PLAYWRIGHT','logLevel','49DACfxK','config','3252732ygbBJS','../../helpers/logger','dirname','homedir','BROWSERSTACK_SETUP_CONFIG_PATH','measureWrapper','browserstackSetupConfig.json','finalExecution','hWoad','findIndex','serializeToYamlString','map','Error\x20in\x20getting\x20funnel\x20data\x20results','JMLGH','amiJH','isFalse','rvLJv','testContextOptions','gQUBb','3894237AydheJ','../../helpers/performance/performance-tester','BROWSERSTACK_TEST_OBSERVABILITY','false','filter','../../helpers/accessibility-automation/helper','assign','KwquQ','2081468ojnOtJ','sKHJq','getPackageType','BROWSERSTACK_PW_CONFIG_DIR','GGoKe','cliConfig','win32','SDK_SETUP','getProxyUrl','has','true','EVENTS','wYipl','parse','test','--config','cwd','Deleting\x20','isTypescriptProject','ITJhg','\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();','SudXr','../../helpers/test-observability/constants','errorMessage','tGHvl','7|4|8|9|6|2|3|5|0|1','CuDiR','uMLuq','SDK_POST_INITIALIZE','existsSync','SDK_PRE_INITIALIZE','exports','./reporter/pwUtils','get','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_RERUN','DPkBa','uRXPz','rumCJ','4119328MQRysB','resolvedConfigFile','USER_CONFIG_DETAILS_PATH','../utils/constants','stop','Error\x20in\x20deleting\x20playwright\x20results','--disable-browserstack-automation','BROWSERSTACK_AUTOMATION','ZnJYX','slice','SUMmW','playwright-browserstack-sdk.config.cjs','vHFYx','automation','KSdUC','kGpFF','--grep','../../helpers/helper','jtaKM','HpwfE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','exitCode','BrCSG','initialize','gOmpu','Pulzh','apply','ZMsUX','requirePWModule','playwright','oNUBh','npx','playwright-browserstack-sdk.config.js','testObservability','BROWSERSTACK_RERUN_TESTS','KfrFG','--disable-test-observability','filterBrowserstackArgs','jwGfv','indexOf','inherit','readFileSync'];a35_0x34d6=function(){return _0x12a739;};return a35_0x34d6();}function a35_0x3d99(_0x275cff,_0x2664af){const _0x34d615=a35_0x34d6();return a35_0x3d99=function(_0x3d994d,_0x24edb3){_0x3d994d=_0x3d994d-0x13b;let _0x384376=_0x34d615[_0x3d994d];return _0x384376;},a35_0x3d99(_0x275cff,_0x2664af);}(function(_0x21fb02,_0x1c16fc){const _0x248e5e=a35_0x3d99,_0x2668bf=_0x21fb02();while(!![]){try{const _0x428e12=-parseInt(_0x248e5e(0x1c0))/0x1*(-parseInt(_0x248e5e(0x186))/0x2)+-parseInt(_0x248e5e(0x19e))/0x3*(-parseInt(_0x248e5e(0x1dd))/0x4)+-parseInt(_0x248e5e(0x1ab))/0x5+parseInt(_0x248e5e(0x190))/0x6+-parseInt(_0x248e5e(0x1c2))/0x7+parseInt(_0x248e5e(0x15c))/0x8+-parseInt(_0x248e5e(0x1d5))/0x9;if(_0x428e12===_0x1c16fc)break;else _0x2668bf['push'](_0x2668bf['shift']());}catch(_0x198e20){_0x2668bf['push'](_0x2668bf['shift']());}}}(a35_0x34d6,0x460db));const fs=require('fs'),path=require(a35_0x279114(0x1bb)),{spawn}=require('child_process'),{format}=require('util'),logger=require(a35_0x279114(0x1c3))[a35_0x279114(0x1b3)],{default:BrowserStackSetup}=require(a35_0x279114(0x1ba)),helper=require(a35_0x279114(0x16d)),utilities=require('../../helpers/utilities'),constants=require(a35_0x279114(0x15f)),{FRAMEWORKS}=require(a35_0x279114(0x14b)),{getConfigLoaderPath}=require(a35_0x279114(0x155)),{checkAccessibilityPlatformConfig}=require(a35_0x279114(0x1da)),{setAccessibilityCapabilities}=require(a35_0x279114(0x1a9)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a35_0x279114(0x1d6)),PerformanceEvents=require(a35_0x279114(0x1b2))[a35_0x279114(0x140)],getUserPlaywrightConfig=async(_0x4b1d74,_0x124881)=>{const _0x4125f5=a35_0x279114,_0x3b23ff={'GGoKe':function(_0x28999b){return _0x28999b();},'ftJkU':function(_0x1b0201,_0x1aba63){return _0x1b0201(_0x1aba63);},'uMLuq':function(_0x8e65c9,_0xe851fe){return _0x8e65c9(_0xe851fe);},'Pulzh':_0x4125f5(0x15d),'ZMsUX':_0x4125f5(0x1b8)},_0x231e0d=!helper[_0x4125f5(0x191)](_0x4b1d74[_0x4125f5(0x1c1)]),_0xb1bd19=_0x231e0d?path[_0x4125f5(0x1b5)](process['cwd'](),_0x4b1d74[_0x4125f5(0x1c1)]):process[_0x4125f5(0x145)](),{resolveConfigFile:_0x16167b,resolveConfigLocation:_0x42ebb1}=helper[_0x4125f5(0x178)][_0x4125f5(0x176)](null,_0x3b23ff[_0x4125f5(0x1e1)](getConfigLoaderPath)),_0x54c325=_0x16167b?_0x3b23ff[_0x4125f5(0x1ae)](_0x16167b,_0xb1bd19):helper[_0x4125f5(0x188)](_0x3b23ff[_0x4125f5(0x150)](_0x42ebb1,_0xb1bd19),[_0x3b23ff[_0x4125f5(0x175)]]),_0x3cf07c={};if(_0x231e0d){const _0x4350fa=_0x124881[_0x4125f5(0x1cb)](_0x5d4d8a=>_0x5d4d8a===_0x4125f5(0x144)||_0x5d4d8a==='-c'||_0x5d4d8a[_0x4125f5(0x1ac)](_0x4125f5(0x1b8)));_0x124881[_0x4125f5(0x1a8)](_0x4350fa,_0x124881[_0x4350fa]['startsWith'](_0x3b23ff[_0x4125f5(0x177)])?0x1:0x2);}const _0x379b83={};return _0x379b83[_0x4125f5(0x1bb)]=_0x54c325,_0x379b83[_0x4125f5(0x1c1)]=_0x3cf07c,_0x379b83;},handleO11yRerun=_0x4146fe=>{const _0x5eb46e=a35_0x279114,_0x737c60={};_0x737c60[_0x5eb46e(0x164)]=_0x5eb46e(0x16c);const _0x15501a=_0x737c60,_0x4c6221=helper[_0x5eb46e(0x1b0)](process[_0x5eb46e(0x1b1)][_0x5eb46e(0x158)]);if(_0x4c6221){const _0x23ece5=process[_0x5eb46e(0x1b1)][_0x5eb46e(0x17e)],_0x314737=[];if(helper[_0x5eb46e(0x19c)](_0x23ece5)&&!helper[_0x5eb46e(0x191)](_0x23ece5)){_0x23ece5[_0x5eb46e(0x18a)](',')[_0x5eb46e(0x1cd)](_0x50d32e=>{_0x314737['push']('('+_0x50d32e['trim']()+')');});const _0x5aa4d3='^'+_0x314737[_0x5eb46e(0x1a7)]('|')+'$';_0x4146fe['push'](_0x15501a[_0x5eb46e(0x164)],_0x5aa4d3);}}},spawnOriginalProcess=_0xdd3d2e=>{const _0x12421d=a35_0x279114,_0x20cbeb={'oNUBh':function(_0x28d924,_0x57acb1,_0x12c90c,_0x4d59f1){return _0x28d924(_0x57acb1,_0x12c90c,_0x4d59f1);},'jwGfv':_0x12421d(0x17b),'HpwfE':_0x12421d(0x179),'dvAgb':function(_0x351a16,_0x171830){return _0x351a16===_0x171830;},'PBtrv':_0x12421d(0x13b),'wexIS':_0x12421d(0x184)};_0x20cbeb[_0x12421d(0x17a)](spawn,_0x20cbeb[_0x12421d(0x182)],[_0x20cbeb[_0x12421d(0x16f)],..._0xdd3d2e[_0x12421d(0x165)](0x1)],{'shell':_0x20cbeb['dvAgb'](process[_0x12421d(0x19f)],_0x20cbeb['PBtrv']),'stdio':_0x20cbeb['wexIS'],'cwd':process[_0x12421d(0x145)]()});},isTestCommand=(_0x4762df,_0x1b6f52)=>{const _0x1d29b6=a35_0x279114,_0x27ec82={};_0x27ec82[_0x1d29b6(0x1d2)]=function(_0x5040c6,_0x44ce07){return _0x5040c6>_0x44ce07;},_0x27ec82[_0x1d29b6(0x19d)]=function(_0x234e50,_0x22f0d9){return _0x234e50===_0x22f0d9;},_0x27ec82[_0x1d29b6(0x1bc)]=_0x1d29b6(0x143);const _0x4dd6b3=_0x27ec82;if(_0x4dd6b3[_0x1d29b6(0x1d2)](_0x1b6f52[_0x1d29b6(0x196)],0x1)&&_0x4dd6b3['NoGGg'](_0x1b6f52[0x1],_0x4dd6b3[_0x1d29b6(0x1bc)]))return!![];return![];};async function run(_0x51f664,_0x9f7d99){const _0x4e957f=a35_0x279114,_0xe57cff={'sKHJq':function(_0x54267b,_0x5293b4){return _0x54267b(_0x5293b4);},'rumCJ':_0x4e957f(0x195),'uRXPz':'pw_result.json','WyLxK':function(_0x42859b,_0x298181){return _0x42859b+_0x298181;},'iTYDB':_0x4e957f(0x1ce),'KnpVi':_0x4e957f(0x14e),'tGHvl':function(_0x3f71a7){return _0x3f71a7();},'gXzNt':_0x4e957f(0x18b),'umvdI':'BrowserStack\x20config\x20file\x20not\x20found.','gQUBb':_0x4e957f(0x169),'tpyGW':function(_0x1396b8,_0x2f00a0){return _0x1396b8!=_0x2f00a0;},'vHFYx':function(_0x3986ee,_0x5989f8,_0x5ad62d){return _0x3986ee(_0x5989f8,_0x5ad62d);},'kGpFF':function(_0x477180,_0x4bc5af){return _0x477180(_0x4bc5af);},'BrCSG':function(_0x40c161,_0x2215f7){return _0x40c161===_0x2215f7;},'OiXdg':_0x4e957f(0x13f),'myiki':_0x4e957f(0x1c8),'KSdUC':_0x4e957f(0x167),'lWmTA':_0x4e957f(0x17c),'hWoad':function(_0xbbd091,_0x3612c0){return _0xbbd091-_0x3612c0;},'AKkuP':function(_0x351a0b,_0x4d73a6){return _0x351a0b+_0x4d73a6;},'aajBh':_0x4e957f(0x18f),'SudXr':function(_0x14e551,_0x304cbe){return _0x14e551>_0x304cbe;},'ehkRa':function(_0x40fc42,_0x48fbb7,_0x563f35,_0x23a088){return _0x40fc42(_0x48fbb7,_0x563f35,_0x23a088);},'PBIXT':'npx','WqPyU':'playwright','XCXVY':_0x4e957f(0x143),'amiJH':_0x4e957f(0x144),'KfrFG':function(_0x51ba26,_0x1c8986){return _0x51ba26===_0x1c8986;},'ITJhg':_0x4e957f(0x13b),'laUnP':_0x4e957f(0x184),'gOmpu':_0x4e957f(0x1ad),'CuDiR':_0x4e957f(0x162),'SFkCu':_0x4e957f(0x1d8),'jtaKM':_0x4e957f(0x180),'HnbtR':function(_0x3a07d3,_0x4a235f){return _0x3a07d3>=_0x4a235f;},'vVHkM':_0x4e957f(0x161),'wYipl':function(_0xe6ce2,_0x1a53e0,_0x56f3c9){return _0xe6ce2(_0x1a53e0,_0x56f3c9);}};!helper[_0x4e957f(0x1d1)](process[_0x4e957f(0x1b1)][_0x4e957f(0x163)])&&(process[_0x4e957f(0x1b1)][_0x4e957f(0x163)]=!![]);process[_0x4e957f(0x18d)]['includes'](_0xe57cff[_0x4e957f(0x14f)])&&(process[_0x4e957f(0x1b1)][_0x4e957f(0x163)]=_0xe57cff[_0x4e957f(0x1b4)],_0x9f7d99=_0x9f7d99[_0x4e957f(0x1d9)](_0x32b580=>_0x32b580!==_0x4e957f(0x162)));const _0x117c05=_0x9f7d99[_0x4e957f(0x183)](_0xe57cff[_0x4e957f(0x16e)]);_0xe57cff['HnbtR'](_0x117c05,0x0)&&(process[_0x4e957f(0x1b1)][_0x4e957f(0x1d7)]=_0xe57cff[_0x4e957f(0x1b4)],_0x9f7d99=_0x9f7d99[_0x4e957f(0x1d9)](_0x447323=>_0x447323!==_0x4e957f(0x180)));try{const _0x3f8ac7=path[_0x4e957f(0x1a7)](helper[_0x4e957f(0x1c5)](),_0xe57cff[_0x4e957f(0x15b)],_0xe57cff[_0x4e957f(0x15a)]);fs[_0x4e957f(0x152)](_0x3f8ac7)&&fs[_0x4e957f(0x198)](_0x3f8ac7);}catch(_0x279575){logger[_0x4e957f(0x199)](_0xe57cff['AKkuP'](_0xe57cff['vVHkM'],_0x279575));}if(!_0xe57cff[_0x4e957f(0x141)](isTestCommand,_0x51f664,_0x9f7d99)){_0xe57cff['kGpFF'](spawnOriginalProcess,_0x9f7d99);return;}const _0x49dafe=new BrowserStackSetup(_0x51f664,FRAMEWORKS[_0x4e957f(0x1be)]);await PerformanceTester[_0x4e957f(0x1c7)](PerformanceEvents[_0x4e957f(0x153)],async()=>{const _0x34e9a2=_0x4e957f,_0x31223d={'SUMmW':_0xe57cff[_0x34e9a2(0x15b)],'BYFZJ':_0xe57cff[_0x34e9a2(0x15a)],'KwquQ':function(_0x52da6d,_0x3c0bd3){const _0x5edc8e=_0x34e9a2;return _0xe57cff[_0x5edc8e(0x192)](_0x52da6d,_0x3c0bd3);},'VRqTq':_0xe57cff[_0x34e9a2(0x1a3)],'OVCYD':_0xe57cff[_0x34e9a2(0x1a2)],'JMLGH':function(_0xebf4b1){const _0x2d0c54=_0x34e9a2;return _0xe57cff[_0x2d0c54(0x14d)](_0xebf4b1);},'DPkBa':_0xe57cff[_0x34e9a2(0x187)]};if(!_0x49dafe[_0x34e9a2(0x1c1)]){logger['error'](_0xe57cff['umvdI']);return;}await _0x49dafe[_0x34e9a2(0x173)]();!helper[_0x34e9a2(0x191)](_0x49dafe[_0x34e9a2(0x1e2)])&&_0x49dafe['cliConfig'][_0x34e9a2(0x13e)](_0xe57cff[_0x34e9a2(0x1d4)])&&(process[_0x34e9a2(0x1b1)][_0x34e9a2(0x163)]=_0x49dafe[_0x34e9a2(0x1e2)][_0x34e9a2(0x156)](_0xe57cff[_0x34e9a2(0x1d4)])||!![]);_0xe57cff[_0x34e9a2(0x197)](_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x17d)],null)&&!helper[_0x34e9a2(0x1b0)](process[_0x34e9a2(0x1b1)][_0x34e9a2(0x1d7)])&&(process[_0x34e9a2(0x1b1)][_0x34e9a2(0x1d7)]=process[_0x34e9a2(0x1b1)][_0x34e9a2(0x1d7)]||_0x49dafe['config'][_0x34e9a2(0x17d)]);const _0x5d4128=!helper['isFalse'](process[_0x34e9a2(0x1b1)][_0x34e9a2(0x1d7)]);let _0x4c3f36=![];_0x49dafe['config'][_0x34e9a2(0x1a4)]&&(_0x4c3f36=!![],process['env'][_0x34e9a2(0x170)]=_0x49dafe['config'][_0x34e9a2(0x1a4)]);_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x194)]&&(process['env'][_0x34e9a2(0x157)]=JSON[_0x34e9a2(0x1b7)](_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x194)]));const _0x4581ee=_0x9f7d99[_0x34e9a2(0x1b6)](),_0x2b6012=await _0xe57cff[_0x34e9a2(0x168)](getUserPlaywrightConfig,_0x51f664,_0x9f7d99);if(helper[_0x34e9a2(0x191)](_0x2b6012)){_0xe57cff[_0x34e9a2(0x16b)](spawnOriginalProcess,_0x4581ee);return;}const _0x4f2073=_0x2b6012[_0x34e9a2(0x1bb)]?path[_0x34e9a2(0x1c4)](_0x2b6012[_0x34e9a2(0x1bb)]):process[_0x34e9a2(0x145)]();process['env'][_0x34e9a2(0x1e0)]=_0x4f2073,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x34e9a2(0x151)],async()=>{const _0x36840c=_0x34e9a2;await TestHubHandler['launchBuild'](FRAMEWORKS[_0x36840c(0x1be)],_0x49dafe),_0x5d4128&&_0xe57cff[_0x36840c(0x1de)](handleO11yRerun,_0x9f7d99);})();let _0x5b31aa=_0xe57cff[_0x34e9a2(0x172)](process[_0x34e9a2(0x1b1)][_0x34e9a2(0x170)],_0xe57cff[_0x34e9a2(0x1aa)]);_0x5b31aa=_0x5b31aa||_0xe57cff['kGpFF'](checkAccessibilityPlatformConfig,_0x49dafe['config']),process[_0x34e9a2(0x1b1)][_0x34e9a2(0x170)]=_0x5b31aa;_0x5b31aa&&_0xe57cff['sKHJq'](setAccessibilityCapabilities,_0x49dafe['config']);const _0x4c15f8=path['join'](_0x2b6012['path']?path[_0x34e9a2(0x1c4)](_0x2b6012['path']):process[_0x34e9a2(0x145)](),_0xe57cff[_0x34e9a2(0x1a6)]);fs['writeFileSync'](_0x4c15f8,helper[_0x34e9a2(0x1cc)](_0x49dafe[_0x34e9a2(0x1c1)])),process[_0x34e9a2(0x1b1)][_0x34e9a2(0x1c6)]=_0x4c15f8,helper['clearTempPWConfig']();let _0x412050='';_0xe57cff[_0x34e9a2(0x172)](helper[_0x34e9a2(0x1df)](),constants['PACKAGE_TYPE'][_0x34e9a2(0x1a0)])?_0x412050=_0xe57cff[_0x34e9a2(0x16a)]:_0x412050=_0xe57cff['lWmTA'];let _0x32d7fc='';if(helper[_0x34e9a2(0x147)](_0x2b6012['path'])){_0x32d7fc='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x34f8d2=_0x412050[_0x34e9a2(0x18a)]('.');_0x34f8d2[_0xe57cff[_0x34e9a2(0x1ca)](_0x34f8d2[_0x34e9a2(0x196)],0x1)]='ts',_0x412050=_0x34f8d2[_0x34e9a2(0x1a7)]('.'),logger[_0x34e9a2(0x199)](_0xe57cff['AKkuP'](_0xe57cff['aajBh'],_0x412050));}else _0x32d7fc=_0x34e9a2(0x18e);const _0x46b103=path[_0x34e9a2(0x1a7)](_0x2b6012[_0x34e9a2(0x1bb)]?path['dirname'](_0x2b6012[_0x34e9a2(0x1bb)]):process[_0x34e9a2(0x145)](),_0x412050);let _0x29c418=_0x2b6012[_0x34e9a2(0x1bb)]?_0x2b6012[_0x34e9a2(0x1bb)]:'';_0x29c418=_0xe57cff[_0x34e9a2(0x14a)](_0x29c418[_0x34e9a2(0x196)],0x0)?path[_0x34e9a2(0x1b5)](_0x29c418):'',process[_0x34e9a2(0x1b1)][_0x34e9a2(0x15e)]=_0x29c418;const _0x4bc8bd=helper[_0x34e9a2(0x13d)](_0x49dafe[_0x34e9a2(0x1c1)]);_0x4bc8bd&&(_0x32d7fc=_0xe57cff['AKkuP']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x4bc8bd+_0x34e9a2(0x149),_0x32d7fc));helper[_0x34e9a2(0x181)]({},_0x9f7d99),fs['writeFileSync'](_0x46b103,_0x32d7fc),PerformanceTester['end'](PerformanceEvents[_0x34e9a2(0x13c)]);const _0x71afeb=_0xe57cff['ehkRa'](spawn,_0xe57cff['PBIXT'],[_0xe57cff[_0x34e9a2(0x1af)],_0xe57cff[_0x34e9a2(0x18c)],_0xe57cff[_0x34e9a2(0x1d0)],_0x46b103,..._0x9f7d99[_0x34e9a2(0x165)](0x2)],{'shell':_0xe57cff[_0x34e9a2(0x17f)](process[_0x34e9a2(0x19f)],_0xe57cff[_0x34e9a2(0x148)]),'stdio':_0xe57cff[_0x34e9a2(0x19a)],'cwd':process[_0x34e9a2(0x145)](),'env':Object[_0x34e9a2(0x1db)]({},process[_0x34e9a2(0x1b1)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x51f664),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x1d3)][_0x34e9a2(0x1bd)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x1d3)][_0x34e9a2(0x1a1)],'BROWSERSTACK_LOG_LEVEL':_0x49dafe[_0x34e9a2(0x1c1)][_0x34e9a2(0x1bf)]})}),_0x2d00bb=()=>{const _0x324019=_0x34e9a2;try{const _0x41fb99=path[_0x324019(0x1a7)](helper[_0x324019(0x1c5)](),_0x31223d[_0x324019(0x166)],_0x31223d[_0x324019(0x1a5)]);if(fs[_0x324019(0x152)](_0x41fb99)){let _0x3b3ebf=fs[_0x324019(0x185)](_0x41fb99);_0x3b3ebf=JSON[_0x324019(0x142)](_0x3b3ebf),_0x49dafe[_0x324019(0x14c)]=_0x3b3ebf,fs['unlinkSync'](_0x41fb99);}}catch(_0xa50216){logger[_0x324019(0x199)](_0x31223d[_0x324019(0x1dc)](_0x31223d['VRqTq'],_0xa50216));}};_0x71afeb['on'](_0xe57cff[_0x34e9a2(0x174)],async _0x49bd14=>{const _0x211420=_0x34e9a2;try{const _0x3d4d84=_0x31223d[_0x211420(0x1b9)][_0x211420(0x18a)]('|');let _0x295ad7=0x0;while(!![]){switch(_0x3d4d84[_0x295ad7++]){case'0':logger[_0x211420(0x199)](_0x211420(0x146)+_0x4c15f8);continue;case'1':fs[_0x211420(0x198)](_0x4c15f8);continue;case'2':logger[_0x211420(0x199)](_0x211420(0x189)+_0x49bd14);continue;case'3':logger[_0x211420(0x19b)](_0x211420(0x146)+_0x46b103);continue;case'4':_0x31223d[_0x211420(0x1cf)](_0x2d00bb);continue;case'5':fs['unlinkSync'](_0x46b103);continue;case'6':process[_0x211420(0x171)]=_0x49bd14;continue;case'7':PerformanceTester[_0x211420(0x193)](PerformanceEvents['SDK_CLEANUP']);continue;case'8':await TestHubHandler[_0x211420(0x160)]();continue;case'9':await utilities[_0x211420(0x1c9)](_0x49dafe);continue;}break;}}catch(_0x454090){logger[_0x211420(0x199)](_0x31223d[_0x211420(0x1dc)](_0x31223d[_0x211420(0x159)],_0x454090));}});})();}module[a35_0x279114(0x154)]=run;
2
+ 'use strict';const a35_0x34404e=a35_0x46d0;function a35_0x46d0(_0xd4dcbe,_0x44f2bd){const _0x257d94=a35_0x257d();return a35_0x46d0=function(_0x46d05b,_0x4618fe){_0x46d05b=_0x46d05b-0x85;let _0x23d25c=_0x257d94[_0x46d05b];return _0x23d25c;},a35_0x46d0(_0xd4dcbe,_0x44f2bd);}function a35_0x257d(){const _0x92eb23=['Deleting\x20','validateRerunTestList','parse','start','jQlxs','aCsrB','sYTDt','--grep','--disable-test-observability','BROWSERSTACK_TEST_ACCESSIBILITY_YML','109075xcqdua','info','nJHLR','PtmLv','join','util','../../helpers/BrowserStackSetup','SDK_SETUP','requirePWModule','length','USER_CONFIG_DETAILS_PATH','gryAL','existsSync','resolve','DRgmk','rSXxg','26pkvTQf','SDK_POST_INITIALIZE','SCRkX','end','186424Yboovq','accessibilityOptions','sEFrb','Playwright\x20process\x20exited\x20with\x20code\x20','../../helpers/utilities','Error\x20in\x20closing\x20playwright','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','findIndex','ZBGzm','exports','../../helpers/helper','dirname','accessibility','Uruvn','BROWSERSTACK_RERUN','UxXMX','2487590tJkKlq','HJZKm','wdQte','UYajI','child_process','config','bSGZZ','16oDcWQF','plGHy','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','npx','HnJoS','HYkwK','kYRDd','wieyL','push','cwd','ebygJ','getPackageType','kBuvK','--config','../utils/constants','pw_result.json','YKEEH','nestedKeyValue','BROWSERSTACK_AUTOMATION','browserstackSetupConfig.json','isFalse','vWLWS','has','true','mjxNe','gFtcd','playwright-browserstack-sdk.config.js','75480uYkcUk','PLAYWRIGHT','filterBrowserstackArgs','path','Wykso','slice','../../helpers/accessibility-automation/helper','getProxyUrl','testContextOptions','--config=','homedir','stringify','uUxTH','winstonLogger','error','skipSessionName','ihNLB','.browserstack','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/performance/performance-tester','test','./accessibility-helper','debug','SDK_CLEANUP','JDypr','../../helpers/logger','0|5|3|1|2|8|4|6|9|7','split','readFileSync','filter','BROWSERSTACK_SETUP_CONFIG_PATH','getConfigPath','isTypescriptProject','exitCode','--disable-browserstack-automation','36qeASAj','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','writeFileSync','121329ybJtfB','../../helpers/testhub/testhubHandler','finalExecution','MODULE','env','jwmhg','./reporter/pwUtils','1556842fyvLrV','clearTempPWConfig','EVENTS','qyFSI','UJMoj','includes','hhKng','testObservability','unlinkSync','BROWSERSTACK_PW_CONFIG_DIR','apply','isTrue','playwright','measureWrapper','isUndefined','platform','win32','oDxBG','stop','false','close','KUlbe','WEGMY','Kubra','splice','cliConfig','../../helpers/performance/constants','SDK_PRE_INITIALIZE','logLevel','concat','JOLSo','1329kIysSD','Fltpf'];a35_0x257d=function(){return _0x92eb23;};return a35_0x257d();}(function(_0x102cb8,_0x1b7fcd){const _0x1fd457=a35_0x46d0,_0x12de82=_0x102cb8();while(!![]){try{const _0x3ef00b=parseInt(_0x1fd457(0x89))/0x1+-parseInt(_0x1fd457(0xcb))/0x2*(parseInt(_0x1fd457(0xaf))/0x3)+-parseInt(_0x1fd457(0xe6))/0x4*(-parseInt(_0x1fd457(0xbb))/0x5)+-parseInt(_0x1fd457(0x101))/0x6+-parseInt(_0x1fd457(0x90))/0x7+parseInt(_0x1fd457(0xcf))/0x8*(-parseInt(_0x1fd457(0x86))/0x9)+parseInt(_0x1fd457(0xdf))/0xa;if(_0x3ef00b===_0x1b7fcd)break;else _0x12de82['push'](_0x12de82['shift']());}catch(_0x233441){_0x12de82['push'](_0x12de82['shift']());}}}(a35_0x257d,0x1e1ff));const fs=require('fs'),path=require(a35_0x34404e(0x104)),{spawn}=require(a35_0x34404e(0xe3)),{format}=require(a35_0x34404e(0xc0)),logger=require(a35_0x34404e(0x11a))[a35_0x34404e(0x10e)],{default:BrowserStackSetup}=require(a35_0x34404e(0xc1)),helper=require(a35_0x34404e(0xd9)),utilities=require(a35_0x34404e(0xd3)),constants=require(a35_0x34404e(0xf4)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a35_0x34404e(0x8f)),{checkAccessibilityPlatformConfig}=require(a35_0x34404e(0x107)),{setAccessibilityCapabilities}=require(a35_0x34404e(0x116)),TestHubHandler=require(a35_0x34404e(0x8a)),PerformanceTester=require(a35_0x34404e(0x114)),PerformanceEvents=require(a35_0x34404e(0xaa))[a35_0x34404e(0x92)],getUserPlaywrightConfig=async(_0x4abff3,_0xef21b9)=>{const _0x53e7a6=a35_0x34404e,_0x1097dc={'Wykso':function(_0x142a8c){return _0x142a8c();},'gFtcd':function(_0x58d2a7,_0x429065){return _0x58d2a7(_0x429065);},'aCsrB':'resolvedConfigFile','oUYXO':_0x53e7a6(0x10a)},_0x5660cb=!helper[_0x53e7a6(0x9e)](_0x4abff3[_0x53e7a6(0xe4)]),_0x9fd1df=_0x5660cb?path[_0x53e7a6(0xc8)](process[_0x53e7a6(0xef)](),_0x4abff3[_0x53e7a6(0xe4)]):process[_0x53e7a6(0xef)](),{resolveConfigFile:_0x2bcaee,resolveConfigLocation:_0x26e04c}=helper[_0x53e7a6(0xc3)][_0x53e7a6(0x9a)](null,_0x1097dc[_0x53e7a6(0x105)](getConfigLoaderPath)),_0x230ac0=_0x2bcaee?_0x1097dc[_0x53e7a6(0xff)](_0x2bcaee,_0x9fd1df):helper[_0x53e7a6(0xf7)](_0x1097dc[_0x53e7a6(0xff)](_0x26e04c,_0x9fd1df),[_0x1097dc[_0x53e7a6(0xb6)]]),_0x2c42f3={};if(_0x5660cb){const _0x209915=_0xef21b9[_0x53e7a6(0xd6)](_0x2a9c92=>_0x2a9c92===_0x53e7a6(0xf3)||_0x2a9c92==='-c'||_0x2a9c92['startsWith']('--config='));_0xef21b9[_0x53e7a6(0xa8)](_0x209915,_0xef21b9[_0x209915]['startsWith'](_0x1097dc['oUYXO'])?0x1:0x2);}const _0x414ce5={};return _0x414ce5[_0x53e7a6(0x104)]=_0x230ac0,_0x414ce5[_0x53e7a6(0xe4)]=_0x2c42f3,_0x414ce5;},handleO11yRerun=_0x47b7a1=>{const _0x2d9422=a35_0x34404e,_0x251000={};_0x251000[_0x2d9422(0xe7)]=_0x2d9422(0xb8);const _0x2ac584=_0x251000,_0x1ad360=helper[_0x2d9422(0x9b)](process[_0x2d9422(0x8d)][_0x2d9422(0xdd)]);if(_0x1ad360){const _0x167db8=process[_0x2d9422(0x8d)]['BROWSERSTACK_RERUN_TESTS'],_0x5230a7=[];if(helper[_0x2d9422(0xb2)](_0x167db8)&&!helper[_0x2d9422(0x9e)](_0x167db8)){_0x167db8[_0x2d9422(0x11c)](',')['map'](_0x13e938=>{const _0x3715e5=_0x2d9422;_0x5230a7[_0x3715e5(0xee)]('('+_0x13e938['trim']()+')');});const _0x3b5f4f='^'+_0x5230a7['join']('|')+'$';_0x47b7a1['push'](_0x2ac584[_0x2d9422(0xe7)],_0x3b5f4f);}}},spawnOriginalProcess=_0xc14f8d=>{const _0x38ed54=a35_0x34404e,_0x1a6b31={'KAUrM':function(_0x5254d4,_0x51ce5e,_0x5255e2,_0x39e638){return _0x5254d4(_0x51ce5e,_0x5255e2,_0x39e638);},'SCRkX':'npx','HYkwK':_0x38ed54(0x9c),'DyNKt':function(_0x4bac03,_0x496d63){return _0x4bac03===_0x496d63;},'Uruvn':_0x38ed54(0xa0),'TDVsk':'inherit'};_0x1a6b31['KAUrM'](spawn,_0x1a6b31[_0x38ed54(0xcd)],[_0x1a6b31[_0x38ed54(0xeb)],..._0xc14f8d['slice'](0x1)],{'shell':_0x1a6b31['DyNKt'](process[_0x38ed54(0x9f)],_0x1a6b31[_0x38ed54(0xdc)]),'stdio':_0x1a6b31['TDVsk'],'cwd':process[_0x38ed54(0xef)]()});},isTestCommand=(_0x1f8ac2,_0x1729a2)=>{const _0x3577b1=a35_0x34404e,_0x3fce72={};_0x3fce72[_0x3577b1(0xfe)]=function(_0xfda42,_0x62015a){return _0xfda42>_0x62015a;},_0x3fce72[_0x3577b1(0xf0)]=function(_0x129229,_0x18f6ef){return _0x129229===_0x18f6ef;},_0x3fce72[_0x3577b1(0xed)]=_0x3577b1(0x115);const _0x5ef25d=_0x3fce72;if(_0x5ef25d[_0x3577b1(0xfe)](_0x1729a2[_0x3577b1(0xc4)],0x1)&&_0x5ef25d[_0x3577b1(0xf0)](_0x1729a2[0x1],_0x5ef25d[_0x3577b1(0xed)]))return!![];return![];};async function run(_0x125a9e,_0x31281c){const _0x7e09a5=a35_0x34404e,_0x399bb6={'DRgmk':_0x7e09a5(0x112),'gryAL':_0x7e09a5(0xf5),'nJHLR':function(_0x54ac1d,_0x417da8){return _0x54ac1d+_0x417da8;},'TnWkM':'Error\x20in\x20getting\x20funnel\x20data\x20results','wdQte':function(_0x476d86,_0x524f2a){return _0x476d86(_0x524f2a);},'YKEEH':_0x7e09a5(0x11b),'kBuvK':function(_0x20c3d4){return _0x20c3d4();},'bSGZZ':function(_0x23d51e,_0x304a26){return _0x23d51e+_0x304a26;},'UJMoj':_0x7e09a5(0xd4),'luqTp':'BrowserStack\x20config\x20file\x20not\x20found.','WEGMY':'automation','UMzPn':function(_0xff7e53,_0x42c3bb){return _0xff7e53!=_0x42c3bb;},'kYRDd':function(_0xffa23a,_0x271575,_0x5470ea){return _0xffa23a(_0x271575,_0x5470ea);},'DjBZt':function(_0x545e07,_0x272f4c){return _0x545e07(_0x272f4c);},'sYTDt':function(_0x59cfcc,_0x30559d){return _0x59cfcc===_0x30559d;},'uDCsg':_0x7e09a5(0xfd),'vWLWS':function(_0x48dc0c,_0x5e5326){return _0x48dc0c(_0x5e5326);},'KUlbe':_0x7e09a5(0xf9),'qyFSI':function(_0xb6feb9,_0x6f2190){return _0xb6feb9===_0x6f2190;},'Kubra':'playwright-browserstack-sdk.config.cjs','rSXxg':_0x7e09a5(0x100),'wytQC':function(_0x5577c5,_0x1f75f4){return _0x5577c5-_0x1f75f4;},'PtmLv':function(_0x36254d,_0x475860){return _0x36254d+_0x475860;},'pFRXa':'Updated\x20config\x20file\x20name\x20to\x20-\x20','Fltpf':function(_0x1ba9ff,_0x599ab1){return _0x1ba9ff>_0x599ab1;},'UxXMX':function(_0x4450a9,_0x101723,_0x58d44e,_0x4b1642){return _0x4450a9(_0x101723,_0x58d44e,_0x4b1642);},'yLBmg':_0x7e09a5(0xe9),'jwmhg':_0x7e09a5(0x9c),'oDxBG':_0x7e09a5(0x115),'ZBGzm':_0x7e09a5(0xf3),'ihNLB':_0x7e09a5(0xa0),'mtFIu':'inherit','uUxTH':_0x7e09a5(0xa4),'sEFrb':_0x7e09a5(0x85),'hhKng':_0x7e09a5(0xa3),'sPeQl':_0x7e09a5(0xb9),'jQlxs':function(_0x9b9e2e,_0x186988){return _0x9b9e2e>=_0x186988;},'UYajI':'Error\x20in\x20deleting\x20playwright\x20results','JDypr':function(_0x31a3f7,_0x1322f2,_0x5bce94){return _0x31a3f7(_0x1322f2,_0x5bce94);}};!helper[_0x7e09a5(0xfa)](process[_0x7e09a5(0x8d)][_0x7e09a5(0xf8)])&&(process[_0x7e09a5(0x8d)][_0x7e09a5(0xf8)]=!![]);process['argv'][_0x7e09a5(0x95)](_0x399bb6[_0x7e09a5(0xd1)])&&(process[_0x7e09a5(0x8d)][_0x7e09a5(0xf8)]=_0x399bb6[_0x7e09a5(0x96)],_0x31281c=_0x31281c[_0x7e09a5(0x11e)](_0x5039a2=>_0x5039a2!=='--disable-browserstack-automation'));const _0x1ffe6b=_0x31281c['indexOf'](_0x399bb6['sPeQl']);_0x399bb6[_0x7e09a5(0xb5)](_0x1ffe6b,0x0)&&(process['env'][_0x7e09a5(0x113)]=_0x399bb6[_0x7e09a5(0x96)],_0x31281c=_0x31281c[_0x7e09a5(0x11e)](_0x4384e4=>_0x4384e4!==_0x7e09a5(0xb9)));try{const _0x3d50ac=path[_0x7e09a5(0xbf)](helper[_0x7e09a5(0x10b)](),_0x399bb6[_0x7e09a5(0xc9)],_0x399bb6[_0x7e09a5(0xc6)]);fs['existsSync'](_0x3d50ac)&&fs['unlinkSync'](_0x3d50ac);}catch(_0x3afba3){logger[_0x7e09a5(0x117)](_0x399bb6['nJHLR'](_0x399bb6[_0x7e09a5(0xe2)],_0x3afba3));}if(!_0x399bb6[_0x7e09a5(0x119)](isTestCommand,_0x125a9e,_0x31281c)){_0x399bb6[_0x7e09a5(0xfb)](spawnOriginalProcess,_0x31281c);return;}const _0x52b17e=new BrowserStackSetup(_0x125a9e,FRAMEWORKS['PLAYWRIGHT']);await PerformanceTester['measureWrapper'](PerformanceEvents[_0x7e09a5(0xab)],async()=>{const _0x254f56=_0x7e09a5,_0x24c0e1={'JOLSo':function(_0x40652e,_0x4829e4){const _0x3d300f=a35_0x46d0;return _0x399bb6[_0x3d300f(0xe1)](_0x40652e,_0x4829e4);},'rEzPT':_0x399bb6[_0x254f56(0xf6)],'HJZKm':function(_0x2f905e){const _0x2f2cde=_0x254f56;return _0x399bb6[_0x2f2cde(0xf2)](_0x2f905e);},'HnJoS':function(_0x41e13e,_0x4d6c84){const _0x4485e1=_0x254f56;return _0x399bb6[_0x4485e1(0xe5)](_0x41e13e,_0x4d6c84);},'zKPAy':_0x399bb6[_0x254f56(0x94)]};if(!_0x52b17e[_0x254f56(0xe4)]){logger[_0x254f56(0x10f)](_0x399bb6['luqTp']);return;}await _0x52b17e['initialize']();!helper[_0x254f56(0x9e)](_0x52b17e[_0x254f56(0xa9)])&&_0x52b17e[_0x254f56(0xa9)][_0x254f56(0xfc)](_0x399bb6[_0x254f56(0xa6)])&&(process[_0x254f56(0x8d)][_0x254f56(0xf8)]=_0x52b17e[_0x254f56(0xa9)]['get'](_0x399bb6[_0x254f56(0xa6)])||!![]);_0x399bb6['UMzPn'](_0x52b17e[_0x254f56(0xe4)][_0x254f56(0x97)],null)&&!helper[_0x254f56(0x9b)](process[_0x254f56(0x8d)][_0x254f56(0x113)])&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x254f56(0x8d)][_0x254f56(0x113)]||_0x52b17e[_0x254f56(0xe4)][_0x254f56(0x97)]);const _0x514686=!helper[_0x254f56(0xfa)](process['env'][_0x254f56(0x113)]);let _0x2d4cc0=![];_0x52b17e['config']['accessibility']&&(_0x2d4cc0=!![],process[_0x254f56(0x8d)][_0x254f56(0xba)]=_0x52b17e[_0x254f56(0xe4)][_0x254f56(0xdb)]);_0x52b17e[_0x254f56(0xe4)][_0x254f56(0xd0)]&&(process[_0x254f56(0x8d)][_0x254f56(0xd5)]=JSON[_0x254f56(0x10c)](_0x52b17e['config'][_0x254f56(0xd0)]));const _0x417aa5=_0x31281c[_0x254f56(0xad)](),_0x1df948=await _0x399bb6[_0x254f56(0xec)](getUserPlaywrightConfig,_0x125a9e,_0x31281c);if(helper[_0x254f56(0x9e)](_0x1df948)){_0x399bb6['DjBZt'](spawnOriginalProcess,_0x417aa5);return;}const _0x5b3b0b=_0x1df948[_0x254f56(0x104)]?path['dirname'](_0x1df948[_0x254f56(0x104)]):process[_0x254f56(0xef)]();process[_0x254f56(0x8d)][_0x254f56(0x99)]=_0x5b3b0b,await PerformanceTester[_0x254f56(0x9d)](PerformanceEvents[_0x254f56(0xcc)],async()=>{const _0x17190d=_0x254f56;await TestHubHandler['launchBuild'](FRAMEWORKS[_0x17190d(0x102)],_0x52b17e),_0x514686&&_0x24c0e1[_0x17190d(0xae)](handleO11yRerun,_0x31281c);})();let _0xf319b7=_0x399bb6[_0x254f56(0xb7)](process[_0x254f56(0x8d)][_0x254f56(0xba)],_0x399bb6['uDCsg']);_0xf319b7=_0xf319b7||_0x399bb6[_0x254f56(0xfb)](checkAccessibilityPlatformConfig,_0x52b17e[_0x254f56(0xe4)]),process[_0x254f56(0x8d)][_0x254f56(0xba)]=_0xf319b7;_0xf319b7&&_0x399bb6['DjBZt'](setAccessibilityCapabilities,_0x52b17e[_0x254f56(0xe4)]);const _0x43c54d=path['join'](_0x1df948[_0x254f56(0x104)]?path[_0x254f56(0xda)](_0x1df948['path']):process[_0x254f56(0xef)](),_0x399bb6[_0x254f56(0xa5)]);fs[_0x254f56(0x88)](_0x43c54d,helper['serializeToYamlString'](_0x52b17e[_0x254f56(0xe4)])),process['env'][_0x254f56(0x11f)]=_0x43c54d,helper[_0x254f56(0x91)]();let _0x562658='';_0x399bb6[_0x254f56(0x93)](helper[_0x254f56(0xf1)](),constants['PACKAGE_TYPE'][_0x254f56(0x8c)])?_0x562658=_0x399bb6[_0x254f56(0xa7)]:_0x562658=_0x399bb6[_0x254f56(0xca)];let _0x4888a8='';if(helper[_0x254f56(0x121)](_0x1df948[_0x254f56(0x104)])){_0x4888a8=_0x254f56(0x87);const _0x3e7533=_0x562658['split']('.');_0x3e7533[_0x399bb6['wytQC'](_0x3e7533['length'],0x1)]='ts',_0x562658=_0x3e7533[_0x254f56(0xbf)]('.'),logger[_0x254f56(0x117)](_0x399bb6[_0x254f56(0xbe)](_0x399bb6['pFRXa'],_0x562658));}else _0x4888a8='\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 _0xac5fa3=path[_0x254f56(0xbf)](_0x1df948['path']?path[_0x254f56(0xda)](_0x1df948[_0x254f56(0x104)]):process[_0x254f56(0xef)](),_0x562658);let _0x384e8b=_0x1df948['path']?_0x1df948['path']:'';_0x384e8b=_0x399bb6[_0x254f56(0xb0)](_0x384e8b['length'],0x0)?path['resolve'](_0x384e8b):'',process[_0x254f56(0x8d)][_0x254f56(0xc5)]=_0x384e8b;const _0xdc38c9=helper[_0x254f56(0x108)](_0x52b17e[_0x254f56(0xe4)]);_0xdc38c9&&(_0x4888a8=_0x399bb6['bSGZZ'](_0x254f56(0xe8)+_0xdc38c9+'\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();',_0x4888a8));helper[_0x254f56(0x103)]({},_0x31281c),fs[_0x254f56(0x88)](_0xac5fa3,_0x4888a8),PerformanceTester[_0x254f56(0xce)](PerformanceEvents[_0x254f56(0xc2)]);const _0xf33c0b=_0x399bb6[_0x254f56(0xde)](spawn,_0x399bb6['yLBmg'],[_0x399bb6[_0x254f56(0x8e)],_0x399bb6[_0x254f56(0xa1)],_0x399bb6[_0x254f56(0xd7)],_0xac5fa3,..._0x31281c[_0x254f56(0x106)](0x2)],{'shell':_0x399bb6[_0x254f56(0x93)](process[_0x254f56(0x9f)],_0x399bb6[_0x254f56(0x111)]),'stdio':_0x399bb6['mtFIu'],'cwd':process[_0x254f56(0xef)](),'env':Object['assign']({},process[_0x254f56(0x8d)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x254f56(0x120)](_0x125a9e),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x52b17e[_0x254f56(0xe4)][_0x254f56(0x109)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x52b17e['config'][_0x254f56(0x109)][_0x254f56(0x110)],'BROWSERSTACK_LOG_LEVEL':_0x52b17e[_0x254f56(0xe4)][_0x254f56(0xac)]})}),_0x4a407d=()=>{const _0x371d4a=_0x254f56;try{const _0x4fdf4a=path[_0x371d4a(0xbf)](helper[_0x371d4a(0x10b)](),_0x399bb6[_0x371d4a(0xc9)],_0x399bb6[_0x371d4a(0xc6)]);if(fs[_0x371d4a(0xc7)](_0x4fdf4a)){let _0x442841=fs[_0x371d4a(0x11d)](_0x4fdf4a);_0x442841=JSON[_0x371d4a(0xb3)](_0x442841),_0x52b17e['errorMessage']=_0x442841,fs[_0x371d4a(0x98)](_0x4fdf4a);}}catch(_0x86ad42){logger[_0x371d4a(0x117)](_0x399bb6[_0x371d4a(0xbd)](_0x399bb6['TnWkM'],_0x86ad42));}};_0xf33c0b['on'](_0x399bb6[_0x254f56(0x10d)],async _0x45c7bc=>{const _0x562900=_0x254f56;try{const _0x1ff0e4=_0x24c0e1['rEzPT'][_0x562900(0x11c)]('|');let _0x3fc571=0x0;while(!![]){switch(_0x1ff0e4[_0x3fc571++]){case'0':PerformanceTester[_0x562900(0xb4)](PerformanceEvents[_0x562900(0x118)]);continue;case'1':await utilities[_0x562900(0x8b)](_0x52b17e);continue;case'2':process[_0x562900(0x122)]=_0x45c7bc;continue;case'3':await TestHubHandler[_0x562900(0xa2)]();continue;case'4':logger[_0x562900(0xbc)](_0x562900(0xb1)+_0xac5fa3);continue;case'5':_0x24c0e1[_0x562900(0xe0)](_0x4a407d);continue;case'6':fs[_0x562900(0x98)](_0xac5fa3);continue;case'7':fs[_0x562900(0x98)](_0x43c54d);continue;case'8':logger['debug'](_0x562900(0xd2)+_0x45c7bc);continue;case'9':logger[_0x562900(0x117)]('Deleting\x20'+_0x43c54d);continue;}break;}}catch(_0x51ac29){logger[_0x562900(0x117)](_0x24c0e1[_0x562900(0xea)](_0x24c0e1['zKPAy'],_0x51ac29));}});})();}module[a35_0x34404e(0xd8)]=run;
@@ -1 +1 @@
1
- const a36_0x433ddb=a36_0x3269;function a36_0x6394(){const _0x23f9d6=['isHandlePWErrorSet','Call\x20to\x20child\x20fork\x20with\x20args\x20','3108133ZWNJRZ','ZnTkn','1.33.0','2304834VzrpOu','../../helpers/test-observability/utils','1541760vXfoLo','5HHWLgr','error','exports','../../helpers/test-observability/constants','boyyx','16BlJgPe','../../helpers/helper','PLAYWRIGHT','Not\x20able\x20to\x20import\x20globalSetup','406087edEnur','fork','util','requirePWModule','IidPi','debug','wEvLH','980728wHUJbU','function','bOdfF','./patches','4604769lrmZuH','./reporter/pwUtils','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','env','config','QeWED','DfzSr','Running\x20existing\x20global\x20setup','2200868lFyiWW','apply','compareVersions','Path\x20','YcCvH','format','gwINg'];a36_0x6394=function(){return _0x23f9d6;};return a36_0x6394();}(function(_0x7d6a87,_0x5abcf7){const _0x53d565=a36_0x3269,_0x18fce0=_0x7d6a87();while(!![]){try{const _0x4c3cee=-parseInt(_0x53d565(0xeb))/0x1+parseInt(_0x53d565(0xf2))/0x2+-parseInt(_0x53d565(0xe1))/0x3+parseInt(_0x53d565(0xd3))/0x4+parseInt(_0x53d565(0xe2))/0x5*(-parseInt(_0x53d565(0xdf))/0x6)+-parseInt(_0x53d565(0xdc))/0x7+-parseInt(_0x53d565(0xe7))/0x8*(-parseInt(_0x53d565(0xf6))/0x9);if(_0x4c3cee===_0x5abcf7)break;else _0x18fce0['push'](_0x18fce0['shift']());}catch(_0x5442fd){_0x18fce0['push'](_0x18fce0['shift']());}}}(a36_0x6394,0x4d132));function a36_0x3269(_0x354ce7,_0x398c8f){const _0x6394e6=a36_0x6394();return a36_0x3269=function(_0x326972,_0x434458){_0x326972=_0x326972-0xd1;let _0x699112=_0x6394e6[_0x326972];return _0x699112;},a36_0x3269(_0x354ce7,_0x398c8f);}const util=require(a36_0x433ddb(0xed)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x433ddb(0xe5)),{getFrameworkVersion,debug}=require(a36_0x433ddb(0xe0)),helper=require(a36_0x433ddb(0xe8)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x433ddb(0xf7)),{mockIsWorkerRedundant}=require(a36_0x433ddb(0xf5)),logger=require('../../helpers/logger')['winstonLogger'];module[a36_0x433ddb(0xe4)]=async function(_0x34774e){const _0xfa691c=a36_0x433ddb,_0x4cd65e={'YcCvH':function(_0x2b07c7,_0x498766){return _0x2b07c7(_0x498766);},'DfzSr':function(_0xe51e54){return _0xe51e54();},'IidPi':'./mock-process.js','AmtBu':_0xfa691c(0xd2),'DvZyd':function(_0x2ca346){return _0x2ca346();},'boyyx':function(_0x1b8846,_0x5665f6){return _0x1b8846>=_0x5665f6;},'gwINg':_0xfa691c(0xde),'PvFAY':function(_0xcfb8fa,_0x112080,_0x23116a){return _0xcfb8fa(_0x112080,_0x23116a);},'ZnTkn':function(_0x3931b5,_0x4df4bc){return _0x3931b5!==_0x4df4bc;},'QeWED':_0xfa691c(0xf3),'bOdfF':_0xfa691c(0xea),'wEvLH':function(_0x3e6a72,_0x285e47){return _0x3e6a72(_0x285e47);}},_0x5dc5e3=child_process[_0xfa691c(0xec)];if(helper[_0xfa691c(0xda)]())try{_0x4cd65e[_0xfa691c(0xd1)](mockIsWorkerRedundant);}catch(_0x337c3c){logger[_0xfa691c(0xf0)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0xfa691c(0xd8)](_0x337c3c));}child_process[_0xfa691c(0xec)]=function(){const _0x271a42=_0xfa691c;return _0x4cd65e['YcCvH'](debug,_0x271a42(0xdb)+arguments[0x0]),arguments[0x0]['includes'](_0x4cd65e[_0x271a42(0xd1)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x4cd65e[_0x271a42(0xef)]):logger[_0x271a42(0xe3)](_0x271a42(0xd6)+_0x4cd65e[_0x271a42(0xd1)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x5dc5e3[_0x271a42(0xd4)](null,arguments);};if(process[_0xfa691c(0xfa)][_0xfa691c(0xf8)]){_0x4cd65e[_0xfa691c(0xd7)](debug,_0x4cd65e['AmtBu']);try{const {loadGlobalHook:_0x15cd94}=helper[_0xfa691c(0xee)]['apply'](null,_0x4cd65e['DvZyd'](getLoadUtilsPath)),_0x3de14b=_0x4cd65e[_0xfa691c(0xd7)](getFrameworkVersion,FRAMEWORKS[_0xfa691c(0xe9)]);let _0x2c1436=_0x34774e;if(_0x4cd65e[_0xfa691c(0xe6)](helper[_0xfa691c(0xd5)](_0x3de14b,_0x4cd65e[_0xfa691c(0xd9)]),0x0)){const _0xf4bff6={};_0xf4bff6[_0xfa691c(0xfb)]=_0x34774e,_0x2c1436=_0xf4bff6;}const _0x285cda=await _0x4cd65e['PvFAY'](_0x15cd94,_0x2c1436,process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x4cd65e[_0xfa691c(0xdd)](typeof _0x285cda,_0x4cd65e[_0xfa691c(0xfc)]))throw new Error(_0x4cd65e[_0xfa691c(0xf4)]);return _0x285cda[_0xfa691c(0xd4)](null,arguments);}catch(_0x45b091){_0x4cd65e[_0xfa691c(0xf1)](debug,_0xfa691c(0xf9)+_0x45b091['toString']());}}};
1
+ const a36_0x3e3467=a36_0x4946;function a36_0x1776(){const _0x51ad1c=['477808SpQrqK','QiSjU','CIYJZ','\x20is\x20not\x20found','./reporter/pwUtils','Path\x20','requirePWModule','../../helpers/helper','484056CbOAei','UABGd','format','isHandlePWErrorSet','winstonLogger','VPIim','function','2640930IXUwKT','Not\x20able\x20to\x20import\x20globalSetup','config','apply','OSmKB','3871182BxUdmp','91JLCqAl','1.33.0','fork','./mock-process.js','xJfsD','4995420UxPjoF','debug','QlnUR','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','1143910Txgmhb','exports','child_process','1ZUyxcT','24653277lgQTBS','env','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','includes','UJnzO','../../helpers/test-observability/constants'];a36_0x1776=function(){return _0x51ad1c;};return a36_0x1776();}(function(_0x51ae83,_0x4b58bd){const _0x375c7a=a36_0x4946,_0x527c5d=_0x51ae83();while(!![]){try{const _0x5ecd68=-parseInt(_0x375c7a(0xf7))/0x1*(parseInt(_0x375c7a(0x11c))/0x2)+-parseInt(_0x375c7a(0x10d))/0x3+parseInt(_0x375c7a(0xfe))/0x4+-parseInt(_0x375c7a(0x118))/0x5+-parseInt(_0x375c7a(0x112))/0x6+-parseInt(_0x375c7a(0x113))/0x7*(-parseInt(_0x375c7a(0x106))/0x8)+parseInt(_0x375c7a(0xf8))/0x9;if(_0x5ecd68===_0x4b58bd)break;else _0x527c5d['push'](_0x527c5d['shift']());}catch(_0x5372df){_0x527c5d['push'](_0x527c5d['shift']());}}}(a36_0x1776,0x85f8e));function a36_0x4946(_0x54ac55,_0x5f29f0){const _0x177665=a36_0x1776();return a36_0x4946=function(_0x494649,_0x1bd355){_0x494649=_0x494649-0xf7;let _0x1fa6b7=_0x177665[_0x494649];return _0x1fa6b7;},a36_0x4946(_0x54ac55,_0x5f29f0);}const util=require('util'),child_process=require(a36_0x3e3467(0x11e)),{FRAMEWORKS}=require(a36_0x3e3467(0xfd)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x3e3467(0x105)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x3e3467(0x102)),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')[a36_0x3e3467(0x10a)];module[a36_0x3e3467(0x11d)]=async function(_0x16da6b){const _0xb9a322=a36_0x3e3467,_0xe0102f={'Qypis':function(_0x101509,_0x2a789f){return _0x101509(_0x2a789f);},'OSmKB':function(_0x3dc3f0){return _0x3dc3f0();},'UJnzO':_0xb9a322(0x116),'QlnUR':function(_0xce73cf){return _0xce73cf();},'LzqIk':function(_0x44adc3,_0x467ee6){return _0x44adc3(_0x467ee6);},'CIYJZ':'Running\x20existing\x20global\x20setup','UABGd':function(_0x7cec91,_0x1818c8){return _0x7cec91(_0x1818c8);},'XWSnI':function(_0x8f6622,_0x5acf0e){return _0x8f6622>=_0x5acf0e;},'fZXgY':_0xb9a322(0x114),'xJfsD':function(_0xe1761d,_0x444adf,_0x455e16){return _0xe1761d(_0x444adf,_0x455e16);},'VPIim':function(_0x4970c7,_0x168d5b){return _0x4970c7!==_0x168d5b;},'Ueaxp':_0xb9a322(0x10c),'QiSjU':_0xb9a322(0x10e)},_0xda2828=child_process[_0xb9a322(0x115)];if(helper[_0xb9a322(0x109)]())try{_0xe0102f[_0xb9a322(0x11a)](mockIsWorkerRedundant);}catch(_0x3e90fc){logger[_0xb9a322(0x119)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0xb9a322(0x108)](_0x3e90fc));}child_process[_0xb9a322(0x115)]=function(){const _0x2fb829=_0xb9a322;return _0xe0102f['Qypis'](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x2fb829(0xfb)](_0xe0102f[_0x2fb829(0x111)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0xe0102f[_0x2fb829(0xfc)]):logger['error'](_0x2fb829(0x103)+_0xe0102f[_0x2fb829(0x111)](getForkProcessPath)+_0x2fb829(0x101)),_0xda2828[_0x2fb829(0x110)](null,arguments);};if(process[_0xb9a322(0xf9)][_0xb9a322(0xfa)]){_0xe0102f['LzqIk'](debug,_0xe0102f[_0xb9a322(0x100)]);try{const {loadGlobalHook:_0x44322c}=helper[_0xb9a322(0x104)][_0xb9a322(0x110)](null,_0xe0102f[_0xb9a322(0x11a)](getLoadUtilsPath)),_0x194989=_0xe0102f[_0xb9a322(0x107)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0xacc40c=_0x16da6b;if(_0xe0102f['XWSnI'](helper['compareVersions'](_0x194989,_0xe0102f['fZXgY']),0x0)){const _0xc2f7c2={};_0xc2f7c2[_0xb9a322(0x10f)]=_0x16da6b,_0xacc40c=_0xc2f7c2;}const _0x45a3fd=await _0xe0102f[_0xb9a322(0x117)](_0x44322c,_0xacc40c,process[_0xb9a322(0xf9)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0xe0102f[_0xb9a322(0x10b)](typeof _0x45a3fd,_0xe0102f['Ueaxp']))throw new Error(_0xe0102f[_0xb9a322(0xff)]);return _0x45a3fd[_0xb9a322(0x110)](null,arguments);}catch(_0x507dfd){_0xe0102f['Qypis'](debug,_0xb9a322(0x11b)+_0x507dfd['toString']());}}};