browserstack-node-sdk 1.34.35 → 1.34.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance/constants.js +1 -1
  115. package/src/helpers/performance/performance-tester.js +1 -1
  116. package/src/helpers/processHelper.js +1 -1
  117. package/src/helpers/request-spy.js +1 -1
  118. package/src/helpers/setKeepAlive.js +1 -1
  119. package/src/helpers/test-observability/constants.js +1 -1
  120. package/src/helpers/test-observability/error-handler.js +1 -1
  121. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  122. package/src/helpers/test-observability/sessionHandler.js +1 -1
  123. package/src/helpers/test-observability/utils.js +1 -1
  124. package/src/helpers/testhub/constants.js +1 -1
  125. package/src/helpers/testhub/testhubHandler.js +1 -1
  126. package/src/helpers/testhub/utils.js +1 -1
  127. package/src/helpers/timeoutPromise.js +1 -1
  128. package/src/helpers/utilities.js +1 -1
  129. package/src/helpers/w3cMapping.js +1 -1
  130. package/src/hubAllocationMethods.js +1 -1
  131. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a29_0x5019(_0x18bfd9,_0x1bf120){const _0x55e79d=a29_0x55e7();return a29_0x5019=function(_0x5019e4,_0x32ce74){_0x5019e4=_0x5019e4-0x1e8;let _0x44863a=_0x55e79d[_0x5019e4];return _0x44863a;},a29_0x5019(_0x18bfd9,_0x1bf120);}const a29_0x290d8b=a29_0x5019;function a29_0x55e7(){const _0x3e747e=['keys','ywpWZ','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','ieOptions_','15TGmeFu','1050808pLKcpt','ooPPy','capabilities_','proxySettings','XVmlA','object','getRequestOptions','isAccessibilityPlatform','1|4|3|2|0|5','384490rLJunl','./helpers/patchHelper','session_','../../../bin/utils/constants','getHttpAgent','Hfdbk','1019019nZBwJc','caps_','../../../hubAllocationMethods','CAPABILITY_KEY','5FjoqFP','isPacProxy','updateHubUrl','EnqUM','1016026Qkbtde','564BQKNFx','ieOptions','debug','mOrKU','optimalHubUrl','proxy_','__driver','5292942wnwpNf','Hub\x20url\x20set\x20to\x20','storeOptimalHubUrl','proxyUrl','4092670jSTcMl','capability','split','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','../../../helpers/patchHelpers','setCapabilities','set','Builder','CEZxc','path','ms:edgeOptions','mergeDeep','yvojP','getGlobal','AVZoA','build','1732932RLcJnI','isBrowserstackInfra','goog:chromeOptions','__drivers','WyWry','EDSuM','browserstackAgentObservability','getAccessibilityResultsSummary','nzURL','chromeOptions_','../../../helpers/accessibility-automation/helper','UXsZw','rcpEt','overrideGet','__driversArray','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../accessibility-automation/helper','winstonLogger','originalBuilder','49QTKYGA','lTdJO','newHubUrl','setServer','QOWaG','firefoxOptions','push','options_','../../../helpers/logger','kXexG','safari.options','9PUVrmz','quitCount_','/session','QdgUD','https://','IUbhq','global','../../../helpers/helper','setGlobal','forEach','../../../helpers/globals','VCIJB','LASlE','kAxmi','atHbQ','url_','info','edgeOptions_','getHubUrl','logLevel','se:ieOptions','requireHttpClient','then','get','firefoxOptions_','MsnAh','isUndefined','HttpClient','WlFah','Proxy\x20set\x20to\x20','safariOptions_','exports','__setBrowserOptions','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','NzKcg'];a29_0x55e7=function(){return _0x3e747e;};return a29_0x55e7();}(function(_0x1962da,_0xf45e19){const _0x62d722=a29_0x5019,_0x1a2a08=_0x1962da();while(!![]){try{const _0x29558f=-parseInt(_0x62d722(0x1fc))/0x1+-parseInt(_0x62d722(0x1f6))/0x2*(parseInt(_0x62d722(0x1ec))/0x3)+-parseInt(_0x62d722(0x220))/0x4+-parseInt(_0x62d722(0x200))/0x5*(parseInt(_0x62d722(0x20c))/0x6)+parseInt(_0x62d722(0x233))/0x7*(-parseInt(_0x62d722(0x1ed))/0x8)+-parseInt(_0x62d722(0x23e))/0x9*(-parseInt(_0x62d722(0x210))/0xa)+-parseInt(_0x62d722(0x204))/0xb*(-parseInt(_0x62d722(0x205))/0xc);if(_0x29558f===_0xf45e19)break;else _0x1a2a08['push'](_0x1a2a08['shift']());}catch(_0x21364e){_0x1a2a08['push'](_0x1a2a08['shift']());}}}(a29_0x55e7,0x82b52));const logger=require(a29_0x290d8b(0x23b))[a29_0x290d8b(0x231)],helper=require(a29_0x290d8b(0x245)),constants=require(a29_0x290d8b(0x1f9)),hubAllocator=require(a29_0x290d8b(0x1fe)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x290d8b(0x214)),{setAccessibilityCapabilities,setExtension}=require(a29_0x290d8b(0x230)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x290d8b(0x22a)),globals=require(a29_0x290d8b(0x248)),{overrideExecute}=require(a29_0x290d8b(0x1f7)),modify=(_0x405d14,_0x5e0ee6=null,_0x221f0e=![])=>{const _0x437cd7=a29_0x290d8b,_0x25cb8c={'WlFah':function(_0x3e16b4,_0x24f106){return _0x3e16b4!==_0x24f106;},'EDSuM':_0x437cd7(0x240),'nzURL':function(_0x16c677,_0x396721){return _0x16c677+_0x396721;},'LASlE':function(_0x3f9996,_0x4c5e66){return _0x3f9996+_0x4c5e66;},'QdgUD':_0x437cd7(0x242),'XVmlA':'/wd/hub','UXsZw':_0x437cd7(0x222),'Hfdbk':'chromeOptions','ooPPy':_0x437cd7(0x21a),'NzKcg':'edgeOptions','EnqUM':'moz:firefoxOptions','vMqRC':_0x437cd7(0x238),'yvojP':_0x437cd7(0x23d),'kXexG':_0x437cd7(0x252),'YXcUF':_0x437cd7(0x206),'ytgUK':function(_0xc37577,_0x1071ad){return _0xc37577===_0x1071ad;},'WyWry':_0x437cd7(0x1f2),'smSaV':'Setting\x20Browserstack\x20capabilities','uXXOM':_0x437cd7(0x209),'IcTFG':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','rcpEt':'5|4|1|2|0|3','QOWaG':function(_0x314711,_0x195288,_0x7c7762){return _0x314711(_0x195288,_0x7c7762);},'mOrKU':function(_0x443aa6,_0x4acf21){return _0x443aa6(_0x4acf21);},'YriNJ':function(_0x3dba7c,_0x3e8e3a,_0x308463){return _0x3dba7c(_0x3e8e3a,_0x308463);},'ywpWZ':function(_0x26847e,_0x201e4b,_0x51851b){return _0x26847e(_0x201e4b,_0x51851b);},'atHbQ':function(_0x45cd40,_0x4f591c,_0x52a7c8){return _0x45cd40(_0x4f591c,_0x52a7c8);},'sOAyo':_0x437cd7(0x1f5),'kAxmi':_0x437cd7(0x1f4),'kDTEu':function(_0x2877c7){return _0x2877c7();},'VCIJB':function(_0x49c8f9,_0x36e949){return _0x49c8f9(_0x36e949);},'uIlUa':_0x437cd7(0x22f),'IUbhq':function(_0x3b36ca,_0x5c62b7){return _0x3b36ca(_0x5c62b7);},'lTdJO':_0x437cd7(0x213),'MsnAh':'Modifying\x20webdriver\x20builder'},_0x5a1020=helper[_0x437cd7(0x253)]();let _0x4f0095;try{_0x4f0095=helper['requireSeleniumWebdriver'](),_0x4f0095[_0x437cd7(0x232)]&&(_0x4f0095[_0x437cd7(0x217)]=_0x4f0095[_0x437cd7(0x232)]);}catch(_0x5410a8){return;}if(helper[_0x437cd7(0x221)]()){const _0x438313={};_0x438313[_0x437cd7(0x251)]=_0x405d14['browserStackLogLevel'],helper['setLogLevel'](_0x438313,new Map(),new Map()),logger[_0x437cd7(0x24e)](_0x25cb8c[_0x437cd7(0x234)]),logger[_0x437cd7(0x207)](_0x25cb8c[_0x437cd7(0x257)]);}class _0x218442 extends _0x5a1020[_0x437cd7(0x259)]{['send'](_0x445732){const _0x3b1a50=_0x437cd7;if(_0x25cb8c[_0x3b1a50(0x25a)](_0x445732[_0x3b1a50(0x219)],_0x25cb8c[_0x3b1a50(0x225)])&&_0x25cb8c[_0x3b1a50(0x25a)](global[_0x3b1a50(0x235)],''))try{global[_0x3b1a50(0x235)]=_0x25cb8c[_0x3b1a50(0x228)](_0x25cb8c[_0x3b1a50(0x24a)](_0x25cb8c[_0x3b1a50(0x241)],global['newHubUrl']),_0x25cb8c[_0x3b1a50(0x1f1)]),this[_0x3b1a50(0x23a)]=hubAllocator[_0x3b1a50(0x1f3)](global['newHubUrl']),logger[_0x3b1a50(0x207)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x3b1a50(0x235)]),global[_0x3b1a50(0x235)]='';}catch(_0x1821e3){logger['error'](_0x1821e3);}return super['send'](_0x445732);}}class _0x5a2b14 extends _0x4f0095[_0x437cd7(0x217)]{[_0x437cd7(0x236)](){const _0xb7fd6a=_0x437cd7;return this['url_']=helper[_0xb7fd6a(0x250)](_0x405d14),logger[_0xb7fd6a(0x207)](_0xb7fd6a(0x20d)+this[_0xb7fd6a(0x24d)]),this;}[_0x437cd7(0x25e)](_0x289239){const _0x326747=_0x437cd7;let _0x344a9c={};for(const _0x334683 in _0x289239){switch(_0x334683){case _0x25cb8c[_0x326747(0x22b)]:case _0x25cb8c[_0x326747(0x1fb)]:this[_0x326747(0x229)]&&(_0x344a9c=this['chromeOptions_'][_0x326747(0x255)](this[_0x326747(0x229)][_0x326747(0x1ff)])||{},this[_0x326747(0x229)]['set'](this[_0x326747(0x229)][_0x326747(0x1ff)],helper['mergeDeep'](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x1ee)]:case _0x25cb8c[_0x326747(0x260)]:this[_0x326747(0x24f)]&&(_0x344a9c=this[_0x326747(0x24f)][_0x326747(0x255)](this[_0x326747(0x24f)]['CAPABILITY_KEY'])||{},this[_0x326747(0x24f)][_0x326747(0x216)](this[_0x326747(0x24f)][_0x326747(0x1ff)],helper[_0x326747(0x21b)](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x203)]:case _0x25cb8c['vMqRC']:this[_0x326747(0x256)]&&(_0x344a9c=this[_0x326747(0x256)][_0x326747(0x255)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0x326747(0x256)]['set'](this[_0x326747(0x256)][_0x326747(0x1ff)],helper['mergeDeep'](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x21c)]:this[_0x326747(0x25c)]&&(_0x344a9c=this[_0x326747(0x25c)][_0x326747(0x255)](this[_0x326747(0x25c)][_0x326747(0x1ff)])||{},this[_0x326747(0x25c)]['set'](this[_0x326747(0x25c)]['CAPABILITY_KEY'],helper[_0x326747(0x21b)](_0x344a9c,_0x289239[_0x334683])));break;case _0x25cb8c[_0x326747(0x23c)]:case _0x25cb8c['YXcUF']:this[_0x326747(0x1eb)]&&(_0x344a9c=this[_0x326747(0x1eb)][_0x326747(0x255)](this[_0x326747(0x1eb)]['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x326747(0x216)](this[_0x326747(0x1eb)][_0x326747(0x1ff)],helper[_0x326747(0x21b)](_0x344a9c,_0x289239[_0x334683])));break;}}}[_0x437cd7(0x215)](){const _0x25219b=_0x437cd7,_0x1277f3={'AVZoA':function(_0xbc5fdd,_0x2727d6){return _0x25cb8c['ytgUK'](_0xbc5fdd,_0x2727d6);},'qjPjp':_0x25cb8c[_0x25219b(0x224)]};return logger[_0x25219b(0x207)](_0x25cb8c['smSaV']),this[_0x25219b(0x25e)](_0x405d14[_0x25219b(0x211)]),Object[_0x25219b(0x1e8)](_0x405d14['capability'])[_0x25219b(0x247)](_0x10ca17=>{const _0x143b3e=_0x25219b,_0x5acd4f=this[_0x143b3e(0x1ef)][_0x143b3e(0x255)](_0x10ca17);_0x1277f3[_0x143b3e(0x21e)](typeof _0x5acd4f,_0x1277f3['qjPjp'])?this[_0x143b3e(0x1ef)][_0x143b3e(0x216)](_0x10ca17,helper[_0x143b3e(0x21b)](_0x5acd4f,_0x405d14[_0x143b3e(0x211)][_0x10ca17])):this[_0x143b3e(0x1ef)][_0x143b3e(0x216)](_0x10ca17,_0x405d14[_0x143b3e(0x211)][_0x10ca17]);}),this;}[_0x437cd7(0x21f)](){const _0x39952f=_0x437cd7,_0x2b5532={'CEZxc':function(_0x1d988a,_0x215095,_0x386f14){const _0x357812=a29_0x5019;return _0x25cb8c[_0x357812(0x24c)](_0x1d988a,_0x215095,_0x386f14);}};if(helper[_0x39952f(0x221)]()){const _0x1e719a=_0x25cb8c['sOAyo'][_0x39952f(0x212)]('|');let _0x655c4=0x0;while(!![]){switch(_0x1e719a[_0x655c4++]){case'0':globals[_0x39952f(0x21d)](_0x25cb8c[_0x39952f(0x24b)])&&(!_0x25cb8c[_0x39952f(0x24c)](setExtension,this,_0x405d14)&&globals[_0x39952f(0x246)](_0x25cb8c['kAxmi'],![]));continue;case'1':_0x25cb8c['kDTEu'](isAccessibilityAutomationSession)&&_0x25cb8c[_0x39952f(0x249)](setAccessibilityCapabilities,_0x405d14);continue;case'2':if(helper[_0x39952f(0x201)](_0x405d14[_0x39952f(0x1f0)]['proxyUrl']))this['agent_']=helper[_0x39952f(0x1fa)](_0x405d14[_0x39952f(0x1f0)][_0x39952f(0x20f)]);else _0x405d14[_0x39952f(0x1f0)][_0x39952f(0x20f)]&&(this[_0x39952f(0x20a)]=_0x405d14[_0x39952f(0x1f0)][_0x39952f(0x20f)],logger[_0x39952f(0x207)](_0x39952f(0x25b)+this[_0x39952f(0x20a)]));continue;case'3':this[_0x39952f(0x215)]();continue;case'4':this['setServer']();continue;case'5':logger['debug'](_0x25cb8c['uIlUa']);continue;}break;}}const _0x3fcec9=super[_0x39952f(0x21f)]();return _0x3fcec9[_0x39952f(0x1f8)][_0x39952f(0x254)](_0x127885=>{const _0x21252c=_0x39952f;try{const _0x2971eb=_0x127885[_0x21252c(0x1fd)][_0x21252c(0x255)](_0x25cb8c['uXXOM']);_0x2971eb?(logger[_0x21252c(0x207)](_0x21252c(0x25f)+_0x2971eb),hubAllocator[_0x21252c(0x202)](_0x2971eb),helper[_0x21252c(0x20e)](_0x2971eb)):logger[_0x21252c(0x207)](_0x25cb8c['IcTFG']);}catch(_0x375ca0){logger[_0x21252c(0x207)](_0x21252c(0x1ea)+_0x375ca0);}}),_0x3fcec9[_0x39952f(0x23f)]=0x0,_0x3fcec9['then']&&_0x3fcec9[_0x39952f(0x254)](_0x4bc2ea=>{const _0x5be965=_0x39952f,_0x10cac5=_0x25cb8c[_0x5be965(0x22c)][_0x5be965(0x212)]('|');let _0x4baed2=0x0;while(!![]){switch(_0x10cac5[_0x4baed2++]){case'0':_0x4bc2ea['getAccessibilityResultsSummary']=async()=>{const _0x2cd3fb=_0x5be965;return await _0x2b5532[_0x2cd3fb(0x218)](getAccessibilityResultsSummary,_0x4bc2ea,global);};continue;case'1':helper[_0x5be965(0x22d)](_0x4bc2ea,_0x405d14);continue;case'2':_0x25cb8c[_0x5be965(0x237)](overrideExecute,_0x4bc2ea,_0x405d14);continue;case'3':_0x4bc2ea['getAccessibilityResults']=async()=>{const _0x732d37=_0x5be965;return await _0x2b5532[_0x732d37(0x218)](getAccessibilityResults,_0x4bc2ea,global);};continue;case'4':_0x25cb8c[_0x5be965(0x208)](overrideTakeScreenshot,_0x4bc2ea);continue;case'5':_0x25cb8c['YriNJ'](overrideQuit,_0x4bc2ea,_0x3fcec9);continue;}break;}}),_0x3fcec9[_0x39952f(0x227)]=async()=>{const _0xcf633c=_0x39952f;return await _0x2b5532[_0xcf633c(0x218)](getAccessibilityResultsSummary,_0x3fcec9,global);},_0x3fcec9['getAccessibilityResults']=async()=>{const _0x185060=_0x39952f;return await _0x25cb8c[_0x185060(0x1e9)](getAccessibilityResults,_0x3fcec9,global);},_0x25cb8c['VCIJB'](overrideTakeScreenshot,_0x3fcec9),_0x25cb8c[_0x39952f(0x243)](overrideQuit,_0x3fcec9),helper[_0x39952f(0x22d)](_0x3fcec9,_0x405d14),_0x25cb8c['YriNJ'](overrideExecute,_0x3fcec9,_0x405d14),helper['isUndefined'](global[_0x39952f(0x22e)])&&(global[_0x39952f(0x22e)]=[]),helper[_0x39952f(0x258)](global[_0x39952f(0x223)])&&(global[_0x39952f(0x223)]=[]),global[_0x39952f(0x22e)]['push'](_0x3fcec9),global[_0x39952f(0x20b)]=_0x3fcec9,_0x25cb8c['WlFah'](global['__drivers'],undefined)&&global[_0x39952f(0x223)][_0x39952f(0x239)](_0x3fcec9),_0x5e0ee6&&helper[_0x39952f(0x258)](_0x5e0ee6['global'][_0x39952f(0x22e)])&&(_0x5e0ee6[_0x39952f(0x244)][_0x39952f(0x22e)]=[]),_0x5e0ee6&&_0x25cb8c[_0x39952f(0x25a)](_0x5e0ee6[_0x39952f(0x244)][_0x39952f(0x223)],undefined)&&(_0x5e0ee6[_0x39952f(0x244)][_0x39952f(0x223)]['push'](_0x3fcec9),_0x5e0ee6[_0x39952f(0x244)]['__driversArray']['push'](_0x3fcec9)),_0x3fcec9;}}return _0x4f0095[_0x437cd7(0x232)]=_0x4f0095[_0x437cd7(0x217)],_0x4f0095[_0x437cd7(0x217)]=_0x5a2b14,_0x5a1020[_0x437cd7(0x259)]=_0x218442,_0x4f0095;};module[a29_0x290d8b(0x25d)][a29_0x290d8b(0x226)]=modify;
