browserstack-node-sdk 1.34.13 → 1.34.14

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 (126) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -1
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- var a49_0x1b39c0=a49_0xae0a;(function(_0x5c8883,_0x3dbf22){var _0x59cad8=a49_0xae0a,_0xacd1b0=_0x5c8883();while(!![]){try{var _0x11cf5c=-parseInt(_0x59cad8(0x133))/0x1+parseInt(_0x59cad8(0xd5))/0x2*(parseInt(_0x59cad8(0xdc))/0x3)+parseInt(_0x59cad8(0x12b))/0x4*(parseInt(_0x59cad8(0xc1))/0x5)+parseInt(_0x59cad8(0x14b))/0x6*(-parseInt(_0x59cad8(0x13a))/0x7)+-parseInt(_0x59cad8(0x119))/0x8+parseInt(_0x59cad8(0x117))/0x9+parseInt(_0x59cad8(0x158))/0xa*(parseInt(_0x59cad8(0x111))/0xb);if(_0x11cf5c===_0x3dbf22)break;else _0xacd1b0['push'](_0xacd1b0['shift']());}catch(_0x628203){_0xacd1b0['push'](_0xacd1b0['shift']());}}}(a49_0x2db2,0xb8eb0));var a49_0x17f376={};a49_0x17f376[a49_0x1b39c0(0xfa)]=a49_0x1b39c0(0xc3),a49_0x17f376['HELP']=a49_0x1b39c0(0xd3);var a49_0x1bc293={};a49_0x1bc293[a49_0x1b39c0(0xfa)]=a49_0x1b39c0(0x15f);var a49_0x1e681c={};a49_0x1e681c[a49_0x1b39c0(0xfa)]=a49_0x1b39c0(0x151);var a49_0x5866ba={};function a49_0xae0a(_0x11577e,_0x34b794){var _0x2db2b6=a49_0x2db2();return a49_0xae0a=function(_0xae0a8b,_0x1debc5){_0xae0a8b=_0xae0a8b-0xc1;var _0x2c62e2=_0x2db2b6[_0xae0a8b];return _0x2c62e2;},a49_0xae0a(_0x11577e,_0x34b794);}a49_0x5866ba[a49_0x1b39c0(0xfa)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';var a49_0x36a16d={};a49_0x36a16d['INFO']=a49_0x1b39c0(0x154);var a49_0x2c8d1f={};a49_0x2c8d1f[a49_0x1b39c0(0xfa)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';var a49_0x13a303={};function a49_0x2db2(){var _0x55f999=['localProxyUser','4666248jYItBh','jest','^[a-zA-Z0-9_.-]*$','ERR_NAME_RESOLUTION_FAILED','ERR_SOCKET_NOT_CONNECTED','browserstack.accessKey','CI_ARTIFACTS_PATH','proxyPass','PERCY_SUPPORTED_FRAMEWORKS','disableAutoCaptureLogs','framework','APP_AUTOMATE_PRODUCTS','logLevel','percyCaptureMode','testContextOptions','unhandledPromptBehavior','.ipa','browserVersion','4XHNyjo','ERR_CONNECTION_RESET','root','mandatoryDependency','Run\x20codeceptjs\x20tests\x20on\x20browserstack','codeceptjs','authToken','ieOptions','1279016kWyoOU','cucumber','acceptSslCerts','GIT_META_DATA_TRUNCATED','AI_ENABLED_FRAMEWORK','ERR_PROXY_CONNECTION_FAILED','AI_PROXY_FAILURE','1337THkvpK','chromeOptions','testObservability','ERR_TUNNEL_CONNECTION_FAILED','REDACTED_KEYS','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','acceptSslCert','testObservabilityOptions','SDKTestInvalidTcgAuthResponseWithUserImpact','ERR_NETWORK_CHANGED','browserName','PLAYWRIGHT','TCG_DOWN','UPGRADE_REQUIRED','SDK_INSTRUMENTATION_CONFIG','VANILLA','ERR_CONNECTION_CLOSED','27906iYdNXX','uniqueDependency','TCG_URL','percyOptions','CODECEPTJS','APP_UPLOAD_URL','Run\x20mocha\x20tests\x20on\x20browserstack','CUCUMBER','VERSION','Run\x20js\x20tests\x20on\x20browserstack','timeouts','ERR_BLOCKED_BY_CLIENT','userName','190ZkqCCU','APP_AUTOMATE','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','OBSERVABILITY_UPLOAD_URL','commonjs','ERR_SOCKS_CONNECTION_FAILED','rerunTests','Run\x20jest\x20tests\x20on\x20browserstack','AI_INIT_FAILURE','use','7535725qHQFhu','INVALID_INIT_RESP_WITH_USER_IMPACT','shows\x20version\x20information','accessKey','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','httpProxy','browserStackLocalOptions','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','AI_INIT_SUCCESSFUL','TCG_REGION','httpsProxy','automation','pageLoadStrategy','Run\x20playwright\x20tests\x20on\x20Browserstack','PACKAGE_TYPE','HUB_URL_REGEX','BSTACK_DELTA','ERR_ADDRESS_UNREACHABLE','Specify\x20--help\x20for\x20available\x20options','./browserstack-artifacts/','390dJUIGy','invalidTestInputType','SDKTestTcgtInitSuccessful','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','Upgrade\x20required','sdk/v1/event','1206KFfcZN','HST','ERR_TIMED_OUT','percy','ATS_HUB_URL_REGEX','PLAYWRIGHT_CONFIG_OPTION_ERRORS','turboScale','proxyPassword','AUTOMATE_PRODUCTS','automate','VALID_APP_EXTENSION','proxySettings','parallelsPerPlatform','SDKTestInitFailedResponse','MOCHA','browserstackLocal','AUTOLOGCAPTURE_NOTIFICATION','SDKTestTcgAuthFailure','.aab','OBSERVABILITY_SUPPORTED_FWS','ERR_CONNECTION_TIMED_OUT','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','customVariables','accessibility','TCG_AUTH_TIMEOUT','browserstack.userName','AUTOMATE','JEST','edgeOptions','.apk','INFO','SHAREABLE_ID_REGEX','mocha','platforms','localOptions','PRIVATE_DOMAIN_OR_IP_REGEX','SDKTestTcgDownResponse','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','SDKTestTcgProxyFailure','HEALING_LOG_DATA_TIMEOUT','ERR_NAME_NOT_RESOLVED','ROOT_REGEX','ERR_CONNECTION_ABORTED','browserstackAutomation','proxyUrl','proxyUser','https://hub.browserstack.com/wd/hub','Playwright','exports','https://upload-observability.browserstack.com','ERR_CONNECTION_REFUSED','observability','BROWSERSTACK_API_URL','491183dQosKT','NUDGE_LOCAL_ERRORS','app-automate','CODECEPT','turboScaleOptions','localProxyPass','9667080zmKJLM'];a49_0x2db2=function(){return _0x55f999;};return a49_0x2db2();}a49_0x13a303[a49_0x1b39c0(0xfa)]=a49_0x1b39c0(0xce);var a49_0x3170b5={};a49_0x3170b5['INFO']=a49_0x1b39c0(0x12f);var a49_0x45b4e0={};a49_0x45b4e0[a49_0x1b39c0(0xfa)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';var a49_0x32123f={};a49_0x32123f['INFO']=a49_0x1b39c0(0xc5);var a49_0x37152c={};a49_0x37152c[a49_0x1b39c0(0x145)]=a49_0x1b39c0(0x10b),a49_0x37152c[a49_0x1b39c0(0xea)]=a49_0x1b39c0(0xfc),a49_0x37152c[a49_0x1b39c0(0xf7)]=a49_0x1b39c0(0x11a),a49_0x37152c[a49_0x1b39c0(0x114)]=a49_0x1b39c0(0x130),a49_0x37152c[a49_0x1b39c0(0x152)]=a49_0x1b39c0(0x134);var a49_0x2130a1={};a49_0x2130a1['invalidKeys']='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x2130a1[a49_0x1b39c0(0x14c)]=a49_0x1b39c0(0xd9),a49_0x2130a1[a49_0x1b39c0(0x12e)]=a49_0x1b39c0(0x13f),a49_0x2130a1[a49_0x1b39c0(0xd6)]=a49_0x1b39c0(0x101);var a49_0x54fe10={};a49_0x54fe10['COMMONJS']=a49_0x1b39c0(0x15c),a49_0x54fe10['MODULE']='module';var a49_0x5c377f={};a49_0x5c377f[a49_0x1b39c0(0x12d)]=[a49_0x1b39c0(0x157),a49_0x1b39c0(0xc4),a49_0x1b39c0(0xc6),a49_0x1b39c0(0xcb),a49_0x1b39c0(0xf2),a49_0x1b39c0(0xf5),a49_0x1b39c0(0x11e),a49_0x1b39c0(0xe3),a49_0x1b39c0(0x131),a49_0x1b39c0(0x108)],a49_0x5c377f[a49_0x1b39c0(0xc7)]=[a49_0x1b39c0(0x109),a49_0x1b39c0(0x120),a49_0x1b39c0(0x118),a49_0x1b39c0(0x116)];var a49_0x17e726={};a49_0x17e726[a49_0x1b39c0(0xeb)]=a49_0x1b39c0(0xeb),a49_0x17e726[a49_0x1b39c0(0xc7)]=a49_0x1b39c0(0xc7),a49_0x17e726[a49_0x1b39c0(0xfe)]=a49_0x1b39c0(0xc7),a49_0x17e726['parallelsPerPlatform']=a49_0x1b39c0(0xe8),a49_0x17e726[a49_0x1b39c0(0xfd)]='platforms',a49_0x17e726[a49_0x1b39c0(0x125)]=a49_0x1b39c0(0x125),a49_0x17e726[a49_0x1b39c0(0xc6)]='httpProxy',a49_0x17e726[a49_0x1b39c0(0xcb)]='httpsProxy',a49_0x17e726[a49_0x1b39c0(0x123)]='framework',a49_0x17e726['testContextOptions']=a49_0x1b39c0(0x127),a49_0x17e726[a49_0x1b39c0(0x13c)]=a49_0x1b39c0(0x13c),a49_0x17e726[a49_0x1b39c0(0x141)]=a49_0x1b39c0(0x141),a49_0x17e726[a49_0x1b39c0(0xf2)]=a49_0x1b39c0(0xf2),a49_0x17e726[a49_0x1b39c0(0xcc)]=a49_0x1b39c0(0x107),a49_0x17e726[a49_0x1b39c0(0x107)]=a49_0x1b39c0(0x107),a49_0x17e726[a49_0x1b39c0(0x15e)]=a49_0x1b39c0(0x15e),a49_0x17e726[a49_0x1b39c0(0xdf)]=a49_0x1b39c0(0xdf),a49_0x17e726[a49_0x1b39c0(0x14e)]=a49_0x1b39c0(0x14e),a49_0x17e726[a49_0x1b39c0(0x126)]=a49_0x1b39c0(0x126),a49_0x17e726[a49_0x1b39c0(0x122)]='disableAutoCaptureLogs',a49_0x17e726[a49_0x1b39c0(0xf3)]=a49_0x1b39c0(0xf3),a49_0x17e726['accessibilityOptions']='accessibilityOptions',a49_0x17e726[a49_0x1b39c0(0xe2)]=a49_0x1b39c0(0xe2),a49_0x17e726['turboScaleOptions']=a49_0x1b39c0(0x115),a49_0x17e726[a49_0x1b39c0(0xe7)]=a49_0x1b39c0(0xe7);var a49_0x4abe63={};a49_0x4abe63[a49_0x1b39c0(0x153)]=a49_0x17f376,a49_0x4abe63[a49_0x1b39c0(0xf7)]=a49_0x1bc293,a49_0x4abe63[a49_0x1b39c0(0xea)]=a49_0x1e681c,a49_0x4abe63[a49_0x1b39c0(0x152)]=a49_0x5866ba,a49_0x4abe63[a49_0x1b39c0(0x149)]=a49_0x36a16d,a49_0x4abe63['NIGHTWATCH']=a49_0x2c8d1f,a49_0x4abe63['PLAYWRIGHT']=a49_0x13a303,a49_0x4abe63[a49_0x1b39c0(0x14f)]=a49_0x3170b5,a49_0x4abe63[a49_0x1b39c0(0xdd)]=a49_0x45b4e0,a49_0x4abe63['INTEGRATIONS']=a49_0x32123f,a49_0x4abe63[a49_0x1b39c0(0xd1)]=0xf*0x3c*0x3e8,a49_0x4abe63['hubUrl']=a49_0x1b39c0(0x10a),a49_0x4abe63[a49_0x1b39c0(0x14d)]='https://tcg.browserstack.com',a49_0x4abe63[a49_0x1b39c0(0xca)]=a49_0x1b39c0(0x161),a49_0x4abe63[a49_0x1b39c0(0xd0)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x4abe63[a49_0x1b39c0(0xe0)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x4abe63['ATS_WSS_URL_REGEX']=/wss:\/\/[a-zA-Z0-9_-]+-hub\.browserstack-ats\.com/,a49_0x4abe63['ROOT_CAPS']=['acceptInsecureCerts',a49_0x1b39c0(0xcd),'strictFileInteractability',a49_0x1b39c0(0x128),a49_0x1b39c0(0x155),a49_0x1b39c0(0x144),a49_0x1b39c0(0x12a),a49_0x1b39c0(0x135),a49_0x1b39c0(0x140),a49_0x1b39c0(0x13b),'firefoxOptions',a49_0x1b39c0(0xf8),a49_0x1b39c0(0x132)],a49_0x4abe63[a49_0x1b39c0(0x105)]=/^[\w-]+:.*$/,a49_0x4abe63[a49_0x1b39c0(0xff)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x4abe63[a49_0x1b39c0(0x110)]='https://api.browserstack.com',a49_0x4abe63[a49_0x1b39c0(0x150)]='https://api-cloud.browserstack.com',a49_0x4abe63['FUNNEL_INSTRUMENTATION_API_URL']=a49_0x1b39c0(0xdb),a49_0x4abe63[a49_0x1b39c0(0xe4)]=[a49_0x1b39c0(0xe5),a49_0x1b39c0(0x10f)],a49_0x4abe63[a49_0x1b39c0(0x124)]=[a49_0x1b39c0(0x113),a49_0x1b39c0(0x10f)],a49_0x4abe63[a49_0x1b39c0(0xd8)]=['observability'],a49_0x4abe63[a49_0x1b39c0(0x15b)]=a49_0x1b39c0(0x10d),a49_0x4abe63[a49_0x1b39c0(0xef)]=[a49_0x1b39c0(0xfc),a49_0x1b39c0(0x10b)],a49_0x4abe63[a49_0x1b39c0(0xf6)]=[a49_0x1b39c0(0xe5)],a49_0x4abe63[a49_0x1b39c0(0x159)]=[a49_0x1b39c0(0x113)],a49_0x4abe63[a49_0x1b39c0(0x112)]=['ERR_FAILED',a49_0x1b39c0(0xde),a49_0x1b39c0(0x156),a49_0x1b39c0(0x143),a49_0x1b39c0(0x11d),a49_0x1b39c0(0x14a),a49_0x1b39c0(0x12c),a49_0x1b39c0(0x10e),a49_0x1b39c0(0x106),'ERR_CONNECTION_FAILED',a49_0x1b39c0(0x104),'ERR_ADDRESS_INVALID',a49_0x1b39c0(0xd2),a49_0x1b39c0(0x13d),a49_0x1b39c0(0xf0),a49_0x1b39c0(0x15d),'ERR_SOCKS_CONNECTION_HOST_UNREACHABLE',a49_0x1b39c0(0x138),a49_0x1b39c0(0x104),a49_0x1b39c0(0x11c),a49_0x1b39c0(0xc8)],a49_0x4abe63[a49_0x1b39c0(0xe6)]=[a49_0x1b39c0(0xf9),a49_0x1b39c0(0xee),a49_0x1b39c0(0x129)],a49_0x4abe63['CUSTOM_ID_REGEX']=a49_0x1b39c0(0x11b),a49_0x4abe63[a49_0x1b39c0(0xfb)]=a49_0x1b39c0(0xf1),a49_0x4abe63[a49_0x1b39c0(0x11f)]=a49_0x1b39c0(0xd4),a49_0x4abe63['PLAYWRIGHT_HUB_URL']='wss://cdp.browserstack.com/playwright?caps=',a49_0x4abe63['FRAMEWORKS']=a49_0x37152c,a49_0x4abe63[a49_0x1b39c0(0x121)]=[a49_0x1b39c0(0x11a),a49_0x1b39c0(0xfc)],a49_0x4abe63[a49_0x1b39c0(0xe1)]=a49_0x2130a1,a49_0x4abe63[a49_0x1b39c0(0xec)]=a49_0x1b39c0(0x15a),a49_0x4abe63[a49_0x1b39c0(0xcf)]=a49_0x54fe10,a49_0x4abe63['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a49_0x4abe63[a49_0x1b39c0(0x136)]='...[TRUNCATED]',a49_0x4abe63[a49_0x1b39c0(0x147)]=a49_0x1b39c0(0xda),a49_0x4abe63[a49_0x1b39c0(0x146)]=a49_0x1b39c0(0x100),a49_0x4abe63[a49_0x1b39c0(0xc2)]=a49_0x1b39c0(0x142),a49_0x4abe63['TCG_AUTH_FAILURE']=a49_0x1b39c0(0xed),a49_0x4abe63[a49_0x1b39c0(0xc9)]=a49_0x1b39c0(0xd7),a49_0x4abe63[a49_0x1b39c0(0x160)]=a49_0x1b39c0(0xe9),a49_0x4abe63[a49_0x1b39c0(0x139)]=a49_0x1b39c0(0x102),a49_0x4abe63[a49_0x1b39c0(0xf4)]=0x1388,a49_0x4abe63['SET_TCG_TOKEN_TIMEOUT']=0x1388,a49_0x4abe63[a49_0x1b39c0(0x103)]=0x1388,a49_0x4abe63['HEALING_FAILURE_TIMEOUT']=0x1388,a49_0x4abe63['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a49_0x4abe63[a49_0x1b39c0(0x13e)]=a49_0x5c377f,a49_0x4abe63[a49_0x1b39c0(0x137)]=['vanilla',a49_0x1b39c0(0x130)],a49_0x4abe63[a49_0x1b39c0(0x148)]=a49_0x17e726,module[a49_0x1b39c0(0x10c)]=a49_0x4abe63;
1
+ var a49_0x182ec8=a49_0x193f;(function(_0x442ec7,_0x4ffb2c){var _0x5564c7=a49_0x193f,_0x359a0b=_0x442ec7();while(!![]){try{var _0x4d88e5=-parseInt(_0x5564c7(0x153))/0x1*(parseInt(_0x5564c7(0x13a))/0x2)+parseInt(_0x5564c7(0x173))/0x3+-parseInt(_0x5564c7(0x116))/0x4*(parseInt(_0x5564c7(0x148))/0x5)+-parseInt(_0x5564c7(0x185))/0x6*(-parseInt(_0x5564c7(0x129))/0x7)+parseInt(_0x5564c7(0x15b))/0x8*(-parseInt(_0x5564c7(0x167))/0x9)+parseInt(_0x5564c7(0x194))/0xa*(-parseInt(_0x5564c7(0x183))/0xb)+-parseInt(_0x5564c7(0x170))/0xc*(-parseInt(_0x5564c7(0x149))/0xd);if(_0x4d88e5===_0x4ffb2c)break;else _0x359a0b['push'](_0x359a0b['shift']());}catch(_0x2b20fb){_0x359a0b['push'](_0x359a0b['shift']());}}}(a49_0x59c0,0x8833d));var a49_0x10a850={};a49_0x10a850[a49_0x182ec8(0x190)]=a49_0x182ec8(0x144),a49_0x10a850['HELP']='Specify\x20--help\x20for\x20available\x20options';var a49_0x3b48e4={};a49_0x3b48e4[a49_0x182ec8(0x190)]='Run\x20jest\x20tests\x20on\x20browserstack';var a49_0x474d81={};a49_0x474d81[a49_0x182ec8(0x190)]=a49_0x182ec8(0x135);var a49_0x3fdb79={};a49_0x3fdb79['INFO']=a49_0x182ec8(0x134);var a49_0x3a3455={};a49_0x3a3455[a49_0x182ec8(0x190)]='Run\x20js\x20tests\x20on\x20browserstack';var a49_0x5a24d9={};a49_0x5a24d9[a49_0x182ec8(0x190)]=a49_0x182ec8(0x14e);var a49_0x4d9a2a={};function a49_0x193f(_0x1ce715,_0x1124a9){var _0x59c067=a49_0x59c0();return a49_0x193f=function(_0x193ff0,_0x2afcbd){_0x193ff0=_0x193ff0-0x106;var _0x42d541=_0x59c067[_0x193ff0];return _0x42d541;},a49_0x193f(_0x1ce715,_0x1124a9);}a49_0x4d9a2a[a49_0x182ec8(0x190)]='Run\x20playwright\x20tests\x20on\x20Browserstack';var a49_0x504105={};a49_0x504105[a49_0x182ec8(0x190)]=a49_0x182ec8(0x199);var a49_0x1254ae={};a49_0x1254ae['INFO']=a49_0x182ec8(0x17d);var a49_0x4f6bbc={};a49_0x4f6bbc[a49_0x182ec8(0x190)]=a49_0x182ec8(0x156);function a49_0x59c0(){var _0x3b7d5f=['codeceptjs','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','turboScaleOptions','ERR_CONNECTION_ABORTED','logLevel','HEALING_LOG_DATA_TIMEOUT','AUTOMATE_PRODUCTS','httpsProxy','https://api-cloud.browserstack.com','app-automate','testObservabilityOptions','rerunTests','CODECEPTJS','automate','.aab','customVariables','automation','ERR_TIMED_OUT','invalidKeys','CUCUMBER','4saSddA','COMMONJS','observability','MOCHA','proxyPassword','browserstackLocal','https://api.browserstack.com','ERR_CONNECTION_RESET','ATS_HUB_URL_REGEX','percyOptions','module','MODULE','ERR_NAME_RESOLUTION_FAILED','CUSTOM_ID_REGEX','cucumber','accessibilityOptions','SDKTestTcgAuthFailure','https://hub.browserstack.com/wd/hub','ROOT_CAPS','14cietij','userName','pageLoadStrategy','mocha','authToken','ERR_ADDRESS_UNREACHABLE','https://tcg.browserstack.com','exports','.ipa','PLAYWRIGHT_CONFIG_OPTION_ERRORS','acceptInsecureCerts','Run\x20cucumber-js\x20tests\x20on\x20browserstack','Run\x20mocha\x20tests\x20on\x20browserstack','Playwright','OBSERVABILITY_SUPPORTED_FWS','jest','AI_INIT_SUCCESSFUL','502xYXzCE','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','HST','testContextOptions','commonjs','ERR_ADDRESS_INVALID','timeouts','FUNNEL_INSTRUMENTATION_API_URL','BSTACK_DELTA','ERR_SOCKS_CONNECTION_FAILED','shows\x20version\x20information','hubUrl','APP_AUTOMATE_PRODUCTS','percy','5559380IhCmzW','13iIUxWf','testObservability','SDKTestTcgtInitSuccessful','accessKey','chromeOptions','Run\x20nightwatch\x20tests\x20on\x20browserstack','ERR_TUNNEL_CONNECTION_FAILED','TCG_REGION','SHAREABLE_ID_REGEX','ERR_CONNECTION_CLOSED','4289PkWUtB','PERCY_SUPPORTED_FRAMEWORKS','BROWSERSTACK_API_URL','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','acceptSslCerts','CI_ARTIFACTS_PATH','PRIVATE_DOMAIN_OR_IP_REGEX','.apk','144qMDqHe','turboScale','ERR_NAME_NOT_RESOLVED','CODECEPT','APP_AUTOMATE','AI_INIT_FAILURE','localProxyPass','^[a-zA-Z0-9_.-]*$','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','parallelsPerPlatform','browserstack.userName','SDKTestTcgDownResponse','377721ARBOnt','AI_ENABLED_FRAMEWORK','NIGHTWATCH','browserstackAutomation','httpProxy','PLAYWRIGHT','edgeOptions','PLAYWRIGHT_HUB_URL','browserStackLocalOptions','23019684bQBIJD','disableAutoCaptureLogs','sdk/v1/event','3334077WiyQOi','UPGRADE_REQUIRED','Upgrade\x20required','browserVersion','REDACTED_KEYS','proxyUser','JEST','HUB_URL_REGEX','SDKTestInitFailedResponse','./browserstack-artifacts/','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','proxyPass','ERR_SOCKET_NOT_CONNECTED','use','browserstack.accessKey','vanilla','506TLafTr','HEALING_FAILURE_TIMEOUT','3074850WsHrVm','INTEGRATIONS','SET_TCG_TOKEN_TIMEOUT','unhandledPromptBehavior','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','localProxyUser','NUDGE_LOCAL_ERRORS','proxyUrl','TCG_DOWN','AUTOMATE','INFO','ERR_PROXY_CONNECTION_FAILED','TCG_URL','acceptSslCert','120190nGKZna','APP_UPLOAD_URL','POLL_HEALING_RESULT_TIMEOUT','percyCaptureMode','platforms','Run\x20codeceptjs\x20tests\x20on\x20browserstack','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','accessibility','AI_PROXY_FAILURE','localOptions','ERR_FAILED','strictFileInteractability','wss://cdp.browserstack.com/playwright?caps=','FRAMEWORKS'];a49_0x59c0=function(){return _0x3b7d5f;};return a49_0x59c0();}var a49_0x42ed43={};a49_0x42ed43[a49_0x182ec8(0x16c)]=a49_0x182ec8(0x136),a49_0x42ed43[a49_0x182ec8(0x119)]=a49_0x182ec8(0x12c),a49_0x42ed43[a49_0x182ec8(0x179)]=a49_0x182ec8(0x138),a49_0x42ed43[a49_0x182ec8(0x15e)]=a49_0x182ec8(0x1a2),a49_0x42ed43['CUCUMBER']=a49_0x182ec8(0x124);var a49_0x3108ce={};a49_0x3108ce[a49_0x182ec8(0x114)]='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x3108ce['uniqueDependency']=a49_0x182ec8(0x19a),a49_0x3108ce['mandatoryDependency']='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x3108ce['invalidTestInputType']=a49_0x182ec8(0x163);var a49_0x184515={};a49_0x184515[a49_0x182ec8(0x117)]=a49_0x182ec8(0x13e),a49_0x184515[a49_0x182ec8(0x121)]=a49_0x182ec8(0x120);var a49_0x39dc1f={};a49_0x39dc1f['root']=[a49_0x182ec8(0x12a),a49_0x182ec8(0x14c),a49_0x182ec8(0x16b),a49_0x182ec8(0x109),'customVariables',a49_0x182ec8(0x165),a49_0x182ec8(0x181),a49_0x182ec8(0x11a),a49_0x182ec8(0x12d),a49_0x182ec8(0x18d)],a49_0x39dc1f[a49_0x182ec8(0x16f)]=[a49_0x182ec8(0x178),a49_0x182ec8(0x17e),a49_0x182ec8(0x18b),a49_0x182ec8(0x161)];var a49_0x2e289f={};a49_0x2e289f[a49_0x182ec8(0x11b)]=a49_0x182ec8(0x11b),a49_0x2e289f[a49_0x182ec8(0x16f)]=a49_0x182ec8(0x16f),a49_0x2e289f[a49_0x182ec8(0x19d)]=a49_0x182ec8(0x16f),a49_0x2e289f[a49_0x182ec8(0x164)]=a49_0x182ec8(0x164),a49_0x2e289f[a49_0x182ec8(0x198)]=a49_0x182ec8(0x198),a49_0x2e289f[a49_0x182ec8(0x106)]=a49_0x182ec8(0x106),a49_0x2e289f[a49_0x182ec8(0x16b)]=a49_0x182ec8(0x16b),a49_0x2e289f[a49_0x182ec8(0x109)]=a49_0x182ec8(0x109),a49_0x2e289f['framework']='framework',a49_0x2e289f[a49_0x182ec8(0x13d)]=a49_0x182ec8(0x13d),a49_0x2e289f['testObservability']=a49_0x182ec8(0x14a),a49_0x2e289f[a49_0x182ec8(0x10c)]=a49_0x182ec8(0x10c),a49_0x2e289f[a49_0x182ec8(0x111)]=a49_0x182ec8(0x111),a49_0x2e289f[a49_0x182ec8(0x112)]='browserstackAutomation',a49_0x2e289f['browserstackAutomation']=a49_0x182ec8(0x16a),a49_0x2e289f[a49_0x182ec8(0x10d)]=a49_0x182ec8(0x10d),a49_0x2e289f['percy']=a49_0x182ec8(0x147),a49_0x2e289f[a49_0x182ec8(0x11f)]='percyOptions',a49_0x2e289f[a49_0x182ec8(0x197)]=a49_0x182ec8(0x197),a49_0x2e289f['disableAutoCaptureLogs']=a49_0x182ec8(0x171),a49_0x2e289f['accessibility']=a49_0x182ec8(0x19b),a49_0x2e289f[a49_0x182ec8(0x125)]='accessibilityOptions',a49_0x2e289f[a49_0x182ec8(0x15c)]=a49_0x182ec8(0x15c),a49_0x2e289f[a49_0x182ec8(0x1a4)]=a49_0x182ec8(0x1a4),a49_0x2e289f['proxySettings']='proxySettings';var a49_0x5ce697={};a49_0x5ce697['VERSION']=a49_0x10a850,a49_0x5ce697['JEST']=a49_0x3b48e4,a49_0x5ce697['MOCHA']=a49_0x474d81,a49_0x5ce697[a49_0x182ec8(0x115)]=a49_0x3fdb79,a49_0x5ce697['VANILLA']=a49_0x3a3455,a49_0x5ce697[a49_0x182ec8(0x169)]=a49_0x5a24d9,a49_0x5ce697['PLAYWRIGHT']=a49_0x4d9a2a,a49_0x5ce697[a49_0x182ec8(0x10e)]=a49_0x504105,a49_0x5ce697[a49_0x182ec8(0x13c)]=a49_0x1254ae,a49_0x5ce697[a49_0x182ec8(0x186)]=a49_0x4f6bbc,a49_0x5ce697[a49_0x182ec8(0x142)]=0xf*0x3c*0x3e8,a49_0x5ce697[a49_0x182ec8(0x145)]=a49_0x182ec8(0x127),a49_0x5ce697[a49_0x182ec8(0x192)]=a49_0x182ec8(0x12f),a49_0x5ce697[a49_0x182ec8(0x150)]=a49_0x182ec8(0x180),a49_0x5ce697[a49_0x182ec8(0x17a)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x5ce697[a49_0x182ec8(0x11e)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x5ce697['ATS_WSS_URL_REGEX']=/wss:\/\/[a-zA-Z0-9_-]+-hub\.browserstack-ats\.com/,a49_0x5ce697[a49_0x182ec8(0x128)]=[a49_0x182ec8(0x133),a49_0x182ec8(0x12b),a49_0x182ec8(0x19f),a49_0x182ec8(0x188),a49_0x182ec8(0x140),'browserName',a49_0x182ec8(0x176),a49_0x182ec8(0x157),a49_0x182ec8(0x193),a49_0x182ec8(0x14d),'firefoxOptions',a49_0x182ec8(0x16d),'ieOptions'],a49_0x5ce697['ROOT_REGEX']=/^[\w-]+:.*$/,a49_0x5ce697[a49_0x182ec8(0x159)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x5ce697[a49_0x182ec8(0x155)]=a49_0x182ec8(0x11c),a49_0x5ce697[a49_0x182ec8(0x195)]=a49_0x182ec8(0x10a),a49_0x5ce697[a49_0x182ec8(0x141)]=a49_0x182ec8(0x172),a49_0x5ce697[a49_0x182ec8(0x108)]=[a49_0x182ec8(0x10f),a49_0x182ec8(0x118)],a49_0x5ce697[a49_0x182ec8(0x146)]=[a49_0x182ec8(0x10b),a49_0x182ec8(0x118)],a49_0x5ce697[a49_0x182ec8(0x1a3)]=[a49_0x182ec8(0x118)],a49_0x5ce697['OBSERVABILITY_UPLOAD_URL']='https://upload-observability.browserstack.com',a49_0x5ce697[a49_0x182ec8(0x137)]=['mocha','Playwright'],a49_0x5ce697[a49_0x182ec8(0x18f)]=[a49_0x182ec8(0x10f)],a49_0x5ce697[a49_0x182ec8(0x15f)]=[a49_0x182ec8(0x10b)],a49_0x5ce697[a49_0x182ec8(0x18c)]=[a49_0x182ec8(0x19e),a49_0x182ec8(0x113),'ERR_BLOCKED_BY_CLIENT','ERR_NETWORK_CHANGED',a49_0x182ec8(0x17f),a49_0x182ec8(0x152),a49_0x182ec8(0x11d),'ERR_CONNECTION_REFUSED',a49_0x182ec8(0x1a5),'ERR_CONNECTION_FAILED',a49_0x182ec8(0x15d),a49_0x182ec8(0x13f),a49_0x182ec8(0x12e),a49_0x182ec8(0x14f),'ERR_CONNECTION_TIMED_OUT',a49_0x182ec8(0x143),a49_0x182ec8(0x18a),a49_0x182ec8(0x191),a49_0x182ec8(0x15d),a49_0x182ec8(0x122),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a49_0x5ce697['VALID_APP_EXTENSION']=[a49_0x182ec8(0x15a),a49_0x182ec8(0x110),a49_0x182ec8(0x131)],a49_0x5ce697[a49_0x182ec8(0x123)]=a49_0x182ec8(0x162),a49_0x5ce697[a49_0x182ec8(0x151)]=a49_0x182ec8(0x13b),a49_0x5ce697[a49_0x182ec8(0x158)]=a49_0x182ec8(0x17c),a49_0x5ce697[a49_0x182ec8(0x16e)]=a49_0x182ec8(0x1a0),a49_0x5ce697[a49_0x182ec8(0x1a1)]=a49_0x42ed43,a49_0x5ce697[a49_0x182ec8(0x154)]=['jest',a49_0x182ec8(0x12c)],a49_0x5ce697[a49_0x182ec8(0x132)]=a49_0x3108ce,a49_0x5ce697['AUTOLOGCAPTURE_NOTIFICATION']=a49_0x182ec8(0x189),a49_0x5ce697['PACKAGE_TYPE']=a49_0x184515,a49_0x5ce697['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a49_0x5ce697['GIT_META_DATA_TRUNCATED']='...[TRUNCATED]',a49_0x5ce697[a49_0x182ec8(0x174)]=a49_0x182ec8(0x175),a49_0x5ce697[a49_0x182ec8(0x18e)]=a49_0x182ec8(0x166),a49_0x5ce697['INVALID_INIT_RESP_WITH_USER_IMPACT']='SDKTestInvalidTcgAuthResponseWithUserImpact',a49_0x5ce697['TCG_AUTH_FAILURE']=a49_0x182ec8(0x126),a49_0x5ce697[a49_0x182ec8(0x139)]=a49_0x182ec8(0x14b),a49_0x5ce697[a49_0x182ec8(0x160)]=a49_0x182ec8(0x17b),a49_0x5ce697[a49_0x182ec8(0x19c)]='SDKTestTcgProxyFailure',a49_0x5ce697['TCG_AUTH_TIMEOUT']=0x1388,a49_0x5ce697[a49_0x182ec8(0x187)]=0x1388,a49_0x5ce697[a49_0x182ec8(0x107)]=0x1388,a49_0x5ce697[a49_0x182ec8(0x184)]=0x1388,a49_0x5ce697[a49_0x182ec8(0x196)]=0xc350,a49_0x5ce697[a49_0x182ec8(0x177)]=a49_0x39dc1f,a49_0x5ce697[a49_0x182ec8(0x168)]=[a49_0x182ec8(0x182),a49_0x182ec8(0x1a2)],a49_0x5ce697['SDK_INSTRUMENTATION_CONFIG']=a49_0x2e289f,module[a49_0x182ec8(0x130)]=a49_0x5ce697;
@@ -1 +1 @@
1
- const a50_0x47207c=a50_0x18a4;(function(_0x5a1543,_0x24f148){const _0x83b271=a50_0x18a4,_0x12b66b=_0x5a1543();while(!![]){try{const _0x37adc5=-parseInt(_0x83b271(0x176))/0x1+parseInt(_0x83b271(0x16e))/0x2*(parseInt(_0x83b271(0x179))/0x3)+-parseInt(_0x83b271(0x16d))/0x4+parseInt(_0x83b271(0x171))/0x5*(-parseInt(_0x83b271(0x178))/0x6)+parseInt(_0x83b271(0x175))/0x7*(-parseInt(_0x83b271(0x174))/0x8)+parseInt(_0x83b271(0x170))/0x9+parseInt(_0x83b271(0x180))/0xa;if(_0x37adc5===_0x24f148)break;else _0x12b66b['push'](_0x12b66b['shift']());}catch(_0xfb265){_0x12b66b['push'](_0x12b66b['shift']());}}}(a50_0x2078,0xc31f3));function a50_0x18a4(_0x6852e5,_0x34e825){const _0x207836=a50_0x2078();return a50_0x18a4=function(_0x18a424,_0x5ea7af){_0x18a424=_0x18a424-0x16d;let _0x38c8b5=_0x207836[_0x18a424];return _0x38c8b5;},a50_0x18a4(_0x6852e5,_0x34e825);}const logReportingAPI=require('./logReportingAPI'),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x4ad26e,_0x592e6b){return _0x228bf0=>{const _0x5f5193=a50_0x18a4;BSTestOpsLogger['log']({'level':_0x228bf0[_0x5f5193(0x172)]?_0x228bf0['level'][_0x5f5193(0x17a)]:null,'message':_0x228bf0[_0x5f5193(0x17e)]?_0x228bf0[_0x5f5193(0x17e)][_0x5f5193(0x177)]('\x20'):null});};}exports[a50_0x47207c(0x17f)]=(_0x2203e4,_0x1d128c)=>{const _0x4ff102=a50_0x47207c,_0x39f517={'cYPKi':function(_0xaf15ea,_0xe19c5c,_0x4eb416){return _0xaf15ea(_0xe19c5c,_0x4eb416);}};let _0x28b4dc=_0x1d128c[_0x4ff102(0x17b)];return _0x2203e4[_0x4ff102(0x17c)]&&(_0x28b4dc=_0x1d128c['layout'](_0x2203e4['layout'][_0x4ff102(0x16f)],_0x2203e4[_0x4ff102(0x17c)])),_0x39f517[_0x4ff102(0x173)](BSTestOpsLog4JSAppender,_0x28b4dc,_0x2203e4[_0x4ff102(0x17d)]);};function a50_0x2078(){const _0x5184e6=['levelStr','colouredLayout','layout','timezoneOffset','data','configure','48776600lNcDGt','4740128jctUUG','276742jHueNQ','type','1328517tFubcT','5OMeaSt','level','cYPKi','380712LMsOXG','224yzsrbL','1254718WXAIoM','join','2410962nnqRZr','3sbKjgb'];a50_0x2078=function(){return _0x5184e6;};return a50_0x2078();}
1
+ const a50_0xe8e4e8=a50_0x2591;function a50_0x2591(_0x41eec8,_0x2ae79d){const _0x2134c0=a50_0x2134();return a50_0x2591=function(_0x259157,_0x3fa1f6){_0x259157=_0x259157-0xcf;let _0x2a1743=_0x2134c0[_0x259157];return _0x2a1743;},a50_0x2591(_0x41eec8,_0x2ae79d);}(function(_0x34b7f4,_0xc6476c){const _0x45c37b=a50_0x2591,_0x299dff=_0x34b7f4();while(!![]){try{const _0x52f901=-parseInt(_0x45c37b(0xe0))/0x1+-parseInt(_0x45c37b(0xcf))/0x2+parseInt(_0x45c37b(0xdc))/0x3*(-parseInt(_0x45c37b(0xe1))/0x4)+-parseInt(_0x45c37b(0xd5))/0x5*(-parseInt(_0x45c37b(0xdd))/0x6)+parseInt(_0x45c37b(0xd3))/0x7*(-parseInt(_0x45c37b(0xdf))/0x8)+-parseInt(_0x45c37b(0xd1))/0x9+parseInt(_0x45c37b(0xd0))/0xa;if(_0x52f901===_0xc6476c)break;else _0x299dff['push'](_0x299dff['shift']());}catch(_0x3e94ad){_0x299dff['push'](_0x299dff['shift']());}}}(a50_0x2134,0xab178));const logReportingAPI=require(a50_0xe8e4e8(0xd2)),BSTestOpsLogger=new logReportingAPI({});function a50_0x2134(){const _0x1ea208=['level','type','data','layout','join','170652ufnLIo','102DDWjhQ','levelStr','1400aDMzji','919302LgXPIe','68VWTUtj','1991468jTnuLk','37006830Yudyji','780687vtOwqh','./logReportingAPI','7770Iibumd','configure','47990QKVBng','timezoneOffset'];a50_0x2134=function(){return _0x1ea208;};return a50_0x2134();}function BSTestOpsLog4JSAppender(_0x439b1f,_0x2df636){return _0x49a2c7=>{const _0x14ff1b=a50_0x2591;BSTestOpsLogger['log']({'level':_0x49a2c7[_0x14ff1b(0xd7)]?_0x49a2c7[_0x14ff1b(0xd7)][_0x14ff1b(0xde)]:null,'message':_0x49a2c7[_0x14ff1b(0xd9)]?_0x49a2c7['data'][_0x14ff1b(0xdb)]('\x20'):null});};}exports[a50_0xe8e4e8(0xd4)]=(_0x107694,_0x333097)=>{const _0x4f8fac=a50_0xe8e4e8,_0x343a19={'FHdnH':function(_0x191d85,_0x35a09e,_0x32a211){return _0x191d85(_0x35a09e,_0x32a211);}};let _0xbd6b65=_0x333097['colouredLayout'];return _0x107694[_0x4f8fac(0xda)]&&(_0xbd6b65=_0x333097[_0x4f8fac(0xda)](_0x107694['layout'][_0x4f8fac(0xd8)],_0x107694[_0x4f8fac(0xda)])),_0x343a19['FHdnH'](BSTestOpsLog4JSAppender,_0xbd6b65,_0x107694[_0x4f8fac(0xd6)]);};
@@ -1 +1 @@
1
- const a51_0x41a4ee=a51_0x2695;(function(_0x202817,_0x27a65e){const _0x350d1a=a51_0x2695,_0x429a63=_0x202817();while(!![]){try{const _0x1e99f9=-parseInt(_0x350d1a(0x140))/0x1*(-parseInt(_0x350d1a(0x147))/0x2)+-parseInt(_0x350d1a(0x149))/0x3+parseInt(_0x350d1a(0x139))/0x4*(-parseInt(_0x350d1a(0x13e))/0x5)+-parseInt(_0x350d1a(0x14a))/0x6+parseInt(_0x350d1a(0x148))/0x7*(parseInt(_0x350d1a(0x144))/0x8)+-parseInt(_0x350d1a(0x14b))/0x9+parseInt(_0x350d1a(0x14e))/0xa*(parseInt(_0x350d1a(0x13f))/0xb);if(_0x1e99f9===_0x27a65e)break;else _0x429a63['push'](_0x429a63['shift']());}catch(_0x5f51ae){_0x429a63['push'](_0x429a63['shift']());}}}(a51_0x46aa,0xa92c3));function a51_0x46aa(){const _0x558e41=['warn','../../helpers/test-observability/constants','10061544nhvzYX','emit','SsvBc','1470MDLKyK','7cEVdqL','1333440JBvtHd','5327610ogSkEq','11639880KkMfIR','toLowerCase','DEBUG','14127890uWMqDM','error','exports','join','INFO','toUpperCase','ERROR','44NYTxRC','info','logToTestOps','debug','winston-transport','212855djkikT','11GiwxGO','1519aCixcN','TRACE'];a51_0x46aa=function(){return _0x558e41;};return a51_0x46aa();}const Transport=require(a51_0x41a4ee(0x13d)),{consoleHolder}=require(a51_0x41a4ee(0x143)),a51_0x4af64e={};a51_0x4af64e[a51_0x41a4ee(0x136)]='INFO',a51_0x4af64e['ERROR']=a51_0x41a4ee(0x138),a51_0x4af64e[a51_0x41a4ee(0x14d)]=a51_0x41a4ee(0x14d),a51_0x4af64e['TRACE']=a51_0x41a4ee(0x141),a51_0x4af64e['WARN']='WARN';const LOG_LEVELS=a51_0x4af64e;class logPatcher extends Transport{constructor(_0x2cd38c){super(_0x2cd38c);}[a51_0x41a4ee(0x13b)]=(_0x149c65=LOG_LEVELS[a51_0x41a4ee(0x136)],_0x19d140=[''])=>{const _0x4bc538=a51_0x41a4ee,_0x17a5e4={};_0x17a5e4[_0x4bc538(0x146)]='TEST_LOG';const _0x246706=_0x17a5e4;consoleHolder[_0x149c65[_0x4bc538(0x14c)]()](..._0x19d140),process[_0x4bc538(0x145)]('bs:addLog:'+process['pid'],{'timestamp':new Date()['toISOString'](),'level':_0x149c65[_0x4bc538(0x137)](),'message':'\x22'+_0x19d140[_0x4bc538(0x135)](',\x20')+'\x22','kind':_0x246706[_0x4bc538(0x146)],'http_response':{}});};['trace']=(..._0x12d22a)=>{const _0x44a39c=a51_0x41a4ee;this[_0x44a39c(0x13b)](LOG_LEVELS[_0x44a39c(0x141)],_0x12d22a);};[a51_0x41a4ee(0x13c)]=(..._0x9766e2)=>{const _0x1eab9a=a51_0x41a4ee;this[_0x1eab9a(0x13b)](LOG_LEVELS[_0x1eab9a(0x14d)],_0x9766e2);};[a51_0x41a4ee(0x13a)]=(..._0x256f4f)=>{const _0x3c5810=a51_0x41a4ee;this[_0x3c5810(0x13b)](LOG_LEVELS[_0x3c5810(0x136)],_0x256f4f);};[a51_0x41a4ee(0x142)]=(..._0x4a7590)=>{const _0x9ca623=a51_0x41a4ee;this[_0x9ca623(0x13b)](LOG_LEVELS['WARN'],_0x4a7590);};[a51_0x41a4ee(0x14f)]=(..._0x536564)=>{const _0x10dba3=a51_0x41a4ee;this['logToTestOps'](LOG_LEVELS[_0x10dba3(0x138)],_0x536564);};['log']=(..._0x4a6157)=>{const _0x470fdf=a51_0x41a4ee;this[_0x470fdf(0x13b)](LOG_LEVELS[_0x470fdf(0x136)],_0x4a6157);};}function a51_0x2695(_0x7d9491,_0x3d8650){const _0x46aab2=a51_0x46aa();return a51_0x2695=function(_0x2695be,_0x581ec1){_0x2695be=_0x2695be-0x134;let _0x3925aa=_0x46aab2[_0x2695be];return _0x3925aa;},a51_0x2695(_0x7d9491,_0x3d8650);};module[a51_0x41a4ee(0x134)]=logPatcher;
1
+ const a51_0x5bf240=a51_0x4491;function a51_0x4491(_0x3e320b,_0x2b8097){const _0x5e04e4=a51_0x5e04();return a51_0x4491=function(_0x4491d9,_0x4b8d78){_0x4491d9=_0x4491d9-0x1b4;let _0x326513=_0x5e04e4[_0x4491d9];return _0x326513;},a51_0x4491(_0x3e320b,_0x2b8097);}function a51_0x5e04(){const _0x29cc92=['toISOString','exports','70SuvsjI','DEBUG','331331SAsApe','1057076bqmTFe','toLowerCase','1609216FyylDg','log','178677prevrT','120lAYEfL','winston-transport','bs:addLog:','43tuYRLs','TRACE','toUpperCase','WARN','logToTestOps','join','5eHkDJU','1030152gdLHmu','aJufJ','6MPgeAm','trace','175623QUpHqJ','INFO','info','debug','ERROR','16994zuqHap'];a51_0x5e04=function(){return _0x29cc92;};return a51_0x5e04();}(function(_0x1b9488,_0x1e5385){const _0x596f66=a51_0x4491,_0x30857f=_0x1b9488();while(!![]){try{const _0x1dc9a5=parseInt(_0x596f66(0x1cf))/0x1*(parseInt(_0x596f66(0x1c1))/0x2)+-parseInt(_0x596f66(0x1bc))/0x3+parseInt(_0x596f66(0x1c7))/0x4*(-parseInt(_0x596f66(0x1b7))/0x5)+-parseInt(_0x596f66(0x1ba))/0x6*(-parseInt(_0x596f66(0x1c9))/0x7)+parseInt(_0x596f66(0x1cc))/0x8*(parseInt(_0x596f66(0x1cb))/0x9)+-parseInt(_0x596f66(0x1c4))/0xa*(parseInt(_0x596f66(0x1c6))/0xb)+-parseInt(_0x596f66(0x1b8))/0xc;if(_0x1dc9a5===_0x1e5385)break;else _0x30857f['push'](_0x30857f['shift']());}catch(_0x228599){_0x30857f['push'](_0x30857f['shift']());}}}(a51_0x5e04,0x42c8f));const Transport=require(a51_0x5bf240(0x1cd)),{consoleHolder}=require('../../helpers/test-observability/constants'),a51_0x432f94={};a51_0x432f94[a51_0x5bf240(0x1bd)]='INFO',a51_0x432f94[a51_0x5bf240(0x1c0)]=a51_0x5bf240(0x1c0),a51_0x432f94[a51_0x5bf240(0x1c5)]=a51_0x5bf240(0x1c5),a51_0x432f94[a51_0x5bf240(0x1d0)]='TRACE',a51_0x432f94[a51_0x5bf240(0x1b4)]=a51_0x5bf240(0x1b4);const LOG_LEVELS=a51_0x432f94;class logPatcher extends Transport{constructor(_0x3c258a){super(_0x3c258a);}['logToTestOps']=(_0x2e7b98=LOG_LEVELS['INFO'],_0x1e2acd=[''])=>{const _0x5cac26=a51_0x5bf240,_0x3885e1={};_0x3885e1[_0x5cac26(0x1b9)]='TEST_LOG';const _0x19af45=_0x3885e1;consoleHolder[_0x2e7b98[_0x5cac26(0x1c8)]()](..._0x1e2acd),process['emit'](_0x5cac26(0x1ce)+process['pid'],{'timestamp':new Date()[_0x5cac26(0x1c2)](),'level':_0x2e7b98[_0x5cac26(0x1d1)](),'message':'\x22'+_0x1e2acd[_0x5cac26(0x1b6)](',\x20')+'\x22','kind':_0x19af45['aJufJ'],'http_response':{}});};[a51_0x5bf240(0x1bb)]=(..._0x4c2d1d)=>{const _0xee3e4e=a51_0x5bf240;this[_0xee3e4e(0x1b5)](LOG_LEVELS[_0xee3e4e(0x1d0)],_0x4c2d1d);};[a51_0x5bf240(0x1bf)]=(..._0x1e3843)=>{const _0x3cd42a=a51_0x5bf240;this[_0x3cd42a(0x1b5)](LOG_LEVELS['DEBUG'],_0x1e3843);};[a51_0x5bf240(0x1be)]=(..._0x2063aa)=>{this['logToTestOps'](LOG_LEVELS['INFO'],_0x2063aa);};['warn']=(..._0x5b431a)=>{const _0xec8789=a51_0x5bf240;this[_0xec8789(0x1b5)](LOG_LEVELS[_0xec8789(0x1b4)],_0x5b431a);};['error']=(..._0x1913c2)=>{const _0x35463a=a51_0x5bf240;this[_0x35463a(0x1b5)](LOG_LEVELS['ERROR'],_0x1913c2);};[a51_0x5bf240(0x1ca)]=(..._0x15dea0)=>{const _0x4ec574=a51_0x5bf240;this[_0x4ec574(0x1b5)](LOG_LEVELS[_0x4ec574(0x1bd)],_0x15dea0);};};module[a51_0x5bf240(0x1c3)]=logPatcher;
@@ -1 +1 @@
1
- const a52_0x1affd3=a52_0x1c4d;(function(_0x217d53,_0x5336a8){const _0x16afbd=a52_0x1c4d,_0x5c31d8=_0x217d53();while(!![]){try{const _0x585be4=-parseInt(_0x16afbd(0x201))/0x1*(parseInt(_0x16afbd(0x1f8))/0x2)+-parseInt(_0x16afbd(0x1f0))/0x3+-parseInt(_0x16afbd(0x200))/0x4+-parseInt(_0x16afbd(0x1fc))/0x5+-parseInt(_0x16afbd(0x1f4))/0x6*(parseInt(_0x16afbd(0x1f2))/0x7)+-parseInt(_0x16afbd(0x1e7))/0x8+-parseInt(_0x16afbd(0x202))/0x9*(-parseInt(_0x16afbd(0x1ed))/0xa);if(_0x585be4===_0x5336a8)break;else _0x5c31d8['push'](_0x5c31d8['shift']());}catch(_0x4540c8){_0x5c31d8['push'](_0x5c31d8['shift']());}}}(a52_0x3a3b,0x41b2f));const Transport=require('winston-transport'),{consoleHolder}=require('../../helpers/test-observability/constants'),a52_0x88574e={};a52_0x88574e[a52_0x1affd3(0x1e8)]=a52_0x1affd3(0x1e8),a52_0x88574e[a52_0x1affd3(0x1ff)]=a52_0x1affd3(0x1ff),a52_0x88574e[a52_0x1affd3(0x1ef)]=a52_0x1affd3(0x1ef),a52_0x88574e[a52_0x1affd3(0x1e9)]='TRACE',a52_0x88574e[a52_0x1affd3(0x1f1)]=a52_0x1affd3(0x1f1);function a52_0x3a3b(){const _0x1cf432=['cpfTK','toUpperCase','62TrJddO','level','pid','emit','2403170YXyKtz','exports','logToTestOps','ERROR','1323228WgCYsU','2269BpetHr','20898hXzwis','debug','TEST_LOG','VuDuu','3642240LTcros','INFO','TRACE','trace','RYUVy','bs:addLog:','10480jQgBXm','logged','DEBUG','1544247IUlrpg','WARN','14fdKJcU','UmjAQ','937632WoWmUn','info'];a52_0x3a3b=function(){return _0x1cf432;};return a52_0x3a3b();}const LOG_LEVELS=a52_0x88574e;class logReportingAPI extends Transport{constructor(_0x51decf){super(_0x51decf);}['log'](_0x256472,_0x4a80d9){const _0x41fac0=a52_0x1affd3,_0x47c877={'RYUVy':_0x41fac0(0x1ee),'VuDuu':function(_0x2fcfad,_0x1b195d){return _0x2fcfad(_0x1b195d);},'UmjAQ':function(_0x547c25,_0x154f3f){return _0x547c25===_0x154f3f;},'GJEXf':'object','vujZD':function(_0xba7bcb){return _0xba7bcb();}};_0x47c877[_0x41fac0(0x1e6)](setImmediate,()=>{const _0x22a917=_0x41fac0;this[_0x22a917(0x1fb)](_0x47c877[_0x22a917(0x1eb)],_0x256472);}),_0x47c877[_0x41fac0(0x1f3)](typeof _0x256472,_0x47c877['GJEXf'])?this['logToTestOps'](_0x256472[_0x41fac0(0x1f9)]||LOG_LEVELS[_0x41fac0(0x1e8)],_0x256472['message'],![]):this['logToTestOps'](LOG_LEVELS[_0x41fac0(0x1e8)],_0x256472),_0x4a80d9&&_0x47c877['vujZD'](_0x4a80d9);}[a52_0x1affd3(0x1fe)]=(_0x10c711=LOG_LEVELS[a52_0x1affd3(0x1e8)],_0x22d854='',_0x531ac8=!![])=>{const _0x3cac2f=a52_0x1affd3,_0x31f468={};_0x31f468[_0x3cac2f(0x1f6)]=_0x3cac2f(0x1e5);const _0x14e750=_0x31f468;_0x531ac8&&consoleHolder[_0x10c711['toLowerCase']()](_0x22d854),process['emit'](_0x3cac2f(0x1ec)+process[_0x3cac2f(0x1fa)],{'timestamp':new Date()['toISOString'](),'level':_0x10c711[_0x3cac2f(0x1f7)](),'message':_0x22d854,'kind':_0x14e750[_0x3cac2f(0x1f6)],'http_response':{}});};[a52_0x1affd3(0x1ea)]=(_0x46b948,_0x35caca)=>{const _0x514790=a52_0x1affd3;this[_0x514790(0x1fe)](LOG_LEVELS[_0x514790(0x1e9)],_0x46b948);};[a52_0x1affd3(0x203)]=(_0x1d8873,_0x113379)=>{const _0x2a3c2c=a52_0x1affd3;this[_0x2a3c2c(0x1fe)](LOG_LEVELS[_0x2a3c2c(0x1ef)],_0x1d8873);};[a52_0x1affd3(0x1f5)]=(_0x2d69fe,_0x4eb9b3)=>{const _0x457772=a52_0x1affd3;this['logToTestOps'](LOG_LEVELS[_0x457772(0x1e8)],_0x2d69fe);};['warn']=(_0x1fc94f,_0x1db60f)=>{const _0x5ca783=a52_0x1affd3;this[_0x5ca783(0x1fe)](LOG_LEVELS[_0x5ca783(0x1f1)],_0x1fc94f);};['error']=(_0x165d54,_0x249343)=>{const _0x4cee66=a52_0x1affd3;this[_0x4cee66(0x1fe)](LOG_LEVELS[_0x4cee66(0x1ff)],_0x165d54);};};function a52_0x1c4d(_0x43ee79,_0x37cfc7){const _0x3a3b6c=a52_0x3a3b();return a52_0x1c4d=function(_0x1c4d85,_0x164de1){_0x1c4d85=_0x1c4d85-0x1e5;let _0x2dad41=_0x3a3b6c[_0x1c4d85];return _0x2dad41;},a52_0x1c4d(_0x43ee79,_0x37cfc7);}module[a52_0x1affd3(0x1fd)]=logReportingAPI;
1
+ const a52_0x20076f=a52_0x1101;(function(_0x1d5724,_0x15256b){const _0x44f002=a52_0x1101,_0x19f437=_0x1d5724();while(!![]){try{const _0x54f147=parseInt(_0x44f002(0x209))/0x1*(-parseInt(_0x44f002(0x1e2))/0x2)+parseInt(_0x44f002(0x1e5))/0x3*(-parseInt(_0x44f002(0x1e7))/0x4)+-parseInt(_0x44f002(0x201))/0x5+-parseInt(_0x44f002(0x1f8))/0x6*(parseInt(_0x44f002(0x1ef))/0x7)+parseInt(_0x44f002(0x1e3))/0x8+-parseInt(_0x44f002(0x1e6))/0x9*(-parseInt(_0x44f002(0x1f9))/0xa)+parseInt(_0x44f002(0x208))/0xb*(parseInt(_0x44f002(0x1eb))/0xc);if(_0x54f147===_0x15256b)break;else _0x19f437['push'](_0x19f437['shift']());}catch(_0x478a0f){_0x19f437['push'](_0x19f437['shift']());}}}(a52_0x3986,0x3b8f8));function a52_0x3986(){const _0x4a8993=['object','FfdjP','1358290sOWVMn','warn','ERROR','pid','DEBUG','winston-transport','TRACE','1067UJHAIs','94942OdiYLh','../../helpers/test-observability/constants','6qNUoZP','845968WFgayP','qdnrU','474135AipOuY','32184rPdtvq','4YCAkMU','toUpperCase','emit','error','158556YbloBd','toLowerCase','TEST_LOG','FOdGX','15547aZcOTl','trace','debug','logged','WARN','INFO','RYaLW','AdFIC','level','1236EBunMO','80qRPmba','toISOString','log','logToTestOps','vxCKj','exports'];a52_0x3986=function(){return _0x4a8993;};return a52_0x3986();}const Transport=require(a52_0x20076f(0x206)),{consoleHolder}=require(a52_0x20076f(0x1e1)),a52_0x21bb1f={};a52_0x21bb1f['INFO']=a52_0x20076f(0x1f4),a52_0x21bb1f[a52_0x20076f(0x203)]=a52_0x20076f(0x203),a52_0x21bb1f[a52_0x20076f(0x205)]=a52_0x20076f(0x205),a52_0x21bb1f[a52_0x20076f(0x207)]=a52_0x20076f(0x207),a52_0x21bb1f['WARN']=a52_0x20076f(0x1f3);const LOG_LEVELS=a52_0x21bb1f;class logReportingAPI extends Transport{constructor(_0x3544ca){super(_0x3544ca);}[a52_0x20076f(0x1fb)](_0x209d15,_0x5982a3){const _0x5ca303=a52_0x20076f,_0x4bcf1e={'FOdGX':_0x5ca303(0x1f2),'FfdjP':function(_0x205187,_0x6ee811){return _0x205187(_0x6ee811);},'vxCKj':function(_0x4f314e,_0x325e02){return _0x4f314e===_0x325e02;},'AdFIC':_0x5ca303(0x1ff),'RYaLW':function(_0x336c00){return _0x336c00();}};_0x4bcf1e[_0x5ca303(0x200)](setImmediate,()=>{const _0xc413fa=_0x5ca303;this[_0xc413fa(0x1e9)](_0x4bcf1e[_0xc413fa(0x1ee)],_0x209d15);}),_0x4bcf1e[_0x5ca303(0x1fd)](typeof _0x209d15,_0x4bcf1e[_0x5ca303(0x1f6)])?this[_0x5ca303(0x1fc)](_0x209d15[_0x5ca303(0x1f7)]||LOG_LEVELS[_0x5ca303(0x1f4)],_0x209d15['message'],![]):this[_0x5ca303(0x1fc)](LOG_LEVELS['INFO'],_0x209d15),_0x5982a3&&_0x4bcf1e[_0x5ca303(0x1f5)](_0x5982a3);}[a52_0x20076f(0x1fc)]=(_0x1b1c63=LOG_LEVELS[a52_0x20076f(0x1f4)],_0x5e946e='',_0x286e1=!![])=>{const _0x41a20c=a52_0x20076f,_0x5d9244={};_0x5d9244[_0x41a20c(0x1e4)]=_0x41a20c(0x1ed);const _0x313613=_0x5d9244;_0x286e1&&consoleHolder[_0x1b1c63[_0x41a20c(0x1ec)]()](_0x5e946e),process['emit']('bs:addLog:'+process[_0x41a20c(0x204)],{'timestamp':new Date()[_0x41a20c(0x1fa)](),'level':_0x1b1c63[_0x41a20c(0x1e8)](),'message':_0x5e946e,'kind':_0x313613['qdnrU'],'http_response':{}});};[a52_0x20076f(0x1f0)]=(_0x253d9c,_0x5b7754)=>{const _0x270e6c=a52_0x20076f;this[_0x270e6c(0x1fc)](LOG_LEVELS[_0x270e6c(0x207)],_0x253d9c);};[a52_0x20076f(0x1f1)]=(_0x312290,_0x674665)=>{const _0x8a86a7=a52_0x20076f;this['logToTestOps'](LOG_LEVELS[_0x8a86a7(0x205)],_0x312290);};['info']=(_0x92f7c1,_0x5d016d)=>{const _0x1efdfa=a52_0x20076f;this[_0x1efdfa(0x1fc)](LOG_LEVELS[_0x1efdfa(0x1f4)],_0x92f7c1);};[a52_0x20076f(0x202)]=(_0x113530,_0x4216e2)=>{const _0x37884f=a52_0x20076f;this[_0x37884f(0x1fc)](LOG_LEVELS[_0x37884f(0x1f3)],_0x113530);};[a52_0x20076f(0x1ea)]=(_0x4d476,_0x6f6bbc)=>{const _0xa54f81=a52_0x20076f;this[_0xa54f81(0x1fc)](LOG_LEVELS[_0xa54f81(0x203)],_0x4d476);};}function a52_0x1101(_0x4a2195,_0x4ea734){const _0x398662=a52_0x3986();return a52_0x1101=function(_0x1101dd,_0x2b8228){_0x1101dd=_0x1101dd-0x1e1;let _0x26f0fe=_0x398662[_0x1101dd];return _0x26f0fe;},a52_0x1101(_0x4a2195,_0x4ea734);};module[a52_0x20076f(0x1fe)]=logReportingAPI;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a53_0x4cc1a8=a53_0x3b42;(function(_0x229995,_0x19bdf4){const _0x28be65=a53_0x3b42,_0xe699a1=_0x229995();while(!![]){try{const _0x3f902c=-parseInt(_0x28be65(0xe5))/0x1*(parseInt(_0x28be65(0xc4))/0x2)+parseInt(_0x28be65(0xbd))/0x3*(-parseInt(_0x28be65(0xe9))/0x4)+parseInt(_0x28be65(0xdf))/0x5*(-parseInt(_0x28be65(0xd5))/0x6)+parseInt(_0x28be65(0xe6))/0x7+-parseInt(_0x28be65(0xcd))/0x8*(-parseInt(_0x28be65(0xcc))/0x9)+parseInt(_0x28be65(0xc5))/0xa+-parseInt(_0x28be65(0xda))/0xb*(-parseInt(_0x28be65(0xc9))/0xc);if(_0x3f902c===_0x19bdf4)break;else _0xe699a1['push'](_0xe699a1['shift']());}catch(_0x49b992){_0xe699a1['push'](_0xe699a1['shift']());}}}(a53_0x1b60,0x9610e));const fs=require('fs'),path=require(a53_0x4cc1a8(0xce)),{default:BrowserStackSetup}=require(a53_0x4cc1a8(0xd6)),helper=require(a53_0x4cc1a8(0xdd)),utilities=require(a53_0x4cc1a8(0xc7)),{parallelVanillaRun}=require(a53_0x4cc1a8(0xc2)),TestHubHandler=require(a53_0x4cc1a8(0xdc));function a53_0x3b42(_0x6ef84f,_0x43b41b){const _0x1b602e=a53_0x1b60();return a53_0x3b42=function(_0x3b427e,_0x2b004c){_0x3b427e=_0x3b427e-0xbc;let _0x1c28e3=_0x1b602e[_0x3b427e];return _0x1c28e3;},a53_0x3b42(_0x6ef84f,_0x43b41b);}async function run(_0x363b05,_0x3cd251){const _0x5cf5c9=a53_0x4cc1a8,_0x224c82={'JTSjh':_0x5cf5c9(0xe3),'SFHzA':function(_0x2f7a75,_0x286b7b){return _0x2f7a75(_0x286b7b);},'AeJKm':_0x5cf5c9(0xd0),'URiwj':_0x5cf5c9(0xc8),'BmNeI':function(_0x842ba5,_0xddfd30){return _0x842ba5>_0xddfd30;},'oNOnt':function(_0x220465,_0x11146c){return _0x220465*_0x11146c;},'EDAfZ':function(_0x17c646,_0x3e4a49,_0x3ea0f1){return _0x17c646(_0x3e4a49,_0x3ea0f1);}},_0x341784=new BrowserStackSetup(_0x363b05,_0x224c82['JTSjh']);await _0x341784[_0x5cf5c9(0xe0)](),await helper[_0x5cf5c9(0xd8)](_0x341784['config']);const _0x12126a=[];if(helper[_0x5cf5c9(0xeb)](_0x363b05['_'][0x1]))throw _0x224c82['SFHzA'](Error,_0x224c82[_0x5cf5c9(0xc3)]);const _0x130dcd=path[_0x5cf5c9(0xd4)](process[_0x5cf5c9(0xbe)](),_0x363b05['_'][0x1]);if(!fs['existsSync'](_0x130dcd))throw _0x224c82[_0x5cf5c9(0xd7)](Error,'File\x20'+_0x363b05['_'][0x1]+_0x5cf5c9(0xed));if(!_0x341784['config'])throw _0x224c82[_0x5cf5c9(0xd7)](Error,_0x224c82[_0x5cf5c9(0xe8)]);const _0x311269=helper[_0x5cf5c9(0xde)](_0x341784[_0x5cf5c9(0xe7)]);_0x341784[_0x5cf5c9(0xe7)][_0x5cf5c9(0xea)]&&_0x224c82['BmNeI'](_0x341784['config'][_0x5cf5c9(0xea)][_0x5cf5c9(0xec)],0x0)&&_0x341784['config'][_0x5cf5c9(0xea)][_0x5cf5c9(0xef)]((_0x4d178d,_0x1589ee)=>{const _0x59efbd=_0x5cf5c9;_0x311269?_0x12126a[_0x59efbd(0xc6)](helper[_0x59efbd(0xe2)](_0x341784[_0x59efbd(0xe7)],_0x224c82[_0x59efbd(0xc0)],_0x1589ee)):_0x12126a[_0x59efbd(0xc6)](helper[_0x59efbd(0xd2)](_0x341784['config'],_0x224c82[_0x59efbd(0xc0)],_0x1589ee));});let _0x2d17d1,_0x539603;const _0x10321f=[];if(_0x224c82[_0x5cf5c9(0xdb)](_0x12126a[_0x5cf5c9(0xec)],0x0))_0x12126a[_0x5cf5c9(0xef)]((_0xb35870,_0x30e460)=>{const _0x3bb907=_0x5cf5c9;_0x2d17d1={'server':helper[_0x3bb907(0xbf)](_0x341784[_0x3bb907(0xe7)]),'proxySettings':_0x341784[_0x3bb907(0xe7)][_0x3bb907(0xd1)],'platform':helper[_0x3bb907(0xd9)](_0xb35870),'platformCaps':_0x341784[_0x3bb907(0xe7)]['platforms'][_0x30e460]};const _0x70b7a9={'capability':_0xb35870,..._0x2d17d1};_0x70b7a9[_0x3bb907(0xca)]=_0x130dcd,_0x70b7a9[_0x3bb907(0xcb)]=_0x3cd251;const _0x185ad1={};_0x185ad1[_0x3bb907(0xbc)]=_0x70b7a9,_0x539603=_0x185ad1,_0x10321f[_0x3bb907(0xc6)](_0x539603);});else{let _0x429e4b;_0x311269?_0x429e4b=helper[_0x5cf5c9(0xe2)](_0x341784[_0x5cf5c9(0xe7)],_0x224c82[_0x5cf5c9(0xc0)],0x0):_0x429e4b=helper['modifyBrowserStackCaps'](_0x341784[_0x5cf5c9(0xe7)],_0x224c82[_0x5cf5c9(0xc0)],0x0);_0x2d17d1={'server':helper[_0x5cf5c9(0xbf)](_0x341784[_0x5cf5c9(0xe7)]),'proxySettings':_0x341784[_0x5cf5c9(0xe7)][_0x5cf5c9(0xd1)]};const _0x4e17bf={'capability':_0x429e4b,..._0x2d17d1};_0x4e17bf[_0x5cf5c9(0xca)]=_0x130dcd,_0x4e17bf[_0x5cf5c9(0xcb)]=_0x3cd251;const _0xb12282={};_0xb12282[_0x5cf5c9(0xbc)]=_0x4e17bf,_0x539603=_0xb12282,_0x10321f['push'](_0x539603);}const _0x266e31=await TestHubHandler[_0x5cf5c9(0xcf)](_0x224c82[_0x5cf5c9(0xc0)],_0x341784),_0x78bc84=_0x224c82[_0x5cf5c9(0xe1)](_0x341784[_0x5cf5c9(0xe7)][_0x5cf5c9(0xea)][_0x5cf5c9(0xec)]||0x1,_0x341784[_0x5cf5c9(0xe7)][_0x5cf5c9(0xd3)]||0x1);helper['markSDKSetupComplete'](),_0x224c82[_0x5cf5c9(0xc1)](parallelVanillaRun,_0x10321f,_0x78bc84)[_0x5cf5c9(0xe4)](_0x2f3198=>{})['finally'](async()=>{const _0x5c65dc=_0x5cf5c9;await utilities[_0x5c65dc(0xee)](_0x341784);});}module['exports']=run;function a53_0x1b60(){const _0x553abb=['../../helpers/BrowserStackSetup','SFHzA','handleApp','getPlatformName','299629OkxKUE','BmNeI','../../helpers/testhub/testhubHandler','../../helpers/helper','useW3C','32980BPBiHx','initialize','oNOnt','modifyBrowserStackW3CCaps','vanilla','then','2885WHhZxP','662739GYUgWj','config','URiwj','75412bJoKeL','platforms','isUndefined','length','\x20doesn\x27t\x20exist','finalExecution','forEach','configuration','48CHTBbd','cwd','getHubUrl','JTSjh','EDAfZ','../test-runner','AeJKm','702GhvuWE','1047990jutiqX','push','../../helpers/utilities','Config\x20yml\x20is\x20required','1068pTHoWg','file','args','9dTdVOI','1565328EVGxHd','path','launchBuild','File\x20path\x20is\x20required','proxySettings','modifyBrowserStackCaps','parallelsPerPlatform','join','810IIcKZJ'];a53_0x1b60=function(){return _0x553abb;};return a53_0x1b60();}
2
+ 'use strict';const a53_0xa054e3=a53_0x21be;function a53_0x2781(){const _0x5d99b8=['../test-runner','then','markSDKSetupComplete','23094rLPanv','existsSync','modifyBrowserStackW3CCaps','modifyBrowserStackCaps','19336BwyrDV','useW3C','File\x20','188YWswHp','handleApp','getPlatformName','push','config','1782ezjizM','vanilla','780540qpgHvp','404744CrkERO','forEach','File\x20path\x20is\x20required','1500575bXAfcy','ROSTI','yBFoL','ErJGh','platforms','parallelsPerPlatform','12HHDyxQ','file','finalExecution','zrLhz','configuration','mhsto','length','4910391uAXCLa','71580bWzlqa','Config\x20yml\x20is\x20required','yJTEC','launchBuild','path','../../helpers/utilities','../../helpers/testhub/testhubHandler','finally','ZToFp','959CSpMmf','exports'];a53_0x2781=function(){return _0x5d99b8;};return a53_0x2781();}(function(_0xad1449,_0x5a5895){const _0x401a9a=a53_0x21be,_0xef62f2=_0xad1449();while(!![]){try{const _0x40e70f=-parseInt(_0x401a9a(0x95))/0x1+-parseInt(_0x401a9a(0x94))/0x2+-parseInt(_0x401a9a(0x86))/0x3*(-parseInt(_0x401a9a(0x8d))/0x4)+-parseInt(_0x401a9a(0x98))/0x5*(parseInt(_0x401a9a(0x9e))/0x6)+-parseInt(_0x401a9a(0x81))/0x7*(parseInt(_0x401a9a(0x8a))/0x8)+parseInt(_0x401a9a(0xa5))/0x9+-parseInt(_0x401a9a(0xa6))/0xa*(-parseInt(_0x401a9a(0x92))/0xb);if(_0x40e70f===_0x5a5895)break;else _0xef62f2['push'](_0xef62f2['shift']());}catch(_0x444429){_0xef62f2['push'](_0xef62f2['shift']());}}}(a53_0x2781,0x53294));function a53_0x21be(_0x4df3dd,_0x34753a){const _0x2781b0=a53_0x2781();return a53_0x21be=function(_0x21bee0,_0x388ba5){_0x21bee0=_0x21bee0-0x7a;let _0x3ce149=_0x2781b0[_0x21bee0];return _0x3ce149;},a53_0x21be(_0x4df3dd,_0x34753a);}const fs=require('fs'),path=require(a53_0xa054e3(0x7c)),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a53_0xa054e3(0x7d)),{parallelVanillaRun}=require(a53_0xa054e3(0x83)),TestHubHandler=require(a53_0xa054e3(0x7e));async function run(_0x436be6,_0x1602db){const _0x4ab128=a53_0xa054e3,_0x525fb3={'mhsto':_0x4ab128(0x93),'yBFoL':function(_0x5e8527,_0x4258e3){return _0x5e8527(_0x4258e3);},'ROSTI':_0x4ab128(0x97),'rJbQP':function(_0x460308,_0x271d5a){return _0x460308(_0x271d5a);},'ZToFp':_0x4ab128(0xa7),'ErJGh':function(_0x44d8c0,_0x42de65){return _0x44d8c0>_0x42de65;},'zrLhz':function(_0x13b5c0,_0x4988ce){return _0x13b5c0*_0x4988ce;},'yJTEC':function(_0x5c8456,_0x1f19a3,_0x40b67c){return _0x5c8456(_0x1f19a3,_0x40b67c);}},_0x429b60=new BrowserStackSetup(_0x436be6,_0x525fb3['mhsto']);await _0x429b60['initialize'](),await helper[_0x4ab128(0x8e)](_0x429b60[_0x4ab128(0x91)]);const _0x406a04=[];if(helper['isUndefined'](_0x436be6['_'][0x1]))throw _0x525fb3[_0x4ab128(0x9a)](Error,_0x525fb3[_0x4ab128(0x99)]);const _0x2da263=path['join'](process['cwd'](),_0x436be6['_'][0x1]);if(!fs[_0x4ab128(0x87)](_0x2da263))throw _0x525fb3['yBFoL'](Error,_0x4ab128(0x8c)+_0x436be6['_'][0x1]+'\x20doesn\x27t\x20exist');if(!_0x429b60[_0x4ab128(0x91)])throw _0x525fb3['rJbQP'](Error,_0x525fb3[_0x4ab128(0x80)]);const _0x189c89=helper[_0x4ab128(0x8b)](_0x429b60[_0x4ab128(0x91)]);_0x429b60[_0x4ab128(0x91)][_0x4ab128(0x9c)]&&_0x525fb3[_0x4ab128(0x9b)](_0x429b60[_0x4ab128(0x91)]['platforms'][_0x4ab128(0xa4)],0x0)&&_0x429b60['config']['platforms'][_0x4ab128(0x96)]((_0x1c169f,_0x4887ee)=>{const _0x6655e2=_0x4ab128;_0x189c89?_0x406a04[_0x6655e2(0x90)](helper['modifyBrowserStackW3CCaps'](_0x429b60[_0x6655e2(0x91)],_0x525fb3[_0x6655e2(0xa3)],_0x4887ee)):_0x406a04[_0x6655e2(0x90)](helper[_0x6655e2(0x89)](_0x429b60[_0x6655e2(0x91)],_0x525fb3[_0x6655e2(0xa3)],_0x4887ee));});let _0x32f3ba,_0x12d653;const _0x279f9f=[];if(_0x525fb3[_0x4ab128(0x9b)](_0x406a04[_0x4ab128(0xa4)],0x0))_0x406a04['forEach']((_0x47e84f,_0x61f0a6)=>{const _0x29137e=_0x4ab128;_0x32f3ba={'server':helper['getHubUrl'](_0x429b60[_0x29137e(0x91)]),'proxySettings':_0x429b60[_0x29137e(0x91)]['proxySettings'],'platform':helper[_0x29137e(0x8f)](_0x47e84f),'platformCaps':_0x429b60[_0x29137e(0x91)][_0x29137e(0x9c)][_0x61f0a6]};const _0x11404a={'capability':_0x47e84f,..._0x32f3ba};_0x11404a['file']=_0x2da263,_0x11404a['args']=_0x1602db;const _0x544549={};_0x544549[_0x29137e(0xa2)]=_0x11404a,_0x12d653=_0x544549,_0x279f9f['push'](_0x12d653);});else{let _0x3f828a;_0x189c89?_0x3f828a=helper[_0x4ab128(0x88)](_0x429b60[_0x4ab128(0x91)],_0x525fb3[_0x4ab128(0xa3)],0x0):_0x3f828a=helper['modifyBrowserStackCaps'](_0x429b60[_0x4ab128(0x91)],_0x525fb3[_0x4ab128(0xa3)],0x0);_0x32f3ba={'server':helper['getHubUrl'](_0x429b60[_0x4ab128(0x91)]),'proxySettings':_0x429b60['config']['proxySettings']};const _0x1e1548={'capability':_0x3f828a,..._0x32f3ba};_0x1e1548[_0x4ab128(0x9f)]=_0x2da263,_0x1e1548['args']=_0x1602db;const _0x195d3a={};_0x195d3a['configuration']=_0x1e1548,_0x12d653=_0x195d3a,_0x279f9f['push'](_0x12d653);}const _0x409a46=await TestHubHandler[_0x4ab128(0x7b)](_0x525fb3[_0x4ab128(0xa3)],_0x429b60),_0x5a5271=_0x525fb3[_0x4ab128(0xa1)](_0x429b60[_0x4ab128(0x91)][_0x4ab128(0x9c)][_0x4ab128(0xa4)]||0x1,_0x429b60[_0x4ab128(0x91)][_0x4ab128(0x9d)]||0x1);helper[_0x4ab128(0x85)](),_0x525fb3[_0x4ab128(0x7a)](parallelVanillaRun,_0x279f9f,_0x5a5271)[_0x4ab128(0x84)](_0x45d464=>{})[_0x4ab128(0x7f)](async()=>{const _0x522fd7=_0x4ab128;await utilities[_0x522fd7(0xa0)](_0x429b60);});}module[a53_0xa054e3(0x82)]=run;
@@ -1 +1 @@
1
- const a54_0x6a5579=a54_0x4dbf;(function(_0x25caed,_0x581ee3){const _0x42598e=a54_0x4dbf,_0x4ae174=_0x25caed();while(!![]){try{const _0x323d72=parseInt(_0x42598e(0x145))/0x1+-parseInt(_0x42598e(0x13c))/0x2*(parseInt(_0x42598e(0x141))/0x3)+-parseInt(_0x42598e(0x135))/0x4+parseInt(_0x42598e(0x12d))/0x5+parseInt(_0x42598e(0x140))/0x6*(parseInt(_0x42598e(0x13d))/0x7)+parseInt(_0x42598e(0x136))/0x8*(-parseInt(_0x42598e(0x13f))/0x9)+parseInt(_0x42598e(0x131))/0xa;if(_0x323d72===_0x581ee3)break;else _0x4ae174['push'](_0x4ae174['shift']());}catch(_0xa938d7){_0x4ae174['push'](_0x4ae174['shift']());}}}(a54_0x2b8b,0x48297));class BrowserStackSdk{static['getCurrentPlatform'](){const _0x15b06a=a54_0x4dbf,_0x414392={};_0x414392[_0x15b06a(0x137)]=_0x15b06a(0x130),_0x414392[_0x15b06a(0x142)]=_0x15b06a(0x14c),_0x414392[_0x15b06a(0x13e)]='browser',_0x414392[_0x15b06a(0x148)]=_0x15b06a(0x132),_0x414392[_0x15b06a(0x138)]=_0x15b06a(0x147),_0x414392[_0x15b06a(0x13a)]=_0x15b06a(0x13b),_0x414392[_0x15b06a(0x12b)]=_0x15b06a(0x14a),_0x414392[_0x15b06a(0x139)]=_0x15b06a(0x133),_0x414392[_0x15b06a(0x12f)]='platform',_0x414392[_0x15b06a(0x12c)]=_0x15b06a(0x134),_0x414392[_0x15b06a(0x12e)]='platform_version',_0x414392[_0x15b06a(0x14d)]=_0x15b06a(0x146),_0x414392[_0x15b06a(0x14b)]=_0x15b06a(0x144);const _0x33a4bb=_0x414392,_0x5be416={};if(global[_0x15b06a(0x149)]){const _0x3fda77=global['__platformCaps'],_0x5b4615=_0x3fda77[_0x33a4bb['VtDwJ']]||_0x3fda77[_0x33a4bb[_0x15b06a(0x142)]],_0x232fd4=_0x3fda77[_0x33a4bb[_0x15b06a(0x13e)]]||_0x3fda77[_0x33a4bb[_0x15b06a(0x148)]],_0x3b194f=_0x3fda77[_0x33a4bb[_0x15b06a(0x138)]]||_0x3fda77[_0x33a4bb[_0x15b06a(0x13a)]],_0x5f2742=_0x3fda77[_0x33a4bb[_0x15b06a(0x12b)]]||_0x3fda77[_0x33a4bb[_0x15b06a(0x139)]],_0x2b1b16=_0x3fda77[_0x33a4bb[_0x15b06a(0x12f)]]||_0x3fda77[_0x33a4bb[_0x15b06a(0x12c)]],_0x3c2c7e=_0x3fda77[_0x33a4bb[_0x15b06a(0x12e)]]||_0x3fda77[_0x33a4bb['WkVyB']];_0x3fda77['os']&&(_0x5be416['os']=_0x3fda77['os']),_0x5b4615&&(_0x5be416[_0x33a4bb['CsyTx']]=_0x5b4615),_0x232fd4&&(_0x5be416[_0x33a4bb[_0x15b06a(0x148)]]=_0x232fd4),_0x3b194f&&(_0x5be416[_0x33a4bb[_0x15b06a(0x13a)]]=_0x3b194f),_0x5f2742&&(_0x5be416[_0x33a4bb[_0x15b06a(0x139)]]=_0x5f2742),_0x2b1b16&&(_0x5be416[_0x33a4bb[_0x15b06a(0x12c)]]=_0x2b1b16),_0x3c2c7e&&(_0x5be416[_0x33a4bb[_0x15b06a(0x14d)]]=_0x3c2c7e),_0x3fda77[_0x33a4bb[_0x15b06a(0x14b)]]&&(_0x5be416[_0x33a4bb[_0x15b06a(0x14b)]]=_0x3fda77[_0x33a4bb[_0x15b06a(0x14b)]]);}return _0x5be416;}}function a54_0x2b8b(){const _0x1fffd1=['cyLkF','os_version','6134560ujvWPo','browserName','deviceName','platformName','2200560cQcZFo','65992nnaEUm','VtDwJ','Sghdc','uOwgZ','XknWu','browserVersion','10598hVAKfd','2016763gpYycm','pEYNU','441qaOKKw','6dPixty','69PooBWz','CsyTx','exports','customVariables','377261lbEQHm','platformVersion','browser_version','XupSO','__platformCaps','device','ssmlr','osVersion','WkVyB','DGIww','nJXae','464835uGyilN','QaHMy'];a54_0x2b8b=function(){return _0x1fffd1;};return a54_0x2b8b();}function a54_0x4dbf(_0x4ae449,_0x4a9eaa){const _0x2b8bb0=a54_0x2b8b();return a54_0x4dbf=function(_0x4dbf66,_0x4cea90){_0x4dbf66=_0x4dbf66-0x12b;let _0x370918=_0x2b8bb0[_0x4dbf66];return _0x370918;},a54_0x4dbf(_0x4ae449,_0x4a9eaa);}module[a54_0x6a5579(0x143)]=BrowserStackSdk;
1
+ const a54_0x43795c=a54_0x13a2;(function(_0x1df6e1,_0x2b16fe){const _0x52fc93=a54_0x13a2,_0x17c213=_0x1df6e1();while(!![]){try{const _0x248199=parseInt(_0x52fc93(0x14e))/0x1+parseInt(_0x52fc93(0x143))/0x2+parseInt(_0x52fc93(0x15c))/0x3+-parseInt(_0x52fc93(0x144))/0x4*(-parseInt(_0x52fc93(0x145))/0x5)+parseInt(_0x52fc93(0x14f))/0x6+-parseInt(_0x52fc93(0x151))/0x7+-parseInt(_0x52fc93(0x153))/0x8;if(_0x248199===_0x2b16fe)break;else _0x17c213['push'](_0x17c213['shift']());}catch(_0x5a4e05){_0x17c213['push'](_0x17c213['shift']());}}}(a54_0x5de8,0x5e41c));function a54_0x13a2(_0x530d19,_0x2e7fb3){const _0x5de827=a54_0x5de8();return a54_0x13a2=function(_0x13a27b,_0x91b9cf){_0x13a27b=_0x13a27b-0x142;let _0x42bc7f=_0x5de827[_0x13a27b];return _0x42bc7f;},a54_0x13a2(_0x530d19,_0x2e7fb3);}class BrowserStackSdk{static[a54_0x43795c(0x154)](){const _0xe6aca6=a54_0x43795c,_0x19e9bd={};_0x19e9bd[_0xe6aca6(0x157)]='os_version',_0x19e9bd[_0xe6aca6(0x158)]=_0xe6aca6(0x146),_0x19e9bd['oLaIF']=_0xe6aca6(0x15b),_0x19e9bd['VuHDI']='browserName',_0x19e9bd['mJuna']=_0xe6aca6(0x159),_0x19e9bd['AraLu']=_0xe6aca6(0x14d),_0x19e9bd[_0xe6aca6(0x15d)]='device',_0x19e9bd[_0xe6aca6(0x14b)]=_0xe6aca6(0x149),_0x19e9bd[_0xe6aca6(0x14c)]=_0xe6aca6(0x152),_0x19e9bd['WnyBq']='platformName',_0x19e9bd[_0xe6aca6(0x15a)]='platform_version',_0x19e9bd['puPcR']='platformVersion',_0x19e9bd[_0xe6aca6(0x14a)]=_0xe6aca6(0x147);const _0x22cf59=_0x19e9bd,_0x50665a={};if(global['__platformCaps']){const _0x4fedc0=global[_0xe6aca6(0x155)],_0x3676f5=_0x4fedc0[_0x22cf59[_0xe6aca6(0x157)]]||_0x4fedc0[_0x22cf59['eeHWR']],_0x1fbdea=_0x4fedc0[_0x22cf59['oLaIF']]||_0x4fedc0[_0x22cf59['VuHDI']],_0x6a539c=_0x4fedc0[_0x22cf59['mJuna']]||_0x4fedc0[_0x22cf59[_0xe6aca6(0x148)]],_0x1c5c78=_0x4fedc0[_0x22cf59[_0xe6aca6(0x15d)]]||_0x4fedc0[_0x22cf59[_0xe6aca6(0x14b)]],_0x1b6954=_0x4fedc0[_0x22cf59[_0xe6aca6(0x14c)]]||_0x4fedc0[_0x22cf59[_0xe6aca6(0x150)]],_0x449f1d=_0x4fedc0[_0x22cf59[_0xe6aca6(0x15a)]]||_0x4fedc0[_0x22cf59[_0xe6aca6(0x142)]];_0x4fedc0['os']&&(_0x50665a['os']=_0x4fedc0['os']),_0x3676f5&&(_0x50665a[_0x22cf59[_0xe6aca6(0x158)]]=_0x3676f5),_0x1fbdea&&(_0x50665a[_0x22cf59['VuHDI']]=_0x1fbdea),_0x6a539c&&(_0x50665a[_0x22cf59[_0xe6aca6(0x148)]]=_0x6a539c),_0x1c5c78&&(_0x50665a[_0x22cf59[_0xe6aca6(0x14b)]]=_0x1c5c78),_0x1b6954&&(_0x50665a[_0x22cf59[_0xe6aca6(0x150)]]=_0x1b6954),_0x449f1d&&(_0x50665a[_0x22cf59[_0xe6aca6(0x142)]]=_0x449f1d),_0x4fedc0[_0x22cf59[_0xe6aca6(0x14a)]]&&(_0x50665a[_0x22cf59[_0xe6aca6(0x14a)]]=_0x4fedc0[_0x22cf59['VTjzO']]);}return _0x50665a;}}module[a54_0x43795c(0x156)]=BrowserStackSdk;function a54_0x5de8(){const _0x9cc257=['VTjzO','DGZnn','yvbSc','browserVersion','415256LAWnyG','580482WiBNbP','WnyBq','3579562Rhrfuc','platform','3105624YkNYKK','getCurrentPlatform','__platformCaps','exports','HpoIJ','eeHWR','browser_version','xLZko','browser','777117tlyVnB','CtDEZ','puPcR','402490weVyNJ','4fxnMzZ','1566790AmDXpa','osVersion','customVariables','AraLu','deviceName'];a54_0x5de8=function(){return _0x9cc257;};return a54_0x5de8();}
@@ -1 +1 @@
1
- const a55_0x180aa3=a55_0x5495;(function(_0x2aa612,_0x585948){const _0x5c4a6a=a55_0x5495,_0x18f644=_0x2aa612();while(!![]){try{const _0x337c57=-parseInt(_0x5c4a6a(0x18a))/0x1*(-parseInt(_0x5c4a6a(0x1fd))/0x2)+-parseInt(_0x5c4a6a(0x235))/0x3+parseInt(_0x5c4a6a(0x186))/0x4*(parseInt(_0x5c4a6a(0x1bf))/0x5)+parseInt(_0x5c4a6a(0x198))/0x6*(-parseInt(_0x5c4a6a(0x206))/0x7)+-parseInt(_0x5c4a6a(0x1e7))/0x8*(-parseInt(_0x5c4a6a(0x1c6))/0x9)+-parseInt(_0x5c4a6a(0x1b0))/0xa+parseInt(_0x5c4a6a(0x1ba))/0xb;if(_0x337c57===_0x585948)break;else _0x18f644['push'](_0x18f644['shift']());}catch(_0x5d08fd){_0x18f644['push'](_0x18f644['shift']());}}}(a55_0x13b0,0xdcabb));function a55_0x5495(_0x3cb4e0,_0x2e4904){const _0x13b0cb=a55_0x13b0();return a55_0x5495=function(_0x549514,_0x5cb3d6){_0x549514=_0x549514-0x183;let _0x23359d=_0x13b0cb[_0x549514];return _0x23359d;},a55_0x5495(_0x3cb4e0,_0x2e4904);}const util=require(a55_0x180aa3(0x1bb)),os=require('os'),path=require(a55_0x180aa3(0x1dc)),dotenv=require(a55_0x180aa3(0x262)),{v4:uuidv4}=require(a55_0x180aa3(0x1bd)),constants=require(a55_0x180aa3(0x221)),{isTurboScaleSession}=require('./ats/helper'),logger=require(a55_0x180aa3(0x1f2))[a55_0x180aa3(0x20a)],helper=require('./helper'),utilities=require(a55_0x180aa3(0x232)),percyHelper=require('./percy/utils'),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a55_0x180aa3(0x24a)),{setPercyFlag}=require(a55_0x180aa3(0x251)),TestHubHandler=require(a55_0x180aa3(0x20b)),globals=require(a55_0x180aa3(0x1e2)),timeoutPromise=require(a55_0x180aa3(0x1c3));class BrowserStackSetup{constructor(_0x580b6f,_0x29697d){const _0x5228ac=a55_0x180aa3,_0x1e789a={'TRByr':_0x5228ac(0x207),'kTKXe':function(_0x3acfac){return _0x3acfac();},'sKpaV':function(_0x3d9ba2,_0x1f8bc2){return _0x3d9ba2!==_0x1f8bc2;},'QLZxY':_0x5228ac(0x1b6),'eASIj':_0x5228ac(0x1f6),'IQIqH':'SIGQUIT','YWjyL':'SIGBREAK','xttEw':_0x5228ac(0x25a),'EsUlQ':_0x5228ac(0x1cb),'tAtTI':_0x5228ac(0x1b3),'ivRzC':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','CZpFr':function(_0x5d9092,_0x53b8e3){return _0x5d9092<_0x53b8e3;},'tFeNn':function(_0x3b95c1,_0x3a5904){return _0x3b95c1(_0x3a5904);},'BZjdR':_0x5228ac(0x194),'oQguU':function(_0x1525cf,_0x4b0a74){return _0x1525cf===_0x4b0a74;},'sokra':_0x5228ac(0x184),'mkAUt':'beforeExit','WYmHB':'No\x20config\x20provided.','NqJSH':_0x5228ac(0x22d),'HFHdd':_0x5228ac(0x26d),'vUuMG':function(_0x334ec4,_0x45972d){return _0x334ec4===_0x45972d;},'kiEdq':function(_0x26d4a7,_0x217af5){return _0x26d4a7+_0x217af5;},'xeaRA':'Loading\x20environment\x20from:\x20','QsxZM':_0x5228ac(0x199),'amrkH':_0x5228ac(0x228)},_0x1a10d7=_0x1e789a[_0x5228ac(0x1e0)][_0x5228ac(0x258)]('|');let _0x5da8cd=0x0;while(!![]){switch(_0x1a10d7[_0x5da8cd++]){case'0':this['sdkRunID']=_0x1e789a[_0x5228ac(0x203)](uuidv4);continue;case'1':_0x1e789a[_0x5228ac(0x1d0)](process[_0x5228ac(0x1d5)],_0x1e789a[_0x5228ac(0x23d)])?(process['on'](_0x1e789a[_0x5228ac(0x19f)],this[_0x5228ac(0x26a)]),process['on'](_0x1e789a[_0x5228ac(0x18f)],this[_0x5228ac(0x26a)])):process['on'](_0x1e789a[_0x5228ac(0x21b)],this[_0x5228ac(0x26a)]);continue;case'2':if(!helper['isBrowserstackInfra']()){try{process[_0x5228ac(0x1cf)][_0x5228ac(0x24b)]=_0x29697d,utilities['fireFunnelTestEvent'](_0x1e789a[_0x5228ac(0x264)],{},this[_0x5228ac(0x210)],this[_0x5228ac(0x1ab)]);}catch(_0x625077){logger[_0x5228ac(0x22f)](_0x5228ac(0x19c)+_0x625077);}return;}continue;case'3':this[_0x5228ac(0x1ac)]=[];continue;case'4':helper[_0x5228ac(0x226)](this[_0x5228ac(0x210)]);continue;case'5':process['on'](_0x1e789a['EsUlQ'],this['intExitHandler']);continue;case'6':helper['setBrowserstackInfraFromConfig'](this[_0x5228ac(0x210)],this['cliConfig']);continue;case'7':(helper[_0x5228ac(0x219)](this['config']['platforms'])||helper[_0x5228ac(0x219)](this[_0x5228ac(0x210)][_0x5228ac(0x211)][_0x5228ac(0x1ee)]))&&(helper[_0x5228ac(0x219)](this[_0x5228ac(0x210)]['parallelsPerPlatform'])?logger[_0x5228ac(0x247)](_0x1e789a[_0x5228ac(0x26c)]):logger[_0x5228ac(0x253)](_0x1e789a[_0x5228ac(0x220)]),this[_0x5228ac(0x210)][_0x5228ac(0x211)]=[]);continue;case'8':this[_0x5228ac(0x210)][_0x5228ac(0x211)]=this[_0x5228ac(0x210)][_0x5228ac(0x211)]||[];continue;case'9':helper[_0x5228ac(0x1f5)](_0x29697d)&&(_0x1e789a[_0x5228ac(0x1bc)](_0x1e789a[_0x5228ac(0x1b4)](parseInt,helper['getPackageVersion'](_0x1e789a[_0x5228ac(0x1cd)])),0x3)&&(this['config'][_0x5228ac(0x1b5)]=![]),_0x1e789a['oQguU'](helper['compareVersions'](helper[_0x5228ac(0x1ce)](_0x1e789a[_0x5228ac(0x1cd)]),_0x1e789a[_0x5228ac(0x26b)]),0x1)&&(this[_0x5228ac(0x210)]['useW3C']=!![]));continue;case'10':this['browserstackLocal']=null;continue;case'11':!this[_0x5228ac(0x210)]['testContextOptions']&&(this['config']['testContextOptions']={});continue;case'12':this[_0x5228ac(0x200)]();continue;case'13':this[_0x5228ac(0x210)][_0x5228ac(0x1b8)][_0x5228ac(0x222)]=!helper[_0x5228ac(0x201)]()||helper['isTrue'](this[_0x5228ac(0x210)][_0x5228ac(0x1b8)][_0x5228ac(0x222)]);continue;case'14':process['on'](_0x1e789a[_0x5228ac(0x1a3)],this[_0x5228ac(0x1e4)]());continue;case'15':this[_0x5228ac(0x1ab)]=_0x29697d;continue;case'16':global[_0x5228ac(0x1ab)]=_0x29697d;continue;case'17':if(helper['isUndefined'](this[_0x5228ac(0x210)]))throw new Error(_0x1e789a[_0x5228ac(0x230)]);continue;case'18':process['on'](_0x1e789a['NqJSH'],this[_0x5228ac(0x26a)]);continue;case'19':this[_0x5228ac(0x234)]=null;continue;case'20':this['config']=helper[_0x5228ac(0x244)](helper[_0x5228ac(0x19a)](_0x580b6f));continue;case'21':helper[_0x5228ac(0x205)](this['config'],this[_0x5228ac(0x23c)],this[_0x5228ac(0x1f0)]);continue;case'22':!this[_0x5228ac(0x210)]['browserStackLocalOptions']&&(this[_0x5228ac(0x210)][_0x5228ac(0x21c)]=this['config'][_0x5228ac(0x237)]||{});continue;case'23':if(_0x1e789a['oQguU'](_0x29697d,_0x1e789a[_0x5228ac(0x1c4)]))return;continue;case'24':this['config'][_0x5228ac(0x1b8)]['skipSessionStatus']=!helper[_0x5228ac(0x201)]()||helper[_0x5228ac(0x212)](this[_0x5228ac(0x210)][_0x5228ac(0x1b8)][_0x5228ac(0x249)]);continue;case'25':helper[_0x5228ac(0x248)](this['config'])&&helper[_0x5228ac(0x219)](helper['getLocalIdentifier'](this[_0x5228ac(0x210)]))&&(!helper[_0x5228ac(0x219)](this[_0x5228ac(0x210)][_0x5228ac(0x21c)])&&_0x1e789a[_0x5228ac(0x254)](this[_0x5228ac(0x210)][_0x5228ac(0x21c)]['constructor'],Object)?!helper['isTrue'](this[_0x5228ac(0x210)][_0x5228ac(0x21c)]['skipBinaryInitialisation'])&&(this['config'][_0x5228ac(0x21c)][_0x5228ac(0x188)]=helper[_0x5228ac(0x1f7)]()):this[_0x5228ac(0x210)][_0x5228ac(0x21c)]={'localIdentifier':helper[_0x5228ac(0x1f7)]()});continue;case'26':if(this[_0x5228ac(0x210)]['envFile']){logger[_0x5228ac(0x247)](_0x1e789a[_0x5228ac(0x19b)](_0x1e789a[_0x5228ac(0x1fb)],this[_0x5228ac(0x210)]['envFile']));const _0x514c24={};_0x514c24[_0x5228ac(0x1dc)]=this[_0x5228ac(0x210)][_0x5228ac(0x196)],dotenv[_0x5228ac(0x210)](_0x514c24);}else dotenv[_0x5228ac(0x210)]();continue;case'27':this[_0x5228ac(0x23c)]=helper[_0x5228ac(0x191)](_0x580b6f);continue;case'28':!this['config']['disableAutoCaptureLogs']&&logger['info'](constants[_0x5228ac(0x1a2)]);continue;case'29':process['on'](_0x1e789a[_0x5228ac(0x1a4)],this[_0x5228ac(0x26a)]);continue;case'30':this['config'][_0x5228ac(0x21c)]['skipBinaryInitialisation']=helper['isTrue'](this[_0x5228ac(0x210)]['browserStackLocalOptions']['skipBinaryInitialisation']);continue;case'31':global[_0x5228ac(0x268)]=this[_0x5228ac(0x268)];continue;case'32':this[_0x5228ac(0x26a)]=this[_0x5228ac(0x26a)][_0x5228ac(0x187)](this);continue;case'33':helper['setLogLevel'](this[_0x5228ac(0x210)],this['cliConfig'],this[_0x5228ac(0x1f0)]);continue;case'34':if(this[_0x5228ac(0x210)]['error'])throw new Error(this['config'][_0x5228ac(0x224)]);continue;case'35':this[_0x5228ac(0x1cc)]={};continue;case'36':global[_0x5228ac(0x210)]=this['config'];continue;case'37':helper[_0x5228ac(0x1ae)](this[_0x5228ac(0x210)]);continue;case'38':this['config'][_0x5228ac(0x1b8)]=this['config'][_0x5228ac(0x1b8)]||{};continue;case'39':try{process[_0x5228ac(0x1cf)]['FRAMEWORK']=_0x580b6f['_'][0x0],utilities[_0x5228ac(0x225)](_0x1e789a[_0x5228ac(0x264)],{},this['config'],this[_0x5228ac(0x1ab)]);}catch(_0x46e43e){logger[_0x5228ac(0x22f)](_0x5228ac(0x19c)+_0x46e43e);}continue;case'40':this[_0x5228ac(0x1c7)]=null;continue;case'41':this[_0x5228ac(0x1f0)]=helper[_0x5228ac(0x1a0)]();continue;case'42':if(helper[_0x5228ac(0x219)](helper[_0x5228ac(0x246)](this['config']))||helper[_0x5228ac(0x219)](helper['getAccessKey'](this['config'])))throw new Error(_0x1e789a['amrkH']);continue;case'43':process[_0x5228ac(0x1cf)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x5228ac(0x210)][_0x5228ac(0x1db)]=helper[_0x5228ac(0x212)](process['env'][_0x5228ac(0x256)]),this[_0x5228ac(0x210)][_0x5228ac(0x269)]=this[_0x5228ac(0x210)][_0x5228ac(0x269)]||{});continue;}break;}}async[a55_0x180aa3(0x1d2)](){const _0x28c841=a55_0x180aa3,_0x281fd7={'uWVur':function(_0x1067cc,_0x48c9c9){return _0x1067cc(_0x48c9c9);},'BlmnQ':'ats-repeater','ItMAs':_0x28c841(0x25c),'xyCRT':_0x28c841(0x197),'gXZVZ':function(_0x543af6,_0x4b90cb){return _0x543af6===_0x4b90cb;},'YyVSn':_0x28c841(0x1a9),'dKwHo':function(_0x5c6e3a,_0x2181be){return _0x5c6e3a+_0x2181be;},'GNjws':_0x28c841(0x1a5),'jrcQS':function(_0x203f9b,_0x5ac7ce){return _0x203f9b(_0x5ac7ce);},'DOqaG':_0x28c841(0x223)};if(_0x281fd7[_0x28c841(0x1b7)](isTurboScaleSession,this['config'])){const _0x379848=await helper[_0x28c841(0x21a)](this[_0x28c841(0x210)]);this['config'][_0x28c841(0x1d1)]=_0x379848,_0x379848[_0x28c841(0x1ef)]&&(this[_0x28c841(0x210)]['browserstackLocal']=!![],this[_0x28c841(0x210)][_0x28c841(0x21c)][_0x28c841(0x188)]=_0x281fd7[_0x28c841(0x23f)],this[_0x28c841(0x210)][_0x28c841(0x21c)][_0x281fd7['ItMAs']]=_0x379848['customRepeaters'][_0x28c841(0x260)](','),this[_0x28c841(0x210)]['browserStackLocalOptions'][_0x28c841(0x1f1)]=_0x281fd7[_0x28c841(0x18e)]),this['config'][_0x28c841(0x192)]=_0x379848['url'],this[_0x28c841(0x1ab)]&&_0x281fd7[_0x28c841(0x1c0)](this[_0x28c841(0x1ab)][_0x28c841(0x190)](),_0x281fd7[_0x28c841(0x1ea)])&&(this[_0x28c841(0x210)][_0x28c841(0x192)]=_0x281fd7[_0x28c841(0x23b)](_0x379848[_0x28c841(0x25e)],_0x281fd7[_0x28c841(0x1c2)])),constants[_0x28c841(0x19e)]=helper[_0x28c841(0x23a)](this[_0x28c841(0x210)]),logger[_0x28c841(0x22f)](_0x28c841(0x227)+constants[_0x28c841(0x19e)]);}helper['setProxySettings'](this[_0x28c841(0x210)]),this[_0x28c841(0x259)](),_0x281fd7[_0x28c841(0x22a)](setPercyFlag,this),await this[_0x28c841(0x240)](),![_0x281fd7['DOqaG']][_0x28c841(0x1f3)](this[_0x28c841(0x1ab)])&&!_0x281fd7['jrcQS'](isTurboScaleSession,this[_0x28c841(0x210)])&&await this[_0x28c841(0x25f)]();}async['setupPercy'](){const _0x3e13db=a55_0x180aa3,_0x2eb375={};_0x2eb375[_0x3e13db(0x1fe)]=function(_0x5f200a,_0xcdc983){return _0x5f200a===_0xcdc983;},_0x2eb375[_0x3e13db(0x243)]=_0x3e13db(0x1b2),_0x2eb375[_0x3e13db(0x265)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x2eb375[_0x3e13db(0x24e)]='Percy\x20started\x20successfully',_0x2eb375['NbsWJ']='true',_0x2eb375[_0x3e13db(0x1a6)]='beforeExit';const _0x2a6bb0=_0x2eb375;if(helper[_0x3e13db(0x212)](this['config'][_0x3e13db(0x1c7)])&&(!this[_0x3e13db(0x1c7)]||!this[_0x3e13db(0x1c7)][_0x3e13db(0x18c)]()))try{this[_0x3e13db(0x1c7)]=await percyHelper[_0x3e13db(0x193)](this[_0x3e13db(0x210)]);if(!this[_0x3e13db(0x1c7)]){process[_0x3e13db(0x1cf)][_0x3e13db(0x1ec)]=_0x2a6bb0['DwxVF'];throw new Error(_0x2a6bb0[_0x3e13db(0x265)]);}logger[_0x3e13db(0x247)](_0x2a6bb0['jiZyQ']),process['env'][_0x3e13db(0x1ec)]=_0x2a6bb0['NbsWJ'];let _0x1b6d0d=0x0;const _0x3b03fd=async()=>{const _0x56660b=_0x3e13db;_0x1b6d0d++,_0x2a6bb0[_0x56660b(0x1fe)](_0x1b6d0d,0x1)&&await this[_0x56660b(0x242)]();};process['on'](_0x2a6bb0[_0x3e13db(0x1a6)],_0x3b03fd);}catch(_0x2950f5){process[_0x3e13db(0x1cf)][_0x3e13db(0x1ec)]=_0x2a6bb0['DwxVF'],logger[_0x3e13db(0x22f)](_0x3e13db(0x24c)+_0x2950f5);throw new Error(_0x2950f5[_0x3e13db(0x1dd)]());}}async[a55_0x180aa3(0x242)](){const _0x411e54=a55_0x180aa3,_0xe64923={};_0xe64923[_0x411e54(0x1e9)]=_0x411e54(0x1b1),_0xe64923[_0x411e54(0x21f)]=_0x411e54(0x257);const _0x2c90ee=_0xe64923;if(this[_0x411e54(0x1c7)]&&this['percy'][_0x411e54(0x18c)]())try{await percyHelper[_0x411e54(0x242)](this[_0x411e54(0x1c7)]),logger[_0x411e54(0x247)](_0x2c90ee[_0x411e54(0x1e9)]);}catch(_0x3e9dd9){logger[_0x411e54(0x224)](_0x2c90ee['bDvdA'],_0x3e9dd9[_0x411e54(0x1b9)]);}}async[a55_0x180aa3(0x240)](){const _0x1e4e44=a55_0x180aa3,_0x181840={};_0x181840[_0x1e4e44(0x213)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x181840[_0x1e4e44(0x252)]=_0x1e4e44(0x204);const _0x31891b=_0x181840;if(helper[_0x1e4e44(0x201)]()&&helper[_0x1e4e44(0x212)](this[_0x1e4e44(0x210)][_0x1e4e44(0x1af)])&&(!this[_0x1e4e44(0x1af)]||!this['browserstackLocal'][_0x1e4e44(0x18c)]()))try{if(this[_0x1e4e44(0x210)][_0x1e4e44(0x21c)][_0x1e4e44(0x231)]){logger[_0x1e4e44(0x22f)](_0x31891b[_0x1e4e44(0x213)]);return;}this[_0x1e4e44(0x1af)]=await helper[_0x1e4e44(0x263)](this['config']),logger[_0x1e4e44(0x247)](_0x31891b[_0x1e4e44(0x252)]);}catch(_0x3977d8){logger[_0x1e4e44(0x22f)](_0x3977d8);throw new Error(_0x3977d8['toString']());}}async[a55_0x180aa3(0x1c1)](){const _0x2d180b=a55_0x180aa3,_0x3443e5={};_0x3443e5[_0x2d180b(0x1da)]='Local\x20binary\x20stopped',_0x3443e5['lPnxe']='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x104be1=_0x3443e5;if(this[_0x2d180b(0x1af)]&&this[_0x2d180b(0x1af)][_0x2d180b(0x18c)]())try{await helper['stopLocalBinary'](this[_0x2d180b(0x1af)]),logger[_0x2d180b(0x247)](_0x104be1['GrpJb']);}catch(_0x5159e6){logger[_0x2d180b(0x224)](_0x104be1['lPnxe'],_0x5159e6[_0x2d180b(0x1b9)]);}}async['setUpHubUrl'](){const _0x3df64f=a55_0x180aa3;await hubAllocator[_0x3df64f(0x229)](this['config']);}async[a55_0x180aa3(0x1df)](){const _0x2a177d=a55_0x180aa3,_0x470bff={'SjCyV':function(_0x46322f,_0x43a37c){return _0x46322f(_0x43a37c);},'KOAeT':_0x2a177d(0x20c),'UYSxA':function(_0x521128,_0x27e247,_0x296346,_0x30dde7,_0x18ee4d,_0x3ab0dd,_0x5c5e7d){return _0x521128(_0x27e247,_0x296346,_0x30dde7,_0x18ee4d,_0x3ab0dd,_0x5c5e7d);},'ywMHw':_0x2a177d(0x22e),'fSyxl':'BrowserstackHealingInitFailed','SSMet':function(_0x15e4a3,_0x12df28){return _0x15e4a3(_0x12df28);},'fexfK':'../../package.json','tygnQ':'BrowserstackHealing.init','RWhJQ':function(_0x1161aa,_0x548091){return _0x1161aa(_0x548091);},'SfCzU':function(_0x4eeeff,_0x57b86e){return _0x4eeeff===_0x57b86e;},'BUnUa':_0x2a177d(0x197),'EuzRW':function(_0x42cfb2,_0x4c9d51){return _0x42cfb2===_0x4c9d51;},'QMzbn':function(_0x147f05,_0x180162){return _0x147f05===_0x180162;},'LYWVA':function(_0x53c36f,_0x41e72c){return _0x53c36f===_0x41e72c;},'PTdoh':_0x2a177d(0x1d9),'nRuRR':_0x2a177d(0x233),'hwhbE':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','zVEZS':_0x2a177d(0x1be),'xmxeL':function(_0x521396,_0xba729e){return _0x521396>=_0xba729e;},'UUqGD':function(_0x44d19c,_0xb009bb){return _0x44d19c<_0xb009bb;},'noTzH':function(_0x4af4d3,_0x5966fb){return _0x4af4d3>=_0x5966fb;},'yXMmF':'tcg\x20config\x20setup\x20successful.','zbAsQ':_0x2a177d(0x25b),'yIJUx':function(_0x3e548b){return _0x3e548b();}},_0x53ae43=PerformanceTester['measureWrapper'](_0x470bff[_0x2a177d(0x1aa)],async()=>{const _0xb3324c=_0x2a177d;try{const _0x339342=new Date(),_0x240c6e=helper[_0xb3324c(0x1ad)](this[_0xb3324c(0x210)]),_0x16fd2e=_0x470bff[_0xb3324c(0x25d)](require,path[_0xb3324c(0x260)](__dirname,_0x470bff[_0xb3324c(0x185)])),_0x1d1158=_0x470bff[_0xb3324c(0x239)](timeoutPromise,constants[_0xb3324c(0x1ed)],_0x470bff[_0xb3324c(0x218)],_0x470bff[_0xb3324c(0x1fc)],_0x339342,this[_0xb3324c(0x210)],this[_0xb3324c(0x1ab)]),_0x3e2fb6={'tcgUrl':constants[_0xb3324c(0x20d)],'sdkVersion':_0x470bff[_0xb3324c(0x1f4)](require,_0x470bff['fexfK'])['version'],'methodUsed':_0x470bff['tygnQ'],'proxyConfig':_0x240c6e,'os':os[_0xb3324c(0x1d5)]()};if(_0x240c6e&&_0x240c6e[_0xb3324c(0x1f8)]){helper[_0xb3324c(0x225)](constants['AI_PROXY_FAILURE'],_0x3e2fb6,this[_0xb3324c(0x210)],this['framework']);return;}const _0x2db5cd={};_0x2db5cd[_0xb3324c(0x267)]=_0x240c6e;const _0x28bccd=await Promise[_0xb3324c(0x216)]([_0x16fd2e[_0xb3324c(0x241)](this[_0xb3324c(0x210)][_0xb3324c(0x22b)],this[_0xb3324c(0x210)][_0xb3324c(0x19d)],constants[_0xb3324c(0x20d)],_0x470bff[_0xb3324c(0x217)](require,_0x470bff[_0xb3324c(0x255)])[_0xb3324c(0x236)],_0x2db5cd)[_0xb3324c(0x1e1)](_0x4e7ed4=>{const _0x39420f=_0xb3324c;return _0x1d1158[_0x39420f(0x250)](),_0x4e7ed4;}),_0x1d1158]);_0x28bccd['isHealingEnabled']=_0x470bff['SfCzU'](_0x28bccd[_0xb3324c(0x1f9)],_0x470bff['BUnUa'])||_0x470bff[_0xb3324c(0x189)](_0x28bccd['isHealingEnabled'],!![]);const _0x5ae03a=_0x470bff[_0xb3324c(0x1d8)](this[_0xb3324c(0x210)][_0xb3324c(0x1a1)],!![])||_0x470bff[_0xb3324c(0x24d)](this['config'][_0xb3324c(0x1a1)],_0x470bff['BUnUa']);if(_0x470bff[_0xb3324c(0x18d)](_0x28bccd[_0xb3324c(0x1b9)],constants['UPGRADE_REQUIRED'])&&_0x5ae03a)logger['info'](_0x470bff[_0xb3324c(0x21e)]);else{if(!_0x28bccd[_0xb3324c(0x1e6)]&&_0x470bff['SfCzU'](_0x28bccd[_0xb3324c(0x1d6)],0x1f7)&&_0x5ae03a)logger[_0xb3324c(0x247)](_0x470bff['nRuRR']),helper[_0xb3324c(0x225)](constants['TCG_DOWN'],_0x3e2fb6,this[_0xb3324c(0x210)],this[_0xb3324c(0x1ab)]);else{if(!_0x28bccd[_0xb3324c(0x1e6)]&&_0x5ae03a){logger['info'](_0x470bff[_0xb3324c(0x1de)]);const _0x32e0d3={'tcgUrl':constants[_0xb3324c(0x20d)],'sdkVersion':_0x470bff[_0xb3324c(0x217)](require,_0x470bff['fexfK'])[_0xb3324c(0x236)],'methodUsed':_0x470bff[_0xb3324c(0x1d4)],'proxyConfig':_0x240c6e,'os':os[_0xb3324c(0x1d5)]()};helper[_0xb3324c(0x225)](constants['TCG_AUTH_FAILURE'],_0x32e0d3,this[_0xb3324c(0x210)],this[_0xb3324c(0x1ab)]);}else{if(_0x28bccd[_0xb3324c(0x1e6)]&&!_0x28bccd[_0xb3324c(0x1f9)]&&_0x5ae03a)logger[_0xb3324c(0x247)](_0x470bff[_0xb3324c(0x208)]);else{if(_0x470bff[_0xb3324c(0x1d7)](_0x28bccd[_0xb3324c(0x1d6)],0xc8)&&_0x470bff[_0xb3324c(0x245)](_0x28bccd[_0xb3324c(0x1d6)],0x12c))helper[_0xb3324c(0x225)](constants[_0xb3324c(0x214)],_0x3e2fb6,this[_0xb3324c(0x210)],this[_0xb3324c(0x1ab)]);else{if(_0x470bff[_0xb3324c(0x1e8)](_0x28bccd['status'],0x190))_0x3e2fb6[_0xb3324c(0x1d6)]=_0x28bccd[_0xb3324c(0x1d6)],helper[_0xb3324c(0x225)](constants[_0xb3324c(0x266)],_0x3e2fb6,this[_0xb3324c(0x210)],this[_0xb3324c(0x1ab)]);else!_0x28bccd['status']&&helper['fireFunnelTestEvent'](constants['INVALID_INIT_RESP_WITH_USER_IMPACT'],_0x3e2fb6,this[_0xb3324c(0x210)],this['framework']);}}}}}if(_0x28bccd[_0xb3324c(0x1e6)]&&_0x28bccd[_0xb3324c(0x1f9)]){const _0x47018a={};_0x47018a[_0xb3324c(0x1ff)]=_0x28bccd;const _0x5d7689=_0x47018a;_0x240c6e&&(_0x5d7689['proxyConfig']=_0x240c6e),_0x5d7689[_0xb3324c(0x1ab)]=this[_0xb3324c(0x1ab)],_0x5d7689['bstackConfig']=this['config'],helper[_0xb3324c(0x20f)](_0x5d7689),logger['debug'](_0x470bff[_0xb3324c(0x1e3)]);}}catch(_0x3e1043){logger[_0xb3324c(0x22f)](_0xb3324c(0x20e)+(_0x3e1043[_0xb3324c(0x1b9)]?_0x3e1043[_0xb3324c(0x1b9)]:''));}});await _0x470bff[_0x2a177d(0x1c5)](_0x53ae43);}[a55_0x180aa3(0x259)](){const _0x23bd26=a55_0x180aa3,_0x26dfbc={'TqUef':function(_0x195ad7,_0x84e3f6){return _0x195ad7(_0x84e3f6);},'zjBQB':'./setKeepAlive'};_0x26dfbc[_0x23bd26(0x1e5)](require,_0x26dfbc[_0x23bd26(0x18b)])();}[a55_0x180aa3(0x200)](){const _0x224b48=a55_0x180aa3,_0x3fb1eb={};_0x3fb1eb['DYomM']=_0x224b48(0x1ca),_0x3fb1eb['oGexg']='uncaughtException';const _0x2524dc=_0x3fb1eb,_0x37e251=_0x5c78cb=>{const _0x321184=_0x224b48;logger[_0x321184(0x224)](_0x5c78cb[_0x321184(0x1b9)]),logger[_0x321184(0x22f)](util['format'](_0x5c78cb)),this[_0x321184(0x1ac)][_0x321184(0x1c9)](util[_0x321184(0x215)]('%j',_0x5c78cb)),PerformanceTester['captureError'](_0x5c78cb);};process['on'](_0x2524dc[_0x224b48(0x1d3)],_0x37e251),process['on'](_0x2524dc[_0x224b48(0x21d)],_0x37e251);}async[a55_0x180aa3(0x26a)](_0x231c38){const _0x1d6b8e=a55_0x180aa3,_0x52027d={};_0x52027d['CtlAK']=_0x1d6b8e(0x1c8),_0x52027d['xyInu']=function(_0x11bb94,_0x2010e8){return _0x11bb94+_0x2010e8;},_0x52027d[_0x1d6b8e(0x24f)]=_0x1d6b8e(0x261),_0x52027d[_0x1d6b8e(0x23e)]=function(_0x1dc84a,_0x12854c){return _0x1dc84a+_0x12854c;},_0x52027d[_0x1d6b8e(0x238)]='Shutdown\x20triggered\x20by\x20';const _0x546997=_0x52027d,_0x1a463d=_0x546997[_0x1d6b8e(0x1a8)]['split']('|');let _0x3267d6=0x0;while(!![]){switch(_0x1a463d[_0x3267d6++]){case'0':if(this[_0x546997[_0x1d6b8e(0x183)](_0x546997[_0x1d6b8e(0x24f)],_0x231c38)])return;continue;case'1':await TestHubHandler[_0x1d6b8e(0x202)](_0x231c38);continue;case'2':this['killSignal']=_0x231c38;continue;case'3':this[_0x546997[_0x1d6b8e(0x183)](_0x546997[_0x1d6b8e(0x24f)],_0x231c38)]=!![];continue;case'4':logger[_0x1d6b8e(0x247)](_0x546997[_0x1d6b8e(0x23e)](_0x546997['IacrV'],_0x231c38));continue;}break;}}[a55_0x180aa3(0x1e4)](){const _0xd14574=a55_0x180aa3,_0x39da17={};_0x39da17[_0xd14574(0x209)]=function(_0x2feecc,_0x77b355){return _0x2feecc===_0x77b355;},_0x39da17[_0xd14574(0x195)]=_0xd14574(0x1fa);const _0x3b37ce=_0x39da17;let _0x304f34=0x0;return async()=>{const _0x59f9bd=_0xd14574;_0x304f34++;if(_0x3b37ce[_0x59f9bd(0x209)](_0x304f34,0x1)){helper[_0x59f9bd(0x1a7)](this['framework'])&&await this[_0x59f9bd(0x1c1)]();try{logger[_0x59f9bd(0x22f)](_0x3b37ce['UsDjl']),await TestHubHandler[_0x59f9bd(0x202)](_0x304f34);}catch(_0x4750d3){logger['debug'](_0x59f9bd(0x22c)+util[_0x59f9bd(0x215)](_0x4750d3));}}};}}function a55_0x13b0(){const _0x3f26d7=['getConfigPath','kiEdq','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','userName','hubUrl','eASIj','setEnvCaps','selfHeal','AUTOLOGCAPTURE_NOTIFICATION','mkAUt','QsxZM','?caps=','FqbyZ','checkStopLocalBinaryOnExit','CtlAK','playwright','zbAsQ','framework','unhandledErrors','getProxyConfigForTcg','setHandlePWError','browserstackLocal','10141620kJPhQY','Percy\x20stopped','false','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','tFeNn','useW3C','win32','uWVur','testContextOptions','message','17775582KsYpTt','util','CZpFr','uuid','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','4337470UlCgse','gXZVZ','stopBrowserstackLocal','GNjws','./timeoutPromise','HFHdd','yIJUx','30735ySJkqH','percy','0|3|4|2|1','push','unhandledRejection','SIGINT','errorMessage','BZjdR','getPackageVersion','env','sKpaV','turboScaleGridDetails','initialize','DYomM','tygnQ','platform','status','xmxeL','QMzbn','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','GrpJb','turboScale','path','toString','hwhbE','setupTCGAuth','TRByr','then','../helpers/globals','yXMmF','exitHandler','TqUef','isAuthenticated','280zAziue','noTzH','DzZec','YyVSn','default','BROWSERSTACK_PERCY','TCG_AUTH_TIMEOUT','length','isTrialGrid','envConfig','forceLocal','./logger','includes','SSMet','requireSeleniumWebdriverCheck','SIGABRT','generateLocalIdentifier','proxyUrl','isHealingEnabled','Calling\x20Build\x20Stop\x20from\x20ExitHandler','xeaRA','fSyxl','78762MPwNgb','NpLHm','tcgAuthConfig','handleExceptions','isBrowserstackInfra','stop','kTKXe','Local\x20binary\x20started\x20successfully','getFinalCaps','88193ppcySy','3|27|41|10|40|20|8|38|35|36|16|4|15|0|19|31|17|34|6|24|13|21|22|42|25|30|33|37|23|12|43|2|9|7|26|11|39|28|32|18|5|29|1|14','zVEZS','iEmKO','winstonLogger','./testhub/testhubHandler','../ai-sdk-node/bundle','TCG_URL','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','setupTcgConfigFile','config','platforms','isTrue','SCLaQ','AI_INIT_SUCCESSFUL','format','race','RWhJQ','ywMHw','isUndefined','getTurboScaleGridDetails','YWjyL','browserStackLocalOptions','oGexg','PTdoh','bDvdA','ivRzC','../bin/utils/constants','skipSessionName','codeceptjs','error','fireFunnelTestEvent','sanitizeCaps','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','userName\x20or\x20accessKey\x20is\x20not\x20defined','allocateHub','jrcQS','accessKey','Error\x20in\x20sending\x20testhub\x20stop:\x20','SIGTERM','BrowserstackHealing.init\x20method\x20timed\x20out','debug','WYmHB','skipBinaryInitialisation','./utilities','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','killSignal','2229483SmiquE','version','localOptions','IacrV','UYSxA','getHubUrl','dKwHo','cliConfig','QLZxY','rARcn','BlmnQ','setupBrowserstackLocal','init','stopPercy','DwxVF','readConfig','UUqGD','getUserName','info','getLocalConfig','skipSessionStatus','./performance-tester','FRAMEWORK','Error\x20in\x20percy\x20setup\x20','SfCzU','jiZyQ','UUrWV','cancel','./testhub/utils','rpLnk','warn','vUuMG','fexfK','BROWSERSTACK_TURBOSCALE','Error\x20occured\x20while\x20stopping\x20percy','split','setupKeepAlive','SDKTestAttempted','aiHeal:tcgAuth','custom-repeater','SjCyV','playwrightUrl','setUpHubUrl','join','handled','dotenv','startLocalBinary','xttEw','sPJHu','AI_INIT_FAILURE','proxy','sdkRunID','turboScaleOptions','intExitHandler','sokra','tAtTI','integrations','xyInu','4.5.0','KOAeT','8MLviJq','bind','localIdentifier','EuzRW','22qdffes','zjBQB','isRunning','LYWVA','xyCRT','IQIqH','toLowerCase','setCLICaps','turboScaleUrl','startPercy','selenium-webdriver','UsDjl','envFile','true','798PPihoY','SIGHUP'];a55_0x13b0=function(){return _0x3f26d7;};return a55_0x13b0();}exports[a55_0x180aa3(0x1eb)]=BrowserStackSetup;
1
+ const a55_0x53b847=a55_0x2599;function a55_0x55bd(){const _0x1c3859=['info','SIGHUP','SDKTestAttempted','sanitizeCaps','./percy/utils','293495jRezJX','hubUrl','false','warn','zDWNC','getProxyConfigForTcg','skipSessionStatus','debug','setupTCGAuth','837462KQdixd','3155131XqhDBO','platform','accessKey','171064ejHZVQ','join','unhandledErrors','skipSessionName','turboScale','mBMWe','integrations','error','handleExceptions','default','TfYCK','stopPercy','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','turboScaleGridDetails','ZlGxg','RYbsa','framework','captureError','init','readConfig','CZCqB','../../package.json','constructor','dotenv','Emkya','includes','IMCRi','BPbXy','../helpers/globals','util','ktuQZ','url','Awmqn','Percy\x20started\x20successfully','parallelsPerPlatform','../ai-sdk-node/bundle','Dhzog','then','NBHEX','disableAutoCaptureLogs','MTAQe','BROWSERSTACK_PERCY','localOptions','OdSjt','platforms','selfHeal','hitpj','kDhJe','Local\x20binary\x20stopped','isBrowserstackInfra','unhandledRejection','selenium-webdriver','BrowserstackHealingInitFailed','beforeExit','rwBYH','1054360cONrjQ','length','cfmcB','tcgAuthConfig','./ats/helper','setLogLevel','stop','skipBinaryInitialisation','AI_PROXY_FAILURE','poOHa','setBrowserstackInfraFromConfig','aiHeal:tcgAuth','testContextOptions','percy','getLocalConfig','769902TjPMTp','QrGsu','fireFunnelTestEvent','JcsBU','isUndefined','No\x20config\x20provided.','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','akjvX','errorMessage','true','lGmvb','WyrtM','bind','userName','MSUqj','../bin/utils/constants','nXqUZ','localIdentifier','turboScaleOptions','3|0|2|1|4','setHandlePWError','getPackageVersion','AI_INIT_FAILURE','SIGINT','userName\x20or\x20accessKey\x20is\x20not\x20defined','SIGABRT','AI_INIT_SUCCESSFUL','Local\x20binary\x20started\x20successfully','TDvkr','jmxCt','setupTcgConfigFile','HkiHh','browserStackLocalOptions','TCG_AUTH_TIMEOUT','split','isRunning','Percy\x20stopped','TCG_URL','TCG_DOWN','setUpHubUrl','setupKeepAlive','SIGBREAK','playwright','YOTak','stopBrowserstackLocal','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','path','getFinalCaps','useW3C','?caps=','zmLnU','isAuthenticated','INVALID_INIT_RESP_WITH_USER_IMPACT','setupPercy','zKhgj','./helper','sdkRunID','browserstackLocal','BfcPB','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','SIGTERM','push','startLocalBinary','proxyConfig','fGETF','xbkFj','fkQpm','version','toString','SIGQUIT','VEEqV','custom-repeater','ECvuo','NbNtz','TCG_AUTH_FAILURE','isTrue','aAHZG','./timeoutPromise','PWGhw','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','playwrightUrl','status','env','GDYnO','4.5.0','getAccessKey','HHeAH','sIXAt','exitHandler','cliConfig','chLgT','dYQpf','getUserName','killSignal','format','generateLocalIdentifier','GWLad','Error\x20occured\x20while\x20stopping\x20local\x20binary','zNtpj','setupBrowserstackLocal','QGpcT','initialize','config','cancel','uncaughtException','toLowerCase','USPsT','./utilities','TKHNE','BHhTM','message','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','./testhub/testhubHandler','envFile','ats-repeater','asPhs','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','NhkgD','bstackConfig','MlQOI','Rrhbu','isHealingEnabled','KlKrQ','Error\x20in\x20sending\x20testhub\x20stop:\x20','intExitHandler','WWMUC','BROWSERSTACK_TURBOSCALE','stopLocalBinary','envConfig','Rmarw','./logger','winstonLogger','codeceptjs','3290015TsgCDp','measureWrapper','xdBXD','proxy','FAEHK','Error\x20occured\x20while\x20stopping\x20percy','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','BrowserstackHealing.init','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','getTurboScaleGridDetails','YsOnF','51sMGYzD','setEnvCaps','XuWyF'];a55_0x55bd=function(){return _0x1c3859;};return a55_0x55bd();}function a55_0x2599(_0x344b16,_0x24e792){const _0x55bd6a=a55_0x55bd();return a55_0x2599=function(_0x259984,_0xbae971){_0x259984=_0x259984-0xf0;let _0x92728=_0x55bd6a[_0x259984];return _0x92728;},a55_0x2599(_0x344b16,_0x24e792);}(function(_0x58eadd,_0x5d6795){const _0x3059f9=a55_0x2599,_0x174863=_0x58eadd();while(!![]){try{const _0x24e0a1=-parseInt(_0x3059f9(0xfa))/0x1+-parseInt(_0x3059f9(0x14d))/0x2+-parseInt(_0x3059f9(0xf2))/0x3*(-parseInt(_0x3059f9(0x107))/0x4)+parseInt(_0x3059f9(0x1d2))/0x5+parseInt(_0x3059f9(0x103))/0x6+-parseInt(_0x3059f9(0x104))/0x7+parseInt(_0x3059f9(0x13e))/0x8;if(_0x24e0a1===_0x5d6795)break;else _0x174863['push'](_0x174863['shift']());}catch(_0x4d86c4){_0x174863['push'](_0x174863['shift']());}}}(a55_0x55bd,0x80b72));const util=require(a55_0x53b847(0x124)),os=require('os'),path=require(a55_0x53b847(0x17b)),dotenv=require(a55_0x53b847(0x11e)),{v4:uuidv4}=require('uuid'),constants=require(a55_0x53b847(0x15c)),{isTurboScaleSession}=require(a55_0x53b847(0x142)),logger=require(a55_0x53b847(0x1cf))[a55_0x53b847(0x1d0)],helper=require(a55_0x53b847(0x184)),utilities=require(a55_0x53b847(0x1b8)),percyHelper=require(a55_0x53b847(0xf9)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require('./performance-tester'),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a55_0x53b847(0x1bd)),globals=require(a55_0x53b847(0x123)),timeoutPromise=require(a55_0x53b847(0x19a));class BrowserStackSetup{constructor(_0x41e935,_0x1f5942){const _0x33ab56=a55_0x53b847,_0x370536={'DpCol':'26|7|19|39|5|27|41|43|8|24|38|31|40|29|35|3|28|10|13|18|21|42|22|14|2|36|30|0|9|15|34|6|32|16|17|25|4|20|11|12|23|1|37|33','QGpcT':_0x33ab56(0xf6),'GWLad':function(_0x23706f,_0xc29a1c){return _0x23706f===_0xc29a1c;},'WWMUC':_0x33ab56(0xf7),'mBMWe':function(_0x54cac9,_0x4160ec){return _0x54cac9===_0x4160ec;},'xbkFj':_0x33ab56(0x10d),'DpGdp':_0x33ab56(0x189),'xcWYJ':_0x33ab56(0x165),'TKHNE':_0x33ab56(0x1bc),'RjeeB':_0x33ab56(0x1d8),'cfmcB':function(_0x2177ea,_0x2cee71){return _0x2177ea+_0x2cee71;},'PWGhw':'Loading\x20environment\x20from:\x20','Emkya':_0x33ab56(0x164),'QRohF':_0x33ab56(0x152),'zDWNC':function(_0x318d6f){return _0x318d6f();},'zmLnU':function(_0x58ac45,_0x5c885e){return _0x58ac45<_0x5c885e;},'UUrdh':function(_0x350a70,_0x54a0d6){return _0x350a70(_0x54a0d6);},'ECvuo':_0x33ab56(0x13a),'aAHZG':function(_0x5a9057,_0xed69f0){return _0x5a9057===_0xed69f0;},'jigIC':_0x33ab56(0x1a1),'BHhTM':_0x33ab56(0x13c),'RYbsa':function(_0x67099c,_0x2b8e0d){return _0x67099c!==_0x2b8e0d;},'Rrhbu':'win32','WyrtM':_0x33ab56(0x166),'hitpj':_0x33ab56(0x192),'HkiHh':_0x33ab56(0x176)},_0x24443a=_0x370536['DpCol']['split']('|');let _0x247d8e=0x0;while(!![]){switch(_0x24443a[_0x247d8e++]){case'0':helper[_0x33ab56(0x161)](this[_0x33ab56(0x1b3)]);continue;case'1':process['on'](_0x370536[_0x33ab56(0x1b1)],this['intExitHandler']);continue;case'2':helper[_0x33ab56(0x14c)](this[_0x33ab56(0x1b3)])&&helper[_0x33ab56(0x151)](helper['getLocalIdentifier'](this[_0x33ab56(0x1b3)]))&&(!helper[_0x33ab56(0x151)](this['config'][_0x33ab56(0x16d)])&&_0x370536[_0x33ab56(0x1ad)](this['config'][_0x33ab56(0x16d)][_0x33ab56(0x11d)],Object)?!helper[_0x33ab56(0x198)](this[_0x33ab56(0x1b3)]['browserStackLocalOptions'][_0x33ab56(0x145)])&&(this[_0x33ab56(0x1b3)][_0x33ab56(0x16d)][_0x33ab56(0x15e)]=helper[_0x33ab56(0x1ac)]()):this[_0x33ab56(0x1b3)][_0x33ab56(0x16d)]={'localIdentifier':helper[_0x33ab56(0x1ac)]()});continue;case'3':global[_0x33ab56(0x185)]=this[_0x33ab56(0x185)];continue;case'4':try{process[_0x33ab56(0x19f)]['FRAMEWORK']=_0x41e935['_'][0x0],utilities[_0x33ab56(0x14f)](_0x370536[_0x33ab56(0x1ca)],{},this[_0x33ab56(0x1b3)],this[_0x33ab56(0x117)]);}catch(_0x2a3448){logger[_0x33ab56(0x101)](_0x33ab56(0x188)+_0x2a3448);}continue;case'5':this['percy']=null;continue;case'6':if(!helper[_0x33ab56(0x138)]()){try{process[_0x33ab56(0x19f)]['FRAMEWORK']=_0x1f5942,utilities[_0x33ab56(0x14f)](_0x370536[_0x33ab56(0x1ca)],{},this[_0x33ab56(0x1b3)],this[_0x33ab56(0x117)]);}catch(_0x3089f3){logger[_0x33ab56(0x101)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x3089f3);}return;}continue;case'7':this[_0x33ab56(0x1a6)]=helper['setCLICaps'](_0x41e935);continue;case'8':this[_0x33ab56(0x155)]={};continue;case'9':if(_0x370536[_0x33ab56(0x10c)](_0x1f5942,_0x370536[_0x33ab56(0x18e)]))return;continue;case'10':if(this[_0x33ab56(0x1b3)][_0x33ab56(0x10e)])throw new Error(this[_0x33ab56(0x1b3)][_0x33ab56(0x10e)]);continue;case'11':this['intExitHandler']=this[_0x33ab56(0x1c9)][_0x33ab56(0x159)](this);continue;case'12':process['on'](_0x370536['DpGdp'],this[_0x33ab56(0x1c9)]);continue;case'13':helper[_0x33ab56(0x148)](this[_0x33ab56(0x1b3)],this['cliConfig']);continue;case'14':if(helper['isUndefined'](helper[_0x33ab56(0x1a9)](this['config']))||helper[_0x33ab56(0x151)](helper[_0x33ab56(0x1a2)](this[_0x33ab56(0x1b3)])))throw new Error(_0x370536['xcWYJ']);continue;case'15':this[_0x33ab56(0x10f)]();continue;case'16':(helper[_0x33ab56(0x151)](this[_0x33ab56(0x1b3)][_0x33ab56(0x133)])||helper['isUndefined'](this['config']['platforms'][_0x33ab56(0x13f)]))&&(helper[_0x33ab56(0x151)](this[_0x33ab56(0x1b3)][_0x33ab56(0x129)])?logger[_0x33ab56(0xf5)](_0x370536[_0x33ab56(0x1b9)]):logger[_0x33ab56(0xfd)](_0x370536['RjeeB']),this[_0x33ab56(0x1b3)][_0x33ab56(0x133)]=[]);continue;case'17':if(this['config'][_0x33ab56(0x1be)]){logger[_0x33ab56(0xf5)](_0x370536[_0x33ab56(0x140)](_0x370536[_0x33ab56(0x19b)],this['config']['envFile']));const _0x1de066={};_0x1de066[_0x33ab56(0x17b)]=this[_0x33ab56(0x1b3)][_0x33ab56(0x1be)],dotenv['config'](_0x1de066);}else dotenv[_0x33ab56(0x1b3)]();continue;case'18':this[_0x33ab56(0x1b3)]['testContextOptions'][_0x33ab56(0x100)]=!helper[_0x33ab56(0x138)]()||helper['isTrue'](this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)][_0x33ab56(0x100)]);continue;case'19':this[_0x33ab56(0x1cd)]=helper[_0x33ab56(0xf3)]();continue;case'20':!this[_0x33ab56(0x1b3)][_0x33ab56(0x12e)]&&logger['info'](constants['AUTOLOGCAPTURE_NOTIFICATION']);continue;case'21':this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)][_0x33ab56(0x10a)]=!helper['isBrowserstackInfra']()||helper[_0x33ab56(0x198)](this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)][_0x33ab56(0x10a)]);continue;case'22':!this[_0x33ab56(0x1b3)][_0x33ab56(0x16d)]&&(this[_0x33ab56(0x1b3)][_0x33ab56(0x16d)]=this['config'][_0x33ab56(0x131)]||{});continue;case'23':process['on'](_0x370536[_0x33ab56(0x11f)],this[_0x33ab56(0x1c9)]);continue;case'24':global['config']=this['config'];continue;case'25':!this[_0x33ab56(0x1b3)]['testContextOptions']&&(this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)]={});continue;case'26':this[_0x33ab56(0x109)]=[];continue;case'27':this[_0x33ab56(0x1b3)]=helper[_0x33ab56(0x11a)](helper['getConfigPath'](_0x41e935));continue;case'28':if(helper[_0x33ab56(0x151)](this['config']))throw new Error(_0x370536['QRohF']);continue;case'29':this[_0x33ab56(0x185)]=_0x370536[_0x33ab56(0xfe)](uuidv4);continue;case'30':helper[_0x33ab56(0x143)](this['config'],this[_0x33ab56(0x1a6)],this[_0x33ab56(0x1cd)]);continue;case'31':helper[_0x33ab56(0xf8)](this[_0x33ab56(0x1b3)]);continue;case'32':helper['requireSeleniumWebdriverCheck'](_0x1f5942)&&(_0x370536[_0x33ab56(0x17f)](_0x370536['UUrdh'](parseInt,helper[_0x33ab56(0x162)](_0x370536['ECvuo'])),0x3)&&(this['config']['useW3C']=![]),_0x370536[_0x33ab56(0x199)](helper['compareVersions'](helper[_0x33ab56(0x162)](_0x370536[_0x33ab56(0x195)]),_0x370536['jigIC']),0x1)&&(this[_0x33ab56(0x1b3)][_0x33ab56(0x17d)]=!![]));continue;case'33':process['on'](_0x370536[_0x33ab56(0x1ba)],this[_0x33ab56(0x1a5)]());continue;case'34':process[_0x33ab56(0x19f)][_0x33ab56(0x1cb)]&&(this[_0x33ab56(0x1b3)][_0x33ab56(0x10b)]=helper[_0x33ab56(0x198)](process[_0x33ab56(0x19f)][_0x33ab56(0x1cb)]),this[_0x33ab56(0x1b3)]['turboScaleOptions']=this[_0x33ab56(0x1b3)][_0x33ab56(0x15f)]||{});continue;case'35':this[_0x33ab56(0x1aa)]=null;continue;case'36':this[_0x33ab56(0x1b3)]['browserStackLocalOptions'][_0x33ab56(0x145)]=helper['isTrue'](this[_0x33ab56(0x1b3)]['browserStackLocalOptions']['skipBinaryInitialisation']);continue;case'37':_0x370536[_0x33ab56(0x116)](process[_0x33ab56(0x105)],_0x370536[_0x33ab56(0x1c5)])?(process['on'](_0x370536[_0x33ab56(0x158)],this[_0x33ab56(0x1c9)]),process['on'](_0x370536[_0x33ab56(0x135)],this[_0x33ab56(0x1c9)])):process['on'](_0x370536[_0x33ab56(0x16c)],this[_0x33ab56(0x1c9)]);continue;case'38':global['framework']=_0x1f5942;continue;case'39':this[_0x33ab56(0x186)]=null;continue;case'40':this[_0x33ab56(0x117)]=_0x1f5942;continue;case'41':this[_0x33ab56(0x1b3)][_0x33ab56(0x133)]=this[_0x33ab56(0x1b3)][_0x33ab56(0x133)]||[];continue;case'42':helper[_0x33ab56(0x17c)](this[_0x33ab56(0x1b3)],this['cliConfig'],this[_0x33ab56(0x1cd)]);continue;case'43':this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)]=this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)]||{};continue;}break;}}async[a55_0x53b847(0x1b2)](){const _0x21cbe6=a55_0x53b847,_0x42f75a={'poOHa':function(_0xfe6edd,_0x2e3a87){return _0xfe6edd(_0x2e3a87);},'VEEqV':_0x21cbe6(0x1bf),'asPhs':_0x21cbe6(0x194),'ZlGxg':_0x21cbe6(0x156),'zKhgj':function(_0x167bd3,_0x4ae099){return _0x167bd3===_0x4ae099;},'bsjoD':_0x21cbe6(0x177),'chLgT':function(_0x2d48f3,_0x4490b3){return _0x2d48f3+_0x4490b3;},'JcsBU':_0x21cbe6(0x17e),'kDhJe':_0x21cbe6(0x1d1),'Rmarw':function(_0x49d4ed,_0x471402){return _0x49d4ed(_0x471402);}};if(_0x42f75a['poOHa'](isTurboScaleSession,this[_0x21cbe6(0x1b3)])){const _0x5d35cd=await helper[_0x21cbe6(0xf0)](this[_0x21cbe6(0x1b3)]);this[_0x21cbe6(0x1b3)][_0x21cbe6(0x114)]=_0x5d35cd,_0x5d35cd['isTrialGrid']&&(this[_0x21cbe6(0x1b3)][_0x21cbe6(0x186)]=!![],this[_0x21cbe6(0x1b3)][_0x21cbe6(0x16d)]['localIdentifier']=_0x42f75a[_0x21cbe6(0x193)],this[_0x21cbe6(0x1b3)][_0x21cbe6(0x16d)][_0x42f75a[_0x21cbe6(0x1c0)]]=_0x5d35cd['customRepeaters'][_0x21cbe6(0x108)](','),this[_0x21cbe6(0x1b3)][_0x21cbe6(0x16d)]['forceLocal']=_0x42f75a[_0x21cbe6(0x115)]),this[_0x21cbe6(0x1b3)]['turboScaleUrl']=_0x5d35cd[_0x21cbe6(0x126)],this[_0x21cbe6(0x117)]&&_0x42f75a[_0x21cbe6(0x183)](this['framework'][_0x21cbe6(0x1b6)](),_0x42f75a['bsjoD'])&&(this['config']['turboScaleUrl']=_0x42f75a[_0x21cbe6(0x1a7)](_0x5d35cd[_0x21cbe6(0x19d)],_0x42f75a[_0x21cbe6(0x150)])),constants[_0x21cbe6(0xfb)]=helper['getHubUrl'](this[_0x21cbe6(0x1b3)]),logger[_0x21cbe6(0x101)](_0x21cbe6(0x17a)+constants['hubUrl']);}helper['setProxySettings'](this[_0x21cbe6(0x1b3)]),this[_0x21cbe6(0x175)](),_0x42f75a[_0x21cbe6(0x147)](setPercyFlag,this),await this[_0x21cbe6(0x1b0)](),![_0x42f75a[_0x21cbe6(0x136)]][_0x21cbe6(0x120)](this[_0x21cbe6(0x117)])&&!_0x42f75a[_0x21cbe6(0x1ce)](isTurboScaleSession,this[_0x21cbe6(0x1b3)])&&await this[_0x21cbe6(0x174)]();}async[a55_0x53b847(0x182)](){const _0x28121a=a55_0x53b847,_0x24c408={};_0x24c408[_0x28121a(0x1a3)]=function(_0x4754b0,_0x3027b2){return _0x4754b0===_0x3027b2;},_0x24c408[_0x28121a(0xf1)]=_0x28121a(0xfc),_0x24c408[_0x28121a(0x1c2)]=_0x28121a(0x1c1),_0x24c408[_0x28121a(0x196)]=_0x28121a(0x128),_0x24c408[_0x28121a(0x154)]=_0x28121a(0x156),_0x24c408['JHFHv']='beforeExit';const _0x575f2d=_0x24c408;if(helper[_0x28121a(0x198)](this[_0x28121a(0x1b3)][_0x28121a(0x14b)])&&(!this[_0x28121a(0x14b)]||!this[_0x28121a(0x14b)][_0x28121a(0x170)]()))try{this[_0x28121a(0x14b)]=await percyHelper['startPercy'](this['config']);if(!this[_0x28121a(0x14b)]){process['env'][_0x28121a(0x130)]=_0x575f2d[_0x28121a(0xf1)];throw new Error(_0x575f2d[_0x28121a(0x1c2)]);}logger[_0x28121a(0xf5)](_0x575f2d['NbNtz']),process[_0x28121a(0x19f)][_0x28121a(0x130)]=_0x575f2d['akjvX'];let _0x25d082=0x0;const _0x31e402=async()=>{const _0x5583a4=_0x28121a;_0x25d082++,_0x575f2d[_0x5583a4(0x1a3)](_0x25d082,0x1)&&await this['stopPercy']();};process['on'](_0x575f2d['JHFHv'],_0x31e402);}catch(_0xdb3789){process[_0x28121a(0x19f)][_0x28121a(0x130)]=_0x575f2d[_0x28121a(0xf1)],logger[_0x28121a(0x101)]('Error\x20in\x20percy\x20setup\x20'+_0xdb3789);throw new Error(_0xdb3789['toString']());}}async[a55_0x53b847(0x112)](){const _0x70684=a55_0x53b847,_0x57442d={};_0x57442d['MSUqj']=_0x70684(0x171),_0x57442d[_0x70684(0x16a)]=_0x70684(0x1d7);const _0x47fb67=_0x57442d;if(this[_0x70684(0x14b)]&&this['percy'][_0x70684(0x170)]())try{await percyHelper[_0x70684(0x112)](this[_0x70684(0x14b)]),logger[_0x70684(0xf5)](_0x47fb67[_0x70684(0x15b)]);}catch(_0x217203){logger[_0x70684(0x10e)](_0x47fb67[_0x70684(0x16a)],_0x217203[_0x70684(0x1bb)]);}}async[a55_0x53b847(0x1b0)](){const _0x42464e=a55_0x53b847,_0x547b14={};_0x547b14['fGETF']=_0x42464e(0x19c),_0x547b14[_0x42464e(0x1af)]=_0x42464e(0x168);const _0x24c7ec=_0x547b14;if(helper['isBrowserstackInfra']()&&helper[_0x42464e(0x198)](this[_0x42464e(0x1b3)][_0x42464e(0x186)])&&(!this[_0x42464e(0x186)]||!this[_0x42464e(0x186)][_0x42464e(0x170)]()))try{if(this[_0x42464e(0x1b3)][_0x42464e(0x16d)][_0x42464e(0x145)]){logger[_0x42464e(0x101)](_0x24c7ec[_0x42464e(0x18d)]);return;}this[_0x42464e(0x186)]=await helper[_0x42464e(0x18b)](this[_0x42464e(0x1b3)]),logger[_0x42464e(0xf5)](_0x24c7ec['zNtpj']);}catch(_0x5ae415){logger[_0x42464e(0x101)](_0x5ae415);throw new Error(_0x5ae415[_0x42464e(0x191)]());}}async[a55_0x53b847(0x179)](){const _0x28d395=a55_0x53b847,_0x768731={};_0x768731[_0x28d395(0x125)]=_0x28d395(0x137),_0x768731[_0x28d395(0x1d4)]=_0x28d395(0x1ae);const _0x512366=_0x768731;if(this[_0x28d395(0x186)]&&this[_0x28d395(0x186)][_0x28d395(0x170)]())try{await helper[_0x28d395(0x1cc)](this[_0x28d395(0x186)]),logger[_0x28d395(0xf5)](_0x512366[_0x28d395(0x125)]);}catch(_0x13bda8){logger[_0x28d395(0x10e)](_0x512366[_0x28d395(0x1d4)],_0x13bda8[_0x28d395(0x1bb)]);}}async[a55_0x53b847(0x174)](){await hubAllocator['allocateHub'](this['config']);}async[a55_0x53b847(0x102)](){const _0x2377e6=a55_0x53b847,_0xa971ec={'NBHEX':function(_0x29d344,_0x165c46){return _0x29d344(_0x165c46);},'KoeFl':_0x2377e6(0x12a),'IMCRi':function(_0x462ce3,_0x2e5f20,_0x2735ce,_0x1a63ce,_0x2e5ccf,_0x513cd8,_0x2ded83){return _0x462ce3(_0x2e5f20,_0x2735ce,_0x1a63ce,_0x2e5ccf,_0x513cd8,_0x2ded83);},'EanGM':'BrowserstackHealing.init\x20method\x20timed\x20out','TrWWq':_0x2377e6(0x13b),'rwBYH':_0x2377e6(0x11c),'BfcPB':_0x2377e6(0x1d9),'fkQpm':function(_0x10112d,_0x55070b){return _0x10112d(_0x55070b);},'kWesh':function(_0x7e4496,_0x5cd904){return _0x7e4496===_0x5cd904;},'KlKrQ':'true','MlQOI':function(_0x61e484,_0x3938b0){return _0x61e484===_0x3938b0;},'BPbXy':function(_0x35f997,_0x387dbd){return _0x35f997===_0x387dbd;},'lbwHL':function(_0x5d2fd4,_0x30b73e){return _0x5d2fd4===_0x30b73e;},'CZCqB':function(_0x2c1faa,_0x4357b5){return _0x2c1faa===_0x4357b5;},'OdSjt':'Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','PnNqk':function(_0x3aa38f,_0x1a41ae){return _0x3aa38f===_0x1a41ae;},'nXqUZ':_0x2377e6(0x1da),'eKxmS':_0x2377e6(0x153),'VXpRm':_0x2377e6(0x113),'YOTak':function(_0x592c6b,_0x28bb97){return _0x592c6b>=_0x28bb97;},'USPsT':function(_0x2cf3a0,_0x2e33e9){return _0x2cf3a0<_0x2e33e9;},'XuWyF':'tcg\x20config\x20setup\x20successful.','Awmqn':_0x2377e6(0x149),'MeOMJ':function(_0x1b8f33){return _0x1b8f33();}},_0x53498a=PerformanceTester[_0x2377e6(0x1d3)](_0xa971ec[_0x2377e6(0x127)],async()=>{const _0x227cac=_0x2377e6;try{const _0x2be85c=new Date(),_0x261622=helper[_0x227cac(0xff)](this[_0x227cac(0x1b3)]),_0x155326=_0xa971ec[_0x227cac(0x12d)](require,path['join'](__dirname,_0xa971ec['KoeFl'])),_0x23e5b5=_0xa971ec[_0x227cac(0x121)](timeoutPromise,constants[_0x227cac(0x16e)],_0xa971ec['EanGM'],_0xa971ec['TrWWq'],_0x2be85c,this['config'],this[_0x227cac(0x117)]),_0x3c81ea={'tcgUrl':constants[_0x227cac(0x172)],'sdkVersion':_0xa971ec[_0x227cac(0x12d)](require,_0xa971ec[_0x227cac(0x13d)])['version'],'methodUsed':_0xa971ec[_0x227cac(0x187)],'proxyConfig':_0x261622,'os':os[_0x227cac(0x105)]()};if(_0x261622&&_0x261622['proxyUrl']){helper[_0x227cac(0x14f)](constants[_0x227cac(0x146)],_0x3c81ea,this[_0x227cac(0x1b3)],this[_0x227cac(0x117)]);return;}const _0x3bfca3={};_0x3bfca3[_0x227cac(0x1d5)]=_0x261622;const _0x255743=await Promise['race']([_0x155326[_0x227cac(0x119)](this[_0x227cac(0x1b3)][_0x227cac(0x106)],this[_0x227cac(0x1b3)][_0x227cac(0x15a)],constants['TCG_URL'],_0xa971ec[_0x227cac(0x18f)](require,_0xa971ec[_0x227cac(0x13d)])[_0x227cac(0x190)],_0x3bfca3)[_0x227cac(0x12c)](_0x880373=>{const _0x5a936e=_0x227cac;return _0x23e5b5[_0x5a936e(0x1b4)](),_0x880373;}),_0x23e5b5]);_0x255743[_0x227cac(0x1c6)]=_0xa971ec['kWesh'](_0x255743[_0x227cac(0x1c6)],_0xa971ec['KlKrQ'])||_0xa971ec[_0x227cac(0x1c4)](_0x255743[_0x227cac(0x1c6)],!![]);const _0x39d0ac=_0xa971ec[_0x227cac(0x122)](this[_0x227cac(0x1b3)][_0x227cac(0x134)],!![])||_0xa971ec['lbwHL'](this['config']['selfHeal'],_0xa971ec[_0x227cac(0x1c7)]);if(_0xa971ec[_0x227cac(0x11b)](_0x255743['message'],constants['UPGRADE_REQUIRED'])&&_0x39d0ac)logger[_0x227cac(0xf5)](_0xa971ec[_0x227cac(0x132)]);else{if(!_0x255743[_0x227cac(0x180)]&&_0xa971ec['PnNqk'](_0x255743[_0x227cac(0x19e)],0x1f7)&&_0x39d0ac)logger['info'](_0xa971ec[_0x227cac(0x15d)]),helper['fireFunnelTestEvent'](constants[_0x227cac(0x173)],_0x3c81ea,this[_0x227cac(0x1b3)],this[_0x227cac(0x117)]);else{if(!_0x255743[_0x227cac(0x180)]&&_0x39d0ac){logger[_0x227cac(0xf5)](_0xa971ec['eKxmS']);const _0x19b739={'tcgUrl':constants[_0x227cac(0x172)],'sdkVersion':_0xa971ec[_0x227cac(0x12d)](require,_0xa971ec[_0x227cac(0x13d)])[_0x227cac(0x190)],'methodUsed':_0xa971ec[_0x227cac(0x187)],'proxyConfig':_0x261622,'os':os[_0x227cac(0x105)]()};helper[_0x227cac(0x14f)](constants[_0x227cac(0x197)],_0x19b739,this[_0x227cac(0x1b3)],this[_0x227cac(0x117)]);}else{if(_0x255743[_0x227cac(0x180)]&&!_0x255743[_0x227cac(0x1c6)]&&_0x39d0ac)logger[_0x227cac(0xf5)](_0xa971ec['VXpRm']);else{if(_0xa971ec[_0x227cac(0x178)](_0x255743[_0x227cac(0x19e)],0xc8)&&_0xa971ec[_0x227cac(0x1b7)](_0x255743[_0x227cac(0x19e)],0x12c))helper['fireFunnelTestEvent'](constants[_0x227cac(0x167)],_0x3c81ea,this[_0x227cac(0x1b3)],this['framework']);else{if(_0xa971ec[_0x227cac(0x178)](_0x255743[_0x227cac(0x19e)],0x190))_0x3c81ea['status']=_0x255743[_0x227cac(0x19e)],helper[_0x227cac(0x14f)](constants[_0x227cac(0x163)],_0x3c81ea,this[_0x227cac(0x1b3)],this[_0x227cac(0x117)]);else!_0x255743[_0x227cac(0x19e)]&&helper['fireFunnelTestEvent'](constants[_0x227cac(0x181)],_0x3c81ea,this[_0x227cac(0x1b3)],this['framework']);}}}}}if(_0x255743[_0x227cac(0x180)]&&_0x255743['isHealingEnabled']){const _0x42f9d7={};_0x42f9d7[_0x227cac(0x141)]=_0x255743;const _0x42672a=_0x42f9d7;_0x261622&&(_0x42672a[_0x227cac(0x18c)]=_0x261622),_0x42672a[_0x227cac(0x117)]=this[_0x227cac(0x117)],_0x42672a[_0x227cac(0x1c3)]=this[_0x227cac(0x1b3)],helper[_0x227cac(0x16b)](_0x42672a),logger[_0x227cac(0x101)](_0xa971ec[_0x227cac(0xf4)]);}}catch(_0x2b373b){logger['debug']('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x2b373b[_0x227cac(0x1bb)]?_0x2b373b[_0x227cac(0x1bb)]:''));}});await _0xa971ec['MeOMJ'](_0x53498a);}[a55_0x53b847(0x175)](){const _0x5bee28=a55_0x53b847,_0x138b64={'QrGsu':function(_0x4536cd,_0x1fc6c0){return _0x4536cd(_0x1fc6c0);},'lGmvb':'./setKeepAlive'};_0x138b64[_0x5bee28(0x14e)](require,_0x138b64[_0x5bee28(0x157)])();}[a55_0x53b847(0x10f)](){const _0x1cef4c=a55_0x53b847,_0x17699f={};_0x17699f[_0x1cef4c(0x169)]=_0x1cef4c(0x139),_0x17699f['MTAQe']=_0x1cef4c(0x1b5);const _0x2aa4e2=_0x17699f,_0x29c3fa=_0x4eb770=>{const _0xa87293=_0x1cef4c;logger[_0xa87293(0x10e)](_0x4eb770[_0xa87293(0x1bb)]),logger[_0xa87293(0x101)](util[_0xa87293(0x1ab)](_0x4eb770)),this[_0xa87293(0x109)][_0xa87293(0x18a)](util[_0xa87293(0x1ab)]('%j',_0x4eb770)),PerformanceTester[_0xa87293(0x118)](_0x4eb770);};process['on'](_0x2aa4e2[_0x1cef4c(0x169)],_0x29c3fa),process['on'](_0x2aa4e2[_0x1cef4c(0x12f)],_0x29c3fa);}async[a55_0x53b847(0x1c9)](_0x965659){const _0x5cc891=a55_0x53b847,_0x5ee82d={};_0x5ee82d[_0x5cc891(0x1a8)]=_0x5cc891(0x160),_0x5ee82d['Dhzog']=function(_0x3d970f,_0xbf15bd){return _0x3d970f+_0xbf15bd;},_0x5ee82d[_0x5cc891(0x1a0)]='handled',_0x5ee82d['TfYCK']='Shutdown\x20triggered\x20by\x20';const _0xd87ff4=_0x5ee82d,_0x3f4d85=_0xd87ff4[_0x5cc891(0x1a8)][_0x5cc891(0x16f)]('|');let _0x45cf2a=0x0;while(!![]){switch(_0x3f4d85[_0x45cf2a++]){case'0':this[_0xd87ff4[_0x5cc891(0x12b)](_0xd87ff4[_0x5cc891(0x1a0)],_0x965659)]=!![];continue;case'1':this[_0x5cc891(0x1aa)]=_0x965659;continue;case'2':logger[_0x5cc891(0xf5)](_0xd87ff4['Dhzog'](_0xd87ff4[_0x5cc891(0x111)],_0x965659));continue;case'3':if(this[_0xd87ff4['Dhzog'](_0xd87ff4[_0x5cc891(0x1a0)],_0x965659)])return;continue;case'4':await TestHubHandler[_0x5cc891(0x144)](_0x965659);continue;}break;}}[a55_0x53b847(0x1a5)](){const _0x2692de=a55_0x53b847,_0xe63900={};_0xe63900[_0x2692de(0x1a4)]=function(_0x35fb85,_0x59e300){return _0x35fb85===_0x59e300;},_0xe63900[_0x2692de(0x1d6)]='Calling\x20Build\x20Stop\x20from\x20ExitHandler';const _0x399f9b=_0xe63900;let _0x4719ca=0x0;return async()=>{const _0x25f239=_0x2692de;_0x4719ca++;if(_0x399f9b[_0x25f239(0x1a4)](_0x4719ca,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x25f239(0x117)])&&await this['stopBrowserstackLocal']();try{logger[_0x25f239(0x101)](_0x399f9b[_0x25f239(0x1d6)]),await TestHubHandler['stop'](_0x4719ca);}catch(_0x7a1e5f){logger[_0x25f239(0x101)](_0x25f239(0x1c8)+util[_0x25f239(0x1ab)](_0x7a1e5f));}}};}}exports[a55_0x53b847(0x110)]=BrowserStackSetup;
@@ -1 +1 @@
1
- var a56_0x2543d9=a56_0x2bd9;function a56_0x5be7(){var _0x151c31=['2223185oqhYrm','9TdifXH','API_URL','12246808cmrday','2220094widLwS','8WvAdhO','5892loTqhn','3uuTzfT','5726MyTcLd','660748mGAqqM','44952886LIcpnY','https://accessibility.browserstack.com/api','787930AWMWiA'];a56_0x5be7=function(){return _0x151c31;};return a56_0x5be7();}function a56_0x2bd9(_0x596f8e,_0x2140c3){var _0x5be737=a56_0x5be7();return a56_0x2bd9=function(_0x2bd906,_0x3d555f){_0x2bd906=_0x2bd906-0xc5;var _0x3d930f=_0x5be737[_0x2bd906];return _0x3d930f;},a56_0x2bd9(_0x596f8e,_0x2140c3);}(function(_0x5a3d58,_0xdde530){var _0xeab611=a56_0x2bd9,_0x142f84=_0x5a3d58();while(!![]){try{var _0x3000ed=-parseInt(_0xeab611(0xce))/0x1+parseInt(_0xeab611(0xc9))/0x2*(-parseInt(_0xeab611(0xcc))/0x3)+-parseInt(_0xeab611(0xca))/0x4*(parseInt(_0xeab611(0xc5))/0x5)+parseInt(_0xeab611(0xcb))/0x6*(parseInt(_0xeab611(0xcd))/0x7)+-parseInt(_0xeab611(0xc8))/0x8*(parseInt(_0xeab611(0xc6))/0x9)+parseInt(_0xeab611(0xd1))/0xa+parseInt(_0xeab611(0xcf))/0xb;if(_0x3000ed===_0xdde530)break;else _0x142f84['push'](_0x142f84['shift']());}catch(_0x250cf7){_0x142f84['push'](_0x142f84['shift']());}}}(a56_0x5be7,0xbde2f),exports[a56_0x2543d9(0xc7)]=a56_0x2543d9(0xd0));
1
+ var a56_0x36ed8c=a56_0xa62f;(function(_0x2de642,_0x5d58d3){var _0x531d63=a56_0xa62f,_0x24b928=_0x2de642();while(!![]){try{var _0x1ac1f2=parseInt(_0x531d63(0x195))/0x1*(parseInt(_0x531d63(0x190))/0x2)+-parseInt(_0x531d63(0x199))/0x3*(parseInt(_0x531d63(0x19a))/0x4)+parseInt(_0x531d63(0x193))/0x5+parseInt(_0x531d63(0x198))/0x6*(-parseInt(_0x531d63(0x19c))/0x7)+-parseInt(_0x531d63(0x19b))/0x8*(-parseInt(_0x531d63(0x197))/0x9)+parseInt(_0x531d63(0x194))/0xa+parseInt(_0x531d63(0x191))/0xb*(-parseInt(_0x531d63(0x192))/0xc);if(_0x1ac1f2===_0x5d58d3)break;else _0x24b928['push'](_0x24b928['shift']());}catch(_0x154134){_0x24b928['push'](_0x24b928['shift']());}}}(a56_0x125e,0xca1c4),exports['API_URL']=a56_0x36ed8c(0x196));function a56_0xa62f(_0x9994f,_0x52e40f){var _0x125e16=a56_0x125e();return a56_0xa62f=function(_0xa62f94,_0x1ebb1a){_0xa62f94=_0xa62f94-0x190;var _0x29afc5=_0x125e16[_0xa62f94];return _0x29afc5;},a56_0xa62f(_0x9994f,_0x52e40f);}function a56_0x125e(){var _0x211f1b=['21878wpFzJN','33owjamH','1111884coeEmr','1968315MRHvnO','13933750tzRTEM','15mgbrue','https://accessibility.browserstack.com/api','225MNLMVE','122982qgSAMi','9dJiehD','2066756GVhzLk','409176RyxHOR','196TtRFwZ'];a56_0x125e=function(){return _0x211f1b;};return a56_0x125e();}
@@ -1 +1 @@
1
- const a57_0x421dc8=a57_0x50d6;(function(_0x35fef8,_0xc6d024){const _0x4bb60e=a57_0x50d6,_0x39b837=_0x35fef8();while(!![]){try{const _0x47fa6f=parseInt(_0x4bb60e(0x116))/0x1+-parseInt(_0x4bb60e(0xd3))/0x2+parseInt(_0x4bb60e(0xb8))/0x3+-parseInt(_0x4bb60e(0xf0))/0x4+parseInt(_0x4bb60e(0xaf))/0x5+parseInt(_0x4bb60e(0xf5))/0x6+parseInt(_0x4bb60e(0xbb))/0x7*(-parseInt(_0x4bb60e(0xdb))/0x8);if(_0x47fa6f===_0xc6d024)break;else _0x39b837['push'](_0x39b837['shift']());}catch(_0xe0ab6a){_0x39b837['push'](_0x39b837['shift']());}}}(a57_0x2e3a,0x7e0eb));function a57_0x50d6(_0x32a156,_0x8e35f1){const _0x2e3ad4=a57_0x2e3a();return a57_0x50d6=function(_0x50d6d6,_0x4bcb94){_0x50d6d6=_0x50d6d6-0xa3;let _0x1b76ad=_0x2e3ad4[_0x50d6d6];return _0x1b76ad;},a57_0x50d6(_0x32a156,_0x8e35f1);}const path=require(a57_0x421dc8(0xe9)),util=require(a57_0x421dc8(0x125)),bsSetupHelper=require(a57_0x421dc8(0x133)),logger=require('../logger')['winstonLogger'],{API_URL}=require('./constants'),PerformanceTester=require(a57_0x421dc8(0xdd)),scripts=require('./scripts'),globals=require(a57_0x421dc8(0xde));function a57_0x2e3a(){const _0x3bfe5f=['env','getAgentVersion','json','isBrowserstackInfra','getBrowserVersion','length','parseFromJson','JFjcI','includeTagsInTestingScope','error','Xsbnx','join','1744578TWQVTl','checkAccessibilityPlatformConfig','shouldScanTestForAccessibility','includes','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','status','No\x20accessibility\x20summary\x20was\x20found.','headers','3390808fVrvLQ','isTrue','../performance-tester','../globals','accessibilityToken','stack','isAccessibilityAutomationSession','Performing\x20scan\x20before\x20getting\x20results','jGesV','browserstack','getHostInfo','measureWrapper','XVcNU','pass','path','accessibility','getAccessibilityResults','uxJZB','body','HvEhe','false','2958328uypDUa','debug','getAccessKey','mRmFy','forEach','1918002LAimFd','HvQKb','vFrzm','getCapabilities','assign','Performing\x20scan\x20before\x20getting\x20results\x20summary','user','getAccessibilityResultsSummary','format','getCiInfo','POST','rMwVq','QULet','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','Fqers','info','AnPRk','scannerVersion','IxOpt','stopAccessibilityTestRun','Tmwcx','statusText','yHora','isUndefined','oxENd','AjOfS','WzXwl','response','LANwr','basename','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','javascript','430952hNfqll','errors','klZcs','QLelr','browserstackSessionName','Content-Type','isBrowserStackCommandExecutor','getPlatform','toJson','PHrYD','OjmIP','a11y:stop','getResults','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','util','GcTbZ','parse','buildDescription','aXHju','playwright','warn','sBDpi','isAccessibilityPlatform','vUlaw','some','bstackA11yShouldScan','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','GhAgS','../helper','YzGoI','getPackageVersion','nodeRequest','kRIEs','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','buildName','KtjIB','ktuah','auth','Bearer\x20','test_runs/stop','resolve','executeAsyncScript','string','message','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','PjWbG','Ocpfl','getGlobal','Authorization','BS_A11Y_JWT','application/json','Build\x20creation\x20had\x20failed.','PimzJ','__cloud_provider___','projectName','AYALc','yQdRp','data','fetchPlatformDetails','dPehk','OxJIQ','a11y:start','BBdDr','4500300bEoJRV','getGitMetaData','method','excludeTagsInTestingScope','browserstack_executor','script','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','HbYLG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','2704122qVNxRB','cJMTF','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','7DezkxX','vtFCm','stringify','performScan','getTestFrameworkDetails','GWgxH','LkHDR','platforms','PUT','toISOString','cwd','BROWSERSTACK_TEST_ACCESSIBILITY_YML'];a57_0x2e3a=function(){return _0x3bfe5f;};return a57_0x2e3a();}exports[a57_0x421dc8(0xaa)]=async _0x4d7fb2=>{const _0x25f88f=a57_0x421dc8,_0x2aabfd={};_0x2aabfd[_0x25f88f(0x119)]=function(_0xcabfff,_0x3c536f){return _0xcabfff===_0x3c536f;},_0x2aabfd[_0x25f88f(0x145)]=_0x25f88f(0xe4);const _0x2fc252=_0x2aabfd;let _0x22dd9c={};try{const _0x10c34d=await _0x4d7fb2[_0x25f88f(0xf8)]();_0x22dd9c={'os_name':_0x10c34d[_0x25f88f(0x11d)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x2fc252['QLelr'](global[_0x25f88f(0xa5)],_0x2fc252[_0x25f88f(0x145)])),'browser_name':_0x10c34d['getBrowserName'](),'browser_version':_0x10c34d[_0x25f88f(0xcb)]()};}catch(_0x2abe80){logger['debug'](_0x25f88f(0x113)+_0x2abe80);}return _0x22dd9c;},exports[a57_0x421dc8(0xe1)]=()=>{const _0x3d2527=a57_0x421dc8,_0x5527eb={};_0x5527eb['zJzYd']=function(_0x2460e3,_0x412de9){return _0x2460e3===_0x412de9;},_0x5527eb[_0x3d2527(0xa4)]=_0x3d2527(0x141),_0x5527eb[_0x3d2527(0x13b)]=function(_0x471a49,_0x179619){return _0x471a49>_0x179619;},_0x5527eb[_0x3d2527(0x12c)]=function(_0x46896e,_0x285e9e){return _0x46896e!==_0x285e9e;},_0x5527eb['vFrzm']='null',_0x5527eb['uxJZB']=function(_0x544629,_0xac0842){return _0x544629&&_0xac0842;};const _0x211269=_0x5527eb;try{if(!bsSetupHelper[_0x3d2527(0xca)]())return![];const _0x5e7789=bsSetupHelper[_0x3d2527(0xdc)](process[_0x3d2527(0xc7)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x3d2527(0xdc)](process[_0x3d2527(0xc7)][_0x3d2527(0x138)]),_0x4b92be=_0x211269['zJzYd'](typeof process[_0x3d2527(0xc7)]['BS_A11Y_JWT'],_0x211269[_0x3d2527(0xa4)])&&_0x211269['ktuah'](process[_0x3d2527(0xc7)][_0x3d2527(0x148)][_0x3d2527(0xcc)],0x0)&&_0x211269[_0x3d2527(0x12c)](process['env'][_0x3d2527(0x148)],_0x211269[_0x3d2527(0xf7)]);return _0x211269[_0x3d2527(0xec)](_0x5e7789,_0x4b92be);}catch(_0x2aaa34){logger['debug'](_0x3d2527(0x102)+_0x2aaa34);}return![];},exports[a57_0x421dc8(0xd5)]=(_0x297047=null,_0x4e2ddc=!![],_0xb22fe1=[])=>{const _0x36ce5f=a57_0x421dc8,_0x139f07={};_0x139f07[_0x36ce5f(0x100)]=function(_0x5cb673,_0x544972){return _0x5cb673==_0x544972;},_0x139f07[_0x36ce5f(0x118)]=function(_0x5bfe2d,_0x58be88){return _0x5bfe2d>_0x58be88;},_0x139f07['BBdDr']=function(_0x3c1a32,_0x31f8d1){return _0x3c1a32===_0x31f8d1;},_0x139f07['cJMTF']=function(_0x2a6bad,_0x2b8838){return _0x2a6bad&&_0x2b8838;},_0x139f07[_0x36ce5f(0x12e)]=function(_0x53f8d5,_0x39519b){return _0x53f8d5&&_0x39519b;};const _0x12ceb9=_0x139f07;if(_0x12ceb9[_0x36ce5f(0x100)](process[_0x36ce5f(0xc7)][_0x36ce5f(0xba)],null))return!![];try{const _0x3b7462=JSON['parse'](process[_0x36ce5f(0xc7)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x2332bb=Array['isArray'](_0x3b7462[_0x36ce5f(0xcf)])?_0x3b7462['includeTagsInTestingScope']:[],_0x58a975=Array['isArray'](_0x3b7462[_0x36ce5f(0xb2)])?_0x3b7462[_0x36ce5f(0xb2)]:[];if(bsSetupHelper[_0x36ce5f(0x10c)](_0x297047)){if(_0x12ceb9[_0x36ce5f(0x118)](_0xb22fe1[_0x36ce5f(0xcc)],0x0)){const _0x162c49=_0x58a975['some'](_0x32c5af=>_0xb22fe1[_0x36ce5f(0xd6)](_0x32c5af)),_0x4fb1bf=_0x12ceb9[_0x36ce5f(0xae)](_0x2332bb['length'],0x0)||_0x2332bb[_0x36ce5f(0x12f)](_0x595239=>_0xb22fe1[_0x36ce5f(0xd6)](_0x595239));return _0x12ceb9[_0x36ce5f(0xb9)](!_0x162c49,_0x4fb1bf);}return!![];}let _0x1eb238;_0x4e2ddc?_0x1eb238=_0x297047[_0x36ce5f(0xd2)]('/'):_0x1eb238=_0x297047;const _0xc57f6e=_0x58a975[_0x36ce5f(0x12f)](_0x529274=>_0x1eb238['includes'](_0x529274)),_0x63adfb=_0x12ceb9[_0x36ce5f(0xae)](_0x2332bb['length'],0x0)||_0x2332bb[_0x36ce5f(0x12f)](_0x416cfd=>_0x1eb238['includes'](_0x416cfd));return _0x12ceb9[_0x36ce5f(0x12e)](!_0xc57f6e,_0x63adfb);}catch(_0x8b8307){logger[_0x36ce5f(0xf1)](_0x36ce5f(0x123)+util[_0x36ce5f(0xfd)](_0x8b8307));}return![];},exports[a57_0x421dc8(0xd4)]=_0x3ebbd1=>{const _0x435b1f=a57_0x421dc8;let _0x5c91b3=![];try{_0x3ebbd1[_0x435b1f(0xc2)][_0x435b1f(0xf4)](_0x4f6443=>{const _0x1be7e2=_0x435b1f;if(bsSetupHelper[_0x1be7e2(0xdc)](_0x4f6443['accessibility']))return _0x5c91b3=!![],!![];});}catch(_0x2bd19f){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x2bd19f);}return _0x5c91b3||bsSetupHelper[_0x435b1f(0xdc)](_0x3ebbd1[_0x435b1f(0xea)]);},exports['createAccessibilityTestRun']=PerformanceTester[a57_0x421dc8(0xe6)](a57_0x421dc8(0xad),async function(_0x39d339,_0x433e63){const _0x18197a=a57_0x421dc8,_0x2dbb56={};_0x2dbb56[_0x18197a(0x111)]=_0x18197a(0x131),_0x2dbb56[_0x18197a(0x120)]=_0x18197a(0x12a),_0x2dbb56[_0x18197a(0xd1)]=_0x18197a(0x115),_0x2dbb56['GWgxH']='application/json',_0x2dbb56[_0x18197a(0xe7)]=_0x18197a(0xff),_0x2dbb56[_0x18197a(0x10f)]='v2/test_runs',_0x2dbb56[_0x18197a(0x137)]=function(_0x2718ca,_0x308714){return _0x2718ca===_0x308714;},_0x2dbb56[_0x18197a(0x103)]='Invalid\x20configuration\x20passed.',_0x2dbb56[_0x18197a(0x107)]=_0x18197a(0xef);const _0x40b2b2=_0x2dbb56,_0x119475=bsSetupHelper['getUserName'](_0x39d339),_0x395483=bsSetupHelper[_0x18197a(0xf2)](_0x39d339);if(bsSetupHelper[_0x18197a(0x10c)](_0x119475)||bsSetupHelper[_0x18197a(0x10c)](_0x395483))return logger[_0x18197a(0xd0)](_0x40b2b2['LANwr']),[null,null];try{let _0x1d6a3e;bsSetupHelper[_0x18197a(0x10c)](process[_0x18197a(0xc7)][_0x18197a(0xba)])?_0x1d6a3e={}:_0x1d6a3e=JSON[_0x18197a(0x127)](process['env'][_0x18197a(0xba)]);const {name:_0x40007d,version:_0x11a51d}=bsSetupHelper[_0x18197a(0xbf)](_0x39d339,_0x433e63),_0x4cc55d={'projectName':_0x39d339[_0x18197a(0xa6)],'buildName':_0x39d339[_0x18197a(0x139)]||path[_0x18197a(0x112)](path[_0x18197a(0x13f)](process[_0x18197a(0xc5)]())),'startTime':new Date()[_0x18197a(0xc4)](),'description':_0x39d339[_0x18197a(0x128)]||'','source':{'frameworkName':_0x433e63[_0x18197a(0xd6)](_0x40b2b2[_0x18197a(0x120)])?_0x40b2b2[_0x18197a(0x120)]:_0x433e63,'frameworkVersion':bsSetupHelper[_0x18197a(0x135)](_0x433e63),'sdkVersion':bsSetupHelper[_0x18197a(0xc8)](),'language':_0x40b2b2['Xsbnx'],'testFramework':_0x40007d,'testFrameworkVersion':_0x11a51d},'settings':_0x1d6a3e,'versionControl':await bsSetupHelper[_0x18197a(0xb0)](),'ciInfo':bsSetupHelper[_0x18197a(0xfe)](),'hostInfo':bsSetupHelper[_0x18197a(0xe5)](),'browserstackAutomation':bsSetupHelper[_0x18197a(0xca)]()},_0x3058d2={};_0x3058d2[_0x18197a(0xfb)]=_0x119475,_0x3058d2[_0x18197a(0xe8)]=_0x395483;const _0x76f72f={};_0x76f72f[_0x18197a(0x11b)]=_0x40b2b2[_0x18197a(0xc0)];const _0x326314={};_0x326314[_0x18197a(0x13c)]=_0x3058d2,_0x326314[_0x18197a(0xda)]=_0x76f72f;const _0x25139c=_0x326314,_0x14ce10={};_0x14ce10[_0x18197a(0xed)]=_0x4cc55d,_0x14ce10[_0x18197a(0xc9)]=!![];const _0x2a6f4d=Object[_0x18197a(0xf9)](_0x25139c,_0x14ce10),_0x31a77e=await bsSetupHelper[_0x18197a(0x136)](_0x40b2b2[_0x18197a(0xe7)],_0x40b2b2[_0x18197a(0x10f)],_0x2a6f4d,_0x39d339,API_URL);let _0xca386f=process[_0x18197a(0xc7)][_0x18197a(0xba)];return _0xca386f?_0xca386f=JSON[_0x18197a(0x127)](process['env'][_0x18197a(0xba)]):_0xca386f={},scripts[_0x18197a(0xcd)](_0x31a77e[_0x18197a(0xa9)][_0x18197a(0xa9)]),scripts[_0x18197a(0x11e)](),_0xca386f[_0x18197a(0x106)]=_0x31a77e[_0x18197a(0xa9)]['data']['scannerVersion'],process['env'][_0x18197a(0xba)]=JSON[_0x18197a(0xbd)](_0xca386f),[_0x31a77e['data']['data'][_0x18197a(0xdf)],_0x31a77e['data'][_0x18197a(0xa9)]['id']];}catch(_0x4be8fb){if(_0x4be8fb[_0x18197a(0x110)])logger[_0x18197a(0xd0)](_0x18197a(0x124)+_0x4be8fb[_0x18197a(0x110)][_0x18197a(0xd8)]+'\x20'+_0x4be8fb[_0x18197a(0x110)][_0x18197a(0x10a)]+'\x20'+JSON['stringify'](_0x4be8fb[_0x18197a(0x110)][_0x18197a(0xa9)]));else{if(_0x40b2b2[_0x18197a(0x137)](_0x4be8fb[_0x18197a(0x142)],_0x40b2b2[_0x18197a(0x103)])){logger['error'](_0x18197a(0x124)+(_0x4be8fb[_0x18197a(0x142)]||_0x4be8fb[_0x18197a(0xe0)]));for(const _0x21f6ca of _0x4be8fb[_0x18197a(0x117)]){logger[_0x18197a(0xd0)](_0x21f6ca['message']);}process[_0x18197a(0xc7)][_0x18197a(0xc6)]=_0x40b2b2[_0x18197a(0x107)],process[_0x18197a(0xc7)][_0x18197a(0x138)]=_0x40b2b2['IxOpt'];}else logger[_0x18197a(0xd0)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x4be8fb['message']||_0x4be8fb[_0x18197a(0xe0)]));}return[null,null];}}),exports[a57_0x421dc8(0x108)]=PerformanceTester['measureWrapper'](a57_0x421dc8(0x121),async function(_0x254721){const _0x40035c=a57_0x421dc8,_0x32adc9={};_0x32adc9[_0x40035c(0x11f)]=function(_0x1cbbec,_0xddff52){return _0x1cbbec!==_0xddff52;},_0x32adc9[_0x40035c(0x10d)]=_0x40035c(0x141),_0x32adc9[_0x40035c(0xa8)]='error',_0x32adc9[_0x40035c(0xf3)]=_0x40035c(0xa3),_0x32adc9[_0x40035c(0xf6)]=_0x40035c(0x149),_0x32adc9[_0x40035c(0x10b)]=_0x40035c(0xc3),_0x32adc9[_0x40035c(0x126)]=_0x40035c(0x13e),_0x32adc9[_0x40035c(0xee)]=function(_0x228a17,_0x1c5e87){return _0x228a17+_0x1c5e87;},_0x32adc9[_0x40035c(0x132)]='Invalid\x20request:\x20',_0x32adc9[_0x40035c(0x101)]='success';const _0xef412b=_0x32adc9;if(bsSetupHelper['isUndefined'](process[_0x40035c(0xc7)][_0x40035c(0x148)])||_0xef412b[_0x40035c(0x11f)](typeof process[_0x40035c(0xc7)][_0x40035c(0x148)],_0xef412b[_0x40035c(0x10d)])){const _0x1eac75={};return _0x1eac75[_0x40035c(0xd8)]=_0xef412b['yQdRp'],_0x1eac75[_0x40035c(0x142)]=_0xef412b['mRmFy'],_0x1eac75;}const _0x4f4b7f={'endTime':new Date()[_0x40035c(0xc4)]()},_0x2299ed={};_0x2299ed[_0x40035c(0x147)]=_0x40035c(0x13d)+process[_0x40035c(0xc7)][_0x40035c(0x148)],_0x2299ed['Content-Type']=_0xef412b[_0x40035c(0xf6)];const _0xc177ab={};_0xc177ab[_0x40035c(0xda)]=_0x2299ed;const _0x2e261c=_0xc177ab,_0xa2148c={};_0xa2148c['body']=_0x4f4b7f,_0xa2148c[_0x40035c(0x13c)]=null,_0xa2148c[_0x40035c(0xc9)]=!![];const _0x1c3cf9=Object['assign'](_0x2e261c,_0xa2148c);try{const _0x28c3d6=await bsSetupHelper[_0x40035c(0x136)](_0xef412b[_0x40035c(0x10b)],_0xef412b[_0x40035c(0x126)],_0x1c3cf9,_0x254721,API_URL);if(_0x28c3d6['data'][_0x40035c(0xd0)])throw new Error(_0xef412b[_0x40035c(0xee)](_0xef412b[_0x40035c(0x132)],_0x28c3d6[_0x40035c(0xa9)][_0x40035c(0xd0)]));else{logger[_0x40035c(0x104)](_0x40035c(0x143)+new Date()[_0x40035c(0xc4)]());const _0x2ab886={};return _0x2ab886[_0x40035c(0xd8)]=_0xef412b['QULet'],_0x2ab886[_0x40035c(0x142)]='',_0x2ab886;}}catch(_0xa89f94){_0xa89f94['response']?logger['error'](_0x40035c(0x114)+_0xa89f94['response']['status']+'\x20'+_0xa89f94[_0x40035c(0x110)][_0x40035c(0x10a)]+'\x20'+JSON[_0x40035c(0xbd)](_0xa89f94[_0x40035c(0x110)][_0x40035c(0xa9)])):logger[_0x40035c(0xd0)](_0x40035c(0x114)+(_0xa89f94[_0x40035c(0x142)]||util['format'](_0xa89f94)));const _0x3120ce={};return _0x3120ce[_0x40035c(0xd8)]=_0xef412b[_0x40035c(0xa8)],_0x3120ce['message']=_0xa89f94[_0x40035c(0x142)]||(_0xa89f94['response']?_0xa89f94[_0x40035c(0x110)][_0x40035c(0xd8)]+':'+_0xa89f94[_0x40035c(0x110)][_0x40035c(0x10a)]:_0xa89f94),_0x3120ce;}}),exports[a57_0x421dc8(0xbe)]=async(_0x93fbdf,_0x352e7a=null)=>{const _0x54213b=a57_0x421dc8,_0x2279a8={};_0x2279a8[_0x54213b(0x144)]='isAccessibilityPlatform',_0x2279a8[_0x54213b(0x105)]=_0x54213b(0x130),_0x2279a8[_0x54213b(0x109)]=_0x54213b(0xb5);const _0x2ee95f=_0x2279a8;if(!this['isAccessibilityAutomationSession']()||!globals[_0x54213b(0x146)](_0x2ee95f[_0x54213b(0x144)])||!globals[_0x54213b(0x146)](_0x2ee95f[_0x54213b(0x105)])){logger['warn'](_0x2ee95f[_0x54213b(0x109)]);return;}const _0x4abd53={};_0x4abd53[_0x54213b(0xb1)]=_0x352e7a||global[_0x54213b(0x11a)],logger[_0x54213b(0xf1)](util[_0x54213b(0xfd)](await _0x93fbdf[_0x54213b(0x140)](scripts[_0x54213b(0xbe)],_0x4abd53)));},exports[a57_0x421dc8(0xeb)]=async(_0x15cb87,_0x5f5cb0)=>{const _0x225aaf=a57_0x421dc8,_0x1acbbf={};_0x1acbbf[_0x225aaf(0xce)]=_0x225aaf(0x12d),_0x1acbbf[_0x225aaf(0x134)]=_0x225aaf(0x130),_0x1acbbf[_0x225aaf(0xc1)]=_0x225aaf(0xd7),_0x1acbbf[_0x225aaf(0xe3)]=_0x225aaf(0xe2),_0x1acbbf['dPehk']='No\x20accessibility\x20results\x20were\x20found.';const _0x59e5e7=_0x1acbbf;if(!this['isAccessibilityAutomationSession']()||!globals[_0x225aaf(0x146)](_0x59e5e7[_0x225aaf(0xce)])||!globals['getGlobal'](_0x59e5e7['YzGoI']))return logger[_0x225aaf(0x12b)](_0x59e5e7[_0x225aaf(0xc1)]),[];try{logger[_0x225aaf(0xf1)](_0x59e5e7[_0x225aaf(0xe3)]);const _0x3d15be={};_0x3d15be[_0x225aaf(0xb1)]=_0x5f5cb0[_0x225aaf(0x11a)],logger[_0x225aaf(0xf1)](util[_0x225aaf(0xfd)](await _0x15cb87[_0x225aaf(0x140)](scripts['performScan'],_0x3d15be)));const _0x455061=await _0x15cb87[_0x225aaf(0x140)](scripts[_0x225aaf(0x122)]);return _0x455061;}catch{return logger[_0x225aaf(0xd0)](_0x59e5e7[_0x225aaf(0xab)]),[];}},exports[a57_0x421dc8(0xfc)]=async(_0x1a73ec,_0xfbd91)=>{const _0x5a90da=a57_0x421dc8,_0x2a80e2={};_0x2a80e2[_0x5a90da(0xa7)]=_0x5a90da(0x12d),_0x2a80e2['ackoI']='bstackA11yShouldScan',_0x2a80e2['HbYLG']=_0x5a90da(0xb7),_0x2a80e2[_0x5a90da(0x129)]=_0x5a90da(0xfa),_0x2a80e2[_0x5a90da(0xac)]=_0x5a90da(0xd9);const _0x15bb65=_0x2a80e2;if(!this[_0x5a90da(0xe1)]()||!globals['getGlobal'](_0x15bb65[_0x5a90da(0xa7)])||!globals['getGlobal'](_0x15bb65['ackoI']))return logger[_0x5a90da(0x12b)](_0x15bb65[_0x5a90da(0xb6)]),{};try{logger['debug'](_0x15bb65[_0x5a90da(0x129)]);const _0x54948f={};_0x54948f[_0x5a90da(0xb1)]=_0xfbd91[_0x5a90da(0x11a)],logger[_0x5a90da(0xf1)](util[_0x5a90da(0xfd)](await _0x1a73ec[_0x5a90da(0x140)](scripts['performScan'],_0x54948f)));const _0x1f8f5a=await _0x1a73ec[_0x5a90da(0x140)](scripts['getResultsSummary']);return _0x1f8f5a;}catch{return logger[_0x5a90da(0xd0)](_0x15bb65[_0x5a90da(0xac)]),{};}},exports[a57_0x421dc8(0x11c)]=_0x38da5d=>{const _0xcc078f=a57_0x421dc8,_0x1c491a={};_0x1c491a[_0xcc078f(0x10e)]=function(_0x261f3b,_0x1b88cc){return _0x261f3b===_0x1b88cc;},_0x1c491a['KtjIB']=_0xcc078f(0x141),_0x1c491a[_0xcc078f(0xbc)]=_0xcc078f(0xb3);const _0x4780e5=_0x1c491a;if(_0x38da5d&&_0x38da5d[_0xcc078f(0xb4)]&&_0x4780e5[_0xcc078f(0x10e)](typeof _0x38da5d[_0xcc078f(0xb4)],_0x4780e5[_0xcc078f(0x13a)]))return _0x38da5d['script'][_0xcc078f(0xd6)](_0x4780e5[_0xcc078f(0xbc)]);return![];};
1
+ function a57_0x55a9(_0x1841b0,_0x38c417){const _0x2fd7d9=a57_0x2fd7();return a57_0x55a9=function(_0x55a9b6,_0xd9fb9c){_0x55a9b6=_0x55a9b6-0x7c;let _0x1f8549=_0x2fd7d9[_0x55a9b6];return _0x1f8549;},a57_0x55a9(_0x1841b0,_0x38c417);}function a57_0x2fd7(){const _0x3f5b34=['scannerVersion','getAccessKey','string','length','12eFHbpd','data','CrjNG','json','LqysN','stringify','Authorization','includes','a11y:start','jwXiy','isAccessibilityPlatform','1939938RIBusI','17520WVDLqA','XYJgi','nodeRequest','getPlatformVersion','629108dkagsu','getPlatform','YfoEz','6015430KCWTCI','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','debug','stack','includeTagsInTestingScope','excludeTagsInTestingScope','test_runs/stop','10727ZuwtHc','browserstack','stopAccessibilityTestRun','resolve','JZoJZ','NFDfV','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','forEach','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','getAccessibilityResults','VrsDz','bbYiy','oFiXk','./scripts','tRcVR','3735ymVbnO','null','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isTrue','hfOpO','No\x20accessibility\x20summary\x20was\x20found.','assign','isAccessibilityAutomationSession','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','11GUGaYt','shiFN','SehGA','warn','method','IgeHh','wmCvt','message','projectName','YfxhD','../performance-tester','IShyw','statusText','env','uvGpJ','./constants','XxpjF','getGlobal','YSfHF','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','false','zNUfR','response','headers','tAZYV','getAccessibilityResultsSummary','accessibility','foqId','OuDmY','getCapabilities','util','format','path','buildName','winstonLogger','kNFGx','zdkNm','playwright','accessibilityToken','getResults','application/json','../globals','tmjhZ','qZMcx','BS_A11Y_JWT','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','ftxDu','AHodT','IwLDB','createAccessibilityTestRun','checkAccessibilityPlatformConfig','No\x20accessibility\x20results\x20were\x20found.','join','POST','script','isBrowserStackCommandExecutor','shouldScanTestForAccessibility','PUT','DYtcS','executeAsyncScript','rtXXh','ITyZl','auth','isUndefined','bstackA11yShouldScan','pass','VWtwg','UcHys','getBrowserName','Performing\x20scan\x20before\x20getting\x20results\x20summary','SoujP','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','parse','platforms','__cloud_provider___','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','status','34FamJeN','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','qpmxN','NklWz','isBrowserstackInfra','browserstackSessionName','89580JAkeoq','a11y:stop','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isArray','wcvSL','120aTvGby','IPMqk','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','cwd','Invalid\x20configuration\x20passed.','toISOString','measureWrapper','some','wwtJE','body','zEPsN','error','SYAvI','1231596UeAMfK','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','beIas','../helper','getGitMetaData','javascript','performScan'];a57_0x2fd7=function(){return _0x3f5b34;};return a57_0x2fd7();}const a57_0x3a5410=a57_0x55a9;(function(_0x36be55,_0x20d5ab){const _0x5966cd=a57_0x55a9,_0x4c8d44=_0x36be55();while(!![]){try{const _0x3c0c2c=parseInt(_0x5966cd(0x112))/0x1*(parseInt(_0x5966cd(0xd5))/0x2)+-parseInt(_0x5966cd(0xf8))/0x3*(parseInt(_0x5966cd(0x108))/0x4)+-parseInt(_0x5966cd(0xe0))/0x5*(-parseInt(_0x5966cd(0xdb))/0x6)+parseInt(_0x5966cd(0x103))/0x7+parseInt(_0x5966cd(0x104))/0x8*(parseInt(_0x5966cd(0x7f))/0x9)+-parseInt(_0x5966cd(0x10b))/0xa+-parseInt(_0x5966cd(0x88))/0xb*(-parseInt(_0x5966cd(0xed))/0xc);if(_0x3c0c2c===_0x20d5ab)break;else _0x4c8d44['push'](_0x4c8d44['shift']());}catch(_0x42a6c8){_0x4c8d44['push'](_0x4c8d44['shift']());}}}(a57_0x2fd7,0x92275));const path=require(a57_0x3a5410(0xa8)),util=require(a57_0x3a5410(0xa6)),bsSetupHelper=require(a57_0x3a5410(0xf0)),logger=require('../logger')[a57_0x3a5410(0xaa)],{API_URL}=require(a57_0x3a5410(0x97)),PerformanceTester=require(a57_0x3a5410(0x92)),scripts=require(a57_0x3a5410(0x7d)),globals=require(a57_0x3a5410(0xb1));exports['fetchPlatformDetails']=async _0x36d363=>{const _0x65ecf1=a57_0x3a5410,_0x57cd65={};_0x57cd65[_0x65ecf1(0x11c)]=function(_0x4b2298,_0x5deed0){return _0x4b2298===_0x5deed0;},_0x57cd65[_0x65ecf1(0x10a)]=_0x65ecf1(0x113);const _0x26dd7d=_0x57cd65;let _0x1d030a={};try{const _0x551c07=await _0x36d363[_0x65ecf1(0xa5)]();_0x1d030a={'os_name':_0x551c07[_0x65ecf1(0x109)](),'os_version':bsSetupHelper[_0x65ecf1(0x107)](_0x26dd7d[_0x65ecf1(0x11c)](global[_0x65ecf1(0xd2)],_0x26dd7d[_0x65ecf1(0x10a)])),'browser_name':_0x551c07[_0x65ecf1(0xcc)](),'browser_version':_0x551c07['getBrowserVersion']()};}catch(_0x2cb580){logger[_0x65ecf1(0x10d)](_0x65ecf1(0xee)+_0x2cb580);}return _0x1d030a;},exports[a57_0x3a5410(0x86)]=()=>{const _0xeaf4d3=a57_0x3a5410,_0x106e57={};_0x106e57[_0xeaf4d3(0xe1)]=function(_0x357297,_0x3cd7e6){return _0x357297===_0x3cd7e6;},_0x106e57['MNABQ']=_0xeaf4d3(0xf6),_0x106e57[_0xeaf4d3(0xe8)]=function(_0x2888b4,_0x33c1e2){return _0x2888b4>_0x33c1e2;},_0x106e57[_0xeaf4d3(0xd7)]=function(_0x3e4ecb,_0x45b650){return _0x3e4ecb!==_0x45b650;},_0x106e57[_0xeaf4d3(0xa4)]=_0xeaf4d3(0x80),_0x106e57[_0xeaf4d3(0xb6)]=function(_0x516ec7,_0x396d4e){return _0x516ec7&&_0x396d4e;};const _0x22cb6b=_0x106e57;try{if(!bsSetupHelper[_0xeaf4d3(0xd9)]())return![];const _0x2aec16=bsSetupHelper[_0xeaf4d3(0x82)](process[_0xeaf4d3(0x95)][_0xeaf4d3(0xdd)])||bsSetupHelper[_0xeaf4d3(0x82)](process[_0xeaf4d3(0x95)][_0xeaf4d3(0x81)]),_0x4a5939=_0x22cb6b[_0xeaf4d3(0xe1)](typeof process[_0xeaf4d3(0x95)][_0xeaf4d3(0xb4)],_0x22cb6b['MNABQ'])&&_0x22cb6b['wwtJE'](process[_0xeaf4d3(0x95)][_0xeaf4d3(0xb4)][_0xeaf4d3(0xf7)],0x0)&&_0x22cb6b['qpmxN'](process[_0xeaf4d3(0x95)][_0xeaf4d3(0xb4)],_0x22cb6b[_0xeaf4d3(0xa4)]);return _0x22cb6b[_0xeaf4d3(0xb6)](_0x2aec16,_0x4a5939);}catch(_0x454ff1){logger['debug'](_0xeaf4d3(0x118)+_0x454ff1);}return![];},exports[a57_0x3a5410(0xc0)]=(_0x21c47e=null,_0x11fec5=!![],_0x39fbe4=[])=>{const _0x518536=a57_0x3a5410,_0x15092a={};_0x15092a[_0x518536(0xb8)]=function(_0x3bb189,_0x81554b){return _0x3bb189==_0x81554b;},_0x15092a[_0x518536(0xec)]=function(_0x406d78,_0x3f257c){return _0x406d78>_0x3f257c;},_0x15092a[_0x518536(0xc4)]=function(_0x1d6adb,_0xc74acd){return _0x1d6adb===_0xc74acd;},_0x15092a[_0x518536(0x98)]=function(_0x3a3c16,_0x553bca){return _0x3a3c16&&_0x553bca;},_0x15092a[_0x518536(0x8a)]=function(_0x4cf5b3,_0x22fc12){return _0x4cf5b3===_0x22fc12;};const _0x321e91=_0x15092a;if(_0x321e91[_0x518536(0xb8)](process[_0x518536(0x95)][_0x518536(0xb5)],null))return!![];try{const _0x430f2d=JSON['parse'](process[_0x518536(0x95)][_0x518536(0xb5)]),_0x4bd41e=Array[_0x518536(0xde)](_0x430f2d[_0x518536(0x10f)])?_0x430f2d['includeTagsInTestingScope']:[],_0x1d6a42=Array['isArray'](_0x430f2d[_0x518536(0x110)])?_0x430f2d[_0x518536(0x110)]:[];if(bsSetupHelper[_0x518536(0xc7)](_0x21c47e)){if(_0x321e91['SYAvI'](_0x39fbe4[_0x518536(0xf7)],0x0)){const _0x546df0=_0x1d6a42['some'](_0x5445be=>_0x39fbe4[_0x518536(0xff)](_0x5445be)),_0x270631=_0x321e91[_0x518536(0xc4)](_0x4bd41e[_0x518536(0xf7)],0x0)||_0x4bd41e['some'](_0x514963=>_0x39fbe4[_0x518536(0xff)](_0x514963));return _0x321e91['XxpjF'](!_0x546df0,_0x270631);}return!![];}let _0x422e25;_0x11fec5?_0x422e25=_0x21c47e[_0x518536(0xbc)]('/'):_0x422e25=_0x21c47e;const _0x51649f=_0x1d6a42[_0x518536(0xe7)](_0x161043=>_0x422e25[_0x518536(0xff)](_0x161043)),_0x49fb00=_0x321e91[_0x518536(0x8a)](_0x4bd41e[_0x518536(0xf7)],0x0)||_0x4bd41e[_0x518536(0xe7)](_0xd3ff=>_0x422e25[_0x518536(0xff)](_0xd3ff));return _0x321e91[_0x518536(0x98)](!_0x51649f,_0x49fb00);}catch(_0x4ba94c){logger[_0x518536(0x10d)](_0x518536(0xcf)+util[_0x518536(0xa7)](_0x4ba94c));}return![];},exports[a57_0x3a5410(0xba)]=_0x2973f7=>{const _0x2a4909=a57_0x3a5410;let _0x3bf248=![];try{_0x2973f7[_0x2a4909(0xd1)][_0x2a4909(0x119)](_0x4f8b3d=>{const _0x3179e7=_0x2a4909;if(bsSetupHelper['isTrue'](_0x4f8b3d[_0x3179e7(0xa2)]))return _0x3bf248=!![],!![];});}catch(_0x263e39){logger[_0x2a4909(0x10d)](_0x2a4909(0x10c)+_0x263e39);}return _0x3bf248||bsSetupHelper[_0x2a4909(0x82)](_0x2973f7[_0x2a4909(0xa2)]);},exports[a57_0x3a5410(0xb9)]=PerformanceTester[a57_0x3a5410(0xe6)](a57_0x3a5410(0x100),async function(_0x354a94,_0x451d4f){const _0x3d3a7d=a57_0x3a5410,_0x28f476={};_0x28f476['zdkNm']='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x28f476['IShyw']=_0x3d3a7d(0xad),_0x28f476[_0x3d3a7d(0x8e)]=_0x3d3a7d(0xf2),_0x28f476[_0x3d3a7d(0x117)]=_0x3d3a7d(0xb0),_0x28f476[_0x3d3a7d(0x89)]=_0x3d3a7d(0xbd),_0x28f476[_0x3d3a7d(0xfc)]='v2/test_runs',_0x28f476[_0x3d3a7d(0x11d)]=function(_0x31fc15,_0x12be47){return _0x31fc15===_0x12be47;},_0x28f476[_0x3d3a7d(0x9a)]=_0x3d3a7d(0xe4),_0x28f476[_0x3d3a7d(0xcb)]=_0x3d3a7d(0x9c);const _0x53d4ab=_0x28f476,_0x3ee6b2=bsSetupHelper['getUserName'](_0x354a94),_0x17347d=bsSetupHelper[_0x3d3a7d(0xf5)](_0x354a94);if(bsSetupHelper['isUndefined'](_0x3ee6b2)||bsSetupHelper[_0x3d3a7d(0xc7)](_0x17347d))return logger[_0x3d3a7d(0xeb)](_0x53d4ab[_0x3d3a7d(0xac)]),[null,null];try{let _0x4a5b1e;bsSetupHelper[_0x3d3a7d(0xc7)](process[_0x3d3a7d(0x95)][_0x3d3a7d(0xb5)])?_0x4a5b1e={}:_0x4a5b1e=JSON[_0x3d3a7d(0xd0)](process[_0x3d3a7d(0x95)][_0x3d3a7d(0xb5)]);const {name:_0x172c92,version:_0x55a8e3}=bsSetupHelper['getTestFrameworkDetails'](_0x354a94,_0x451d4f),_0x504579={'projectName':_0x354a94[_0x3d3a7d(0x90)],'buildName':_0x354a94[_0x3d3a7d(0xa9)]||path['basename'](path[_0x3d3a7d(0x115)](process[_0x3d3a7d(0xe3)]())),'startTime':new Date()['toISOString'](),'description':_0x354a94['buildDescription']||'','source':{'frameworkName':_0x451d4f[_0x3d3a7d(0xff)](_0x53d4ab[_0x3d3a7d(0x93)])?_0x53d4ab[_0x3d3a7d(0x93)]:_0x451d4f,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x451d4f),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x53d4ab[_0x3d3a7d(0x8e)],'testFramework':_0x172c92,'testFrameworkVersion':_0x55a8e3},'settings':_0x4a5b1e,'versionControl':await bsSetupHelper[_0x3d3a7d(0xf1)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x3d3a7d(0xd9)]()},_0x7a7fdb={};_0x7a7fdb['user']=_0x3ee6b2,_0x7a7fdb[_0x3d3a7d(0xc9)]=_0x17347d;const _0xc1e7cf={};_0xc1e7cf['Content-Type']=_0x53d4ab[_0x3d3a7d(0x117)];const _0x117389={};_0x117389[_0x3d3a7d(0xc6)]=_0x7a7fdb,_0x117389[_0x3d3a7d(0x9f)]=_0xc1e7cf;const _0xda1ecc=_0x117389,_0x1ecf0f={};_0x1ecf0f[_0x3d3a7d(0xe9)]=_0x504579,_0x1ecf0f[_0x3d3a7d(0xfb)]=!![];const _0x2b6e2b=Object[_0x3d3a7d(0x85)](_0xda1ecc,_0x1ecf0f),_0x133284=await bsSetupHelper['nodeRequest'](_0x53d4ab[_0x3d3a7d(0x89)],_0x53d4ab['LqysN'],_0x2b6e2b,_0x354a94,API_URL);let _0x126813=process[_0x3d3a7d(0x95)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x126813?_0x126813=JSON[_0x3d3a7d(0xd0)](process[_0x3d3a7d(0x95)][_0x3d3a7d(0xb5)]):_0x126813={},scripts['parseFromJson'](_0x133284['data'][_0x3d3a7d(0xf9)]),scripts['toJson'](),_0x126813['scannerVersion']=_0x133284[_0x3d3a7d(0xf9)][_0x3d3a7d(0xf9)][_0x3d3a7d(0xf4)],process[_0x3d3a7d(0x95)][_0x3d3a7d(0xb5)]=JSON[_0x3d3a7d(0xfd)](_0x126813),[_0x133284[_0x3d3a7d(0xf9)]['data'][_0x3d3a7d(0xae)],_0x133284[_0x3d3a7d(0xf9)][_0x3d3a7d(0xf9)]['id']];}catch(_0x48738b){if(_0x48738b['response'])logger['error'](_0x3d3a7d(0xe2)+_0x48738b[_0x3d3a7d(0x9e)]['status']+'\x20'+_0x48738b['response'][_0x3d3a7d(0x94)]+'\x20'+JSON['stringify'](_0x48738b['response'][_0x3d3a7d(0xf9)]));else{if(_0x53d4ab[_0x3d3a7d(0x11d)](_0x48738b['message'],_0x53d4ab[_0x3d3a7d(0x9a)])){logger[_0x3d3a7d(0xeb)](_0x3d3a7d(0xe2)+(_0x48738b[_0x3d3a7d(0x8f)]||_0x48738b[_0x3d3a7d(0x10e)]));for(const _0x1e20d7 of _0x48738b['errors']){logger[_0x3d3a7d(0xeb)](_0x1e20d7[_0x3d3a7d(0x8f)]);}process['env'][_0x3d3a7d(0xdd)]=_0x53d4ab[_0x3d3a7d(0xcb)],process['env'][_0x3d3a7d(0x81)]=_0x53d4ab[_0x3d3a7d(0xcb)];}else logger[_0x3d3a7d(0xeb)](_0x3d3a7d(0xe2)+(_0x48738b[_0x3d3a7d(0x8f)]||_0x48738b['stack']));}return[null,null];}}),exports[a57_0x3a5410(0x114)]=PerformanceTester[a57_0x3a5410(0xe6)](a57_0x3a5410(0xdc),async function(_0x2b290d){const _0x135a8f=a57_0x3a5410,_0x20d5bc={};_0x20d5bc[_0x135a8f(0x116)]=function(_0x3aa3db,_0x4fd6a8){return _0x3aa3db!==_0x4fd6a8;},_0x20d5bc[_0x135a8f(0xd8)]=_0x135a8f(0xf6),_0x20d5bc[_0x135a8f(0xb2)]=_0x135a8f(0xeb),_0x20d5bc[_0x135a8f(0x9d)]='Build\x20creation\x20had\x20failed.',_0x20d5bc[_0x135a8f(0xb3)]=_0x135a8f(0xb0),_0x20d5bc['hEtUR']=_0x135a8f(0xc1),_0x20d5bc[_0x135a8f(0x105)]=_0x135a8f(0x111),_0x20d5bc[_0x135a8f(0xea)]=function(_0x59d658,_0x5ad972){return _0x59d658+_0x5ad972;},_0x20d5bc[_0x135a8f(0xa3)]='Invalid\x20request:\x20',_0x20d5bc[_0x135a8f(0x101)]='success';const _0x49459b=_0x20d5bc;if(bsSetupHelper[_0x135a8f(0xc7)](process[_0x135a8f(0x95)][_0x135a8f(0xb4)])||_0x49459b[_0x135a8f(0x116)](typeof process[_0x135a8f(0x95)][_0x135a8f(0xb4)],_0x49459b[_0x135a8f(0xd8)])){const _0x4719a4={};return _0x4719a4[_0x135a8f(0xd4)]=_0x49459b[_0x135a8f(0xb2)],_0x4719a4[_0x135a8f(0x8f)]=_0x49459b['zNUfR'],_0x4719a4;}const _0x1945ab={'endTime':new Date()['toISOString']()},_0x3063d9={};_0x3063d9[_0x135a8f(0xfe)]='Bearer\x20'+process[_0x135a8f(0x95)][_0x135a8f(0xb4)],_0x3063d9['Content-Type']=_0x49459b[_0x135a8f(0xb3)];const _0x45113a={};_0x45113a[_0x135a8f(0x9f)]=_0x3063d9;const _0x56c0c2=_0x45113a,_0x119385={};_0x119385['body']=_0x1945ab,_0x119385[_0x135a8f(0xc6)]=null,_0x119385[_0x135a8f(0xfb)]=!![];const _0x1e2eb8=Object[_0x135a8f(0x85)](_0x56c0c2,_0x119385);try{const _0x4ec041=await bsSetupHelper[_0x135a8f(0x106)](_0x49459b['hEtUR'],_0x49459b[_0x135a8f(0x105)],_0x1e2eb8,_0x2b290d,API_URL);if(_0x4ec041[_0x135a8f(0xf9)]['error'])throw new Error(_0x49459b[_0x135a8f(0xea)](_0x49459b[_0x135a8f(0xa3)],_0x4ec041[_0x135a8f(0xf9)]['error']));else{logger['info'](_0x135a8f(0x11a)+new Date()[_0x135a8f(0xe5)]());const _0xd0492c={};return _0xd0492c[_0x135a8f(0xd4)]=_0x49459b[_0x135a8f(0x101)],_0xd0492c['message']='',_0xd0492c;}}catch(_0x1b2ad2){_0x1b2ad2['response']?logger[_0x135a8f(0xeb)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x1b2ad2[_0x135a8f(0x9e)][_0x135a8f(0xd4)]+'\x20'+_0x1b2ad2[_0x135a8f(0x9e)][_0x135a8f(0x94)]+'\x20'+JSON['stringify'](_0x1b2ad2['response'][_0x135a8f(0xf9)])):logger['error'](_0x135a8f(0x9b)+(_0x1b2ad2[_0x135a8f(0x8f)]||util['format'](_0x1b2ad2)));const _0x2b764f={};return _0x2b764f[_0x135a8f(0xd4)]=_0x49459b[_0x135a8f(0xb2)],_0x2b764f[_0x135a8f(0x8f)]=_0x1b2ad2[_0x135a8f(0x8f)]||(_0x1b2ad2[_0x135a8f(0x9e)]?_0x1b2ad2['response']['status']+':'+_0x1b2ad2[_0x135a8f(0x9e)][_0x135a8f(0x94)]:_0x1b2ad2),_0x2b764f;}}),exports['performScan']=async(_0x3f964b,_0x5349a1=null)=>{const _0x571a2c=a57_0x3a5410,_0x45f01a={};_0x45f01a[_0x571a2c(0x7c)]=_0x571a2c(0x102),_0x45f01a[_0x571a2c(0x91)]='bstackA11yShouldScan',_0x45f01a['ITyZl']=_0x571a2c(0xd3);const _0x34f5ee=_0x45f01a;if(!this['isAccessibilityAutomationSession']()||!globals[_0x571a2c(0x99)](_0x34f5ee[_0x571a2c(0x7c)])||!globals[_0x571a2c(0x99)](_0x34f5ee[_0x571a2c(0x91)])){logger[_0x571a2c(0x8b)](_0x34f5ee[_0x571a2c(0xc5)]);return;}const _0x1b56cd={};_0x1b56cd['method']=_0x5349a1||global[_0x571a2c(0xda)],logger[_0x571a2c(0x10d)](util['format'](await _0x3f964b[_0x571a2c(0xc3)](scripts[_0x571a2c(0xf3)],_0x1b56cd)));},exports[a57_0x3a5410(0x11b)]=async(_0x5d4528,_0x16b982)=>{const _0x520b93=a57_0x3a5410,_0x3975b6={};_0x3975b6[_0x520b93(0xfa)]=_0x520b93(0x102),_0x3975b6[_0x520b93(0xa0)]=_0x520b93(0xc8),_0x3975b6[_0x520b93(0xef)]=_0x520b93(0xd6),_0x3975b6[_0x520b93(0xce)]='Performing\x20scan\x20before\x20getting\x20results',_0x3975b6[_0x520b93(0xdf)]=_0x520b93(0xbb);const _0x146a22=_0x3975b6;if(!this['isAccessibilityAutomationSession']()||!globals[_0x520b93(0x99)](_0x146a22['CrjNG'])||!globals['getGlobal'](_0x146a22['tAZYV']))return logger['warn'](_0x146a22[_0x520b93(0xef)]),[];try{logger['debug'](_0x146a22[_0x520b93(0xce)]);const _0x1f6f19={};_0x1f6f19[_0x520b93(0x8c)]=_0x16b982[_0x520b93(0xda)],logger[_0x520b93(0x10d)](util[_0x520b93(0xa7)](await _0x5d4528[_0x520b93(0xc3)](scripts[_0x520b93(0xf3)],_0x1f6f19)));const _0x35924d=await _0x5d4528[_0x520b93(0xc3)](scripts[_0x520b93(0xaf)]);return _0x35924d;}catch{return logger[_0x520b93(0xeb)](_0x146a22[_0x520b93(0xdf)]),[];}},exports[a57_0x3a5410(0xa1)]=async(_0x1f8b0e,_0x587cc6)=>{const _0x2d0916=a57_0x3a5410,_0x452fa5={};_0x452fa5[_0x2d0916(0x7e)]=_0x2d0916(0x102),_0x452fa5['kNFGx']=_0x2d0916(0xc8),_0x452fa5['IgeHh']=_0x2d0916(0x87),_0x452fa5[_0x2d0916(0xc2)]=_0x2d0916(0xcd),_0x452fa5['AHodT']=_0x2d0916(0x84);const _0x4f5d58=_0x452fa5;if(!this['isAccessibilityAutomationSession']()||!globals[_0x2d0916(0x99)](_0x4f5d58['tRcVR'])||!globals[_0x2d0916(0x99)](_0x4f5d58[_0x2d0916(0xab)]))return logger['warn'](_0x4f5d58[_0x2d0916(0x8d)]),{};try{logger[_0x2d0916(0x10d)](_0x4f5d58[_0x2d0916(0xc2)]);const _0x2384f3={};_0x2384f3['method']=_0x587cc6[_0x2d0916(0xda)],logger['debug'](util['format'](await _0x1f8b0e[_0x2d0916(0xc3)](scripts[_0x2d0916(0xf3)],_0x2384f3)));const _0x44f9cd=await _0x1f8b0e[_0x2d0916(0xc3)](scripts['getResultsSummary']);return _0x44f9cd;}catch{return logger[_0x2d0916(0xeb)](_0x4f5d58[_0x2d0916(0xb7)]),{};}},exports[a57_0x3a5410(0xbf)]=_0x188e57=>{const _0x5b04ee=a57_0x3a5410,_0x24771a={};_0x24771a[_0x5b04ee(0x83)]=function(_0x4d31de,_0x2e7e87){return _0x4d31de===_0x2e7e87;},_0x24771a[_0x5b04ee(0xca)]=_0x5b04ee(0xf6),_0x24771a[_0x5b04ee(0x96)]='browserstack_executor';const _0x1fc561=_0x24771a;if(_0x188e57&&_0x188e57[_0x5b04ee(0xbe)]&&_0x1fc561[_0x5b04ee(0x83)](typeof _0x188e57['script'],_0x1fc561[_0x5b04ee(0xca)]))return _0x188e57[_0x5b04ee(0xbe)][_0x5b04ee(0xff)](_0x1fc561[_0x5b04ee(0x96)]);return![];};
@@ -1 +1 @@
1
- const a58_0x544216=a58_0x2044;function a58_0x585f(){const _0xb40482=['2|1|6|5|0|3|4','stringify','saveResults','browserstackFolderPath','writeFileSync','exports','commandsToWrap','shouldWrapCommand','2860956Fehrxj','fromJson','66bSOWJg','performScan','getResultsSummary','existsSync','210329XjrnqE','parseFromJson','1LZZaVJ','commands','../helper','scan','2242304TpHIOb','split','join','AGCpX','339363XSCXVW','3269784ltjMXs','YrZIe','48KKdDLT','20eQtgdK','toLowerCase','avZPV','scripts','getResults','homedir','saveTestResults','2368642gmxOBK','3583215tKmEnc','commandsPath','CShMW','10FzLorq','toJson'];a58_0x585f=function(){return _0xb40482;};return a58_0x585f();}(function(_0x400890,_0x5c42bb){const _0x274ef4=a58_0x2044,_0x11fda4=_0x400890();while(!![]){try{const _0x410e0f=-parseInt(_0x274ef4(0x13e))/0x1*(-parseInt(_0x274ef4(0x151))/0x2)+parseInt(_0x274ef4(0x146))/0x3+-parseInt(_0x274ef4(0x142))/0x4+parseInt(_0x274ef4(0x155))/0x5*(parseInt(_0x274ef4(0x15f))/0x6)+parseInt(_0x274ef4(0x13c))/0x7*(-parseInt(_0x274ef4(0x149))/0x8)+-parseInt(_0x274ef4(0x152))/0x9*(-parseInt(_0x274ef4(0x14a))/0xa)+parseInt(_0x274ef4(0x161))/0xb*(-parseInt(_0x274ef4(0x147))/0xc);if(_0x410e0f===_0x5c42bb)break;else _0x11fda4['push'](_0x11fda4['shift']());}catch(_0x43d63f){_0x11fda4['push'](_0x11fda4['shift']());}}}(a58_0x585f,0xa3f7e));const path=require('path'),fs=require('fs'),helper=require(a58_0x544216(0x140));function a58_0x2044(_0x7091fb,_0x1c3b11){const _0x585f0a=a58_0x585f();return a58_0x2044=function(_0x2044a3,_0xa63ccb){_0x2044a3=_0x2044a3-0x13c;let _0x26384a=_0x585f0a[_0x2044a3];return _0x26384a;},a58_0x2044(_0x7091fb,_0x1c3b11);}class Scripts{constructor(){const _0x308394=a58_0x544216,_0x45698b={};_0x45698b[_0x308394(0x145)]=_0x308394(0x157),_0x45698b[_0x308394(0x14c)]='.browserstack',_0x45698b['LzDhs']='commands.json';const _0xa80b8a=_0x45698b,_0x28499c=_0xa80b8a['AGCpX'][_0x308394(0x143)]('|');let _0x2ced90=0x0;while(!![]){switch(_0x28499c[_0x2ced90++]){case'0':this[_0x308394(0x15a)]=path[_0x308394(0x144)](helper[_0x308394(0x14f)](),_0xa80b8a['avZPV']);continue;case'1':this[_0x308394(0x14e)]=null;continue;case'2':this[_0x308394(0x162)]=null;continue;case'3':this[_0x308394(0x153)]=path[_0x308394(0x144)](this['browserstackFolderPath'],_0xa80b8a['LzDhs']);continue;case'4':this[_0x308394(0x160)]();continue;case'5':this['saveTestResults']=null;continue;case'6':this[_0x308394(0x163)]=null;continue;}break;}}[a58_0x544216(0x13d)](_0x32d5c0){const _0x32d9b2=a58_0x544216;_0x32d5c0['scripts']&&(this[_0x32d9b2(0x162)]=_0x32d5c0[_0x32d9b2(0x14d)][_0x32d9b2(0x141)],this[_0x32d9b2(0x14e)]=_0x32d5c0['scripts'][_0x32d9b2(0x14e)],this[_0x32d9b2(0x163)]=_0x32d5c0[_0x32d9b2(0x14d)][_0x32d9b2(0x163)],this['saveTestResults']=_0x32d5c0['scripts'][_0x32d9b2(0x159)]),this[_0x32d9b2(0x15d)]=_0x32d5c0[_0x32d9b2(0x13f)];}[a58_0x544216(0x15e)](_0x3be792){const _0x26f5ff=a58_0x544216,_0xacdfb={};_0xacdfb[_0x26f5ff(0x148)]=function(_0x4b3c6c,_0x2b066b){return _0x4b3c6c!==_0x2b066b;};const _0x13f564=_0xacdfb;try{return _0x13f564[_0x26f5ff(0x148)](this[_0x26f5ff(0x15d)]['findIndex'](_0x162acc=>_0x162acc['name'][_0x26f5ff(0x14b)]()===_0x3be792[_0x26f5ff(0x14b)]()),-0x1);}catch{}return![];}[a58_0x544216(0x156)](){const _0x3971db=a58_0x544216;!fs[_0x3971db(0x164)](this[_0x3971db(0x15a)])&&fs['mkdirSync'](this['browserstackFolderPath']),fs[_0x3971db(0x15b)](this[_0x3971db(0x153)],JSON[_0x3971db(0x158)]({'scripts':{'scan':this[_0x3971db(0x162)],'getResults':this[_0x3971db(0x14e)],'getResultsSummary':this['getResultsSummary'],'saveResults':this[_0x3971db(0x150)]},'commands':this[_0x3971db(0x15d)]}));}[a58_0x544216(0x160)](){const _0x31b450=a58_0x544216,_0x1e6678={'CShMW':function(_0x34dc0b,_0x206da0){return _0x34dc0b(_0x206da0);}};fs[_0x31b450(0x164)](this['commandsPath'])&&this[_0x31b450(0x13d)](_0x1e6678[_0x31b450(0x154)](require,this[_0x31b450(0x153)]));}}module[a58_0x544216(0x15c)]=new Scripts();
1
+ function a58_0x1efc(_0x4a2d19,_0x21ae85){const _0x21d674=a58_0x21d6();return a58_0x1efc=function(_0x1efc34,_0x6e5e75){_0x1efc34=_0x1efc34-0x117;let _0x225e7a=_0x21d674[_0x1efc34];return _0x225e7a;},a58_0x1efc(_0x4a2d19,_0x21ae85);}const a58_0x630c04=a58_0x1efc;(function(_0x18e6a8,_0x251e28){const _0x586afa=a58_0x1efc,_0x55487e=_0x18e6a8();while(!![]){try{const _0x55b24f=parseInt(_0x586afa(0x128))/0x1*(-parseInt(_0x586afa(0x12e))/0x2)+parseInt(_0x586afa(0x13b))/0x3*(parseInt(_0x586afa(0x117))/0x4)+-parseInt(_0x586afa(0x131))/0x5+-parseInt(_0x586afa(0x139))/0x6+-parseInt(_0x586afa(0x121))/0x7+parseInt(_0x586afa(0x134))/0x8+parseInt(_0x586afa(0x11a))/0x9;if(_0x55b24f===_0x251e28)break;else _0x55487e['push'](_0x55487e['shift']());}catch(_0x116364){_0x55487e['push'](_0x55487e['shift']());}}}(a58_0x21d6,0x6b466));const path=require(a58_0x630c04(0x127)),fs=require('fs'),helper=require(a58_0x630c04(0x129));function a58_0x21d6(){const _0x21b279=['commands','.browserstack','11218311DGyvHl','mkdirSync','commands.json','toLowerCase','prsoH','stringify','parseFromJson','926639IurPfM','0|3|6|1|5|4|2','existsSync','scan','saveResults','browserstackFolderPath','path','168229Cruyps','../helper','jHfUF','getResultsSummary','saveTestResults','scripts','2EZctIo','join','XyKDS','4338195ouHaWr','getResults','homedir','3888184aDhBIg','commandsToWrap','name','toJson','split','3813096dXtPXz','fromJson','21jzhHmT','VxXzn','exports','commandsPath','performScan','wtfXj','291804sKZAHF'];a58_0x21d6=function(){return _0x21b279;};return a58_0x21d6();}class Scripts{constructor(){const _0x259fe1=a58_0x630c04,_0x56b5b4={};_0x56b5b4['wtfXj']=_0x259fe1(0x122),_0x56b5b4[_0x259fe1(0x11e)]=_0x259fe1(0x11c),_0x56b5b4[_0x259fe1(0x130)]=_0x259fe1(0x119);const _0x2a40dd=_0x56b5b4,_0x29c290=_0x2a40dd[_0x259fe1(0x140)][_0x259fe1(0x138)]('|');let _0x3176f0=0x0;while(!![]){switch(_0x29c290[_0x3176f0++]){case'0':this[_0x259fe1(0x13f)]=null;continue;case'1':this[_0x259fe1(0x12c)]=null;continue;case'2':this[_0x259fe1(0x13a)]();continue;case'3':this[_0x259fe1(0x132)]=null;continue;case'4':this[_0x259fe1(0x13e)]=path[_0x259fe1(0x12f)](this[_0x259fe1(0x126)],_0x2a40dd[_0x259fe1(0x11e)]);continue;case'5':this[_0x259fe1(0x126)]=path[_0x259fe1(0x12f)](helper[_0x259fe1(0x133)](),_0x2a40dd['XyKDS']);continue;case'6':this['getResultsSummary']=null;continue;}break;}}[a58_0x630c04(0x120)](_0x5f2c89){const _0x27b86f=a58_0x630c04;_0x5f2c89[_0x27b86f(0x12d)]&&(this[_0x27b86f(0x13f)]=_0x5f2c89[_0x27b86f(0x12d)][_0x27b86f(0x124)],this[_0x27b86f(0x132)]=_0x5f2c89[_0x27b86f(0x12d)]['getResults'],this['getResultsSummary']=_0x5f2c89[_0x27b86f(0x12d)][_0x27b86f(0x12b)],this[_0x27b86f(0x12c)]=_0x5f2c89[_0x27b86f(0x12d)][_0x27b86f(0x125)]),this[_0x27b86f(0x135)]=_0x5f2c89[_0x27b86f(0x118)];}['shouldWrapCommand'](_0x5b26fc){const _0x4fc6d9=a58_0x630c04,_0x25751d={};_0x25751d['jHfUF']=function(_0x3fae18,_0x289845){return _0x3fae18!==_0x289845;};const _0x18f86d=_0x25751d;try{return _0x18f86d[_0x4fc6d9(0x12a)](this['commandsToWrap']['findIndex'](_0x437513=>_0x437513[_0x4fc6d9(0x136)][_0x4fc6d9(0x11d)]()===_0x5b26fc[_0x4fc6d9(0x11d)]()),-0x1);}catch{}return![];}[a58_0x630c04(0x137)](){const _0x3eb222=a58_0x630c04;!fs['existsSync'](this['browserstackFolderPath'])&&fs[_0x3eb222(0x11b)](this[_0x3eb222(0x126)]),fs['writeFileSync'](this['commandsPath'],JSON[_0x3eb222(0x11f)]({'scripts':{'scan':this[_0x3eb222(0x13f)],'getResults':this[_0x3eb222(0x132)],'getResultsSummary':this[_0x3eb222(0x12b)],'saveResults':this['saveTestResults']},'commands':this[_0x3eb222(0x135)]}));}[a58_0x630c04(0x13a)](){const _0x5931ad=a58_0x630c04,_0x5880c2={'VxXzn':function(_0xfc4f14,_0x4f8f68){return _0xfc4f14(_0x4f8f68);}};fs[_0x5931ad(0x123)](this['commandsPath'])&&this['parseFromJson'](_0x5880c2[_0x5931ad(0x13c)](require,this[_0x5931ad(0x13e)]));}}module[a58_0x630c04(0x13d)]=new Scripts();