browserstack-node-sdk 1.49.6 → 1.49.8

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 (186) 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/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a94_0x19b5d7=a94_0x3736;(function(_0x1f396f,_0xb041e5){const _0xb33b09=a94_0x3736,_0x22dfe9=_0x1f396f();while(!![]){try{const _0x4acb40=-parseInt(_0xb33b09(0x124))/0x1+-parseInt(_0xb33b09(0x98))/0x2+-parseInt(_0xb33b09(0x126))/0x3*(-parseInt(_0xb33b09(0xb8))/0x4)+parseInt(_0xb33b09(0x134))/0x5*(-parseInt(_0xb33b09(0x109))/0x6)+parseInt(_0xb33b09(0xd3))/0x7*(-parseInt(_0xb33b09(0xfa))/0x8)+-parseInt(_0xb33b09(0x17f))/0x9*(parseInt(_0xb33b09(0x157))/0xa)+parseInt(_0xb33b09(0x10a))/0xb*(parseInt(_0xb33b09(0xdf))/0xc);if(_0x4acb40===_0xb041e5)break;else _0x22dfe9['push'](_0x22dfe9['shift']());}catch(_0x24b0bb){_0x22dfe9['push'](_0x22dfe9['shift']());}}}(a94_0x59d0,0xd19ec));const util=require(a94_0x19b5d7(0xe2)),os=require('os'),path=require(a94_0x19b5d7(0x193)),{v4:uuidv4}=require(a94_0x19b5d7(0x151)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0x19b5d7(0x15e))[a94_0x19b5d7(0x105)],fileLogger=require('./logger')[a94_0x19b5d7(0xa2)],{getLogDir}=require(a94_0x19b5d7(0x15e)),helper=require(a94_0x19b5d7(0x8a)),utilities=require(a94_0x19b5d7(0xe8)),percyHelper=require('./percy/utils'),hubAllocator=require(a94_0x19b5d7(0xd8)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x19b5d7(0x18f)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require(a94_0x19b5d7(0xee)),LoadTestModule=require(a94_0x19b5d7(0x104)),{getEdsInstrumentationAPIUrl}=require('../bin/utils/apiUtilityMethods'),ClientTroubleShootingService=require(a94_0x19b5d7(0xe1));function a94_0x3736(_0x30c365,_0x55c765){const _0x59d0e6=a94_0x59d0();return a94_0x3736=function(_0x37360d,_0x14447f){_0x37360d=_0x37360d-0x88;let _0x38da46=_0x59d0e6[_0x37360d];return _0x38da46;},a94_0x3736(_0x30c365,_0x55c765);}function a94_0x59d0(){const _0x18e8b8=['xkjIp','userName','xBrFl','stopBrowserstackLocal','IaPUQ','LcSFg','setupPercy','bstackConfig','HcTir','4|2|3|1|0','gspTC','setUpHubUrl','AI_PROXY_FAILURE','env','exceptions','isTrue','2|23|1|17|16|19|20|0|3|7|15|11|21|4|14|12|6|8|10|13|5|22|18|9','rmpAm','isTrialGrid','push','split','16ThTobM','LqHUn','killSignal','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','ZypVW','toLowerCase','swGKz','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','errorMessage','Rvpbo','kWVEP','turboScale','SHJfb','setBrowserstackInfraFromConfig','skipSessionStatus','custom-repeater','forceLocal','proxy','KUYSl','configPath','aiHeal:tcgAuth','cliConfig','browserStackLocalOptions','SIGQUIT','preInitialize','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','exitHandler','1603889fbYyVX','percy','message','startLocalBinary','oKgZV','../hubAllocationMethods','Local\x20binary\x20started\x20successfully','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','SIGHUP','oJJLY','QGaXH','generateLocalIdentifier','8832xMRrYY','browserstackLocal','../bin/utils/clientTroubleshootingService','util','tcgAuthConfig','aNsXF','zXZqC','qwJZJ','gsAbG','./utilities','AptVt','writeFileSync','NOwCj','setupKeepAlive','ZfPtK','../bin/v2/browserstackCLI','getProxyConfigForTcg','error','getPackageVersion','__isPlaywrightInstalled','Error\x20occured\x20while\x20stopping\x20percy','FCSxr','ydMcf','getTurboScaleGridDetails','INVALID_INIT_RESP_WITH_USER_IMPACT','localIdentifier','setLogLevel','32GvmMRa','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','ccRdW','Local\x20binary\x20stopped','msExJ','FWXux','WpHmu','platforms','isRunning','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','../bin/v2/modules/loadTestModule','winstonLogger','getFinalCaps','QFTlk','checkStopLocalBinaryOnExit','72ogcYKg','78034dYAOEK','No\x20config\x20provided.','doSkF','qzXOA','TCG_AUTH_TIMEOUT','beforeExit','SwBRD','4.5.0','HUB_MANAGEMENT','xqWXH','Error\x20in\x20sending\x20testhub\x20stop:\x20','win32','Wnhzv','NONoD','reportFinalDetectionState','0|5|3|2|1|4|7|6','isEnabled','isBrowserstackInfra','YhDwT','toString','Data\x20sent\x20successfully\x20to\x20','zUVQd','statusCode','events.json','setLogDir','kgGNp','1025453MVfjtd','framework','400593CrqbWh','version','stopPercy','length','setupTcgConfigFile','TBhal','intExitHandler','reportProcessInterruptionSituation','end','url','cwobz','BROWSERSTACK_TURBOSCALE','stop','selfHeal','321055dtVpIq','isHealingEnabled','RYUgc','eWiQz','../ai-sdk-node/bundle','sendToEDS','handleExceptions','proxyUrl','uPkep','proxyConfig','useW3C','setCLICaps','true','handled','getHubUrl','status','SDK\x20run\x20started\x20with\x20id:\x20','ofJyC','uncaughtException','XHxbq','hubUrl','codeceptjs','close','getInstance','isAuthenticated','\x20with\x20error\x20','ats-repeater','BSabN','info','uuid','qKdtT','config','KzhEq','TCG_URL','omQnv','100roFkGr','getAccessKey','initialize','envConfig','startMonitoring','normalizeTestReportingEnvVars','default','./logger','setupBrowserstackLocal','tbVVz','NtolB','fireFunnelTestEvent','isNotUndefined','ulpRl','\x20with\x20response\x20','mbwPP','fFzVN','allocateHub','turboScaleGridDetails','race','then','unhandledErrors','skipSessionName','playwrightUrl','tcg\x20config\x20setup\x20successful.','join','sGkJU','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','GqqDV','setHandlePWError','AI_INIT_FAILURE','BROWSERSTACK_PERCY','wndii','setupTCGAuth','skipBinaryInitialisation','SDK_CLEANUP','sdkRunId','SIGTERM','finalize','getConfigPath','694359AjLSUs','WQOfA','format','seJzZ','DfHmZ','isTurboScaleSession','constructor','captureError','localOptions','isUndefined','kEFNb','readConfig','BrowserstackHealingInitFailed','accessKey','Percy\x20stopped','getLocalIdentifier','./performance/constants','selenium-webdriver','false','pjctc','path','iynAF','Failed\x20to\x20send\x20data\x20to\x20','./helper','uPxKm','TCG_AUTH_FAILURE','measures','platform','OzRgx','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','integrations','aeWdT','getLocalConfig','setCredentialsFromYmlConfig','startPercy','testContextOptions','central_scanner','2825402rmjJxj','getUserName','measureWrapper','SIGBREAK','setEnvCaps','SIGINT','qBzNa','cancel','Calling\x20Build\x20Stop\x20from\x20ExitHandler','debug','fileLogger'];a94_0x59d0=function(){return _0x18e8b8;};return a94_0x59d0();}class BrowserStackSetup{constructor(_0x29caf5,_0x2e840){const _0xd123e0=a94_0x19b5d7,_0x4ac488={'mbwPP':_0xd123e0(0xb3),'zXZqC':function(_0x6866c7){return _0x6866c7();},'uPkep':_0xd123e0(0x10b)},_0x1e1538=_0x4ac488[_0xd123e0(0x166)][_0xd123e0(0xb7)]('|');let _0x59bb9a=0x0;while(!![]){switch(_0x1e1538[_0x59bb9a++]){case'0':this[_0xd123e0(0xcd)]=helper[_0xd123e0(0x13f)](_0x29caf5);continue;case'1':this[_0xd123e0(0x15a)]=helper[_0xd123e0(0x9c)]();continue;case'2':this[_0xd123e0(0x16c)]=[];continue;case'3':this[_0xd123e0(0x153)]['platforms']=this['config']['platforms']||[];continue;case'4':global[_0xd123e0(0x125)]=_0x2e840;continue;case'5':helper[_0xd123e0(0x106)](this['config'],this[_0xd123e0(0xcd)],this[_0xd123e0(0x15a)]);continue;case'6':helper[_0xd123e0(0xc5)](this[_0xd123e0(0x153)],this[_0xd123e0(0xcd)]);continue;case'7':this[_0xd123e0(0x153)]['testContextOptions']=this['config'][_0xd123e0(0x96)]||{};continue;case'8':helper[_0xd123e0(0x94)](this[_0xd123e0(0x153)]);continue;case'9':PerformanceTester[_0xd123e0(0x15b)]();continue;case'10':this[_0xd123e0(0x153)][_0xd123e0(0x96)]['skipSessionStatus']=!helper['isBrowserstackInfra']()||helper[_0xd123e0(0xb2)](this[_0xd123e0(0x153)]['testContextOptions'][_0xd123e0(0xc6)]);continue;case'11':this[_0xd123e0(0x17b)]=_0x4ac488[_0xd123e0(0xe5)](uuidv4);continue;case'12':if(this['config'][_0xd123e0(0xf0)])throw new Error(this[_0xd123e0(0x153)][_0xd123e0(0xf0)]);continue;case'13':this[_0xd123e0(0x153)]['testContextOptions'][_0xd123e0(0x16d)]=!helper[_0xd123e0(0x11b)]()||helper['isTrue'](this[_0xd123e0(0x153)]['testContextOptions'][_0xd123e0(0x16d)]);continue;case'14':if(helper['isUndefined'](this[_0xd123e0(0x153)]))throw new Error(_0x4ac488[_0xd123e0(0x13c)]);continue;case'15':this[_0xd123e0(0xc0)]={};continue;case'16':this[_0xd123e0(0xd4)]=null;continue;case'17':this[_0xd123e0(0xe0)]=null;continue;case'18':helper[_0xd123e0(0xf9)](this['config'],this[_0xd123e0(0xcd)],this[_0xd123e0(0x15a)]);continue;case'19':this[_0xd123e0(0xcb)]=helper[_0xd123e0(0x17e)](_0x29caf5);continue;case'20':this[_0xd123e0(0x153)]=helper[_0xd123e0(0x18a)](this[_0xd123e0(0xcb)]);continue;case'21':this[_0xd123e0(0x125)]=_0x2e840;continue;case'22':helper[_0xd123e0(0x122)](this[_0xd123e0(0x153)]);continue;case'23':helper[_0xd123e0(0x15c)]();continue;}break;}}['preInitialize'](_0x1050e1){const _0x3a13cf=a94_0x19b5d7,_0xde0314={'SwBRD':'userName\x20or\x20accessKey\x20is\x20not\x20defined','qBzNa':function(_0x794677,_0x23a75c){return _0x794677===_0x23a75c;},'ZypVW':function(_0x141812,_0x40e126){return _0x141812===_0x40e126;},'LcSFg':_0x3a13cf(0x91),'kgGNp':'SDKTestAttempted','uiTIQ':function(_0x38b275,_0x245066){return _0x38b275<_0x245066;},'aEcIL':function(_0x5523cf,_0x512e4a){return _0x5523cf(_0x512e4a);},'qwJZJ':_0x3a13cf(0x190),'YhDwT':function(_0x5e1099,_0xf74a6c){return _0x5e1099===_0xf74a6c;},'Rvpbo':_0x3a13cf(0x111),'wndii':_0x3a13cf(0xfb),'QGaXH':_0x3a13cf(0xbf),'ARZAc':_0x3a13cf(0x17c),'zUVQd':_0x3a13cf(0x9d),'Xnjdr':_0x3a13cf(0xdb),'kEFNb':function(_0x4e8441,_0x10b0fc){return _0x4e8441!==_0x10b0fc;},'XHxbq':_0x3a13cf(0x115),'yYixT':'SIGABRT','ZfPtK':_0x3a13cf(0xcf),'PBykc':_0x3a13cf(0x9b),'fHzHr':'beforeExit'},_0x33cc8c=this['framework'];global[_0x3a13cf(0x153)]=this[_0x3a13cf(0x153)],helper['sanitizeCaps'](this['config']),this[_0x3a13cf(0xba)]=null,global[_0x3a13cf(0x17b)]=this[_0x3a13cf(0x17b)],logger[_0x3a13cf(0x150)](_0x3a13cf(0x144)+this[_0x3a13cf(0x17b)]),!this[_0x3a13cf(0x153)][_0x3a13cf(0xce)]&&(this[_0x3a13cf(0x153)][_0x3a13cf(0xce)]=this[_0x3a13cf(0x153)][_0x3a13cf(0x187)]||{});if(helper['isUndefined'](helper[_0x3a13cf(0x99)](this['config']))||helper[_0x3a13cf(0x188)](helper[_0x3a13cf(0x158)](this['config'])))throw new Error(_0xde0314[_0x3a13cf(0x110)]);helper[_0x3a13cf(0x93)](this[_0x3a13cf(0x153)])&&helper['isUndefined'](helper[_0x3a13cf(0x18e)](this['config']))&&(!helper[_0x3a13cf(0x188)](this[_0x3a13cf(0x153)][_0x3a13cf(0xce)])&&_0xde0314[_0x3a13cf(0x9e)](this['config'][_0x3a13cf(0xce)][_0x3a13cf(0x185)],Object)?!helper[_0x3a13cf(0xb2)](this[_0x3a13cf(0x153)][_0x3a13cf(0xce)][_0x3a13cf(0x179)])&&(this[_0x3a13cf(0x153)][_0x3a13cf(0xce)][_0x3a13cf(0xf8)]=helper[_0x3a13cf(0xde)]()):this['config'][_0x3a13cf(0xce)]={'localIdentifier':helper[_0x3a13cf(0xde)]()});this['config'][_0x3a13cf(0xce)][_0x3a13cf(0x179)]=helper[_0x3a13cf(0xb2)](this[_0x3a13cf(0x153)][_0x3a13cf(0xce)]['skipBinaryInitialisation']),helper[_0x3a13cf(0x174)](this['config']);if(_0xde0314[_0x3a13cf(0xbc)](_0x33cc8c,_0xde0314[_0x3a13cf(0xa8)]))return;this[_0x3a13cf(0x13a)]();process[_0x3a13cf(0xb0)][_0x3a13cf(0x131)]&&(this[_0x3a13cf(0x153)][_0x3a13cf(0xc3)]=helper[_0x3a13cf(0xb2)](process[_0x3a13cf(0xb0)]['BROWSERSTACK_TURBOSCALE']),this[_0x3a13cf(0x153)]['turboScaleOptions']=this['config']['turboScaleOptions']||{});helper['isTurboScaleSession'](this[_0x3a13cf(0x153)])&&(process[_0x3a13cf(0xb0)][_0x3a13cf(0x131)]=!![]);LoadTestModule['isLTSSession'](this['config'])&&logger[_0x3a13cf(0xa1)](_0x3a13cf(0x172)+this[_0x3a13cf(0x17b)]);if(!helper['isBrowserstackInfra']()){try{process[_0x3a13cf(0xb0)]['FRAMEWORK']=_0x33cc8c,utilities[_0x3a13cf(0x162)](_0xde0314[_0x3a13cf(0x123)],{},this[_0x3a13cf(0x153)],this[_0x3a13cf(0x125)]);}catch(_0x518288){logger['debug']('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x518288);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x33cc8c)){if(global[_0x3a13cf(0xf2)])return;_0xde0314['uiTIQ'](_0xde0314['aEcIL'](parseInt,helper[_0x3a13cf(0xf1)](_0xde0314[_0x3a13cf(0xe6)])),0x3)&&(this['config'][_0x3a13cf(0x13e)]=![]),_0xde0314[_0x3a13cf(0x11c)](helper['compareVersions'](helper[_0x3a13cf(0xf1)](_0xde0314[_0x3a13cf(0xe6)]),_0xde0314[_0x3a13cf(0xc1)]),0x1)&&(this['config'][_0x3a13cf(0x13e)]=!![]);}(helper['isUndefined'](this[_0x3a13cf(0x153)][_0x3a13cf(0x101)])||helper[_0x3a13cf(0x188)](this[_0x3a13cf(0x153)][_0x3a13cf(0x101)][_0x3a13cf(0x129)]))&&(helper[_0x3a13cf(0x188)](this['config']['parallelsPerPlatform'])?logger[_0x3a13cf(0x150)](_0xde0314[_0x3a13cf(0x177)]):logger['warn'](_0xde0314[_0x3a13cf(0xdd)]),this[_0x3a13cf(0x153)][_0x3a13cf(0x101)]=[]);!this[_0x3a13cf(0x153)][_0x3a13cf(0x96)]&&(this[_0x3a13cf(0x153)][_0x3a13cf(0x96)]={});try{process[_0x3a13cf(0xb0)]['FRAMEWORK']=_0x1050e1['_'][0x0],utilities[_0x3a13cf(0x162)](_0xde0314[_0x3a13cf(0x123)],{},this[_0x3a13cf(0x153)],this[_0x3a13cf(0x125)]);}catch(_0x3c4641){logger[_0x3a13cf(0xa1)](_0x3a13cf(0xda)+_0x3c4641);}!this['config']['disableAutoCaptureLogs']&&logger[_0x3a13cf(0x150)](constants['AUTOLOGCAPTURE_NOTIFICATION']),this[_0x3a13cf(0x12c)]=this['intExitHandler']['bind'](this),process['on'](_0xde0314['ARZAc'],this[_0x3a13cf(0x12c)]),process['on'](_0xde0314[_0x3a13cf(0x11f)],this[_0x3a13cf(0x12c)]),process['on'](_0xde0314['Xnjdr'],this['intExitHandler']),_0xde0314[_0x3a13cf(0x189)](process[_0x3a13cf(0x8e)],_0xde0314[_0x3a13cf(0x147)])?(process['on'](_0xde0314['yYixT'],this[_0x3a13cf(0x12c)]),process['on'](_0xde0314[_0x3a13cf(0xed)],this[_0x3a13cf(0x12c)])):process['on'](_0xde0314['PBykc'],this[_0x3a13cf(0x12c)]),process['on'](_0xde0314['fHzHr'],this[_0x3a13cf(0xd2)]());}async[a94_0x19b5d7(0x159)](_0x52783e){const _0x689add=a94_0x19b5d7,_0x19f8da={'hiCjF':_0x689add(0x14e),'ydMcf':_0x689add(0xc7),'cwobz':'true','JzSRd':function(_0x446278,_0x4895bf){return _0x446278===_0x4895bf;},'IaPUQ':'playwright','qzXOA':function(_0x54db7c,_0x55a4ac){return _0x54db7c+_0x55a4ac;},'gspTC':'?caps=','SHJfb':function(_0x13794f,_0x5cf764){return _0x13794f(_0x5cf764);},'zOOyT':_0x689add(0x149)};this[_0x689add(0xd0)](_0x52783e);if(helper['isTurboScaleSession'](this['config'])){const _0xafafcf=await helper[_0x689add(0xf6)](this['config']);this[_0x689add(0x153)][_0x689add(0x169)]=_0xafafcf,_0xafafcf[_0x689add(0xb5)]&&helper[_0x689add(0x163)](this['config'][_0x689add(0xe0)])&&helper[_0x689add(0xb2)](this[_0x689add(0x153)][_0x689add(0xe0)])&&(this[_0x689add(0x153)][_0x689add(0xce)]['localIdentifier']=_0x19f8da['hiCjF'],this['config'][_0x689add(0xce)][_0x19f8da[_0x689add(0xf5)]]=_0xafafcf['customRepeaters'][_0x689add(0x170)](','),this['config']['browserStackLocalOptions'][_0x689add(0xc8)]=_0x19f8da[_0x689add(0x130)]),this[_0x689add(0x153)]['turboScaleUrl']=_0xafafcf[_0x689add(0x12f)],this[_0x689add(0x125)]&&_0x19f8da['JzSRd'](this['framework'][_0x689add(0xbd)](),_0x19f8da[_0x689add(0xa7)])?this[_0x689add(0x153)]['turboScaleUrl']=_0x19f8da[_0x689add(0x10d)](_0xafafcf[_0x689add(0x16e)],_0x19f8da[_0x689add(0xad)]):constants[_0x689add(0x148)]=helper[_0x689add(0x142)](this[_0x689add(0x153)]),logger[_0x689add(0xa1)](_0x689add(0xbb)+constants[_0x689add(0x148)]);}helper['setProxySettings'](this[_0x689add(0x153)]),this[_0x689add(0xec)](),_0x19f8da[_0x689add(0xc4)](setPercyFlag,this),await this[_0x689add(0x15f)](),![_0x19f8da['zOOyT'],_0x19f8da[_0x689add(0xa7)]]['includes'](this[_0x689add(0x125)])&&!helper[_0x689add(0x184)](this['config'])&&!helper['getCentralUser']()[_0x689add(0x97)]&&await this[_0x689add(0xae)]();}async[a94_0x19b5d7(0xa9)](){const _0x177832=a94_0x19b5d7,_0x1feec9={};_0x1feec9[_0x177832(0xb4)]=function(_0x3d10df,_0x44f789){return _0x3d10df===_0x44f789;},_0x1feec9[_0x177832(0x117)]=_0x177832(0x191),_0x1feec9[_0x177832(0x100)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x1feec9[_0x177832(0x173)]='Percy\x20started\x20successfully',_0x1feec9[_0x177832(0x171)]=_0x177832(0x140),_0x1feec9[_0x177832(0x183)]=_0x177832(0x10f);const _0x27e154=_0x1feec9;if(helper[_0x177832(0xb2)](this[_0x177832(0x153)][_0x177832(0xd4)])&&(!this[_0x177832(0xd4)]||!this['percy'][_0x177832(0x102)]()))try{this[_0x177832(0xd4)]=await percyHelper[_0x177832(0x95)](this[_0x177832(0x153)]);if(!this[_0x177832(0xd4)]){process[_0x177832(0xb0)][_0x177832(0x176)]=_0x27e154[_0x177832(0x117)];throw new Error(_0x27e154[_0x177832(0x100)]);}logger[_0x177832(0x150)](_0x27e154['GqqDV']),process[_0x177832(0xb0)][_0x177832(0x176)]=_0x27e154[_0x177832(0x171)];let _0x3b87c9=0x0;const _0x4e5895=async()=>{const _0x1965e5=_0x177832;_0x3b87c9++,_0x27e154[_0x1965e5(0xb4)](_0x3b87c9,0x1)&&await this[_0x1965e5(0x128)]();};process['on'](_0x27e154[_0x177832(0x183)],_0x4e5895);}catch(_0x5d0590){process[_0x177832(0xb0)][_0x177832(0x176)]=_0x27e154[_0x177832(0x117)],logger[_0x177832(0xa1)]('Error\x20in\x20percy\x20setup\x20'+_0x5d0590);throw new Error(_0x5d0590['toString']());}}async[a94_0x19b5d7(0x128)](){const _0x44da97=a94_0x19b5d7,_0x4fc06c={};_0x4fc06c['oJJLY']=_0x44da97(0x18d),_0x4fc06c[_0x44da97(0xf4)]=_0x44da97(0xf3);const _0x1890eb=_0x4fc06c;if(this['percy']&&this['percy'][_0x44da97(0x102)]())try{await percyHelper[_0x44da97(0x128)](this[_0x44da97(0xd4)]),logger[_0x44da97(0x150)](_0x1890eb[_0x44da97(0xdc)]);}catch(_0x173fbc){logger['error'](_0x1890eb[_0x44da97(0xf4)],_0x173fbc[_0x44da97(0xd5)]);}}async['setupBrowserstackLocal'](){const _0x579a25=a94_0x19b5d7,_0x3dcf8d={};_0x3dcf8d[_0x579a25(0x154)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x3dcf8d[_0x579a25(0xff)]=_0x579a25(0xd9);const _0x94b742=_0x3dcf8d;if(helper[_0x579a25(0x11b)]()&&helper[_0x579a25(0xb2)](this[_0x579a25(0x153)][_0x579a25(0xe0)])&&(!this[_0x579a25(0xe0)]||!this[_0x579a25(0xe0)][_0x579a25(0x102)]()))try{if(this['config'][_0x579a25(0xce)][_0x579a25(0x179)]){logger['debug'](_0x94b742[_0x579a25(0x154)]);return;}this[_0x579a25(0xe0)]=await helper[_0x579a25(0xd6)](this[_0x579a25(0x153)]),logger['info'](_0x94b742[_0x579a25(0xff)]);}catch(_0x4f93d8){logger[_0x579a25(0xa1)](_0x4f93d8);throw new Error(_0x4f93d8[_0x579a25(0x11d)]());}}async[a94_0x19b5d7(0xa6)](){const _0xa41773=a94_0x19b5d7,_0x252a6b={};_0x252a6b[_0xa41773(0x182)]=_0xa41773(0xfd),_0x252a6b[_0xa41773(0x8f)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x12b46f=_0x252a6b;if(this[_0xa41773(0xe0)]&&this[_0xa41773(0xe0)]['isRunning']())try{await helper['stopLocalBinary'](this[_0xa41773(0xe0)]),logger['info'](_0x12b46f[_0xa41773(0x182)]);}catch(_0x20e793){logger[_0xa41773(0xf0)](_0x12b46f[_0xa41773(0x8f)],_0x20e793[_0xa41773(0xd5)]);}}async['setUpHubUrl'](){const _0x5f76a0=a94_0x19b5d7;return PerformanceTester[_0x5f76a0(0x9a)](PerformanceAutEvents[_0x5f76a0(0x112)],async()=>{const _0x27ace1=_0x5f76a0;await hubAllocator[_0x27ace1(0x168)](this[_0x27ace1(0x153)]);})();}async[a94_0x19b5d7(0x178)](){const _0x527168=a94_0x19b5d7,_0x1e9b3a={'aeWdT':function(_0x10e17e,_0x3c7852){return _0x10e17e(_0x3c7852);},'swGKz':_0x527168(0x138),'kWVEP':function(_0x4e1150,_0x5e9cae,_0x4d0fba,_0x1e185a,_0xf24411,_0x248f9c,_0x83524f){return _0x4e1150(_0x5e9cae,_0x4d0fba,_0x1e185a,_0xf24411,_0x248f9c,_0x83524f);},'aNsXF':'BrowserstackHealing.init\x20method\x20timed\x20out','WQOfA':_0x527168(0x18b),'TBhal':'../../package.json','RYUgc':'BrowserstackHealing.init','BSabN':function(_0x3bf7a6,_0x380a46){return _0x3bf7a6(_0x380a46);},'qKdtT':function(_0x47e55f,_0x39d413){return _0x47e55f===_0x39d413;},'msExJ':_0x527168(0x140),'eWiQz':function(_0x306f72,_0x103ada){return _0x306f72===_0x103ada;},'TfhNu':function(_0x3f57b5,_0x94779){return _0x3f57b5===_0x94779;},'AptVt':_0x527168(0x103),'NOwCj':function(_0x2932ea,_0x361ba1){return _0x2932ea===_0x361ba1;},'ofJyC':'Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','QFTlk':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','iynAF':_0x527168(0xd1),'HcTir':function(_0x1f850b,_0x5b4e6d){return _0x1f850b>=_0x5b4e6d;},'xkjIp':function(_0x2bfe43,_0x564a47){return _0x2bfe43<_0x564a47;},'xBrFl':function(_0x26951e,_0x5c4d73){return _0x26951e>=_0x5c4d73;},'mZbyz':_0x527168(0x16f),'ulpRl':_0x527168(0xcc),'Ggjyl':function(_0x2a19fa){return _0x2a19fa();}},_0x5863a9=PerformanceTester[_0x527168(0x9a)](_0x1e9b3a[_0x527168(0x164)],async()=>{const _0x5b0589=_0x527168;try{const _0x29d861=new Date(),_0x1f22c1=helper[_0x5b0589(0xef)](this[_0x5b0589(0x153)]),_0x586e91=_0x1e9b3a['aeWdT'](require,path[_0x5b0589(0x170)](__dirname,_0x1e9b3a[_0x5b0589(0xbe)])),_0x269398=_0x1e9b3a[_0x5b0589(0xc2)](timeoutPromise,constants[_0x5b0589(0x10e)],_0x1e9b3a[_0x5b0589(0xe4)],_0x1e9b3a[_0x5b0589(0x180)],_0x29d861,this[_0x5b0589(0x153)],this[_0x5b0589(0x125)]),_0x3d8052={'tcgUrl':constants[_0x5b0589(0x155)],'sdkVersion':_0x1e9b3a[_0x5b0589(0x92)](require,_0x1e9b3a[_0x5b0589(0x12b)])[_0x5b0589(0x127)],'methodUsed':_0x1e9b3a[_0x5b0589(0x136)],'proxyConfig':_0x1f22c1,'os':os['platform']()};if(_0x1f22c1&&_0x1f22c1[_0x5b0589(0x13b)]){utilities[_0x5b0589(0x162)](constants[_0x5b0589(0xaf)],_0x3d8052,this[_0x5b0589(0x153)],this['framework']);return;}const _0x2ab9c6={};_0x2ab9c6[_0x5b0589(0xc9)]=_0x1f22c1;const _0x1606ee=await Promise[_0x5b0589(0x16a)]([_0x586e91['init'](this['config'][_0x5b0589(0x18c)],this[_0x5b0589(0x153)][_0x5b0589(0xa4)],constants[_0x5b0589(0x155)],_0x1e9b3a[_0x5b0589(0x14f)](require,_0x1e9b3a[_0x5b0589(0x12b)])[_0x5b0589(0x127)],_0x2ab9c6)[_0x5b0589(0x16b)](_0x16dbde=>{const _0x1b4125=_0x5b0589;return _0x269398[_0x1b4125(0x9f)](),_0x16dbde;}),_0x269398]);_0x1606ee[_0x5b0589(0x135)]=_0x1e9b3a[_0x5b0589(0x152)](_0x1606ee[_0x5b0589(0x135)],_0x1e9b3a[_0x5b0589(0xfe)])||_0x1e9b3a[_0x5b0589(0x137)](_0x1606ee[_0x5b0589(0x135)],!![]);const _0x545d8b=_0x1e9b3a[_0x5b0589(0x152)](this['config'][_0x5b0589(0x133)],!![])||_0x1e9b3a['eWiQz'](this[_0x5b0589(0x153)][_0x5b0589(0x133)],_0x1e9b3a[_0x5b0589(0xfe)]);if(_0x1e9b3a['TfhNu'](_0x1606ee[_0x5b0589(0xd5)],constants['UPGRADE_REQUIRED'])&&_0x545d8b)logger[_0x5b0589(0x150)](_0x1e9b3a[_0x5b0589(0xe9)]);else{if(!_0x1606ee[_0x5b0589(0x14c)]&&_0x1e9b3a[_0x5b0589(0xeb)](_0x1606ee['status'],0x1f7)&&_0x545d8b)logger['info'](_0x1e9b3a[_0x5b0589(0x145)]),utilities[_0x5b0589(0x162)](constants['TCG_DOWN'],_0x3d8052,this[_0x5b0589(0x153)],this[_0x5b0589(0x125)]);else{if(!_0x1606ee[_0x5b0589(0x14c)]&&_0x545d8b){logger[_0x5b0589(0x150)](_0x1e9b3a[_0x5b0589(0x107)]);const _0x3f4812={'tcgUrl':constants[_0x5b0589(0x155)],'sdkVersion':_0x1e9b3a[_0x5b0589(0x92)](require,_0x1e9b3a[_0x5b0589(0x12b)])['version'],'methodUsed':_0x1e9b3a['RYUgc'],'proxyConfig':_0x1f22c1,'os':os[_0x5b0589(0x8e)]()};utilities['fireFunnelTestEvent'](constants[_0x5b0589(0x8c)],_0x3f4812,this[_0x5b0589(0x153)],this['framework']);}else{if(_0x1606ee[_0x5b0589(0x14c)]&&!_0x1606ee[_0x5b0589(0x135)]&&_0x545d8b)logger['info'](_0x1e9b3a[_0x5b0589(0x88)]);else{if(_0x1e9b3a[_0x5b0589(0xab)](_0x1606ee[_0x5b0589(0x143)],0xc8)&&_0x1e9b3a[_0x5b0589(0xa3)](_0x1606ee[_0x5b0589(0x143)],0x12c))utilities[_0x5b0589(0x162)](constants['AI_INIT_SUCCESSFUL'],_0x3d8052,this[_0x5b0589(0x153)],this[_0x5b0589(0x125)]);else{if(_0x1e9b3a[_0x5b0589(0xa5)](_0x1606ee[_0x5b0589(0x143)],0x190))_0x3d8052['status']=_0x1606ee[_0x5b0589(0x143)],utilities[_0x5b0589(0x162)](constants[_0x5b0589(0x175)],_0x3d8052,this[_0x5b0589(0x153)],this[_0x5b0589(0x125)]);else!_0x1606ee[_0x5b0589(0x143)]&&utilities[_0x5b0589(0x162)](constants[_0x5b0589(0xf7)],_0x3d8052,this[_0x5b0589(0x153)],this['framework']);}}}}}if(_0x1606ee[_0x5b0589(0x14c)]&&_0x1606ee[_0x5b0589(0x135)]){const _0x5f4ee1={};_0x5f4ee1[_0x5b0589(0xe3)]=_0x1606ee;const _0x52a1d3=_0x5f4ee1;_0x1f22c1&&(_0x52a1d3[_0x5b0589(0x13d)]=_0x1f22c1),_0x52a1d3[_0x5b0589(0x125)]=this['framework'],_0x52a1d3[_0x5b0589(0xaa)]=this[_0x5b0589(0x153)],helper[_0x5b0589(0x12a)](_0x52a1d3),logger[_0x5b0589(0xa1)](_0x1e9b3a['mZbyz']);}}catch(_0x2b6947){logger['debug'](_0x5b0589(0x90)+(_0x2b6947[_0x5b0589(0xd5)]?_0x2b6947['message']:''));}});await _0x1e9b3a['Ggjyl'](_0x5863a9);}[a94_0x19b5d7(0xec)](){const _0x11b04b=a94_0x19b5d7,_0x50f579={'doSkF':function(_0x1db18d,_0x448774){return _0x1db18d(_0x448774);},'oKgZV':'./setKeepAlive'};_0x50f579[_0x11b04b(0x10c)](require,_0x50f579[_0x11b04b(0xd7)])();}[a94_0x19b5d7(0x13a)](){const _0x5abd5f=a94_0x19b5d7,_0x50e923={};_0x50e923[_0x5abd5f(0x116)]=_0x5abd5f(0xac),_0x50e923[_0x5abd5f(0x156)]='unhandledRejection',_0x50e923[_0x5abd5f(0x192)]=_0x5abd5f(0x146);const _0x29d98e=_0x50e923,_0xec9a55=_0x14c6fd=>{const _0x4771dc=_0x5abd5f,_0x3a049f=_0x29d98e[_0x4771dc(0x116)][_0x4771dc(0xb7)]('|');let _0x3f2711=0x0;while(!![]){switch(_0x3a049f[_0x3f2711++]){case'0':ClientTroubleShootingService['reportFinalDetectionState']();continue;case'1':PerformanceTester[_0x4771dc(0x186)](_0x14c6fd);continue;case'2':logger[_0x4771dc(0xa1)](util[_0x4771dc(0x181)](_0x14c6fd));continue;case'3':this[_0x4771dc(0x16c)][_0x4771dc(0xb6)](util[_0x4771dc(0x181)]('%j',_0x14c6fd));continue;case'4':logger['error'](_0x14c6fd[_0x4771dc(0xd5)]);continue;}break;}};process['on'](_0x29d98e[_0x5abd5f(0x156)],_0xec9a55),process['on'](_0x29d98e[_0x5abd5f(0x192)],_0xec9a55);}async['intExitHandler'](_0x33d749){const _0x14b3ce=a94_0x19b5d7,_0x15e6ca={};_0x15e6ca[_0x14b3ce(0x8b)]=_0x14b3ce(0x119),_0x15e6ca[_0x14b3ce(0xe7)]=function(_0x375bc8,_0x3fea7f){return _0x375bc8+_0x3fea7f;},_0x15e6ca[_0x14b3ce(0xb9)]=_0x14b3ce(0x141),_0x15e6ca[_0x14b3ce(0x160)]='Shutdown\x20triggered\x20by\x20';const _0x290462=_0x15e6ca,_0x3c22b8=_0x290462[_0x14b3ce(0x8b)]['split']('|');let _0x339e9b=0x0;while(!![]){switch(_0x3c22b8[_0x339e9b++]){case'0':if(this[_0x290462[_0x14b3ce(0xe7)](_0x290462[_0x14b3ce(0xb9)],_0x33d749)])return;continue;case'1':await ClientTroubleShootingService[_0x14b3ce(0x12d)](_0x33d749);continue;case'2':this[_0x14b3ce(0xba)]=_0x33d749;continue;case'3':logger[_0x14b3ce(0x150)](_0x290462['gsAbG'](_0x290462[_0x14b3ce(0x160)],_0x33d749));continue;case'4':await TestHubHandler[_0x14b3ce(0x132)](_0x33d749);continue;case'5':this[_0x290462[_0x14b3ce(0xe7)](_0x290462[_0x14b3ce(0xb9)],_0x33d749)]=!![];continue;case'6':await BrowserstackCLI[_0x14b3ce(0x14b)]()['stop']();continue;case'7':await ClientTroubleShootingService['reportFinalDetectionState']();continue;}break;}}[a94_0x19b5d7(0xd2)](){const _0x4cbf6d=a94_0x19b5d7,_0x151ea1={'NtolB':function(_0x110cb9,_0x4225ff){return _0x110cb9===_0x4225ff;},'ccRdW':_0x4cbf6d(0xa0),'woXXc':function(_0x549bb5,_0xa1bade){return _0x549bb5>_0xa1bade;},'qTKGe':function(_0x126dfa,_0x4af77a){return _0x126dfa>_0x4af77a;},'fFzVN':function(_0x500347,_0x1b1e36){return _0x500347(_0x1b1e36);},'xqWXH':function(_0x216fbc){return _0x216fbc();},'KUYSl':_0x4cbf6d(0x121)};let _0x20a45e=0x0;return async()=>{const _0x769828=_0x4cbf6d;_0x20a45e++;if(_0x151ea1[_0x769828(0x161)](_0x20a45e,0x1)){helper[_0x769828(0x108)](this[_0x769828(0x125)])&&await this[_0x769828(0xa6)]();try{logger[_0x769828(0xa1)](_0x151ea1[_0x769828(0xfc)]),await TestHubHandler['stop'](_0x20a45e),await ClientTroubleShootingService[_0x769828(0x118)](),await BrowserstackCLI[_0x769828(0x14b)]()[_0x769828(0x132)]('1');}catch(_0x5aaab2){logger[_0x769828(0xa1)](_0x769828(0x114)+util[_0x769828(0x181)](_0x5aaab2));}PerformanceTester[_0x769828(0x12e)](PerformanceEvents[_0x769828(0x17a)]);if(PerformanceTester[_0x769828(0x11a)]()){const {measures:_0x3d6e81,errors:_0x6f6a9a}=await PerformanceTester[_0x769828(0x17d)](),_0x11c755={};if(_0x3d6e81&&_0x151ea1['woXXc'](_0x3d6e81[_0x769828(0x129)],0x0)||_0x6f6a9a&&_0x151ea1['qTKGe'](_0x6f6a9a['length'],0x0)){const _0x49a901={};_0x49a901[_0x769828(0x8d)]=_0x3d6e81,_0x49a901[_0x769828(0xb1)]=_0x6f6a9a,Object['assign'](_0x11c755,_0x49a901);}try{const _0x30f273=await helper[_0x769828(0x139)](_0x11c755,this[_0x769828(0x153)]);logger['debug'](_0x769828(0x11e)+_0x151ea1[_0x769828(0x167)](getEdsInstrumentationAPIUrl,'')+_0x769828(0x165)+_0x30f273[_0x769828(0x120)]);}catch(_0x50972f){logger['debug'](_0x769828(0x89)+_0x151ea1[_0x769828(0x167)](getEdsInstrumentationAPIUrl,'')+_0x769828(0x14d)+util[_0x769828(0x181)](_0x50972f));}try{fs[_0x769828(0xea)](path[_0x769828(0x170)](_0x151ea1[_0x769828(0x113)](getLogDir),_0x151ea1[_0x769828(0xca)]),JSON['stringify'](_0x11c755));}catch(_0x24ab79){logger['debug']('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x24ab79);}}}logger&&logger[_0x769828(0x14a)](),fileLogger&&fileLogger[_0x769828(0x14a)]();};}}exports[a94_0x19b5d7(0x15d)]=BrowserStackSetup;
1
+ const a94_0x19ff24=a94_0x255c;function a94_0x255c(_0x4e54ed,_0x5c39c6){const _0x5bc2d0=a94_0x5bc2();return a94_0x255c=function(_0x255c9c,_0x349316){_0x255c9c=_0x255c9c-0x75;let _0x6fb2d4=_0x5bc2d0[_0x255c9c];return _0x6fb2d4;},a94_0x255c(_0x4e54ed,_0x5c39c6);}(function(_0x14676e,_0x3c0181){const _0x6b507=a94_0x255c,_0x24d43b=_0x14676e();while(!![]){try{const _0x1ef0da=parseInt(_0x6b507(0x10f))/0x1+parseInt(_0x6b507(0xbd))/0x2*(-parseInt(_0x6b507(0x80))/0x3)+-parseInt(_0x6b507(0xd5))/0x4*(parseInt(_0x6b507(0xaa))/0x5)+parseInt(_0x6b507(0x8a))/0x6*(parseInt(_0x6b507(0xa2))/0x7)+parseInt(_0x6b507(0x75))/0x8*(-parseInt(_0x6b507(0xe6))/0x9)+-parseInt(_0x6b507(0x90))/0xa+parseInt(_0x6b507(0xf5))/0xb*(parseInt(_0x6b507(0x11d))/0xc);if(_0x1ef0da===_0x3c0181)break;else _0x24d43b['push'](_0x24d43b['shift']());}catch(_0x271cba){_0x24d43b['push'](_0x24d43b['shift']());}}}(a94_0x5bc2,0xa0596));const util=require(a94_0x19ff24(0xfe)),os=require('os'),path=require(a94_0x19ff24(0xa7)),{v4:uuidv4}=require(a94_0x19ff24(0x106)),fs=require('fs'),constants=require(a94_0x19ff24(0x105)),logger=require(a94_0x19ff24(0x15b))[a94_0x19ff24(0x94)],fileLogger=require(a94_0x19ff24(0x15b))[a94_0x19ff24(0x10d)],{getLogDir}=require(a94_0x19ff24(0x15b)),helper=require('./helper'),utilities=require('./utilities'),percyHelper=require(a94_0x19ff24(0x91)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a94_0x19ff24(0x109)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x19ff24(0xf7)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a94_0x19ff24(0x169)),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require(a94_0x19ff24(0xae)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a94_0x19ff24(0xb8)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x7acd77,_0x37ae03){const _0x185128=a94_0x19ff24,_0x22d367={'GabuG':_0x185128(0x118),'XKUve':'No\x20config\x20provided.','ahVdg':function(_0x2f68a2){return _0x2f68a2();}},_0x238866=_0x22d367[_0x185128(0xed)][_0x185128(0x14f)]('|');let _0x35b195=0x0;while(!![]){switch(_0x238866[_0x35b195++]){case'0':helper['setBrowserstackInfraFromConfig'](this[_0x185128(0x179)],this['cliConfig']);continue;case'1':this['cliConfig']=helper['setCLICaps'](_0x7acd77);continue;case'2':this[_0x185128(0xdc)]=null;continue;case'3':helper[_0x185128(0x11f)]();continue;case'4':PerformanceTester[_0x185128(0xb5)]();continue;case'5':this[_0x185128(0x8c)]=null;continue;case'6':global['framework']=_0x37ae03;continue;case'7':this['config']=helper[_0x185128(0xca)](this[_0x185128(0xe0)]);continue;case'8':this['framework']=_0x37ae03;continue;case'9':if(helper[_0x185128(0x7b)](this['config']))throw new Error(_0x22d367[_0x185128(0x15f)]);continue;case'10':helper[_0x185128(0x16c)](this[_0x185128(0x179)]);continue;case'11':this[_0x185128(0x99)]=_0x22d367[_0x185128(0xd1)](uuidv4);continue;case'12':this['errorMessage']={};continue;case'13':this[_0x185128(0x179)][_0x185128(0xe1)]=this['config'][_0x185128(0xe1)]||{};continue;case'14':helper[_0x185128(0xac)](this['config']);continue;case'15':this[_0x185128(0x179)][_0x185128(0xe1)]['skipSessionName']=!helper[_0x185128(0x173)]()||helper[_0x185128(0xb0)](this[_0x185128(0x179)][_0x185128(0xe1)][_0x185128(0x114)]);continue;case'16':this[_0x185128(0x115)]=helper[_0x185128(0x17f)]();continue;case'17':helper[_0x185128(0x116)](this[_0x185128(0x179)],this[_0x185128(0xe4)],this[_0x185128(0x115)]);continue;case'18':if(this[_0x185128(0x179)]['error'])throw new Error(this['config'][_0x185128(0x13e)]);continue;case'19':this[_0x185128(0x179)][_0x185128(0xf6)]=this['config'][_0x185128(0xf6)]||[];continue;case'20':this[_0x185128(0xe0)]=helper[_0x185128(0x9c)](_0x7acd77);continue;case'21':helper[_0x185128(0x164)](this['config'],this[_0x185128(0xe4)],this['envConfig']);continue;case'22':this[_0x185128(0x179)][_0x185128(0xe1)][_0x185128(0xd7)]=!helper[_0x185128(0x173)]()||helper['isTrue'](this[_0x185128(0x179)]['testContextOptions'][_0x185128(0xd7)]);continue;case'23':this[_0x185128(0xde)]=[];continue;}break;}}[a94_0x19ff24(0x12b)](_0x4ed774){const _0x243f4f=a94_0x19ff24,_0x44be2b={'sjKMK':_0x243f4f(0x119),'JxDle':function(_0x408c73,_0x17b668){return _0x408c73===_0x17b668;},'KlIvK':'integrations','iMpjN':_0x243f4f(0xfd),'zTJrh':function(_0x1c7d75,_0x4787d4){return _0x1c7d75<_0x4787d4;},'ubTVU':function(_0x58cb12,_0x43530f){return _0x58cb12(_0x43530f);},'Jqjmc':_0x243f4f(0x135),'wEdTD':_0x243f4f(0xd4),'ZsQIF':_0x243f4f(0x129),'AvheT':_0x243f4f(0xb6),'MypoF':_0x243f4f(0x165),'JBWIf':_0x243f4f(0x170),'zNbrA':'SIGHUP','DxZZw':function(_0x1cb865,_0x3c5fe8){return _0x1cb865!==_0x3c5fe8;},'jwmhv':'win32','rwwcA':_0x243f4f(0xeb),'hTAyA':_0x243f4f(0xc9),'fLpFE':_0x243f4f(0xf4),'Yhdty':_0x243f4f(0x17e)},_0x1d8df4=this[_0x243f4f(0xb2)];global['config']=this[_0x243f4f(0x179)],helper[_0x243f4f(0x120)](this[_0x243f4f(0x179)]),this[_0x243f4f(0x10e)]=null,global['sdkRunId']=this[_0x243f4f(0x99)],logger['info'](_0x243f4f(0x130)+this[_0x243f4f(0x99)]),!this[_0x243f4f(0x179)][_0x243f4f(0x16b)]&&(this['config'][_0x243f4f(0x16b)]=this[_0x243f4f(0x179)][_0x243f4f(0x112)]||{});if(helper['isUndefined'](helper['getUserName'](this[_0x243f4f(0x179)]))||helper['isUndefined'](helper[_0x243f4f(0x11b)](this['config'])))throw new Error(_0x44be2b['sjKMK']);helper['getLocalConfig'](this[_0x243f4f(0x179)])&&helper['isUndefined'](helper[_0x243f4f(0x171)](this[_0x243f4f(0x179)]))&&(!helper[_0x243f4f(0x7b)](this[_0x243f4f(0x179)][_0x243f4f(0x16b)])&&_0x44be2b[_0x243f4f(0x8e)](this[_0x243f4f(0x179)][_0x243f4f(0x16b)][_0x243f4f(0x101)],Object)?!helper['isTrue'](this['config'][_0x243f4f(0x16b)]['skipBinaryInitialisation'])&&(this[_0x243f4f(0x179)][_0x243f4f(0x16b)]['localIdentifier']=helper[_0x243f4f(0x160)]()):this[_0x243f4f(0x179)][_0x243f4f(0x16b)]={'localIdentifier':helper['generateLocalIdentifier']()});this[_0x243f4f(0x179)]['browserStackLocalOptions'][_0x243f4f(0x17d)]=helper[_0x243f4f(0xb0)](this[_0x243f4f(0x179)][_0x243f4f(0x16b)]['skipBinaryInitialisation']),helper['setHandlePWError'](this['config']);if(_0x44be2b[_0x243f4f(0x8e)](_0x1d8df4,_0x44be2b[_0x243f4f(0x17c)]))return;this[_0x243f4f(0xec)]();process[_0x243f4f(0x110)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x243f4f(0x179)][_0x243f4f(0x151)]=helper[_0x243f4f(0xb0)](process[_0x243f4f(0x110)][_0x243f4f(0xbb)]),this['config'][_0x243f4f(0x144)]=this[_0x243f4f(0x179)][_0x243f4f(0x144)]||{});helper[_0x243f4f(0x13c)](this[_0x243f4f(0x179)])&&(process['env']['BROWSERSTACK_TURBOSCALE']=!![]);LoadTestModule[_0x243f4f(0x92)](this[_0x243f4f(0x179)])&&logger[_0x243f4f(0x13d)](_0x243f4f(0x16d)+this[_0x243f4f(0x99)]);if(!helper['isBrowserstackInfra']()){try{process[_0x243f4f(0x110)][_0x243f4f(0xe5)]=_0x1d8df4,utilities[_0x243f4f(0x7a)](_0x44be2b[_0x243f4f(0xef)],{},this[_0x243f4f(0x179)],this[_0x243f4f(0xb2)]);}catch(_0x3b312d){logger[_0x243f4f(0x13d)](_0x243f4f(0x104)+_0x3b312d);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x1d8df4)){if(global['__isPlaywrightInstalled'])return;_0x44be2b[_0x243f4f(0x9d)](_0x44be2b['ubTVU'](parseInt,helper['getPackageVersion'](_0x44be2b['Jqjmc'])),0x3)&&(this[_0x243f4f(0x179)][_0x243f4f(0x125)]=![]),_0x44be2b[_0x243f4f(0x8e)](helper[_0x243f4f(0x9f)](helper[_0x243f4f(0x7d)](_0x44be2b[_0x243f4f(0xa1)]),_0x44be2b[_0x243f4f(0x172)]),0x1)&&(this[_0x243f4f(0x179)][_0x243f4f(0x125)]=!![]);}(helper['isUndefined'](this[_0x243f4f(0x179)]['platforms'])||helper['isUndefined'](this[_0x243f4f(0x179)][_0x243f4f(0xf6)][_0x243f4f(0x146)]))&&(helper[_0x243f4f(0x7b)](this[_0x243f4f(0x179)][_0x243f4f(0x14d)])?logger[_0x243f4f(0x117)](_0x44be2b[_0x243f4f(0xe7)]):logger[_0x243f4f(0x15d)](_0x44be2b[_0x243f4f(0x134)]),this[_0x243f4f(0x179)][_0x243f4f(0xf6)]=[]);!this[_0x243f4f(0x179)][_0x243f4f(0xe1)]&&(this[_0x243f4f(0x179)][_0x243f4f(0xe1)]={});try{process[_0x243f4f(0x110)][_0x243f4f(0xe5)]=_0x4ed774['_'][0x0],utilities[_0x243f4f(0x7a)](_0x44be2b[_0x243f4f(0xef)],{},this[_0x243f4f(0x179)],this[_0x243f4f(0xb2)]);}catch(_0x1a78fe){logger['debug'](_0x243f4f(0x104)+_0x1a78fe);}!this['config'][_0x243f4f(0x7f)]&&logger[_0x243f4f(0x117)](constants[_0x243f4f(0xc0)]),this[_0x243f4f(0xcd)]=this[_0x243f4f(0xcd)][_0x243f4f(0x78)](this),process['on'](_0x44be2b[_0x243f4f(0x15e)],this['intExitHandler']),process['on'](_0x44be2b[_0x243f4f(0x12e)],this[_0x243f4f(0xcd)]),process['on'](_0x44be2b[_0x243f4f(0xa3)],this[_0x243f4f(0xcd)]),_0x44be2b[_0x243f4f(0x113)](process[_0x243f4f(0x153)],_0x44be2b[_0x243f4f(0x79)])?(process['on'](_0x44be2b[_0x243f4f(0xcf)],this[_0x243f4f(0xcd)]),process['on'](_0x44be2b[_0x243f4f(0xa4)],this[_0x243f4f(0xcd)])):process['on'](_0x44be2b[_0x243f4f(0x9b)],this[_0x243f4f(0xcd)]),process['on'](_0x44be2b['Yhdty'],this[_0x243f4f(0x142)]());}async[a94_0x19ff24(0x16e)](_0x3555e7){const _0x99980e=a94_0x19ff24,_0x3aa11a={'CeisN':_0x99980e(0xd9),'QrObz':_0x99980e(0xd8),'KIFYe':_0x99980e(0x10b),'innkF':function(_0x205ce5,_0x7978bf){return _0x205ce5===_0x7978bf;},'EZlNS':_0x99980e(0x136),'gcHdf':function(_0x1c9f68,_0x4eab60){return _0x1c9f68+_0x4eab60;},'UWBeJ':_0x99980e(0x16f),'bFOQb':function(_0x18c9ea,_0x22a340){return _0x18c9ea(_0x22a340);},'YZErD':_0x99980e(0x150)};this[_0x99980e(0x12b)](_0x3555e7);if(helper['isTurboScaleSession'](this[_0x99980e(0x179)])){const _0x3d6a33=await helper[_0x99980e(0x143)](this[_0x99980e(0x179)]);this[_0x99980e(0x179)][_0x99980e(0xf3)]=_0x3d6a33,_0x3d6a33[_0x99980e(0x126)]&&helper[_0x99980e(0xb1)](this['config']['browserstackLocal'])&&helper[_0x99980e(0xb0)](this[_0x99980e(0x179)][_0x99980e(0xdc)])&&(this[_0x99980e(0x179)][_0x99980e(0x16b)]['localIdentifier']=_0x3aa11a[_0x99980e(0xcc)],this['config'][_0x99980e(0x16b)][_0x3aa11a[_0x99980e(0x81)]]=_0x3d6a33[_0x99980e(0xc7)][_0x99980e(0x180)](','),this[_0x99980e(0x179)][_0x99980e(0x16b)]['forceLocal']=_0x3aa11a[_0x99980e(0x152)]),this['config'][_0x99980e(0x14b)]=_0x3d6a33[_0x99980e(0x182)],this[_0x99980e(0xb2)]&&_0x3aa11a[_0x99980e(0x8b)](this['framework'][_0x99980e(0xd3)](),_0x3aa11a['EZlNS'])?this[_0x99980e(0x179)][_0x99980e(0x14b)]=_0x3aa11a['gcHdf'](_0x3d6a33[_0x99980e(0xa5)],_0x3aa11a[_0x99980e(0x162)]):constants['hubUrl']=helper[_0x99980e(0x154)](this[_0x99980e(0x179)]),logger[_0x99980e(0x13d)](_0x99980e(0x87)+constants['hubUrl']);}helper[_0x99980e(0x161)](this['config']),this['setupKeepAlive'](),_0x3aa11a[_0x99980e(0x147)](setPercyFlag,this),await this['setupBrowserstackLocal'](),![_0x3aa11a['YZErD'],_0x3aa11a[_0x99980e(0x177)]][_0x99980e(0x107)](this[_0x99980e(0xb2)])&&!helper['isTurboScaleSession'](this[_0x99980e(0x179)])&&!helper[_0x99980e(0x137)]()[_0x99980e(0xee)]&&await this['setUpHubUrl']();}async[a94_0x19ff24(0x82)](){const _0x1cc8f7=a94_0x19ff24,_0x439063={};_0x439063[_0x1cc8f7(0x175)]=function(_0xc5df65,_0x9bcd02){return _0xc5df65===_0x9bcd02;},_0x439063[_0x1cc8f7(0x103)]=_0x1cc8f7(0xc2),_0x439063[_0x1cc8f7(0xcb)]=_0x1cc8f7(0xb9),_0x439063[_0x1cc8f7(0x10c)]=_0x1cc8f7(0x102),_0x439063[_0x1cc8f7(0x11a)]=_0x1cc8f7(0x10b),_0x439063['xfLev']=_0x1cc8f7(0x17e);const _0x4e5236=_0x439063;if(helper[_0x1cc8f7(0xb0)](this[_0x1cc8f7(0x179)]['percy'])&&(!this[_0x1cc8f7(0x8c)]||!this[_0x1cc8f7(0x8c)][_0x1cc8f7(0x10a)]()))try{this[_0x1cc8f7(0x8c)]=await percyHelper['startPercy'](this[_0x1cc8f7(0x179)]);if(!this[_0x1cc8f7(0x8c)]){process[_0x1cc8f7(0x110)][_0x1cc8f7(0x131)]=_0x4e5236[_0x1cc8f7(0x103)];throw new Error(_0x4e5236[_0x1cc8f7(0xcb)]);}logger[_0x1cc8f7(0x117)](_0x4e5236[_0x1cc8f7(0x10c)]),process[_0x1cc8f7(0x110)][_0x1cc8f7(0x131)]=_0x4e5236[_0x1cc8f7(0x11a)];let _0x217a33=0x0;const _0x4f712a=async()=>{const _0x45d38b=_0x1cc8f7;_0x217a33++,_0x4e5236[_0x45d38b(0x175)](_0x217a33,0x1)&&await this[_0x45d38b(0xa6)]();};process['on'](_0x4e5236['xfLev'],_0x4f712a);}catch(_0x369453){process[_0x1cc8f7(0x110)]['BROWSERSTACK_PERCY']=_0x4e5236[_0x1cc8f7(0x103)],logger[_0x1cc8f7(0x13d)](_0x1cc8f7(0x108)+_0x369453);throw new Error(_0x369453[_0x1cc8f7(0x176)]());}}async['stopPercy'](){const _0x235493=a94_0x19ff24,_0x4396a1={};_0x4396a1['soEHW']='Percy\x20stopped',_0x4396a1[_0x235493(0x149)]='Error\x20occured\x20while\x20stopping\x20percy';const _0x23fff2=_0x4396a1;if(this[_0x235493(0x8c)]&&this[_0x235493(0x8c)][_0x235493(0x10a)]())try{await percyHelper[_0x235493(0xa6)](this[_0x235493(0x8c)]),logger['info'](_0x23fff2[_0x235493(0x183)]);}catch(_0x1816cf){logger[_0x235493(0x13e)](_0x23fff2[_0x235493(0x149)],_0x1816cf[_0x235493(0xbf)]);}}async[a94_0x19ff24(0xb7)](){const _0x36f14f=a94_0x19ff24,_0x30bf4c={};_0x30bf4c[_0x36f14f(0xfb)]=_0x36f14f(0x8d),_0x30bf4c[_0x36f14f(0x141)]='Local\x20binary\x20started\x20successfully';const _0x286e9a=_0x30bf4c;if(helper[_0x36f14f(0x173)]()&&helper['isTrue'](this[_0x36f14f(0x179)][_0x36f14f(0xdc)])&&(!this[_0x36f14f(0xdc)]||!this[_0x36f14f(0xdc)][_0x36f14f(0x10a)]()))try{if(this[_0x36f14f(0x179)][_0x36f14f(0x16b)][_0x36f14f(0x17d)]){logger[_0x36f14f(0x13d)](_0x286e9a[_0x36f14f(0xfb)]);return;}this['browserstackLocal']=await helper[_0x36f14f(0xe2)](this[_0x36f14f(0x179)]),logger['info'](_0x286e9a['BPGAu']);}catch(_0x225d12){logger[_0x36f14f(0x13d)](_0x225d12);throw new Error(_0x225d12[_0x36f14f(0x176)]());}}async[a94_0x19ff24(0x85)](){const _0x2f1499=a94_0x19ff24,_0x26f255={};_0x26f255[_0x2f1499(0x174)]=_0x2f1499(0x127),_0x26f255[_0x2f1499(0x93)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0xc05926=_0x26f255;if(this['browserstackLocal']&&this[_0x2f1499(0xdc)][_0x2f1499(0x10a)]())try{await helper['stopLocalBinary'](this['browserstackLocal']),logger[_0x2f1499(0x117)](_0xc05926[_0x2f1499(0x174)]);}catch(_0xf59bcd){logger[_0x2f1499(0x13e)](_0xc05926[_0x2f1499(0x93)],_0xf59bcd['message']);}}async['setUpHubUrl'](){const _0x115eda=a94_0x19ff24;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x115eda(0x12a)],async()=>{const _0x29cdd9=_0x115eda;await hubAllocator[_0x29cdd9(0x88)](this[_0x29cdd9(0x179)]);})();}async[a94_0x19ff24(0xda)](){const _0x2cf00d=a94_0x19ff24,_0x3dfd5c={'VXLgs':function(_0x4b84b2,_0x279b40){return _0x4b84b2(_0x279b40);},'Mlwjc':_0x2cf00d(0xb4),'KLuup':function(_0x173689,_0x2f3f73,_0x4ef496,_0x40b520,_0x431734,_0x102817,_0x7600e7){return _0x173689(_0x2f3f73,_0x4ef496,_0x40b520,_0x431734,_0x102817,_0x7600e7);},'VEDpw':'BrowserstackHealing.init\x20method\x20timed\x20out','SoXND':_0x2cf00d(0x168),'lNGtJ':function(_0x5a3eac,_0x197586){return _0x5a3eac(_0x197586);},'WdKCi':_0x2cf00d(0xdb),'nTUrY':_0x2cf00d(0x155),'ZKmPC':function(_0x47cc24,_0x15e59d){return _0x47cc24(_0x15e59d);},'vvKTw':function(_0x33b4ee,_0x3554fb){return _0x33b4ee===_0x3554fb;},'bunup':_0x2cf00d(0x10b),'XbiLu':function(_0x3b602e,_0x1cc886){return _0x3b602e===_0x1cc886;},'Ttget':function(_0x2f155c,_0x379ae1){return _0x2f155c===_0x379ae1;},'weIDy':_0x2cf00d(0x184),'hNcoo':'Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','TmDTW':_0x2cf00d(0xfc),'quloA':_0x2cf00d(0xd6),'PwMGL':function(_0x335d04,_0x282728){return _0x335d04>=_0x282728;},'iBfIi':function(_0x1a2b07,_0x2b1f4){return _0x1a2b07<_0x2b1f4;},'XEgiR':'tcg\x20config\x20setup\x20successful.','CMIpS':_0x2cf00d(0xf1),'QdVHA':function(_0x38e500){return _0x38e500();}},_0x3759db=PerformanceTester['measureWrapper'](_0x3dfd5c[_0x2cf00d(0xdd)],async()=>{const _0x2a1387=_0x2cf00d;try{const _0x5f324e=new Date(),_0x48688c=helper[_0x2a1387(0xf0)](this[_0x2a1387(0x179)]),_0x5a1ba2=_0x3dfd5c[_0x2a1387(0x133)](require,path[_0x2a1387(0x180)](__dirname,_0x3dfd5c['Mlwjc'])),_0x476246=_0x3dfd5c[_0x2a1387(0x139)](timeoutPromise,constants['TCG_AUTH_TIMEOUT'],_0x3dfd5c[_0x2a1387(0x15c)],_0x3dfd5c['SoXND'],_0x5f324e,this[_0x2a1387(0x179)],this['framework']),_0xf2b7b4={'tcgUrl':constants[_0x2a1387(0x181)],'sdkVersion':_0x3dfd5c[_0x2a1387(0x148)](require,_0x3dfd5c[_0x2a1387(0x84)])[_0x2a1387(0xf9)],'methodUsed':_0x3dfd5c[_0x2a1387(0xad)],'proxyConfig':_0x48688c,'os':os[_0x2a1387(0x153)]()};if(_0x48688c&&_0x48688c[_0x2a1387(0xdf)]){utilities['fireFunnelTestEvent'](constants[_0x2a1387(0x97)],_0xf2b7b4,this['config'],this[_0x2a1387(0xb2)]);return;}const _0x1c72ac={};_0x1c72ac[_0x2a1387(0x17b)]=_0x48688c;const _0x241c2c=await Promise['race']([_0x5a1ba2[_0x2a1387(0xfa)](this[_0x2a1387(0x179)][_0x2a1387(0x15a)],this[_0x2a1387(0x179)][_0x2a1387(0xaf)],constants[_0x2a1387(0x181)],_0x3dfd5c[_0x2a1387(0x140)](require,_0x3dfd5c['WdKCi'])['version'],_0x1c72ac)[_0x2a1387(0x95)](_0x24f631=>{const _0x400aaf=_0x2a1387;return _0x476246[_0x400aaf(0xc4)](),_0x24f631;}),_0x476246]);_0x241c2c['isHealingEnabled']=_0x3dfd5c[_0x2a1387(0xe3)](_0x241c2c[_0x2a1387(0xc6)],_0x3dfd5c[_0x2a1387(0x13b)])||_0x3dfd5c[_0x2a1387(0xe3)](_0x241c2c[_0x2a1387(0xc6)],!![]);const _0xab195c=_0x3dfd5c[_0x2a1387(0xba)](this[_0x2a1387(0x179)]['selfHeal'],!![])||_0x3dfd5c['vvKTw'](this[_0x2a1387(0x179)][_0x2a1387(0xbc)],_0x3dfd5c[_0x2a1387(0x13b)]);if(_0x3dfd5c[_0x2a1387(0x12f)](_0x241c2c[_0x2a1387(0xbf)],constants[_0x2a1387(0x89)])&&_0xab195c)logger[_0x2a1387(0x117)](_0x3dfd5c[_0x2a1387(0x8f)]);else{if(!_0x241c2c[_0x2a1387(0xc5)]&&_0x3dfd5c[_0x2a1387(0xba)](_0x241c2c[_0x2a1387(0xc8)],0x1f7)&&_0xab195c)logger['info'](_0x3dfd5c['hNcoo']),utilities['fireFunnelTestEvent'](constants['TCG_DOWN'],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);else{if(!_0x241c2c[_0x2a1387(0xc5)]&&_0xab195c){logger[_0x2a1387(0x117)](_0x3dfd5c[_0x2a1387(0x132)]);const _0xcc45c7={'tcgUrl':constants[_0x2a1387(0x181)],'sdkVersion':_0x3dfd5c['lNGtJ'](require,_0x3dfd5c[_0x2a1387(0x84)])['version'],'methodUsed':_0x3dfd5c[_0x2a1387(0xad)],'proxyConfig':_0x48688c,'os':os[_0x2a1387(0x153)]()};utilities[_0x2a1387(0x7a)](constants['TCG_AUTH_FAILURE'],_0xcc45c7,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);}else{if(_0x241c2c[_0x2a1387(0xc5)]&&!_0x241c2c[_0x2a1387(0xc6)]&&_0xab195c)logger[_0x2a1387(0x117)](_0x3dfd5c[_0x2a1387(0x14a)]);else{if(_0x3dfd5c[_0x2a1387(0xe8)](_0x241c2c['status'],0xc8)&&_0x3dfd5c['iBfIi'](_0x241c2c[_0x2a1387(0xc8)],0x12c))utilities['fireFunnelTestEvent'](constants['AI_INIT_SUCCESSFUL'],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);else{if(_0x3dfd5c[_0x2a1387(0xe8)](_0x241c2c[_0x2a1387(0xc8)],0x190))_0xf2b7b4[_0x2a1387(0xc8)]=_0x241c2c[_0x2a1387(0xc8)],utilities['fireFunnelTestEvent'](constants['AI_INIT_FAILURE'],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);else!_0x241c2c[_0x2a1387(0xc8)]&&utilities['fireFunnelTestEvent'](constants[_0x2a1387(0xd0)],_0xf2b7b4,this[_0x2a1387(0x179)],this[_0x2a1387(0xb2)]);}}}}}if(_0x241c2c[_0x2a1387(0xc5)]&&_0x241c2c[_0x2a1387(0xc6)]){const _0x247e4a={};_0x247e4a[_0x2a1387(0x178)]=_0x241c2c;const _0x17794f=_0x247e4a;_0x48688c&&(_0x17794f[_0x2a1387(0xc3)]=_0x48688c),_0x17794f['framework']=this[_0x2a1387(0xb2)],_0x17794f[_0x2a1387(0xa8)]=this[_0x2a1387(0x179)],helper[_0x2a1387(0x16a)](_0x17794f),logger['debug'](_0x3dfd5c[_0x2a1387(0x98)]);}}catch(_0x34a4b4){logger[_0x2a1387(0x13d)](_0x2a1387(0x138)+(_0x34a4b4['message']?_0x34a4b4[_0x2a1387(0xbf)]:''));}});await _0x3dfd5c['QdVHA'](_0x3759db);}[a94_0x19ff24(0x12c)](){const _0xc06083=a94_0x19ff24,_0x3490ee={'YZxIx':function(_0x17fae6,_0x54d90c){return _0x17fae6(_0x54d90c);},'JWxan':_0xc06083(0x166)};_0x3490ee[_0xc06083(0x11e)](require,_0x3490ee[_0xc06083(0x123)])();}['handleExceptions'](){const _0x2e67e0=a94_0x19ff24,_0x3291ea={};_0x3291ea[_0x2e67e0(0x128)]='0|3|1|2|4',_0x3291ea[_0x2e67e0(0x7e)]=_0x2e67e0(0xd2),_0x3291ea[_0x2e67e0(0xe9)]=_0x2e67e0(0x122);const _0x3c03a1=_0x3291ea,_0x5f5143=_0x31ed2e=>{const _0x4a9a60=_0x2e67e0,_0x4291e9=_0x3c03a1[_0x4a9a60(0x128)][_0x4a9a60(0x14f)]('|');let _0x260703=0x0;while(!![]){switch(_0x4291e9[_0x260703++]){case'0':logger[_0x4a9a60(0x13e)](_0x31ed2e[_0x4a9a60(0xbf)]);continue;case'1':this[_0x4a9a60(0xde)][_0x4a9a60(0x11c)](util[_0x4a9a60(0x7c)]('%j',_0x31ed2e));continue;case'2':PerformanceTester[_0x4a9a60(0x100)](_0x31ed2e);continue;case'3':logger['debug'](util['format'](_0x31ed2e));continue;case'4':ClientTroubleShootingService[_0x4a9a60(0x111)]();continue;}break;}};process['on'](_0x3c03a1['IEIlx'],_0x5f5143),process['on'](_0x3c03a1[_0x2e67e0(0xe9)],_0x5f5143);}async[a94_0x19ff24(0xcd)](_0x59761a){const _0x320a3e=a94_0x19ff24,_0x410cc2={};_0x410cc2[_0x320a3e(0x13a)]=_0x320a3e(0xff),_0x410cc2[_0x320a3e(0xce)]=function(_0x18ee81,_0x1eafb1){return _0x18ee81+_0x1eafb1;},_0x410cc2['xiAJh']=_0x320a3e(0x83),_0x410cc2[_0x320a3e(0xea)]=function(_0x2d27bd,_0x1b702b){return _0x2d27bd+_0x1b702b;},_0x410cc2[_0x320a3e(0x121)]=_0x320a3e(0xf8),_0x410cc2[_0x320a3e(0x86)]=function(_0x319166,_0x484015){return _0x319166+_0x484015;};const _0x3f6b1e=_0x410cc2,_0x4f96ba=_0x3f6b1e['vsHkn'][_0x320a3e(0x14f)]('|');let _0x552c27=0x0;while(!![]){switch(_0x4f96ba[_0x552c27++]){case'0':await ClientTroubleShootingService['reportProcessInterruptionSituation'](_0x59761a);continue;case'1':await ClientTroubleShootingService[_0x320a3e(0x111)]();continue;case'2':if(this[_0x3f6b1e[_0x320a3e(0xce)](_0x3f6b1e[_0x320a3e(0x9e)],_0x59761a)])return;continue;case'3':logger[_0x320a3e(0x117)](_0x3f6b1e[_0x320a3e(0xea)](_0x3f6b1e[_0x320a3e(0x121)],_0x59761a));continue;case'4':this[_0x3f6b1e['RJZWf'](_0x3f6b1e[_0x320a3e(0x9e)],_0x59761a)]=!![];continue;case'5':await BrowserstackCLI[_0x320a3e(0x157)]()['stop']();continue;case'6':await TestHubHandler[_0x320a3e(0x14e)](_0x59761a);continue;case'7':this['killSignal']=_0x59761a;continue;}break;}}[a94_0x19ff24(0x142)](){const _0x3a0877=a94_0x19ff24,_0x3318e6={'FXPeT':function(_0xcb106,_0x6c0a4c){return _0xcb106===_0x6c0a4c;},'BapWw':_0x3a0877(0x145),'rOlgc':function(_0x36348d,_0x3f5e10){return _0x36348d>_0x3f5e10;},'ebPaU':function(_0x2307be,_0x105d32){return _0x2307be>_0x105d32;},'KSgSL':function(_0x13f59d,_0x1fe156){return _0x13f59d(_0x1fe156);},'mriFk':function(_0x21ee19,_0x166c43){return _0x21ee19(_0x166c43);},'DupBN':function(_0x104150){return _0x104150();},'iHwbz':_0x3a0877(0xc1)};let _0x40dc9e=0x0;return async()=>{const _0x333210=_0x3a0877;_0x40dc9e++;if(_0x3318e6[_0x333210(0x12d)](_0x40dc9e,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x333210(0xb2)])&&await this[_0x333210(0x85)]();try{logger[_0x333210(0x13d)](_0x3318e6[_0x333210(0x17a)]),await TestHubHandler[_0x333210(0x14e)](_0x40dc9e),await ClientTroubleShootingService[_0x333210(0x111)](),await BrowserstackCLI[_0x333210(0x157)]()['stop']('1');}catch(_0xccabe4){logger[_0x333210(0x13d)](_0x333210(0xa0)+util[_0x333210(0x7c)](_0xccabe4));}PerformanceTester[_0x333210(0x96)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester[_0x333210(0x13f)]()){const {measures:_0x5d205d,errors:_0x3306a2}=await PerformanceTester['finalize'](),_0x188a63={};if(_0x5d205d&&_0x3318e6[_0x333210(0xb3)](_0x5d205d[_0x333210(0x146)],0x0)||_0x3306a2&&_0x3318e6[_0x333210(0xa9)](_0x3306a2[_0x333210(0x146)],0x0)){const _0x1f8f4b={};_0x1f8f4b['measures']=_0x5d205d,_0x1f8f4b[_0x333210(0x158)]=_0x3306a2,Object[_0x333210(0x124)](_0x188a63,_0x1f8f4b);}try{const _0x462179=await helper[_0x333210(0xbe)](_0x188a63,this[_0x333210(0x179)]);logger[_0x333210(0x13d)]('Data\x20sent\x20successfully\x20to\x20'+_0x3318e6['KSgSL'](getEdsInstrumentationAPIUrl,'')+_0x333210(0x163)+_0x462179['statusCode']);}catch(_0x28579b){logger['debug'](_0x333210(0x9a)+_0x3318e6[_0x333210(0xab)](getEdsInstrumentationAPIUrl,'')+_0x333210(0x167)+util[_0x333210(0x7c)](_0x28579b));}try{fs[_0x333210(0x156)](path['join'](_0x3318e6[_0x333210(0x14c)](getLogDir),_0x3318e6[_0x333210(0x77)]),JSON[_0x333210(0x76)](_0x188a63));}catch(_0x2750ce){logger['debug'](_0x333210(0xf2)+_0x2750ce);}}}logger&&logger['close'](),fileLogger&&fileLogger['close']();};}}function a94_0x5bc2(){const _0x5339ba=['Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','4688UnULnL','stringify','iHwbz','bind','jwmhv','fireFunnelTestEvent','isUndefined','format','getPackageVersion','IEIlx','disableAutoCaptureLogs','13641nEBWVk','QrObz','setupPercy','handled','WdKCi','stopBrowserstackLocal','RJZWf','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','allocateHub','UPGRADE_REQUIRED','6Prdfqi','innkF','percy','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','JxDle','weIDy','8034620ChqYLA','./percy/utils','isLTSSession','nrjwl','winstonLogger','then','end','AI_PROXY_FAILURE','XEgiR','sdkRunId','Failed\x20to\x20send\x20data\x20to\x20','fLpFE','getConfigPath','zTJrh','xiAJh','compareVersions','Error\x20in\x20sending\x20testhub\x20stop:\x20','Jqjmc','8609895YDVywQ','zNbrA','hTAyA','playwrightUrl','stopPercy','path','bstackConfig','ebPaU','3095TWUoYs','mriFk','setLogDir','nTUrY','../bin/v2/browserstackCLI','userName','isTrue','isNotUndefined','framework','rOlgc','../ai-sdk-node/bundle','startMonitoring','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','setupBrowserstackLocal','../bin/utils/apiUtilityMethods','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','XbiLu','BROWSERSTACK_TURBOSCALE','selfHeal','386nivrLQ','sendToEDS','message','AUTOLOGCAPTURE_NOTIFICATION','events.json','false','proxyConfig','cancel','isAuthenticated','isHealingEnabled','customRepeaters','status','SIGQUIT','readConfig','VpBuF','CeisN','intExitHandler','xTWyH','rwwcA','INVALID_INIT_RESP_WITH_USER_IMPACT','ahVdg','unhandledRejection','toLowerCase','4.5.0','5008AYVZHy','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','skipSessionStatus','custom-repeater','ats-repeater','setupTCGAuth','../../package.json','browserstackLocal','CMIpS','unhandledErrors','proxyUrl','configPath','testContextOptions','startLocalBinary','vvKTw','cliConfig','FRAMEWORK','1206GhMFzG','ZsQIF','PwMGL','HZVMf','kbkgr','SIGABRT','handleExceptions','GabuG','central_scanner','iMpjN','getProxyConfigForTcg','aiHeal:tcgAuth','Error\x20in\x20writing\x20events\x20to\x20file\x20','turboScaleGridDetails','SIGBREAK','22iDsBWv','platforms','./performance/constants','Shutdown\x20triggered\x20by\x20','version','init','YCBHn','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','SDKTestAttempted','util','2|4|3|7|0|6|1|5','captureError','constructor','Percy\x20started\x20successfully','YYcLE','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','../bin/utils/constants','uuid','includes','Error\x20in\x20percy\x20setup\x20','./performance/performance-tester','isRunning','true','vYsbR','fileLogger','killSignal','698996tOjVWr','env','reportFinalDetectionState','localOptions','DxZZw','skipSessionName','envConfig','getFinalCaps','info','23|3|16|2|5|20|7|1|19|13|12|11|8|6|9|18|0|10|22|15|17|14|21|4','userName\x20or\x20accessKey\x20is\x20not\x20defined','fsvSe','getAccessKey','push','7574124kHxYjo','YZxIx','normalizeTestReportingEnvVars','sanitizeCaps','WLhkj','uncaughtException','JWxan','assign','useW3C','isTrialGrid','Local\x20binary\x20stopped','Plqfg','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','HUB_MANAGEMENT','preInitialize','setupKeepAlive','FXPeT','JBWIf','Ttget','SDK\x20run\x20started\x20with\x20id:\x20','BROWSERSTACK_PERCY','TmDTW','VXLgs','AvheT','selenium-webdriver','playwright','getCentralUser','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','KLuup','vsHkn','bunup','isTurboScaleSession','debug','error','isEnabled','ZKmPC','BPGAu','exitHandler','getTurboScaleGridDetails','turboScaleOptions','Calling\x20Build\x20Stop\x20from\x20ExitHandler','length','bFOQb','lNGtJ','xOUjz','quloA','turboScaleUrl','DupBN','parallelsPerPlatform','stop','split','codeceptjs','turboScale','KIFYe','platform','getHubUrl','BrowserstackHealing.init','writeFileSync','getInstance','exceptions','default','accessKey','./logger','VEDpw','warn','MypoF','XKUve','generateLocalIdentifier','setProxySettings','UWBeJ','\x20with\x20response\x20','setLogLevel','SIGTERM','./setKeepAlive','\x20with\x20error\x20','BrowserstackHealingInitFailed','./testhub/testhubHandler','setupTcgConfigFile','browserStackLocalOptions','setCredentialsFromYmlConfig','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','initialize','?caps=','SIGINT','getLocalIdentifier','wEdTD','isBrowserstackInfra','ckRVg','uBvzR','toString','EZlNS','tcgAuthConfig','config','BapWw','proxy','KlIvK','skipBinaryInitialisation','beforeExit','setEnvCaps','join','TCG_URL','url','soEHW'];a94_0x5bc2=function(){return _0x5339ba;};return a94_0x5bc2();}exports[a94_0x19ff24(0x159)]=BrowserStackSetup;
@@ -1 +1 @@
1
- const a95_0x20732a=a95_0x47d6;(function(_0x316a49,_0xd2810d){const _0x4aca61=a95_0x47d6,_0x4eab99=_0x316a49();while(!![]){try{const _0x5b53c5=parseInt(_0x4aca61(0x13d))/0x1+parseInt(_0x4aca61(0x13a))/0x2+parseInt(_0x4aca61(0x159))/0x3*(parseInt(_0x4aca61(0xcb))/0x4)+parseInt(_0x4aca61(0x146))/0x5*(-parseInt(_0x4aca61(0xaf))/0x6)+-parseInt(_0x4aca61(0xab))/0x7+parseInt(_0x4aca61(0x142))/0x8+parseInt(_0x4aca61(0xa6))/0x9;if(_0x5b53c5===_0xd2810d)break;else _0x4eab99['push'](_0x4eab99['shift']());}catch(_0x5f15d8){_0x4eab99['push'](_0x4eab99['shift']());}}}(a95_0x43cf,0x18e87));function a95_0x47d6(_0xa12de3,_0x4b860c){const _0x43cfa7=a95_0x43cf();return a95_0x47d6=function(_0x47d677,_0x28834d){_0x47d677=_0x47d677-0x97;let _0x5decc8=_0x43cfa7[_0x47d677];return _0x5decc8;},a95_0x47d6(_0xa12de3,_0x4b860c);}const util=require('util'),logger=require(a95_0x20732a(0xf0))[a95_0x20732a(0xed)],accessibilityHelper=require(a95_0x20732a(0xcd)),globals=require(a95_0x20732a(0x121)),scripts=require(a95_0x20732a(0x111)),PerformanceTester=require(a95_0x20732a(0xc3)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require(a95_0x20732a(0x141));function a95_0x43cf(){const _0x73bf43=['FtIpg',').\x20Last\x20error:\x20','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','accessibilityPlatform','ZNyVQ','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','\x20completed\x20successfully.','Skipping\x20timeout\x20setting\x20for\x20','PERFORM_SCAN','saveAccessibilityResultsWithRetry','qHTkB','accessibilityConfig','name','lqjoL','getSession','getCapabilities','WvfWD','getAccessibilityResultsSummary','aOLBy','194578WpYRUZ','getId','rWXxP','66766HOqyzO','isPlaywrightPage','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','\x20for\x20method:\x20','../../bin/v2/browserstackCLI','602016DXJrZs','QBBAX','error','setSeleniumScriptTimeout','5CrlLdn','rLyst','AaDum','performScanWithRetry','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','lnWoT','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','QcnFq','Accessibility\x20results\x20save\x20attempt\x20','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','eQWKS','maxRetries','fyqjN','unknown_method',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','olfHT','YiHDD','nxeWI','isAccessibilityPlatform','822kGmwua','):\x20','allSettled','playwright-page','vcSYB','Unknown\x20driver/page\x20type:\x20','sdNzG','Playwright','bVZTQ','isAccessibilityAutomationSession','capabilitiesList','GiUIK','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','Accessibility\x20results\x20retrieval\x20attempt\x20','QiUcs','Playwright\x20accessibility\x20helper\x20not\x20available','VdASh','ms\x20using\x20timeouts()\x20API','121005QrBROP','xlCiR','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','ms\x20using\x20setTimeouts\x20API','__workerDetails','1345232OwOAwR','sGdxH','setDefaultTimeout','selenium-webdriver','509202kYSqzQ','VZEUa','ZxUiM','getAccessibilityModule','oCAIW','HOFFA','RkuRn','race','getAccessibilityResults','TxgQB','setPlaywrightScriptTimeout','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','yyLkz','scanSucceeded','info','yTKlX','TTHrY','vWYmA','status','options','../performance/performance-tester','performComprehensiveAccessibilityScanWithRetry','browserStackEvaluate','bstackA11yShouldScan','FpilM','url','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','warn','1844AVPXTF','kaXZv','./helper','jTCGv','OJvZq','saveTestResults','zTqkm','zSggQ','msMLO','BPKLt','setTimeouts','hveev','wePBp','ZeRxN','isRunning','WebDriver','WNmUi',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','afzNV','getAccessibilityResultsWithRetry','tyjnp','PssLm','SlsvC','DxjEm','manage','executeAsyncScript','setScriptTimeout','getAccessibilityResultsSummaryWithRetry','Page','\x20failed\x20for\x20method:\x20','kNSWO','goto','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','max','winstonLogger','wuDCr','value','../logger','ms\x20using\x20setScriptTimeout\x20API','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','currentTest','debug','env','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','type',')\x20with\x20error:\x20','undefined','message','qWGWS','isPlaywright',').\x20Error:\x20','wrecD','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','script','rejected','wqFXg','performScan','summary','stringify','RuMWD','defaultTimeoutMs','isSeleniumDriver','results','playwright-codecept-driver','timeouts','\x20failed\x20(','getGlobal',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','unknown','Accessibility\x20retry\x20configuration\x20updated:\x20','./scripts','function','FFVFp','getRetryConfig','../../bin/playwright/accessibility-helper','getCurrentUrl','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','tCbnd','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','qypeH','getInstance','Unknown\x20error',',\x20cannot\x20perform\x20scan\x20with\x20retry.','aFddH','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','../globals','OsfyD','UBOmG','timeoutMs','cxHuH','YTIuw'];a95_0x43cf=function(){return _0x73bf43;};return a95_0x43cf();}let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x20732a(0x115));}catch(a95_0x20d6d3){logger['debug'](a95_0x20732a(0xa3));}const a95_0x147bd3={};a95_0x147bd3[a95_0x20732a(0x151)]=0x1,a95_0x147bd3['timeoutMs']=0x7530,a95_0x147bd3[a95_0x20732a(0x107)]=0x7530;const RETRY_CONFIG=a95_0x147bd3,setConfigTimeout=(_0x1abf7d,_0x1c3e49=null)=>{const _0x20cd71=a95_0x20732a,_0x298254={'ZzvUI':function(_0x3ec486,_0x4ca141){return _0x3ec486===_0x4ca141;},'kNSWO':'scannerProcessingTimeout','aiLzb':function(_0x16fc97,_0x4fd36e){return _0x16fc97*_0x4fd36e;},'xzSqw':function(_0x2740ab,_0x24ee13){return _0x2740ab(_0x24ee13);},'aOLBy':function(_0x2a245d,_0x1d919e){return _0x2a245d(_0x1d919e);}};if(BrowserstackCLI[_0x20cd71(0x11b)]()[_0x20cd71(0xd9)]()&&BrowserstackCLI['getInstance']()[_0x20cd71(0xb2)]()){const _0x26d98b=BrowserstackCLI['getInstance']()['getAccessibilityModule']()[_0x20cd71(0x132)],_0x5b1da9=_0x26d98b[_0x20cd71(0xc2)][_0x20cd71(0x9e)]||[];for(const _0x105a7c of _0x5b1da9){_0x298254['ZzvUI'](_0x105a7c[_0x20cd71(0x133)],_0x298254[_0x20cd71(0xe9)])&&_0x298254['ZzvUI'](_0x1c3e49,null)&&(_0x1abf7d[_0x20cd71(0x124)]=_0x298254['aiLzb'](_0x298254['xzSqw'](parseInt,_0x105a7c[_0x20cd71(0xef)]),0x3e8));}}else process[_0x20cd71(0xf5)][_0x20cd71(0x14a)]&&(_0x1abf7d['timeoutMs']=_0x298254['aiLzb'](_0x298254[_0x20cd71(0x139)](parseInt,process[_0x20cd71(0xf5)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x261b3c=>{const _0x29ab0d=a95_0x20732a,_0x5a314b={};_0x5a314b[_0x29ab0d(0xb1)]=_0x29ab0d(0x10f),_0x5a314b[_0x29ab0d(0xe1)]=function(_0x3da1ff,_0xf34086){return _0x3da1ff===_0xf34086;},_0x5a314b[_0x29ab0d(0xd8)]=_0x29ab0d(0x112),_0x5a314b[_0x29ab0d(0x125)]=function(_0x32d7a9,_0x3b22aa){return _0x32d7a9===_0x3b22aa;},_0x5a314b[_0x29ab0d(0xd7)]=function(_0x452dc7,_0x324f6f){return _0x452dc7===_0x324f6f;},_0x5a314b['AaDum']=_0x29ab0d(0x97),_0x5a314b[_0x29ab0d(0x155)]=function(_0x177f8f,_0x189203){return _0x177f8f===_0x189203;},_0x5a314b[_0x29ab0d(0xfe)]=function(_0x47f394,_0x5c90ea){return _0x47f394===_0x5c90ea;},_0x5a314b['lnWoT']='selenium-webdriver',_0x5a314b['wuDCr']=_0x29ab0d(0xe7),_0x5a314b[_0x29ab0d(0x12b)]=_0x29ab0d(0xda),_0x5a314b['IfGsq']=_0x29ab0d(0x9b),_0x5a314b[_0x29ab0d(0x118)]=_0x29ab0d(0x10a),_0x5a314b[_0x29ab0d(0x11e)]=function(_0x377a01,_0x55f6f7){return _0x377a01||_0x55f6f7;},_0x5a314b['VdASh']=_0x29ab0d(0xf9);const _0x5ad972=_0x5a314b;if(!_0x261b3c){const _0x28f567={};return _0x28f567[_0x29ab0d(0xfc)]=![],_0x28f567[_0x29ab0d(0xf7)]=_0x5ad972[_0x29ab0d(0xb1)],_0x28f567;}if(_0x5ad972[_0x29ab0d(0xe1)](typeof _0x261b3c['evaluate'],_0x5ad972[_0x29ab0d(0xd8)])&&_0x5ad972[_0x29ab0d(0x125)](typeof _0x261b3c[_0x29ab0d(0xc8)],_0x5ad972[_0x29ab0d(0xd8)])&&_0x5ad972[_0x29ab0d(0xd7)](typeof _0x261b3c[_0x29ab0d(0xea)],_0x5ad972['ZeRxN'])){const _0x4ac025={};return _0x4ac025[_0x29ab0d(0xfc)]=!![],_0x4ac025[_0x29ab0d(0xf7)]=_0x5ad972['AaDum'],_0x4ac025;}if(_0x5ad972[_0x29ab0d(0x155)](typeof _0x261b3c[_0x29ab0d(0xe4)],_0x5ad972['ZeRxN'])&&_0x5ad972[_0x29ab0d(0xfe)](typeof _0x261b3c[_0x29ab0d(0x136)],_0x5ad972['ZeRxN'])){const _0x42fdde={};return _0x42fdde[_0x29ab0d(0xfc)]=![],_0x42fdde['type']=_0x5ad972[_0x29ab0d(0x14b)],_0x42fdde;}const _0x5e6529=_0x261b3c['constructor']?.[_0x29ab0d(0x133)];if(_0x5ad972['wePBp'](_0x5e6529,_0x5ad972[_0x29ab0d(0xee)])){const _0x266edd={};return _0x266edd[_0x29ab0d(0xfc)]=!![],_0x266edd[_0x29ab0d(0xf7)]=_0x5ad972[_0x29ab0d(0x148)],_0x266edd;}if(_0x5ad972['cxHuH'](_0x5e6529,_0x5ad972[_0x29ab0d(0x12b)])){const _0x4095fd={};return _0x4095fd[_0x29ab0d(0xfc)]=![],_0x4095fd[_0x29ab0d(0xf7)]=_0x5ad972[_0x29ab0d(0x14b)],_0x4095fd;}if(_0x5ad972[_0x29ab0d(0xd7)](_0x5e6529,_0x5ad972['IfGsq'])){const _0xa257bb={};return _0xa257bb[_0x29ab0d(0xfc)]=!![],_0xa257bb[_0x29ab0d(0xf7)]=_0x5ad972[_0x29ab0d(0x118)],_0xa257bb;}logger[_0x29ab0d(0xca)](_0x29ab0d(0x99)+_0x5ad972[_0x29ab0d(0x11e)](_0x5e6529,_0x5ad972[_0x29ab0d(0xa4)]));const _0xed4f85={};return _0xed4f85[_0x29ab0d(0xfc)]=![],_0xed4f85[_0x29ab0d(0xf7)]=_0x5ad972['ZxUiM'],_0xed4f85;},withTimeout=(_0x4f9025,_0x1b0d8d)=>{const _0x40810d=a95_0x20732a;return Promise[_0x40810d(0xb6)]([_0x4f9025,new Promise((_0x379fad,_0x1b4ab8)=>setTimeout(()=>_0x1b4ab8(new Error('Operation\x20timed\x20out\x20after\x20'+_0x1b0d8d+'ms')),_0x1b0d8d))]);};exports['performScanWithRetry']=async(_0x40e595,_0x3dbc81=null,_0x397c13=null)=>{const _0x31931a=a95_0x20732a,_0x7bf94f={'sdNzG':function(_0x11c145,_0x1628ac){return _0x11c145&&_0x1628ac;},'kaXZv':function(_0x211e82,_0x4cd4ce,_0x31b313){return _0x211e82(_0x4cd4ce,_0x31b313);},'QcnFq':function(_0x36d0b7,_0x274ac9){return _0x36d0b7===_0x274ac9;},'AieUq':_0x31931a(0x10a),'BPKLt':function(_0x368b4f,_0x3cf727){return _0x368b4f(_0x3cf727);},'rLyst':_0x31931a(0x158),'PssLm':'bstackA11yShouldScan','FFVFp':_0x31931a(0x153),'OsfyD':_0x31931a(0x112),'fyqjN':function(_0x114797,_0x2ac788){return _0x114797===_0x2ac788;},'PVmEp':function(_0x50f2f7,_0x4a8115){return _0x50f2f7<=_0x4a8115;},'zSggQ':function(_0x3ebee2,_0x2cbff0){return _0x3ebee2+_0x2cbff0;},'afzNV':function(_0x6258bf,_0x54b6a6){return _0x6258bf+_0x54b6a6;},'qHTkB':'Unknown\x20error'},{isPlaywright:_0xe658c7,type:_0x14125e}=_0x7bf94f[_0x31931a(0xd4)](detectDriverType,_0x40e595),_0x538f3a=_0xe658c7?global[_0x31931a(0x12a)]:accessibilityHelper[_0x31931a(0x9d)]()&&globals[_0x31931a(0x10d)](_0x7bf94f[_0x31931a(0x147)])&&globals[_0x31931a(0x10d)](_0x7bf94f[_0x31931a(0xe0)]);if(!_0x538f3a)return logger[_0x31931a(0xca)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x14125e+_0x31931a(0x11d)),![];const _0x5455b5=_0x3dbc81||global['browserstackSessionName']||_0x7bf94f[_0x31931a(0x113)];let _0x556c0d=null;const _0x3ae3f5={'testhub_btcer_uuid':global[_0x31931a(0xaa)]?.[_0x31931a(0xf3)]?.['id'],'url':_0x7bf94f[_0x31931a(0x14d)](typeof _0x40e595['url'],_0x7bf94f[_0x31931a(0x122)])?await _0x40e595[_0x31931a(0xc8)]():_0x7bf94f['QcnFq'](typeof _0x40e595['getCurrentUrl'],_0x7bf94f[_0x31931a(0x122)])?await _0x40e595[_0x31931a(0x116)]():'','automate_session_id':_0x7bf94f[_0x31931a(0x152)](typeof _0x40e595[_0x31931a(0x135)],_0x7bf94f[_0x31931a(0x122)])?(await _0x40e595['getSession']())[_0x31931a(0x13b)]():''};for(let _0x587723=0x1;_0x7bf94f['PVmEp'](_0x587723,_0x7bf94f[_0x31931a(0xd2)](RETRY_CONFIG[_0x31931a(0x151)],0x1));_0x587723++){try{return logger[_0x31931a(0xf4)]('Accessibility\x20scan\x20attempt\x20'+_0x587723+'/'+_0x7bf94f[_0x31931a(0xdd)](RETRY_CONFIG['maxRetries'],0x1)+_0x31931a(0x140)+_0x5455b5+'\x20('+_0x14125e+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x31931a(0x12f)],async()=>{const _0x3eadf8=_0x31931a;let _0x2bd5cc;if(_0x7bf94f[_0x3eadf8(0x9a)](_0xe658c7,playwrightA11yHelper)){_0x7bf94f[_0x3eadf8(0xcc)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x40e595,RETRY_CONFIG[_0x3eadf8(0x124)]);let _0x2a6391=_0x40e595;_0x7bf94f[_0x3eadf8(0x14d)](_0x14125e,_0x7bf94f['AieUq'])&&(_0x2a6391=_0x40e595['page']),_0x2bd5cc=await _0x7bf94f['kaXZv'](withTimeout,playwrightA11yHelper[_0x3eadf8(0x103)](_0x2a6391,_0x5455b5),RETRY_CONFIG[_0x3eadf8(0x124)]),await exports[_0x3eadf8(0xb9)](_0x40e595,RETRY_CONFIG[_0x3eadf8(0x107)]);}else await exports[_0x3eadf8(0x145)](_0x40e595,RETRY_CONFIG['timeoutMs']),_0x2bd5cc=await _0x7bf94f[_0x3eadf8(0xcc)](withTimeout,accessibilityHelper[_0x3eadf8(0x103)](_0x40e595,_0x5455b5),RETRY_CONFIG[_0x3eadf8(0x124)]),await exports[_0x3eadf8(0x145)](_0x40e595,RETRY_CONFIG[_0x3eadf8(0x107)]);logger[_0x3eadf8(0xf4)]('Scan\x20attempt\x20'+_0x587723+_0x3eadf8(0x12d));},{'command':_0x5455b5,..._0x3ae3f5})(),logger[_0x31931a(0xbd)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x587723+'.'),!![];}catch(_0x113228){_0x556c0d=_0x113228,logger['debug']('Accessibility\x20scan\x20attempt\x20'+_0x587723+_0x31931a(0xe8)+_0x5455b5+'\x20('+_0x14125e+_0x31931a(0xfd)+_0x113228[_0x31931a(0xfa)]);}}return logger[_0x31931a(0x144)](_0x31931a(0xeb)+_0x5455b5+'\x20('+_0x14125e+_0x31931a(0xf8)+(_0x556c0d?.[_0x31931a(0xfa)]||_0x7bf94f[_0x31931a(0x131)])),![];},exports[a95_0x20732a(0xde)]=async(_0x5781b8,_0x21a1e8)=>{const _0x3a198b=a95_0x20732a,_0xf8cbb8={'VgzaW':function(_0x560c83,_0x9b1cac){return _0x560c83(_0x9b1cac);},'xlCiR':_0x3a198b(0x158),'IRVXX':'bstackA11yShouldScan','YiHDD':function(_0x165db5,_0x1ac72d){return _0x165db5<=_0x1ac72d;},'GiUIK':function(_0x218cee,_0x52096c){return _0x218cee+_0x52096c;},'rWXxP':function(_0x55ae01,_0x13b02a){return _0x55ae01&&_0x13b02a;},'VZEUa':function(_0x1cdec6,_0x1c7fc7,_0x543cb4){return _0x1cdec6(_0x1c7fc7,_0x543cb4);},'vcSYB':function(_0x1d167a,_0x109a4f,_0x5556e4){return _0x1d167a(_0x109a4f,_0x5556e4);},'tyjnp':_0x3a198b(0x11c)},{isPlaywright:_0x27347f,type:_0x1bfb39}=_0xf8cbb8['VgzaW'](detectDriverType,_0x5781b8),_0x19e862=_0x27347f?_0x21a1e8['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x3a198b(0x10d)](_0xf8cbb8[_0x3a198b(0xa7)])&&globals[_0x3a198b(0x10d)](_0xf8cbb8['IRVXX']);if(!_0x19e862)return logger[_0x3a198b(0xca)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x1bfb39+_0x3a198b(0x154)),[];let _0x4d2446=null;for(let _0x1531cf=0x1;_0xf8cbb8[_0x3a198b(0x156)](_0x1531cf,_0xf8cbb8[_0x3a198b(0x9f)](RETRY_CONFIG['maxRetries'],0x1));_0x1531cf++){try{logger['debug'](_0x3a198b(0xa1)+_0x1531cf+'/'+_0xf8cbb8[_0x3a198b(0x9f)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x1bfb39+')');let _0x1d29b8;return _0xf8cbb8[_0x3a198b(0x13c)](_0x27347f,playwrightA11yHelper)?(_0xf8cbb8[_0x3a198b(0xb0)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3a198b(0xb9)](_0x5781b8,RETRY_CONFIG[_0x3a198b(0x124)]),_0x1d29b8=await _0xf8cbb8['vcSYB'](withTimeout,playwrightA11yHelper[_0x3a198b(0xb7)](_0x5781b8),RETRY_CONFIG['timeoutMs']),await exports[_0x3a198b(0xb9)](_0x5781b8,RETRY_CONFIG[_0x3a198b(0x107)])):(await exports[_0x3a198b(0x145)](_0x5781b8,RETRY_CONFIG[_0x3a198b(0x124)]),_0x1d29b8=await _0xf8cbb8[_0x3a198b(0x98)](withTimeout,accessibilityHelper[_0x3a198b(0xb7)](_0x5781b8,_0x21a1e8),RETRY_CONFIG[_0x3a198b(0x124)]),await exports['setSeleniumScriptTimeout'](_0x5781b8,RETRY_CONFIG[_0x3a198b(0x107)])),logger[_0x3a198b(0xbd)](_0x3a198b(0x117)+_0x1531cf+'\x20('+_0x1bfb39+')'),_0x1d29b8;}catch(_0x7084e0){_0x4d2446=_0x7084e0,logger[_0x3a198b(0xca)](_0x3a198b(0xa1)+_0x1531cf+'\x20failed\x20('+_0x1bfb39+_0x3a198b(0xfd)+_0x7084e0[_0x3a198b(0xfa)]);}}return logger[_0x3a198b(0x144)](_0x3a198b(0x129)+_0x1bfb39+_0x3a198b(0x128)+(_0x4d2446?.[_0x3a198b(0xfa)]||_0xf8cbb8[_0x3a198b(0xdf)])),[];},exports[a95_0x20732a(0xe6)]=async(_0x4035f4,_0x3d16b7)=>{const _0x161c66=a95_0x20732a,_0x2608b9={'gwpgx':function(_0x5f1ce5,_0x3f320e){return _0x5f1ce5(_0x3f320e);},'vOulZ':'isAccessibilityPlatform','RkuRn':_0x161c66(0xc6),'eMnSw':function(_0x272c77,_0x2bc830){return _0x272c77<=_0x2bc830;},'RuMWD':function(_0x3e16fa,_0x4db755){return _0x3e16fa+_0x4db755;},'yyLkz':function(_0x1ca8d8,_0x18cd98){return _0x1ca8d8&&_0x18cd98;},'dddtI':function(_0x7d0b84,_0x40aa52,_0x4c6921){return _0x7d0b84(_0x40aa52,_0x4c6921);},'QBBAX':function(_0x2a47df,_0x30df0f,_0x2597eb){return _0x2a47df(_0x30df0f,_0x2597eb);},'oCAIW':_0x161c66(0x11c)},{isPlaywright:_0x440c3d,type:_0x47e19e}=_0x2608b9['gwpgx'](detectDriverType,_0x4035f4),_0x49c1eb=_0x440c3d?_0x3d16b7[_0x161c66(0x12a)]:accessibilityHelper[_0x161c66(0x9d)]()&&globals[_0x161c66(0x10d)](_0x2608b9['vOulZ'])&&globals[_0x161c66(0x10d)](_0x2608b9[_0x161c66(0xb5)]);if(!_0x49c1eb)return logger['warn'](_0x161c66(0xa0)+_0x47e19e+_0x161c66(0xdc)),{};let _0x148dd6=null;for(let _0x55eae7=0x1;_0x2608b9['eMnSw'](_0x55eae7,_0x2608b9[_0x161c66(0x106)](RETRY_CONFIG['maxRetries'],0x1));_0x55eae7++){try{logger[_0x161c66(0xf4)](_0x161c66(0xff)+_0x55eae7+'/'+_0x2608b9[_0x161c66(0x106)](RETRY_CONFIG[_0x161c66(0x151)],0x1)+'\x20('+_0x47e19e+')');let _0x54143a;return _0x2608b9[_0x161c66(0xbb)](_0x440c3d,playwrightA11yHelper)?(_0x2608b9['dddtI'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x161c66(0xb9)](_0x4035f4,RETRY_CONFIG['timeoutMs']),_0x54143a=await _0x2608b9['dddtI'](withTimeout,playwrightA11yHelper[_0x161c66(0x138)](_0x4035f4),RETRY_CONFIG[_0x161c66(0x124)]),await exports[_0x161c66(0xb9)](_0x4035f4,RETRY_CONFIG[_0x161c66(0x107)])):(await exports[_0x161c66(0x145)](_0x4035f4,RETRY_CONFIG['timeoutMs']),_0x54143a=await _0x2608b9[_0x161c66(0x143)](withTimeout,accessibilityHelper[_0x161c66(0x138)](_0x4035f4,_0x3d16b7),RETRY_CONFIG[_0x161c66(0x124)]),await exports[_0x161c66(0x145)](_0x4035f4,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x161c66(0xbd)](_0x161c66(0x14c)+_0x55eae7+'\x20('+_0x47e19e+')'),_0x54143a;}catch(_0x51dae3){_0x148dd6=_0x51dae3,logger[_0x161c66(0xca)](_0x161c66(0xff)+_0x55eae7+_0x161c66(0x10c)+_0x47e19e+').\x20Error:\x20'+_0x51dae3['message']);}}return logger[_0x161c66(0x144)](_0x161c66(0xba)+_0x47e19e+_0x161c66(0x128)+(_0x148dd6?.[_0x161c66(0xfa)]||_0x2608b9[_0x161c66(0xb3)])),{};},exports[a95_0x20732a(0xc4)]=async(_0x17a4eb,_0x5ba3ae,_0x368726=null)=>{const _0x4661a1=a95_0x20732a,_0x3983f2={'FpilM':function(_0x52f91d,_0x4e7381){return _0x52f91d(_0x4e7381);},'DxjEm':function(_0x5c86b1,_0x2a703b){return _0x5c86b1===_0x2a703b;},'JbjSu':'fulfilled','UBOmG':function(_0x59a1bf,_0x2733e7){return _0x59a1bf===_0x2733e7;},'FtIpg':function(_0x1eb058,_0x434a03){return _0x1eb058===_0x434a03;},'TxgQB':_0x4661a1(0x101),'PwQKj':function(_0x87b9c2,_0x4c0e56){return _0x87b9c2===_0x4c0e56;},'WvfWD':_0x4661a1(0x13f)},{isPlaywright:_0x1e2c53,type:_0x116c9a}=_0x3983f2[_0x4661a1(0xc7)](detectDriverType,_0x17a4eb),_0x3e35fb={};_0x3e35fb['scanSucceeded']=![],_0x3e35fb['results']=[],_0x3e35fb['summary']={},_0x3e35fb['error']=null,_0x3e35fb['driverType']=_0x116c9a;const _0x34940d=_0x3e35fb;try{_0x34940d[_0x4661a1(0xbc)]=await exports[_0x4661a1(0x149)](_0x17a4eb,_0x368726);if(_0x34940d['scanSucceeded']){const [_0x316204,_0x586fa6]=await Promise[_0x4661a1(0x15b)]([exports[_0x4661a1(0xde)](_0x17a4eb,_0x5ba3ae),exports[_0x4661a1(0xe6)](_0x17a4eb,_0x5ba3ae)]);_0x34940d[_0x4661a1(0x109)]=_0x3983f2[_0x4661a1(0xe2)](_0x316204[_0x4661a1(0xc1)],_0x3983f2['JbjSu'])?_0x316204[_0x4661a1(0xef)]:[],_0x34940d[_0x4661a1(0x104)]=_0x3983f2[_0x4661a1(0x123)](_0x586fa6[_0x4661a1(0xc1)],_0x3983f2['JbjSu'])?_0x586fa6[_0x4661a1(0xef)]:{},_0x3983f2[_0x4661a1(0x127)](_0x316204['status'],_0x3983f2[_0x4661a1(0xb8)])&&logger['warn'](_0x4661a1(0x11f)+_0x116c9a+_0x4661a1(0x15a)+_0x316204['reason']?.[_0x4661a1(0xfa)]),_0x3983f2['PwQKj'](_0x586fa6[_0x4661a1(0xc1)],_0x3983f2['TxgQB'])&&logger[_0x4661a1(0xca)](_0x4661a1(0x119)+_0x116c9a+'):\x20'+_0x586fa6['reason']?.[_0x4661a1(0xfa)]);}}catch(_0x55976b){_0x34940d[_0x4661a1(0x144)]=_0x55976b[_0x4661a1(0xfa)]||_0x3983f2[_0x4661a1(0x137)],logger[_0x4661a1(0x144)]('Comprehensive\x20accessibility\x20scan\x20failed\x20('+_0x116c9a+_0x4661a1(0x15a)+_0x34940d[_0x4661a1(0x144)]);}return _0x34940d;},exports['updateRetryConfig']=_0x1374d0=>{const _0x3ea5ce=a95_0x20732a,_0x5ba8b1={};_0x5ba8b1[_0x3ea5ce(0xbf)]=function(_0x2dc333,_0x39ed8f){return _0x2dc333!==_0x39ed8f;},_0x5ba8b1[_0x3ea5ce(0x9c)]=function(_0x4972cd,_0x14e073){return _0x4972cd!==_0x14e073;};const _0x29a440=_0x5ba8b1;_0x29a440[_0x3ea5ce(0xbf)](_0x1374d0['maxRetries'],undefined)&&(RETRY_CONFIG[_0x3ea5ce(0x151)]=Math[_0x3ea5ce(0xec)](0x0,_0x1374d0['maxRetries'])),_0x29a440[_0x3ea5ce(0x9c)](_0x1374d0[_0x3ea5ce(0x124)],undefined)&&(RETRY_CONFIG[_0x3ea5ce(0x124)]=Math[_0x3ea5ce(0xec)](0x3e8,_0x1374d0[_0x3ea5ce(0x124)])),logger[_0x3ea5ce(0xf4)](_0x3ea5ce(0x110)+JSON[_0x3ea5ce(0x105)](RETRY_CONFIG));},exports[a95_0x20732a(0x114)]=()=>{const _0x19250a={...RETRY_CONFIG};return _0x19250a;},exports[a95_0x20732a(0x13e)]=_0x234349=>{const _0x3a5dda=a95_0x20732a,_0x150b94={'eQWKS':function(_0x217ed9,_0x13fb0a){return _0x217ed9(_0x13fb0a);}};return _0x150b94[_0x3a5dda(0x150)](detectDriverType,_0x234349)['isPlaywright'];},exports[a95_0x20732a(0x108)]=_0x9dd786=>{const _0x38a65b=a95_0x20732a,_0x1ebfe7={'WNmUi':function(_0x40c4f0,_0x372993){return _0x40c4f0(_0x372993);},'hveev':function(_0x54e651,_0x54c54a){return _0x54e651===_0x54c54a;},'YTIuw':_0x38a65b(0xae)},{isPlaywright:_0x32595b,type:_0x2be320}=_0x1ebfe7[_0x38a65b(0xdb)](detectDriverType,_0x9dd786);return!_0x32595b&&_0x1ebfe7[_0x38a65b(0xd6)](_0x2be320,_0x1ebfe7[_0x38a65b(0x126)]);},exports[a95_0x20732a(0xb9)]=async(_0x5bd1ac,_0x2737ca=null)=>{const _0x1e1af4=a95_0x20732a,_0x33e6f0={'wqFXg':function(_0x588ca6,_0x369f2e){return _0x588ca6(_0x369f2e);},'tZzzi':function(_0x6060ce,_0x15d840){return _0x6060ce===_0x15d840;},'bLjHQ':'function'},{isPlaywright:_0x507c43,type:_0xe91548}=_0x33e6f0[_0x1e1af4(0x102)](detectDriverType,_0x5bd1ac);if(!_0x507c43)return logger['debug'](_0x1e1af4(0x12e)+_0xe91548+'\x20-\x20not\x20applicable'),!![];const _0xac56db=_0x2737ca||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x5bd1ac&&_0x33e6f0['tZzzi'](typeof _0x5bd1ac['setDefaultTimeout'],_0x33e6f0['bLjHQ'])&&(await _0x5bd1ac[_0x1e1af4(0xad)](_0xac56db),logger[_0x1e1af4(0xf4)](_0x1e1af4(0xa8)+_0xac56db+'ms')),!![];}catch(_0x6d9d4){return logger[_0x1e1af4(0xca)](_0x1e1af4(0xf6)+_0x6d9d4[_0x1e1af4(0xfa)]),![];}},exports[a95_0x20732a(0x145)]=async(_0x42ad04,_0xfdb70a=null)=>{const _0x2e5b01=a95_0x20732a,_0x1ce509={};_0x1ce509['nxeWI']=_0x2e5b01(0xf2),_0x1ce509[_0x2e5b01(0x11a)]=function(_0x134b75,_0x25877b){return _0x134b75===_0x25877b;},_0x1ce509[_0x2e5b01(0xc0)]=_0x2e5b01(0x112),_0x1ce509[_0x2e5b01(0xbe)]=_0x2e5b01(0x14f),_0x1ce509[_0x2e5b01(0xd1)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x1d6ba2=_0x1ce509;if(!exports[_0x2e5b01(0x108)](_0x42ad04))return logger[_0x2e5b01(0xca)](_0x1d6ba2[_0x2e5b01(0x157)]),![];const _0x3aed1e=_0xfdb70a||RETRY_CONFIG[_0x2e5b01(0x107)];try{if(_0x42ad04&&_0x1d6ba2[_0x2e5b01(0x11a)](typeof _0x42ad04[_0x2e5b01(0xe3)],_0x1d6ba2[_0x2e5b01(0xc0)])){const _0x393f48=_0x42ad04[_0x2e5b01(0xe3)]();if(_0x393f48&&_0x1d6ba2['qypeH'](typeof _0x393f48[_0x2e5b01(0x10b)],_0x1d6ba2['vWYmA']))await _0x393f48[_0x2e5b01(0x10b)]()[_0x2e5b01(0xe5)](_0x3aed1e),logger['debug'](_0x2e5b01(0xc9)+_0x3aed1e+_0x2e5b01(0xa5));else{if(_0x393f48&&_0x1d6ba2[_0x2e5b01(0x11a)](typeof _0x393f48[_0x2e5b01(0xd5)],_0x1d6ba2[_0x2e5b01(0xc0)])){const _0x10d146={};_0x10d146[_0x2e5b01(0x100)]=_0x3aed1e,await _0x393f48[_0x2e5b01(0xd5)](_0x10d146),logger[_0x2e5b01(0xf4)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x3aed1e+_0x2e5b01(0xa9));}else{if(_0x393f48&&_0x1d6ba2[_0x2e5b01(0x11a)](typeof _0x393f48[_0x2e5b01(0xe5)],_0x1d6ba2[_0x2e5b01(0xc0)]))await _0x393f48[_0x2e5b01(0xe5)](_0x3aed1e),logger[_0x2e5b01(0xf4)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x3aed1e+_0x2e5b01(0xf1));else return logger[_0x2e5b01(0xf4)](_0x1d6ba2[_0x2e5b01(0xbe)]),!![];}}}else return logger[_0x2e5b01(0xf4)](_0x1d6ba2['zTqkm']),!![];return!![];}catch(_0x2dc955){return logger[_0x2e5b01(0xca)](_0x2e5b01(0x120)+_0x2dc955[_0x2e5b01(0xfa)]),![];}},exports[a95_0x20732a(0x130)]=async(_0x44695d,_0x2fd1c0)=>{const _0x1f7de9=a95_0x20732a,_0x506789={'HOFFA':function(_0x1837e3,_0x423f89){return _0x1837e3(_0x423f89);},'lqjoL':_0x1f7de9(0x158),'nxJwy':_0x1f7de9(0xc6),'msMLO':function(_0x35784b,_0x282ba6){return _0x35784b<=_0x282ba6;},'qWGWS':function(_0x2c63fb,_0x525f30){return _0x2c63fb+_0x525f30;},'QiUcs':function(_0x2aa66f,_0x534dc3){return _0x2aa66f+_0x534dc3;},'sGdxH':function(_0x1cb990,_0x286f42){return _0x1cb990&&_0x286f42;},'jTCGv':function(_0xc2e2a1,_0x37f12e,_0x430a16){return _0xc2e2a1(_0x37f12e,_0x430a16);},'OJvZq':_0x1f7de9(0x11c)},{isPlaywright:_0x1f46f6,type:_0x45d412}=_0x506789[_0x1f7de9(0xb4)](detectDriverType,_0x44695d),_0x163acc=_0x1f46f6?global[_0x1f7de9(0x12a)]:accessibilityHelper[_0x1f7de9(0x9d)]()&&globals[_0x1f7de9(0x10d)](_0x506789[_0x1f7de9(0x134)])&&globals[_0x1f7de9(0x10d)](_0x506789['nxJwy']);if(!_0x163acc)return logger[_0x1f7de9(0xca)](_0x1f7de9(0xa0)+_0x45d412+_0x1f7de9(0x10e)),![];let _0x3c6eac=null;for(let _0x48914f=0x1;_0x506789[_0x1f7de9(0xd3)](_0x48914f,_0x506789[_0x1f7de9(0xfb)](RETRY_CONFIG['maxRetries'],0x1));_0x48914f++){try{return logger['debug'](_0x1f7de9(0x14e)+_0x48914f+'/'+_0x506789[_0x1f7de9(0xa2)](RETRY_CONFIG[_0x1f7de9(0x151)],0x1)+'\x20('+_0x45d412+')'),_0x506789[_0x1f7de9(0xac)](_0x1f46f6,playwrightA11yHelper)?(_0x506789[_0x1f7de9(0xce)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1f7de9(0xb9)](_0x44695d,RETRY_CONFIG[_0x1f7de9(0x124)]),await _0x506789[_0x1f7de9(0xce)](withTimeout,playwrightA11yHelper[_0x1f7de9(0xc5)](_0x44695d,scripts[_0x1f7de9(0xd0)],_0x2fd1c0),RETRY_CONFIG[_0x1f7de9(0x124)]),await exports[_0x1f7de9(0xb9)](_0x44695d,RETRY_CONFIG[_0x1f7de9(0x107)])):(await exports[_0x1f7de9(0x145)](_0x44695d,RETRY_CONFIG[_0x1f7de9(0x124)]),await _0x506789['jTCGv'](withTimeout,_0x44695d[_0x1f7de9(0xe4)](scripts[_0x1f7de9(0xd0)],_0x2fd1c0),RETRY_CONFIG['timeoutMs']),await exports[_0x1f7de9(0x145)](_0x44695d,RETRY_CONFIG[_0x1f7de9(0x107)])),logger[_0x1f7de9(0xbd)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x48914f+'\x20('+_0x45d412+')'),!![];}catch(_0x472fb4){_0x3c6eac=_0x472fb4,logger[_0x1f7de9(0xca)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x48914f+_0x1f7de9(0x10c)+_0x45d412+_0x1f7de9(0xfd)+_0x472fb4[_0x1f7de9(0xfa)]);}}return logger[_0x1f7de9(0x144)](_0x1f7de9(0x12c)+_0x45d412+').\x20Last\x20error:\x20'+(_0x3c6eac?.[_0x1f7de9(0xfa)]||_0x506789[_0x1f7de9(0xcf)])),![];};
1
+ const a95_0xa8824e=a95_0x223e;(function(_0x5eb390,_0x10d1c4){const _0x51bdab=a95_0x223e,_0x5b2b48=_0x5eb390();while(!![]){try{const _0x39258b=-parseInt(_0x51bdab(0x214))/0x1+parseInt(_0x51bdab(0x1d6))/0x2+-parseInt(_0x51bdab(0x27f))/0x3+-parseInt(_0x51bdab(0x1cb))/0x4+parseInt(_0x51bdab(0x1f8))/0x5*(-parseInt(_0x51bdab(0x1e6))/0x6)+-parseInt(_0x51bdab(0x222))/0x7+parseInt(_0x51bdab(0x251))/0x8;if(_0x39258b===_0x10d1c4)break;else _0x5b2b48['push'](_0x5b2b48['shift']());}catch(_0xa5d555){_0x5b2b48['push'](_0x5b2b48['shift']());}}}(a95_0x7830,0x22145));const util=require('util'),logger=require(a95_0xa8824e(0x27a))['winstonLogger'],accessibilityHelper=require('./helper'),globals=require('../globals'),scripts=require(a95_0xa8824e(0x1c1)),PerformanceTester=require(a95_0xa8824e(0x237)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants'),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0xa8824e(0x23c));}catch(a95_0x1fb654){logger[a95_0xa8824e(0x22e)]('Playwright\x20accessibility\x20helper\x20not\x20available');}function a95_0x223e(_0x4d553c,_0x40e43a){const _0x783038=a95_0x7830();return a95_0x223e=function(_0x223e54,_0x31722f){_0x223e54=_0x223e54-0x1bf;let _0x49fb16=_0x783038[_0x223e54];return _0x49fb16;},a95_0x223e(_0x4d553c,_0x40e43a);}const a95_0x2e2164={};a95_0x2e2164['maxRetries']=0x1,a95_0x2e2164[a95_0xa8824e(0x1e1)]=0x7530,a95_0x2e2164[a95_0xa8824e(0x246)]=0x7530;function a95_0x7830(){const _0x263576=['isPlaywright','QPume','getGlobal','getId','message','LVffz','measureWrapper','debug',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','vNgzf','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','race','GEvmp','XjQdu','warn','playwright-page','../performance/performance-tester','isAccessibilityAutomationSession','ms\x20using\x20setScriptTimeout\x20API','ahbpq','setDefaultTimeout','../../bin/playwright/accessibility-helper','leHNv','executeAsyncScript','rejected','tZhwI','getCurrentUrl','error','JhXOX','max','DVrOa','defaultTimeoutMs','currentTest','TuOnl',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','saveTestResults',').\x20Error:\x20','WkHuz','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','IrYsH','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','saveAccessibilityResultsWithRetry','2405880DdRsAm',').\x20Last\x20error:\x20','reason','Comprehensive\x20accessibility\x20scan\x20failed\x20(','performComprehensiveAccessibilityScanWithRetry','getAccessibilityResultsWithRetry','\x20-\x20not\x20applicable','iAMrW','pYkpZ','RUHDh','YFXBx','fGGTA','scannerProcessingTimeout','setSeleniumScriptTimeout','Wtfea','isRunning','QYCfT','VtyrA','setTimeouts','jdOZJ','setPlaywrightScriptTimeout','jaCdf','lZWGj','DCFeC','goto','type','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','WUxCZ','getAccessibilityResults','YAWWy','bstackA11yShouldScan','xHVae','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','giIai','qCpBC','rhmGw','FkXvP','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','rgIOT','Accessibility\x20results\x20retrieval\x20attempt\x20','accessibilityConfig','../logger','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','honZh','maxRetries','info','100992zmucPM','CnHam','vxzEU','./scripts','nggnK','kxoZH','accessibilityPlatform','Skipping\x20timeout\x20setting\x20for\x20','jlITF','getCapabilities','leJpv','LHLrm','allSettled','225872UJaQTy','env','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','status','vcLqK','ms\x20using\x20timeouts()\x20API','Page','Unknown\x20error','VzbHX','undefined','timeouts','518640IsNILw','nDaWa','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','page','Accessibility\x20retry\x20configuration\x20updated:\x20','options','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','VFVjN','lDDaM','QbAYd','Accessibility\x20scan\x20attempt\x20','timeoutMs','Operation\x20timed\x20out\x20after\x20','\x20for\x20method:\x20','name','updateRetryConfig','448596wdbCxj','capabilitiesList',')\x20with\x20error:\x20','Ndihd','WahUz','oprvI','setScriptTimeout','unknown_method','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.',',\x20cannot\x20perform\x20scan\x20with\x20retry.','isAccessibilityPlatform','function','bgBwN','manage','Accessibility\x20results\x20save\x20attempt\x20','HSLHx','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','10RfVvZY','JDWOL','value','xAARr','getAccessibilityResultsSummary','getAccessibilityResultsSummaryWithRetry','pESjB','IQfKs','FhrCh','wtewi','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','performScan','fulfilled','NMFjR','WEfwF','jFwQN','hezBY','\x20completed\x20successfully.','okcEz','getAccessibilityModule','CLYjV','NUUgr','AmQPk','results','playwright-codecept-driver','\x20failed\x20(','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','10079FYnliU','performScanWithRetry','isSeleniumDriver','ms\x20using\x20setTimeouts\x20API','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','esePT','uIyKv','url','getInstance','xGHfX','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','WebDriver','):\x20','Unknown\x20driver/page\x20type:\x20','1195061qsMLTo','scanSucceeded','vsKzl','wuoHz','summary'];a95_0x7830=function(){return _0x263576;};return a95_0x7830();}const RETRY_CONFIG=a95_0x2e2164,setConfigTimeout=(_0x4d8ab8,_0x1792b9=null)=>{const _0x1edf2b=a95_0xa8824e,_0x42e78c={'oprvI':function(_0x9a6c39,_0x3fa1d5){return _0x9a6c39===_0x3fa1d5;},'vybHy':_0x1edf2b(0x25d),'giIai':function(_0x539f67,_0xd82859){return _0x539f67===_0xd82859;},'LHLrm':function(_0x19518d,_0x11733c){return _0x19518d*_0x11733c;},'vxzEU':function(_0x4ddf56,_0x62afea){return _0x4ddf56(_0x62afea);},'TuOnl':function(_0x1c4f30,_0x2f51c2){return _0x1c4f30*_0x2f51c2;},'ahbpq':function(_0x107e0e,_0x31cb64){return _0x107e0e(_0x31cb64);}};if(BrowserstackCLI[_0x1edf2b(0x21c)]()[_0x1edf2b(0x260)]()&&BrowserstackCLI['getInstance']()['getAccessibilityModule']()){const _0x16aa82=BrowserstackCLI[_0x1edf2b(0x21c)]()[_0x1edf2b(0x20c)]()[_0x1edf2b(0x279)],_0xfd9b1f=_0x16aa82[_0x1edf2b(0x1db)][_0x1edf2b(0x1e7)]||[];for(const _0x24e930 of _0xfd9b1f){_0x42e78c[_0x1edf2b(0x1eb)](_0x24e930['name'],_0x42e78c['vybHy'])&&_0x42e78c[_0x1edf2b(0x272)](_0x1792b9,null)&&(_0x4d8ab8[_0x1edf2b(0x1e1)]=_0x42e78c[_0x1edf2b(0x1c9)](_0x42e78c[_0x1edf2b(0x1c0)](parseInt,_0x24e930['value']),0x3e8));}}else process[_0x1edf2b(0x1cc)][_0x1edf2b(0x1f7)]&&(_0x4d8ab8['timeoutMs']=_0x42e78c[_0x1edf2b(0x248)](_0x42e78c[_0x1edf2b(0x23a)](parseInt,process[_0x1edf2b(0x1cc)][_0x1edf2b(0x1f7)]),0x3e8));},detectDriverType=_0x588d5a=>{const _0x6caaa5=a95_0xa8824e,_0x375acf={};_0x375acf[_0x6caaa5(0x224)]='unknown',_0x375acf[_0x6caaa5(0x277)]=function(_0x1e8d8d,_0x520011){return _0x1e8d8d===_0x520011;},_0x375acf['jdOZJ']=_0x6caaa5(0x1f2),_0x375acf[_0x6caaa5(0x1f6)]=function(_0x1e8ed6,_0x4a1377){return _0x1e8ed6===_0x4a1377;},_0x375acf[_0x6caaa5(0x1ea)]=_0x6caaa5(0x236),_0x375acf[_0x6caaa5(0x21d)]=function(_0xca496b,_0x24fac8){return _0xca496b===_0x24fac8;},_0x375acf[_0x6caaa5(0x270)]='selenium-webdriver',_0x375acf[_0x6caaa5(0x228)]=_0x6caaa5(0x1d1),_0x375acf[_0x6caaa5(0x26c)]=function(_0x19281d,_0x2908cb){return _0x19281d===_0x2908cb;},_0x375acf[_0x6caaa5(0x1f9)]=_0x6caaa5(0x21f),_0x375acf[_0x6caaa5(0x1c6)]='Playwright',_0x375acf['Ndihd']=_0x6caaa5(0x211),_0x375acf[_0x6caaa5(0x26e)]=function(_0x428d4e,_0x19bbc6){return _0x428d4e||_0x19bbc6;},_0x375acf[_0x6caaa5(0x243)]=_0x6caaa5(0x1d4);const _0x40ce7e=_0x375acf;if(!_0x588d5a){const _0x513937={};return _0x513937[_0x6caaa5(0x227)]=![],_0x513937[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x224)],_0x513937;}if(_0x40ce7e[_0x6caaa5(0x277)](typeof _0x588d5a['evaluate'],_0x40ce7e[_0x6caaa5(0x264)])&&_0x40ce7e[_0x6caaa5(0x1f6)](typeof _0x588d5a['url'],_0x40ce7e[_0x6caaa5(0x264)])&&_0x40ce7e[_0x6caaa5(0x277)](typeof _0x588d5a[_0x6caaa5(0x269)],_0x40ce7e[_0x6caaa5(0x264)])){const _0x4460d8={};return _0x4460d8['isPlaywright']=!![],_0x4460d8[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x1ea)],_0x4460d8;}if(_0x40ce7e[_0x6caaa5(0x277)](typeof _0x588d5a[_0x6caaa5(0x23e)],_0x40ce7e[_0x6caaa5(0x264)])&&_0x40ce7e['xGHfX'](typeof _0x588d5a[_0x6caaa5(0x1c7)],_0x40ce7e[_0x6caaa5(0x264)])){const _0x1edb6e={};return _0x1edb6e[_0x6caaa5(0x227)]=![],_0x1edb6e['type']=_0x40ce7e[_0x6caaa5(0x270)],_0x1edb6e;}const _0x185ea0=_0x588d5a['constructor']?.[_0x6caaa5(0x1e4)];if(_0x40ce7e['rgIOT'](_0x185ea0,_0x40ce7e[_0x6caaa5(0x228)])){const _0xe2202f={};return _0xe2202f[_0x6caaa5(0x227)]=!![],_0xe2202f[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x1ea)],_0xe2202f;}if(_0x40ce7e[_0x6caaa5(0x26c)](_0x185ea0,_0x40ce7e[_0x6caaa5(0x1f9)])){const _0x1a8cad={};return _0x1a8cad[_0x6caaa5(0x227)]=![],_0x1a8cad['type']=_0x40ce7e[_0x6caaa5(0x270)],_0x1a8cad;}if(_0x40ce7e[_0x6caaa5(0x1f6)](_0x185ea0,_0x40ce7e[_0x6caaa5(0x1c6)])){const _0x3cb890={};return _0x3cb890[_0x6caaa5(0x227)]=!![],_0x3cb890['type']=_0x40ce7e[_0x6caaa5(0x1e9)],_0x3cb890;}logger[_0x6caaa5(0x235)](_0x6caaa5(0x221)+_0x40ce7e[_0x6caaa5(0x26e)](_0x185ea0,_0x40ce7e[_0x6caaa5(0x243)]));const _0x5267b0={};return _0x5267b0['isPlaywright']=![],_0x5267b0[_0x6caaa5(0x26a)]=_0x40ce7e[_0x6caaa5(0x224)],_0x5267b0;},withTimeout=(_0x168def,_0x28ea44)=>{const _0x255ac3=a95_0xa8824e;return Promise[_0x255ac3(0x232)]([_0x168def,new Promise((_0xc49d44,_0x502d7a)=>setTimeout(()=>_0x502d7a(new Error(_0x255ac3(0x1e2)+_0x28ea44+'ms')),_0x28ea44))]);};exports['performScanWithRetry']=async(_0x490de7,_0xe98872=null,_0x2d3d59=null)=>{const _0x3fc07b=a95_0xa8824e,_0x4a75e1={'UmVPS':function(_0x143e70,_0x465513){return _0x143e70&&_0x465513;},'honZh':function(_0x35cbd6,_0x12f765,_0x188699){return _0x35cbd6(_0x12f765,_0x188699);},'RaVqh':function(_0x4ddf90,_0x542f2a){return _0x4ddf90===_0x542f2a;},'leHNv':'playwright-codecept-driver','bgBwN':function(_0x3466a5,_0x2cd213){return _0x3466a5(_0x2cd213);},'wuoHz':_0x3fc07b(0x1f1),'pESjB':_0x3fc07b(0x26f),'kxoZH':_0x3fc07b(0x1ed),'xAARr':function(_0x211a4a,_0x5c5a68){return _0x211a4a===_0x5c5a68;},'tZhwI':_0x3fc07b(0x1f2),'zrYLp':function(_0x571609,_0xf7e136){return _0x571609===_0xf7e136;},'WEfwF':function(_0x4b986f,_0x1b249d){return _0x4b986f<=_0x1b249d;},'YFXBx':function(_0x4eaae7,_0x49fb22){return _0x4eaae7+_0x49fb22;},'VzbHX':_0x3fc07b(0x1d2)},{isPlaywright:_0x2c0037,type:_0x34e4bf}=_0x4a75e1[_0x3fc07b(0x1f3)](detectDriverType,_0x490de7),_0x5b6727=_0x2c0037?global['accessibilityPlatform']:accessibilityHelper[_0x3fc07b(0x238)]()&&globals[_0x3fc07b(0x229)](_0x4a75e1[_0x3fc07b(0x225)])&&globals[_0x3fc07b(0x229)](_0x4a75e1[_0x3fc07b(0x1fe)]);if(!_0x5b6727)return logger[_0x3fc07b(0x235)](_0x3fc07b(0x1ee)+_0x34e4bf+_0x3fc07b(0x1f0)),![];const _0x108963=_0xe98872||global['browserstackSessionName']||_0x4a75e1[_0x3fc07b(0x1c3)];let _0x19bbfa=null;const _0x421510={'testhub_btcer_uuid':global['__workerDetails']?.[_0x3fc07b(0x247)]?.['id'],'url':_0x4a75e1[_0x3fc07b(0x1fb)](typeof _0x490de7[_0x3fc07b(0x21b)],_0x4a75e1[_0x3fc07b(0x240)])?await _0x490de7[_0x3fc07b(0x21b)]():_0x4a75e1['zrYLp'](typeof _0x490de7[_0x3fc07b(0x241)],_0x4a75e1[_0x3fc07b(0x240)])?await _0x490de7['getCurrentUrl']():'','automate_session_id':_0x4a75e1['zrYLp'](typeof _0x490de7['getSession'],_0x4a75e1[_0x3fc07b(0x240)])?(await _0x490de7['getSession']())[_0x3fc07b(0x22a)]():''};for(let _0x3884cd=0x1;_0x4a75e1[_0x3fc07b(0x207)](_0x3884cd,_0x4a75e1[_0x3fc07b(0x25b)](RETRY_CONFIG[_0x3fc07b(0x27d)],0x1));_0x3884cd++){try{return logger[_0x3fc07b(0x22e)](_0x3fc07b(0x1e0)+_0x3884cd+'/'+_0x4a75e1[_0x3fc07b(0x25b)](RETRY_CONFIG[_0x3fc07b(0x27d)],0x1)+_0x3fc07b(0x1e3)+_0x108963+'\x20('+_0x34e4bf+')'),await PerformanceTester[_0x3fc07b(0x22d)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x24af69=_0x3fc07b;let _0x4a4bdd;if(_0x4a75e1['UmVPS'](_0x2c0037,playwrightA11yHelper)){_0x4a75e1['honZh'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x490de7,RETRY_CONFIG[_0x24af69(0x1e1)]);let _0x3aceed=_0x490de7;_0x4a75e1['RaVqh'](_0x34e4bf,_0x4a75e1[_0x24af69(0x23d)])&&(_0x3aceed=_0x490de7[_0x24af69(0x1d9)]),_0x4a4bdd=await _0x4a75e1[_0x24af69(0x27c)](withTimeout,playwrightA11yHelper[_0x24af69(0x204)](_0x3aceed,_0x108963),RETRY_CONFIG[_0x24af69(0x1e1)]),await exports[_0x24af69(0x265)](_0x490de7,RETRY_CONFIG[_0x24af69(0x246)]);}else await exports[_0x24af69(0x25e)](_0x490de7,RETRY_CONFIG[_0x24af69(0x1e1)]),_0x4a4bdd=await _0x4a75e1['honZh'](withTimeout,accessibilityHelper['performScan'](_0x490de7,_0x108963),RETRY_CONFIG[_0x24af69(0x1e1)]),await exports[_0x24af69(0x25e)](_0x490de7,RETRY_CONFIG[_0x24af69(0x246)]);logger[_0x24af69(0x22e)]('Scan\x20attempt\x20'+_0x3884cd+_0x24af69(0x20a));},{'command':_0x108963,..._0x421510})(),logger[_0x3fc07b(0x27e)](_0x3fc07b(0x24f)+_0x3884cd+'.'),!![];}catch(_0x905c7c){_0x19bbfa=_0x905c7c,logger[_0x3fc07b(0x22e)](_0x3fc07b(0x1e0)+_0x3884cd+'\x20failed\x20for\x20method:\x20'+_0x108963+'\x20('+_0x34e4bf+').\x20Error:\x20'+_0x905c7c[_0x3fc07b(0x22b)]);}}return logger[_0x3fc07b(0x242)](_0x3fc07b(0x1d8)+_0x108963+'\x20('+_0x34e4bf+_0x3fc07b(0x1e8)+(_0x19bbfa?.['message']||_0x4a75e1[_0x3fc07b(0x1d3)])),![];},exports[a95_0xa8824e(0x256)]=async(_0x120687,_0x38078f)=>{const _0x401749=a95_0xa8824e,_0x949937={'LVffz':function(_0x5cf586,_0x1e010b){return _0x5cf586(_0x1e010b);},'fzPCW':'isAccessibilityPlatform','wtewi':_0x401749(0x26f),'NMFjR':function(_0x5cb68f,_0x31f61c){return _0x5cb68f<=_0x31f61c;},'IQfKs':function(_0x5d73d3,_0x4659c4){return _0x5d73d3+_0x4659c4;},'LHWMO':function(_0x3b563f,_0x2baf74){return _0x3b563f&&_0x2baf74;},'vcLqK':function(_0x4c4f87,_0x3422d8,_0x132f7e){return _0x4c4f87(_0x3422d8,_0x132f7e);},'VFVjN':function(_0x5d1cac,_0x493e97,_0x5dc287){return _0x5d1cac(_0x493e97,_0x5dc287);},'pYkpZ':_0x401749(0x1d2)},{isPlaywright:_0xfbaa53,type:_0x4faf52}=_0x949937[_0x401749(0x22c)](detectDriverType,_0x120687),_0x473fe9=_0xfbaa53?_0x38078f[_0x401749(0x1c4)]:accessibilityHelper[_0x401749(0x238)]()&&globals[_0x401749(0x229)](_0x949937['fzPCW'])&&globals[_0x401749(0x229)](_0x949937[_0x401749(0x201)]);if(!_0x473fe9)return logger['warn'](_0x401749(0x1ee)+_0x4faf52+_0x401749(0x22f)),[];let _0x37c178=null;for(let _0x2931bf=0x1;_0x949937[_0x401749(0x206)](_0x2931bf,_0x949937['IQfKs'](RETRY_CONFIG[_0x401749(0x27d)],0x1));_0x2931bf++){try{logger[_0x401749(0x22e)](_0x401749(0x278)+_0x2931bf+'/'+_0x949937[_0x401749(0x1ff)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4faf52+')');let _0x49fb05;return _0x949937['LHWMO'](_0xfbaa53,playwrightA11yHelper)?(_0x949937['vcLqK'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x120687,RETRY_CONFIG[_0x401749(0x1e1)]),_0x49fb05=await _0x949937[_0x401749(0x1dd)](withTimeout,playwrightA11yHelper[_0x401749(0x26d)](_0x120687),RETRY_CONFIG[_0x401749(0x1e1)]),await exports[_0x401749(0x265)](_0x120687,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x401749(0x25e)](_0x120687,RETRY_CONFIG[_0x401749(0x1e1)]),_0x49fb05=await _0x949937[_0x401749(0x1cf)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x120687,_0x38078f),RETRY_CONFIG[_0x401749(0x1e1)]),await exports['setSeleniumScriptTimeout'](_0x120687,RETRY_CONFIG[_0x401749(0x246)])),logger[_0x401749(0x27e)](_0x401749(0x276)+_0x2931bf+'\x20('+_0x4faf52+')'),_0x49fb05;}catch(_0x191a4a){_0x37c178=_0x191a4a,logger[_0x401749(0x235)](_0x401749(0x278)+_0x2931bf+'\x20failed\x20('+_0x4faf52+_0x401749(0x24b)+_0x191a4a[_0x401749(0x22b)]);}}return logger[_0x401749(0x242)](_0x401749(0x271)+_0x4faf52+_0x401749(0x252)+(_0x37c178?.[_0x401749(0x22b)]||_0x949937[_0x401749(0x259)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x43974c,_0xf8083a)=>{const _0x5b5d01=a95_0xa8824e,_0x301476={'NhUzI':function(_0x39759d,_0x354fea){return _0x39759d(_0x354fea);},'VtyrA':_0x5b5d01(0x1f1),'Wtfea':_0x5b5d01(0x26f),'dVtvc':function(_0x49cb28,_0x502112){return _0x49cb28<=_0x502112;},'okcEz':function(_0x3c5cac,_0x151a3a){return _0x3c5cac+_0x151a3a;},'NPGup':function(_0x5b538d,_0x53e181){return _0x5b538d&&_0x53e181;},'CnHam':function(_0x200c0f,_0x1bed03,_0x4f67f2){return _0x200c0f(_0x1bed03,_0x4f67f2);},'FkXvP':function(_0x626ea4,_0x5f522d,_0xec7dee){return _0x626ea4(_0x5f522d,_0xec7dee);},'esePT':'Unknown\x20error'},{isPlaywright:_0x1d3589,type:_0x242403}=_0x301476['NhUzI'](detectDriverType,_0x43974c),_0x3bbab0=_0x1d3589?_0xf8083a[_0x5b5d01(0x1c4)]:accessibilityHelper[_0x5b5d01(0x238)]()&&globals[_0x5b5d01(0x229)](_0x301476[_0x5b5d01(0x262)])&&globals[_0x5b5d01(0x229)](_0x301476[_0x5b5d01(0x25f)]);if(!_0x3bbab0)return logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x242403+_0x5b5d01(0x249)),{};let _0x4f96ca=null;for(let _0x1025cb=0x1;_0x301476['dVtvc'](_0x1025cb,_0x301476['okcEz'](RETRY_CONFIG[_0x5b5d01(0x27d)],0x1));_0x1025cb++){try{logger[_0x5b5d01(0x22e)](_0x5b5d01(0x24d)+_0x1025cb+'/'+_0x301476[_0x5b5d01(0x20b)](RETRY_CONFIG[_0x5b5d01(0x27d)],0x1)+'\x20('+_0x242403+')');let _0x42caeb;return _0x301476['NPGup'](_0x1d3589,playwrightA11yHelper)?(_0x301476[_0x5b5d01(0x1bf)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5b5d01(0x265)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x1e1)]),_0x42caeb=await _0x301476[_0x5b5d01(0x1bf)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x43974c),RETRY_CONFIG[_0x5b5d01(0x1e1)]),await exports[_0x5b5d01(0x265)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x246)])):(await exports[_0x5b5d01(0x25e)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x1e1)]),_0x42caeb=await _0x301476[_0x5b5d01(0x275)](withTimeout,accessibilityHelper[_0x5b5d01(0x1fc)](_0x43974c,_0xf8083a),RETRY_CONFIG[_0x5b5d01(0x1e1)]),await exports[_0x5b5d01(0x25e)](_0x43974c,RETRY_CONFIG[_0x5b5d01(0x246)])),logger[_0x5b5d01(0x27e)](_0x5b5d01(0x1dc)+_0x1025cb+'\x20('+_0x242403+')'),_0x42caeb;}catch(_0x468512){_0x4f96ca=_0x468512,logger[_0x5b5d01(0x235)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x1025cb+_0x5b5d01(0x212)+_0x242403+').\x20Error:\x20'+_0x468512[_0x5b5d01(0x22b)]);}}return logger[_0x5b5d01(0x242)](_0x5b5d01(0x26b)+_0x242403+_0x5b5d01(0x252)+(_0x4f96ca?.[_0x5b5d01(0x22b)]||_0x301476[_0x5b5d01(0x219)])),{};},exports[a95_0xa8824e(0x255)]=async(_0x28954f,_0x4a5489,_0x186b8d=null)=>{const _0x23424=a95_0xa8824e,_0x283933={'qCpBC':function(_0x184f55,_0x56c7f5){return _0x184f55(_0x56c7f5);},'QbAYd':function(_0xf3263b,_0x2958f4){return _0xf3263b===_0x2958f4;},'iYIaX':_0x23424(0x205),'nDaWa':function(_0x51fe36,_0x10e283){return _0x51fe36===_0x10e283;},'jaCdf':function(_0x3dd7ee,_0x34512c){return _0x3dd7ee===_0x34512c;},'RUHDh':_0x23424(0x23f),'hezBY':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x3635df,type:_0x583820}=_0x283933[_0x23424(0x273)](detectDriverType,_0x28954f),_0x4344b3={};_0x4344b3[_0x23424(0x223)]=![],_0x4344b3[_0x23424(0x210)]=[],_0x4344b3[_0x23424(0x226)]={},_0x4344b3[_0x23424(0x242)]=null,_0x4344b3['driverType']=_0x583820;const _0x4c12b1=_0x4344b3;try{_0x4c12b1['scanSucceeded']=await exports[_0x23424(0x215)](_0x28954f,_0x186b8d);if(_0x4c12b1[_0x23424(0x223)]){const [_0x49b025,_0x373389]=await Promise[_0x23424(0x1ca)]([exports[_0x23424(0x256)](_0x28954f,_0x4a5489),exports[_0x23424(0x1fd)](_0x28954f,_0x4a5489)]);_0x4c12b1[_0x23424(0x210)]=_0x283933[_0x23424(0x1df)](_0x49b025[_0x23424(0x1ce)],_0x283933['iYIaX'])?_0x49b025[_0x23424(0x1fa)]:[],_0x4c12b1[_0x23424(0x226)]=_0x283933[_0x23424(0x1d7)](_0x373389[_0x23424(0x1ce)],_0x283933['iYIaX'])?_0x373389['value']:{},_0x283933[_0x23424(0x266)](_0x49b025['status'],_0x283933[_0x23424(0x25a)])&&logger[_0x23424(0x235)](_0x23424(0x218)+_0x583820+_0x23424(0x220)+_0x49b025[_0x23424(0x253)]?.[_0x23424(0x22b)]),_0x283933[_0x23424(0x1d7)](_0x373389[_0x23424(0x1ce)],_0x283933[_0x23424(0x25a)])&&logger[_0x23424(0x235)](_0x23424(0x27b)+_0x583820+'):\x20'+_0x373389[_0x23424(0x253)]?.[_0x23424(0x22b)]);}}catch(_0x1c14de){_0x4c12b1['error']=_0x1c14de[_0x23424(0x22b)]||_0x283933[_0x23424(0x209)],logger['error'](_0x23424(0x254)+_0x583820+_0x23424(0x220)+_0x4c12b1[_0x23424(0x242)]);}return _0x4c12b1;},exports[a95_0xa8824e(0x1e5)]=_0x55507a=>{const _0x4a0069=a95_0xa8824e,_0x47905b={};_0x47905b[_0x4a0069(0x20d)]=function(_0x55af52,_0x58a12a){return _0x55af52!==_0x58a12a;},_0x47905b[_0x4a0069(0x208)]=function(_0x553f47,_0x5e53f6){return _0x553f47!==_0x5e53f6;};const _0x2f9e0c=_0x47905b;_0x2f9e0c['CLYjV'](_0x55507a[_0x4a0069(0x27d)],undefined)&&(RETRY_CONFIG[_0x4a0069(0x27d)]=Math[_0x4a0069(0x244)](0x0,_0x55507a['maxRetries'])),_0x2f9e0c['jFwQN'](_0x55507a[_0x4a0069(0x1e1)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x4a0069(0x244)](0x3e8,_0x55507a['timeoutMs'])),logger['debug'](_0x4a0069(0x1da)+JSON['stringify'](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0x250e72={...RETRY_CONFIG};return _0x250e72;},exports['isPlaywrightPage']=_0x21632e=>{const _0xea908a=a95_0xa8824e,_0x39e0c1={'FhrCh':function(_0x42922a,_0x41a689){return _0x42922a(_0x41a689);}};return _0x39e0c1[_0xea908a(0x200)](detectDriverType,_0x21632e)['isPlaywright'];},exports[a95_0xa8824e(0x216)]=_0x5a0d00=>{const _0x328c92=a95_0xa8824e,_0x10edd0={'fzbZj':function(_0x3e48e0,_0x4aef88){return _0x3e48e0(_0x4aef88);},'IrYsH':function(_0x259993,_0x18f812){return _0x259993===_0x18f812;},'iAMrW':'selenium-webdriver'},{isPlaywright:_0x39b769,type:_0x2cd331}=_0x10edd0['fzbZj'](detectDriverType,_0x5a0d00);return!_0x39b769&&_0x10edd0[_0x328c92(0x24e)](_0x2cd331,_0x10edd0[_0x328c92(0x258)]);},exports[a95_0xa8824e(0x265)]=async(_0x3fc982,_0x3100a6=null)=>{const _0x2b07c6=a95_0xa8824e,_0x5840c9={'vNgzf':function(_0x334052,_0x21ee07){return _0x334052(_0x21ee07);},'DCFeC':function(_0x207738,_0x28d318){return _0x207738===_0x28d318;},'zuOtI':_0x2b07c6(0x1f2)},{isPlaywright:_0x3d0fe2,type:_0x31497c}=_0x5840c9[_0x2b07c6(0x230)](detectDriverType,_0x3fc982);if(!_0x3d0fe2)return logger[_0x2b07c6(0x22e)](_0x2b07c6(0x1c5)+_0x31497c+_0x2b07c6(0x257)),!![];const _0x301507=_0x3100a6||RETRY_CONFIG[_0x2b07c6(0x246)];try{return _0x3fc982&&_0x5840c9[_0x2b07c6(0x268)](typeof _0x3fc982[_0x2b07c6(0x23b)],_0x5840c9['zuOtI'])&&(await _0x3fc982[_0x2b07c6(0x23b)](_0x301507),logger['debug'](_0x2b07c6(0x213)+_0x301507+'ms')),!![];}catch(_0x184a4b){return logger[_0x2b07c6(0x235)](_0x2b07c6(0x203)+_0x184a4b[_0x2b07c6(0x22b)]),![];}},exports[a95_0xa8824e(0x25e)]=async(_0x297465,_0x1cc820=null)=>{const _0x5e933a=a95_0xa8824e,_0x36ade4={};_0x36ade4[_0x5e933a(0x274)]=_0x5e933a(0x21e),_0x36ade4['NUUgr']=function(_0x57a1f4,_0x749a5){return _0x57a1f4===_0x749a5;},_0x36ade4['uIyKv']='function',_0x36ade4['fGGTA']=function(_0x460f80,_0xd4e652){return _0x460f80===_0xd4e652;},_0x36ade4[_0x5e933a(0x20f)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x36ade4['lZWGj']=_0x5e933a(0x231);const _0x582ae3=_0x36ade4;if(!exports[_0x5e933a(0x216)](_0x297465))return logger[_0x5e933a(0x235)](_0x582ae3[_0x5e933a(0x274)]),![];const _0x26dad4=_0x1cc820||RETRY_CONFIG[_0x5e933a(0x246)];try{if(_0x297465&&_0x582ae3[_0x5e933a(0x20e)](typeof _0x297465[_0x5e933a(0x1f4)],_0x582ae3[_0x5e933a(0x21a)])){const _0x36dc0b=_0x297465[_0x5e933a(0x1f4)]();if(_0x36dc0b&&_0x582ae3[_0x5e933a(0x20e)](typeof _0x36dc0b[_0x5e933a(0x1d5)],_0x582ae3['uIyKv']))await _0x36dc0b['timeouts']()[_0x5e933a(0x1ec)](_0x26dad4),logger[_0x5e933a(0x22e)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x26dad4+_0x5e933a(0x1d0));else{if(_0x36dc0b&&_0x582ae3['NUUgr'](typeof _0x36dc0b['setTimeouts'],_0x582ae3[_0x5e933a(0x21a)])){const _0x5dc6b8={};_0x5dc6b8['script']=_0x26dad4,await _0x36dc0b[_0x5e933a(0x263)](_0x5dc6b8),logger[_0x5e933a(0x22e)](_0x5e933a(0x1cd)+_0x26dad4+_0x5e933a(0x217));}else{if(_0x36dc0b&&_0x582ae3[_0x5e933a(0x25c)](typeof _0x36dc0b['setScriptTimeout'],_0x582ae3['uIyKv']))await _0x36dc0b[_0x5e933a(0x1ec)](_0x26dad4),logger['debug'](_0x5e933a(0x1cd)+_0x26dad4+_0x5e933a(0x239));else return logger[_0x5e933a(0x22e)](_0x582ae3['AmQPk']),!![];}}}else return logger[_0x5e933a(0x22e)](_0x582ae3[_0x5e933a(0x267)]),!![];return!![];}catch(_0x3a0056){return logger[_0x5e933a(0x235)]('Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20'+_0x3a0056[_0x5e933a(0x22b)]),![];}},exports[a95_0xa8824e(0x250)]=async(_0x5510a4,_0x1b1abc)=>{const _0x46d6d0=a95_0xa8824e,_0x5db4f9={'GEvmp':function(_0x5ad096,_0x3adf92){return _0x5ad096(_0x3adf92);},'dusrq':_0x46d6d0(0x1f1),'QxlxL':_0x46d6d0(0x26f),'DVrOa':function(_0x20bd53,_0x36c7f5){return _0x20bd53<=_0x36c7f5;},'lDDaM':function(_0x21153f,_0x2b02e1){return _0x21153f+_0x2b02e1;},'WkHuz':function(_0x5f1ddf,_0x1492d1){return _0x5f1ddf&&_0x1492d1;},'XjQdu':function(_0x11679d,_0xdc744b,_0x32377a){return _0x11679d(_0xdc744b,_0x32377a);},'QYCfT':function(_0x339fd8,_0x1d09e3,_0x5e272e){return _0x339fd8(_0x1d09e3,_0x5e272e);},'nggnK':function(_0xa55244,_0x17a78b,_0x11aeca){return _0xa55244(_0x17a78b,_0x11aeca);},'leJpv':_0x46d6d0(0x1d2)},{isPlaywright:_0x3d6736,type:_0x400136}=_0x5db4f9[_0x46d6d0(0x233)](detectDriverType,_0x5510a4),_0x376ac9=_0x3d6736?global[_0x46d6d0(0x1c4)]:accessibilityHelper[_0x46d6d0(0x238)]()&&globals[_0x46d6d0(0x229)](_0x5db4f9['dusrq'])&&globals[_0x46d6d0(0x229)](_0x5db4f9['QxlxL']);if(!_0x376ac9)return logger[_0x46d6d0(0x235)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x400136+_0x46d6d0(0x1ef)),![];let _0x11fb60=null;for(let _0x1b33a2=0x1;_0x5db4f9[_0x46d6d0(0x245)](_0x1b33a2,_0x5db4f9[_0x46d6d0(0x1de)](RETRY_CONFIG['maxRetries'],0x1));_0x1b33a2++){try{return logger[_0x46d6d0(0x22e)](_0x46d6d0(0x1f5)+_0x1b33a2+'/'+_0x5db4f9['lDDaM'](RETRY_CONFIG[_0x46d6d0(0x27d)],0x1)+'\x20('+_0x400136+')'),_0x5db4f9[_0x46d6d0(0x24c)](_0x3d6736,playwrightA11yHelper)?(_0x5db4f9[_0x46d6d0(0x234)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x46d6d0(0x265)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x1e1)]),await _0x5db4f9[_0x46d6d0(0x261)](withTimeout,playwrightA11yHelper['browserStackEvaluate'](_0x5510a4,scripts[_0x46d6d0(0x24a)],_0x1b1abc),RETRY_CONFIG[_0x46d6d0(0x1e1)]),await exports[_0x46d6d0(0x265)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x246)])):(await exports[_0x46d6d0(0x25e)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x1e1)]),await _0x5db4f9[_0x46d6d0(0x1c2)](withTimeout,_0x5510a4[_0x46d6d0(0x23e)](scripts[_0x46d6d0(0x24a)],_0x1b1abc),RETRY_CONFIG[_0x46d6d0(0x1e1)]),await exports[_0x46d6d0(0x25e)](_0x5510a4,RETRY_CONFIG[_0x46d6d0(0x246)])),logger['info']('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x1b33a2+'\x20('+_0x400136+')'),!![];}catch(_0x1c4e03){_0x11fb60=_0x1c4e03,logger[_0x46d6d0(0x235)](_0x46d6d0(0x1f5)+_0x1b33a2+_0x46d6d0(0x212)+_0x400136+_0x46d6d0(0x24b)+_0x1c4e03['message']);}}return logger[_0x46d6d0(0x242)](_0x46d6d0(0x202)+_0x400136+').\x20Last\x20error:\x20'+(_0x11fb60?.['message']||_0x5db4f9[_0x46d6d0(0x1c8)])),![];};
@@ -1 +1 @@
1
- var a96_0x450ff2=a96_0x3b92;function a96_0x3b92(_0x21e226,_0xb9c60e){var _0x279129=a96_0x2791();return a96_0x3b92=function(_0x3b927c,_0x2f6a3d){_0x3b927c=_0x3b927c-0x177;var _0x347399=_0x279129[_0x3b927c];return _0x347399;},a96_0x3b92(_0x21e226,_0xb9c60e);}(function(_0x60583a,_0x3296db){var _0x2a92d5=a96_0x3b92,_0x57ee48=_0x60583a();while(!![]){try{var _0x352e22=-parseInt(_0x2a92d5(0x181))/0x1+parseInt(_0x2a92d5(0x17c))/0x2+parseInt(_0x2a92d5(0x179))/0x3*(-parseInt(_0x2a92d5(0x17f))/0x4)+-parseInt(_0x2a92d5(0x177))/0x5+parseInt(_0x2a92d5(0x182))/0x6+parseInt(_0x2a92d5(0x178))/0x7+parseInt(_0x2a92d5(0x17a))/0x8;if(_0x352e22===_0x3296db)break;else _0x57ee48['push'](_0x57ee48['shift']());}catch(_0x44896f){_0x57ee48['push'](_0x57ee48['shift']());}}}(a96_0x2791,0xd41fc),exports[a96_0x450ff2(0x180)]='https://accessibility.browserstack.com/api',exports[a96_0x450ff2(0x17d)]='94',exports[a96_0x450ff2(0x17b)]=a96_0x450ff2(0x17e));function a96_0x2791(){var _0x1f529d=['8557568CrptRr','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','1032094XDXxlz','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','100','3494444hELbOh','API_URL','345130BWbJBV','3434214xZCqze','6517395opPwwB','8630776wAlYdf','3tLcwkb'];a96_0x2791=function(){return _0x1f529d;};return a96_0x2791();}
1
+ function a96_0x4818(){var _0x1a6a96=['521430eYEdhA','20AohAQz','4131000RhTMrf','1309748DimQlV','8XKJtWs','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','100','326333vxNynk','62670EPNfTs','API_URL','85cRFbDc','4967452lFknlR','https://accessibility.browserstack.com/api','16491UgKrYQ'];a96_0x4818=function(){return _0x1a6a96;};return a96_0x4818();}var a96_0x187df7=a96_0x39e9;function a96_0x39e9(_0x5016f0,_0x58868d){var _0x481826=a96_0x4818();return a96_0x39e9=function(_0x39e93b,_0x115346){_0x39e93b=_0x39e93b-0xa0;var _0x34ba5c=_0x481826[_0x39e93b];return _0x34ba5c;},a96_0x39e9(_0x5016f0,_0x58868d);}(function(_0x370c4b,_0x482e89){var _0x54e817=a96_0x39e9,_0x24fa4e=_0x370c4b();while(!![]){try{var _0x55b887=parseInt(_0x54e817(0xa9))/0x1+-parseInt(_0x54e817(0xa2))/0x2*(parseInt(_0x54e817(0xa0))/0x3)+parseInt(_0x54e817(0xa4))/0x4+-parseInt(_0x54e817(0xac))/0x5*(-parseInt(_0x54e817(0xaa))/0x6)+-parseInt(_0x54e817(0xad))/0x7*(parseInt(_0x54e817(0xa5))/0x8)+parseInt(_0x54e817(0xa3))/0x9+-parseInt(_0x54e817(0xa1))/0xa;if(_0x55b887===_0x482e89)break;else _0x24fa4e['push'](_0x24fa4e['shift']());}catch(_0x2cc894){_0x24fa4e['push'](_0x24fa4e['shift']());}}}(a96_0x4818,0x739f2),exports[a96_0x187df7(0xab)]=a96_0x187df7(0xae),exports[a96_0x187df7(0xa6)]='94',exports[a96_0x187df7(0xa7)]=a96_0x187df7(0xa8));
@@ -1 +1 @@
1
- function a97_0x38c5(){const _0x290e7a=['status','path','getGitMetaData','7758470SVrjxF','parse','XDhQj','error','bkNqF','QtPdP','GET_RESULTS','IKTzB','ycfIV','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','hZoCg','measureWrapper','method','fBfbC','MZYfu','user','resolve','278988ktMgwP','qUQNJ','message','chromeOptions','vuWsg','browserstack','getUserName','isAccessibilityPlatform','xulfb','../performance/performance-tester','isArray','headers','777310GrrTWl','lPkqF','createAccessibilityTestRun','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','buildName','ChromeExtension','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','body','Content-Type','browserstackSessionName','length','kOCbb','false','11313WtaLEm','snTXq','isAccessibilityAutomationSession','stack','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','getCiInfo','jXunv','a11y:stop','get','../logger','capabilities_','stringify','Build\x20creation\x20had\x20failed.','nonBstackPlatformValidation','BbLni','getBrowserName','CHXUn','getAccessibilityResults','data','javascript','auth','12CRMDNe','BROWSERSTACK_TEST_ACCESSIBILITY_YML','buildDescription','performScan','rBVRd','playwright','BSuOn','Not\x20a\x20Accessibility\x20Session','device','json','pass','getGlobal','SkVbD','eDuwB','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','rKqSS','getCapabilities','JhPdJ','bvTWo','getAccessKey','checkAccessibilityPlatformConfig','Authorization','bstackA11yShouldScan','script','response','ZNNbq','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','getResults','CWurN','Invalid\x20request:\x20','uKsBH','aFLmJ','string','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Performing\x20scan\x20before\x20getting\x20results\x20summary','tIPrp','__cloud_provider___','getResultsSummary','VdrHA','vkecH','some','warn','format','kzUYe','getHostInfo','getBrowserVersion','test_runs/stop','set','assign','ImBGe','cwQsq','platforms','./constants','iEHGL','quZqO','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','FgefF','chrome','PuIvO','ISpYn','ouBqN','getTestFrameworkDetails','application/json','toLowerCase','Options','pfQsb','includes','SoPyI','RqbWC','yXTDs','14sDJlMy','No\x20accessibility\x20results\x20were\x20found.','util','getAgentVersion','jASuT','Performing\x20scan\x20before\x20getting\x20results','accessibility','oVCNi','isBrowserStackCommandExecutor','jAOQD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','join','browserName','executeAsyncScript','excludeTagsInTestingScope','nestedKeyValue','QkoQC','../performance/constants','QkEJX','isBrowserstackInfra','hTnpP','debug','fetchPlatformDetails','RQXlt','VrnCy','uSpGg','POST','./scripts','SkajA','BS_A11Y_JWT','env','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','version','errors','976WbKTka','forEach','jiHsz','../globals','PERFORM_SCAN','kKJHW','statusText','nodeRequest','PUT','scannerVersion','cwd','bstack:options','359004Oxevbh','272326DtGXKp','BjhxM','toISOString','Bearer\x20','Invalid\x20configuration\x20passed.','GET_RESULTS_SUMMARY','shouldScanTestForAccessibility','basename','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','jxgwv','kgetH','FkrfB','selenium-webdriver/chrome.js','toJson','isUndefined','mergeDeep','requireModule','BwvCQ','goog:chromeOptions','info','zEiCe','isTrue','oobPp','includeTagsInTestingScope','BROWSERSTACK_TURBOSCALE','getAccessibilityResultsSummary','441827ErfqXc','PWhXq'];a97_0x38c5=function(){return _0x290e7a;};return a97_0x38c5();}const a97_0x19c0c5=a97_0x1023;(function(_0x2e4df1,_0x3ace45){const _0x60ef0f=a97_0x1023,_0x3eb852=_0x2e4df1();while(!![]){try{const _0x4659a7=parseInt(_0x60ef0f(0x1dd))/0x1+parseInt(_0x60ef0f(0x1c3))/0x2+-parseInt(_0x60ef0f(0x1f3))/0x3*(-parseInt(_0x60ef0f(0x221))/0x4)+parseInt(_0x60ef0f(0x1ff))/0x5+parseInt(_0x60ef0f(0x1c2))/0x6*(-parseInt(_0x60ef0f(0x194))/0x7)+parseInt(_0x60ef0f(0x1b6))/0x8*(parseInt(_0x60ef0f(0x20c))/0x9)+-parseInt(_0x60ef0f(0x1e2))/0xa;if(_0x4659a7===_0x3ace45)break;else _0x3eb852['push'](_0x3eb852['shift']());}catch(_0x13b5b1){_0x3eb852['push'](_0x3eb852['shift']());}}}(a97_0x38c5,0x41fc7));function a97_0x1023(_0x34f451,_0x4ba2f0){const _0x38c5d6=a97_0x38c5();return a97_0x1023=function(_0x102371,_0x34f58f){_0x102371=_0x102371-0x157;let _0x4a42b9=_0x38c5d6[_0x102371];return _0x4a42b9;},a97_0x1023(_0x34f451,_0x4ba2f0);}const path=require(a97_0x19c0c5(0x1e0)),util=require(a97_0x19c0c5(0x196)),bsSetupHelper=require('../helper'),logger=require(a97_0x19c0c5(0x215))['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x19c0c5(0x182)),PerformanceTester=require(a97_0x19c0c5(0x1fc)),scripts=require(a97_0x19c0c5(0x1af)),globals=require(a97_0x19c0c5(0x1b9)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x19c0c5(0x1a5));exports[a97_0x19c0c5(0x1aa)]=async _0x37b4cb=>{const _0x4a1b53=a97_0x19c0c5,_0x1c6fdd={};_0x1c6fdd[_0x4a1b53(0x200)]=function(_0x1c1961,_0x215f8d){return _0x1c1961===_0x215f8d;},_0x1c6fdd[_0x4a1b53(0x1e4)]=_0x4a1b53(0x1f8);const _0x241459=_0x1c6fdd;let _0x59e120={};try{const _0x558735=await _0x37b4cb[_0x4a1b53(0x15e)]();_0x59e120={'os_name':_0x558735['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x241459[_0x4a1b53(0x200)](global[_0x4a1b53(0x172)],_0x241459['XDhQj'])),'browser_name':_0x558735[_0x4a1b53(0x21b)](),'browser_version':_0x558735[_0x4a1b53(0x17b)]()};}catch(_0x12baee){logger[_0x4a1b53(0x1a9)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x12baee);}return _0x59e120;},exports['isAccessibilityAutomationSession']=()=>{const _0x224e4b=a97_0x19c0c5,_0x4cf687={};_0x4cf687[_0x224e4b(0x1bb)]=function(_0xa98abb,_0x141f11){return _0xa98abb===_0x141f11;},_0x4cf687[_0x224e4b(0x16a)]='string',_0x4cf687[_0x224e4b(0x1ce)]=function(_0x1cfa7b,_0x1ddf3f){return _0x1cfa7b>_0x1ddf3f;},_0x4cf687[_0x224e4b(0x15f)]=function(_0x14542f,_0x14c72c){return _0x14542f!==_0x14c72c;},_0x4cf687['ZrRQS']='null',_0x4cf687[_0x224e4b(0x19d)]=function(_0x18ce17,_0x5aff2c){return _0x18ce17&&_0x5aff2c;};const _0x9aefe1=_0x4cf687;try{const _0x4b2f99=bsSetupHelper[_0x224e4b(0x1d8)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x224e4b(0x1d8)](process[_0x224e4b(0x1b2)][_0x224e4b(0x16f)]),_0x83eeb5=_0x9aefe1['kKJHW'](typeof process[_0x224e4b(0x1b2)][_0x224e4b(0x1b1)],_0x9aefe1[_0x224e4b(0x16a)])&&_0x9aefe1['FkrfB'](process['env'][_0x224e4b(0x1b1)]['length'],0x0)&&_0x9aefe1[_0x224e4b(0x15f)](process[_0x224e4b(0x1b2)][_0x224e4b(0x1b1)],_0x9aefe1['ZrRQS']);return _0x9aefe1[_0x224e4b(0x19d)](_0x4b2f99,_0x83eeb5);}catch(_0x2eaaad){logger[_0x224e4b(0x1a9)](_0x224e4b(0x1eb)+_0x2eaaad);}return![];},exports[a97_0x19c0c5(0x219)]=(_0x9a4abc,_0x417da6)=>{const _0x38206b=a97_0x19c0c5,_0x2744e4={'SkVbD':_0x38206b(0x1a0),'SkajA':function(_0x1bfac2,_0x5df7cb){return _0x1bfac2(_0x5df7cb);},'eDuwB':'browserVersion','iZqnV':_0x38206b(0x1b4),'RqbWC':_0x38206b(0x1c1),'KlplQ':function(_0x4267a6,_0x5259ee){return _0x4267a6(_0x5259ee);},'kOCbb':'deviceName','FgefF':_0x38206b(0x229),'oobPp':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','jnSEr':_0x38206b(0x1cf),'ImBGe':'selenium-webdriver','QtPdP':'options_','RQXlt':'args','tIPrp':_0x38206b(0x1f6),'rKqSS':'--headless','BjhxM':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','iEHGL':_0x38206b(0x1d5),'pRuCg':function(_0x1ce588,_0x3b3b11){return _0x1ce588===_0x3b3b11;},'Lugrw':_0x38206b(0x187),'IKTzB':function(_0x25ba74,_0x2642cd){return _0x25ba74>=_0x2642cd;}},_0x2159f6=_0x9a4abc[_0x38206b(0x214)](_0x2744e4[_0x38206b(0x15a)]),_0x3d2dd4=_0x2744e4[_0x38206b(0x1b0)](parseFloat,_0x9a4abc[_0x38206b(0x214)](_0x2744e4[_0x38206b(0x15b)]))||_0x2744e4[_0x38206b(0x1b0)](parseFloat,_0x9a4abc[_0x38206b(0x214)](_0x2744e4['iZqnV'])),_0x5e299b=_0x9a4abc[_0x38206b(0x214)](_0x2744e4[_0x38206b(0x192)])||{},_0x375b01=_0x2744e4['KlplQ'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0xcb566=_0x5e299b[_0x2744e4[_0x38206b(0x20a)]]||_0x9a4abc['get'](_0x2744e4[_0x38206b(0x186)])||![];if(_0xcb566)return logger[_0x38206b(0x177)](_0x2744e4[_0x38206b(0x1d9)]),![];let _0x1c1436;try{_0x1c1436=bsSetupHelper[_0x38206b(0x1d3)](_0x2744e4['jnSEr'],_0x2744e4[_0x38206b(0x17f)]);}catch(_0x5e58da){return![];}const _0x3392e2=new _0x1c1436[(_0x38206b(0x18e))](_0x417da6['chromeOptions_']),_0x42aa6d=bsSetupHelper['nestedKeyValue'](_0x3392e2,[_0x2744e4[_0x38206b(0x1e7)],_0x2744e4[_0x38206b(0x1ab)]])||bsSetupHelper[_0x38206b(0x1a3)](_0x417da6['capabilities_'],[_0x2744e4['RqbWC'],_0x2744e4['tIPrp'],_0x2744e4[_0x38206b(0x1ab)]])||bsSetupHelper[_0x38206b(0x1a3)](_0x417da6['capabilities_'],[_0x2744e4[_0x38206b(0x171)],_0x2744e4[_0x38206b(0x1ab)]])||[];if(_0x42aa6d[_0x38206b(0x190)](_0x2744e4[_0x38206b(0x15d)]))return logger[_0x38206b(0x177)](_0x2744e4[_0x38206b(0x1c4)]),![];const _0x435fee=_0x417da6[_0x38206b(0x216)]||{},_0x1d8aac=bsSetupHelper['nestedKeyValue'](_0x435fee,[_0x2744e4[_0x38206b(0x183)]])||{},_0x3eb3b7=bsSetupHelper['nestedKeyValue'](_0x1d8aac,[_0x2744e4[_0x38206b(0x1ab)]])||[];if(_0x3eb3b7['includes'](_0x2744e4[_0x38206b(0x15d)]))return logger[_0x38206b(0x177)](_0x2744e4[_0x38206b(0x1c4)]),![];if(_0x2744e4['pRuCg'](_0x2159f6[_0x38206b(0x18d)](),_0x2744e4['Lugrw'])&&_0x2744e4[_0x38206b(0x1e9)](_0x3d2dd4,_0x375b01))return!![];return logger[_0x38206b(0x177)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0xe3a17f=>{const _0x7280b=a97_0x19c0c5,_0x286bf0={};_0x286bf0['xulfb']=_0x7280b(0x1d5),_0x286bf0[_0x7280b(0x198)]=function(_0x3fb6c3,_0x45ce33){return _0x3fb6c3||_0x45ce33;},_0x286bf0[_0x7280b(0x184)]=_0x7280b(0x228);const _0x4b2727=_0x286bf0,_0x1448c9=scripts[_0x7280b(0x204)];try{const _0x597ce9=bsSetupHelper[_0x7280b(0x1d8)](process[_0x7280b(0x1b2)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x7280b(0x1d8)](process[_0x7280b(0x1b2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x7280b(0x1a7)]()||process[_0x7280b(0x1b2)][_0x7280b(0x1db)])&&_0x597ce9){const _0xd65c2d=_0xe3a17f[_0x7280b(0x15e)](),_0x4951e2=_0xd65c2d[_0x7280b(0x214)](_0x4b2727[_0x7280b(0x1fb)]),_0x38cf14=_0x4b2727[_0x7280b(0x198)](_0x4951e2,{});bsSetupHelper[_0x7280b(0x1d2)](_0x38cf14,_0x1448c9),_0xe3a17f[_0x7280b(0x15e)]()[_0x7280b(0x17d)](_0x4b2727[_0x7280b(0x1fb)],_0x38cf14);}else logger[_0x7280b(0x177)](_0x4b2727[_0x7280b(0x184)]);}catch(_0x4e4308){logger[_0x7280b(0x1e5)](_0x7280b(0x15c)+_0x4e4308);}},exports[a97_0x19c0c5(0x1c9)]=(_0x59ff0f=null,_0x224242=!![],_0x624723=[])=>{const _0x4c809f=a97_0x19c0c5,_0x369922={};_0x369922[_0x4c809f(0x227)]=function(_0x143cc4,_0xf56836){return _0x143cc4==_0xf56836;},_0x369922[_0x4c809f(0x225)]=function(_0x41cba7,_0x40eb4b){return _0x41cba7>_0x40eb4b;},_0x369922[_0x4c809f(0x1d4)]=function(_0x41221f,_0x3e7c64){return _0x41221f===_0x3e7c64;},_0x369922[_0x4c809f(0x18a)]=function(_0x5553a8,_0x5594e0){return _0x5553a8&&_0x5594e0;},_0x369922[_0x4c809f(0x1cd)]=function(_0x241dc9,_0x514e44){return _0x241dc9&&_0x514e44;};const _0x5b0a54=_0x369922;if(_0x5b0a54[_0x4c809f(0x227)](process[_0x4c809f(0x1b2)][_0x4c809f(0x19e)],null))return!![];try{const _0x45e7bc=JSON[_0x4c809f(0x1e3)](process[_0x4c809f(0x1b2)][_0x4c809f(0x19e)]),_0x502906=Array[_0x4c809f(0x1fd)](_0x45e7bc[_0x4c809f(0x1da)])?_0x45e7bc[_0x4c809f(0x1da)]:[],_0x15e234=Array[_0x4c809f(0x1fd)](_0x45e7bc['excludeTagsInTestingScope'])?_0x45e7bc[_0x4c809f(0x1a2)]:[];if(bsSetupHelper[_0x4c809f(0x1d1)](_0x59ff0f)){if(_0x5b0a54[_0x4c809f(0x225)](_0x624723['length'],0x0)){const _0x11a401=_0x15e234[_0x4c809f(0x176)](_0x236588=>_0x624723[_0x4c809f(0x190)](_0x236588)),_0x44da06=_0x5b0a54[_0x4c809f(0x1d4)](_0x502906['length'],0x0)||_0x502906[_0x4c809f(0x176)](_0x2a3f1c=>_0x624723[_0x4c809f(0x190)](_0x2a3f1c));return _0x5b0a54['ouBqN'](!_0x11a401,_0x44da06);}return!![];}let _0x15b180;_0x224242?_0x15b180=_0x59ff0f[_0x4c809f(0x19f)]('/'):_0x15b180=_0x59ff0f;const _0x1788d7=_0x15e234['some'](_0x1dbb86=>_0x15b180[_0x4c809f(0x190)](_0x1dbb86)),_0x32bc48=_0x5b0a54['BwvCQ'](_0x502906[_0x4c809f(0x209)],0x0)||_0x502906[_0x4c809f(0x176)](_0x5cb31b=>_0x15b180[_0x4c809f(0x190)](_0x5cb31b));return _0x5b0a54[_0x4c809f(0x1cd)](!_0x1788d7,_0x32bc48);}catch(_0x3839a3){logger['debug'](_0x4c809f(0x210)+util[_0x4c809f(0x178)](_0x3839a3));}return![];},exports[a97_0x19c0c5(0x162)]=_0x40b61b=>{const _0x4a6459=a97_0x19c0c5;let _0x271380=![];try{_0x40b61b[_0x4a6459(0x181)][_0x4a6459(0x1b7)](_0x33218f=>{const _0x5119ca=_0x4a6459;if(bsSetupHelper[_0x5119ca(0x1d8)](_0x33218f[_0x5119ca(0x19a)]))return _0x271380=!![],!![];});}catch(_0x3081d7){logger[_0x4a6459(0x1a9)](_0x4a6459(0x1b3)+_0x3081d7);}return _0x271380||bsSetupHelper['isTrue'](_0x40b61b[_0x4a6459(0x19a)]);},exports[a97_0x19c0c5(0x201)]=PerformanceTester['measureWrapper']('a11y:start',async function(_0x19722e,_0x22d3ef){const _0x39bff9=a97_0x19c0c5,_0x201394={};_0x201394[_0x39bff9(0x1a4)]=_0x39bff9(0x202),_0x201394[_0x39bff9(0x180)]=_0x39bff9(0x226),_0x201394[_0x39bff9(0x1e6)]=_0x39bff9(0x21f),_0x201394[_0x39bff9(0x16c)]='application/json',_0x201394[_0x39bff9(0x1ac)]=_0x39bff9(0x1ae),_0x201394['bvTWo']='v2/test_runs',_0x201394[_0x39bff9(0x175)]=function(_0x195c17,_0x5aa96a){return _0x195c17===_0x5aa96a;},_0x201394[_0x39bff9(0x212)]=_0x39bff9(0x1c7),_0x201394[_0x39bff9(0x1f7)]=_0x39bff9(0x20b);const _0x2a7e60=_0x201394,_0x28dc34=bsSetupHelper[_0x39bff9(0x1f9)](_0x19722e),_0x319742=bsSetupHelper[_0x39bff9(0x161)](_0x19722e);if(bsSetupHelper[_0x39bff9(0x1d1)](_0x28dc34)||bsSetupHelper[_0x39bff9(0x1d1)](_0x319742))return logger[_0x39bff9(0x1e5)](_0x2a7e60[_0x39bff9(0x1a4)]),[null,null];try{let _0x28eefd;bsSetupHelper[_0x39bff9(0x1d1)](process['env'][_0x39bff9(0x19e)])?_0x28eefd={}:_0x28eefd=JSON['parse'](process[_0x39bff9(0x1b2)][_0x39bff9(0x19e)]);const {name:_0x127133,version:_0x4263a1}=bsSetupHelper[_0x39bff9(0x18b)](_0x19722e,_0x22d3ef),_0x2973fa={'projectName':_0x19722e['projectName'],'buildName':_0x19722e[_0x39bff9(0x203)]||path[_0x39bff9(0x1ca)](path[_0x39bff9(0x1f2)](process[_0x39bff9(0x1c0)]())),'startTime':new Date()[_0x39bff9(0x1c5)](),'description':_0x19722e[_0x39bff9(0x223)]||'','source':{'frameworkName':_0x22d3ef['includes'](_0x2a7e60[_0x39bff9(0x180)])?_0x2a7e60[_0x39bff9(0x180)]:_0x22d3ef,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x22d3ef),'sdkVersion':bsSetupHelper[_0x39bff9(0x197)](),'language':_0x2a7e60[_0x39bff9(0x1e6)],'testFramework':_0x127133,'testFrameworkVersion':_0x4263a1},'settings':_0x28eefd,'versionControl':await bsSetupHelper[_0x39bff9(0x1e1)](),'ciInfo':bsSetupHelper[_0x39bff9(0x211)](),'hostInfo':bsSetupHelper[_0x39bff9(0x17a)](),'browserstackAutomation':bsSetupHelper[_0x39bff9(0x1a7)]()},_0x3046e7={};_0x3046e7[_0x39bff9(0x1f1)]=_0x28dc34,_0x3046e7[_0x39bff9(0x158)]=_0x319742;const _0x3e5ca0={};_0x3e5ca0[_0x39bff9(0x207)]=_0x2a7e60[_0x39bff9(0x16c)];const _0x30a26f={};_0x30a26f[_0x39bff9(0x220)]=_0x3046e7,_0x30a26f[_0x39bff9(0x1fe)]=_0x3e5ca0;const _0x2efd74=_0x30a26f,_0x1d062b={};_0x1d062b['body']=_0x2973fa,_0x1d062b[_0x39bff9(0x157)]=!![];const _0x16f94a=Object[_0x39bff9(0x17e)](_0x2efd74,_0x1d062b),_0x18fa26=await bsSetupHelper[_0x39bff9(0x1bd)](_0x2a7e60[_0x39bff9(0x1ac)],_0x2a7e60[_0x39bff9(0x160)],_0x16f94a,_0x19722e,API_URL);let _0x573994=process[_0x39bff9(0x1b2)][_0x39bff9(0x19e)];return _0x573994?_0x573994=JSON[_0x39bff9(0x1e3)](process[_0x39bff9(0x1b2)][_0x39bff9(0x19e)]):_0x573994={},scripts['parseFromJson'](_0x18fa26[_0x39bff9(0x21e)]['data']),scripts[_0x39bff9(0x1d0)](),_0x573994['scannerVersion']=_0x18fa26[_0x39bff9(0x21e)][_0x39bff9(0x21e)][_0x39bff9(0x1bf)],process[_0x39bff9(0x1b2)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x39bff9(0x217)](_0x573994),[_0x18fa26['data'][_0x39bff9(0x21e)]['accessibilityToken'],_0x18fa26[_0x39bff9(0x21e)][_0x39bff9(0x21e)]['id']];}catch(_0x22ac6b){if(_0x22ac6b[_0x39bff9(0x166)])logger[_0x39bff9(0x1e5)](_0x39bff9(0x205)+_0x22ac6b[_0x39bff9(0x166)][_0x39bff9(0x1df)]+'\x20'+_0x22ac6b[_0x39bff9(0x166)][_0x39bff9(0x1bc)]+'\x20'+JSON[_0x39bff9(0x217)](_0x22ac6b[_0x39bff9(0x166)][_0x39bff9(0x21e)]));else{if(_0x2a7e60['vkecH'](_0x22ac6b[_0x39bff9(0x1f5)],_0x2a7e60[_0x39bff9(0x212)])){logger[_0x39bff9(0x1e5)](_0x39bff9(0x205)+(_0x22ac6b[_0x39bff9(0x1f5)]||_0x22ac6b[_0x39bff9(0x20f)]));for(const _0x30ff96 of _0x22ac6b[_0x39bff9(0x1b5)]){logger[_0x39bff9(0x1e5)](_0x30ff96[_0x39bff9(0x1f5)]);}process[_0x39bff9(0x1b2)][_0x39bff9(0x222)]=_0x2a7e60[_0x39bff9(0x1f7)],process[_0x39bff9(0x1b2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x2a7e60['vuWsg'];}else logger[_0x39bff9(0x1e5)](_0x39bff9(0x205)+(_0x22ac6b[_0x39bff9(0x1f5)]||_0x22ac6b[_0x39bff9(0x20f)]));}return[null,null];}}),exports['stopAccessibilityTestRun']=PerformanceTester[a97_0x19c0c5(0x1ed)](a97_0x19c0c5(0x213),async function(_0x5dc31c){const _0x4b7fbe=a97_0x19c0c5,_0x578159={};_0x578159[_0x4b7fbe(0x1a6)]=function(_0x26f37b,_0x70a390){return _0x26f37b!==_0x70a390;},_0x578159[_0x4b7fbe(0x19b)]=_0x4b7fbe(0x16e),_0x578159[_0x4b7fbe(0x189)]=_0x4b7fbe(0x1e5),_0x578159[_0x4b7fbe(0x167)]=_0x4b7fbe(0x218),_0x578159[_0x4b7fbe(0x191)]=_0x4b7fbe(0x18c),_0x578159[_0x4b7fbe(0x1d7)]=_0x4b7fbe(0x1be),_0x578159['TBssz']=_0x4b7fbe(0x17c),_0x578159['qUQNJ']=function(_0x47f4bd,_0x36752d){return _0x47f4bd+_0x36752d;},_0x578159[_0x4b7fbe(0x188)]=_0x4b7fbe(0x16b),_0x578159[_0x4b7fbe(0x16d)]='success';const _0x5c806f=_0x578159;if(bsSetupHelper[_0x4b7fbe(0x1d1)](process['env'][_0x4b7fbe(0x1b1)])||_0x5c806f[_0x4b7fbe(0x1a6)](typeof process[_0x4b7fbe(0x1b2)][_0x4b7fbe(0x1b1)],_0x5c806f['oVCNi'])){const _0x493b43={};return _0x493b43[_0x4b7fbe(0x1df)]=_0x5c806f[_0x4b7fbe(0x189)],_0x493b43[_0x4b7fbe(0x1f5)]=_0x5c806f['ZNNbq'],_0x493b43;}const _0x3b4044={'endTime':new Date()['toISOString']()},_0x12cfe5={};_0x12cfe5[_0x4b7fbe(0x163)]=_0x4b7fbe(0x1c6)+process[_0x4b7fbe(0x1b2)]['BS_A11Y_JWT'],_0x12cfe5[_0x4b7fbe(0x207)]=_0x5c806f[_0x4b7fbe(0x191)];const _0x1b2d6c={};_0x1b2d6c[_0x4b7fbe(0x1fe)]=_0x12cfe5;const _0x189d60=_0x1b2d6c,_0x473879={};_0x473879[_0x4b7fbe(0x206)]=_0x3b4044,_0x473879[_0x4b7fbe(0x220)]=null,_0x473879['json']=!![];const _0xb96763=Object[_0x4b7fbe(0x17e)](_0x189d60,_0x473879);try{const _0x1db1cd=await bsSetupHelper[_0x4b7fbe(0x1bd)](_0x5c806f['zEiCe'],_0x5c806f['TBssz'],_0xb96763,_0x5dc31c,API_URL);if(_0x1db1cd[_0x4b7fbe(0x21e)][_0x4b7fbe(0x1e5)])throw new Error(_0x5c806f[_0x4b7fbe(0x1f4)](_0x5c806f[_0x4b7fbe(0x188)],_0x1db1cd[_0x4b7fbe(0x21e)][_0x4b7fbe(0x1e5)]));else{logger[_0x4b7fbe(0x1d6)](_0x4b7fbe(0x1cb)+new Date()[_0x4b7fbe(0x1c5)]());const _0x100b6a={};return _0x100b6a[_0x4b7fbe(0x1df)]=_0x5c806f[_0x4b7fbe(0x16d)],_0x100b6a[_0x4b7fbe(0x1f5)]='',_0x100b6a;}}catch(_0x2bbe04){_0x2bbe04[_0x4b7fbe(0x166)]?logger['error']('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x2bbe04['response'][_0x4b7fbe(0x1df)]+'\x20'+_0x2bbe04[_0x4b7fbe(0x166)][_0x4b7fbe(0x1bc)]+'\x20'+JSON['stringify'](_0x2bbe04['response'][_0x4b7fbe(0x21e)])):logger[_0x4b7fbe(0x1e5)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0x2bbe04[_0x4b7fbe(0x1f5)]||util[_0x4b7fbe(0x178)](_0x2bbe04)));const _0x1698f3={};return _0x1698f3['status']=_0x5c806f[_0x4b7fbe(0x189)],_0x1698f3['message']=_0x2bbe04[_0x4b7fbe(0x1f5)]||(_0x2bbe04['response']?_0x2bbe04['response']['status']+':'+_0x2bbe04[_0x4b7fbe(0x166)][_0x4b7fbe(0x1bc)]:_0x2bbe04),_0x1698f3;}}),exports[a97_0x19c0c5(0x224)]=async(_0x6a7ed0,_0x2c0419=null)=>{const _0x562bfe=a97_0x19c0c5,_0x203b43={};_0x203b43[_0x562bfe(0x174)]=_0x562bfe(0x1fa),_0x203b43[_0x562bfe(0x21c)]=_0x562bfe(0x164),_0x203b43[_0x562bfe(0x1ef)]=_0x562bfe(0x185);const _0x20cab5=_0x203b43;if(!this[_0x562bfe(0x20e)]()||!globals[_0x562bfe(0x159)](_0x20cab5['VdrHA'])||!globals[_0x562bfe(0x159)](_0x20cab5[_0x562bfe(0x21c)])){logger[_0x562bfe(0x177)](_0x20cab5[_0x562bfe(0x1ef)]);return;}return await PerformanceTester[_0x562bfe(0x1ed)](PerformanceA11yEvents[_0x562bfe(0x1ba)],async()=>{const _0x2dd96b=_0x562bfe,_0x4f3126={};_0x4f3126[_0x2dd96b(0x1ee)]=_0x2c0419||global['browserstackSessionName'];const _0x1e7cfb=util[_0x2dd96b(0x178)](await _0x6a7ed0[_0x2dd96b(0x1a1)](scripts[_0x2dd96b(0x224)],_0x4f3126));return logger[_0x2dd96b(0x1a9)]('Performed\x20scan\x20with\x20result:\x20'+_0x1e7cfb),_0x1e7cfb;},{'command':_0x2c0419})();},exports[a97_0x19c0c5(0x21d)]=async(_0x728077,_0xbacd31)=>{const _0x4b99b7=a97_0x19c0c5,_0x410cab={};_0x410cab[_0x4b99b7(0x1de)]=_0x4b99b7(0x199),_0x410cab[_0x4b99b7(0x1b8)]='isAccessibilityPlatform',_0x410cab[_0x4b99b7(0x1a8)]=_0x4b99b7(0x164),_0x410cab[_0x4b99b7(0x21a)]=_0x4b99b7(0x168),_0x410cab[_0x4b99b7(0x1ea)]=_0x4b99b7(0x21d),_0x410cab['MZYfu']=_0x4b99b7(0x195);const _0x4cda94=_0x410cab;if(!this[_0x4b99b7(0x20e)]()||!globals[_0x4b99b7(0x159)](_0x4cda94[_0x4b99b7(0x1b8)])||!globals[_0x4b99b7(0x159)](_0x4cda94[_0x4b99b7(0x1a8)]))return logger[_0x4b99b7(0x177)](_0x4cda94[_0x4b99b7(0x21a)]),[];try{return await PerformanceTester[_0x4b99b7(0x1ed)](PerformanceA11yEvents[_0x4b99b7(0x1ba)],async()=>{const _0x4351a8=_0x4b99b7;logger[_0x4351a8(0x1a9)](_0x4cda94[_0x4351a8(0x1de)]);const _0x99f76b={};_0x99f76b['method']=_0xbacd31['browserstackSessionName'],logger[_0x4351a8(0x1a9)](util['format'](await _0x728077[_0x4351a8(0x1a1)](scripts[_0x4351a8(0x224)],_0x99f76b)));},{'command':_0x4cda94['ycfIV']})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4b99b7(0x1e8)],async()=>{const _0x172c2e=_0x4b99b7,_0x5742a8=await _0x728077[_0x172c2e(0x1a1)](scripts[_0x172c2e(0x169)]);return _0x5742a8;})();}catch{return logger['error'](_0x4cda94[_0x4b99b7(0x1f0)]),[];}},exports[a97_0x19c0c5(0x1dc)]=async(_0x4120bd,_0x4149ec)=>{const _0x52d723=a97_0x19c0c5,_0x20f9fb={};_0x20f9fb['ALbwq']=_0x52d723(0x170),_0x20f9fb[_0x52d723(0x20d)]=_0x52d723(0x1fa),_0x20f9fb[_0x52d723(0x179)]=_0x52d723(0x164),_0x20f9fb['oIKnD']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x20f9fb[_0x52d723(0x1ec)]='getAccessibilityResultsSummary',_0x20f9fb[_0x52d723(0x193)]='No\x20accessibility\x20summary\x20was\x20found.';const _0x53d121=_0x20f9fb;if(!this[_0x52d723(0x20e)]()||!globals['getGlobal'](_0x53d121[_0x52d723(0x20d)])||!globals[_0x52d723(0x159)](_0x53d121['kzUYe']))return logger[_0x52d723(0x177)](_0x53d121['oIKnD']),{};try{return await PerformanceTester[_0x52d723(0x1ed)](PerformanceA11yEvents[_0x52d723(0x1ba)],async()=>{const _0x5c4070=_0x52d723;logger[_0x5c4070(0x1a9)](_0x53d121['ALbwq']);const _0x3de9ab={};_0x3de9ab[_0x5c4070(0x1ee)]=_0x4149ec[_0x5c4070(0x208)],logger[_0x5c4070(0x1a9)](util[_0x5c4070(0x178)](await _0x4120bd[_0x5c4070(0x1a1)](scripts['performScan'],_0x3de9ab)));},{'command':_0x53d121[_0x52d723(0x1ec)]})(),await PerformanceTester[_0x52d723(0x1ed)](PerformanceA11yEvents[_0x52d723(0x1c8)],async()=>{const _0x56496c=_0x52d723,_0x2aa55e=await _0x4120bd[_0x56496c(0x1a1)](scripts[_0x56496c(0x173)]);return _0x2aa55e;})();}catch{return logger[_0x52d723(0x1e5)](_0x53d121[_0x52d723(0x193)]),{};}},exports[a97_0x19c0c5(0x19c)]=_0x270525=>{const _0x4130c0=a97_0x19c0c5,_0x3a509c={};_0x3a509c[_0x4130c0(0x1ad)]=function(_0x4bd0b5,_0x4768af){return _0x4bd0b5===_0x4768af;},_0x3a509c[_0x4130c0(0x1cc)]=_0x4130c0(0x16e),_0x3a509c['pfQsb']='browserstack_executor';const _0x374574=_0x3a509c;if(_0x270525&&_0x270525[_0x4130c0(0x165)]&&_0x374574[_0x4130c0(0x1ad)](typeof _0x270525[_0x4130c0(0x165)],_0x374574['jxgwv']))return _0x270525[_0x4130c0(0x165)][_0x4130c0(0x190)](_0x374574[_0x4130c0(0x18f)]);return![];};
1
+ const a97_0x3a1c2c=a97_0x285f;(function(_0x2a0e37,_0x14b3c0){const _0x205831=a97_0x285f,_0x56f019=_0x2a0e37();while(!![]){try{const _0x43fb66=-parseInt(_0x205831(0xe9))/0x1*(-parseInt(_0x205831(0x12f))/0x2)+-parseInt(_0x205831(0xf3))/0x3*(-parseInt(_0x205831(0x1bb))/0x4)+-parseInt(_0x205831(0x138))/0x5+-parseInt(_0x205831(0x16d))/0x6*(parseInt(_0x205831(0x16a))/0x7)+parseInt(_0x205831(0x10d))/0x8+-parseInt(_0x205831(0x127))/0x9+parseInt(_0x205831(0x12e))/0xa*(parseInt(_0x205831(0x164))/0xb);if(_0x43fb66===_0x14b3c0)break;else _0x56f019['push'](_0x56f019['shift']());}catch(_0x494015){_0x56f019['push'](_0x56f019['shift']());}}}(a97_0x5123,0x463df));function a97_0x285f(_0x578d47,_0x83d799){const _0x5123d2=a97_0x5123();return a97_0x285f=function(_0x285f60,_0xe4ca6f){_0x285f60=_0x285f60-0xe3;let _0x4df968=_0x5123d2[_0x285f60];return _0x4df968;},a97_0x285f(_0x578d47,_0x83d799);}function a97_0x5123(){const _0x5cffa2=['forEach','resolve','PERFORM_SCAN','buildName','./scripts','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','Invalid\x20request:\x20','string','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','BgVgr','getUserName','DOnho','some','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','browserVersion','kNHuh','WVLeW','get','BS_A11Y_JWT','error','performScan','GET_RESULTS','projectName','chrome','MQppx','BROWSERSTACK_TEST_ACCESSIBILITY_YML','OgnoT','cwd','1144zyajoh','elqZj','AZqaX','No\x20accessibility\x20results\x20were\x20found.','WpLRu','json','bstackA11yShouldScan','test_runs/stop','response','statusText','OgkXX','browserstackSessionName','29bKFrWr','gYFNC','PSaGX','LRMsP','jEUnd','THvio','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','auiFo','chromeOptions','Performing\x20scan\x20before\x20getting\x20results\x20summary','2559WqsAfs','cLgnV','getResults','nodeRequest','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','warn','capabilities_','measureWrapper','getResultsSummary','XdBRW','buildDescription','EqBbU','GET_RESULTS_SUMMARY','shouldScanTestForAccessibility','false','toJson','getBrowserName','getCiInfo','options_','success','excludeTagsInTestingScope','rUQOg','gVzNu','stopAccessibilityTestRun','XfsKW','1720512ZSnPZn','path','set','toISOString','includeTagsInTestingScope','accessibility','POST','ChromeExtension','getGlobal','AwmJb','HVhqD','args','MpEKq','pxAfj','znlSt','vVCIf','isAccessibilityPlatform','setNonBstackInfraCapabilities','gfKCF','version','headers','EDoIY','BROWSERSTACK_TURBOSCALE','SsKkb','wYmLo','isTrue','3797919TaoYYV','includes','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','script','isAccessibilityAutomationSession','Invalid\x20configuration\x20passed.','Performing\x20scan\x20before\x20getting\x20results','10ySYoUl','13306yOVmKP','../performance/performance-tester','nestedKeyValue','pGyPd','v2/test_runs','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','isBrowserstackInfra','message','mergeDeep','1807440kvgDJQ','../performance/constants','jQPgv','GtthN','browserstack','basename','chromeOptions_','accessibilityToken','debug','EsKDE','PUT','../helper','VtQjm','getHostInfo','goog:chromeOptions','ZnBlB','fHdmz','slihL','info','FScRK','wVsvB','dnjRq','Dqzpy','getTestFrameworkDetails','NklVD','util','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','YcpjN','rRQwr','tlHUo','data','selenium-webdriver','javascript','status','stringify','bstack:options','Content-Type','getAccessibilityResultsSummary','wSQBM','lINCK','null','uFVZW','browserstack_executor','YQjhq','8944331MxKaFH','a11y:start','--headless','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','PkeqW','method','595TXAPfj','length','getAccessKey','27804hLCZia','lrjCs','executeAsyncScript','user','kdxaz','Not\x20a\x20Accessibility\x20Session','errors','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','fetchPlatformDetails','assign','Bearer\x20','getAccessibilityResults','browserName','gERjT','Authorization','getGitMetaData','selenium-webdriver/chrome.js','stack','eUjBR','isArray','qRNWh','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','nonBstackPlatformValidation','env','pVCEJ','join','jGsLp','diJsu','mCQPr','body','BoJyK','scannerVersion','HaXcl','getAgentVersion','application/json','cYvFy','No\x20accessibility\x20summary\x20was\x20found.','checkAccessibilityPlatformConfig','IIiXp','isUndefined','format','ORebf','Tvqat','PqKsR','cTLCT','parse','getCapabilities','isBrowserStackCommandExecutor'];a97_0x5123=function(){return _0x5cffa2;};return a97_0x5123();}const path=require(a97_0x3a1c2c(0x10e)),util=require(a97_0x3a1c2c(0x151)),bsSetupHelper=require(a97_0x3a1c2c(0x143)),logger=require('../logger')['winstonLogger'],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('./constants'),PerformanceTester=require(a97_0x3a1c2c(0x130)),scripts=require(a97_0x3a1c2c(0x1a1)),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x3a1c2c(0x139));exports[a97_0x3a1c2c(0x175)]=async _0x1da2a4=>{const _0x232efb=a97_0x3a1c2c,_0x40e5b6={};_0x40e5b6[_0x232efb(0x181)]=function(_0x2a1a2f,_0x663f07){return _0x2a1a2f===_0x663f07;},_0x40e5b6['VtQjm']=_0x232efb(0x13c);const _0x4fc576=_0x40e5b6;let _0x27b6c2={};try{const _0x4c1823=await _0x1da2a4[_0x232efb(0x19b)]();_0x27b6c2={'os_name':_0x4c1823['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x4fc576[_0x232efb(0x181)](global['__cloud_provider___'],_0x4fc576[_0x232efb(0x144)])),'browser_name':_0x4c1823[_0x232efb(0x104)](),'browser_version':_0x4c1823['getBrowserVersion']()};}catch(_0x4a3bb7){logger[_0x232efb(0x140)](_0x232efb(0xef)+_0x4a3bb7);}return _0x27b6c2;},exports[a97_0x3a1c2c(0x12b)]=()=>{const _0x587cf3=a97_0x3a1c2c,_0x3162f0={};_0x3162f0['jEUnd']=function(_0x21e7bb,_0x92e652){return _0x21e7bb===_0x92e652;},_0x3162f0[_0x587cf3(0x155)]=_0x587cf3(0x1a4),_0x3162f0[_0x587cf3(0x1bc)]=function(_0x4ae703,_0x4e5905){return _0x4ae703>_0x4e5905;},_0x3162f0[_0x587cf3(0x199)]=function(_0x3e3e1a,_0x876f7d){return _0x3e3e1a!==_0x876f7d;},_0x3162f0[_0x587cf3(0x1af)]=_0x587cf3(0x160),_0x3162f0[_0x587cf3(0xea)]=function(_0x1b1155,_0x4587a5){return _0x1b1155&&_0x4587a5;};const _0x52b0ba=_0x3162f0;try{const _0xa812c0=bsSetupHelper[_0x587cf3(0x126)](process[_0x587cf3(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process[_0x587cf3(0x184)][_0x587cf3(0x1ac)]),_0xe0694=_0x52b0ba[_0x587cf3(0xed)](typeof process[_0x587cf3(0x184)][_0x587cf3(0x1b1)],_0x52b0ba[_0x587cf3(0x155)])&&_0x52b0ba['elqZj'](process[_0x587cf3(0x184)][_0x587cf3(0x1b1)][_0x587cf3(0x16b)],0x0)&&_0x52b0ba[_0x587cf3(0x199)](process[_0x587cf3(0x184)][_0x587cf3(0x1b1)],_0x52b0ba['WVLeW']);return _0x52b0ba[_0x587cf3(0xea)](_0xa812c0,_0xe0694);}catch(_0x2ac4f1){logger['debug'](_0x587cf3(0x182)+_0x2ac4f1);}return![];},exports[a97_0x3a1c2c(0x183)]=(_0x10e4c1,_0x3004e0)=>{const _0x5a6b85=a97_0x3a1c2c,_0x251360={'kNHuh':_0x5a6b85(0x179),'OjVRZ':function(_0x151537,_0x2eade9){return _0x151537(_0x2eade9);},'rRQwr':_0x5a6b85(0x1ad),'ymSVD':function(_0x1c7ca8,_0x282ab5){return _0x1c7ca8(_0x282ab5);},'XdBRW':_0x5a6b85(0x120),'gERjT':_0x5a6b85(0x15b),'jGsLp':function(_0x289ed8,_0x45c26c){return _0x289ed8(_0x45c26c);},'dnjRq':'deviceName','lINCK':'device','fHdmz':_0x5a6b85(0x167),'eUjBR':_0x5a6b85(0x17d),'cLgnV':_0x5a6b85(0x157),'TpXhm':_0x5a6b85(0x106),'PSaGX':_0x5a6b85(0x118),'GtthN':_0x5a6b85(0xf1),'pxAfj':_0x5a6b85(0x166),'auiFo':_0x5a6b85(0x1ab),'YQjhq':_0x5a6b85(0x146),'OgkXX':function(_0xdb234c,_0x1afc44){return _0xdb234c===_0x1afc44;},'CapgM':_0x5a6b85(0x1b6),'MQppx':function(_0x360bd2,_0x28488b){return _0x360bd2>=_0x28488b;}},_0xea7727=_0x10e4c1[_0x5a6b85(0x1b0)](_0x251360[_0x5a6b85(0x1ae)]),_0x298996=_0x251360['OjVRZ'](parseFloat,_0x10e4c1['get'](_0x251360[_0x5a6b85(0x154)]))||_0x251360['ymSVD'](parseFloat,_0x10e4c1[_0x5a6b85(0x1b0)](_0x251360[_0x5a6b85(0xfd)])),_0x5278b0=_0x10e4c1[_0x5a6b85(0x1b0)](_0x251360['gERjT'])||{},_0x480eb8=_0x251360[_0x5a6b85(0x187)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x554b3c=_0x5278b0[_0x251360[_0x5a6b85(0x14d)]]||_0x10e4c1['get'](_0x251360[_0x5a6b85(0x15f)])||![];if(_0x554b3c)return logger[_0x5a6b85(0xf9)](_0x251360[_0x5a6b85(0x148)]),![];let _0x1b459e;try{_0x1b459e=bsSetupHelper['requireModule'](_0x251360[_0x5a6b85(0x17f)],_0x251360[_0x5a6b85(0xf4)]);}catch(_0x13ef66){return![];}const _0x5b79cd=new _0x1b459e['Options'](_0x3004e0[_0x5a6b85(0x13e)]),_0x901374=bsSetupHelper['nestedKeyValue'](_0x5b79cd,[_0x251360['TpXhm'],_0x251360[_0x5a6b85(0xeb)]])||bsSetupHelper[_0x5a6b85(0x131)](_0x3004e0['capabilities_'],[_0x251360[_0x5a6b85(0x17a)],_0x251360[_0x5a6b85(0x13b)],_0x251360[_0x5a6b85(0xeb)]])||bsSetupHelper[_0x5a6b85(0x131)](_0x3004e0[_0x5a6b85(0xfa)],[_0x251360[_0x5a6b85(0x13b)],_0x251360[_0x5a6b85(0xeb)]])||[];if(_0x901374[_0x5a6b85(0x128)](_0x251360[_0x5a6b85(0x11a)]))return logger[_0x5a6b85(0xf9)](_0x251360[_0x5a6b85(0xf0)]),![];const _0x3f77ce=_0x3004e0['capabilities_']||{},_0x535094=bsSetupHelper['nestedKeyValue'](_0x3f77ce,[_0x251360[_0x5a6b85(0x163)]])||{},_0xe39918=bsSetupHelper[_0x5a6b85(0x131)](_0x535094,[_0x251360[_0x5a6b85(0xeb)]])||[];if(_0xe39918[_0x5a6b85(0x128)](_0x251360[_0x5a6b85(0x11a)]))return logger[_0x5a6b85(0xf9)](_0x251360['auiFo']),![];if(_0x251360[_0x5a6b85(0xe7)](_0xea7727['toLowerCase'](),_0x251360['CapgM'])&&_0x251360[_0x5a6b85(0x1b7)](_0x298996,_0x480eb8))return!![];return logger[_0x5a6b85(0xf9)](_0x5a6b85(0x1a2)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x3a1c2c(0x11e)]=_0x386ed9=>{const _0x42f0d8=a97_0x3a1c2c,_0x46d541={};_0x46d541['BgVgr']=_0x42f0d8(0x146),_0x46d541[_0x42f0d8(0x141)]=function(_0x594ae7,_0x631470){return _0x594ae7||_0x631470;},_0x46d541[_0x42f0d8(0x197)]=_0x42f0d8(0x172);const _0x2cc424=_0x46d541,_0x24d01d=scripts[_0x42f0d8(0x114)];try{const _0x5e0f69=bsSetupHelper[_0x42f0d8(0x126)](process[_0x42f0d8(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x42f0d8(0x126)](process[_0x42f0d8(0x184)][_0x42f0d8(0x1ac)]);if((!bsSetupHelper[_0x42f0d8(0x135)]()||process[_0x42f0d8(0x184)][_0x42f0d8(0x123)])&&_0x5e0f69){const _0x1078d1=_0x386ed9[_0x42f0d8(0x19b)](),_0x41a3ce=_0x1078d1[_0x42f0d8(0x1b0)](_0x2cc424[_0x42f0d8(0x1a7)]),_0x3140b3=_0x2cc424['EsKDE'](_0x41a3ce,{});bsSetupHelper[_0x42f0d8(0x137)](_0x3140b3,_0x24d01d),_0x386ed9[_0x42f0d8(0x19b)]()[_0x42f0d8(0x10f)](_0x2cc424[_0x42f0d8(0x1a7)],_0x3140b3);}else logger[_0x42f0d8(0xf9)](_0x2cc424[_0x42f0d8(0x197)]);}catch(_0x3a2e7d){logger[_0x42f0d8(0x1b2)](_0x42f0d8(0x152)+_0x3a2e7d);}},exports[a97_0x3a1c2c(0x101)]=(_0x5f3d7a=null,_0x22404b=!![],_0x1c4216=[])=>{const _0x56f3be=a97_0x3a1c2c,_0x4b91e4={};_0x4b91e4[_0x56f3be(0x122)]=function(_0x54c337,_0x27e3cd){return _0x54c337==_0x27e3cd;},_0x4b91e4[_0x56f3be(0x15e)]=function(_0x1b8d7d,_0x4bd018){return _0x1b8d7d>_0x4bd018;},_0x4b91e4[_0x56f3be(0x117)]=function(_0x2d72c4,_0x2b7ba7){return _0x2d72c4===_0x2b7ba7;},_0x4b91e4[_0x56f3be(0x116)]=function(_0xc91500,_0x363189){return _0xc91500&&_0x363189;},_0x4b91e4[_0x56f3be(0x147)]=function(_0x3e530b,_0x4d2245){return _0x3e530b===_0x4d2245;};const _0x4585a3=_0x4b91e4;if(_0x4585a3['EDoIY'](process[_0x56f3be(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x389c34=JSON[_0x56f3be(0x19a)](process['env'][_0x56f3be(0xf8)]),_0x6445d6=Array['isArray'](_0x389c34[_0x56f3be(0x111)])?_0x389c34[_0x56f3be(0x111)]:[],_0x5a10a6=Array[_0x56f3be(0x180)](_0x389c34[_0x56f3be(0x108)])?_0x389c34[_0x56f3be(0x108)]:[];if(bsSetupHelper[_0x56f3be(0x194)](_0x5f3d7a)){if(_0x4585a3['wSQBM'](_0x1c4216[_0x56f3be(0x16b)],0x0)){const _0x418adf=_0x5a10a6[_0x56f3be(0x1aa)](_0x5ebf61=>_0x1c4216[_0x56f3be(0x128)](_0x5ebf61)),_0x3cbe4c=_0x4585a3[_0x56f3be(0x117)](_0x6445d6['length'],0x0)||_0x6445d6['some'](_0x51b0fb=>_0x1c4216['includes'](_0x51b0fb));return _0x4585a3[_0x56f3be(0x116)](!_0x418adf,_0x3cbe4c);}return!![];}let _0x47e9eb;_0x22404b?_0x47e9eb=_0x5f3d7a[_0x56f3be(0x186)]('/'):_0x47e9eb=_0x5f3d7a;const _0x3f8d95=_0x5a10a6[_0x56f3be(0x1aa)](_0x5733f7=>_0x47e9eb[_0x56f3be(0x128)](_0x5733f7)),_0x24b601=_0x4585a3[_0x56f3be(0x147)](_0x6445d6['length'],0x0)||_0x6445d6[_0x56f3be(0x1aa)](_0x1b2e10=>_0x47e9eb[_0x56f3be(0x128)](_0x1b2e10));return _0x4585a3[_0x56f3be(0x116)](!_0x3f8d95,_0x24b601);}catch(_0x1d50be){logger[_0x56f3be(0x140)](_0x56f3be(0x129)+util[_0x56f3be(0x195)](_0x1d50be));}return![];},exports[a97_0x3a1c2c(0x192)]=_0x3df328=>{const _0x5b0171=a97_0x3a1c2c;let _0x245cc8=![];try{_0x3df328['platforms'][_0x5b0171(0x19d)](_0x34f6f2=>{const _0x6ee7a8=_0x5b0171;if(bsSetupHelper[_0x6ee7a8(0x126)](_0x34f6f2[_0x6ee7a8(0x112)]))return _0x245cc8=!![],!![];});}catch(_0x54936e){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x54936e);}return _0x245cc8||bsSetupHelper[_0x5b0171(0x126)](_0x3df328[_0x5b0171(0x112)]);},exports['createAccessibilityTestRun']=PerformanceTester['measureWrapper'](a97_0x3a1c2c(0x165),async function(_0x51c145,_0x13bcbf){const _0x40fa2f=a97_0x3a1c2c,_0xe703d6={};_0xe703d6['SsKkb']=_0x40fa2f(0x134),_0xe703d6[_0x40fa2f(0x196)]='playwright',_0xe703d6['YcpjN']=_0x40fa2f(0x158),_0xe703d6[_0x40fa2f(0x10c)]=_0x40fa2f(0x18f),_0xe703d6[_0x40fa2f(0x1a9)]=_0x40fa2f(0x113),_0xe703d6['wYmLo']=_0x40fa2f(0x133),_0xe703d6[_0x40fa2f(0x190)]=function(_0x5b4eeb,_0x543bd1){return _0x5b4eeb===_0x543bd1;},_0xe703d6[_0x40fa2f(0xec)]=_0x40fa2f(0x12c),_0xe703d6[_0x40fa2f(0x168)]=_0x40fa2f(0x102);const _0x470f5c=_0xe703d6,_0x48b68a=bsSetupHelper[_0x40fa2f(0x1a8)](_0x51c145),_0xf5697b=bsSetupHelper[_0x40fa2f(0x16c)](_0x51c145);if(bsSetupHelper[_0x40fa2f(0x194)](_0x48b68a)||bsSetupHelper[_0x40fa2f(0x194)](_0xf5697b))return logger['error'](_0x470f5c[_0x40fa2f(0x124)]),[null,null];try{let _0x39d6b2;bsSetupHelper[_0x40fa2f(0x194)](process[_0x40fa2f(0x184)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x39d6b2={}:_0x39d6b2=JSON[_0x40fa2f(0x19a)](process[_0x40fa2f(0x184)][_0x40fa2f(0xf8)]);const {name:_0x52852e,version:_0x55925e}=bsSetupHelper[_0x40fa2f(0x14f)](_0x51c145,_0x13bcbf),_0x47f4fa={'projectName':_0x51c145[_0x40fa2f(0x1b5)],'buildName':_0x51c145[_0x40fa2f(0x1a0)]||path[_0x40fa2f(0x13d)](path[_0x40fa2f(0x19e)](process[_0x40fa2f(0x1ba)]())),'startTime':new Date()['toISOString'](),'description':_0x51c145[_0x40fa2f(0xfe)]||'','source':{'frameworkName':_0x13bcbf[_0x40fa2f(0x128)](_0x470f5c[_0x40fa2f(0x196)])?_0x470f5c[_0x40fa2f(0x196)]:_0x13bcbf,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x13bcbf),'sdkVersion':bsSetupHelper[_0x40fa2f(0x18e)](),'language':_0x470f5c[_0x40fa2f(0x153)],'testFramework':_0x52852e,'testFrameworkVersion':_0x55925e},'settings':_0x39d6b2,'versionControl':await bsSetupHelper[_0x40fa2f(0x17c)](),'ciInfo':bsSetupHelper[_0x40fa2f(0x105)](),'hostInfo':bsSetupHelper[_0x40fa2f(0x145)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x90759c={};_0x90759c[_0x40fa2f(0x170)]=_0x48b68a,_0x90759c['pass']=_0xf5697b;const _0x357a70={};_0x357a70['Content-Type']=_0x470f5c['XfsKW'];const _0x5314bf={};_0x5314bf['auth']=_0x90759c,_0x5314bf[_0x40fa2f(0x121)]=_0x357a70;const _0x205bae=_0x5314bf,_0x544676={};_0x544676[_0x40fa2f(0x18a)]=_0x47f4fa,_0x544676[_0x40fa2f(0x1c0)]=!![];const _0x42d05f=Object[_0x40fa2f(0x176)](_0x205bae,_0x544676),_0x1362a9=await bsSetupHelper[_0x40fa2f(0xf6)](_0x470f5c[_0x40fa2f(0x1a9)],_0x470f5c[_0x40fa2f(0x125)],_0x42d05f,_0x51c145,API_URL);let _0x2ef3d3=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x2ef3d3?_0x2ef3d3=JSON[_0x40fa2f(0x19a)](process[_0x40fa2f(0x184)][_0x40fa2f(0xf8)]):_0x2ef3d3={},scripts['parseFromJson'](_0x1362a9['data']['data']),scripts[_0x40fa2f(0x103)](),_0x2ef3d3[_0x40fa2f(0x18c)]=_0x1362a9[_0x40fa2f(0x156)][_0x40fa2f(0x156)][_0x40fa2f(0x18c)],process[_0x40fa2f(0x184)][_0x40fa2f(0xf8)]=JSON['stringify'](_0x2ef3d3),[_0x1362a9[_0x40fa2f(0x156)][_0x40fa2f(0x156)][_0x40fa2f(0x13f)],_0x1362a9[_0x40fa2f(0x156)][_0x40fa2f(0x156)]['id']];}catch(_0x54a1f5){if(_0x54a1f5[_0x40fa2f(0xe5)])logger['error'](_0x40fa2f(0x1a5)+_0x54a1f5['response']['status']+'\x20'+_0x54a1f5[_0x40fa2f(0xe5)][_0x40fa2f(0xe6)]+'\x20'+JSON[_0x40fa2f(0x15a)](_0x54a1f5[_0x40fa2f(0xe5)][_0x40fa2f(0x156)]));else{if(_0x470f5c[_0x40fa2f(0x190)](_0x54a1f5['message'],_0x470f5c[_0x40fa2f(0xec)])){logger[_0x40fa2f(0x1b2)](_0x40fa2f(0x1a5)+(_0x54a1f5[_0x40fa2f(0x136)]||_0x54a1f5[_0x40fa2f(0x17e)]));for(const _0x483655 of _0x54a1f5[_0x40fa2f(0x173)]){logger['error'](_0x483655[_0x40fa2f(0x136)]);}process[_0x40fa2f(0x184)][_0x40fa2f(0x1b8)]=_0x470f5c['PkeqW'],process[_0x40fa2f(0x184)][_0x40fa2f(0x1ac)]=_0x470f5c[_0x40fa2f(0x168)];}else logger[_0x40fa2f(0x1b2)](_0x40fa2f(0x1a5)+(_0x54a1f5['message']||_0x54a1f5['stack']));}return[null,null];}}),exports[a97_0x3a1c2c(0x10b)]=PerformanceTester[a97_0x3a1c2c(0xfb)]('a11y:stop',async function(_0x4debbf){const _0x4a6949=a97_0x3a1c2c,_0x1bd37b={};_0x1bd37b[_0x4a6949(0x18b)]=function(_0x2e95cc,_0xe379f2){return _0x2e95cc!==_0xe379f2;},_0x1bd37b[_0x4a6949(0x119)]=_0x4a6949(0x1a4),_0x1bd37b[_0x4a6949(0x109)]=_0x4a6949(0x1b2),_0x1bd37b[_0x4a6949(0x171)]='Build\x20creation\x20had\x20failed.',_0x1bd37b[_0x4a6949(0x185)]=_0x4a6949(0x18f),_0x1bd37b[_0x4a6949(0x11f)]=_0x4a6949(0x142),_0x1bd37b[_0x4a6949(0x1b9)]=_0x4a6949(0xe4),_0x1bd37b['PqKsR']=function(_0x3e4794,_0x5c2729){return _0x3e4794+_0x5c2729;},_0x1bd37b[_0x4a6949(0x18d)]=_0x4a6949(0x1a3),_0x1bd37b[_0x4a6949(0x189)]=_0x4a6949(0x107);const _0x265a33=_0x1bd37b;if(bsSetupHelper[_0x4a6949(0x194)](process[_0x4a6949(0x184)]['BS_A11Y_JWT'])||_0x265a33['BoJyK'](typeof process['env'][_0x4a6949(0x1b1)],_0x265a33['MpEKq'])){const _0x454392={};return _0x454392['status']=_0x265a33[_0x4a6949(0x109)],_0x454392['message']=_0x265a33['kdxaz'],_0x454392;}const _0x430b3b={'endTime':new Date()[_0x4a6949(0x110)]()},_0x3c9972={};_0x3c9972[_0x4a6949(0x17b)]=_0x4a6949(0x177)+process['env'][_0x4a6949(0x1b1)],_0x3c9972[_0x4a6949(0x15c)]=_0x265a33['pVCEJ'];const _0x426b50={};_0x426b50['headers']=_0x3c9972;const _0x2b7cfa=_0x426b50,_0x4b5cac={};_0x4b5cac[_0x4a6949(0x18a)]=_0x430b3b,_0x4b5cac['auth']=null,_0x4b5cac[_0x4a6949(0x1c0)]=!![];const _0x4e6b33=Object[_0x4a6949(0x176)](_0x2b7cfa,_0x4b5cac);try{const _0x1fbcf2=await bsSetupHelper[_0x4a6949(0xf6)](_0x265a33['gfKCF'],_0x265a33[_0x4a6949(0x1b9)],_0x4e6b33,_0x4debbf,API_URL);if(_0x1fbcf2[_0x4a6949(0x156)]['error'])throw new Error(_0x265a33[_0x4a6949(0x198)](_0x265a33[_0x4a6949(0x18d)],_0x1fbcf2[_0x4a6949(0x156)][_0x4a6949(0x1b2)]));else{logger[_0x4a6949(0x14a)](_0x4a6949(0xf7)+new Date()[_0x4a6949(0x110)]());const _0x5d168e={};return _0x5d168e[_0x4a6949(0x159)]=_0x265a33[_0x4a6949(0x189)],_0x5d168e['message']='',_0x5d168e;}}catch(_0x389c3d){_0x389c3d['response']?logger['error'](_0x4a6949(0x1a6)+_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0x159)]+'\x20'+_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0xe6)]+'\x20'+JSON[_0x4a6949(0x15a)](_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0x156)])):logger[_0x4a6949(0x1b2)](_0x4a6949(0x1a6)+(_0x389c3d['message']||util[_0x4a6949(0x195)](_0x389c3d)));const _0x37c0a3={};return _0x37c0a3['status']=_0x265a33[_0x4a6949(0x109)],_0x37c0a3['message']=_0x389c3d[_0x4a6949(0x136)]||(_0x389c3d[_0x4a6949(0xe5)]?_0x389c3d[_0x4a6949(0xe5)][_0x4a6949(0x159)]+':'+_0x389c3d[_0x4a6949(0xe5)]['statusText']:_0x389c3d),_0x37c0a3;}}),exports[a97_0x3a1c2c(0x1b3)]=async(_0x3f8c9d,_0x43036c=null)=>{const _0x37342f=a97_0x3a1c2c,_0x4de95f={};_0x4de95f['WpLRu']='isAccessibilityPlatform',_0x4de95f[_0x37342f(0x149)]=_0x37342f(0xe3),_0x4de95f[_0x37342f(0x14c)]=_0x37342f(0x174);const _0x5535e3=_0x4de95f;if(!this[_0x37342f(0x12b)]()||!globals['getGlobal'](_0x5535e3[_0x37342f(0x1bf)])||!globals[_0x37342f(0x115)](_0x5535e3[_0x37342f(0x149)])){logger['warn'](_0x5535e3[_0x37342f(0x14c)]);return;}return await PerformanceTester[_0x37342f(0xfb)](PerformanceA11yEvents[_0x37342f(0x19f)],async()=>{const _0x42d0b6=_0x37342f,_0x490789={};_0x490789[_0x42d0b6(0x169)]=_0x43036c||global[_0x42d0b6(0xe8)];const _0x56937c=util[_0x42d0b6(0x195)](await _0x3f8c9d[_0x42d0b6(0x16f)](scripts[_0x42d0b6(0x1b3)],_0x490789));return logger[_0x42d0b6(0x140)]('Performed\x20scan\x20with\x20result:\x20'+_0x56937c),_0x56937c;},{'command':_0x43036c})();},exports['getAccessibilityResults']=async(_0x77bf7b,_0xa24ce2)=>{const _0x51af57=a97_0x3a1c2c,_0x30e8b7={};_0x30e8b7[_0x51af57(0x161)]=_0x51af57(0x12d),_0x30e8b7[_0x51af57(0x13a)]=_0x51af57(0x11d),_0x30e8b7[_0x51af57(0xff)]='bstackA11yShouldScan',_0x30e8b7[_0x51af57(0x10a)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x30e8b7[_0x51af57(0x11b)]=_0x51af57(0x178),_0x30e8b7[_0x51af57(0x14e)]=_0x51af57(0x1be);const _0x5730f7=_0x30e8b7;if(!this[_0x51af57(0x12b)]()||!globals[_0x51af57(0x115)](_0x5730f7['jQPgv'])||!globals[_0x51af57(0x115)](_0x5730f7['EqBbU']))return logger[_0x51af57(0xf9)](_0x5730f7['gVzNu']),[];try{return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x51af57(0x19f)],async()=>{const _0x520e9c=_0x51af57;logger[_0x520e9c(0x140)](_0x5730f7[_0x520e9c(0x161)]);const _0x325a02={};_0x325a02['method']=_0xa24ce2[_0x520e9c(0xe8)],logger[_0x520e9c(0x140)](util[_0x520e9c(0x195)](await _0x77bf7b['executeAsyncScript'](scripts[_0x520e9c(0x1b3)],_0x325a02)));},{'command':_0x5730f7[_0x51af57(0x11b)]})(),await PerformanceTester[_0x51af57(0xfb)](PerformanceA11yEvents[_0x51af57(0x1b4)],async()=>{const _0x545546=_0x51af57,_0xae8229=await _0x77bf7b['executeAsyncScript'](scripts[_0x545546(0xf5)]);return _0xae8229;})();}catch{return logger[_0x51af57(0x1b2)](_0x5730f7[_0x51af57(0x14e)]),[];}},exports[a97_0x3a1c2c(0x15d)]=async(_0x30f449,_0x307d81)=>{const _0x1f9541=a97_0x3a1c2c,_0x2d10d1={};_0x2d10d1[_0x1f9541(0x16e)]=_0x1f9541(0xf2),_0x2d10d1[_0x1f9541(0xee)]='isAccessibilityPlatform',_0x2d10d1[_0x1f9541(0x14b)]='bstackA11yShouldScan',_0x2d10d1[_0x1f9541(0x150)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x2d10d1['diJsu']='getAccessibilityResultsSummary',_0x2d10d1[_0x1f9541(0x193)]=_0x1f9541(0x191);const _0x312ff0=_0x2d10d1;if(!this[_0x1f9541(0x12b)]()||!globals['getGlobal'](_0x312ff0[_0x1f9541(0xee)])||!globals['getGlobal'](_0x312ff0['FScRK']))return logger['warn'](_0x312ff0['NklVD']),{};try{return await PerformanceTester[_0x1f9541(0xfb)](PerformanceA11yEvents[_0x1f9541(0x19f)],async()=>{const _0x25b8b3=_0x1f9541;logger[_0x25b8b3(0x140)](_0x312ff0[_0x25b8b3(0x16e)]);const _0x21c851={};_0x21c851[_0x25b8b3(0x169)]=_0x307d81[_0x25b8b3(0xe8)],logger[_0x25b8b3(0x140)](util[_0x25b8b3(0x195)](await _0x30f449[_0x25b8b3(0x16f)](scripts['performScan'],_0x21c851)));},{'command':_0x312ff0[_0x1f9541(0x188)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1f9541(0x100)],async()=>{const _0x4d5a4d=_0x1f9541,_0x2baa54=await _0x30f449[_0x4d5a4d(0x16f)](scripts[_0x4d5a4d(0xfc)]);return _0x2baa54;})();}catch{return logger[_0x1f9541(0x1b2)](_0x312ff0['IIiXp']),{};}},exports[a97_0x3a1c2c(0x19c)]=_0xee89e9=>{const _0x48659f=a97_0x3a1c2c,_0x71d696={};_0x71d696[_0x48659f(0x11c)]=function(_0x153808,_0x5d4ac9){return _0x153808===_0x5d4ac9;},_0x71d696['AZqaX']=_0x48659f(0x1a4),_0x71d696[_0x48659f(0x132)]=_0x48659f(0x162);const _0x564931=_0x71d696;if(_0xee89e9&&_0xee89e9[_0x48659f(0x12a)]&&_0x564931[_0x48659f(0x11c)](typeof _0xee89e9[_0x48659f(0x12a)],_0x564931[_0x48659f(0x1bd)]))return _0xee89e9[_0x48659f(0x12a)][_0x48659f(0x128)](_0x564931['pGyPd']);return![];};
@@ -1 +1 @@
1
- const a98_0x1d2475=a98_0x4685;(function(_0x4b8d93,_0x2a6c83){const _0xd40637=a98_0x4685,_0x3d1e48=_0x4b8d93();while(!![]){try{const _0x5c5fe5=-parseInt(_0xd40637(0x1e3))/0x1*(-parseInt(_0xd40637(0x20f))/0x2)+parseInt(_0xd40637(0x201))/0x3+-parseInt(_0xd40637(0x1d5))/0x4*(-parseInt(_0xd40637(0x20d))/0x5)+parseInt(_0xd40637(0x1f2))/0x6+parseInt(_0xd40637(0x1dd))/0x7*(-parseInt(_0xd40637(0x1f8))/0x8)+-parseInt(_0xd40637(0x1de))/0x9+-parseInt(_0xd40637(0x1d4))/0xa;if(_0x5c5fe5===_0x2a6c83)break;else _0x3d1e48['push'](_0x3d1e48['shift']());}catch(_0x3421c4){_0x3d1e48['push'](_0x3d1e48['shift']());}}}(a98_0x1682,0x3c665));const path=require(a98_0x1d2475(0x1fb)),fs=require('fs'),logger=require(a98_0x1d2475(0x200))[a98_0x1d2475(0x1da)],helper=require(a98_0x1d2475(0x1df));function a98_0x1682(){const _0x29ea5b=['XYjkQ','map','stringify','208jcEORO','split','fvXWO','path','commandsToWrap','ibPld','getLibrary','scan','../../helpers/logger','635457LQszQY','commands.json','performScan','browserstackFolderPath','mkdirSync','jPeti','NzvQp','getName','xIZGP','OFYaa','nonBStackInfraA11yChromeOptions','saveTestResults','138755XwZCuC','name','2jXaFpI','join','4478560JWbHTW','64SCSVHH','NCBUP','toJson','exports','sklCT','winstonLogger','shouldWrapCommand','scripts','4067UEZUEq','2774655aJwoxY','../helper','existsSync','parseFromProto','toLowerCase','291157SaVETy','getModule','saveResults','getCommand','findIndex','commands','DyHIR','getResultsSummary','fromJson','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','getResults','getClass','debug','commandsPath','getMethod','429972XdxvHU','TloIb','hoyRe'];a98_0x1682=function(){return _0x29ea5b;};return a98_0x1682();}function a98_0x4685(_0x336951,_0x3f5fbf){const _0x1682e2=a98_0x1682();return a98_0x4685=function(_0x46858d,_0x3bbc69){_0x46858d=_0x46858d-0x1d3;let _0x50c8b8=_0x1682e2[_0x46858d];return _0x50c8b8;},a98_0x4685(_0x336951,_0x3f5fbf);}class Scripts{constructor(){const _0x40071a=a98_0x1d2475,_0x32ccef={};_0x32ccef[_0x40071a(0x1e9)]='5|0|6|4|2|1|3',_0x32ccef['dJFGl']=_0x40071a(0x202),_0x32ccef[_0x40071a(0x1d9)]='.browserstack';const _0x59e117=_0x32ccef,_0x383d30=_0x59e117[_0x40071a(0x1e9)][_0x40071a(0x1f9)]('|');let _0x22d179=0x0;while(!![]){switch(_0x383d30[_0x22d179++]){case'0':this['getResults']=null;continue;case'1':this[_0x40071a(0x1f0)]=path['join'](this['browserstackFolderPath'],_0x59e117['dJFGl']);continue;case'2':this['browserstackFolderPath']=path[_0x40071a(0x1d3)](helper['homedir'](),_0x59e117[_0x40071a(0x1d9)]);continue;case'3':this[_0x40071a(0x1eb)]();continue;case'4':this[_0x40071a(0x20c)]=null;continue;case'5':this[_0x40071a(0x203)]=null;continue;case'6':this[_0x40071a(0x1ea)]=null;continue;}break;}}['parseFromJson'](_0x21c2a4){const _0x63505a=a98_0x1d2475;_0x21c2a4['scripts']&&(this[_0x63505a(0x203)]=_0x21c2a4[_0x63505a(0x1dc)][_0x63505a(0x1ff)],this[_0x63505a(0x1ed)]=_0x21c2a4[_0x63505a(0x1dc)][_0x63505a(0x1ed)],this[_0x63505a(0x1ea)]=_0x21c2a4[_0x63505a(0x1dc)][_0x63505a(0x1ea)],this[_0x63505a(0x20c)]=_0x21c2a4['scripts'][_0x63505a(0x1e5)]),this[_0x63505a(0x1fc)]=_0x21c2a4[_0x63505a(0x1e8)],this['ChromeExtension']=_0x21c2a4[_0x63505a(0x20b)];}[a98_0x1d2475(0x1e1)](_0x11a6e7,_0x35ff0f){const _0x35a00a=a98_0x1d2475,_0xa9374c={};_0xa9374c['NzvQp']=function(_0x2f362f,_0x5549a4){return _0x2f362f>_0x5549a4;},_0xa9374c[_0x35a00a(0x1f4)]=function(_0x4f2f68,_0x1ab017){return _0x4f2f68===_0x1ab017;},_0xa9374c[_0x35a00a(0x209)]=_0x35a00a(0x1ff),_0xa9374c[_0x35a00a(0x1f5)]=function(_0xb4b37,_0x3dbb0a){return _0xb4b37===_0x3dbb0a;},_0xa9374c[_0x35a00a(0x1fa)]='getResults',_0xa9374c['ibPld']=function(_0xb4057d,_0xfb5ccb){return _0xb4057d===_0xfb5ccb;},_0xa9374c[_0x35a00a(0x20a)]=_0x35a00a(0x1ea),_0xa9374c[_0x35a00a(0x206)]=function(_0x5e0abe,_0xe700c2){return _0x5e0abe===_0xe700c2;},_0xa9374c[_0x35a00a(0x1f3)]=_0x35a00a(0x1e5);const _0x3996d9=_0xa9374c;if(_0x11a6e7&&_0x3996d9['NzvQp'](_0x11a6e7['length'],0x0))for(const _0x445a8d of _0x11a6e7){if(_0x3996d9[_0x35a00a(0x1f4)](_0x445a8d[_0x35a00a(0x208)](),_0x3996d9[_0x35a00a(0x209)]))this['performScan']=_0x445a8d[_0x35a00a(0x1e6)]();else{if(_0x3996d9['XYjkQ'](_0x445a8d[_0x35a00a(0x208)](),_0x3996d9[_0x35a00a(0x1fa)]))this[_0x35a00a(0x1ed)]=_0x445a8d[_0x35a00a(0x1e6)]();else{if(_0x3996d9[_0x35a00a(0x1fd)](_0x445a8d[_0x35a00a(0x208)](),_0x3996d9[_0x35a00a(0x20a)]))this[_0x35a00a(0x1ea)]=_0x445a8d[_0x35a00a(0x1e6)]();else _0x3996d9[_0x35a00a(0x206)](_0x445a8d[_0x35a00a(0x208)](),_0x3996d9[_0x35a00a(0x1f3)])&&(this[_0x35a00a(0x20c)]=_0x445a8d[_0x35a00a(0x1e6)]());}}}_0x35ff0f&&_0x3996d9[_0x35a00a(0x207)](_0x35ff0f['length'],0x0)&&(this[_0x35a00a(0x1fc)]=_0x35ff0f[_0x35a00a(0x1f6)](_0x4ec834=>{const _0x2c1deb=_0x35a00a;return{'name':_0x4ec834[_0x2c1deb(0x208)](),'method':_0x4ec834[_0x2c1deb(0x1f1)](),'library':_0x4ec834[_0x2c1deb(0x1fe)](),'module':_0x4ec834[_0x2c1deb(0x1e4)](),'class':_0x4ec834[_0x2c1deb(0x1ee)]()};}));}[a98_0x1d2475(0x1db)](_0x21552c){const _0x24c1d3=a98_0x1d2475,_0x303432={};_0x303432['RqeAJ']=function(_0x227849,_0x2cc41f){return _0x227849!==_0x2cc41f;};const _0xf147b1=_0x303432;try{return _0xf147b1['RqeAJ'](this['commandsToWrap'][_0x24c1d3(0x1e7)](_0x5cef22=>_0x5cef22[_0x24c1d3(0x20e)][_0x24c1d3(0x1e2)]()===_0x21552c[_0x24c1d3(0x1e2)]()),-0x1);}catch(_0x249964){logger[_0x24c1d3(0x1ef)](_0x24c1d3(0x1ec)+_0x249964);}return![];}[a98_0x1d2475(0x1d7)](){const _0x2a6533=a98_0x1d2475;!fs[_0x2a6533(0x1e0)](this[_0x2a6533(0x204)])&&fs[_0x2a6533(0x205)](this['browserstackFolderPath']),fs['writeFileSync'](this[_0x2a6533(0x1f0)],JSON[_0x2a6533(0x1f7)]({'scripts':{'scan':this[_0x2a6533(0x203)],'getResults':this[_0x2a6533(0x1ed)],'getResultsSummary':this[_0x2a6533(0x1ea)],'saveResults':this['saveTestResults']},'commands':this[_0x2a6533(0x1fc)],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}[a98_0x1d2475(0x1eb)](){const _0x412cb9=a98_0x1d2475,_0x1389c2={'NCBUP':function(_0x13132d,_0x23864f){return _0x13132d(_0x23864f);}};fs[_0x412cb9(0x1e0)](this[_0x412cb9(0x1f0)])&&this['parseFromJson'](_0x1389c2[_0x412cb9(0x1d6)](require,this[_0x412cb9(0x1f0)]));}}module[a98_0x1d2475(0x1d8)]=new Scripts();
1
+ const a98_0x8e9481=a98_0x1f68;(function(_0xa8e7a2,_0x59d394){const _0x1faf66=a98_0x1f68,_0xb6294=_0xa8e7a2();while(!![]){try{const _0x54ca3c=-parseInt(_0x1faf66(0x13b))/0x1*(parseInt(_0x1faf66(0x160))/0x2)+parseInt(_0x1faf66(0x153))/0x3*(-parseInt(_0x1faf66(0x163))/0x4)+-parseInt(_0x1faf66(0x15b))/0x5*(parseInt(_0x1faf66(0x15e))/0x6)+parseInt(_0x1faf66(0x15d))/0x7+parseInt(_0x1faf66(0x151))/0x8*(-parseInt(_0x1faf66(0x168))/0x9)+-parseInt(_0x1faf66(0x142))/0xa+parseInt(_0x1faf66(0x16f))/0xb*(parseInt(_0x1faf66(0x13c))/0xc);if(_0x54ca3c===_0x59d394)break;else _0xb6294['push'](_0xb6294['shift']());}catch(_0x71779){_0xb6294['push'](_0xb6294['shift']());}}}(a98_0x3d74,0xf166b));function a98_0x3d74(){const _0x76241e=['length','getMethod','JABUc','RRCve','BijKE','5nGynlX','stringify','1506785mXqWFM','2025798vguolh','commandsToWrap','2XQkQhJ','homedir','getName','16dKSbfz','fromJson','saveResults','GPUwN','shouldWrapCommand','1679211sbHztf','.browserstack','map','getResults','path','browserstackFolderPath','split','168938DqXfRf','commands','winstonLogger','aMVFp','kqWqd','saveTestResults','OsIks','scan','ESnQH','1109449iYBJLE','4080vThsDN','OXHdg','5|3|1|4|0|6|2','commands.json','toJson','getResultsSummary','10751360vdCFYT','exports','../../helpers/logger','getClass','../helper','parseFromJson','findIndex','yTCeG','OLVWI','WcdKA','ChromeExtension','PxRbh','performScan','getLibrary','getCommand','48muZyVu','commandsPath','604878wggqyC','scripts','mkdirSync'];a98_0x3d74=function(){return _0x76241e;};return a98_0x3d74();}function a98_0x1f68(_0x285aad,_0x81b11a){const _0x3d742d=a98_0x3d74();return a98_0x1f68=function(_0x1f688e,_0x3446a6){_0x1f688e=_0x1f688e-0x134;let _0x4a9af4=_0x3d742d[_0x1f688e];return _0x4a9af4;},a98_0x1f68(_0x285aad,_0x81b11a);}const path=require(a98_0x8e9481(0x16c)),fs=require('fs'),logger=require(a98_0x8e9481(0x144))[a98_0x8e9481(0x134)],helper=require(a98_0x8e9481(0x146));class Scripts{constructor(){const _0x140217=a98_0x8e9481,_0x5c587f={};_0x5c587f[_0x140217(0x13a)]=_0x140217(0x13e),_0x5c587f[_0x140217(0x14d)]=_0x140217(0x169),_0x5c587f['yTCeG']=_0x140217(0x13f);const _0x14cd66=_0x5c587f,_0x139004=_0x14cd66[_0x140217(0x13a)][_0x140217(0x16e)]('|');let _0x3600be=0x0;while(!![]){switch(_0x139004[_0x3600be++]){case'0':this[_0x140217(0x16d)]=path['join'](helper[_0x140217(0x161)](),_0x14cd66[_0x140217(0x14d)]);continue;case'1':this['getResultsSummary']=null;continue;case'2':this[_0x140217(0x164)]();continue;case'3':this[_0x140217(0x16b)]=null;continue;case'4':this[_0x140217(0x137)]=null;continue;case'5':this['performScan']=null;continue;case'6':this[_0x140217(0x152)]=path['join'](this[_0x140217(0x16d)],_0x14cd66[_0x140217(0x149)]);continue;}break;}}[a98_0x8e9481(0x147)](_0x2536ff){const _0x53db8b=a98_0x8e9481;_0x2536ff[_0x53db8b(0x154)]&&(this[_0x53db8b(0x14e)]=_0x2536ff['scripts'][_0x53db8b(0x139)],this['getResults']=_0x2536ff[_0x53db8b(0x154)][_0x53db8b(0x16b)],this[_0x53db8b(0x141)]=_0x2536ff['scripts'][_0x53db8b(0x141)],this[_0x53db8b(0x137)]=_0x2536ff[_0x53db8b(0x154)][_0x53db8b(0x165)]),this['commandsToWrap']=_0x2536ff[_0x53db8b(0x170)],this[_0x53db8b(0x14c)]=_0x2536ff['nonBStackInfraA11yChromeOptions'];}['parseFromProto'](_0x1edbe6,_0x239932){const _0x1742ae=a98_0x8e9481,_0x421769={};_0x421769[_0x1742ae(0x14b)]=function(_0x36d83b,_0x493dfb){return _0x36d83b>_0x493dfb;},_0x421769[_0x1742ae(0x159)]=function(_0x5d5788,_0x22b126){return _0x5d5788===_0x22b126;},_0x421769['OsIks']=_0x1742ae(0x139),_0x421769[_0x1742ae(0x166)]=function(_0x1c84f7,_0x341661){return _0x1c84f7===_0x341661;},_0x421769['kqWqd']='getResults',_0x421769[_0x1742ae(0x158)]=function(_0x311f9c,_0x18bb4e){return _0x311f9c===_0x18bb4e;},_0x421769[_0x1742ae(0x135)]=_0x1742ae(0x141),_0x421769[_0x1742ae(0x14a)]=_0x1742ae(0x165);const _0x3221af=_0x421769;if(_0x1edbe6&&_0x3221af[_0x1742ae(0x14b)](_0x1edbe6[_0x1742ae(0x156)],0x0))for(const _0x20fcb3 of _0x1edbe6){if(_0x3221af['RRCve'](_0x20fcb3[_0x1742ae(0x162)](),_0x3221af[_0x1742ae(0x138)]))this[_0x1742ae(0x14e)]=_0x20fcb3[_0x1742ae(0x150)]();else{if(_0x3221af['GPUwN'](_0x20fcb3[_0x1742ae(0x162)](),_0x3221af[_0x1742ae(0x136)]))this['getResults']=_0x20fcb3['getCommand']();else{if(_0x3221af[_0x1742ae(0x158)](_0x20fcb3['getName'](),_0x3221af[_0x1742ae(0x135)]))this['getResultsSummary']=_0x20fcb3[_0x1742ae(0x150)]();else _0x3221af['GPUwN'](_0x20fcb3[_0x1742ae(0x162)](),_0x3221af[_0x1742ae(0x14a)])&&(this[_0x1742ae(0x137)]=_0x20fcb3['getCommand']());}}}_0x239932&&_0x3221af[_0x1742ae(0x14b)](_0x239932[_0x1742ae(0x156)],0x0)&&(this[_0x1742ae(0x15f)]=_0x239932[_0x1742ae(0x16a)](_0x1fb0d9=>{const _0x1fa336=_0x1742ae;return{'name':_0x1fb0d9[_0x1fa336(0x162)](),'method':_0x1fb0d9[_0x1fa336(0x157)](),'library':_0x1fb0d9[_0x1fa336(0x14f)](),'module':_0x1fb0d9['getModule'](),'class':_0x1fb0d9[_0x1fa336(0x145)]()};}));}[a98_0x8e9481(0x167)](_0xbae48){const _0x273ad9=a98_0x8e9481,_0x146385={};_0x146385[_0x273ad9(0x13d)]=function(_0x2dbd2a,_0x23acaa){return _0x2dbd2a!==_0x23acaa;};const _0x427db6=_0x146385;try{return _0x427db6[_0x273ad9(0x13d)](this[_0x273ad9(0x15f)][_0x273ad9(0x148)](_0x5eead7=>_0x5eead7['name']['toLowerCase']()===_0xbae48['toLowerCase']()),-0x1);}catch(_0x3097c1){logger['debug']('Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20'+_0x3097c1);}return![];}[a98_0x8e9481(0x140)](){const _0x40fa26=a98_0x8e9481;!fs['existsSync'](this[_0x40fa26(0x16d)])&&fs[_0x40fa26(0x155)](this['browserstackFolderPath']),fs['writeFileSync'](this[_0x40fa26(0x152)],JSON[_0x40fa26(0x15c)]({'scripts':{'scan':this[_0x40fa26(0x14e)],'getResults':this[_0x40fa26(0x16b)],'getResultsSummary':this['getResultsSummary'],'saveResults':this[_0x40fa26(0x137)]},'commands':this[_0x40fa26(0x15f)],'nonBStackInfraA11yChromeOptions':this['ChromeExtension']}));}[a98_0x8e9481(0x164)](){const _0x1c1fe5=a98_0x8e9481,_0x209177={'BijKE':function(_0x37703a,_0x37cabb){return _0x37703a(_0x37cabb);}};fs['existsSync'](this[_0x1c1fe5(0x152)])&&this[_0x1c1fe5(0x147)](_0x209177[_0x1c1fe5(0x15a)](require,this[_0x1c1fe5(0x152)]));}}module[a98_0x8e9481(0x143)]=new Scripts();
@@ -1 +1 @@
1
- function a99_0x1833(_0x361c81,_0x10e390){const _0x3545ef=a99_0x3545();return a99_0x1833=function(_0x18336f,_0xbdf357){_0x18336f=_0x18336f-0x8d;let _0x5a49b0=_0x3545ef[_0x18336f];return _0x5a49b0;},a99_0x1833(_0x361c81,_0x10e390);}const a99_0x53bad9=a99_0x1833;(function(_0x1457aa,_0x2db566){const _0x5017ea=a99_0x1833,_0x58945b=_0x1457aa();while(!![]){try{const _0x5e1696=parseInt(_0x5017ea(0xdd))/0x1*(parseInt(_0x5017ea(0xb5))/0x2)+-parseInt(_0x5017ea(0xf9))/0x3+-parseInt(_0x5017ea(0xca))/0x4+-parseInt(_0x5017ea(0xf6))/0x5*(parseInt(_0x5017ea(0xdf))/0x6)+-parseInt(_0x5017ea(0xcf))/0x7*(-parseInt(_0x5017ea(0xd2))/0x8)+parseInt(_0x5017ea(0x95))/0x9+parseInt(_0x5017ea(0xa2))/0xa;if(_0x5e1696===_0x2db566)break;else _0x58945b['push'](_0x58945b['shift']());}catch(_0x18ad4e){_0x58945b['push'](_0x58945b['shift']());}}}(a99_0x3545,0x769c2));const path=require(a99_0x53bad9(0xf8)),{commandRepository}=require(a99_0x53bad9(0xf7)),constants=require(a99_0x53bad9(0xc0)),logger=require(a99_0x53bad9(0x9e))[a99_0x53bad9(0xe6)],globals=require(a99_0x53bad9(0x94)),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x54cd7c=>_0x54cd7c===undefined||_0x54cd7c===null||_0x54cd7c==='',isNotUndefinedOrNull=_0x43dc4b=>!isUndefinedOrNull(_0x43dc4b),isString=_0x5b9049=>isNotUndefinedOrNull(_0x5b9049)&&typeof _0x5b9049===a99_0x53bad9(0xc5);class AiSdkWrapper{constructor(){const _0x455d8f=a99_0x53bad9,_0x4d4eb0={'ShKsS':function(_0x4c0d04,_0x7a3dd6){return _0x4c0d04(_0x7a3dd6);},'UvFaD':_0x455d8f(0xe2)};this[_0x455d8f(0xcb)]=undefined;try{this[_0x455d8f(0xcb)]=_0x4d4eb0[_0x455d8f(0xbc)](require,path[_0x455d8f(0xb7)](__dirname,_0x4d4eb0[_0x455d8f(0x92)]));}catch(_0x1f20f3){logger[_0x455d8f(0xb4)](_0x455d8f(0x93)+(_0x1f20f3&&_0x1f20f3[_0x455d8f(0xaf)]?_0x1f20f3[_0x455d8f(0xaf)]:''));}}[a99_0x53bad9(0xa7)](_0x2f9005){const _0x524f02=a99_0x53bad9,_0xacda82={};_0xacda82['IcNRs']=_0x524f02(0xc6),_0xacda82['ggGoo']=function(_0x4c8ab1,_0x17ddb9){return _0x4c8ab1===_0x17ddb9;},_0xacda82['ygHCC']=_0x524f02(0xe7),_0xacda82[_0x524f02(0xae)]=function(_0x390a4f,_0x4f65f3){return _0x390a4f===_0x4f65f3;},_0xacda82[_0x524f02(0xb8)]=_0x524f02(0x9a),_0xacda82[_0x524f02(0xc7)]=_0x524f02(0xeb),_0xacda82[_0x524f02(0xfd)]=_0x524f02(0x108),_0xacda82['npAnd']=function(_0x37d457,_0x5cc9f5){return _0x37d457===_0x5cc9f5;},_0xacda82[_0x524f02(0xe8)]=_0x524f02(0xa5);const _0x2a8c52=_0xacda82;try{const _0xbba645=this[_0x524f02(0xcb)][_0x524f02(0xaa)](Object[_0x524f02(0xc3)](_0x2f9005[_0x524f02(0xdc)]()['map_']));console['log'](_0x2a8c52[_0x524f02(0xe3)],_0xbba645);if(_0x2a8c52[_0x524f02(0x100)](_0xbba645?.[_0x524f02(0xbf)]?.[_0x524f02(0x107)](),_0x2a8c52[_0x524f02(0xfc)]))_0x2f9005[_0x524f02(0xa1)]=_0xbba645;else{if(_0x2a8c52[_0x524f02(0xae)](_0xbba645?.[_0x524f02(0xbf)]?.[_0x524f02(0x107)](),_0x2a8c52[_0x524f02(0xb8)]))_0x2f9005[_0x524f02(0x8e)]=_0xbba645;else{if(_0x2a8c52['ggGoo'](_0xbba645?.['browserName']?.[_0x524f02(0x107)](),_0x2a8c52[_0x524f02(0xc7)]))_0x2f9005['safariOptions_']=_0xbba645;else{if(_0x2a8c52['ggGoo'](_0xbba645?.[_0x524f02(0xbf)]?.[_0x524f02(0x107)](),_0x2a8c52[_0x524f02(0xfd)])||_0x2a8c52['npAnd'](_0xbba645?.[_0x524f02(0xbf)]?.[_0x524f02(0x107)](),_0x2a8c52[_0x524f02(0xe8)]))_0x2f9005['edgeOptions_']=_0xbba645;else _0x2a8c52[_0x524f02(0x105)](_0xbba645?.[_0x524f02(0xbf)]?.['toLowerCase'](),'ie')&&(_0x2f9005[_0x524f02(0x99)]=_0xbba645);}}}Object[_0x524f02(0x102)](_0xbba645)[_0x524f02(0xde)](_0x348ac0=>{const _0x1d44aa=_0x524f02,_0x3bf001=_0x2f9005[_0x1d44aa(0xbe)][_0x1d44aa(0xff)](_0x348ac0);_0x2f9005[_0x1d44aa(0xbe)]['set'](_0x348ac0,_0xbba645[_0x348ac0]);});}catch(_0x4bea6f){logger[_0x524f02(0xb4)](_0x524f02(0xd9)+(_0x4bea6f&&_0x4bea6f[_0x524f02(0xaf)]?_0x4bea6f[_0x524f02(0xaf)]:''));}}async[a99_0x53bad9(0xba)](_0x38aa1d){const _0xe03158=a99_0x53bad9,_0x5c9973={'TLRvY':function(_0x3ec073,_0x3c1330,_0x3edc5e,_0x2cf53f,_0xfe495a,_0x5c51ed,_0x11a314){return _0x3ec073(_0x3c1330,_0x3edc5e,_0x2cf53f,_0xfe495a,_0x5c51ed,_0x11a314);},'ljnDh':_0xe03158(0xe5),'CNdup':_0xe03158(0xe1),'BkcYH':'aiHeal_sessionToken'},_0x33e355=new Date(),_0x2f78e6=_0x5c9973[_0xe03158(0xea)](timeoutPromise,constants[_0xe03158(0xc9)],_0x5c9973[_0xe03158(0x109)],_0x5c9973[_0xe03158(0x91)],_0x33e355,this[_0xe03158(0xda)],this[_0xe03158(0xf3)]);await Promise[_0xe03158(0x9b)]([this[_0xe03158(0xcb)]['setToken'](_0x38aa1d,globals[_0xe03158(0xfb)](_0x5c9973[_0xe03158(0xac)]),constants['TCG_URL'])['then'](()=>{const _0x20fdd4=_0xe03158;_0x2f78e6[_0x20fdd4(0xfe)]();}),_0x2f78e6]);}async[a99_0x53bad9(0xd3)](_0x427500,_0x57b9ad,_0x37b081,_0x449764){const _0x99d1c5=a99_0x53bad9,_0x3eedeb={'RCtdN':function(_0x28816c,_0x58b645){return _0x28816c===_0x58b645;},'HJfjU':function(_0x45fb22,_0x41b9ee){return _0x45fb22===_0x41b9ee;},'QjcZc':function(_0x3fea7d,_0x49d421){return _0x3fea7d(_0x49d421);},'yVAXH':function(_0x55f51f,_0x196dae){return _0x55f51f(_0x196dae);},'aCHDR':function(_0x5c1b45,_0x53b604){return _0x5c1b45(_0x53b604);},'YMoyu':function(_0x3a733f,_0x3039f3){return _0x3a733f(_0x3039f3);},'KPuaz':_0x99d1c5(0xad),'zdOOi':_0x99d1c5(0xed),'nsBIP':_0x99d1c5(0xcd),'xHklT':_0x99d1c5(0xbd),'REWCL':function(_0x4099a6,_0x527d05,_0x3f1978,_0x2eaa8f,_0xf121c2,_0x2af5d9,_0x312b2f){return _0x4099a6(_0x527d05,_0x3f1978,_0x2eaa8f,_0xf121c2,_0x2af5d9,_0x312b2f);},'GHDYN':_0x99d1c5(0xef),'Dkxsq':_0x99d1c5(0xa4),'somIX':_0x99d1c5(0xcc),'pAOuf':_0x99d1c5(0xd6)},_0x1c8871=(await _0x57b9ad['getSession']())['getId']();let _0x44fff5='';if(commandRepository['isSelfHealEnabled']()&&_0x3eedeb[_0x99d1c5(0x90)](_0x449764,![])||_0x3eedeb['HJfjU'](_0x449764,!![])){const _0xb0bef3=_0x3eedeb[_0x99d1c5(0xb6)](isNotUndefinedOrNull,_0x37b081[_0x99d1c5(0xbb)]['using'])&&_0x3eedeb[_0x99d1c5(0xb6)](isString,_0x37b081['parameters_'][_0x99d1c5(0xf1)])?_0x37b081[_0x99d1c5(0xbb)]['using'][_0x99d1c5(0xe4)](/'/g,'\x5c\x27')[_0x99d1c5(0xe4)](/"/g,'\x5c\x22'):'',_0x4b55ff=_0x3eedeb[_0x99d1c5(0xb6)](isNotUndefinedOrNull,_0x37b081[_0x99d1c5(0xbb)]['using'])&&_0x3eedeb[_0x99d1c5(0xb6)](isString,_0x37b081['parameters_'][_0x99d1c5(0xd8)])?_0x37b081[_0x99d1c5(0xbb)][_0x99d1c5(0xd8)][_0x99d1c5(0xe4)](/'/g,'\x5c\x27')[_0x99d1c5(0xe4)](/"/g,'\x5c\x22'):'',_0x501567=_0x3eedeb[_0x99d1c5(0xc4)](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0x3eedeb['aCHDR'](isString,commandRepository['getProjectName']())?commandRepository['getProjectName']()[_0x99d1c5(0xe4)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';let _0xe53c0e=_0x3eedeb[_0x99d1c5(0x8d)](isNotUndefinedOrNull,global[_0x99d1c5(0xc8)])&&_0x3eedeb[_0x99d1c5(0xb6)](isString,global['browserstackSessionName'])?global[_0x99d1c5(0xc8)][_0x99d1c5(0xe4)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0xe53c0e&&(_0xe53c0e=_0x3eedeb['QjcZc'](isNotUndefinedOrNull,commandRepository[_0x99d1c5(0xa6)]())&&_0x3eedeb[_0x99d1c5(0x10a)](isString,commandRepository['getTestName']())?commandRepository[_0x99d1c5(0xa6)]()[_0x99d1c5(0xe4)](/'/g,'\x5c\x27')[_0x99d1c5(0xe4)](/"/g,'\x5c\x22'):'');let _0x49113c=_0x99d1c5(0xd4)+constants[_0x99d1c5(0xb2)]+_0x99d1c5(0xd7)+constants['TCG_REGION']+_0x99d1c5(0xd0)+constants[_0x99d1c5(0xf2)][_0x99d1c5(0xb1)](_0x3eedeb['KPuaz'])[0x1]+_0x99d1c5(0x101);_0x49113c=_0x3eedeb['YMoyu'](isNotUndefinedOrNull,_0x49113c)&&_0x3eedeb[_0x99d1c5(0xb6)](isString,_0x49113c)?_0x49113c[_0x99d1c5(0xe4)](/'/g,'\x5c\x27')[_0x99d1c5(0xe4)](/"/g,'\x5c\x22'):'';const _0x24c195=commandRepository['getCommands'](_0x1c8871),_0x5012e8=globals['getGlobal'](_0x3eedeb[_0x99d1c5(0xd5)]),_0x1b89be=globals[_0x99d1c5(0xfb)](_0x3eedeb['nsBIP']),_0x3b570b=globals[_0x99d1c5(0xfb)](_0x3eedeb['xHklT']),_0x24d48d=![],_0x29ca37=new Date();if(_0x449764){const _0x39ae39=_0x3eedeb[_0x99d1c5(0xce)](timeoutPromise,constants[_0x99d1c5(0xf4)],_0x3eedeb[_0x99d1c5(0xc1)],_0x3eedeb[_0x99d1c5(0x97)],_0x29ca37,this[_0x99d1c5(0xda)],this[_0x99d1c5(0xf3)]);_0x44fff5=await Promise[_0x99d1c5(0x9b)]([this[_0x99d1c5(0xcb)][_0x99d1c5(0xb9)](_0xb0bef3,_0x4b55ff,_0x501567,_0xe53c0e,_0x1b89be,_0x1c8871,_0x24c195,_0x49113c)[_0x99d1c5(0x96)](_0x3d2cb4=>{return _0x39ae39['cancel'](),_0x3d2cb4;}),_0x39ae39]);}else{if(commandRepository[_0x99d1c5(0xa8)]()){const _0x42a56f=_0x3eedeb[_0x99d1c5(0xce)](timeoutPromise,constants[_0x99d1c5(0xdb)],_0x3eedeb[_0x99d1c5(0xee)],_0x3eedeb['pAOuf'],_0x29ca37,this[_0x99d1c5(0xda)],this['framework']);_0x44fff5=await Promise['race']([this['BrowserstackHealing'][_0x99d1c5(0xec)](_0xb0bef3,_0x4b55ff,_0x501567,_0xe53c0e,_0x5012e8,_0x1b89be,_0x1c8871,_0x24c195,_0x24d48d,_0x3b570b,_0x49113c)[_0x99d1c5(0x96)](_0x904136=>{const _0x21064e=_0x99d1c5;return _0x42a56f[_0x21064e(0xfe)](),_0x904136;}),_0x42a56f]);}}_0x44fff5&&await _0x57b9ad[_0x99d1c5(0xb3)](_0x44fff5);}}async[a99_0x53bad9(0xe0)](_0x4a8eda,_0x4de5c4,_0xf185ac){const _0x2d2ae9=a99_0x53bad9;try{await this[_0x2d2ae9(0xd3)](_0x4a8eda,_0x4de5c4,_0xf185ac,!![]);}catch(_0x189f6c){return logger[_0x2d2ae9(0xb4)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x189f6c&&_0x189f6c[_0x2d2ae9(0xaf)]?_0x189f6c[_0x2d2ae9(0xaf)]:'')),![];}return!![];}async[a99_0x53bad9(0xa0)](_0x5c41ff,_0x224f18,_0x4ee3ee){const _0x16086e=a99_0x53bad9,_0x5a9869={'ztnFv':function(_0xb6a33f,_0x556036,_0x3db0f7,_0x538e82,_0x42f970,_0x3ebba1,_0x3ee143){return _0xb6a33f(_0x556036,_0x3db0f7,_0x538e82,_0x42f970,_0x3ebba1,_0x3ee143);},'YxwBr':_0x16086e(0xf0),'BFIMj':_0x16086e(0xfa),'QdATT':_0x16086e(0x9c)};try{await this[_0x16086e(0xd3)](_0x5c41ff,_0x224f18,_0x4ee3ee,![]);const _0x3e9cb8=(await _0x224f18[_0x16086e(0x103)]())['getId'](),_0xe27a6d=new Date(),_0x11f13c=_0x5a9869['ztnFv'](timeoutPromise,constants[_0x16086e(0x9f)],_0x5a9869[_0x16086e(0xf5)],_0x5a9869[_0x16086e(0x8f)],_0xe27a6d,this[_0x16086e(0xda)],this[_0x16086e(0xf3)]),_0x11c9c8=await Promise[_0x16086e(0x9b)]([this[_0x16086e(0xcb)][_0x16086e(0xab)](constants['TCG_URL'],_0x3e9cb8,globals['getGlobal'](_0x5a9869['QdATT']))['then'](_0x5484c5=>{const _0x464788=_0x16086e;return _0x11f13c[_0x464788(0xfe)](),_0x5484c5;}),_0x11f13c]);if(_0x11c9c8&&_0x11c9c8[_0x16086e(0xa3)]&&_0x11c9c8[_0x16086e(0xd8)]){const _0x42b5cc={};return _0x42b5cc[_0x16086e(0x9d)]=_0x11c9c8['selector'],_0x42b5cc[_0x16086e(0xe9)]=_0x11c9c8[_0x16086e(0xd8)],_0x42b5cc[_0x16086e(0xd1)]=!![],_0x42b5cc;}const _0x3ea90b={};return _0x3ea90b[_0x16086e(0x9d)]=_0x4ee3ee[_0x16086e(0xbb)][_0x16086e(0xf1)],_0x3ea90b[_0x16086e(0xe9)]=_0x11c9c8['value'],_0x3ea90b['aiHealing']=!![],_0x3ea90b;}catch(_0x7006b0){return logger[_0x16086e(0x98)]('Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20'+(_0x7006b0&&_0x7006b0['message']?_0x7006b0[_0x16086e(0xaf)]:'')),logger['info'](_0x16086e(0xc2)+_0x4ee3ee[_0x16086e(0xb0)]+_0x16086e(0xa9)),_0x4ee3ee;}}}exports[a99_0x53bad9(0x104)]=Object[a99_0x53bad9(0x106)](new AiSdkWrapper());function a99_0x3545(){const _0x241ee1=['debug','ieOptions_','firefox','race','aiHeal_sessionToken','locatorType','../logger','POLL_HEALING_RESULT_TIMEOUT','handleFailure','chromeOptions_','3601910wMDIMr','selector','BrowserstackHealingLogDataFailed','microsoftedge','getTestName','initializeHealingCapabilities','isSelfHealEnabled','\x20command','initializeCapabilities','pollResult','BkcYH','s://','SSnPM','message','name_','split','TCG_REGION','executeScript','error','441110SfLCqk','QjcZc','join','jLBAB','logData','setTcgToken','parameters_','ShKsS','aiHeal_isGroupAIEnabled','capabilities_','browserName','../../bin/utils/constants','GHDYN','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','fromEntries','yVAXH','string','newCapabilities','FmZmd','browserstackSessionName','SET_TCG_TOKEN_TIMEOUT','429000tUYUTQ','BrowserstackHealing','BrowserstackHealing.healFailure\x20method\x20timed\x20out','aiHeal_groupId','REWCL','7PBAhZz','\x22:\x20{\x22endpoint\x22:\x20\x22','aiHealing','3373656PWMxcs','_handleEvent','{\x22region\x22:\x20\x22','zdOOi','BrowserstackHealingHealFailureFailed','\x22,\x20\x22tcgUrls\x22:\x20{\x22','value','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','config','HEALING_FAILURE_TIMEOUT','getCapabilities','1prXLJl','forEach','777534VOcmJA','handleSuccess','BrowserstackHealingSetTcgTokenFailed','../../ai-sdk-node/bundle','IcNRs','replace','BrowserstackHealing.setToken\x20method\x20timed\x20out','winstonLogger','chrome','aPhtu','locatorValue','TLRvY','safari','healFailure','aiHeal_userId','somIX','BrowserstackHealing.logData\x20method\x20timed\x20out','BrowserstackHealing.pollResult\x20method\x20timed\x20out','using','TCG_URL','framework','HEALING_LOG_DATA_TIMEOUT','YxwBr','30SBtNtb','./autoHealHelper','path','1597272zaPniZ','BrowserstackHealingPollResultFailed','getGlobal','ygHCC','gltPY','cancel','get','ggGoo','\x22}}}','keys','getSession','aiSdkWrapper','npAnd','freeze','toLowerCase','edge','ljnDh','aCHDR','YMoyu','firefoxOptions_','BFIMj','RCtdN','CNdup','UvFaD','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','../globals','8105229sdEkbB','then','Dkxsq'];a99_0x3545=function(){return _0x241ee1;};return a99_0x3545();}
1
+ const a99_0x3cf7ff=a99_0x216b;(function(_0x4ff1bc,_0x52a19f){const _0xad80ed=a99_0x216b,_0x1f469d=_0x4ff1bc();while(!![]){try{const _0x26f20b=-parseInt(_0xad80ed(0x171))/0x1*(-parseInt(_0xad80ed(0x15d))/0x2)+parseInt(_0xad80ed(0x12f))/0x3+parseInt(_0xad80ed(0x153))/0x4+-parseInt(_0xad80ed(0x184))/0x5*(parseInt(_0xad80ed(0x186))/0x6)+parseInt(_0xad80ed(0x133))/0x7+parseInt(_0xad80ed(0x15b))/0x8+-parseInt(_0xad80ed(0x182))/0x9;if(_0x26f20b===_0x52a19f)break;else _0x1f469d['push'](_0x1f469d['shift']());}catch(_0x3a0219){_0x1f469d['push'](_0x1f469d['shift']());}}}(a99_0x27f5,0x6db87));function a99_0x216b(_0xba5ee4,_0x57c0ae){const _0x27f525=a99_0x27f5();return a99_0x216b=function(_0x216b90,_0x4d28a8){_0x216b90=_0x216b90-0x11d;let _0x293ca0=_0x27f525[_0x216b90];return _0x293ca0;},a99_0x216b(_0xba5ee4,_0x57c0ae);}function a99_0x27f5(){const _0x3e9d59=['config','SMtfv','atvnP','initializeHealingCapabilities','capabilities_','BrowserstackHealing','kjnrZ','browserName','TCG_REGION','getCommands','HEALING_LOG_DATA_TIMEOUT','404559zgaRXG','BrowserstackHealing.logData\x20method\x20timed\x20out','koDQh','parameters_','2112880dUrtvP','locatorValue','gszfU','seQfF','using','getProjectName','s://','framework','string','../../bin/utils/constants','MSHhJ','get','name_','\x22}}}','igHXn','winstonLogger','tjIZf','safariOptions_','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','browserstackSessionName','aiHeal_sessionToken','nmgZZ','replace','../globals','YFRZN','Doyvn','microsoftedge','BMQfo','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','toLowerCase','\x22,\x20\x22tcgUrls\x22:\x20{\x22','aiSdkWrapper','2256176FDqfzJ','firefoxOptions_','getTestName','aiHealing','freeze','TCG_URL','POLL_HEALING_RESULT_TIMEOUT','value','507440Xlgain','BrowserstackHealingPollResultFailed','302254HdSpHl','./autoHealHelper','handleFailure','BrowserstackHealingSetTcgTokenFailed','BrowserstackHealing.healFailure\x20method\x20timed\x20out','iCAJg','newCapabilities','fecYz','logData','tiQye','ZwOqO','../logger','message','fromEntries','NAnoX','cancel','uLRLd','\x20command','_handleEvent','selector','4GcDETa','set','FuKtw','tQhGw','handleSuccess','BoQdH','../../ai-sdk-node/bundle','LhViC','YaWfn','IWVrg','safari','LlIaD','SET_TCG_TOKEN_TIMEOUT','firefox','HBdHz','tRXyV','locatorType','7749486KqUaxg','pollResult','6810vJzBND','race','1578UoAyQF','HEALING_FAILURE_TIMEOUT','join','path','pQpWr','rUrMh','info','BrowserstackHealingLogDataFailed','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','FMNRT','YKXAP','eZIrF','getSession','healFailure','getId','setToken','then','mPkSS','getGlobal','isSelfHealEnabled','error','edge'];a99_0x27f5=function(){return _0x3e9d59;};return a99_0x27f5();}const path=require(a99_0x3cf7ff(0x189)),{commandRepository}=require(a99_0x3cf7ff(0x15e)),constants=require(a99_0x3cf7ff(0x13c)),logger=require(a99_0x3cf7ff(0x168))[a99_0x3cf7ff(0x142)],globals=require(a99_0x3cf7ff(0x14a)),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x5ebcf5=>_0x5ebcf5===undefined||_0x5ebcf5===null||_0x5ebcf5==='',isNotUndefinedOrNull=_0x3a9387=>!isUndefinedOrNull(_0x3a9387),isString=_0x45b7fc=>isNotUndefinedOrNull(_0x45b7fc)&&typeof _0x45b7fc===a99_0x3cf7ff(0x13b);class AiSdkWrapper{constructor(){const _0x4196dc=a99_0x3cf7ff,_0x23c55e={'FMNRT':function(_0x514f6c,_0x307fa2){return _0x514f6c(_0x307fa2);},'YKXAP':_0x4196dc(0x177)};this[_0x4196dc(0x129)]=undefined;try{this[_0x4196dc(0x129)]=_0x23c55e[_0x4196dc(0x18f)](require,path[_0x4196dc(0x188)](__dirname,_0x23c55e[_0x4196dc(0x190)]));}catch(_0x3721ae){logger[_0x4196dc(0x122)](_0x4196dc(0x18e)+(_0x3721ae&&_0x3721ae[_0x4196dc(0x169)]?_0x3721ae['message']:''));}}[a99_0x3cf7ff(0x127)](_0x51b3a8){const _0x75f2e=a99_0x3cf7ff,_0x567411={};_0x567411['mPkSS']=_0x75f2e(0x163),_0x567411['YFRZN']=function(_0x193d77,_0x2a35a1){return _0x193d77===_0x2a35a1;},_0x567411[_0x75f2e(0x17a)]='chrome',_0x567411['tQhGw']=_0x75f2e(0x17e),_0x567411[_0x75f2e(0x178)]=function(_0x5bfb09,_0x5763b7){return _0x5bfb09===_0x5763b7;},_0x567411[_0x75f2e(0x162)]=_0x75f2e(0x17b),_0x567411['kjnrZ']=function(_0x5b7547,_0x16b905){return _0x5b7547===_0x16b905;},_0x567411[_0x75f2e(0x16d)]=_0x75f2e(0x123),_0x567411[_0x75f2e(0x173)]=function(_0x3e53a6,_0x4b3220){return _0x3e53a6===_0x4b3220;},_0x567411[_0x75f2e(0x16b)]=_0x75f2e(0x14d),_0x567411['koDQh']=function(_0x28932c,_0x1f24e5){return _0x28932c===_0x1f24e5;};const _0x1327a3=_0x567411;try{const _0x34d3d7=this['BrowserstackHealing']['initializeCapabilities'](Object[_0x75f2e(0x16a)](_0x51b3a8['getCapabilities']()['map_']));console['log'](_0x1327a3[_0x75f2e(0x11f)],_0x34d3d7);if(_0x1327a3[_0x75f2e(0x14b)](_0x34d3d7?.[_0x75f2e(0x12b)]?.[_0x75f2e(0x150)](),_0x1327a3[_0x75f2e(0x17a)]))_0x51b3a8['chromeOptions_']=_0x34d3d7;else{if(_0x1327a3[_0x75f2e(0x14b)](_0x34d3d7?.[_0x75f2e(0x12b)]?.[_0x75f2e(0x150)](),_0x1327a3[_0x75f2e(0x174)]))_0x51b3a8[_0x75f2e(0x154)]=_0x34d3d7;else{if(_0x1327a3[_0x75f2e(0x178)](_0x34d3d7?.[_0x75f2e(0x12b)]?.[_0x75f2e(0x150)](),_0x1327a3[_0x75f2e(0x162)]))_0x51b3a8[_0x75f2e(0x144)]=_0x34d3d7;else{if(_0x1327a3[_0x75f2e(0x12a)](_0x34d3d7?.[_0x75f2e(0x12b)]?.[_0x75f2e(0x150)](),_0x1327a3[_0x75f2e(0x16d)])||_0x1327a3[_0x75f2e(0x173)](_0x34d3d7?.['browserName']?.[_0x75f2e(0x150)](),_0x1327a3[_0x75f2e(0x16b)]))_0x51b3a8['edgeOptions_']=_0x34d3d7;else _0x1327a3[_0x75f2e(0x131)](_0x34d3d7?.[_0x75f2e(0x12b)]?.[_0x75f2e(0x150)](),'ie')&&(_0x51b3a8['ieOptions_']=_0x34d3d7);}}}Object['keys'](_0x34d3d7)['forEach'](_0x34b630=>{const _0x269948=_0x75f2e,_0x17f553=_0x51b3a8['capabilities_'][_0x269948(0x13e)](_0x34b630);_0x51b3a8[_0x269948(0x128)][_0x269948(0x172)](_0x34b630,_0x34d3d7[_0x34b630]);});}catch(_0x12bf0a){logger['error']('Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20'+(_0x12bf0a&&_0x12bf0a['message']?_0x12bf0a[_0x75f2e(0x169)]:''));}}async['setTcgToken'](_0x3cd59e){const _0x5ad877=a99_0x3cf7ff,_0x2753b6={'tjIZf':function(_0x3f7192,_0xf17b6b,_0x490139,_0x10701d,_0x1cdd5c,_0x3407be,_0x2f0b90){return _0x3f7192(_0xf17b6b,_0x490139,_0x10701d,_0x1cdd5c,_0x3407be,_0x2f0b90);},'HBdHz':'BrowserstackHealing.setToken\x20method\x20timed\x20out','fecYz':_0x5ad877(0x160),'igHXn':_0x5ad877(0x147)},_0x167cd4=new Date(),_0x3532c8=_0x2753b6[_0x5ad877(0x143)](timeoutPromise,constants[_0x5ad877(0x17d)],_0x2753b6[_0x5ad877(0x17f)],_0x2753b6[_0x5ad877(0x164)],_0x167cd4,this[_0x5ad877(0x124)],this[_0x5ad877(0x13a)]);await Promise[_0x5ad877(0x185)]([this[_0x5ad877(0x129)][_0x5ad877(0x11d)](_0x3cd59e,globals[_0x5ad877(0x120)](_0x2753b6[_0x5ad877(0x141)]),constants[_0x5ad877(0x158)])['then'](()=>{const _0x262db8=_0x5ad877;_0x3532c8[_0x262db8(0x16c)]();}),_0x3532c8]);}async[a99_0x3cf7ff(0x16f)](_0xe66167,_0x4052c6,_0x583e3c,_0x4ba25a){const _0x30d5ce=a99_0x3cf7ff,_0x35dbb9={'eZIrF':function(_0x13300b,_0x1de1c8){return _0x13300b===_0x1de1c8;},'XIipd':function(_0xa1f8ba,_0x1f10b6){return _0xa1f8ba===_0x1f10b6;},'tiQye':function(_0x233076,_0x51aca8){return _0x233076(_0x51aca8);},'BoQdH':function(_0x4f5b60,_0x5d996c){return _0x4f5b60(_0x5d996c);},'rUrMh':function(_0x468dee,_0x463bbb){return _0x468dee(_0x463bbb);},'BMQfo':function(_0x5b1ece,_0x4369fd){return _0x5b1ece(_0x4369fd);},'atvnP':function(_0x1c5ca,_0x470b78){return _0x1c5ca(_0x470b78);},'MSHhJ':function(_0xa4c9cf,_0x5b5e8b){return _0xa4c9cf(_0x5b5e8b);},'IZDZh':_0x30d5ce(0x139),'CtlJc':function(_0x347f88,_0x59e6b7){return _0x347f88(_0x59e6b7);},'gszfU':'aiHeal_userId','ZwOqO':'aiHeal_groupId','Doyvn':'aiHeal_isGroupAIEnabled','nmgZZ':function(_0xc03fb4,_0xcd582e,_0xb4ae2e,_0x337e2c,_0x148ca9,_0x53256a,_0x59a268){return _0xc03fb4(_0xcd582e,_0xb4ae2e,_0x337e2c,_0x148ca9,_0x53256a,_0x59a268);},'tRXyV':_0x30d5ce(0x130),'YaWfn':_0x30d5ce(0x18d),'pQpWr':_0x30d5ce(0x161),'LlIaD':'BrowserstackHealingHealFailureFailed'},_0x327818=(await _0x4052c6[_0x30d5ce(0x192)]())['getId']();let _0x52f5da='';if(commandRepository['isSelfHealEnabled']()&&_0x35dbb9[_0x30d5ce(0x191)](_0x4ba25a,![])||_0x35dbb9['XIipd'](_0x4ba25a,!![])){const _0x4d14b1=_0x35dbb9[_0x30d5ce(0x166)](isNotUndefinedOrNull,_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x137)])&&_0x35dbb9[_0x30d5ce(0x176)](isString,_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x137)])?_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x137)][_0x30d5ce(0x149)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x522f05=_0x35dbb9['rUrMh'](isNotUndefinedOrNull,_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x137)])&&_0x35dbb9[_0x30d5ce(0x14e)](isString,_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x15a)])?_0x583e3c[_0x30d5ce(0x132)][_0x30d5ce(0x15a)]['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x45583c=_0x35dbb9[_0x30d5ce(0x18b)](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0x35dbb9[_0x30d5ce(0x176)](isString,commandRepository[_0x30d5ce(0x138)]())?commandRepository[_0x30d5ce(0x138)]()['replace'](/'/g,'\x5c\x27')[_0x30d5ce(0x149)](/"/g,'\x5c\x22'):'';let _0x2f17da=_0x35dbb9['BMQfo'](isNotUndefinedOrNull,global[_0x30d5ce(0x146)])&&_0x35dbb9['rUrMh'](isString,global['browserstackSessionName'])?global[_0x30d5ce(0x146)][_0x30d5ce(0x149)](/'/g,'\x5c\x27')[_0x30d5ce(0x149)](/"/g,'\x5c\x22'):'';!_0x2f17da&&(_0x2f17da=_0x35dbb9[_0x30d5ce(0x126)](isNotUndefinedOrNull,commandRepository[_0x30d5ce(0x155)]())&&_0x35dbb9[_0x30d5ce(0x13d)](isString,commandRepository[_0x30d5ce(0x155)]())?commandRepository[_0x30d5ce(0x155)]()[_0x30d5ce(0x149)](/'/g,'\x5c\x27')[_0x30d5ce(0x149)](/"/g,'\x5c\x22'):'');let _0x20aaf0='{\x22region\x22:\x20\x22'+constants[_0x30d5ce(0x12c)]+_0x30d5ce(0x151)+constants[_0x30d5ce(0x12c)]+'\x22:\x20{\x22endpoint\x22:\x20\x22'+constants[_0x30d5ce(0x158)]['split'](_0x35dbb9['IZDZh'])[0x1]+_0x30d5ce(0x140);_0x20aaf0=_0x35dbb9['CtlJc'](isNotUndefinedOrNull,_0x20aaf0)&&_0x35dbb9[_0x30d5ce(0x18b)](isString,_0x20aaf0)?_0x20aaf0[_0x30d5ce(0x149)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';const _0x2ff1f0=commandRepository[_0x30d5ce(0x12d)](_0x327818),_0x49e403=globals[_0x30d5ce(0x120)](_0x35dbb9[_0x30d5ce(0x135)]),_0x4063d7=globals[_0x30d5ce(0x120)](_0x35dbb9[_0x30d5ce(0x167)]),_0x52bff3=globals[_0x30d5ce(0x120)](_0x35dbb9[_0x30d5ce(0x14c)]),_0x1fd6a9=![],_0x3b40f6=new Date();if(_0x4ba25a){const _0x309b53=_0x35dbb9['nmgZZ'](timeoutPromise,constants[_0x30d5ce(0x12e)],_0x35dbb9[_0x30d5ce(0x180)],_0x35dbb9[_0x30d5ce(0x179)],_0x3b40f6,this[_0x30d5ce(0x124)],this['framework']);_0x52f5da=await Promise[_0x30d5ce(0x185)]([this[_0x30d5ce(0x129)][_0x30d5ce(0x165)](_0x4d14b1,_0x522f05,_0x45583c,_0x2f17da,_0x4063d7,_0x327818,_0x2ff1f0,_0x20aaf0)['then'](_0x295fc8=>{const _0x120d08=_0x30d5ce;return _0x309b53[_0x120d08(0x16c)](),_0x295fc8;}),_0x309b53]);}else{if(commandRepository[_0x30d5ce(0x121)]()){const _0x413123=_0x35dbb9[_0x30d5ce(0x148)](timeoutPromise,constants[_0x30d5ce(0x187)],_0x35dbb9[_0x30d5ce(0x18a)],_0x35dbb9[_0x30d5ce(0x17c)],_0x3b40f6,this['config'],this['framework']);_0x52f5da=await Promise['race']([this[_0x30d5ce(0x129)][_0x30d5ce(0x193)](_0x4d14b1,_0x522f05,_0x45583c,_0x2f17da,_0x49e403,_0x4063d7,_0x327818,_0x2ff1f0,_0x1fd6a9,_0x52bff3,_0x20aaf0)[_0x30d5ce(0x11e)](_0x5ea367=>{const _0x5af9f2=_0x30d5ce;return _0x413123[_0x5af9f2(0x16c)](),_0x5ea367;}),_0x413123]);}}_0x52f5da&&await _0x4052c6['executeScript'](_0x52f5da);}}async[a99_0x3cf7ff(0x175)](_0x2420a2,_0x25ed6d,_0x1c7a51){const _0x34ffd1=a99_0x3cf7ff;try{await this[_0x34ffd1(0x16f)](_0x2420a2,_0x25ed6d,_0x1c7a51,!![]);}catch(_0x4a3ea5){return logger[_0x34ffd1(0x122)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x4a3ea5&&_0x4a3ea5['message']?_0x4a3ea5[_0x34ffd1(0x169)]:'')),![];}return!![];}async[a99_0x3cf7ff(0x15f)](_0x3f2ecb,_0x560d83,_0x381281){const _0x1261b1=a99_0x3cf7ff,_0x4c24b4={'WPmEz':function(_0x3b98d1,_0x2efe34,_0x1dffcb,_0xdb2076,_0x1c374d,_0x13bbfc,_0x25c441){return _0x3b98d1(_0x2efe34,_0x1dffcb,_0xdb2076,_0x1c374d,_0x13bbfc,_0x25c441);},'seQfF':'BrowserstackHealing.pollResult\x20method\x20timed\x20out','hexOE':_0x1261b1(0x15c),'SMtfv':_0x1261b1(0x147)};try{await this[_0x1261b1(0x16f)](_0x3f2ecb,_0x560d83,_0x381281,![]);const _0x263451=(await _0x560d83[_0x1261b1(0x192)]())[_0x1261b1(0x194)](),_0x215140=new Date(),_0xa4b82=_0x4c24b4['WPmEz'](timeoutPromise,constants[_0x1261b1(0x159)],_0x4c24b4[_0x1261b1(0x136)],_0x4c24b4['hexOE'],_0x215140,this[_0x1261b1(0x124)],this[_0x1261b1(0x13a)]),_0xc30f02=await Promise[_0x1261b1(0x185)]([this[_0x1261b1(0x129)][_0x1261b1(0x183)](constants[_0x1261b1(0x158)],_0x263451,globals['getGlobal'](_0x4c24b4[_0x1261b1(0x125)]))[_0x1261b1(0x11e)](_0x2c0cc3=>{const _0x500e06=_0x1261b1;return _0xa4b82[_0x500e06(0x16c)](),_0x2c0cc3;}),_0xa4b82]);if(_0xc30f02&&_0xc30f02['selector']&&_0xc30f02[_0x1261b1(0x15a)]){const _0x42edf8={};return _0x42edf8['locatorType']=_0xc30f02[_0x1261b1(0x170)],_0x42edf8['locatorValue']=_0xc30f02[_0x1261b1(0x15a)],_0x42edf8[_0x1261b1(0x156)]=!![],_0x42edf8;}const _0x479ed4={};return _0x479ed4[_0x1261b1(0x181)]=_0x381281[_0x1261b1(0x132)][_0x1261b1(0x137)],_0x479ed4[_0x1261b1(0x134)]=_0xc30f02[_0x1261b1(0x15a)],_0x479ed4[_0x1261b1(0x156)]=!![],_0x479ed4;}catch(_0x1a63f8){return logger['debug'](_0x1261b1(0x14f)+(_0x1a63f8&&_0x1a63f8[_0x1261b1(0x169)]?_0x1a63f8[_0x1261b1(0x169)]:'')),logger[_0x1261b1(0x18c)](_0x1261b1(0x145)+_0x381281[_0x1261b1(0x13f)]+_0x1261b1(0x16e)),_0x381281;}}}exports[a99_0x3cf7ff(0x152)]=Object[a99_0x3cf7ff(0x157)](new AiSdkWrapper());