1
+ function a29_0x488d(){const _0x543350=['updateHubUrl','uNalC','caps_','4966456rmbPUK','CniRY','./helpers/patchHelper','ABfib','quitCount_','owBsh','requireSeleniumWebdriver','getGlobal','ElgFp','517496RijJtH','wJxRu','3cdZwhV','setLogLevel','ahuFH','../../../helpers/helper','238566GlQyZI','newHubUrl','HttpClient','set','ZfjcX','split','https://','KdQIa','../../../bin/utils/constants','then','setServer','storeOptimalHubUrl','requireHttpClient','20gBJrjP','ieOptions_','forEach','proxySettings','XVGVg','/wd/hub','debug','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','proxy_','../accessibility-automation/helper','../../../helpers/logger','capabilities_','../../../helpers/globals','overrideGet','setCapabilities','rSGnQ','XVqXe','__setBrowserOptions','qqWEH','keys','WCXOr','url_','build','isAccessibilityPlatform','olTvl','push','Modifying\x20webdriver\x20builder','New\x20hub\x20url\x20set\x20to\x20','browserStackLogLevel','getAccessibilityResultsSummary','proxyUrl','firefoxOptions_','Proxy\x20set\x20to\x20','winstonLogger','originalBuilder','send','chromeOptions_','edgeOptions_','getAccessibilityResults','CAPABILITY_KEY','XrmpQ','COMAu','uieEE','HkqvI','isBrowserstackInfra','path','__drivers','moz:firefoxOptions','se:ieOptions','Builder','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','AQNUZ','dkfcl','chromeOptions','safari.options','__driversArray','agent_','capability','4605495sTadXO','ms:edgeOptions','error','../../../hubAllocationMethods','92068tolqQu','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getHubUrl','13550274XHPqmA','14592650yZBEyM','info','cjIXO','6gIqcia','4|0|5|2|1|3','options_','Euwgs','exports','firefoxOptions','/session','get','isUndefined','nNDbn','__driver','jrujL','safariOptions_','../../../helpers/accessibility-automation/helper','FDgsq','../../../helpers/patchHelpers','edgeOptions','mergeDeep','BNZWf','global'];a29_0x488d=function(){return _0x543350;};return a29_0x488d();}const a29_0x7bbb15=a29_0x489b;(function(_0x57bb68,_0x3dbd8d){const _0x36d7e6=a29_0x489b,_0x25d3f8=_0x57bb68();while(!![]){try{const _0x36aa86=-parseInt(_0x36d7e6(0x1d0))/0x1*(parseInt(_0x36d7e6(0x1a7))/0x2)+parseInt(_0x36d7e6(0x1d4))/0x3*(-parseInt(_0x36d7e6(0x1e1))/0x4)+-parseInt(_0x36d7e6(0x1a3))/0x5+-parseInt(_0x36d7e6(0x1ae))/0x6*(parseInt(_0x36d7e6(0x1ce))/0x7)+-parseInt(_0x36d7e6(0x1c5))/0x8+parseInt(_0x36d7e6(0x1aa))/0x9+parseInt(_0x36d7e6(0x1ab))/0xa;if(_0x36aa86===_0x3dbd8d)break;else _0x25d3f8['push'](_0x25d3f8['shift']());}catch(_0x39573c){_0x25d3f8['push'](_0x25d3f8['shift']());}}}(a29_0x488d,0xc68f9));function a29_0x489b(_0x2cf142,_0x4b5461){const _0x488db5=a29_0x488d();return a29_0x489b=function(_0x489b4e,_0x2748ed){_0x489b4e=_0x489b4e-0x17f;let _0x109235=_0x488db5[_0x489b4e];return _0x109235;},a29_0x489b(_0x2cf142,_0x4b5461);}const logger=require(a29_0x7bbb15(0x1eb))[a29_0x7bbb15(0x18a)],helper=require(a29_0x7bbb15(0x1d3)),constants=require(a29_0x7bbb15(0x1dc)),hubAllocator=require(a29_0x7bbb15(0x1a6)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x7bbb15(0x1bd)),{setAccessibilityCapabilities,setExtension}=require(a29_0x7bbb15(0x1ea)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x7bbb15(0x1bb)),globals=require(a29_0x7bbb15(0x1ed)),{overrideExecute}=require(a29_0x7bbb15(0x1c7)),modify=(_0x2a6549,_0x1caac6=null,_0x373b64=![])=>{const _0x47f59c=a29_0x7bbb15,_0x5b0002={'uieEE':function(_0x24a90f,_0x150880){return _0x24a90f!==_0x150880;},'hgsDp':_0x47f59c(0x1b4),'kcXPD':function(_0x2b555b,_0x1806a1){return _0x2b555b+_0x1806a1;},'XxYPe':_0x47f59c(0x1da),'COMAu':_0x47f59c(0x1e6),'Ficgi':'goog:chromeOptions','ahuFH':_0x47f59c(0x19e),'ABfib':_0x47f59c(0x1a4),'XVGVg':_0x47f59c(0x1be),'WCXOr':_0x47f59c(0x198),'fCsuo':_0x47f59c(0x1b3),'exmID':_0x47f59c(0x19f),'ElgFp':_0x47f59c(0x199),'qqWEH':'ieOptions','ZfjcX':function(_0x1eeaaa,_0x589f6b){return _0x1eeaaa===_0x589f6b;},'XrmpQ':'object','PNGmM':'Setting\x20Browserstack\x20capabilities','OCiBi':'optimalHubUrl','olTvl':_0x47f59c(0x19b),'AQNUZ':_0x47f59c(0x1af),'HkqvI':function(_0x2c6139,_0x1567bc){return _0x2c6139(_0x1567bc);},'CniRY':function(_0x414d5b,_0x1fabc9,_0x365656){return _0x414d5b(_0x1fabc9,_0x365656);},'wJxRu':function(_0x15176c,_0x1fd891,_0x358d44){return _0x15176c(_0x1fd891,_0x358d44);},'uNalC':'1|0|3|5|2|4','OmgyT':function(_0xf097dd){return _0xf097dd();},'rSGnQ':_0x47f59c(0x180),'cjIXO':function(_0x508497,_0x5420a4,_0x41523e){return _0x508497(_0x5420a4,_0x41523e);},'Euwgs':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','owBsh':function(_0x4ed7dc,_0x1b3686){return _0x4ed7dc(_0x1b3686);},'jzahR':function(_0x5244e2,_0x296690,_0x59f6a8){return _0x5244e2(_0x296690,_0x59f6a8);},'BNZWf':function(_0x38b822,_0x5e992c){return _0x38b822!==_0x5e992c;},'dkfcl':function(_0x249e2b,_0x2fb9c3){return _0x249e2b!==_0x2fb9c3;},'XVqXe':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','jrujL':_0x47f59c(0x183)},_0x2368ea=helper[_0x47f59c(0x1e0)]();let _0x2e01af;try{_0x2e01af=helper[_0x47f59c(0x1cb)](),_0x2e01af['originalBuilder']&&(_0x2e01af['Builder']=_0x2e01af[_0x47f59c(0x18b)]);}catch(_0x3c72b6){return;}if(helper[_0x47f59c(0x195)]()){const _0x49ee41={};_0x49ee41['logLevel']=_0x2a6549[_0x47f59c(0x185)],helper[_0x47f59c(0x1d1)](_0x49ee41,new Map(),new Map()),logger[_0x47f59c(0x1ac)](_0x5b0002[_0x47f59c(0x1f1)]),logger['debug'](_0x5b0002[_0x47f59c(0x1b9)]);}class _0x1c1dcf extends _0x2368ea[_0x47f59c(0x1d6)]{[_0x47f59c(0x18c)](_0xdb467a){const _0x50aca7=_0x47f59c;if(_0x5b0002[_0x50aca7(0x193)](_0xdb467a[_0x50aca7(0x196)],_0x5b0002['hgsDp'])&&_0x5b0002[_0x50aca7(0x193)](global[_0x50aca7(0x1d5)],''))try{global[_0x50aca7(0x1d5)]=_0x5b0002['kcXPD'](_0x5b0002['kcXPD'](_0x5b0002['XxYPe'],global[_0x50aca7(0x1d5)]),_0x5b0002[_0x50aca7(0x192)]),this[_0x50aca7(0x1b0)]=hubAllocator['getRequestOptions'](global[_0x50aca7(0x1d5)]),logger[_0x50aca7(0x1e7)](_0x50aca7(0x184)+global['newHubUrl']),global[_0x50aca7(0x1d5)]='';}catch(_0xe9bfc2){logger[_0x50aca7(0x1a5)](_0xe9bfc2);}return super['send'](_0xdb467a);}}class _0x9713ea extends _0x2e01af[_0x47f59c(0x19a)]{[_0x47f59c(0x1de)](){const _0x42a593=_0x47f59c;return this[_0x42a593(0x1f6)]=helper[_0x42a593(0x1a9)](_0x2a6549),logger[_0x42a593(0x1e7)]('Hub\x20url\x20set\x20to\x20'+this[_0x42a593(0x1f6)]),this;}[_0x47f59c(0x1f2)](_0x28639e){const _0xf98687=_0x47f59c;let _0x48cf02={};for(const _0x2f9e37 in _0x28639e){switch(_0x2f9e37){case _0x5b0002['Ficgi']:case _0x5b0002[_0xf98687(0x1d2)]:this[_0xf98687(0x18d)]&&(_0x48cf02=this[_0xf98687(0x18d)]['get'](this[_0xf98687(0x18d)][_0xf98687(0x190)])||{},this[_0xf98687(0x18d)][_0xf98687(0x1d7)](this['chromeOptions_'][_0xf98687(0x190)],helper['mergeDeep'](_0x48cf02,_0x28639e[_0x2f9e37])));break;case _0x5b0002[_0xf98687(0x1c8)]:case _0x5b0002[_0xf98687(0x1e5)]:this[_0xf98687(0x18e)]&&(_0x48cf02=this[_0xf98687(0x18e)][_0xf98687(0x1b5)](this[_0xf98687(0x18e)]['CAPABILITY_KEY'])||{},this[_0xf98687(0x18e)][_0xf98687(0x1d7)](this[_0xf98687(0x18e)][_0xf98687(0x190)],helper[_0xf98687(0x1bf)](_0x48cf02,_0x28639e[_0x2f9e37])));break;case _0x5b0002[_0xf98687(0x1f5)]:case _0x5b0002['fCsuo']:this[_0xf98687(0x188)]&&(_0x48cf02=this[_0xf98687(0x188)]['get'](this[_0xf98687(0x188)]['CAPABILITY_KEY'])||{},this[_0xf98687(0x188)][_0xf98687(0x1d7)](this[_0xf98687(0x188)]['CAPABILITY_KEY'],helper[_0xf98687(0x1bf)](_0x48cf02,_0x28639e[_0x2f9e37])));break;case _0x5b0002['exmID']:this[_0xf98687(0x1ba)]&&(_0x48cf02=this[_0xf98687(0x1ba)][_0xf98687(0x1b5)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0xf98687(0x1ba)]['set'](this[_0xf98687(0x1ba)][_0xf98687(0x190)],helper['mergeDeep'](_0x48cf02,_0x28639e[_0x2f9e37])));break;case _0x5b0002[_0xf98687(0x1cd)]:case _0x5b0002[_0xf98687(0x1f3)]:this[_0xf98687(0x1e2)]&&(_0x48cf02=this[_0xf98687(0x1e2)]['get'](this[_0xf98687(0x1e2)]['CAPABILITY_KEY'])||{},this['ieOptions_']['set'](this[_0xf98687(0x1e2)][_0xf98687(0x190)],helper[_0xf98687(0x1bf)](_0x48cf02,_0x28639e[_0x2f9e37])));break;}}}[_0x47f59c(0x1ef)](){const _0x10b989=_0x47f59c;return logger['debug'](_0x5b0002['PNGmM']),this[_0x10b989(0x1f2)](_0x2a6549[_0x10b989(0x1a2)]),Object[_0x10b989(0x1f4)](_0x2a6549['capability'])[_0x10b989(0x1e3)](_0x34c6f7=>{const _0x5dd983=_0x10b989,_0x104573=this[_0x5dd983(0x1ec)][_0x5dd983(0x1b5)](_0x34c6f7);_0x5b0002[_0x5dd983(0x1d8)](typeof _0x104573,_0x5b0002[_0x5dd983(0x191)])?this[_0x5dd983(0x1ec)][_0x5dd983(0x1d7)](_0x34c6f7,helper['mergeDeep'](_0x104573,_0x2a6549['capability'][_0x34c6f7])):this[_0x5dd983(0x1ec)][_0x5dd983(0x1d7)](_0x34c6f7,_0x2a6549[_0x5dd983(0x1a2)][_0x34c6f7]);}),this;}[_0x47f59c(0x17f)](){const _0x2e6d15=_0x47f59c,_0x656c5c={'FDgsq':function(_0x18f52f,_0x179082,_0x2e5bf4){const _0x27fb51=a29_0x489b;return _0x5b0002[_0x27fb51(0x1c6)](_0x18f52f,_0x179082,_0x2e5bf4);},'KdQIa':function(_0x173fa8,_0x46dab7,_0x38d429){const _0x3989fe=a29_0x489b;return _0x5b0002[_0x3989fe(0x1c6)](_0x173fa8,_0x46dab7,_0x38d429);},'nNDbn':function(_0x221d68,_0x13711f,_0x51fbeb){const _0xe94a24=a29_0x489b;return _0x5b0002[_0xe94a24(0x1cf)](_0x221d68,_0x13711f,_0x51fbeb);}};if(helper[_0x2e6d15(0x195)]()){const _0x574ee8=_0x5b0002[_0x2e6d15(0x1c3)][_0x2e6d15(0x1d9)]('|');let _0x7db03e=0x0;while(!![]){switch(_0x574ee8[_0x7db03e++]){case'0':this[_0x2e6d15(0x1de)]();continue;case'1':_0x5b0002['OmgyT'](isAccessibilityAutomationSession)&&_0x5b0002[_0x2e6d15(0x194)](setAccessibilityCapabilities,_0x2a6549);continue;case'2':globals[_0x2e6d15(0x1cc)](_0x5b0002[_0x2e6d15(0x1f0)])&&(!_0x5b0002[_0x2e6d15(0x1ad)](setExtension,this,_0x2a6549)&&globals['setGlobal'](_0x5b0002[_0x2e6d15(0x1f0)],![]));continue;case'3':this[_0x2e6d15(0x1ef)]();continue;case'4':logger[_0x2e6d15(0x1e7)](_0x5b0002[_0x2e6d15(0x1b1)]);continue;case'5':if(helper['isPacProxy'](_0x2a6549[_0x2e6d15(0x1e4)][_0x2e6d15(0x187)]))this[_0x2e6d15(0x1a1)]=helper['getHttpAgent'](_0x2a6549[_0x2e6d15(0x1e4)][_0x2e6d15(0x187)]);else _0x2a6549['proxySettings'][_0x2e6d15(0x187)]&&(this[_0x2e6d15(0x1e9)]=_0x2a6549[_0x2e6d15(0x1e4)][_0x2e6d15(0x187)],logger[_0x2e6d15(0x1e7)](_0x2e6d15(0x189)+this[_0x2e6d15(0x1e9)]));continue;}break;}}const _0x525e3e=super[_0x2e6d15(0x17f)]();return _0x525e3e['session_'][_0x2e6d15(0x1dd)](_0x247dcd=>{const _0x53f692=_0x2e6d15;try{const _0x449fdd=_0x247dcd[_0x53f692(0x1c4)][_0x53f692(0x1b5)](_0x5b0002['OCiBi']);_0x449fdd?(logger[_0x53f692(0x1e7)](_0x53f692(0x1e8)+_0x449fdd),hubAllocator[_0x53f692(0x1c2)](_0x449fdd),helper[_0x53f692(0x1df)](_0x449fdd)):logger[_0x53f692(0x1e7)](_0x5b0002[_0x53f692(0x181)]);}catch(_0xaaa015){logger[_0x53f692(0x1e7)](_0x53f692(0x1a8)+_0xaaa015);}}),_0x525e3e[_0x2e6d15(0x1c9)]=0x0,_0x525e3e[_0x2e6d15(0x1dd)]&&_0x525e3e[_0x2e6d15(0x1dd)](_0x201669=>{const _0x22bf09=_0x2e6d15,_0x14cbb7=_0x5b0002[_0x22bf09(0x19c)][_0x22bf09(0x1d9)]('|');let _0x73fe0f=0x0;while(!![]){switch(_0x14cbb7[_0x73fe0f++]){case'0':_0x5b0002[_0x22bf09(0x194)](overrideTakeScreenshot,_0x201669);continue;case'1':_0x201669[_0x22bf09(0x186)]=async()=>{const _0x147a29=_0x22bf09;return await _0x656c5c[_0x147a29(0x1bc)](getAccessibilityResultsSummary,_0x201669,global);};continue;case'2':_0x5b0002[_0x22bf09(0x1c6)](overrideExecute,_0x201669,_0x2a6549);continue;case'3':_0x201669[_0x22bf09(0x18f)]=async()=>{const _0x2613a6=_0x22bf09;return await _0x656c5c[_0x2613a6(0x1db)](getAccessibilityResults,_0x201669,global);};continue;case'4':_0x5b0002[_0x22bf09(0x1c6)](overrideQuit,_0x201669,_0x525e3e);continue;case'5':helper[_0x22bf09(0x1ee)](_0x201669,_0x2a6549);continue;}break;}}),_0x525e3e['getAccessibilityResultsSummary']=async()=>{const _0x572ce1=_0x2e6d15;return await _0x656c5c[_0x572ce1(0x1b7)](getAccessibilityResultsSummary,_0x525e3e,global);},_0x525e3e[_0x2e6d15(0x18f)]=async()=>{return await _0x5b0002['CniRY'](getAccessibilityResults,_0x525e3e,global);},_0x5b0002[_0x2e6d15(0x1ca)](overrideTakeScreenshot,_0x525e3e),_0x5b0002[_0x2e6d15(0x194)](overrideQuit,_0x525e3e),helper[_0x2e6d15(0x1ee)](_0x525e3e,_0x2a6549),_0x5b0002['jzahR'](overrideExecute,_0x525e3e,_0x2a6549),helper[_0x2e6d15(0x1b6)](global[_0x2e6d15(0x1a0)])&&(global[_0x2e6d15(0x1a0)]=[]),helper[_0x2e6d15(0x1b6)](global['__drivers'])&&(global[_0x2e6d15(0x197)]=[]),global[_0x2e6d15(0x1a0)][_0x2e6d15(0x182)](_0x525e3e),global[_0x2e6d15(0x1b8)]=_0x525e3e,_0x5b0002[_0x2e6d15(0x1c0)](global[_0x2e6d15(0x197)],undefined)&&global['__drivers'][_0x2e6d15(0x182)](_0x525e3e),_0x1caac6&&helper[_0x2e6d15(0x1b6)](_0x1caac6[_0x2e6d15(0x1c1)]['__driversArray'])&&(_0x1caac6[_0x2e6d15(0x1c1)]['__driversArray']=[]),_0x1caac6&&_0x5b0002[_0x2e6d15(0x19d)](_0x1caac6[_0x2e6d15(0x1c1)][_0x2e6d15(0x197)],undefined)&&(_0x1caac6[_0x2e6d15(0x1c1)][_0x2e6d15(0x197)][_0x2e6d15(0x182)](_0x525e3e),_0x1caac6[_0x2e6d15(0x1c1)][_0x2e6d15(0x1a0)][_0x2e6d15(0x182)](_0x525e3e)),_0x525e3e;}}return _0x2e01af[_0x47f59c(0x18b)]=_0x2e01af['Builder'],_0x2e01af[_0x47f59c(0x19a)]=_0x9713ea,_0x2368ea[_0x47f59c(0x1d6)]=_0x1c1dcf,_0x2e01af;};module[a29_0x7bbb15(0x1b2)]['browserstackAgentObservability']=modify;
@@ -1 +1 @@
1
- function a30_0x5965(_0x10ba93,_0x54958a){const _0x153124=a30_0x1531();return a30_0x5965=function(_0x5965cf,_0x21842e){_0x5965cf=_0x5965cf-0xf6;let _0x131164=_0x153124[_0x5965cf];return _0x131164;},a30_0x5965(_0x10ba93,_0x54958a);}const a30_0x19e908=a30_0x5965;(function(_0x26960e,_0x28f918){const _0x41b3a5=a30_0x5965,_0xa6dcb=_0x26960e();while(!![]){try{const _0x2f1c94=-parseInt(_0x41b3a5(0xfb))/0x1*(-parseInt(_0x41b3a5(0xfa))/0x2)+-parseInt(_0x41b3a5(0xfd))/0x3+parseInt(_0x41b3a5(0xfe))/0x4+-parseInt(_0x41b3a5(0xf6))/0x5*(-parseInt(_0x41b3a5(0x103))/0x6)+parseInt(_0x41b3a5(0xff))/0x7*(parseInt(_0x41b3a5(0x100))/0x8)+parseInt(_0x41b3a5(0xf9))/0x9+-parseInt(_0x41b3a5(0x101))/0xa;if(_0x2f1c94===_0x28f918)break;else _0xa6dcb['push'](_0xa6dcb['shift']());}catch(_0x203280){_0xa6dcb['push'](_0xa6dcb['shift']());}}}(a30_0x1531,0x4d5d9));const requestSpy=require(a30_0x19e908(0xf8)),constants=require(a30_0x19e908(0xf7)),{addRequestSpy}=require(a30_0x19e908(0xfc));function a30_0x1531(){const _0x12c37a=['4166582mnsQyn','8IPXnjZ','16439780tMffeE','timeout','2388486FuUhyB','5QbnPED','../../../bin/utils/constants','../../../helpers/request-spy','2028222MVgoKQ','5376SBRTaT','178FxOKjm','../../../helpers/test-observability/utils','90711qsMomA','1175900qpDNio'];a30_0x1531=function(){return _0x12c37a;};return a30_0x1531();}exports['mochaHooks']={'beforeAll'(){const _0xe5c7c2={'IEYmH':function(_0x3f4ca3){return _0x3f4ca3();}},_0x1770c8='browserstack internal helper hook';_0xe5c7c2['IEYmH'](addRequestSpy);},'afterAll'(){const _0x2345f4=a30_0x19e908,_0x530ffa='browserstack internal helper hook';this[_0x2345f4(0x102)](0xea60),requestSpy['restore']();}};
1
+ const a30_0xf5afa=a30_0x3f48;(function(_0x59c814,_0x2e2410){const _0x204fc4=a30_0x3f48,_0x359e44=_0x59c814();while(!![]){try{const _0x592fb4=-parseInt(_0x204fc4(0x1f9))/0x1+parseInt(_0x204fc4(0x1f7))/0x2*(-parseInt(_0x204fc4(0x1ed))/0x3)+-parseInt(_0x204fc4(0x1f6))/0x4*(-parseInt(_0x204fc4(0x1f4))/0x5)+-parseInt(_0x204fc4(0x1ee))/0x6+parseInt(_0x204fc4(0x1f5))/0x7+parseInt(_0x204fc4(0x1ec))/0x8+parseInt(_0x204fc4(0x1f1))/0x9*(parseInt(_0x204fc4(0x1f0))/0xa);if(_0x592fb4===_0x2e2410)break;else _0x359e44['push'](_0x359e44['shift']());}catch(_0x1d56fb){_0x359e44['push'](_0x359e44['shift']());}}}(a30_0x165a,0xaad43));function a30_0x3f48(_0x530bc9,_0x2659cc){const _0x165af2=a30_0x165a();return a30_0x3f48=function(_0x3f48b2,_0x4bb459){_0x3f48b2=_0x3f48b2-0x1ea;let _0xa5f27=_0x165af2[_0x3f48b2];return _0xa5f27;},a30_0x3f48(_0x530bc9,_0x2659cc);}function a30_0x165a(){const _0x5ab5ae=['4827774ZUFCEJ','2864104EVQlVR','636fCJzQx','yeQUu','766094FDTNgX','../../../bin/utils/constants','mochaHooks','1736968GPTznm','273tKfhnb','1357980lEBUPa','../../../helpers/test-observability/utils','10njeLwX','884232mtCBOW','../../../helpers/request-spy','timeout','5WEHaoY'];a30_0x165a=function(){return _0x5ab5ae;};return a30_0x165a();}const requestSpy=require(a30_0xf5afa(0x1f2)),constants=require(a30_0xf5afa(0x1ea)),{addRequestSpy}=require(a30_0xf5afa(0x1ef));exports[a30_0xf5afa(0x1eb)]={'beforeAll'(){const _0x4bd37b=a30_0xf5afa,_0x5153e6={'yeQUu':function(_0x2ae489){return _0x2ae489();}},_0x26c206='browserstack internal helper hook';_0x5153e6[_0x4bd37b(0x1f8)](addRequestSpy);},'afterAll'(){const _0x3e9241=a30_0xf5afa,_0x6e0059='browserstack internal helper hook';this[_0x3e9241(0x1f3)](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- const a31_0x3e3005=a31_0x2349;(function(_0x36e115,_0x39ce34){const _0xc56a72=a31_0x2349,_0x39c196=_0x36e115();while(!![]){try{const _0x5474d4=parseInt(_0xc56a72(0xfb))/0x1+-parseInt(_0xc56a72(0xd3))/0x2+-parseInt(_0xc56a72(0x112))/0x3*(-parseInt(_0xc56a72(0x108))/0x4)+-parseInt(_0xc56a72(0xf0))/0x5*(parseInt(_0xc56a72(0xe9))/0x6)+-parseInt(_0xc56a72(0xf6))/0x7*(parseInt(_0xc56a72(0xda))/0x8)+-parseInt(_0xc56a72(0xd1))/0x9*(-parseInt(_0xc56a72(0xe3))/0xa)+-parseInt(_0xc56a72(0xeb))/0xb*(-parseInt(_0xc56a72(0xfd))/0xc);if(_0x5474d4===_0x39ce34)break;else _0x39c196['push'](_0x39c196['shift']());}catch(_0x2d8cf8){_0x39c196['push'](_0x39c196['shift']());}}}(a31_0x3534,0x75c2d));function a31_0x2349(_0x3098b2,_0x50a6ca){const _0x353480=a31_0x3534();return a31_0x2349=function(_0x2349e4,_0x26392b){_0x2349e4=_0x2349e4-0xc6;let _0x523796=_0x353480[_0x2349e4];return _0x523796;},a31_0x2349(_0x3098b2,_0x50a6ca);}const {v4:uuidv4}=require(a31_0x3e3005(0xde)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x3e3005(0xc8)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x3e3005(0xec)),{consoleHolder}=require(a31_0x3e3005(0xc7)),{getPlatformVersion}=require(a31_0x3e3005(0xd4)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a31_0x3e3005(0xe7)),{patchConsoleLogger}=require(a31_0x3e3005(0xec));function a31_0x3534(){const _0x1c8543=['1665592TlXxeC','../../../helpers/helper','fCnFH','fwBlS','slice','kxAuU','state','6733432iAtWxL','getHooksForTest','indexOf','fromEntries','uuid','map_','mapTestHooks','VIdGj','reduce','848830WuRdRi','hookAnalyticsId','unknown_grid','bkFda','lodash','getBrowserVersion','569682FAVmdi','parent','141086DbgASV','../../../helpers/test-observability/utils','KilAU','split','Isvoe','15uANzEZ','sendPlatformDetails','forEach','__cloud_provider___','_beforeAll','qTdDP','7SRGjBb','oJBJV','VOCHA','getCapabilities','toISOString','799122FIncbp','getHookSkippedTests','264AMICXl','getSession','pJXDp','TEST_PLATFORM','eOaNL','ZXkyr','MyWkL','OLzfg','tests','pIjoB','filter','1468TVUMzr','_afterAll','tCTOQ','concat','suites','emit','CdQxA','ttGdf','_afterEach','markedStatus','6957tulNYq','TGtqV','hook:','getPlatform','hook','_beforeEach','../../../helpers/test-observability/constants','../../utils/logPatcher','passed','yrbzx','naQif','pending','IXoRr','BlZLy','bAkHF','getHookDetails','54ivYlEo','string'];a31_0x3534=function(){return _0x1c8543;};return a31_0x3534();}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x564d9a=a31_0x3e3005,_0x5c0a54={'OLzfg':'generic','kxAuU':function(_0x29319d){return _0x29319d();}};return{'ci':_0x5c0a54[_0x564d9a(0x104)],'key':_0x5c0a54[_0x564d9a(0xd8)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x3e3005(0xd0)]=_0x3cb6cb=>{const _0x3f5db1=a31_0x3e3005,_0x2a8731={};_0x2a8731[_0x3f5db1(0xef)]=function(_0x2551c7,_0x24401f){return _0x2551c7!==_0x24401f;},_0x2a8731[_0x3f5db1(0x106)]=_0x3f5db1(0xd2),_0x2a8731[_0x3f5db1(0xca)]=function(_0x4c0e56,_0x27cb30){return _0x4c0e56!==_0x27cb30;},_0x2a8731[_0x3f5db1(0xd6)]=_0x3f5db1(0x114),_0x2a8731[_0x3f5db1(0x113)]=function(_0x2aae9f,_0x4e2a00){return _0x2aae9f!==_0x4e2a00;},_0x2a8731['VOCHA']=_0x3f5db1(0x116);const _0x1b3227=_0x2a8731;if(!_0x3cb6cb||_0x1b3227['Isvoe'](typeof _0x3cb6cb,_0x1b3227[_0x3f5db1(0x106)]))return[null,null];if(_0x1b3227[_0x3f5db1(0xca)](_0x3cb6cb[_0x3f5db1(0xdc)](_0x1b3227[_0x3f5db1(0xd6)]),-0x1)){const _0x457d05=_0x3cb6cb['split'](_0x1b3227['fwBlS']);return[_0x457d05[0x0]['slice'](0x0,-0x1)[_0x3f5db1(0xee)]('\x22')[0x1],_0x457d05[0x1]['substring'](0x1)];}else{if(_0x1b3227[_0x3f5db1(0x113)](_0x3cb6cb[_0x3f5db1(0xdc)](_0x1b3227[_0x3f5db1(0xf8)]),-0x1)){const _0x4e8cad=_0x3cb6cb[_0x3f5db1(0xee)](_0x1b3227[_0x3f5db1(0xf8)]);return[_0x4e8cad[0x0][_0x3f5db1(0xd7)](0x0,-0x1)[_0x3f5db1(0xee)]('\x22')[0x1],_0x3cb6cb];}}return[null,null];},exports[a31_0x3e3005(0xdb)]=_0x51dd3a=>{const _0xee7417=a31_0x3e3005,_0x4b9a1a={'FpTvv':function(_0x512162,_0x433e97){return _0x512162(_0x433e97);},'CdQxA':'_beforeAll','ZXkyr':_0xee7417(0x109),'qTdDP':_0xee7417(0xc6),'MyWkL':'_afterEach'};if(!_0x51dd3a||!_0x51dd3a['parent'])return[];const _0x54bcf7=[];return[_0x4b9a1a[_0xee7417(0x10e)],_0x4b9a1a[_0xee7417(0x102)],_0x4b9a1a[_0xee7417(0xf5)],_0x4b9a1a[_0xee7417(0x103)]][_0xee7417(0xf2)](_0x518c88=>{const _0x502e68=_0xee7417,_0x2077e9=_0x51dd3a[_0x502e68(0xea)][_0x518c88]||[];_0x2077e9[_0x502e68(0xf2)](_0x14c745=>{_0x14c745['hookAnalyticsId']&&!_0x4b9a1a['FpTvv'](isInternalHook,_0x14c745['fn'])&&_0x54bcf7['push'](_0x14c745['hookAnalyticsId']);});}),[..._0x54bcf7,...exports[_0xee7417(0xdb)](_0x51dd3a['parent'])];},exports[a31_0x3e3005(0xe0)]=_0x1ec763=>{const _0x30684e=a31_0x3e3005,_0x5c0baf={'VIdGj':function(_0x2acdd9){return _0x2acdd9();},'YjNjD':function(_0x32de91,_0x4d818b){return _0x32de91===_0x4d818b;},'BlZLy':_0x30684e(0x110),'naQif':function(_0x1952ed){return _0x1952ed();},'bWyyC':_0x30684e(0xf4),'DnSDo':_0x30684e(0x109),'bkFda':_0x30684e(0xc6)};if(!_0x1ec763||!_0x1ec763[_0x30684e(0xea)])return;[_0x5c0baf['bWyyC'],_0x5c0baf['DnSDo'],_0x5c0baf[_0x30684e(0xe6)],_0x5c0baf['BlZLy']][_0x30684e(0xf2)](_0x232716=>{const _0x2f86d1=_0x30684e,_0x3e838f={'QOyhW':function(_0x47059a){const _0x465b0d=a31_0x2349;return _0x5c0baf[_0x465b0d(0xe1)](_0x47059a);},'bAkHF':function(_0x4c6dc2,_0x38587a){return _0x5c0baf['YjNjD'](_0x4c6dc2,_0x38587a);},'AKjtT':_0x5c0baf[_0x2f86d1(0xce)],'emQAX':function(_0x889d2b){const _0x522d63=_0x2f86d1;return _0x5c0baf[_0x522d63(0xcb)](_0x889d2b);}},_0x4d44b1=_0x1ec763['parent'][_0x232716]||[];_0x4d44b1[_0x2f86d1(0xf2)](_0x469e77=>{const _0x19a791=_0x2f86d1;if(!_0x469e77['hookAnalyticsId'])_0x469e77[_0x19a791(0xe4)]=_0x3e838f['QOyhW'](uuidv4);else _0x469e77[_0x19a791(0x111)]&&_0x3e838f[_0x19a791(0xcf)](_0x232716,_0x3e838f['AKjtT'])&&(_0x469e77[_0x19a791(0xe4)]=_0x3e838f['emQAX'](uuidv4),delete _0x469e77[_0x19a791(0x111)]);});}),exports[_0x30684e(0xe0)](_0x1ec763[_0x30684e(0xea)]);},exports[a31_0x3e3005(0xf1)]=async(_0x3d439d,_0x446ae0)=>{const _0x44e430=a31_0x3e3005,_0x10fbb4={'tCTOQ':function(_0x114a13){return _0x114a13();},'rwEyf':function(_0x40d4b7,_0x3a3fa8){return _0x40d4b7(_0x3a3fa8);},'UFUZF':function(_0x4cf988,_0x6e7899){return _0x4cf988===_0x6e7899;},'IXoRr':'browserstack','qXLkS':_0x44e430(0xe5),'KilAU':_0x44e430(0x100),'pJXDp':function(_0xab0414,_0x22b0c7){return _0xab0414(_0x22b0c7);}};try{if(!_0x10fbb4[_0x44e430(0x10a)](shouldProcessEventForTesthub))return;const _0x4aa81b=await _0x3d439d[_0x44e430(0xf9)](),_0x4995aa=await _0x3d439d[_0x44e430(0xfe)](),_0xb59094={},_0x598cac=Object[_0x44e430(0xdd)](_0x4995aa[_0x44e430(0xf9)]()[_0x44e430(0xdf)]),_0x2b6944={'product':_0x10fbb4['rwEyf'](getObservabilityLinkedProductName,_0x598cac),'capabilities':_0x598cac,'platform':_0x4aa81b[_0x44e430(0x115)](),'platform_version':_0x10fbb4['rwEyf'](getPlatformVersion,_0x10fbb4['UFUZF'](global[_0x44e430(0xf3)],_0x10fbb4[_0x44e430(0xcd)])),'browser':_0x4aa81b['getBrowserName'](),'browser_version':_0x4aa81b[_0x44e430(0xe8)](),'session_id':_0x4995aa['toJSON']()};global[_0x44e430(0xf3)]?_0xb59094[global['__cloud_provider___']]=_0x2b6944:_0xb59094[_0x10fbb4['qXLkS']]=_0x2b6944,process[_0x44e430(0x10d)]('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()[_0x44e430(0xfa)](),'level':null,'message':null,'kind':_0x10fbb4[_0x44e430(0xed)],'http_response':_0xb59094,'uuid':_0x446ae0});}catch(_0x258f3c){_0x10fbb4[_0x44e430(0xff)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x258f3c);}},exports[a31_0x3e3005(0xfc)]=_0x129e56=>{const _0x31443f=a31_0x3e3005,_0x2608e8={};_0x2608e8[_0x31443f(0x10f)]=function(_0x2bdb51,_0x2e1f3d){return _0x2bdb51!==_0x2e1f3d;},_0x2608e8[_0x31443f(0x101)]=_0x31443f(0x116),_0x2608e8['fCnFH']=_0x31443f(0xc9),_0x2608e8[_0x31443f(0xf7)]='failed';const _0x14b3b8=_0x2608e8,_0x3063a9=_0x129e56[_0x31443f(0x10c)][_0x31443f(0xe2)]((_0x33f19d,_0x3e6eaa)=>{const _0x1391cc=_0x31443f,_0x1cb1ee=exports[_0x1391cc(0xfc)](_0x3e6eaa);return _0x1cb1ee&&(_0x33f19d=_0x33f19d[_0x1391cc(0x10b)](_0x1cb1ee)),_0x33f19d;},[]),_0x2fcff2=_0x129e56[_0x31443f(0x105)][_0x31443f(0x107)](_0x400eea=>{const _0x2f432a=_0x31443f,_0x2c9796=_0x14b3b8[_0x2f432a(0x10f)](_0x400eea['type'],_0x14b3b8['eOaNL'])&&!_0x400eea[_0x2f432a(0x111)]&&_0x14b3b8['ttGdf'](_0x400eea[_0x2f432a(0xd9)],_0x14b3b8[_0x2f432a(0xd5)])&&_0x14b3b8[_0x2f432a(0x10f)](_0x400eea[_0x2f432a(0xd9)],_0x14b3b8[_0x2f432a(0xf7)])&&!_0x400eea[_0x2f432a(0xcc)];return _0x2c9796;});return _0x2fcff2[_0x31443f(0x10b)](_0x3063a9);};
1
+ const a31_0x144b8d=a31_0x1412;function a31_0x37d8(){const _0x394313=['substring','sendPlatformDetails','../../utils/logPatcher','hook:','passed','YPKGs','MFmjG','getBrowserVersion','getHookSkippedTests','vyFfB','3711120lcRvWM','uuid','TEST_PLATFORM','_afterEach','3dazuZm','getPlatform','../../../helpers/test-observability/constants','IRQre','_afterAll','hook','CyQhL','slice','unknown_grid','9181lJVhlb','TBvKy','52wMgElk','pid','../../../../package.json','fNXny','parent','uYvMY','toJSON','hookAnalyticsId','QXdeU','gvyCV','iWwSB','YjwIj','map_','type','__cloud_provider___','SjdgG','kYuvc','WzjpE','QBnOs','../../../helpers/testhub/utils','662768UJBSoW','string','getHooksForTest','suites','DsWLz','Vybyg','concat','js-','BzXYF','6286422NqcUVe','indexOf','AWSEN','split','getCapabilities','bs:addPlatformDetails:','OGKMf','forEach','generic','eWYpG','LyaVi','33193974LYTZhM','2670tikoeV','fromEntries','UFoxF','xJaqn','lodash','pending','xFOpN','state','toISOString','markedStatus','emit','../../../helpers/helper','mapTestHooks','_beforeEach','reduce','CqDtK','../../../helpers/test-observability/utils','5DdQKpq','getHookDetails','lhJjc','IsuSI','4236024EPPLPh','tests','7587TCVVIa','iVtnu','browserstack','getSession'];a31_0x37d8=function(){return _0x394313;};return a31_0x37d8();}(function(_0x7f33d0,_0x3e3a98){const _0x17f5e3=a31_0x1412,_0x5e9905=_0x7f33d0();while(!![]){try{const _0x27d0c5=-parseInt(_0x17f5e3(0xc8))/0x1*(-parseInt(_0x17f5e3(0xca))/0x2)+parseInt(_0x17f5e3(0x11c))/0x3*(-parseInt(_0x17f5e3(0xde))/0x4)+parseInt(_0x17f5e3(0x104))/0x5*(-parseInt(_0x17f5e3(0xe7))/0x6)+-parseInt(_0x17f5e3(0x118))/0x7+-parseInt(_0x17f5e3(0x108))/0x8+parseInt(_0x17f5e3(0x10a))/0x9*(-parseInt(_0x17f5e3(0xf3))/0xa)+parseInt(_0x17f5e3(0xf2))/0xb;if(_0x27d0c5===_0x3e3a98)break;else _0x5e9905['push'](_0x5e9905['shift']());}catch(_0x196f0a){_0x5e9905['push'](_0x5e9905['shift']());}}}(a31_0x37d8,0xb9197));function a31_0x1412(_0x5cf2d7,_0x4a9b7c){const _0x37d89d=a31_0x37d8();return a31_0x1412=function(_0x1412b8,_0x6e451e){_0x1412b8=_0x1412b8-0xc2;let _0x1b580c=_0x37d89d[_0x1412b8];return _0x1b580c;},a31_0x1412(_0x5cf2d7,_0x4a9b7c);}const {v4:uuidv4}=require(a31_0x144b8d(0x119)),{name,version}=require(a31_0x144b8d(0xcc)),logPatcher=require(a31_0x144b8d(0x110)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x144b8d(0x103)),{consoleHolder}=require(a31_0x144b8d(0x11e)),{getPlatformVersion}=require(a31_0x144b8d(0xfe)),{shouldProcessEventForTesthub}=require(a31_0x144b8d(0xdd)),{isFunction}=require(a31_0x144b8d(0xf7)),{patchConsoleLogger}=require(a31_0x144b8d(0x103));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x4446a9=a31_0x144b8d,_0x2b2915={'iWwSB':_0x4446a9(0xef),'SjdgG':function(_0x1d7621){return _0x1d7621();}};return{'ci':_0x2b2915[_0x4446a9(0xd4)],'key':_0x2b2915[_0x4446a9(0xd9)](uuidv4),'version':version,'collector':_0x4446a9(0xe5)+name};},exports[a31_0x144b8d(0x105)]=_0x3461e8=>{const _0x589a77=a31_0x144b8d,_0x50e7a0={};_0x50e7a0[_0x589a77(0xf9)]=function(_0x1fd1a5,_0x32f172){return _0x1fd1a5!==_0x32f172;},_0x50e7a0[_0x589a77(0x117)]=_0x589a77(0xdf),_0x50e7a0[_0x589a77(0x107)]=_0x589a77(0x111),_0x50e7a0['CyQhL']=_0x589a77(0xc4);const _0x1516ef=_0x50e7a0;if(!_0x3461e8||_0x1516ef['xFOpN'](typeof _0x3461e8,_0x1516ef['vyFfB']))return[null,null];if(_0x1516ef[_0x589a77(0xf9)](_0x3461e8[_0x589a77(0xe8)](_0x1516ef['IsuSI']),-0x1)){const _0x565e9c=_0x3461e8[_0x589a77(0xea)](_0x1516ef[_0x589a77(0x107)]);return[_0x565e9c[0x0][_0x589a77(0xc6)](0x0,-0x1)[_0x589a77(0xea)]('\x22')[0x1],_0x565e9c[0x1][_0x589a77(0x10e)](0x1)];}else{if(_0x1516ef[_0x589a77(0xf9)](_0x3461e8[_0x589a77(0xe8)](_0x1516ef[_0x589a77(0xc5)]),-0x1)){const _0x2d2d81=_0x3461e8[_0x589a77(0xea)](_0x1516ef[_0x589a77(0xc5)]);return[_0x2d2d81[0x0][_0x589a77(0xc6)](0x0,-0x1)['split']('\x22')[0x1],_0x3461e8];}}return[null,null];},exports[a31_0x144b8d(0xe0)]=_0x43a925=>{const _0x23e395=a31_0x144b8d,_0x23c5b1={'xJaqn':function(_0x4611dd,_0x5d7af6){return _0x4611dd(_0x5d7af6);},'Vybyg':'_beforeAll','YPKGs':_0x23e395(0xc3),'gvyCV':_0x23e395(0x100),'WzjpE':'_afterEach'};if(!_0x43a925||!_0x43a925[_0x23e395(0xce)])return[];const _0x462539=[];return[_0x23c5b1[_0x23e395(0xe3)],_0x23c5b1[_0x23e395(0x113)],_0x23c5b1[_0x23e395(0xd3)],_0x23c5b1[_0x23e395(0xdb)]][_0x23e395(0xee)](_0x1008f2=>{const _0x1a6b7e=_0x23e395,_0x3d1a6d={'jWoFW':function(_0x49d46f,_0x4a731a){const _0x552ce2=a31_0x1412;return _0x23c5b1[_0x552ce2(0xf6)](_0x49d46f,_0x4a731a);}},_0x2150c4=_0x43a925['parent'][_0x1008f2]||[];_0x2150c4[_0x1a6b7e(0xee)](_0x241e56=>{const _0x5d637c=_0x1a6b7e;_0x241e56[_0x5d637c(0xd1)]&&!_0x3d1a6d['jWoFW'](isInternalHook,_0x241e56['fn'])&&_0x462539['push'](_0x241e56[_0x5d637c(0xd1)]);});}),[..._0x462539,...exports[_0x23e395(0xe0)](_0x43a925[_0x23e395(0xce)])];},exports[a31_0x144b8d(0xff)]=_0x71a88=>{const _0x36eeb2=a31_0x144b8d,_0x3a60a5={'DsWLz':function(_0x3184fb){return _0x3184fb();},'MFmjG':function(_0x20f810,_0x52b2b3){return _0x20f810===_0x52b2b3;},'fNXny':_0x36eeb2(0x11b),'AWSEN':'_beforeAll','uYvMY':_0x36eeb2(0xc3),'fdbta':_0x36eeb2(0x100)};if(!_0x71a88||!_0x71a88[_0x36eeb2(0xce)])return;[_0x3a60a5[_0x36eeb2(0xe9)],_0x3a60a5[_0x36eeb2(0xcf)],_0x3a60a5['fdbta'],_0x3a60a5[_0x36eeb2(0xcd)]]['forEach'](_0x3dcb89=>{const _0x2655d4=_0x36eeb2,_0x10f0af={'IRQre':function(_0xc07e20){const _0x2dee08=a31_0x1412;return _0x3a60a5[_0x2dee08(0xe2)](_0xc07e20);},'BzXYF':function(_0x1b9f90,_0x18ea98){const _0x4af961=a31_0x1412;return _0x3a60a5[_0x4af961(0x114)](_0x1b9f90,_0x18ea98);},'eWYpG':_0x3a60a5[_0x2655d4(0xcd)]},_0x569776=_0x71a88[_0x2655d4(0xce)][_0x3dcb89]||[];_0x569776[_0x2655d4(0xee)](_0x428aec=>{const _0x4f9fb1=_0x2655d4;if(!_0x428aec[_0x4f9fb1(0xd1)])_0x428aec[_0x4f9fb1(0xd1)]=_0x10f0af['IRQre'](uuidv4);else _0x428aec['markedStatus']&&_0x10f0af[_0x4f9fb1(0xe6)](_0x3dcb89,_0x10f0af[_0x4f9fb1(0xf0)])&&(_0x428aec[_0x4f9fb1(0xd1)]=_0x10f0af[_0x4f9fb1(0xc2)](uuidv4),delete _0x428aec[_0x4f9fb1(0xfc)]);});}),exports[_0x36eeb2(0xff)](_0x71a88[_0x36eeb2(0xce)]);},exports[a31_0x144b8d(0x10f)]=async(_0xcd03a2,_0x560438)=>{const _0x565eca=a31_0x144b8d,_0x3b1404={'kYuvc':function(_0xf61b5){return _0xf61b5();},'YjwIj':function(_0x3b1e21,_0x5894c6){return _0x3b1e21(_0x5894c6);},'UFoxF':function(_0x426961,_0x9067ff){return _0x426961===_0x9067ff;},'QXdeU':_0x565eca(0x10c),'QBnOs':_0x565eca(0xc7),'iVtnu':_0x565eca(0x11a)};try{if(!_0x3b1404[_0x565eca(0xda)](shouldProcessEventForTesthub))return;const _0x46a8b9=await _0xcd03a2[_0x565eca(0xeb)](),_0x9a50b0=await _0xcd03a2[_0x565eca(0x10d)](),_0x2d4202={},_0x1f2006=Object[_0x565eca(0xf4)](_0x9a50b0[_0x565eca(0xeb)]()[_0x565eca(0xd6)]),_0x2abf42={'product':_0x3b1404[_0x565eca(0xd5)](getObservabilityLinkedProductName,_0x1f2006),'capabilities':_0x1f2006,'platform':_0x46a8b9[_0x565eca(0x11d)](),'platform_version':_0x3b1404[_0x565eca(0xd5)](getPlatformVersion,_0x3b1404[_0x565eca(0xf5)](global[_0x565eca(0xd8)],_0x3b1404[_0x565eca(0xd2)])),'browser':_0x46a8b9['getBrowserName'](),'browser_version':_0x46a8b9[_0x565eca(0x115)](),'session_id':_0x9a50b0[_0x565eca(0xd0)]()};global[_0x565eca(0xd8)]?_0x2d4202[global[_0x565eca(0xd8)]]=_0x2abf42:_0x2d4202[_0x3b1404[_0x565eca(0xdc)]]=_0x2abf42,process[_0x565eca(0xfd)](_0x565eca(0xec)+process[_0x565eca(0xcb)],{'timestamp':new Date()[_0x565eca(0xfb)](),'level':null,'message':null,'kind':_0x3b1404[_0x565eca(0x10b)],'http_response':_0x2d4202,'uuid':_0x560438});}catch(_0x926f9b){_0x3b1404[_0x565eca(0xd5)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x926f9b);}},exports[a31_0x144b8d(0x116)]=_0x2c28da=>{const _0xd8a7a4=a31_0x144b8d,_0x3d2c9c={};_0x3d2c9c[_0xd8a7a4(0x102)]=function(_0xd507af,_0x2cf88d){return _0xd507af!==_0x2cf88d;},_0x3d2c9c[_0xd8a7a4(0xc9)]='hook',_0x3d2c9c[_0xd8a7a4(0x106)]=_0xd8a7a4(0x112),_0x3d2c9c['OGKMf']=function(_0x4d91a0,_0x39376d){return _0x4d91a0!==_0x39376d;},_0x3d2c9c[_0xd8a7a4(0xf1)]='failed';const _0x2c3ce6=_0x3d2c9c,_0x3b0c6d=_0x2c28da[_0xd8a7a4(0xe1)][_0xd8a7a4(0x101)]((_0x47260c,_0x29deb7)=>{const _0x48a429=_0xd8a7a4,_0x3dcec7=exports[_0x48a429(0x116)](_0x29deb7);return _0x3dcec7&&(_0x47260c=_0x47260c[_0x48a429(0xe4)](_0x3dcec7)),_0x47260c;},[]),_0x185dec=_0x2c28da[_0xd8a7a4(0x109)]['filter'](_0x57ea4d=>{const _0x42114d=_0xd8a7a4,_0x482353=_0x2c3ce6[_0x42114d(0x102)](_0x57ea4d[_0x42114d(0xd7)],_0x2c3ce6[_0x42114d(0xc9)])&&!_0x57ea4d[_0x42114d(0xfc)]&&_0x2c3ce6[_0x42114d(0x102)](_0x57ea4d['state'],_0x2c3ce6[_0x42114d(0x106)])&&_0x2c3ce6[_0x42114d(0xed)](_0x57ea4d[_0x42114d(0xfa)],_0x2c3ce6[_0x42114d(0xf1)])&&!_0x57ea4d[_0x42114d(0xf8)];return _0x482353;});return _0x185dec[_0xd8a7a4(0xe4)](_0x3b0c6d);};
@@ -1 +1 @@
1
- const a32_0x42eeb6=a32_0x2cfb;function a32_0x2cfb(_0x25bbfb,_0xf24e1d){const _0x174e9e=a32_0x174e();return a32_0x2cfb=function(_0x2cfbf1,_0x5c814d){_0x2cfbf1=_0x2cfbf1-0x95;let _0x3a7d95=_0x174e9e[_0x2cfbf1];return _0x3a7d95;},a32_0x2cfb(_0x25bbfb,_0xf24e1d);}(function(_0x3fffac,_0x1cdbe8){const _0x5708aa=a32_0x2cfb,_0x5e64c4=_0x3fffac();while(!![]){try{const _0x1aa8d1=-parseInt(_0x5708aa(0xbd))/0x1*(-parseInt(_0x5708aa(0xd7))/0x2)+parseInt(_0x5708aa(0xa8))/0x3*(parseInt(_0x5708aa(0x133))/0x4)+parseInt(_0x5708aa(0x136))/0x5+-parseInt(_0x5708aa(0x129))/0x6+parseInt(_0x5708aa(0x134))/0x7+-parseInt(_0x5708aa(0x121))/0x8*(-parseInt(_0x5708aa(0xa4))/0x9)+parseInt(_0x5708aa(0xf5))/0xa*(-parseInt(_0x5708aa(0x12d))/0xb);if(_0x1aa8d1===_0x1cdbe8)break;else _0x5e64c4['push'](_0x5e64c4['shift']());}catch(_0x451a5d){_0x5e64c4['push'](_0x5e64c4['shift']());}}}(a32_0x174e,0x2f68c));const util=require(a32_0x42eeb6(0xe0)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x42eeb6(0x9e)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x42eeb6(0x13f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x42eeb6(0xc4)),scripts=require(a32_0x42eeb6(0x12c)),globals=require(a32_0x42eeb6(0xa6)),logger=require(a32_0x42eeb6(0x113))[a32_0x42eeb6(0x10a)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a32_0x42eeb6(0x97));exports[a32_0x42eeb6(0xd1)]={'beforeAll'(){const _0x5b78a4=a32_0x42eeb6,_0x573af3={'AlpWo':function(_0x36080f,_0x3bcc15,_0x547686,_0x57569d){return _0x36080f(_0x3bcc15,_0x547686,_0x57569d);},'SgMcA':'failed','PBcTq':_0x5b78a4(0xb3),'fuekh':function(_0x2dc5d3,_0x309ded,_0x542fe0){return _0x2dc5d3(_0x309ded,_0x542fe0);},'qpCGQ':_0x5b78a4(0xf9),'AwUjo':function(_0xf657a4){return _0xf657a4();},'ADkaq':function(_0x2b55f3,_0x101d32,_0x592e9d){return _0x2b55f3(_0x101d32,_0x592e9d);},'oslqS':_0x5b78a4(0x9a),'pNtHS':_0x5b78a4(0xb0)};PerformanceTester[_0x5b78a4(0xd9)]();const _0x2489cd='browserstack internal helper hook';PerformanceTester[_0x5b78a4(0x120)](PerformanceSdkEvents[_0x5b78a4(0xfa)],()=>{const _0x2645e2=_0x5b78a4,_0x434b3d={'iiCav':function(_0x28ad1b,_0x8c5fc4,_0x530b19,_0x166c66){const _0x5bf36a=a32_0x2cfb;return _0x573af3[_0x5bf36a(0xf0)](_0x28ad1b,_0x8c5fc4,_0x530b19,_0x166c66);},'DNzzj':_0x573af3[_0x2645e2(0xc6)],'xpRfC':_0x573af3[_0x2645e2(0x135)],'aARTl':function(_0x475c12,_0x5dd724,_0x4a14c5){const _0x413229=_0x2645e2;return _0x573af3[_0x413229(0xe6)](_0x475c12,_0x5dd724,_0x4a14c5);},'asWYR':_0x573af3[_0x2645e2(0xcd)],'wigrF':function(_0x2f2cb0){const _0x25b4ca=_0x2645e2;return _0x573af3[_0x25b4ca(0xe7)](_0x2f2cb0);},'AsAhz':function(_0x4b7416,_0x3d71d8,_0x3884d5){const _0x5059ae=_0x2645e2;return _0x573af3[_0x5059ae(0x128)](_0x4b7416,_0x3d71d8,_0x3884d5);}};global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0xebbb34=_0x2645e2;let _0x38b6d2=![];try{await global[_0xebbb34(0x108)][0x0]['session_'],_0x38b6d2=!![],global['__sessionFailed']?await _0x434b3d['iiCav'](markSessionStatus,global[_0xebbb34(0x108)][0x0],_0x434b3d[_0xebbb34(0xe2)],global[_0xebbb34(0xe4)][_0xebbb34(0xdc)](_0x434b3d['xpRfC'])):await _0x434b3d[_0xebbb34(0x132)](markSessionStatus,global['__drivers'][0x0],_0x434b3d['asWYR']);}catch(_0x32a5e5){logger[_0xebbb34(0x127)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x32a5e5);}global['__error_messages__']=[],global[_0xebbb34(0x11c)]=![];if(_0x38b6d2)try{try{_0x434b3d['wigrF'](shouldProcessEventForTesthub)&&(global[_0xebbb34(0x108)][0x0]&&await _0x434b3d[_0xebbb34(0xec)](sendPlatformDetails,global['__drivers'][0x0],this[_0xebbb34(0xe1)]?this[_0xebbb34(0xe1)][_0xebbb34(0x112)]:null));}catch(_0x2fbde7){logger[_0xebbb34(0x127)](_0xebbb34(0x13a)+_0x2fbde7);}await global[_0xebbb34(0x108)][0x0]['initQuit']();}catch(_0x51db3d){logger[_0xebbb34(0x127)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x51db3d);}};},{'platform':_0x573af3['ADkaq'](nestedKeyValue,global[_0x5b78a4(0xfc)],[_0x573af3[_0x5b78a4(0xcf)]]),'hookType':_0x573af3[_0x5b78a4(0xce)]})();},'beforeEach'(_0x4e4480){const _0x13326b=a32_0x42eeb6,_0x6098c9={'uWBke':function(_0x5a527a,_0x24cb50){return _0x5a527a>_0x24cb50;},'UcVNP':_0x13326b(0xc9),'VuOoI':function(_0x5c003b,_0x3eb13b,_0x3d735c){return _0x5c003b(_0x3eb13b,_0x3d735c);},'HDlez':_0x13326b(0xfb),'qzLTG':function(_0xbefcc0){return _0xbefcc0();},'pncjm':function(_0x3da1dc,_0x3dab3e){return _0x3da1dc>_0x3dab3e;},'cdKUi':_0x13326b(0x111),'JYfYf':function(_0x182d6a,_0x4f7d05){return _0x182d6a===_0x4f7d05;},'zPBFK':_0x13326b(0xf7),'DGVbp':_0x13326b(0xdf),'qQSVx':_0x13326b(0xf6),'GdXhN':_0x13326b(0xf2),'uNOFw':function(_0x1817b9){return _0x1817b9();},'UGQAt':_0x13326b(0x12b),'NniMe':function(_0x3fb236,_0x5d24d7,_0x12257e){return _0x3fb236(_0x5d24d7,_0x12257e);},'fdwop':'index','DJFMY':_0x13326b(0xc7)};globals[_0x13326b(0x10e)](_0x6098c9['UGQAt'],this['currentTest'][_0x13326b(0xa7)]()[_0x13326b(0xdc)](_0x6098c9[_0x13326b(0xd2)])),PerformanceTester[_0x13326b(0x120)](PerformanceSdkEvents[_0x13326b(0xfa)],()=>{const _0x338403='browserstack internal helper hook';new Promise(async _0x57694b=>{const _0x42d89d=a32_0x2cfb;let _0x5a0499=!![];try{_0x6098c9[_0x42d89d(0xdd)](global['__drivers'][_0x42d89d(0x105)],0x1)&&(await global['driverCleanup'](),global[_0x42d89d(0x108)][_0x42d89d(0xb1)]()),_0x6098c9[_0x42d89d(0xdd)](global['__drivers'][0x0][_0x42d89d(0x13c)],0x0)&&(_0x5a0499=![],await global[_0x42d89d(0x138)]());}catch(_0x20c866){logger[_0x42d89d(0x127)](_0x42d89d(0xa3)+_0x20c866);}try{Array['isArray'](global[_0x42d89d(0x108)])&&global[_0x42d89d(0x108)][0x0]&&(global[_0x42d89d(0x108)][0x0][_0x42d89d(0x10c)]=this[_0x42d89d(0xe1)][_0x42d89d(0xa7)]()[_0x42d89d(0xdc)](_0x6098c9['UcVNP'])),global[_0x42d89d(0x10c)]=this[_0x42d89d(0xe1)][_0x42d89d(0xa7)]()['join'](_0x6098c9[_0x42d89d(0xd2)]);}catch(_0x13d57e){logger[_0x42d89d(0x127)](_0x42d89d(0x123)+_0x13d57e);}this['currentTest']['shouldScanTestForAccessibility']=_0x6098c9[_0x42d89d(0x96)](shouldScanTestForAccessibility,this[_0x42d89d(0xe1)][_0x42d89d(0xa7)](),!![]),globals['setGlobal'](_0x6098c9[_0x42d89d(0xbb)],this[_0x42d89d(0xe1)][_0x42d89d(0xe8)]),this[_0x42d89d(0xe1)][_0x42d89d(0xb5)]=!![];if(_0x6098c9[_0x42d89d(0xaa)](isAccessibilityAutomationSession)&&_0x5a0499&&Array[_0x42d89d(0x9c)](global[_0x42d89d(0x108)])&&_0x6098c9[_0x42d89d(0x119)](global['__drivers'][_0x42d89d(0x105)],0x0)&&globals[_0x42d89d(0xa1)](_0x6098c9[_0x42d89d(0xcb)]))try{const _0xa7e545=await global[_0x42d89d(0x108)][0x0][_0x42d89d(0x141)];if(_0xa7e545){let _0x47cda4=!![];const _0x3973fc=await global[_0x42d89d(0x108)][0x0]['getCurrentUrl']();let _0x42e6e7;try{_0x42e6e7=new URL(_0x3973fc);}catch(_0x436410){_0x47cda4=![];}_0x47cda4=_0x6098c9['JYfYf'](_0x42e6e7[_0x42d89d(0x106)],_0x6098c9['zPBFK'])||_0x6098c9[_0x42d89d(0x130)](_0x42e6e7[_0x42d89d(0x106)],_0x6098c9[_0x42d89d(0x11d)]),_0x47cda4&&(this[_0x42d89d(0xe1)][_0x42d89d(0xe8)]&&logger[_0x42d89d(0x9b)](_0x6098c9['qQSVx'])),this[_0x42d89d(0xe1)][_0x42d89d(0xb5)]=this['currentTest'][_0x42d89d(0xe8)],this[_0x42d89d(0xe1)][_0x42d89d(0xe8)]&&logger[_0x42d89d(0x9b)](_0x6098c9[_0x42d89d(0x98)]);}}catch(_0x37a94f){logger['error'](_0x42d89d(0xc1)+util[_0x42d89d(0x10d)](_0x37a94f));}_0x6098c9[_0x42d89d(0xaa)](_0x57694b);})['then'](()=>{_0x6098c9['uNOFw'](_0x4e4480);});},{'platform':_0x6098c9[_0x13326b(0xc0)](nestedKeyValue,global[_0x13326b(0xfc)],[_0x6098c9[_0x13326b(0xea)]]),'hookType':_0x6098c9[_0x13326b(0x10f)]})();},'afterEach'(_0xac0908){const _0x31c29f=a32_0x42eeb6,_0x59d073={'tRJaU':function(_0x454322,_0xb6e981){return _0x454322>_0xb6e981;},'eXLdP':function(_0x9b4217,_0x2ee293){return _0x9b4217===_0x2ee293;},'TYaAs':_0x31c29f(0xca),'HtrQq':function(_0x25e565,_0x3e18cd){return _0x25e565>_0x3e18cd;},'HZSNK':_0x31c29f(0xd3),'GjVdr':function(_0x422219,_0x23ce22,_0x4a7c4c,_0x5db907){return _0x422219(_0x23ce22,_0x4a7c4c,_0x5db907);},'VUWvp':_0x31c29f(0x111),'lLmxI':_0x31c29f(0xfb),'srsHg':_0x31c29f(0x12e),'spbET':_0x31c29f(0xb4),'tnULj':_0x31c29f(0x13d),'Tivwb':_0x31c29f(0x13e),'JCjOc':function(_0x1a445c){return _0x1a445c();},'SJlYh':function(_0x56bdb7,_0x202739,_0x38066f){return _0x56bdb7(_0x202739,_0x38066f);},'MiBRn':function(_0x285a50){return _0x285a50();},'JfpeR':function(_0x172ec5,_0x1aa8dd,_0x27686b){return _0x172ec5(_0x1aa8dd,_0x27686b);},'UYfuH':_0x31c29f(0x127),'zFHkz':function(_0x14f613){return _0x14f613();},'XnMNq':_0x31c29f(0xc9),'AhJwT':function(_0xb945e6,_0x506d9a){return _0xb945e6!==_0x506d9a;},'nSagP':'passed','GaVqG':function(_0x3ddf62,_0x467edf){return _0x3ddf62+_0x467edf;},'RaVZH':'Failed:\x20','iVicw':_0x31c29f(0xee),'JSoHE':_0x31c29f(0xa0),'ugnRE':_0x31c29f(0x9b),'qVtdU':_0x31c29f(0x9a),'vBCAg':'afterEach'},_0x3a45e7='browserstack internal helper hook';this[_0x31c29f(0xff)](0xfde8),global[_0x31c29f(0x9f)]=this[_0x31c29f(0xe1)]['titlePath']()[_0x31c29f(0xdc)](_0x59d073['XnMNq']),PerformanceTester[_0x31c29f(0x120)](PerformanceSdkEvents[_0x31c29f(0xfa)],()=>{const _0x4d5fe4=_0x31c29f,_0x1f620d={'NloNe':_0x59d073[_0x4d5fe4(0xe3)],'TGcOs':function(_0x3fed4d,_0x1cc2c7){const _0x50b403=_0x4d5fe4;return _0x59d073[_0x50b403(0xf3)](_0x3fed4d,_0x1cc2c7);},'TcZFJ':_0x59d073[_0x4d5fe4(0x100)],'XlZtR':function(_0x328343,_0x225fd4,_0xac958f){const _0x34ecc2=_0x4d5fe4;return _0x59d073[_0x34ecc2(0xb2)](_0x328343,_0x225fd4,_0xac958f);},'CQtMg':function(_0x2208e2,_0x3c25b5){const _0x512406=_0x4d5fe4;return _0x59d073[_0x512406(0xf8)](_0x2208e2,_0x3c25b5);},'iJSVK':_0x59d073[_0x4d5fe4(0xb6)],'QppqZ':_0x59d073[_0x4d5fe4(0x114)],'NlZef':function(_0x353200,_0x7def84,_0x2932e9){const _0x3f5796=_0x4d5fe4;return _0x59d073[_0x3f5796(0xb2)](_0x353200,_0x7def84,_0x2932e9);},'sZjpS':_0x59d073[_0x4d5fe4(0x131)],'xdEKS':_0x59d073[_0x4d5fe4(0x9d)]},_0x4edb38=async(_0x237ec6,_0x4fb90c)=>{const _0x1fdce3=_0x4d5fe4;await global[_0x1fdce3(0x108)][0x0][_0x1fdce3(0xd4)](_0x1fdce3(0xd0)+_0x237ec6+_0x1fdce3(0x107)+_0x4fb90c+'\x22}}');};new Promise(async _0x5180af=>{const _0x33fa80=_0x4d5fe4;try{_0x59d073[_0x33fa80(0xbf)](global['__drivers'][_0x33fa80(0x105)],0x1)&&(await global[_0x33fa80(0x138)](),global[_0x33fa80(0x108)][_0x33fa80(0xb1)](),global[_0x33fa80(0xe4)]=[],global[_0x33fa80(0x11c)]=![]);try{if(global[_0x33fa80(0xbe)]&&_0x59d073[_0x33fa80(0x95)](global[_0x33fa80(0xd8)],_0x59d073['TYaAs'])&&global[_0x33fa80(0x108)][0x0]){const _0x55b31d=_0x59d073[_0x33fa80(0x110)](global[_0x33fa80(0xc2)][_0x33fa80(0x105)],0x0)?!!global[_0x33fa80(0xc2)][0x0][_0x33fa80(0x11a)]||!!global['capabilities'][0x0][_0x59d073[_0x33fa80(0xfe)]]:![],_0x42d6cd={};_0x42d6cd[_0x33fa80(0x11a)]=_0x55b31d,await _0x59d073['GjVdr'](percyAutoCapture,global[_0x33fa80(0x108)][0x0],_0x59d073[_0x33fa80(0x12a)],_0x42d6cd);}}catch(_0xbe7bf4){logger[_0x33fa80(0x127)](_0x33fa80(0xa5)+_0xbe7bf4);}!global[_0x33fa80(0xd6)]&&(await PerformanceTester[_0x33fa80(0x120)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0xc6b986=_0x33fa80;await global[_0xc6b986(0x108)][0x0][_0xc6b986(0xd4)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this[_0xc6b986(0xe1)][_0xc6b986(0xa7)]()[_0xc6b986(0xdc)](_0x1f620d[_0xc6b986(0xef)]))+'}}');})(),global[_0x33fa80(0x108)][0x0][_0x33fa80(0x122)]=!![]),await PerformanceTester[_0x33fa80(0x120)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x3a7941=_0x33fa80,_0x19a1d9=_0x1f620d[_0x3a7941(0x104)](this['currentTest'][_0x3a7941(0xba)],_0x1f620d[_0x3a7941(0xa2)]);_0x19a1d9?(global['__sessionFailed']=!![],global[_0x3a7941(0xe4)]['push'](this['currentTest'][_0x3a7941(0xac)]['message']),await _0x1f620d[_0x3a7941(0xc5)](_0x4edb38,JSON[_0x3a7941(0xeb)](_0x1f620d[_0x3a7941(0xe9)](_0x1f620d[_0x3a7941(0xae)],this['currentTest'][_0x3a7941(0xac)][_0x3a7941(0xb8)])),_0x1f620d[_0x3a7941(0xc8)])):await _0x1f620d[_0x3a7941(0xad)](_0x4edb38,JSON[_0x3a7941(0xeb)](_0x1f620d[_0x3a7941(0x103)]),_0x1f620d[_0x3a7941(0x124)]);})();}catch(_0x363355){logger[_0x33fa80(0x127)](_0x33fa80(0xed)+_0x363355);}try{if(this[_0x33fa80(0xe1)][_0x33fa80(0xb5)]&&globals['getGlobal'](_0x59d073[_0x33fa80(0x139)])&&globals[_0x33fa80(0xa1)](_0x59d073[_0x33fa80(0xcc)])){logger[_0x33fa80(0x9b)](_0x59d073[_0x33fa80(0x118)]);const _0x2debeb={};_0x2debeb[_0x33fa80(0xb7)]=this[_0x33fa80(0xe1)][_0x33fa80(0x112)],_0x2debeb['thBuildUuid']=process[_0x33fa80(0x99)][testHubConstants[_0x33fa80(0x11e)][_0x33fa80(0xde)]],_0x2debeb[_0x33fa80(0x116)]=process['env'][testHubConstants[_0x33fa80(0x11e)][_0x33fa80(0xaf)]];const _0x5c64f3=_0x2debeb;logger[_0x33fa80(0x127)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x33fa80(0xeb)](_0x5c64f3)),logger['debug'](_0x59d073[_0x33fa80(0x109)]);const _0x1ea52c={};_0x1ea52c[_0x33fa80(0xdb)]=_0x59d073[_0x33fa80(0x13b)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x33fa80(0xd5)],async()=>{const _0x2e88bd=_0x33fa80;logger[_0x2e88bd(0x127)](util[_0x2e88bd(0x10d)](await global[_0x2e88bd(0x108)][0x0][_0x2e88bd(0x102)](scripts['performScan'],{'method':global[_0x2e88bd(0x10c)]})));},_0x1ea52c)(),await PerformanceTester[_0x33fa80(0x120)](PerformanceA11yEvents[_0x33fa80(0xab)],async()=>{const _0x12b32d=_0x33fa80;await global[_0x12b32d(0x108)][0x0]['executeAsyncScript'](scripts[_0x12b32d(0x12f)],_0x5c64f3);})(),logger[_0x33fa80(0x9b)](_0x59d073[_0x33fa80(0x10b)]);}}catch(_0x51c1d6){logger[_0x33fa80(0xee)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x33fa80(0xa7)]()+_0x33fa80(0xa9),_0x51c1d6);}try{try{if(_0x59d073['JCjOc'](shouldProcessEventForTesthub)){global[_0x33fa80(0x108)][0x0]&&await _0x59d073[_0x33fa80(0xf4)](sendPlatformDetails,global[_0x33fa80(0x108)][0x0],this[_0x33fa80(0xe1)]?this['currentTest'][_0x33fa80(0x112)]:null);if(_0x59d073[_0x33fa80(0x115)](isBrowserstackInfra)){PerformanceTester[_0x33fa80(0xe5)](PerformanceO11yEvents[_0x33fa80(0x101)]);const _0x980650=_0x33fa80(0x142)+Date['now']();await _0x59d073[_0x33fa80(0xb2)](_0x4edb38,JSON[_0x33fa80(0xeb)](_0x980650),_0x59d073[_0x33fa80(0x11b)]),PerformanceTester['end'](PerformanceO11yEvents[_0x33fa80(0x101)]);}}}catch(_0x4e992f){logger[_0x33fa80(0x127)](_0x33fa80(0x125)+_0x4e992f),PerformanceTester[_0x33fa80(0xda)](PerformanceO11yEvents['SYNC'],![],_0x4e992f);}_0x59d073[_0x33fa80(0x110)](global[_0x33fa80(0x108)][0x0][_0x33fa80(0x13c)],0x0)&&await global[_0x33fa80(0x138)]();}catch(_0x2fcd3b){logger['debug'](_0x33fa80(0xa3)+_0x2fcd3b);}_0x59d073[_0x33fa80(0x126)](_0x5180af);})[_0x4d5fe4(0xc3)](()=>{const _0x511641=_0x4d5fe4;_0x59d073[_0x511641(0x11f)](_0xac0908);});},{'platform':_0x59d073[_0x31c29f(0xf4)](nestedKeyValue,global[_0x31c29f(0xfc)],[_0x59d073['qVtdU']]),'hookType':_0x59d073[_0x31c29f(0xfd)]})();},'afterAll'(_0xee8474){const _0xff4c7b=a32_0x42eeb6,_0x2697b4={'koBEx':function(_0x110230){return _0x110230();},'QnWnm':function(_0x1bab7e,_0x3c65fa,_0x2e087a){return _0x1bab7e(_0x3c65fa,_0x2e087a);},'iOwVE':_0xff4c7b(0x9a),'vAxLY':_0xff4c7b(0xbc)},_0x422e83='browserstack internal helper hook';this[_0xff4c7b(0xff)](0xfde8),PerformanceTester[_0xff4c7b(0x120)](PerformanceSdkEvents[_0xff4c7b(0xfa)],()=>{const _0xc25a7b=_0xff4c7b,_0x1d79c5={'zCtRl':function(_0x27fa85){return _0x2697b4['koBEx'](_0x27fa85);},'pVzkG':function(_0x193a48){const _0x1254f4=a32_0x2cfb;return _0x2697b4[_0x1254f4(0xf1)](_0x193a48);}};new Promise(async _0x1c589b=>{await global['driverCleanup'](),_0x1d79c5['zCtRl'](_0x1c589b);})[_0xc25a7b(0xc3)]()[_0xc25a7b(0x137)](()=>{const _0x4065da=_0xc25a7b;_0x1d79c5[_0x4065da(0x140)](_0xee8474);});},{'platform':_0x2697b4['QnWnm'](nestedKeyValue,global[_0xff4c7b(0xfc)],[_0x2697b4[_0xff4c7b(0x117)]]),'hookType':_0x2697b4[_0xff4c7b(0xb9)]})();}};function a32_0x174e(){const _0x2fb6c7=['../../helpers/performance/constants','XlZtR','SgMcA','beforeEach','QppqZ','\x20-\x20','testcase','cdKUi','lLmxI','qpCGQ','pNtHS','oslqS','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','mochaHooks','UcVNP','appium:app','executeScript','PERFORM_SCAN','__skipSessionName','230xSRloa','percyCaptureMode','startMonitoring','end','command','join','uWBke','BROWSERSTACK_TESTHUB_UUID','https:','util','currentTest','DNzzj','XnMNq','__error_messages__','start','fuekh','AwUjo','shouldScanTestForAccessibility','CQtMg','fdwop','stringify','AsAhz','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','error','NloNe','AlpWo','koBEx','Automate\x20test\x20case\x20execution\x20has\x20started.','AhJwT','SJlYh','53160KHBOXR','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','http:','GaVqG','passed','SDK_HOOK','bstackA11yShouldScan','__platformCaps','vBCAg','HZSNK','timeout','nSagP','SYNC','executeAsyncScript','sZjpS','TGcOs','length','protocol',',\x22level\x22:\x20\x22','__drivers','spbET','winstonLogger','Tivwb','browserstackSessionName','format','setGlobal','DJFMY','HtrQq','isAccessibilityPlatform','testAnalyticsId','../../helpers/logger','iVicw','MiBRn','thJwtToken','iOwVE','srsHg','pncjm','app','UYfuH','__sessionFailed','DGVbp','ENV_VAR','JCjOc','measureWrapper','109456peamRk','sessionNameSet__','Failed\x20to\x20store\x20session\x20name:\x20','xdEKS','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','zFHkz','debug','ADkaq','1230426BcKvrF','TYaAs','browserstackTestName','../../helpers/accessibility-automation/scripts','1694GFJVYV','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','saveTestResults','JYfYf','JSoHE','aARTl','4996kgiJeZ','2342109YEDsqh','PBcTq','867920dFXlbG','finally','driverCleanup','VUWvp','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','tnULj','quitCount_','afterTest','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/performance/performance-tester','pVzkG','session_','ObservabilitySync:','eXLdP','VuOoI','../../helpers/testhub/constants','GdXhN','env','index','info','isArray','ugnRE','../../helpers/percy/utils','sessionName','Passed','getGlobal','TcZFJ','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','108mGoqwC','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','../../helpers/globals','titlePath','861ZGuCEJ','.\x20Error\x20:','qzLTG','SAVE_RESULTS','err','NlZef','iJSVK','BROWSERSTACK_TESTHUB_JWT','beforeAll','shift','JfpeR','\x20|\x20','Performing\x20scan\x20before\x20saving\x20results','accessibilityScanStarted','RaVZH','thTestRunUuid','message','vAxLY','state','HDlez','afterAll','1627pvBzXn','percy','tRJaU','NniMe','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','capabilities','then'];a32_0x174e=function(){return _0x2fb6c7;};return a32_0x174e();}
1
+ function a32_0x5efe(_0x2762df,_0x10a278){const _0x539b58=a32_0x539b();return a32_0x5efe=function(_0x5efe14,_0x12cbb9){_0x5efe14=_0x5efe14-0xa9;let _0x314a4d=_0x539b58[_0x5efe14];return _0x314a4d;},a32_0x5efe(_0x2762df,_0x10a278);}const a32_0x4def35=a32_0x5efe;(function(_0x7a7c23,_0x14f45c){const _0x40e28f=a32_0x5efe,_0x175c1a=_0x7a7c23();while(!![]){try{const _0x28d9a1=parseInt(_0x40e28f(0xb3))/0x1*(-parseInt(_0x40e28f(0x133))/0x2)+-parseInt(_0x40e28f(0x116))/0x3*(parseInt(_0x40e28f(0xfd))/0x4)+parseInt(_0x40e28f(0xa9))/0x5+parseInt(_0x40e28f(0xd5))/0x6+parseInt(_0x40e28f(0x107))/0x7*(-parseInt(_0x40e28f(0xc0))/0x8)+-parseInt(_0x40e28f(0xf5))/0x9+parseInt(_0x40e28f(0xbf))/0xa;if(_0x28d9a1===_0x14f45c)break;else _0x175c1a['push'](_0x175c1a['shift']());}catch(_0x175f42){_0x175c1a['push'](_0x175c1a['shift']());}}}(a32_0x539b,0xbc668));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x4def35(0xe3)),{percyAutoCapture}=require(a32_0x4def35(0xaf)),{sendPlatformDetails}=require(a32_0x4def35(0xdb)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x4def35(0x103)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x4def35(0x128)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require(a32_0x4def35(0xcc))[a32_0x4def35(0xe4)],{shouldProcessEventForTesthub}=require(a32_0x4def35(0xf7)),testHubConstants=require(a32_0x4def35(0x135));exports[a32_0x4def35(0x134)]={'beforeAll'(){const _0x245c56=a32_0x4def35,_0xe85fc9={'pFbxd':function(_0x325c8b,_0x133466,_0x246f4c,_0x548ea5){return _0x325c8b(_0x133466,_0x246f4c,_0x548ea5);},'RilQX':_0x245c56(0xc4),'TqKVz':_0x245c56(0xdd),'TPBsN':function(_0x3c5da0,_0x10a739,_0x50d60e){return _0x3c5da0(_0x10a739,_0x50d60e);},'wGHWC':_0x245c56(0x104),'sWgbk':function(_0x51deaa){return _0x51deaa();},'mfdCv':_0x245c56(0xe1),'dnqEg':_0x245c56(0x12c)};PerformanceTester[_0x245c56(0x106)]();const _0x57e963='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x245c56(0xc6)],()=>{const _0x6c3d69=_0x245c56;global[_0x6c3d69(0x109)]=[],global[_0x6c3d69(0x11e)]=![],global[_0x6c3d69(0x119)]=async()=>{const _0x3ec248=_0x6c3d69;let _0xa73f55=![];try{await global['__drivers'][0x0]['session_'],_0xa73f55=!![],global[_0x3ec248(0x11e)]?await _0xe85fc9[_0x3ec248(0xf0)](markSessionStatus,global['__drivers'][0x0],_0xe85fc9['RilQX'],global[_0x3ec248(0x109)]['join'](_0xe85fc9[_0x3ec248(0x11a)])):await _0xe85fc9[_0x3ec248(0xb6)](markSessionStatus,global['__drivers'][0x0],_0xe85fc9['wGHWC']);}catch(_0x1446a7){logger[_0x3ec248(0x114)](_0x3ec248(0x115)+_0x1446a7);}global[_0x3ec248(0x109)]=[],global['__sessionFailed']=![];if(_0xa73f55)try{try{_0xe85fc9['sWgbk'](shouldProcessEventForTesthub)&&(global[_0x3ec248(0xab)][0x0]&&await _0xe85fc9[_0x3ec248(0xb6)](sendPlatformDetails,global[_0x3ec248(0xab)][0x0],this[_0x3ec248(0x10a)]?this['currentTest'][_0x3ec248(0x12d)]:null));}catch(_0x5699ed){logger['debug'](_0x3ec248(0xef)+_0x5699ed);}await global['__drivers'][0x0][_0x3ec248(0xff)]();}catch(_0x162eea){logger[_0x3ec248(0x114)](_0x3ec248(0x132)+_0x162eea);}};},{'platform':_0xe85fc9[_0x245c56(0xb6)](nestedKeyValue,global['__platformCaps'],[_0xe85fc9[_0x245c56(0x10d)]]),'hookType':_0xe85fc9['dnqEg']})();},'beforeEach'(_0x4851a8){const _0x3e5a91=a32_0x4def35,_0x1d07b3={'CDEMc':function(_0x546b52,_0x1408b3){return _0x546b52>_0x1408b3;},'WQiwV':function(_0x44a1aa,_0x25345b){return _0x44a1aa>_0x25345b;},'jCHFX':_0x3e5a91(0xac),'trFef':function(_0x583843,_0x888dc5,_0x5c6a89){return _0x583843(_0x888dc5,_0x5c6a89);},'WorMM':'bstackA11yShouldScan','caKGu':function(_0x57d1f8){return _0x57d1f8();},'QRWSG':'isAccessibilityPlatform','SZUmg':function(_0x520c1d,_0x5a58ec){return _0x520c1d===_0x5a58ec;},'NmlVn':_0x3e5a91(0xf8),'iEDXv':_0x3e5a91(0x117),'JzHdT':_0x3e5a91(0xd9),'GBFWf':'Automate\x20test\x20case\x20execution\x20has\x20started.','yLHSW':'browserstackTestName','sIrIb':'index','yleYj':_0x3e5a91(0xfe)};globals['setGlobal'](_0x1d07b3[_0x3e5a91(0x12a)],this[_0x3e5a91(0x10a)][_0x3e5a91(0xe5)]()[_0x3e5a91(0xe0)](_0x1d07b3[_0x3e5a91(0xf9)])),PerformanceTester[_0x3e5a91(0xd6)](PerformanceSdkEvents[_0x3e5a91(0xc6)],()=>{const _0x58f790=_0x3e5a91,_0x5b89d0={'zIXCt':function(_0x2de578){const _0x5d3014=a32_0x5efe;return _0x1d07b3[_0x5d3014(0xf3)](_0x2de578);}},_0x337141='browserstack internal helper hook';new Promise(async _0x2b1c18=>{const _0x57a1e5=a32_0x5efe;let _0x788650=!![];try{_0x1d07b3[_0x57a1e5(0xec)](global[_0x57a1e5(0xab)][_0x57a1e5(0xfb)],0x1)&&(await global[_0x57a1e5(0x119)](),global[_0x57a1e5(0xab)][_0x57a1e5(0x13b)]()),_0x1d07b3['WQiwV'](global[_0x57a1e5(0xab)][0x0][_0x57a1e5(0xcd)],0x0)&&(_0x788650=![],await global[_0x57a1e5(0x119)]());}catch(_0x2319c7){logger[_0x57a1e5(0x114)](_0x57a1e5(0x132)+_0x2319c7);}try{Array[_0x57a1e5(0x13f)](global['__drivers'])&&global[_0x57a1e5(0xab)][0x0]&&(global[_0x57a1e5(0xab)][0x0][_0x57a1e5(0xdf)]=this[_0x57a1e5(0x10a)][_0x57a1e5(0xe5)]()[_0x57a1e5(0xe0)](_0x1d07b3[_0x57a1e5(0xf9)])),global[_0x57a1e5(0xdf)]=this[_0x57a1e5(0x10a)]['titlePath']()[_0x57a1e5(0xe0)](_0x1d07b3[_0x57a1e5(0xf9)]);}catch(_0x35483e){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x35483e);}this[_0x57a1e5(0x10a)]['shouldScanTestForAccessibility']=_0x1d07b3[_0x57a1e5(0xea)](shouldScanTestForAccessibility,this['currentTest'][_0x57a1e5(0xe5)](),!![]),globals[_0x57a1e5(0x101)](_0x1d07b3[_0x57a1e5(0x127)],this[_0x57a1e5(0x10a)][_0x57a1e5(0xc8)]),this[_0x57a1e5(0x10a)][_0x57a1e5(0x136)]=!![];if(_0x1d07b3['caKGu'](isAccessibilityAutomationSession)&&_0x788650&&Array[_0x57a1e5(0x13f)](global[_0x57a1e5(0xab)])&&_0x1d07b3[_0x57a1e5(0x12e)](global[_0x57a1e5(0xab)][_0x57a1e5(0xfb)],0x0)&&globals['getGlobal'](_0x1d07b3[_0x57a1e5(0xd8)]))try{const _0x41aa57=await global[_0x57a1e5(0xab)][0x0][_0x57a1e5(0xf1)];if(_0x41aa57){let _0x18f20f=!![];const _0x2186ea=await global[_0x57a1e5(0xab)][0x0][_0x57a1e5(0x12b)]();let _0x250e34;try{_0x250e34=new URL(_0x2186ea);}catch(_0x4f2019){_0x18f20f=![];}_0x18f20f=_0x1d07b3['SZUmg'](_0x250e34['protocol'],_0x1d07b3['NmlVn'])||_0x1d07b3[_0x57a1e5(0xb4)](_0x250e34[_0x57a1e5(0x110)],_0x1d07b3['iEDXv']),_0x18f20f&&(this[_0x57a1e5(0x10a)]['shouldScanTestForAccessibility']&&logger[_0x57a1e5(0x131)](_0x1d07b3['JzHdT'])),this[_0x57a1e5(0x10a)]['accessibilityScanStarted']=this[_0x57a1e5(0x10a)][_0x57a1e5(0xc8)],this['currentTest'][_0x57a1e5(0xc8)]&&logger[_0x57a1e5(0x131)](_0x1d07b3[_0x57a1e5(0x130)]);}}catch(_0x2598e9){logger['error'](_0x57a1e5(0xda)+util[_0x57a1e5(0xed)](_0x2598e9));}_0x1d07b3[_0x57a1e5(0xf3)](_0x2b1c18);})[_0x58f790(0x13e)](()=>{_0x5b89d0['zIXCt'](_0x4851a8);});},{'platform':_0x1d07b3[_0x3e5a91(0xea)](nestedKeyValue,global[_0x3e5a91(0xd4)],[_0x1d07b3['sIrIb']]),'hookType':_0x1d07b3[_0x3e5a91(0x10b)]})();},'afterEach'(_0x19d33e){const _0x2ebbef=a32_0x4def35,_0x4c5caf={'JToFw':function(_0x2d6f95,_0x1d5447){return _0x2d6f95>_0x1d5447;},'LwYOc':function(_0x494c98,_0x1cda0b){return _0x494c98===_0x1cda0b;},'sGAjX':_0x2ebbef(0xb1),'gmXsd':_0x2ebbef(0xe9),'JRJGT':function(_0x5d3083,_0x158767,_0x287edf,_0x12ffb2){return _0x5d3083(_0x158767,_0x287edf,_0x12ffb2);},'MlXaa':_0x2ebbef(0xaa),'ifIZK':_0x2ebbef(0xb9),'IFUAb':_0x2ebbef(0xc7),'iJIWS':_0x2ebbef(0xcb),'fxvNW':_0x2ebbef(0xc2),'VkTnk':_0x2ebbef(0xd1),'AfehU':function(_0x2e88b4){return _0x2e88b4();},'CJfxF':function(_0x5e5f50,_0x5de774,_0x2ba0de){return _0x5e5f50(_0x5de774,_0x2ba0de);},'NLGbu':_0x2ebbef(0x114),'OyIKg':_0x2ebbef(0xac),'lWCUD':function(_0x161e8e,_0x5a3dd8){return _0x161e8e!==_0x5a3dd8;},'skPur':_0x2ebbef(0x104),'BCqeV':function(_0x310c95,_0x1700e8){return _0x310c95+_0x1700e8;},'MVHsC':_0x2ebbef(0xb7),'HHFYf':_0x2ebbef(0xb0),'eEbuY':_0x2ebbef(0xca),'ldLeT':_0x2ebbef(0x131),'KKMRf':function(_0x104974,_0x51539c,_0x3fa316){return _0x104974(_0x51539c,_0x3fa316);},'DIsZs':'index','MHxGQ':_0x2ebbef(0xdc)},_0x5135ec='browserstack internal helper hook';this[_0x2ebbef(0x137)](0xfde8),global['sessionName']=this[_0x2ebbef(0x10a)][_0x2ebbef(0xe5)]()[_0x2ebbef(0xe0)](_0x4c5caf['OyIKg']),PerformanceTester[_0x2ebbef(0xd6)](PerformanceSdkEvents[_0x2ebbef(0xc6)],()=>{const _0x3457c3=_0x2ebbef,_0x5a9f28={'tjMaV':_0x4c5caf[_0x3457c3(0x10c)],'OXeWA':function(_0x129c87,_0x4cb611){return _0x4c5caf['lWCUD'](_0x129c87,_0x4cb611);},'AqrYo':_0x4c5caf[_0x3457c3(0x126)],'MrxoU':function(_0x1ccb9d,_0x4fd52e,_0x2632cb){const _0x5f21b0=_0x3457c3;return _0x4c5caf[_0x5f21b0(0x11c)](_0x1ccb9d,_0x4fd52e,_0x2632cb);},'oUckL':function(_0x11ab29,_0x2748f4){return _0x4c5caf['BCqeV'](_0x11ab29,_0x2748f4);},'RhVPr':_0x4c5caf['MVHsC'],'nCQUn':_0x4c5caf[_0x3457c3(0xbc)],'MVgsP':_0x4c5caf[_0x3457c3(0x108)],'qxtbe':_0x4c5caf[_0x3457c3(0xde)]},_0x2eb8a0=async(_0x5a8968,_0x54fc29)=>{const _0x326dfc=_0x3457c3;await global['__drivers'][0x0]['executeScript'](_0x326dfc(0xc3)+_0x5a8968+_0x326dfc(0x13c)+_0x54fc29+'\x22}}');};new Promise(async _0x399076=>{const _0x452574=_0x3457c3;try{_0x4c5caf['JToFw'](global['__drivers'][_0x452574(0xfb)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x452574(0x13b)](),global[_0x452574(0x109)]=[],global['__sessionFailed']=![]);try{if(global[_0x452574(0x143)]&&_0x4c5caf[_0x452574(0xbe)](global[_0x452574(0xf2)],_0x4c5caf[_0x452574(0x111)])&&global[_0x452574(0xab)][0x0]){const _0x3e456b=_0x4c5caf[_0x452574(0xb5)](global[_0x452574(0x113)][_0x452574(0xfb)],0x0)?!!global[_0x452574(0x113)][0x0][_0x452574(0x129)]||!!global[_0x452574(0x113)][0x0][_0x4c5caf[_0x452574(0xd0)]]:![],_0x5da2a2={};_0x5da2a2['app']=_0x3e456b,await _0x4c5caf[_0x452574(0xae)](percyAutoCapture,global[_0x452574(0xab)][0x0],_0x4c5caf[_0x452574(0x111)],_0x5da2a2);}}catch(_0x123844){logger[_0x452574(0x114)](_0x452574(0x11d)+_0x123844);}!global[_0x452574(0xfa)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x452574(0xf6)],async()=>{const _0xa4f9cb=_0x452574;await global[_0xa4f9cb(0xab)][0x0]['executeScript'](_0xa4f9cb(0x124)+JSON['stringify'](this[_0xa4f9cb(0x10a)][_0xa4f9cb(0xe5)]()[_0xa4f9cb(0xe0)](_0x5a9f28[_0xa4f9cb(0xba)]))+'}}');})(),global[_0x452574(0xab)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x452574(0xd6)](PerformanceAutEvents[_0x452574(0x13d)],async()=>{const _0x1d30a0=_0x452574,_0x5f2624=_0x5a9f28[_0x1d30a0(0x100)](this[_0x1d30a0(0x10a)][_0x1d30a0(0xd2)],_0x5a9f28['AqrYo']);_0x5f2624?(global['__sessionFailed']=!![],global['__error_messages__'][_0x1d30a0(0xee)](this[_0x1d30a0(0x10a)][_0x1d30a0(0xfc)][_0x1d30a0(0x11b)]),await _0x5a9f28[_0x1d30a0(0x140)](_0x2eb8a0,JSON[_0x1d30a0(0x11f)](_0x5a9f28['oUckL'](_0x5a9f28[_0x1d30a0(0x12f)],this[_0x1d30a0(0x10a)]['err'][_0x1d30a0(0x11b)])),_0x5a9f28[_0x1d30a0(0x13a)])):await _0x5a9f28['MrxoU'](_0x2eb8a0,JSON['stringify'](_0x5a9f28['MVgsP']),_0x5a9f28['qxtbe']);})();}catch(_0x403393){logger['debug'](_0x452574(0x102)+_0x403393);}try{if(this[_0x452574(0x10a)][_0x452574(0x136)]&&globals[_0x452574(0xb8)](_0x4c5caf['MlXaa'])&&globals[_0x452574(0xb8)](_0x4c5caf[_0x452574(0x10f)])){logger[_0x452574(0x131)](_0x4c5caf[_0x452574(0xd3)]);const _0x1f768c={};_0x1f768c[_0x452574(0x142)]=this['currentTest']['testAnalyticsId'],_0x1f768c[_0x452574(0x123)]=process[_0x452574(0xbd)][testHubConstants[_0x452574(0xcf)][_0x452574(0xd7)]],_0x1f768c[_0x452574(0xc1)]=process[_0x452574(0xbd)][testHubConstants[_0x452574(0xcf)]['BROWSERSTACK_TESTHUB_JWT']];const _0xc093a5=_0x1f768c;logger[_0x452574(0x114)](_0x452574(0x145)+JSON[_0x452574(0x11f)](_0xc093a5)),logger[_0x452574(0x114)](_0x4c5caf[_0x452574(0x139)]);const _0xbd3c30={};_0xbd3c30['command']=_0x4c5caf[_0x452574(0xe2)],await PerformanceTester[_0x452574(0xd6)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1024be=_0x452574;logger[_0x1024be(0x114)](util[_0x1024be(0xed)](await global[_0x1024be(0xab)][0x0][_0x1024be(0xbb)](scripts[_0x1024be(0xc9)],{'method':global[_0x1024be(0xdf)]})));},_0xbd3c30)(),await PerformanceTester[_0x452574(0xd6)](PerformanceA11yEvents[_0x452574(0x112)],async()=>{const _0x56520c=_0x452574;await global[_0x56520c(0xab)][0x0][_0x56520c(0xbb)](scripts[_0x56520c(0x125)],_0xc093a5);})(),logger[_0x452574(0x131)](_0x4c5caf[_0x452574(0xe6)]);}}catch(_0x42e1ff){logger[_0x452574(0xb0)](_0x452574(0xb2)+this['currentTest']['titlePath']()+_0x452574(0xc5),_0x42e1ff);}try{try{if(_0x4c5caf[_0x452574(0xf4)](shouldProcessEventForTesthub)){global[_0x452574(0xab)][0x0]&&await _0x4c5caf['CJfxF'](sendPlatformDetails,global['__drivers'][0x0],this[_0x452574(0x10a)]?this['currentTest'][_0x452574(0x12d)]:null);if(_0x4c5caf[_0x452574(0xf4)](isBrowserstackInfra)){PerformanceTester[_0x452574(0xad)](PerformanceO11yEvents[_0x452574(0x138)]);const _0x430469='ObservabilitySync:'+Date[_0x452574(0x141)]();await _0x4c5caf[_0x452574(0x11c)](_0x2eb8a0,JSON[_0x452574(0x11f)](_0x430469),_0x4c5caf[_0x452574(0x144)]),PerformanceTester[_0x452574(0xce)](PerformanceO11yEvents['SYNC']);}}}catch(_0xed8a8d){logger[_0x452574(0x114)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0xed8a8d),PerformanceTester[_0x452574(0xce)](PerformanceO11yEvents['SYNC'],![],_0xed8a8d);}_0x4c5caf[_0x452574(0xb5)](global[_0x452574(0xab)][0x0][_0x452574(0xcd)],0x0)&&await global[_0x452574(0x119)]();}catch(_0x43fe63){logger[_0x452574(0x114)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x43fe63);}_0x4c5caf[_0x452574(0xf4)](_0x399076);})['then'](()=>{const _0x574c12=_0x3457c3;_0x4c5caf[_0x574c12(0xf4)](_0x19d33e);});},{'platform':_0x4c5caf[_0x2ebbef(0xe8)](nestedKeyValue,global[_0x2ebbef(0xd4)],[_0x4c5caf[_0x2ebbef(0x10e)]]),'hookType':_0x4c5caf['MHxGQ']})();},'afterAll'(_0x1a7ff4){const _0x2c43b3=a32_0x4def35,_0x4fd94a={'FOFyS':function(_0x3da338){return _0x3da338();},'ZoAky':function(_0x19505a){return _0x19505a();},'JUOFa':function(_0x576e02,_0x27aac5,_0x5e02b4){return _0x576e02(_0x27aac5,_0x5e02b4);},'zGVLF':_0x2c43b3(0xe1),'FjDfx':_0x2c43b3(0xeb)},_0x439f4c='browserstack internal helper hook';this[_0x2c43b3(0x137)](0xfde8),PerformanceTester[_0x2c43b3(0xd6)](PerformanceSdkEvents[_0x2c43b3(0xc6)],()=>{const _0x5acc3e=_0x2c43b3,_0x579810={'sbMRi':function(_0x417196){const _0x15a54e=a32_0x5efe;return _0x4fd94a[_0x15a54e(0x105)](_0x417196);}};new Promise(async _0x15697e=>{const _0x51d8e3=a32_0x5efe;await global[_0x51d8e3(0x119)](),_0x4fd94a[_0x51d8e3(0x122)](_0x15697e);})['then']()[_0x5acc3e(0x118)](()=>{const _0x12fcfd=_0x5acc3e;_0x579810[_0x12fcfd(0x121)](_0x1a7ff4);});},{'platform':_0x4fd94a['JUOFa'](nestedKeyValue,global[_0x2c43b3(0xd4)],[_0x4fd94a[_0x2c43b3(0xe7)]]),'hookType':_0x4fd94a[_0x2c43b3(0x120)]})();}};function a32_0x539b(){const _0x2c0164=['skPur','WorMM','../../helpers/performance/constants','app','yLHSW','getCurrentUrl','beforeAll','testAnalyticsId','WQiwV','RhVPr','GBFWf','info','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','599818HLjHio','mochaHooks','../../helpers/testhub/constants','accessibilityScanStarted','timeout','SYNC','iJIWS','nCQUn','shift',',\x22level\x22:\x20\x22','SESSION_STATUS','then','isArray','MrxoU','now','thTestRunUuid','percy','NLGbu','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','4600140AUcoJh','isAccessibilityPlatform','__drivers','\x20-\x20','start','JRJGT','../../helpers/percy/utils','error','testcase','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','2lLlOFI','SZUmg','JToFw','TPBsN','Failed:\x20','getGlobal','bstackA11yShouldScan','tjMaV','executeAsyncScript','HHFYf','env','LwYOc','24581200PnNiym','1122280skTZcd','thJwtToken','afterTest','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','failed','.\x20Error\x20:','SDK_HOOK','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','shouldScanTestForAccessibility','performScan','Passed','Performing\x20scan\x20before\x20saving\x20results','../../helpers/logger','quitCount_','end','ENV_VAR','gmXsd','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','state','IFUAb','__platformCaps','2134266fJWxKX','measureWrapper','BROWSERSTACK_TESTHUB_UUID','QRWSG','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','./test-observability/mochaUtils','afterEach','\x20|\x20','ldLeT','browserstackSessionName','join','index','fxvNW','../../helpers/accessibility-automation/helper','winstonLogger','titlePath','VkTnk','zGVLF','KKMRf','appium:app','trFef','afterAll','CDEMc','format','push','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','pFbxd','session_','percyCaptureMode','caKGu','AfehU','8373465QjLakw','SESSION_NAME','../../helpers/testhub/utils','http:','jCHFX','__skipSessionName','length','err','4sbSJwi','beforeEach','initQuit','OXeWA','setGlobal','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','../../helpers/performance/performance-tester','passed','ZoAky','startMonitoring','63yYEZwE','eEbuY','__error_messages__','currentTest','yleYj','OyIKg','mfdCv','DIsZs','ifIZK','protocol','sGAjX','SAVE_RESULTS','capabilities','debug','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','508209HKZkAu','https:','finally','driverCleanup','TqKVz','message','CJfxF','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','__sessionFailed','stringify','FjDfx','sbMRi','FOFyS','thBuildUuid','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','saveTestResults'];a32_0x539b=function(){return _0x2c0164;};return a32_0x539b();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x1259e6=a33_0x1c2f;(function(_0x54bb5f,_0x2d5ba6){const _0x42d2f1=a33_0x1c2f,_0xb73272=_0x54bb5f();while(!![]){try{const _0x577110=-parseInt(_0x42d2f1(0x1aa))/0x1+-parseInt(_0x42d2f1(0x175))/0x2+-parseInt(_0x42d2f1(0x1c0))/0x3*(parseInt(_0x42d2f1(0x185))/0x4)+-parseInt(_0x42d2f1(0x198))/0x5*(-parseInt(_0x42d2f1(0x176))/0x6)+-parseInt(_0x42d2f1(0x19a))/0x7+parseInt(_0x42d2f1(0x1ba))/0x8+parseInt(_0x42d2f1(0x1a0))/0x9*(parseInt(_0x42d2f1(0x19b))/0xa);if(_0x577110===_0x2d5ba6)break;else _0xb73272['push'](_0xb73272['shift']());}catch(_0x36a578){_0xb73272['push'](_0xb73272['shift']());}}}(a33_0x15bc,0x97f0a));const fs=require('fs'),path=require(a33_0x1259e6(0x1a2)),{spawn}=require(a33_0x1259e6(0x18e)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x1259e6(0x17e)),helper=require(a33_0x1259e6(0x1a9)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x452b5a,_0x22c9be)=>{const _0x33c621=a33_0x1259e6,_0x4db398={'XLWqX':_0x33c621(0x180),'LyZQY':_0x33c621(0x1b6),'OvOEx':function(_0x366beb,_0x48b8bd){return _0x366beb(_0x48b8bd);},'CjcrR':_0x33c621(0x190)};let _0x164f86=null,_0x1a43f1={};const _0x35f6ea=_0x22c9be['findIndex'](_0x47160b=>_0x47160b===_0x33c621(0x17c));if(!helper[_0x33c621(0x1a7)](_0x452b5a['config'])&&fs[_0x33c621(0x195)](path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x452b5a[_0x33c621(0x199)])))_0x164f86=path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x452b5a[_0x33c621(0x199)]),_0x22c9be['splice'](_0x35f6ea,0x2);else{if(fs[_0x33c621(0x195)](path[_0x33c621(0x19f)](process['cwd'](),_0x4db398['XLWqX'])))_0x164f86=path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x4db398[_0x33c621(0x172)]);else fs[_0x33c621(0x195)](path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x4db398[_0x33c621(0x17b)]))&&(_0x164f86=path[_0x33c621(0x19f)](process[_0x33c621(0x19e)](),_0x4db398[_0x33c621(0x17b)]));}return _0x164f86?(logger[_0x33c621(0x1bb)](_0x33c621(0x1b2)+_0x164f86),_0x1a43f1=_0x4db398[_0x33c621(0x194)](require,_0x164f86)):logger[_0x33c621(0x1bb)](_0x4db398[_0x33c621(0x174)]),_0x1a43f1;},removeExistingEnvs=_0x30e528=>{const _0x1b8366=a33_0x1259e6,_0x23d01d={};_0x23d01d[_0x1b8366(0x18a)]=function(_0x3a303e,_0x953bb){return _0x3a303e>_0x953bb;},_0x23d01d['dqQEI']=function(_0x56a400,_0x42fb33){return _0x56a400>_0x42fb33;};const _0x1cd627=_0x23d01d;let _0x1e3af5=_0x30e528[_0x1b8366(0x1b0)](_0x1cde31=>_0x1cde31===_0x1b8366(0x192));_0x1cd627[_0x1b8366(0x18a)](_0x1e3af5,-0x1)&&_0x30e528['splice'](_0x1e3af5,0x2),_0x1e3af5=_0x30e528[_0x1b8366(0x1b0)](_0x1cfd11=>_0x1cfd11==='-e'),_0x1cd627['dqQEI'](_0x1e3af5,-0x1)&&_0x30e528[_0x1b8366(0x1b3)](_0x1e3af5,0x2);};function a33_0x1c2f(_0x4a03ab,_0x4d2da0){const _0x15bc26=a33_0x15bc();return a33_0x1c2f=function(_0x1c2f55,_0x3f7d93){_0x1c2f55=_0x1c2f55-0x171;let _0x4d3ed8=_0x15bc26[_0x1c2f55];return _0x4d3ed8;},a33_0x1c2f(_0x4a03ab,_0x4d2da0);}function a33_0x15bc(){const _0x48e031=['qVXma','../../helpers/helper','525247czdPNh','slice','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','YnJjh','nightwatch.cmd','close','findIndex','LGGbR','Getting\x20your\x20nightwatch\x20configs\x20from\x20','splice','split','hub.browserstack.com','nightwatch.json','host','length','nightwatch','3245824xkWafO','info','platforms','desiredCapabilities','JHuSN','stringify','1970169uIBQFS','mergeDeep','XLWqX','unlinkSync','CjcrR','1898344VzSdhH','6bllYLP','inherit','writeFileSync','forEach','modifyBrowserStackW3CCaps','LyZQY','--config','MPnCE','../../helpers/BrowserStackSetup','aMrht','nightwatch.conf.js','useW3C','hqMKH','kddvX','port','4qVlUwh','eZtFA','Atcld','debug','Deleting\x20','lQeeR','webdriver','test','BpchH','child_process','child\x20process\x20exited\x20with\x20code\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','filter','--env','map','OvOEx','existsSync','selenium','start_process','2179130nxILTD','config','437276NeFyhL','365630vROQkd','trim','exports','cwd','join','486byWuAP','env','path','push','zkaqg','test_settings','now','isUndefined'];a33_0x15bc=function(){return _0x48e031;};return a33_0x15bc();}function run(_0x91e3f7,_0x37b0f9){const _0xe35f86=a33_0x1259e6,_0x3b64d6={'Atcld':_0xe35f86(0x1b9),'apORd':function(_0x21f6bd,_0x5d16b0){return _0x21f6bd+_0x5d16b0;},'eZtFA':'test_settings','hqMKH':function(_0x49bbf1,_0x581349,_0x41f408){return _0x49bbf1(_0x581349,_0x41f408);},'MPnCE':_0xe35f86(0x1b5),'txIaY':_0xe35f86(0x1ac),'qVXma':function(_0x39f6dc,_0x110a1c){return _0x39f6dc===_0x110a1c;},'KgvWr':'nightwatch-browserstack.json','JHuSN':function(_0x5f4213,_0x97de6d){return _0x5f4213(_0x97de6d);},'kddvX':function(_0x41e99a,_0x2a628c,_0xb041ad,_0x4fd960){return _0x41e99a(_0x2a628c,_0xb041ad,_0x4fd960);},'zkaqg':_0xe35f86(0x1ae),'OUbnK':'--config','YnJjh':_0xe35f86(0x192),'BpchH':_0xe35f86(0x177),'mWeot':_0xe35f86(0x1af)},_0x1a95a3=new BrowserStackSetup(_0x91e3f7);if(!_0x1a95a3['config'])return;const _0x46d49a=_0x3b64d6[_0xe35f86(0x182)](getUserNightwatchConfigs,_0x91e3f7,_0x37b0f9),_0x1e0c14={};_0x1e0c14[_0xe35f86(0x197)]=![];const _0x2b2a32={};_0x2b2a32[_0xe35f86(0x1b7)]=_0x3b64d6[_0xe35f86(0x17d)],_0x2b2a32[_0xe35f86(0x184)]=0x1bb;const _0x3c79de={};_0x3c79de[_0xe35f86(0x18b)]=_0x1e0c14,_0x3c79de[_0xe35f86(0x196)]=_0x2b2a32;const _0x40957c=_0x3c79de;logger[_0xe35f86(0x1bb)](_0x3b64d6['txIaY']);const _0x533a93={..._0x46d49a},_0x3ba4e1=_0x533a93,_0x181a93=helper[_0xe35f86(0x181)](_0x1a95a3[_0xe35f86(0x199)]),_0x2ba66e=[];_0x1a95a3['config'][_0xe35f86(0x1bc)][_0xe35f86(0x179)]((_0x3340f0,_0x2e6ce5)=>{const _0x1f6cbd=_0xe35f86;_0x181a93?_0x2ba66e[_0x1f6cbd(0x1a3)](helper[_0x1f6cbd(0x17a)](_0x1a95a3[_0x1f6cbd(0x199)],_0x3b64d6['Atcld'],_0x2e6ce5)):_0x2ba66e[_0x1f6cbd(0x1a3)](helper['modifyBrowserStackCaps'](_0x1a95a3['config'],_0x3b64d6[_0x1f6cbd(0x187)],_0x2e6ce5));});const _0x12f8b5={},_0xb5221d=[];_0x91e3f7['env']=_0x91e3f7[_0xe35f86(0x1a1)]||_0x91e3f7['e'];const _0x18ef16=_0x91e3f7[_0xe35f86(0x1a1)]?_0x91e3f7['env'][_0xe35f86(0x19c)]()[_0xe35f86(0x1b4)](',')[_0xe35f86(0x193)](_0x163c57=>_0x163c57[_0xe35f86(0x19c)]())[_0xe35f86(0x191)](_0x4bfaff=>_0x4bfaff!==''):[''];_0x3b64d6[_0xe35f86(0x1a8)](_0x18ef16[_0xe35f86(0x1b8)],0x0)&&_0x18ef16[_0xe35f86(0x1a3)]('');_0x18ef16[_0xe35f86(0x179)](_0x41583a=>{const _0x43a070=_0xe35f86,_0x39eefd={'aMrht':function(_0x22f209,_0x189a5a){return _0x3b64d6['apORd'](_0x22f209,_0x189a5a);},'LGGbR':_0x3b64d6[_0x43a070(0x186)]};_0x2ba66e[_0x43a070(0x179)](_0x1fc176=>{const _0x1dbc63=_0x43a070;let _0x3aba24=_0x39eefd[_0x1dbc63(0x17f)](helper['getPlatformName'](_0x1fc176,'_'),'_'+Date[_0x1dbc63(0x1a6)]());_0x41583a&&(_0x3aba24+='_'+_0x41583a);if(_0x41583a&&(!_0x46d49a[_0x39eefd['LGGbR']]||!_0x46d49a[_0x39eefd[_0x1dbc63(0x1b1)]][_0x41583a]))return;const _0x4fcbc9={..._0x40957c};_0x4fcbc9[_0x1dbc63(0x1bd)]=_0x1fc176;const _0x1150b8=_0x4fcbc9;_0x12f8b5[_0x3aba24]=_0x41583a?helper[_0x1dbc63(0x171)](_0x46d49a[_0x39eefd[_0x1dbc63(0x1b1)]][_0x41583a],_0x1150b8):_0x1150b8,_0xb5221d[_0x1dbc63(0x1a3)](_0x3aba24);});});!_0x3ba4e1[_0xe35f86(0x1a5)]&&(_0x3ba4e1[_0xe35f86(0x1a5)]={});_0x3ba4e1['test_settings']={..._0x3ba4e1[_0xe35f86(0x1a5)],..._0x12f8b5};const _0x27d937=path[_0xe35f86(0x19f)](__dirname,_0x3b64d6['KgvWr']);fs[_0xe35f86(0x178)](_0x27d937,JSON[_0xe35f86(0x1bf)](_0x3ba4e1)),_0x3b64d6[_0xe35f86(0x1be)](removeExistingEnvs,_0x37b0f9);const _0x50de40=_0x3b64d6[_0xe35f86(0x183)](spawn,/^win/[_0xe35f86(0x18c)](process['platform'])?_0x3b64d6[_0xe35f86(0x1a4)]:_0x3b64d6[_0xe35f86(0x187)],[_0x3b64d6['OUbnK'],_0x27d937,..._0x37b0f9[_0xe35f86(0x1ab)](0x1),_0x3b64d6[_0xe35f86(0x1ad)],_0xb5221d[_0xe35f86(0x19f)](',')],{'stdio':_0x3b64d6[_0xe35f86(0x18d)]});_0x50de40['on'](_0x3b64d6['mWeot'],async _0x2e6256=>{const _0x2d214d=_0xe35f86;logger[_0x2d214d(0x188)](_0x2d214d(0x18f)+_0x2e6256),logger[_0x2d214d(0x1bb)](_0x2d214d(0x189)+_0x27d937),fs[_0x2d214d(0x173)](_0x27d937);});}module[a33_0x1259e6(0x19d)]=run;
2
+ 'use strict';const a33_0x47244e=a33_0x329b;function a33_0x329b(_0xf47e71,_0x2ea420){const _0x30245a=a33_0x3024();return a33_0x329b=function(_0x329b98,_0x360e8a){_0x329b98=_0x329b98-0x1e4;let _0x578b27=_0x30245a[_0x329b98];return _0x578b27;},a33_0x329b(_0xf47e71,_0x2ea420);}(function(_0x497e71,_0x5b386b){const _0x10c6de=a33_0x329b,_0x1e1047=_0x497e71();while(!![]){try{const _0x9ff6c5=-parseInt(_0x10c6de(0x202))/0x1+parseInt(_0x10c6de(0x201))/0x2+parseInt(_0x10c6de(0x218))/0x3*(parseInt(_0x10c6de(0x1f7))/0x4)+parseInt(_0x10c6de(0x223))/0x5*(-parseInt(_0x10c6de(0x1ea))/0x6)+-parseInt(_0x10c6de(0x20e))/0x7+parseInt(_0x10c6de(0x203))/0x8+parseInt(_0x10c6de(0x1fb))/0x9;if(_0x9ff6c5===_0x5b386b)break;else _0x1e1047['push'](_0x1e1047['shift']());}catch(_0x317cc7){_0x1e1047['push'](_0x1e1047['shift']());}}}(a33_0x3024,0x3b564));const fs=require('fs'),path=require(a33_0x47244e(0x1ee)),{spawn}=require(a33_0x47244e(0x226)),logger=require(a33_0x47244e(0x1ed))[a33_0x47244e(0x22a)],{default:BrowserStackSetup}=require(a33_0x47244e(0x1ef)),helper=require('../../helpers/helper'),constants=require(a33_0x47244e(0x204)),getUserNightwatchConfigs=(_0x5ca3ca,_0x121247)=>{const _0x295457=a33_0x47244e,_0x20e06a={'XSGQR':_0x295457(0x225),'pCpfl':_0x295457(0x207),'utxmQ':function(_0x311b55,_0x3672b3){return _0x311b55(_0x3672b3);},'mvKpa':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x1ccedd=null,_0x49a785={};const _0x29b19d=_0x121247['findIndex'](_0x4b3b26=>_0x4b3b26===_0x295457(0x1e5));if(!helper[_0x295457(0x212)](_0x5ca3ca[_0x295457(0x20d)])&&fs[_0x295457(0x1fd)](path[_0x295457(0x208)](process['cwd'](),_0x5ca3ca[_0x295457(0x20d)])))_0x1ccedd=path[_0x295457(0x208)](process[_0x295457(0x1fa)](),_0x5ca3ca['config']),_0x121247['splice'](_0x29b19d,0x2);else{if(fs[_0x295457(0x1fd)](path['join'](process[_0x295457(0x1fa)](),_0x20e06a['XSGQR'])))_0x1ccedd=path[_0x295457(0x208)](process[_0x295457(0x1fa)](),_0x20e06a[_0x295457(0x219)]);else fs[_0x295457(0x1fd)](path[_0x295457(0x208)](process['cwd'](),_0x20e06a[_0x295457(0x227)]))&&(_0x1ccedd=path[_0x295457(0x208)](process['cwd'](),_0x20e06a[_0x295457(0x227)]));}return _0x1ccedd?(logger[_0x295457(0x1f9)](_0x295457(0x1e9)+_0x1ccedd),_0x49a785=_0x20e06a[_0x295457(0x1fc)](require,_0x1ccedd)):logger[_0x295457(0x1f9)](_0x20e06a[_0x295457(0x21a)]),_0x49a785;},removeExistingEnvs=_0x17e18a=>{const _0x361ba8=a33_0x47244e,_0x3e9018={};_0x3e9018[_0x361ba8(0x21c)]=function(_0x1a9a1e,_0x4f96e2){return _0x1a9a1e>_0x4f96e2;},_0x3e9018['jMFHt']=function(_0x10745d,_0x18507a){return _0x10745d>_0x18507a;};const _0x406e0d=_0x3e9018;let _0x54f292=_0x17e18a[_0x361ba8(0x22b)](_0x18f5e6=>_0x18f5e6===_0x361ba8(0x217));_0x406e0d[_0x361ba8(0x21c)](_0x54f292,-0x1)&&_0x17e18a[_0x361ba8(0x209)](_0x54f292,0x2),_0x54f292=_0x17e18a['findIndex'](_0x3a4426=>_0x3a4426==='-e'),_0x406e0d[_0x361ba8(0x20c)](_0x54f292,-0x1)&&_0x17e18a[_0x361ba8(0x209)](_0x54f292,0x2);};function run(_0xe5da75,_0x32a046){const _0x1bdd2a=a33_0x47244e,_0x356cbb={'dCCBU':_0x1bdd2a(0x1ff),'JEyLg':function(_0x268fe3,_0x395372){return _0x268fe3+_0x395372;},'iqyNk':_0x1bdd2a(0x214),'QsvSe':function(_0x2dc111,_0x2c067d,_0x15bdaa){return _0x2dc111(_0x2c067d,_0x15bdaa);},'VOwkA':_0x1bdd2a(0x1f5),'gcIlQ':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','GgaaU':function(_0x2627f5,_0x881ee9){return _0x2627f5===_0x881ee9;},'NRoUs':_0x1bdd2a(0x1f1),'ZTNeB':function(_0x5a3016,_0x416f42){return _0x5a3016(_0x416f42);},'fYOVA':function(_0x34d3ee,_0x306c83,_0x1fbe30,_0xe9c9a8){return _0x34d3ee(_0x306c83,_0x1fbe30,_0xe9c9a8);},'ZJczK':_0x1bdd2a(0x22d),'Nssxk':_0x1bdd2a(0x1e5),'LMVMw':'--env','hyxZU':_0x1bdd2a(0x224),'UbOlO':_0x1bdd2a(0x210)},_0x3ab6f0=new BrowserStackSetup(_0xe5da75);if(!_0x3ab6f0[_0x1bdd2a(0x20d)])return;const _0x191ecb=_0x356cbb[_0x1bdd2a(0x1fe)](getUserNightwatchConfigs,_0xe5da75,_0x32a046),_0x36e5a0={};_0x36e5a0[_0x1bdd2a(0x1f8)]=![];const _0x232ebb={};_0x232ebb['host']=_0x356cbb['VOwkA'],_0x232ebb[_0x1bdd2a(0x21f)]=0x1bb;const _0x11f8c3={};_0x11f8c3[_0x1bdd2a(0x1ec)]=_0x36e5a0,_0x11f8c3[_0x1bdd2a(0x215)]=_0x232ebb;const _0x2e0968=_0x11f8c3;logger['info'](_0x356cbb[_0x1bdd2a(0x1f3)]);const _0x4d1fc1={..._0x191ecb},_0x368d6f=_0x4d1fc1,_0x1fb821=helper['useW3C'](_0x3ab6f0[_0x1bdd2a(0x20d)]),_0x291982=[];_0x3ab6f0['config']['platforms'][_0x1bdd2a(0x1f2)]((_0x387660,_0x1af8f4)=>{const _0x43f46f=_0x1bdd2a;_0x1fb821?_0x291982[_0x43f46f(0x22e)](helper[_0x43f46f(0x1f6)](_0x3ab6f0[_0x43f46f(0x20d)],_0x356cbb[_0x43f46f(0x1e4)],_0x1af8f4)):_0x291982[_0x43f46f(0x22e)](helper[_0x43f46f(0x1f0)](_0x3ab6f0[_0x43f46f(0x20d)],_0x356cbb['dCCBU'],_0x1af8f4));});const _0x5e8596={},_0x35daf4=[];_0xe5da75[_0x1bdd2a(0x222)]=_0xe5da75['env']||_0xe5da75['e'];const _0x3af408=_0xe5da75['env']?_0xe5da75[_0x1bdd2a(0x222)]['trim']()[_0x1bdd2a(0x220)](',')[_0x1bdd2a(0x20f)](_0x3345f7=>_0x3345f7['trim']())['filter'](_0x3eb744=>_0x3eb744!==''):[''];_0x356cbb[_0x1bdd2a(0x228)](_0x3af408[_0x1bdd2a(0x205)],0x0)&&_0x3af408[_0x1bdd2a(0x22e)]('');_0x3af408[_0x1bdd2a(0x1f2)](_0x2c6c86=>{const _0x135f19=_0x1bdd2a;_0x291982[_0x135f19(0x1f2)](_0x338408=>{const _0x13b512=_0x135f19;let _0x14595a=_0x356cbb[_0x13b512(0x1e8)](helper['getPlatformName'](_0x338408,'_'),'_'+Date[_0x13b512(0x1e7)]());_0x2c6c86&&(_0x14595a+='_'+_0x2c6c86);if(_0x2c6c86&&(!_0x191ecb[_0x356cbb[_0x13b512(0x1eb)]]||!_0x191ecb[_0x356cbb[_0x13b512(0x1eb)]][_0x2c6c86]))return;const _0x51db77={..._0x2e0968};_0x51db77[_0x13b512(0x206)]=_0x338408;const _0x49ade2=_0x51db77;_0x5e8596[_0x14595a]=_0x2c6c86?helper[_0x13b512(0x221)](_0x191ecb[_0x356cbb[_0x13b512(0x1eb)]][_0x2c6c86],_0x49ade2):_0x49ade2,_0x35daf4[_0x13b512(0x22e)](_0x14595a);});});!_0x368d6f[_0x1bdd2a(0x214)]&&(_0x368d6f[_0x1bdd2a(0x214)]={});_0x368d6f['test_settings']={..._0x368d6f[_0x1bdd2a(0x214)],..._0x5e8596};const _0x556e65=path['join'](__dirname,_0x356cbb[_0x1bdd2a(0x216)]);fs[_0x1bdd2a(0x211)](_0x556e65,JSON['stringify'](_0x368d6f)),_0x356cbb[_0x1bdd2a(0x22c)](removeExistingEnvs,_0x32a046);const _0x4c0ea1=_0x356cbb[_0x1bdd2a(0x20a)](spawn,/^win/[_0x1bdd2a(0x21b)](process[_0x1bdd2a(0x20b)])?_0x356cbb['ZJczK']:_0x356cbb[_0x1bdd2a(0x1e4)],[_0x356cbb['Nssxk'],_0x556e65,..._0x32a046[_0x1bdd2a(0x200)](0x1),_0x356cbb[_0x1bdd2a(0x213)],_0x35daf4[_0x1bdd2a(0x208)](',')],{'stdio':_0x356cbb[_0x1bdd2a(0x21d)]});_0x4c0ea1['on'](_0x356cbb[_0x1bdd2a(0x21e)],async _0x1970b3=>{const _0x2e1aa4=_0x1bdd2a;logger['debug'](_0x2e1aa4(0x1e6)+_0x1970b3),logger[_0x2e1aa4(0x1f9)](_0x2e1aa4(0x1f4)+_0x556e65),fs[_0x2e1aa4(0x229)](_0x556e65);});}module['exports']=run;function a33_0x3024(){const _0x141a56=['split','mergeDeep','env','695juxrwj','inherit','nightwatch.conf.js','child_process','pCpfl','GgaaU','unlinkSync','winstonLogger','findIndex','ZTNeB','nightwatch.cmd','push','dCCBU','--config','child\x20process\x20exited\x20with\x20code\x20','now','JEyLg','Getting\x20your\x20nightwatch\x20configs\x20from\x20','8934rNDHoI','iqyNk','webdriver','../../helpers/logger','path','../../helpers/BrowserStackSetup','modifyBrowserStackCaps','nightwatch-browserstack.json','forEach','gcIlQ','Deleting\x20','hub.browserstack.com','modifyBrowserStackW3CCaps','7036vHlXjJ','start_process','info','cwd','2511513mjRocE','utxmQ','existsSync','QsvSe','nightwatch','slice','716468UOaymg','399672AybYOS','2180360zBULmw','../utils/constants','length','desiredCapabilities','nightwatch.json','join','splice','fYOVA','platform','jMFHt','config','3289972RbWLiO','map','close','writeFileSync','isUndefined','LMVMw','test_settings','selenium','NRoUs','--env','699pRSltf','XSGQR','mvKpa','test','zRREi','hyxZU','UbOlO','port'];a33_0x3024=function(){return _0x141a56;};return a33_0x3024();}
@@ -1 +1 @@
1
- function a34_0x51c5(){const _0x15103d=['BJPFv','executeScript','bestPractice','parse','getAccessibilityResultsSummary','includeIssueType','VVQAD','use','browser_version','UWFLI','deviceName','660789FMErrO','VVrat','mcbdX','browserName','trqac','WebDriver','PERFORM_SCAN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','OLbak','CqVpf','pVEyc','playwright-chromium','stringify','anuWH','testInfo','bstackSdkArgs','processAccessibilityCaps','scannerVersion','ehnEh','yLISV','1326563ukbdyy','258197SjKbOH','chrome','WxMZx','connectOptions','BlFgv','PTdsI','evaluate','browser','accessibilityOptions.includeIssueType.needsReview','measureWrapper','../../helpers/performance/constants','accessibilityOptions','accessibilityOptions.wcagVersion','name','BS_A11Y_JWT','../../helpers/logger','No\x20summaryResults\x20found.','ONxoe','rAGwc','MTeLo','No\x20accessibility\x20results\x20were\x20found.','FPixX','format','VhwDA','341888tXDAaA','WzbVx','512298xokMFH','wsEndpoint','getAccessibilityResults','../../helpers/performance/performance-tester','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','../../helpers/accessibility-automation/helper','AKybw','debug','accessibilityPlatform','../../helpers/helper','TnkNj','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','LHfmR','workerInfo','Playwright','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','1561525JXVQCx','env','(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','UUqsw','project','OmxkS','warn','browserStackEvaluate','iJOpb','dHuPz','IzFTD','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','XhStL','wcagVersion','38552YzMyIx','command','replace','util','browserstack.accessibility','OVspG','16mBiWxo','latest','browserStackExecuteDriver','rTPJN','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','currentTest','scannerProcessingTimeout','OPKpc','accessibilityOptions.scannerVersion','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','constructor','accessibilityOptions.includeIssueType.bestPractice','setAccessibilityCapabilities'];a34_0x51c5=function(){return _0x15103d;};return a34_0x51c5();}function a34_0x2a75(_0x4caeb3,_0x4a6dce){const _0x51c562=a34_0x51c5();return a34_0x2a75=function(_0x2a755a,_0x58f534){_0x2a755a=_0x2a755a-0x119;let _0x5759cd=_0x51c562[_0x2a755a];return _0x5759cd;},a34_0x2a75(_0x4caeb3,_0x4a6dce);}const a34_0x32afa0=a34_0x2a75;(function(_0xc9cb11,_0x16595c){const _0x4fd390=a34_0x2a75,_0x3fba20=_0xc9cb11();while(!![]){try{const _0x7bc8b9=parseInt(_0x4fd390(0x17c))/0x1+parseInt(_0x4fd390(0x149))/0x2+-parseInt(_0x4fd390(0x167))/0x3+parseInt(_0x4fd390(0x129))/0x4+parseInt(_0x4fd390(0x13b))/0x5+parseInt(_0x4fd390(0x12b))/0x6+parseInt(_0x4fd390(0x17b))/0x7*(-parseInt(_0x4fd390(0x14f))/0x8);if(_0x7bc8b9===_0x16595c)break;else _0x3fba20['push'](_0x3fba20['shift']());}catch(_0x5c39af){_0x3fba20['push'](_0x3fba20['shift']());}}}(a34_0x51c5,0x27648));const util=require(a34_0x32afa0(0x14c)),logger=require(a34_0x32afa0(0x120))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x32afa0(0x130)),{isUndefined}=require(a34_0x32afa0(0x134)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x32afa0(0x12e)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x32afa0(0x11b));exports[a34_0x32afa0(0x142)]=async(_0x6bec5a,_0x35510d,_0x124a06={})=>{const _0x3c1f56=a34_0x32afa0,_0x59a5a8={};_0x59a5a8[_0x3c1f56(0x152)]=_0x3c1f56(0x176);const _0x5bd050=_0x59a5a8;return await _0x6bec5a[_0x3c1f56(0x182)]('(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'+_0x35510d[_0x3c1f56(0x14b)](/arguments/g,_0x5bd050['rTPJN'])+_0x3c1f56(0x158)+JSON['stringify'](_0x124a06)+')');},exports[a34_0x32afa0(0x151)]=async(_0x3e9edf,_0x2da158,_0x53dee7={})=>{const _0x35830f=a34_0x32afa0,_0x13b902={};_0x13b902[_0x35830f(0x13e)]=function(_0x2eb6db,_0x4e04b6){return _0x2eb6db===_0x4e04b6;},_0x13b902[_0x35830f(0x180)]=_0x35830f(0x16c),_0x13b902[_0x35830f(0x143)]=_0x35830f(0x139),_0x13b902[_0x35830f(0x17a)]='bstackSdkArgs';const _0x29fc87=_0x13b902;if(_0x29fc87[_0x35830f(0x13e)](_0x3e9edf[_0x35830f(0x159)][_0x35830f(0x11e)],_0x29fc87[_0x35830f(0x180)]))return await _0x3e9edf['executeAsyncScript'](_0x2da158,_0x53dee7);else{if(_0x29fc87[_0x35830f(0x13e)](_0x3e9edf[_0x35830f(0x159)][_0x35830f(0x11e)],_0x29fc87[_0x35830f(0x143)]))return await _0x3e9edf[_0x35830f(0x15d)](_0x35830f(0x13d)+_0x2da158['replace'](/arguments/g,_0x29fc87['yLISV'])+_0x35830f(0x136)+JSON[_0x35830f(0x173)](_0x53dee7)+')');}},exports[a34_0x32afa0(0x15b)]=async _0x371eaf=>{const _0x1a9bee=a34_0x32afa0,_0x40663b={};_0x40663b['VVQAD']=_0x1a9bee(0x11d),_0x40663b[_0x1a9bee(0x122)]='accessibilityOptions.scannerProcessingTimeout',_0x40663b[_0x1a9bee(0x170)]=_0x1a9bee(0x15a),_0x40663b[_0x1a9bee(0x124)]=_0x1a9bee(0x119),_0x40663b['mcbdX']='accessibilityOptions.authToken',_0x40663b[_0x1a9bee(0x181)]=_0x1a9bee(0x157);const _0x5e6605=_0x40663b;_0x371eaf[_0x1a9bee(0x11c)]&&(_0x371eaf[_0x1a9bee(0x11c)][_0x1a9bee(0x148)]&&(_0x371eaf[_0x5e6605[_0x1a9bee(0x162)]]=_0x371eaf[_0x1a9bee(0x11c)][_0x1a9bee(0x148)]),_0x371eaf[_0x1a9bee(0x11c)][_0x1a9bee(0x155)]&&(_0x371eaf[_0x5e6605['ONxoe']]=_0x371eaf[_0x1a9bee(0x11c)]['scannerProcessingTimeout']),_0x371eaf['accessibilityOptions']['includeIssueType']&&(_0x371eaf[_0x5e6605[_0x1a9bee(0x170)]]=_0x371eaf['accessibilityOptions'][_0x1a9bee(0x161)][_0x1a9bee(0x15e)],_0x371eaf[_0x5e6605[_0x1a9bee(0x124)]]=_0x371eaf[_0x1a9bee(0x11c)]['includeIssueType']['needsReview']));const _0x22e15b=JSON[_0x1a9bee(0x15f)](process[_0x1a9bee(0x13c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x1a9bee(0x178)];_0x371eaf[_0x5e6605[_0x1a9bee(0x169)]]=process[_0x1a9bee(0x13c)][_0x1a9bee(0x11f)],_0x371eaf[_0x5e6605[_0x1a9bee(0x181)]]=_0x22e15b,delete _0x371eaf['accessibilityOptions'];},exports[a34_0x32afa0(0x12d)]=async _0x5530b1=>{const _0x389ff4=a34_0x32afa0,_0x8f3b03={};_0x8f3b03[_0x389ff4(0x144)]=_0x389ff4(0x125),_0x8f3b03[_0x389ff4(0x137)]=_0x389ff4(0x146);const _0x1a5b1c=_0x8f3b03;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5530b1,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5530b1,scripts.getResults);})();return res;}catch{return logger['error'](_0x1a5b1c[_0x389ff4(0x144)]),[];}else return logger[_0x389ff4(0x141)](_0x1a5b1c['LHfmR']),[];},exports['performScan']=async(_0x24c0a8,_0x1297d8='')=>{const _0x532521=a34_0x32afa0;if(global['accessibilityPlatform'])return await PerformanceTester[_0x532521(0x11a)](PerformanceA11yEvents[_0x532521(0x16d)],async()=>{const _0x513265=_0x532521,_0x166a3e={};_0x166a3e[_0x513265(0x14a)]=_0x1297d8,await exports['browserStackEvaluate'](_0x24c0a8,scripts['performScan'],_0x166a3e);},{'command':_0x1297d8})();},exports[a34_0x32afa0(0x160)]=async _0x1e1617=>{const _0x5849a4=a34_0x32afa0,_0x42ab44={};_0x42ab44['WxMZx']=_0x5849a4(0x121),_0x42ab44[_0x5849a4(0x126)]=_0x5849a4(0x13a);const _0x832678=_0x42ab44;if(global[_0x5849a4(0x133)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1e1617,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1e1617,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x5849a4(0x132)](_0x832678[_0x5849a4(0x17e)]),{};}else return logger['warn'](_0x832678[_0x5849a4(0x126)]),{};},exports['platformValidation']=async _0x554f12=>{const _0x4d99e4=a34_0x32afa0,_0x4b8734={'BJPFv':function(_0x2c350d,_0x199c8d){return _0x2c350d!==_0x199c8d;},'OLbak':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','ehnEh':function(_0x6dfbcf,_0x115d88){return _0x6dfbcf===_0x115d88;},'IqtML':_0x4d99e4(0x17d),'TnkNj':'playwright-chromium','nGePe':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','OVspG':function(_0xf11ac6,_0x12cab4){return _0xf11ac6(_0x12cab4);},'Fswqo':function(_0x28eb67,_0x150c8c){return _0x28eb67===_0x150c8c;},'OPKpc':_0x4d99e4(0x150),'anuWH':function(_0x5a416f,_0x50b711){return _0x5a416f>_0x50b711;},'khOiH':_0x4d99e4(0x12f)};try{if(!_0x4b8734[_0x4d99e4(0x15c)](_0x554f12[_0x4d99e4(0x166)],''))return logger[_0x4d99e4(0x141)](_0x4b8734[_0x4d99e4(0x16f)]),![];const _0x141a22=_0x554f12[_0x4d99e4(0x183)];if(!(_0x4b8734[_0x4d99e4(0x179)](_0x141a22,_0x4b8734['IqtML'])||_0x4b8734[_0x4d99e4(0x179)](_0x141a22,_0x4b8734[_0x4d99e4(0x135)])))return logger['warn'](_0x4b8734['nGePe']),![];const _0x596a80=_0x4b8734[_0x4d99e4(0x14e)](parseInt,_0x554f12[_0x4d99e4(0x164)]);if(!(_0x4b8734['Fswqo'](_0x596a80,_0x4b8734[_0x4d99e4(0x156)])||_0x4b8734[_0x4d99e4(0x174)](_0x596a80,0x5e)))return logger['warn'](_0x4b8734['khOiH']),![];}catch(_0x30e728){logger[_0x4d99e4(0x132)](_0x4d99e4(0x153)+util[_0x4d99e4(0x127)](_0x30e728));}return!![];},exports[a34_0x32afa0(0x177)]=(_0x23b14a,_0x166010,_0x174a34)=>{const _0x318d40=a34_0x32afa0,_0x333fc0={'UWFLI':function(_0x2273fd){return _0x2273fd();},'pVEyc':_0x318d40(0x14d),'LdtOF':function(_0x31e7dd,_0x2ca6a2){return _0x31e7dd===_0x2ca6a2;},'IzFTD':_0x318d40(0x17d),'OmxkS':function(_0x4790f1,_0x4d45ee){return _0x4790f1===_0x4d45ee;},'rAGwc':_0x318d40(0x172),'VVrat':_0x318d40(0x16e),'VhwDA':_0x318d40(0x150),'WzbVx':function(_0x172ddf,_0x12ddf3){return _0x172ddf>_0x12ddf3;},'AKybw':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','CLPtY':function(_0x50c0a3,_0x3e9b5e){return _0x50c0a3(_0x3e9b5e);},'XhStL':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fMDkT':function(_0x7d402d,_0x4b533b){return _0x7d402d+_0x4b533b;},'trqac':function(_0x2bf6a7,_0x229e65){return _0x2bf6a7(_0x229e65);}};try{if(_0x333fc0[_0x318d40(0x165)](isAccessibilityAutomationSession)){global[_0x318d40(0x133)]=!![];!_0x23b14a[_0x333fc0[_0x318d40(0x171)]]&&(global[_0x318d40(0x133)]=![]);!(_0x333fc0['LdtOF'](_0x23b14a[_0x318d40(0x16a)],_0x333fc0[_0x318d40(0x145)])||_0x333fc0[_0x318d40(0x140)](_0x23b14a['browserName'],_0x333fc0[_0x318d40(0x123)]))&&(logger['warn'](_0x333fc0[_0x318d40(0x168)]),global[_0x318d40(0x133)]=![]);!(_0x333fc0[_0x318d40(0x140)](_0x23b14a['browser_version'],_0x333fc0[_0x318d40(0x128)])||_0x333fc0[_0x318d40(0x12a)](_0x23b14a[_0x318d40(0x164)],0x5e))&&(logger['warn'](_0x333fc0[_0x318d40(0x131)]),global[_0x318d40(0x133)]=![]);!_0x333fc0['CLPtY'](isUndefined,_0x23b14a['deviceName'])&&(logger[_0x318d40(0x141)](_0x333fc0[_0x318d40(0x147)]),global['accessibilityPlatform']=![]);if(!global[_0x318d40(0x133)]){_0x23b14a[_0x333fc0[_0x318d40(0x171)]]=![];const _0x534422=_0x333fc0['fMDkT'](_0x166010,_0x333fc0[_0x318d40(0x16b)](encodeURIComponent,JSON[_0x318d40(0x173)](_0x23b14a)));_0x174a34&&(_0x174a34[_0x318d40(0x154)][_0x318d40(0x175)][_0x318d40(0x13f)][_0x318d40(0x163)][_0x318d40(0x17f)][_0x318d40(0x12c)]=_0x534422,_0x174a34[_0x318d40(0x138)][_0x318d40(0x13f)][_0x318d40(0x163)][_0x318d40(0x17f)]['wsEndpoint']=_0x534422);}}}catch(_0x240d49){logger[_0x318d40(0x132)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x240d49));}};
1
+ const a34_0x5ab80c=a34_0x281b;function a34_0x281b(_0xd331e3,_0x1a5332){const _0x3d5325=a34_0x3d53();return a34_0x281b=function(_0x281be7,_0x23d09c){_0x281be7=_0x281be7-0x11e;let _0x1835e4=_0x3d5325[_0x281be7];return _0x1835e4;},a34_0x281b(_0xd331e3,_0x1a5332);}(function(_0x34435c,_0x2534f6){const _0x82ab4f=a34_0x281b,_0xd3c7b0=_0x34435c();while(!![]){try{const _0x534f2b=-parseInt(_0x82ab4f(0x14a))/0x1*(parseInt(_0x82ab4f(0x12a))/0x2)+-parseInt(_0x82ab4f(0x159))/0x3+-parseInt(_0x82ab4f(0x15f))/0x4+-parseInt(_0x82ab4f(0x155))/0x5*(-parseInt(_0x82ab4f(0x135))/0x6)+-parseInt(_0x82ab4f(0x177))/0x7+-parseInt(_0x82ab4f(0x164))/0x8+parseInt(_0x82ab4f(0x15d))/0x9;if(_0x534f2b===_0x2534f6)break;else _0xd3c7b0['push'](_0xd3c7b0['shift']());}catch(_0x3ee546){_0xd3c7b0['push'](_0xd3c7b0['shift']());}}}(a34_0x3d53,0x50b94));const util=require('util'),logger=require(a34_0x5ab80c(0x16f))['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports[a34_0x5ab80c(0x13b)]=async(_0xc852e6,_0x13ae11,_0x5ede7f={})=>{const _0x1c21f5=a34_0x5ab80c,_0x120b4f={};_0x120b4f[_0x1c21f5(0x139)]=_0x1c21f5(0x160);const _0x5a7897=_0x120b4f;return await _0xc852e6[_0x1c21f5(0x12b)]('(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'+_0x13ae11['replace'](/arguments/g,_0x5a7897[_0x1c21f5(0x139)])+_0x1c21f5(0x16c)+JSON['stringify'](_0x5ede7f)+')');},exports[a34_0x5ab80c(0x16d)]=async(_0x4101be,_0x1c0623,_0x4cf025={})=>{const _0x395e5c=a34_0x5ab80c,_0x3796ae={};_0x3796ae[_0x395e5c(0x16e)]=function(_0x1ef3eb,_0x357c2c){return _0x1ef3eb===_0x357c2c;},_0x3796ae['UwKGs']='WebDriver',_0x3796ae['EpiyS']=function(_0x505ca3,_0x2846e5){return _0x505ca3===_0x2846e5;},_0x3796ae[_0x395e5c(0x143)]='Playwright',_0x3796ae[_0x395e5c(0x130)]=_0x395e5c(0x160);const _0x5970c9=_0x3796ae;if(_0x5970c9[_0x395e5c(0x16e)](_0x4101be[_0x395e5c(0x144)]['name'],_0x5970c9['UwKGs']))return await _0x4101be['executeAsyncScript'](_0x1c0623,_0x4cf025);else{if(_0x5970c9['EpiyS'](_0x4101be[_0x395e5c(0x144)]['name'],_0x5970c9['hZZzZ']))return await _0x4101be['executeScript'](_0x395e5c(0x153)+_0x1c0623[_0x395e5c(0x136)](/arguments/g,_0x5970c9[_0x395e5c(0x130)])+_0x395e5c(0x167)+JSON['stringify'](_0x4cf025)+')');}},exports[a34_0x5ab80c(0x133)]=async _0x15f1b8=>{const _0x326fb0=a34_0x5ab80c,_0x5137df={};_0x5137df[_0x326fb0(0x123)]=_0x326fb0(0x141),_0x5137df[_0x326fb0(0x178)]=_0x326fb0(0x181),_0x5137df['jTVBK']=_0x326fb0(0x13e),_0x5137df[_0x326fb0(0x165)]='accessibilityOptions.includeIssueType.needsReview',_0x5137df[_0x326fb0(0x17a)]='accessibilityOptions.authToken',_0x5137df[_0x326fb0(0x16a)]=_0x326fb0(0x180);const _0x1248b6=_0x5137df;_0x15f1b8[_0x326fb0(0x14f)]&&(_0x15f1b8[_0x326fb0(0x14f)][_0x326fb0(0x11f)]&&(_0x15f1b8[_0x1248b6[_0x326fb0(0x123)]]=_0x15f1b8[_0x326fb0(0x14f)]['wcagVersion']),_0x15f1b8[_0x326fb0(0x14f)][_0x326fb0(0x138)]&&(_0x15f1b8[_0x1248b6[_0x326fb0(0x178)]]=_0x15f1b8[_0x326fb0(0x14f)][_0x326fb0(0x138)]),_0x15f1b8[_0x326fb0(0x14f)][_0x326fb0(0x124)]&&(_0x15f1b8[_0x1248b6[_0x326fb0(0x15c)]]=_0x15f1b8[_0x326fb0(0x14f)]['includeIssueType']['bestPractice'],_0x15f1b8[_0x1248b6['OqYDV']]=_0x15f1b8[_0x326fb0(0x14f)][_0x326fb0(0x124)][_0x326fb0(0x120)]));const _0x5505b8=JSON[_0x326fb0(0x14c)](process[_0x326fb0(0x12c)][_0x326fb0(0x140)])[_0x326fb0(0x11e)];_0x15f1b8[_0x1248b6['WzQAm']]=process[_0x326fb0(0x12c)][_0x326fb0(0x122)],_0x15f1b8[_0x1248b6[_0x326fb0(0x16a)]]=_0x5505b8,delete _0x15f1b8[_0x326fb0(0x14f)];},exports[a34_0x5ab80c(0x17f)]=async _0x26ba83=>{const _0x10dddd=a34_0x5ab80c,_0x2f1977={};_0x2f1977[_0x10dddd(0x161)]=_0x10dddd(0x156),_0x2f1977['QFmMm']=_0x10dddd(0x163);const _0x3ed90f=_0x2f1977;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x26ba83,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x26ba83,scripts.getResults);})();return res;}catch{return logger[_0x10dddd(0x157)](_0x3ed90f[_0x10dddd(0x161)]),[];}else return logger['warn'](_0x3ed90f[_0x10dddd(0x170)]),[];},exports['performScan']=async(_0x275deb,_0x5e9114='')=>{const _0x8ed740=a34_0x5ab80c;if(global[_0x8ed740(0x150)])return await PerformanceTester[_0x8ed740(0x162)](PerformanceA11yEvents[_0x8ed740(0x146)],async()=>{const _0x270771=_0x8ed740,_0x3eabf0={};_0x3eabf0[_0x270771(0x172)]=_0x5e9114,await exports['browserStackEvaluate'](_0x275deb,scripts[_0x270771(0x142)],_0x3eabf0);},{'command':_0x5e9114})();},exports[a34_0x5ab80c(0x12d)]=async _0x385fb7=>{const _0x46a6c4=a34_0x5ab80c,_0x40b11c={};_0x40b11c[_0x46a6c4(0x14d)]=_0x46a6c4(0x148),_0x40b11c[_0x46a6c4(0x134)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x614963=_0x40b11c;if(global[_0x46a6c4(0x150)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x385fb7,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x385fb7,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x46a6c4(0x121)](_0x614963['GWGWA']),{};}else return logger[_0x46a6c4(0x126)](_0x614963[_0x46a6c4(0x134)]),{};},exports[a34_0x5ab80c(0x128)]=async _0x4989ec=>{const _0x3ad74c=a34_0x5ab80c,_0x5de84e={'MNkKp':function(_0x8ffd7d,_0x557010){return _0x8ffd7d!==_0x557010;},'apHcE':_0x3ad74c(0x15b),'OijmN':function(_0x3b343e,_0x11106b){return _0x3b343e===_0x11106b;},'hvnAu':_0x3ad74c(0x14b),'UmDbf':function(_0x1a6008,_0x4163ab){return _0x1a6008===_0x4163ab;},'VkraQ':'playwright-chromium','KRMSX':_0x3ad74c(0x169),'jqMUS':function(_0x26f1d6,_0x4b14cc){return _0x26f1d6(_0x4b14cc);},'ZGiLH':function(_0x38be79,_0x38ccac){return _0x38be79===_0x38ccac;},'xwoUJ':_0x3ad74c(0x13c),'srpqv':function(_0x555828,_0x30a60c){return _0x555828>_0x30a60c;},'uEnjq':_0x3ad74c(0x16b)};try{if(!_0x5de84e['MNkKp'](_0x4989ec[_0x3ad74c(0x131)],''))return logger[_0x3ad74c(0x126)](_0x5de84e[_0x3ad74c(0x17d)]),![];const _0x303970=_0x4989ec[_0x3ad74c(0x175)];if(!(_0x5de84e[_0x3ad74c(0x179)](_0x303970,_0x5de84e[_0x3ad74c(0x173)])||_0x5de84e[_0x3ad74c(0x168)](_0x303970,_0x5de84e[_0x3ad74c(0x129)])))return logger['warn'](_0x5de84e[_0x3ad74c(0x166)]),![];const _0x58f4bf=_0x5de84e[_0x3ad74c(0x13a)](parseInt,_0x4989ec[_0x3ad74c(0x17c)]);if(!(_0x5de84e[_0x3ad74c(0x147)](_0x58f4bf,_0x5de84e[_0x3ad74c(0x127)])||_0x5de84e['srpqv'](_0x58f4bf,0x5e)))return logger[_0x3ad74c(0x126)](_0x5de84e[_0x3ad74c(0x13d)]),![];}catch(_0x7248b5){logger[_0x3ad74c(0x121)](_0x3ad74c(0x12e)+util[_0x3ad74c(0x149)](_0x7248b5));}return!![];},exports[a34_0x5ab80c(0x15a)]=(_0x2f9e87,_0x21b103,_0x5803d4)=>{const _0x379338=a34_0x5ab80c,_0x5f2677={'VyxPh':function(_0x4478bb){return _0x4478bb();},'hpQMj':_0x379338(0x174),'KUKCu':function(_0x24c8c8,_0x5e140e){return _0x24c8c8===_0x5e140e;},'asfnC':_0x379338(0x14b),'Xovav':_0x379338(0x158),'WFngT':_0x379338(0x169),'HgXJJ':function(_0x3afc54,_0x513171){return _0x3afc54===_0x513171;},'OsKRN':_0x379338(0x13c),'TSFLE':function(_0x1eb065,_0x53eb9e){return _0x1eb065>_0x53eb9e;},'xQasC':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Nyjbf':function(_0x5cea38,_0x4741d0){return _0x5cea38(_0x4741d0);},'dpSMN':_0x379338(0x15b),'CiduU':function(_0x3e4435,_0x15031c){return _0x3e4435+_0x15031c;},'REmRB':function(_0x512c39,_0x499857){return _0x512c39(_0x499857);}};try{if(_0x5f2677['VyxPh'](isAccessibilityAutomationSession)){global[_0x379338(0x150)]=!![];!_0x2f9e87[_0x5f2677[_0x379338(0x176)]]&&(global[_0x379338(0x150)]=![]);!(_0x5f2677[_0x379338(0x137)](_0x2f9e87['browserName'],_0x5f2677[_0x379338(0x14e)])||_0x5f2677['KUKCu'](_0x2f9e87['browserName'],_0x5f2677[_0x379338(0x152)]))&&(logger[_0x379338(0x126)](_0x5f2677['WFngT']),global[_0x379338(0x150)]=![]);!(_0x5f2677[_0x379338(0x12f)](_0x2f9e87[_0x379338(0x17c)],_0x5f2677['OsKRN'])||_0x5f2677['TSFLE'](_0x2f9e87['browser_version'],0x5e))&&(logger['warn'](_0x5f2677['xQasC']),global[_0x379338(0x150)]=![]);!_0x5f2677[_0x379338(0x17e)](isUndefined,_0x2f9e87[_0x379338(0x131)])&&(logger[_0x379338(0x126)](_0x5f2677[_0x379338(0x145)]),global[_0x379338(0x150)]=![]);if(!global[_0x379338(0x150)]){_0x2f9e87[_0x5f2677[_0x379338(0x176)]]=![];const _0x11f4f7=_0x5f2677[_0x379338(0x13f)](_0x21b103,_0x5f2677['REmRB'](encodeURIComponent,JSON[_0x379338(0x125)](_0x2f9e87)));_0x5803d4&&(_0x5803d4['currentTest'][_0x379338(0x151)]['project'][_0x379338(0x15e)][_0x379338(0x154)][_0x379338(0x17b)]=_0x11f4f7,_0x5803d4['workerInfo'][_0x379338(0x171)]['use'][_0x379338(0x154)][_0x379338(0x17b)]=_0x11f4f7);}}}catch(_0x1c2ec0){logger[_0x379338(0x121)](_0x379338(0x132)+util[_0x379338(0x149)](_0x1c2ec0));}};function a34_0x3d53(){const _0x209b69=['performScan','hZZzZ','constructor','dpSMN','PERFORM_SCAN','ZGiLH','No\x20summaryResults\x20found.','format','397PpRoXQ','chrome','parse','GWGWA','asfnC','accessibilityOptions','accessibilityPlatform','testInfo','Xovav','(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','connectOptions','88905OsrCSK','No\x20accessibility\x20results\x20were\x20found.','error','playwright-chromium','402801HyoWqB','processAccessibilityCaps','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','jTVBK','11751732DXhVgF','use','1403420qBhrIn','bstackSdkArgs','gDlSP','measureWrapper','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','581136lCJoWc','OqYDV','KRMSX','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','UmDbf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','fPhJU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','browserStackExecuteDriver','OhMSg','../../helpers/logger','QFmMm','project','command','hvnAu','browserstack.accessibility','browser','hpQMj','2586990hlUXIM','pqUrV','OijmN','WzQAm','wsEndpoint','browser_version','apHcE','Nyjbf','getAccessibilityResults','accessibilityOptions.scannerVersion','accessibilityOptions.scannerProcessingTimeout','scannerVersion','wcagVersion','needsReview','debug','BS_A11Y_JWT','qhNJc','includeIssueType','stringify','warn','xwoUJ','platformValidation','VkraQ','1226ePLOPe','evaluate','env','getAccessibilityResultsSummary','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','HgXJJ','bJqAI','deviceName','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','setAccessibilityCapabilities','VnulE','66lrxzxQ','replace','KUKCu','scannerProcessingTimeout','toodc','jqMUS','browserStackEvaluate','latest','uEnjq','accessibilityOptions.includeIssueType.bestPractice','CiduU','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','accessibilityOptions.wcagVersion'];a34_0x3d53=function(){return _0x209b69;};return a34_0x3d53();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0x2f9b(_0x49f437,_0x381fd0){const _0x54e94d=a35_0x54e9();return a35_0x2f9b=function(_0x2f9b15,_0x472020){_0x2f9b15=_0x2f9b15-0xf2;let _0x210118=_0x54e94d[_0x2f9b15];return _0x210118;},a35_0x2f9b(_0x49f437,_0x381fd0);}const a35_0x46adac=a35_0x2f9b;(function(_0xb5cd25,_0x345ad7){const _0x2bbe76=a35_0x2f9b,_0x7c87bf=_0xb5cd25();while(!![]){try{const _0x43d814=parseInt(_0x2bbe76(0x106))/0x1*(-parseInt(_0x2bbe76(0x125))/0x2)+-parseInt(_0x2bbe76(0x17f))/0x3+-parseInt(_0x2bbe76(0x11c))/0x4+parseInt(_0x2bbe76(0x108))/0x5*(-parseInt(_0x2bbe76(0xf2))/0x6)+parseInt(_0x2bbe76(0x13f))/0x7+-parseInt(_0x2bbe76(0x115))/0x8+parseInt(_0x2bbe76(0x189))/0x9;if(_0x43d814===_0x345ad7)break;else _0x7c87bf['push'](_0x7c87bf['shift']());}catch(_0x4aefb6){_0x7c87bf['push'](_0x7c87bf['shift']());}}}(a35_0x54e9,0xf3719));const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x46adac(0x167)),{format}=require(a35_0x46adac(0x17a)),logger=require(a35_0x46adac(0xfd))[a35_0x46adac(0xfc)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x46adac(0x141)),utilities=require(a35_0x46adac(0x12a)),constants=require(a35_0x46adac(0x131)),{FRAMEWORKS}=require(a35_0x46adac(0x110)),{getConfigLoaderPath}=require(a35_0x46adac(0x10d)),{checkAccessibilityPlatformConfig}=require(a35_0x46adac(0x188)),{setAccessibilityCapabilities}=require(a35_0x46adac(0x15f)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a35_0x46adac(0x11d)),PerformanceEvents=require('../../helpers/performance/constants')[a35_0x46adac(0x146)],getUserPlaywrightConfig=async(_0x7bf9f7,_0xd17cb7)=>{const _0x104464=a35_0x46adac,_0x3d2050={'qkDPw':function(_0xe5955c){return _0xe5955c();},'jMxXE':function(_0x5ddbb2,_0x3b3e56){return _0x5ddbb2(_0x3b3e56);},'xaUBG':_0x104464(0xfb),'yEJXJ':_0x104464(0x169)},_0x28b6d9=!helper['isUndefined'](_0x7bf9f7['config']),_0x280de0=_0x28b6d9?path[_0x104464(0x149)](process[_0x104464(0x164)](),_0x7bf9f7[_0x104464(0x178)]):process[_0x104464(0x164)](),{resolveConfigFile:_0x3834ab,resolveConfigLocation:_0x12cdaa}=helper['requirePWModule'][_0x104464(0x112)](null,_0x3d2050[_0x104464(0xff)](getConfigLoaderPath)),_0x4f73a4=_0x3834ab?_0x3d2050[_0x104464(0x176)](_0x3834ab,_0x280de0):helper[_0x104464(0x17e)](_0x3d2050['jMxXE'](_0x12cdaa,_0x280de0),[_0x3d2050[_0x104464(0x144)]]),_0x1be07c={};if(_0x28b6d9){const _0x4158e9=_0xd17cb7[_0x104464(0x122)](_0x78ba30=>_0x78ba30===_0x104464(0x140)||_0x78ba30==='-c'||_0x78ba30['startsWith'](_0x104464(0x169)));_0xd17cb7['splice'](_0x4158e9,_0xd17cb7[_0x4158e9]['startsWith'](_0x3d2050[_0x104464(0x17b)])?0x1:0x2);}const _0x1ee8c9={};return _0x1ee8c9['path']=_0x4f73a4,_0x1ee8c9[_0x104464(0x178)]=_0x1be07c,_0x1ee8c9;},handleO11yRerun=_0x33833c=>{const _0x238cf=a35_0x46adac,_0x256cf1={};_0x256cf1[_0x238cf(0x101)]=_0x238cf(0x166);const _0x241f9c=_0x256cf1,_0x248033=helper[_0x238cf(0xfe)](process[_0x238cf(0x183)][_0x238cf(0x136)]);if(_0x248033){const _0x2bcca5=process[_0x238cf(0x183)][_0x238cf(0x18a)],_0x2bafce=[];if(helper['validateRerunTestList'](_0x2bcca5)&&!helper[_0x238cf(0x156)](_0x2bcca5)){_0x2bcca5[_0x238cf(0x16b)](',')[_0x238cf(0x148)](_0xebb4b6=>{const _0x125d01=_0x238cf;_0x2bafce['push']('('+_0xebb4b6[_0x125d01(0x17d)]()+')');});const _0x416cbc='^'+_0x2bafce[_0x238cf(0x13e)]('|')+'$';_0x33833c[_0x238cf(0x123)](_0x241f9c[_0x238cf(0x101)],_0x416cbc);}}},spawnOriginalProcess=_0x2ab4e9=>{const _0x1d3651=a35_0x46adac,_0xc811ed={'ivwfT':function(_0x413d43,_0xfbd07,_0x4b9c8d,_0x35605c){return _0x413d43(_0xfbd07,_0x4b9c8d,_0x35605c);},'RGFhB':'npx','ZMDki':_0x1d3651(0x139),'MHKnf':function(_0x479cf8,_0x16d0ea){return _0x479cf8===_0x16d0ea;},'FCwIW':_0x1d3651(0xf7),'qXZNO':'inherit'};_0xc811ed['ivwfT'](spawn,_0xc811ed['RGFhB'],[_0xc811ed[_0x1d3651(0xf3)],..._0x2ab4e9[_0x1d3651(0x103)](0x1)],{'shell':_0xc811ed[_0x1d3651(0x104)](process[_0x1d3651(0x173)],_0xc811ed[_0x1d3651(0x11e)]),'stdio':_0xc811ed[_0x1d3651(0x162)],'cwd':process[_0x1d3651(0x164)]()});},isTestCommand=(_0x1e00e3,_0x628899)=>{const _0x28357e=a35_0x46adac,_0x703082={};_0x703082[_0x28357e(0x10b)]=function(_0x47c5c5,_0x199b47){return _0x47c5c5>_0x199b47;},_0x703082['LGfDM']=function(_0x39d809,_0x461fab){return _0x39d809===_0x461fab;},_0x703082[_0x28357e(0x14d)]=_0x28357e(0x14f);const _0x324d94=_0x703082;if(_0x324d94['mffva'](_0x628899[_0x28357e(0x172)],0x1)&&_0x324d94[_0x28357e(0x13d)](_0x628899[0x1],_0x324d94[_0x28357e(0x14d)]))return!![];return![];};async function run(_0x56ea80,_0x87647e){const _0x4fb854=a35_0x46adac,_0x651b9={'XlMTo':function(_0x31a499,_0xb7626d){return _0x31a499(_0xb7626d);},'kTDch':_0x4fb854(0x16a),'HoMgC':'pw_result.json','ZKpmM':function(_0x23d7db,_0x310e0e){return _0x23d7db+_0x310e0e;},'znvaN':_0x4fb854(0x150),'uMhQM':_0x4fb854(0x16e),'IQVqC':function(_0xab2239){return _0xab2239();},'TcrdH':'Error\x20in\x20closing\x20playwright','TbToP':'BrowserStack\x20config\x20file\x20not\x20found.','lTUoZ':'automation','kxIIa':function(_0x3d9e47,_0x1e10bb){return _0x3d9e47!=_0x1e10bb;},'yfqKo':function(_0x26a730,_0x464fc9,_0x20c00b){return _0x26a730(_0x464fc9,_0x20c00b);},'aDntj':function(_0x4fdd95,_0x20b4af){return _0x4fdd95(_0x20b4af);},'NIuxj':function(_0x5b43a3,_0x35d83b){return _0x5b43a3===_0x35d83b;},'dOlMq':'true','PrnIe':'browserstackSetupConfig.json','Mture':_0x4fb854(0x184),'YHnHO':_0x4fb854(0x182),'pCZeO':function(_0x172cb3,_0x400a98){return _0x172cb3-_0x400a98;},'BYSnk':'Updated\x20config\x20file\x20name\x20to\x20-\x20','OueKx':function(_0xa0cb98,_0x38d862){return _0xa0cb98>_0x38d862;},'Rgrjd':function(_0x191cc6,_0xdf1498,_0x4b8dcf,_0x21b159){return _0x191cc6(_0xdf1498,_0x4b8dcf,_0x21b159);},'fGLfo':_0x4fb854(0x168),'hNrLm':_0x4fb854(0x139),'CYkdO':'test','yFQUP':_0x4fb854(0x140),'jfOsc':function(_0x31f650,_0x1b2df0){return _0x31f650===_0x1b2df0;},'EXjTl':_0x4fb854(0xf7),'njpWF':_0x4fb854(0x135),'RkLOG':_0x4fb854(0x11f),'KLqQT':_0x4fb854(0x127),'ppTjb':'false','IzrdF':'--disable-test-observability','XAxWK':function(_0x234923,_0x1ca664){return _0x234923>=_0x1ca664;},'zokNh':function(_0x1785a0,_0x5cfb69){return _0x1785a0+_0x5cfb69;},'yQMOf':_0x4fb854(0x155),'WBjqQ':function(_0x3daceb,_0x17732c,_0xb4ac6f){return _0x3daceb(_0x17732c,_0xb4ac6f);},'QsNcT':function(_0x5a086c,_0x24a554){return _0x5a086c(_0x24a554);}};!helper[_0x4fb854(0x11a)](process[_0x4fb854(0x183)][_0x4fb854(0x10c)])&&(process[_0x4fb854(0x183)]['BROWSERSTACK_AUTOMATION']=!![]);process['argv'][_0x4fb854(0x170)](_0x651b9[_0x4fb854(0xf6)])&&(process['env'][_0x4fb854(0x10c)]=_0x651b9['ppTjb'],_0x87647e=_0x87647e[_0x4fb854(0x124)](_0x48a1ec=>_0x48a1ec!=='--disable-browserstack-automation'));const _0x5f526a=_0x87647e['indexOf'](_0x651b9[_0x4fb854(0x187)]);_0x651b9['XAxWK'](_0x5f526a,0x0)&&(process[_0x4fb854(0x183)][_0x4fb854(0x147)]=_0x651b9['ppTjb'],_0x87647e=_0x87647e[_0x4fb854(0x124)](_0x302215=>_0x302215!==_0x4fb854(0x116)));try{const _0x52767c=path[_0x4fb854(0x13e)](helper[_0x4fb854(0x132)](),_0x651b9[_0x4fb854(0x180)],_0x651b9['HoMgC']);fs[_0x4fb854(0x151)](_0x52767c)&&fs[_0x4fb854(0xfa)](_0x52767c);}catch(_0x1c065e){logger[_0x4fb854(0xf5)](_0x651b9['zokNh'](_0x651b9['yQMOf'],_0x1c065e));}if(!_0x651b9['WBjqQ'](isTestCommand,_0x56ea80,_0x87647e)){_0x651b9[_0x4fb854(0x13c)](spawnOriginalProcess,_0x87647e);return;}const _0x549c13=new BrowserStackSetup(_0x56ea80,FRAMEWORKS[_0x4fb854(0x10f)]);await PerformanceTester['measureWrapper'](PerformanceEvents[_0x4fb854(0x117)],async()=>{const _0x3d8ae8=_0x4fb854,_0x2144a9={'NwcOR':_0x651b9[_0x3d8ae8(0x180)],'YcpaR':_0x651b9[_0x3d8ae8(0x143)],'QIaPW':function(_0x5b409e,_0x116e9c){const _0xaf3c0a=_0x3d8ae8;return _0x651b9[_0xaf3c0a(0x154)](_0x5b409e,_0x116e9c);},'aFkQx':_0x651b9['znvaN'],'XOwdE':_0x651b9['uMhQM'],'QoTCt':function(_0x4a7904){const _0xef5fb1=_0x3d8ae8;return _0x651b9[_0xef5fb1(0x120)](_0x4a7904);},'BKjus':_0x651b9[_0x3d8ae8(0x10e)]};if(!_0x549c13[_0x3d8ae8(0x178)]){logger[_0x3d8ae8(0x114)](_0x651b9[_0x3d8ae8(0x118)]);return;}await _0x549c13[_0x3d8ae8(0x15e)]();!helper[_0x3d8ae8(0x156)](_0x549c13[_0x3d8ae8(0x161)])&&_0x549c13[_0x3d8ae8(0x161)]['has'](_0x651b9[_0x3d8ae8(0x16f)])&&(process[_0x3d8ae8(0x183)]['BROWSERSTACK_AUTOMATION']=_0x549c13[_0x3d8ae8(0x161)][_0x3d8ae8(0x111)](_0x651b9[_0x3d8ae8(0x16f)])||!![]);_0x651b9[_0x3d8ae8(0x177)](_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x137)],null)&&!helper[_0x3d8ae8(0xfe)](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x3d8ae8(0x183)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x3d8ae8(0x183)][_0x3d8ae8(0x147)]||_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x137)]);const _0x5df603=!helper[_0x3d8ae8(0x11a)](process[_0x3d8ae8(0x183)][_0x3d8ae8(0x147)]);let _0x176530=![];_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x157)]&&(_0x176530=!![],process[_0x3d8ae8(0x183)][_0x3d8ae8(0x130)]=_0x549c13[_0x3d8ae8(0x178)]['accessibility']);_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x138)]&&(process['env'][_0x3d8ae8(0x18b)]=JSON[_0x3d8ae8(0x175)](_0x549c13[_0x3d8ae8(0x178)]['accessibilityOptions']));const _0x3fba42=_0x87647e[_0x3d8ae8(0xf9)](),_0x2620f9=await _0x651b9[_0x3d8ae8(0x15b)](getUserPlaywrightConfig,_0x56ea80,_0x87647e);if(helper[_0x3d8ae8(0x156)](_0x2620f9)){_0x651b9[_0x3d8ae8(0x133)](spawnOriginalProcess,_0x3fba42);return;}const _0x1a9949=_0x2620f9[_0x3d8ae8(0x109)]?path[_0x3d8ae8(0x14e)](_0x2620f9[_0x3d8ae8(0x109)]):process[_0x3d8ae8(0x164)]();process[_0x3d8ae8(0x183)][_0x3d8ae8(0x160)]=_0x1a9949,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x3d8ae8(0x15c)],async()=>{const _0xff7f09=_0x3d8ae8;await TestHubHandler[_0xff7f09(0x163)](FRAMEWORKS[_0xff7f09(0x10f)],_0x549c13),_0x5df603&&_0x651b9['XlMTo'](handleO11yRerun,_0x87647e);})();let _0x3a488c=_0x651b9[_0x3d8ae8(0x126)](process[_0x3d8ae8(0x183)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x651b9[_0x3d8ae8(0x185)]);_0x3a488c=_0x3a488c||_0x651b9[_0x3d8ae8(0x152)](checkAccessibilityPlatformConfig,_0x549c13[_0x3d8ae8(0x178)]),process[_0x3d8ae8(0x183)][_0x3d8ae8(0x130)]=_0x3a488c;_0x3a488c&&_0x651b9[_0x3d8ae8(0x133)](setAccessibilityCapabilities,_0x549c13[_0x3d8ae8(0x178)]);const _0x1b9963=path[_0x3d8ae8(0x13e)](_0x2620f9[_0x3d8ae8(0x109)]?path['dirname'](_0x2620f9['path']):process[_0x3d8ae8(0x164)](),_0x651b9[_0x3d8ae8(0x102)]);fs[_0x3d8ae8(0x107)](_0x1b9963,helper['serializeToYamlString'](_0x549c13['config'])),process['env'][_0x3d8ae8(0x142)]=_0x1b9963,helper[_0x3d8ae8(0x16c)]();let _0x1cfe17='';_0x651b9[_0x3d8ae8(0x126)](helper[_0x3d8ae8(0x12c)](),constants[_0x3d8ae8(0x18e)]['MODULE'])?_0x1cfe17=_0x651b9[_0x3d8ae8(0x119)]:_0x1cfe17=_0x651b9['YHnHO'];let _0x53b990='';if(helper[_0x3d8ae8(0x14a)](_0x2620f9['path'])){_0x53b990='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0xd645a=_0x1cfe17['split']('.');_0xd645a[_0x651b9['pCZeO'](_0xd645a['length'],0x1)]='ts',_0x1cfe17=_0xd645a[_0x3d8ae8(0x13e)]('.'),logger[_0x3d8ae8(0xf5)](_0x651b9['ZKpmM'](_0x651b9[_0x3d8ae8(0x18d)],_0x1cfe17));}else _0x53b990=_0x3d8ae8(0x13a);const _0x2d527f=path['join'](_0x2620f9['path']?path[_0x3d8ae8(0x14e)](_0x2620f9[_0x3d8ae8(0x109)]):process[_0x3d8ae8(0x164)](),_0x1cfe17);let _0x29d951=_0x2620f9[_0x3d8ae8(0x109)]?_0x2620f9[_0x3d8ae8(0x109)]:'';_0x29d951=_0x651b9[_0x3d8ae8(0x134)](_0x29d951[_0x3d8ae8(0x172)],0x0)?path[_0x3d8ae8(0x149)](_0x29d951):'',process[_0x3d8ae8(0x183)]['USER_CONFIG_DETAILS_PATH']=_0x29d951;const _0x5602f2=helper['getProxyUrl'](_0x549c13[_0x3d8ae8(0x178)]);_0x5602f2&&(_0x53b990=_0x651b9['ZKpmM']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x5602f2+_0x3d8ae8(0x129),_0x53b990));helper[_0x3d8ae8(0x11b)]({},_0x87647e),fs[_0x3d8ae8(0x107)](_0x2d527f,_0x53b990),PerformanceTester[_0x3d8ae8(0x15d)](PerformanceEvents['SDK_SETUP']);const _0x113f90=_0x651b9[_0x3d8ae8(0xf8)](spawn,_0x651b9[_0x3d8ae8(0x186)],[_0x651b9[_0x3d8ae8(0x18c)],_0x651b9[_0x3d8ae8(0x15a)],_0x651b9[_0x3d8ae8(0x121)],_0x2d527f,..._0x87647e[_0x3d8ae8(0x103)](0x2)],{'shell':_0x651b9[_0x3d8ae8(0x181)](process[_0x3d8ae8(0x173)],_0x651b9[_0x3d8ae8(0xf4)]),'stdio':_0x651b9[_0x3d8ae8(0x100)],'cwd':process['cwd'](),'env':Object[_0x3d8ae8(0x14b)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3d8ae8(0x12d)](_0x56ea80),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x549c13[_0x3d8ae8(0x178)]['testContextOptions'][_0x3d8ae8(0x158)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x549c13[_0x3d8ae8(0x178)][_0x3d8ae8(0x113)][_0x3d8ae8(0x159)],'BROWSERSTACK_LOG_LEVEL':_0x549c13['config']['logLevel']})}),_0x1cd1a7=()=>{const _0x369741=_0x3d8ae8;try{const _0xaa1443=path[_0x369741(0x13e)](helper[_0x369741(0x132)](),_0x2144a9[_0x369741(0x171)],_0x2144a9[_0x369741(0x12f)]);if(fs[_0x369741(0x151)](_0xaa1443)){let _0x6ffef8=fs[_0x369741(0x17c)](_0xaa1443);_0x6ffef8=JSON[_0x369741(0x14c)](_0x6ffef8),_0x549c13[_0x369741(0x174)]=_0x6ffef8,fs[_0x369741(0xfa)](_0xaa1443);}}catch(_0x57d400){logger[_0x369741(0xf5)](_0x2144a9[_0x369741(0x165)](_0x2144a9[_0x369741(0x16d)],_0x57d400));}};_0x113f90['on'](_0x651b9['RkLOG'],async _0x9d1563=>{const _0x2985c3=_0x3d8ae8;try{const _0x5540d5=_0x2144a9[_0x2985c3(0x13b)][_0x2985c3(0x16b)]('|');let _0x4c80a1=0x0;while(!![]){switch(_0x5540d5[_0x4c80a1++]){case'0':PerformanceTester['start'](PerformanceEvents[_0x2985c3(0x145)]);continue;case'1':fs[_0x2985c3(0xfa)](_0x1b9963);continue;case'2':await utilities['finalExecution'](_0x549c13);continue;case'3':await TestHubHandler[_0x2985c3(0x179)]();continue;case'4':logger[_0x2985c3(0xf5)](_0x2985c3(0x12b)+_0x9d1563);continue;case'5':_0x2144a9[_0x2985c3(0x105)](_0x1cd1a7);continue;case'6':logger[_0x2985c3(0xf5)](_0x2985c3(0x12e)+_0x1b9963);continue;case'7':logger[_0x2985c3(0x128)]('Deleting\x20'+_0x2d527f);continue;case'8':process[_0x2985c3(0x10a)]=_0x9d1563;continue;case'9':fs[_0x2985c3(0xfa)](_0x2d527f);continue;}break;}}catch(_0x4bee9e){logger[_0x2985c3(0xf5)](_0x2144a9['QIaPW'](_0x2144a9[_0x2985c3(0x153)],_0x4bee9e));}});})();}function a35_0x54e9(){const _0x3520a5=['./accessibility-helper','BROWSERSTACK_PW_CONFIG_DIR','cliConfig','qXZNO','launchBuild','cwd','QIaPW','--grep','child_process','npx','--config=','.browserstack','split','clearTempPWConfig','aFkQx','0|5|3|2|8|4|7|9|6|1','lTUoZ','includes','NwcOR','length','platform','errorMessage','stringify','jMxXE','kxIIa','config','stop','util','yEJXJ','readFileSync','trim','nestedKeyValue','2738340hsvAgg','kTDch','jfOsc','playwright-browserstack-sdk.config.js','env','playwright-browserstack-sdk.config.cjs','dOlMq','fGLfo','IzrdF','../../helpers/accessibility-automation/helper','53498853YrJdsz','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','hNrLm','BYSnk','PACKAGE_TYPE','18vTpidA','ZMDki','EXjTl','debug','KLqQT','win32','Rgrjd','concat','unlinkSync','resolvedConfigFile','winstonLogger','../../helpers/logger','isTrue','qkDPw','njpWF','bHGYq','PrnIe','slice','MHKnf','QoTCt','1365022HkxBbC','writeFileSync','1701995wLsMNo','path','exitCode','mffva','BROWSERSTACK_AUTOMATION','./reporter/pwUtils','TcrdH','PLAYWRIGHT','../../helpers/test-observability/constants','get','apply','testContextOptions','error','12670912XGpuAq','--disable-test-observability','SDK_PRE_INITIALIZE','TbToP','Mture','isFalse','filterBrowserstackArgs','2934448WsZLqP','../../helpers/performance/performance-tester','FCwIW','close','IQVqC','yFQUP','findIndex','push','filter','2TFZLqF','NIuxj','--disable-browserstack-automation','info','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','../../helpers/utilities','Playwright\x20process\x20exited\x20with\x20code\x20','getPackageType','getConfigPath','Deleting\x20','YcpaR','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../utils/constants','homedir','aDntj','OueKx','inherit','BROWSERSTACK_RERUN','testObservability','accessibilityOptions','playwright','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','XOwdE','QsNcT','LGfDM','join','4685121PfOCul','--config','../../helpers/helper','BROWSERSTACK_SETUP_CONFIG_PATH','HoMgC','xaUBG','SDK_CLEANUP','EVENTS','BROWSERSTACK_TEST_OBSERVABILITY','map','resolve','isTypescriptProject','assign','parse','VChGi','dirname','test','Error\x20in\x20getting\x20funnel\x20data\x20results','existsSync','XlMTo','BKjus','ZKpmM','Error\x20in\x20deleting\x20playwright\x20results','isUndefined','accessibility','skipSessionStatus','skipSessionName','CYkdO','yfqKo','SDK_POST_INITIALIZE','end','initialize'];a35_0x54e9=function(){return _0x3520a5;};return a35_0x54e9();}module['exports']=run;
2
+ 'use strict';const a35_0x3c407d=a35_0x3347;(function(_0x454b2f,_0x5021dc){const _0x6b24c0=a35_0x3347,_0x549c18=_0x454b2f();while(!![]){try{const _0x2dd6ba=parseInt(_0x6b24c0(0x1b3))/0x1*(-parseInt(_0x6b24c0(0x16d))/0x2)+parseInt(_0x6b24c0(0x1e6))/0x3*(-parseInt(_0x6b24c0(0x1f2))/0x4)+parseInt(_0x6b24c0(0x175))/0x5+-parseInt(_0x6b24c0(0x179))/0x6+parseInt(_0x6b24c0(0x1ce))/0x7*(parseInt(_0x6b24c0(0x1ab))/0x8)+parseInt(_0x6b24c0(0x1ea))/0x9+-parseInt(_0x6b24c0(0x1f5))/0xa*(-parseInt(_0x6b24c0(0x1bf))/0xb);if(_0x2dd6ba===_0x5021dc)break;else _0x549c18['push'](_0x549c18['shift']());}catch(_0x3c4871){_0x549c18['push'](_0x549c18['shift']());}}}(a35_0x558c,0xc5b16));function a35_0x3347(_0x362561,_0x555f97){const _0x558c60=a35_0x558c();return a35_0x3347=function(_0x33475b,_0x4b5a2c){_0x33475b=_0x33475b-0x167;let _0x18941a=_0x558c60[_0x33475b];return _0x18941a;},a35_0x3347(_0x362561,_0x555f97);}const fs=require('fs'),path=require(a35_0x3c407d(0x1e5)),{spawn}=require('child_process'),{format}=require(a35_0x3c407d(0x203)),logger=require('../../helpers/logger')[a35_0x3c407d(0x174)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a35_0x3c407d(0x1a5)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x3c407d(0x19c)),{getConfigLoaderPath}=require(a35_0x3c407d(0x16a)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a35_0x3c407d(0x1a8)),TestHubHandler=require(a35_0x3c407d(0x1bc)),PerformanceTester=require(a35_0x3c407d(0x1f9)),PerformanceEvents=require(a35_0x3c407d(0x186))[a35_0x3c407d(0x1d5)],getUserPlaywrightConfig=async(_0x828d17,_0x34a00d)=>{const _0x153798=a35_0x3c407d,_0x1d2b73={'nnyxl':function(_0x3e3d84){return _0x3e3d84();},'GCBeG':function(_0x192564,_0x42d4bf){return _0x192564(_0x42d4bf);},'jCsWc':function(_0x22c06f,_0x34c47a){return _0x22c06f(_0x34c47a);},'wZZIj':_0x153798(0x182),'OpnLf':_0x153798(0x1e0)},_0x1c0f1d=!helper[_0x153798(0x17a)](_0x828d17['config']),_0xd50ae0=_0x1c0f1d?path[_0x153798(0x206)](process[_0x153798(0x193)](),_0x828d17[_0x153798(0x200)]):process[_0x153798(0x193)](),{resolveConfigFile:_0x3ab7f7,resolveConfigLocation:_0x40437a}=helper[_0x153798(0x18a)][_0x153798(0x205)](null,_0x1d2b73[_0x153798(0x1e4)](getConfigLoaderPath)),_0x579d10=_0x3ab7f7?_0x1d2b73[_0x153798(0x169)](_0x3ab7f7,_0xd50ae0):helper[_0x153798(0x1dd)](_0x1d2b73[_0x153798(0x16c)](_0x40437a,_0xd50ae0),[_0x1d2b73[_0x153798(0x170)]]),_0x5445e4={};if(_0x1c0f1d){const _0x17fb44=_0x34a00d[_0x153798(0x1a9)](_0x29165a=>_0x29165a===_0x153798(0x1c9)||_0x29165a==='-c'||_0x29165a[_0x153798(0x1c7)](_0x153798(0x1e0)));_0x34a00d[_0x153798(0x1d4)](_0x17fb44,_0x34a00d[_0x17fb44][_0x153798(0x1c7)](_0x1d2b73[_0x153798(0x1a1)])?0x1:0x2);}const _0x5c0f39={};return _0x5c0f39[_0x153798(0x1e5)]=_0x579d10,_0x5c0f39[_0x153798(0x200)]=_0x5445e4,_0x5c0f39;},handleO11yRerun=_0x8dfd23=>{const _0x91165a=a35_0x3c407d,_0x509f31={};_0x509f31[_0x91165a(0x197)]=_0x91165a(0x1e8);const _0x1c4c4e=_0x509f31,_0x36a88a=helper[_0x91165a(0x18d)](process[_0x91165a(0x16b)][_0x91165a(0x1d8)]);if(_0x36a88a){const _0x14c2dc=process[_0x91165a(0x16b)]['BROWSERSTACK_RERUN_TESTS'],_0xe161eb=[];if(helper[_0x91165a(0x1ac)](_0x14c2dc)&&!helper['isUndefined'](_0x14c2dc)){_0x14c2dc[_0x91165a(0x1fa)](',')[_0x91165a(0x1ad)](_0x5bd798=>{const _0xb773bb=_0x91165a;_0xe161eb[_0xb773bb(0x1d1)]('('+_0x5bd798[_0xb773bb(0x202)]()+')');});const _0x16b03a='^'+_0xe161eb[_0x91165a(0x1f8)]('|')+'$';_0x8dfd23[_0x91165a(0x1d1)](_0x1c4c4e[_0x91165a(0x197)],_0x16b03a);}}},spawnOriginalProcess=_0x1ae3be=>{const _0x1edc16=a35_0x3c407d,_0x2162c5={'IkZfg':function(_0xaeb89e,_0x4997be,_0x3e7a59,_0x40af70){return _0xaeb89e(_0x4997be,_0x3e7a59,_0x40af70);},'FeRll':_0x1edc16(0x17c),'GXiCf':_0x1edc16(0x171),'TdiRC':function(_0x51f1b9,_0x1aad26){return _0x51f1b9===_0x1aad26;},'DSAwP':_0x1edc16(0x180),'TZDXy':'inherit'};_0x2162c5[_0x1edc16(0x1be)](spawn,_0x2162c5[_0x1edc16(0x19f)],[_0x2162c5['GXiCf'],..._0x1ae3be['slice'](0x1)],{'shell':_0x2162c5[_0x1edc16(0x1ec)](process[_0x1edc16(0x1c6)],_0x2162c5['DSAwP']),'stdio':_0x2162c5[_0x1edc16(0x1bd)],'cwd':process[_0x1edc16(0x193)]()});},isTestCommand=(_0xfb01d3,_0x5168d7)=>{const _0x20bd19=a35_0x3c407d,_0x2227a5={};_0x2227a5['yjutQ']=function(_0x798f99,_0x967794){return _0x798f99>_0x967794;},_0x2227a5[_0x20bd19(0x184)]=function(_0x4e396c,_0x28dc75){return _0x4e396c===_0x28dc75;},_0x2227a5[_0x20bd19(0x181)]=_0x20bd19(0x1f7);const _0x95fab7=_0x2227a5;if(_0x95fab7[_0x20bd19(0x1f0)](_0x5168d7[_0x20bd19(0x1de)],0x1)&&_0x95fab7['BDRZp'](_0x5168d7[0x1],_0x95fab7[_0x20bd19(0x181)]))return!![];return![];};function a35_0x558c(){const _0x476d47=['process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','Deleting\x20','SeXuU','writeFileSync','exports','true','qOTJR','../../helpers/test-observability/constants','Error\x20in\x20deleting\x20playwright\x20results','accessibilityOptions','FeRll','SDK_PRE_INITIALIZE','OpnLf','SDK_POST_INITIALIZE','getProxyUrl','sAOtY','../../helpers/utilities','Nzamu','get','./accessibility-helper','findIndex','TLvWs','8wqnyPG','validateRerunTestList','map','BROWSERSTACK_TEST_OBSERVABILITY','ZHalf','vhunL','clearTempPWConfig','slice','282mbWCJa','NVHOB','USER_CONFIG_DETAILS_PATH','stop','error','testContextOptions','Updated\x20config\x20file\x20name\x20to\x20-\x20','lcAca','Playwright\x20process\x20exited\x20with\x20code\x20','../../helpers/testhub/testhubHandler','TZDXy','IkZfg','2635215CUUyHw','--disable-browserstack-automation','parse','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','NfWzN','hmzue','false','platform','startsWith','UZLBc','--config','measureWrapper','logLevel','isFalse','YeSuP','1206933RayBQI','debug','BROWSERSTACK_AUTOMATION','push','FDGPV','errorMessage','splice','EVENTS','gRyOY','IwtoW','BROWSERSTACK_RERUN','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','fieoQ','PLAYWRIGHT','indexOf','nestedKeyValue','length','accessibility','--config=','xKBUW','start','Error\x20in\x20getting\x20funnel\x20data\x20results','nnyxl','path','690peULce','SDK_SETUP','--grep','isTypescriptProject','10555398qKLTka','tffGr','TdiRC','OxZSF','JbIRM','BrowserStack\x20config\x20file\x20not\x20found.','yjutQ','dirname','15256QRllkP','cliConfig','includes','10cWgfPn','has','test','join','../../helpers/performance/performance-tester','split','BROWSERSTACK_PW_CONFIG_DIR','playwright-browserstack-sdk.config.js','NvYZW','argv','WJUjH','config','end','trim','util','BROWSERSTACK_TEST_ACCESSIBILITY_YML','apply','resolve','Error\x20in\x20closing\x20playwright','PACKAGE_TYPE','BROWSERSTACK_SETUP_CONFIG_PATH','inherit','testObservability','GCBeG','./reporter/pwUtils','env','jCsWc','6338bBYEkz','AYZvT','getPackageType','wZZIj','playwright','assign','finalExecution','winstonLogger','5689255Wcwjub','browserstackSetupConfig.json','tNrJP','--disable-test-observability','852174xyfoQf','isUndefined','\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();','npx','getConfigPath','awSGV','5|7|4|0|6|3|8|1|9|2','win32','bjTMZ','resolvedConfigFile','homedir','BDRZp','automation','../../helpers/performance/constants','skipSessionStatus','HOVEZ','info','requirePWModule','ABngy','concat','isTrue','uXefx','unlinkSync','SDK_CLEANUP','pw_result.json','QAMSg','cwd','.browserstack'];a35_0x558c=function(){return _0x476d47;};return a35_0x558c();}async function run(_0x1f1758,_0x39336e){const _0x1583a9=a35_0x3c407d,_0x5c93f5={'ZHalf':function(_0x1bc50b,_0x134ab6){return _0x1bc50b(_0x134ab6);},'sAOtY':_0x1583a9(0x194),'gRyOY':_0x1583a9(0x191),'TLvWs':function(_0x65654,_0x2acc21){return _0x65654+_0x2acc21;},'Xlrgn':_0x1583a9(0x1e3),'HOVEZ':_0x1583a9(0x17f),'fieoQ':function(_0x318b58){return _0x318b58();},'FDGPV':function(_0x8f9b4f,_0x165963){return _0x8f9b4f+_0x165963;},'NfWzN':_0x1583a9(0x207),'WHFRb':_0x1583a9(0x1ef),'Nzamu':_0x1583a9(0x185),'ABngy':function(_0x127543,_0xbb08e8){return _0x127543!=_0xbb08e8;},'awSGV':function(_0x1ba765,_0x8b56d5,_0x1e8676){return _0x1ba765(_0x8b56d5,_0x1e8676);},'nxdVa':function(_0x1659d9,_0x4779d9){return _0x1659d9===_0x4779d9;},'IwtoW':_0x1583a9(0x19a),'UZLBc':function(_0x3902b3,_0x5b4d2e){return _0x3902b3(_0x5b4d2e);},'JbIRM':_0x1583a9(0x176),'tNrJP':function(_0x2eefa5,_0x21aebf){return _0x2eefa5===_0x21aebf;},'OxZSF':'playwright-browserstack-sdk.config.cjs','xtiyj':_0x1583a9(0x1fc),'uXefx':function(_0x167e7d,_0x19b8e1){return _0x167e7d-_0x19b8e1;},'YeSuP':_0x1583a9(0x1b9),'czRei':function(_0x286d31,_0x274ff7){return _0x286d31>_0x274ff7;},'NvYZW':function(_0x408f44,_0x36a187){return _0x408f44+_0x36a187;},'qTOzd':function(_0x4b96aa,_0x233c8e,_0x207518,_0x408305){return _0x4b96aa(_0x233c8e,_0x207518,_0x408305);},'vhunL':_0x1583a9(0x17c),'VGkmx':_0x1583a9(0x171),'zGpCI':_0x1583a9(0x1f7),'qOTJR':_0x1583a9(0x1c9),'SyiLS':function(_0x396ce0,_0x26aad3){return _0x396ce0===_0x26aad3;},'Wmyag':_0x1583a9(0x180),'ePYMm':_0x1583a9(0x167),'lcAca':'close','NVHOB':'--disable-browserstack-automation','WJUjH':_0x1583a9(0x1c5),'QAMSg':_0x1583a9(0x178),'djViK':function(_0x4f9fdb,_0x1e222f){return _0x4f9fdb>=_0x1e222f;},'DYrLo':function(_0x591f0c,_0x13ceac){return _0x591f0c+_0x13ceac;},'qWPaf':_0x1583a9(0x19d),'mxsYg':function(_0x142d3b,_0x79592d){return _0x142d3b(_0x79592d);}};!helper[_0x1583a9(0x1cc)](process[_0x1583a9(0x16b)]['BROWSERSTACK_AUTOMATION'])&&(process[_0x1583a9(0x16b)][_0x1583a9(0x1d0)]=!![]);process[_0x1583a9(0x1fe)][_0x1583a9(0x1f4)](_0x5c93f5[_0x1583a9(0x1b4)])&&(process[_0x1583a9(0x16b)]['BROWSERSTACK_AUTOMATION']=_0x5c93f5[_0x1583a9(0x1ff)],_0x39336e=_0x39336e['filter'](_0x5aebb9=>_0x5aebb9!==_0x1583a9(0x1c0)));const _0x55750e=_0x39336e[_0x1583a9(0x1dc)](_0x5c93f5[_0x1583a9(0x192)]);_0x5c93f5['djViK'](_0x55750e,0x0)&&(process[_0x1583a9(0x16b)][_0x1583a9(0x1ae)]=_0x5c93f5[_0x1583a9(0x1ff)],_0x39336e=_0x39336e['filter'](_0x5ed531=>_0x5ed531!=='--disable-test-observability'));try{const _0x1858d0=path[_0x1583a9(0x1f8)](helper['homedir'](),_0x5c93f5[_0x1583a9(0x1a4)],_0x5c93f5[_0x1583a9(0x1d6)]);fs['existsSync'](_0x1858d0)&&fs[_0x1583a9(0x18f)](_0x1858d0);}catch(_0x5331a0){logger[_0x1583a9(0x1cf)](_0x5c93f5['DYrLo'](_0x5c93f5['qWPaf'],_0x5331a0));}if(!_0x5c93f5[_0x1583a9(0x17e)](isTestCommand,_0x1f1758,_0x39336e)){_0x5c93f5['mxsYg'](spawnOriginalProcess,_0x39336e);return;}const _0x41db96=new BrowserStackSetup(_0x1f1758,FRAMEWORKS[_0x1583a9(0x1db)]);await PerformanceTester[_0x1583a9(0x1ca)](PerformanceEvents[_0x1583a9(0x1a0)],async()=>{const _0x18a567=_0x1583a9,_0x202aa2={'AYZvT':_0x5c93f5[_0x18a567(0x188)],'hmzue':function(_0x3e79e2){const _0x529054=_0x18a567;return _0x5c93f5[_0x529054(0x1da)](_0x3e79e2);},'tffGr':function(_0x1508f5,_0x27ac86){const _0x4c65d9=_0x18a567;return _0x5c93f5[_0x4c65d9(0x1d2)](_0x1508f5,_0x27ac86);},'xKBUW':_0x5c93f5[_0x18a567(0x1c3)]};if(!_0x41db96[_0x18a567(0x200)]){logger[_0x18a567(0x1b7)](_0x5c93f5['WHFRb']);return;}await _0x41db96['initialize']();!helper['isUndefined'](_0x41db96[_0x18a567(0x1f3)])&&_0x41db96['cliConfig'][_0x18a567(0x1f6)](_0x5c93f5['Nzamu'])&&(process[_0x18a567(0x16b)][_0x18a567(0x1d0)]=_0x41db96['cliConfig'][_0x18a567(0x1a7)](_0x5c93f5[_0x18a567(0x1a6)])||!![]);_0x5c93f5[_0x18a567(0x18b)](_0x41db96['config'][_0x18a567(0x168)],null)&&!helper['isTrue'](process[_0x18a567(0x16b)][_0x18a567(0x1ae)])&&(process[_0x18a567(0x16b)][_0x18a567(0x1ae)]=process[_0x18a567(0x16b)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x41db96[_0x18a567(0x200)][_0x18a567(0x168)]);const _0x301883=!helper[_0x18a567(0x1cc)](process[_0x18a567(0x16b)]['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x479dfa=![];_0x41db96[_0x18a567(0x200)]['accessibility']&&(_0x479dfa=!![],process[_0x18a567(0x16b)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x41db96[_0x18a567(0x200)][_0x18a567(0x1df)]);_0x41db96[_0x18a567(0x200)][_0x18a567(0x19e)]&&(process[_0x18a567(0x16b)][_0x18a567(0x1c2)]=JSON['stringify'](_0x41db96[_0x18a567(0x200)][_0x18a567(0x19e)]));const _0xade48c=_0x39336e[_0x18a567(0x18c)](),_0x41affc=await _0x5c93f5[_0x18a567(0x17e)](getUserPlaywrightConfig,_0x1f1758,_0x39336e);if(helper[_0x18a567(0x17a)](_0x41affc)){_0x5c93f5[_0x18a567(0x1af)](spawnOriginalProcess,_0xade48c);return;}const _0x284ae2=_0x41affc[_0x18a567(0x1e5)]?path[_0x18a567(0x1f1)](_0x41affc[_0x18a567(0x1e5)]):process[_0x18a567(0x193)]();process['env'][_0x18a567(0x1fb)]=_0x284ae2,await PerformanceTester[_0x18a567(0x1ca)](PerformanceEvents[_0x18a567(0x1a2)],async()=>{const _0x51d4b4=_0x18a567;await TestHubHandler['launchBuild'](FRAMEWORKS['PLAYWRIGHT'],_0x41db96),_0x301883&&_0x5c93f5[_0x51d4b4(0x1af)](handleO11yRerun,_0x39336e);})();let _0x1d01dc=_0x5c93f5['nxdVa'](process[_0x18a567(0x16b)][_0x18a567(0x204)],_0x5c93f5[_0x18a567(0x1d7)]);_0x1d01dc=_0x1d01dc||_0x5c93f5[_0x18a567(0x1af)](checkAccessibilityPlatformConfig,_0x41db96[_0x18a567(0x200)]),process['env'][_0x18a567(0x204)]=_0x1d01dc;_0x1d01dc&&_0x5c93f5[_0x18a567(0x1c8)](setAccessibilityCapabilities,_0x41db96[_0x18a567(0x200)]);const _0x432515=path[_0x18a567(0x1f8)](_0x41affc[_0x18a567(0x1e5)]?path[_0x18a567(0x1f1)](_0x41affc[_0x18a567(0x1e5)]):process[_0x18a567(0x193)](),_0x5c93f5[_0x18a567(0x1ee)]);fs[_0x18a567(0x198)](_0x432515,helper['serializeToYamlString'](_0x41db96[_0x18a567(0x200)])),process['env'][_0x18a567(0x209)]=_0x432515,helper[_0x18a567(0x1b1)]();let _0x7f4210='';_0x5c93f5[_0x18a567(0x177)](helper[_0x18a567(0x16f)](),constants[_0x18a567(0x208)]['MODULE'])?_0x7f4210=_0x5c93f5[_0x18a567(0x1ed)]:_0x7f4210=_0x5c93f5['xtiyj'];let _0x357c6a='';if(helper[_0x18a567(0x1e9)](_0x41affc[_0x18a567(0x1e5)])){_0x357c6a=_0x18a567(0x1d9);const _0x37407a=_0x7f4210['split']('.');_0x37407a[_0x5c93f5[_0x18a567(0x18e)](_0x37407a[_0x18a567(0x1de)],0x1)]='ts',_0x7f4210=_0x37407a[_0x18a567(0x1f8)]('.'),logger[_0x18a567(0x1cf)](_0x5c93f5[_0x18a567(0x1aa)](_0x5c93f5[_0x18a567(0x1cd)],_0x7f4210));}else _0x357c6a='\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 _0x5098cd=path[_0x18a567(0x1f8)](_0x41affc[_0x18a567(0x1e5)]?path[_0x18a567(0x1f1)](_0x41affc['path']):process['cwd'](),_0x7f4210);let _0x48a522=_0x41affc[_0x18a567(0x1e5)]?_0x41affc[_0x18a567(0x1e5)]:'';_0x48a522=_0x5c93f5['czRei'](_0x48a522['length'],0x0)?path[_0x18a567(0x206)](_0x48a522):'',process[_0x18a567(0x16b)][_0x18a567(0x1b5)]=_0x48a522;const _0x34d93b=helper[_0x18a567(0x1a3)](_0x41db96[_0x18a567(0x200)]);_0x34d93b&&(_0x357c6a=_0x5c93f5[_0x18a567(0x1fd)](_0x18a567(0x195)+_0x34d93b+_0x18a567(0x17b),_0x357c6a));helper['filterBrowserstackArgs']({},_0x39336e),fs[_0x18a567(0x198)](_0x5098cd,_0x357c6a),PerformanceTester[_0x18a567(0x201)](PerformanceEvents[_0x18a567(0x1e7)]);const _0x10d8ec=_0x5c93f5['qTOzd'](spawn,_0x5c93f5[_0x18a567(0x1b0)],[_0x5c93f5['VGkmx'],_0x5c93f5['zGpCI'],_0x5c93f5[_0x18a567(0x19b)],_0x5098cd,..._0x39336e[_0x18a567(0x1b2)](0x2)],{'shell':_0x5c93f5['SyiLS'](process[_0x18a567(0x1c6)],_0x5c93f5['Wmyag']),'stdio':_0x5c93f5['ePYMm'],'cwd':process[_0x18a567(0x193)](),'env':Object[_0x18a567(0x172)]({},process[_0x18a567(0x16b)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x18a567(0x17d)](_0x1f1758),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x41db96[_0x18a567(0x200)][_0x18a567(0x1b8)][_0x18a567(0x187)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x41db96[_0x18a567(0x200)][_0x18a567(0x1b8)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x41db96['config'][_0x18a567(0x1cb)]})}),_0x19e1c0=()=>{const _0x5c1e81=_0x18a567;try{const _0x3fe6f1=path['join'](helper[_0x5c1e81(0x183)](),_0x5c93f5[_0x5c1e81(0x1a4)],_0x5c93f5[_0x5c1e81(0x1d6)]);if(fs['existsSync'](_0x3fe6f1)){let _0x226cf6=fs['readFileSync'](_0x3fe6f1);_0x226cf6=JSON[_0x5c1e81(0x1c1)](_0x226cf6),_0x41db96[_0x5c1e81(0x1d3)]=_0x226cf6,fs[_0x5c1e81(0x18f)](_0x3fe6f1);}}catch(_0x4e5fbd){logger[_0x5c1e81(0x1cf)](_0x5c93f5[_0x5c1e81(0x1aa)](_0x5c93f5['Xlrgn'],_0x4e5fbd));}};_0x10d8ec['on'](_0x5c93f5[_0x18a567(0x1ba)],async _0x7f11fe=>{const _0x5e9c27=_0x18a567;try{const _0x1aa38=_0x202aa2[_0x5e9c27(0x16e)][_0x5e9c27(0x1fa)]('|');let _0x231e2=0x0;while(!![]){switch(_0x1aa38[_0x231e2++]){case'0':await utilities[_0x5e9c27(0x173)](_0x41db96);continue;case'1':fs[_0x5e9c27(0x18f)](_0x5098cd);continue;case'2':fs[_0x5e9c27(0x18f)](_0x432515);continue;case'3':logger['debug'](_0x5e9c27(0x1bb)+_0x7f11fe);continue;case'4':await TestHubHandler[_0x5e9c27(0x1b6)]();continue;case'5':PerformanceTester[_0x5e9c27(0x1e2)](PerformanceEvents[_0x5e9c27(0x190)]);continue;case'6':process['exitCode']=_0x7f11fe;continue;case'7':_0x202aa2[_0x5e9c27(0x1c4)](_0x19e1c0);continue;case'8':logger[_0x5e9c27(0x189)](_0x5e9c27(0x196)+_0x5098cd);continue;case'9':logger['debug'](_0x5e9c27(0x196)+_0x432515);continue;}break;}}catch(_0xf30ca2){logger[_0x5e9c27(0x1cf)](_0x202aa2[_0x5e9c27(0x1eb)](_0x202aa2[_0x5e9c27(0x1e1)],_0xf30ca2));}});})();}module[a35_0x3c407d(0x199)]=run;
@@ -1 +1 @@
1
- const a36_0x311297=a36_0x861b;function a36_0x8d7b(){const _0x32bb4f=['1.33.0','\x20is\x20not\x20found','2843685SkjjgG','1791VkVZUe','wQhTr','requirePWModule','isHandlePWErrorSet','Path\x20','../../helpers/test-observability/constants','ZRkOM','fork','error','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','nbhWh','14035824wvxymR','OoQLu','462838UAZlbN','eqMvh','12EmHMwy','36xsByEg','KNIqY','env','20lnfGJo','WRPBc','455765UgEyye','./mock-process.js','5NEIOMJ','84IxiFhR','tQCzc','PLAYWRIGHT','./reporter/pwUtils','iLnzW','includes','format','tsubE','1316ztWyWb','5438329eqroBO','832008hpoXfO','riwCG','config','RHouF','child_process','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/helper','eOAZh','apply','resolve','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','winstonLogger','debug','Running\x20existing\x20global\x20setup','../../helpers/logger','Call\x20to\x20child\x20fork\x20with\x20args\x20','util'];a36_0x8d7b=function(){return _0x32bb4f;};return a36_0x8d7b();}function a36_0x861b(_0x22002e,_0x19b3a1){const _0x8d7b82=a36_0x8d7b();return a36_0x861b=function(_0x861b3b,_0x4e24d5){_0x861b3b=_0x861b3b-0x188;let _0x5dc6cd=_0x8d7b82[_0x861b3b];return _0x5dc6cd;},a36_0x861b(_0x22002e,_0x19b3a1);}(function(_0x1d0e7f,_0x457d95){const _0x30fb55=a36_0x861b,_0x39aa49=_0x1d0e7f();while(!![]){try{const _0x1d5d2e=-parseInt(_0x30fb55(0x1b8))/0x1*(parseInt(_0x30fb55(0x1ae))/0x2)+-parseInt(_0x30fb55(0x1a1))/0x3*(parseInt(_0x30fb55(0x18b))/0x4)+parseInt(_0x30fb55(0x1b6))/0x5*(parseInt(_0x30fb55(0x1b0))/0x6)+-parseInt(_0x30fb55(0x1b9))/0x7*(-parseInt(_0x30fb55(0x18d))/0x8)+parseInt(_0x30fb55(0x1a0))/0x9*(parseInt(_0x30fb55(0x1b4))/0xa)+parseInt(_0x30fb55(0x1ac))/0xb+parseInt(_0x30fb55(0x1b1))/0xc*(-parseInt(_0x30fb55(0x18c))/0xd);if(_0x1d5d2e===_0x457d95)break;else _0x39aa49['push'](_0x39aa49['shift']());}catch(_0x5145fb){_0x39aa49['push'](_0x39aa49['shift']());}}}(a36_0x8d7b,0xb227d));const util=require(a36_0x311297(0x19d)),child_process=require(a36_0x311297(0x191)),{FRAMEWORKS}=require(a36_0x311297(0x1a6)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x311297(0x193)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x311297(0x1bc)),{mockIsWorkerRedundant}=require('./patches'),logger=require(a36_0x311297(0x19b))[a36_0x311297(0x198)];module['exports']=async function(_0xab2e90){const _0x25970d=a36_0x311297,_0x1a24d1={'WRPBc':function(_0x504203,_0x3c4c5b){return _0x504203(_0x3c4c5b);},'iLnzW':function(_0x21e3f0){return _0x21e3f0();},'OoQLu':_0x25970d(0x1b7),'oFOQc':function(_0xf1a940){return _0xf1a940();},'KNIqY':function(_0x50db97){return _0x50db97();},'RHouF':_0x25970d(0x19a),'eqMvh':function(_0x47e692){return _0x47e692();},'wQhTr':function(_0x319b24,_0x13f432){return _0x319b24(_0x13f432);},'eOAZh':function(_0x5e6a6b,_0x2ea817){return _0x5e6a6b>=_0x2ea817;},'riwCG':_0x25970d(0x19e),'GTDiD':function(_0x1bda68,_0x5c6e24,_0x52cda7){return _0x1bda68(_0x5c6e24,_0x52cda7);},'tsubE':function(_0x379f9f,_0x1e7b9a){return _0x379f9f!==_0x1e7b9a;},'tQCzc':'function','ZRkOM':'Not\x20able\x20to\x20import\x20globalSetup','nbhWh':function(_0x47d810,_0x3df816){return _0x47d810(_0x3df816);}},_0x5a9dd1=child_process['fork'];if(helper[_0x25970d(0x1a4)]())try{_0x1a24d1[_0x25970d(0x1b2)](mockIsWorkerRedundant);}catch(_0x213772){logger[_0x25970d(0x199)](_0x25970d(0x1aa)+util[_0x25970d(0x189)](_0x213772));}child_process[_0x25970d(0x1a8)]=function(){const _0x59ce1c=_0x25970d;return _0x1a24d1[_0x59ce1c(0x1b5)](debug,_0x59ce1c(0x19c)+arguments[0x0]),arguments[0x0][_0x59ce1c(0x188)](_0x1a24d1[_0x59ce1c(0x1bd)](getForkProcessPath))?arguments[0x0]=require[_0x59ce1c(0x196)](_0x1a24d1[_0x59ce1c(0x1ad)]):logger[_0x59ce1c(0x1a9)](_0x59ce1c(0x1a5)+_0x1a24d1['oFOQc'](getForkProcessPath)+_0x59ce1c(0x19f)),_0x5a9dd1[_0x59ce1c(0x195)](null,arguments);};if(process[_0x25970d(0x1b3)][_0x25970d(0x197)]){_0x1a24d1[_0x25970d(0x1b5)](debug,_0x1a24d1[_0x25970d(0x190)]);try{const {loadGlobalHook:_0x590d63}=helper[_0x25970d(0x1a3)][_0x25970d(0x195)](null,_0x1a24d1[_0x25970d(0x1af)](getLoadUtilsPath)),_0x552a3c=_0x1a24d1[_0x25970d(0x1a2)](getFrameworkVersion,FRAMEWORKS[_0x25970d(0x1bb)]);let _0x267934=_0xab2e90;if(_0x1a24d1[_0x25970d(0x194)](helper['compareVersions'](_0x552a3c,_0x1a24d1[_0x25970d(0x18e)]),0x0)){const _0x47a118={};_0x47a118[_0x25970d(0x18f)]=_0xab2e90,_0x267934=_0x47a118;}const _0x58436e=await _0x1a24d1['GTDiD'](_0x590d63,_0x267934,process['env'][_0x25970d(0x197)]);if(_0x1a24d1[_0x25970d(0x18a)](typeof _0x58436e,_0x1a24d1[_0x25970d(0x1ba)]))throw new Error(_0x1a24d1[_0x25970d(0x1a7)]);return _0x58436e[_0x25970d(0x195)](null,arguments);}catch(_0x500a0d){_0x1a24d1[_0x25970d(0x1ab)](debug,_0x25970d(0x192)+_0x500a0d['toString']());}}};
1
+ const a36_0x211239=a36_0x2300;(function(_0x2adb0e,_0x26bdd8){const _0x3e1dab=a36_0x2300,_0xdb8ec8=_0x2adb0e();while(!![]){try{const _0x4002ed=-parseInt(_0x3e1dab(0x183))/0x1+parseInt(_0x3e1dab(0x1a4))/0x2*(-parseInt(_0x3e1dab(0x1a3))/0x3)+parseInt(_0x3e1dab(0x182))/0x4*(parseInt(_0x3e1dab(0x196))/0x5)+-parseInt(_0x3e1dab(0x190))/0x6*(parseInt(_0x3e1dab(0x185))/0x7)+-parseInt(_0x3e1dab(0x194))/0x8*(-parseInt(_0x3e1dab(0x1a6))/0x9)+parseInt(_0x3e1dab(0x1a2))/0xa+parseInt(_0x3e1dab(0x193))/0xb;if(_0x4002ed===_0x26bdd8)break;else _0xdb8ec8['push'](_0xdb8ec8['shift']());}catch(_0x221d13){_0xdb8ec8['push'](_0xdb8ec8['shift']());}}}(a36_0x53ab,0x3f9f4));function a36_0x53ab(){const _0x53f68a=['gnoQc','PiPed','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','ZGZlL','Call\x20to\x20child\x20fork\x20with\x20args\x20','toString','format','includes','Running\x20existing\x20global\x20setup','nAGeQ','ORPDm','1945090dpseXV','182931BQbhbt','4BBVXth','../../helpers/test-observability/utils','27ilmjgK','winstonLogger','error','apply','./patches','LJOgD','util','fork','KQWcn','DTeAo','requirePWModule','2152kvMpEJ','274438LYGKov','dqYZu','1771qCPHox','exports','yNszS','env','resolve','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','function','CdZDr','PLAYWRIGHT','../../helpers/test-observability/constants','Path\x20','3678ZZyLQQ','./mock-process.js','./reporter/pwUtils','1320275NFQUyG','717048zysRCR','Not\x20able\x20to\x20import\x20globalSetup','2125ecLUbB'];a36_0x53ab=function(){return _0x53f68a;};return a36_0x53ab();}function a36_0x2300(_0x5533ac,_0x9ca8b0){const _0x53aba4=a36_0x53ab();return a36_0x2300=function(_0x2300ef,_0x1b029f){_0x2300ef=_0x2300ef-0x17a;let _0x578efe=_0x53aba4[_0x2300ef];return _0x578efe;},a36_0x2300(_0x5533ac,_0x9ca8b0);}const util=require(a36_0x211239(0x17d)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x211239(0x18e)),{getFrameworkVersion,debug}=require(a36_0x211239(0x1a5)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x211239(0x192)),{mockIsWorkerRedundant}=require(a36_0x211239(0x17b)),logger=require('../../helpers/logger')[a36_0x211239(0x1a7)];module[a36_0x211239(0x186)]=async function(_0x19c6c2){const _0x316393=a36_0x211239,_0x5aaef0={'PiPed':function(_0x177d82,_0x2e2761){return _0x177d82(_0x2e2761);},'dqYZu':function(_0x294436){return _0x294436();},'KQWcn':_0x316393(0x191),'eEEzQ':function(_0x34f4f7,_0x2a1674){return _0x34f4f7(_0x2a1674);},'gnoQc':_0x316393(0x19f),'aAKME':function(_0x564a8a){return _0x564a8a();},'LJOgD':function(_0x40f3bf,_0x4808a9){return _0x40f3bf(_0x4808a9);},'CdZDr':function(_0x4c9571,_0x3513b0){return _0x4c9571>=_0x3513b0;},'yNszS':'1.33.0','nAGeQ':function(_0x19c1df,_0x9020dc,_0x2e4349){return _0x19c1df(_0x9020dc,_0x2e4349);},'ORPDm':function(_0x41bafc,_0x3c7314){return _0x41bafc!==_0x3c7314;},'DTeAo':_0x316393(0x18b),'ZGZlL':_0x316393(0x195),'PYUHx':function(_0x16175d,_0x490918){return _0x16175d(_0x490918);}},_0x374115=child_process[_0x316393(0x17e)];if(helper['isHandlePWErrorSet']())try{_0x5aaef0[_0x316393(0x184)](mockIsWorkerRedundant);}catch(_0x373441){logger['debug']('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x316393(0x19d)](_0x373441));}child_process[_0x316393(0x17e)]=function(){const _0x707c26=_0x316393;return _0x5aaef0[_0x707c26(0x198)](debug,_0x707c26(0x19b)+arguments[0x0]),arguments[0x0][_0x707c26(0x19e)](_0x5aaef0[_0x707c26(0x184)](getForkProcessPath))?arguments[0x0]=require[_0x707c26(0x189)](_0x5aaef0[_0x707c26(0x17f)]):logger[_0x707c26(0x1a8)](_0x707c26(0x18f)+_0x5aaef0[_0x707c26(0x184)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x374115[_0x707c26(0x17a)](null,arguments);};if(process['env'][_0x316393(0x18a)]){_0x5aaef0['eEEzQ'](debug,_0x5aaef0[_0x316393(0x197)]);try{const {loadGlobalHook:_0x1aabd7}=helper[_0x316393(0x181)][_0x316393(0x17a)](null,_0x5aaef0['aAKME'](getLoadUtilsPath)),_0x3514f3=_0x5aaef0[_0x316393(0x17c)](getFrameworkVersion,FRAMEWORKS[_0x316393(0x18d)]);let _0x3c4aa1=_0x19c6c2;if(_0x5aaef0[_0x316393(0x18c)](helper['compareVersions'](_0x3514f3,_0x5aaef0[_0x316393(0x187)]),0x0)){const _0x12cebc={};_0x12cebc['config']=_0x19c6c2,_0x3c4aa1=_0x12cebc;}const _0x5ea03d=await _0x5aaef0[_0x316393(0x1a0)](_0x1aabd7,_0x3c4aa1,process[_0x316393(0x188)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x5aaef0[_0x316393(0x1a1)](typeof _0x5ea03d,_0x5aaef0[_0x316393(0x180)]))throw new Error(_0x5aaef0[_0x316393(0x19a)]);return _0x5ea03d[_0x316393(0x17a)](null,arguments);}catch(_0xe7889){_0x5aaef0['PYUHx'](debug,_0x316393(0x199)+_0xe7889[_0x316393(0x19c)]());}}};