browserstack-node-sdk 1.49.5 → 1.49.7

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_0x1eaaa9=a94_0x3b31;(function(_0x1ca7ab,_0x2175ea){const _0x3a2e29=a94_0x3b31,_0x38823d=_0x1ca7ab();while(!![]){try{const _0x38352a=parseInt(_0x3a2e29(0x134))/0x1*(parseInt(_0x3a2e29(0xed))/0x2)+-parseInt(_0x3a2e29(0x9e))/0x3+parseInt(_0x3a2e29(0x8e))/0x4*(-parseInt(_0x3a2e29(0x15a))/0x5)+-parseInt(_0x3a2e29(0xc8))/0x6+-parseInt(_0x3a2e29(0x188))/0x7*(parseInt(_0x3a2e29(0xb2))/0x8)+parseInt(_0x3a2e29(0x9f))/0x9*(parseInt(_0x3a2e29(0xbb))/0xa)+-parseInt(_0x3a2e29(0xfe))/0xb;if(_0x38352a===_0x2175ea)break;else _0x38823d['push'](_0x38823d['shift']());}catch(_0x2dfe00){_0x38823d['push'](_0x38823d['shift']());}}}(a94_0x1060,0xa22f4));const util=require(a94_0x1eaaa9(0x90)),os=require('os'),path=require('path'),{v4:uuidv4}=require(a94_0x1eaaa9(0x14e)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0x1eaaa9(0x103))['winstonLogger'],fileLogger=require(a94_0x1eaaa9(0x103))[a94_0x1eaaa9(0x17f)],{getLogDir}=require(a94_0x1eaaa9(0x103)),helper=require('./helper'),utilities=require(a94_0x1eaaa9(0x106)),percyHelper=require(a94_0x1eaaa9(0x17e)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a94_0x1eaaa9(0x98)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x1eaaa9(0x148)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a94_0x1eaaa9(0xf6)),timeoutPromise=require(a94_0x1eaaa9(0xab)),BrowserstackCLI=require(a94_0x1eaaa9(0xeb)),LoadTestModule=require(a94_0x1eaaa9(0x131)),{getEdsInstrumentationAPIUrl}=require('../bin/utils/apiUtilityMethods'),ClientTroubleShootingService=require(a94_0x1eaaa9(0x9a));function a94_0x3b31(_0x58f0b2,_0x307c20){const _0x106033=a94_0x1060();return a94_0x3b31=function(_0x3b312f,_0x22c308){_0x3b312f=_0x3b312f-0x82;let _0x378159=_0x106033[_0x3b312f];return _0x378159;},a94_0x3b31(_0x58f0b2,_0x307c20);}function a94_0x1060(){const _0x5a6b86=['accessKey','proxyConfig','turboScaleGridDetails','AdltT','format','1225554CUnjxC','beforeExit','aWMwW','exceptions','BROWSERSTACK_TURBOSCALE','./logger','FGjID','vgRxe','./utilities','turboScaleUrl','requireSeleniumWebdriverCheck','handleExceptions','isBrowserstackInfra','OKyfG','LSbBA','captureError','stringify','selenium-webdriver','1|2|17|19|21|5|20|9|13|16|22|12|7|0|8|4|6|18|15|14|23|3|10|11','getFinalCaps','env','setupTcgConfigFile','../../package.json','SIGABRT','uqwWr','../ai-sdk-node/bundle','status','CGcVp','setCLICaps','aKVFo','intExitHandler','YlwLB','YjWjJ','setupTCGAuth','then','SIGTERM','BrowserstackHealing.init\x20method\x20timed\x20out','BrowserstackHealing.init','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','localOptions','browserStackLocalOptions','getPackageVersion','LDMAS','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','finalize','hOrNp','false','split','xKHzH','close','Percy\x20started\x20successfully','../bin/v2/modules/loadTestModule','stop','dfFLo','833ggXDmr','toString','getLocalIdentifier','tcg\x20config\x20setup\x20successful.','toLowerCase','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','isEnabled','dokck','SDK\x20run\x20started\x20with\x20id:\x20','constructor','No\x20config\x20provided.','rCLsm','uncaughtException','PGMZh','TCG_URL','TCG_DOWN','PkmFI','playwrightUrl','isHealingEnabled','Failed\x20to\x20send\x20data\x20to\x20','./performance/constants','vEHlh','MjBtw','preInitialize','isNotUndefined','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','uuid','Error\x20occured\x20while\x20stopping\x20local\x20binary','platform','isRunning','info','EheAN','hcHcM','handled','localIdentifier','KtVjD','Local\x20binary\x20started\x20successfully','YAFUb','25700aAJGTf','measures','eEKIz','errorMessage','assign','setCredentialsFromYmlConfig','aBlQl','gtLLU','?caps=','fireFunnelTestEvent','platforms','getTurboScaleGridDetails','turboScaleOptions','YkZIy','ats-repeater','NQoSc','percy','xQhYF','SDKTestAttempted','compareVersions','VlawL','generateLocalIdentifier','browserstackLocal','setupKeepAlive','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','bstackConfig','tWoTq','wpchd','exitHandler','end','RyhWo','error','isUndefined','setupBrowserstackLocal','2|4|0|3|1','envConfig','./percy/utils','fileLogger','SDK_CLEANUP','setLogLevel','getConfigPath','hubUrl','aiHeal:tcgAuth','HUB_MANAGEMENT','unhandledErrors','race','35TMxVdb','true','getInstance','gQKSY','IPZVz','RbVVY','debug','CJkTt','\x20with\x20error\x20','QojSa','Error\x20in\x20percy\x20setup\x20','TCG_AUTH_TIMEOUT','vrmdZ','skipBinaryInitialisation','2|1|4|0|7|5|6|3','length','NFxOW','stopBrowserstackLocal','AqUeg','Calling\x20Build\x20Stop\x20from\x20ExitHandler','isAuthenticated','92ODeHZy','zJedY','util','proxyUrl','useW3C','fnWOd','yIzbC','mPSGm','selfHeal','SIGQUIT','./performance/performance-tester','pxVWw','../bin/utils/clientTroubleshootingService','AI_PROXY_FAILURE','turboScale','INVALID_INIT_RESP_WITH_USER_IMPACT','2181531boLEMN','10014210lHgNoC','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','isTrue','events.json','initialize','win32','setProxySettings','jLmeM','UOxNm','userName\x20or\x20accessKey\x20is\x20not\x20defined','Rfvqu','cliConfig','./timeoutPromise','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','custom-repeater','kGCml','integrations','message','TCG_AUTH_FAILURE','600568NOTaag','auqae','getAccessKey','UqjHA','config','Error\x20occured\x20while\x20stopping\x20percy','forceLocal','rjNrA','customRepeaters','10GKczXK','4.5.0','sendToEDS','cRPhm','Ijnwz','framework','sanitizeCaps','playwright','startPercy','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','setHandlePWError','parallelsPerPlatform','FRAMEWORK','1699494obimtJ','ZpRZI','wdzhX','skipSessionName','tcgAuthConfig','includes','PvgSA','codeceptjs','hMjvK','reportFinalDetectionState','skipSessionStatus','isTurboScaleSession','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','xGmAG','UfZef','ZCTaJ','killSignal','version','BROWSERSTACK_PERCY','writeFileSync','reportProcessInterruptionSituation','warn','normalizeTestReportingEnvVars','setBrowserstackInfraFromConfig','nlNPi','stopPercy','uOytf','testContextOptions','IkWer','setupPercy','TdHLt','\x20with\x20response\x20','configPath','getHubUrl','fFAQU','../bin/v2/browserstackCLI','XTnYB','2802xSaVga','sdkRunId','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','KvzSz','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','join','cancel','Error\x20in\x20sending\x20testhub\x20stop:\x20','__isPlaywrightInstalled','./testhub/testhubHandler','setUpHubUrl','Error\x20in\x20writing\x20events\x20to\x20file\x20'];a94_0x1060=function(){return _0x5a6b86;};return a94_0x1060();}class BrowserStackSetup{constructor(_0x5d3375,_0x576d28){const _0x24963d=a94_0x1eaaa9,_0x1169b7={'UOxNm':_0x24963d(0x110),'lzlzz':_0x24963d(0x13e),'YjWjJ':function(_0x1163a2){return _0x1163a2();}},_0x1e9d8c=_0x1169b7[_0x24963d(0xa7)][_0x24963d(0x12d)]('|');let _0x44f619=0x0;while(!![]){switch(_0x1e9d8c[_0x44f619++]){case'0':global[_0x24963d(0xc0)]=_0x576d28;continue;case'1':this[_0x24963d(0x186)]=[];continue;case'2':helper[_0x24963d(0xde)]();continue;case'3':helper['setLogDir'](this[_0x24963d(0xb6)]);continue;case'4':if(this[_0x24963d(0xb6)][_0x24963d(0x179)])throw new Error(this[_0x24963d(0xb6)][_0x24963d(0x179)]);continue;case'5':this[_0x24963d(0xe8)]=helper[_0x24963d(0x182)](_0x5d3375);continue;case'6':helper[_0x24963d(0xdf)](this['config'],this[_0x24963d(0xaa)]);continue;case'7':this['framework']=_0x576d28;continue;case'8':if(helper[_0x24963d(0x17a)](this['config']))throw new Error(_0x1169b7['lzlzz']);continue;case'9':this['cliConfig']=helper[_0x24963d(0x11a)](_0x5d3375);continue;case'10':helper[_0x24963d(0x181)](this['config'],this[_0x24963d(0xaa)],this[_0x24963d(0x17d)]);continue;case'11':PerformanceTester['startMonitoring']();continue;case'12':this[_0x24963d(0xee)]=_0x1169b7[_0x24963d(0x11e)](uuidv4);continue;case'13':this['config'][_0x24963d(0x164)]=this[_0x24963d(0xb6)]['platforms']||[];continue;case'14':this[_0x24963d(0xb6)]['testContextOptions']['skipSessionName']=!helper[_0x24963d(0x10a)]()||helper[_0x24963d(0xa1)](this[_0x24963d(0xb6)][_0x24963d(0xe3)][_0x24963d(0xcb)]);continue;case'15':this['config'][_0x24963d(0xe3)][_0x24963d(0xd2)]=!helper['isBrowserstackInfra']()||helper['isTrue'](this[_0x24963d(0xb6)][_0x24963d(0xe3)][_0x24963d(0xd2)]);continue;case'16':this[_0x24963d(0xb6)][_0x24963d(0xe3)]=this[_0x24963d(0xb6)][_0x24963d(0xe3)]||{};continue;case'17':this[_0x24963d(0x17d)]=helper['setEnvCaps']();continue;case'18':helper[_0x24963d(0x15f)](this[_0x24963d(0xb6)]);continue;case'19':this[_0x24963d(0x170)]=null;continue;case'20':this['config']=helper['readConfig'](this[_0x24963d(0xe8)]);continue;case'21':this['percy']=null;continue;case'22':this[_0x24963d(0x15d)]={};continue;case'23':helper[_0x24963d(0x111)](this[_0x24963d(0xb6)],this[_0x24963d(0xaa)],this[_0x24963d(0x17d)]);continue;}break;}}['preInitialize'](_0x2422c4){const _0x1967ca=a94_0x1eaaa9,_0x2c62e0={'jqUoi':_0x1967ca(0xa8),'PkmFI':function(_0x3d1eb0,_0xa13b34){return _0x3d1eb0===_0xa13b34;},'eEKIz':function(_0x35b78a,_0x589230){return _0x35b78a===_0x589230;},'fnWOd':_0x1967ca(0xaf),'gtLLU':_0x1967ca(0x16c),'OKyfG':function(_0x1de4ad,_0x168847){return _0x1de4ad<_0x168847;},'ZCTaJ':function(_0x517f28,_0x22f08d){return _0x517f28(_0x22f08d);},'yIzbC':_0x1967ca(0x10f),'CGcVp':_0x1967ca(0xbc),'cRPhm':_0x1967ca(0x172),'wTGCQ':_0x1967ca(0x124),'zJedY':_0x1967ca(0x121),'auqae':'SIGINT','aBlQl':'SIGHUP','xKHzH':function(_0x3354fb,_0x4f40a3){return _0x3354fb!==_0x4f40a3;},'vrmdZ':_0x1967ca(0xa4),'dokck':_0x1967ca(0x115),'RbVVY':_0x1967ca(0x97),'rjNrA':'SIGBREAK','rCLsm':_0x1967ca(0xff)},_0x1b30e3=this[_0x1967ca(0xc0)];global[_0x1967ca(0xb6)]=this['config'],helper[_0x1967ca(0xc1)](this[_0x1967ca(0xb6)]),this[_0x1967ca(0xd8)]=null,global[_0x1967ca(0xee)]=this[_0x1967ca(0xee)],logger['info'](_0x1967ca(0x13c)+this[_0x1967ca(0xee)]),!this[_0x1967ca(0xb6)][_0x1967ca(0x126)]&&(this['config'][_0x1967ca(0x126)]=this[_0x1967ca(0xb6)][_0x1967ca(0x125)]||{});if(helper[_0x1967ca(0x17a)](helper['getUserName'](this['config']))||helper['isUndefined'](helper[_0x1967ca(0xb4)](this[_0x1967ca(0xb6)])))throw new Error(_0x2c62e0['jqUoi']);helper['getLocalConfig'](this[_0x1967ca(0xb6)])&&helper['isUndefined'](helper[_0x1967ca(0x136)](this[_0x1967ca(0xb6)]))&&(!helper[_0x1967ca(0x17a)](this['config'][_0x1967ca(0x126)])&&_0x2c62e0[_0x1967ca(0x144)](this[_0x1967ca(0xb6)]['browserStackLocalOptions'][_0x1967ca(0x13d)],Object)?!helper[_0x1967ca(0xa1)](this[_0x1967ca(0xb6)][_0x1967ca(0x126)]['skipBinaryInitialisation'])&&(this[_0x1967ca(0xb6)]['browserStackLocalOptions']['localIdentifier']=helper[_0x1967ca(0x16f)]()):this['config'][_0x1967ca(0x126)]={'localIdentifier':helper[_0x1967ca(0x16f)]()});this['config'][_0x1967ca(0x126)][_0x1967ca(0x86)]=helper[_0x1967ca(0xa1)](this['config'][_0x1967ca(0x126)][_0x1967ca(0x86)]),helper[_0x1967ca(0xc5)](this[_0x1967ca(0xb6)]);if(_0x2c62e0['eEKIz'](_0x1b30e3,_0x2c62e0[_0x1967ca(0x93)]))return;this[_0x1967ca(0x109)]();process[_0x1967ca(0x112)][_0x1967ca(0x102)]&&(this[_0x1967ca(0xb6)][_0x1967ca(0x9c)]=helper[_0x1967ca(0xa1)](process[_0x1967ca(0x112)][_0x1967ca(0x102)]),this[_0x1967ca(0xb6)][_0x1967ca(0x166)]=this[_0x1967ca(0xb6)][_0x1967ca(0x166)]||{});helper[_0x1967ca(0xd3)](this[_0x1967ca(0xb6)])&&(process[_0x1967ca(0x112)][_0x1967ca(0x102)]=!![]);LoadTestModule['isLTSSession'](this[_0x1967ca(0xb6)])&&logger[_0x1967ca(0x18e)](_0x1967ca(0xf1)+this[_0x1967ca(0xee)]);if(!helper[_0x1967ca(0x10a)]()){try{process['env']['FRAMEWORK']=_0x1b30e3,utilities[_0x1967ca(0x163)](_0x2c62e0['gtLLU'],{},this['config'],this['framework']);}catch(_0x1130e2){logger[_0x1967ca(0x18e)](_0x1967ca(0xef)+_0x1130e2);}return;}if(helper[_0x1967ca(0x108)](_0x1b30e3)){if(global[_0x1967ca(0xf5)])return;_0x2c62e0[_0x1967ca(0x10b)](_0x2c62e0[_0x1967ca(0xd7)](parseInt,helper['getPackageVersion'](_0x2c62e0[_0x1967ca(0x94)])),0x3)&&(this['config'][_0x1967ca(0x92)]=![]),_0x2c62e0[_0x1967ca(0x15c)](helper[_0x1967ca(0x16d)](helper[_0x1967ca(0x127)](_0x2c62e0[_0x1967ca(0x94)]),_0x2c62e0[_0x1967ca(0x119)]),0x1)&&(this[_0x1967ca(0xb6)][_0x1967ca(0x92)]=!![]);}(helper['isUndefined'](this[_0x1967ca(0xb6)][_0x1967ca(0x164)])||helper[_0x1967ca(0x17a)](this[_0x1967ca(0xb6)][_0x1967ca(0x164)][_0x1967ca(0x88)]))&&(helper['isUndefined'](this[_0x1967ca(0xb6)][_0x1967ca(0xc6)])?logger[_0x1967ca(0x152)](_0x2c62e0[_0x1967ca(0xbe)]):logger[_0x1967ca(0xdd)](_0x2c62e0['wTGCQ']),this[_0x1967ca(0xb6)]['platforms']=[]);!this[_0x1967ca(0xb6)]['testContextOptions']&&(this[_0x1967ca(0xb6)][_0x1967ca(0xe3)]={});try{process[_0x1967ca(0x112)][_0x1967ca(0xc7)]=_0x2422c4['_'][0x0],utilities[_0x1967ca(0x163)](_0x2c62e0[_0x1967ca(0x161)],{},this[_0x1967ca(0xb6)],this[_0x1967ca(0xc0)]);}catch(_0x120d2b){logger[_0x1967ca(0x18e)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x120d2b);}!this[_0x1967ca(0xb6)]['disableAutoCaptureLogs']&&logger[_0x1967ca(0x152)](constants['AUTOLOGCAPTURE_NOTIFICATION']),this[_0x1967ca(0x11c)]=this['intExitHandler']['bind'](this),process['on'](_0x2c62e0[_0x1967ca(0x8f)],this[_0x1967ca(0x11c)]),process['on'](_0x2c62e0[_0x1967ca(0xb3)],this['intExitHandler']),process['on'](_0x2c62e0[_0x1967ca(0x160)],this['intExitHandler']),_0x2c62e0[_0x1967ca(0x12e)](process[_0x1967ca(0x150)],_0x2c62e0[_0x1967ca(0x85)])?(process['on'](_0x2c62e0[_0x1967ca(0x13b)],this[_0x1967ca(0x11c)]),process['on'](_0x2c62e0[_0x1967ca(0x18d)],this[_0x1967ca(0x11c)])):process['on'](_0x2c62e0[_0x1967ca(0xb9)],this[_0x1967ca(0x11c)]),process['on'](_0x2c62e0[_0x1967ca(0x13f)],this[_0x1967ca(0x176)]());}async[a94_0x1eaaa9(0xa3)](_0x24a1c4){const _0x5f578f=a94_0x1eaaa9,_0x1d9734={'tWoTq':_0x5f578f(0x168),'hMjvK':_0x5f578f(0xad),'hOrNp':_0x5f578f(0x189),'UfZef':function(_0x361d44,_0x2d58be){return _0x361d44===_0x2d58be;},'LSbBA':_0x5f578f(0xc2),'aWMwW':function(_0x39e8e4,_0x17168a){return _0x39e8e4+_0x17168a;},'JjAHm':_0x5f578f(0x162),'EheAN':function(_0x18f7ce,_0x246440){return _0x18f7ce(_0x246440);},'fFAQU':_0x5f578f(0xcf)};this[_0x5f578f(0x14b)](_0x24a1c4);if(helper[_0x5f578f(0xd3)](this[_0x5f578f(0xb6)])){const _0x15af25=await helper[_0x5f578f(0x165)](this[_0x5f578f(0xb6)]);this['config'][_0x5f578f(0xfb)]=_0x15af25,_0x15af25['isTrialGrid']&&helper[_0x5f578f(0x14c)](this[_0x5f578f(0xb6)]['browserstackLocal'])&&helper[_0x5f578f(0xa1)](this[_0x5f578f(0xb6)][_0x5f578f(0x170)])&&(this[_0x5f578f(0xb6)]['browserStackLocalOptions'][_0x5f578f(0x156)]=_0x1d9734[_0x5f578f(0x174)],this[_0x5f578f(0xb6)][_0x5f578f(0x126)][_0x1d9734[_0x5f578f(0xd0)]]=_0x15af25[_0x5f578f(0xba)][_0x5f578f(0xf2)](','),this['config'][_0x5f578f(0x126)][_0x5f578f(0xb8)]=_0x1d9734[_0x5f578f(0x12b)]),this[_0x5f578f(0xb6)][_0x5f578f(0x107)]=_0x15af25['url'],this['framework']&&_0x1d9734[_0x5f578f(0xd6)](this[_0x5f578f(0xc0)][_0x5f578f(0x138)](),_0x1d9734['LSbBA'])?this[_0x5f578f(0xb6)][_0x5f578f(0x107)]=_0x1d9734[_0x5f578f(0x100)](_0x15af25[_0x5f578f(0x145)],_0x1d9734['JjAHm']):constants[_0x5f578f(0x183)]=helper[_0x5f578f(0xe9)](this['config']),logger['debug'](_0x5f578f(0x14d)+constants[_0x5f578f(0x183)]);}helper[_0x5f578f(0xa5)](this[_0x5f578f(0xb6)]),this[_0x5f578f(0x171)](),_0x1d9734[_0x5f578f(0x153)](setPercyFlag,this),await this[_0x5f578f(0x17b)](),![_0x1d9734[_0x5f578f(0xea)],_0x1d9734[_0x5f578f(0x10c)]][_0x5f578f(0xcd)](this[_0x5f578f(0xc0)])&&!helper[_0x5f578f(0xd3)](this['config'])&&!helper['getCentralUser']()['central_scanner']&&await this[_0x5f578f(0xf7)]();}async[a94_0x1eaaa9(0xe5)](){const _0x175728=a94_0x1eaaa9,_0x59546e={};_0x59546e['MjBtw']=function(_0x1ab09b,_0x4e0f07){return _0x1ab09b===_0x4e0f07;},_0x59546e[_0x175728(0xf0)]=_0x175728(0x12c),_0x59546e['YkZIy']=_0x175728(0xa0),_0x59546e[_0x175728(0xfc)]=_0x175728(0x130),_0x59546e[_0x175728(0x11d)]='true',_0x59546e['krany']='beforeExit';const _0x242581=_0x59546e;if(helper['isTrue'](this['config'][_0x175728(0x16a)])&&(!this[_0x175728(0x16a)]||!this[_0x175728(0x16a)][_0x175728(0x151)]()))try{this[_0x175728(0x16a)]=await percyHelper[_0x175728(0xc3)](this['config']);if(!this['percy']){process[_0x175728(0x112)][_0x175728(0xda)]=_0x242581['KvzSz'];throw new Error(_0x242581[_0x175728(0x167)]);}logger[_0x175728(0x152)](_0x242581[_0x175728(0xfc)]),process[_0x175728(0x112)][_0x175728(0xda)]=_0x242581[_0x175728(0x11d)];let _0x14de96=0x0;const _0x32ecbb=async()=>{const _0x282ad8=_0x175728;_0x14de96++,_0x242581[_0x282ad8(0x14a)](_0x14de96,0x1)&&await this[_0x282ad8(0xe1)]();};process['on'](_0x242581['krany'],_0x32ecbb);}catch(_0x41ce40){process[_0x175728(0x112)][_0x175728(0xda)]=_0x242581[_0x175728(0xf0)],logger[_0x175728(0x18e)](_0x175728(0x83)+_0x41ce40);throw new Error(_0x41ce40[_0x175728(0x135)]());}}async[a94_0x1eaaa9(0xe1)](){const _0xb3555a=a94_0x1eaaa9,_0x57e2ab={};_0x57e2ab[_0xb3555a(0x175)]='Percy\x20stopped',_0x57e2ab[_0xb3555a(0x104)]=_0xb3555a(0xb7);const _0x4d689c=_0x57e2ab;if(this['percy']&&this['percy'][_0xb3555a(0x151)]())try{await percyHelper[_0xb3555a(0xe1)](this[_0xb3555a(0x16a)]),logger['info'](_0x4d689c['wpchd']);}catch(_0x442282){logger['error'](_0x4d689c['FGjID'],_0x442282[_0xb3555a(0xb0)]);}}async[a94_0x1eaaa9(0x17b)](){const _0x318800=a94_0x1eaaa9,_0x573c46={};_0x573c46['PvgSA']=_0x318800(0xc4),_0x573c46[_0x318800(0xae)]=_0x318800(0x158);const _0x36dac8=_0x573c46;if(helper[_0x318800(0x10a)]()&&helper[_0x318800(0xa1)](this[_0x318800(0xb6)]['browserstackLocal'])&&(!this[_0x318800(0x170)]||!this[_0x318800(0x170)]['isRunning']()))try{if(this[_0x318800(0xb6)][_0x318800(0x126)]['skipBinaryInitialisation']){logger[_0x318800(0x18e)](_0x36dac8[_0x318800(0xce)]);return;}this[_0x318800(0x170)]=await helper['startLocalBinary'](this[_0x318800(0xb6)]),logger[_0x318800(0x152)](_0x36dac8[_0x318800(0xae)]);}catch(_0x590f0e){logger[_0x318800(0x18e)](_0x590f0e);throw new Error(_0x590f0e['toString']());}}async[a94_0x1eaaa9(0x8a)](){const _0x1f4aa6=a94_0x1eaaa9,_0x2ff1b8={};_0x2ff1b8[_0x1f4aa6(0xca)]='Local\x20binary\x20stopped',_0x2ff1b8[_0x1f4aa6(0x18c)]=_0x1f4aa6(0x14f);const _0x64d3f3=_0x2ff1b8;if(this[_0x1f4aa6(0x170)]&&this[_0x1f4aa6(0x170)][_0x1f4aa6(0x151)]())try{await helper['stopLocalBinary'](this['browserstackLocal']),logger[_0x1f4aa6(0x152)](_0x64d3f3[_0x1f4aa6(0xca)]);}catch(_0x4e5298){logger['error'](_0x64d3f3[_0x1f4aa6(0x18c)],_0x4e5298[_0x1f4aa6(0xb0)]);}}async[a94_0x1eaaa9(0xf7)](){const _0x204a0b=a94_0x1eaaa9;return PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x204a0b(0x185)],async()=>{const _0x431c51=_0x204a0b;await hubAllocator['allocateHub'](this[_0x431c51(0xb6)]);})();}async[a94_0x1eaaa9(0x11f)](){const _0x463c5c=a94_0x1eaaa9,_0x125447={'XTnYB':function(_0x165041,_0x5c6686){return _0x165041(_0x5c6686);},'vEHlh':_0x463c5c(0x117),'fnllq':function(_0x278479,_0x44f3c3,_0x2a0736,_0x295990,_0x3e8260,_0x1706b3,_0x46d22a){return _0x278479(_0x44f3c3,_0x2a0736,_0x295990,_0x3e8260,_0x1706b3,_0x46d22a);},'PGMZh':_0x463c5c(0x122),'RyhWo':'BrowserstackHealingInitFailed','YAFUb':function(_0x33e839,_0x24c6ff){return _0x33e839(_0x24c6ff);},'NQoSc':_0x463c5c(0x114),'vgRxe':_0x463c5c(0x123),'xGmAG':function(_0x41f29e,_0x3f6575){return _0x41f29e===_0x3f6575;},'Ijnwz':_0x463c5c(0x189),'IkWer':function(_0x357ad6,_0x388ed1){return _0x357ad6===_0x388ed1;},'hcHcM':function(_0x8a82ea,_0x32c168){return _0x8a82ea===_0x32c168;},'dfFLo':'Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','uOytf':_0x463c5c(0x129),'prhcq':_0x463c5c(0x139),'mEiCq':_0x463c5c(0xd4),'NFxOW':function(_0x5a3be8,_0x12c5ae){return _0x5a3be8>=_0x12c5ae;},'mPSGm':function(_0x189014,_0x171b68){return _0x189014<_0x171b68;},'AqUeg':_0x463c5c(0x137),'uqwWr':_0x463c5c(0x184),'ehyur':function(_0x3ff1e7){return _0x3ff1e7();}},_0x1f1bad=PerformanceTester['measureWrapper'](_0x125447[_0x463c5c(0x116)],async()=>{const _0x195254=_0x463c5c;try{const _0x35a692=new Date(),_0x426772=helper['getProxyConfigForTcg'](this[_0x195254(0xb6)]),_0x32f309=_0x125447[_0x195254(0xec)](require,path['join'](__dirname,_0x125447[_0x195254(0x149)])),_0x1da23e=_0x125447['fnllq'](timeoutPromise,constants[_0x195254(0x84)],_0x125447[_0x195254(0x141)],_0x125447[_0x195254(0x178)],_0x35a692,this[_0x195254(0xb6)],this[_0x195254(0xc0)]),_0x24f2d2={'tcgUrl':constants[_0x195254(0x142)],'sdkVersion':_0x125447[_0x195254(0x159)](require,_0x125447[_0x195254(0x169)])[_0x195254(0xd9)],'methodUsed':_0x125447[_0x195254(0x105)],'proxyConfig':_0x426772,'os':os[_0x195254(0x150)]()};if(_0x426772&&_0x426772[_0x195254(0x91)]){utilities[_0x195254(0x163)](constants[_0x195254(0x9b)],_0x24f2d2,this['config'],this[_0x195254(0xc0)]);return;}const _0x54903e={};_0x54903e['proxy']=_0x426772;const _0x4df0cb=await Promise[_0x195254(0x187)]([_0x32f309['init'](this[_0x195254(0xb6)][_0x195254(0xf9)],this[_0x195254(0xb6)]['userName'],constants[_0x195254(0x142)],_0x125447[_0x195254(0x159)](require,_0x125447['NQoSc'])[_0x195254(0xd9)],_0x54903e)[_0x195254(0x120)](_0x4ca2d7=>{const _0x28dcf8=_0x195254;return _0x1da23e[_0x28dcf8(0xf3)](),_0x4ca2d7;}),_0x1da23e]);_0x4df0cb['isHealingEnabled']=_0x125447[_0x195254(0xd5)](_0x4df0cb[_0x195254(0x146)],_0x125447[_0x195254(0xbf)])||_0x125447[_0x195254(0xe4)](_0x4df0cb[_0x195254(0x146)],!![]);const _0x551402=_0x125447['IkWer'](this[_0x195254(0xb6)][_0x195254(0x96)],!![])||_0x125447['hcHcM'](this[_0x195254(0xb6)][_0x195254(0x96)],_0x125447[_0x195254(0xbf)]);if(_0x125447[_0x195254(0xe4)](_0x4df0cb['message'],constants['UPGRADE_REQUIRED'])&&_0x551402)logger[_0x195254(0x152)](_0x125447[_0x195254(0x133)]);else{if(!_0x4df0cb[_0x195254(0x8d)]&&_0x125447[_0x195254(0x154)](_0x4df0cb['status'],0x1f7)&&_0x551402)logger[_0x195254(0x152)](_0x125447[_0x195254(0xe2)]),utilities['fireFunnelTestEvent'](constants[_0x195254(0x143)],_0x24f2d2,this['config'],this['framework']);else{if(!_0x4df0cb[_0x195254(0x8d)]&&_0x551402){logger[_0x195254(0x152)](_0x125447['prhcq']);const _0x3fc7d0={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x125447['YAFUb'](require,_0x125447[_0x195254(0x169)])[_0x195254(0xd9)],'methodUsed':_0x125447['vgRxe'],'proxyConfig':_0x426772,'os':os['platform']()};utilities[_0x195254(0x163)](constants[_0x195254(0xb1)],_0x3fc7d0,this[_0x195254(0xb6)],this[_0x195254(0xc0)]);}else{if(_0x4df0cb[_0x195254(0x8d)]&&!_0x4df0cb['isHealingEnabled']&&_0x551402)logger['info'](_0x125447['mEiCq']);else{if(_0x125447['NFxOW'](_0x4df0cb['status'],0xc8)&&_0x125447[_0x195254(0x95)](_0x4df0cb['status'],0x12c))utilities['fireFunnelTestEvent'](constants['AI_INIT_SUCCESSFUL'],_0x24f2d2,this[_0x195254(0xb6)],this[_0x195254(0xc0)]);else{if(_0x125447[_0x195254(0x89)](_0x4df0cb[_0x195254(0x118)],0x190))_0x24f2d2[_0x195254(0x118)]=_0x4df0cb[_0x195254(0x118)],utilities[_0x195254(0x163)](constants['AI_INIT_FAILURE'],_0x24f2d2,this[_0x195254(0xb6)],this[_0x195254(0xc0)]);else!_0x4df0cb[_0x195254(0x118)]&&utilities[_0x195254(0x163)](constants[_0x195254(0x9d)],_0x24f2d2,this[_0x195254(0xb6)],this[_0x195254(0xc0)]);}}}}}if(_0x4df0cb[_0x195254(0x8d)]&&_0x4df0cb[_0x195254(0x146)]){const _0xd34ca6={};_0xd34ca6[_0x195254(0xcc)]=_0x4df0cb;const _0x51a162=_0xd34ca6;_0x426772&&(_0x51a162[_0x195254(0xfa)]=_0x426772),_0x51a162['framework']=this[_0x195254(0xc0)],_0x51a162[_0x195254(0x173)]=this['config'],helper[_0x195254(0x113)](_0x51a162),logger[_0x195254(0x18e)](_0x125447[_0x195254(0x8b)]);}}catch(_0x3043bc){logger[_0x195254(0x18e)](_0x195254(0xac)+(_0x3043bc[_0x195254(0xb0)]?_0x3043bc[_0x195254(0xb0)]:''));}});await _0x125447['ehyur'](_0x1f1bad);}[a94_0x1eaaa9(0x171)](){const _0x8cb917=a94_0x1eaaa9,_0x171bcf={'nlNPi':function(_0x26608d,_0x44ff0a){return _0x26608d(_0x44ff0a);},'CJkTt':'./setKeepAlive'};_0x171bcf[_0x8cb917(0xe0)](require,_0x171bcf[_0x8cb917(0x18f)])();}['handleExceptions'](){const _0x1aa1ef=a94_0x1eaaa9,_0xd320e3={};_0xd320e3['QojSa']=_0x1aa1ef(0x17c),_0xd320e3[_0x1aa1ef(0x99)]='unhandledRejection',_0xd320e3[_0x1aa1ef(0xa6)]=_0x1aa1ef(0x140);const _0x73b700=_0xd320e3,_0x1e43c9=_0x5169b8=>{const _0x1b5a4d=_0x1aa1ef,_0x2f2a6d=_0x73b700[_0x1b5a4d(0x82)][_0x1b5a4d(0x12d)]('|');let _0x55d5a0=0x0;while(!![]){switch(_0x2f2a6d[_0x55d5a0++]){case'0':this[_0x1b5a4d(0x186)]['push'](util['format']('%j',_0x5169b8));continue;case'1':ClientTroubleShootingService[_0x1b5a4d(0xd1)]();continue;case'2':logger[_0x1b5a4d(0x179)](_0x5169b8['message']);continue;case'3':PerformanceTester[_0x1b5a4d(0x10d)](_0x5169b8);continue;case'4':logger[_0x1b5a4d(0x18e)](util[_0x1b5a4d(0xfd)](_0x5169b8));continue;}break;}};process['on'](_0x73b700[_0x1aa1ef(0x99)],_0x1e43c9),process['on'](_0x73b700[_0x1aa1ef(0xa6)],_0x1e43c9);}async[a94_0x1eaaa9(0x11c)](_0x57d399){const _0x3c29c6=a94_0x1eaaa9,_0x4be2b8={};_0x4be2b8[_0x3c29c6(0xe6)]=_0x3c29c6(0x87),_0x4be2b8[_0x3c29c6(0x16e)]=function(_0x1cd95d,_0x3eba9f){return _0x1cd95d+_0x3eba9f;},_0x4be2b8['xQhYF']=_0x3c29c6(0x155),_0x4be2b8['ZpRZI']=function(_0x1ed06f,_0x43bdb6){return _0x1ed06f+_0x43bdb6;},_0x4be2b8['aKVFo']='Shutdown\x20triggered\x20by\x20';const _0x1588eb=_0x4be2b8,_0x2981f6=_0x1588eb[_0x3c29c6(0xe6)][_0x3c29c6(0x12d)]('|');let _0x22e6d9=0x0;while(!![]){switch(_0x2981f6[_0x22e6d9++]){case'0':this[_0x3c29c6(0xd8)]=_0x57d399;continue;case'1':this[_0x1588eb[_0x3c29c6(0x16e)](_0x1588eb['xQhYF'],_0x57d399)]=!![];continue;case'2':if(this[_0x1588eb[_0x3c29c6(0xc9)](_0x1588eb[_0x3c29c6(0x16b)],_0x57d399)])return;continue;case'3':await BrowserstackCLI[_0x3c29c6(0x18a)]()[_0x3c29c6(0x132)]();continue;case'4':logger[_0x3c29c6(0x152)](_0x1588eb[_0x3c29c6(0xc9)](_0x1588eb[_0x3c29c6(0x11b)],_0x57d399));continue;case'5':await TestHubHandler[_0x3c29c6(0x132)](_0x57d399);continue;case'6':await ClientTroubleShootingService[_0x3c29c6(0xd1)]();continue;case'7':await ClientTroubleShootingService[_0x3c29c6(0xdc)](_0x57d399);continue;}break;}}['exitHandler'](){const _0x2c4665=a94_0x1eaaa9,_0x56fc91={'UqjHA':function(_0x500b9b,_0x127c55){return _0x500b9b===_0x127c55;},'LDMAS':_0x2c4665(0x8c),'gQKSY':function(_0x1d4a24,_0x34a816){return _0x1d4a24>_0x34a816;},'KtVjD':function(_0x522bbf,_0x434cde){return _0x522bbf(_0x434cde);},'iHWtO':function(_0x3f57ab){return _0x3f57ab();},'Rfvqu':_0x2c4665(0xa2)};let _0x137e93=0x0;return async()=>{const _0x3549f4=_0x2c4665;_0x137e93++;if(_0x56fc91[_0x3549f4(0xb5)](_0x137e93,0x1)){helper['checkStopLocalBinaryOnExit'](this['framework'])&&await this[_0x3549f4(0x8a)]();try{logger[_0x3549f4(0x18e)](_0x56fc91[_0x3549f4(0x128)]),await TestHubHandler[_0x3549f4(0x132)](_0x137e93),await ClientTroubleShootingService[_0x3549f4(0xd1)](),await BrowserstackCLI[_0x3549f4(0x18a)]()[_0x3549f4(0x132)]('1');}catch(_0x5aab12){logger['debug'](_0x3549f4(0xf4)+util[_0x3549f4(0xfd)](_0x5aab12));}PerformanceTester[_0x3549f4(0x177)](PerformanceEvents[_0x3549f4(0x180)]);if(PerformanceTester[_0x3549f4(0x13a)]()){const {measures:_0x287507,errors:_0x5a5bd9}=await PerformanceTester[_0x3549f4(0x12a)](),_0x10ae2c={};if(_0x287507&&_0x56fc91['gQKSY'](_0x287507[_0x3549f4(0x88)],0x0)||_0x5a5bd9&&_0x56fc91[_0x3549f4(0x18b)](_0x5a5bd9[_0x3549f4(0x88)],0x0)){const _0x52dcc8={};_0x52dcc8[_0x3549f4(0x15b)]=_0x287507,_0x52dcc8[_0x3549f4(0x101)]=_0x5a5bd9,Object[_0x3549f4(0x15e)](_0x10ae2c,_0x52dcc8);}try{const _0x370cfc=await helper[_0x3549f4(0xbd)](_0x10ae2c,this['config']);logger[_0x3549f4(0x18e)]('Data\x20sent\x20successfully\x20to\x20'+_0x56fc91[_0x3549f4(0x157)](getEdsInstrumentationAPIUrl,'')+_0x3549f4(0xe7)+_0x370cfc['statusCode']);}catch(_0x1e8390){logger[_0x3549f4(0x18e)](_0x3549f4(0x147)+_0x56fc91['KtVjD'](getEdsInstrumentationAPIUrl,'')+_0x3549f4(0x190)+util[_0x3549f4(0xfd)](_0x1e8390));}try{fs[_0x3549f4(0xdb)](path[_0x3549f4(0xf2)](_0x56fc91['iHWtO'](getLogDir),_0x56fc91[_0x3549f4(0xa9)]),JSON[_0x3549f4(0x10e)](_0x10ae2c));}catch(_0x18cd4f){logger[_0x3549f4(0x18e)](_0x3549f4(0xf8)+_0x18cd4f);}}}logger&&logger[_0x3549f4(0x12f)](),fileLogger&&fileLogger[_0x3549f4(0x12f)]();};}}exports['default']=BrowserStackSetup;
1
+ const a94_0x497078=a94_0x54ca;(function(_0x20218a,_0x42f445){const _0x29b839=a94_0x54ca,_0x59a9b6=_0x20218a();while(!![]){try{const _0x3eb788=-parseInt(_0x29b839(0x29c))/0x1+-parseInt(_0x29b839(0x290))/0x2+parseInt(_0x29b839(0x211))/0x3+-parseInt(_0x29b839(0x2dd))/0x4*(parseInt(_0x29b839(0x2d6))/0x5)+-parseInt(_0x29b839(0x2e0))/0x6*(-parseInt(_0x29b839(0x21d))/0x7)+-parseInt(_0x29b839(0x210))/0x8+parseInt(_0x29b839(0x1d8))/0x9;if(_0x3eb788===_0x42f445)break;else _0x59a9b6['push'](_0x59a9b6['shift']());}catch(_0x3f53c4){_0x59a9b6['push'](_0x59a9b6['shift']());}}}(a94_0x48d1,0x32fe1));const util=require(a94_0x497078(0x220)),os=require('os'),path=require(a94_0x497078(0x2c8)),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require(a94_0x497078(0x2b1)),logger=require(a94_0x497078(0x1dd))[a94_0x497078(0x243)],fileLogger=require('./logger')[a94_0x497078(0x268)],{getLogDir}=require('./logger'),helper=require(a94_0x497078(0x24e)),utilities=require(a94_0x497078(0x242)),percyHelper=require(a94_0x497078(0x22c)),hubAllocator=require(a94_0x497078(0x1e0)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a94_0x497078(0x29a)),{setPercyFlag}=require(a94_0x497078(0x275)),TestHubHandler=require(a94_0x497078(0x1d1)),timeoutPromise=require(a94_0x497078(0x23e)),BrowserstackCLI=require(a94_0x497078(0x269)),LoadTestModule=require(a94_0x497078(0x1ea)),{getEdsInstrumentationAPIUrl}=require(a94_0x497078(0x28c)),ClientTroubleShootingService=require(a94_0x497078(0x27b));function a94_0x48d1(){const _0x3b60c6=['Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','BrowserstackHealingInitFailed','setupTCGAuth','uncaughtException','./performance/constants','sdkRunId','316085qIbBGQ','HUB_MANAGEMENT','getLocalConfig','KiZzP','false','VHinm','aQdPG','VBGCs','sJvFU','TCG_AUTH_FAILURE','stop','SIGABRT','FffUL','handled','initialize','TCG_DOWN','stopBrowserstackLocal','koQSD','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','Error\x20in\x20sending\x20testhub\x20stop:\x20','NcmaC','../bin/utils/constants','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','lrDun','getHubUrl','Yijbk','BGKyD','BzaKn','aiHeal:tcgAuth','getPackageVersion','GCXnO','mOBtH','tcg\x20config\x20setup\x20successful.','platforms','NJwIA','2|0|4|3|1','getFinalCaps','BPchf','AzzqH','UPGRADE_REQUIRED','constructor','UkKTn','join','version','path','measureWrapper','getProxyConfigForTcg','reportProcessInterruptionSituation','toString','generateLocalIdentifier','INVALID_INIT_RESP_WITH_USER_IMPACT','win32','custom-repeater','parallelsPerPlatform','Percy\x20started\x20successfully','JBxif','percy','Error\x20in\x20percy\x20setup\x20','10jaMkTW','fKHFG','turboScaleOptions','browserstackLocal','getConfigPath','oVQnN','SIGBREAK','648080mQHXBI','Data\x20sent\x20successfully\x20to\x20','Local\x20binary\x20started\x20successfully','6kAlePF','\x20with\x20error\x20','cliConfig','playwright','status','customRepeaters','isRunning','config','iniJZ','mQjrJ','nyrjU','isTurboScaleSession','./testhub/testhubHandler','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','AUTOLOGCAPTURE_NOTIFICATION','BrowserstackHealing.init','Failed\x20to\x20send\x20data\x20to\x20','debug','message','6588567ywUEVU','isTrue','assign','SDK_CLEANUP','getCentralUser','./logger','intExitHandler','FRAMEWORK','../hubAllocationMethods','default','Gdykf','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','setupTcgConfigFile','setEnvCaps','sanitizeCaps','isLTSSession','setupKeepAlive','0|2|4|6|7|1|3|5','../bin/v2/modules/loadTestModule','qlMXq','length','ddYUf','REIYR','mSPxd','turboScale','LIAnm','ats-repeater','hRFsy','error','AI_INIT_FAILURE','xDbxJ','nqutP','finalize','central_scanner','Fjsbq','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','eZDcF','BrowserstackHealing.init\x20method\x20timed\x20out','AI_INIT_SUCCESSFUL','getInstance','getTurboScaleGridDetails','selfHeal','GHuiK','errorMessage','Percy\x20stopped','beforeExit','SgJZp','Zalhx','setLogLevel','isUndefined','fOviz','issip','url','compareVersions','YXoux','YwTyF','2040056NiIweo','1206450QTutdp','?caps=','writeFileSync','unhandledErrors','handleExceptions','fireFunnelTestEvent','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','dSVrI','hubUrl','skipBinaryInitialisation','SIGTERM','dYMAP','2538669DWmKUQ','proxyConfig','buSib','util','\x20with\x20response\x20','TFpuQ','TLftl','warn','stopPercy','then','measures','rXETY','end','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','env','./percy/utils','proxy','UaEUR','proxyUrl','forceLocal','configPath','isAuthenticated','eNtPd','Calling\x20Build\x20Stop\x20from\x20ExitHandler','NMSGj','../ai-sdk-node/bundle','SDK\x20run\x20started\x20with\x20id:\x20','isBrowserstackInfra','userName\x20or\x20accessKey\x20is\x20not\x20defined','4.5.0','rIoCk','framework','Jkupg','./timeoutPromise','close','UayvI','EpLzC','./utilities','winstonLogger','preInitialize','events.json','sendToEDS','setLogDir','getAccessKey','OkHxk','killSignal','bRCDm','yGbum','stopLocalBinary','./helper','useW3C','skipSessionStatus','turboScaleUrl','Shutdown\x20triggered\x20by\x20','setUpHubUrl','SDKTestAttempted','GHbCA','kGHGw','format','Local\x20binary\x20stopped','testContextOptions','browserStackLocalOptions','SnUgE','SIGINT','init','selenium-webdriver','split','startPercy','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','info','isHealingEnabled','TCG_AUTH_TIMEOUT','platform','reportFinalDetectionState','bMyah','fileLogger','../bin/v2/browserstackCLI','Error\x20in\x20writing\x20events\x20to\x20file\x20','includes','getUserName','envConfig','__isPlaywrightInstalled','toLowerCase','BROWSERSTACK_PERCY','getLocalIdentifier','exceptions','bOlLr','setHandlePWError','./testhub/utils','unhandledRejection','exitHandler','gYkEF','readConfig','bind','../bin/utils/clientTroubleshootingService','skipSessionName','SIGHUP','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','codeceptjs','Spbjd','cancel','startLocalBinary','../../package.json','TCG_URL','userName','isTrialGrid','tcgAuthConfig','BROWSERSTACK_TURBOSCALE','ToSFY','push','true','../bin/utils/apiUtilityMethods','xwAdb','stringify','uQUlK','785766oqrcCs','SIGQUIT','sWTgB','setupBrowserstackLocal','localIdentifier','captureError'];a94_0x48d1=function(){return _0x3b60c6;};return a94_0x48d1();}function a94_0x54ca(_0x4ce88b,_0x1bcc68){const _0x48d1f6=a94_0x48d1();return a94_0x54ca=function(_0x54ca51,_0x3a33ba){_0x54ca51=_0x54ca51-0x1c9;let _0x532feb=_0x48d1f6[_0x54ca51];return _0x532feb;},a94_0x54ca(_0x4ce88b,_0x1bcc68);}class BrowserStackSetup{constructor(_0x1170c7,_0x2be732){const _0x106010=a94_0x497078,_0x7c67e7={'buSib':'13|20|22|12|8|23|3|15|5|10|11|4|9|1|2|18|7|17|19|14|0|16|6|21','issip':'No\x20config\x20provided.','bOlLr':function(_0x221b6d){return _0x221b6d();}},_0x201fbe=_0x7c67e7[_0x106010(0x21f)]['split']('|');let _0x1a8f07=0x0;while(!![]){switch(_0x201fbe[_0x1a8f07++]){case'0':helper[_0x106010(0x2c0)](this[_0x106010(0x1cc)],this['cliConfig'],this[_0x106010(0x26d)]);continue;case'1':global[_0x106010(0x23c)]=_0x2be732;continue;case'2':if(helper[_0x106010(0x209)](this[_0x106010(0x1cc)]))throw new Error(_0x7c67e7[_0x106010(0x20b)]);continue;case'3':this[_0x106010(0x1cc)]=helper[_0x106010(0x279)](this[_0x106010(0x231)]);continue;case'4':this[_0x106010(0x29b)]=_0x7c67e7[_0x106010(0x273)](uuidv4);continue;case'5':this[_0x106010(0x1cc)]['platforms']=this['config'][_0x106010(0x2bd)]||[];continue;case'6':helper[_0x106010(0x208)](this['config'],this['cliConfig'],this['envConfig']);continue;case'7':helper['setBrowserstackInfraFromConfig'](this[_0x106010(0x1cc)],this['cliConfig']);continue;case'8':this[_0x106010(0x2d4)]=null;continue;case'9':this[_0x106010(0x23c)]=_0x2be732;continue;case'10':this[_0x106010(0x1cc)][_0x106010(0x259)]=this['config'][_0x106010(0x259)]||{};continue;case'11':this[_0x106010(0x203)]={};continue;case'12':this['browserstackLocal']=null;continue;case'13':this[_0x106010(0x214)]=[];continue;case'14':this[_0x106010(0x1cc)][_0x106010(0x259)][_0x106010(0x27c)]=!helper[_0x106010(0x238)]()||helper['isTrue'](this['config'][_0x106010(0x259)][_0x106010(0x27c)]);continue;case'15':this[_0x106010(0x2e2)]=helper['setCLICaps'](_0x1170c7);continue;case'16':helper[_0x106010(0x247)](this[_0x106010(0x1cc)]);continue;case'17':helper['setCredentialsFromYmlConfig'](this['config']);continue;case'18':if(this[_0x106010(0x1cc)][_0x106010(0x1f4)])throw new Error(this[_0x106010(0x1cc)][_0x106010(0x1f4)]);continue;case'19':this[_0x106010(0x1cc)]['testContextOptions'][_0x106010(0x250)]=!helper['isBrowserstackInfra']()||helper[_0x106010(0x1d9)](this['config']['testContextOptions'][_0x106010(0x250)]);continue;case'20':helper['normalizeTestReportingEnvVars']();continue;case'21':PerformanceTester['startMonitoring']();continue;case'22':this[_0x106010(0x26d)]=helper[_0x106010(0x1e5)]();continue;case'23':this['configPath']=helper[_0x106010(0x2da)](_0x1170c7);continue;}break;}}[a94_0x497078(0x244)](_0x259b16){const _0x56bb23=a94_0x497078,_0x573c13={'Spbjd':_0x56bb23(0x239),'Fjsbq':function(_0x2a840c,_0x3348e4){return _0x2a840c===_0x3348e4;},'fKHFG':function(_0x22616b,_0x4d7f7c){return _0x22616b===_0x4d7f7c;},'pSZNj':'integrations','XuNvH':_0x56bb23(0x254),'bMyah':function(_0x12c23a,_0x5576f0){return _0x12c23a<_0x5576f0;},'mSPxd':function(_0x56a2b9,_0x2a1843){return _0x56a2b9(_0x2a1843);},'gYkEF':_0x56bb23(0x25e),'oXFwH':function(_0x7493c3,_0x4a5671){return _0x7493c3===_0x4a5671;},'YLESV':_0x56bb23(0x23a),'qlMXq':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','nXhNg':_0x56bb23(0x1e3),'nOCbj':_0x56bb23(0x21b),'iniJZ':_0x56bb23(0x25c),'mOBtH':_0x56bb23(0x27d),'sJvFU':function(_0x948388,_0x5bcaa1){return _0x948388!==_0x5bcaa1;},'oVQnN':_0x56bb23(0x2cf),'Zalhx':_0x56bb23(0x2a7),'VBGCs':_0x56bb23(0x291),'AZwRH':_0x56bb23(0x2dc),'mPEMK':_0x56bb23(0x205)},_0x353ef4=this[_0x56bb23(0x23c)];global[_0x56bb23(0x1cc)]=this[_0x56bb23(0x1cc)],helper[_0x56bb23(0x1e6)](this['config']),this[_0x56bb23(0x24a)]=null,global[_0x56bb23(0x29b)]=this[_0x56bb23(0x29b)],logger['info'](_0x56bb23(0x237)+this[_0x56bb23(0x29b)]),!this[_0x56bb23(0x1cc)][_0x56bb23(0x25a)]&&(this['config']['browserStackLocalOptions']=this[_0x56bb23(0x1cc)]['localOptions']||{});if(helper['isUndefined'](helper[_0x56bb23(0x26c)](this[_0x56bb23(0x1cc)]))||helper['isUndefined'](helper[_0x56bb23(0x248)](this['config'])))throw new Error(_0x573c13[_0x56bb23(0x280)]);helper[_0x56bb23(0x29e)](this[_0x56bb23(0x1cc)])&&helper[_0x56bb23(0x209)](helper[_0x56bb23(0x271)](this[_0x56bb23(0x1cc)]))&&(!helper[_0x56bb23(0x209)](this[_0x56bb23(0x1cc)][_0x56bb23(0x25a)])&&_0x573c13[_0x56bb23(0x1fa)](this[_0x56bb23(0x1cc)]['browserStackLocalOptions'][_0x56bb23(0x2c4)],Object)?!helper[_0x56bb23(0x1d9)](this[_0x56bb23(0x1cc)][_0x56bb23(0x25a)][_0x56bb23(0x21a)])&&(this[_0x56bb23(0x1cc)]['browserStackLocalOptions']['localIdentifier']=helper['generateLocalIdentifier']()):this[_0x56bb23(0x1cc)][_0x56bb23(0x25a)]={'localIdentifier':helper[_0x56bb23(0x2cd)]()});this['config'][_0x56bb23(0x25a)][_0x56bb23(0x21a)]=helper[_0x56bb23(0x1d9)](this['config'][_0x56bb23(0x25a)][_0x56bb23(0x21a)]),helper[_0x56bb23(0x274)](this['config']);if(_0x573c13[_0x56bb23(0x2d7)](_0x353ef4,_0x573c13['pSZNj']))return;this[_0x56bb23(0x215)]();process[_0x56bb23(0x22b)][_0x56bb23(0x288)]&&(this[_0x56bb23(0x1cc)][_0x56bb23(0x1f0)]=helper[_0x56bb23(0x1d9)](process[_0x56bb23(0x22b)][_0x56bb23(0x288)]),this[_0x56bb23(0x1cc)][_0x56bb23(0x2d8)]=this[_0x56bb23(0x1cc)][_0x56bb23(0x2d8)]||{});helper[_0x56bb23(0x1d0)](this[_0x56bb23(0x1cc)])&&(process[_0x56bb23(0x22b)][_0x56bb23(0x288)]=!![]);LoadTestModule[_0x56bb23(0x1e7)](this[_0x56bb23(0x1cc)])&&logger[_0x56bb23(0x1d6)](_0x56bb23(0x27e)+this[_0x56bb23(0x29b)]);if(!helper[_0x56bb23(0x238)]()){try{process['env'][_0x56bb23(0x1df)]=_0x353ef4,utilities['fireFunnelTestEvent'](_0x573c13['XuNvH'],{},this[_0x56bb23(0x1cc)],this[_0x56bb23(0x23c)]);}catch(_0x59732d){logger[_0x56bb23(0x1d6)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x59732d);}return;}if(helper['requireSeleniumWebdriverCheck'](_0x353ef4)){if(global[_0x56bb23(0x26e)])return;_0x573c13[_0x56bb23(0x267)](_0x573c13[_0x56bb23(0x1ef)](parseInt,helper[_0x56bb23(0x2b9)](_0x573c13[_0x56bb23(0x278)])),0x3)&&(this['config'][_0x56bb23(0x24f)]=![]),_0x573c13['oXFwH'](helper[_0x56bb23(0x20d)](helper[_0x56bb23(0x2b9)](_0x573c13[_0x56bb23(0x278)]),_0x573c13['YLESV']),0x1)&&(this[_0x56bb23(0x1cc)][_0x56bb23(0x24f)]=!![]);}(helper[_0x56bb23(0x209)](this[_0x56bb23(0x1cc)]['platforms'])||helper[_0x56bb23(0x209)](this['config'][_0x56bb23(0x2bd)]['length']))&&(helper[_0x56bb23(0x209)](this['config'][_0x56bb23(0x2d1)])?logger[_0x56bb23(0x262)](_0x573c13[_0x56bb23(0x1eb)]):logger[_0x56bb23(0x224)](_0x573c13['nXhNg']),this[_0x56bb23(0x1cc)][_0x56bb23(0x2bd)]=[]);!this['config'][_0x56bb23(0x259)]&&(this[_0x56bb23(0x1cc)][_0x56bb23(0x259)]={});try{process[_0x56bb23(0x22b)][_0x56bb23(0x1df)]=_0x259b16['_'][0x0],utilities[_0x56bb23(0x216)](_0x573c13['XuNvH'],{},this[_0x56bb23(0x1cc)],this['framework']);}catch(_0x21aaa2){logger[_0x56bb23(0x1d6)](_0x56bb23(0x296)+_0x21aaa2);}!this[_0x56bb23(0x1cc)]['disableAutoCaptureLogs']&&logger['info'](constants[_0x56bb23(0x1d3)]),this['intExitHandler']=this[_0x56bb23(0x1de)][_0x56bb23(0x27a)](this),process['on'](_0x573c13['nOCbj'],this[_0x56bb23(0x1de)]),process['on'](_0x573c13[_0x56bb23(0x1cd)],this[_0x56bb23(0x1de)]),process['on'](_0x573c13[_0x56bb23(0x2bb)],this[_0x56bb23(0x1de)]),_0x573c13[_0x56bb23(0x2a4)](process['platform'],_0x573c13[_0x56bb23(0x2db)])?(process['on'](_0x573c13[_0x56bb23(0x207)],this[_0x56bb23(0x1de)]),process['on'](_0x573c13[_0x56bb23(0x2a3)],this[_0x56bb23(0x1de)])):process['on'](_0x573c13['AZwRH'],this['intExitHandler']),process['on'](_0x573c13['mPEMK'],this[_0x56bb23(0x277)]());}async[a94_0x497078(0x2aa)](_0x4138d3){const _0x4c3ba0=a94_0x497078,_0x40778a={'fOviz':_0x4c3ba0(0x1f2),'kGHGw':_0x4c3ba0(0x2d0),'eZDcF':_0x4c3ba0(0x28b),'dYMAP':function(_0x2b036f,_0x482365){return _0x2b036f===_0x482365;},'Yijbk':_0x4c3ba0(0x2e3),'koQSD':function(_0x485e9,_0x882099){return _0x485e9+_0x882099;},'zwnSB':_0x4c3ba0(0x212),'UkKTn':function(_0x47980b,_0x3337fb){return _0x47980b(_0x3337fb);},'rIoCk':_0x4c3ba0(0x27f)};this[_0x4c3ba0(0x244)](_0x4138d3);if(helper[_0x4c3ba0(0x1d0)](this[_0x4c3ba0(0x1cc)])){const _0x3dcd99=await helper[_0x4c3ba0(0x200)](this[_0x4c3ba0(0x1cc)]);this[_0x4c3ba0(0x1cc)]['turboScaleGridDetails']=_0x3dcd99,_0x3dcd99[_0x4c3ba0(0x286)]&&helper['isNotUndefined'](this['config']['browserstackLocal'])&&helper['isTrue'](this[_0x4c3ba0(0x1cc)]['browserstackLocal'])&&(this[_0x4c3ba0(0x1cc)][_0x4c3ba0(0x25a)][_0x4c3ba0(0x294)]=_0x40778a[_0x4c3ba0(0x20a)],this[_0x4c3ba0(0x1cc)][_0x4c3ba0(0x25a)][_0x40778a[_0x4c3ba0(0x256)]]=_0x3dcd99[_0x4c3ba0(0x1ca)]['join'](','),this[_0x4c3ba0(0x1cc)][_0x4c3ba0(0x25a)][_0x4c3ba0(0x230)]=_0x40778a[_0x4c3ba0(0x1fc)]),this['config'][_0x4c3ba0(0x251)]=_0x3dcd99[_0x4c3ba0(0x20c)],this['framework']&&_0x40778a[_0x4c3ba0(0x21c)](this['framework'][_0x4c3ba0(0x26f)](),_0x40778a['Yijbk'])?this[_0x4c3ba0(0x1cc)][_0x4c3ba0(0x251)]=_0x40778a[_0x4c3ba0(0x2ad)](_0x3dcd99['playwrightUrl'],_0x40778a['zwnSB']):constants[_0x4c3ba0(0x219)]=helper[_0x4c3ba0(0x2b4)](this[_0x4c3ba0(0x1cc)]),logger['debug'](_0x4c3ba0(0x1d2)+constants['hubUrl']);}helper['setProxySettings'](this[_0x4c3ba0(0x1cc)]),this[_0x4c3ba0(0x1e8)](),_0x40778a[_0x4c3ba0(0x2c5)](setPercyFlag,this),await this[_0x4c3ba0(0x293)](),![_0x40778a[_0x4c3ba0(0x23b)],_0x40778a[_0x4c3ba0(0x2b5)]][_0x4c3ba0(0x26b)](this[_0x4c3ba0(0x23c)])&&!helper[_0x4c3ba0(0x1d0)](this['config'])&&!helper[_0x4c3ba0(0x1dc)]()[_0x4c3ba0(0x1f9)]&&await this[_0x4c3ba0(0x253)]();}async['setupPercy'](){const _0x4ee88a=a94_0x497078,_0x1584e0={};_0x1584e0[_0x4ee88a(0x206)]=function(_0x2ff67f,_0x1e0775){return _0x2ff67f===_0x1e0775;},_0x1584e0[_0x4ee88a(0x292)]=_0x4ee88a(0x2a0),_0x1584e0['rXETY']=_0x4ee88a(0x1fb),_0x1584e0[_0x4ee88a(0x2c2)]=_0x4ee88a(0x2d2),_0x1584e0[_0x4ee88a(0x23d)]=_0x4ee88a(0x28b),_0x1584e0['nyrjU']=_0x4ee88a(0x205);const _0x4b3f06=_0x1584e0;if(helper[_0x4ee88a(0x1d9)](this[_0x4ee88a(0x1cc)]['percy'])&&(!this['percy']||!this[_0x4ee88a(0x2d4)]['isRunning']()))try{this['percy']=await percyHelper[_0x4ee88a(0x260)](this['config']);if(!this[_0x4ee88a(0x2d4)]){process[_0x4ee88a(0x22b)]['BROWSERSTACK_PERCY']=_0x4b3f06[_0x4ee88a(0x292)];throw new Error(_0x4b3f06[_0x4ee88a(0x228)]);}logger[_0x4ee88a(0x262)](_0x4b3f06[_0x4ee88a(0x2c2)]),process[_0x4ee88a(0x22b)][_0x4ee88a(0x270)]=_0x4b3f06['Jkupg'];let _0x145d7d=0x0;const _0x1f5f6b=async()=>{const _0x53f7e1=_0x4ee88a;_0x145d7d++,_0x4b3f06[_0x53f7e1(0x206)](_0x145d7d,0x1)&&await this[_0x53f7e1(0x225)]();};process['on'](_0x4b3f06[_0x4ee88a(0x1cf)],_0x1f5f6b);}catch(_0x489f00){process[_0x4ee88a(0x22b)][_0x4ee88a(0x270)]=_0x4b3f06['sWTgB'],logger[_0x4ee88a(0x1d6)](_0x4ee88a(0x2d5)+_0x489f00);throw new Error(_0x489f00[_0x4ee88a(0x2cc)]());}}async[a94_0x497078(0x225)](){const _0x46ec20=a94_0x497078,_0x5c2abf={};_0x5c2abf[_0x46ec20(0x233)]=_0x46ec20(0x204),_0x5c2abf['TFpuQ']='Error\x20occured\x20while\x20stopping\x20percy';const _0x36f6df=_0x5c2abf;if(this['percy']&&this[_0x46ec20(0x2d4)][_0x46ec20(0x1cb)]())try{await percyHelper[_0x46ec20(0x225)](this['percy']),logger[_0x46ec20(0x262)](_0x36f6df['eNtPd']);}catch(_0x3518a9){logger[_0x46ec20(0x1f4)](_0x36f6df[_0x46ec20(0x222)],_0x3518a9[_0x46ec20(0x1d7)]);}}async[a94_0x497078(0x293)](){const _0x22c211=a94_0x497078,_0x195c6b={};_0x195c6b[_0x22c211(0x20f)]=_0x22c211(0x261),_0x195c6b['BPchf']=_0x22c211(0x2df);const _0x39de22=_0x195c6b;if(helper[_0x22c211(0x238)]()&&helper[_0x22c211(0x1d9)](this[_0x22c211(0x1cc)][_0x22c211(0x2d9)])&&(!this[_0x22c211(0x2d9)]||!this[_0x22c211(0x2d9)][_0x22c211(0x1cb)]()))try{if(this[_0x22c211(0x1cc)][_0x22c211(0x25a)][_0x22c211(0x21a)]){logger[_0x22c211(0x1d6)](_0x39de22[_0x22c211(0x20f)]);return;}this['browserstackLocal']=await helper[_0x22c211(0x282)](this[_0x22c211(0x1cc)]),logger[_0x22c211(0x262)](_0x39de22[_0x22c211(0x2c1)]);}catch(_0x1057cc){logger['debug'](_0x1057cc);throw new Error(_0x1057cc[_0x22c211(0x2cc)]());}}async[a94_0x497078(0x2ac)](){const _0x49a01d=a94_0x497078,_0x560d69={};_0x560d69[_0x49a01d(0x2b6)]=_0x49a01d(0x258),_0x560d69[_0x49a01d(0x2a2)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x342b33=_0x560d69;if(this[_0x49a01d(0x2d9)]&&this[_0x49a01d(0x2d9)][_0x49a01d(0x1cb)]())try{await helper[_0x49a01d(0x24d)](this['browserstackLocal']),logger[_0x49a01d(0x262)](_0x342b33[_0x49a01d(0x2b6)]);}catch(_0x28b1c1){logger[_0x49a01d(0x1f4)](_0x342b33[_0x49a01d(0x2a2)],_0x28b1c1[_0x49a01d(0x1d7)]);}}async['setUpHubUrl'](){const _0x5a762c=a94_0x497078;return PerformanceTester[_0x5a762c(0x2c9)](PerformanceAutEvents[_0x5a762c(0x29d)],async()=>{const _0x14cbc5=_0x5a762c;await hubAllocator['allocateHub'](this[_0x14cbc5(0x1cc)]);})();}async[a94_0x497078(0x298)](){const _0x4bb0c0=a94_0x497078,_0x1859e9={'VHinm':function(_0x1309b5,_0x5c9ed2){return _0x1309b5(_0x5c9ed2);},'nqutP':_0x4bb0c0(0x236),'xDbxJ':function(_0x10a31b,_0x3978e0,_0x5dee2a,_0x1a4858,_0x275897,_0x406999,_0x3ed148){return _0x10a31b(_0x3978e0,_0x5dee2a,_0x1a4858,_0x275897,_0x406999,_0x3ed148);},'EpLzC':_0x4bb0c0(0x1fd),'uQUlK':_0x4bb0c0(0x297),'NcmaC':_0x4bb0c0(0x283),'xwAdb':_0x4bb0c0(0x1d4),'BSNds':function(_0x2aa55a,_0xcfaa22){return _0x2aa55a(_0xcfaa22);},'mQjrJ':function(_0x158cd9,_0x3ce7ab){return _0x158cd9===_0x3ce7ab;},'GHbCA':_0x4bb0c0(0x28b),'yGbum':function(_0x16b960,_0x14ab03){return _0x16b960===_0x14ab03;},'GCXnO':function(_0x25d38f,_0x8df279){return _0x25d38f===_0x8df279;},'NMSGj':_0x4bb0c0(0x2b2),'ukJno':function(_0x44458f,_0x338efe){return _0x44458f===_0x338efe;},'BzaKn':_0x4bb0c0(0x2ae),'JBxif':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','Qifub':function(_0x33c1fd,_0x498261){return _0x33c1fd(_0x498261);},'IVihk':_0x4bb0c0(0x217),'lrDun':function(_0x1b3fe7,_0x22d775){return _0x1b3fe7>=_0x22d775;},'TLftl':function(_0x4ab2a2,_0x4a0758){return _0x4ab2a2<_0x4a0758;},'dSVrI':function(_0x4c76c5,_0xe6ba66){return _0x4c76c5>=_0xe6ba66;},'OkHxk':_0x4bb0c0(0x2bc),'ddYUf':_0x4bb0c0(0x2b8),'REIYR':function(_0xb485){return _0xb485();}},_0x4fc782=PerformanceTester[_0x4bb0c0(0x2c9)](_0x1859e9[_0x4bb0c0(0x1ed)],async()=>{const _0xbe2b21=_0x4bb0c0;try{const _0x4aaff1=new Date(),_0x32ab7a=helper[_0xbe2b21(0x2ca)](this[_0xbe2b21(0x1cc)]),_0x24f242=_0x1859e9[_0xbe2b21(0x2a1)](require,path[_0xbe2b21(0x2c6)](__dirname,_0x1859e9[_0xbe2b21(0x1f7)])),_0x52230f=_0x1859e9[_0xbe2b21(0x1f6)](timeoutPromise,constants[_0xbe2b21(0x264)],_0x1859e9[_0xbe2b21(0x241)],_0x1859e9[_0xbe2b21(0x28f)],_0x4aaff1,this[_0xbe2b21(0x1cc)],this['framework']),_0x30a097={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x1859e9[_0xbe2b21(0x2a1)](require,_0x1859e9[_0xbe2b21(0x2b0)])[_0xbe2b21(0x2c7)],'methodUsed':_0x1859e9['xwAdb'],'proxyConfig':_0x32ab7a,'os':os[_0xbe2b21(0x265)]()};if(_0x32ab7a&&_0x32ab7a[_0xbe2b21(0x22f)]){utilities['fireFunnelTestEvent'](constants['AI_PROXY_FAILURE'],_0x30a097,this['config'],this['framework']);return;}const _0x64be15={};_0x64be15[_0xbe2b21(0x22d)]=_0x32ab7a;const _0x5195e0=await Promise['race']([_0x24f242[_0xbe2b21(0x25d)](this[_0xbe2b21(0x1cc)]['accessKey'],this[_0xbe2b21(0x1cc)][_0xbe2b21(0x285)],constants['TCG_URL'],_0x1859e9['BSNds'](require,_0x1859e9['NcmaC'])[_0xbe2b21(0x2c7)],_0x64be15)[_0xbe2b21(0x226)](_0x5c67b8=>{const _0x24ae12=_0xbe2b21;return _0x52230f[_0x24ae12(0x281)](),_0x5c67b8;}),_0x52230f]);_0x5195e0[_0xbe2b21(0x263)]=_0x1859e9[_0xbe2b21(0x1ce)](_0x5195e0['isHealingEnabled'],_0x1859e9[_0xbe2b21(0x255)])||_0x1859e9[_0xbe2b21(0x24c)](_0x5195e0[_0xbe2b21(0x263)],!![]);const _0x316530=_0x1859e9[_0xbe2b21(0x1ce)](this[_0xbe2b21(0x1cc)][_0xbe2b21(0x201)],!![])||_0x1859e9['mQjrJ'](this['config'][_0xbe2b21(0x201)],_0x1859e9[_0xbe2b21(0x255)]);if(_0x1859e9[_0xbe2b21(0x2ba)](_0x5195e0[_0xbe2b21(0x1d7)],constants[_0xbe2b21(0x2c3)])&&_0x316530)logger[_0xbe2b21(0x262)](_0x1859e9[_0xbe2b21(0x235)]);else{if(!_0x5195e0['isAuthenticated']&&_0x1859e9['ukJno'](_0x5195e0['status'],0x1f7)&&_0x316530)logger[_0xbe2b21(0x262)](_0x1859e9[_0xbe2b21(0x2b7)]),utilities[_0xbe2b21(0x216)](constants[_0xbe2b21(0x2ab)],_0x30a097,this['config'],this[_0xbe2b21(0x23c)]);else{if(!_0x5195e0[_0xbe2b21(0x232)]&&_0x316530){logger[_0xbe2b21(0x262)](_0x1859e9[_0xbe2b21(0x2d3)]);const _0x3257b2={'tcgUrl':constants[_0xbe2b21(0x284)],'sdkVersion':_0x1859e9['Qifub'](require,_0x1859e9['NcmaC'])[_0xbe2b21(0x2c7)],'methodUsed':_0x1859e9[_0xbe2b21(0x28d)],'proxyConfig':_0x32ab7a,'os':os['platform']()};utilities['fireFunnelTestEvent'](constants[_0xbe2b21(0x2a5)],_0x3257b2,this[_0xbe2b21(0x1cc)],this[_0xbe2b21(0x23c)]);}else{if(_0x5195e0[_0xbe2b21(0x232)]&&!_0x5195e0[_0xbe2b21(0x263)]&&_0x316530)logger[_0xbe2b21(0x262)](_0x1859e9['IVihk']);else{if(_0x1859e9[_0xbe2b21(0x2b3)](_0x5195e0[_0xbe2b21(0x1c9)],0xc8)&&_0x1859e9[_0xbe2b21(0x223)](_0x5195e0[_0xbe2b21(0x1c9)],0x12c))utilities[_0xbe2b21(0x216)](constants[_0xbe2b21(0x1fe)],_0x30a097,this[_0xbe2b21(0x1cc)],this[_0xbe2b21(0x23c)]);else{if(_0x1859e9[_0xbe2b21(0x218)](_0x5195e0[_0xbe2b21(0x1c9)],0x190))_0x30a097[_0xbe2b21(0x1c9)]=_0x5195e0['status'],utilities[_0xbe2b21(0x216)](constants[_0xbe2b21(0x1f5)],_0x30a097,this[_0xbe2b21(0x1cc)],this[_0xbe2b21(0x23c)]);else!_0x5195e0[_0xbe2b21(0x1c9)]&&utilities[_0xbe2b21(0x216)](constants[_0xbe2b21(0x2ce)],_0x30a097,this[_0xbe2b21(0x1cc)],this['framework']);}}}}}if(_0x5195e0[_0xbe2b21(0x232)]&&_0x5195e0[_0xbe2b21(0x263)]){const _0x5cb7de={};_0x5cb7de[_0xbe2b21(0x287)]=_0x5195e0;const _0x4c13d7=_0x5cb7de;_0x32ab7a&&(_0x4c13d7[_0xbe2b21(0x21e)]=_0x32ab7a),_0x4c13d7[_0xbe2b21(0x23c)]=this[_0xbe2b21(0x23c)],_0x4c13d7['bstackConfig']=this[_0xbe2b21(0x1cc)],helper[_0xbe2b21(0x1e4)](_0x4c13d7),logger[_0xbe2b21(0x1d6)](_0x1859e9[_0xbe2b21(0x249)]);}}catch(_0x54b504){logger[_0xbe2b21(0x1d6)](_0xbe2b21(0x22a)+(_0x54b504[_0xbe2b21(0x1d7)]?_0x54b504[_0xbe2b21(0x1d7)]:''));}});await _0x1859e9[_0x4bb0c0(0x1ee)](_0x4fc782);}[a94_0x497078(0x1e8)](){const _0x495ead=a94_0x497078,_0x54e216={'Gdykf':function(_0x38cdab,_0x780a3f){return _0x38cdab(_0x780a3f);},'LIAnm':'./setKeepAlive'};_0x54e216[_0x495ead(0x1e2)](require,_0x54e216[_0x495ead(0x1f1)])();}[a94_0x497078(0x215)](){const _0xfc522a=a94_0x497078,_0x32084f={};_0x32084f[_0xfc522a(0x24b)]=_0xfc522a(0x2bf),_0x32084f[_0xfc522a(0x240)]=_0xfc522a(0x276),_0x32084f[_0xfc522a(0x22e)]=_0xfc522a(0x299);const _0x2ff549=_0x32084f,_0x504fcb=_0x43f368=>{const _0x429cb1=_0xfc522a,_0x5dc055=_0x2ff549[_0x429cb1(0x24b)][_0x429cb1(0x25f)]('|');let _0x2c9dcd=0x0;while(!![]){switch(_0x5dc055[_0x2c9dcd++]){case'0':logger[_0x429cb1(0x1d6)](util[_0x429cb1(0x257)](_0x43f368));continue;case'1':ClientTroubleShootingService['reportFinalDetectionState']();continue;case'2':logger['error'](_0x43f368[_0x429cb1(0x1d7)]);continue;case'3':PerformanceTester[_0x429cb1(0x295)](_0x43f368);continue;case'4':this[_0x429cb1(0x214)][_0x429cb1(0x28a)](util[_0x429cb1(0x257)]('%j',_0x43f368));continue;}break;}};process['on'](_0x2ff549['UayvI'],_0x504fcb),process['on'](_0x2ff549[_0xfc522a(0x22e)],_0x504fcb);}async[a94_0x497078(0x1de)](_0x16c112){const _0x599390=a94_0x497078,_0x2c3cbb={};_0x2c3cbb[_0x599390(0x2a8)]=_0x599390(0x1e9),_0x2c3cbb[_0x599390(0x202)]=function(_0x5a0789,_0x3d7eeb){return _0x5a0789+_0x3d7eeb;},_0x2c3cbb['ToSFY']=_0x599390(0x2a9),_0x2c3cbb[_0x599390(0x2be)]=function(_0x2037d0,_0x3b97d4){return _0x2037d0+_0x3b97d4;},_0x2c3cbb[_0x599390(0x25b)]=function(_0x35ca17,_0x1fdf1b){return _0x35ca17+_0x1fdf1b;},_0x2c3cbb[_0x599390(0x29f)]=_0x599390(0x252);const _0x30d506=_0x2c3cbb,_0x35222c=_0x30d506[_0x599390(0x2a8)][_0x599390(0x25f)]('|');let _0x202445=0x0;while(!![]){switch(_0x35222c[_0x202445++]){case'0':if(this[_0x30d506['GHuiK'](_0x30d506[_0x599390(0x289)],_0x16c112)])return;continue;case'1':await TestHubHandler[_0x599390(0x2a6)](_0x16c112);continue;case'2':this[_0x30d506[_0x599390(0x2be)](_0x30d506['ToSFY'],_0x16c112)]=!![];continue;case'3':await ClientTroubleShootingService[_0x599390(0x266)]();continue;case'4':logger[_0x599390(0x262)](_0x30d506[_0x599390(0x25b)](_0x30d506[_0x599390(0x29f)],_0x16c112));continue;case'5':await BrowserstackCLI[_0x599390(0x1ff)]()[_0x599390(0x2a6)]();continue;case'6':this[_0x599390(0x24a)]=_0x16c112;continue;case'7':await ClientTroubleShootingService[_0x599390(0x2cb)](_0x16c112);continue;}break;}}[a94_0x497078(0x277)](){const _0x136f7d=a94_0x497078,_0x3af160={'YXoux':function(_0x14018b,_0x304948){return _0x14018b===_0x304948;},'IQtZp':_0x136f7d(0x234),'hRFsy':function(_0x5429a0,_0x428da5){return _0x5429a0>_0x428da5;},'sVeyH':function(_0x56f49b,_0x40609b){return _0x56f49b(_0x40609b);},'jUOdh':function(_0x2a6624){return _0x2a6624();},'hzSVV':_0x136f7d(0x245)};let _0x127b4e=0x0;return async()=>{const _0x1085cc=_0x136f7d;_0x127b4e++;if(_0x3af160[_0x1085cc(0x20e)](_0x127b4e,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x1085cc(0x23c)])&&await this[_0x1085cc(0x2ac)]();try{logger[_0x1085cc(0x1d6)](_0x3af160['IQtZp']),await TestHubHandler[_0x1085cc(0x2a6)](_0x127b4e),await ClientTroubleShootingService[_0x1085cc(0x266)](),await BrowserstackCLI[_0x1085cc(0x1ff)]()[_0x1085cc(0x2a6)]('1');}catch(_0x3f99ab){logger[_0x1085cc(0x1d6)](_0x1085cc(0x2af)+util['format'](_0x3f99ab));}PerformanceTester[_0x1085cc(0x229)](PerformanceEvents[_0x1085cc(0x1db)]);if(PerformanceTester['isEnabled']()){const {measures:_0x55b130,errors:_0x4b0e59}=await PerformanceTester[_0x1085cc(0x1f8)](),_0x112413={};if(_0x55b130&&_0x3af160[_0x1085cc(0x1f3)](_0x55b130['length'],0x0)||_0x4b0e59&&_0x3af160[_0x1085cc(0x1f3)](_0x4b0e59[_0x1085cc(0x1ec)],0x0)){const _0x1d3f83={};_0x1d3f83[_0x1085cc(0x227)]=_0x55b130,_0x1d3f83[_0x1085cc(0x272)]=_0x4b0e59,Object[_0x1085cc(0x1da)](_0x112413,_0x1d3f83);}try{const _0x970f78=await helper[_0x1085cc(0x246)](_0x112413,this[_0x1085cc(0x1cc)]);logger['debug'](_0x1085cc(0x2de)+_0x3af160['sVeyH'](getEdsInstrumentationAPIUrl,'')+_0x1085cc(0x221)+_0x970f78['statusCode']);}catch(_0x3364f6){logger[_0x1085cc(0x1d6)](_0x1085cc(0x1d5)+_0x3af160['sVeyH'](getEdsInstrumentationAPIUrl,'')+_0x1085cc(0x2e1)+util[_0x1085cc(0x257)](_0x3364f6));}try{fs[_0x1085cc(0x213)](path[_0x1085cc(0x2c6)](_0x3af160['jUOdh'](getLogDir),_0x3af160['hzSVV']),JSON[_0x1085cc(0x28e)](_0x112413));}catch(_0x147491){logger[_0x1085cc(0x1d6)](_0x1085cc(0x26a)+_0x147491);}}}logger&&logger[_0x1085cc(0x23f)](),fileLogger&&fileLogger[_0x1085cc(0x23f)]();};}}exports[a94_0x497078(0x1e1)]=BrowserStackSetup;
@@ -1 +1 @@
1
- const a95_0x147d2b=a95_0x27fc;(function(_0x4e1803,_0x4acb01){const _0xb986a8=a95_0x27fc,_0x1c4779=_0x4e1803();while(!![]){try{const _0x4d4671=-parseInt(_0xb986a8(0x140))/0x1*(parseInt(_0xb986a8(0x19d))/0x2)+-parseInt(_0xb986a8(0x137))/0x3*(parseInt(_0xb986a8(0x1ce))/0x4)+parseInt(_0xb986a8(0x17e))/0x5+parseInt(_0xb986a8(0x16c))/0x6*(parseInt(_0xb986a8(0x148))/0x7)+-parseInt(_0xb986a8(0x1d0))/0x8*(-parseInt(_0xb986a8(0x1ef))/0x9)+-parseInt(_0xb986a8(0x155))/0xa*(-parseInt(_0xb986a8(0x1c0))/0xb)+-parseInt(_0xb986a8(0x1db))/0xc*(parseInt(_0xb986a8(0x189))/0xd);if(_0x4d4671===_0x4acb01)break;else _0x1c4779['push'](_0x1c4779['shift']());}catch(_0x13a44b){_0x1c4779['push'](_0x1c4779['shift']());}}}(a95_0x2f95,0x3fd77));const util=require(a95_0x147d2b(0x179)),logger=require(a95_0x147d2b(0x12d))['winstonLogger'],accessibilityHelper=require(a95_0x147d2b(0x145)),globals=require('../globals'),scripts=require(a95_0x147d2b(0x181)),PerformanceTester=require(a95_0x147d2b(0x1ae)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x147d2b(0x13a)),BrowserstackCLI=require(a95_0x147d2b(0x1ac));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x147d2b(0x143));}catch(a95_0x4ac7f8){logger[a95_0x147d2b(0x18e)](a95_0x147d2b(0x17c));}const a95_0x18d69c={};a95_0x18d69c['maxRetries']=0x1,a95_0x18d69c[a95_0x147d2b(0x12f)]=0x7530,a95_0x18d69c['defaultTimeoutMs']=0x7530;const RETRY_CONFIG=a95_0x18d69c,setConfigTimeout=(_0x3d64a3,_0x20a7dd=null)=>{const _0x3e43cf=a95_0x147d2b,_0x60c536={'FJKzY':function(_0x437cf0,_0xffc876){return _0x437cf0===_0xffc876;},'dvyRu':_0x3e43cf(0x131),'QoOZH':function(_0x55b5df,_0xa092d3){return _0x55b5df*_0xa092d3;},'fLtCu':function(_0x47a665,_0x54f048){return _0x47a665(_0x54f048);}};if(BrowserstackCLI[_0x3e43cf(0x1cc)]()[_0x3e43cf(0x157)]()&&BrowserstackCLI[_0x3e43cf(0x1cc)]()['getAccessibilityModule']()){const _0x48d048=BrowserstackCLI[_0x3e43cf(0x1cc)]()[_0x3e43cf(0x1b8)]()[_0x3e43cf(0x17b)],_0x22a92b=_0x48d048[_0x3e43cf(0x1a3)][_0x3e43cf(0x1ed)]||[];for(const _0x4ce756 of _0x22a92b){_0x60c536[_0x3e43cf(0x1de)](_0x4ce756[_0x3e43cf(0x16a)],_0x60c536['dvyRu'])&&_0x60c536[_0x3e43cf(0x1de)](_0x20a7dd,null)&&(_0x3d64a3[_0x3e43cf(0x12f)]=_0x60c536['QoOZH'](_0x60c536[_0x3e43cf(0x151)](parseInt,_0x4ce756['value']),0x3e8));}}else process[_0x3e43cf(0x19e)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x3d64a3[_0x3e43cf(0x12f)]=_0x60c536[_0x3e43cf(0x136)](_0x60c536['fLtCu'](parseInt,process[_0x3e43cf(0x19e)][_0x3e43cf(0x14e)]),0x3e8));},detectDriverType=_0x1f0031=>{const _0x236883=a95_0x147d2b,_0x228e28={};_0x228e28[_0x236883(0x14f)]='unknown',_0x228e28[_0x236883(0x15f)]=function(_0x1c3703,_0x3f16a6){return _0x1c3703===_0x3f16a6;},_0x228e28[_0x236883(0x1a9)]=_0x236883(0x1e7),_0x228e28[_0x236883(0x1b1)]=function(_0x22e6e2,_0x34c6d0){return _0x22e6e2===_0x34c6d0;},_0x228e28[_0x236883(0x160)]='playwright-page',_0x228e28[_0x236883(0x1c4)]=_0x236883(0x1df),_0x228e28[_0x236883(0x149)]=function(_0x1bb624,_0x38b12b){return _0x1bb624===_0x38b12b;},_0x228e28[_0x236883(0x1af)]='Page',_0x228e28['UbwqQ']='WebDriver',_0x228e28[_0x236883(0x1d6)]=_0x236883(0x156),_0x228e28['JdTqO']=_0x236883(0x1ba),_0x228e28[_0x236883(0x14d)]=function(_0x243a00,_0x1d8faa){return _0x243a00||_0x1d8faa;},_0x228e28[_0x236883(0x16e)]=_0x236883(0x1e6);const _0x5dd243=_0x228e28;if(!_0x1f0031){const _0x1934f9={};return _0x1934f9[_0x236883(0x18f)]=![],_0x1934f9['type']=_0x5dd243[_0x236883(0x14f)],_0x1934f9;}if(_0x5dd243[_0x236883(0x15f)](typeof _0x1f0031[_0x236883(0x1c3)],_0x5dd243['WTtxi'])&&_0x5dd243[_0x236883(0x1b1)](typeof _0x1f0031[_0x236883(0x141)],_0x5dd243['WTtxi'])&&_0x5dd243[_0x236883(0x1b1)](typeof _0x1f0031[_0x236883(0x1cf)],_0x5dd243[_0x236883(0x1a9)])){const _0x5a4928={};return _0x5a4928[_0x236883(0x18f)]=!![],_0x5a4928['type']=_0x5dd243[_0x236883(0x160)],_0x5a4928;}if(_0x5dd243[_0x236883(0x1b1)](typeof _0x1f0031['executeAsyncScript'],_0x5dd243[_0x236883(0x1a9)])&&_0x5dd243[_0x236883(0x1b1)](typeof _0x1f0031['getCapabilities'],_0x5dd243[_0x236883(0x1a9)])){const _0x43eafa={};return _0x43eafa[_0x236883(0x18f)]=![],_0x43eafa[_0x236883(0x1b4)]=_0x5dd243['cotog'],_0x43eafa;}const _0x1a5e9c=_0x1f0031[_0x236883(0x1d7)]?.[_0x236883(0x16a)];if(_0x5dd243[_0x236883(0x149)](_0x1a5e9c,_0x5dd243[_0x236883(0x1af)])){const _0x3adcf3={};return _0x3adcf3[_0x236883(0x18f)]=!![],_0x3adcf3[_0x236883(0x1b4)]=_0x5dd243['mObeK'],_0x3adcf3;}if(_0x5dd243['yRtFI'](_0x1a5e9c,_0x5dd243[_0x236883(0x1a2)])){const _0x328006={};return _0x328006[_0x236883(0x18f)]=![],_0x328006['type']=_0x5dd243[_0x236883(0x1c4)],_0x328006;}if(_0x5dd243[_0x236883(0x1b1)](_0x1a5e9c,_0x5dd243[_0x236883(0x1d6)])){const _0xa2f370={};return _0xa2f370[_0x236883(0x18f)]=!![],_0xa2f370[_0x236883(0x1b4)]=_0x5dd243['JdTqO'],_0xa2f370;}logger[_0x236883(0x162)](_0x236883(0x1e4)+_0x5dd243['fpOKy'](_0x1a5e9c,_0x5dd243[_0x236883(0x16e)]));const _0x3b0cb0={};return _0x3b0cb0[_0x236883(0x18f)]=![],_0x3b0cb0[_0x236883(0x1b4)]=_0x5dd243[_0x236883(0x14f)],_0x3b0cb0;},withTimeout=(_0x15eee7,_0x4a9605)=>{return Promise['race']([_0x15eee7,new Promise((_0x906104,_0x5091e8)=>setTimeout(()=>_0x5091e8(new Error('Operation\x20timed\x20out\x20after\x20'+_0x4a9605+'ms')),_0x4a9605))]);};exports[a95_0x147d2b(0x1e8)]=async(_0xe3d2e5,_0x1ed1a2=null,_0x3aaa39=null)=>{const _0x3eb986=a95_0x147d2b,_0x2b0159={'BMMXZ':function(_0x1802c0,_0x4d1da8){return _0x1802c0&&_0x4d1da8;},'eXnCi':function(_0x12dbd4,_0x55664c,_0x271dcc){return _0x12dbd4(_0x55664c,_0x271dcc);},'nBjEL':function(_0xffeb98,_0xf0553c){return _0xffeb98===_0xf0553c;},'OfbJK':_0x3eb986(0x1ba),'nNLxI':function(_0x3bc74a,_0x24c7fe){return _0x3bc74a(_0x24c7fe);},'KIVky':_0x3eb986(0x142),'KtfGu':_0x3eb986(0x169),'XZyPg':'unknown_method','ngmuw':'function','dfMKk':function(_0x348493,_0x47d143){return _0x348493===_0x47d143;},'EEGYc':function(_0x13e7ca,_0x37cc21){return _0x13e7ca<=_0x37cc21;},'JkwEg':function(_0x2b3c99,_0x558ad4){return _0x2b3c99+_0x558ad4;},'UyFCr':function(_0x2e0bb6,_0x4704e1){return _0x2e0bb6+_0x4704e1;},'uFhWE':_0x3eb986(0x1c6)},{isPlaywright:_0x4a4efb,type:_0x3d31d9}=_0x2b0159[_0x3eb986(0x1a8)](detectDriverType,_0xe3d2e5),_0x4da8fa=_0x4a4efb?global[_0x3eb986(0x1aa)]:accessibilityHelper[_0x3eb986(0x14a)]()&&globals['getGlobal'](_0x2b0159[_0x3eb986(0x16f)])&&globals['getGlobal'](_0x2b0159['KtfGu']);if(!_0x4da8fa)return logger[_0x3eb986(0x162)](_0x3eb986(0x1b5)+_0x3d31d9+_0x3eb986(0x175)),![];const _0x1f2b37=_0x1ed1a2||global[_0x3eb986(0x15a)]||_0x2b0159[_0x3eb986(0x183)];let _0x17c390=null;const _0x313082={'testhub_btcer_uuid':global[_0x3eb986(0x153)]?.['currentTest']?.['id'],'url':_0x2b0159[_0x3eb986(0x178)](typeof _0xe3d2e5[_0x3eb986(0x141)],_0x2b0159[_0x3eb986(0x195)])?await _0xe3d2e5['url']():_0x2b0159['dfMKk'](typeof _0xe3d2e5[_0x3eb986(0x1ca)],_0x2b0159[_0x3eb986(0x195)])?await _0xe3d2e5[_0x3eb986(0x1ca)]():'','automate_session_id':_0x2b0159[_0x3eb986(0x168)](typeof _0xe3d2e5[_0x3eb986(0x1b6)],_0x2b0159[_0x3eb986(0x195)])?(await _0xe3d2e5[_0x3eb986(0x1b6)]())[_0x3eb986(0x185)]():''};for(let _0x24d202=0x1;_0x2b0159[_0x3eb986(0x194)](_0x24d202,_0x2b0159[_0x3eb986(0x14c)](RETRY_CONFIG[_0x3eb986(0x1ec)],0x1));_0x24d202++){try{return logger['debug']('Accessibility\x20scan\x20attempt\x20'+_0x24d202+'/'+_0x2b0159[_0x3eb986(0x173)](RETRY_CONFIG['maxRetries'],0x1)+_0x3eb986(0x146)+_0x1f2b37+'\x20('+_0x3d31d9+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3eb986(0x1b3)],async()=>{const _0x388e65=_0x3eb986;let _0x15556f;if(_0x2b0159[_0x388e65(0x134)](_0x4a4efb,playwrightA11yHelper)){_0x2b0159[_0x388e65(0x192)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x388e65(0x158)](_0xe3d2e5,RETRY_CONFIG['timeoutMs']);let _0x6d7ab8=_0xe3d2e5;_0x2b0159[_0x388e65(0x178)](_0x3d31d9,_0x2b0159[_0x388e65(0x1e3)])&&(_0x6d7ab8=_0xe3d2e5[_0x388e65(0x190)]),_0x15556f=await _0x2b0159[_0x388e65(0x192)](withTimeout,playwrightA11yHelper['performScan'](_0x6d7ab8,_0x1f2b37),RETRY_CONFIG[_0x388e65(0x12f)]),await exports['setPlaywrightScriptTimeout'](_0xe3d2e5,RETRY_CONFIG[_0x388e65(0x13c)]);}else await exports[_0x388e65(0x198)](_0xe3d2e5,RETRY_CONFIG[_0x388e65(0x12f)]),_0x15556f=await _0x2b0159[_0x388e65(0x192)](withTimeout,accessibilityHelper[_0x388e65(0x15e)](_0xe3d2e5,_0x1f2b37),RETRY_CONFIG[_0x388e65(0x12f)]),await exports['setSeleniumScriptTimeout'](_0xe3d2e5,RETRY_CONFIG[_0x388e65(0x13c)]);logger[_0x388e65(0x18e)](_0x388e65(0x17a)+_0x24d202+_0x388e65(0x159));},{'command':_0x1f2b37,..._0x313082})(),logger[_0x3eb986(0x1e2)](_0x3eb986(0x166)+_0x24d202+'.'),!![];}catch(_0x1ff2ed){_0x17c390=_0x1ff2ed,logger[_0x3eb986(0x18e)]('Accessibility\x20scan\x20attempt\x20'+_0x24d202+_0x3eb986(0x1ab)+_0x1f2b37+'\x20('+_0x3d31d9+_0x3eb986(0x1ea)+_0x1ff2ed[_0x3eb986(0x14b)]);}}return logger[_0x3eb986(0x1ee)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x1f2b37+'\x20('+_0x3d31d9+_0x3eb986(0x172)+(_0x17c390?.[_0x3eb986(0x14b)]||_0x2b0159[_0x3eb986(0x19c)])),![];},exports[a95_0x147d2b(0x1e5)]=async(_0x2343c3,_0x5290b1)=>{const _0x3a6f82=a95_0x147d2b,_0x33f7a8={'ruOMY':function(_0x2d5c99,_0x5c3d30){return _0x2d5c99(_0x5c3d30);},'vcbsF':_0x3a6f82(0x142),'FUKps':'bstackA11yShouldScan','FeEiM':function(_0xbd2661,_0x53af90){return _0xbd2661<=_0x53af90;},'nNBZh':function(_0x3d9903,_0x1b48d9){return _0x3d9903+_0x1b48d9;},'ZVXCI':function(_0x299eec,_0xbbf99f){return _0x299eec&&_0xbbf99f;},'BhguT':function(_0x537b14,_0x5b949d,_0x1eb99d){return _0x537b14(_0x5b949d,_0x1eb99d);},'beqFO':function(_0x139bd7,_0x2ba6f2,_0x39ce3a){return _0x139bd7(_0x2ba6f2,_0x39ce3a);},'NXFBm':'Unknown\x20error'},{isPlaywright:_0x2ac589,type:_0x4bccf3}=_0x33f7a8['ruOMY'](detectDriverType,_0x2343c3),_0x51b9f8=_0x2ac589?_0x5290b1['accessibilityPlatform']:accessibilityHelper[_0x3a6f82(0x14a)]()&&globals[_0x3a6f82(0x163)](_0x33f7a8[_0x3a6f82(0x1d1)])&&globals[_0x3a6f82(0x163)](_0x33f7a8[_0x3a6f82(0x144)]);if(!_0x51b9f8)return logger[_0x3a6f82(0x162)](_0x3a6f82(0x1b5)+_0x4bccf3+_0x3a6f82(0x1b9)),[];let _0x6e98fa=null;for(let _0x3b6be6=0x1;_0x33f7a8[_0x3a6f82(0x187)](_0x3b6be6,_0x33f7a8['nNBZh'](RETRY_CONFIG[_0x3a6f82(0x1ec)],0x1));_0x3b6be6++){try{logger[_0x3a6f82(0x18e)](_0x3a6f82(0x161)+_0x3b6be6+'/'+_0x33f7a8[_0x3a6f82(0x1bf)](RETRY_CONFIG[_0x3a6f82(0x1ec)],0x1)+'\x20('+_0x4bccf3+')');let _0x33264b;return _0x33f7a8['ZVXCI'](_0x2ac589,playwrightA11yHelper)?(_0x33f7a8[_0x3a6f82(0x16d)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x2343c3,RETRY_CONFIG[_0x3a6f82(0x12f)]),_0x33264b=await _0x33f7a8['BhguT'](withTimeout,playwrightA11yHelper[_0x3a6f82(0x1ad)](_0x2343c3),RETRY_CONFIG[_0x3a6f82(0x12f)]),await exports[_0x3a6f82(0x158)](_0x2343c3,RETRY_CONFIG[_0x3a6f82(0x13c)])):(await exports[_0x3a6f82(0x198)](_0x2343c3,RETRY_CONFIG[_0x3a6f82(0x12f)]),_0x33264b=await _0x33f7a8[_0x3a6f82(0x193)](withTimeout,accessibilityHelper[_0x3a6f82(0x1ad)](_0x2343c3,_0x5290b1),RETRY_CONFIG[_0x3a6f82(0x12f)]),await exports['setSeleniumScriptTimeout'](_0x2343c3,RETRY_CONFIG[_0x3a6f82(0x13c)])),logger['info']('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x3b6be6+'\x20('+_0x4bccf3+')'),_0x33264b;}catch(_0x4c2227){_0x6e98fa=_0x4c2227,logger['warn'](_0x3a6f82(0x161)+_0x3b6be6+_0x3a6f82(0x1eb)+_0x4bccf3+').\x20Error:\x20'+_0x4c2227[_0x3a6f82(0x14b)]);}}return logger[_0x3a6f82(0x1ee)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x4bccf3+_0x3a6f82(0x1d4)+(_0x6e98fa?.[_0x3a6f82(0x14b)]||_0x33f7a8['NXFBm'])),[];},exports[a95_0x147d2b(0x132)]=async(_0x211f69,_0x591349)=>{const _0x52f65b=a95_0x147d2b,_0x36ff44={'JAwTE':function(_0x46a218,_0x147f99){return _0x46a218(_0x147f99);},'aNHxo':_0x52f65b(0x142),'XUWmC':_0x52f65b(0x169),'XRgkz':function(_0x4aae81,_0x27cd4c){return _0x4aae81<=_0x27cd4c;},'tYpoh':function(_0xfb25fd,_0x27a072){return _0xfb25fd+_0x27a072;},'ziwSP':function(_0x17326a,_0xd8b57f){return _0x17326a+_0xd8b57f;},'VeMsA':function(_0x149963,_0x590388){return _0x149963&&_0x590388;},'RWrIU':function(_0x3efeae,_0x37d373,_0x5e39c3){return _0x3efeae(_0x37d373,_0x5e39c3);},'DnEds':'Unknown\x20error'},{isPlaywright:_0x394a1e,type:_0x5aaf94}=_0x36ff44[_0x52f65b(0x1d5)](detectDriverType,_0x211f69),_0x114c30=_0x394a1e?_0x591349['accessibilityPlatform']:accessibilityHelper[_0x52f65b(0x14a)]()&&globals[_0x52f65b(0x163)](_0x36ff44[_0x52f65b(0x170)])&&globals[_0x52f65b(0x163)](_0x36ff44[_0x52f65b(0x18d)]);if(!_0x114c30)return logger[_0x52f65b(0x162)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x5aaf94+_0x52f65b(0x139)),{};let _0x50bcef=null;for(let _0x459a92=0x1;_0x36ff44[_0x52f65b(0x1dd)](_0x459a92,_0x36ff44[_0x52f65b(0x1b2)](RETRY_CONFIG[_0x52f65b(0x1ec)],0x1));_0x459a92++){try{logger[_0x52f65b(0x18e)](_0x52f65b(0x154)+_0x459a92+'/'+_0x36ff44['ziwSP'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x5aaf94+')');let _0x511d6f;return _0x36ff44[_0x52f65b(0x1a4)](_0x394a1e,playwrightA11yHelper)?(_0x36ff44['RWrIU'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x52f65b(0x158)](_0x211f69,RETRY_CONFIG[_0x52f65b(0x12f)]),_0x511d6f=await _0x36ff44[_0x52f65b(0x1c7)](withTimeout,playwrightA11yHelper[_0x52f65b(0x184)](_0x211f69),RETRY_CONFIG[_0x52f65b(0x12f)]),await exports[_0x52f65b(0x158)](_0x211f69,RETRY_CONFIG[_0x52f65b(0x13c)])):(await exports[_0x52f65b(0x198)](_0x211f69,RETRY_CONFIG[_0x52f65b(0x12f)]),_0x511d6f=await _0x36ff44[_0x52f65b(0x1c7)](withTimeout,accessibilityHelper[_0x52f65b(0x184)](_0x211f69,_0x591349),RETRY_CONFIG[_0x52f65b(0x12f)]),await exports[_0x52f65b(0x198)](_0x211f69,RETRY_CONFIG[_0x52f65b(0x13c)])),logger[_0x52f65b(0x1e2)](_0x52f65b(0x1e1)+_0x459a92+'\x20('+_0x5aaf94+')'),_0x511d6f;}catch(_0x8e388a){_0x50bcef=_0x8e388a,logger['warn'](_0x52f65b(0x154)+_0x459a92+_0x52f65b(0x1eb)+_0x5aaf94+_0x52f65b(0x1ea)+_0x8e388a[_0x52f65b(0x14b)]);}}return logger[_0x52f65b(0x1ee)](_0x52f65b(0x1f1)+_0x5aaf94+_0x52f65b(0x1d4)+(_0x50bcef?.[_0x52f65b(0x14b)]||_0x36ff44[_0x52f65b(0x13e)])),{};},exports[a95_0x147d2b(0x1f0)]=async(_0x2c8c6f,_0x4598bd,_0x771013=null)=>{const _0x54b8e6=a95_0x147d2b,_0x36b0be={'WeoUq':function(_0x35d6d7,_0x21a9c2){return _0x35d6d7(_0x21a9c2);},'vGqMn':function(_0x2629b2,_0x13ef31){return _0x2629b2===_0x13ef31;},'zqaEo':_0x54b8e6(0x18b),'NaRWn':function(_0x523e7c,_0x9fc7ef){return _0x523e7c===_0x9fc7ef;},'TYyam':function(_0x32e14c,_0x3a0d9d){return _0x32e14c===_0x3a0d9d;},'HepKj':_0x54b8e6(0x167),'SzmIW':_0x54b8e6(0x165)},{isPlaywright:_0x289244,type:_0x227507}=_0x36b0be[_0x54b8e6(0x133)](detectDriverType,_0x2c8c6f),_0x594c42={};_0x594c42['scanSucceeded']=![],_0x594c42[_0x54b8e6(0x15c)]=[],_0x594c42[_0x54b8e6(0x16b)]={},_0x594c42[_0x54b8e6(0x1ee)]=null,_0x594c42['driverType']=_0x227507;const _0x42228d=_0x594c42;try{_0x42228d[_0x54b8e6(0x1c8)]=await exports[_0x54b8e6(0x1e8)](_0x2c8c6f,_0x771013);if(_0x42228d[_0x54b8e6(0x1c8)]){const [_0x392dc3,_0x225fb1]=await Promise[_0x54b8e6(0x177)]([exports[_0x54b8e6(0x1e5)](_0x2c8c6f,_0x4598bd),exports['getAccessibilityResultsSummaryWithRetry'](_0x2c8c6f,_0x4598bd)]);_0x42228d[_0x54b8e6(0x15c)]=_0x36b0be['vGqMn'](_0x392dc3[_0x54b8e6(0x1b0)],_0x36b0be['zqaEo'])?_0x392dc3['value']:[],_0x42228d['summary']=_0x36b0be['NaRWn'](_0x225fb1[_0x54b8e6(0x1b0)],_0x36b0be[_0x54b8e6(0x19f)])?_0x225fb1['value']:{},_0x36b0be[_0x54b8e6(0x12e)](_0x392dc3[_0x54b8e6(0x1b0)],_0x36b0be['HepKj'])&&logger[_0x54b8e6(0x162)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x227507+_0x54b8e6(0x1bc)+_0x392dc3['reason']?.['message']),_0x36b0be[_0x54b8e6(0x12e)](_0x225fb1[_0x54b8e6(0x1b0)],_0x36b0be['HepKj'])&&logger['warn'](_0x54b8e6(0x196)+_0x227507+_0x54b8e6(0x1bc)+_0x225fb1['reason']?.[_0x54b8e6(0x14b)]);}}catch(_0x28f07c){_0x42228d[_0x54b8e6(0x1ee)]=_0x28f07c['message']||_0x36b0be[_0x54b8e6(0x152)],logger[_0x54b8e6(0x1ee)](_0x54b8e6(0x147)+_0x227507+_0x54b8e6(0x1bc)+_0x42228d['error']);}return _0x42228d;},exports[a95_0x147d2b(0x15b)]=_0x41056d=>{const _0x1108d2=a95_0x147d2b,_0x2cab5e={};_0x2cab5e['EuLkw']=function(_0x53f35a,_0x1c5774){return _0x53f35a!==_0x1c5774;},_0x2cab5e[_0x1108d2(0x174)]=function(_0x6f1037,_0x89ac81){return _0x6f1037!==_0x89ac81;};const _0x2e2056=_0x2cab5e;_0x2e2056[_0x1108d2(0x1bd)](_0x41056d[_0x1108d2(0x1ec)],undefined)&&(RETRY_CONFIG[_0x1108d2(0x1ec)]=Math['max'](0x0,_0x41056d[_0x1108d2(0x1ec)])),_0x2e2056[_0x1108d2(0x174)](_0x41056d[_0x1108d2(0x12f)],undefined)&&(RETRY_CONFIG[_0x1108d2(0x12f)]=Math[_0x1108d2(0x150)](0x3e8,_0x41056d[_0x1108d2(0x12f)])),logger[_0x1108d2(0x18e)](_0x1108d2(0x13d)+JSON[_0x1108d2(0x164)](RETRY_CONFIG));},exports[a95_0x147d2b(0x1a7)]=()=>{const _0x5c7053={...RETRY_CONFIG};return _0x5c7053;},exports[a95_0x147d2b(0x13b)]=_0x5dc33a=>{const _0x309fed=a95_0x147d2b,_0x1ea84b={'eZEqD':function(_0x57adc5,_0x28b471){return _0x57adc5(_0x28b471);}};return _0x1ea84b['eZEqD'](detectDriverType,_0x5dc33a)[_0x309fed(0x18f)];},exports['isSeleniumDriver']=_0x41bb85=>{const _0x48b744=a95_0x147d2b,_0x593a1b={'Snlsu':function(_0x708d2f,_0x1dc8e1){return _0x708d2f(_0x1dc8e1);},'MfLSm':function(_0x45be65,_0x4e67ed){return _0x45be65===_0x4e67ed;},'scIiF':_0x48b744(0x1df)},{isPlaywright:_0xbecede,type:_0x49fdf2}=_0x593a1b[_0x48b744(0x19a)](detectDriverType,_0x41bb85);return!_0xbecede&&_0x593a1b[_0x48b744(0x1d3)](_0x49fdf2,_0x593a1b[_0x48b744(0x1d2)]);},exports[a95_0x147d2b(0x158)]=async(_0x79be8f,_0x4626da=null)=>{const _0x55d675=a95_0x147d2b,_0x19d91e={'ZDQxP':function(_0x7d03b1,_0x1c108f){return _0x7d03b1(_0x1c108f);},'hNhrc':function(_0x3dd4af,_0x4b8e7a){return _0x3dd4af===_0x4b8e7a;},'DIfJk':_0x55d675(0x1e7)},{isPlaywright:_0x5c13ea,type:_0x14e75b}=_0x19d91e[_0x55d675(0x186)](detectDriverType,_0x79be8f);if(!_0x5c13ea)return logger[_0x55d675(0x18e)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x14e75b+_0x55d675(0x1be)),!![];const _0x2184e3=_0x4626da||RETRY_CONFIG[_0x55d675(0x13c)];try{return _0x79be8f&&_0x19d91e[_0x55d675(0x182)](typeof _0x79be8f[_0x55d675(0x17d)],_0x19d91e['DIfJk'])&&(await _0x79be8f[_0x55d675(0x17d)](_0x2184e3),logger['debug']('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x2184e3+'ms')),!![];}catch(_0x5d44a4){return logger[_0x55d675(0x162)](_0x55d675(0x130)+_0x5d44a4[_0x55d675(0x14b)]),![];}},exports['setSeleniumScriptTimeout']=async(_0x1d81f5,_0x1d5f17=null)=>{const _0x45976e=a95_0x147d2b,_0x4fe9f2={};_0x4fe9f2[_0x45976e(0x1a6)]=_0x45976e(0x1a5),_0x4fe9f2[_0x45976e(0x1a1)]=function(_0x3f4ef6,_0x4ace7f){return _0x3f4ef6===_0x4ace7f;},_0x4fe9f2[_0x45976e(0x1b7)]='function',_0x4fe9f2['iAWyZ']=function(_0x30132b,_0x4d81a1){return _0x30132b===_0x4d81a1;},_0x4fe9f2['ZGmfU']=_0x45976e(0x176),_0x4fe9f2[_0x45976e(0x13f)]=_0x45976e(0x138);const _0x3b15be=_0x4fe9f2;if(!exports[_0x45976e(0x188)](_0x1d81f5))return logger[_0x45976e(0x162)](_0x3b15be[_0x45976e(0x1a6)]),![];const _0x3ee05a=_0x1d5f17||RETRY_CONFIG[_0x45976e(0x13c)];try{if(_0x1d81f5&&_0x3b15be[_0x45976e(0x1a1)](typeof _0x1d81f5[_0x45976e(0x18a)],_0x3b15be[_0x45976e(0x1b7)])){const _0x972d07=_0x1d81f5[_0x45976e(0x18a)]();if(_0x972d07&&_0x3b15be[_0x45976e(0x1a1)](typeof _0x972d07[_0x45976e(0x180)],_0x3b15be[_0x45976e(0x1b7)]))await _0x972d07[_0x45976e(0x180)]()[_0x45976e(0x1cd)](_0x3ee05a),logger['debug'](_0x45976e(0x1cb)+_0x3ee05a+_0x45976e(0x199));else{if(_0x972d07&&_0x3b15be[_0x45976e(0x1a1)](typeof _0x972d07[_0x45976e(0x1da)],_0x3b15be[_0x45976e(0x1b7)])){const _0x3ea11f={};_0x3ea11f['script']=_0x3ee05a,await _0x972d07[_0x45976e(0x1da)](_0x3ea11f),logger[_0x45976e(0x18e)](_0x45976e(0x1cb)+_0x3ee05a+_0x45976e(0x1e0));}else{if(_0x972d07&&_0x3b15be[_0x45976e(0x1c1)](typeof _0x972d07['setScriptTimeout'],_0x3b15be['gXFIb']))await _0x972d07[_0x45976e(0x1cd)](_0x3ee05a),logger['debug'](_0x45976e(0x1cb)+_0x3ee05a+_0x45976e(0x191));else return logger[_0x45976e(0x18e)](_0x3b15be[_0x45976e(0x1a0)]),!![];}}}else return logger[_0x45976e(0x18e)](_0x3b15be[_0x45976e(0x13f)]),!![];return!![];}catch(_0x11db22){return logger[_0x45976e(0x162)](_0x45976e(0x135)+_0x11db22[_0x45976e(0x14b)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x58b1da,_0x5bd6f2)=>{const _0x2bcbce=a95_0x147d2b,_0x44078e={'HfBde':function(_0x469ace,_0x59951e){return _0x469ace(_0x59951e);},'lRoek':_0x2bcbce(0x142),'ywAEW':_0x2bcbce(0x169),'bgxJI':function(_0x3db803,_0x168671){return _0x3db803<=_0x168671;},'lWAsR':function(_0x43b226,_0x2163a7){return _0x43b226+_0x2163a7;},'hnaLu':function(_0x37cd22,_0x227084){return _0x37cd22+_0x227084;},'QFubd':function(_0x45936a,_0x19f21b){return _0x45936a&&_0x19f21b;},'nLpoD':function(_0x104113,_0x1a1c57,_0x409335){return _0x104113(_0x1a1c57,_0x409335);},'xGPkR':function(_0x22b329,_0x51c983,_0x485f08){return _0x22b329(_0x51c983,_0x485f08);},'mwldE':_0x2bcbce(0x1c6)},{isPlaywright:_0x1f2f2e,type:_0x55b77c}=_0x44078e[_0x2bcbce(0x197)](detectDriverType,_0x58b1da),_0x3db7fa=_0x1f2f2e?global['accessibilityPlatform']:accessibilityHelper[_0x2bcbce(0x14a)]()&&globals[_0x2bcbce(0x163)](_0x44078e[_0x2bcbce(0x17f)])&&globals['getGlobal'](_0x44078e[_0x2bcbce(0x1d8)]);if(!_0x3db7fa)return logger['warn'](_0x2bcbce(0x1b5)+_0x55b77c+',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.'),![];let _0x54f171=null;for(let _0x5c3944=0x1;_0x44078e[_0x2bcbce(0x171)](_0x5c3944,_0x44078e[_0x2bcbce(0x19b)](RETRY_CONFIG['maxRetries'],0x1));_0x5c3944++){try{return logger['debug'](_0x2bcbce(0x1d9)+_0x5c3944+'/'+_0x44078e['hnaLu'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x55b77c+')'),_0x44078e[_0x2bcbce(0x18c)](_0x1f2f2e,playwrightA11yHelper)?(_0x44078e[_0x2bcbce(0x1e9)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2bcbce(0x158)](_0x58b1da,RETRY_CONFIG[_0x2bcbce(0x12f)]),await _0x44078e[_0x2bcbce(0x1e9)](withTimeout,playwrightA11yHelper[_0x2bcbce(0x1c2)](_0x58b1da,scripts[_0x2bcbce(0x1c5)],_0x5bd6f2),RETRY_CONFIG[_0x2bcbce(0x12f)]),await exports[_0x2bcbce(0x158)](_0x58b1da,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x2bcbce(0x198)](_0x58b1da,RETRY_CONFIG[_0x2bcbce(0x12f)]),await _0x44078e[_0x2bcbce(0x1bb)](withTimeout,_0x58b1da[_0x2bcbce(0x15d)](scripts[_0x2bcbce(0x1c5)],_0x5bd6f2),RETRY_CONFIG[_0x2bcbce(0x12f)]),await exports[_0x2bcbce(0x198)](_0x58b1da,RETRY_CONFIG[_0x2bcbce(0x13c)])),logger[_0x2bcbce(0x1e2)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x5c3944+'\x20('+_0x55b77c+')'),!![];}catch(_0x1b97ae){_0x54f171=_0x1b97ae,logger[_0x2bcbce(0x162)](_0x2bcbce(0x1d9)+_0x5c3944+_0x2bcbce(0x1eb)+_0x55b77c+').\x20Error:\x20'+_0x1b97ae[_0x2bcbce(0x14b)]);}}return logger['error'](_0x2bcbce(0x1c9)+_0x55b77c+').\x20Last\x20error:\x20'+(_0x54f171?.[_0x2bcbce(0x14b)]||_0x44078e[_0x2bcbce(0x1dc)])),![];};function a95_0x27fc(_0x15b526,_0x584dab){const _0x2f9544=a95_0x2f95();return a95_0x27fc=function(_0x27fcb1,_0x5089d8){_0x27fcb1=_0x27fcb1-0x12d;let _0x4e6426=_0x2f9544[_0x27fcb1];return _0x4e6426;},a95_0x27fc(_0x15b526,_0x584dab);}function a95_0x2f95(){const _0xbae453=['undefined','function','performScanWithRetry','nLpoD',').\x20Error:\x20','\x20failed\x20(','maxRetries','capabilitiesList','error','185229ZiWjMm','performComprehensiveAccessibilityScanWithRetry','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','../logger','TYyam','timeoutMs','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','scannerProcessingTimeout','getAccessibilityResultsSummaryWithRetry','WeoUq','BMMXZ','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','QoOZH','268431TAdNhv','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','../performance/constants','isPlaywrightPage','defaultTimeoutMs','Accessibility\x20retry\x20configuration\x20updated:\x20','DnEds','DXaWU','2075MrzqYS','url','isAccessibilityPlatform','../../bin/playwright/accessibility-helper','FUKps','./helper','\x20for\x20method:\x20','Comprehensive\x20accessibility\x20scan\x20failed\x20(','7BTUsrt','MzzgF','isAccessibilityAutomationSession','message','JkwEg','fpOKy','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','MkOkP','max','fLtCu','SzmIW','__workerDetails','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','20JnjcjV','Playwright','isRunning','setPlaywrightScriptTimeout','\x20completed\x20successfully.','browserstackSessionName','updateRetryConfig','results','executeAsyncScript','performScan','gwxTW','mObeK','Accessibility\x20results\x20retrieval\x20attempt\x20','warn','getGlobal','stringify','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','rejected','dfMKk','bstackA11yShouldScan','name','summary','2878842gUmiGV','BhguT','JrjtF','KIVky','aNHxo','bgxJI',')\x20with\x20error:\x20','UyFCr','tROBm',',\x20cannot\x20perform\x20scan\x20with\x20retry.','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','allSettled','nBjEL','util','Scan\x20attempt\x20','accessibilityConfig','Playwright\x20accessibility\x20helper\x20not\x20available','setDefaultTimeout','1940080cBVIjc','lRoek','timeouts','./scripts','hNhrc','XZyPg','getAccessibilityResultsSummary','getId','ZDQxP','FeEiM','isSeleniumDriver','6656780rPqfQc','manage','fulfilled','QFubd','XUWmC','debug','isPlaywright','page','ms\x20using\x20setScriptTimeout\x20API','eXnCi','beqFO','EEGYc','ngmuw','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','HfBde','setSeleniumScriptTimeout','ms\x20using\x20timeouts()\x20API','Snlsu','lWAsR','uFhWE','182LqpsWm','env','zqaEo','ZGmfU','mXnfQ','UbwqQ','options','VeMsA','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','NCivq','getRetryConfig','nNLxI','WTtxi','accessibilityPlatform','\x20failed\x20for\x20method:\x20','../../bin/v2/browserstackCLI','getAccessibilityResults','../performance/performance-tester','giTFP','status','yRtFI','tYpoh','PERFORM_SCAN','type','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','getSession','gXFIb','getAccessibilityModule',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','playwright-codecept-driver','xGPkR','):\x20','EuLkw','\x20-\x20not\x20applicable','nNBZh','259160YdbXZa','iAWyZ','browserStackEvaluate','evaluate','cotog','saveTestResults','Unknown\x20error','RWrIU','scanSucceeded','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','getCurrentUrl','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','getInstance','setScriptTimeout','8doIMrq','goto','88lXWyFn','vcbsF','scIiF','MfLSm',').\x20Last\x20error:\x20','JAwTE','gILnf','constructor','ywAEW','Accessibility\x20results\x20save\x20attempt\x20','setTimeouts','12dplURR','mwldE','XRgkz','FJKzY','selenium-webdriver','ms\x20using\x20setTimeouts\x20API','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','info','OfbJK','Unknown\x20driver/page\x20type:\x20','getAccessibilityResultsWithRetry'];a95_0x2f95=function(){return _0xbae453;};return a95_0x2f95();}
1
+ const a95_0x4fab6d=a95_0x1195;(function(_0x35e181,_0x44b2df){const _0x14ff91=a95_0x1195,_0xe46565=_0x35e181();while(!![]){try{const _0x11b1d3=-parseInt(_0x14ff91(0x16f))/0x1+-parseInt(_0x14ff91(0xf1))/0x2+parseInt(_0x14ff91(0x11f))/0x3+-parseInt(_0x14ff91(0xef))/0x4+parseInt(_0x14ff91(0xcd))/0x5+-parseInt(_0x14ff91(0x113))/0x6*(parseInt(_0x14ff91(0xd7))/0x7)+parseInt(_0x14ff91(0x12d))/0x8;if(_0x11b1d3===_0x44b2df)break;else _0xe46565['push'](_0xe46565['shift']());}catch(_0x2d34e7){_0xe46565['push'](_0xe46565['shift']());}}}(a95_0x2d53,0xb1fdc));const util=require('util'),logger=require(a95_0x4fab6d(0x15c))[a95_0x4fab6d(0x177)],accessibilityHelper=require(a95_0x4fab6d(0x16e)),globals=require(a95_0x4fab6d(0xc2)),scripts=require(a95_0x4fab6d(0xe7)),PerformanceTester=require(a95_0x4fab6d(0x136)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x4fab6d(0x13c)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');let playwrightA11yHelper=null;function a95_0x1195(_0x3ff144,_0x190b1f){const _0x2d538b=a95_0x2d53();return a95_0x1195=function(_0x119543,_0x24a290){_0x119543=_0x119543-0xb7;let _0x53e876=_0x2d538b[_0x119543];return _0x53e876;},a95_0x1195(_0x3ff144,_0x190b1f);}try{playwrightA11yHelper=require(a95_0x4fab6d(0x137));}catch(a95_0x209f87){logger[a95_0x4fab6d(0x128)](a95_0x4fab6d(0x10c));}function a95_0x2d53(){const _0x4bf3fd=['iTwEG','capabilitiesList','agORZ','1900804IUgEQu','\x20failed\x20for\x20method:\x20','17260BFJSIw','Accessibility\x20results\x20save\x20attempt\x20','isAccessibilityPlatform','Playwright','updateRetryConfig','upfdF','warn','wHmXb','setDefaultTimeout','setPlaywrightScriptTimeout','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','Unknown\x20error','GKcce','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','Accessibility\x20results\x20retrieval\x20attempt\x20','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','MuAVt','isPlaywrightPage','Comprehensive\x20accessibility\x20scan\x20failed\x20(','fRouX','DnBTd','timeoutMs','maxRetries','ymDSr','tIqhz','CKhph','Playwright\x20accessibility\x20helper\x20not\x20available','allSettled','VVkRq','function','oszHe','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','qedmQ','6jTBvZX','pFxfB','RjUEI','value','accessibilityConfig','nYHdT','isSeleniumDriver','getInstance','WebDriver','ijoIM','__workerDetails','):\x20','3365169HRtNZt','bUqkX','playwright-page','BoUVI','ZyLQn','getAccessibilityResults','selenium-webdriver','setSeleniumScriptTimeout','\x20failed\x20(','debug','getCapabilities','playwright-codecept-driver','QPPtw','ms\x20using\x20timeouts()\x20API','3394240FIwLDX','url',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','summary','kPAux',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','getCurrentUrl','qwyWZ','nUpKX','../performance/performance-tester','../../bin/playwright/accessibility-helper','saveTestResults','getAccessibilityModule','woKod','TcOlK','../performance/constants','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','UifYP','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','LoDoQ','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','qsEpP','sUcmG','VqOBz','HyRjt','MhcWB','gIQtA','mPmtv','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','JMfCo','ZtAUC','Scan\x20attempt\x20','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','inEKc',').\x20Error:\x20',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','unknown_method','executeAsyncScript','getGlobal','\x20for\x20method:\x20','type','defaultTimeoutMs','AoxGE','measureWrapper','env','name','getAccessibilityResultsWithRetry','../logger','lHKay','VeAfl','getAccessibilityResultsSummary','undefined','VTAjh','tLKEh','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','race','error','dKVbo','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','status','bstackA11yShouldScan','gSaoc','getId','Accessibility\x20retry\x20configuration\x20updated:\x20','Accessibility\x20scan\x20attempt\x20','./helper','1323701WNUJAn','FyhAk','EhzXk','Page','isAccessibilityAutomationSession','Tqklq','saveAccessibilityResultsWithRetry','GeWTQ','winstonLogger','eyruA','RmtQo','max','prUKS','lGSgF','MDsEY',')\x20with\x20error:\x20','getSession','qKWDq','jqBiB',').\x20Last\x20error:\x20','sYNXm','\x20-\x20not\x20applicable','../globals','setScriptTimeout','pfClZ','eSoNp','ytWpC','\x20completed\x20successfully.','script','performScanWithRetry','GBEKQ','gBaYR','VlrsF','5287220nRjNAR','XaPRO','HwdiA','results','info','isPlaywright','ms\x20using\x20setScriptTimeout\x20API','QEKVG','hfhDf','ulSQF','468041VVRlaN','scanSucceeded','constructor','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','sfftU','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','accessibilityPlatform','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','currentTest','browserStackEvaluate','QjVZK','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','setTimeouts','reason','message','manage','./scripts','TYEBU','getRetryConfig','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','OYyYD'];a95_0x2d53=function(){return _0x4bf3fd;};return a95_0x2d53();}const a95_0x12a18b={};a95_0x12a18b['maxRetries']=0x1,a95_0x12a18b[a95_0x4fab6d(0x107)]=0x7530,a95_0x12a18b[a95_0x4fab6d(0x156)]=0x7530;const RETRY_CONFIG=a95_0x12a18b,setConfigTimeout=(_0x385ec7,_0xf3a178=null)=>{const _0xd5781c=a95_0x4fab6d,_0x691911={'inEKc':function(_0x7c0fff,_0x18b276){return _0x7c0fff===_0x18b276;},'QEKVG':'scannerProcessingTimeout','woKod':function(_0x21cd1c,_0x8ac0ba){return _0x21cd1c===_0x8ac0ba;},'TGMRz':function(_0x2fde23,_0x51666c){return _0x2fde23*_0x51666c;},'tIqhz':function(_0x10ab15,_0xa1c4db){return _0x10ab15(_0xa1c4db);},'AoxGE':function(_0x1a40d9,_0x4531cc){return _0x1a40d9*_0x4531cc;},'TcOlK':function(_0x1b9dd7,_0x584c24){return _0x1b9dd7(_0x584c24);}};if(BrowserstackCLI[_0xd5781c(0x11a)]()['isRunning']()&&BrowserstackCLI[_0xd5781c(0x11a)]()[_0xd5781c(0x139)]()){const _0x1e2d3b=BrowserstackCLI[_0xd5781c(0x11a)]()[_0xd5781c(0x139)]()[_0xd5781c(0x117)],_0x3978a8=_0x1e2d3b['options'][_0xd5781c(0xed)]||[];for(const _0x328cef of _0x3978a8){_0x691911[_0xd5781c(0x14e)](_0x328cef[_0xd5781c(0x15a)],_0x691911[_0xd5781c(0xd4)])&&_0x691911[_0xd5781c(0x13a)](_0xf3a178,null)&&(_0x385ec7[_0xd5781c(0x107)]=_0x691911['TGMRz'](_0x691911[_0xd5781c(0x10a)](parseInt,_0x328cef[_0xd5781c(0x116)]),0x3e8));}}else process[_0xd5781c(0x159)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x385ec7[_0xd5781c(0x107)]=_0x691911[_0xd5781c(0x157)](_0x691911[_0xd5781c(0x13b)](parseInt,process[_0xd5781c(0x159)][_0xd5781c(0x167)]),0x3e8));},detectDriverType=_0x230ac2=>{const _0x584651=a95_0x4fab6d,_0x3a7171={};_0x3a7171[_0x584651(0x170)]='unknown',_0x3a7171[_0x584651(0xdb)]=function(_0x5b6a27,_0x141c04){return _0x5b6a27===_0x141c04;},_0x3a7171[_0x584651(0xcb)]=_0x584651(0x10f),_0x3a7171['GKcce']=function(_0x5c7987,_0x48466f){return _0x5c7987===_0x48466f;},_0x3a7171[_0x584651(0x12b)]=_0x584651(0x121),_0x3a7171[_0x584651(0x178)]=function(_0x2af652,_0x24e7c1){return _0x2af652===_0x24e7c1;},_0x3a7171[_0x584651(0xc0)]=_0x584651(0x125),_0x3a7171[_0x584651(0xbe)]=_0x584651(0x172),_0x3a7171[_0x584651(0x120)]=_0x584651(0x11b),_0x3a7171[_0x584651(0x131)]=_0x584651(0xf4),_0x3a7171[_0x584651(0x166)]=_0x584651(0x12a),_0x3a7171['prUKS']=function(_0x3887e2,_0x1721ed){return _0x3887e2||_0x1721ed;},_0x3a7171['ulSQF']=_0x584651(0x160);const _0x55ef00=_0x3a7171;if(!_0x230ac2){const _0x736747={};return _0x736747['isPlaywright']=![],_0x736747['type']=_0x55ef00[_0x584651(0x170)],_0x736747;}if(_0x55ef00[_0x584651(0xdb)](typeof _0x230ac2['evaluate'],_0x55ef00[_0x584651(0xcb)])&&_0x55ef00[_0x584651(0xfd)](typeof _0x230ac2[_0x584651(0x12e)],_0x55ef00[_0x584651(0xcb)])&&_0x55ef00[_0x584651(0xfd)](typeof _0x230ac2['goto'],_0x55ef00[_0x584651(0xcb)])){const _0x2144e5={};return _0x2144e5['isPlaywright']=!![],_0x2144e5[_0x584651(0x155)]=_0x55ef00['QPPtw'],_0x2144e5;}if(_0x55ef00[_0x584651(0x178)](typeof _0x230ac2[_0x584651(0x152)],_0x55ef00[_0x584651(0xcb)])&&_0x55ef00[_0x584651(0xdb)](typeof _0x230ac2[_0x584651(0x129)],_0x55ef00[_0x584651(0xcb)])){const _0x3caa5f={};return _0x3caa5f['isPlaywright']=![],_0x3caa5f[_0x584651(0x155)]=_0x55ef00['sYNXm'],_0x3caa5f;}const _0xaee657=_0x230ac2[_0x584651(0xd9)]?.[_0x584651(0x15a)];if(_0x55ef00[_0x584651(0x178)](_0xaee657,_0x55ef00[_0x584651(0xbe)])){const _0xa3ec17={};return _0xa3ec17[_0x584651(0xd2)]=!![],_0xa3ec17['type']=_0x55ef00[_0x584651(0x12b)],_0xa3ec17;}if(_0x55ef00[_0x584651(0xdb)](_0xaee657,_0x55ef00['bUqkX'])){const _0x3736ad={};return _0x3736ad[_0x584651(0xd2)]=![],_0x3736ad[_0x584651(0x155)]=_0x55ef00[_0x584651(0xc0)],_0x3736ad;}if(_0x55ef00['GKcce'](_0xaee657,_0x55ef00[_0x584651(0x131)])){const _0x858862={};return _0x858862[_0x584651(0xd2)]=!![],_0x858862[_0x584651(0x155)]=_0x55ef00[_0x584651(0x166)],_0x858862;}logger[_0x584651(0xf7)]('Unknown\x20driver/page\x20type:\x20'+_0x55ef00[_0x584651(0xb8)](_0xaee657,_0x55ef00[_0x584651(0xd6)]));const _0x4abb1f={};return _0x4abb1f['isPlaywright']=![],_0x4abb1f['type']=_0x55ef00[_0x584651(0x170)],_0x4abb1f;},withTimeout=(_0x11ba1c,_0x53dba2)=>{const _0x538548=a95_0x4fab6d;return Promise[_0x538548(0x164)]([_0x11ba1c,new Promise((_0x3c3f4e,_0x330725)=>setTimeout(()=>_0x330725(new Error('Operation\x20timed\x20out\x20after\x20'+_0x53dba2+'ms')),_0x53dba2))]);};exports[a95_0x4fab6d(0xc9)]=async(_0x742eb7,_0x1d751c=null,_0x2ab941=null)=>{const _0x336d9e=a95_0x4fab6d,_0x2c2d82={'XaPRO':function(_0x341757,_0x37b76f){return _0x341757&&_0x37b76f;},'ymDSr':function(_0xb16b1d,_0x1d5dfa,_0x4a160a){return _0xb16b1d(_0x1d5dfa,_0x4a160a);},'HwdiA':function(_0x2a88b1,_0x4bec05){return _0x2a88b1===_0x4bec05;},'lHKay':_0x336d9e(0x12a),'wXGeM':function(_0x1caddf,_0xa9669){return _0x1caddf(_0xa9669);},'VqOBz':_0x336d9e(0xf3),'MhcWB':'bstackA11yShouldScan','MuAVt':_0x336d9e(0x151),'upfdF':_0x336d9e(0x10f),'iTwEG':function(_0x3044c6,_0x2fd2c6){return _0x3044c6===_0x2fd2c6;},'EhzXk':function(_0x550fa1,_0x17f833){return _0x550fa1===_0x17f833;},'hbhUT':function(_0x11d6da,_0x34c402){return _0x11d6da<=_0x34c402;},'ZgUYg':function(_0x1fd031,_0x52153a){return _0x1fd031+_0x52153a;},'VVkRq':function(_0x4d2460,_0x3726e0){return _0x4d2460+_0x3726e0;},'pFxfB':_0x336d9e(0xfc)},{isPlaywright:_0x2eecbc,type:_0x4ec33f}=_0x2c2d82['wXGeM'](detectDriverType,_0x742eb7),_0x5f2afb=_0x2eecbc?global[_0x336d9e(0xdd)]:accessibilityHelper[_0x336d9e(0x173)]()&&globals[_0x336d9e(0x153)](_0x2c2d82[_0x336d9e(0x144)])&&globals[_0x336d9e(0x153)](_0x2c2d82[_0x336d9e(0x146)]);if(!_0x5f2afb)return logger[_0x336d9e(0xf7)](_0x336d9e(0x13d)+_0x4ec33f+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x335eec=_0x1d751c||global['browserstackSessionName']||_0x2c2d82[_0x336d9e(0x102)];let _0x27a7cb=null;const _0x1c7495={'testhub_btcer_uuid':global[_0x336d9e(0x11d)]?.[_0x336d9e(0xdf)]?.['id'],'url':_0x2c2d82['HwdiA'](typeof _0x742eb7['url'],_0x2c2d82[_0x336d9e(0xf6)])?await _0x742eb7['url']():_0x2c2d82[_0x336d9e(0xec)](typeof _0x742eb7[_0x336d9e(0x133)],_0x2c2d82[_0x336d9e(0xf6)])?await _0x742eb7[_0x336d9e(0x133)]():'','automate_session_id':_0x2c2d82[_0x336d9e(0x171)](typeof _0x742eb7['getSession'],_0x2c2d82[_0x336d9e(0xf6)])?(await _0x742eb7[_0x336d9e(0xbc)]())[_0x336d9e(0x16b)]():''};for(let _0x2c7a37=0x1;_0x2c2d82['hbhUT'](_0x2c7a37,_0x2c2d82['ZgUYg'](RETRY_CONFIG[_0x336d9e(0x108)],0x1));_0x2c7a37++){try{return logger[_0x336d9e(0x128)](_0x336d9e(0x16d)+_0x2c7a37+'/'+_0x2c2d82[_0x336d9e(0x10e)](RETRY_CONFIG['maxRetries'],0x1)+_0x336d9e(0x154)+_0x335eec+'\x20('+_0x4ec33f+')'),await PerformanceTester[_0x336d9e(0x158)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4d62fa=_0x336d9e;let _0x6dd4a7;if(_0x2c2d82[_0x4d62fa(0xce)](_0x2eecbc,playwrightA11yHelper)){_0x2c2d82[_0x4d62fa(0x109)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x742eb7,RETRY_CONFIG[_0x4d62fa(0x107)]);let _0x304a8a=_0x742eb7;_0x2c2d82[_0x4d62fa(0xcf)](_0x4ec33f,_0x2c2d82[_0x4d62fa(0x15d)])&&(_0x304a8a=_0x742eb7['page']),_0x6dd4a7=await _0x2c2d82[_0x4d62fa(0x109)](withTimeout,playwrightA11yHelper['performScan'](_0x304a8a,_0x335eec),RETRY_CONFIG[_0x4d62fa(0x107)]),await exports[_0x4d62fa(0xfa)](_0x742eb7,RETRY_CONFIG[_0x4d62fa(0x156)]);}else await exports[_0x4d62fa(0x126)](_0x742eb7,RETRY_CONFIG[_0x4d62fa(0x107)]),_0x6dd4a7=await _0x2c2d82['ymDSr'](withTimeout,accessibilityHelper['performScan'](_0x742eb7,_0x335eec),RETRY_CONFIG['timeoutMs']),await exports[_0x4d62fa(0x126)](_0x742eb7,RETRY_CONFIG[_0x4d62fa(0x156)]);logger[_0x4d62fa(0x128)](_0x4d62fa(0x14c)+_0x2c7a37+_0x4d62fa(0xc7));},{'command':_0x335eec,..._0x1c7495})(),logger[_0x336d9e(0xd1)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x2c7a37+'.'),!![];}catch(_0x5b7f76){_0x27a7cb=_0x5b7f76,logger[_0x336d9e(0x128)](_0x336d9e(0x16d)+_0x2c7a37+_0x336d9e(0xf0)+_0x335eec+'\x20('+_0x4ec33f+_0x336d9e(0x14f)+_0x5b7f76[_0x336d9e(0xe5)]);}}return logger[_0x336d9e(0x165)](_0x336d9e(0x14d)+_0x335eec+'\x20('+_0x4ec33f+_0x336d9e(0xbb)+(_0x27a7cb?.['message']||_0x2c2d82[_0x336d9e(0x114)])),![];},exports[a95_0x4fab6d(0x15b)]=async(_0xdde14e,_0x4bd20c)=>{const _0x1a5666=a95_0x4fab6d,_0x357fe2={'ytWpC':function(_0x3e5cf9,_0x17d9ec){return _0x3e5cf9(_0x17d9ec);},'qwyWZ':_0x1a5666(0xf3),'TYEBU':_0x1a5666(0x169),'qKWDq':function(_0x2aa5e3,_0x3c5b24){return _0x2aa5e3<=_0x3c5b24;},'qsEpP':function(_0xa48f6b,_0x5f12d0){return _0xa48f6b+_0x5f12d0;},'gIQtA':function(_0x3b13a4,_0x504177){return _0x3b13a4&&_0x504177;},'GeWTQ':function(_0x3dd4a4,_0x532bc4,_0x15a0b9){return _0x3dd4a4(_0x532bc4,_0x15a0b9);},'ZtAUC':function(_0x1f59b5,_0x44956c,_0x198099){return _0x1f59b5(_0x44956c,_0x198099);},'hfhDf':function(_0x28d9c7,_0x1763b1,_0x1350d8){return _0x28d9c7(_0x1763b1,_0x1350d8);},'nUpKX':_0x1a5666(0xfc)},{isPlaywright:_0x2f2cba,type:_0x231421}=_0x357fe2[_0x1a5666(0xc6)](detectDriverType,_0xdde14e),_0x969937=_0x2f2cba?_0x4bd20c['accessibilityPlatform']:accessibilityHelper[_0x1a5666(0x173)]()&&globals[_0x1a5666(0x153)](_0x357fe2[_0x1a5666(0x134)])&&globals['getGlobal'](_0x357fe2[_0x1a5666(0xe8)]);if(!_0x969937)return logger[_0x1a5666(0xf7)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x231421+_0x1a5666(0x12f)),[];let _0xa2e94a=null;for(let _0x4ef4dc=0x1;_0x357fe2[_0x1a5666(0xbd)](_0x4ef4dc,_0x357fe2[_0x1a5666(0x142)](RETRY_CONFIG[_0x1a5666(0x108)],0x1));_0x4ef4dc++){try{logger[_0x1a5666(0x128)](_0x1a5666(0xff)+_0x4ef4dc+'/'+_0x357fe2['qsEpP'](RETRY_CONFIG[_0x1a5666(0x108)],0x1)+'\x20('+_0x231421+')');let _0x3fc719;return _0x357fe2[_0x1a5666(0x147)](_0x2f2cba,playwrightA11yHelper)?(_0x357fe2[_0x1a5666(0x176)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1a5666(0xfa)](_0xdde14e,RETRY_CONFIG[_0x1a5666(0x107)]),_0x3fc719=await _0x357fe2[_0x1a5666(0x14b)](withTimeout,playwrightA11yHelper[_0x1a5666(0x124)](_0xdde14e),RETRY_CONFIG[_0x1a5666(0x107)]),await exports[_0x1a5666(0xfa)](_0xdde14e,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x1a5666(0x126)](_0xdde14e,RETRY_CONFIG[_0x1a5666(0x107)]),_0x3fc719=await _0x357fe2[_0x1a5666(0xd5)](withTimeout,accessibilityHelper[_0x1a5666(0x124)](_0xdde14e,_0x4bd20c),RETRY_CONFIG[_0x1a5666(0x107)]),await exports[_0x1a5666(0x126)](_0xdde14e,RETRY_CONFIG[_0x1a5666(0x156)])),logger[_0x1a5666(0xd1)](_0x1a5666(0x141)+_0x4ef4dc+'\x20('+_0x231421+')'),_0x3fc719;}catch(_0xd5702e){_0xa2e94a=_0xd5702e,logger['warn'](_0x1a5666(0xff)+_0x4ef4dc+_0x1a5666(0x127)+_0x231421+_0x1a5666(0x14f)+_0xd5702e['message']);}}return logger[_0x1a5666(0x165)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x231421+_0x1a5666(0xbf)+(_0xa2e94a?.['message']||_0x357fe2[_0x1a5666(0x135)])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x1941bd,_0x2472fc)=>{const _0x3df9b5=a95_0x4fab6d,_0x40ae68={'fUjPf':function(_0x3bc8ab,_0x2d28ed){return _0x3bc8ab(_0x2d28ed);},'MDsEY':_0x3df9b5(0xf3),'nYHdT':_0x3df9b5(0x169),'WdYWw':function(_0x4097b4,_0x1200ee){return _0x4097b4<=_0x1200ee;},'YTHrE':function(_0x12cc13,_0x287c42){return _0x12cc13+_0x287c42;},'ZyLQn':function(_0x318d8c,_0x124531){return _0x318d8c&&_0x124531;},'wHmXb':function(_0x1c73a3,_0x57d6ff,_0x219a74){return _0x1c73a3(_0x57d6ff,_0x219a74);},'sUcmG':_0x3df9b5(0xfc)},{isPlaywright:_0x29f94a,type:_0x35c508}=_0x40ae68['fUjPf'](detectDriverType,_0x1941bd),_0x53719a=_0x29f94a?_0x2472fc[_0x3df9b5(0xdd)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x40ae68[_0x3df9b5(0xba)])&&globals[_0x3df9b5(0x153)](_0x40ae68[_0x3df9b5(0x118)]);if(!_0x53719a)return logger[_0x3df9b5(0xf7)](_0x3df9b5(0x13d)+_0x35c508+_0x3df9b5(0x150)),{};let _0x469260=null;for(let _0xcdc748=0x1;_0x40ae68['WdYWw'](_0xcdc748,_0x40ae68['YTHrE'](RETRY_CONFIG['maxRetries'],0x1));_0xcdc748++){try{logger['debug'](_0x3df9b5(0x111)+_0xcdc748+'/'+_0x40ae68['YTHrE'](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x35c508+')');let _0x25de41;return _0x40ae68[_0x3df9b5(0x123)](_0x29f94a,playwrightA11yHelper)?(_0x40ae68[_0x3df9b5(0xf8)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x1941bd,RETRY_CONFIG[_0x3df9b5(0x107)]),_0x25de41=await _0x40ae68['wHmXb'](withTimeout,playwrightA11yHelper[_0x3df9b5(0x15f)](_0x1941bd),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x1941bd,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x3df9b5(0x126)](_0x1941bd,RETRY_CONFIG[_0x3df9b5(0x107)]),_0x25de41=await _0x40ae68['wHmXb'](withTimeout,accessibilityHelper['getAccessibilityResultsSummary'](_0x1941bd,_0x2472fc),RETRY_CONFIG[_0x3df9b5(0x107)]),await exports['setSeleniumScriptTimeout'](_0x1941bd,RETRY_CONFIG[_0x3df9b5(0x156)])),logger['info'](_0x3df9b5(0x100)+_0xcdc748+'\x20('+_0x35c508+')'),_0x25de41;}catch(_0x460beb){_0x469260=_0x460beb,logger[_0x3df9b5(0xf7)](_0x3df9b5(0x111)+_0xcdc748+'\x20failed\x20('+_0x35c508+').\x20Error:\x20'+_0x460beb[_0x3df9b5(0xe5)]);}}return logger[_0x3df9b5(0x165)](_0x3df9b5(0xe2)+_0x35c508+_0x3df9b5(0xbf)+(_0x469260?.['message']||_0x40ae68[_0x3df9b5(0x143)])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x3c022d,_0x4c7c4f,_0x397433=null)=>{const _0x1b69b7=a95_0x4fab6d,_0xadec9e={'UifYP':function(_0x4630b8,_0x338ec0){return _0x4630b8(_0x338ec0);},'VlrsF':function(_0x7cc00b,_0x225040){return _0x7cc00b===_0x225040;},'qedmQ':'fulfilled','tFxNJ':function(_0x5aadc0,_0x4e9ea3){return _0x5aadc0===_0x4e9ea3;},'DnBTd':'rejected','LoDoQ':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x1b8872,type:_0x5c3fcd}=_0xadec9e[_0x1b69b7(0x13e)](detectDriverType,_0x3c022d),_0x3061ed={};_0x3061ed[_0x1b69b7(0xd8)]=![],_0x3061ed[_0x1b69b7(0xd0)]=[],_0x3061ed[_0x1b69b7(0x130)]={},_0x3061ed['error']=null,_0x3061ed['driverType']=_0x5c3fcd;const _0x252c96=_0x3061ed;try{_0x252c96[_0x1b69b7(0xd8)]=await exports[_0x1b69b7(0xc9)](_0x3c022d,_0x397433);if(_0x252c96[_0x1b69b7(0xd8)]){const [_0x1abb8f,_0x17e53e]=await Promise[_0x1b69b7(0x10d)]([exports['getAccessibilityResultsWithRetry'](_0x3c022d,_0x4c7c4f),exports['getAccessibilityResultsSummaryWithRetry'](_0x3c022d,_0x4c7c4f)]);_0x252c96['results']=_0xadec9e[_0x1b69b7(0xcc)](_0x1abb8f[_0x1b69b7(0x168)],_0xadec9e[_0x1b69b7(0x112)])?_0x1abb8f[_0x1b69b7(0x116)]:[],_0x252c96[_0x1b69b7(0x130)]=_0xadec9e['tFxNJ'](_0x17e53e[_0x1b69b7(0x168)],_0xadec9e[_0x1b69b7(0x112)])?_0x17e53e[_0x1b69b7(0x116)]:{},_0xadec9e[_0x1b69b7(0xcc)](_0x1abb8f[_0x1b69b7(0x168)],_0xadec9e[_0x1b69b7(0x106)])&&logger[_0x1b69b7(0xf7)](_0x1b69b7(0xdc)+_0x5c3fcd+_0x1b69b7(0x11e)+_0x1abb8f[_0x1b69b7(0xe4)]?.['message']),_0xadec9e[_0x1b69b7(0xcc)](_0x17e53e[_0x1b69b7(0x168)],_0xadec9e[_0x1b69b7(0x106)])&&logger['warn'](_0x1b69b7(0x163)+_0x5c3fcd+_0x1b69b7(0x11e)+_0x17e53e['reason']?.[_0x1b69b7(0xe5)]);}}catch(_0x280025){_0x252c96[_0x1b69b7(0x165)]=_0x280025['message']||_0xadec9e[_0x1b69b7(0x140)],logger[_0x1b69b7(0x165)](_0x1b69b7(0x104)+_0x5c3fcd+'):\x20'+_0x252c96['error']);}return _0x252c96;},exports[a95_0x4fab6d(0xf5)]=_0x1b7181=>{const _0x397e85=a95_0x4fab6d,_0x490d80={};_0x490d80[_0x397e85(0x110)]=function(_0x455d4c,_0x3141bd){return _0x455d4c!==_0x3141bd;};const _0x4f0482=_0x490d80;_0x4f0482['oszHe'](_0x1b7181[_0x397e85(0x108)],undefined)&&(RETRY_CONFIG['maxRetries']=Math[_0x397e85(0xb7)](0x0,_0x1b7181[_0x397e85(0x108)])),_0x4f0482[_0x397e85(0x110)](_0x1b7181[_0x397e85(0x107)],undefined)&&(RETRY_CONFIG[_0x397e85(0x107)]=Math[_0x397e85(0xb7)](0x3e8,_0x1b7181[_0x397e85(0x107)])),logger[_0x397e85(0x128)](_0x397e85(0x16c)+JSON['stringify'](RETRY_CONFIG));},exports[a95_0x4fab6d(0xe9)]=()=>{const _0x57cd9e={...RETRY_CONFIG};return _0x57cd9e;},exports[a95_0x4fab6d(0x103)]=_0xa6fdc3=>{const _0x447954=a95_0x4fab6d,_0x6eb956={'CKhph':function(_0xa94973,_0xf164d6){return _0xa94973(_0xf164d6);}};return _0x6eb956[_0x447954(0x10b)](detectDriverType,_0xa6fdc3)[_0x447954(0xd2)];},exports['isSeleniumDriver']=_0x524d00=>{const _0x276c72=a95_0x4fab6d,_0x1247b5={'HyRjt':function(_0x5e8b5e,_0xd4b1f6){return _0x5e8b5e(_0xd4b1f6);},'GBEKQ':function(_0x177ad4,_0x20bfb6){return _0x177ad4===_0x20bfb6;},'VeAfl':'selenium-webdriver'},{isPlaywright:_0x5f2f4a,type:_0x14f3b7}=_0x1247b5[_0x276c72(0x145)](detectDriverType,_0x524d00);return!_0x5f2f4a&&_0x1247b5[_0x276c72(0xca)](_0x14f3b7,_0x1247b5[_0x276c72(0x15e)]);},exports[a95_0x4fab6d(0xfa)]=async(_0x4e40a1,_0x861251=null)=>{const _0x52d9f2=a95_0x4fab6d,_0x517736={'BoUVI':function(_0x1d8bf1,_0x3aedf2){return _0x1d8bf1(_0x3aedf2);},'tLKEh':function(_0x59aa33,_0x528241){return _0x59aa33===_0x528241;},'Tqklq':_0x52d9f2(0x10f)},{isPlaywright:_0x4a92e7,type:_0x26f143}=_0x517736[_0x52d9f2(0x122)](detectDriverType,_0x4e40a1);if(!_0x4a92e7)return logger[_0x52d9f2(0x128)]('Skipping\x20timeout\x20setting\x20for\x20'+_0x26f143+_0x52d9f2(0xc1)),!![];const _0x5b25b8=_0x861251||RETRY_CONFIG['defaultTimeoutMs'];try{return _0x4e40a1&&_0x517736[_0x52d9f2(0x162)](typeof _0x4e40a1[_0x52d9f2(0xf9)],_0x517736[_0x52d9f2(0x174)])&&(await _0x4e40a1['setDefaultTimeout'](_0x5b25b8),logger['debug'](_0x52d9f2(0xea)+_0x5b25b8+'ms')),!![];}catch(_0x4b9e66){return logger[_0x52d9f2(0xf7)](_0x52d9f2(0xde)+_0x4b9e66[_0x52d9f2(0xe5)]),![];}},exports[a95_0x4fab6d(0x126)]=async(_0x5e35bb,_0x3de5a3=null)=>{const _0x772ace=a95_0x4fab6d,_0x108b38={};_0x108b38[_0x772ace(0x11c)]=_0x772ace(0xfe),_0x108b38[_0x772ace(0x179)]=function(_0x779440,_0x11541c){return _0x779440===_0x11541c;},_0x108b38[_0x772ace(0xc4)]=_0x772ace(0x10f),_0x108b38[_0x772ace(0x148)]=function(_0x171c64,_0x1f09e4){return _0x171c64===_0x1f09e4;},_0x108b38['PUlEC']=_0x772ace(0x101),_0x108b38[_0x772ace(0x115)]='Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting';const _0x499773=_0x108b38;if(!exports[_0x772ace(0x119)](_0x5e35bb))return logger[_0x772ace(0xf7)](_0x499773[_0x772ace(0x11c)]),![];const _0x2128c5=_0x3de5a3||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x5e35bb&&_0x499773[_0x772ace(0x179)](typeof _0x5e35bb[_0x772ace(0xe6)],_0x499773[_0x772ace(0xc4)])){const _0xfe3280=_0x5e35bb[_0x772ace(0xe6)]();if(_0xfe3280&&_0x499773[_0x772ace(0x179)](typeof _0xfe3280['timeouts'],_0x499773[_0x772ace(0xc4)]))await _0xfe3280['timeouts']()[_0x772ace(0xc3)](_0x2128c5),logger[_0x772ace(0x128)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x2128c5+_0x772ace(0x12c));else{if(_0xfe3280&&_0x499773[_0x772ace(0x148)](typeof _0xfe3280[_0x772ace(0xe3)],_0x499773[_0x772ace(0xc4)])){const _0x34476a={};_0x34476a[_0x772ace(0xc8)]=_0x2128c5,await _0xfe3280[_0x772ace(0xe3)](_0x34476a),logger[_0x772ace(0x128)](_0x772ace(0xfb)+_0x2128c5+'ms\x20using\x20setTimeouts\x20API');}else{if(_0xfe3280&&_0x499773[_0x772ace(0x148)](typeof _0xfe3280[_0x772ace(0xc3)],_0x499773[_0x772ace(0xc4)]))await _0xfe3280['setScriptTimeout'](_0x2128c5),logger[_0x772ace(0x128)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x2128c5+_0x772ace(0xd3));else return logger[_0x772ace(0x128)](_0x499773['PUlEC']),!![];}}}else return logger['debug'](_0x499773[_0x772ace(0x115)]),!![];return!![];}catch(_0x5eb8d9){return logger[_0x772ace(0xf7)](_0x772ace(0x149)+_0x5eb8d9[_0x772ace(0xe5)]),![];}},exports[a95_0x4fab6d(0x175)]=async(_0x39606a,_0x5c91f3)=>{const _0x266556=a95_0x4fab6d,_0x55a9c4={'eSoNp':function(_0x36aa4a,_0x2ec43c){return _0x36aa4a(_0x2ec43c);},'JMfCo':_0x266556(0xf3),'QjVZK':_0x266556(0x169),'fRouX':function(_0x1b7b19,_0x407ba6){return _0x1b7b19<=_0x407ba6;},'VTAjh':function(_0x35694a,_0x36228b){return _0x35694a+_0x36228b;},'OYyYD':function(_0x4008d5,_0x3b61c2){return _0x4008d5+_0x3b61c2;},'gSaoc':function(_0x2e9a8b,_0x1f8c3a){return _0x2e9a8b&&_0x1f8c3a;},'lGSgF':function(_0xaeb324,_0x4d416d,_0x148948){return _0xaeb324(_0x4d416d,_0x148948);},'aBhBz':function(_0x5d5360,_0xeefcc5,_0x114550){return _0x5d5360(_0xeefcc5,_0x114550);},'agORZ':_0x266556(0xfc)},{isPlaywright:_0x11bc34,type:_0x4ecc04}=_0x55a9c4[_0x266556(0xc5)](detectDriverType,_0x39606a),_0x423a96=_0x11bc34?global[_0x266556(0xdd)]:accessibilityHelper[_0x266556(0x173)]()&&globals[_0x266556(0x153)](_0x55a9c4[_0x266556(0x14a)])&&globals[_0x266556(0x153)](_0x55a9c4[_0x266556(0xe1)]);if(!_0x423a96)return logger['warn'](_0x266556(0x13d)+_0x4ecc04+_0x266556(0x132)),![];let _0x4bbd1b=null;for(let _0x1f7474=0x1;_0x55a9c4[_0x266556(0x105)](_0x1f7474,_0x55a9c4[_0x266556(0x161)](RETRY_CONFIG[_0x266556(0x108)],0x1));_0x1f7474++){try{return logger[_0x266556(0x128)](_0x266556(0xf2)+_0x1f7474+'/'+_0x55a9c4[_0x266556(0xeb)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x4ecc04+')'),_0x55a9c4[_0x266556(0x16a)](_0x11bc34,playwrightA11yHelper)?(_0x55a9c4[_0x266556(0xb9)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x266556(0xfa)](_0x39606a,RETRY_CONFIG['timeoutMs']),await _0x55a9c4['aBhBz'](withTimeout,playwrightA11yHelper[_0x266556(0xe0)](_0x39606a,scripts[_0x266556(0x138)],_0x5c91f3),RETRY_CONFIG['timeoutMs']),await exports[_0x266556(0xfa)](_0x39606a,RETRY_CONFIG[_0x266556(0x156)])):(await exports[_0x266556(0x126)](_0x39606a,RETRY_CONFIG[_0x266556(0x107)]),await _0x55a9c4['aBhBz'](withTimeout,_0x39606a[_0x266556(0x152)](scripts['saveTestResults'],_0x5c91f3),RETRY_CONFIG[_0x266556(0x107)]),await exports[_0x266556(0x126)](_0x39606a,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x266556(0xd1)](_0x266556(0x13f)+_0x1f7474+'\x20('+_0x4ecc04+')'),!![];}catch(_0x172280){_0x4bbd1b=_0x172280,logger[_0x266556(0xf7)](_0x266556(0xf2)+_0x1f7474+'\x20failed\x20('+_0x4ecc04+_0x266556(0x14f)+_0x172280[_0x266556(0xe5)]);}}return logger[_0x266556(0x165)](_0x266556(0xda)+_0x4ecc04+_0x266556(0xbf)+(_0x4bbd1b?.['message']||_0x55a9c4[_0x266556(0xee)])),![];};
@@ -1 +1 @@
1
- var a96_0x3500e5=a96_0x22cc;function a96_0x5cfa(){var _0x19b25e=['1419uRUKIU','https://accessibility.browserstack.com/api','1398603TUGcKl','84uYPsoH','1zDuAMa','558GDkuNW','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','4311720clXVZr','457824GkaxID','100','459286uhiYqi','290292XejTVU','29384rwzXQl','26430cSaeMj','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','169eMkPPb','4sUgcwq'];a96_0x5cfa=function(){return _0x19b25e;};return a96_0x5cfa();}function a96_0x22cc(_0x496543,_0x27049f){var _0x5cfa8e=a96_0x5cfa();return a96_0x22cc=function(_0x22cc20,_0x360fe4){_0x22cc20=_0x22cc20-0x1e9;var _0x4e97e8=_0x5cfa8e[_0x22cc20];return _0x4e97e8;},a96_0x22cc(_0x496543,_0x27049f);}(function(_0x432f06,_0x1c84b8){var _0x395716=a96_0x22cc,_0x578e3e=_0x432f06();while(!![]){try{var _0x5d8b77=-parseInt(_0x395716(0x1f1))/0x1*(parseInt(_0x395716(0x1f7))/0x2)+-parseInt(_0x395716(0x1ef))/0x3*(-parseInt(_0x395716(0x1ec))/0x4)+parseInt(_0x395716(0x1f4))/0x5+-parseInt(_0x395716(0x1f8))/0x6*(-parseInt(_0x395716(0x1f0))/0x7)+parseInt(_0x395716(0x1f9))/0x8*(-parseInt(_0x395716(0x1f2))/0x9)+-parseInt(_0x395716(0x1e9))/0xa*(parseInt(_0x395716(0x1ed))/0xb)+parseInt(_0x395716(0x1f5))/0xc*(-parseInt(_0x395716(0x1eb))/0xd);if(_0x5d8b77===_0x1c84b8)break;else _0x578e3e['push'](_0x578e3e['shift']());}catch(_0x5298aa){_0x578e3e['push'](_0x578e3e['shift']());}}}(a96_0x5cfa,0x961b5),exports['API_URL']=a96_0x3500e5(0x1ee),exports[a96_0x3500e5(0x1ea)]='94',exports[a96_0x3500e5(0x1f3)]=a96_0x3500e5(0x1f6));
1
+ function a96_0x4a3c(_0x4fd0b2,_0x36c963){var _0x5ba1bc=a96_0x5ba1();return a96_0x4a3c=function(_0x4a3c53,_0x3e5c81){_0x4a3c53=_0x4a3c53-0x198;var _0x29dfe9=_0x5ba1bc[_0x4a3c53];return _0x29dfe9;},a96_0x4a3c(_0x4fd0b2,_0x36c963);}function a96_0x5ba1(){var _0x27dcc0=['635388kHIiuS','100','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','12dEJZyG','777772pTkPUH','16174494EMlEYT','42CyIsCw','1942248LEJxex','API_URL','847398WAaNir','43936ONiAMo','2234545LLEOOn','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY'];a96_0x5ba1=function(){return _0x27dcc0;};return a96_0x5ba1();}var a96_0x3fa624=a96_0x4a3c;(function(_0x2be587,_0x3fa89e){var _0x4d84af=a96_0x4a3c,_0x8e2891=_0x2be587();while(!![]){try{var _0x444146=parseInt(_0x4d84af(0x19f))/0x1+parseInt(_0x4d84af(0x1a2))/0x2+parseInt(_0x4d84af(0x1a4))/0x3+-parseInt(_0x4d84af(0x19e))/0x4*(-parseInt(_0x4d84af(0x199))/0x5)+-parseInt(_0x4d84af(0x19b))/0x6*(parseInt(_0x4d84af(0x1a1))/0x7)+-parseInt(_0x4d84af(0x198))/0x8+-parseInt(_0x4d84af(0x1a0))/0x9;if(_0x444146===_0x3fa89e)break;else _0x8e2891['push'](_0x8e2891['shift']());}catch(_0xf36501){_0x8e2891['push'](_0x8e2891['shift']());}}}(a96_0x5ba1,0xe409b),exports[a96_0x3fa624(0x1a3)]='https://accessibility.browserstack.com/api',exports[a96_0x3fa624(0x19d)]='94',exports[a96_0x3fa624(0x19a)]=a96_0x3fa624(0x19c));
@@ -1 +1 @@
1
- const a97_0x4c81db=a97_0x4e23;(function(_0x4d5f0,_0x2d9fce){const _0x269a55=a97_0x4e23,_0x3f65dc=_0x4d5f0();while(!![]){try{const _0x1a22b8=parseInt(_0x269a55(0x195))/0x1+-parseInt(_0x269a55(0x1e6))/0x2*(parseInt(_0x269a55(0x19e))/0x3)+parseInt(_0x269a55(0x196))/0x4+parseInt(_0x269a55(0x21e))/0x5*(parseInt(_0x269a55(0x161))/0x6)+parseInt(_0x269a55(0x228))/0x7*(-parseInt(_0x269a55(0x167))/0x8)+parseInt(_0x269a55(0x216))/0x9+-parseInt(_0x269a55(0x20b))/0xa*(parseInt(_0x269a55(0x21b))/0xb);if(_0x1a22b8===_0x2d9fce)break;else _0x3f65dc['push'](_0x3f65dc['shift']());}catch(_0x3f164f){_0x3f65dc['push'](_0x3f65dc['shift']());}}}(a97_0x424d,0x5d5a1));function a97_0x424d(){const _0x23b749=['executeAsyncScript','Not\x20a\x20Accessibility\x20Session','jciRi','auth','getPackageVersion','device','createAccessibilityTestRun','MXXXb','browserstackSessionName','toLowerCase','294978AYhDWn','2484900FXtqSb','chromeOptions_','fetchPlatformDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','MFUpA','GjPEM','xRuLw','stopAccessibilityTestRun','9iqSvUA','Xebjv','GoEKb','modNl','YuNhy','browserstack_executor','Performing\x20scan\x20before\x20getting\x20results','join','data','RGSOn','getBrowserVersion','application/json','pass','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','user','SkWQP','../performance/constants','path','nCrlx','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','bRuYJ','mergeDeep','dFxGk','accessibility','LCfXx','isArray','WofvN','env','toISOString','a11y:start','some','measureWrapper','setNonBstackInfraCapabilities','zzzTe','getUserName','KaLKi','shouldScanTestForAccessibility','version','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','GdLxs','GET_RESULTS_SUMMARY','error','TSYyq','isBrowserstackInfra','null','nonBstackPlatformValidation','qanXA','ebHtO','Performing\x20scan\x20before\x20getting\x20results\x20summary','OyzgL','UsYiY','syUqn','statusText','script','NkQET','method','requireModule','length','stack','QEioP','MJPzM','nestedKeyValue','Invalid\x20request:\x20','WOWhv','FnSFC','Content-Type','isAccessibilityAutomationSession','status','debug','fIAfO','a11y:stop','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','279578XVePoW','../performance/performance-tester','UuPxS','Build\x20creation\x20had\x20failed.','javascript','nAVck','headers','success','RXJuX','getAccessibilityResults','bstackA11yShouldScan','QcmAH','selenium-webdriver/chrome.js','zNaWK','JqZBv','getCapabilities','getPlatform','yMIOB','capabilities_','TdNmj','string','Options','slRjr','bVkch','ChromeExtension','browserVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','getHostInfo','stringify','nodeRequest','util','buildDescription','GFPhK','buildName','warn','format','isTrue','10930OuFagj','get','QsPgy','qLkIX','checkAccessibilityPlatformConfig','getGitMetaData','browserName','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','getAccessKey','6110730yDtZDy','info','LBFNJ','v2/test_runs','includes','9691RevUXK','DWcou','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','464095tAYvgR','GET_RESULTS','eHXTL','ojxpl','jBkau','json','uXvXX','WCNOn','iNrUW','accessibilityToken','74340UnhlMQ','args','message','MTjbO','test_runs/stop','Authorization','getResults','chromeOptions','projectName','kdAGL','deviceName','bstack:options','dSkJG','FNupP','getTestFrameworkDetails','playwright','qVIrY','getGlobal','24ZYHyXV','isBrowserStackCommandExecutor','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','body','KNIxg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','152ROgRAR','BROWSERSTACK_TURBOSCALE','getAgentVersion','AuzTW','SDKgQ','getPlatformVersion','kPOzo','getCiInfo','YGWwu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Performed\x20scan\x20with\x20result:\x20','MRRIn','ZEcHy','getResultsSummary','options_','No\x20accessibility\x20summary\x20was\x20found.','response','Bearer\x20','xHfkj','isAccessibilityPlatform','getBrowserName','POST','isUndefined','goog:chromeOptions','./constants','vieeO','koUsp','winstonLogger','includeTagsInTestingScope','PERFORM_SCAN','getAccessibilityResultsSummary','BS_A11Y_JWT','parse','scannerVersion','performScan','tTizW'];a97_0x424d=function(){return _0x23b749;};return a97_0x424d();}function a97_0x4e23(_0x47a3ef,_0x1a104e){const _0x424dd3=a97_0x424d();return a97_0x4e23=function(_0x4e2314,_0x33c761){_0x4e2314=_0x4e2314-0x156;let _0x2b0fda=_0x424dd3[_0x4e2314];return _0x2b0fda;},a97_0x4e23(_0x47a3ef,_0x1a104e);}const path=require(a97_0x4c81db(0x1af)),util=require(a97_0x4c81db(0x204)),bsSetupHelper=require('../helper'),logger=require('../logger')[a97_0x4c81db(0x182)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x4c81db(0x17f)),PerformanceTester=require(a97_0x4c81db(0x1e7)),scripts=require('./scripts'),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x4c81db(0x1ae));exports[a97_0x4c81db(0x198)]=async _0x1a9964=>{const _0x50f0c9=a97_0x4c81db,_0x234fd6={};_0x234fd6[_0x50f0c9(0x1fc)]=function(_0x261692,_0x597c45){return _0x261692===_0x597c45;},_0x234fd6[_0x50f0c9(0x16d)]='browserstack';const _0x279e1c=_0x234fd6;let _0x32f1f3={};try{const _0x2fe52b=await _0x1a9964['getCapabilities']();_0x32f1f3={'os_name':_0x2fe52b[_0x50f0c9(0x1f6)](),'os_version':bsSetupHelper[_0x50f0c9(0x16c)](_0x279e1c[_0x50f0c9(0x1fc)](global['__cloud_provider___'],_0x279e1c['kPOzo'])),'browser_name':_0x2fe52b[_0x50f0c9(0x17b)](),'browser_version':_0x2fe52b[_0x50f0c9(0x1a8)]()};}catch(_0x43a27c){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x43a27c);}return _0x32f1f3;},exports[a97_0x4c81db(0x1e0)]=()=>{const _0x5a40b0=a97_0x4c81db,_0x3a177e={};_0x3a177e['xRuLw']=function(_0x593e4c,_0x1fddf8){return _0x593e4c===_0x1fddf8;},_0x3a177e[_0x5a40b0(0x222)]=_0x5a40b0(0x1fa),_0x3a177e[_0x5a40b0(0x221)]=function(_0x3418d8,_0x40a75f){return _0x3418d8>_0x40a75f;},_0x3a177e['UuPxS']=function(_0x43569b,_0x41955d){return _0x43569b!==_0x41955d;},_0x3a177e[_0x5a40b0(0x179)]=_0x5a40b0(0x1ca),_0x3a177e['LCfXx']=function(_0x4a0382,_0x3be8cb){return _0x4a0382&&_0x3be8cb;};const _0x493749=_0x3a177e;try{const _0x32d696=bsSetupHelper[_0x5a40b0(0x20a)](process['env'][_0x5a40b0(0x213)])||bsSetupHelper[_0x5a40b0(0x20a)](process[_0x5a40b0(0x1b9)][_0x5a40b0(0x1b1)]),_0x49fbf8=_0x493749[_0x5a40b0(0x19c)](typeof process[_0x5a40b0(0x1b9)][_0x5a40b0(0x186)],_0x493749[_0x5a40b0(0x222)])&&_0x493749[_0x5a40b0(0x221)](process[_0x5a40b0(0x1b9)][_0x5a40b0(0x186)]['length'],0x0)&&_0x493749[_0x5a40b0(0x1e8)](process['env'][_0x5a40b0(0x186)],_0x493749[_0x5a40b0(0x179)]);return _0x493749[_0x5a40b0(0x1b6)](_0x32d696,_0x49fbf8);}catch(_0x3a0b82){logger['debug'](_0x5a40b0(0x163)+_0x3a0b82);}return![];},exports[a97_0x4c81db(0x1cb)]=(_0x5518c0,_0x4fdb02)=>{const _0x2de6e7=a97_0x4c81db,_0x4529ad={'dFxGk':_0x2de6e7(0x211),'xGBLH':function(_0x40709c,_0x1995ea){return _0x40709c(_0x1995ea);},'uXvXX':_0x2de6e7(0x1ff),'pXamH':function(_0x18c06b,_0x5b86e6){return _0x18c06b(_0x5b86e6);},'IQbSl':_0x2de6e7(0x1c3),'GoEKb':_0x2de6e7(0x15a),'zzzTe':function(_0x243b9c,_0x2d0ae3){return _0x243b9c(_0x2d0ae3);},'GdLxs':_0x2de6e7(0x159),'YuNhy':_0x2de6e7(0x190),'hHtFU':_0x2de6e7(0x166),'AuzTW':_0x2de6e7(0x1f2),'Xebjv':'selenium-webdriver','KNIxg':_0x2de6e7(0x175),'UsYiY':_0x2de6e7(0x229),'DWcou':_0x2de6e7(0x156),'OyzgL':'--headless','nAVck':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','QsPgy':_0x2de6e7(0x17e),'zNaWK':function(_0x47d555,_0x15a86c){return _0x47d555===_0x15a86c;},'kdAGL':'chrome','koUsp':function(_0x120cf5,_0x517b3b){return _0x120cf5>=_0x517b3b;}},_0x1dcc71=_0x5518c0['get'](_0x4529ad[_0x2de6e7(0x1b4)]),_0xac68cf=_0x4529ad['xGBLH'](parseFloat,_0x5518c0[_0x2de6e7(0x20c)](_0x4529ad[_0x2de6e7(0x224)]))||_0x4529ad['pXamH'](parseFloat,_0x5518c0[_0x2de6e7(0x20c)](_0x4529ad['IQbSl'])),_0x3e548d=_0x5518c0[_0x2de6e7(0x20c)](_0x4529ad[_0x2de6e7(0x1a0)])||{},_0x179052=_0x4529ad[_0x2de6e7(0x1bf)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x4f8cfd=_0x3e548d[_0x4529ad[_0x2de6e7(0x1c5)]]||_0x5518c0['get'](_0x4529ad[_0x2de6e7(0x1a2)])||![];if(_0x4f8cfd)return logger[_0x2de6e7(0x208)](_0x4529ad['hHtFU']),![];let _0x358b3c;try{_0x358b3c=bsSetupHelper[_0x2de6e7(0x1d6)](_0x4529ad[_0x2de6e7(0x16a)],_0x4529ad[_0x2de6e7(0x19f)]);}catch(_0x171f0e){return![];}const _0x1b13ea=new _0x358b3c[(_0x2de6e7(0x1fb))](_0x4fdb02[_0x2de6e7(0x197)]),_0x4fb4c2=bsSetupHelper[_0x2de6e7(0x1db)](_0x1b13ea,[_0x4529ad[_0x2de6e7(0x165)],_0x4529ad[_0x2de6e7(0x1d0)]])||bsSetupHelper[_0x2de6e7(0x1db)](_0x4fdb02['capabilities_'],[_0x4529ad[_0x2de6e7(0x1a0)],_0x4529ad[_0x2de6e7(0x21c)],_0x4529ad[_0x2de6e7(0x1d0)]])||bsSetupHelper[_0x2de6e7(0x1db)](_0x4fdb02[_0x2de6e7(0x1f8)],[_0x4529ad[_0x2de6e7(0x21c)],_0x4529ad['UsYiY']])||[];if(_0x4fb4c2[_0x2de6e7(0x21a)](_0x4529ad[_0x2de6e7(0x1cf)]))return logger[_0x2de6e7(0x208)](_0x4529ad[_0x2de6e7(0x1eb)]),![];const _0x32c034=_0x4fdb02['capabilities_']||{},_0xedf5ca=bsSetupHelper[_0x2de6e7(0x1db)](_0x32c034,[_0x4529ad[_0x2de6e7(0x20d)]])||{},_0x456a66=bsSetupHelper['nestedKeyValue'](_0xedf5ca,[_0x4529ad[_0x2de6e7(0x1d0)]])||[];if(_0x456a66[_0x2de6e7(0x21a)](_0x4529ad[_0x2de6e7(0x1cf)]))return logger[_0x2de6e7(0x208)](_0x4529ad[_0x2de6e7(0x1eb)]),![];if(_0x4529ad[_0x2de6e7(0x1f3)](_0x1dcc71[_0x2de6e7(0x194)](),_0x4529ad[_0x2de6e7(0x158)])&&_0x4529ad[_0x2de6e7(0x181)](_0xac68cf,_0x179052))return!![];return logger[_0x2de6e7(0x208)](_0x2de6e7(0x199)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x4c81db(0x1be)]=_0x4aeacc=>{const _0x374e62=a97_0x4c81db,_0x30fad2={};_0x30fad2[_0x374e62(0x1e3)]=_0x374e62(0x17e),_0x30fad2[_0x374e62(0x1f7)]=function(_0x1826d2,_0x78d1c){return _0x1826d2||_0x78d1c;},_0x30fad2[_0x374e62(0x1f9)]=_0x374e62(0x18c);const _0x53ee6c=_0x30fad2,_0x32955d=scripts[_0x374e62(0x1fe)];try{const _0x4c064e=bsSetupHelper[_0x374e62(0x20a)](process[_0x374e62(0x1b9)][_0x374e62(0x213)])||bsSetupHelper[_0x374e62(0x20a)](process[_0x374e62(0x1b9)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);if((!bsSetupHelper[_0x374e62(0x1c9)]()||process[_0x374e62(0x1b9)][_0x374e62(0x168)])&&_0x4c064e){const _0x1468d4=_0x4aeacc[_0x374e62(0x1f5)](),_0x4062f6=_0x1468d4[_0x374e62(0x20c)](_0x53ee6c[_0x374e62(0x1e3)]),_0x38a513=_0x53ee6c['yMIOB'](_0x4062f6,{});bsSetupHelper[_0x374e62(0x1b3)](_0x38a513,_0x32955d),_0x4aeacc[_0x374e62(0x1f5)]()['set'](_0x53ee6c['fIAfO'],_0x38a513);}else logger[_0x374e62(0x208)](_0x53ee6c[_0x374e62(0x1f9)]);}catch(_0x1931f4){logger[_0x374e62(0x1c7)](_0x374e62(0x21d)+_0x1931f4);}},exports[a97_0x4c81db(0x1c2)]=(_0x34b209=null,_0xe97d66=!![],_0x32ee33=[])=>{const _0xf86c43=a97_0x4c81db,_0x5c252b={};_0x5c252b[_0xf86c43(0x1c8)]=function(_0x59c5fd,_0xb75064){return _0x59c5fd==_0xb75064;},_0x5c252b[_0xf86c43(0x1f4)]=function(_0x1375eb,_0x2838e9){return _0x1375eb>_0x2838e9;},_0x5c252b[_0xf86c43(0x1b8)]=function(_0x59d3ff,_0x22f2bc){return _0x59d3ff===_0x22f2bc;},_0x5c252b[_0xf86c43(0x192)]=function(_0xd5ed76,_0x446771){return _0xd5ed76&&_0x446771;},_0x5c252b[_0xf86c43(0x1b0)]=function(_0x238042,_0x5df057){return _0x238042&&_0x5df057;};const _0x528e88=_0x5c252b;if(_0x528e88['TSYyq'](process[_0xf86c43(0x1b9)][_0xf86c43(0x170)],null))return!![];try{const _0x1ed4c1=JSON[_0xf86c43(0x187)](process[_0xf86c43(0x1b9)][_0xf86c43(0x170)]),_0x4a7b5f=Array[_0xf86c43(0x1b7)](_0x1ed4c1[_0xf86c43(0x183)])?_0x1ed4c1[_0xf86c43(0x183)]:[],_0x399ee7=Array[_0xf86c43(0x1b7)](_0x1ed4c1['excludeTagsInTestingScope'])?_0x1ed4c1['excludeTagsInTestingScope']:[];if(bsSetupHelper[_0xf86c43(0x17d)](_0x34b209)){if(_0x528e88[_0xf86c43(0x1f4)](_0x32ee33[_0xf86c43(0x1d7)],0x0)){const _0x1e1a35=_0x399ee7['some'](_0x3af7d2=>_0x32ee33[_0xf86c43(0x21a)](_0x3af7d2)),_0x228844=_0x528e88[_0xf86c43(0x1b8)](_0x4a7b5f['length'],0x0)||_0x4a7b5f[_0xf86c43(0x1bc)](_0x4520a9=>_0x32ee33[_0xf86c43(0x21a)](_0x4520a9));return _0x528e88[_0xf86c43(0x192)](!_0x1e1a35,_0x228844);}return!![];}let _0x44542b;_0xe97d66?_0x44542b=_0x34b209[_0xf86c43(0x1a5)]('/'):_0x44542b=_0x34b209;const _0x2c7c6a=_0x399ee7[_0xf86c43(0x1bc)](_0x1cac2b=>_0x44542b['includes'](_0x1cac2b)),_0x237ec2=_0x528e88[_0xf86c43(0x1b8)](_0x4a7b5f[_0xf86c43(0x1d7)],0x0)||_0x4a7b5f['some'](_0x2ed7f2=>_0x44542b[_0xf86c43(0x21a)](_0x2ed7f2));return _0x528e88[_0xf86c43(0x1b0)](!_0x2c7c6a,_0x237ec2);}catch(_0xa5b6ec){logger[_0xf86c43(0x1e2)]('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util[_0xf86c43(0x209)](_0xa5b6ec));}return![];},exports[a97_0x4c81db(0x20f)]=_0x4c47cf=>{const _0x4f267f=a97_0x4c81db;let _0x4062be=![];try{_0x4c47cf['platforms']['forEach'](_0xffcbf9=>{const _0x2be7b1=a97_0x4e23;if(bsSetupHelper[_0x2be7b1(0x20a)](_0xffcbf9[_0x2be7b1(0x1b5)]))return _0x4062be=!![],!![];});}catch(_0x58262d){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x58262d);}return _0x4062be||bsSetupHelper[_0x4f267f(0x20a)](_0x4c47cf[_0x4f267f(0x1b5)]);},exports[a97_0x4c81db(0x191)]=PerformanceTester['measureWrapper'](a97_0x4c81db(0x1bb),async function(_0x2dc7bc,_0x1f6fae){const _0x575e54=a97_0x4c81db,_0x38645b={};_0x38645b[_0x575e54(0x1cd)]=_0x575e54(0x1e5),_0x38645b[_0x575e54(0x1c1)]=_0x575e54(0x15e),_0x38645b[_0x575e54(0x1fd)]=_0x575e54(0x1ea),_0x38645b[_0x575e54(0x19a)]=_0x575e54(0x1a9),_0x38645b['SkWQP']=_0x575e54(0x17c),_0x38645b['dSkJG']=_0x575e54(0x219),_0x38645b[_0x575e54(0x1d4)]=function(_0x38b456,_0x23094c){return _0x38b456===_0x23094c;},_0x38645b['RXJuX']='Invalid\x20configuration\x20passed.',_0x38645b[_0x575e54(0x1a1)]='false';const _0x149f67=_0x38645b,_0x57653f=bsSetupHelper[_0x575e54(0x1c0)](_0x2dc7bc),_0x45bcf2=bsSetupHelper[_0x575e54(0x215)](_0x2dc7bc);if(bsSetupHelper['isUndefined'](_0x57653f)||bsSetupHelper['isUndefined'](_0x45bcf2))return logger[_0x575e54(0x1c7)](_0x149f67[_0x575e54(0x1cd)]),[null,null];try{let _0x3b2217;bsSetupHelper[_0x575e54(0x17d)](process['env'][_0x575e54(0x170)])?_0x3b2217={}:_0x3b2217=JSON['parse'](process['env'][_0x575e54(0x170)]);const {name:_0x8e19b1,version:_0x57ef60}=bsSetupHelper[_0x575e54(0x15d)](_0x2dc7bc,_0x1f6fae),_0x15981b={'projectName':_0x2dc7bc[_0x575e54(0x157)],'buildName':_0x2dc7bc[_0x575e54(0x207)]||path['basename'](path['resolve'](process['cwd']())),'startTime':new Date()[_0x575e54(0x1ba)](),'description':_0x2dc7bc[_0x575e54(0x205)]||'','source':{'frameworkName':_0x1f6fae[_0x575e54(0x21a)](_0x149f67[_0x575e54(0x1c1)])?_0x149f67[_0x575e54(0x1c1)]:_0x1f6fae,'frameworkVersion':bsSetupHelper[_0x575e54(0x18f)](_0x1f6fae),'sdkVersion':bsSetupHelper[_0x575e54(0x169)](),'language':_0x149f67['bVkch'],'testFramework':_0x8e19b1,'testFrameworkVersion':_0x57ef60},'settings':_0x3b2217,'versionControl':await bsSetupHelper[_0x575e54(0x210)](),'ciInfo':bsSetupHelper[_0x575e54(0x16e)](),'hostInfo':bsSetupHelper[_0x575e54(0x201)](),'browserstackAutomation':bsSetupHelper[_0x575e54(0x1c9)]()},_0x268b91={};_0x268b91[_0x575e54(0x1ac)]=_0x57653f,_0x268b91[_0x575e54(0x1aa)]=_0x45bcf2;const _0xffef59={};_0xffef59['Content-Type']=_0x149f67[_0x575e54(0x19a)];const _0x365b16={};_0x365b16[_0x575e54(0x18e)]=_0x268b91,_0x365b16[_0x575e54(0x1ec)]=_0xffef59;const _0x1fc546=_0x365b16,_0x5df214={};_0x5df214['body']=_0x15981b,_0x5df214[_0x575e54(0x223)]=!![];const _0x27c9c0=Object['assign'](_0x1fc546,_0x5df214),_0x211bd4=await bsSetupHelper[_0x575e54(0x203)](_0x149f67[_0x575e54(0x1ad)],_0x149f67[_0x575e54(0x15b)],_0x27c9c0,_0x2dc7bc,API_URL);let _0x178a0a=process[_0x575e54(0x1b9)][_0x575e54(0x170)];return _0x178a0a?_0x178a0a=JSON['parse'](process[_0x575e54(0x1b9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x178a0a={},scripts['parseFromJson'](_0x211bd4[_0x575e54(0x1a6)][_0x575e54(0x1a6)]),scripts['toJson'](),_0x178a0a[_0x575e54(0x188)]=_0x211bd4[_0x575e54(0x1a6)]['data'][_0x575e54(0x188)],process[_0x575e54(0x1b9)][_0x575e54(0x170)]=JSON[_0x575e54(0x202)](_0x178a0a),[_0x211bd4[_0x575e54(0x1a6)][_0x575e54(0x1a6)][_0x575e54(0x227)],_0x211bd4[_0x575e54(0x1a6)][_0x575e54(0x1a6)]['id']];}catch(_0x55b0d1){if(_0x55b0d1[_0x575e54(0x177)])logger[_0x575e54(0x1c7)](_0x575e54(0x212)+_0x55b0d1['response']['status']+'\x20'+_0x55b0d1['response'][_0x575e54(0x1d2)]+'\x20'+JSON[_0x575e54(0x202)](_0x55b0d1[_0x575e54(0x177)][_0x575e54(0x1a6)]));else{if(_0x149f67[_0x575e54(0x1d4)](_0x55b0d1['message'],_0x149f67[_0x575e54(0x1ee)])){logger[_0x575e54(0x1c7)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x55b0d1[_0x575e54(0x22a)]||_0x55b0d1[_0x575e54(0x1d8)]));for(const _0x52f449 of _0x55b0d1['errors']){logger[_0x575e54(0x1c7)](_0x52f449[_0x575e54(0x22a)]);}process[_0x575e54(0x1b9)][_0x575e54(0x213)]=_0x149f67[_0x575e54(0x1a1)],process['env'][_0x575e54(0x1b1)]=_0x149f67[_0x575e54(0x1a1)];}else logger[_0x575e54(0x1c7)](_0x575e54(0x212)+(_0x55b0d1[_0x575e54(0x22a)]||_0x55b0d1[_0x575e54(0x1d8)]));}return[null,null];}}),exports[a97_0x4c81db(0x19d)]=PerformanceTester[a97_0x4c81db(0x1bd)](a97_0x4c81db(0x1e4),async function(_0x4a27f8){const _0x3a3b3c=a97_0x4c81db,_0x11facf={};_0x11facf['syUqn']=function(_0x5b0bf3,_0xf359ea){return _0x5b0bf3!==_0xf359ea;},_0x11facf[_0x3a3b3c(0x1d9)]=_0x3a3b3c(0x1fa),_0x11facf[_0x3a3b3c(0x20e)]='error',_0x11facf[_0x3a3b3c(0x1dd)]=_0x3a3b3c(0x1e9),_0x11facf[_0x3a3b3c(0x173)]='application/json',_0x11facf['ivSvr']='PUT',_0x11facf[_0x3a3b3c(0x172)]=_0x3a3b3c(0x22c),_0x11facf[_0x3a3b3c(0x226)]=function(_0x480787,_0x975d46){return _0x480787+_0x975d46;},_0x11facf[_0x3a3b3c(0x1a7)]=_0x3a3b3c(0x1dc),_0x11facf[_0x3a3b3c(0x1da)]=_0x3a3b3c(0x1ed);const _0x4540a=_0x11facf;if(bsSetupHelper[_0x3a3b3c(0x17d)](process[_0x3a3b3c(0x1b9)]['BS_A11Y_JWT'])||_0x4540a[_0x3a3b3c(0x1d1)](typeof process['env'][_0x3a3b3c(0x186)],_0x4540a['QEioP'])){const _0x2e546a={};return _0x2e546a['status']=_0x4540a[_0x3a3b3c(0x20e)],_0x2e546a[_0x3a3b3c(0x22a)]=_0x4540a['WOWhv'],_0x2e546a;}const _0x31fc9e={'endTime':new Date()[_0x3a3b3c(0x1ba)]()},_0x5af2ef={};_0x5af2ef[_0x3a3b3c(0x22d)]=_0x3a3b3c(0x178)+process[_0x3a3b3c(0x1b9)][_0x3a3b3c(0x186)],_0x5af2ef[_0x3a3b3c(0x1df)]=_0x4540a[_0x3a3b3c(0x173)];const _0x2fd00a={};_0x2fd00a[_0x3a3b3c(0x1ec)]=_0x5af2ef;const _0x218705=_0x2fd00a,_0x392e90={};_0x392e90[_0x3a3b3c(0x164)]=_0x31fc9e,_0x392e90[_0x3a3b3c(0x18e)]=null,_0x392e90['json']=!![];const _0x321abc=Object['assign'](_0x218705,_0x392e90);try{const _0x39d4a8=await bsSetupHelper[_0x3a3b3c(0x203)](_0x4540a['ivSvr'],_0x4540a[_0x3a3b3c(0x172)],_0x321abc,_0x4a27f8,API_URL);if(_0x39d4a8[_0x3a3b3c(0x1a6)][_0x3a3b3c(0x1c7)])throw new Error(_0x4540a['iNrUW'](_0x4540a[_0x3a3b3c(0x1a7)],_0x39d4a8[_0x3a3b3c(0x1a6)][_0x3a3b3c(0x1c7)]));else{logger[_0x3a3b3c(0x217)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x3a3b3c(0x1ba)]());const _0x1e69cd={};return _0x1e69cd[_0x3a3b3c(0x1e1)]=_0x4540a['MJPzM'],_0x1e69cd[_0x3a3b3c(0x22a)]='',_0x1e69cd;}}catch(_0x12de41){_0x12de41[_0x3a3b3c(0x177)]?logger['error'](_0x3a3b3c(0x1c4)+_0x12de41['response']['status']+'\x20'+_0x12de41['response'][_0x3a3b3c(0x1d2)]+'\x20'+JSON[_0x3a3b3c(0x202)](_0x12de41[_0x3a3b3c(0x177)][_0x3a3b3c(0x1a6)])):logger[_0x3a3b3c(0x1c7)](_0x3a3b3c(0x1c4)+(_0x12de41[_0x3a3b3c(0x22a)]||util[_0x3a3b3c(0x209)](_0x12de41)));const _0x2d1527={};return _0x2d1527[_0x3a3b3c(0x1e1)]=_0x4540a[_0x3a3b3c(0x20e)],_0x2d1527[_0x3a3b3c(0x22a)]=_0x12de41[_0x3a3b3c(0x22a)]||(_0x12de41[_0x3a3b3c(0x177)]?_0x12de41[_0x3a3b3c(0x177)]['status']+':'+_0x12de41[_0x3a3b3c(0x177)][_0x3a3b3c(0x1d2)]:_0x12de41),_0x2d1527;}}),exports[a97_0x4c81db(0x189)]=async(_0x1769bb,_0x58cbea=null)=>{const _0x377294=a97_0x4c81db,_0x3455f6={};_0x3455f6[_0x377294(0x225)]=_0x377294(0x17a),_0x3455f6['jciRi']=_0x377294(0x1f0),_0x3455f6[_0x377294(0x220)]=_0x377294(0x200);const _0x2279d6=_0x3455f6;if(!this[_0x377294(0x1e0)]()||!globals[_0x377294(0x160)](_0x2279d6[_0x377294(0x225)])||!globals['getGlobal'](_0x2279d6[_0x377294(0x18d)])){logger['warn'](_0x2279d6[_0x377294(0x220)]);return;}return await PerformanceTester[_0x377294(0x1bd)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xdd2c13=_0x377294,_0xf97ddb={};_0xf97ddb[_0xdd2c13(0x1d5)]=_0x58cbea||global[_0xdd2c13(0x193)];const _0x1ab2e1=util[_0xdd2c13(0x209)](await _0x1769bb[_0xdd2c13(0x18b)](scripts[_0xdd2c13(0x189)],_0xf97ddb));return logger[_0xdd2c13(0x1e2)](_0xdd2c13(0x171)+_0x1ab2e1),_0x1ab2e1;},{'command':_0x58cbea})();},exports[a97_0x4c81db(0x1ef)]=async(_0x2410d5,_0x504180)=>{const _0x14f0ff=a97_0x4c81db,_0x2fd0fc={};_0x2fd0fc[_0x14f0ff(0x1cc)]=_0x14f0ff(0x1a4),_0x2fd0fc['GjPEM']=_0x14f0ff(0x17a),_0x2fd0fc[_0x14f0ff(0x180)]=_0x14f0ff(0x1f0),_0x2fd0fc[_0x14f0ff(0x16f)]=_0x14f0ff(0x214),_0x2fd0fc[_0x14f0ff(0x18a)]=_0x14f0ff(0x1ef),_0x2fd0fc['FnSFC']='No\x20accessibility\x20results\x20were\x20found.';const _0x21f569=_0x2fd0fc;if(!this[_0x14f0ff(0x1e0)]()||!globals[_0x14f0ff(0x160)](_0x21f569[_0x14f0ff(0x19b)])||!globals['getGlobal'](_0x21f569[_0x14f0ff(0x180)]))return logger[_0x14f0ff(0x208)](_0x21f569['YGWwu']),[];try{return await PerformanceTester[_0x14f0ff(0x1bd)](PerformanceA11yEvents[_0x14f0ff(0x184)],async()=>{const _0x237485=_0x14f0ff;logger[_0x237485(0x1e2)](_0x21f569[_0x237485(0x1cc)]);const _0x17a5b8={};_0x17a5b8[_0x237485(0x1d5)]=_0x504180['browserstackSessionName'],logger[_0x237485(0x1e2)](util[_0x237485(0x209)](await _0x2410d5[_0x237485(0x18b)](scripts[_0x237485(0x189)],_0x17a5b8)));},{'command':_0x21f569[_0x14f0ff(0x18a)]})(),await PerformanceTester[_0x14f0ff(0x1bd)](PerformanceA11yEvents[_0x14f0ff(0x21f)],async()=>{const _0x4582eb=_0x14f0ff,_0x549ba8=await _0x2410d5[_0x4582eb(0x18b)](scripts[_0x4582eb(0x22e)]);return _0x549ba8;})();}catch{return logger['error'](_0x21f569[_0x14f0ff(0x1de)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x20ab73,_0x3db475)=>{const _0x28e049=a97_0x4c81db,_0x478c6a={};_0x478c6a['QcmAH']=_0x28e049(0x1ce),_0x478c6a['bRuYJ']=_0x28e049(0x17a),_0x478c6a[_0x28e049(0x15c)]=_0x28e049(0x1f0),_0x478c6a[_0x28e049(0x218)]=_0x28e049(0x1ab),_0x478c6a['qVIrY']=_0x28e049(0x185),_0x478c6a[_0x28e049(0x206)]=_0x28e049(0x176);const _0x48863e=_0x478c6a;if(!this[_0x28e049(0x1e0)]()||!globals[_0x28e049(0x160)](_0x48863e[_0x28e049(0x1b2)])||!globals[_0x28e049(0x160)](_0x48863e['FNupP']))return logger[_0x28e049(0x208)](_0x48863e[_0x28e049(0x218)]),{};try{return await PerformanceTester[_0x28e049(0x1bd)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4bc30c=_0x28e049;logger[_0x4bc30c(0x1e2)](_0x48863e[_0x4bc30c(0x1f1)]);const _0x4f9e81={};_0x4f9e81['method']=_0x3db475['browserstackSessionName'],logger[_0x4bc30c(0x1e2)](util[_0x4bc30c(0x209)](await _0x20ab73[_0x4bc30c(0x18b)](scripts[_0x4bc30c(0x189)],_0x4f9e81)));},{'command':_0x48863e[_0x28e049(0x15f)]})(),await PerformanceTester[_0x28e049(0x1bd)](PerformanceA11yEvents[_0x28e049(0x1c6)],async()=>{const _0x16f998=_0x28e049,_0x338557=await _0x20ab73[_0x16f998(0x18b)](scripts[_0x16f998(0x174)]);return _0x338557;})();}catch{return logger[_0x28e049(0x1c7)](_0x48863e[_0x28e049(0x206)]),{};}},exports[a97_0x4c81db(0x162)]=_0x84d808=>{const _0x42b800=a97_0x4c81db,_0x2935ab={};_0x2935ab['iRIpF']=function(_0x4b47c3,_0x2a511f){return _0x4b47c3===_0x2a511f;},_0x2935ab[_0x42b800(0x16b)]='string',_0x2935ab[_0x42b800(0x22b)]=_0x42b800(0x1a3);const _0x178987=_0x2935ab;if(_0x84d808&&_0x84d808[_0x42b800(0x1d3)]&&_0x178987['iRIpF'](typeof _0x84d808[_0x42b800(0x1d3)],_0x178987[_0x42b800(0x16b)]))return _0x84d808['script'][_0x42b800(0x21a)](_0x178987['MTjbO']);return![];};
1
+ const a97_0x5280ff=a97_0x1529;(function(_0x278402,_0x5e6900){const _0x11668d=a97_0x1529,_0x30c5ab=_0x278402();while(!![]){try{const _0x534874=-parseInt(_0x11668d(0x136))/0x1+-parseInt(_0x11668d(0x16c))/0x2+-parseInt(_0x11668d(0x150))/0x3+-parseInt(_0x11668d(0x1ae))/0x4+parseInt(_0x11668d(0x15a))/0x5*(-parseInt(_0x11668d(0x173))/0x6)+parseInt(_0x11668d(0x13b))/0x7*(parseInt(_0x11668d(0x1c1))/0x8)+parseInt(_0x11668d(0x152))/0x9*(parseInt(_0x11668d(0x117))/0xa);if(_0x534874===_0x5e6900)break;else _0x30c5ab['push'](_0x30c5ab['shift']());}catch(_0x47cf37){_0x30c5ab['push'](_0x30c5ab['shift']());}}}(a97_0x724e,0xc78dc));function a97_0x1529(_0x25e6a7,_0x30a65c){const _0x724e96=a97_0x724e();return a97_0x1529=function(_0x152903,_0x576c5c){_0x152903=_0x152903-0x103;let _0x1221c8=_0x724e96[_0x152903];return _0x1221c8;},a97_0x1529(_0x25e6a7,_0x30a65c);}function a97_0x724e(){const _0x3379b1=['v2/test_runs','MwQXY','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','VNAug','kvarO','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','playwright','BEdoz','BROWSERSTACK_TURBOSCALE','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','browserVersion','isTrue','BS_A11Y_JWT','performScan','success','kNAbN','set','browserstack_executor','status','DvtPY','chromeOptions_','cqTMO','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','RaYRA','maLBu','zEBZi','projectName','EeROi','measureWrapper','hcYbj','getAccessibilityResultsSummary','oKmtH','browserName','headers','Not\x20a\x20Accessibility\x20Session','getUserName','HFBle','OSqov','Mkfjk','length','accessibility','getAccessKey','util','PFsXb','accessibilityToken','lYsdd','__cloud_provider___','IxVKi','POST','UJPGg','ndZfS','getPackageVersion','stringify','TKOrG','mTfyV','3144332NRBkLm','yujYA','parse','checkAccessibilityPlatformConfig','format','XSwMC','get','No\x20accessibility\x20summary\x20was\x20found.','browserstackSessionName','selenium-webdriver/chrome.js','stack','setNonBstackInfraCapabilities','getCapabilities','eZsmj','getGlobal','json','nonBstackPlatformValidation','YosvG','message','3448DDCPZU','options_','winstonLogger','join','errors','LVhwK','getBrowserName','GET_RESULTS_SUMMARY','basename','includeTagsInTestingScope','cwd','KTQAg','getAccessibilityResults','VotUS','isUndefined','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','fdErq','toLowerCase','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserstack','ChromeExtension','cwbHU','isAccessibilityPlatform','PUT','a11y:start','executeAsyncScript','shouldScanTestForAccessibility','statusText','getPlatform','assign','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','Content-Type','../globals','NgrVL','getCiInfo','includes','chrome','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','zAnCA','toISOString','IIGTe','473940CcuEmm','fMIQO','getBrowserVersion','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Performing\x20scan\x20before\x20getting\x20results\x20summary','dTEHq','sFRka','Build\x20creation\x20had\x20failed.','javascript','wVDaJ','some','capabilities_','args','uUFrw','qoYQP','getAgentVersion','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','./constants','pass','ZJCtO','bVAvp','bMSke','auth','isBrowserStackCommandExecutor','stopAccessibilityTestRun','false','YhMsF','warn','test_runs/stop','xZQHQ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','1159515ZHfBQE','requireModule','nestedKeyValue','isBrowserstackInfra','qaydB','25459zXvYGF','data','EKLGi','getTestFrameworkDetails','resolve','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','version','IhvSV','response','nodeRequest','fetchPlatformDetails','buildName','debug','OhPSA','script','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getGitMetaData','toJson','goog:chromeOptions','GET_RESULTS','dJFiH','114351hkuLBf','GrpRh','765okXkht','./scripts','bstack:options','buildDescription','FyZCT','env','method','gsXuK','5rdxOQW','error','JcqbJ','jcQHY','SFFbm','string','xZFda','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','CyDtv','isArray','VxyHv','scannerVersion','Bearer\x20','pphft','body','bstackA11yShouldScan','excludeTagsInTestingScope','deviceName','3152878AsXaRx','forEach','isAccessibilityAutomationSession','../performance/constants','yoaek','PERFORM_SCAN','getResultsSummary','7311066QkSjBJ','path','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','platforms'];a97_0x724e=function(){return _0x3379b1;};return a97_0x724e();}const path=require(a97_0x5280ff(0x174)),util=require(a97_0x5280ff(0x1a1)),bsSetupHelper=require('../helper'),logger=require('../logger')[a97_0x5280ff(0x1c3)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x5280ff(0x128)),PerformanceTester=require('../performance/performance-tester'),scripts=require(a97_0x5280ff(0x153)),globals=require(a97_0x5280ff(0x10e)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x5280ff(0x16f));exports[a97_0x5280ff(0x145)]=async _0x824e3b=>{const _0x608876=a97_0x5280ff,_0x3d1dce={};_0x3d1dce[_0x608876(0x1c6)]=function(_0x4b6e4b,_0x521ade){return _0x4b6e4b===_0x521ade;},_0x3d1dce[_0x608876(0x178)]=_0x608876(0x1d5);const _0xb0ef=_0x3d1dce;let _0x4e906b={};try{const _0x193fac=await _0x824e3b[_0x608876(0x1ba)]();_0x4e906b={'os_name':_0x193fac[_0x608876(0x10a)](),'os_version':bsSetupHelper['getPlatformVersion'](_0xb0ef[_0x608876(0x1c6)](global[_0x608876(0x1a5)],_0xb0ef[_0x608876(0x178)])),'browser_name':_0x193fac[_0x608876(0x1c7)](),'browser_version':_0x193fac[_0x608876(0x119)]()};}catch(_0x20f5ce){logger[_0x608876(0x147)](_0x608876(0x113)+_0x20f5ce);}return _0x4e906b;},exports[a97_0x5280ff(0x16e)]=()=>{const _0x404aee=a97_0x5280ff,_0x36b072={};_0x36b072[_0x404aee(0x103)]=function(_0x3eba35,_0x4c4f5b){return _0x3eba35===_0x4c4f5b;},_0x36b072[_0x404aee(0x159)]=_0x404aee(0x15f),_0x36b072[_0x404aee(0x124)]=function(_0x26c552,_0x5651f2){return _0x26c552>_0x5651f2;},_0x36b072['zEBZi']=function(_0x35f93e,_0x550cde){return _0x35f93e!==_0x550cde;},_0x36b072[_0x404aee(0x12c)]='null',_0x36b072[_0x404aee(0x1a2)]=function(_0xb671c6,_0x508574){return _0xb671c6&&_0x508574;};const _0x4d21ce=_0x36b072;try{const _0x2fec94=bsSetupHelper[_0x404aee(0x182)](process[_0x404aee(0x157)][_0x404aee(0x11a)])||bsSetupHelper['isTrue'](process[_0x404aee(0x157)][_0x404aee(0x14a)]),_0x9792b0=_0x4d21ce[_0x404aee(0x103)](typeof process['env'][_0x404aee(0x183)],_0x4d21ce[_0x404aee(0x159)])&&_0x4d21ce[_0x404aee(0x124)](process[_0x404aee(0x157)]['BS_A11Y_JWT'][_0x404aee(0x19e)],0x0)&&_0x4d21ce[_0x404aee(0x190)](process['env'][_0x404aee(0x183)],_0x4d21ce[_0x404aee(0x12c)]);return _0x4d21ce[_0x404aee(0x1a2)](_0x2fec94,_0x9792b0);}catch(_0x53fa57){logger[_0x404aee(0x147)](_0x404aee(0x127)+_0x53fa57);}return![];},exports[a97_0x5280ff(0x1be)]=(_0x380af5,_0x389269)=>{const _0x4251c9=a97_0x5280ff,_0x5389c5={'dTEHq':_0x4251c9(0x197),'ZJCtO':function(_0x8a9b0d,_0x1dda47){return _0x8a9b0d(_0x1dda47);},'xZQHQ':_0x4251c9(0x181),'PeKWG':_0x4251c9(0x141),'IIGTe':_0x4251c9(0x154),'frsjZ':function(_0x357f4f,_0xdd94af){return _0x357f4f(_0xdd94af);},'mirhm':_0x4251c9(0x16b),'ziEuQ':'device','IhvSV':_0x4251c9(0x1d4),'oKjcr':_0x4251c9(0x1b7),'kNAbN':'selenium-webdriver','KTQAg':_0x4251c9(0x1c2),'BEdoz':_0x4251c9(0x123),'NgrVL':'chromeOptions','fMIQO':'--headless','FyZCT':_0x4251c9(0x180),'sFRka':_0x4251c9(0x14d),'SFFbm':function(_0x2f8cf1,_0x9c6c08){return _0x2f8cf1===_0x9c6c08;},'gubbL':_0x4251c9(0x112),'ndZfS':function(_0x5da99c,_0x38b1e3){return _0x5da99c>=_0x38b1e3;}},_0x31ba43=_0x380af5[_0x4251c9(0x1b4)](_0x5389c5[_0x4251c9(0x11c)]),_0x5e06b4=_0x5389c5[_0x4251c9(0x12a)](parseFloat,_0x380af5[_0x4251c9(0x1b4)](_0x5389c5[_0x4251c9(0x134)]))||_0x5389c5[_0x4251c9(0x12a)](parseFloat,_0x380af5[_0x4251c9(0x1b4)](_0x5389c5['PeKWG'])),_0x50ad60=_0x380af5[_0x4251c9(0x1b4)](_0x5389c5[_0x4251c9(0x116)])||{},_0x25aa6a=_0x5389c5['frsjZ'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x1632e1=_0x50ad60[_0x5389c5['mirhm']]||_0x380af5['get'](_0x5389c5['ziEuQ'])||![];if(_0x1632e1)return logger[_0x4251c9(0x132)](_0x5389c5[_0x4251c9(0x142)]),![];let _0x28ec0b;try{_0x28ec0b=bsSetupHelper[_0x4251c9(0x137)](_0x5389c5['oKjcr'],_0x5389c5[_0x4251c9(0x186)]);}catch(_0x4e6236){return![];}const _0x4ea96d=new _0x28ec0b['Options'](_0x389269[_0x4251c9(0x18b)]),_0x56f004=bsSetupHelper['nestedKeyValue'](_0x4ea96d,[_0x5389c5[_0x4251c9(0x1cc)],_0x5389c5[_0x4251c9(0x17e)]])||bsSetupHelper['nestedKeyValue'](_0x389269[_0x4251c9(0x122)],[_0x5389c5[_0x4251c9(0x116)],_0x5389c5[_0x4251c9(0x10f)],_0x5389c5[_0x4251c9(0x17e)]])||bsSetupHelper[_0x4251c9(0x138)](_0x389269[_0x4251c9(0x122)],[_0x5389c5[_0x4251c9(0x10f)],_0x5389c5[_0x4251c9(0x17e)]])||[];if(_0x56f004[_0x4251c9(0x111)](_0x5389c5[_0x4251c9(0x118)]))return logger[_0x4251c9(0x132)](_0x5389c5['FyZCT']),![];const _0x45155c=_0x389269[_0x4251c9(0x122)]||{},_0x475d36=bsSetupHelper['nestedKeyValue'](_0x45155c,[_0x5389c5[_0x4251c9(0x11d)]])||{},_0x93c577=bsSetupHelper[_0x4251c9(0x138)](_0x475d36,[_0x5389c5[_0x4251c9(0x17e)]])||[];if(_0x93c577[_0x4251c9(0x111)](_0x5389c5['fMIQO']))return logger[_0x4251c9(0x132)](_0x5389c5[_0x4251c9(0x156)]),![];if(_0x5389c5[_0x4251c9(0x15e)](_0x31ba43[_0x4251c9(0x1d3)](),_0x5389c5['gubbL'])&&_0x5389c5[_0x4251c9(0x1a9)](_0x5e06b4,_0x25aa6a))return!![];return logger[_0x4251c9(0x132)](_0x4251c9(0x140)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a97_0x5280ff(0x1b9)]=_0x1e535d=>{const _0x19f3f5=a97_0x5280ff,_0x915aca={};_0x915aca[_0x19f3f5(0x196)]=_0x19f3f5(0x14d),_0x915aca[_0x19f3f5(0x131)]=function(_0x4a8e2e,_0x8048bd){return _0x4a8e2e||_0x8048bd;},_0x915aca[_0x19f3f5(0x19d)]=_0x19f3f5(0x199);const _0x49154a=_0x915aca,_0x16a7a5=scripts[_0x19f3f5(0x1d6)];try{const _0x25683f=bsSetupHelper[_0x19f3f5(0x182)](process[_0x19f3f5(0x157)][_0x19f3f5(0x11a)])||bsSetupHelper[_0x19f3f5(0x182)](process[_0x19f3f5(0x157)][_0x19f3f5(0x14a)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x19f3f5(0x157)][_0x19f3f5(0x17f)])&&_0x25683f){const _0x488ba8=_0x1e535d[_0x19f3f5(0x1ba)](),_0x2db70a=_0x488ba8[_0x19f3f5(0x1b4)](_0x49154a['oKmtH']),_0x5ba8a8=_0x49154a[_0x19f3f5(0x131)](_0x2db70a,{});bsSetupHelper['mergeDeep'](_0x5ba8a8,_0x16a7a5),_0x1e535d[_0x19f3f5(0x1ba)]()[_0x19f3f5(0x187)](_0x49154a[_0x19f3f5(0x196)],_0x5ba8a8);}else logger[_0x19f3f5(0x132)](_0x49154a[_0x19f3f5(0x19d)]);}catch(_0x6ad7c9){logger['error']('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x6ad7c9);}},exports[a97_0x5280ff(0x108)]=(_0x20562c=null,_0x44f1f7=!![],_0x4797ed=[])=>{const _0x15f4f0=a97_0x5280ff,_0x5cbca4={};_0x5cbca4[_0x15f4f0(0x13a)]=function(_0x34cfd9,_0x5f562f){return _0x34cfd9==_0x5f562f;},_0x5cbca4[_0x15f4f0(0x12b)]=function(_0x36df02,_0x4df477){return _0x36df02>_0x4df477;},_0x5cbca4[_0x15f4f0(0x1d2)]=function(_0x3d084a,_0x526768){return _0x3d084a===_0x526768;},_0x5cbca4[_0x15f4f0(0x162)]=function(_0x195ddf,_0x76ffe2){return _0x195ddf&&_0x76ffe2;};const _0xff0ab1=_0x5cbca4;if(_0xff0ab1['qaydB'](process['env'][_0x15f4f0(0x18d)],null))return!![];try{const _0x1ba6c8=JSON[_0x15f4f0(0x1b0)](process[_0x15f4f0(0x157)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x7cedf9=Array['isArray'](_0x1ba6c8[_0x15f4f0(0x1ca)])?_0x1ba6c8[_0x15f4f0(0x1ca)]:[],_0x2c763f=Array[_0x15f4f0(0x163)](_0x1ba6c8['excludeTagsInTestingScope'])?_0x1ba6c8[_0x15f4f0(0x16a)]:[];if(bsSetupHelper[_0x15f4f0(0x1cf)](_0x20562c)){if(_0xff0ab1[_0x15f4f0(0x12b)](_0x4797ed[_0x15f4f0(0x19e)],0x0)){const _0x17bdec=_0x2c763f['some'](_0xd1daa2=>_0x4797ed[_0x15f4f0(0x111)](_0xd1daa2)),_0x5e85e4=_0xff0ab1[_0x15f4f0(0x1d2)](_0x7cedf9[_0x15f4f0(0x19e)],0x0)||_0x7cedf9[_0x15f4f0(0x121)](_0x283239=>_0x4797ed['includes'](_0x283239));return _0xff0ab1[_0x15f4f0(0x162)](!_0x17bdec,_0x5e85e4);}return!![];}let _0x5606b2;_0x44f1f7?_0x5606b2=_0x20562c[_0x15f4f0(0x1c4)]('/'):_0x5606b2=_0x20562c;const _0x30f7a0=_0x2c763f[_0x15f4f0(0x121)](_0x555b8b=>_0x5606b2['includes'](_0x555b8b)),_0x2ab20a=_0xff0ab1['fdErq'](_0x7cedf9[_0x15f4f0(0x19e)],0x0)||_0x7cedf9[_0x15f4f0(0x121)](_0x2b0ce9=>_0x5606b2[_0x15f4f0(0x111)](_0x2b0ce9));return _0xff0ab1[_0x15f4f0(0x162)](!_0x30f7a0,_0x2ab20a);}catch(_0x33a33a){logger[_0x15f4f0(0x147)](_0x15f4f0(0x161)+util[_0x15f4f0(0x1b2)](_0x33a33a));}return![];},exports[a97_0x5280ff(0x1b1)]=_0x334952=>{const _0x2e8d24=a97_0x5280ff;let _0x3ac09b=![];try{_0x334952[_0x2e8d24(0x176)][_0x2e8d24(0x16d)](_0x56eb8b=>{const _0x1caf53=_0x2e8d24;if(bsSetupHelper[_0x1caf53(0x182)](_0x56eb8b[_0x1caf53(0x19f)]))return _0x3ac09b=!![],!![];});}catch(_0x9ca0b4){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x9ca0b4);}return _0x3ac09b||bsSetupHelper['isTrue'](_0x334952[_0x2e8d24(0x19f)]);},exports['createAccessibilityTestRun']=PerformanceTester[a97_0x5280ff(0x193)](a97_0x5280ff(0x106),async function(_0x1db0a0,_0x7253e4){const _0x3b025e=a97_0x5280ff,_0x49f829={};_0x49f829[_0x3b025e(0x18a)]=_0x3b025e(0x10c),_0x49f829[_0x3b025e(0x1bf)]=_0x3b025e(0x17d),_0x49f829['xZFda']=_0x3b025e(0x11f),_0x49f829[_0x3b025e(0x164)]='application/json',_0x49f829[_0x3b025e(0x1bb)]=_0x3b025e(0x1a7),_0x49f829['vxlyP']=_0x3b025e(0x177),_0x49f829[_0x3b025e(0x18c)]=function(_0x2f8af6,_0x4f87e6){return _0x2f8af6===_0x4f87e6;},_0x49f829[_0x3b025e(0x17a)]='Invalid\x20configuration\x20passed.',_0x49f829[_0x3b025e(0x1a8)]=_0x3b025e(0x130);const _0x87a4bc=_0x49f829,_0x41bbfc=bsSetupHelper[_0x3b025e(0x19a)](_0x1db0a0),_0x30ea43=bsSetupHelper[_0x3b025e(0x1a0)](_0x1db0a0);if(bsSetupHelper['isUndefined'](_0x41bbfc)||bsSetupHelper[_0x3b025e(0x1cf)](_0x30ea43))return logger[_0x3b025e(0x15b)](_0x87a4bc[_0x3b025e(0x18a)]),[null,null];try{let _0x16fa1d;bsSetupHelper[_0x3b025e(0x1cf)](process[_0x3b025e(0x157)][_0x3b025e(0x18d)])?_0x16fa1d={}:_0x16fa1d=JSON[_0x3b025e(0x1b0)](process[_0x3b025e(0x157)][_0x3b025e(0x18d)]);const {name:_0x3156c5,version:_0x55f6cd}=bsSetupHelper[_0x3b025e(0x13e)](_0x1db0a0,_0x7253e4),_0x5c092b={'projectName':_0x1db0a0[_0x3b025e(0x191)],'buildName':_0x1db0a0[_0x3b025e(0x146)]||path[_0x3b025e(0x1c9)](path[_0x3b025e(0x13f)](process[_0x3b025e(0x1cb)]())),'startTime':new Date()['toISOString'](),'description':_0x1db0a0[_0x3b025e(0x155)]||'','source':{'frameworkName':_0x7253e4['includes'](_0x87a4bc[_0x3b025e(0x1bf)])?_0x87a4bc['YosvG']:_0x7253e4,'frameworkVersion':bsSetupHelper[_0x3b025e(0x1aa)](_0x7253e4),'sdkVersion':bsSetupHelper[_0x3b025e(0x126)](),'language':_0x87a4bc[_0x3b025e(0x160)],'testFramework':_0x3156c5,'testFrameworkVersion':_0x55f6cd},'settings':_0x16fa1d,'versionControl':await bsSetupHelper[_0x3b025e(0x14b)](),'ciInfo':bsSetupHelper[_0x3b025e(0x110)](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x3b025e(0x139)]()},_0x27ee2b={};_0x27ee2b['user']=_0x41bbfc,_0x27ee2b[_0x3b025e(0x129)]=_0x30ea43;const _0x2b61d7={};_0x2b61d7[_0x3b025e(0x10d)]=_0x87a4bc['VxyHv'];const _0x4eda3e={};_0x4eda3e['auth']=_0x27ee2b,_0x4eda3e[_0x3b025e(0x198)]=_0x2b61d7;const _0xc6bbf7=_0x4eda3e,_0x1761dd={};_0x1761dd[_0x3b025e(0x168)]=_0x5c092b,_0x1761dd[_0x3b025e(0x1bd)]=!![];const _0x2bb7f8=Object[_0x3b025e(0x10b)](_0xc6bbf7,_0x1761dd),_0x538a06=await bsSetupHelper[_0x3b025e(0x144)](_0x87a4bc['eZsmj'],_0x87a4bc['vxlyP'],_0x2bb7f8,_0x1db0a0,API_URL);let _0x616916=process[_0x3b025e(0x157)][_0x3b025e(0x18d)];return _0x616916?_0x616916=JSON[_0x3b025e(0x1b0)](process[_0x3b025e(0x157)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x616916={},scripts['parseFromJson'](_0x538a06['data']['data']),scripts[_0x3b025e(0x14c)](),_0x616916['scannerVersion']=_0x538a06[_0x3b025e(0x13c)][_0x3b025e(0x13c)][_0x3b025e(0x165)],process['env'][_0x3b025e(0x18d)]=JSON['stringify'](_0x616916),[_0x538a06[_0x3b025e(0x13c)][_0x3b025e(0x13c)][_0x3b025e(0x1a3)],_0x538a06[_0x3b025e(0x13c)][_0x3b025e(0x13c)]['id']];}catch(_0x411ad1){if(_0x411ad1[_0x3b025e(0x143)])logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x411ad1[_0x3b025e(0x143)][_0x3b025e(0x189)]+'\x20'+_0x411ad1['response']['statusText']+'\x20'+JSON['stringify'](_0x411ad1[_0x3b025e(0x143)][_0x3b025e(0x13c)]));else{if(_0x87a4bc['cqTMO'](_0x411ad1['message'],_0x87a4bc[_0x3b025e(0x17a)])){logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x411ad1[_0x3b025e(0x1c0)]||_0x411ad1[_0x3b025e(0x1b8)]));for(const _0x3b2e4c of _0x411ad1[_0x3b025e(0x1c5)]){logger[_0x3b025e(0x15b)](_0x3b2e4c[_0x3b025e(0x1c0)]);}process[_0x3b025e(0x157)][_0x3b025e(0x11a)]=_0x87a4bc['UJPGg'],process[_0x3b025e(0x157)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x87a4bc[_0x3b025e(0x1a8)];}else logger[_0x3b025e(0x15b)](_0x3b025e(0x179)+(_0x411ad1['message']||_0x411ad1['stack']));}return[null,null];}}),exports[a97_0x5280ff(0x12f)]=PerformanceTester[a97_0x5280ff(0x193)]('a11y:stop',async function(_0x2e0783){const _0x3dc72e=a97_0x5280ff,_0x49080c={};_0x49080c['TKOrG']=function(_0xb4b85b,_0x250730){return _0xb4b85b!==_0x250730;},_0x49080c[_0x3dc72e(0x13d)]=_0x3dc72e(0x15f),_0x49080c[_0x3dc72e(0x148)]=_0x3dc72e(0x15b),_0x49080c[_0x3dc72e(0x151)]=_0x3dc72e(0x11e),_0x49080c[_0x3dc72e(0x125)]='application/json',_0x49080c[_0x3dc72e(0x114)]=_0x3dc72e(0x105),_0x49080c[_0x3dc72e(0x192)]=_0x3dc72e(0x133),_0x49080c[_0x3dc72e(0x1ce)]=function(_0x14ce62,_0x2d9ae7){return _0x14ce62+_0x2d9ae7;},_0x49080c['lYsdd']='Invalid\x20request:\x20',_0x49080c[_0x3dc72e(0x194)]=_0x3dc72e(0x185);const _0x3b34bd=_0x49080c;if(bsSetupHelper[_0x3dc72e(0x1cf)](process[_0x3dc72e(0x157)][_0x3dc72e(0x183)])||_0x3b34bd[_0x3dc72e(0x1ac)](typeof process[_0x3dc72e(0x157)][_0x3dc72e(0x183)],_0x3b34bd['EKLGi'])){const _0x4f7aa8={};return _0x4f7aa8[_0x3dc72e(0x189)]=_0x3b34bd['OhPSA'],_0x4f7aa8[_0x3dc72e(0x1c0)]=_0x3b34bd[_0x3dc72e(0x151)],_0x4f7aa8;}const _0x4ddd9d={'endTime':new Date()[_0x3dc72e(0x115)]()},_0x472d2b={};_0x472d2b['Authorization']=_0x3dc72e(0x166)+process[_0x3dc72e(0x157)][_0x3dc72e(0x183)],_0x472d2b[_0x3dc72e(0x10d)]=_0x3b34bd[_0x3dc72e(0x125)];const _0x305709={};_0x305709[_0x3dc72e(0x198)]=_0x472d2b;const _0x145387=_0x305709,_0x10de6b={};_0x10de6b[_0x3dc72e(0x168)]=_0x4ddd9d,_0x10de6b[_0x3dc72e(0x12d)]=null,_0x10de6b[_0x3dc72e(0x1bd)]=!![];const _0x44a53b=Object[_0x3dc72e(0x10b)](_0x145387,_0x10de6b);try{const _0x280d3f=await bsSetupHelper[_0x3dc72e(0x144)](_0x3b34bd[_0x3dc72e(0x114)],_0x3b34bd[_0x3dc72e(0x192)],_0x44a53b,_0x2e0783,API_URL);if(_0x280d3f['data']['error'])throw new Error(_0x3b34bd['VotUS'](_0x3b34bd[_0x3dc72e(0x1a4)],_0x280d3f['data'][_0x3dc72e(0x15b)]));else{logger['info'](_0x3dc72e(0x175)+new Date()[_0x3dc72e(0x115)]());const _0x280707={};return _0x280707['status']=_0x3b34bd[_0x3dc72e(0x194)],_0x280707[_0x3dc72e(0x1c0)]='',_0x280707;}}catch(_0x24312b){_0x24312b[_0x3dc72e(0x143)]?logger[_0x3dc72e(0x15b)](_0x3dc72e(0x17c)+_0x24312b[_0x3dc72e(0x143)][_0x3dc72e(0x189)]+'\x20'+_0x24312b['response'][_0x3dc72e(0x109)]+'\x20'+JSON[_0x3dc72e(0x1ab)](_0x24312b[_0x3dc72e(0x143)][_0x3dc72e(0x13c)])):logger['error'](_0x3dc72e(0x17c)+(_0x24312b[_0x3dc72e(0x1c0)]||util[_0x3dc72e(0x1b2)](_0x24312b)));const _0xded931={};return _0xded931['status']=_0x3b34bd[_0x3dc72e(0x148)],_0xded931[_0x3dc72e(0x1c0)]=_0x24312b[_0x3dc72e(0x1c0)]||(_0x24312b[_0x3dc72e(0x143)]?_0x24312b[_0x3dc72e(0x143)][_0x3dc72e(0x189)]+':'+_0x24312b['response'][_0x3dc72e(0x109)]:_0x24312b),_0xded931;}}),exports[a97_0x5280ff(0x184)]=async(_0x4410df,_0x23e591=null)=>{const _0x3f1790=a97_0x5280ff,_0x34d17={};_0x34d17[_0x3f1790(0x17b)]='isAccessibilityPlatform',_0x34d17[_0x3f1790(0x15d)]=_0x3f1790(0x169),_0x34d17['bntVe']=_0x3f1790(0x1d1);const _0x1da0cb=_0x34d17;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x1da0cb[_0x3f1790(0x17b)])||!globals[_0x3f1790(0x1bc)](_0x1da0cb[_0x3f1790(0x15d)])){logger['warn'](_0x1da0cb['bntVe']);return;}return await PerformanceTester[_0x3f1790(0x193)](PerformanceA11yEvents[_0x3f1790(0x171)],async()=>{const _0x3ff137=_0x3f1790,_0x5d82e4={};_0x5d82e4[_0x3ff137(0x158)]=_0x23e591||global[_0x3ff137(0x1b6)];const _0x3de56b=util[_0x3ff137(0x1b2)](await _0x4410df[_0x3ff137(0x107)](scripts[_0x3ff137(0x184)],_0x5d82e4));return logger['debug']('Performed\x20scan\x20with\x20result:\x20'+_0x3de56b),_0x3de56b;},{'command':_0x23e591})();},exports[a97_0x5280ff(0x1cd)]=async(_0x592308,_0x67f54b)=>{const _0x3caa94=a97_0x5280ff,_0x459bc7={};_0x459bc7['JcqbJ']='Performing\x20scan\x20before\x20getting\x20results',_0x459bc7['OSqov']='isAccessibilityPlatform',_0x459bc7['XSwMC']=_0x3caa94(0x169),_0x459bc7['HFBle']=_0x3caa94(0x1d0),_0x459bc7[_0x3caa94(0x14f)]='getAccessibilityResults',_0x459bc7[_0x3caa94(0x120)]='No\x20accessibility\x20results\x20were\x20found.';const _0xd968bc=_0x459bc7;if(!this[_0x3caa94(0x16e)]()||!globals[_0x3caa94(0x1bc)](_0xd968bc[_0x3caa94(0x19c)])||!globals[_0x3caa94(0x1bc)](_0xd968bc[_0x3caa94(0x1b3)]))return logger[_0x3caa94(0x132)](_0xd968bc[_0x3caa94(0x19b)]),[];try{return await PerformanceTester[_0x3caa94(0x193)](PerformanceA11yEvents[_0x3caa94(0x171)],async()=>{const _0x38f076=_0x3caa94;logger['debug'](_0xd968bc[_0x38f076(0x15c)]);const _0x53f212={};_0x53f212[_0x38f076(0x158)]=_0x67f54b[_0x38f076(0x1b6)],logger[_0x38f076(0x147)](util['format'](await _0x592308[_0x38f076(0x107)](scripts[_0x38f076(0x184)],_0x53f212)));},{'command':_0xd968bc[_0x3caa94(0x14f)]})(),await PerformanceTester[_0x3caa94(0x193)](PerformanceA11yEvents[_0x3caa94(0x14e)],async()=>{const _0x27c789=_0x3caa94,_0x49ba72=await _0x592308[_0x27c789(0x107)](scripts['getResults']);return _0x49ba72;})();}catch{return logger['error'](_0xd968bc[_0x3caa94(0x120)]),[];}},exports[a97_0x5280ff(0x195)]=async(_0x29d53e,_0x30c6ef)=>{const _0xa89917=a97_0x5280ff,_0xcc3992={};_0xcc3992[_0xa89917(0x170)]=_0xa89917(0x11b),_0xcc3992[_0xa89917(0x167)]=_0xa89917(0x104),_0xcc3992[_0xa89917(0x1a6)]=_0xa89917(0x169),_0xcc3992[_0xa89917(0x1ad)]=_0xa89917(0x135),_0xcc3992[_0xa89917(0x18e)]='getAccessibilityResultsSummary',_0xcc3992[_0xa89917(0x18f)]=_0xa89917(0x1b5);const _0x52a0b0=_0xcc3992;if(!this['isAccessibilityAutomationSession']()||!globals[_0xa89917(0x1bc)](_0x52a0b0['pphft'])||!globals[_0xa89917(0x1bc)](_0x52a0b0[_0xa89917(0x1a6)]))return logger['warn'](_0x52a0b0[_0xa89917(0x1ad)]),{};try{return await PerformanceTester[_0xa89917(0x193)](PerformanceA11yEvents[_0xa89917(0x171)],async()=>{const _0x1a9fad=_0xa89917;logger[_0x1a9fad(0x147)](_0x52a0b0[_0x1a9fad(0x170)]);const _0x3570dd={};_0x3570dd[_0x1a9fad(0x158)]=_0x30c6ef['browserstackSessionName'],logger[_0x1a9fad(0x147)](util[_0x1a9fad(0x1b2)](await _0x29d53e[_0x1a9fad(0x107)](scripts['performScan'],_0x3570dd)));},{'command':_0x52a0b0[_0xa89917(0x18e)]})(),await PerformanceTester[_0xa89917(0x193)](PerformanceA11yEvents[_0xa89917(0x1c8)],async()=>{const _0x5b4215=_0xa89917,_0x5dcba0=await _0x29d53e[_0x5b4215(0x107)](scripts[_0x5b4215(0x172)]);return _0x5dcba0;})();}catch{return logger[_0xa89917(0x15b)](_0x52a0b0['maLBu']),{};}},exports[a97_0x5280ff(0x12e)]=_0x1d53a2=>{const _0x5d7e86=a97_0x5280ff,_0x508f12={};_0x508f12['lDBSK']=function(_0x2160f1,_0x47c728){return _0x2160f1===_0x47c728;},_0x508f12['JamZn']='string',_0x508f12['yujYA']=_0x5d7e86(0x188);const _0xbe553a=_0x508f12;if(_0x1d53a2&&_0x1d53a2[_0x5d7e86(0x149)]&&_0xbe553a['lDBSK'](typeof _0x1d53a2[_0x5d7e86(0x149)],_0xbe553a['JamZn']))return _0x1d53a2[_0x5d7e86(0x149)][_0x5d7e86(0x111)](_0xbe553a[_0x5d7e86(0x1af)]);return![];};
@@ -1 +1 @@
1
- const a98_0x26fa3d=a98_0x5396;(function(_0x1d0ddd,_0x32deb4){const _0x1bc823=a98_0x5396,_0x2bf9c8=_0x1d0ddd();while(!![]){try{const _0x4795f3=parseInt(_0x1bc823(0x171))/0x1+parseInt(_0x1bc823(0x169))/0x2+parseInt(_0x1bc823(0x17f))/0x3+parseInt(_0x1bc823(0x16a))/0x4+-parseInt(_0x1bc823(0x176))/0x5*(-parseInt(_0x1bc823(0x189))/0x6)+-parseInt(_0x1bc823(0x17e))/0x7+-parseInt(_0x1bc823(0x181))/0x8;if(_0x4795f3===_0x32deb4)break;else _0x2bf9c8['push'](_0x2bf9c8['shift']());}catch(_0x3dea62){_0x2bf9c8['push'](_0x2bf9c8['shift']());}}}(a98_0x24e8,0x45cc9));function a98_0x5396(_0x1efcda,_0x29234c){const _0x24e8c6=a98_0x24e8();return a98_0x5396=function(_0x539684,_0x3be983){_0x539684=_0x539684-0x166;let _0xcc8e9a=_0x24e8c6[_0x539684];return _0xcc8e9a;},a98_0x5396(_0x1efcda,_0x29234c);}const path=require(a98_0x26fa3d(0x175)),fs=require('fs'),logger=require('../../helpers/logger')[a98_0x26fa3d(0x179)],helper=require(a98_0x26fa3d(0x188));function a98_0x24e8(){const _0x10a940=['HkELy','scripts','getModule','getLibrary','debug','1024828AwEqRY','163152BTNtdW','HVNiX','findIndex','VpWCz','JLjhm','fromJson','getName','428740lGoUeg','jHDFj','scan','tsCvg','path','2885JDemju','kDfjE','exports','winstonLogger','getResults','toLowerCase','lKsaV','parseFromJson','3862859YbXgeX','319680ZofFjN','QMvUp','5592776VHKrbc','ChromeExtension','existsSync','browserstackFolderPath','join','DVOpo','length','../helper','4662DqBSyu','commandsPath','zCKeg','split','BfKKL','commands','mkdirSync','shouldWrapCommand','commandsToWrap','ogbxb','homedir','performScan','parseFromProto','saveResults','getClass','getCommand','getResultsSummary','2|4|1|6|3|5|0','commands.json','nonBStackInfraA11yChromeOptions','saveTestResults','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20'];a98_0x24e8=function(){return _0x10a940;};return a98_0x24e8();}class Scripts{constructor(){const _0x181d83=a98_0x26fa3d,_0x474962={};_0x474962[_0x181d83(0x177)]=_0x181d83(0x19a),_0x474962[_0x181d83(0x17c)]='.browserstack',_0x474962[_0x181d83(0x18d)]=_0x181d83(0x19b);const _0xff8336=_0x474962,_0x442001=_0xff8336['kDfjE'][_0x181d83(0x18c)]('|');let _0x37b30b=0x0;while(!![]){switch(_0x442001[_0x37b30b++]){case'0':this['fromJson']();continue;case'1':this[_0x181d83(0x199)]=null;continue;case'2':this['performScan']=null;continue;case'3':this[_0x181d83(0x184)]=path[_0x181d83(0x185)](helper[_0x181d83(0x193)](),_0xff8336[_0x181d83(0x17c)]);continue;case'4':this[_0x181d83(0x17a)]=null;continue;case'5':this[_0x181d83(0x18a)]=path[_0x181d83(0x185)](this[_0x181d83(0x184)],_0xff8336[_0x181d83(0x18d)]);continue;case'6':this[_0x181d83(0x19d)]=null;continue;}break;}}[a98_0x26fa3d(0x17d)](_0x2e7563){const _0x324d23=a98_0x26fa3d;_0x2e7563[_0x324d23(0x1a0)]&&(this['performScan']=_0x2e7563[_0x324d23(0x1a0)][_0x324d23(0x173)],this[_0x324d23(0x17a)]=_0x2e7563[_0x324d23(0x1a0)][_0x324d23(0x17a)],this[_0x324d23(0x199)]=_0x2e7563['scripts'][_0x324d23(0x199)],this[_0x324d23(0x19d)]=_0x2e7563[_0x324d23(0x1a0)]['saveResults']),this[_0x324d23(0x191)]=_0x2e7563[_0x324d23(0x18e)],this['ChromeExtension']=_0x2e7563[_0x324d23(0x19c)];}[a98_0x26fa3d(0x195)](_0x12d406,_0x50ac4e){const _0x1188e9=a98_0x26fa3d,_0x43dba7={};_0x43dba7['HkELy']=function(_0x1f3810,_0x230081){return _0x1f3810>_0x230081;},_0x43dba7[_0x1188e9(0x18b)]=function(_0x3df861,_0x494d7e){return _0x3df861===_0x494d7e;},_0x43dba7['DVOpo']=_0x1188e9(0x173),_0x43dba7[_0x1188e9(0x172)]='getResults',_0x43dba7['VpWCz']=function(_0x126459,_0x3b6253){return _0x126459===_0x3b6253;},_0x43dba7[_0x1188e9(0x192)]=_0x1188e9(0x199),_0x43dba7[_0x1188e9(0x16e)]=function(_0x217d3e,_0x103be6){return _0x217d3e===_0x103be6;},_0x43dba7[_0x1188e9(0x180)]=_0x1188e9(0x196),_0x43dba7[_0x1188e9(0x174)]=function(_0x3ff764,_0x175a21){return _0x3ff764>_0x175a21;};const _0xd63899=_0x43dba7;if(_0x12d406&&_0xd63899[_0x1188e9(0x19f)](_0x12d406[_0x1188e9(0x187)],0x0))for(const _0x3c1c86 of _0x12d406){if(_0xd63899[_0x1188e9(0x18b)](_0x3c1c86[_0x1188e9(0x170)](),_0xd63899[_0x1188e9(0x186)]))this['performScan']=_0x3c1c86['getCommand']();else{if(_0xd63899['zCKeg'](_0x3c1c86[_0x1188e9(0x170)](),_0xd63899[_0x1188e9(0x172)]))this[_0x1188e9(0x17a)]=_0x3c1c86[_0x1188e9(0x198)]();else{if(_0xd63899[_0x1188e9(0x16d)](_0x3c1c86['getName'](),_0xd63899['ogbxb']))this[_0x1188e9(0x199)]=_0x3c1c86[_0x1188e9(0x198)]();else _0xd63899[_0x1188e9(0x16e)](_0x3c1c86['getName'](),_0xd63899['QMvUp'])&&(this[_0x1188e9(0x19d)]=_0x3c1c86[_0x1188e9(0x198)]());}}}_0x50ac4e&&_0xd63899[_0x1188e9(0x174)](_0x50ac4e['length'],0x0)&&(this[_0x1188e9(0x191)]=_0x50ac4e['map'](_0x26744f=>{const _0x1d1739=_0x1188e9;return{'name':_0x26744f[_0x1d1739(0x170)](),'method':_0x26744f['getMethod'](),'library':_0x26744f[_0x1d1739(0x167)](),'module':_0x26744f[_0x1d1739(0x166)](),'class':_0x26744f[_0x1d1739(0x197)]()};}));}[a98_0x26fa3d(0x190)](_0x12cc8e){const _0x4afd41=a98_0x26fa3d,_0x43a9cd={};_0x43a9cd[_0x4afd41(0x16b)]=function(_0x357fb4,_0xaa7c0b){return _0x357fb4!==_0xaa7c0b;};const _0x535334=_0x43a9cd;try{return _0x535334[_0x4afd41(0x16b)](this[_0x4afd41(0x191)][_0x4afd41(0x16c)](_0x386994=>_0x386994['name'][_0x4afd41(0x17b)]()===_0x12cc8e['toLowerCase']()),-0x1);}catch(_0x580736){logger[_0x4afd41(0x168)](_0x4afd41(0x19e)+_0x580736);}return![];}['toJson'](){const _0x2aabd7=a98_0x26fa3d;!fs[_0x2aabd7(0x183)](this[_0x2aabd7(0x184)])&&fs[_0x2aabd7(0x18f)](this[_0x2aabd7(0x184)]),fs['writeFileSync'](this['commandsPath'],JSON['stringify']({'scripts':{'scan':this[_0x2aabd7(0x194)],'getResults':this[_0x2aabd7(0x17a)],'getResultsSummary':this[_0x2aabd7(0x199)],'saveResults':this[_0x2aabd7(0x19d)]},'commands':this[_0x2aabd7(0x191)],'nonBStackInfraA11yChromeOptions':this[_0x2aabd7(0x182)]}));}[a98_0x26fa3d(0x16f)](){const _0x57c6bd=a98_0x26fa3d,_0x71c861={'mjBvZ':function(_0x26a8e1,_0x459308){return _0x26a8e1(_0x459308);}};fs['existsSync'](this[_0x57c6bd(0x18a)])&&this[_0x57c6bd(0x17d)](_0x71c861['mjBvZ'](require,this[_0x57c6bd(0x18a)]));}}module[a98_0x26fa3d(0x178)]=new Scripts();
1
+ const a98_0x522ed1=a98_0x48d8;(function(_0x4f3727,_0x339023){const _0x167087=a98_0x48d8,_0x38cfd0=_0x4f3727();while(!![]){try{const _0x221fc7=-parseInt(_0x167087(0x1cc))/0x1+parseInt(_0x167087(0x1da))/0x2+-parseInt(_0x167087(0x1e2))/0x3*(-parseInt(_0x167087(0x1d2))/0x4)+-parseInt(_0x167087(0x1e9))/0x5*(parseInt(_0x167087(0x1df))/0x6)+-parseInt(_0x167087(0x1fe))/0x7*(parseInt(_0x167087(0x1ea))/0x8)+parseInt(_0x167087(0x1fa))/0x9+parseInt(_0x167087(0x1e7))/0xa*(parseInt(_0x167087(0x1cd))/0xb);if(_0x221fc7===_0x339023)break;else _0x38cfd0['push'](_0x38cfd0['shift']());}catch(_0x1ff3e8){_0x38cfd0['push'](_0x38cfd0['shift']());}}}(a98_0x14f1,0x75232));function a98_0x14f1(){const _0x219378=['.browserstack','homedir','312396JHTBEt','performScan','wZDpP','LXxvh','shouldWrapCommand','42MHawnK','parseFromJson','SnKKT','9aivRVx','bBWiM','commandsPath','stringify','vgTxZ','790TnjAOD','getName','589370tgytMS','56664VqvlhN','getResultsSummary','LXmhe','existsSync','fromJson','map','SrDQO','scripts','saveTestResults','winstonLogger','uzxRn','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','findIndex','KadKI','split','vtfFu','1525014yhkFNS','parseFromProto','getCommand','commands','847iojqDL','getResults','nonBStackInfraA11yChromeOptions','commandsToWrap','ArJHn','5|2|4|3|1|0|6','../../helpers/logger','path','saveResults','browserstackFolderPath','IThZu','214296bGgDYT','217624kOKRNm','scan','toLowerCase','getClass','commands.json','650228FyOrQt','ChromeExtension','join','exports','name','../helper'];a98_0x14f1=function(){return _0x219378;};return a98_0x14f1();}const path=require(a98_0x522ed1(0x1c8)),fs=require('fs'),logger=require(a98_0x522ed1(0x1c7))[a98_0x522ed1(0x1f3)],helper=require(a98_0x522ed1(0x1d7));class Scripts{constructor(){const _0x2182da=a98_0x522ed1,_0x21f009={};_0x21f009['SrDQO']=_0x2182da(0x1c6),_0x21f009[_0x2182da(0x1dd)]=_0x2182da(0x1d1),_0x21f009[_0x2182da(0x1cb)]=_0x2182da(0x1d8);const _0x352bc8=_0x21f009,_0x12a79f=_0x352bc8[_0x2182da(0x1f0)][_0x2182da(0x1f8)]('|');let _0x25ae6c=0x0;while(!![]){switch(_0x12a79f[_0x25ae6c++]){case'0':this[_0x2182da(0x1e4)]=path[_0x2182da(0x1d4)](this[_0x2182da(0x1ca)],_0x352bc8[_0x2182da(0x1dd)]);continue;case'1':this[_0x2182da(0x1ca)]=path[_0x2182da(0x1d4)](helper[_0x2182da(0x1d9)](),_0x352bc8[_0x2182da(0x1cb)]);continue;case'2':this[_0x2182da(0x1ff)]=null;continue;case'3':this['saveTestResults']=null;continue;case'4':this[_0x2182da(0x1eb)]=null;continue;case'5':this['performScan']=null;continue;case'6':this[_0x2182da(0x1ee)]();continue;}break;}}[a98_0x522ed1(0x1e0)](_0x32a42f){const _0xe3065e=a98_0x522ed1;_0x32a42f['scripts']&&(this[_0xe3065e(0x1db)]=_0x32a42f[_0xe3065e(0x1f1)][_0xe3065e(0x1ce)],this[_0xe3065e(0x1ff)]=_0x32a42f[_0xe3065e(0x1f1)][_0xe3065e(0x1ff)],this[_0xe3065e(0x1eb)]=_0x32a42f['scripts'][_0xe3065e(0x1eb)],this[_0xe3065e(0x1f2)]=_0x32a42f[_0xe3065e(0x1f1)][_0xe3065e(0x1c9)]),this[_0xe3065e(0x201)]=_0x32a42f[_0xe3065e(0x1fd)],this[_0xe3065e(0x1d3)]=_0x32a42f[_0xe3065e(0x200)];}[a98_0x522ed1(0x1fb)](_0x22716b,_0x4bc459){const _0x2b0914=a98_0x522ed1,_0x2814d0={};_0x2814d0[_0x2b0914(0x1e1)]=function(_0xac28b3,_0x5d62f5){return _0xac28b3>_0x5d62f5;},_0x2814d0['uzxRn']=function(_0x1ec7b2,_0x263510){return _0x1ec7b2===_0x263510;},_0x2814d0[_0x2b0914(0x1e6)]=_0x2b0914(0x1ce),_0x2814d0['KadKI']='getResults',_0x2814d0[_0x2b0914(0x202)]=function(_0x2a5af5,_0x283c34){return _0x2a5af5===_0x283c34;},_0x2814d0[_0x2b0914(0x1ec)]='getResultsSummary',_0x2814d0[_0x2b0914(0x1f9)]=_0x2b0914(0x1c9);const _0x3a94c7=_0x2814d0;if(_0x22716b&&_0x3a94c7[_0x2b0914(0x1e1)](_0x22716b['length'],0x0))for(const _0x528934 of _0x22716b){if(_0x3a94c7['uzxRn'](_0x528934[_0x2b0914(0x1e8)](),_0x3a94c7[_0x2b0914(0x1e6)]))this['performScan']=_0x528934['getCommand']();else{if(_0x3a94c7[_0x2b0914(0x1f4)](_0x528934[_0x2b0914(0x1e8)](),_0x3a94c7[_0x2b0914(0x1f7)]))this[_0x2b0914(0x1ff)]=_0x528934[_0x2b0914(0x1fc)]();else{if(_0x3a94c7[_0x2b0914(0x202)](_0x528934[_0x2b0914(0x1e8)](),_0x3a94c7[_0x2b0914(0x1ec)]))this['getResultsSummary']=_0x528934[_0x2b0914(0x1fc)]();else _0x3a94c7[_0x2b0914(0x1f4)](_0x528934[_0x2b0914(0x1e8)](),_0x3a94c7[_0x2b0914(0x1f9)])&&(this[_0x2b0914(0x1f2)]=_0x528934[_0x2b0914(0x1fc)]());}}}_0x4bc459&&_0x3a94c7[_0x2b0914(0x1e1)](_0x4bc459['length'],0x0)&&(this['commandsToWrap']=_0x4bc459[_0x2b0914(0x1ef)](_0x2cdacf=>{const _0x3baf91=_0x2b0914;return{'name':_0x2cdacf['getName'](),'method':_0x2cdacf['getMethod'](),'library':_0x2cdacf['getLibrary'](),'module':_0x2cdacf['getModule'](),'class':_0x2cdacf[_0x3baf91(0x1d0)]()};}));}[a98_0x522ed1(0x1de)](_0x53d01e){const _0x2b3029=a98_0x522ed1,_0xab9375={};_0xab9375[_0x2b3029(0x1dc)]=function(_0x42e9d1,_0x176871){return _0x42e9d1!==_0x176871;};const _0x562edf=_0xab9375;try{return _0x562edf[_0x2b3029(0x1dc)](this[_0x2b3029(0x201)][_0x2b3029(0x1f6)](_0x3737ce=>_0x3737ce[_0x2b3029(0x1d6)][_0x2b3029(0x1cf)]()===_0x53d01e[_0x2b3029(0x1cf)]()),-0x1);}catch(_0x44cdae){logger['debug'](_0x2b3029(0x1f5)+_0x44cdae);}return![];}['toJson'](){const _0x56f62c=a98_0x522ed1;!fs[_0x56f62c(0x1ed)](this[_0x56f62c(0x1ca)])&&fs['mkdirSync'](this['browserstackFolderPath']),fs['writeFileSync'](this[_0x56f62c(0x1e4)],JSON[_0x56f62c(0x1e5)]({'scripts':{'scan':this[_0x56f62c(0x1db)],'getResults':this[_0x56f62c(0x1ff)],'getResultsSummary':this[_0x56f62c(0x1eb)],'saveResults':this[_0x56f62c(0x1f2)]},'commands':this[_0x56f62c(0x201)],'nonBStackInfraA11yChromeOptions':this[_0x56f62c(0x1d3)]}));}[a98_0x522ed1(0x1ee)](){const _0x284af8=a98_0x522ed1,_0x2dde04={'bBWiM':function(_0x326992,_0x130781){return _0x326992(_0x130781);}};fs['existsSync'](this[_0x284af8(0x1e4)])&&this[_0x284af8(0x1e0)](_0x2dde04[_0x284af8(0x1e3)](require,this[_0x284af8(0x1e4)]));}}function a98_0x48d8(_0x8d0e2f,_0x1d6e21){const _0x14f179=a98_0x14f1();return a98_0x48d8=function(_0x48d879,_0x4a7bb3){_0x48d879=_0x48d879-0x1c6;let _0x319191=_0x14f179[_0x48d879];return _0x319191;},a98_0x48d8(_0x8d0e2f,_0x1d6e21);}module[a98_0x522ed1(0x1d5)]=new Scripts();
@@ -1 +1 @@
1
- const a99_0x21de3a=a99_0x5746;(function(_0x4723e2,_0x1a856c){const _0x278d29=a99_0x5746,_0x3a2dd4=_0x4723e2();while(!![]){try{const _0x1bb7cb=-parseInt(_0x278d29(0xa1))/0x1+parseInt(_0x278d29(0xe0))/0x2+-parseInt(_0x278d29(0xfb))/0x3*(-parseInt(_0x278d29(0xcb))/0x4)+parseInt(_0x278d29(0xcf))/0x5+-parseInt(_0x278d29(0x80))/0x6*(parseInt(_0x278d29(0x93))/0x7)+parseInt(_0x278d29(0xe7))/0x8+-parseInt(_0x278d29(0x88))/0x9;if(_0x1bb7cb===_0x1a856c)break;else _0x3a2dd4['push'](_0x3a2dd4['shift']());}catch(_0x4deb2f){_0x3a2dd4['push'](_0x3a2dd4['shift']());}}}(a99_0x2de3,0x56817));function a99_0x5746(_0x1e2456,_0x4fc459){const _0x2de34a=a99_0x2de3();return a99_0x5746=function(_0x574690,_0x1570e1){_0x574690=_0x574690-0x7e;let _0x103d63=_0x2de34a[_0x574690];return _0x103d63;},a99_0x5746(_0x1e2456,_0x4fc459);}const path=require(a99_0x21de3a(0xa9)),{commandRepository}=require(a99_0x21de3a(0xe8)),constants=require(a99_0x21de3a(0xd6)),logger=require(a99_0x21de3a(0x83))[a99_0x21de3a(0x7f)],globals=require(a99_0x21de3a(0xd2)),timeoutPromise=require(a99_0x21de3a(0xda)),isUndefinedOrNull=_0x31cc5d=>_0x31cc5d===undefined||_0x31cc5d===null||_0x31cc5d==='',isNotUndefinedOrNull=_0x5b5550=>!isUndefinedOrNull(_0x5b5550),isString=_0x51d9c0=>isNotUndefinedOrNull(_0x51d9c0)&&typeof _0x51d9c0===a99_0x21de3a(0xb1);class AiSdkWrapper{constructor(){const _0x2e8896=a99_0x21de3a,_0x100cc4={'HApli':function(_0x3919cc,_0x5eff7a){return _0x3919cc(_0x5eff7a);},'mLyaL':_0x2e8896(0xf1)};this[_0x2e8896(0xa6)]=undefined;try{this[_0x2e8896(0xa6)]=_0x100cc4[_0x2e8896(0x8b)](require,path['join'](__dirname,_0x100cc4[_0x2e8896(0xae)]));}catch(_0x1fcd11){logger[_0x2e8896(0x91)](_0x2e8896(0xe1)+(_0x1fcd11&&_0x1fcd11[_0x2e8896(0xaa)]?_0x1fcd11[_0x2e8896(0xaa)]:''));}}['initializeHealingCapabilities'](_0x583623){const _0x322339=a99_0x21de3a,_0x58cead={};_0x58cead['KArsY']=_0x322339(0xc1),_0x58cead[_0x322339(0xd9)]=function(_0x2e6788,_0x2450f2){return _0x2e6788===_0x2450f2;},_0x58cead[_0x322339(0x84)]=_0x322339(0x9f),_0x58cead['zrwGF']=function(_0x54cd70,_0x2d1320){return _0x54cd70===_0x2d1320;},_0x58cead['iHhHA']=_0x322339(0xdc),_0x58cead[_0x322339(0xd7)]=function(_0x3e7881,_0x37dba1){return _0x3e7881===_0x37dba1;},_0x58cead[_0x322339(0xa8)]=_0x322339(0xca),_0x58cead[_0x322339(0xbe)]=_0x322339(0xcc),_0x58cead['ZjCPk']=function(_0xb25cdc,_0x4f2005){return _0xb25cdc===_0x4f2005;},_0x58cead[_0x322339(0xb5)]=_0x322339(0xb6),_0x58cead[_0x322339(0xf0)]=function(_0x3afe64,_0x428009){return _0x3afe64===_0x428009;};const _0x5a866a=_0x58cead;try{const _0x150a54=this[_0x322339(0xa6)]['initializeCapabilities'](Object[_0x322339(0x85)](_0x583623[_0x322339(0xc4)]()[_0x322339(0x97)]));console[_0x322339(0x81)](_0x5a866a[_0x322339(0xb0)],_0x150a54);if(_0x5a866a[_0x322339(0xd9)](_0x150a54?.[_0x322339(0x9e)]?.[_0x322339(0xea)](),_0x5a866a[_0x322339(0x84)]))_0x583623[_0x322339(0xa5)]=_0x150a54;else{if(_0x5a866a['zrwGF'](_0x150a54?.[_0x322339(0x9e)]?.[_0x322339(0xea)](),_0x5a866a[_0x322339(0x8c)]))_0x583623['firefoxOptions_']=_0x150a54;else{if(_0x5a866a[_0x322339(0xd7)](_0x150a54?.[_0x322339(0x9e)]?.['toLowerCase'](),_0x5a866a['WbVta']))_0x583623[_0x322339(0xc2)]=_0x150a54;else{if(_0x5a866a[_0x322339(0xd7)](_0x150a54?.['browserName']?.[_0x322339(0xea)](),_0x5a866a[_0x322339(0xbe)])||_0x5a866a[_0x322339(0xe3)](_0x150a54?.['browserName']?.[_0x322339(0xea)](),_0x5a866a['MWLzQ']))_0x583623['edgeOptions_']=_0x150a54;else _0x5a866a[_0x322339(0xf0)](_0x150a54?.['browserName']?.[_0x322339(0xea)](),'ie')&&(_0x583623[_0x322339(0xdd)]=_0x150a54);}}}Object[_0x322339(0xb4)](_0x150a54)[_0x322339(0xde)](_0x4e5d8a=>{const _0x32076c=_0x322339,_0x3b47b1=_0x583623[_0x32076c(0xef)][_0x32076c(0x9d)](_0x4e5d8a);_0x583623[_0x32076c(0xef)][_0x32076c(0x8d)](_0x4e5d8a,_0x150a54[_0x4e5d8a]);});}catch(_0x65b3b4){logger[_0x322339(0x91)]('Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20'+(_0x65b3b4&&_0x65b3b4[_0x322339(0xaa)]?_0x65b3b4[_0x322339(0xaa)]:''));}}async[a99_0x21de3a(0xfc)](_0x4ce2f3){const _0x5784ca=a99_0x21de3a,_0x6657c={'fOrmo':function(_0x49032d,_0x4da657,_0xb7191d,_0x5ce5a3,_0xfdae8f,_0x1666bc,_0x5dcf6f){return _0x49032d(_0x4da657,_0xb7191d,_0x5ce5a3,_0xfdae8f,_0x1666bc,_0x5dcf6f);},'hkSiR':_0x5784ca(0xfd),'cngyE':_0x5784ca(0xb3),'aeQOG':_0x5784ca(0x98)},_0x17faff=new Date(),_0x25047d=_0x6657c[_0x5784ca(0xfe)](timeoutPromise,constants['SET_TCG_TOKEN_TIMEOUT'],_0x6657c[_0x5784ca(0xac)],_0x6657c[_0x5784ca(0xf5)],_0x17faff,this[_0x5784ca(0x96)],this[_0x5784ca(0xaf)]);await Promise[_0x5784ca(0xe2)]([this[_0x5784ca(0xa6)]['setToken'](_0x4ce2f3,globals[_0x5784ca(0xb7)](_0x6657c[_0x5784ca(0x92)]),constants[_0x5784ca(0xf4)])[_0x5784ca(0x87)](()=>{const _0x24fd80=_0x5784ca;_0x25047d[_0x24fd80(0xbd)]();}),_0x25047d]);}async[a99_0x21de3a(0x100)](_0x36b8d2,_0x11e688,_0x3af675,_0x97240b){const _0x167698=a99_0x21de3a,_0x5ac580={'xxHal':function(_0x22adbe,_0x38062d){return _0x22adbe===_0x38062d;},'YpKIV':function(_0x5c86f1,_0x4e7fd7){return _0x5c86f1(_0x4e7fd7);},'xYAYG':function(_0x105a6a,_0x46d743){return _0x105a6a(_0x46d743);},'xNNDb':function(_0x171324,_0x227920){return _0x171324(_0x227920);},'WiNtZ':function(_0x4fda36,_0x1a7d19){return _0x4fda36(_0x1a7d19);},'fRmko':function(_0x4b794d,_0x42867c){return _0x4b794d(_0x42867c);},'FSdsZ':function(_0x477411,_0xf80308){return _0x477411(_0xf80308);},'GVvea':function(_0x1c5788,_0x2b9272){return _0x1c5788(_0x2b9272);},'pgZGL':_0x167698(0xe5),'whNmY':function(_0x133833,_0x2946bd){return _0x133833(_0x2946bd);},'ZDMqF':_0x167698(0xa3),'PEbAD':_0x167698(0xc3),'kTupv':_0x167698(0xbc),'tLyQQ':function(_0x19073c,_0x1db6b1,_0x16280e,_0x2611bd,_0x150127,_0x39319d,_0xa7d984){return _0x19073c(_0x1db6b1,_0x16280e,_0x2611bd,_0x150127,_0x39319d,_0xa7d984);},'DvqLv':_0x167698(0xc8),'tCdIV':_0x167698(0xce),'qQrDi':function(_0x4d9141,_0x196529,_0x441dc7,_0x52809c,_0x320487,_0x5c7ecb,_0x3b79cc){return _0x4d9141(_0x196529,_0x441dc7,_0x52809c,_0x320487,_0x5c7ecb,_0x3b79cc);},'DitwP':'BrowserstackHealing.healFailure\x20method\x20timed\x20out','HxVPd':_0x167698(0xd8)},_0x5e0b25=(await _0x11e688[_0x167698(0xee)]())[_0x167698(0xc5)]();let _0x3924a0='';if(commandRepository[_0x167698(0xe6)]()&&_0x5ac580['xxHal'](_0x97240b,![])||_0x5ac580[_0x167698(0xa0)](_0x97240b,!![])){const _0x379963=_0x5ac580[_0x167698(0xd5)](isNotUndefinedOrNull,_0x3af675[_0x167698(0xb8)]['using'])&&_0x5ac580['xYAYG'](isString,_0x3af675[_0x167698(0xb8)][_0x167698(0x8f)])?_0x3af675[_0x167698(0xb8)][_0x167698(0x8f)][_0x167698(0x8e)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x3d52d0=_0x5ac580[_0x167698(0xd5)](isNotUndefinedOrNull,_0x3af675[_0x167698(0xb8)]['using'])&&_0x5ac580[_0x167698(0xa7)](isString,_0x3af675[_0x167698(0xb8)][_0x167698(0xf6)])?_0x3af675[_0x167698(0xb8)][_0x167698(0xf6)][_0x167698(0x8e)](/'/g,'\x5c\x27')[_0x167698(0x8e)](/"/g,'\x5c\x22'):'',_0x46cec0=_0x5ac580[_0x167698(0x9a)](isNotUndefinedOrNull,commandRepository[_0x167698(0x94)]())&&_0x5ac580[_0x167698(0xec)](isString,commandRepository[_0x167698(0x94)]())?commandRepository[_0x167698(0x94)]()['replace'](/'/g,'\x5c\x27')[_0x167698(0x8e)](/"/g,'\x5c\x22'):'';let _0x5d2cc8=_0x5ac580[_0x167698(0xd5)](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0x5ac580[_0x167698(0xd4)](isString,global['browserstackSessionName'])?global[_0x167698(0xf3)][_0x167698(0x8e)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x5d2cc8&&(_0x5d2cc8=_0x5ac580[_0x167698(0xd4)](isNotUndefinedOrNull,commandRepository['getTestName']())&&_0x5ac580[_0x167698(0xfa)](isString,commandRepository[_0x167698(0xad)]())?commandRepository['getTestName']()['replace'](/'/g,'\x5c\x27')[_0x167698(0x8e)](/"/g,'\x5c\x22'):'');let _0x230b74=_0x167698(0xa2)+constants['TCG_REGION']+_0x167698(0xbf)+constants[_0x167698(0x90)]+_0x167698(0x9c)+constants[_0x167698(0xf4)]['split'](_0x5ac580['pgZGL'])[0x1]+_0x167698(0xbb);_0x230b74=_0x5ac580[_0x167698(0x95)](isNotUndefinedOrNull,_0x230b74)&&_0x5ac580['xNNDb'](isString,_0x230b74)?_0x230b74[_0x167698(0x8e)](/'/g,'\x5c\x27')[_0x167698(0x8e)](/"/g,'\x5c\x22'):'';const _0x2ad41d=commandRepository[_0x167698(0xc6)](_0x5e0b25),_0x2c9d6b=globals[_0x167698(0xb7)](_0x5ac580[_0x167698(0xf7)]),_0x14685a=globals['getGlobal'](_0x5ac580[_0x167698(0xb9)]),_0x26d135=globals[_0x167698(0xb7)](_0x5ac580[_0x167698(0xeb)]),_0x556e62=![],_0x33b841=new Date();if(_0x97240b){const _0x11550f=_0x5ac580[_0x167698(0xa4)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x5ac580[_0x167698(0x86)],_0x5ac580['tCdIV'],_0x33b841,this[_0x167698(0x96)],this[_0x167698(0xaf)]);_0x3924a0=await Promise[_0x167698(0xe2)]([this[_0x167698(0xa6)][_0x167698(0xdf)](_0x379963,_0x3d52d0,_0x46cec0,_0x5d2cc8,_0x14685a,_0x5e0b25,_0x2ad41d,_0x230b74)['then'](_0x5331a5=>{const _0x41ac18=_0x167698;return _0x11550f[_0x41ac18(0xbd)](),_0x5331a5;}),_0x11550f]);}else{if(commandRepository[_0x167698(0xe6)]()){const _0x45c5ba=_0x5ac580['qQrDi'](timeoutPromise,constants[_0x167698(0xc9)],_0x5ac580['DitwP'],_0x5ac580[_0x167698(0xcd)],_0x33b841,this[_0x167698(0x96)],this[_0x167698(0xaf)]);_0x3924a0=await Promise[_0x167698(0xe2)]([this[_0x167698(0xa6)][_0x167698(0x99)](_0x379963,_0x3d52d0,_0x46cec0,_0x5d2cc8,_0x2c9d6b,_0x14685a,_0x5e0b25,_0x2ad41d,_0x556e62,_0x26d135,_0x230b74)[_0x167698(0x87)](_0x33a969=>{const _0x502f18=_0x167698;return _0x45c5ba[_0x502f18(0xbd)](),_0x33a969;}),_0x45c5ba]);}}_0x3924a0&&await _0x11e688[_0x167698(0xe9)](_0x3924a0);}}async[a99_0x21de3a(0x7e)](_0x220703,_0x3c38ea,_0x1efc9c){const _0x57b190=a99_0x21de3a;try{await this['_handleEvent'](_0x220703,_0x3c38ea,_0x1efc9c,!![]);}catch(_0x1fd319){return logger[_0x57b190(0x91)](_0x57b190(0x8a)+(_0x1fd319&&_0x1fd319[_0x57b190(0xaa)]?_0x1fd319[_0x57b190(0xaa)]:'')),![];}return!![];}async[a99_0x21de3a(0xf9)](_0x49385b,_0x1b93fb,_0x3b6f80){const _0x11034c=a99_0x21de3a,_0xae51f={'zdGYH':function(_0x33bd9d,_0x1da37e,_0x1257b6,_0x453c66,_0x228956,_0xac6837,_0x10d98a){return _0x33bd9d(_0x1da37e,_0x1257b6,_0x453c66,_0x228956,_0xac6837,_0x10d98a);},'RqaMi':'BrowserstackHealing.pollResult\x20method\x20timed\x20out','enMAk':_0x11034c(0xc7),'MxyiD':_0x11034c(0x98)};try{await this[_0x11034c(0x100)](_0x49385b,_0x1b93fb,_0x3b6f80,![]);const _0x59d851=(await _0x1b93fb[_0x11034c(0xee)]())[_0x11034c(0xc5)](),_0x2f33b6=new Date(),_0x2dfc74=_0xae51f[_0x11034c(0xdb)](timeoutPromise,constants[_0x11034c(0xba)],_0xae51f[_0x11034c(0xd1)],_0xae51f[_0x11034c(0xf8)],_0x2f33b6,this['config'],this[_0x11034c(0xaf)]),_0x509df9=await Promise[_0x11034c(0xe2)]([this[_0x11034c(0xa6)][_0x11034c(0xf2)](constants['TCG_URL'],_0x59d851,globals[_0x11034c(0xb7)](_0xae51f[_0x11034c(0x82)]))[_0x11034c(0x87)](_0x30f837=>{return _0x2dfc74['cancel'](),_0x30f837;}),_0x2dfc74]);if(_0x509df9&&_0x509df9['selector']&&_0x509df9[_0x11034c(0xf6)]){const _0x566da5={};return _0x566da5[_0x11034c(0xab)]=_0x509df9[_0x11034c(0x9b)],_0x566da5['locatorValue']=_0x509df9[_0x11034c(0xf6)],_0x566da5[_0x11034c(0xb2)]=!![],_0x566da5;}const _0x39ede5={};return _0x39ede5[_0x11034c(0xab)]=_0x3b6f80['parameters_'][_0x11034c(0x8f)],_0x39ede5[_0x11034c(0xd0)]=_0x509df9[_0x11034c(0xf6)],_0x39ede5[_0x11034c(0xb2)]=!![],_0x39ede5;}catch(_0x184268){return logger[_0x11034c(0xed)]('Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20'+(_0x184268&&_0x184268[_0x11034c(0xaa)]?_0x184268[_0x11034c(0xaa)]:'')),logger[_0x11034c(0xe4)](_0x11034c(0x89)+_0x3b6f80[_0x11034c(0xff)]+'\x20command'),_0x3b6f80;}}}function a99_0x2de3(){const _0x2656b8=['ieOptions_','forEach','logData','890906GnCJkJ','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','race','ZjCPk','info','s://','isSelfHealEnabled','875776iUGQvb','./autoHealHelper','executeScript','toLowerCase','kTupv','fRmko','debug','getSession','capabilities_','lPPkX','../../ai-sdk-node/bundle','pollResult','browserstackSessionName','TCG_URL','cngyE','value','ZDMqF','enMAk','handleFailure','GVvea','740778MMSiPS','setTcgToken','BrowserstackHealing.setToken\x20method\x20timed\x20out','fOrmo','name_','_handleEvent','handleSuccess','winstonLogger','99114bZIcJz','log','MxyiD','../logger','gzjUR','fromEntries','DvqLv','then','3637899Rfuroz','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','HApli','iHhHA','set','replace','using','TCG_REGION','error','aeQOG','105prKCOg','getProjectName','whNmY','config','map_','aiHeal_sessionToken','healFailure','WiNtZ','selector','\x22:\x20{\x22endpoint\x22:\x20\x22','get','browserName','chrome','xxHal','124690PYZgEY','{\x22region\x22:\x20\x22','aiHeal_userId','tLyQQ','chromeOptions_','BrowserstackHealing','xNNDb','WbVta','path','message','locatorType','hkSiR','getTestName','mLyaL','framework','KArsY','string','aiHealing','BrowserstackHealingSetTcgTokenFailed','keys','MWLzQ','microsoftedge','getGlobal','parameters_','PEbAD','POLL_HEALING_RESULT_TIMEOUT','\x22}}}','aiHeal_isGroupAIEnabled','cancel','kBnGx','\x22,\x20\x22tcgUrls\x22:\x20{\x22','aiSdkWrapper','newCapabilities','safariOptions_','aiHeal_groupId','getCapabilities','getId','getCommands','BrowserstackHealingPollResultFailed','BrowserstackHealing.logData\x20method\x20timed\x20out','HEALING_FAILURE_TIMEOUT','safari','8EDBNnJ','edge','HxVPd','BrowserstackHealingLogDataFailed','411180JdwiXG','locatorValue','RqaMi','../globals','freeze','FSdsZ','YpKIV','../../bin/utils/constants','FHlTv','BrowserstackHealingHealFailureFailed','sJlmJ','../../helpers/timeoutPromise','zdGYH','firefox'];a99_0x2de3=function(){return _0x2656b8;};return a99_0x2de3();}exports[a99_0x21de3a(0xc0)]=Object[a99_0x21de3a(0xd3)](new AiSdkWrapper());
1
+ const a99_0x15dc0a=a99_0x1941;(function(_0x500da2,_0xf69d94){const _0x5e961b=a99_0x1941,_0x354e9b=_0x500da2();while(!![]){try{const _0x4f704c=parseInt(_0x5e961b(0x19d))/0x1*(-parseInt(_0x5e961b(0x149))/0x2)+parseInt(_0x5e961b(0x137))/0x3+parseInt(_0x5e961b(0x16b))/0x4*(-parseInt(_0x5e961b(0x173))/0x5)+-parseInt(_0x5e961b(0x182))/0x6+-parseInt(_0x5e961b(0x19f))/0x7*(-parseInt(_0x5e961b(0x157))/0x8)+-parseInt(_0x5e961b(0x16a))/0x9+parseInt(_0x5e961b(0x1a8))/0xa;if(_0x4f704c===_0xf69d94)break;else _0x354e9b['push'](_0x354e9b['shift']());}catch(_0x4bbc01){_0x354e9b['push'](_0x354e9b['shift']());}}}(a99_0x54e1,0x95a73));function a99_0x1941(_0x1b9f94,_0x2ea660){const _0x54e13e=a99_0x54e1();return a99_0x1941=function(_0x194152,_0x5a89c2){_0x194152=_0x194152-0x133;let _0xda3f6=_0x54e13e[_0x194152];return _0xda3f6;},a99_0x1941(_0x1b9f94,_0x2ea660);}const path=require(a99_0x15dc0a(0x17b)),{commandRepository}=require(a99_0x15dc0a(0x18b)),constants=require(a99_0x15dc0a(0x13e)),logger=require(a99_0x15dc0a(0x1a7))[a99_0x15dc0a(0x198)],globals=require(a99_0x15dc0a(0x143)),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x42be22=>_0x42be22===undefined||_0x42be22===null||_0x42be22==='',isNotUndefinedOrNull=_0x2704ae=>!isUndefinedOrNull(_0x2704ae),isString=_0x2bc9f1=>isNotUndefinedOrNull(_0x2bc9f1)&&typeof _0x2bc9f1==='string';class AiSdkWrapper{constructor(){const _0x6f0c4b=a99_0x15dc0a,_0x45bb39={'APnyy':function(_0xec676d,_0x130f1c){return _0xec676d(_0x130f1c);},'KAgaB':_0x6f0c4b(0x19a)};this['BrowserstackHealing']=undefined;try{this['BrowserstackHealing']=_0x45bb39[_0x6f0c4b(0x172)](require,path[_0x6f0c4b(0x18d)](__dirname,_0x45bb39['KAgaB']));}catch(_0x4af08a){logger['error']('Unable\x20to\x20load\x20healing\x20module,\x20error:\x20'+(_0x4af08a&&_0x4af08a[_0x6f0c4b(0x19e)]?_0x4af08a[_0x6f0c4b(0x19e)]:''));}}[a99_0x15dc0a(0x141)](_0x59bbf1){const _0x3af118=a99_0x15dc0a,_0x2fb91e={};_0x2fb91e[_0x3af118(0x185)]=_0x3af118(0x135),_0x2fb91e[_0x3af118(0x18f)]=function(_0x2e433c,_0x4ea9e5){return _0x2e433c===_0x4ea9e5;},_0x2fb91e['DmsQg']=_0x3af118(0x193),_0x2fb91e['EwdMA']=function(_0x5dac09,_0x2be328){return _0x5dac09===_0x2be328;},_0x2fb91e[_0x3af118(0x163)]=_0x3af118(0x150),_0x2fb91e['CPLxr']=function(_0x46e6e1,_0x3060d8){return _0x46e6e1===_0x3060d8;},_0x2fb91e[_0x3af118(0x184)]='safari',_0x2fb91e[_0x3af118(0x162)]=function(_0x48be3b,_0x10dcdf){return _0x48be3b===_0x10dcdf;},_0x2fb91e[_0x3af118(0x13d)]='edge',_0x2fb91e[_0x3af118(0x192)]=_0x3af118(0x170);const _0x3d1cca=_0x2fb91e;try{const _0x172a6b=this[_0x3af118(0x167)][_0x3af118(0x13f)](Object[_0x3af118(0x179)](_0x59bbf1[_0x3af118(0x158)]()['map_']));console['log'](_0x3d1cca[_0x3af118(0x185)],_0x172a6b);if(_0x3d1cca['Dvdza'](_0x172a6b?.[_0x3af118(0x166)]?.[_0x3af118(0x155)](),_0x3d1cca[_0x3af118(0x151)]))_0x59bbf1[_0x3af118(0x140)]=_0x172a6b;else{if(_0x3d1cca['EwdMA'](_0x172a6b?.[_0x3af118(0x166)]?.['toLowerCase'](),_0x3d1cca[_0x3af118(0x163)]))_0x59bbf1[_0x3af118(0x174)]=_0x172a6b;else{if(_0x3d1cca[_0x3af118(0x1a9)](_0x172a6b?.[_0x3af118(0x166)]?.[_0x3af118(0x155)](),_0x3d1cca[_0x3af118(0x184)]))_0x59bbf1[_0x3af118(0x14a)]=_0x172a6b;else{if(_0x3d1cca[_0x3af118(0x162)](_0x172a6b?.[_0x3af118(0x166)]?.[_0x3af118(0x155)](),_0x3d1cca[_0x3af118(0x13d)])||_0x3d1cca[_0x3af118(0x1a9)](_0x172a6b?.[_0x3af118(0x166)]?.[_0x3af118(0x155)](),_0x3d1cca[_0x3af118(0x192)]))_0x59bbf1['edgeOptions_']=_0x172a6b;else _0x3d1cca[_0x3af118(0x14d)](_0x172a6b?.[_0x3af118(0x166)]?.[_0x3af118(0x155)](),'ie')&&(_0x59bbf1[_0x3af118(0x180)]=_0x172a6b);}}}Object[_0x3af118(0x187)](_0x172a6b)['forEach'](_0x45fe47=>{const _0x3fada9=_0x3af118,_0xa6bbf5=_0x59bbf1[_0x3fada9(0x14f)]['get'](_0x45fe47);_0x59bbf1[_0x3fada9(0x14f)]['set'](_0x45fe47,_0x172a6b[_0x45fe47]);});}catch(_0x142358){logger['error'](_0x3af118(0x176)+(_0x142358&&_0x142358[_0x3af118(0x19e)]?_0x142358['message']:''));}}async[a99_0x15dc0a(0x175)](_0x3002d0){const _0x46fae1=a99_0x15dc0a,_0x52e507={'geOgs':function(_0x230921,_0x3dab17,_0xc59ef7,_0x564d8b,_0x5a8bf3,_0xf6db28,_0x4be6de){return _0x230921(_0x3dab17,_0xc59ef7,_0x564d8b,_0x5a8bf3,_0xf6db28,_0x4be6de);},'FvsuZ':_0x46fae1(0x153),'rpPgf':_0x46fae1(0x144),'JcaML':'aiHeal_sessionToken'},_0x2d5be8=new Date(),_0x34c9f8=_0x52e507[_0x46fae1(0x15c)](timeoutPromise,constants[_0x46fae1(0x169)],_0x52e507[_0x46fae1(0x18c)],_0x52e507['rpPgf'],_0x2d5be8,this[_0x46fae1(0x197)],this['framework']);await Promise['race']([this[_0x46fae1(0x167)][_0x46fae1(0x195)](_0x3002d0,globals[_0x46fae1(0x138)](_0x52e507[_0x46fae1(0x19c)]),constants['TCG_URL'])['then'](()=>{const _0x4598f2=_0x46fae1;_0x34c9f8[_0x4598f2(0x171)]();}),_0x34c9f8]);}async['_handleEvent'](_0x35bd74,_0x484c4e,_0x179ddf,_0x3550f8){const _0x5d2e45=a99_0x15dc0a,_0x32363d={'ATmlH':function(_0x34791d,_0xccd42e){return _0x34791d===_0xccd42e;},'YRlfl':function(_0x2523e3,_0x5a10d2){return _0x2523e3===_0x5a10d2;},'cdNcQ':function(_0x13d54f,_0x4ef493){return _0x13d54f(_0x4ef493);},'qnwwo':function(_0x48eb31,_0xb19ae6){return _0x48eb31(_0xb19ae6);},'wWmwm':function(_0x43b0a6,_0x5255cf){return _0x43b0a6(_0x5255cf);},'BXLPv':function(_0x3616a4,_0x31cc95){return _0x3616a4(_0x31cc95);},'exzsh':function(_0x567c3f,_0x1ef12d){return _0x567c3f(_0x1ef12d);},'Ctxqu':function(_0x4957ea,_0x25466e){return _0x4957ea(_0x25466e);},'HiqbJ':function(_0x927dc0,_0x124475){return _0x927dc0(_0x124475);},'QjTrJ':_0x5d2e45(0x1a3),'JcCxc':function(_0x165872,_0xdfc920){return _0x165872(_0xdfc920);},'OfXfW':_0x5d2e45(0x160),'sViyF':_0x5d2e45(0x168),'CrRdo':_0x5d2e45(0x156),'ObiOq':function(_0xbf5047,_0x365eff,_0xd4b958,_0x463a33,_0x44a38b,_0x451fc5,_0x9204fb){return _0xbf5047(_0x365eff,_0xd4b958,_0x463a33,_0x44a38b,_0x451fc5,_0x9204fb);},'IZTbW':_0x5d2e45(0x14c),'LSojq':'BrowserstackHealingLogDataFailed','woIiw':function(_0x1aaeaf,_0x2442dd,_0x29a39f,_0x1ad61f,_0x18f7f4,_0x34bd2a,_0x2b5d1b){return _0x1aaeaf(_0x2442dd,_0x29a39f,_0x1ad61f,_0x18f7f4,_0x34bd2a,_0x2b5d1b);},'wwwIx':_0x5d2e45(0x194),'DTZqc':'BrowserstackHealingHealFailureFailed'},_0x40cf6d=(await _0x484c4e[_0x5d2e45(0x16f)]())[_0x5d2e45(0x146)]();let _0x4f1763='';if(commandRepository[_0x5d2e45(0x17d)]()&&_0x32363d['ATmlH'](_0x3550f8,![])||_0x32363d['YRlfl'](_0x3550f8,!![])){const _0xd5deb4=_0x32363d[_0x5d2e45(0x183)](isNotUndefinedOrNull,_0x179ddf[_0x5d2e45(0x165)][_0x5d2e45(0x196)])&&_0x32363d[_0x5d2e45(0x183)](isString,_0x179ddf[_0x5d2e45(0x165)][_0x5d2e45(0x196)])?_0x179ddf[_0x5d2e45(0x165)][_0x5d2e45(0x196)]['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x3e74dc=_0x32363d[_0x5d2e45(0x177)](isNotUndefinedOrNull,_0x179ddf[_0x5d2e45(0x165)]['using'])&&_0x32363d['wWmwm'](isString,_0x179ddf[_0x5d2e45(0x165)][_0x5d2e45(0x13b)])?_0x179ddf[_0x5d2e45(0x165)][_0x5d2e45(0x13b)][_0x5d2e45(0x1a5)](/'/g,'\x5c\x27')[_0x5d2e45(0x1a5)](/"/g,'\x5c\x22'):'',_0x2bd89c=_0x32363d[_0x5d2e45(0x189)](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0x32363d['exzsh'](isString,commandRepository[_0x5d2e45(0x15d)]())?commandRepository[_0x5d2e45(0x15d)]()[_0x5d2e45(0x1a5)](/'/g,'\x5c\x27')[_0x5d2e45(0x1a5)](/"/g,'\x5c\x22'):'';let _0x20bf50=_0x32363d[_0x5d2e45(0x16d)](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0x32363d[_0x5d2e45(0x17c)](isString,global['browserstackSessionName'])?global[_0x5d2e45(0x134)][_0x5d2e45(0x1a5)](/'/g,'\x5c\x27')[_0x5d2e45(0x1a5)](/"/g,'\x5c\x22'):'';!_0x20bf50&&(_0x20bf50=_0x32363d[_0x5d2e45(0x133)](isNotUndefinedOrNull,commandRepository[_0x5d2e45(0x15e)]())&&_0x32363d['wWmwm'](isString,commandRepository[_0x5d2e45(0x15e)]())?commandRepository[_0x5d2e45(0x15e)]()['replace'](/'/g,'\x5c\x27')[_0x5d2e45(0x1a5)](/"/g,'\x5c\x22'):'');let _0xd700b9=_0x5d2e45(0x142)+constants[_0x5d2e45(0x161)]+_0x5d2e45(0x152)+constants[_0x5d2e45(0x161)]+_0x5d2e45(0x17a)+constants[_0x5d2e45(0x17f)][_0x5d2e45(0x17e)](_0x32363d[_0x5d2e45(0x14e)])[0x1]+'\x22}}}';_0xd700b9=_0x32363d[_0x5d2e45(0x17c)](isNotUndefinedOrNull,_0xd700b9)&&_0x32363d[_0x5d2e45(0x159)](isString,_0xd700b9)?_0xd700b9[_0x5d2e45(0x1a5)](/'/g,'\x5c\x27')[_0x5d2e45(0x1a5)](/"/g,'\x5c\x22'):'';const _0x8d4195=commandRepository[_0x5d2e45(0x16e)](_0x40cf6d),_0x5b7fb8=globals[_0x5d2e45(0x138)](_0x32363d['OfXfW']),_0x3c744d=globals[_0x5d2e45(0x138)](_0x32363d[_0x5d2e45(0x164)]),_0x36a792=globals[_0x5d2e45(0x138)](_0x32363d[_0x5d2e45(0x191)]),_0xbd7316=![],_0x54ff83=new Date();if(_0x3550f8){const _0x3d8ab3=_0x32363d[_0x5d2e45(0x13a)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x32363d[_0x5d2e45(0x15f)],_0x32363d['LSojq'],_0x54ff83,this['config'],this[_0x5d2e45(0x16c)]);_0x4f1763=await Promise[_0x5d2e45(0x139)]([this[_0x5d2e45(0x167)][_0x5d2e45(0x147)](_0xd5deb4,_0x3e74dc,_0x2bd89c,_0x20bf50,_0x3c744d,_0x40cf6d,_0x8d4195,_0xd700b9)['then'](_0x1d507b=>{const _0x4e4593=_0x5d2e45;return _0x3d8ab3[_0x4e4593(0x171)](),_0x1d507b;}),_0x3d8ab3]);}else{if(commandRepository[_0x5d2e45(0x17d)]()){const _0x56cb9e=_0x32363d['woIiw'](timeoutPromise,constants['HEALING_FAILURE_TIMEOUT'],_0x32363d[_0x5d2e45(0x154)],_0x32363d['DTZqc'],_0x54ff83,this[_0x5d2e45(0x197)],this[_0x5d2e45(0x16c)]);_0x4f1763=await Promise[_0x5d2e45(0x139)]([this['BrowserstackHealing'][_0x5d2e45(0x199)](_0xd5deb4,_0x3e74dc,_0x2bd89c,_0x20bf50,_0x5b7fb8,_0x3c744d,_0x40cf6d,_0x8d4195,_0xbd7316,_0x36a792,_0xd700b9)[_0x5d2e45(0x148)](_0x39285e=>{const _0x4d7fbd=_0x5d2e45;return _0x56cb9e[_0x4d7fbd(0x171)](),_0x39285e;}),_0x56cb9e]);}}_0x4f1763&&await _0x484c4e[_0x5d2e45(0x15a)](_0x4f1763);}}async[a99_0x15dc0a(0x15b)](_0x34feb0,_0x5d52dd,_0x2bb3a6){const _0x3cde27=a99_0x15dc0a;try{await this[_0x3cde27(0x1a1)](_0x34feb0,_0x5d52dd,_0x2bb3a6,!![]);}catch(_0x2e759c){return logger[_0x3cde27(0x1aa)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x2e759c&&_0x2e759c[_0x3cde27(0x19e)]?_0x2e759c[_0x3cde27(0x19e)]:'')),![];}return!![];}async['handleFailure'](_0x436513,_0x4e4f49,_0x37ebaa){const _0xa267cf=a99_0x15dc0a,_0x38514d={'VoQOF':function(_0x1e7084,_0x1b9fa5,_0x390ff5,_0x47689b,_0x4a6055,_0x3f8c56,_0x1e5102){return _0x1e7084(_0x1b9fa5,_0x390ff5,_0x47689b,_0x4a6055,_0x3f8c56,_0x1e5102);},'JzAgX':_0xa267cf(0x1a4),'tqFAg':_0xa267cf(0x136),'zcmGj':_0xa267cf(0x186)};try{await this['_handleEvent'](_0x436513,_0x4e4f49,_0x37ebaa,![]);const _0x382796=(await _0x4e4f49['getSession']())[_0xa267cf(0x146)](),_0x4cab73=new Date(),_0x215dee=_0x38514d['VoQOF'](timeoutPromise,constants[_0xa267cf(0x190)],_0x38514d[_0xa267cf(0x178)],_0x38514d[_0xa267cf(0x1a2)],_0x4cab73,this['config'],this['framework']),_0x53b0c3=await Promise['race']([this[_0xa267cf(0x167)]['pollResult'](constants[_0xa267cf(0x17f)],_0x382796,globals[_0xa267cf(0x138)](_0x38514d['zcmGj']))['then'](_0xd9672d=>{const _0x9490e1=_0xa267cf;return _0x215dee[_0x9490e1(0x171)](),_0xd9672d;}),_0x215dee]);if(_0x53b0c3&&_0x53b0c3[_0xa267cf(0x181)]&&_0x53b0c3[_0xa267cf(0x13b)]){const _0x2b7cfb={};return _0x2b7cfb[_0xa267cf(0x145)]=_0x53b0c3[_0xa267cf(0x181)],_0x2b7cfb[_0xa267cf(0x1a6)]=_0x53b0c3['value'],_0x2b7cfb[_0xa267cf(0x1a0)]=!![],_0x2b7cfb;}const _0x6eddf8={};return _0x6eddf8['locatorType']=_0x37ebaa['parameters_'][_0xa267cf(0x196)],_0x6eddf8[_0xa267cf(0x1a6)]=_0x53b0c3[_0xa267cf(0x13b)],_0x6eddf8[_0xa267cf(0x1a0)]=!![],_0x6eddf8;}catch(_0x3acb58){return logger[_0xa267cf(0x14b)](_0xa267cf(0x19b)+(_0x3acb58&&_0x3acb58['message']?_0x3acb58['message']:'')),logger['info'](_0xa267cf(0x18e)+_0x37ebaa[_0xa267cf(0x13c)]+_0xa267cf(0x188)),_0x37ebaa;}}}exports[a99_0x15dc0a(0x18a)]=Object['freeze'](new AiSdkWrapper());function a99_0x54e1(){const _0x2eb668=['vrMMk','sViyF','parameters_','browserName','BrowserstackHealing','aiHeal_groupId','SET_TCG_TOKEN_TIMEOUT','885411yTQEZM','52292SIJqDA','framework','Ctxqu','getCommands','getSession','microsoftedge','cancel','APnyy','310zuMEoX','firefoxOptions_','setTcgToken','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','qnwwo','JzAgX','fromEntries','\x22:\x20{\x22endpoint\x22:\x20\x22','path','HiqbJ','isSelfHealEnabled','split','TCG_URL','ieOptions_','selector','5306646tptKik','cdNcQ','UqXbc','QHtRT','aiHeal_sessionToken','keys','\x20command','BXLPv','aiSdkWrapper','./autoHealHelper','FvsuZ','join','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','Dvdza','POLL_HEALING_RESULT_TIMEOUT','CrRdo','DZDsu','chrome','BrowserstackHealing.healFailure\x20method\x20timed\x20out','setToken','using','config','winstonLogger','healFailure','../../ai-sdk-node/bundle','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','JcaML','44825XGYGPQ','message','14wkzNSG','aiHealing','_handleEvent','tqFAg','s://','BrowserstackHealing.pollResult\x20method\x20timed\x20out','replace','locatorValue','../logger','28446830pyfdQB','CPLxr','error','wWmwm','browserstackSessionName','newCapabilities','BrowserstackHealingPollResultFailed','737442qBMMPW','getGlobal','race','ObiOq','value','name_','YSYeP','../../bin/utils/constants','initializeCapabilities','chromeOptions_','initializeHealingCapabilities','{\x22region\x22:\x20\x22','../globals','BrowserstackHealingSetTcgTokenFailed','locatorType','getId','logData','then','44Hxdahg','safariOptions_','debug','BrowserstackHealing.logData\x20method\x20timed\x20out','EwdMA','QjTrJ','capabilities_','firefox','DmsQg','\x22,\x20\x22tcgUrls\x22:\x20{\x22','BrowserstackHealing.setToken\x20method\x20timed\x20out','wwwIx','toLowerCase','aiHeal_isGroupAIEnabled','1207912lFpJeu','getCapabilities','JcCxc','executeScript','handleSuccess','geOgs','getProjectName','getTestName','IZTbW','aiHeal_userId','TCG_REGION','MDvVg'];a99_0x54e1=function(){return _0x2eb668;};return a99_0x54e1();}