browserstack-node-sdk 1.34.32 → 1.34.33
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.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var a49_0x53ff25=a49_0x5ace;(function(_0x51a0d3,_0x1085b5){var _0x517e2a=a49_0x5ace,_0x23bfb1=_0x51a0d3();while(!![]){try{var _0x120ecc=-parseInt(_0x517e2a(0x160))/0x1*(-parseInt(_0x517e2a(0xf9))/0x2)+parseInt(_0x517e2a(0x103))/0x3*(-parseInt(_0x517e2a(0x107))/0x4)+parseInt(_0x517e2a(0x127))/0x5+parseInt(_0x517e2a(0x158))/0x6+-parseInt(_0x517e2a(0x115))/0x7*(-parseInt(_0x517e2a(0x157))/0x8)+parseInt(_0x517e2a(0x11c))/0x9*(-parseInt(_0x517e2a(0xfb))/0xa)+-parseInt(_0x517e2a(0x179))/0xb*(parseInt(_0x517e2a(0xf8))/0xc);if(_0x120ecc===_0x1085b5)break;else _0x23bfb1['push'](_0x23bfb1['shift']());}catch(_0x3c57b9){_0x23bfb1['push'](_0x23bfb1['shift']());}}}(a49_0x8b82,0xd035e));function a49_0x8b82(){var _0x421dc7=['FUNNEL_INSTRUMENTATION_API_URL','VANILLA','accessKey','AI_PROXY_FAILURE','https://tcg.browserstack.com','ERR_NAME_RESOLUTION_FAILED','Specify\x20--help\x20for\x20available\x20options','codeceptjs','SDKTestTcgDownResponse','TCG_AUTH_FAILURE','acceptSslCerts','OBSERVABILITY_SUPPORTED_FWS','chromeOptions','MOCHA','ERR_CONNECTION_RESET','.ipa','Run\x20codeceptjs\x20tests\x20on\x20browserstack','browserstackAutomation','GIT_META_DATA_TRUNCATED','REDACTED_KEYS','1119576avTTEl','50YnfvXf','TCG_REGION','10efLQyu','shows\x20version\x20information','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','PERCY_SUPPORTED_FRAMEWORKS','ERR_SOCKET_NOT_CONNECTED','SET_TCG_TOKEN_TIMEOUT','httpProxy','use','24300bsTLZa','https://hub.browserstack.com/wd/hub','authToken','INFO','40uMhRhE','ATS_HUB_URL_REGEX','observability','Run\x20jest\x20tests\x20on\x20browserstack','httpsProxy','disableAutoCaptureLogs','AI_INIT_SUCCESSFUL','browserStackLocalOptions','turboScale','HELP','AUTOLOGCAPTURE_NOTIFICATION','APP_UPLOAD_URL','TCG_DOWN','mocha','55643YguYMm','userName','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','CUSTOM_ID_REGEX','HUB_URL_REGEX','app-automate','COMMONJS','12002301ACJWIg','ERR_SOCKS_CONNECTION_FAILED','https://api.browserstack.com','NIGHTWATCH','APP_AUTOMATE','browserVersion','ERR_ADDRESS_INVALID','Run\x20mocha\x20tests\x20on\x20browserstack','SDKTestTcgProxyFailure','ERR_TIMED_OUT','localProxyPass','453795wpelou','exports','proxyUrl','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ERR_CONNECTION_CLOSED','turboScaleOptions','ERR_CONNECTION_ABORTED','edgeOptions','PLAYWRIGHT','https://api-cloud.browserstack.com','platforms','browserstack.overridelocalInfo.userAuthToken','commonjs','ERR_TUNNEL_CONNECTION_FAILED','rerunTests','uniqueDependency','CODECEPT','automation','TCG_AUTH_TIMEOUT','Upgrade\x20required','browserName','Run\x20nightwatch\x20tests\x20on\x20browserstack','...[TRUNCATED]','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','testContextOptions','jest','SHAREABLE_ID_REGEX','https://upload-observability.browserstack.com','PLAYWRIGHT_HUB_URL','SDKTestTcgtInitSuccessful','vanilla','PRIVATE_DOMAIN_OR_IP_REGEX','Run\x20playwright\x20tests\x20on\x20Browserstack','testObservability','AUTOMATE','ERR_CONNECTION_FAILED','logLevel','percyOptions','localProxyUser','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','./browserstack-artifacts/','Playwright','INVALID_INIT_RESP_WITH_USER_IMPACT','ERR_BLOCKED_BY_CLIENT','HEALING_FAILURE_TIMEOUT','ERR_FAILED','CUCUMBER','automate','568dAiQns','3581388VoGqCt','accessibilityOptions','testObservabilityOptions','module','framework','firefoxOptions','proxyPass','PLAYWRIGHT_CONFIG_OPTION_ERRORS','55543tcSOyu','cucumber','TCG_URL','.apk','customVariables','Run\x20js\x20tests\x20on\x20browserstack','AI_INIT_FAILURE','AUTOMATE_PRODUCTS','unhandledPromptBehavior','VERSION','AI_ENABLED_FRAMEWORK','root','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','SDKTestTcgAuthFailure','SDK_INSTRUMENTATION_CONFIG','SDKTestInitFailedResponse','percy','^[a-zA-Z0-9_.-]*$','browserstackLocal','wss://cdp.browserstack.com/playwright?caps=','SDKTestInvalidTcgAuthResponseWithUserImpact','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','invalidTestInputType','FRAMEWORKS','INTEGRATIONS','44vKQQoo','proxyPassword','parallelsPerPlatform','JEST','accessibility','strictFileInteractability','percyCaptureMode','proxySettings','BSTACK_DELTA','ERR_CONNECTION_TIMED_OUT','OBSERVABILITY_UPLOAD_URL','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','VALID_APP_EXTENSION'];a49_0x8b82=function(){return _0x421dc7;};return a49_0x8b82();}var a49_0x9647eb={};a49_0x9647eb[a49_0x53ff25(0x106)]=a49_0x53ff25(0xfc),a49_0x9647eb[a49_0x53ff25(0x110)]=a49_0x53ff25(0x18c);var a49_0x58a5fa={};a49_0x58a5fa[a49_0x53ff25(0x106)]=a49_0x53ff25(0x10a);var a49_0x399435={};a49_0x399435[a49_0x53ff25(0x106)]=a49_0x53ff25(0x123);function a49_0x5ace(_0x1ea43e,_0xd31cf0){var _0x8b8291=a49_0x8b82();return a49_0x5ace=function(_0x5ace7c,_0x3e6135){_0x5ace7c=_0x5ace7c-0xf2;var _0x22379d=_0x8b8291[_0x5ace7c];return _0x22379d;},a49_0x5ace(_0x1ea43e,_0xd31cf0);}var a49_0x7e6ff2={};a49_0x7e6ff2[a49_0x53ff25(0x106)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';var a49_0x58e8ef={};a49_0x58e8ef[a49_0x53ff25(0x106)]=a49_0x53ff25(0x165);var a49_0x1086b9={};a49_0x1086b9[a49_0x53ff25(0x106)]=a49_0x53ff25(0x13c);var a49_0x320a55={};a49_0x320a55[a49_0x53ff25(0x106)]=a49_0x53ff25(0x147);var a49_0x1d9c1b={};a49_0x1d9c1b[a49_0x53ff25(0x106)]=a49_0x53ff25(0xf4);var a49_0x415134={};a49_0x415134[a49_0x53ff25(0x106)]=a49_0x53ff25(0x16c);var a49_0x30dbbd={};a49_0x30dbbd[a49_0x53ff25(0x106)]='Connect\x20on\x20prem\x20instances\x20to\x20Browserstack';var a49_0x19b332={};a49_0x19b332[a49_0x53ff25(0x12f)]=a49_0x53ff25(0x150),a49_0x19b332[a49_0x53ff25(0x193)]=a49_0x53ff25(0x114),a49_0x19b332[a49_0x53ff25(0x17c)]='jest',a49_0x19b332[a49_0x53ff25(0x137)]=a49_0x53ff25(0x18d),a49_0x19b332[a49_0x53ff25(0x155)]=a49_0x53ff25(0x161);var a49_0x466438={};a49_0x466438['invalidKeys']=a49_0x53ff25(0x175),a49_0x466438[a49_0x53ff25(0x136)]=a49_0x53ff25(0xfd),a49_0x466438['mandatoryDependency']=a49_0x53ff25(0x13e),a49_0x466438[a49_0x53ff25(0x176)]=a49_0x53ff25(0x184);var a49_0x27632e={};a49_0x27632e[a49_0x53ff25(0x11b)]=a49_0x53ff25(0x133),a49_0x27632e['MODULE']=a49_0x53ff25(0x15b);var a49_0x4312c1={};a49_0x4312c1[a49_0x53ff25(0x16b)]=[a49_0x53ff25(0x116),a49_0x53ff25(0x188),a49_0x53ff25(0x101),a49_0x53ff25(0x10b),a49_0x53ff25(0x164),'browserstack.userName','browserstack.accessKey',a49_0x53ff25(0x17a),a49_0x53ff25(0x105),a49_0x53ff25(0x129),a49_0x53ff25(0x132)],a49_0x4312c1[a49_0x53ff25(0x10e)]=['proxyUser',a49_0x53ff25(0x15e),a49_0x53ff25(0x14d),a49_0x53ff25(0x126)];var a49_0x45b9ef={};a49_0x45b9ef[a49_0x53ff25(0x172)]=a49_0x53ff25(0x172),a49_0x45b9ef[a49_0x53ff25(0x10e)]='browserStackLocalOptions',a49_0x45b9ef['localOptions']=a49_0x53ff25(0x10e),a49_0x45b9ef[a49_0x53ff25(0x17b)]='parallelsPerPlatform',a49_0x45b9ef[a49_0x53ff25(0x131)]='platforms',a49_0x45b9ef[a49_0x53ff25(0x14b)]=a49_0x53ff25(0x14b),a49_0x45b9ef[a49_0x53ff25(0x101)]='httpProxy',a49_0x45b9ef[a49_0x53ff25(0x10b)]='httpsProxy',a49_0x45b9ef['framework']=a49_0x53ff25(0x15c),a49_0x45b9ef[a49_0x53ff25(0x13f)]='testContextOptions',a49_0x45b9ef['testObservability']=a49_0x53ff25(0x148),a49_0x45b9ef['testObservabilityOptions']=a49_0x53ff25(0x15a),a49_0x45b9ef[a49_0x53ff25(0x164)]=a49_0x53ff25(0x164),a49_0x45b9ef[a49_0x53ff25(0x138)]='browserstackAutomation',a49_0x45b9ef[a49_0x53ff25(0xf5)]=a49_0x53ff25(0xf5),a49_0x45b9ef[a49_0x53ff25(0x135)]=a49_0x53ff25(0x135),a49_0x45b9ef[a49_0x53ff25(0x170)]=a49_0x53ff25(0x170),a49_0x45b9ef[a49_0x53ff25(0x14c)]=a49_0x53ff25(0x14c),a49_0x45b9ef[a49_0x53ff25(0x17f)]=a49_0x53ff25(0x17f),a49_0x45b9ef[a49_0x53ff25(0x10c)]='disableAutoCaptureLogs',a49_0x45b9ef[a49_0x53ff25(0x17d)]=a49_0x53ff25(0x17d),a49_0x45b9ef[a49_0x53ff25(0x159)]=a49_0x53ff25(0x159),a49_0x45b9ef[a49_0x53ff25(0x10f)]=a49_0x53ff25(0x10f),a49_0x45b9ef[a49_0x53ff25(0x12c)]='turboScaleOptions',a49_0x45b9ef[a49_0x53ff25(0x180)]=a49_0x53ff25(0x180);var a49_0x21bb78={};a49_0x21bb78[a49_0x53ff25(0x169)]=a49_0x9647eb,a49_0x21bb78[a49_0x53ff25(0x17c)]=a49_0x58a5fa,a49_0x21bb78['MOCHA']=a49_0x399435,a49_0x21bb78[a49_0x53ff25(0x155)]=a49_0x7e6ff2,a49_0x21bb78[a49_0x53ff25(0x187)]=a49_0x58e8ef,a49_0x21bb78[a49_0x53ff25(0x11f)]=a49_0x1086b9,a49_0x21bb78[a49_0x53ff25(0x12f)]=a49_0x320a55,a49_0x21bb78['CODECEPTJS']=a49_0x1d9c1b,a49_0x21bb78['HST']=a49_0x415134,a49_0x21bb78[a49_0x53ff25(0x178)]=a49_0x30dbbd,a49_0x21bb78[a49_0x53ff25(0x181)]=0xf*0x3c*0x3e8,a49_0x21bb78['hubUrl']=a49_0x53ff25(0x104),a49_0x21bb78[a49_0x53ff25(0x162)]=a49_0x53ff25(0x18a),a49_0x21bb78[a49_0x53ff25(0xfa)]=a49_0x53ff25(0x102),a49_0x21bb78[a49_0x53ff25(0x119)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x21bb78[a49_0x53ff25(0x108)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x21bb78['ATS_WSS_URL_REGEX']=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a49_0x21bb78['ROOT_CAPS']=['acceptInsecureCerts','pageLoadStrategy',a49_0x53ff25(0x17e),a49_0x53ff25(0x168),'timeouts',a49_0x53ff25(0x13b),a49_0x53ff25(0x121),a49_0x53ff25(0x190),'acceptSslCert',a49_0x53ff25(0x192),a49_0x53ff25(0x15d),a49_0x53ff25(0x12e),'ieOptions'],a49_0x21bb78['ROOT_REGEX']=/^[\w-]+:.*$/,a49_0x21bb78[a49_0x53ff25(0x146)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x21bb78['EDS_URL']='https://eds.browserstack.com',a49_0x21bb78['BROWSERSTACK_API_URL']=a49_0x53ff25(0x11e),a49_0x21bb78[a49_0x53ff25(0x112)]=a49_0x53ff25(0x130),a49_0x21bb78[a49_0x53ff25(0x186)]='sdk/v1/event',a49_0x21bb78[a49_0x53ff25(0x167)]=[a49_0x53ff25(0x156),a49_0x53ff25(0x109)],a49_0x21bb78['APP_AUTOMATE_PRODUCTS']=[a49_0x53ff25(0x11a),a49_0x53ff25(0x109)],a49_0x21bb78['PRODUCT_IF_NOT_BROWSERSTACK_INFRA']=['observability'],a49_0x21bb78[a49_0x53ff25(0x183)]=a49_0x53ff25(0x142),a49_0x21bb78[a49_0x53ff25(0x191)]=[a49_0x53ff25(0x114),a49_0x53ff25(0x150)],a49_0x21bb78[a49_0x53ff25(0x149)]=[a49_0x53ff25(0x156)],a49_0x21bb78[a49_0x53ff25(0x120)]=[a49_0x53ff25(0x11a)],a49_0x21bb78['NUDGE_LOCAL_ERRORS']=[a49_0x53ff25(0x154),a49_0x53ff25(0x125),a49_0x53ff25(0x152),'ERR_NETWORK_CHANGED',a49_0x53ff25(0xff),a49_0x53ff25(0x12b),a49_0x53ff25(0xf2),'ERR_CONNECTION_REFUSED',a49_0x53ff25(0x12d),a49_0x53ff25(0x14a),'ERR_NAME_NOT_RESOLVED',a49_0x53ff25(0x122),'ERR_ADDRESS_UNREACHABLE',a49_0x53ff25(0x134),a49_0x53ff25(0x182),a49_0x53ff25(0x11d),a49_0x53ff25(0x12a),'ERR_PROXY_CONNECTION_FAILED','ERR_NAME_NOT_RESOLVED',a49_0x53ff25(0x18b),a49_0x53ff25(0x14e)],a49_0x21bb78[a49_0x53ff25(0x185)]=[a49_0x53ff25(0x163),'.aab',a49_0x53ff25(0xf3)],a49_0x21bb78[a49_0x53ff25(0x118)]=a49_0x53ff25(0x171),a49_0x21bb78[a49_0x53ff25(0x141)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a49_0x21bb78['CI_ARTIFACTS_PATH']=a49_0x53ff25(0x14f),a49_0x21bb78[a49_0x53ff25(0x143)]=a49_0x53ff25(0x173),a49_0x21bb78[a49_0x53ff25(0x177)]=a49_0x19b332,a49_0x21bb78[a49_0x53ff25(0xfe)]=[a49_0x53ff25(0x140),'mocha'],a49_0x21bb78[a49_0x53ff25(0x15f)]=a49_0x466438,a49_0x21bb78[a49_0x53ff25(0x111)]=a49_0x53ff25(0x117),a49_0x21bb78['PACKAGE_TYPE']=a49_0x27632e,a49_0x21bb78['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a49_0x21bb78[a49_0x53ff25(0xf6)]=a49_0x53ff25(0x13d),a49_0x21bb78['UPGRADE_REQUIRED']=a49_0x53ff25(0x13a),a49_0x21bb78[a49_0x53ff25(0x113)]=a49_0x53ff25(0x18e),a49_0x21bb78[a49_0x53ff25(0x151)]=a49_0x53ff25(0x174),a49_0x21bb78[a49_0x53ff25(0x18f)]=a49_0x53ff25(0x16d),a49_0x21bb78[a49_0x53ff25(0x10d)]=a49_0x53ff25(0x144),a49_0x21bb78[a49_0x53ff25(0x166)]=a49_0x53ff25(0x16f),a49_0x21bb78[a49_0x53ff25(0x189)]=a49_0x53ff25(0x124),a49_0x21bb78[a49_0x53ff25(0x139)]=0x1388,a49_0x21bb78[a49_0x53ff25(0x100)]=0x1388,a49_0x21bb78['HEALING_LOG_DATA_TIMEOUT']=0x1388,a49_0x21bb78[a49_0x53ff25(0x153)]=0x1388,a49_0x21bb78['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a49_0x21bb78[a49_0x53ff25(0xf7)]=a49_0x4312c1,a49_0x21bb78[a49_0x53ff25(0x16a)]=[a49_0x53ff25(0x145),'codeceptjs'],a49_0x21bb78[a49_0x53ff25(0x16e)]=a49_0x45b9ef,module[a49_0x53ff25(0x128)]=a49_0x21bb78;
|
|
1
|
+
var a49_0x1b1805=a49_0x2c7d;(function(_0x5b8356,_0x51b3e0){var _0x1b5747=a49_0x2c7d,_0x205dbd=_0x5b8356();while(!![]){try{var _0x42e543=-parseInt(_0x1b5747(0x148))/0x1+-parseInt(_0x1b5747(0x165))/0x2+-parseInt(_0x1b5747(0x14a))/0x3+-parseInt(_0x1b5747(0x144))/0x4+parseInt(_0x1b5747(0xff))/0x5*(-parseInt(_0x1b5747(0x159))/0x6)+-parseInt(_0x1b5747(0xd7))/0x7*(-parseInt(_0x1b5747(0x132))/0x8)+parseInt(_0x1b5747(0x13e))/0x9;if(_0x42e543===_0x51b3e0)break;else _0x205dbd['push'](_0x205dbd['shift']());}catch(_0x4d3007){_0x205dbd['push'](_0x205dbd['shift']());}}}(a49_0x225f,0xb2ef1));var a49_0x113870={};a49_0x113870[a49_0x1b1805(0x12b)]=a49_0x1b1805(0x111),a49_0x113870['HELP']=a49_0x1b1805(0x100);var a49_0x4adf36={};a49_0x4adf36['INFO']=a49_0x1b1805(0xfc);var a49_0x5a6cc9={};a49_0x5a6cc9[a49_0x1b1805(0x12b)]='Run\x20mocha\x20tests\x20on\x20browserstack';var a49_0x486965={};a49_0x486965[a49_0x1b1805(0x12b)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';var a49_0x237515={};a49_0x237515['INFO']=a49_0x1b1805(0xdf);function a49_0x225f(){var _0x3bddcd=['CUSTOM_ID_REGEX','https://api.browserstack.com','mocha','992LigURU','https://upload-observability.browserstack.com','PERCY_SUPPORTED_FRAMEWORKS','localProxyPass','Playwright','testObservability','turboScale','ERR_NETWORK_CHANGED','browserStackLocalOptions','codeceptjs','FRAMEWORKS','uniqueDependency','46676223lTbzCK','httpsProxy','timeouts','VANILLA','ERR_NAME_NOT_RESOLVED','httpProxy','5792088wUXBRF','CI_ARTIFACTS_PATH','browserVersion','acceptSslCerts','482266eIcBKP','root','3715089jscrMk','accessKey','ERR_CONNECTION_REFUSED','SDKTestTcgAuthFailure','AUTOMATE','percyCaptureMode','percyOptions','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','TCG_AUTH_TIMEOUT','SDKTestInitFailedResponse','acceptSslCert','proxyUrl','pageLoadStrategy','ERR_PROXY_CONNECTION_FAILED','testContextOptions','4506NdhJai','commonjs','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','OBSERVABILITY_UPLOAD_URL','Run\x20playwright\x20tests\x20on\x20Browserstack','HUB_URL_REGEX','SDKTestTcgProxyFailure','chromeOptions','AI_PROXY_FAILURE','proxySettings','ERR_TUNNEL_CONNECTION_FAILED','accessibilityOptions','1476264EOnklp','strictFileInteractability','PRIVATE_DOMAIN_OR_IP_REGEX','disableAutoCaptureLogs','GIT_META_DATA_TRUNCATED','PLAYWRIGHT','MODULE','ERR_SOCKET_NOT_CONNECTED','SHAREABLE_ID_REGEX','ERR_CONNECTION_RESET','APP_AUTOMATE','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','ERR_NAME_RESOLUTION_FAILED','29729UBPAKY','.aab','userName','sdk/v1/event','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','proxyPassword','NIGHTWATCH','turboScaleOptions','Run\x20js\x20tests\x20on\x20browserstack','browserstack.userName','^[a-zA-Z0-9_.-]*$','mandatoryDependency','./browserstack-artifacts/','jest','https://api-cloud.browserstack.com','customVariables','percy','rerunTests','BSTACK_DELTA','SDKTestTcgDownResponse','observability','.apk','ATS_HUB_URL_REGEX','UPGRADE_REQUIRED','ATS_WSS_URL_REGEX','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','invalidKeys','browserstackAutomation','app-automate','AI_INIT_FAILURE','acceptInsecureCerts','localOptions','proxyUser','ERR_ADDRESS_UNREACHABLE','AUTOLOGCAPTURE_NOTIFICATION','COMMONJS','OBSERVABILITY_SUPPORTED_FWS','Run\x20jest\x20tests\x20on\x20browserstack','logLevel','https://hub.browserstack.com/wd/hub','7145IyDcjh','Specify\x20--help\x20for\x20available\x20options','CODECEPTJS','MOCHA','exports','AUTOMATE_PRODUCTS','APP_AUTOMATE_PRODUCTS','ERR_CONNECTION_FAILED','JEST','edgeOptions','PACKAGE_TYPE','Upgrade\x20required','accessibility','ERR_CONNECTION_ABORTED','TCG_DOWN','testObservabilityOptions','APP_UPLOAD_URL','wss://cdp.browserstack.com/playwright?caps=','shows\x20version\x20information','NUDGE_LOCAL_ERRORS','ROOT_CAPS','VERSION','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','ERR_CONNECTION_TIMED_OUT','automate','BROWSERSTACK_API_URL','platforms','localProxyUser','browserstackLocal','ERR_TIMED_OUT','framework','.ipa','parallelsPerPlatform','CUCUMBER','Run\x20nightwatch\x20tests\x20on\x20browserstack','TCG_AUTH_FAILURE','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','use','HEALING_FAILURE_TIMEOUT','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','ERR_CONNECTION_CLOSED','TCG_URL','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','INFO','https://eds.browserstack.com','SDK_INSTRUMENTATION_CONFIG','VALID_APP_EXTENSION'];a49_0x225f=function(){return _0x3bddcd;};return a49_0x225f();}function a49_0x2c7d(_0x489d25,_0x2231bc){var _0x225fcd=a49_0x225f();return a49_0x2c7d=function(_0x2c7d81,_0x20ffe7){_0x2c7d81=_0x2c7d81-0xd7;var _0x5faa2c=_0x225fcd[_0x2c7d81];return _0x5faa2c;},a49_0x2c7d(_0x489d25,_0x2231bc);}var a49_0x1084f8={};a49_0x1084f8['INFO']=a49_0x1b1805(0x121);var a49_0x1d16a0={};a49_0x1d16a0[a49_0x1b1805(0x12b)]=a49_0x1b1805(0x15d);var a49_0x382394={};a49_0x382394[a49_0x1b1805(0x12b)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';var a49_0x51faaa={};a49_0x51faaa[a49_0x1b1805(0x12b)]=a49_0x1b1805(0x170);var a49_0x5d5dbf={};a49_0x5d5dbf[a49_0x1b1805(0x12b)]=a49_0x1b1805(0x151);var a49_0x2711ef={};a49_0x2711ef[a49_0x1b1805(0x16a)]=a49_0x1b1805(0x136),a49_0x2711ef['MOCHA']=a49_0x1b1805(0x131),a49_0x2711ef[a49_0x1b1805(0x107)]=a49_0x1b1805(0xe4),a49_0x2711ef['CODECEPT']=a49_0x1b1805(0x13b),a49_0x2711ef[a49_0x1b1805(0x120)]='cucumber';var a49_0x53e62b={};a49_0x53e62b[a49_0x1b1805(0xf1)]=a49_0x1b1805(0x127),a49_0x53e62b[a49_0x1b1805(0x13d)]=a49_0x1b1805(0x15b),a49_0x53e62b[a49_0x1b1805(0xe2)]='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x53e62b['invalidTestInputType']=a49_0x1b1805(0xdb);var a49_0x1ea24d={};a49_0x1ea24d[a49_0x1b1805(0xfa)]=a49_0x1b1805(0x15a),a49_0x1ea24d[a49_0x1b1805(0x16b)]='module';var a49_0x2910c3={};a49_0x2910c3[a49_0x1b1805(0x149)]=[a49_0x1b1805(0xd9),a49_0x1b1805(0x14b),a49_0x1b1805(0x143),a49_0x1b1805(0x13f),a49_0x1b1805(0xe6),a49_0x1b1805(0xe0),'browserstack.accessKey',a49_0x1b1805(0xdc),'authToken',a49_0x1b1805(0x155),'browserstack.overridelocalInfo.userAuthToken'],a49_0x2910c3[a49_0x1b1805(0x13a)]=[a49_0x1b1805(0xf7),'proxyPass',a49_0x1b1805(0x11a),a49_0x1b1805(0x135)];var a49_0x36d888={};a49_0x36d888[a49_0x1b1805(0x11b)]=a49_0x1b1805(0x11b),a49_0x36d888[a49_0x1b1805(0x13a)]=a49_0x1b1805(0x13a),a49_0x36d888[a49_0x1b1805(0xf6)]=a49_0x1b1805(0x13a),a49_0x36d888[a49_0x1b1805(0x11f)]=a49_0x1b1805(0x11f),a49_0x36d888['platforms']=a49_0x1b1805(0x119),a49_0x36d888['logLevel']=a49_0x1b1805(0xfd),a49_0x36d888['httpProxy']=a49_0x1b1805(0x143),a49_0x36d888[a49_0x1b1805(0x13f)]=a49_0x1b1805(0x13f),a49_0x36d888[a49_0x1b1805(0x11d)]=a49_0x1b1805(0x11d),a49_0x36d888[a49_0x1b1805(0x158)]=a49_0x1b1805(0x158),a49_0x36d888[a49_0x1b1805(0x137)]='testObservability',a49_0x36d888[a49_0x1b1805(0x10e)]=a49_0x1b1805(0x10e),a49_0x36d888[a49_0x1b1805(0xe6)]=a49_0x1b1805(0xe6),a49_0x36d888['automation']=a49_0x1b1805(0xf2),a49_0x36d888[a49_0x1b1805(0xf2)]=a49_0x1b1805(0xf2),a49_0x36d888[a49_0x1b1805(0xe8)]=a49_0x1b1805(0xe8),a49_0x36d888[a49_0x1b1805(0xe7)]=a49_0x1b1805(0xe7),a49_0x36d888[a49_0x1b1805(0x150)]=a49_0x1b1805(0x150),a49_0x36d888[a49_0x1b1805(0x14f)]=a49_0x1b1805(0x14f),a49_0x36d888[a49_0x1b1805(0x168)]=a49_0x1b1805(0x168),a49_0x36d888[a49_0x1b1805(0x10b)]=a49_0x1b1805(0x10b),a49_0x36d888['accessibilityOptions']=a49_0x1b1805(0x164),a49_0x36d888[a49_0x1b1805(0x138)]=a49_0x1b1805(0x138),a49_0x36d888['turboScaleOptions']=a49_0x1b1805(0xde),a49_0x36d888[a49_0x1b1805(0x162)]='proxySettings';var a49_0x49a30f={};a49_0x49a30f[a49_0x1b1805(0x114)]=a49_0x113870,a49_0x49a30f[a49_0x1b1805(0x107)]=a49_0x4adf36,a49_0x49a30f[a49_0x1b1805(0x102)]=a49_0x5a6cc9,a49_0x49a30f[a49_0x1b1805(0x120)]=a49_0x486965,a49_0x49a30f[a49_0x1b1805(0x141)]=a49_0x237515,a49_0x49a30f[a49_0x1b1805(0xdd)]=a49_0x1084f8,a49_0x49a30f[a49_0x1b1805(0x16a)]=a49_0x1d16a0,a49_0x49a30f[a49_0x1b1805(0x101)]=a49_0x382394,a49_0x49a30f['HST']=a49_0x51faaa,a49_0x49a30f['INTEGRATIONS']=a49_0x5d5dbf,a49_0x49a30f[a49_0x1b1805(0xe9)]=0xf*0x3c*0x3e8,a49_0x49a30f['hubUrl']=a49_0x1b1805(0xfe),a49_0x49a30f[a49_0x1b1805(0x129)]='https://tcg.browserstack.com',a49_0x49a30f['TCG_REGION']=a49_0x1b1805(0x124),a49_0x49a30f[a49_0x1b1805(0x15e)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x49a30f[a49_0x1b1805(0xed)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x49a30f[a49_0x1b1805(0xef)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a49_0x49a30f[a49_0x1b1805(0x113)]=[a49_0x1b1805(0xf5),a49_0x1b1805(0x156),a49_0x1b1805(0x166),'unhandledPromptBehavior',a49_0x1b1805(0x140),'browserName',a49_0x1b1805(0x146),a49_0x1b1805(0x147),a49_0x1b1805(0x154),a49_0x1b1805(0x160),'firefoxOptions',a49_0x1b1805(0x108),'ieOptions'],a49_0x49a30f['ROOT_REGEX']=/^[\w-]+:.*$/,a49_0x49a30f[a49_0x1b1805(0x167)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x49a30f['EDS_URL']=a49_0x1b1805(0x12c),a49_0x49a30f[a49_0x1b1805(0x118)]=a49_0x1b1805(0x130),a49_0x49a30f[a49_0x1b1805(0x10f)]=a49_0x1b1805(0xe5),a49_0x49a30f['FUNNEL_INSTRUMENTATION_API_URL']=a49_0x1b1805(0xda),a49_0x49a30f[a49_0x1b1805(0x104)]=[a49_0x1b1805(0x117),'observability'],a49_0x49a30f[a49_0x1b1805(0x105)]=['app-automate','observability'],a49_0x49a30f[a49_0x1b1805(0x126)]=[a49_0x1b1805(0xeb)],a49_0x49a30f[a49_0x1b1805(0x15c)]=a49_0x1b1805(0x133),a49_0x49a30f[a49_0x1b1805(0xfb)]=['mocha',a49_0x1b1805(0x136)],a49_0x49a30f[a49_0x1b1805(0x14e)]=['automate'],a49_0x49a30f[a49_0x1b1805(0x16f)]=[a49_0x1b1805(0xf3)],a49_0x49a30f[a49_0x1b1805(0x112)]=['ERR_FAILED',a49_0x1b1805(0x11c),'ERR_BLOCKED_BY_CLIENT',a49_0x1b1805(0x139),a49_0x1b1805(0x16c),a49_0x1b1805(0x128),a49_0x1b1805(0x16e),a49_0x1b1805(0x14c),a49_0x1b1805(0x10c),a49_0x1b1805(0x106),a49_0x1b1805(0x142),'ERR_ADDRESS_INVALID',a49_0x1b1805(0xf8),a49_0x1b1805(0x163),a49_0x1b1805(0x116),'ERR_SOCKS_CONNECTION_FAILED',a49_0x1b1805(0xf0),a49_0x1b1805(0x157),a49_0x1b1805(0x142),a49_0x1b1805(0x171),a49_0x1b1805(0x12a)],a49_0x49a30f[a49_0x1b1805(0x12e)]=[a49_0x1b1805(0xec),a49_0x1b1805(0xd8),a49_0x1b1805(0x11e)],a49_0x49a30f[a49_0x1b1805(0x12f)]=a49_0x1b1805(0xe1),a49_0x49a30f[a49_0x1b1805(0x16d)]=a49_0x1b1805(0x115),a49_0x49a30f[a49_0x1b1805(0x145)]=a49_0x1b1805(0xe3),a49_0x49a30f['PLAYWRIGHT_HUB_URL']=a49_0x1b1805(0x110),a49_0x49a30f[a49_0x1b1805(0x13c)]=a49_0x2711ef,a49_0x49a30f[a49_0x1b1805(0x134)]=[a49_0x1b1805(0xe4),a49_0x1b1805(0x131)],a49_0x49a30f['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a49_0x53e62b,a49_0x49a30f[a49_0x1b1805(0xf9)]=a49_0x1b1805(0x123),a49_0x49a30f[a49_0x1b1805(0x109)]=a49_0x1ea24d,a49_0x49a30f['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a49_0x49a30f[a49_0x1b1805(0x169)]='...[TRUNCATED]',a49_0x49a30f[a49_0x1b1805(0xee)]=a49_0x1b1805(0x10a),a49_0x49a30f[a49_0x1b1805(0x10d)]=a49_0x1b1805(0xea),a49_0x49a30f['INVALID_INIT_RESP_WITH_USER_IMPACT']='SDKTestInvalidTcgAuthResponseWithUserImpact',a49_0x49a30f[a49_0x1b1805(0x122)]=a49_0x1b1805(0x14d),a49_0x49a30f['AI_INIT_SUCCESSFUL']='SDKTestTcgtInitSuccessful',a49_0x49a30f[a49_0x1b1805(0xf4)]=a49_0x1b1805(0x153),a49_0x49a30f[a49_0x1b1805(0x161)]=a49_0x1b1805(0x15f),a49_0x49a30f[a49_0x1b1805(0x152)]=0x1388,a49_0x49a30f['SET_TCG_TOKEN_TIMEOUT']=0x1388,a49_0x49a30f['HEALING_LOG_DATA_TIMEOUT']=0x1388,a49_0x49a30f[a49_0x1b1805(0x125)]=0x1388,a49_0x49a30f['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a49_0x49a30f['REDACTED_KEYS']=a49_0x2910c3,a49_0x49a30f['AI_ENABLED_FRAMEWORK']=['vanilla',a49_0x1b1805(0x13b)],a49_0x49a30f[a49_0x1b1805(0x12d)]=a49_0x36d888,module[a49_0x1b1805(0x103)]=a49_0x49a30f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50_0x261ea8=a50_0x15ce;(function(_0x430388,_0x21d308){const _0x278bcc=a50_0x15ce,_0x38d0a1=_0x430388();while(!![]){try{const _0x2a46c4=parseInt(_0x278bcc(0x17e))/0x1+-parseInt(_0x278bcc(0x17b))/0x2*(parseInt(_0x278bcc(0x178))/0x3)+-parseInt(_0x278bcc(0x189))/0x4+parseInt(_0x278bcc(0x187))/0x5+-parseInt(_0x278bcc(0x186))/0x6*(parseInt(_0x278bcc(0x17a))/0x7)+-parseInt(_0x278bcc(0x179))/0x8*(parseInt(_0x278bcc(0x184))/0x9)+parseInt(_0x278bcc(0x18b))/0xa*(parseInt(_0x278bcc(0x181))/0xb);if(_0x2a46c4===_0x21d308)break;else _0x38d0a1['push'](_0x38d0a1['shift']());}catch(_0x1f04bb){_0x38d0a1['push'](_0x38d0a1['shift']());}}}(a50_0x2467,0x7d57e));const logReportingAPI=require('./logReportingAPI'),BSTestOpsLogger=new logReportingAPI({});function a50_0x15ce(_0x1fddf9,_0x520d24){const _0x246779=a50_0x2467();return a50_0x15ce=function(_0x15cee1,_0x172360){_0x15cee1=_0x15cee1-0x178;let _0x34c800=_0x246779[_0x15cee1];return _0x34c800;},a50_0x15ce(_0x1fddf9,_0x520d24);}function BSTestOpsLog4JSAppender(_0x2a85ef,_0x2f6888){return _0x14b445=>{const _0x3cd29f=a50_0x15ce;BSTestOpsLogger[_0x3cd29f(0x180)]({'level':_0x14b445[_0x3cd29f(0x17d)]?_0x14b445['level'][_0x3cd29f(0x183)]:null,'message':_0x14b445[_0x3cd29f(0x18c)]?_0x14b445['data'][_0x3cd29f(0x17f)]('\x20'):null});};}function a50_0x2467(){const _0x454b76=['454UUrduP','layout','level','903770wjfZSO','join','log','33kkMOCY','timezoneOffset','levelStr','3897QBFPYw','type','76848DyPOad','3086025eQVxxG','CctTL','1813764fwISbA','configure','2965870ctxvXK','data','9069cjgYtI','7136jPJRLT','203xYWCWW'];a50_0x2467=function(){return _0x454b76;};return a50_0x2467();}exports[a50_0x261ea8(0x18a)]=(_0x440812,_0x3890d8)=>{const _0xcf2393=a50_0x261ea8,_0x57e8ea={'CctTL':function(_0x3ac589,_0x533f42,_0x50cf0a){return _0x3ac589(_0x533f42,_0x50cf0a);}};let _0x257e6e=_0x3890d8['colouredLayout'];return _0x440812['layout']&&(_0x257e6e=_0x3890d8[_0xcf2393(0x17c)](_0x440812[_0xcf2393(0x17c)][_0xcf2393(0x185)],_0x440812['layout'])),_0x57e8ea[_0xcf2393(0x188)](BSTestOpsLog4JSAppender,_0x257e6e,_0x440812[_0xcf2393(0x182)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a51_0x4e0d(_0x564bbc,_0x5e7692){const _0x355c4a=a51_0x355c();return a51_0x4e0d=function(_0x4e0d32,_0x1d2682){_0x4e0d32=_0x4e0d32-0x75;let _0x2f66c4=_0x355c4a[_0x4e0d32];return _0x2f66c4;},a51_0x4e0d(_0x564bbc,_0x5e7692);}const a51_0x36bb72=a51_0x4e0d;(function(_0x201f61,_0x398b49){const _0x5e7bc2=a51_0x4e0d,_0x52d0c1=_0x201f61();while(!![]){try{const _0x78ebf2=-parseInt(_0x5e7bc2(0x93))/0x1+parseInt(_0x5e7bc2(0x85))/0x2+-parseInt(_0x5e7bc2(0x8d))/0x3*(-parseInt(_0x5e7bc2(0x90))/0x4)+-parseInt(_0x5e7bc2(0x8b))/0x5+-parseInt(_0x5e7bc2(0x7c))/0x6*(parseInt(_0x5e7bc2(0x88))/0x7)+-parseInt(_0x5e7bc2(0x92))/0x8+-parseInt(_0x5e7bc2(0x8c))/0x9*(-parseInt(_0x5e7bc2(0x89))/0xa);if(_0x78ebf2===_0x398b49)break;else _0x52d0c1['push'](_0x52d0c1['shift']());}catch(_0x221cad){_0x52d0c1['push'](_0x52d0c1['shift']());}}}(a51_0x355c,0x7428c));function a51_0x355c(){const _0x377b49=['INFO','toLowerCase','../../helpers/test-observability/constants','error','exports','emit','390192uwWJzM','DEBUG','bs:addLog:','19614hITnIu','10ozRRTZ','logToTestOps','4121465czZyhT','7493436ngCEku','873DCGVQP','toISOString','TEST_LOG','5056VqvuTV','AMLtN','133368ZMyLpR','19930FiDNPN','log','winston-transport','ERROR','pid','join','TRACE','toUpperCase','126YaSTPv','trace','WARN'];a51_0x355c=function(){return _0x377b49;};return a51_0x355c();}const Transport=require(a51_0x36bb72(0x76)),{consoleHolder}=require(a51_0x36bb72(0x81)),a51_0x2b7352={};a51_0x2b7352[a51_0x36bb72(0x7f)]=a51_0x36bb72(0x7f),a51_0x2b7352[a51_0x36bb72(0x77)]=a51_0x36bb72(0x77),a51_0x2b7352[a51_0x36bb72(0x86)]=a51_0x36bb72(0x86),a51_0x2b7352['TRACE']='TRACE',a51_0x2b7352['WARN']=a51_0x36bb72(0x7e);const LOG_LEVELS=a51_0x2b7352;class logPatcher extends Transport{constructor(_0x5c2f70){super(_0x5c2f70);}[a51_0x36bb72(0x8a)]=(_0x1ef282=LOG_LEVELS[a51_0x36bb72(0x7f)],_0x3aff4e=[''])=>{const _0x3eaac7=a51_0x36bb72,_0xff318f={};_0xff318f['AMLtN']=_0x3eaac7(0x8f);const _0x5141fa=_0xff318f;consoleHolder[_0x1ef282[_0x3eaac7(0x80)]()](..._0x3aff4e),process[_0x3eaac7(0x84)](_0x3eaac7(0x87)+process[_0x3eaac7(0x78)],{'timestamp':new Date()[_0x3eaac7(0x8e)](),'level':_0x1ef282[_0x3eaac7(0x7b)](),'message':'\x22'+_0x3aff4e[_0x3eaac7(0x79)](',\x20')+'\x22','kind':_0x5141fa[_0x3eaac7(0x91)],'http_response':{}});};[a51_0x36bb72(0x7d)]=(..._0x58390f)=>{const _0x5874d2=a51_0x36bb72;this[_0x5874d2(0x8a)](LOG_LEVELS[_0x5874d2(0x7a)],_0x58390f);};['debug']=(..._0x493a8c)=>{const _0x4636ef=a51_0x36bb72;this[_0x4636ef(0x8a)](LOG_LEVELS[_0x4636ef(0x86)],_0x493a8c);};['info']=(..._0x2b3380)=>{const _0x35efaf=a51_0x36bb72;this[_0x35efaf(0x8a)](LOG_LEVELS[_0x35efaf(0x7f)],_0x2b3380);};['warn']=(..._0x22afee)=>{const _0x17bd48=a51_0x36bb72;this[_0x17bd48(0x8a)](LOG_LEVELS[_0x17bd48(0x7e)],_0x22afee);};[a51_0x36bb72(0x82)]=(..._0x23243c)=>{const _0x280533=a51_0x36bb72;this[_0x280533(0x8a)](LOG_LEVELS[_0x280533(0x77)],_0x23243c);};[a51_0x36bb72(0x75)]=(..._0x1c1324)=>{const _0x4322a9=a51_0x36bb72;this[_0x4322a9(0x8a)](LOG_LEVELS[_0x4322a9(0x7f)],_0x1c1324);};};module[a51_0x36bb72(0x83)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a52_0x15e2(_0x25171c,_0x3ef14b){const _0x2fb880=a52_0x2fb8();return a52_0x15e2=function(_0x15e2af,_0x34e619){_0x15e2af=_0x15e2af-0xe7;let _0x544da2=_0x2fb880[_0x15e2af];return _0x544da2;},a52_0x15e2(_0x25171c,_0x3ef14b);}const a52_0x3c5167=a52_0x15e2;(function(_0x4a7ed9,_0x26d415){const _0x22950e=a52_0x15e2,_0x3e93d3=_0x4a7ed9();while(!![]){try{const _0x25d9bc=parseInt(_0x22950e(0xfa))/0x1+parseInt(_0x22950e(0xfe))/0x2+parseInt(_0x22950e(0x102))/0x3*(-parseInt(_0x22950e(0xf6))/0x4)+-parseInt(_0x22950e(0x100))/0x5*(parseInt(_0x22950e(0x107))/0x6)+-parseInt(_0x22950e(0x106))/0x7+parseInt(_0x22950e(0xeb))/0x8*(parseInt(_0x22950e(0xef))/0x9)+-parseInt(_0x22950e(0xea))/0xa*(-parseInt(_0x22950e(0xe9))/0xb);if(_0x25d9bc===_0x26d415)break;else _0x3e93d3['push'](_0x3e93d3['shift']());}catch(_0x36afbe){_0x3e93d3['push'](_0x3e93d3['shift']());}}}(a52_0x2fb8,0x4b493));const Transport=require('winston-transport'),{consoleHolder}=require(a52_0x3c5167(0xed)),a52_0x47a9ff={};a52_0x47a9ff[a52_0x3c5167(0xff)]=a52_0x3c5167(0xff),a52_0x47a9ff[a52_0x3c5167(0x109)]='ERROR',a52_0x47a9ff[a52_0x3c5167(0xfc)]=a52_0x3c5167(0xfc),a52_0x47a9ff[a52_0x3c5167(0xf2)]=a52_0x3c5167(0xf2),a52_0x47a9ff['WARN']=a52_0x3c5167(0xfb);const LOG_LEVELS=a52_0x47a9ff;function a52_0x2fb8(){const _0xacb430=['toUpperCase','ZZIMY','logToTestOps','1626730JzTyRQ','1818pjOrqK','pid','ERROR','emit','exports','506YjVFLz','47910xTECJm','1016UAGewT','bs:addLog:','../../helpers/test-observability/constants','level','25686pMrXLE','logged','log','TRACE','warn','info','toISOString','4nFFgbQ','tXDvB','message','trace','384108OqKPgM','WARN','DEBUG','object','434744mVyCFk','INFO','6175QqFvCG','debug','808074XDMyMM'];a52_0x2fb8=function(){return _0xacb430;};return a52_0x2fb8();}class logReportingAPI extends Transport{constructor(_0x492125){super(_0x492125);}[a52_0x3c5167(0xf1)](_0x4c8b88,_0x3f0b58){const _0x22e630=a52_0x3c5167,_0x250b66={'jJEnA':_0x22e630(0xf0),'kugFX':function(_0x2eaef5,_0xce3213){return _0x2eaef5(_0xce3213);},'cciib':function(_0x5206a0,_0x5bfff3){return _0x5206a0===_0x5bfff3;},'boPYI':_0x22e630(0xfd),'tXDvB':function(_0x152ea5){return _0x152ea5();}};_0x250b66['kugFX'](setImmediate,()=>{const _0x5203e5=_0x22e630;this[_0x5203e5(0xe7)](_0x250b66['jJEnA'],_0x4c8b88);}),_0x250b66['cciib'](typeof _0x4c8b88,_0x250b66['boPYI'])?this['logToTestOps'](_0x4c8b88[_0x22e630(0xee)]||LOG_LEVELS[_0x22e630(0xff)],_0x4c8b88[_0x22e630(0xf8)],![]):this['logToTestOps'](LOG_LEVELS[_0x22e630(0xff)],_0x4c8b88),_0x3f0b58&&_0x250b66[_0x22e630(0xf7)](_0x3f0b58);}[a52_0x3c5167(0x105)]=(_0x28a561=LOG_LEVELS[a52_0x3c5167(0xff)],_0x49ff4d='',_0x535e0a=!![])=>{const _0x4a48e0=a52_0x3c5167,_0x405af1={};_0x405af1['ZZIMY']='TEST_LOG';const _0x3e4d9e=_0x405af1;_0x535e0a&&consoleHolder[_0x28a561['toLowerCase']()](_0x49ff4d),process['emit'](_0x4a48e0(0xec)+process[_0x4a48e0(0x108)],{'timestamp':new Date()[_0x4a48e0(0xf5)](),'level':_0x28a561[_0x4a48e0(0x103)](),'message':_0x49ff4d,'kind':_0x3e4d9e[_0x4a48e0(0x104)],'http_response':{}});};[a52_0x3c5167(0xf9)]=(_0x11f573,_0x562b4f)=>{const _0x103068=a52_0x3c5167;this[_0x103068(0x105)](LOG_LEVELS[_0x103068(0xf2)],_0x11f573);};[a52_0x3c5167(0x101)]=(_0x5df042,_0x11d8d5)=>{this['logToTestOps'](LOG_LEVELS['DEBUG'],_0x5df042);};[a52_0x3c5167(0xf4)]=(_0x40f4d4,_0x5acf61)=>{const _0x591612=a52_0x3c5167;this[_0x591612(0x105)](LOG_LEVELS[_0x591612(0xff)],_0x40f4d4);};[a52_0x3c5167(0xf3)]=(_0x8594b3,_0x264be1)=>{const _0x4a702d=a52_0x3c5167;this['logToTestOps'](LOG_LEVELS[_0x4a702d(0xfb)],_0x8594b3);};['error']=(_0xa087a1,_0x31183d)=>{const _0x105771=a52_0x3c5167;this[_0x105771(0x105)](LOG_LEVELS[_0x105771(0x109)],_0xa087a1);};};module[a52_0x3c5167(0xe8)]=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function
|
|
2
|
+
'use strict';function a53_0x3b1f(){const _0x3f13e6=['existsSync','finally','File\x20path\x20is\x20required','\x20doesn\x27t\x20exist','SDK_CLEANUP','../../helpers/performance/constants','../../helpers/utilities','end','1692526wOspiK','LSglC','proxySettings','tJVNi','file','getPlatformName','nTEae','647240OyThgQ','363hObpYh','push','JWIQm','config','10bqFmCf','8uBxFkl','forEach','../../helpers/BrowserStackSetup','ihscZ','platforms','args','Config\x20yml\x20is\x20required','SDK_SETUP','3188bqFFgU','cwd','modifyBrowserStackW3CCaps','1501dWQKWQ','modifyBrowserStackCaps','File\x20','exports','index','../../helpers/testhub/testhubHandler','../test-runner','assign','length','602959XEVhFE','gARMq','Pcrau','path','configuration','launchBuild','getHubUrl','finalExecution','619614EVupEt','then','422rInaxE','join','1518330Uxsxpu','EVENTS','../../helpers/helper','vanilla'];a53_0x3b1f=function(){return _0x3f13e6;};return a53_0x3b1f();}const a53_0x489cbc=a53_0x5b52;(function(_0x3423c5,_0x1626d3){const _0x4a4bc0=a53_0x5b52,_0x3c0400=_0x3423c5();while(!![]){try{const _0x191962=parseInt(_0x4a4bc0(0x217))/0x1*(-parseInt(_0x4a4bc0(0x1f1))/0x2)+parseInt(_0x4a4bc0(0x207))/0x3*(parseInt(_0x4a4bc0(0x214))/0x4)+parseInt(_0x4a4bc0(0x206))/0x5+parseInt(_0x4a4bc0(0x1f3))/0x6+parseInt(_0x4a4bc0(0x220))/0x7*(-parseInt(_0x4a4bc0(0x20c))/0x8)+-parseInt(_0x4a4bc0(0x1ef))/0x9*(parseInt(_0x4a4bc0(0x20b))/0xa)+parseInt(_0x4a4bc0(0x1ff))/0xb;if(_0x191962===_0x1626d3)break;else _0x3c0400['push'](_0x3c0400['shift']());}catch(_0x57a96c){_0x3c0400['push'](_0x3c0400['shift']());}}}(a53_0x3b1f,0x27558));const fs=require('fs'),path=require(a53_0x489cbc(0x1ea)),{default:BrowserStackSetup}=require(a53_0x489cbc(0x20e)),helper=require(a53_0x489cbc(0x1f5)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a53_0x489cbc(0x1fc))[a53_0x489cbc(0x1f4)],utilities=require(a53_0x489cbc(0x1fd)),{parallelVanillaRun}=require(a53_0x489cbc(0x21d)),TestHubHandler=require(a53_0x489cbc(0x21c));async function run(_0xd3ca4d,_0x16e43f){const _0x5d6a1e=a53_0x489cbc,_0x47ff6a={'nTEae':_0x5d6a1e(0x1f6),'GqMMr':function(_0x3ef092,_0x1fcd34){return _0x3ef092(_0x1fcd34);},'JWIQm':_0x5d6a1e(0x1f9),'gARMq':function(_0x37dae1,_0x3ceb8c){return _0x37dae1(_0x3ceb8c);},'LSglC':_0x5d6a1e(0x212),'tPbAB':function(_0x32570b,_0x569d22){return _0x32570b>_0x569d22;},'tJVNi':function(_0x10d74a,_0x49c34a){return _0x10d74a>_0x49c34a;},'ihscZ':function(_0x5c9702,_0x168e0d){return _0x5c9702*_0x168e0d;},'Pcrau':function(_0x987bc8,_0x3cb49c,_0x53cc3a){return _0x987bc8(_0x3cb49c,_0x53cc3a);}},_0x4bba21=new BrowserStackSetup(_0xd3ca4d,_0x47ff6a[_0x5d6a1e(0x205)]);await _0x4bba21['initialize'](),await helper['handleApp'](_0x4bba21[_0x5d6a1e(0x20a)]);const _0x142c67=[];if(helper['isUndefined'](_0xd3ca4d['_'][0x1]))throw _0x47ff6a['GqMMr'](Error,_0x47ff6a[_0x5d6a1e(0x209)]);const _0x373aca=path[_0x5d6a1e(0x1f2)](process[_0x5d6a1e(0x215)](),_0xd3ca4d['_'][0x1]);if(!fs[_0x5d6a1e(0x1f7)](_0x373aca))throw _0x47ff6a[_0x5d6a1e(0x1e8)](Error,_0x5d6a1e(0x219)+_0xd3ca4d['_'][0x1]+_0x5d6a1e(0x1fa));if(!_0x4bba21[_0x5d6a1e(0x20a)])throw _0x47ff6a[_0x5d6a1e(0x1e8)](Error,_0x47ff6a[_0x5d6a1e(0x200)]);const _0xa3b566=helper['useW3C'](_0x4bba21[_0x5d6a1e(0x20a)]);_0x4bba21[_0x5d6a1e(0x20a)][_0x5d6a1e(0x210)]&&_0x47ff6a['tPbAB'](_0x4bba21[_0x5d6a1e(0x20a)][_0x5d6a1e(0x210)][_0x5d6a1e(0x21f)],0x0)&&_0x4bba21[_0x5d6a1e(0x20a)][_0x5d6a1e(0x210)]['forEach']((_0x319543,_0x341ee7)=>{const _0x15850d=_0x5d6a1e;_0xa3b566?_0x142c67['push'](helper[_0x15850d(0x216)](_0x4bba21[_0x15850d(0x20a)],_0x47ff6a[_0x15850d(0x205)],_0x341ee7)):_0x142c67[_0x15850d(0x208)](helper[_0x15850d(0x218)](_0x4bba21[_0x15850d(0x20a)],_0x47ff6a[_0x15850d(0x205)],_0x341ee7));});let _0x118c5a,_0x449d38;const _0x26260f=[];if(_0x47ff6a[_0x5d6a1e(0x202)](_0x142c67[_0x5d6a1e(0x21f)],0x0))_0x142c67[_0x5d6a1e(0x20d)]((_0x3d4dee,_0x1b0f76)=>{const _0x41fd49=_0x5d6a1e,_0x4349e1={};_0x4349e1[_0x41fd49(0x21b)]=_0x1b0f76,_0x118c5a={'server':helper[_0x41fd49(0x1ed)](_0x4bba21['config']),'proxySettings':_0x4bba21['config'][_0x41fd49(0x201)],'platform':helper[_0x41fd49(0x204)](_0x3d4dee),'platformCaps':Object[_0x41fd49(0x21e)](_0x4349e1,_0x4bba21[_0x41fd49(0x20a)][_0x41fd49(0x210)][_0x1b0f76])};const _0x5e4c31={'capability':_0x3d4dee,..._0x118c5a};_0x5e4c31[_0x41fd49(0x203)]=_0x373aca,_0x5e4c31[_0x41fd49(0x211)]=_0x16e43f;const _0x569a2f={};_0x569a2f[_0x41fd49(0x1eb)]=_0x5e4c31,_0x449d38=_0x569a2f,_0x26260f[_0x41fd49(0x208)](_0x449d38);});else{let _0x456963;_0xa3b566?_0x456963=helper['modifyBrowserStackW3CCaps'](_0x4bba21['config'],_0x47ff6a['nTEae'],0x0):_0x456963=helper[_0x5d6a1e(0x218)](_0x4bba21[_0x5d6a1e(0x20a)],_0x47ff6a[_0x5d6a1e(0x205)],0x0);_0x118c5a={'server':helper[_0x5d6a1e(0x1ed)](_0x4bba21[_0x5d6a1e(0x20a)]),'proxySettings':_0x4bba21['config'][_0x5d6a1e(0x201)]};const _0x3e95f0={'capability':_0x456963,..._0x118c5a};_0x3e95f0[_0x5d6a1e(0x203)]=_0x373aca,_0x3e95f0[_0x5d6a1e(0x211)]=_0x16e43f;const _0x11be4c={};_0x11be4c[_0x5d6a1e(0x1eb)]=_0x3e95f0,_0x449d38=_0x11be4c,_0x26260f['push'](_0x449d38);}const _0x462896=await TestHubHandler[_0x5d6a1e(0x1ec)](_0x47ff6a[_0x5d6a1e(0x205)],_0x4bba21),_0x5e93e4=_0x47ff6a[_0x5d6a1e(0x20f)](_0x4bba21[_0x5d6a1e(0x20a)][_0x5d6a1e(0x210)][_0x5d6a1e(0x21f)]||0x1,_0x4bba21[_0x5d6a1e(0x20a)]['parallelsPerPlatform']||0x1);PerformanceTester[_0x5d6a1e(0x1fe)](PerformanceEvents[_0x5d6a1e(0x213)]),_0x47ff6a[_0x5d6a1e(0x1e9)](parallelVanillaRun,_0x26260f,_0x5e93e4)[_0x5d6a1e(0x1f0)](_0x589e42=>{})[_0x5d6a1e(0x1f8)](async()=>{const _0x2b8297=_0x5d6a1e;PerformanceTester['start'](PerformanceEvents[_0x2b8297(0x1fb)]),await utilities[_0x2b8297(0x1ee)](_0x4bba21);});}function a53_0x5b52(_0x26cfcc,_0x246bbc){const _0x3b1f05=a53_0x3b1f();return a53_0x5b52=function(_0x5b5289,_0x4f17c8){_0x5b5289=_0x5b5289-0x1e8;let _0x55f13b=_0x3b1f05[_0x5b5289];return _0x55f13b;},a53_0x5b52(_0x26cfcc,_0x246bbc);}module[a53_0x489cbc(0x21a)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x424cc0,_0x4c9eda){const _0x32e981=a54_0x335d,_0x195b37=_0x424cc0();while(!![]){try{const _0x84aba=-parseInt(_0x32e981(0xfd))/0x1+parseInt(_0x32e981(0xf5))/0x2+-parseInt(_0x32e981(0x107))/0x3*(parseInt(_0x32e981(0xea))/0x4)+-parseInt(_0x32e981(0xf9))/0x5+parseInt(_0x32e981(0xfb))/0x6+parseInt(_0x32e981(0xed))/0x7+parseInt(_0x32e981(0x104))/0x8*(-parseInt(_0x32e981(0x103))/0x9);if(_0x84aba===_0x4c9eda)break;else _0x195b37['push'](_0x195b37['shift']());}catch(_0x5d1933){_0x195b37['push'](_0x195b37['shift']());}}}(a54_0x1332,0xcd16d));class BrowserStackSdk{static['getCurrentPlatform'](){const _0x188374=a54_0x335d,_0x1c4c49={};_0x1c4c49[_0x188374(0xf7)]=_0x188374(0xec),_0x1c4c49[_0x188374(0x105)]=_0x188374(0x102),_0x1c4c49[_0x188374(0x100)]=_0x188374(0xe7),_0x1c4c49['DNtvi']=_0x188374(0xfc),_0x1c4c49[_0x188374(0xf1)]=_0x188374(0xf4),_0x1c4c49[_0x188374(0xfa)]=_0x188374(0xe9),_0x1c4c49[_0x188374(0xe8)]=_0x188374(0xee),_0x1c4c49[_0x188374(0xf0)]=_0x188374(0xf2),_0x1c4c49[_0x188374(0xf3)]='platform',_0x1c4c49[_0x188374(0x108)]=_0x188374(0xf6),_0x1c4c49[_0x188374(0xe6)]=_0x188374(0xef),_0x1c4c49[_0x188374(0xfe)]=_0x188374(0xf8),_0x1c4c49[_0x188374(0xff)]=_0x188374(0x106);const _0x4ed59c=_0x1c4c49,_0x317040={};if(global[_0x188374(0xeb)]){const _0x31a139=global['__platformCaps'],_0x4079cf=_0x31a139[_0x4ed59c['iKwsV']]||_0x31a139[_0x4ed59c[_0x188374(0x105)]],_0x251d3e=_0x31a139[_0x4ed59c[_0x188374(0x100)]]||_0x31a139[_0x4ed59c[_0x188374(0x101)]],_0x32adc0=_0x31a139[_0x4ed59c[_0x188374(0xf1)]]||_0x31a139[_0x4ed59c[_0x188374(0xfa)]],_0x2175b4=_0x31a139[_0x4ed59c['sQjom']]||_0x31a139[_0x4ed59c['epArE']],_0x17fba0=_0x31a139[_0x4ed59c[_0x188374(0xf3)]]||_0x31a139[_0x4ed59c[_0x188374(0x108)]],_0xb03148=_0x31a139[_0x4ed59c['AbyTi']]||_0x31a139[_0x4ed59c['ysfhZ']];_0x31a139['os']&&(_0x317040['os']=_0x31a139['os']),_0x4079cf&&(_0x317040[_0x4ed59c[_0x188374(0x105)]]=_0x4079cf),_0x251d3e&&(_0x317040[_0x4ed59c[_0x188374(0x101)]]=_0x251d3e),_0x32adc0&&(_0x317040[_0x4ed59c['ERzFQ']]=_0x32adc0),_0x2175b4&&(_0x317040[_0x4ed59c[_0x188374(0xf0)]]=_0x2175b4),_0x17fba0&&(_0x317040[_0x4ed59c[_0x188374(0x108)]]=_0x17fba0),_0xb03148&&(_0x317040[_0x4ed59c[_0x188374(0xfe)]]=_0xb03148),_0x31a139[_0x4ed59c[_0x188374(0xff)]]&&(_0x317040[_0x4ed59c[_0x188374(0xff)]]=_0x31a139[_0x4ed59c['zAnxY']]);}return _0x317040;}}function a54_0x335d(_0x56a4bb,_0x39d9bb){const _0x13326a=a54_0x1332();return a54_0x335d=function(_0x335d1d,_0x1c2d69){_0x335d1d=_0x335d1d-0xe6;let _0x436702=_0x13326a[_0x335d1d];return _0x436702;},a54_0x335d(_0x56a4bb,_0x39d9bb);}module['exports']=BrowserStackSdk;function a54_0x1332(){const _0x4e6f6b=['AbyTi','browser','sQjom','browserVersion','440EJTZkp','__platformCaps','os_version','702912USRJTM','device','platform_version','epArE','mkcbv','deviceName','kcHFr','browser_version','2762870IFGkMo','platformName','iKwsV','platformVersion','1450405HvqPMC','ERzFQ','2732946yFWcxS','browserName','309092kcAuVr','ysfhZ','zAnxY','kmlNk','DNtvi','osVersion','27MTKxKo','217184AkDnyW','mzjYb','customVariables','11364KOLGwE','uNKOe'];a54_0x1332=function(){return _0x4e6f6b;};return a54_0x1332();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a55_0x12db(_0x2e845e,_0xb112bd){const _0x59039b=a55_0x5903();return a55_0x12db=function(_0x12dbf8,_0x2b1f44){_0x12dbf8=_0x12dbf8-0xbd;let _0x2d8547=_0x59039b[_0x12dbf8];return _0x2d8547;},a55_0x12db(_0x2e845e,_0xb112bd);}function a55_0x5903(){const _0x293f70=['push','stopBrowserstackLocal','getAccessKey','handled','hLlWD','proxyConfig','uuid','No\x20config\x20provided.','platform','envConfig','25BPXiRa','setupTcgConfigFile','Error\x20occured\x20while\x20stopping\x20percy','codeceptjs','fireFunnelTestEvent','skipSessionName','1102501MyQZWy','toLowerCase','2875936DCVgPr','sendToEDS','HUB_MANAGEMENT','warn','getUserName','Local\x20binary\x20stopped','EDS_URL','turboScaleUrl','0|39|29|18|26|2|17|14|23|32|3|42|37|7|6|41|35|28|16|8|31|24|15|21|30|34|11|22|9|27|10|20|1|19|5|36|13|33|12|25|4|40|38','hDIwS','BROWSERSTACK_PERCY','debug','init','exitHandler','\x20with\x20error\x20','qzxAE','localIdentifier','../../package.json','length','jKlGz','PUMmb','4.5.0','RYveh','isAuthenticated','FRAMEWORK','handleExceptions','setupKeepAlive','./timeoutPromise','wUXiK','./setKeepAlive','selfHeal','DzfES','setUpHubUrl','unhandledErrors','setBrowserstackInfraFromConfig','unhandledRejection','ARFBw','userName','getLocalConfig','win32','SIGBREAK','toString','\x20with\x20response\x20','framework','aeFVZ','./testhub/utils','BROWSERSTACK_TURBOSCALE','ats-repeater','false','jYGfz','format','9280305MCdxGa','bZRbg','fVYxG','KUwLc','HogOo','Uthvx','util','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','measureWrapper','statusCode','Error\x20in\x20sending\x20testhub\x20stop:\x20','hkHPG','join','./performance/constants','Percy\x20stopped','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','Error\x20occured\x20while\x20stopping\x20local\x20binary','./testhub/testhubHandler','hubUrl','custom-repeater','KiDXe','uncaughtException','compareVersions','AI_PROXY_FAILURE','cliConfig','beforeExit','ZKUUG','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','10tOVLfl','CWcpp','IfNjH','15aFcDAb','kYENQ','mXvMf','initialize','stGmG','?caps=','eYVDV','version','includes','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','url','getConfigPath','generateLocalIdentifier','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','killSignal','errorMessage','setProxySettings','Calling\x20Build\x20Stop\x20from\x20ExitHandler','skipBinaryInitialisation','kDlZx','BrowserstackHealing.init','stopPercy','isEnabled','SIGHUP','info','845384ejGhxX','DQjNi','iSJPx','useW3C','./logger','ytOIK','12389487XsCSrl','true','browserstackLocal','Error\x20in\x20writing\x20events\x20to\x20file\x20','message','dowGD','1413654gZCVWo','sanitizeCaps','allocateHub','proxyUrl','./utilities','jBssm','measures','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','default','Error\x20in\x20percy\x20setup\x20','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','wHMcx','status','../hubAllocationMethods','parallelsPerPlatform','BrowserstackHealing.init\x20method\x20timed\x20out','isHealingEnabled','playwrightUrl','BrowserstackHealingInitFailed','TCG_URL','ZmwQc','aiHeal:tcgAuth','TCG_AUTH_TIMEOUT','integrations','UMUbn','LGkhy','startPercy','cVNTS','percy','GONIW','selenium-webdriver','../ai-sdk-node/bundle','sdkRunID','BbpHj','error','BROWSERSTACK_CENTRAL_USER','testContextOptions','winstonLogger','isTrialGrid','SIGQUIT','../bin/utils/constants','getPackageVersion','localOptions','setupTCGAuth','requireSeleniumWebdriverCheck','HlzXa','vETBK','config','turboScaleGridDetails','assign','split','JjObq','captureError','UjXsM','12dFWEWY','frjaf','isBrowserstackInfra','SIGABRT','setHandlePWError','getTurboScaleGridDetails','EYWII','stringify','isTrue','proxy','LjidR','455574wDWSzg','VJxGo','4|3|0|2|1','browserStackLocalOptions','KgTJN','isRunning','setEnvCaps','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','dGwzx','lzHnY','env','gLzpU','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','finalize','SIGINT','EUTRA','bJrCC','race','path','userName\x20or\x20accessKey\x20is\x20not\x20defined','end','XKcNa','hOTyp','disableAutoCaptureLogs','readConfig','zLlce','AI_INIT_SUCCESSFUL','AI_INIT_FAILURE','constructor','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','stop','turboScaleOptions','YGmBT','turboScale','setCLICaps','./percy/utils','HVraL','customRepeaters','jWDsK','XisLz','bstackConfig','SDK_CLEANUP','writeFileSync','NymcM','setLogLevel','SMIfR','forceLocal','INVALID_INIT_RESP_WITH_USER_IMPACT','intExitHandler','./ats/helper','IsJsP','platforms','tsjMj','mZXnP','IpiGR','isUndefined','2VWAPNQ','FinsG','kNzyQ'];a55_0x5903=function(){return _0x293f70;};return a55_0x5903();}const a55_0x160e7a=a55_0x12db;(function(_0x3c8c34,_0x527350){const _0xebfcba=a55_0x12db,_0x3b7558=_0x3c8c34();while(!![]){try{const _0x13eddd=parseInt(_0xebfcba(0x16d))/0x1*(-parseInt(_0xebfcba(0x15a))/0x2)+-parseInt(_0xebfcba(0x1c1))/0x3*(-parseInt(_0xebfcba(0xd5))/0x4)+-parseInt(_0xebfcba(0x167))/0x5*(-parseInt(_0xebfcba(0xe1))/0x6)+parseInt(_0xebfcba(0x122))/0x7+-parseInt(_0xebfcba(0x16f))/0x8+parseInt(_0xebfcba(0x1a2))/0x9*(parseInt(_0xebfcba(0x1be))/0xa)+-parseInt(_0xebfcba(0xdb))/0xb*(parseInt(_0xebfcba(0x117))/0xc);if(_0x13eddd===_0x527350)break;else _0x3b7558['push'](_0x3b7558['shift']());}catch(_0xebf01d){_0x3b7558['push'](_0x3b7558['shift']());}}}(a55_0x5903,0xb5524));const util=require(a55_0x160e7a(0x1a8)),os=require('os'),path=require(a55_0x160e7a(0x134)),{v4:uuidv4}=require(a55_0x160e7a(0x163)),fs=require('fs'),constants=require(a55_0x160e7a(0x109)),{isTurboScaleSession}=require(a55_0x160e7a(0x153)),logger=require(a55_0x160e7a(0xd9))[a55_0x160e7a(0x106)],helper=require('./helper'),utilities=require(a55_0x160e7a(0xe5)),percyHelper=require(a55_0x160e7a(0x145)),hubAllocator=require(a55_0x160e7a(0xee)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a55_0x160e7a(0x1af)),{setPercyFlag}=require(a55_0x160e7a(0x19c)),TestHubHandler=require(a55_0x160e7a(0x1b3)),timeoutPromise=require(a55_0x160e7a(0x18a));class BrowserStackSetup{constructor(_0x4b6a9d,_0x488320){const _0x45b22d=a55_0x160e7a,_0x15684e={'JjObq':_0x45b22d(0x177),'iSJPx':function(_0x3f9d39,_0x20ec5b){return _0x3f9d39<_0x20ec5b;},'IfNjH':function(_0x531870,_0x534cdb){return _0x531870(_0x534cdb);},'BbpHj':_0x45b22d(0xff),'jWDsK':function(_0x7652e1,_0x1a96bc){return _0x7652e1===_0x1a96bc;},'jYGfz':_0x45b22d(0x184),'hlMMi':_0x45b22d(0xd3),'XKcNa':function(_0x1ecd75){return _0x1ecd75();},'LGkhy':function(_0x3939c3,_0x4169f2){return _0x3939c3===_0x4169f2;},'hXRTA':_0x45b22d(0xf8),'rgICQ':'SIGTERM','XSRGs':_0x45b22d(0x13f),'YGmBT':_0x45b22d(0x1bd),'ARFBw':'SDKTestAttempted','bJrCC':_0x45b22d(0x135),'lzHnY':_0x45b22d(0x130),'UMUbn':_0x45b22d(0x164),'HlzXa':_0x45b22d(0x1bb),'XisLz':function(_0x3962fe,_0x470414){return _0x3962fe!==_0x470414;},'jKlGz':_0x45b22d(0x196),'wUXiK':_0x45b22d(0x11a),'dowGD':_0x45b22d(0x108),'hkHPG':_0x45b22d(0x197)},_0x48d46b=_0x15684e[_0x45b22d(0x114)][_0x45b22d(0x113)]('|');let _0x235335=0x0;while(!![]){switch(_0x48d46b[_0x235335++]){case'0':this[_0x45b22d(0x190)]=[];continue;case'1':helper[_0x45b22d(0x10d)](_0x488320)&&(_0x15684e[_0x45b22d(0xd7)](_0x15684e[_0x45b22d(0x1c0)](parseInt,helper[_0x45b22d(0x10a)](_0x15684e[_0x45b22d(0x102)])),0x3)&&(this[_0x45b22d(0x110)]['useW3C']=![]),_0x15684e['jWDsK'](helper[_0x45b22d(0x1b8)](helper['getPackageVersion'](_0x15684e[_0x45b22d(0x102)]),_0x15684e[_0x45b22d(0x1a0)]),0x1)&&(this['config'][_0x45b22d(0xd8)]=!![]));continue;case'2':this[_0x45b22d(0x110)]=helper[_0x45b22d(0x13a)](helper[_0x45b22d(0xc7)](_0x4b6a9d));continue;case'3':global[_0x45b22d(0x19a)]=_0x488320;continue;case'4':process['on'](_0x15684e['hlMMi'],this[_0x45b22d(0x152)]);continue;case'5':!this['config'][_0x45b22d(0x105)]&&(this[_0x45b22d(0x110)]['testContextOptions']={});continue;case'6':this[_0x45b22d(0xca)]=null;continue;case'7':this[_0x45b22d(0x101)]=_0x15684e[_0x45b22d(0x137)](uuidv4);continue;case'8':this[_0x45b22d(0x110)][_0x45b22d(0x105)]['skipSessionStatus']=!helper['isBrowserstackInfra']()||helper[_0x45b22d(0x11f)](this[_0x45b22d(0x110)][_0x45b22d(0x105)]['skipSessionStatus']);continue;case'9':if(_0x15684e[_0x45b22d(0xfa)](_0x488320,_0x15684e['hXRTA']))return;continue;case'10':process['env'][_0x45b22d(0x19d)]&&(this[_0x45b22d(0x110)][_0x45b22d(0x143)]=helper[_0x45b22d(0x11f)](process['env'][_0x45b22d(0x19d)]),this['config'][_0x45b22d(0x141)]=this[_0x45b22d(0x110)][_0x45b22d(0x141)]||{});continue;case'11':helper[_0x45b22d(0x14e)](this[_0x45b22d(0x110)],this['cliConfig'],this[_0x45b22d(0x166)]);continue;case'12':process['on'](_0x15684e['rgICQ'],this['intExitHandler']);continue;case'13':!this[_0x45b22d(0x110)][_0x45b22d(0x139)]&&logger[_0x45b22d(0xd4)](constants['AUTOLOGCAPTURE_NOTIFICATION']);continue;case'14':this[_0x45b22d(0x110)][_0x45b22d(0x105)]=this[_0x45b22d(0x110)][_0x45b22d(0x105)]||{};continue;case'15':!this['config'][_0x45b22d(0x125)]&&(this[_0x45b22d(0x110)][_0x45b22d(0x125)]=this['config'][_0x45b22d(0x10b)]||{});continue;case'16':helper[_0x45b22d(0x191)](this[_0x45b22d(0x110)],this[_0x45b22d(0x1ba)]);continue;case'17':this[_0x45b22d(0x110)][_0x45b22d(0x155)]=this['config'][_0x45b22d(0x155)]||[];continue;case'18':this[_0x45b22d(0xdd)]=null;continue;case'19':(helper[_0x45b22d(0x159)](this['config']['platforms'])||helper[_0x45b22d(0x159)](this[_0x45b22d(0x110)]['platforms']['length']))&&(helper[_0x45b22d(0x159)](this['config'][_0x45b22d(0xef)])?logger[_0x45b22d(0xd4)](_0x15684e['XSRGs']):logger[_0x45b22d(0x172)](_0x15684e[_0x45b22d(0x142)]),this[_0x45b22d(0x110)][_0x45b22d(0x155)]=[]);continue;case'20':if(!helper['isBrowserstackInfra']()){try{process[_0x45b22d(0x12c)]['FRAMEWORK']=_0x488320,utilities[_0x45b22d(0x16b)](_0x15684e[_0x45b22d(0x193)],{},this[_0x45b22d(0x110)],this[_0x45b22d(0x19a)]);}catch(_0x4042bb){logger[_0x45b22d(0x17a)](_0x45b22d(0xc5)+_0x4042bb);}return;}continue;case'21':if(helper[_0x45b22d(0x159)](helper[_0x45b22d(0x173)](this[_0x45b22d(0x110)]))||helper['isUndefined'](helper[_0x45b22d(0x15f)](this[_0x45b22d(0x110)])))throw new Error(_0x15684e[_0x45b22d(0x132)]);continue;case'22':helper[_0x45b22d(0x11b)](this[_0x45b22d(0x110)]);continue;case'23':this[_0x45b22d(0xcb)]={};continue;case'24':helper['getFinalCaps'](this[_0x45b22d(0x110)],this[_0x45b22d(0x1ba)],this['envConfig']);continue;case'25':process['on'](_0x15684e[_0x45b22d(0x12b)],this['intExitHandler']);continue;case'26':this[_0x45b22d(0xfd)]=null;continue;case'27':this[_0x45b22d(0x188)]();continue;case'28':if(this[_0x45b22d(0x110)]['error'])throw new Error(this['config'][_0x45b22d(0x103)]);continue;case'29':this[_0x45b22d(0x166)]=helper[_0x45b22d(0x128)]();continue;case'30':helper[_0x45b22d(0x195)](this['config'])&&helper[_0x45b22d(0x159)](helper['getLocalIdentifier'](this['config']))&&(!helper[_0x45b22d(0x159)](this[_0x45b22d(0x110)][_0x45b22d(0x125)])&&_0x15684e[_0x45b22d(0x148)](this[_0x45b22d(0x110)][_0x45b22d(0x125)][_0x45b22d(0x13e)],Object)?!helper[_0x45b22d(0x11f)](this['config']['browserStackLocalOptions']['skipBinaryInitialisation'])&&(this['config'][_0x45b22d(0x125)][_0x45b22d(0x17f)]=helper[_0x45b22d(0xc8)]()):this[_0x45b22d(0x110)][_0x45b22d(0x125)]={'localIdentifier':helper[_0x45b22d(0xc8)]()});continue;case'31':this[_0x45b22d(0x110)]['testContextOptions'][_0x45b22d(0x16c)]=!helper[_0x45b22d(0x119)]()||helper[_0x45b22d(0x11f)](this['config']['testContextOptions'][_0x45b22d(0x16c)]);continue;case'32':global[_0x45b22d(0x110)]=this['config'];continue;case'33':this['intExitHandler']=this['intExitHandler']['bind'](this);continue;case'34':this[_0x45b22d(0x110)]['browserStackLocalOptions']['skipBinaryInitialisation']=helper[_0x45b22d(0x11f)](this[_0x45b22d(0x110)][_0x45b22d(0x125)][_0x45b22d(0xce)]);continue;case'35':if(helper[_0x45b22d(0x159)](this['config']))throw new Error(_0x15684e[_0x45b22d(0xf9)]);continue;case'36':try{process[_0x45b22d(0x12c)][_0x45b22d(0x187)]=_0x4b6a9d['_'][0x0],utilities[_0x45b22d(0x16b)](_0x15684e[_0x45b22d(0x193)],{},this[_0x45b22d(0x110)],this[_0x45b22d(0x19a)]);}catch(_0x2400ed){logger[_0x45b22d(0x17a)](_0x45b22d(0xc5)+_0x2400ed);}continue;case'37':this[_0x45b22d(0x19a)]=_0x488320;continue;case'38':process['on'](_0x15684e[_0x45b22d(0x10e)],this[_0x45b22d(0x17c)]());continue;case'39':this['cliConfig']=helper[_0x45b22d(0x144)](_0x4b6a9d);continue;case'40':_0x15684e[_0x45b22d(0x149)](process['platform'],_0x15684e[_0x45b22d(0x182)])?(process['on'](_0x15684e[_0x45b22d(0x18b)],this[_0x45b22d(0x152)]),process['on'](_0x15684e[_0x45b22d(0xe0)],this['intExitHandler'])):process['on'](_0x15684e[_0x45b22d(0x1ad)],this[_0x45b22d(0x152)]);continue;case'41':global[_0x45b22d(0x101)]=this['sdkRunID'];continue;case'42':helper[_0x45b22d(0xe2)](this[_0x45b22d(0x110)]);continue;}break;}}async[a55_0x160e7a(0xbf)](){const _0x54f39a=a55_0x160e7a,_0xa9457f={'KgTJN':function(_0x4552ed,_0x5c3f41){return _0x4552ed(_0x5c3f41);},'qHtUD':_0x54f39a(0x19e),'qzxAE':_0x54f39a(0x1b5),'ZmwQc':_0x54f39a(0xdc),'kYENQ':function(_0x1825fd,_0x427c42){return _0x1825fd===_0x427c42;},'frjaf':'playwright','HtFqy':function(_0x17bf58,_0x390d75){return _0x17bf58+_0x390d75;},'FinsG':_0x54f39a(0xc1),'mXvMf':function(_0x24c2c5,_0x2986c1){return _0x24c2c5(_0x2986c1);},'YUHCB':_0x54f39a(0x16a),'GONIW':function(_0x6fb444,_0x32c681){return _0x6fb444(_0x32c681);}};if(_0xa9457f[_0x54f39a(0x126)](isTurboScaleSession,this[_0x54f39a(0x110)])){const _0x510cfb=await helper[_0x54f39a(0x11c)](this['config']);this[_0x54f39a(0x110)][_0x54f39a(0x111)]=_0x510cfb,_0x510cfb[_0x54f39a(0x107)]&&(this[_0x54f39a(0x110)][_0x54f39a(0xdd)]=!![],this[_0x54f39a(0x110)][_0x54f39a(0x125)]['localIdentifier']=_0xa9457f['qHtUD'],this[_0x54f39a(0x110)][_0x54f39a(0x125)][_0xa9457f[_0x54f39a(0x17e)]]=_0x510cfb[_0x54f39a(0x147)][_0x54f39a(0x1ae)](','),this[_0x54f39a(0x110)]['browserStackLocalOptions'][_0x54f39a(0x150)]=_0xa9457f[_0x54f39a(0xf5)]),this['config']['turboScaleUrl']=_0x510cfb[_0x54f39a(0xc6)],this[_0x54f39a(0x19a)]&&_0xa9457f[_0x54f39a(0xbd)](this[_0x54f39a(0x19a)][_0x54f39a(0x16e)](),_0xa9457f[_0x54f39a(0x118)])&&(this[_0x54f39a(0x110)][_0x54f39a(0x176)]=_0xa9457f['HtFqy'](_0x510cfb[_0x54f39a(0xf2)],_0xa9457f[_0x54f39a(0x15b)])),constants[_0x54f39a(0x1b4)]=helper['getHubUrl'](this['config']),logger[_0x54f39a(0x17a)](_0x54f39a(0xc9)+constants['hubUrl']);}helper[_0x54f39a(0xcc)](this[_0x54f39a(0x110)]),this[_0x54f39a(0x189)](),_0xa9457f[_0x54f39a(0xbe)](setPercyFlag,this),await this['setupBrowserstackLocal'](),![_0xa9457f['YUHCB']][_0x54f39a(0xc4)](this[_0x54f39a(0x19a)])&&!_0xa9457f[_0x54f39a(0xfe)](isTurboScaleSession,this[_0x54f39a(0x110)])&&!process['env'][_0x54f39a(0x104)]&&await this[_0x54f39a(0x18f)]();}async['setupPercy'](){const _0x18ae62=a55_0x160e7a,_0x127ebe={};_0x127ebe['kNzyQ']=function(_0x272198,_0x51f574){return _0x272198===_0x51f574;},_0x127ebe[_0x18ae62(0x161)]=_0x18ae62(0x19f),_0x127ebe[_0x18ae62(0x131)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x127ebe[_0x18ae62(0x1b6)]='Percy\x20started\x20successfully',_0x127ebe['FQCXt']=_0x18ae62(0xdc),_0x127ebe[_0x18ae62(0x138)]=_0x18ae62(0x1bb);const _0x887fac=_0x127ebe;if(helper[_0x18ae62(0x11f)](this[_0x18ae62(0x110)][_0x18ae62(0xfd)])&&(!this[_0x18ae62(0xfd)]||!this[_0x18ae62(0xfd)]['isRunning']()))try{this[_0x18ae62(0xfd)]=await percyHelper[_0x18ae62(0xfb)](this['config']);if(!this[_0x18ae62(0xfd)]){process[_0x18ae62(0x12c)][_0x18ae62(0x179)]=_0x887fac[_0x18ae62(0x161)];throw new Error(_0x887fac[_0x18ae62(0x131)]);}logger[_0x18ae62(0xd4)](_0x887fac[_0x18ae62(0x1b6)]),process['env'][_0x18ae62(0x179)]=_0x887fac['FQCXt'];let _0x32875e=0x0;const _0x144ce9=async()=>{const _0x3a5335=_0x18ae62;_0x32875e++,_0x887fac[_0x3a5335(0x15c)](_0x32875e,0x1)&&await this[_0x3a5335(0xd1)]();};process['on'](_0x887fac[_0x18ae62(0x138)],_0x144ce9);}catch(_0x2bacd6){process[_0x18ae62(0x12c)][_0x18ae62(0x179)]=_0x887fac['hLlWD'],logger[_0x18ae62(0x17a)](_0x18ae62(0xea)+_0x2bacd6);throw new Error(_0x2bacd6['toString']());}}async['stopPercy'](){const _0x3c1b5f=a55_0x160e7a,_0x1e7a4c={};_0x1e7a4c[_0x3c1b5f(0x121)]=_0x3c1b5f(0x1b0),_0x1e7a4c[_0x3c1b5f(0x116)]=_0x3c1b5f(0x169);const _0x406c34=_0x1e7a4c;if(this[_0x3c1b5f(0xfd)]&&this[_0x3c1b5f(0xfd)][_0x3c1b5f(0x127)]())try{await percyHelper[_0x3c1b5f(0xd1)](this[_0x3c1b5f(0xfd)]),logger[_0x3c1b5f(0xd4)](_0x406c34[_0x3c1b5f(0x121)]);}catch(_0x53e3ff){logger['error'](_0x406c34[_0x3c1b5f(0x116)],_0x53e3ff[_0x3c1b5f(0xdf)]);}}async['setupBrowserstackLocal'](){const _0x3a7d17=a55_0x160e7a,_0x30a54f={};_0x30a54f['jYmJC']=_0x3a7d17(0xeb),_0x30a54f['hDIwS']='Local\x20binary\x20started\x20successfully';const _0x317953=_0x30a54f;if(helper[_0x3a7d17(0x119)]()&&helper[_0x3a7d17(0x11f)](this[_0x3a7d17(0x110)][_0x3a7d17(0xdd)])&&(!this[_0x3a7d17(0xdd)]||!this['browserstackLocal'][_0x3a7d17(0x127)]()))try{if(this[_0x3a7d17(0x110)][_0x3a7d17(0x125)]['skipBinaryInitialisation']){logger[_0x3a7d17(0x17a)](_0x317953['jYmJC']);return;}this[_0x3a7d17(0xdd)]=await helper['startLocalBinary'](this['config']),logger['info'](_0x317953[_0x3a7d17(0x178)]);}catch(_0x364283){logger['debug'](_0x364283);throw new Error(_0x364283[_0x3a7d17(0x198)]());}}async[a55_0x160e7a(0x15e)](){const _0x2011ab=a55_0x160e7a,_0x5c3f7f={};_0x5c3f7f[_0x2011ab(0x1bc)]=_0x2011ab(0x174),_0x5c3f7f[_0x2011ab(0x157)]=_0x2011ab(0x1b2);const _0x1430a9=_0x5c3f7f;if(this['browserstackLocal']&&this[_0x2011ab(0xdd)][_0x2011ab(0x127)]())try{await helper['stopLocalBinary'](this[_0x2011ab(0xdd)]),logger['info'](_0x1430a9[_0x2011ab(0x1bc)]);}catch(_0x5f43b1){logger[_0x2011ab(0x103)](_0x1430a9['mZXnP'],_0x5f43b1[_0x2011ab(0xdf)]);}}async[a55_0x160e7a(0x18f)](){const _0x498204=a55_0x160e7a;return PerformanceTester[_0x498204(0x1aa)](PerformanceAutEvents[_0x498204(0x171)],async()=>{const _0x165834=_0x498204;await hubAllocator[_0x165834(0xe3)](this['config']);})();}async[a55_0x160e7a(0x10c)](){const _0x13fa52=a55_0x160e7a,_0x1cf704={'HVraL':function(_0x52a154,_0x1e073f){return _0x52a154(_0x1e073f);},'nEpzX':_0x13fa52(0x100),'GTeev':function(_0x397287,_0x163824,_0xfa1671,_0x4d55be,_0x454547,_0x25a814,_0x2d451c){return _0x397287(_0x163824,_0xfa1671,_0x4d55be,_0x454547,_0x25a814,_0x2d451c);},'wJyTi':_0x13fa52(0xf0),'DQjNi':_0x13fa52(0xf3),'NymcM':_0x13fa52(0x180),'stGmG':_0x13fa52(0xd0),'RYveh':function(_0x3ac0cd,_0x101945){return _0x3ac0cd===_0x101945;},'aeFVZ':_0x13fa52(0xdc),'DzfES':function(_0x2bf2f6,_0x1177ae){return _0x2bf2f6===_0x1177ae;},'PUMmb':function(_0x59d0af,_0x396318){return _0x59d0af===_0x396318;},'NkVsd':function(_0x310d26,_0x5e3d7b){return _0x310d26===_0x5e3d7b;},'Uthvx':_0x13fa52(0x129),'bZRbg':function(_0x1a6fea,_0x2dc620){return _0x1a6fea===_0x2dc620;},'CWcpp':_0x13fa52(0x1b1),'BKvim':_0x13fa52(0x12e),'EYWII':function(_0x1c3880,_0x1d55b0){return _0x1c3880(_0x1d55b0);},'cVNTS':_0x13fa52(0x1a9),'ytOIK':function(_0x43021e,_0x9942d9){return _0x43021e>=_0x9942d9;},'mDbus':function(_0x525bd7,_0x3c2828){return _0x525bd7<_0x3c2828;},'kDlZx':function(_0x24d390,_0xb64267){return _0x24d390>=_0xb64267;},'jBssm':'tcg\x20config\x20setup\x20successful.','ADgRd':_0x13fa52(0xf6),'IpiGR':function(_0x27fbf8){return _0x27fbf8();}},_0x288c7a=PerformanceTester['measureWrapper'](_0x1cf704['ADgRd'],async()=>{const _0x395882=_0x13fa52;try{const _0x267d1f=new Date(),_0x551ae9=helper['getProxyConfigForTcg'](this[_0x395882(0x110)]),_0x730622=_0x1cf704['HVraL'](require,path[_0x395882(0x1ae)](__dirname,_0x1cf704['nEpzX'])),_0x264b6e=_0x1cf704['GTeev'](timeoutPromise,constants[_0x395882(0xf7)],_0x1cf704['wJyTi'],_0x1cf704[_0x395882(0xd6)],_0x267d1f,this[_0x395882(0x110)],this[_0x395882(0x19a)]),_0x5c7eb0={'tcgUrl':constants[_0x395882(0xf4)],'sdkVersion':_0x1cf704[_0x395882(0x146)](require,_0x1cf704[_0x395882(0x14d)])[_0x395882(0xc3)],'methodUsed':_0x1cf704[_0x395882(0xc0)],'proxyConfig':_0x551ae9,'os':os['platform']()};if(_0x551ae9&&_0x551ae9[_0x395882(0xe4)]){utilities[_0x395882(0x16b)](constants[_0x395882(0x1b9)],_0x5c7eb0,this[_0x395882(0x110)],this[_0x395882(0x19a)]);return;}const _0x5240dc={};_0x5240dc[_0x395882(0x120)]=_0x551ae9;const _0x1f68fc=await Promise[_0x395882(0x133)]([_0x730622[_0x395882(0x17b)](this[_0x395882(0x110)]['accessKey'],this[_0x395882(0x110)][_0x395882(0x194)],constants[_0x395882(0xf4)],_0x1cf704[_0x395882(0x146)](require,_0x1cf704[_0x395882(0x14d)])['version'],_0x5240dc)['then'](_0x294008=>{return _0x264b6e['cancel'](),_0x294008;}),_0x264b6e]);_0x1f68fc[_0x395882(0xf1)]=_0x1cf704[_0x395882(0x185)](_0x1f68fc[_0x395882(0xf1)],_0x1cf704['aeFVZ'])||_0x1cf704[_0x395882(0x18e)](_0x1f68fc[_0x395882(0xf1)],!![]);const _0x429007=_0x1cf704[_0x395882(0x183)](this[_0x395882(0x110)]['selfHeal'],!![])||_0x1cf704[_0x395882(0x18e)](this[_0x395882(0x110)][_0x395882(0x18d)],_0x1cf704[_0x395882(0x19b)]);if(_0x1cf704['NkVsd'](_0x1f68fc['message'],constants['UPGRADE_REQUIRED'])&&_0x429007)logger[_0x395882(0xd4)](_0x1cf704[_0x395882(0x1a7)]);else{if(!_0x1f68fc['isAuthenticated']&&_0x1cf704[_0x395882(0x1a3)](_0x1f68fc[_0x395882(0xed)],0x1f7)&&_0x429007)logger[_0x395882(0xd4)](_0x1cf704[_0x395882(0x1bf)]),utilities[_0x395882(0x16b)](constants['TCG_DOWN'],_0x5c7eb0,this[_0x395882(0x110)],this[_0x395882(0x19a)]);else{if(!_0x1f68fc['isAuthenticated']&&_0x429007){logger['info'](_0x1cf704['BKvim']);const _0x529f93={'tcgUrl':constants[_0x395882(0xf4)],'sdkVersion':_0x1cf704[_0x395882(0x11d)](require,_0x1cf704[_0x395882(0x14d)])[_0x395882(0xc3)],'methodUsed':_0x1cf704['stGmG'],'proxyConfig':_0x551ae9,'os':os[_0x395882(0x165)]()};utilities[_0x395882(0x16b)](constants['TCG_AUTH_FAILURE'],_0x529f93,this[_0x395882(0x110)],this[_0x395882(0x19a)]);}else{if(_0x1f68fc[_0x395882(0x186)]&&!_0x1f68fc[_0x395882(0xf1)]&&_0x429007)logger[_0x395882(0xd4)](_0x1cf704[_0x395882(0xfc)]);else{if(_0x1cf704[_0x395882(0xda)](_0x1f68fc[_0x395882(0xed)],0xc8)&&_0x1cf704['mDbus'](_0x1f68fc[_0x395882(0xed)],0x12c))utilities[_0x395882(0x16b)](constants[_0x395882(0x13c)],_0x5c7eb0,this[_0x395882(0x110)],this[_0x395882(0x19a)]);else{if(_0x1cf704[_0x395882(0xcf)](_0x1f68fc['status'],0x190))_0x5c7eb0[_0x395882(0xed)]=_0x1f68fc['status'],utilities[_0x395882(0x16b)](constants[_0x395882(0x13d)],_0x5c7eb0,this[_0x395882(0x110)],this[_0x395882(0x19a)]);else!_0x1f68fc[_0x395882(0xed)]&&utilities[_0x395882(0x16b)](constants[_0x395882(0x151)],_0x5c7eb0,this[_0x395882(0x110)],this['framework']);}}}}}if(_0x1f68fc[_0x395882(0x186)]&&_0x1f68fc['isHealingEnabled']){const _0x39a062={};_0x39a062['tcgAuthConfig']=_0x1f68fc;const _0x48487c=_0x39a062;_0x551ae9&&(_0x48487c[_0x395882(0x162)]=_0x551ae9),_0x48487c[_0x395882(0x19a)]=this[_0x395882(0x19a)],_0x48487c[_0x395882(0x14a)]=this[_0x395882(0x110)],helper[_0x395882(0x168)](_0x48487c),logger[_0x395882(0x17a)](_0x1cf704[_0x395882(0xe6)]);}}catch(_0x29d362){logger[_0x395882(0x17a)](_0x395882(0xe8)+(_0x29d362[_0x395882(0xdf)]?_0x29d362[_0x395882(0xdf)]:''));}});await _0x1cf704[_0x13fa52(0x158)](_0x288c7a);}[a55_0x160e7a(0x189)](){const _0x21ed78=a55_0x160e7a,_0x7eb202={'VJxGo':function(_0x12b083,_0x53321a){return _0x12b083(_0x53321a);},'IsJsP':_0x21ed78(0x18c)};_0x7eb202[_0x21ed78(0x123)](require,_0x7eb202[_0x21ed78(0x154)])();}[a55_0x160e7a(0x188)](){const _0x45b0f1=a55_0x160e7a,_0x4c7cd5={};_0x4c7cd5['KUwLc']=_0x45b0f1(0x192),_0x4c7cd5['tsjMj']=_0x45b0f1(0x1b7);const _0x36d39=_0x4c7cd5,_0x443cac=_0x358705=>{const _0x5aee9e=_0x45b0f1;logger[_0x5aee9e(0x103)](_0x358705[_0x5aee9e(0xdf)]),logger[_0x5aee9e(0x17a)](util[_0x5aee9e(0x1a1)](_0x358705)),this[_0x5aee9e(0x190)][_0x5aee9e(0x15d)](util['format']('%j',_0x358705)),PerformanceTester[_0x5aee9e(0x115)](_0x358705);};process['on'](_0x36d39[_0x45b0f1(0x1a5)],_0x443cac),process['on'](_0x36d39[_0x45b0f1(0x156)],_0x443cac);}async[a55_0x160e7a(0x152)](_0x31311d){const _0x29329a=a55_0x160e7a,_0x485ad5={};_0x485ad5['HogOo']=_0x29329a(0x124),_0x485ad5[_0x29329a(0x13b)]=function(_0x149897,_0x52bc1e){return _0x149897+_0x52bc1e;},_0x485ad5['wHMcx']='Shutdown\x20triggered\x20by\x20',_0x485ad5[_0x29329a(0x14f)]=function(_0x5943a7,_0x50bf49){return _0x5943a7+_0x50bf49;},_0x485ad5[_0x29329a(0x12d)]=_0x29329a(0x160);const _0x57813a=_0x485ad5,_0x1dc460=_0x57813a[_0x29329a(0x1a6)][_0x29329a(0x113)]('|');let _0x4834b9=0x0;while(!![]){switch(_0x1dc460[_0x4834b9++]){case'0':logger[_0x29329a(0xd4)](_0x57813a[_0x29329a(0x13b)](_0x57813a[_0x29329a(0xec)],_0x31311d));continue;case'1':await TestHubHandler[_0x29329a(0x140)](_0x31311d);continue;case'2':this[_0x29329a(0xca)]=_0x31311d;continue;case'3':this[_0x57813a[_0x29329a(0x14f)](_0x57813a['gLzpU'],_0x31311d)]=!![];continue;case'4':if(this[_0x57813a['SMIfR'](_0x57813a[_0x29329a(0x12d)],_0x31311d)])return;continue;}break;}}['exitHandler'](){const _0x32f0e4=a55_0x160e7a,_0x3fec04={};_0x3fec04[_0x32f0e4(0xc2)]=function(_0x19a404,_0x30eca1){return _0x19a404===_0x30eca1;},_0x3fec04[_0x32f0e4(0x12a)]=_0x32f0e4(0xcd),_0x3fec04[_0x32f0e4(0x10f)]=function(_0x568986,_0x510607){return _0x568986>_0x510607;},_0x3fec04[_0x32f0e4(0x1a4)]='log/events.json';const _0x5045d3=_0x3fec04;let _0x2bf3ee=0x0;return async()=>{const _0x6496a3=_0x32f0e4;_0x2bf3ee++;if(_0x5045d3[_0x6496a3(0xc2)](_0x2bf3ee,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x6496a3(0x19a)])&&await this['stopBrowserstackLocal']();try{logger[_0x6496a3(0x17a)](_0x5045d3['dGwzx']),await TestHubHandler['stop'](_0x2bf3ee);}catch(_0xf693d5){logger[_0x6496a3(0x17a)](_0x6496a3(0x1ac)+util[_0x6496a3(0x1a1)](_0xf693d5));}PerformanceTester[_0x6496a3(0x136)](PerformanceEvents[_0x6496a3(0x14b)]);if(PerformanceTester[_0x6496a3(0xd2)]()){const {measures:_0x42ab66,errors:_0x2f2b02}=await PerformanceTester[_0x6496a3(0x12f)](),_0x3fce48={};if(_0x42ab66&&_0x5045d3[_0x6496a3(0x10f)](_0x42ab66[_0x6496a3(0x181)],0x0)||_0x2f2b02&&_0x5045d3[_0x6496a3(0x10f)](_0x2f2b02[_0x6496a3(0x181)],0x0)){const _0x10500c={};_0x10500c[_0x6496a3(0xe7)]=_0x42ab66,_0x10500c['exceptions']=_0x2f2b02,Object[_0x6496a3(0x112)](_0x3fce48,_0x10500c);}try{const _0x4f6f09=await helper[_0x6496a3(0x170)](_0x3fce48,this[_0x6496a3(0x110)]);logger[_0x6496a3(0x17a)]('Data\x20sent\x20successfully\x20to\x20'+constants[_0x6496a3(0x175)]+_0x6496a3(0x199)+_0x4f6f09[_0x6496a3(0x1ab)]);}catch(_0x39ab1e){logger[_0x6496a3(0x17a)]('Failed\x20to\x20send\x20data\x20to\x20'+constants[_0x6496a3(0x175)]+_0x6496a3(0x17d)+util[_0x6496a3(0x1a1)](_0x39ab1e));}try{fs[_0x6496a3(0x14c)](_0x5045d3[_0x6496a3(0x1a4)],JSON[_0x6496a3(0x11e)](_0x3fce48));}catch(_0x1f2bae){logger[_0x6496a3(0x17a)](_0x6496a3(0xde)+_0x1f2bae);}}}};}}exports[a55_0x160e7a(0xe9)]=BrowserStackSetup;
|
|
1
|
+
const a55_0x3ff313=a55_0x3388;(function(_0x23fc83,_0x1f7eb5){const _0x242772=a55_0x3388,_0x4be327=_0x23fc83();while(!![]){try{const _0x2dc337=-parseInt(_0x242772(0x116))/0x1*(-parseInt(_0x242772(0xde))/0x2)+parseInt(_0x242772(0x88))/0x3+-parseInt(_0x242772(0xea))/0x4+-parseInt(_0x242772(0xfb))/0x5+-parseInt(_0x242772(0x92))/0x6+-parseInt(_0x242772(0xaf))/0x7*(parseInt(_0x242772(0x15b))/0x8)+-parseInt(_0x242772(0xc5))/0x9*(-parseInt(_0x242772(0x165))/0xa);if(_0x2dc337===_0x1f7eb5)break;else _0x4be327['push'](_0x4be327['shift']());}catch(_0xf76bf0){_0x4be327['push'](_0x4be327['shift']());}}}(a55_0x2140,0x7f418));const util=require(a55_0x3ff313(0x8b)),os=require('os'),path=require(a55_0x3ff313(0x13a)),{v4:uuidv4}=require('uuid'),fs=require('fs'),constants=require('../bin/utils/constants'),{isTurboScaleSession}=require(a55_0x3ff313(0x132)),logger=require(a55_0x3ff313(0xcd))[a55_0x3ff313(0xda)],helper=require(a55_0x3ff313(0x163)),utilities=require(a55_0x3ff313(0x167)),percyHelper=require(a55_0x3ff313(0xe8)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a55_0x3ff313(0x7c)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require(a55_0x3ff313(0x11c)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a55_0x3ff313(0x157)),timeoutPromise=require('./timeoutPromise');class BrowserStackSetup{constructor(_0xecae77,_0x42497e){const _0x101836=a55_0x3ff313,_0x26181e={'oLKDb':_0x101836(0xa4),'Dgsbg':function(_0x1bbe67,_0x577414){return _0x1bbe67!==_0x577414;},'fKkaQ':'win32','kltuW':'SIGABRT','GAOQa':_0x101836(0xd5),'Kpxsy':_0x101836(0xab),'nkwPI':_0x101836(0x117),'Omqpg':function(_0x412e22){return _0x412e22();},'ZjOgG':_0x101836(0xf1),'QkyZC':function(_0x2257a2,_0xd4c1d1){return _0x2257a2<_0xd4c1d1;},'qxkPM':function(_0x40c62b,_0x4e5231){return _0x40c62b(_0x4e5231);},'wBTeu':_0x101836(0x9b),'khMmu':function(_0x1bb621,_0x2b9b44){return _0x1bb621===_0x2b9b44;},'NnJCW':_0x101836(0x89),'NnVRH':_0x101836(0xc9),'vfIOd':_0x101836(0x162),'IcBFy':'integrations','cFVzr':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','kDwVp':_0x101836(0x11f),'MBZzz':'SIGHUP','doviO':_0x101836(0x79),'YdZHu':'SIGINT'},_0x4b74f9=_0x26181e[_0x101836(0x135)][_0x101836(0x11b)]('|');let _0x5be1ae=0x0;while(!![]){switch(_0x4b74f9[_0x5be1ae++]){case'0':_0x26181e[_0x101836(0x129)](process[_0x101836(0x82)],_0x26181e['fKkaQ'])?(process['on'](_0x26181e[_0x101836(0xd7)],this[_0x101836(0x139)]),process['on'](_0x26181e[_0x101836(0x7d)],this[_0x101836(0x139)])):process['on'](_0x26181e[_0x101836(0xa9)],this[_0x101836(0x139)]);continue;case'1':process['env'][_0x101836(0x15c)]&&(this['config'][_0x101836(0x152)]=helper[_0x101836(0x72)](process[_0x101836(0x12d)][_0x101836(0x15c)]),this[_0x101836(0x99)][_0x101836(0x164)]=this[_0x101836(0x99)][_0x101836(0x164)]||{});continue;case'2':helper['setLogLevel'](this['config'],this[_0x101836(0xba)],this[_0x101836(0xe5)]);continue;case'3':process['on'](_0x26181e['nkwPI'],this[_0x101836(0x139)]);continue;case'4':!this[_0x101836(0x99)][_0x101836(0x109)]&&(this[_0x101836(0x99)][_0x101836(0x109)]=this['config'][_0x101836(0x122)]||{});continue;case'5':this['percy']=null;continue;case'6':this[_0x101836(0x96)]=null;continue;case'7':this[_0x101836(0x139)]=this['intExitHandler'][_0x101836(0x12a)](this);continue;case'8':helper[_0x101836(0xd6)](this['config']);continue;case'9':this['config'][_0x101836(0xb8)][_0x101836(0x13c)]=!helper['isBrowserstackInfra']()||helper[_0x101836(0x72)](this[_0x101836(0x99)][_0x101836(0xb8)][_0x101836(0x13c)]);continue;case'10':this[_0x101836(0x99)][_0x101836(0x109)][_0x101836(0xa2)]=helper[_0x101836(0x72)](this['config'][_0x101836(0x109)][_0x101836(0xa2)]);continue;case'11':this['handleExceptions']();continue;case'12':this[_0x101836(0xd9)]=_0x26181e[_0x101836(0x149)](uuidv4);continue;case'13':helper[_0x101836(0xf2)](this[_0x101836(0x99)],this['cliConfig']);continue;case'14':this[_0x101836(0x99)]['testContextOptions']=this[_0x101836(0x99)][_0x101836(0xb8)]||{};continue;case'15':!this[_0x101836(0x99)]['disableAutoCaptureLogs']&&logger[_0x101836(0xd1)](constants[_0x101836(0xc2)]);continue;case'16':if(this[_0x101836(0x99)][_0x101836(0x148)])throw new Error(this['config'][_0x101836(0x148)]);continue;case'17':if(helper[_0x101836(0x113)](helper[_0x101836(0x13b)](this[_0x101836(0x99)]))||helper['isUndefined'](helper[_0x101836(0x126)](this[_0x101836(0x99)])))throw new Error(_0x26181e[_0x101836(0xf9)]);continue;case'18':helper[_0x101836(0x95)](_0x42497e)&&(_0x26181e[_0x101836(0xeb)](_0x26181e[_0x101836(0xaa)](parseInt,helper[_0x101836(0xe2)](_0x26181e[_0x101836(0xa6)])),0x3)&&(this['config'][_0x101836(0x168)]=![]),_0x26181e[_0x101836(0xbb)](helper[_0x101836(0x137)](helper[_0x101836(0xe2)](_0x26181e['wBTeu']),_0x26181e[_0x101836(0x7b)]),0x1)&&(this[_0x101836(0x99)][_0x101836(0x168)]=!![]));continue;case'19':this['envConfig']=helper[_0x101836(0xc0)]();continue;case'20':this[_0x101836(0x147)]=null;continue;case'21':this['config']['platforms']=this[_0x101836(0x99)][_0x101836(0xfd)]||[];continue;case'22':this['framework']=_0x42497e;continue;case'23':this[_0x101836(0xba)]=helper[_0x101836(0xef)](_0xecae77);continue;case'24':if(!helper[_0x101836(0xdc)]()){try{process[_0x101836(0x12d)]['FRAMEWORK']=_0x42497e,utilities[_0x101836(0xbd)](_0x26181e[_0x101836(0xa1)],{},this['config'],this['framework']);}catch(_0x50ec88){logger[_0x101836(0xe4)](_0x101836(0x133)+_0x50ec88);}return;}continue;case'25':if(helper['isUndefined'](this['config']))throw new Error(_0x26181e[_0x101836(0x14b)]);continue;case'26':if(_0x26181e['khMmu'](_0x42497e,_0x26181e[_0x101836(0x127)]))return;continue;case'27':helper[_0x101836(0x123)](this['config'])&&helper[_0x101836(0x113)](helper[_0x101836(0xb7)](this[_0x101836(0x99)]))&&(!helper[_0x101836(0x113)](this[_0x101836(0x99)][_0x101836(0x109)])&&_0x26181e[_0x101836(0xbb)](this[_0x101836(0x99)][_0x101836(0x109)][_0x101836(0x125)],Object)?!helper[_0x101836(0x72)](this['config'][_0x101836(0x109)][_0x101836(0xa2)])&&(this[_0x101836(0x99)][_0x101836(0x109)]['localIdentifier']=helper[_0x101836(0x131)]()):this['config']['browserStackLocalOptions']={'localIdentifier':helper[_0x101836(0x131)]()});continue;case'28':(helper[_0x101836(0x113)](this[_0x101836(0x99)][_0x101836(0xfd)])||helper['isUndefined'](this[_0x101836(0x99)][_0x101836(0xfd)]['length']))&&(helper[_0x101836(0x113)](this[_0x101836(0x99)][_0x101836(0x158)])?logger[_0x101836(0xd1)](_0x26181e[_0x101836(0xca)]):logger[_0x101836(0x93)](_0x26181e['kDwVp']),this['config']['platforms']=[]);continue;case'29':process['on'](_0x26181e['MBZzz'],this[_0x101836(0x139)]);continue;case'30':this['config']=helper[_0x101836(0x155)](helper[_0x101836(0x12b)](_0xecae77));continue;case'31':global[_0x101836(0x99)]=this[_0x101836(0x99)];continue;case'32':helper[_0x101836(0x9f)](this[_0x101836(0x99)]);continue;case'33':try{process['env'][_0x101836(0x7a)]=_0xecae77['_'][0x0],utilities['fireFunnelTestEvent'](_0x26181e[_0x101836(0xa1)],{},this['config'],this[_0x101836(0xae)]);}catch(_0x11b851){logger['debug'](_0x101836(0x133)+_0x11b851);}continue;case'34':helper[_0x101836(0xc4)](this[_0x101836(0x99)],this[_0x101836(0xba)],this['envConfig']);continue;case'35':process['on'](_0x26181e[_0x101836(0xf5)],this['exitHandler']());continue;case'36':!this['config'][_0x101836(0xb8)]&&(this['config'][_0x101836(0xb8)]={});continue;case'37':this[_0x101836(0x11e)]=[];continue;case'38':this[_0x101836(0xe7)]={};continue;case'39':process['on'](_0x26181e[_0x101836(0x98)],this[_0x101836(0x139)]);continue;case'40':global['framework']=_0x42497e;continue;case'41':global[_0x101836(0xd9)]=this['sdkRunID'];continue;case'42':this[_0x101836(0x99)][_0x101836(0xb8)][_0x101836(0x14f)]=!helper[_0x101836(0xdc)]()||helper[_0x101836(0x72)](this['config'][_0x101836(0xb8)]['skipSessionName']);continue;}break;}}async[a55_0x3ff313(0x10d)](){const _0x3cbaff=a55_0x3ff313,_0x4c4268={'qCetG':function(_0x1c686a,_0x7e8f48){return _0x1c686a(_0x7e8f48);},'rwfQN':_0x3cbaff(0xe1),'AeImZ':'custom-repeater','LMqOY':_0x3cbaff(0xf6),'FxbVN':function(_0x298a29,_0x2a028e){return _0x298a29===_0x2a028e;},'UAPEz':_0x3cbaff(0x97),'PsxTp':function(_0x343214,_0x568531){return _0x343214+_0x568531;},'KITZo':_0x3cbaff(0xac),'MPRsk':_0x3cbaff(0x14e)};if(_0x4c4268[_0x3cbaff(0x118)](isTurboScaleSession,this['config'])){const _0xf398a6=await helper['getTurboScaleGridDetails'](this[_0x3cbaff(0x99)]);this[_0x3cbaff(0x99)][_0x3cbaff(0x78)]=_0xf398a6,_0xf398a6['isTrialGrid']&&(this[_0x3cbaff(0x99)][_0x3cbaff(0x147)]=!![],this[_0x3cbaff(0x99)][_0x3cbaff(0x109)]['localIdentifier']=_0x4c4268['rwfQN'],this['config'][_0x3cbaff(0x109)][_0x4c4268[_0x3cbaff(0x110)]]=_0xf398a6[_0x3cbaff(0xe6)][_0x3cbaff(0xd8)](','),this['config'][_0x3cbaff(0x109)][_0x3cbaff(0x15d)]=_0x4c4268['LMqOY']),this[_0x3cbaff(0x99)][_0x3cbaff(0x12c)]=_0xf398a6[_0x3cbaff(0xbc)],this['framework']&&_0x4c4268['FxbVN'](this[_0x3cbaff(0xae)]['toLowerCase'](),_0x4c4268[_0x3cbaff(0x11a)])&&(this['config'][_0x3cbaff(0x12c)]=_0x4c4268[_0x3cbaff(0xb9)](_0xf398a6['playwrightUrl'],_0x4c4268['KITZo'])),constants[_0x3cbaff(0x86)]=helper['getHubUrl'](this[_0x3cbaff(0x99)]),logger[_0x3cbaff(0xe4)](_0x3cbaff(0x112)+constants[_0x3cbaff(0x86)]);}helper[_0x3cbaff(0xdf)](this[_0x3cbaff(0x99)]),this[_0x3cbaff(0x124)](),_0x4c4268[_0x3cbaff(0x118)](setPercyFlag,this),await this[_0x3cbaff(0x150)](),![_0x4c4268['MPRsk']][_0x3cbaff(0xff)](this[_0x3cbaff(0xae)])&&!_0x4c4268[_0x3cbaff(0x118)](isTurboScaleSession,this[_0x3cbaff(0x99)])&&!process[_0x3cbaff(0x12d)][_0x3cbaff(0x104)]&&await this[_0x3cbaff(0xc7)]();}async['setupPercy'](){const _0x4ca00d=a55_0x3ff313,_0x2b946={};_0x2b946['DBfgb']=function(_0x44e7d1,_0x27f246){return _0x44e7d1===_0x27f246;},_0x2b946[_0x4ca00d(0x14c)]=_0x4ca00d(0x140),_0x2b946[_0x4ca00d(0xd4)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x2b946[_0x4ca00d(0x105)]=_0x4ca00d(0xa5),_0x2b946[_0x4ca00d(0xb1)]=_0x4ca00d(0xf6),_0x2b946[_0x4ca00d(0x80)]=_0x4ca00d(0x79);const _0x404cc3=_0x2b946;if(helper[_0x4ca00d(0x72)](this[_0x4ca00d(0x99)][_0x4ca00d(0xbf)])&&(!this[_0x4ca00d(0xbf)]||!this[_0x4ca00d(0xbf)][_0x4ca00d(0x7e)]()))try{this[_0x4ca00d(0xbf)]=await percyHelper[_0x4ca00d(0xd0)](this[_0x4ca00d(0x99)]);if(!this[_0x4ca00d(0xbf)]){process['env'][_0x4ca00d(0xb2)]=_0x404cc3[_0x4ca00d(0x14c)];throw new Error(_0x404cc3[_0x4ca00d(0xd4)]);}logger['info'](_0x404cc3['lpHeg']),process[_0x4ca00d(0x12d)][_0x4ca00d(0xb2)]=_0x404cc3['KcgJE'];let _0xb6f07c=0x0;const _0x431cf4=async()=>{const _0x4f234c=_0x4ca00d;_0xb6f07c++,_0x404cc3[_0x4f234c(0xc1)](_0xb6f07c,0x1)&&await this[_0x4f234c(0x15e)]();};process['on'](_0x404cc3[_0x4ca00d(0x80)],_0x431cf4);}catch(_0x30d9c3){process['env'][_0x4ca00d(0xb2)]=_0x404cc3[_0x4ca00d(0x14c)],logger[_0x4ca00d(0xe4)](_0x4ca00d(0x87)+_0x30d9c3);throw new Error(_0x30d9c3['toString']());}}async[a55_0x3ff313(0x15e)](){const _0x4e4a86=a55_0x3ff313,_0x586d98={};_0x586d98[_0x4e4a86(0xec)]=_0x4e4a86(0x14d),_0x586d98['Gktga']='Error\x20occured\x20while\x20stopping\x20percy';const _0x4b0b93=_0x586d98;if(this['percy']&&this[_0x4e4a86(0xbf)]['isRunning']())try{await percyHelper[_0x4e4a86(0x15e)](this[_0x4e4a86(0xbf)]),logger[_0x4e4a86(0xd1)](_0x4b0b93[_0x4e4a86(0xec)]);}catch(_0x2359ce){logger[_0x4e4a86(0x148)](_0x4b0b93[_0x4e4a86(0x90)],_0x2359ce[_0x4e4a86(0xa0)]);}}async[a55_0x3ff313(0x150)](){const _0x261eeb=a55_0x3ff313,_0x2ac15f={};_0x2ac15f[_0x261eeb(0xcc)]=_0x261eeb(0xc6),_0x2ac15f['WwnPm']=_0x261eeb(0xdb);const _0x19cdcc=_0x2ac15f;if(helper[_0x261eeb(0xdc)]()&&helper['isTrue'](this[_0x261eeb(0x99)]['browserstackLocal'])&&(!this[_0x261eeb(0x147)]||!this[_0x261eeb(0x147)][_0x261eeb(0x7e)]()))try{if(this[_0x261eeb(0x99)][_0x261eeb(0x109)][_0x261eeb(0xa2)]){logger['debug'](_0x19cdcc[_0x261eeb(0xcc)]);return;}this[_0x261eeb(0x147)]=await helper['startLocalBinary'](this[_0x261eeb(0x99)]),logger[_0x261eeb(0xd1)](_0x19cdcc['WwnPm']);}catch(_0x230632){logger['debug'](_0x230632);throw new Error(_0x230632[_0x261eeb(0x75)]());}}async[a55_0x3ff313(0x111)](){const _0x211a01=a55_0x3ff313,_0x13ff87={};_0x13ff87[_0x211a01(0xce)]=_0x211a01(0xf8),_0x13ff87[_0x211a01(0x120)]='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x9a47f2=_0x13ff87;if(this['browserstackLocal']&&this[_0x211a01(0x147)][_0x211a01(0x7e)]())try{await helper[_0x211a01(0xb0)](this[_0x211a01(0x147)]),logger[_0x211a01(0xd1)](_0x9a47f2[_0x211a01(0xce)]);}catch(_0x4b913e){logger[_0x211a01(0x148)](_0x9a47f2[_0x211a01(0x120)],_0x4b913e[_0x211a01(0xa0)]);}}async[a55_0x3ff313(0xc7)](){const _0xc635ae=a55_0x3ff313;return PerformanceTester[_0xc635ae(0x115)](PerformanceAutEvents[_0xc635ae(0x101)],async()=>{const _0x507ee9=_0xc635ae;await hubAllocator['allocateHub'](this[_0x507ee9(0x99)]);})();}async[a55_0x3ff313(0xdd)](){const _0x2d74f3=a55_0x3ff313,_0x3b4604={'lhxGA':function(_0xf2c581,_0xac1550){return _0xf2c581(_0xac1550);},'eOkDT':_0x2d74f3(0xd2),'EiQlW':function(_0x40edd3,_0x4b1533,_0x210116,_0x1e314b,_0x579fbf,_0x3aec0f,_0x27aa7d){return _0x40edd3(_0x4b1533,_0x210116,_0x1e314b,_0x579fbf,_0x3aec0f,_0x27aa7d);},'UQmli':_0x2d74f3(0x144),'KrMLU':_0x2d74f3(0xa8),'BAhfe':_0x2d74f3(0x9e),'DniST':_0x2d74f3(0x12f),'zKvGf':function(_0x3cc8c2,_0x43d203){return _0x3cc8c2(_0x43d203);},'pYFZo':function(_0x1c715d,_0xaa509a){return _0x1c715d===_0xaa509a;},'fvHXL':_0x2d74f3(0xf6),'FadSk':function(_0x335718,_0x17d848){return _0x335718===_0x17d848;},'hQiiU':_0x2d74f3(0x100),'AaPkn':_0x2d74f3(0xc3),'Jznaf':_0x2d74f3(0x8c),'wXChW':function(_0x1360ed,_0x295be1){return _0x1360ed(_0x295be1);},'BiGja':_0x2d74f3(0x142),'diTcV':function(_0x56761c,_0xec736c){return _0x56761c>=_0xec736c;},'TZvJP':function(_0x102c1b,_0x44483f){return _0x102c1b<_0x44483f;},'HHVgV':_0x2d74f3(0x10c),'MtPRz':_0x2d74f3(0x76),'gOgdY':function(_0x2473a3){return _0x2473a3();}},_0x32d3b9=PerformanceTester[_0x2d74f3(0x115)](_0x3b4604[_0x2d74f3(0x151)],async()=>{const _0x14d65e=_0x2d74f3;try{const _0x1af221=new Date(),_0x63c851=helper[_0x14d65e(0x12e)](this[_0x14d65e(0x99)]),_0x51faf2=_0x3b4604['lhxGA'](require,path[_0x14d65e(0xd8)](__dirname,_0x3b4604[_0x14d65e(0xb3)])),_0x184624=_0x3b4604[_0x14d65e(0x9a)](timeoutPromise,constants[_0x14d65e(0x107)],_0x3b4604[_0x14d65e(0x13d)],_0x3b4604['KrMLU'],_0x1af221,this[_0x14d65e(0x99)],this[_0x14d65e(0xae)]),_0x37eedc={'tcgUrl':constants[_0x14d65e(0x8e)],'sdkVersion':_0x3b4604['lhxGA'](require,_0x3b4604[_0x14d65e(0x13e)])[_0x14d65e(0x73)],'methodUsed':_0x3b4604['DniST'],'proxyConfig':_0x63c851,'os':os[_0x14d65e(0x82)]()};if(_0x63c851&&_0x63c851[_0x14d65e(0x145)]){utilities['fireFunnelTestEvent'](constants[_0x14d65e(0x154)],_0x37eedc,this[_0x14d65e(0x99)],this[_0x14d65e(0xae)]);return;}const _0x768a5a={};_0x768a5a['proxy']=_0x63c851;const _0x3ad345=await Promise[_0x14d65e(0x134)]([_0x51faf2[_0x14d65e(0x14a)](this[_0x14d65e(0x99)][_0x14d65e(0xfe)],this[_0x14d65e(0x99)][_0x14d65e(0x13f)],constants['TCG_URL'],_0x3b4604[_0x14d65e(0xb4)](require,_0x3b4604[_0x14d65e(0x13e)])[_0x14d65e(0x73)],_0x768a5a)[_0x14d65e(0x10a)](_0x4251bd=>{const _0x440863=_0x14d65e;return _0x184624[_0x440863(0xe9)](),_0x4251bd;}),_0x184624]);_0x3ad345[_0x14d65e(0xf7)]=_0x3b4604['pYFZo'](_0x3ad345[_0x14d65e(0xf7)],_0x3b4604['fvHXL'])||_0x3b4604['pYFZo'](_0x3ad345[_0x14d65e(0xf7)],!![]);const _0x55bb38=_0x3b4604[_0x14d65e(0x143)](this['config'][_0x14d65e(0xb5)],!![])||_0x3b4604['FadSk'](this[_0x14d65e(0x99)][_0x14d65e(0xb5)],_0x3b4604[_0x14d65e(0x7f)]);if(_0x3b4604[_0x14d65e(0x85)](_0x3ad345[_0x14d65e(0xa0)],constants[_0x14d65e(0xe3)])&&_0x55bb38)logger[_0x14d65e(0xd1)](_0x3b4604[_0x14d65e(0x166)]);else{if(!_0x3ad345[_0x14d65e(0x141)]&&_0x3b4604[_0x14d65e(0x143)](_0x3ad345['status'],0x1f7)&&_0x55bb38)logger[_0x14d65e(0xd1)](_0x3b4604[_0x14d65e(0x136)]),utilities[_0x14d65e(0xbd)](constants[_0x14d65e(0x15a)],_0x37eedc,this[_0x14d65e(0x99)],this[_0x14d65e(0xae)]);else{if(!_0x3ad345[_0x14d65e(0x141)]&&_0x55bb38){logger['info'](_0x3b4604[_0x14d65e(0x15f)]);const _0x17a727={'tcgUrl':constants[_0x14d65e(0x8e)],'sdkVersion':_0x3b4604[_0x14d65e(0x103)](require,_0x3b4604['BAhfe'])[_0x14d65e(0x73)],'methodUsed':_0x3b4604[_0x14d65e(0x10f)],'proxyConfig':_0x63c851,'os':os[_0x14d65e(0x82)]()};utilities[_0x14d65e(0xbd)](constants['TCG_AUTH_FAILURE'],_0x17a727,this['config'],this['framework']);}else{if(_0x3ad345[_0x14d65e(0x141)]&&!_0x3ad345[_0x14d65e(0xf7)]&&_0x55bb38)logger[_0x14d65e(0xd1)](_0x3b4604[_0x14d65e(0xb6)]);else{if(_0x3b4604['diTcV'](_0x3ad345[_0x14d65e(0x74)],0xc8)&&_0x3b4604[_0x14d65e(0x9c)](_0x3ad345[_0x14d65e(0x74)],0x12c))utilities[_0x14d65e(0xbd)](constants[_0x14d65e(0x159)],_0x37eedc,this['config'],this[_0x14d65e(0xae)]);else{if(_0x3b4604['diTcV'](_0x3ad345[_0x14d65e(0x74)],0x190))_0x37eedc[_0x14d65e(0x74)]=_0x3ad345[_0x14d65e(0x74)],utilities[_0x14d65e(0xbd)](constants[_0x14d65e(0xf3)],_0x37eedc,this[_0x14d65e(0x99)],this[_0x14d65e(0xae)]);else!_0x3ad345[_0x14d65e(0x74)]&&utilities['fireFunnelTestEvent'](constants[_0x14d65e(0xee)],_0x37eedc,this[_0x14d65e(0x99)],this[_0x14d65e(0xae)]);}}}}}if(_0x3ad345[_0x14d65e(0x141)]&&_0x3ad345[_0x14d65e(0xf7)]){const _0x3f87f8={};_0x3f87f8[_0x14d65e(0xf4)]=_0x3ad345;const _0x19e8f9=_0x3f87f8;_0x63c851&&(_0x19e8f9[_0x14d65e(0xe0)]=_0x63c851),_0x19e8f9['framework']=this[_0x14d65e(0xae)],_0x19e8f9['bstackConfig']=this['config'],helper['setupTcgConfigFile'](_0x19e8f9),logger[_0x14d65e(0xe4)](_0x3b4604['HHVgV']);}}catch(_0x4a5925){logger['debug']('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x4a5925[_0x14d65e(0xa0)]?_0x4a5925[_0x14d65e(0xa0)]:''));}});await _0x3b4604['gOgdY'](_0x32d3b9);}[a55_0x3ff313(0x124)](){const _0x48218a=a55_0x3ff313,_0x3db95d={'gwYIo':function(_0x3bea62,_0x30c245){return _0x3bea62(_0x30c245);},'cXcOm':_0x48218a(0x146)};_0x3db95d[_0x48218a(0xc8)](require,_0x3db95d['cXcOm'])();}[a55_0x3ff313(0xfa)](){const _0x2a1813=a55_0x3ff313,_0x5323d2={};_0x5323d2[_0x2a1813(0xcb)]=_0x2a1813(0xfc),_0x5323d2[_0x2a1813(0x161)]=_0x2a1813(0x130);const _0x479a24=_0x5323d2,_0x457d37=_0x44bee6=>{const _0x4fb615=_0x2a1813;logger[_0x4fb615(0x148)](_0x44bee6[_0x4fb615(0xa0)]),logger['debug'](util['format'](_0x44bee6)),this[_0x4fb615(0x11e)][_0x4fb615(0x10b)](util[_0x4fb615(0x121)]('%j',_0x44bee6)),PerformanceTester['captureError'](_0x44bee6);};process['on'](_0x479a24[_0x2a1813(0xcb)],_0x457d37),process['on'](_0x479a24[_0x2a1813(0x161)],_0x457d37);}async[a55_0x3ff313(0x139)](_0x55aa74){const _0x2dbc59=a55_0x3ff313,_0x562a5c={};_0x562a5c[_0x2dbc59(0x8a)]=_0x2dbc59(0x102),_0x562a5c[_0x2dbc59(0x108)]=function(_0x2a06f2,_0x1555c0){return _0x2a06f2+_0x1555c0;},_0x562a5c[_0x2dbc59(0x94)]=_0x2dbc59(0x91),_0x562a5c[_0x2dbc59(0x106)]=function(_0xda1b28,_0x58594a){return _0xda1b28+_0x58594a;},_0x562a5c[_0x2dbc59(0x8d)]=_0x2dbc59(0x77);const _0x5890ab=_0x562a5c,_0x1e12f8=_0x5890ab['JxKpW'][_0x2dbc59(0x11b)]('|');let _0x3ac89d=0x0;while(!![]){switch(_0x1e12f8[_0x3ac89d++]){case'0':this['killSignal']=_0x55aa74;continue;case'1':await TestHubHandler[_0x2dbc59(0x83)](_0x55aa74);continue;case'2':logger[_0x2dbc59(0xd1)](_0x5890ab[_0x2dbc59(0x108)](_0x5890ab[_0x2dbc59(0x94)],_0x55aa74));continue;case'3':if(this[_0x5890ab[_0x2dbc59(0x106)](_0x5890ab[_0x2dbc59(0x8d)],_0x55aa74)])return;continue;case'4':this[_0x5890ab['BWWzJ'](_0x5890ab[_0x2dbc59(0x8d)],_0x55aa74)]=!![];continue;}break;}}[a55_0x3ff313(0xcf)](){const _0x14137e=a55_0x3ff313,_0x4c5051={};_0x4c5051['cBIbc']=function(_0x111a8a,_0x58a459){return _0x111a8a===_0x58a459;},_0x4c5051[_0x14137e(0x138)]=_0x14137e(0xa3),_0x4c5051[_0x14137e(0xa7)]=function(_0x4c9e9d,_0x5dc1af){return _0x4c9e9d>_0x5dc1af;},_0x4c5051[_0x14137e(0xad)]=_0x14137e(0x119);const _0x2509c3=_0x4c5051;let _0x329385=0x0;return async()=>{const _0x501858=_0x14137e;_0x329385++;if(_0x2509c3[_0x501858(0xf0)](_0x329385,0x1)){helper[_0x501858(0xed)](this[_0x501858(0xae)])&&await this[_0x501858(0x111)]();try{logger['debug'](_0x2509c3[_0x501858(0x138)]),await TestHubHandler[_0x501858(0x83)](_0x329385);}catch(_0x4d1ea2){logger[_0x501858(0xe4)](_0x501858(0x8f)+util[_0x501858(0x121)](_0x4d1ea2));}PerformanceTester[_0x501858(0x11d)](PerformanceEvents['SDK_CLEANUP']);if(PerformanceTester['isEnabled']()){const {measures:_0x495f1b,errors:_0x34cdf3}=await PerformanceTester[_0x501858(0x81)](),_0x39d7c3={};if(_0x495f1b&&_0x2509c3[_0x501858(0xa7)](_0x495f1b[_0x501858(0x114)],0x0)||_0x34cdf3&&_0x2509c3['rPVLu'](_0x34cdf3[_0x501858(0x114)],0x0)){const _0xcd26c1={};_0xcd26c1[_0x501858(0x153)]=_0x495f1b,_0xcd26c1[_0x501858(0x9d)]=_0x34cdf3,Object[_0x501858(0x160)](_0x39d7c3,_0xcd26c1);}try{const _0x102474=await helper['sendToEDS'](_0x39d7c3,this[_0x501858(0x99)]);logger[_0x501858(0xe4)]('Data\x20sent\x20successfully\x20to\x20'+constants[_0x501858(0x128)]+'\x20with\x20response\x20'+_0x102474[_0x501858(0xbe)]);}catch(_0x1d2700){logger['debug'](_0x501858(0x169)+constants[_0x501858(0x128)]+_0x501858(0x84)+util['format'](_0x1d2700));}try{fs[_0x501858(0x156)](_0x2509c3['AjVrA'],JSON['stringify'](_0x39d7c3));}catch(_0x6c3681){logger[_0x501858(0xe4)](_0x501858(0x10e)+_0x6c3681);}}}};}}exports[a55_0x3ff313(0xd3)]=BrowserStackSetup;function a55_0x3388(_0x4b8f40,_0x2dfae5){const _0x214025=a55_0x2140();return a55_0x3388=function(_0x338868,_0x41d5ae){_0x338868=_0x338868-0x72;let _0x1f9f75=_0x214025[_0x338868];return _0x1f9f75;},a55_0x3388(_0x4b8f40,_0x2dfae5);}function a55_0x2140(){const _0x555da0=['errorMessage','./percy/utils','cancel','3220720qADSxv','QkyZC','oOjxA','checkStopLocalBinaryOnExit','INVALID_INIT_RESP_WITH_USER_IMPACT','setCLICaps','cBIbc','userName\x20or\x20accessKey\x20is\x20not\x20defined','setBrowserstackInfraFromConfig','AI_INIT_FAILURE','tcgAuthConfig','doviO','true','isHealingEnabled','Local\x20binary\x20stopped','ZjOgG','handleExceptions','3902015rFMftY','unhandledRejection','platforms','accessKey','includes','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','HUB_MANAGEMENT','3|4|2|0|1','wXChW','BROWSERSTACK_CENTRAL_USER','lpHeg','BWWzJ','TCG_AUTH_TIMEOUT','ttTlm','browserStackLocalOptions','then','push','tcg\x20config\x20setup\x20successful.','initialize','Error\x20in\x20writing\x20events\x20to\x20file\x20','DniST','AeImZ','stopBrowserstackLocal','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','isUndefined','length','measureWrapper','1LpOvog','SIGTERM','qCetG','log/events.json','UAPEz','split','./performance/constants','end','unhandledErrors','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','zmDtj','format','localOptions','getLocalConfig','setupKeepAlive','constructor','getAccessKey','IcBFy','EDS_URL','Dgsbg','bind','getConfigPath','turboScaleUrl','env','getProxyConfigForTcg','BrowserstackHealing.init','uncaughtException','generateLocalIdentifier','./ats/helper','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','race','oLKDb','AaPkn','compareVersions','hlpTU','intExitHandler','path','getUserName','skipSessionStatus','UQmli','BAhfe','userName','false','isAuthenticated','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','pYFZo','BrowserstackHealing.init\x20method\x20timed\x20out','proxyUrl','./setKeepAlive','browserstackLocal','error','Omqpg','init','vfIOd','nwqJn','Percy\x20stopped','codeceptjs','skipSessionName','setupBrowserstackLocal','MtPRz','turboScale','measures','AI_PROXY_FAILURE','readConfig','writeFileSync','./testhub/testhubHandler','parallelsPerPlatform','AI_INIT_SUCCESSFUL','TCG_DOWN','1808104pSiTek','BROWSERSTACK_TURBOSCALE','forceLocal','stopPercy','Jznaf','assign','FFgNf','No\x20config\x20provided.','./helper','turboScaleOptions','70oOAtAF','hQiiU','./utilities','useW3C','Failed\x20to\x20send\x20data\x20to\x20','isTrue','version','status','toString','aiHeal:tcgAuth','handled','turboScaleGridDetails','beforeExit','FRAMEWORK','NnJCW','./performance/performance-tester','GAOQa','isRunning','fvHXL','zSfEk','finalize','platform','stop','\x20with\x20error\x20','FadSk','hubUrl','Error\x20in\x20percy\x20setup\x20','1038507qjGXvc','4.5.0','JxKpW','util','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','mdsSv','TCG_URL','Error\x20in\x20sending\x20testhub\x20stop:\x20','Gktga','Shutdown\x20triggered\x20by\x20','3607092jzbMeh','warn','MAhgH','requireSeleniumWebdriverCheck','killSignal','playwright','YdZHu','config','EiQlW','selenium-webdriver','TZvJP','exceptions','../../package.json','setHandlePWError','message','NnVRH','skipBinaryInitialisation','Calling\x20Build\x20Stop\x20from\x20ExitHandler','37|23|19|20|5|30|21|14|38|31|40|8|22|12|6|41|25|16|13|9|42|34|4|17|27|10|2|32|26|11|1|24|18|28|36|33|15|7|3|39|29|0|35','Percy\x20started\x20successfully','wBTeu','rPVLu','BrowserstackHealingInitFailed','Kpxsy','qxkPM','SIGBREAK','?caps=','AjVrA','framework','7QdnASN','stopLocalBinary','KcgJE','BROWSERSTACK_PERCY','eOkDT','zKvGf','selfHeal','BiGja','getLocalIdentifier','testContextOptions','PsxTp','cliConfig','khMmu','url','fireFunnelTestEvent','statusCode','percy','setEnvCaps','DBfgb','AUTOLOGCAPTURE_NOTIFICATION','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','getFinalCaps','2363292BSzADC','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','setUpHubUrl','gwYIo','SDKTestAttempted','cFVzr','wQdqe','vcxSM','./logger','OIYYw','exitHandler','startPercy','info','../ai-sdk-node/bundle','default','rvQCk','SIGQUIT','sanitizeCaps','kltuW','join','sdkRunID','winstonLogger','Local\x20binary\x20started\x20successfully','isBrowserstackInfra','setupTCGAuth','1499466iYIOYP','setProxySettings','proxyConfig','ats-repeater','getPackageVersion','UPGRADE_REQUIRED','debug','envConfig','customRepeaters'];a55_0x2140=function(){return _0x555da0;};return a55_0x2140();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a56_0x5aee(_0x75f782,_0x31b3f7){var _0x47254b=a56_0x4725();return a56_0x5aee=function(_0x5aee03,_0x5bca4c){_0x5aee03=_0x5aee03-0x13f;var _0x277b35=_0x47254b[_0x5aee03];return _0x277b35;},a56_0x5aee(_0x75f782,_0x31b3f7);}var a56_0xf31f10=a56_0x5aee;(function(_0x9ebe81,_0x339b0c){var _0x38ad36=a56_0x5aee,_0x2a0e98=_0x9ebe81();while(!![]){try{var _0x570ff6=-parseInt(_0x38ad36(0x148))/0x1*(parseInt(_0x38ad36(0x14b))/0x2)+parseInt(_0x38ad36(0x142))/0x3+-parseInt(_0x38ad36(0x147))/0x4*(parseInt(_0x38ad36(0x144))/0x5)+-parseInt(_0x38ad36(0x140))/0x6*(-parseInt(_0x38ad36(0x141))/0x7)+-parseInt(_0x38ad36(0x146))/0x8*(parseInt(_0x38ad36(0x149))/0x9)+parseInt(_0x38ad36(0x13f))/0xa+parseInt(_0x38ad36(0x143))/0xb;if(_0x570ff6===_0x339b0c)break;else _0x2a0e98['push'](_0x2a0e98['shift']());}catch(_0x89f5c7){_0x2a0e98['push'](_0x2a0e98['shift']());}}}(a56_0x4725,0x96de1),exports[a56_0xf31f10(0x145)]=a56_0xf31f10(0x14a));function a56_0x4725(){var _0x11b2d0=['236UzArMp','3qRrmoe','336249HrDpEC','https://accessibility.browserstack.com/api','595184qQcxSn','11102340jbthoN','40044FMLKxA','77TLeZfW','3232167YdhkYK','12735844GcNgbz','69885AYTXzA','API_URL','232TtKdii'];a56_0x4725=function(){return _0x11b2d0;};return a56_0x4725();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a57_0x21687c=a57_0x208d;(function(_0x485c18,_0x2287e5){const _0x526072=a57_0x208d,_0x3b449b=_0x485c18();while(!![]){try{const _0x32a5f7=parseInt(_0x526072(0xfc))/0x1+parseInt(_0x526072(0x123))/0x2*(parseInt(_0x526072(0x128))/0x3)+parseInt(_0x526072(0x162))/0x4+parseInt(_0x526072(0x102))/0x5+-parseInt(_0x526072(0x13c))/0x6+-parseInt(_0x526072(0x159))/0x7+-parseInt(_0x526072(0x13a))/0x8*(parseInt(_0x526072(0x167))/0x9);if(_0x32a5f7===_0x2287e5)break;else _0x3b449b['push'](_0x3b449b['shift']());}catch(_0x590d22){_0x3b449b['push'](_0x3b449b['shift']());}}}(a57_0x7c0c,0xbe46a));function a57_0x7c0c(){const _0x24b8cf=['Invalid\x20configuration\x20passed.','warn','Performing\x20scan\x20before\x20getting\x20results\x20summary','isAccessibilityPlatform','success','method','env','scannerVersion','3236387sgeWDd','isBrowserstackInfra','BS_A11Y_JWT','jvnTo','errors','forEach','getHostInfo','mFBLr','getCapabilities','1752236JILFQD','getBrowserVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','debug','accessibilityToken','486BkIcCk','getAccessKey','excludeTagsInTestingScope','BNqxX','dCzga','cwd','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','Content-Type','buildDescription','isArray','SNwyd','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getGitMetaData','nZNLc','some','headers','basename','auth','../logger','__cloud_provider___','includes','resolve','fetchPlatformDetails','./constants','javascript','stack','string','XnvBI','getUserName','Qwtle','path','Hdgzj','Invalid\x20request:\x20','QqftQ','pEcTf','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','XKDjM','performScan','parseFromJson','shouldScanTestForAccessibility','getGlobal','kWKej','user','accessibility','browserstackSessionName','isBrowserStackCommandExecutor','rTmHs','isAccessibilityAutomationSession','PUT','VZMtK','oNEuj','nodeRequest','measureWrapper','parse','No\x20accessibility\x20results\x20were\x20found.','xmKbe','executeAsyncScript','tLslm','v2/test_runs','oIjBT','json','642162njgnWC','browserstack_executor','statusText','Bpzzx','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','stopAccessibilityTestRun','6421810NMuqUI','format','assign','POST','TtdBH','toJson','getAccessibilityResultsSummary','playwright','npnEE','HYXXM','KawHb','getPlatform','getResultsSummary','script','duzrM','response','data','stringify','../globals','./scripts','GET_RESULTS_SUMMARY','RaplZ','aZXZV','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','isUndefined','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','No\x20accessibility\x20summary\x20was\x20found.','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','bVvBQ','sSxNK','LnWFH','166pRxiaj','bstackA11yShouldScan','qzzjT','checkAccessibilityPlatformConfig','xDRQi','3747ENlUEJ','kxREG','browserstack','RJGkD','EJmxO','RzGnm','getPackageVersion','getCiInfo','body','platforms','../performance/performance-tester','message','getAccessibilityResults','vcpfM','error','KVjpi','SvNPi','length','178376JAikqd','PERFORM_SCAN','135006AtvmjB','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','BUZHT','LNnEq','status','oXiIv','buildName','null','a11y:stop','VbKyM','bDBFH','getPlatformVersion','YSAxQ','xtNIk','ALnIQ','join','toISOString','Olcae','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','application/json','nUvYB'];a57_0x7c0c=function(){return _0x24b8cf;};return a57_0x7c0c();}const path=require(a57_0x21687c(0x185)),util=require('util'),bsSetupHelper=require('../helper'),logger=require(a57_0x21687c(0x179))['winstonLogger'],{API_URL}=require(a57_0x21687c(0x17e)),PerformanceTester=require(a57_0x21687c(0x132)),scripts=require(a57_0x21687c(0x115)),globals=require(a57_0x21687c(0x114)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');function a57_0x208d(_0x534301,_0x3482c8){const _0x7c0c24=a57_0x7c0c();return a57_0x208d=function(_0x208dd7,_0x5d9d74){_0x208dd7=_0x208dd7-0xf8;let _0xe6b3ca=_0x7c0c24[_0x208dd7];return _0xe6b3ca;},a57_0x208d(_0x534301,_0x3482c8);}exports[a57_0x21687c(0x17d)]=async _0x587baa=>{const _0x4fb1b2=a57_0x21687c,_0x58b7bb={};_0x58b7bb[_0x4fb1b2(0x127)]=function(_0x37a6f8,_0x2b3cd5){return _0x37a6f8===_0x2b3cd5;},_0x58b7bb[_0x4fb1b2(0x199)]=_0x4fb1b2(0x12a);const _0x3f943f=_0x58b7bb;let _0x2d1e58={};try{const _0x1e1759=await _0x587baa[_0x4fb1b2(0x161)]();_0x2d1e58={'os_name':_0x1e1759[_0x4fb1b2(0x10d)](),'os_version':bsSetupHelper[_0x4fb1b2(0x147)](_0x3f943f[_0x4fb1b2(0x127)](global[_0x4fb1b2(0x17a)],_0x3f943f[_0x4fb1b2(0x199)])),'browser_name':_0x1e1759['getBrowserName'](),'browser_version':_0x1e1759[_0x4fb1b2(0x163)]()};}catch(_0x343a88){logger[_0x4fb1b2(0x165)](_0x4fb1b2(0x18b)+_0x343a88);}return _0x2d1e58;},exports[a57_0x21687c(0x197)]=()=>{const _0x4f8279=a57_0x21687c,_0x13e6f5={};_0x13e6f5[_0x4f8279(0x19f)]=function(_0x3e8485,_0x4068c6){return _0x3e8485===_0x4068c6;},_0x13e6f5['Hdgzj']=_0x4f8279(0x181),_0x13e6f5[_0x4f8279(0x125)]=function(_0x476cac,_0x2fe00d){return _0x476cac>_0x2fe00d;},_0x13e6f5[_0x4f8279(0x12c)]=function(_0x135dbb,_0x25932c){return _0x135dbb!==_0x25932c;},_0x13e6f5['RzGnm']=_0x4f8279(0x143),_0x13e6f5[_0x4f8279(0x117)]=function(_0x16713f,_0x5ac8e3){return _0x16713f&&_0x5ac8e3;};const _0x5c0401=_0x13e6f5;try{if(!bsSetupHelper[_0x4f8279(0x15a)]())return![];const _0x4026a0=bsSetupHelper['isTrue'](process[_0x4f8279(0x157)][_0x4f8279(0x172)])||bsSetupHelper['isTrue'](process[_0x4f8279(0x157)][_0x4f8279(0x13d)]),_0x57f887=_0x5c0401['xmKbe'](typeof process[_0x4f8279(0x157)][_0x4f8279(0x15b)],_0x5c0401[_0x4f8279(0x186)])&&_0x5c0401[_0x4f8279(0x125)](process['env']['BS_A11Y_JWT'][_0x4f8279(0x139)],0x0)&&_0x5c0401[_0x4f8279(0x12c)](process[_0x4f8279(0x157)][_0x4f8279(0x15b)],_0x5c0401[_0x4f8279(0x12d)]);return _0x5c0401[_0x4f8279(0x117)](_0x4026a0,_0x57f887);}catch(_0xf7242e){logger['debug']('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0xf7242e);}return![];},exports[a57_0x21687c(0x18f)]=(_0x36c62e=null,_0x2eb83a=!![],_0x3c3268=[])=>{const _0x32a9e7=a57_0x21687c,_0x15067b={};_0x15067b[_0x32a9e7(0x189)]=function(_0x233ca0,_0x200633){return _0x233ca0==_0x200633;},_0x15067b[_0x32a9e7(0xf8)]=function(_0x49bf4d,_0x8c8531){return _0x49bf4d>_0x8c8531;},_0x15067b[_0x32a9e7(0x182)]=function(_0x55fda7,_0x9f9472){return _0x55fda7===_0x9f9472;},_0x15067b[_0x32a9e7(0x118)]=function(_0x3b290b,_0x55135e){return _0x3b290b&&_0x55135e;},_0x15067b['QqftQ']=function(_0x46ae04,_0x3e742d){return _0x46ae04===_0x3e742d;};const _0x25b828=_0x15067b;if(_0x25b828['pEcTf'](process[_0x32a9e7(0x157)][_0x32a9e7(0x18a)],null))return!![];try{const _0x3cd17a=JSON[_0x32a9e7(0x19d)](process[_0x32a9e7(0x157)][_0x32a9e7(0x18a)]),_0x4e7dbc=Array[_0x32a9e7(0x170)](_0x3cd17a['includeTagsInTestingScope'])?_0x3cd17a['includeTagsInTestingScope']:[],_0x195297=Array[_0x32a9e7(0x170)](_0x3cd17a[_0x32a9e7(0x169)])?_0x3cd17a[_0x32a9e7(0x169)]:[];if(bsSetupHelper[_0x32a9e7(0x11b)](_0x36c62e)){if(_0x25b828[_0x32a9e7(0xf8)](_0x3c3268[_0x32a9e7(0x139)],0x0)){const _0x230ef9=_0x195297[_0x32a9e7(0x175)](_0x5db231=>_0x3c3268[_0x32a9e7(0x17b)](_0x5db231)),_0x347c73=_0x25b828[_0x32a9e7(0x182)](_0x4e7dbc[_0x32a9e7(0x139)],0x0)||_0x4e7dbc['some'](_0x1708c4=>_0x3c3268[_0x32a9e7(0x17b)](_0x1708c4));return _0x25b828[_0x32a9e7(0x118)](!_0x230ef9,_0x347c73);}return!![];}let _0x173198;_0x2eb83a?_0x173198=_0x36c62e[_0x32a9e7(0x14b)]('/'):_0x173198=_0x36c62e;const _0xc6dddd=_0x195297[_0x32a9e7(0x175)](_0x121fee=>_0x173198[_0x32a9e7(0x17b)](_0x121fee)),_0x53f895=_0x25b828[_0x32a9e7(0x188)](_0x4e7dbc[_0x32a9e7(0x139)],0x0)||_0x4e7dbc[_0x32a9e7(0x175)](_0x1cef11=>_0x173198[_0x32a9e7(0x17b)](_0x1cef11));return _0x25b828['aZXZV'](!_0xc6dddd,_0x53f895);}catch(_0x568f47){logger[_0x32a9e7(0x165)](_0x32a9e7(0x11e)+util[_0x32a9e7(0x103)](_0x568f47));}return![];},exports[a57_0x21687c(0x126)]=_0xbb84a5=>{const _0x3ee3a6=a57_0x21687c;let _0x4fa80c=![];try{_0xbb84a5[_0x3ee3a6(0x131)][_0x3ee3a6(0x15e)](_0x593e31=>{if(bsSetupHelper['isTrue'](_0x593e31['accessibility']))return _0x4fa80c=!![],!![];});}catch(_0xe46d13){logger[_0x3ee3a6(0x165)](_0x3ee3a6(0x100)+_0xe46d13);}return _0x4fa80c||bsSetupHelper['isTrue'](_0xbb84a5[_0x3ee3a6(0x193)]);},exports['createAccessibilityTestRun']=PerformanceTester[a57_0x21687c(0x19c)]('a11y:start',async function(_0x349ac2,_0x2c363e){const _0x21b0cb=a57_0x21687c,_0x53d14e={};_0x53d14e[_0x21b0cb(0x145)]=_0x21b0cb(0x11f),_0x53d14e[_0x21b0cb(0x137)]=_0x21b0cb(0x109),_0x53d14e['npnEE']=_0x21b0cb(0x17f),_0x53d14e[_0x21b0cb(0x196)]='application/json',_0x53d14e['BNqxX']=_0x21b0cb(0x105),_0x53d14e[_0x21b0cb(0x13f)]=_0x21b0cb(0xf9),_0x53d14e['TtdBH']=function(_0x2cf48e,_0xf98877){return _0x2cf48e===_0xf98877;},_0x53d14e[_0x21b0cb(0x135)]=_0x21b0cb(0x151),_0x53d14e[_0x21b0cb(0x110)]='false';const _0x55b9f3=_0x53d14e,_0x5cb48d=bsSetupHelper[_0x21b0cb(0x183)](_0x349ac2),_0x5e2d5c=bsSetupHelper[_0x21b0cb(0x168)](_0x349ac2);if(bsSetupHelper[_0x21b0cb(0x11b)](_0x5cb48d)||bsSetupHelper[_0x21b0cb(0x11b)](_0x5e2d5c))return logger[_0x21b0cb(0x136)](_0x55b9f3[_0x21b0cb(0x145)]),[null,null];try{let _0xda73a5;bsSetupHelper[_0x21b0cb(0x11b)](process[_0x21b0cb(0x157)][_0x21b0cb(0x18a)])?_0xda73a5={}:_0xda73a5=JSON[_0x21b0cb(0x19d)](process[_0x21b0cb(0x157)][_0x21b0cb(0x18a)]);const {name:_0x586b36,version:_0x6649f7}=bsSetupHelper['getTestFrameworkDetails'](_0x349ac2,_0x2c363e),_0x20979f={'projectName':_0x349ac2['projectName'],'buildName':_0x349ac2[_0x21b0cb(0x142)]||path[_0x21b0cb(0x177)](path[_0x21b0cb(0x17c)](process[_0x21b0cb(0x16c)]())),'startTime':new Date()[_0x21b0cb(0x14c)](),'description':_0x349ac2[_0x21b0cb(0x16f)]||'','source':{'frameworkName':_0x2c363e[_0x21b0cb(0x17b)](_0x55b9f3[_0x21b0cb(0x137)])?_0x55b9f3[_0x21b0cb(0x137)]:_0x2c363e,'frameworkVersion':bsSetupHelper[_0x21b0cb(0x12e)](_0x2c363e),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x55b9f3[_0x21b0cb(0x10a)],'testFramework':_0x586b36,'testFrameworkVersion':_0x6649f7},'settings':_0xda73a5,'versionControl':await bsSetupHelper[_0x21b0cb(0x173)](),'ciInfo':bsSetupHelper[_0x21b0cb(0x12f)](),'hostInfo':bsSetupHelper[_0x21b0cb(0x15f)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0xf81d1c={};_0xf81d1c[_0x21b0cb(0x192)]=_0x5cb48d,_0xf81d1c['pass']=_0x5e2d5c;const _0x49d7a0={};_0x49d7a0[_0x21b0cb(0x16e)]=_0x55b9f3[_0x21b0cb(0x196)];const _0x5bde3b={};_0x5bde3b[_0x21b0cb(0x178)]=_0xf81d1c,_0x5bde3b[_0x21b0cb(0x176)]=_0x49d7a0;const _0x30b5d7=_0x5bde3b,_0x23bbb2={};_0x23bbb2['body']=_0x20979f,_0x23bbb2[_0x21b0cb(0xfb)]=!![];const _0x554413=Object[_0x21b0cb(0x104)](_0x30b5d7,_0x23bbb2),_0x3db48d=await bsSetupHelper[_0x21b0cb(0x19b)](_0x55b9f3[_0x21b0cb(0x16a)],_0x55b9f3[_0x21b0cb(0x13f)],_0x554413,_0x349ac2,API_URL);let _0x2e76c7=process[_0x21b0cb(0x157)][_0x21b0cb(0x18a)];return _0x2e76c7?_0x2e76c7=JSON[_0x21b0cb(0x19d)](process[_0x21b0cb(0x157)][_0x21b0cb(0x18a)]):_0x2e76c7={},scripts[_0x21b0cb(0x18e)](_0x3db48d[_0x21b0cb(0x112)][_0x21b0cb(0x112)]),scripts[_0x21b0cb(0x107)](),_0x2e76c7[_0x21b0cb(0x158)]=_0x3db48d[_0x21b0cb(0x112)][_0x21b0cb(0x112)][_0x21b0cb(0x158)],process[_0x21b0cb(0x157)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x21b0cb(0x113)](_0x2e76c7),[_0x3db48d[_0x21b0cb(0x112)][_0x21b0cb(0x112)][_0x21b0cb(0x166)],_0x3db48d[_0x21b0cb(0x112)][_0x21b0cb(0x112)]['id']];}catch(_0x9a2979){if(_0x9a2979['response'])logger[_0x21b0cb(0x136)](_0x21b0cb(0x11a)+_0x9a2979['response'][_0x21b0cb(0x140)]+'\x20'+_0x9a2979[_0x21b0cb(0x111)][_0x21b0cb(0xfe)]+'\x20'+JSON['stringify'](_0x9a2979['response'][_0x21b0cb(0x112)]));else{if(_0x55b9f3[_0x21b0cb(0x106)](_0x9a2979['message'],_0x55b9f3[_0x21b0cb(0x135)])){logger[_0x21b0cb(0x136)](_0x21b0cb(0x11a)+(_0x9a2979['message']||_0x9a2979[_0x21b0cb(0x180)]));for(const _0x1af2b5 of _0x9a2979[_0x21b0cb(0x15d)]){logger[_0x21b0cb(0x136)](_0x1af2b5[_0x21b0cb(0x133)]);}process[_0x21b0cb(0x157)][_0x21b0cb(0x172)]=_0x55b9f3[_0x21b0cb(0x110)],process['env'][_0x21b0cb(0x13d)]=_0x55b9f3['duzrM'];}else logger[_0x21b0cb(0x136)](_0x21b0cb(0x11a)+(_0x9a2979[_0x21b0cb(0x133)]||_0x9a2979[_0x21b0cb(0x180)]));}return[null,null];}}),exports[a57_0x21687c(0x101)]=PerformanceTester[a57_0x21687c(0x19c)](a57_0x21687c(0x144),async function(_0x420b7b){const _0x11f62=a57_0x21687c,_0x24a9fe={};_0x24a9fe['XKDjM']=function(_0x3f6ca0,_0x2792d8){return _0x3f6ca0!==_0x2792d8;},_0x24a9fe[_0x11f62(0x12b)]=_0x11f62(0x181),_0x24a9fe[_0x11f62(0x191)]=_0x11f62(0x136),_0x24a9fe['czbgq']='Build\x20creation\x20had\x20failed.',_0x24a9fe[_0x11f62(0x148)]=_0x11f62(0x14f),_0x24a9fe[_0x11f62(0x16b)]=_0x11f62(0x198),_0x24a9fe[_0x11f62(0x171)]='test_runs/stop',_0x24a9fe[_0x11f62(0x14d)]=function(_0x1b70ef,_0x3d6fd5){return _0x1b70ef+_0x3d6fd5;},_0x24a9fe[_0x11f62(0x13e)]=_0x11f62(0x187),_0x24a9fe[_0x11f62(0x141)]=_0x11f62(0x155);const _0x20e870=_0x24a9fe;if(bsSetupHelper['isUndefined'](process['env']['BS_A11Y_JWT'])||_0x20e870[_0x11f62(0x18c)](typeof process[_0x11f62(0x157)][_0x11f62(0x15b)],_0x20e870[_0x11f62(0x12b)])){const _0x5a1c64={};return _0x5a1c64[_0x11f62(0x140)]=_0x20e870[_0x11f62(0x191)],_0x5a1c64[_0x11f62(0x133)]=_0x20e870['czbgq'],_0x5a1c64;}const _0x2ee68b={'endTime':new Date()['toISOString']()},_0x292e5c={};_0x292e5c['Authorization']='Bearer\x20'+process[_0x11f62(0x157)][_0x11f62(0x15b)],_0x292e5c[_0x11f62(0x16e)]=_0x20e870[_0x11f62(0x148)];const _0x461f6b={};_0x461f6b['headers']=_0x292e5c;const _0x178b8d=_0x461f6b,_0x349106={};_0x349106[_0x11f62(0x130)]=_0x2ee68b,_0x349106[_0x11f62(0x178)]=null,_0x349106['json']=!![];const _0x42fb17=Object['assign'](_0x178b8d,_0x349106);try{const _0x4dfec6=await bsSetupHelper[_0x11f62(0x19b)](_0x20e870[_0x11f62(0x16b)],_0x20e870[_0x11f62(0x171)],_0x42fb17,_0x420b7b,API_URL);if(_0x4dfec6[_0x11f62(0x112)][_0x11f62(0x136)])throw new Error(_0x20e870[_0x11f62(0x14d)](_0x20e870[_0x11f62(0x13e)],_0x4dfec6[_0x11f62(0x112)][_0x11f62(0x136)]));else{logger['info'](_0x11f62(0x11c)+new Date()[_0x11f62(0x14c)]());const _0x1c6250={};return _0x1c6250[_0x11f62(0x140)]=_0x20e870['oXiIv'],_0x1c6250[_0x11f62(0x133)]='',_0x1c6250;}}catch(_0xb8ce31){_0xb8ce31[_0x11f62(0x111)]?logger['error']('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0xb8ce31[_0x11f62(0x111)][_0x11f62(0x140)]+'\x20'+_0xb8ce31[_0x11f62(0x111)][_0x11f62(0xfe)]+'\x20'+JSON[_0x11f62(0x113)](_0xb8ce31[_0x11f62(0x111)][_0x11f62(0x112)])):logger[_0x11f62(0x136)](_0x11f62(0x119)+(_0xb8ce31[_0x11f62(0x133)]||util[_0x11f62(0x103)](_0xb8ce31)));const _0x58b1bb={};return _0x58b1bb[_0x11f62(0x140)]=_0x20e870[_0x11f62(0x191)],_0x58b1bb[_0x11f62(0x133)]=_0xb8ce31[_0x11f62(0x133)]||(_0xb8ce31['response']?_0xb8ce31[_0x11f62(0x111)]['status']+':'+_0xb8ce31[_0x11f62(0x111)][_0x11f62(0xfe)]:_0xb8ce31),_0x58b1bb;}}),exports['performScan']=async(_0x738cfd,_0x1cec9b=null)=>{const _0x4019a5=a57_0x21687c,_0x1bf10a={};_0x1bf10a['KawHb']='isAccessibilityPlatform',_0x1bf10a[_0x4019a5(0x129)]=_0x4019a5(0x124),_0x1bf10a[_0x4019a5(0x14a)]=_0x4019a5(0x16d);const _0x3b0b01=_0x1bf10a;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x3b0b01[_0x4019a5(0x10c)])||!globals[_0x4019a5(0x190)](_0x3b0b01['kxREG'])){logger[_0x4019a5(0x152)](_0x3b0b01[_0x4019a5(0x14a)]);return;}await PerformanceTester[_0x4019a5(0x19c)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x148cf7=_0x4019a5,_0x18f84a={};_0x18f84a[_0x148cf7(0x156)]=_0x1cec9b||global[_0x148cf7(0x194)],logger['debug'](util['format'](await _0x738cfd['executeAsyncScript'](scripts[_0x148cf7(0x18d)],_0x18f84a)));},{'command':_0x1cec9b})();},exports[a57_0x21687c(0x134)]=async(_0x2ce560,_0x4a840e)=>{const _0x55bb94=a57_0x21687c,_0x45f362={};_0x45f362[_0x55bb94(0xff)]='Performing\x20scan\x20before\x20getting\x20results',_0x45f362[_0x55bb94(0x160)]=_0x55bb94(0x154),_0x45f362[_0x55bb94(0x121)]=_0x55bb94(0x124),_0x45f362['bDBFH']=_0x55bb94(0x164),_0x45f362['SvNPi']=_0x55bb94(0x134),_0x45f362['nZNLc']=_0x55bb94(0x19e);const _0x258a83=_0x45f362;if(!this['isAccessibilityAutomationSession']()||!globals[_0x55bb94(0x190)](_0x258a83['mFBLr'])||!globals['getGlobal'](_0x258a83['sSxNK']))return logger['warn'](_0x258a83[_0x55bb94(0x146)]),[];try{await PerformanceTester[_0x55bb94(0x19c)](PerformanceA11yEvents[_0x55bb94(0x13b)],async()=>{const _0x25803b=_0x55bb94;logger[_0x25803b(0x165)](_0x258a83[_0x25803b(0xff)]);const _0x11e834={};_0x11e834['method']=_0x4a840e[_0x25803b(0x194)],logger[_0x25803b(0x165)](util[_0x25803b(0x103)](await _0x2ce560['executeAsyncScript'](scripts[_0x25803b(0x18d)],_0x11e834)));},{'command':_0x258a83[_0x55bb94(0x138)]})(),await PerformanceTester[_0x55bb94(0x19c)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x108947=_0x55bb94,_0x2ba77a=await _0x2ce560[_0x108947(0x1a0)](scripts['getResults']);return _0x2ba77a;})();}catch{return logger[_0x55bb94(0x136)](_0x258a83[_0x55bb94(0x174)]),[];}},exports[a57_0x21687c(0x108)]=async(_0x24e978,_0x927cff)=>{const _0x4ee888=a57_0x21687c,_0x2f61d6={};_0x2f61d6[_0x4ee888(0x15c)]=_0x4ee888(0x153),_0x2f61d6['oNEuj']=_0x4ee888(0x154),_0x2f61d6[_0x4ee888(0x150)]='bstackA11yShouldScan',_0x2f61d6[_0x4ee888(0x122)]=_0x4ee888(0x14e),_0x2f61d6[_0x4ee888(0x10b)]=_0x4ee888(0x108),_0x2f61d6[_0x4ee888(0x184)]=_0x4ee888(0x11d);const _0x3b642e=_0x2f61d6;if(!this[_0x4ee888(0x197)]()||!globals[_0x4ee888(0x190)](_0x3b642e[_0x4ee888(0x19a)])||!globals[_0x4ee888(0x190)](_0x3b642e['nUvYB']))return logger[_0x4ee888(0x152)](_0x3b642e[_0x4ee888(0x122)]),{};try{await PerformanceTester[_0x4ee888(0x19c)](PerformanceA11yEvents[_0x4ee888(0x13b)],async()=>{const _0x293cd5=_0x4ee888;logger[_0x293cd5(0x165)](_0x3b642e['jvnTo']);const _0x3880c0={};_0x3880c0[_0x293cd5(0x156)]=_0x927cff[_0x293cd5(0x194)],logger[_0x293cd5(0x165)](util[_0x293cd5(0x103)](await _0x24e978[_0x293cd5(0x1a0)](scripts[_0x293cd5(0x18d)],_0x3880c0)));},{'command':_0x3b642e[_0x4ee888(0x10b)]})(),await PerformanceTester[_0x4ee888(0x19c)](PerformanceA11yEvents[_0x4ee888(0x116)],async()=>{const _0x46777=_0x4ee888,_0x53382d=await _0x24e978[_0x46777(0x1a0)](scripts[_0x46777(0x10e)]);return _0x53382d;})();}catch{return logger[_0x4ee888(0x136)](_0x3b642e[_0x4ee888(0x184)]),{};}},exports[a57_0x21687c(0x195)]=_0x13223f=>{const _0x5a7b48=a57_0x21687c,_0x21abbc={};_0x21abbc[_0x5a7b48(0x120)]=function(_0x3a1ec3,_0x17960a){return _0x3a1ec3===_0x17960a;},_0x21abbc[_0x5a7b48(0x149)]=_0x5a7b48(0x181),_0x21abbc[_0x5a7b48(0xfa)]=_0x5a7b48(0xfd);const _0x417206=_0x21abbc;if(_0x13223f&&_0x13223f[_0x5a7b48(0x10f)]&&_0x417206[_0x5a7b48(0x120)](typeof _0x13223f['script'],_0x417206[_0x5a7b48(0x149)]))return _0x13223f[_0x5a7b48(0x10f)][_0x5a7b48(0x17b)](_0x417206['oIjBT']);return![];};
|
|
1
|
+
const a57_0x1a48b2=a57_0x5ada;function a57_0x5ada(_0x133f32,_0x2542ae){const _0x1dbd60=a57_0x1dbd();return a57_0x5ada=function(_0x5ada18,_0x20d4fd){_0x5ada18=_0x5ada18-0xe6;let _0x438a55=_0x1dbd60[_0x5ada18];return _0x438a55;},a57_0x5ada(_0x133f32,_0x2542ae);}(function(_0x2c2902,_0x10431b){const _0x233a40=a57_0x5ada,_0x17920b=_0x2c2902();while(!![]){try{const _0x4ceac6=parseInt(_0x233a40(0x15b))/0x1+-parseInt(_0x233a40(0x162))/0x2+parseInt(_0x233a40(0x119))/0x3+-parseInt(_0x233a40(0x10a))/0x4+-parseInt(_0x233a40(0xfa))/0x5*(parseInt(_0x233a40(0xe7))/0x6)+parseInt(_0x233a40(0x169))/0x7+-parseInt(_0x233a40(0x150))/0x8*(-parseInt(_0x233a40(0x144))/0x9);if(_0x4ceac6===_0x10431b)break;else _0x17920b['push'](_0x17920b['shift']());}catch(_0x5bf27b){_0x17920b['push'](_0x17920b['shift']());}}}(a57_0x1dbd,0x4d7bf));const path=require(a57_0x1a48b2(0xf4)),util=require(a57_0x1a48b2(0x136)),bsSetupHelper=require(a57_0x1a48b2(0x170)),logger=require(a57_0x1a48b2(0x105))[a57_0x1a48b2(0x14f)],{API_URL}=require(a57_0x1a48b2(0x145)),PerformanceTester=require(a57_0x1a48b2(0x177)),scripts=require(a57_0x1a48b2(0x148)),globals=require(a57_0x1a48b2(0x15e)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a57_0x1a48b2(0x14e)]=async _0x41b869=>{const _0x4aa004=a57_0x1a48b2,_0x24476d={};_0x24476d[_0x4aa004(0x152)]=function(_0x3b80d5,_0x4b9598){return _0x3b80d5===_0x4b9598;},_0x24476d[_0x4aa004(0x14b)]='browserstack';const _0x586de0=_0x24476d;let _0x48f90a={};try{const _0x20cea6=await _0x41b869['getCapabilities']();_0x48f90a={'os_name':_0x20cea6[_0x4aa004(0x10f)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x586de0[_0x4aa004(0x152)](global[_0x4aa004(0x11f)],_0x586de0[_0x4aa004(0x14b)])),'browser_name':_0x20cea6['getBrowserName'](),'browser_version':_0x20cea6['getBrowserVersion']()};}catch(_0x11a623){logger[_0x4aa004(0xed)](_0x4aa004(0x13d)+_0x11a623);}return _0x48f90a;},exports[a57_0x1a48b2(0x154)]=()=>{const _0x215df2=a57_0x1a48b2,_0x226888={};_0x226888[_0x215df2(0xeb)]=function(_0x21ab9a,_0x41fc6a){return _0x21ab9a===_0x41fc6a;},_0x226888[_0x215df2(0x139)]=_0x215df2(0x121),_0x226888[_0x215df2(0x13c)]=function(_0x1eb0d5,_0x516eff){return _0x1eb0d5>_0x516eff;},_0x226888[_0x215df2(0x161)]=function(_0x207997,_0x12c213){return _0x207997!==_0x12c213;},_0x226888['alXmj']='null',_0x226888['RTbfW']=function(_0x8e9917,_0x20d028){return _0x8e9917&&_0x20d028;};const _0x3ca2dc=_0x226888;try{if(!bsSetupHelper[_0x215df2(0x12b)]())return![];const _0x5c5975=bsSetupHelper[_0x215df2(0xf8)](process[_0x215df2(0x13a)][_0x215df2(0x16c)])||bsSetupHelper[_0x215df2(0xf8)](process[_0x215df2(0x13a)][_0x215df2(0x163)]),_0x1f9d05=_0x3ca2dc[_0x215df2(0xeb)](typeof process['env']['BS_A11Y_JWT'],_0x3ca2dc[_0x215df2(0x139)])&&_0x3ca2dc[_0x215df2(0x13c)](process[_0x215df2(0x13a)]['BS_A11Y_JWT'][_0x215df2(0x141)],0x0)&&_0x3ca2dc[_0x215df2(0x161)](process[_0x215df2(0x13a)][_0x215df2(0x118)],_0x3ca2dc[_0x215df2(0xfb)]);return _0x3ca2dc[_0x215df2(0xe8)](_0x5c5975,_0x1f9d05);}catch(_0x32a0fb){logger[_0x215df2(0xed)](_0x215df2(0x123)+_0x32a0fb);}return![];},exports[a57_0x1a48b2(0xf9)]=(_0x546071=null,_0x3d853c=!![],_0x2a2627=[])=>{const _0x2260f6=a57_0x1a48b2,_0x551639={};_0x551639[_0x2260f6(0x183)]=function(_0x4fdf44,_0x1a13f4){return _0x4fdf44==_0x1a13f4;},_0x551639['KLKHY']=function(_0x3a6e71,_0x5c7411){return _0x3a6e71>_0x5c7411;},_0x551639[_0x2260f6(0xf7)]=function(_0x57701b,_0x2196fd){return _0x57701b===_0x2196fd;},_0x551639[_0x2260f6(0x109)]=function(_0x2e33a5,_0x159800){return _0x2e33a5&&_0x159800;};const _0xa66fe9=_0x551639;if(_0xa66fe9['seNey'](process[_0x2260f6(0x13a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x590e67=JSON[_0x2260f6(0x179)](process[_0x2260f6(0x13a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x257859=Array[_0x2260f6(0x181)](_0x590e67[_0x2260f6(0x12f)])?_0x590e67['includeTagsInTestingScope']:[],_0x115547=Array[_0x2260f6(0x181)](_0x590e67[_0x2260f6(0x102)])?_0x590e67[_0x2260f6(0x102)]:[];if(bsSetupHelper[_0x2260f6(0x16d)](_0x546071)){if(_0xa66fe9[_0x2260f6(0x16a)](_0x2a2627[_0x2260f6(0x141)],0x0)){const _0x117e5e=_0x115547['some'](_0x39f484=>_0x2a2627['includes'](_0x39f484)),_0x2c0f22=_0xa66fe9[_0x2260f6(0xf7)](_0x257859[_0x2260f6(0x141)],0x0)||_0x257859[_0x2260f6(0x101)](_0x5ead22=>_0x2a2627['includes'](_0x5ead22));return _0xa66fe9[_0x2260f6(0x109)](!_0x117e5e,_0x2c0f22);}return!![];}let _0x1234c0;_0x3d853c?_0x1234c0=_0x546071['join']('/'):_0x1234c0=_0x546071;const _0x35ecf0=_0x115547[_0x2260f6(0x101)](_0x38d27f=>_0x1234c0[_0x2260f6(0x16b)](_0x38d27f)),_0xc16819=_0xa66fe9[_0x2260f6(0xf7)](_0x257859[_0x2260f6(0x141)],0x0)||_0x257859[_0x2260f6(0x101)](_0x4c268f=>_0x1234c0[_0x2260f6(0x16b)](_0x4c268f));return _0xa66fe9[_0x2260f6(0x109)](!_0x35ecf0,_0xc16819);}catch(_0x4e5bdc){logger[_0x2260f6(0xed)]('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util[_0x2260f6(0x126)](_0x4e5bdc));}return![];},exports['checkAccessibilityPlatformConfig']=_0x1d23d3=>{const _0x3d41e4=a57_0x1a48b2;let _0x87187d=![];try{_0x1d23d3[_0x3d41e4(0x134)][_0x3d41e4(0x18b)](_0x40dea0=>{const _0x2cc3c4=_0x3d41e4;if(bsSetupHelper[_0x2cc3c4(0xf8)](_0x40dea0[_0x2cc3c4(0x189)]))return _0x87187d=!![],!![];});}catch(_0x2406e0){logger[_0x3d41e4(0xed)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x2406e0);}return _0x87187d||bsSetupHelper[_0x3d41e4(0xf8)](_0x1d23d3[_0x3d41e4(0x189)]);},exports[a57_0x1a48b2(0xef)]=PerformanceTester[a57_0x1a48b2(0xf6)](a57_0x1a48b2(0x132),async function(_0x2e1de2,_0x5830d1){const _0xd73edf=a57_0x1a48b2,_0x4b76e4={};_0x4b76e4[_0xd73edf(0x167)]=_0xd73edf(0x103),_0x4b76e4[_0xd73edf(0x11b)]=_0xd73edf(0x137),_0x4b76e4['QkKTP']='javascript',_0x4b76e4[_0xd73edf(0x180)]=_0xd73edf(0xf5),_0x4b76e4[_0xd73edf(0x159)]=_0xd73edf(0x11a),_0x4b76e4['KJRRp']=_0xd73edf(0x156),_0x4b76e4[_0xd73edf(0x157)]=function(_0x6a3262,_0x172114){return _0x6a3262===_0x172114;},_0x4b76e4[_0xd73edf(0x12e)]='Invalid\x20configuration\x20passed.',_0x4b76e4[_0xd73edf(0xf0)]='false';const _0x3cd8b0=_0x4b76e4,_0x5e69f1=bsSetupHelper[_0xd73edf(0x12d)](_0x2e1de2),_0x84af98=bsSetupHelper[_0xd73edf(0x143)](_0x2e1de2);if(bsSetupHelper[_0xd73edf(0x16d)](_0x5e69f1)||bsSetupHelper[_0xd73edf(0x16d)](_0x84af98))return logger[_0xd73edf(0x10e)](_0x3cd8b0[_0xd73edf(0x167)]),[null,null];try{let _0x4126c4;bsSetupHelper[_0xd73edf(0x16d)](process[_0xd73edf(0x13a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x4126c4={}:_0x4126c4=JSON[_0xd73edf(0x179)](process[_0xd73edf(0x13a)][_0xd73edf(0x151)]);const {name:_0x1ab3c4,version:_0x321e1f}=bsSetupHelper[_0xd73edf(0x14c)](_0x2e1de2,_0x5830d1),_0x7426b4={'projectName':_0x2e1de2[_0xd73edf(0x131)],'buildName':_0x2e1de2['buildName']||path[_0xd73edf(0x18a)](path['resolve'](process[_0xd73edf(0x114)]())),'startTime':new Date()[_0xd73edf(0x188)](),'description':_0x2e1de2[_0xd73edf(0x12a)]||'','source':{'frameworkName':_0x5830d1['includes'](_0x3cd8b0[_0xd73edf(0x11b)])?_0x3cd8b0[_0xd73edf(0x11b)]:_0x5830d1,'frameworkVersion':bsSetupHelper[_0xd73edf(0x138)](_0x5830d1),'sdkVersion':bsSetupHelper[_0xd73edf(0x110)](),'language':_0x3cd8b0[_0xd73edf(0x16e)],'testFramework':_0x1ab3c4,'testFrameworkVersion':_0x321e1f},'settings':_0x4126c4,'versionControl':await bsSetupHelper[_0xd73edf(0x182)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0xd73edf(0x12b)]()},_0x8593e1={};_0x8593e1[_0xd73edf(0x100)]=_0x5e69f1,_0x8593e1[_0xd73edf(0x153)]=_0x84af98;const _0x3869f4={};_0x3869f4[_0xd73edf(0xf3)]=_0x3cd8b0[_0xd73edf(0x180)];const _0x973a19={};_0x973a19[_0xd73edf(0xec)]=_0x8593e1,_0x973a19['headers']=_0x3869f4;const _0x54a1fd=_0x973a19,_0x5930a6={};_0x5930a6['body']=_0x7426b4,_0x5930a6['json']=!![];const _0x359b07=Object[_0xd73edf(0x146)](_0x54a1fd,_0x5930a6),_0x276a=await bsSetupHelper[_0xd73edf(0x176)](_0x3cd8b0[_0xd73edf(0x159)],_0x3cd8b0[_0xd73edf(0x129)],_0x359b07,_0x2e1de2,API_URL);let _0x2fa198=process[_0xd73edf(0x13a)][_0xd73edf(0x151)];return _0x2fa198?_0x2fa198=JSON[_0xd73edf(0x179)](process['env'][_0xd73edf(0x151)]):_0x2fa198={},scripts[_0xd73edf(0x107)](_0x276a[_0xd73edf(0x186)][_0xd73edf(0x186)]),scripts[_0xd73edf(0x112)](),_0x2fa198[_0xd73edf(0x17b)]=_0x276a['data'][_0xd73edf(0x186)][_0xd73edf(0x17b)],process[_0xd73edf(0x13a)][_0xd73edf(0x151)]=JSON[_0xd73edf(0x185)](_0x2fa198),[_0x276a['data'][_0xd73edf(0x186)][_0xd73edf(0x120)],_0x276a[_0xd73edf(0x186)][_0xd73edf(0x186)]['id']];}catch(_0x43a42e){if(_0x43a42e[_0xd73edf(0x113)])logger[_0xd73edf(0x10e)](_0xd73edf(0x164)+_0x43a42e[_0xd73edf(0x113)][_0xd73edf(0x17a)]+'\x20'+_0x43a42e[_0xd73edf(0x113)][_0xd73edf(0x17f)]+'\x20'+JSON[_0xd73edf(0x185)](_0x43a42e[_0xd73edf(0x113)][_0xd73edf(0x186)]));else{if(_0x3cd8b0[_0xd73edf(0x157)](_0x43a42e[_0xd73edf(0x147)],_0x3cd8b0[_0xd73edf(0x12e)])){logger[_0xd73edf(0x10e)](_0xd73edf(0x164)+(_0x43a42e[_0xd73edf(0x147)]||_0x43a42e[_0xd73edf(0x160)]));for(const _0x57d71a of _0x43a42e[_0xd73edf(0x10b)]){logger[_0xd73edf(0x10e)](_0x57d71a[_0xd73edf(0x147)]);}process[_0xd73edf(0x13a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3cd8b0[_0xd73edf(0xf0)],process['env'][_0xd73edf(0x163)]=_0x3cd8b0[_0xd73edf(0xf0)];}else logger['error'](_0xd73edf(0x164)+(_0x43a42e[_0xd73edf(0x147)]||_0x43a42e[_0xd73edf(0x160)]));}return[null,null];}}),exports[a57_0x1a48b2(0x15f)]=PerformanceTester[a57_0x1a48b2(0xf6)](a57_0x1a48b2(0x11d),async function(_0x277ba6){const _0x4ff837=a57_0x1a48b2,_0x341d41={};_0x341d41[_0x4ff837(0x14d)]=function(_0x1f4815,_0x537456){return _0x1f4815!==_0x537456;},_0x341d41[_0x4ff837(0x149)]='string',_0x341d41[_0x4ff837(0x12c)]=_0x4ff837(0x10e),_0x341d41[_0x4ff837(0x14a)]=_0x4ff837(0xe6),_0x341d41[_0x4ff837(0x17e)]=_0x4ff837(0xf5),_0x341d41[_0x4ff837(0xf1)]=_0x4ff837(0x106),_0x341d41['raMMu']='test_runs/stop',_0x341d41['VXaSF']=function(_0x14ba22,_0x3f95de){return _0x14ba22+_0x3f95de;},_0x341d41[_0x4ff837(0x155)]=_0x4ff837(0x115),_0x341d41[_0x4ff837(0x108)]='success';const _0x5caa86=_0x341d41;if(bsSetupHelper[_0x4ff837(0x16d)](process['env'][_0x4ff837(0x118)])||_0x5caa86[_0x4ff837(0x14d)](typeof process[_0x4ff837(0x13a)][_0x4ff837(0x118)],_0x5caa86[_0x4ff837(0x149)])){const _0x41ac8e={};return _0x41ac8e[_0x4ff837(0x17a)]=_0x5caa86[_0x4ff837(0x12c)],_0x41ac8e['message']=_0x5caa86[_0x4ff837(0x14a)],_0x41ac8e;}const _0x9797c6={'endTime':new Date()[_0x4ff837(0x188)]()},_0x26b6e3={};_0x26b6e3[_0x4ff837(0x15d)]='Bearer\x20'+process['env'][_0x4ff837(0x118)],_0x26b6e3[_0x4ff837(0xf3)]=_0x5caa86[_0x4ff837(0x17e)];const _0xb12c0f={};_0xb12c0f[_0x4ff837(0x168)]=_0x26b6e3;const _0x3226b7=_0xb12c0f,_0x37f468={};_0x37f468[_0x4ff837(0x187)]=_0x9797c6,_0x37f468[_0x4ff837(0xec)]=null,_0x37f468[_0x4ff837(0x117)]=!![];const _0x323eb8=Object[_0x4ff837(0x146)](_0x3226b7,_0x37f468);try{const _0x5a5342=await bsSetupHelper[_0x4ff837(0x176)](_0x5caa86['IKsYl'],_0x5caa86['raMMu'],_0x323eb8,_0x277ba6,API_URL);if(_0x5a5342[_0x4ff837(0x186)][_0x4ff837(0x10e)])throw new Error(_0x5caa86[_0x4ff837(0x13f)](_0x5caa86[_0x4ff837(0x155)],_0x5a5342[_0x4ff837(0x186)][_0x4ff837(0x10e)]));else{logger[_0x4ff837(0xee)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()['toISOString']());const _0x633463={};return _0x633463[_0x4ff837(0x17a)]=_0x5caa86[_0x4ff837(0x108)],_0x633463[_0x4ff837(0x147)]='',_0x633463;}}catch(_0x457124){_0x457124['response']?logger['error'](_0x4ff837(0x172)+_0x457124[_0x4ff837(0x113)][_0x4ff837(0x17a)]+'\x20'+_0x457124['response'][_0x4ff837(0x17f)]+'\x20'+JSON['stringify'](_0x457124[_0x4ff837(0x113)][_0x4ff837(0x186)])):logger['error'](_0x4ff837(0x172)+(_0x457124[_0x4ff837(0x147)]||util[_0x4ff837(0x126)](_0x457124)));const _0x3b1284={};return _0x3b1284['status']=_0x5caa86[_0x4ff837(0x12c)],_0x3b1284[_0x4ff837(0x147)]=_0x457124[_0x4ff837(0x147)]||(_0x457124[_0x4ff837(0x113)]?_0x457124['response'][_0x4ff837(0x17a)]+':'+_0x457124['response'][_0x4ff837(0x17f)]:_0x457124),_0x3b1284;}}),exports['performScan']=async(_0x4a8823,_0xec3d8d=null)=>{const _0x580827=a57_0x1a48b2,_0x1a6808={};_0x1a6808[_0x580827(0x130)]=_0x580827(0x11c),_0x1a6808[_0x580827(0x104)]=_0x580827(0x17c),_0x1a6808['HmOHt']=_0x580827(0x122);const _0x307b68=_0x1a6808;if(!this[_0x580827(0x154)]()||!globals[_0x580827(0x158)](_0x307b68[_0x580827(0x130)])||!globals[_0x580827(0x158)](_0x307b68[_0x580827(0x104)])){logger[_0x580827(0x184)](_0x307b68[_0x580827(0x166)]);return;}await PerformanceTester[_0x580827(0xf6)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3fb3e7=_0x580827,_0x1dc385={};_0x1dc385[_0x3fb3e7(0x111)]=_0xec3d8d||global['browserstackSessionName'],logger[_0x3fb3e7(0xed)](util[_0x3fb3e7(0x126)](await _0x4a8823[_0x3fb3e7(0x16f)](scripts['performScan'],_0x1dc385)));},{'command':_0xec3d8d})();},exports[a57_0x1a48b2(0x116)]=async(_0x372ae7,_0x3e666c)=>{const _0xd883f1=a57_0x1a48b2,_0x2f8126={};_0x2f8126[_0xd883f1(0xf2)]='Performing\x20scan\x20before\x20getting\x20results',_0x2f8126[_0xd883f1(0x124)]=_0xd883f1(0x11c),_0x2f8126['mjnSh']=_0xd883f1(0x17c),_0x2f8126[_0xd883f1(0x11e)]=_0xd883f1(0x175),_0x2f8126[_0xd883f1(0x135)]=_0xd883f1(0x116),_0x2f8126['EYHPm']=_0xd883f1(0x13e);const _0x1e669e=_0x2f8126;if(!this[_0xd883f1(0x154)]()||!globals[_0xd883f1(0x158)](_0x1e669e[_0xd883f1(0x124)])||!globals[_0xd883f1(0x158)](_0x1e669e[_0xd883f1(0xff)]))return logger[_0xd883f1(0x184)](_0x1e669e[_0xd883f1(0x11e)]),[];try{await PerformanceTester[_0xd883f1(0xf6)](PerformanceA11yEvents[_0xd883f1(0xfc)],async()=>{const _0x5a816c=_0xd883f1;logger[_0x5a816c(0xed)](_0x1e669e['ikwIH']);const _0x5a6e8f={};_0x5a6e8f[_0x5a816c(0x111)]=_0x3e666c[_0x5a816c(0xea)],logger[_0x5a816c(0xed)](util['format'](await _0x372ae7['executeAsyncScript'](scripts[_0x5a816c(0x174)],_0x5a6e8f)));},{'command':_0x1e669e[_0xd883f1(0x135)]})(),await PerformanceTester[_0xd883f1(0xf6)](PerformanceA11yEvents[_0xd883f1(0x142)],async()=>{const _0xedac61=_0xd883f1,_0x464e7c=await _0x372ae7[_0xedac61(0x16f)](scripts[_0xedac61(0x125)]);return _0x464e7c;})();}catch{return logger[_0xd883f1(0x10e)](_0x1e669e[_0xd883f1(0x171)]),[];}},exports[a57_0x1a48b2(0x127)]=async(_0x32567d,_0x31c0f4)=>{const _0x13cbba=a57_0x1a48b2,_0x33f570={};_0x33f570['hSLdj']=_0x13cbba(0x15a),_0x33f570[_0x13cbba(0x10c)]='isAccessibilityPlatform',_0x33f570[_0x13cbba(0x13b)]=_0x13cbba(0x17c),_0x33f570[_0x13cbba(0x173)]=_0x13cbba(0x17d),_0x33f570['QQgie']=_0x13cbba(0x127),_0x33f570['JSBUy']='No\x20accessibility\x20summary\x20was\x20found.';const _0x28b976=_0x33f570;if(!this[_0x13cbba(0x154)]()||!globals[_0x13cbba(0x158)](_0x28b976[_0x13cbba(0x10c)])||!globals[_0x13cbba(0x158)](_0x28b976['ylIed']))return logger[_0x13cbba(0x184)](_0x28b976[_0x13cbba(0x173)]),{};try{await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x12a6b2=_0x13cbba;logger['debug'](_0x28b976['hSLdj']);const _0x30bd9b={};_0x30bd9b['method']=_0x31c0f4['browserstackSessionName'],logger['debug'](util[_0x12a6b2(0x126)](await _0x32567d[_0x12a6b2(0x16f)](scripts['performScan'],_0x30bd9b)));},{'command':_0x28b976[_0x13cbba(0x15c)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x13cbba(0x165)],async()=>{const _0x1ababa=_0x13cbba,_0x217a3f=await _0x32567d[_0x1ababa(0x16f)](scripts[_0x1ababa(0x133)]);return _0x217a3f;})();}catch{return logger['error'](_0x28b976[_0x13cbba(0x10d)]),{};}},exports[a57_0x1a48b2(0xe9)]=_0x24be33=>{const _0x3ce6bd=a57_0x1a48b2,_0x4ad400={};_0x4ad400['lZVhY']=function(_0x5d88c1,_0x1ef812){return _0x5d88c1===_0x1ef812;},_0x4ad400[_0x3ce6bd(0xfd)]='string',_0x4ad400[_0x3ce6bd(0xfe)]=_0x3ce6bd(0x140);const _0x3cb186=_0x4ad400;if(_0x24be33&&_0x24be33[_0x3ce6bd(0x128)]&&_0x3cb186[_0x3ce6bd(0x178)](typeof _0x24be33[_0x3ce6bd(0x128)],_0x3cb186[_0x3ce6bd(0xfd)]))return _0x24be33['script'][_0x3ce6bd(0x16b)](_0x3cb186[_0x3ce6bd(0xfe)]);return![];};function a57_0x1dbd(){const _0x1b297e=['ADOAu','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','No\x20accessibility\x20results\x20were\x20found.','VXaSF','browserstack_executor','length','GET_RESULTS','getAccessKey','3771TOKLeg','./constants','assign','message','./scripts','LZwWd','kxsbb','hSgqq','getTestFrameworkDetails','CNtus','fetchPlatformDetails','winstonLogger','19160kWehSA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','NmKvP','pass','isAccessibilityAutomationSession','TtSby','v2/test_runs','Kdfam','getGlobal','HLNBQ','Performing\x20scan\x20before\x20getting\x20results\x20summary','46104eDYZLf','QQgie','Authorization','../globals','stopAccessibilityTestRun','stack','nBtXl','1161440DwJLGE','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','GET_RESULTS_SUMMARY','HmOHt','jaDtu','headers','3949078uTninr','KLKHY','includes','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isUndefined','QkKTP','executeAsyncScript','../helper','EYHPm','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','hYKLz','performScan','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','nodeRequest','../performance/performance-tester','lZVhY','parse','status','scannerVersion','bstackA11yShouldScan','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','ZMesj','statusText','LWfRD','isArray','getGitMetaData','seNey','warn','stringify','data','body','toISOString','accessibility','basename','forEach','Build\x20creation\x20had\x20failed.','216210nHaLin','RTbfW','isBrowserStackCommandExecutor','browserstackSessionName','OVvmE','auth','debug','info','createAccessibilityTestRun','pjvRH','IKsYl','ikwIH','Content-Type','path','application/json','measureWrapper','wttZZ','isTrue','shouldScanTestForAccessibility','75jyuLUj','alXmj','PERFORM_SCAN','wwZWM','DcnFP','mjnSh','user','some','excludeTagsInTestingScope','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','nOTzS','../logger','PUT','parseFromJson','qeVKr','LfKaK','1153872EJqVRD','errors','VsQul','JSBUy','error','getPlatform','getAgentVersion','method','toJson','response','cwd','Invalid\x20request:\x20','getAccessibilityResults','json','BS_A11Y_JWT','339975uoJDAJ','POST','MJlXf','isAccessibilityPlatform','a11y:stop','QYWGx','__cloud_provider___','accessibilityToken','string','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','NJsdZ','getResults','format','getAccessibilityResultsSummary','script','KJRRp','buildDescription','isBrowserstackInfra','eZcto','getUserName','oObRc','includeTagsInTestingScope','LvlDI','projectName','a11y:start','getResultsSummary','platforms','cZelm','util','playwright','getPackageVersion','QgBBH','env','ylIed'];a57_0x1dbd=function(){return _0x1b297e;};return a57_0x1dbd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a58_0x2b8c(){const _0x51fade=['debug','saveTestResults','3|2|6|4|5|0|1','commands','shouldWrapCommand','1256596vNPymO','join','3837897EOoEbJ','scan','mCFPH','getResults','mkdirSync','homedir','14055fEyJSj','scripts','commandsPath','path','existsSync','pdxUK','14388HEgveU','ZtXTq','split','fromJson','../helper','2ZmLytS','762gmelwI','KuFsK','winstonLogger','saveResults','commands.json','gKSBy','getResultsSummary','97029WVpMHI','name','410623MhgDkH','482344NvgFJn','49VlRHiD','writeFileSync','browserstackFolderPath','findIndex','1960AUdyft','toLowerCase','commandsToWrap','toJson','.browserstack','performScan'];a58_0x2b8c=function(){return _0x51fade;};return a58_0x2b8c();}const a58_0x20b829=a58_0x2bbd;(function(_0x5efde3,_0x2db41e){const _0x33edb4=a58_0x2bbd,_0x4558f1=_0x5efde3();while(!![]){try{const _0x45d0a3=parseInt(_0x33edb4(0x136))/0x1*(-parseInt(_0x33edb4(0x12c))/0x2)+parseInt(_0x33edb4(0x134))/0x3+-parseInt(_0x33edb4(0x119))/0x4+-parseInt(_0x33edb4(0x121))/0x5*(-parseInt(_0x33edb4(0x12d))/0x6)+parseInt(_0x33edb4(0x138))/0x7*(parseInt(_0x33edb4(0x137))/0x8)+parseInt(_0x33edb4(0x11b))/0x9+-parseInt(_0x33edb4(0x13c))/0xa*(parseInt(_0x33edb4(0x127))/0xb);if(_0x45d0a3===_0x2db41e)break;else _0x4558f1['push'](_0x4558f1['shift']());}catch(_0x10765b){_0x4558f1['push'](_0x4558f1['shift']());}}}(a58_0x2b8c,0x3eaac));const path=require(a58_0x20b829(0x124)),fs=require('fs'),logger=require('../../helpers/logger')[a58_0x20b829(0x12f)],helper=require(a58_0x20b829(0x12b));function a58_0x2bbd(_0x166ace,_0x3d4ec5){const _0x2b8ce3=a58_0x2b8c();return a58_0x2bbd=function(_0x2bbd34,_0x3d1ea9){_0x2bbd34=_0x2bbd34-0x110;let _0xa14147=_0x2b8ce3[_0x2bbd34];return _0xa14147;},a58_0x2bbd(_0x166ace,_0x3d4ec5);}class Scripts{constructor(){const _0x47f5e9=a58_0x20b829,_0x3d4f54={};_0x3d4f54[_0x47f5e9(0x126)]=_0x47f5e9(0x116),_0x3d4f54[_0x47f5e9(0x128)]=_0x47f5e9(0x131),_0x3d4f54[_0x47f5e9(0x132)]=_0x47f5e9(0x112);const _0x51d34b=_0x3d4f54,_0x1b822a=_0x51d34b['pdxUK'][_0x47f5e9(0x129)]('|');let _0x455088=0x0;while(!![]){switch(_0x1b822a[_0x455088++]){case'0':this[_0x47f5e9(0x123)]=path[_0x47f5e9(0x11a)](this[_0x47f5e9(0x13a)],_0x51d34b[_0x47f5e9(0x128)]);continue;case'1':this['fromJson']();continue;case'2':this[_0x47f5e9(0x11e)]=null;continue;case'3':this[_0x47f5e9(0x113)]=null;continue;case'4':this['saveTestResults']=null;continue;case'5':this[_0x47f5e9(0x13a)]=path[_0x47f5e9(0x11a)](helper[_0x47f5e9(0x120)](),_0x51d34b[_0x47f5e9(0x132)]);continue;case'6':this[_0x47f5e9(0x133)]=null;continue;}break;}}['parseFromJson'](_0x4ce85e){const _0x232891=a58_0x20b829;_0x4ce85e[_0x232891(0x122)]&&(this[_0x232891(0x113)]=_0x4ce85e['scripts'][_0x232891(0x11c)],this[_0x232891(0x11e)]=_0x4ce85e[_0x232891(0x122)][_0x232891(0x11e)],this[_0x232891(0x133)]=_0x4ce85e[_0x232891(0x122)][_0x232891(0x133)],this[_0x232891(0x115)]=_0x4ce85e[_0x232891(0x122)][_0x232891(0x130)]),this['commandsToWrap']=_0x4ce85e[_0x232891(0x117)];}[a58_0x20b829(0x118)](_0x239dc7){const _0x3fd2b1=a58_0x20b829,_0x28fbe4={};_0x28fbe4[_0x3fd2b1(0x11d)]=function(_0x49533c,_0x3beb1d){return _0x49533c!==_0x3beb1d;};const _0x5d6c8a=_0x28fbe4;try{return _0x5d6c8a[_0x3fd2b1(0x11d)](this[_0x3fd2b1(0x110)][_0x3fd2b1(0x13b)](_0x3f0d14=>_0x3f0d14[_0x3fd2b1(0x135)][_0x3fd2b1(0x13d)]()===_0x239dc7[_0x3fd2b1(0x13d)]()),-0x1);}catch(_0x2c335e){logger[_0x3fd2b1(0x114)]('Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20'+_0x2c335e);}return![];}[a58_0x20b829(0x111)](){const _0x3941a1=a58_0x20b829;!fs[_0x3941a1(0x125)](this[_0x3941a1(0x13a)])&&fs[_0x3941a1(0x11f)](this['browserstackFolderPath']),fs[_0x3941a1(0x139)](this[_0x3941a1(0x123)],JSON['stringify']({'scripts':{'scan':this[_0x3941a1(0x113)],'getResults':this[_0x3941a1(0x11e)],'getResultsSummary':this['getResultsSummary'],'saveResults':this[_0x3941a1(0x115)]},'commands':this[_0x3941a1(0x110)]}));}[a58_0x20b829(0x12a)](){const _0x11475d=a58_0x20b829,_0x3bc9c1={'KuFsK':function(_0x5a40fa,_0x16bbce){return _0x5a40fa(_0x16bbce);}};fs[_0x11475d(0x125)](this[_0x11475d(0x123)])&&this['parseFromJson'](_0x3bc9c1[_0x11475d(0x12e)](require,this[_0x11475d(0x123)]));}}module['exports']=new Scripts();
|