browserstack-node-sdk 1.57.2 → 1.58.0
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/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.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/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.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/generated/sdk-messages_pb.d.ts +376 -36
- package/generated/sdk-messages_pb.js +2955 -279
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +51 -0
- 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/jasmine/bstack-reporter/customReporter.js +1 -0
- package/src/bin/jasmine/command.js +2 -0
- package/src/bin/jasmine/test.setup.js +1 -0
- package/src/bin/jasmine/testRunMap.js +1 -0
- 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/customSequencer.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.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.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/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/testcafe/a11y-runner.js +1 -0
- package/src/bin/testcafe/command.js +2 -0
- package/src/bin/testcafe/reporter/index.js +1 -0
- package/src/bin/testcafe/reporter/tcUtils.js +1 -0
- package/src/bin/testcafe/session-registry.js +1 -0
- package/src/bin/testcafe/stdout-interceptor.js +1 -0
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -0
- package/src/bin/testcafe/w3c-driver.js +1 -0
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -0
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -0
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -0
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.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/accessibilityRetryHelper.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/caCertHelper.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/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.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/metadata.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/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.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/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.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
package/src/helpers/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122_0x5eee5a=a122_0x288e;(function(_0x2cc2c4,_0x39fd34){const _0x4b2b2a=a122_0x288e,_0x2ea8d4=_0x2cc2c4();while(!![]){try{const _0x36ebbd=-parseInt(_0x4b2b2a(0xa0))/0x1*(-parseInt(_0x4b2b2a(0xbd))/0x2)+-parseInt(_0x4b2b2a(0xe1))/0x3+-parseInt(_0x4b2b2a(0xdd))/0x4+-parseInt(_0x4b2b2a(0xd7))/0x5+-parseInt(_0x4b2b2a(0xd0))/0x6*(parseInt(_0x4b2b2a(0xa7))/0x7)+parseInt(_0x4b2b2a(0xb4))/0x8+parseInt(_0x4b2b2a(0xc9))/0x9;if(_0x36ebbd===_0x39fd34)break;else _0x2ea8d4['push'](_0x2ea8d4['shift']());}catch(_0x5b6c5d){_0x2ea8d4['push'](_0x2ea8d4['shift']());}}}(a122_0x354c,0x4961c));const winston=require(a122_0x5eee5a(0xc2)),path=require(a122_0x5eee5a(0xe2)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require('../bin/utils/constants'),tempLogDir=a122_0x5eee5a(0xc0);let redactRegex=null,lastConfigHash='';const logFormat=winston['format'](_0x507e54=>{const _0x560624=a122_0x5eee5a,_0x5d597e={};_0x5d597e[_0x560624(0xe3)]=function(_0x3a44f1,_0x348927){return _0x3a44f1!==_0x348927;},_0x5d597e[_0x560624(0xea)]=_0x560624(0xe6),_0x5d597e[_0x560624(0xc7)]=function(_0x5e3f6d,_0x2b588d){return _0x5e3f6d+_0x2b588d;},_0x5d597e[_0x560624(0xe8)]=function(_0x2787ad,_0x28afcf){return _0x2787ad!==_0x28afcf;},_0x5d597e[_0x560624(0xac)]=function(_0x103667,_0x51451a){return _0x103667>_0x51451a;},_0x5d597e['iUfYJ']=_0x560624(0xb5);const _0x2ba85f=_0x5d597e;_0x2ba85f['zIuqh'](typeof _0x507e54[_0x560624(0xec)],_0x2ba85f['Iuwxs'])&&(_0x507e54[_0x560624(0xec)]=JSON[_0x560624(0xbb)](_0x507e54[_0x560624(0xec)]));const _0xa1c5ca=global[_0x560624(0xa9)]&&global[_0x560624(0xa9)]['userName']||'',_0x58124e=global[_0x560624(0xa9)]&&global[_0x560624(0xa9)][_0x560624(0xb8)]||'',_0x4c94f1=_0x2ba85f[_0x560624(0xc7)](_0x2ba85f[_0x560624(0xc7)](_0xa1c5ca,'|'),_0x58124e);if(_0x2ba85f[_0x560624(0xe8)](_0x4c94f1,lastConfigHash)){lastConfigHash=_0x4c94f1;const _0xe7294d=[_0xa1c5ca,_0x58124e]['filter'](Boolean);if(_0x2ba85f[_0x560624(0xac)](_0xe7294d[_0x560624(0xa2)],0x0)){const _0x550888=_0xe7294d[_0x560624(0xc1)](_0x55ea72=>_0x55ea72['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'))[_0x560624(0xe7)]('|');redactRegex=new RegExp(_0x550888,'g');}else redactRegex=null;}return redactRegex&&(_0x507e54['message']=_0x507e54[_0x560624(0xec)][_0x560624(0xd9)](redactRegex,_0x2ba85f['iUfYJ'])),_0x507e54;}),fetchLogDir=()=>{const _0xca1b4c=a122_0x5eee5a;if(process[_0xca1b4c(0xb6)]['BROWSERSTACK_INTERNAL_LOG_DIR'])return process[_0xca1b4c(0xb6)][_0xca1b4c(0xd4)];else!fs['existsSync'](tempLogDir)&&fs[_0xca1b4c(0xbf)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x1dcd21=a122_0x5eee5a,_0x57536d={};_0x57536d['JQrxo']=_0x1dcd21(0xcb);const _0x40d36d=_0x57536d,_0x365f7d=process[_0x1dcd21(0xb6)]['BROWSERSTACK_LOG_LEVEL'],_0x8aa1ab=Object[_0x1dcd21(0xcd)](winston[_0x1dcd21(0xa9)][_0x1dcd21(0xc5)][_0x1dcd21(0x9c)]);if(_0x365f7d&&_0x8aa1ab[_0x1dcd21(0xce)](_0x365f7d[_0x1dcd21(0xd5)]()))return _0x365f7d[_0x1dcd21(0xd5)]();return _0x40d36d[_0x1dcd21(0xdc)];},initialLogLevel=getInitialLogLevel(),a122_0xf26841={};function a122_0x288e(_0x3d26e9,_0x4e5be1){const _0x354cf4=a122_0x354c();return a122_0x288e=function(_0x288eea,_0x4a75da){_0x288eea=_0x288eea-0x9b;let _0x267f54=_0x354cf4[_0x288eea];return _0x267f54;},a122_0x288e(_0x3d26e9,_0x4e5be1);}function a122_0x354c(){const _0x126a3b=['remove','EPIPE','40187LGHKeV','Console','config','BROWSERSTACK_AUTOMATION_LOGS','KynrF','wXUvC','silly','debugLoggerFile','uncolorize','File','automationLogger','printf','combine','409888QyhHce','[REDACTED]','env','level','accessKey','loggerFile','add','stringify','\x20-\x20','955642rSjVtN','format','mkdirSync','log','map','winston','fileLogger','YYYY-MM-DD\x20HH:mm:ss','npm','ibCvm','kPyhz','console.info','6523515ozlFjN','debug','info','http','keys','includes','logDir','414NdshDk','initialize','/usage.log','colorize','BROWSERSTACK_INTERNAL_LOG_DIR','toLowerCase','winstonLogger','371770AqdAfZ','debugCliLoggerFile','replace','error','XcCQe','JQrxo','220932Pktzie','ALRLQ','timestamp','name','1282812ZfHUje','path','zIuqh','automation.log','buildLinkTransport','string','join','wpzUZ','loggerConsole','Iuwxs','automationLoggerFile','message','warn','levels','/usage-debug.log','createLogger','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','1dmTcMZ','true','length','transports','code'];a122_0x354c=function(){return _0x126a3b;};return a122_0x354c();}a122_0xf26841[a122_0x5eee5a(0xe0)]=a122_0x5eee5a(0xc8),a122_0xf26841[a122_0x5eee5a(0xb7)]=initialLogLevel;const transports={'loggerConsole':new winston['transports'][(a122_0x5eee5a(0xa8))](a122_0xf26841),'loggerFile':new winston[(a122_0x5eee5a(0xa3))][(a122_0x5eee5a(0xb0))]({'filename':path[a122_0x5eee5a(0xe7)](logDir,a122_0x5eee5a(0xd2)),'level':initialLogLevel}),'debugLoggerFile':new winston['transports'][(a122_0x5eee5a(0xb0))]({'filename':path[a122_0x5eee5a(0xe7)](logDir,a122_0x5eee5a(0x9d)),'level':a122_0x5eee5a(0xad)}),'debugCliLoggerFile':new winston['transports'][(a122_0x5eee5a(0xb0))]({'filename':path[a122_0x5eee5a(0xe7)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a122_0x5eee5a(0xad)}),'buildLinkTransport':new winston[(a122_0x5eee5a(0xa3))]['File']({'filename':path[a122_0x5eee5a(0xe7)](logDir,a122_0x5eee5a(0xd2)),'level':a122_0x5eee5a(0xad)})},automationTransports={};process['env'][a122_0x5eee5a(0xaa)]===a122_0x5eee5a(0xa1)&&(automationTransports[a122_0x5eee5a(0xeb)]=new winston[(a122_0x5eee5a(0xa3))][(a122_0x5eee5a(0xb0))]({'filename':path[a122_0x5eee5a(0xe7)](logDir,a122_0x5eee5a(0xe4)),'level':a122_0x5eee5a(0xad)}));transports[a122_0x5eee5a(0xe9)]['on'](a122_0x5eee5a(0xda),_0x4b5a46=>{const _0x2603df=a122_0x5eee5a,_0x178118={};_0x178118['XcCQe']=function(_0x36aef0,_0x547aa8){return _0x36aef0===_0x547aa8;},_0x178118[_0x2603df(0xc6)]=_0x2603df(0xa6),_0x178118[_0x2603df(0xab)]=_0x2603df(0x9f);const _0x142d9c=_0x178118;if(_0x142d9c[_0x2603df(0xdb)](_0x4b5a46[_0x2603df(0xa4)],_0x142d9c[_0x2603df(0xc6)])){console[_0x2603df(0xc0)](_0x142d9c['KynrF'],_0x4b5a46[_0x2603df(0xec)]);return;}throw _0x4b5a46;});const a122_0x2685de={};a122_0x2685de[a122_0x5eee5a(0xbe)]=a122_0x5eee5a(0xc4);const a122_0x1700bb={};a122_0x1700bb['level']=!![];const winstonLoggerParams={'format':winston['format'][a122_0x5eee5a(0xb3)](winston[a122_0x5eee5a(0xbe)][a122_0x5eee5a(0xdf)](a122_0x2685de),winston[a122_0x5eee5a(0xbe)]['colorize'](a122_0x1700bb),winston[a122_0x5eee5a(0xbe)][a122_0x5eee5a(0xb2)](_0x278593=>_0x278593[a122_0x5eee5a(0xdf)]+a122_0x5eee5a(0xbc)+_0x278593[a122_0x5eee5a(0xb7)]+':\x20'+_0x278593[a122_0x5eee5a(0xec)])),'transports':[transports[a122_0x5eee5a(0xe9)]]},a122_0x156b02={};a122_0x156b02[a122_0x5eee5a(0xbe)]='YYYY-MM-DD\x20HH:mm:ss';const a122_0x1c4449={};a122_0x1c4449[a122_0x5eee5a(0xb7)]=!![];const winstonFileLoggerParams={'format':winston[a122_0x5eee5a(0xbe)]['combine'](winston[a122_0x5eee5a(0xbe)]['timestamp'](a122_0x156b02),winston[a122_0x5eee5a(0xbe)][a122_0x5eee5a(0xd3)](a122_0x1c4449),winston[a122_0x5eee5a(0xbe)]['printf'](_0x750d80=>_0x750d80[a122_0x5eee5a(0xb7)]+':\x20'+_0x750d80[a122_0x5eee5a(0xec)])),'transports':[]},a122_0xe1e68={};a122_0xe1e68[a122_0x5eee5a(0xbe)]=a122_0x5eee5a(0xc4);const a122_0x59bb9a={};a122_0x59bb9a[a122_0x5eee5a(0xb7)]=!![];const a122_0x2f14cb={};a122_0x2f14cb[a122_0x5eee5a(0xb7)]=a122_0x5eee5a(0xad);const BuildLoggerParams={'format':winston[a122_0x5eee5a(0xbe)][a122_0x5eee5a(0xb3)](winston['format'][a122_0x5eee5a(0xdf)](a122_0xe1e68),winston[a122_0x5eee5a(0xbe)][a122_0x5eee5a(0xd3)](a122_0x59bb9a),winston['format']['printf'](_0x1b3e1c=>_0x1b3e1c[a122_0x5eee5a(0xdf)]+a122_0x5eee5a(0xbc)+_0x1b3e1c[a122_0x5eee5a(0xb7)]+':\x20'+_0x1b3e1c[a122_0x5eee5a(0xec)])),'transports':[transports[a122_0x5eee5a(0xe5)],new winston[(a122_0x5eee5a(0xa3))]['Console'](a122_0x2f14cb)]},a122_0x509f22={};a122_0x509f22[a122_0x5eee5a(0xcc)]=()=>{},a122_0x509f22[a122_0x5eee5a(0xcb)]=()=>{},a122_0x509f22[a122_0x5eee5a(0x9b)]=()=>{},a122_0x509f22[a122_0x5eee5a(0xda)]=()=>{},a122_0x509f22[a122_0x5eee5a(0xca)]=()=>{},a122_0x509f22[a122_0x5eee5a(0xad)]=()=>{},exports[a122_0x5eee5a(0xb1)]=process[a122_0x5eee5a(0xb6)]['BROWSERSTACK_AUTOMATION_LOGS']==='true'?winston['createLogger']({'format':winston['format'][a122_0x5eee5a(0xb3)](winston[a122_0x5eee5a(0xbe)][a122_0x5eee5a(0xaf)](),winston[a122_0x5eee5a(0xbe)][a122_0x5eee5a(0xdf)](),logFormat(),winston[a122_0x5eee5a(0xbe)]['printf'](_0x1bf7e0=>_0x1bf7e0[a122_0x5eee5a(0xb7)]+':\x20'+_0x1bf7e0['message'])),'transports':[automationTransports[a122_0x5eee5a(0xeb)]]}):a122_0x509f22;const initialize=()=>{const _0x5e4604=a122_0x5eee5a,_0x5c831a={};_0x5c831a[_0x5e4604(0xde)]='silly';const _0x4eb729=_0x5c831a,_0x4cd9df=transports[_0x5e4604(0xe9)][_0x5e4604(0xb7)]||initialLogLevel;transports[_0x5e4604(0xb9)]&&(exports[_0x5e4604(0xd6)][_0x5e4604(0xa5)](transports[_0x5e4604(0xb9)]),exports[_0x5e4604(0xc3)][_0x5e4604(0xa5)](transports[_0x5e4604(0xb9)])),transports[_0x5e4604(0xae)]&&(exports[_0x5e4604(0xd6)][_0x5e4604(0xa5)](transports[_0x5e4604(0xae)]),exports[_0x5e4604(0xc3)]['remove'](transports[_0x5e4604(0xae)])),transports[_0x5e4604(0xb9)]=new winston['transports'][(_0x5e4604(0xb0))]({'filename':path[_0x5e4604(0xe7)](exports[_0x5e4604(0xcf)],LOG_FILE_NAME),'level':_0x4cd9df}),transports[_0x5e4604(0xae)]=new winston[(_0x5e4604(0xa3))]['File']({'filename':path['join'](exports[_0x5e4604(0xcf)],DEBUG_LOG_FILE_NAME),'level':_0x4eb729[_0x5e4604(0xde)]}),transports[_0x5e4604(0xd8)]=new winston[(_0x5e4604(0xa3))][(_0x5e4604(0xb0))]({'filename':path[_0x5e4604(0xe7)](exports['logDir'],DEBUG_CLI_LOG_FILE_NAME),'level':_0x4eb729[_0x5e4604(0xde)]}),exports[_0x5e4604(0xd6)][_0x5e4604(0xba)](transports[_0x5e4604(0xb9)]),exports['winstonLogger'][_0x5e4604(0xba)](transports[_0x5e4604(0xae)]),exports[_0x5e4604(0xc3)][_0x5e4604(0xba)](transports[_0x5e4604(0xb9)]),exports[_0x5e4604(0xc3)][_0x5e4604(0xba)](transports[_0x5e4604(0xae)]);};exports['winstonLogger']=new winston[(a122_0x5eee5a(0x9e))](winstonLoggerParams),exports['fileLogger']=new winston[(a122_0x5eee5a(0x9e))](winstonFileLoggerParams),exports['buildLogger']=new winston[(a122_0x5eee5a(0x9e))](BuildLoggerParams),exports[a122_0x5eee5a(0xcf)]=logDir,exports['getLogDir']=()=>{const _0x5515d9=a122_0x5eee5a;return exports[_0x5515d9(0xcf)];},exports[a122_0x5eee5a(0xa3)]=transports,exports[a122_0x5eee5a(0xd1)]=initialize;logDir&&initialize();
|
|
1
|
+
const a137_0x10890a=a137_0x2075;(function(_0xebf990,_0x486921){const _0x305546=a137_0x2075,_0x2b4c7f=_0xebf990();while(!![]){try{const _0x25bdc2=-parseInt(_0x305546(0xfd))/0x1*(parseInt(_0x305546(0x110))/0x2)+-parseInt(_0x305546(0xed))/0x3+-parseInt(_0x305546(0x101))/0x4*(-parseInt(_0x305546(0xec))/0x5)+-parseInt(_0x305546(0xcc))/0x6+-parseInt(_0x305546(0xf8))/0x7*(parseInt(_0x305546(0x116))/0x8)+parseInt(_0x305546(0x108))/0x9*(-parseInt(_0x305546(0x107))/0xa)+parseInt(_0x305546(0x10d))/0xb;if(_0x25bdc2===_0x486921)break;else _0x2b4c7f['push'](_0x2b4c7f['shift']());}catch(_0x2ee951){_0x2b4c7f['push'](_0x2b4c7f['shift']());}}}(a137_0x43ff,0xc4156));const winston=require(a137_0x10890a(0xe0)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a137_0x10890a(0x114)),tempLogDir='log';let redactRegex=null,lastConfigHash='';const logFormat=winston[a137_0x10890a(0xf1)](_0x52edfb=>{const _0x2b5b7b=a137_0x10890a,_0x5228c7={};_0x5228c7[_0x2b5b7b(0xf2)]=function(_0x5ee52c,_0x18d9b2){return _0x5ee52c!==_0x18d9b2;},_0x5228c7[_0x2b5b7b(0xcd)]=_0x2b5b7b(0xe6),_0x5228c7[_0x2b5b7b(0xf9)]=function(_0x161052,_0x32027c){return _0x161052+_0x32027c;},_0x5228c7[_0x2b5b7b(0x104)]=function(_0x5cd235,_0xdb6162){return _0x5cd235!==_0xdb6162;},_0x5228c7[_0x2b5b7b(0xe2)]=function(_0x37c3e0,_0xac051d){return _0x37c3e0>_0xac051d;},_0x5228c7[_0x2b5b7b(0xda)]=_0x2b5b7b(0xcf);const _0x24beb9=_0x5228c7;_0x24beb9[_0x2b5b7b(0xf2)](typeof _0x52edfb[_0x2b5b7b(0xe4)],_0x24beb9[_0x2b5b7b(0xcd)])&&(_0x52edfb[_0x2b5b7b(0xe4)]=JSON[_0x2b5b7b(0xdf)](_0x52edfb[_0x2b5b7b(0xe4)]));const _0x222b51=global[_0x2b5b7b(0xfc)]&&global[_0x2b5b7b(0xfc)]['userName']||'',_0xee2832=global[_0x2b5b7b(0xfc)]&&global[_0x2b5b7b(0xfc)][_0x2b5b7b(0x10f)]||'',_0x48c7a9=_0x24beb9[_0x2b5b7b(0xf9)](_0x24beb9[_0x2b5b7b(0xf9)](_0x222b51,'|'),_0xee2832);if(_0x24beb9[_0x2b5b7b(0x104)](_0x48c7a9,lastConfigHash)){lastConfigHash=_0x48c7a9;const _0x3b6685=[_0x222b51,_0xee2832]['filter'](Boolean);if(_0x24beb9[_0x2b5b7b(0xe2)](_0x3b6685[_0x2b5b7b(0x106)],0x0)){const _0x15d391=_0x3b6685[_0x2b5b7b(0x10c)](_0x3a743f=>_0x3a743f[_0x2b5b7b(0xeb)](/[.*+?^${}()|[\]\\]/g,'\x5c$&'))[_0x2b5b7b(0x109)]('|');redactRegex=new RegExp(_0x15d391,'g');}else redactRegex=null;}return redactRegex&&(_0x52edfb[_0x2b5b7b(0xe4)]=_0x52edfb[_0x2b5b7b(0xe4)]['replace'](redactRegex,_0x24beb9['aUTzM'])),_0x52edfb;}),SENSITIVE_HEADER_REGEX=/authorization|token|cookie|secret|^x-api-key$|accesskey|password/i,maskHeaders=_0x28081f=>{const _0x353137=a137_0x10890a,_0x15203e={};_0x15203e['HwHAm']=function(_0x103cb9,_0x553d71){return _0x103cb9!==_0x553d71;},_0x15203e['GIpcC']='object',_0x15203e['VopAi']=_0x353137(0xcf),_0x15203e['wATaT']=_0x353137(0xf0);const _0x2ee5e3=_0x15203e;try{if(!_0x28081f||_0x2ee5e3['HwHAm'](typeof _0x28081f,_0x2ee5e3['GIpcC']))return _0x28081f;const _0x5b3bdd={};for(const _0x22ce65 of Object[_0x353137(0xd6)](_0x28081f)){_0x5b3bdd[_0x22ce65]=SENSITIVE_HEADER_REGEX[_0x353137(0xe3)](_0x22ce65)?_0x2ee5e3[_0x353137(0xd4)]:_0x28081f[_0x22ce65];}return _0x5b3bdd;}catch{return _0x2ee5e3['wATaT'];}},fetchLogDir=()=>{const _0x2a7b31=a137_0x10890a;if(process['env']['BROWSERSTACK_INTERNAL_LOG_DIR'])return process[_0x2a7b31(0xfe)]['BROWSERSTACK_INTERNAL_LOG_DIR'];else!fs[_0x2a7b31(0x117)](tempLogDir)&&fs['mkdirSync'](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x3fdfa4=a137_0x10890a,_0x5aebbe={};_0x5aebbe[_0x3fdfa4(0x111)]='info';const _0x1808f5=_0x5aebbe,_0x56939c=process[_0x3fdfa4(0xfe)][_0x3fdfa4(0xea)],_0x1093cb=Object['keys'](winston[_0x3fdfa4(0xfc)][_0x3fdfa4(0xd8)][_0x3fdfa4(0xd0)]);if(_0x56939c&&_0x1093cb['includes'](_0x56939c[_0x3fdfa4(0xce)]()))return _0x56939c[_0x3fdfa4(0xce)]();return _0x1808f5[_0x3fdfa4(0x111)];},initialLogLevel=getInitialLogLevel(),a137_0x5b2065={};a137_0x5b2065['name']='console.info',a137_0x5b2065['level']=initialLogLevel;const transports={'loggerConsole':new winston['transports'][(a137_0x10890a(0xe7))](a137_0x5b2065),'loggerFile':new winston[(a137_0x10890a(0xf4))][(a137_0x10890a(0xee))]({'filename':path['join'](logDir,a137_0x10890a(0x105)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a137_0x10890a(0xf4))][(a137_0x10890a(0xee))]({'filename':path[a137_0x10890a(0x109)](logDir,a137_0x10890a(0xef)),'level':a137_0x10890a(0xc6)}),'debugCliLoggerFile':new winston[(a137_0x10890a(0xf4))][(a137_0x10890a(0xee))]({'filename':path['join'](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a137_0x10890a(0xc6)}),'buildLinkTransport':new winston[(a137_0x10890a(0xf4))]['File']({'filename':path[a137_0x10890a(0x109)](logDir,a137_0x10890a(0x105)),'level':a137_0x10890a(0xc6)})},automationTransports={};process[a137_0x10890a(0xfe)][a137_0x10890a(0xdd)]===a137_0x10890a(0xd1)&&(automationTransports[a137_0x10890a(0xde)]=new winston['transports'][(a137_0x10890a(0xee))]({'filename':path[a137_0x10890a(0x109)](logDir,a137_0x10890a(0xd9)),'level':'silly'}));function a137_0x2075(_0x3d9cbc,_0x497bc4){const _0x43ffc5=a137_0x43ff();return a137_0x2075=function(_0x207531,_0x3635dc){_0x207531=_0x207531-0xc6;let _0x429207=_0x43ffc5[_0x207531];return _0x429207;},a137_0x2075(_0x3d9cbc,_0x497bc4);}transports['loggerConsole']['on'](a137_0x10890a(0xf6),_0x2dc2c5=>{const _0x48b781=a137_0x10890a,_0x5a9be1={};_0x5a9be1[_0x48b781(0x10a)]=function(_0x2c1b91,_0x4f9479){return _0x2c1b91===_0x4f9479;},_0x5a9be1[_0x48b781(0x113)]=_0x48b781(0xfa),_0x5a9be1[_0x48b781(0xd3)]=_0x48b781(0xff);const _0x17cd98=_0x5a9be1;if(_0x17cd98[_0x48b781(0x10a)](_0x2dc2c5[_0x48b781(0xcb)],_0x17cd98['hWUbG'])){console['log'](_0x17cd98[_0x48b781(0xd3)],_0x2dc2c5['message']);return;}throw _0x2dc2c5;});const a137_0x3af6f8={};a137_0x3af6f8[a137_0x10890a(0xf1)]=a137_0x10890a(0x115);const a137_0x42602a={};a137_0x42602a[a137_0x10890a(0xe8)]=!![];const winstonLoggerParams={'format':winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe5)](winston['format']['timestamp'](a137_0x3af6f8),winston['format']['colorize'](a137_0x42602a),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe1)](_0x41b121=>_0x41b121[a137_0x10890a(0xfb)]+'\x20-\x20'+_0x41b121[a137_0x10890a(0xe8)]+':\x20'+_0x41b121[a137_0x10890a(0xe4)])),'transports':[transports[a137_0x10890a(0x10e)]]},a137_0x49d5cc={};a137_0x49d5cc[a137_0x10890a(0xf1)]=a137_0x10890a(0x115);function a137_0x43ff(){const _0x5107d3=['env','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','debugLoggerFile','296rLLCWy','fileLogger','buildLinkTransport','QPdUT','/usage.log','length','36790ZBQJPl','2232YwAAuM','join','nckoD','maskHeaders','map','18459166HRBibM','loggerConsole','accessKey','8ZyAREl','lnIjs','warn','hWUbG','../bin/utils/constants','YYYY-MM-DD\x20HH:mm:ss','8MJyimu','existsSync','silly','\x20-\x20','add','getLogDir','http','code','1235724mvDuWN','OdEVi','toLowerCase','[REDACTED]','levels','true','winstonLogger','bsiUY','VopAi','remove','keys','loggerFile','npm','automation.log','aUTzM','colorize','initialize','BROWSERSTACK_AUTOMATION_LOGS','automationLoggerFile','stringify','winston','printf','dNoXh','test','message','combine','string','Console','level','info','BROWSERSTACK_LOG_LEVEL','replace','79230kqrdpc','1576884HkcCuc','File','/usage-debug.log','[REDACTED\x20HEADERS]','format','CEbNa','createLogger','transports','logDir','error','debug','935690WycYso','tuhTi','EPIPE','timestamp','config','67477lLggOF'];a137_0x43ff=function(){return _0x5107d3;};return a137_0x43ff();}const a137_0x49caee={};a137_0x49caee['level']=!![];const winstonFileLoggerParams={'format':winston[a137_0x10890a(0xf1)]['combine'](winston['format'][a137_0x10890a(0xfb)](a137_0x49d5cc),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xdb)](a137_0x49caee),winston['format'][a137_0x10890a(0xe1)](_0x2fbbe9=>_0x2fbbe9[a137_0x10890a(0xe8)]+':\x20'+_0x2fbbe9[a137_0x10890a(0xe4)])),'transports':[]},a137_0x1936df={};a137_0x1936df[a137_0x10890a(0xf1)]=a137_0x10890a(0x115);const a137_0x170c42={};a137_0x170c42[a137_0x10890a(0xe8)]=!![];const a137_0x4a289d={};a137_0x4a289d[a137_0x10890a(0xe8)]=a137_0x10890a(0xc6);const BuildLoggerParams={'format':winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe5)](winston['format'][a137_0x10890a(0xfb)](a137_0x1936df),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xdb)](a137_0x170c42),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe1)](_0x5b5c35=>_0x5b5c35[a137_0x10890a(0xfb)]+a137_0x10890a(0xc7)+_0x5b5c35['level']+':\x20'+_0x5b5c35[a137_0x10890a(0xe4)])),'transports':[transports[a137_0x10890a(0x103)],new winston[(a137_0x10890a(0xf4))]['Console'](a137_0x4a289d)]},a137_0x3231cd={};a137_0x3231cd[a137_0x10890a(0xca)]=()=>{},a137_0x3231cd[a137_0x10890a(0xe9)]=()=>{},a137_0x3231cd[a137_0x10890a(0x112)]=()=>{},a137_0x3231cd[a137_0x10890a(0xf6)]=()=>{},a137_0x3231cd[a137_0x10890a(0xf7)]=()=>{},a137_0x3231cd[a137_0x10890a(0xc6)]=()=>{},exports['automationLogger']=process[a137_0x10890a(0xfe)][a137_0x10890a(0xdd)]===a137_0x10890a(0xd1)?winston[a137_0x10890a(0xf3)]({'format':winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe5)](winston[a137_0x10890a(0xf1)]['uncolorize'](),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xfb)](),logFormat(),winston[a137_0x10890a(0xf1)][a137_0x10890a(0xe1)](_0x584dac=>_0x584dac[a137_0x10890a(0xe8)]+':\x20'+_0x584dac[a137_0x10890a(0xe4)])),'transports':[automationTransports[a137_0x10890a(0xde)]]}):a137_0x3231cd;const initialize=()=>{const _0x18992a=a137_0x10890a,_0xb47a54={};_0xb47a54['kIQGt']=_0x18992a(0xc6);const _0x46010a=_0xb47a54,_0x13ddcd=transports['loggerConsole'][_0x18992a(0xe8)]||initialLogLevel;transports['loggerFile']&&(exports[_0x18992a(0xd2)][_0x18992a(0xd5)](transports[_0x18992a(0xd7)]),exports[_0x18992a(0x102)]['remove'](transports['loggerFile'])),transports['debugLoggerFile']&&(exports[_0x18992a(0xd2)][_0x18992a(0xd5)](transports[_0x18992a(0x100)]),exports['fileLogger'][_0x18992a(0xd5)](transports['debugLoggerFile'])),transports[_0x18992a(0xd7)]=new winston[(_0x18992a(0xf4))][(_0x18992a(0xee))]({'filename':path[_0x18992a(0x109)](exports[_0x18992a(0xf5)],LOG_FILE_NAME),'level':_0x13ddcd}),transports['debugLoggerFile']=new winston[(_0x18992a(0xf4))][(_0x18992a(0xee))]({'filename':path[_0x18992a(0x109)](exports[_0x18992a(0xf5)],DEBUG_LOG_FILE_NAME),'level':_0x46010a['kIQGt']}),transports['debugCliLoggerFile']=new winston[(_0x18992a(0xf4))][(_0x18992a(0xee))]({'filename':path['join'](exports[_0x18992a(0xf5)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x46010a['kIQGt']}),exports[_0x18992a(0xd2)][_0x18992a(0xc8)](transports[_0x18992a(0xd7)]),exports[_0x18992a(0xd2)][_0x18992a(0xc8)](transports[_0x18992a(0x100)]),exports[_0x18992a(0x102)]['add'](transports['loggerFile']),exports[_0x18992a(0x102)]['add'](transports[_0x18992a(0x100)]);};exports[a137_0x10890a(0xd2)]=new winston[(a137_0x10890a(0xf3))](winstonLoggerParams),exports['fileLogger']=new winston[(a137_0x10890a(0xf3))](winstonFileLoggerParams),exports['buildLogger']=new winston[(a137_0x10890a(0xf3))](BuildLoggerParams),exports[a137_0x10890a(0xf5)]=logDir,exports[a137_0x10890a(0xc9)]=()=>{const _0x49e2a5=a137_0x10890a;return exports[_0x49e2a5(0xf5)];},exports[a137_0x10890a(0xf4)]=transports,exports[a137_0x10890a(0xdc)]=initialize,exports[a137_0x10890a(0x10b)]=maskHeaders;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a138_0x10a3(){const _0x508862=['FzLpM','UDHBG','424158aVssqM','set','get','HpbdV','1051460NkIMnn','jVIjl','578xuvqkT','702872aOXUYi','The\x20metadata\x20object\x20is\x20not\x20valid.','2622yGmrEI','getCentralUser','tOzAt','string','9ByyFjE','357TEnjIn','120856lscgiQ','./helper','8008890GIyQgD','BWvpr','setGlobal','lcnc','testMeta-','testRunUUID','./logger','3623495XSUznY','testMeta','cQWiv','length','exports','getGlobal','winstonLogger'];a138_0x10a3=function(){return _0x508862;};return a138_0x10a3();}const a138_0x507804=a138_0x5d2f;(function(_0xf9900,_0x4534ec){const _0x39bc74=a138_0x5d2f,_0x4ad226=_0xf9900();while(!![]){try{const _0x507c9e=parseInt(_0x39bc74(0x185))/0x1+-parseInt(_0x39bc74(0x184))/0x2*(-parseInt(_0x39bc74(0x187))/0x3)+parseInt(_0x39bc74(0x182))/0x4+parseInt(_0x39bc74(0x196))/0x5+parseInt(_0x39bc74(0x17e))/0x6+-parseInt(_0x39bc74(0x18c))/0x7*(parseInt(_0x39bc74(0x18d))/0x8)+parseInt(_0x39bc74(0x18b))/0x9*(-parseInt(_0x39bc74(0x18f))/0xa);if(_0x507c9e===_0x4534ec)break;else _0x4ad226['push'](_0x4ad226['shift']());}catch(_0x28ce71){_0x4ad226['push'](_0x4ad226['shift']());}}}(a138_0x10a3,0x6c001));function a138_0x5d2f(_0x525fd0,_0x444b90){const _0x10a316=a138_0x10a3();return a138_0x5d2f=function(_0x5d2f1f,_0x7fb1f0){_0x5d2f1f=_0x5d2f1f-0x17a;let _0x51a364=_0x10a316[_0x5d2f1f];return _0x51a364;},a138_0x5d2f(_0x525fd0,_0x444b90);}const globals=require('./globals'),helper=require(a138_0x507804(0x18e)),logger=require(a138_0x507804(0x195))[a138_0x507804(0x17b)];module[a138_0x507804(0x19a)]=class TestMetadata{static[a138_0x507804(0x17f)](_0x30d1fd={}){const _0x3aabfc=a138_0x507804,_0x4cb4ef={};_0x4cb4ef[_0x3aabfc(0x183)]=_0x3aabfc(0x194),_0x4cb4ef['HpbdV']=function(_0xe77614,_0x273e54){return _0xe77614===_0x273e54;},_0x4cb4ef[_0x3aabfc(0x189)]=_0x3aabfc(0x18a),_0x4cb4ef[_0x3aabfc(0x190)]=function(_0x144072,_0x54d8ee){return _0x144072<=_0x54d8ee;},_0x4cb4ef[_0x3aabfc(0x17d)]=_0x3aabfc(0x197),_0x4cb4ef[_0x3aabfc(0x17c)]=_0x3aabfc(0x186);const _0x35a0bf=_0x4cb4ef,_0x13383e=globals['getGlobal'](_0x35a0bf[_0x3aabfc(0x183)]),_0x3aecc8=_0x30d1fd['identifier'];helper[_0x3aabfc(0x188)]()[_0x3aabfc(0x192)]&&(_0x35a0bf[_0x3aabfc(0x181)](typeof _0x3aecc8,_0x35a0bf[_0x3aabfc(0x189)])&&_0x35a0bf[_0x3aabfc(0x190)](_0x3aecc8[_0x3aabfc(0x199)],0x28)?_0x13383e?globals[_0x3aabfc(0x191)](_0x3aabfc(0x193)+_0x13383e,_0x30d1fd):globals[_0x3aabfc(0x191)](_0x35a0bf['UDHBG'],_0x30d1fd):logger['warn'](_0x35a0bf[_0x3aabfc(0x17c)]));}static[a138_0x507804(0x180)](_0x260069){const _0x1a4b55=a138_0x507804,_0x400a86={};_0x400a86['cQWiv']=_0x1a4b55(0x197);const _0x2169d4=_0x400a86;if(helper[_0x1a4b55(0x188)]()[_0x1a4b55(0x192)])return globals[_0x1a4b55(0x17a)]('testMeta-'+_0x260069)||globals['getGlobal'](_0x2169d4[_0x1a4b55(0x198)])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124_0x2a472f=a124_0x4d00;(function(_0x52ee19,_0x4a1eaf){const _0x148194=a124_0x4d00,_0x5070a0=_0x52ee19();while(!![]){try{const _0x22f877=parseInt(_0x148194(0x122))/0x1+parseInt(_0x148194(0x113))/0x2*(parseInt(_0x148194(0x13e))/0x3)+parseInt(_0x148194(0x148))/0x4+-parseInt(_0x148194(0xdc))/0x5*(-parseInt(_0x148194(0xf6))/0x6)+-parseInt(_0x148194(0xf0))/0x7+-parseInt(_0x148194(0x11e))/0x8+parseInt(_0x148194(0x103))/0x9*(-parseInt(_0x148194(0x118))/0xa);if(_0x22f877===_0x4a1eaf)break;else _0x5070a0['push'](_0x5070a0['shift']());}catch(_0x3592e3){_0x5070a0['push'](_0x5070a0['shift']());}}}(a124_0x37fb,0x419d8));const {aiSdkWrapper}=require(a124_0x2a472f(0x12a)),{commandRepository}=require(a124_0x2a472f(0x14b)),PerformanceTester=require(a124_0x2a472f(0x12d)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a124_0x2a472f(0x117)),helper=require(a124_0x2a472f(0xf9)),constants=require(a124_0x2a472f(0xe9)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a124_0x2a472f(0x116)),util=require(a124_0x2a472f(0x104));exports[a124_0x2a472f(0x11f)]=(_0x1d2d47,_0x501a2b)=>{const _0xb5cd95=a124_0x2a472f,_0x294f4f={'IPtgr':_0xb5cd95(0xef),'fowIi':_0xb5cd95(0xcf),'XyVuZ':function(_0x2f6926){return _0x2f6926();},'oNCyL':_0xb5cd95(0x106),'GOuty':function(_0x518677,_0x2a7f21){return _0x518677===_0x2a7f21;},'PRkfG':_0xb5cd95(0x10e),'IZrrg':'aiHeal_isHealingEnabled','rRyLv':_0xb5cd95(0xdf),'Ngvcx':function(_0xc0dc84){return _0xc0dc84();},'ZqfRM':'Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','bwBTp':function(_0x53f255,_0x34decc){return _0x53f255===_0x34decc;},'wGHPh':_0xb5cd95(0x137),'ztTwU':'JavascriptError','fHkgP':_0xb5cd95(0xf3),'KyiWD':function(_0x37493b,_0x70f480){return _0x37493b+_0x70f480;},'OtuTy':_0xb5cd95(0x132),'ZZLeQ':_0xb5cd95(0x11d),'XdxnI':_0xb5cd95(0x11a),'QWQMg':'aiHeal:findElementFailure','rWBUU':function(_0x527928,_0x4db801){return _0x527928&&_0x4db801;},'GSNLD':function(_0x42db01,_0x540a9a){return _0x42db01===_0x540a9a;},'ZVUaj':function(_0x5e41b4,_0xdbfa1d){return _0x5e41b4+_0xdbfa1d;},'CPhrf':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','IAWxx':function(_0x3f09d8,_0x381690){return _0x3f09d8+_0x381690;},'PuMAV':_0xb5cd95(0x114),'LzKNE':_0xb5cd95(0x12e),'rdoBp':function(_0x4b522a,_0xcf518a){return _0x4b522a+_0xcf518a;},'OYSwI':_0xb5cd95(0x136),'RebGv':'get','lHduU':_0xb5cd95(0xd1),'xWyee':_0xb5cd95(0xf4),'FHWvz':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','kyNdW':function(_0x470629,_0x2f6b57){return _0x470629===_0x2f6b57;},'weXgy':_0xb5cd95(0x140),'crtct':_0xb5cd95(0x149),'WIYdU':function(_0x5d541c,_0x442376){return _0x5d541c===_0x442376;},'YDoUA':_0xb5cd95(0x112),'cFedD':_0xb5cd95(0xe7),'NdHaF':_0xb5cd95(0xca),'OKWxi':_0xb5cd95(0xdb),'wUHBs':_0xb5cd95(0x133)},_0xd03dff=_0x1d2d47['patchExecute']||(helper[_0xb5cd95(0x107)](_0x501a2b,[_0x294f4f['cFedD'],_0x294f4f['NdHaF']])||helper[_0xb5cd95(0x107)](_0x501a2b,[_0x294f4f[_0xb5cd95(0xd5)],_0x294f4f['OKWxi'],_0x294f4f['wUHBs']]));if(!globals[_0xb5cd95(0xd9)](_0x294f4f[_0xb5cd95(0x125)])&&!globals[_0xb5cd95(0xd9)](_0x294f4f[_0xb5cd95(0xeb)])&&_0xd03dff)return;_0x1d2d47[_0xb5cd95(0x131)]=!![],_0x1d2d47[_0xb5cd95(0xf2)]=_0x1d2d47[_0xb5cd95(0x135)],_0x1d2d47['execute']=async _0x7a97aa=>{const _0x176d84=_0xb5cd95,_0x6cc138={'FBWWP':_0x294f4f[_0x176d84(0x125)],'yAVMe':_0x294f4f[_0x176d84(0x11c)],'EwWiR':function(_0x5ea79c,_0xd61d40){const _0x44b459=_0x176d84;return _0x294f4f[_0x44b459(0x119)](_0x5ea79c,_0xd61d40);},'DZCjf':_0x294f4f[_0x176d84(0x111)],'DJFzK':_0x294f4f['ztTwU'],'fuusl':_0x294f4f[_0x176d84(0x13b)],'xKNKe':_0x294f4f[_0x176d84(0xeb)],'TfCur':_0x294f4f[_0x176d84(0x14d)],'nwOEN':function(_0x215dde,_0x260f43){return _0x294f4f['KyiWD'](_0x215dde,_0x260f43);},'wfgoC':_0x294f4f['OtuTy'],'Wctnt':_0x294f4f[_0x176d84(0xf1)],'BYsjx':_0x294f4f[_0x176d84(0x108)],'FqKlX':_0x294f4f[_0x176d84(0x121)],'Jsbht':function(_0x5179a1){const _0x5715dd=_0x176d84;return _0x294f4f[_0x5715dd(0xe5)](_0x5179a1);},'guOAo':function(_0xc70555,_0x150737){const _0x2c6aa9=_0x176d84;return _0x294f4f[_0x2c6aa9(0x138)](_0xc70555,_0x150737);},'MtKWb':function(_0x28ceb5,_0x5da16a){return _0x294f4f['GSNLD'](_0x28ceb5,_0x5da16a);},'vXLEK':function(_0xa4c71,_0x415624){const _0x10b078=_0x176d84;return _0x294f4f[_0x10b078(0x127)](_0xa4c71,_0x415624);},'nhBzb':_0x294f4f['CPhrf'],'NwhLq':function(_0x55bbe3,_0x4daacc){return _0x294f4f['IAWxx'](_0x55bbe3,_0x4daacc);},'UpdmF':function(_0x20d048,_0x5d103f){const _0x500414=_0x176d84;return _0x294f4f[_0x500414(0xdd)](_0x20d048,_0x5d103f);},'CEsjI':_0x294f4f[_0x176d84(0xd7)],'ZYaIa':function(_0x29f936,_0x42df83){const _0x52ec23=_0x176d84;return _0x294f4f[_0x52ec23(0xe3)](_0x29f936,_0x42df83);},'ADbyy':_0x294f4f[_0x176d84(0xf7)],'PeMJh':function(_0x3ef393,_0x4b60d7){const _0x2c909b=_0x176d84;return _0x294f4f[_0x2c909b(0x139)](_0x3ef393,_0x4b60d7);},'zkdpm':function(_0x4a0d55,_0x58c52e){const _0x107157=_0x176d84;return _0x294f4f[_0x107157(0xdd)](_0x4a0d55,_0x58c52e);},'YsbSS':function(_0x5ca219,_0x414f32){return _0x294f4f['rdoBp'](_0x5ca219,_0x414f32);},'EYDOr':_0x294f4f['OYSwI'],'wfXWf':function(_0x4ddee8,_0x2ec339){return _0x294f4f['GOuty'](_0x4ddee8,_0x2ec339);},'ydeQl':_0x294f4f[_0x176d84(0x10d)],'qOQNe':_0x294f4f[_0x176d84(0x141)],'HcSiM':_0x294f4f['xWyee'],'eGfou':_0x294f4f['FHWvz']};try{const _0x1ce0cc={};_0x1ce0cc['command']=_0x7a97aa[_0x176d84(0xe1)],await PerformanceTester[_0x176d84(0x124)](PerformanceDriverEvents['PRE_EXECUTE'],async()=>{const _0x31510b=_0x176d84;if(!commandRepository[_0x31510b(0x10f)]()&&globals[_0x31510b(0xd9)](_0x294f4f[_0x31510b(0x125)])){const _0x433c1b=PerformanceTester[_0x31510b(0x124)](_0x294f4f[_0x31510b(0x126)],async()=>{const _0x25e2c7=_0x31510b;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper['setTcgToken']((await _0x1d2d47[_0x25e2c7(0x14c)]())[_0x25e2c7(0xe0)]());const _0x17c6df=globals[_0x25e2c7(0xd9)](_0x6cc138[_0x25e2c7(0x12f)]);_0x17c6df&&commandRepository['setAiSessionTimeStamp']((await _0x1d2d47['getSession']())[_0x25e2c7(0xe0)]());}catch(_0x53ad6c){logger[_0x25e2c7(0xcd)](_0x25e2c7(0x123)+_0x53ad6c);}});await _0x294f4f['XyVuZ'](_0x433c1b);}},_0x1ce0cc)();const _0x2dbb16=await _0x1d2d47[_0x176d84(0xf2)](_0x7a97aa);try{if(_0x294f4f['kyNdW'](_0x7a97aa[_0x176d84(0xe1)],_0x294f4f[_0x176d84(0xed)])||_0x294f4f[_0x176d84(0x142)](_0x7a97aa[_0x176d84(0xe1)],_0x294f4f[_0x176d84(0x11b)])){const _0x4fec0d=_0x7a97aa['parameters_']&&_0x7a97aa[_0x176d84(0xd1)][_0x176d84(0xd0)],_0x3c0362=_0x7a97aa['parameters_']&&_0x7a97aa[_0x176d84(0xd1)][_0x176d84(0x100)],_0x28d852=_0x3c0362&&util[_0x176d84(0xfd)]('%j',_0x3c0362);if(_0x4fec0d&&_0x294f4f[_0x176d84(0x12c)](typeof _0x4fec0d,_0x294f4f[_0x176d84(0xde)])){const _0x3865c8=constants[_0x176d84(0x128)][_0x176d84(0xe8)](_0x1524ce=>_0x4fec0d[_0x176d84(0x145)](_0x1524ce)||_0x28d852&&_0x28d852[_0x176d84(0x145)](_0x1524ce));if(_0x3865c8){const _0x2f3672={};_0x2f3672[_0x176d84(0xf8)]=_0x3865c8,_0x2f3672[_0x176d84(0xd8)]=_0x3c0362;const _0x793833={};_0x793833['body']=_0x2dbb16;const _0xb4b53b={};_0xb4b53b[_0x176d84(0x115)]=_0x2f3672,_0xb4b53b[_0x176d84(0x143)]=_0x793833,automationLogger[_0x176d84(0xe2)]('['+new Date()[_0x176d84(0xf5)]()+'][\x20SDK-AUTOMATION\x20]\x20'+util[_0x176d84(0xfd)]('%j',_0xb4b53b));}}}}catch(_0x37d1e6){logger['silly'](_0x176d84(0xee)+_0x37d1e6[_0x176d84(0x13a)]);}return await PerformanceTester[_0x176d84(0x124)](PerformanceDriverEvents[_0x176d84(0xd2)],async()=>{const _0x2dc079=_0x176d84;if(!helper['isBrowserstackInfra']()&&(commandRepository[_0x2dc079(0xcc)]()||globals[_0x2dc079(0xd9)](_0x294f4f['oNCyL']))&&_0x294f4f[_0x2dc079(0xe3)](_0x7a97aa[_0x2dc079(0xe1)],_0x294f4f['PRkfG'])&&!_0x7a97aa[_0x2dc079(0xcb)]&&globals[_0x2dc079(0xd9)](_0x294f4f[_0x2dc079(0x125)])&&globals['getGlobal'](_0x294f4f[_0x2dc079(0xeb)])){const _0x25da0d=new Date(),_0x205c84=PerformanceTester[_0x2dc079(0x124)](_0x294f4f[_0x2dc079(0x120)],async()=>{const _0x29ad8c=_0x2dc079;return await aiSdkWrapper[_0x29ad8c(0x129)](_0x501a2b,_0x1d2d47,_0x7a97aa);});await _0x294f4f[_0x2dc079(0xe5)](_0x205c84);}},{'command':_0x7a97aa[_0x176d84(0xe1)]})(),_0x2dbb16;}catch(_0x7d35a0){await PerformanceTester[_0x176d84(0x124)](PerformanceDriverEvents[_0x176d84(0xd2)],async()=>{const _0x3c56b5=_0x176d84;logger[_0x3c56b5(0x130)](_0x6cc138[_0x3c56b5(0x12b)]);try{if(!helper[_0x3c56b5(0xce)]()&&(_0x6cc138[_0x3c56b5(0x13d)](_0x7d35a0[_0x3c56b5(0xd4)],_0x6cc138['DZCjf'])||_0x6cc138[_0x3c56b5(0x13d)](_0x7d35a0[_0x3c56b5(0xd4)],_0x6cc138[_0x3c56b5(0x10b)]))&&_0x6cc138['EwWiR'](_0x7a97aa[_0x3c56b5(0xe1)],_0x6cc138['fuusl'])&&commandRepository[_0x3c56b5(0xcc)]()&&globals[_0x3c56b5(0xd9)](_0x6cc138[_0x3c56b5(0x12f)])&&globals['getGlobal'](_0x6cc138[_0x3c56b5(0xda)])){_0x6cc138[_0x3c56b5(0x13d)](_0x7a97aa[_0x3c56b5(0xd1)]['using'],_0x6cc138[_0x3c56b5(0x14a)])?logger['info'](_0x6cc138[_0x3c56b5(0xe4)](_0x6cc138['nwOEN'](_0x6cc138[_0x3c56b5(0xfe)],_0x7a97aa[_0x3c56b5(0xd1)][_0x3c56b5(0x105)]),_0x6cc138['Wctnt'])):logger[_0x3c56b5(0xd3)](_0x6cc138[_0x3c56b5(0xe4)](_0x6cc138['nwOEN'](_0x6cc138[_0x3c56b5(0xe4)](_0x6cc138['nwOEN'](_0x6cc138[_0x3c56b5(0x13c)],_0x7a97aa[_0x3c56b5(0xd1)][_0x3c56b5(0x110)]),':\x20'),_0x7a97aa[_0x3c56b5(0xd1)]['value']),_0x6cc138['Wctnt']));const _0x5e4110=PerformanceTester[_0x3c56b5(0x124)](_0x6cc138['FqKlX'],async()=>{const _0x5c9e33=_0x3c56b5;return await aiSdkWrapper[_0x5c9e33(0xd6)](_0x501a2b,_0x1d2d47,_0x7a97aa);}),_0xdf24d1=new Date(),{locatorType:_0x421de8,locatorValue:_0x1fd334,commandHealed:_0x16a4bb}=await _0x6cc138[_0x3c56b5(0x13f)](_0x5e4110);if(_0x6cc138['guOAo'](_0x421de8,_0x1fd334)){_0x7a97aa[_0x3c56b5(0xd1)][_0x3c56b5(0x110)]=_0x421de8,_0x7a97aa[_0x3c56b5(0xd1)][_0x3c56b5(0x105)]=_0x1fd334,_0x7a97aa['skipHealingSuccess']=!![];const _0x4dcadb=_0x1d2d47['execute'](_0x7a97aa);return _0x6cc138[_0x3c56b5(0x134)](_0x421de8,_0x6cc138[_0x3c56b5(0x14a)])?logger[_0x3c56b5(0xd3)](_0x6cc138[_0x3c56b5(0x147)](_0x6cc138[_0x3c56b5(0xfa)],_0x1fd334)):logger[_0x3c56b5(0xd3)](_0x6cc138['vXLEK'](_0x6cc138['NwhLq'](_0x6cc138['UpdmF'](_0x6cc138[_0x3c56b5(0x144)],_0x421de8),':\x20'),_0x1fd334)),_0x4dcadb;}else!_0x16a4bb&&(_0x6cc138[_0x3c56b5(0xea)](_0x421de8,_0x6cc138[_0x3c56b5(0x14a)])?logger['info'](_0x6cc138['vXLEK'](_0x6cc138[_0x3c56b5(0x146)],_0x7a97aa[_0x3c56b5(0xd1)][_0x3c56b5(0x105)])):logger['info'](_0x6cc138[_0x3c56b5(0x102)](_0x6cc138[_0x3c56b5(0xfb)](_0x6cc138[_0x3c56b5(0x14e)](_0x6cc138[_0x3c56b5(0x101)],_0x7a97aa['parameters_']['using']),':\x20'),_0x7a97aa[_0x3c56b5(0xd1)][_0x3c56b5(0x105)])));}!_0xd03dff&&_0x6cc138[_0x3c56b5(0xe6)](_0x7a97aa[_0x3c56b5(0xe1)],_0x6cc138[_0x3c56b5(0x10c)])&&helper[_0x3c56b5(0x107)](_0x7a97aa,[_0x6cc138[_0x3c56b5(0x10a)],_0x6cc138[_0x3c56b5(0xfc)]])&&!!constants[_0x3c56b5(0x109)][_0x3c56b5(0xe8)](_0x1fe41a=>{const _0x33b6ce=_0x3c56b5;return _0x7d35a0[_0x33b6ce(0xff)]()[_0x33b6ce(0x145)](_0x1fe41a);})&&helper['getNudgeLocalNotSetError'](_0x7a97aa[_0x3c56b5(0xd1)][_0x3c56b5(0xf4)],!![]);}catch(_0x165371){logger[_0x3c56b5(0x130)](_0x6cc138[_0x3c56b5(0xec)],_0x165371);}},{'success':![],'failure':_0x7d35a0})();throw _0x7d35a0;}};};function a124_0x4d00(_0x5c5808,_0x53a8ef){const _0x37fb4c=a124_0x37fb();return a124_0x4d00=function(_0x4d001b,_0x8dcba3){_0x4d001b=_0x4d001b-0xca;let _0x511cdf=_0x37fb4c[_0x4d001b];return _0x511cdf;},a124_0x4d00(_0x5c5808,_0x53a8ef);}function a124_0x37fb(){const _0x2266f7=['MtKWb','execute','Healing\x20failed\x20for\x20command\x20using\x20','NoSuchElementError','rWBUU','IAWxx','message','PRkfG','BYsjx','EwWiR','366YjHbjh','Jsbht','executeAsyncScript','lHduU','GSNLD','response','CEsjI','includes','ADbyy','vXLEK','935048VeddVd','executeScript','TfCur','./ai-sdk/autoHealHelper','getSession','fHkgP','YsbSS','browserstack.local','skipHealingSuccess','isSelfHealEnabled','error','isBrowserstackInfra','aiHeal:setToken','script','parameters_','POST_EXECUTE','info','name','cFedD','handleFailure','PuMAV','parameters','getGlobal','xKNKe','bstack:options','270bMibZY','KyiWD','YDoUA','aiHeal:findElementSuccess','getId','name_','silly','GOuty','nwOEN','Ngvcx','wfXWf','capability','find','../bin/utils/constants','ZYaIa','IZrrg','eGfou','weXgy','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','aiHeal_isAuthenticated','635656zHxPiQ','ZZLeQ','initExecute','css\x20selector','url','toISOString','51666vTyHyK','LzKNE','command','./helper','nhBzb','zkdpm','HcSiM','format','wfgoC','toString','args','EYDOr','PeMJh','2169JVhqCE','util','value','aiSdk_defaultLogDataEnabled','nestedKeyValue','XdxnI','NUDGE_LOCAL_ERRORS','qOQNe','DJFzK','ydeQl','RebGv','findElement','getTcgTokenStatus','using','wGHPh','string','4324xzAbBv','Successfully\x20healed\x20command\x20using\x20new\x20','request','./performance/constants','./logger','28550BcmIVg','bwBTp','findElement\x20command\x20failed\x20with\x20','crtct','ZqfRM',';\x20Trying\x20to\x20heal','1946848APnkfl','overrideExecute','rRyLv','QWQMg','328459OHFfMO','Error\x20in\x20handling\x20TCG\x20Auth:\x20','measureWrapper','IPtgr','fowIi','ZVUaj','AUTOMATION_LOG_COMMANDS','handleSuccess','./ai-sdk/aiSdkWrapper','yAVMe','WIYdU','./performance/performance-tester','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','FBWWP','debug','patchExecute','findElement\x20command\x20failed\x20with\x20cssPath:\x20','local'];a124_0x37fb=function(){return _0x2266f7;};return a124_0x37fb();}
|
|
1
|
+
function a139_0x579d(_0x435765,_0x853683){const _0x57a588=a139_0x57a5();return a139_0x579d=function(_0x579d06,_0x3f9012){_0x579d06=_0x579d06-0xea;let _0x5852c7=_0x57a588[_0x579d06];return _0x5852c7;},a139_0x579d(_0x435765,_0x853683);}const a139_0x3f1027=a139_0x579d;(function(_0x1dd9a9,_0x38dbdd){const _0x48a683=a139_0x579d,_0x133a50=_0x1dd9a9();while(!![]){try{const _0x16cfc7=-parseInt(_0x48a683(0xea))/0x1*(-parseInt(_0x48a683(0x126))/0x2)+parseInt(_0x48a683(0xec))/0x3*(-parseInt(_0x48a683(0x11f))/0x4)+parseInt(_0x48a683(0x117))/0x5*(-parseInt(_0x48a683(0x13a))/0x6)+-parseInt(_0x48a683(0x134))/0x7*(-parseInt(_0x48a683(0x143))/0x8)+-parseInt(_0x48a683(0xf3))/0x9*(parseInt(_0x48a683(0xfc))/0xa)+-parseInt(_0x48a683(0x125))/0xb*(-parseInt(_0x48a683(0x135))/0xc)+parseInt(_0x48a683(0x159))/0xd*(-parseInt(_0x48a683(0xf4))/0xe);if(_0x16cfc7===_0x38dbdd)break;else _0x133a50['push'](_0x133a50['shift']());}catch(_0x418727){_0x133a50['push'](_0x133a50['shift']());}}}(a139_0x57a5,0x24532));const {aiSdkWrapper}=require(a139_0x3f1027(0xee)),{commandRepository}=require(a139_0x3f1027(0xed)),PerformanceTester=require(a139_0x3f1027(0x110)),globals=require(a139_0x3f1027(0x10d)),{winstonLogger:logger,automationLogger}=require(a139_0x3f1027(0x13c)),helper=require(a139_0x3f1027(0x137)),constants=require(a139_0x3f1027(0x100)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a139_0x3f1027(0x106)),util=require(a139_0x3f1027(0x158));exports[a139_0x3f1027(0x141)]=(_0x4ce113,_0xcd1637)=>{const _0x19db24=a139_0x3f1027,_0x5907bd={'uoPXx':'aiSdk_defaultLogDataEnabled','rgjiP':function(_0x4580ed,_0x5a0907){return _0x4580ed===_0x5a0907;},'GRxbC':_0x19db24(0x156),'pNtDX':_0x19db24(0x15c),'ScGvf':_0x19db24(0x15a),'dshyv':_0x19db24(0xf7),'vTZII':function(_0x54d5d3){return _0x54d5d3();},'byRKp':_0x19db24(0x144),'LhJea':_0x19db24(0xff),'hYApk':function(_0x1e0e37,_0x36fb00){return _0x1e0e37===_0x36fb00;},'dMnpJ':_0x19db24(0x109),'dBJoM':_0x19db24(0x155),'BzPWB':function(_0x16732d,_0x50da86){return _0x16732d+_0x50da86;},'ntMnm':_0x19db24(0xf5),'fEjau':_0x19db24(0x105),'NbLwO':function(_0x5c7758,_0x1a471b){return _0x5c7758+_0x1a471b;},'LYhiD':function(_0x45609e,_0x418165){return _0x45609e+_0x418165;},'IBCHA':function(_0xb3fccc,_0x4b6809){return _0xb3fccc+_0x4b6809;},'mVbFv':function(_0xa17c9f,_0x25e9f4){return _0xa17c9f+_0x25e9f4;},'kaMxd':_0x19db24(0x138),'NswJg':'aiHeal:findElementFailure','wZkds':function(_0x2e0836){return _0x2e0836();},'fTumK':function(_0x365095,_0x5d47d4){return _0x365095&&_0x5d47d4;},'aBpOK':_0x19db24(0x151),'fpMYH':_0x19db24(0x132),'iOHTV':function(_0x183257,_0x373d3a){return _0x183257===_0x373d3a;},'LPsVe':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','tERzd':function(_0x24c8c7,_0x2af22b){return _0x24c8c7+_0x2af22b;},'xULYB':function(_0x40617d,_0x4382e){return _0x40617d+_0x4382e;},'SdLxV':function(_0x5e407d,_0x5c5938){return _0x5e407d+_0x5c5938;},'DJBxT':_0x19db24(0x13e),'JyvDo':function(_0x40fa52,_0x5efc31){return _0x40fa52===_0x5efc31;},'TRSIZ':_0x19db24(0x14b),'rRFwj':_0x19db24(0x152),'muYye':_0x19db24(0xf8),'KXWwU':_0x19db24(0x162),'GyEgT':_0x19db24(0xf1),'tmtJQ':function(_0x5e9f5d,_0x1c6075){return _0x5e9f5d===_0x1c6075;},'GtwSh':_0x19db24(0x124),'yaJNh':function(_0x48cb42,_0x4966e6){return _0x48cb42===_0x4966e6;},'AnquJ':_0x19db24(0x130),'gzSqT':_0x19db24(0x128),'nBICV':'capability','IhQrd':'browserstack.local','XLsSM':'bstack:options','BZoSX':_0x19db24(0x123)},_0x3eafde=_0x4ce113[_0x19db24(0x101)]||(helper['nestedKeyValue'](_0xcd1637,[_0x5907bd['nBICV'],_0x5907bd['IhQrd']])||helper[_0x19db24(0x113)](_0xcd1637,[_0x5907bd[_0x19db24(0xfb)],_0x5907bd[_0x19db24(0x114)],_0x5907bd[_0x19db24(0x146)]]));if(!globals['getGlobal'](_0x5907bd[_0x19db24(0x14e)])&&!globals[_0x19db24(0x13f)](_0x5907bd[_0x19db24(0x14a)])&&_0x3eafde)return;_0x4ce113[_0x19db24(0x101)]=!![],_0x4ce113[_0x19db24(0x160)]=_0x4ce113[_0x19db24(0x116)],_0x4ce113['execute']=async _0x444ac8=>{const _0xe4fc1=_0x19db24,_0x3f39d5={'IPHzs':_0x5907bd[_0xe4fc1(0x14e)],'DUVlM':_0x5907bd[_0xe4fc1(0xfa)],'lPuRz':function(_0x30dee2){const _0x570e23=_0xe4fc1;return _0x5907bd[_0x570e23(0x163)](_0x30dee2);}};try{const _0xeec4a8={};_0xeec4a8[_0xe4fc1(0x148)]=_0x444ac8['name_'],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0xe4fc1(0x15e)],async()=>{const _0x5b8870=_0xe4fc1,_0x39f18e={};_0x39f18e[_0x5b8870(0x13b)]=_0x3f39d5['IPHzs'];const _0x18db00=_0x39f18e;if(!commandRepository[_0x5b8870(0x11e)]()&&globals['getGlobal'](_0x3f39d5[_0x5b8870(0x10a)])){const _0x4904cf=PerformanceTester[_0x5b8870(0x111)](_0x3f39d5[_0x5b8870(0x104)],async()=>{const _0x4ff6b1=_0x5b8870;try{commandRepository[_0x4ff6b1(0x10b)](!![]),await aiSdkWrapper['setTcgToken']((await _0x4ce113[_0x4ff6b1(0x142)]())[_0x4ff6b1(0x12d)]());const _0x1dbf40=globals['getGlobal'](_0x18db00[_0x4ff6b1(0x13b)]);_0x1dbf40&&commandRepository[_0x4ff6b1(0x154)]((await _0x4ce113[_0x4ff6b1(0x142)]())[_0x4ff6b1(0x12d)]());}catch(_0x5aca5f){logger[_0x4ff6b1(0x129)](_0x4ff6b1(0xf2)+_0x5aca5f);}});await _0x3f39d5['lPuRz'](_0x4904cf);}},_0xeec4a8)();const _0x272c07=await _0x4ce113[_0xe4fc1(0x160)](_0x444ac8);try{if(_0x5907bd[_0xe4fc1(0x115)](_0x444ac8[_0xe4fc1(0x12b)],_0x5907bd[_0xe4fc1(0x131)])||_0x5907bd[_0xe4fc1(0x145)](_0x444ac8[_0xe4fc1(0x12b)],_0x5907bd[_0xe4fc1(0x147)])){const _0x3924ae=_0x444ac8['parameters_']&&_0x444ac8[_0xe4fc1(0x152)][_0xe4fc1(0x10c)],_0x350b23=_0x444ac8[_0xe4fc1(0x152)]&&_0x444ac8[_0xe4fc1(0x152)][_0xe4fc1(0xf6)],_0x3c9759=_0x350b23&&util['format']('%j',_0x350b23);if(_0x3924ae&&_0x5907bd[_0xe4fc1(0x139)](typeof _0x3924ae,_0x5907bd[_0xe4fc1(0x108)])){const _0x50ebe6=constants[_0xe4fc1(0xef)][_0xe4fc1(0xf0)](_0xedf0d3=>_0x3924ae[_0xe4fc1(0x127)](_0xedf0d3)||_0x3c9759&&_0x3c9759[_0xe4fc1(0x127)](_0xedf0d3));if(_0x50ebe6){const _0x21e5f5={};_0x21e5f5['command']=_0x50ebe6,_0x21e5f5[_0xe4fc1(0x102)]=_0x350b23;const _0x32d2b0={};_0x32d2b0['body']=_0x272c07;const _0x48d3f6={};_0x48d3f6['request']=_0x21e5f5,_0x48d3f6[_0xe4fc1(0x13d)]=_0x32d2b0,automationLogger[_0xe4fc1(0x12f)]('['+new Date()['toISOString']()+_0xe4fc1(0x103)+util[_0xe4fc1(0x140)]('%j',_0x48d3f6));}}}}catch(_0x14a868){logger[_0xe4fc1(0x12f)](_0xe4fc1(0xeb)+_0x14a868[_0xe4fc1(0x167)]);}return await PerformanceTester[_0xe4fc1(0x111)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x4cdbe2=_0xe4fc1;if(!helper['isBrowserstackInfra']()&&(commandRepository['isSelfHealEnabled']()||globals['getGlobal'](_0x5907bd[_0x4cdbe2(0x107)]))&&_0x5907bd[_0x4cdbe2(0x139)](_0x444ac8[_0x4cdbe2(0x12b)],_0x5907bd[_0x4cdbe2(0x122)])&&!_0x444ac8['skipHealingSuccess']&&globals[_0x4cdbe2(0x13f)](_0x5907bd[_0x4cdbe2(0x14e)])&&globals[_0x4cdbe2(0x13f)](_0x5907bd[_0x4cdbe2(0x14a)])){const _0x1946c3=new Date(),_0x4a28d6=PerformanceTester[_0x4cdbe2(0x111)](_0x5907bd[_0x4cdbe2(0x15b)],async()=>{const _0x121201=_0x4cdbe2;return await aiSdkWrapper[_0x121201(0x165)](_0xcd1637,_0x4ce113,_0x444ac8);});await _0x5907bd['vTZII'](_0x4a28d6);}},{'command':_0x444ac8[_0xe4fc1(0x12b)]})(),_0x272c07;}catch(_0x459922){await PerformanceTester[_0xe4fc1(0x111)](PerformanceDriverEvents[_0xe4fc1(0x166)],async()=>{const _0x2091f5=_0xe4fc1;logger['debug'](_0x5907bd['byRKp']);try{if(!helper['isBrowserstackInfra']()&&(_0x5907bd['rgjiP'](_0x459922[_0x2091f5(0x168)],_0x5907bd[_0x2091f5(0x119)])||_0x5907bd[_0x2091f5(0x136)](_0x459922[_0x2091f5(0x168)],_0x5907bd[_0x2091f5(0x11a)]))&&_0x5907bd[_0x2091f5(0x139)](_0x444ac8[_0x2091f5(0x12b)],_0x5907bd[_0x2091f5(0x122)])&&commandRepository[_0x2091f5(0x161)]()&&globals[_0x2091f5(0x13f)](_0x5907bd[_0x2091f5(0x14e)])&&globals[_0x2091f5(0x13f)](_0x5907bd[_0x2091f5(0x14a)])){_0x5907bd['hYApk'](_0x444ac8[_0x2091f5(0x152)][_0x2091f5(0x133)],_0x5907bd[_0x2091f5(0x121)])?logger[_0x2091f5(0x12c)](_0x5907bd[_0x2091f5(0x10e)](_0x5907bd[_0x2091f5(0x10e)](_0x5907bd['ntMnm'],_0x444ac8[_0x2091f5(0x152)][_0x2091f5(0x150)]),_0x5907bd[_0x2091f5(0x120)])):logger[_0x2091f5(0x12c)](_0x5907bd[_0x2091f5(0x10f)](_0x5907bd[_0x2091f5(0x15f)](_0x5907bd[_0x2091f5(0x11c)](_0x5907bd[_0x2091f5(0x11b)](_0x5907bd['kaMxd'],_0x444ac8[_0x2091f5(0x152)]['using']),':\x20'),_0x444ac8[_0x2091f5(0x152)][_0x2091f5(0x150)]),_0x5907bd[_0x2091f5(0x120)]));const _0x48bb46=PerformanceTester['measureWrapper'](_0x5907bd['NswJg'],async()=>{const _0x4899f1=_0x2091f5;return await aiSdkWrapper[_0x4899f1(0x15d)](_0xcd1637,_0x4ce113,_0x444ac8);}),_0x5a9055=new Date(),{locatorType:_0x3ea67f,locatorValue:_0x3f8252,commandHealed:_0x39f7ec}=await _0x5907bd[_0x2091f5(0x163)](_0x48bb46);if(_0x5907bd[_0x2091f5(0x153)](_0x3ea67f,_0x3f8252)){_0x444ac8[_0x2091f5(0x152)][_0x2091f5(0x133)]=_0x3ea67f,_0x444ac8[_0x2091f5(0x152)][_0x2091f5(0x150)]=_0x3f8252,_0x444ac8[_0x2091f5(0x14f)]=!![];const _0x597746=_0x4ce113[_0x2091f5(0x116)](_0x444ac8);return _0x5907bd[_0x2091f5(0x139)](_0x3ea67f,_0x5907bd[_0x2091f5(0x121)])?logger[_0x2091f5(0x12c)](_0x5907bd['NbLwO'](_0x5907bd[_0x2091f5(0xfd)],_0x3f8252)):logger[_0x2091f5(0x12c)](_0x5907bd[_0x2091f5(0x15f)](_0x5907bd['mVbFv'](_0x5907bd[_0x2091f5(0x11b)](_0x5907bd[_0x2091f5(0x164)],_0x3ea67f),':\x20'),_0x3f8252)),_0x597746;}else!_0x39f7ec&&(_0x5907bd[_0x2091f5(0x149)](_0x3ea67f,_0x5907bd[_0x2091f5(0x121)])?logger['info'](_0x5907bd[_0x2091f5(0x11c)](_0x5907bd[_0x2091f5(0xf9)],_0x444ac8['parameters_'][_0x2091f5(0x150)])):logger['info'](_0x5907bd[_0x2091f5(0xfe)](_0x5907bd['xULYB'](_0x5907bd['SdLxV'](_0x5907bd[_0x2091f5(0x112)],_0x444ac8['parameters_']['using']),':\x20'),_0x444ac8['parameters_'][_0x2091f5(0x150)])));}!_0x3eafde&&_0x5907bd[_0x2091f5(0x12e)](_0x444ac8[_0x2091f5(0x12b)],_0x5907bd[_0x2091f5(0x12a)])&&helper[_0x2091f5(0x113)](_0x444ac8,[_0x5907bd['rRFwj'],_0x5907bd[_0x2091f5(0x11d)]])&&!!constants[_0x2091f5(0x118)][_0x2091f5(0xf0)](_0x1e5d99=>{const _0x5d1499=_0x2091f5;return _0x459922[_0x5d1499(0x14c)]()['includes'](_0x1e5d99);})&&helper['getNudgeLocalNotSetError'](_0x444ac8[_0x2091f5(0x152)]['url'],!![]);}catch(_0x6b25d){logger[_0x2091f5(0x14d)](_0x5907bd[_0x2091f5(0x157)],_0x6b25d);}},{'success':![],'failure':_0x459922})();throw _0x459922;}};};function a139_0x57a5(){const _0x47edfa=['fTumK','setAiSessionTimeStamp','css\x20selector','findElement','KXWwU','util','13JFtbEd','aiHeal_isHealingEnabled','dshyv','aiHeal_isAuthenticated','handleFailure','PRE_EXECUTE','LYhiD','initExecute','isSelfHealEnabled','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','wZkds','fpMYH','handleSuccess','POST_EXECUTE','message','name','57953TyIrUt','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','19554sYxSgQ','./ai-sdk/autoHealHelper','./ai-sdk/aiSdkWrapper','AUTOMATION_LOG_COMMANDS','find','aiHeal:setToken','Error\x20in\x20handling\x20TCG\x20Auth:\x20','173331XoHNtT','2266922JbKQNT','findElement\x20command\x20failed\x20with\x20cssPath:\x20','args','aiHeal:findElementSuccess','url','LPsVe','GyEgT','nBICV','10BExVPb','aBpOK','tERzd','NoSuchElementError','../bin/utils/constants','patchExecute','parameters','][\x20SDK-AUTOMATION\x20]\x20','DUVlM',';\x20Trying\x20to\x20heal','./performance/constants','uoPXx','gzSqT','JavascriptError','IPHzs','setTcgTokenStatus','script','./globals','BzPWB','NbLwO','./performance/performance-tester','measureWrapper','DJBxT','nestedKeyValue','XLsSM','tmtJQ','execute','195xRNnFf','NUDGE_LOCAL_ERRORS','LhJea','dMnpJ','mVbFv','IBCHA','muYye','getTcgTokenStatus','8XSMbQY','fEjau','dBJoM','GRxbC','local','executeAsyncScript','220bjmwDx','4fcfSon','includes','string','error','TRSIZ','name_','info','getId','JyvDo','silly','executeScript','GtwSh','Successfully\x20healed\x20command\x20using\x20new\x20','using','7OgXdUW','44400pXCIlm','hYApk','./helper','findElement\x20command\x20failed\x20with\x20','rgjiP','21354hpKYXq','ojRan','./logger','response','Healing\x20failed\x20for\x20command\x20using\x20','getGlobal','format','overrideExecute','getSession','2335192fzDUtJ','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','yaJNh','BZoSX','AnquJ','command','iOHTV','ScGvf','get','toString','debug','pNtDX','skipHealingSuccess','value','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','parameters_'];a139_0x57a5=function(){return _0x47edfa;};return a139_0x57a5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a140_0x2d8e(_0x1ea43c,_0xcb7684){const _0x501792=a140_0x5017();return a140_0x2d8e=function(_0x2d8e1d,_0x1dd887){_0x2d8e1d=_0x2d8e1d-0x7c;let _0x1cf1b7=_0x501792[_0x2d8e1d];return _0x1cf1b7;},a140_0x2d8e(_0x1ea43c,_0xcb7684);}const a140_0x36947c=a140_0x2d8e;(function(_0x2d9bb1,_0xfc91f9){const _0x5b9f00=a140_0x2d8e,_0x4a1952=_0x2d9bb1();while(!![]){try{const _0x361f9b=parseInt(_0x5b9f00(0x9a))/0x1+parseInt(_0x5b9f00(0x98))/0x2*(parseInt(_0x5b9f00(0xa6))/0x3)+parseInt(_0x5b9f00(0x9e))/0x4*(parseInt(_0x5b9f00(0x88))/0x5)+parseInt(_0x5b9f00(0xa5))/0x6+parseInt(_0x5b9f00(0x8c))/0x7*(-parseInt(_0x5b9f00(0x7c))/0x8)+parseInt(_0x5b9f00(0xa2))/0x9+-parseInt(_0x5b9f00(0x9c))/0xa*(parseInt(_0x5b9f00(0x8e))/0xb);if(_0x361f9b===_0xfc91f9)break;else _0x4a1952['push'](_0x4a1952['shift']());}catch(_0x35d95f){_0x4a1952['push'](_0x4a1952['shift']());}}}(a140_0x5017,0xa4ec8));function a140_0x5017(){const _0x3b515b=['start','fFLsn','env','then','FgEHo','cCASn','./performance/performance-tester','225TJMGHC','pid','./performance/constants','XsDIk','104069nTmJBF','patchQuit','11DxFUHz','takeScreenshot','overrideQuit','jQLSy','BS_TESTOPS_ALLOW_SCREENSHOTS','quitCount_','patchScreenshot','tTbxF','bajUv','bs:addLog:','2QHZNwN','overrideTakeScreenshot','423217kceFbG','DyrgY','14721380wIPlKa','true','36220fJmiGh','initQuit','dfABk','catch','4510179rGIhzW','TEST_SCREENSHOT','end','617088YKnCIe','2852601sSQUbr','TAKE_SCREENSHOT','128PsojpW','fUoon','emit','initScreenshot','quit'];a140_0x5017=function(){return _0x3b515b;};return a140_0x5017();}const PerformanceTester=require(a140_0x36947c(0x87)),O11yEvents=require(a140_0x36947c(0x8a))['O11y_EVENTS'];exports[a140_0x36947c(0x99)]=_0x43889f=>{const _0x8ac280=a140_0x36947c,_0x2325ba={'fUoon':function(_0x487c49,_0x1ad485){return _0x487c49(_0x1ad485);},'fFLsn':_0x8ac280(0xa3),'jQLSy':function(_0x2fe784,_0x1197b5){return _0x2fe784(_0x1197b5);},'XsDIk':function(_0x1efbc9,_0x5794e8){return _0x1efbc9!==_0x5794e8;},'FgEHo':_0x8ac280(0x9d)};if(_0x2325ba[_0x8ac280(0x8b)](process[_0x8ac280(0x83)][_0x8ac280(0x92)],_0x2325ba[_0x8ac280(0x85)]))return;if(_0x43889f[_0x8ac280(0x94)])return;_0x43889f[_0x8ac280(0x94)]=!![],_0x43889f['initScreenshot']=_0x43889f[_0x8ac280(0x8f)],_0x43889f['takeScreenshot']=()=>{const _0x4467f0=_0x8ac280,_0x1f0a6b={'DyrgY':function(_0x2d26c4,_0xcdb899){const _0x46e816=a140_0x2d8e;return _0x2325ba[_0x46e816(0x7d)](_0x2d26c4,_0xcdb899);},'bajUv':_0x2325ba[_0x4467f0(0x82)],'WWjjr':function(_0x630a18,_0x5e8344){const _0x316e=_0x4467f0;return _0x2325ba[_0x316e(0x91)](_0x630a18,_0x5e8344);}};return new Promise(function(_0x17ff57,_0x39ad34){const _0x53ed9f=_0x4467f0,_0x2b4794={'tTbxF':_0x1f0a6b[_0x53ed9f(0x96)],'cCASn':function(_0x2be66b,_0x4ddfe5){return _0x1f0a6b['WWjjr'](_0x2be66b,_0x4ddfe5);}};_0x43889f[_0x53ed9f(0x7f)]()[_0x53ed9f(0x84)](_0x1cae2b=>{const _0x34c04c=_0x53ed9f;PerformanceTester[_0x34c04c(0x81)](O11yEvents[_0x34c04c(0xa7)]),process[_0x34c04c(0x7e)](_0x34c04c(0x97)+process[_0x34c04c(0x89)],{'timestamp':new Date()['toISOString'](),'message':_0x1cae2b,'kind':_0x2b4794[_0x34c04c(0x95)]}),_0x2b4794[_0x34c04c(0x86)](_0x17ff57,_0x1cae2b),PerformanceTester[_0x34c04c(0xa4)](O11yEvents[_0x34c04c(0xa7)]);})[_0x53ed9f(0xa1)](_0x241114=>{const _0x16247d=_0x53ed9f;PerformanceTester['end'](O11yEvents[_0x16247d(0xa7)]),_0x1f0a6b[_0x16247d(0x9b)](_0x39ad34,_0x241114);});});};},exports[a140_0x36947c(0x90)]=(_0x39724b,_0x45ea00=null)=>{const _0x25ea20=a140_0x36947c,_0x4ccdcf={'KJCyX':function(_0x3101fe){return _0x3101fe();},'QhUWh':function(_0x1f85c0,_0x253af7){return _0x1f85c0>_0x253af7;},'dfABk':function(_0x1f6b8e,_0x22c7b4){return _0x1f6b8e>_0x22c7b4;}};if(_0x39724b[_0x25ea20(0x8d)])return;_0x39724b['patchQuit']=!![],_0x39724b[_0x25ea20(0x9f)]=_0x39724b[_0x25ea20(0x80)],_0x39724b['quit']=()=>{const _0x2865a2=_0x25ea20;if(_0x45ea00){_0x45ea00['quitCount_']+=0x1;if(_0x4ccdcf['QhUWh'](_0x45ea00[_0x2865a2(0x93)],0x1))return _0x39724b['initQuit']();}else{_0x39724b[_0x2865a2(0x93)]+=0x1;if(_0x4ccdcf[_0x2865a2(0xa0)](_0x39724b[_0x2865a2(0x93)],0x1))return _0x39724b[_0x2865a2(0x9f)]();}return new Promise(function(_0x1b26f0){_0x4ccdcf['KJCyX'](_0x1b26f0);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a141_0x2ea5b0=a141_0x4bdf;function a141_0x3947(){const _0x181b51=['HuIKL','isRunning','isProcessRunning','48FhTqtz','../../helpers/testhub/constants','push','WuFSF','ryrhm','./PercyBinary','nodeRequest','147102rKqIHa','percyOptions','WyJvP','percy/healthcheck','Error\x20creating\x20percy\x20config:\x20','Flvwb','18RMhBBr','token','percy.log','winstonLogger',':start','gDhzw','ARWiM','debug','api/app_percy/get_project_token?name=','path','end','app','1165689GoMdkH','LRTMB','error','exec','uKCas','DOWNLOAD','BROWSERSTACK_TESTHUB_UUID','1083772CSfJxS','henhj','automate','GmRbG','hwAtZ','percy.json','GET','Percy\x20fetch\x20token\x20success','env','assign','ENV_VAR','stop','PsljN','http://localhost:5338','healthcheck','&type=','version','361691uixAld','stderr','stringify','../logger','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','fetchPercyToken','qXmgj','208863GQykZW','child_process','writeFile','exec:stop','yErHl','482120mFoHhx','PERCY_SERVER_ADDRESS','5DEjudB','join','eTurV','10jrtjjM','getBinaryPath','7ncWhKm','createPercyConfig','Ylnnh','start','3016044xnfblt'];a141_0x3947=function(){return _0x181b51;};return a141_0x3947();}function a141_0x4bdf(_0x2de6e3,_0x568ffa){const _0x3947d9=a141_0x3947();return a141_0x4bdf=function(_0x4bdf94,_0x29b6a8){_0x4bdf94=_0x4bdf94-0xfb;let _0x48d67c=_0x3947d9[_0x4bdf94];return _0x48d67c;},a141_0x4bdf(_0x2de6e3,_0x568ffa);}(function(_0x450f72,_0x448aec){const _0x202411=a141_0x4bdf,_0x2c1202=_0x450f72();while(!![]){try{const _0x1457ab=-parseInt(_0x202411(0x119))/0x1+parseInt(_0x202411(0x11f))/0x2*(-parseInt(_0x202411(0xfe))/0x3)+-parseInt(_0x202411(0x132))/0x4*(-parseInt(_0x202411(0x105))/0x5)+parseInt(_0x202411(0x10e))/0x6+-parseInt(_0x202411(0x10a))/0x7*(-parseInt(_0x202411(0x103))/0x8)+-parseInt(_0x202411(0x12b))/0x9*(-parseInt(_0x202411(0x108))/0xa)+parseInt(_0x202411(0x143))/0xb*(parseInt(_0x202411(0x112))/0xc);if(_0x1457ab===_0x448aec)break;else _0x2c1202['push'](_0x2c1202['shift']());}catch(_0x45363a){_0x2c1202['push'](_0x2c1202['shift']());}}}(a141_0x3947,0x4e6d4));const fs=require('fs'),path=require(a141_0x2ea5b0(0x128)),os=require('os'),{spawn}=require(a141_0x2ea5b0(0xff)),helper=require('../helper'),logger=require('../logger')[a141_0x2ea5b0(0x122)],{getLogDir}=require(a141_0x2ea5b0(0x146)),testHubConstants=require(a141_0x2ea5b0(0x113)),PerformanceTester=require('../../helpers/performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),PercyBinary=require(a141_0x2ea5b0(0x117));class Percy{#logfile=path['join'](getLogDir(),a141_0x2ea5b0(0x121));#address=process[a141_0x2ea5b0(0x13a)][a141_0x2ea5b0(0x104)]||a141_0x2ea5b0(0x13f);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a141_0x2ea5b0(0x111)]=![];constructor(_0x44504d){const _0x54e567=a141_0x2ea5b0;this.#config=_0x44504d,!!_0x44504d[_0x54e567(0x12a)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0xbf330a=a141_0x2ea5b0;if(!this.#binaryPath){const _0x6d201e=new PercyBinary();PerformanceTester['start'](PerformanceEvents[_0xbf330a(0x130)]),this.#binaryPath=await _0x6d201e[_0xbf330a(0x109)](this.#config),PerformanceTester[_0xbf330a(0x129)](PerformanceEvents[_0xbf330a(0x130)]);}return this.#binaryPath;}async #sleep(_0x4e9d5d){return new Promise(_0x364cf2=>setTimeout(_0x364cf2,_0x4e9d5d));}async[a141_0x2ea5b0(0x140)](){const _0x396cf2=a141_0x2ea5b0,_0x2d293c={};_0x2d293c[_0x396cf2(0x135)]=_0x396cf2(0x138),_0x2d293c[_0x396cf2(0x10c)]=_0x396cf2(0x11c);const _0x54343a=_0x2d293c;try{const _0xd2f05f=await helper['nodeRequest'](_0x54343a['GmRbG'],_0x54343a['Ylnnh'],null,null,this.#address);if(_0xd2f05f)return!![];}catch(_0x1bdb4a){return![];}}async[a141_0x2ea5b0(0x10d)](){const _0x5197aa=a141_0x2ea5b0,_0x538a8d={'gDhzw':'app:exec','vmqKC':_0x5197aa(0x12e),'yErHl':function(_0x13de08,_0x546763,_0x1780fc,_0x4e2bca){return _0x13de08(_0x546763,_0x1780fc,_0x4e2bca);},'qXmgj':'close','HuIKL':'Percy\x20healthcheck\x20successful'},_0x465430=await this.#getBinaryPath(),_0x213c40={};_0x213c40['flags']='a',this.#logStream=fs['createWriteStream'](this.#logfile,_0x213c40);const _0x2ba390=await this[_0x5197aa(0xfc)](),_0x365c2c=await this[_0x5197aa(0x10b)]();if(!_0x2ba390)return![];const _0x373fd4=[(this.#isApp?_0x538a8d[_0x5197aa(0x124)]:_0x538a8d['vmqKC'])+_0x5197aa(0x123)];_0x365c2c&&_0x373fd4[_0x5197aa(0x114)]('-c',_0x365c2c);this.#proc=_0x538a8d[_0x5197aa(0x102)](spawn,_0x465430,_0x373fd4,{'env':Object[_0x5197aa(0x13b)](process[_0x5197aa(0x13a)],{'PERCY_TOKEN':_0x2ba390,'TH_BUILD_UUID':process[_0x5197aa(0x13a)][testHubConstants[_0x5197aa(0x13c)][_0x5197aa(0x131)]]})}),this.#proc['stdout']['pipe'](this.#logStream),this.#proc[_0x5197aa(0x144)]['pipe'](this.#logStream),this[_0x5197aa(0x111)]=!![];var _0x2d559d=this;this.#proc['on'](_0x538a8d[_0x5197aa(0xfd)],function(_0x7e4a96){const _0x55d25e=_0x5197aa;_0x2d559d[_0x55d25e(0x111)]=![];});do{const _0x31f87d=await this[_0x5197aa(0x140)]();if(_0x31f87d)return logger['debug'](_0x538a8d[_0x5197aa(0x10f)]),!![];await this.#sleep(0x3e8);}while(this[_0x5197aa(0x111)]);return![];}async[a141_0x2ea5b0(0x13d)](){const _0x104df5=a141_0x2ea5b0,_0x456b8c={'hwAtZ':function(_0x3c6d75,_0x338b17){return _0x3c6d75(_0x338b17);},'eTurV':function(_0x27fb68,_0x1ba8a0,_0x5da4fb){return _0x27fb68(_0x1ba8a0,_0x5da4fb);},'LRTMB':_0x104df5(0x101),'WuFSF':'close'},_0x2ed057=await this.#getBinaryPath();return new Promise((_0x5363f2,_0x3c7155)=>{const _0x3f31ce=_0x104df5,_0x3cc709=_0x456b8c[_0x3f31ce(0x107)](spawn,_0x2ed057,[_0x456b8c[_0x3f31ce(0x12c)]]);_0x3cc709['on'](_0x456b8c[_0x3f31ce(0x115)],_0x6bf6d9=>{const _0x30eb2e=_0x3f31ce;this['isProcessRunning']=![],this.#logStream&&(this.#logStream[_0x30eb2e(0x129)](),this.#logStream=null),_0x456b8c[_0x30eb2e(0x136)](_0x5363f2,_0x6bf6d9);});});}[a141_0x2ea5b0(0x110)](){const _0x112a9b=a141_0x2ea5b0;return this[_0x112a9b(0x111)];}async[a141_0x2ea5b0(0xfc)](){const _0x390c7d=a141_0x2ea5b0,_0x4b6010={};_0x4b6010[_0x390c7d(0x13e)]=_0x390c7d(0x12a),_0x4b6010['uKCas']=_0x390c7d(0x134),_0x4b6010[_0x390c7d(0x125)]=_0x390c7d(0x138),_0x4b6010[_0x390c7d(0x11e)]=_0x390c7d(0x139);const _0x48b276=_0x4b6010,_0x1aeacf=this.#config['projectName'];try{const _0x517987=this.#isApp?_0x48b276['PsljN']:_0x48b276[_0x390c7d(0x12f)],_0x5d41a=await helper[_0x390c7d(0x118)](_0x48b276['ARWiM'],_0x390c7d(0x127)+_0x1aeacf+_0x390c7d(0x141)+_0x517987,{},this.#config),_0x5ad4ad=_0x5d41a['data'];return logger[_0x390c7d(0x126)](_0x48b276[_0x390c7d(0x11e)]),_0x5ad4ad[_0x390c7d(0x120)];}catch(_0x4fbd00){return logger[_0x390c7d(0x12d)](_0x390c7d(0xfb)+_0x4fbd00),null;}}async[a141_0x2ea5b0(0x10b)](){const _0xf147c9=a141_0x2ea5b0,_0x222cc5={'ryrhm':function(_0x1c27bb,_0x3ad512){return _0x1c27bb(_0x3ad512);},'HboWq':function(_0x12df75,_0x4ed56e){return _0x12df75+_0x4ed56e;},'WyJvP':'Percy\x20config\x20created\x20at\x20','henhj':_0xf147c9(0x137)};if(!this.#config[_0xf147c9(0x11a)])return null;const _0x3ba683=path[_0xf147c9(0x106)](os['tmpdir'](),_0x222cc5[_0xf147c9(0x133)]),_0x6a5506=this.#config[_0xf147c9(0x11a)];return!_0x6a5506['version']&&(_0x6a5506[_0xf147c9(0x142)]='2'),new Promise((_0x10b494,_0xea6b87)=>{const _0x5cbd54=_0xf147c9;fs[_0x5cbd54(0x100)](_0x3ba683,JSON[_0x5cbd54(0x145)](_0x6a5506),_0x4d654d=>{const _0x2223f6=_0x5cbd54;_0x4d654d&&(logger[_0x2223f6(0x12d)](_0x2223f6(0x11d)+_0x4d654d),_0x222cc5[_0x2223f6(0x116)](_0x10b494,null)),logger[_0x2223f6(0x126)](_0x222cc5['HboWq'](_0x222cc5[_0x2223f6(0x11b)],_0x3ba683)),_0x222cc5[_0x2223f6(0x116)](_0x10b494,_0x3ba683);});});}}module['exports']=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a127_0x4d59(_0x1ba6f2,_0x20e5a0){const _0x336cd5=a127_0x336c();return a127_0x4d59=function(_0x4d590d,_0x31c8f9){_0x4d590d=_0x4d590d-0x12c;let _0x23483a=_0x336cd5[_0x4d590d];return _0x23483a;},a127_0x4d59(_0x1ba6f2,_0x20e5a0);}const a127_0x1fe38e=a127_0x4d59;(function(_0x3a1a9c,_0x387539){const _0x29774c=a127_0x4d59,_0x3f2dcf=_0x3a1a9c();while(!![]){try{const _0x3dd04e=-parseInt(_0x29774c(0x1a7))/0x1*(-parseInt(_0x29774c(0x16b))/0x2)+-parseInt(_0x29774c(0x163))/0x3+-parseInt(_0x29774c(0x18b))/0x4+-parseInt(_0x29774c(0x1ab))/0x5*(-parseInt(_0x29774c(0x134))/0x6)+-parseInt(_0x29774c(0x14f))/0x7*(parseInt(_0x29774c(0x140))/0x8)+-parseInt(_0x29774c(0x1ba))/0x9+-parseInt(_0x29774c(0x137))/0xa*(-parseInt(_0x29774c(0x170))/0xb);if(_0x3dd04e===_0x387539)break;else _0x3f2dcf['push'](_0x3f2dcf['shift']());}catch(_0x16436d){_0x3f2dcf['push'](_0x3f2dcf['shift']());}}}(a127_0x336c,0xcfacb));function a127_0x336c(){const _0x4e4f54=['LNAME','jVVVq','match','QiwST','ygcCE','pipe','platform','106168WWSUCW','YUmGE','extractAndSaveBinary','CQubd','VuCVG','readEntry','Saved\x20new\x20ETag\x20for\x20percy\x20binary','NRvYM','nXqNC','0755','statSync','then','jGhHg','pnYba','../logger','665SjCNMU','https-proxy-agent','CTqPG','lazyEntries','writeFileSync','warn','hmRem','pfaJN','/percy-osx.zip','/Users/','zBxiz','host','uIHiP','WAzVq','close','accessSync','USERPROFILE','HOMEPATH','HOME','percy.exe','2351865QAgfim','test','fjmlB','/percy-win.zip','dgOCw','bRHzI','entry','data','3526MeIlmB','linux','.browserstack','getBinaryPath','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','3421JpOKvQ','darwin','readFileSync','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','--version','env','zFMvH','binaryPath','statusCode','UAdQi','jFRut','url','createWriteStream','gMwCg','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','SPCnn','function','fUXSh','yauzl','tmpdir','getuid','download','utf8','fileName','mkdirSync','DKUrQ','R_OK','1652956aVPnkE','bYxHI','headers','join','error','TqtQB','hwGLm','child_process','validateBinary','useCaCertificate','qebGG','length','fRGUt','destroy','https://github.com/percy/cli/releases/latest/download','mMvqT','QRXcU','/root','EYlvz','percy','.etag','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','trim','.zip','OiUdc','LOGNAME','lLxCd','EGhHy','357bBaYFc','KGHNi','dRbuf','exports','15515KsexbR','proxyHost','OAgjz','HOMEDRIVE','win32','gVtug','rQozp','JvYOI','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','chmod','stdout','end','UOGqW','/percy-linux.zip','follow-redirects','12516723TaGDSh','VUbzo','agent','openReadStream','proxyPort','debug','ItWRY','X_OK','parse','XVMZS','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','If-None-Match','once','EVsno','hpzUh','Failed\x20to\x20read\x20ETag\x20file:\x20','needsUpdate','Connection','xYcSH','642qOKqVj','PeQSI','open','120190oVZtwy','qLkpT'];a127_0x336c=function(){return _0x4e4f54;};return a127_0x336c();}const {https}=require(a127_0x1fe38e(0x1b9)),url=require(a127_0x1fe38e(0x17b)),yauzl=require(a127_0x1fe38e(0x182)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a127_0x1fe38e(0x192)),HttpsProxyAgent=require(a127_0x1fe38e(0x150)),logger=require(a127_0x1fe38e(0x14e))['winstonLogger'];class PercyBinary{#hostOS=process[a127_0x1fe38e(0x13f)];#httpPath=null;#binaryName=a127_0x1fe38e(0x19e);#orderedPaths=[path[a127_0x1fe38e(0x18e)](this.#homedir(),a127_0x1fe38e(0x16d)),process['cwd'](),os[a127_0x1fe38e(0x183)]()];constructor(){const _0x34b261=a127_0x1fe38e,_0x4b9f78={};_0x4b9f78['qebGG']=_0x34b261(0x199),_0x4b9f78['hpzUh']=function(_0x28c5a5,_0x26e4ff){return _0x28c5a5+_0x26e4ff;},_0x4b9f78[_0x34b261(0x13d)]=_0x34b261(0x157),_0x4b9f78['sgzVj']=_0x34b261(0x166),_0x4b9f78[_0x34b261(0x13c)]=_0x34b261(0x162),_0x4b9f78[_0x34b261(0x1a9)]=_0x34b261(0x1b8);const _0x112357=_0x4b9f78,_0x31d236=_0x112357[_0x34b261(0x195)];if(this.#hostOS[_0x34b261(0x13b)](/darwin|mac os/i))this.#httpPath=_0x112357[_0x34b261(0x12f)](_0x31d236,_0x112357[_0x34b261(0x13d)]);else this.#hostOS[_0x34b261(0x13b)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x112357[_0x34b261(0x12f)](_0x31d236,_0x112357['sgzVj']),this.#binaryName=_0x112357[_0x34b261(0x13c)]):this.#httpPath=_0x112357[_0x34b261(0x12f)](_0x31d236,_0x112357[_0x34b261(0x1a9)]);}#getAvailableDirs(){const _0x41ca96=a127_0x1fe38e,_0x24d507={};_0x24d507[_0x41ca96(0x159)]=function(_0x27225f,_0x3992d6){return _0x27225f<_0x3992d6;},_0x24d507[_0x41ca96(0x1b2)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x95a5b8=_0x24d507;for(var _0x54d484=0x0;_0x95a5b8[_0x41ca96(0x159)](_0x54d484,this.#orderedPaths[_0x41ca96(0x196)]);_0x54d484++){var _0x597309=this.#orderedPaths[_0x54d484];if(this.#makePath(_0x597309))return _0x597309;}throw new Error(_0x95a5b8[_0x41ca96(0x1b2)]);}#makePath(_0x9ce188){const _0x1d9407=a127_0x1fe38e;try{return _0x9ce188&&!this.#checkPath(_0x9ce188)&&fs[_0x1d9407(0x188)](_0x9ce188),!![];}catch{return![];}}#checkPath(_0x164326,_0x45f8f6){const _0x1a8dd1=a127_0x1fe38e,_0x33bbc7={};_0x33bbc7['mMvqT']=function(_0x3b7e95,_0x1efa60){return _0x3b7e95|_0x1efa60;},_0x33bbc7[_0x1a8dd1(0x141)]=function(_0x5364fd,_0x557bf0){return _0x5364fd!==_0x557bf0;},_0x33bbc7['uIHiP']='undefined';const _0x547f12=_0x33bbc7;_0x45f8f6=_0x45f8f6||_0x547f12[_0x1a8dd1(0x19a)](fs[_0x1a8dd1(0x18a)],fs['W_OK']);try{return fs[_0x1a8dd1(0x15e)](_0x164326,_0x45f8f6),!![];}catch(_0x21b424){if(_0x547f12[_0x1a8dd1(0x141)](typeof fs['accessSync'],_0x547f12[_0x1a8dd1(0x15b)]))return![];try{return fs[_0x1a8dd1(0x14a)](_0x164326),!![];}catch(_0x31901a){return![];}}}#getETagPath(_0x4a393c){const _0x9ebdc3=a127_0x1fe38e;return path['join'](_0x4a393c,this.#binaryName+_0x9ebdc3(0x19f));}#loadETag(_0x22efe8){const _0xd8b9=a127_0x1fe38e,_0x1cee1c={};_0x1cee1c[_0xd8b9(0x144)]=_0xd8b9(0x186);const _0x3d107b=_0x1cee1c,_0xe5bc0b=this.#getETagPath(_0x22efe8);if(this.#checkPath(_0xe5bc0b))try{return fs[_0xd8b9(0x172)](_0xe5bc0b,_0x3d107b['VuCVG'])[_0xd8b9(0x1a1)]();}catch(_0x29f9ce){logger['warn'](_0xd8b9(0x130)+_0x29f9ce);}return null;}#saveETag(_0x533543,_0x2113ad){const _0x27cea0=a127_0x1fe38e,_0x3e5204={};_0x3e5204[_0x27cea0(0x1bb)]=_0x27cea0(0x146);const _0x4a62fb=_0x3e5204;if(!_0x2113ad)return;try{const _0x18cbb6=this.#getETagPath(_0x533543);fs[_0x27cea0(0x153)](_0x18cbb6,_0x2113ad),logger['debug'](_0x4a62fb[_0x27cea0(0x1bb)]);}catch(_0x3661cb){logger[_0x27cea0(0x154)]('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x3661cb);}}async #handleBinaryDownload(_0x14c2bf,_0x535be6,_0x177bfc){const _0x46908b=a127_0x1fe38e,_0x1b5d33={};_0x1b5d33[_0x46908b(0x19d)]=_0x46908b(0x173);const _0x1df702=_0x1b5d33,_0x4299c8=await this['validateBinary'](_0x14c2bf[_0x46908b(0x177)]);if(!_0x4299c8){logger[_0x46908b(0x18f)](_0x1df702['EYlvz']);const _0x18f829=await this[_0x46908b(0x185)](_0x535be6,_0x177bfc);return _0x18f829[_0x46908b(0x177)];}return _0x14c2bf[_0x46908b(0x177)];}async[a127_0x1fe38e(0x16e)](_0x275bce){const _0x511b9d=a127_0x1fe38e,_0xd9baa9={};_0xd9baa9['UAdQi']='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0xd9baa9[_0x511b9d(0x147)]=_0x511b9d(0x16f);const _0x418fd2=_0xd9baa9,_0x20de1d=this.#getAvailableDirs(),_0x3da887=path[_0x511b9d(0x18e)](_0x20de1d,this.#binaryName);if(this.#checkPath(_0x3da887,fs[_0x511b9d(0x1c1)])){const _0x5414da=this.#loadETag(_0x20de1d);if(_0x5414da)try{const _0x2db49f=await this['download'](_0x275bce,_0x20de1d,_0x5414da);if(!_0x2db49f['needsUpdate'])return logger[_0x511b9d(0x1bf)](_0x418fd2[_0x511b9d(0x179)]),_0x3da887;return logger['debug'](_0x418fd2[_0x511b9d(0x147)]),await this.#handleBinaryDownload(_0x2db49f,_0x275bce,_0x20de1d);}catch(_0x1a9831){return logger[_0x511b9d(0x154)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x1a9831),_0x3da887;}}const _0x455011=await this[_0x511b9d(0x185)](_0x275bce,_0x20de1d);return await this.#handleBinaryDownload(_0x455011,_0x275bce,_0x20de1d);}[a127_0x1fe38e(0x185)](_0x5a9bd1,_0x4a70f8,_0x35d619=null){const _0x32e1e7=a127_0x1fe38e,_0x120680={'gMwCg':function(_0x67d1e,_0x2f4a8e){return _0x67d1e(_0x2f4a8e);},'bRHzI':function(_0x8c69af,_0x5a3161){return _0x8c69af===_0x5a3161;},'EVsno':_0x32e1e7(0x18f),'jFRut':_0x32e1e7(0x15d),'rQozp':function(_0x3fa3da,_0x2c6bed){return _0x3fa3da(_0x2c6bed);},'KGHNi':function(_0x4a008d,_0x5c8a64){return _0x4a008d(_0x5c8a64);},'AYRRs':function(_0x4894a3,_0x2f1e8f){return _0x4894a3+_0x2f1e8f;},'WAzVq':_0x32e1e7(0x1a2)};_0x4a70f8&&!this.#checkPath(_0x4a70f8)&&fs[_0x32e1e7(0x188)](_0x4a70f8);const _0x233034=this.#binaryName,_0x42f319=path[_0x32e1e7(0x18e)](_0x4a70f8,_0x120680['AYRRs'](_0x233034,_0x120680[_0x32e1e7(0x15c)])),_0x796cef=fs[_0x32e1e7(0x17c)](_0x42f319),_0x55a006=url[_0x32e1e7(0x1c2)](this.#httpPath);if(_0x5a9bd1[_0x32e1e7(0x1ac)]&&_0x5a9bd1['proxyPort']){const _0x333b29={};_0x333b29[_0x32e1e7(0x15a)]=_0x5a9bd1[_0x32e1e7(0x1ac)],_0x333b29['port']=_0x5a9bd1[_0x32e1e7(0x1be)],_0x55a006[_0x32e1e7(0x1bc)]=new HttpsProxyAgent(_0x333b29);}if(_0x5a9bd1[_0x32e1e7(0x194)])try{_0x55a006['ca']=fs[_0x32e1e7(0x172)](_0x5a9bd1[_0x32e1e7(0x194)]);}catch(_0x50ef4c){logger[_0x32e1e7(0x18f)](_0x32e1e7(0x1a0)+_0x50ef4c);}if(_0x35d619){const _0x469771={};_0x469771[_0x32e1e7(0x12c)]=_0x35d619,_0x469771[_0x32e1e7(0x132)]=_0x120680[_0x32e1e7(0x17a)],_0x55a006[_0x32e1e7(0x18d)]=_0x469771;}else{const _0x2d1c1f={};_0x2d1c1f[_0x32e1e7(0x132)]=_0x120680[_0x32e1e7(0x17a)],_0x55a006[_0x32e1e7(0x18d)]=_0x2d1c1f;}return new Promise((_0x5813cd,_0x355c0b)=>{const _0x589074=_0x32e1e7,_0x225604={'qLkpT':function(_0x1f8760,_0x3f6451){const _0x420224=a127_0x4d59;return _0x120680[_0x420224(0x1a8)](_0x1f8760,_0x3f6451);}};https['get'](_0x55a006,_0x3b974b=>{const _0x505b51=a127_0x4d59,_0x2d3631={'QRXcU':function(_0x432525,_0x51d0fb){return _0x120680['gMwCg'](_0x432525,_0x51d0fb);}};if(_0x35d619&&_0x120680[_0x505b51(0x168)](_0x3b974b[_0x505b51(0x178)],0x130)){_0x796cef[_0x505b51(0x198)]();const _0x4b457={};_0x4b457[_0x505b51(0x131)]=![],_0x120680[_0x505b51(0x17d)](_0x5813cd,_0x4b457);return;}const _0x1d1908=_0x3b974b[_0x505b51(0x18d)]['etag'];_0x1d1908&&this.#saveETag(_0x4a70f8,_0x1d1908),_0x3b974b[_0x505b51(0x13e)](_0x796cef),_0x3b974b['on'](_0x120680[_0x505b51(0x12e)],function(_0x2eb377){const _0x5f3e12=_0x505b51;logger[_0x5f3e12(0x18f)](_0x5f3e12(0x1c4)+_0x2eb377),_0x2d3631[_0x5f3e12(0x19b)](_0x355c0b,_0x2eb377);}),_0x796cef['on'](_0x120680[_0x505b51(0x12e)],function(_0xfa1478){const _0x3fa99d=_0x505b51;logger[_0x3fa99d(0x18f)](_0x3fa99d(0x1b3)+_0xfa1478),_0x225604[_0x3fa99d(0x138)](_0x355c0b,_0xfa1478);}),_0x796cef['on'](_0x120680[_0x505b51(0x17a)],()=>{const _0x2abebf=_0x505b51;this['extractAndSaveBinary'](_0x42f319,_0x4a70f8)[_0x2abebf(0x14b)](_0x28222e=>_0x5813cd({'needsUpdate':!![],'binaryPath':_0x28222e}))['catch'](_0x355c0b);});})['on'](_0x120680[_0x589074(0x12e)],function(_0x3177da){const _0x2b2ccd=_0x589074;logger[_0x2b2ccd(0x18f)](_0x2b2ccd(0x17e)+_0x3177da),_0x120680[_0x2b2ccd(0x1b1)](_0x355c0b,_0x3177da);});});}[a127_0x1fe38e(0x142)](_0x6306a5,_0x260c2b){const _0x30f780=a127_0x1fe38e,_0x574f5b={'fUXSh':function(_0x4eff4b,_0x331a4e){return _0x4eff4b(_0x331a4e);},'fRGUt':_0x30f780(0x169),'fjmlB':_0x30f780(0x18f),'nXqNC':_0x30f780(0x1b6),'aiJOy':function(_0x4b42f2,_0x75d87d){return _0x4b42f2===_0x75d87d;},'KhtFa':function(_0x17aefa,_0x4e9067){return _0x17aefa(_0x4e9067);},'zFMvH':_0x30f780(0x149)},_0xe8705=this.#binaryName,_0x286ec8=path[_0x30f780(0x18e)](_0x260c2b,_0xe8705);return new Promise((_0x132d3b,_0xbdc1c1)=>{const _0x1fbea3=_0x30f780,_0x53e489={'CQubd':function(_0x8e6e39,_0x4f298e){const _0x952093=a127_0x4d59;return _0x574f5b[_0x952093(0x181)](_0x8e6e39,_0x4f298e);},'UOGqW':_0x574f5b['nXqNC'],'pfaJN':function(_0x4728cc,_0x345d1b){return _0x574f5b['aiJOy'](_0x4728cc,_0x345d1b);},'jVVVq':function(_0x4b664e,_0x438aee){return _0x574f5b['KhtFa'](_0x4b664e,_0x438aee);},'Tqxqx':_0x574f5b[_0x1fbea3(0x176)]},_0x356ac2={};_0x356ac2[_0x1fbea3(0x152)]=!![],yauzl[_0x1fbea3(0x136)](_0x6306a5,_0x356ac2,function(_0x2a73e2,_0x45d5e6){const _0x1e4337=_0x1fbea3;_0x2a73e2&&_0x574f5b[_0x1e4337(0x181)](_0xbdc1c1,_0x2a73e2),_0x45d5e6[_0x1e4337(0x145)](),_0x45d5e6['on'](_0x574f5b[_0x1e4337(0x197)],_0x4a12e1=>{const _0x173bc7=_0x1e4337,_0x226c23={'OAgjz':function(_0x2a8e74,_0xe389ce){return _0x53e489['CQubd'](_0x2a8e74,_0xe389ce);},'xYcSH':_0x53e489[_0x173bc7(0x1b7)]};if(/\/$/[_0x173bc7(0x164)](_0x4a12e1['fileName']))_0x45d5e6[_0x173bc7(0x145)]();else{const _0xc87f14=fs[_0x173bc7(0x17c)](path['join'](_0x260c2b,_0x4a12e1[_0x173bc7(0x187)]));_0x45d5e6[_0x173bc7(0x1bd)](_0x4a12e1,function(_0x24b0cb,_0x552e64){const _0x284af1=_0x173bc7;_0x24b0cb&&_0x226c23[_0x284af1(0x1ad)](_0xbdc1c1,_0x2a73e2),_0x552e64['on'](_0x226c23[_0x284af1(0x133)],function(){const _0x265bd4=_0x284af1;_0xc87f14[_0x265bd4(0x15d)](),_0x45d5e6[_0x265bd4(0x145)]();}),_0x552e64[_0x284af1(0x13e)](_0xc87f14);}),_0x53e489[_0x173bc7(0x156)](_0x4a12e1[_0x173bc7(0x187)],_0xe8705)&&_0x45d5e6[_0x173bc7(0x15d)]();}}),_0x45d5e6['on'](_0x574f5b[_0x1e4337(0x165)],_0x1a5820=>{const _0x4f38b1=_0x1e4337;_0x53e489[_0x4f38b1(0x13a)](_0xbdc1c1,_0x1a5820);}),_0x45d5e6[_0x1e4337(0x12d)](_0x574f5b[_0x1e4337(0x148)],()=>{const _0x12af54=_0x1e4337,_0x48e6c9={'ItWRY':function(_0xf1585a,_0x54e4e1){const _0xbaecaa=a127_0x4d59;return _0x53e489[_0xbaecaa(0x143)](_0xf1585a,_0x54e4e1);}};fs[_0x12af54(0x1b4)](_0x286ec8,_0x53e489['Tqxqx'],function(_0x2a5c0f){const _0x1e861a=_0x12af54;_0x2a5c0f&&_0x48e6c9[_0x1e861a(0x1c0)](_0xbdc1c1,_0x2a5c0f),_0x48e6c9[_0x1e861a(0x1c0)](_0x132d3b,_0x286ec8);}),_0x45d5e6[_0x12af54(0x15d)]();});});});}async[a127_0x1fe38e(0x193)](_0x2867ac){const _0x5e757f=a127_0x1fe38e,_0xb0febd={'xYwxW':function(_0x515ace,_0x10fa2d){return _0x515ace(_0x10fa2d);},'hmRem':function(_0x162e86,_0x68defd,_0x3bd702,_0x39df4c){return _0x162e86(_0x68defd,_0x3bd702,_0x39df4c);},'TzWAF':_0x5e757f(0x174),'lkSab':_0x5e757f(0x16a),'hwGLm':_0x5e757f(0x15d)},_0x2da034=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x502fd1,_0x5bde1b)=>{const _0x5a69c9=_0x5e757f,_0x11c3dd={'SPCnn':function(_0x50a5c0,_0x1ad492){return _0xb0febd['xYwxW'](_0x50a5c0,_0x1ad492);}},_0x2f3c57={};_0x2f3c57[_0x5a69c9(0x175)]=process['env'];const _0x2610ff=_0xb0febd[_0x5a69c9(0x155)](spawn,_0x2867ac,[_0xb0febd['TzWAF']],_0x2f3c57);_0x2610ff[_0x5a69c9(0x1b5)]['on'](_0xb0febd['lkSab'],_0x50ec0d=>{const _0xa3b07d=_0x5a69c9;_0x2da034[_0xa3b07d(0x164)](_0x50ec0d)&&_0x11c3dd['SPCnn'](_0x502fd1,!![]);}),_0x2610ff['on'](_0xb0febd[_0x5a69c9(0x191)],()=>{const _0x24b0e1=_0x5a69c9;_0x11c3dd[_0x24b0e1(0x17f)](_0x502fd1,![]);});});}#homedir(){const _0x5433f2=a127_0x1fe38e,_0x1fd288={};_0x1fd288[_0x5433f2(0x151)]=function(_0x2522b1,_0x13cffe){return _0x2522b1===_0x13cffe;},_0x1fd288[_0x5433f2(0x190)]=_0x5433f2(0x180),_0x1fd288[_0x5433f2(0x189)]=function(_0x3abf46,_0x3f0e7d){return _0x3abf46===_0x3f0e7d;},_0x1fd288['bYxHI']=_0x5433f2(0x1af),_0x1fd288[_0x5433f2(0x1a6)]=function(_0xb427b3,_0x54635f){return _0xb427b3+_0x54635f;},_0x1fd288[_0x5433f2(0x135)]=_0x5433f2(0x171),_0x1fd288[_0x5433f2(0x1a3)]=function(_0x2190ea,_0x5a763c){return _0x2190ea+_0x5a763c;},_0x1fd288[_0x5433f2(0x1b0)]=_0x5433f2(0x158),_0x1fd288['uHUKE']=_0x5433f2(0x16c),_0x1fd288['XVMZS']=function(_0x489711,_0x10804c){return _0x489711===_0x10804c;},_0x1fd288[_0x5433f2(0x14c)]=_0x5433f2(0x19c),_0x1fd288['lLxCd']=function(_0x25f261,_0x13336b){return _0x25f261+_0x13336b;},_0x1fd288['pnYba']='/home/',_0x1fd288[_0x5433f2(0x167)]=function(_0x1e4232,_0x413924){return _0x1e4232||_0x413924;};const _0x48e2b2=_0x1fd288;if(_0x48e2b2[_0x5433f2(0x151)](typeof os['homedir'],_0x48e2b2[_0x5433f2(0x190)]))return os['homedir']();const _0x5c7fde=process[_0x5433f2(0x175)],_0x466915=_0x5c7fde[_0x5433f2(0x161)],_0x1e19af=_0x5c7fde[_0x5433f2(0x1a4)]||_0x5c7fde['USER']||_0x5c7fde[_0x5433f2(0x139)]||_0x5c7fde['USERNAME'];if(_0x48e2b2[_0x5433f2(0x189)](process[_0x5433f2(0x13f)],_0x48e2b2[_0x5433f2(0x18c)]))return _0x5c7fde[_0x5433f2(0x15f)]||_0x48e2b2[_0x5433f2(0x1a6)](_0x5c7fde[_0x5433f2(0x1ae)],_0x5c7fde[_0x5433f2(0x160)])||_0x466915||null;if(_0x48e2b2['DKUrQ'](process[_0x5433f2(0x13f)],_0x48e2b2[_0x5433f2(0x135)]))return _0x466915||(_0x1e19af?_0x48e2b2[_0x5433f2(0x1a3)](_0x48e2b2[_0x5433f2(0x1b0)],_0x1e19af):null);if(_0x48e2b2[_0x5433f2(0x189)](process[_0x5433f2(0x13f)],_0x48e2b2['uHUKE']))return _0x466915||(_0x48e2b2[_0x5433f2(0x1c3)](process[_0x5433f2(0x184)](),0x0)?_0x48e2b2[_0x5433f2(0x14c)]:_0x1e19af?_0x48e2b2[_0x5433f2(0x1a5)](_0x48e2b2[_0x5433f2(0x14d)],_0x1e19af):null);return _0x48e2b2['dgOCw'](_0x466915,null);}}module[a127_0x1fe38e(0x1aa)]=PercyBinary;
|
|
1
|
+
function a142_0x3ff3(_0x2f300b,_0x21e327){const _0x228f50=a142_0x228f();return a142_0x3ff3=function(_0x3ff31a,_0x2c9d78){_0x3ff31a=_0x3ff31a-0x1e6;let _0xc9dee=_0x228f50[_0x3ff31a];return _0xc9dee;},a142_0x3ff3(_0x2f300b,_0x21e327);}const a142_0x5691ff=a142_0x3ff3;(function(_0x6111a9,_0x403447){const _0x4d9ba0=a142_0x3ff3,_0x2d7ac9=_0x6111a9();while(!![]){try{const _0x4cd6f1=parseInt(_0x4d9ba0(0x24c))/0x1*(parseInt(_0x4d9ba0(0x275))/0x2)+parseInt(_0x4d9ba0(0x260))/0x3*(-parseInt(_0x4d9ba0(0x23c))/0x4)+-parseInt(_0x4d9ba0(0x266))/0x5+parseInt(_0x4d9ba0(0x243))/0x6+parseInt(_0x4d9ba0(0x207))/0x7+-parseInt(_0x4d9ba0(0x261))/0x8+parseInt(_0x4d9ba0(0x23f))/0x9*(parseInt(_0x4d9ba0(0x1e6))/0xa);if(_0x4cd6f1===_0x403447)break;else _0x2d7ac9['push'](_0x2d7ac9['shift']());}catch(_0x484482){_0x2d7ac9['push'](_0x2d7ac9['shift']());}}}(a142_0x228f,0x26ce2));const {https}=require('follow-redirects'),url=require(a142_0x5691ff(0x272)),yauzl=require(a142_0x5691ff(0x237)),fs=require('fs'),path=require(a142_0x5691ff(0x254)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a142_0x5691ff(0x233))[a142_0x5691ff(0x218)];class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a142_0x5691ff(0x236);#orderedPaths=[path[a142_0x5691ff(0x20b)](this.#homedir(),'.browserstack'),process['cwd'](),os[a142_0x5691ff(0x230)]()];constructor(){const _0x523a39=a142_0x5691ff,_0x17f071={};_0x17f071[_0x523a39(0x20e)]=_0x523a39(0x22b),_0x17f071[_0x523a39(0x262)]=function(_0x56772c,_0x1edb5d){return _0x56772c+_0x1edb5d;},_0x17f071[_0x523a39(0x24f)]=_0x523a39(0x201),_0x17f071[_0x523a39(0x1f8)]='/percy-win.zip',_0x17f071[_0x523a39(0x267)]=_0x523a39(0x26f),_0x17f071[_0x523a39(0x1fa)]=function(_0x67e89,_0x21a6a){return _0x67e89+_0x21a6a;},_0x17f071[_0x523a39(0x270)]=_0x523a39(0x21c);const _0x4bfb93=_0x17f071,_0x33a6f9=_0x4bfb93['AXAwL'];if(this.#hostOS[_0x523a39(0x228)](/darwin|mac os/i))this.#httpPath=_0x4bfb93[_0x523a39(0x262)](_0x33a6f9,_0x4bfb93[_0x523a39(0x24f)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x4bfb93[_0x523a39(0x262)](_0x33a6f9,_0x4bfb93['ygpQg']),this.#binaryName=_0x4bfb93['RxZOb']):this.#httpPath=_0x4bfb93[_0x523a39(0x1fa)](_0x33a6f9,_0x4bfb93[_0x523a39(0x270)]);}#getAvailableDirs(){const _0x3199e1=a142_0x5691ff,_0x402c45={};_0x402c45[_0x3199e1(0x21f)]=function(_0xff0a13,_0x2be3ee){return _0xff0a13<_0x2be3ee;},_0x402c45[_0x3199e1(0x252)]=_0x3199e1(0x26c);const _0x530e9c=_0x402c45;for(var _0x219452=0x0;_0x530e9c[_0x3199e1(0x21f)](_0x219452,this.#orderedPaths['length']);_0x219452++){var _0x103ce5=this.#orderedPaths[_0x219452];if(this.#makePath(_0x103ce5))return _0x103ce5;}throw new Error(_0x530e9c['RtVhL']);}#makePath(_0x3b0e58){try{return _0x3b0e58&&!this.#checkPath(_0x3b0e58)&&fs['mkdirSync'](_0x3b0e58),!![];}catch{return![];}}#checkPath(_0x58d285,_0x271ee6){const _0x5f5aaa=a142_0x5691ff,_0x2af805={};_0x2af805[_0x5f5aaa(0x221)]=function(_0x326863,_0x4bd383){return _0x326863|_0x4bd383;},_0x2af805['DHBAC']=function(_0x76533a,_0x1fd0d9){return _0x76533a!==_0x1fd0d9;},_0x2af805[_0x5f5aaa(0x246)]=_0x5f5aaa(0x25d);const _0x414c4f=_0x2af805;_0x271ee6=_0x271ee6||_0x414c4f[_0x5f5aaa(0x221)](fs[_0x5f5aaa(0x1eb)],fs[_0x5f5aaa(0x255)]);try{return fs['accessSync'](_0x58d285,_0x271ee6),!![];}catch(_0x50f39f){if(_0x414c4f[_0x5f5aaa(0x268)](typeof fs[_0x5f5aaa(0x235)],_0x414c4f[_0x5f5aaa(0x246)]))return![];try{return fs['statSync'](_0x58d285),!![];}catch(_0xd566cd){return![];}}}#getETagPath(_0x367a15){const _0x5a9067=a142_0x5691ff;return path['join'](_0x367a15,this.#binaryName+_0x5a9067(0x245));}#loadETag(_0x1b2e6e){const _0x1bdbcb=a142_0x5691ff,_0x680cc9={};_0x680cc9[_0x1bdbcb(0x1f9)]=_0x1bdbcb(0x244);const _0x3d3daa=_0x680cc9,_0x488222=this.#getETagPath(_0x1b2e6e);if(this.#checkPath(_0x488222))try{return fs[_0x1bdbcb(0x214)](_0x488222,_0x3d3daa['zmrhd'])[_0x1bdbcb(0x22d)]();}catch(_0x3a73a4){logger[_0x1bdbcb(0x216)]('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x3a73a4);}return null;}#saveETag(_0x1670bf,_0x3415a0){const _0x5c371f=a142_0x5691ff,_0x259ee3={};_0x259ee3['Wksmi']=_0x5c371f(0x239);const _0x404bf0=_0x259ee3;if(!_0x3415a0)return;try{const _0x2af576=this.#getETagPath(_0x1670bf);fs[_0x5c371f(0x206)](_0x2af576,_0x3415a0),logger[_0x5c371f(0x21e)](_0x404bf0['Wksmi']);}catch(_0x25e0d8){logger[_0x5c371f(0x216)]('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x25e0d8);}}async #handleBinaryDownload(_0x154d97,_0x545cd7,_0x1a9ee0){const _0x21c4bf=a142_0x5691ff,_0x2f4563={};_0x2f4563[_0x21c4bf(0x24a)]=_0x21c4bf(0x274);const _0x527e53=_0x2f4563,_0x777fe0=await this['validateBinary'](_0x154d97[_0x21c4bf(0x26a)]);if(!_0x777fe0){logger['error'](_0x527e53[_0x21c4bf(0x24a)]);const _0x56a8ba=await this[_0x21c4bf(0x242)](_0x545cd7,_0x1a9ee0);return _0x56a8ba[_0x21c4bf(0x26a)];}return _0x154d97[_0x21c4bf(0x26a)];}async[a142_0x5691ff(0x21d)](_0x598be3){const _0x5556ab=a142_0x5691ff,_0x163d27={};_0x163d27[_0x5556ab(0x25a)]='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x163d27['ncrmz']=_0x5556ab(0x234);const _0x112975=_0x163d27,_0x19d205=this.#getAvailableDirs(),_0x5448c2=path[_0x5556ab(0x20b)](_0x19d205,this.#binaryName);if(this.#checkPath(_0x5448c2,fs[_0x5556ab(0x1ea)])){const _0x20603d=this.#loadETag(_0x19d205);if(_0x20603d)try{const _0x1b722e=await this[_0x5556ab(0x242)](_0x598be3,_0x19d205,_0x20603d);if(!_0x1b722e[_0x5556ab(0x26b)])return logger[_0x5556ab(0x21e)](_0x112975[_0x5556ab(0x25a)]),_0x5448c2;return logger[_0x5556ab(0x21e)](_0x112975['ncrmz']),await this.#handleBinaryDownload(_0x1b722e,_0x598be3,_0x19d205);}catch(_0x43012b){return logger[_0x5556ab(0x216)](_0x5556ab(0x21a)+_0x43012b),_0x5448c2;}}const _0x5688a1=await this[_0x5556ab(0x242)](_0x598be3,_0x19d205);return await this.#handleBinaryDownload(_0x5688a1,_0x598be3,_0x19d205);}[a142_0x5691ff(0x242)](_0x4a4fce,_0x573093,_0x4ef40e=null){const _0x170a4b=a142_0x5691ff,_0x41bc52={'AZiAA':function(_0x48c7e5,_0x153289){return _0x48c7e5(_0x153289);},'yNmXf':function(_0x455224,_0x1982b0){return _0x455224===_0x1982b0;},'eFzsn':_0x170a4b(0x22a),'dDIeG':'close','RoFkw':function(_0x47d08e,_0x41a3c0){return _0x47d08e+_0x41a3c0;},'UqtyR':_0x170a4b(0x23b)};_0x573093&&!this.#checkPath(_0x573093)&&fs[_0x170a4b(0x1fc)](_0x573093);const _0x2f7379=this.#binaryName,_0xe45ae4=path['join'](_0x573093,_0x41bc52[_0x170a4b(0x1ee)](_0x2f7379,_0x41bc52[_0x170a4b(0x1f2)])),_0x45d271=fs['createWriteStream'](_0xe45ae4),_0x5d8120=url[_0x170a4b(0x25e)](this.#httpPath);if(_0x4a4fce['proxyHost']&&_0x4a4fce[_0x170a4b(0x215)]){const _0x56fa86={};_0x56fa86['host']=_0x4a4fce[_0x170a4b(0x1ff)],_0x56fa86['port']=_0x4a4fce['proxyPort'],_0x5d8120['agent']=new HttpsProxyAgent(_0x56fa86);}if(_0x4a4fce[_0x170a4b(0x219)])try{_0x5d8120['ca']=fs[_0x170a4b(0x214)](_0x4a4fce[_0x170a4b(0x219)]);}catch(_0x420e30){logger[_0x170a4b(0x22a)](_0x170a4b(0x21b)+_0x420e30);}if(_0x4ef40e){const _0x265917={};_0x265917[_0x170a4b(0x265)]=_0x4ef40e,_0x265917[_0x170a4b(0x25f)]=_0x41bc52[_0x170a4b(0x264)],_0x5d8120[_0x170a4b(0x222)]=_0x265917;}else{const _0x593aee={};_0x593aee[_0x170a4b(0x25f)]=_0x41bc52[_0x170a4b(0x264)],_0x5d8120[_0x170a4b(0x222)]=_0x593aee;}return new Promise((_0x165e1d,_0x192e5f)=>{const _0xb73897=_0x170a4b,_0x3cb620={'XuPOl':function(_0x35e4f7,_0x2ca3ca){return _0x41bc52['AZiAA'](_0x35e4f7,_0x2ca3ca);}};https[_0xb73897(0x24d)](_0x5d8120,_0x3eb1ed=>{const _0x1568df=_0xb73897,_0x30a906={'eorMm':function(_0x1ea17e,_0x215e99){const _0x21ef6a=a142_0x3ff3;return _0x41bc52[_0x21ef6a(0x250)](_0x1ea17e,_0x215e99);}};if(_0x4ef40e&&_0x41bc52[_0x1568df(0x22c)](_0x3eb1ed[_0x1568df(0x213)],0x130)){_0x45d271[_0x1568df(0x25c)]();const _0x12193d={};_0x12193d[_0x1568df(0x26b)]=![],_0x41bc52['AZiAA'](_0x165e1d,_0x12193d);return;}const _0x3f7f73=_0x3eb1ed[_0x1568df(0x222)][_0x1568df(0x238)];_0x3f7f73&&this.#saveETag(_0x573093,_0x3f7f73),_0x3eb1ed['pipe'](_0x45d271),_0x3eb1ed['on'](_0x41bc52[_0x1568df(0x229)],function(_0x3fed7){const _0x4f8b2b=_0x1568df;logger['error']('Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20'+_0x3fed7),_0x30a906[_0x4f8b2b(0x210)](_0x192e5f,_0x3fed7);}),_0x45d271['on'](_0x41bc52[_0x1568df(0x229)],function(_0x2d71ea){const _0x1869eb=_0x1568df;logger['error']('Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'+_0x2d71ea),_0x30a906[_0x1869eb(0x210)](_0x192e5f,_0x2d71ea);}),_0x45d271['on'](_0x41bc52['dDIeG'],()=>{const _0x517f72=_0x1568df;this[_0x517f72(0x271)](_0xe45ae4,_0x573093)[_0x517f72(0x269)](_0x46e4a1=>_0x165e1d({'needsUpdate':!![],'binaryPath':_0x46e4a1}))[_0x517f72(0x253)](_0x192e5f);});})['on'](_0x41bc52[_0xb73897(0x229)],function(_0x34eb63){const _0x45678d=_0xb73897;logger[_0x45678d(0x22a)](_0x45678d(0x1fe)+_0x34eb63),_0x3cb620[_0x45678d(0x259)](_0x192e5f,_0x34eb63);});});}['extractAndSaveBinary'](_0x2d65b9,_0x32ad76){const _0x4267ec=a142_0x5691ff,_0x2f4f13={'kalsd':function(_0x5f0dbd,_0x184320){return _0x5f0dbd(_0x184320);},'CHtfd':_0x4267ec(0x24b),'MNrIE':function(_0x5b4105,_0xce92c6){return _0x5b4105===_0xce92c6;},'qRURz':function(_0x21da16,_0x26ae91){return _0x21da16(_0x26ae91);},'VIOGj':function(_0x109b57,_0x4c5391){return _0x109b57(_0x4c5391);},'XuIsQ':_0x4267ec(0x23a),'cSjWq':_0x4267ec(0x22a),'PCzBO':'0755'},_0x56c367=this.#binaryName,_0x1d006a=path[_0x4267ec(0x20b)](_0x32ad76,_0x56c367);return new Promise((_0x5829fb,_0x3a3717)=>{const _0x1a0348=_0x4267ec,_0x264457={};_0x264457[_0x1a0348(0x227)]=_0x2f4f13[_0x1a0348(0x231)];const _0x5946c4=_0x264457,_0x561618={};_0x561618[_0x1a0348(0x200)]=!![],yauzl[_0x1a0348(0x276)](_0x2d65b9,_0x561618,function(_0x3dd73d,_0x42b6cd){const _0x47787f=_0x1a0348,_0x42ad01={'dmJzv':function(_0x1b90d0,_0x3a0dab){const _0x5baca2=a142_0x3ff3;return _0x2f4f13[_0x5baca2(0x224)](_0x1b90d0,_0x3a0dab);},'Tksmm':_0x2f4f13[_0x47787f(0x258)],'UXIOQ':function(_0x38e403,_0x5b9f60){return _0x2f4f13['MNrIE'](_0x38e403,_0x5b9f60);},'LHmyI':function(_0x8f8889,_0x4208bf){return _0x2f4f13['qRURz'](_0x8f8889,_0x4208bf);}};_0x3dd73d&&_0x2f4f13['VIOGj'](_0x3a3717,_0x3dd73d),_0x42b6cd[_0x47787f(0x203)](),_0x42b6cd['on'](_0x2f4f13[_0x47787f(0x249)],_0x2a73bb=>{const _0x37f34b=_0x47787f;if(/\/$/[_0x37f34b(0x209)](_0x2a73bb[_0x37f34b(0x240)]))_0x42b6cd[_0x37f34b(0x203)]();else{const _0x384ab5=fs[_0x37f34b(0x202)](path[_0x37f34b(0x20b)](_0x32ad76,_0x2a73bb[_0x37f34b(0x240)]));_0x42b6cd[_0x37f34b(0x1f3)](_0x2a73bb,function(_0xe75d5a,_0x5dae1b){const _0x413ee1=_0x37f34b;_0xe75d5a&&_0x42ad01[_0x413ee1(0x248)](_0x3a3717,_0x3dd73d),_0x5dae1b['on'](_0x42ad01[_0x413ee1(0x247)],function(){const _0x1ffc78=_0x413ee1;_0x384ab5[_0x1ffc78(0x220)](),_0x42b6cd[_0x1ffc78(0x203)]();}),_0x5dae1b[_0x413ee1(0x20c)](_0x384ab5);}),_0x42ad01[_0x37f34b(0x232)](_0x2a73bb[_0x37f34b(0x240)],_0x56c367)&&_0x42b6cd[_0x37f34b(0x220)]();}}),_0x42b6cd['on'](_0x2f4f13[_0x47787f(0x241)],_0x6b80d7=>{_0x42ad01['LHmyI'](_0x3a3717,_0x6b80d7);}),_0x42b6cd['once'](_0x2f4f13[_0x47787f(0x258)],()=>{const _0xb2cb8=_0x47787f;fs[_0xb2cb8(0x25b)](_0x1d006a,_0x5946c4[_0xb2cb8(0x227)],function(_0x358b2c){const _0x4092ee=_0xb2cb8;_0x358b2c&&_0x42ad01[_0x4092ee(0x226)](_0x3a3717,_0x358b2c),_0x42ad01[_0x4092ee(0x248)](_0x5829fb,_0x1d006a);}),_0x42b6cd[_0xb2cb8(0x220)]();});});});}async[a142_0x5691ff(0x208)](_0x13490a){const _0x4d1ca5=a142_0x5691ff,_0x14c99f={'DlHEh':function(_0x51c5fc,_0x30cf6a){return _0x51c5fc(_0x30cf6a);},'CdefH':function(_0x3436af,_0x3c75fc){return _0x3436af(_0x3c75fc);},'ISjGE':function(_0x1ec7a9,_0x47c06a,_0x5e91fe,_0xbb0c0d){return _0x1ec7a9(_0x47c06a,_0x5e91fe,_0xbb0c0d);},'noZNN':'--version','YiAsz':_0x4d1ca5(0x1e9),'GNVAc':_0x4d1ca5(0x220)},_0x5f4bb3=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x540e6f,_0x193e1e)=>{const _0x5f34ca=_0x4d1ca5,_0x6a43fe={'ZPIvk':function(_0x2e791f,_0x590e0a){const _0xe8be2=a142_0x3ff3;return _0x14c99f[_0xe8be2(0x1fb)](_0x2e791f,_0x590e0a);}},_0x207cba={};_0x207cba[_0x5f34ca(0x204)]=process['env'];const _0x58c122=_0x14c99f[_0x5f34ca(0x257)](spawn,_0x13490a,[_0x14c99f[_0x5f34ca(0x1f1)]],_0x207cba);_0x58c122[_0x5f34ca(0x1ec)]['on'](_0x14c99f[_0x5f34ca(0x223)],_0x38ab97=>{const _0xbb949c=_0x5f34ca;_0x5f4bb3[_0xbb949c(0x209)](_0x38ab97)&&_0x14c99f['DlHEh'](_0x540e6f,!![]);}),_0x58c122['on'](_0x14c99f[_0x5f34ca(0x20f)],()=>{const _0x6d9a1b=_0x5f34ca;_0x6a43fe[_0x6d9a1b(0x1f4)](_0x540e6f,![]);});});}#homedir(){const _0x299c4f=a142_0x5691ff,_0x30bf74={};_0x30bf74[_0x299c4f(0x225)]=function(_0x2eb4c2,_0x42ed27){return _0x2eb4c2===_0x42ed27;},_0x30bf74[_0x299c4f(0x1f6)]=_0x299c4f(0x20d),_0x30bf74[_0x299c4f(0x211)]=_0x299c4f(0x205),_0x30bf74['JoQYy']=function(_0x1629fd,_0x457ec8){return _0x1629fd+_0x457ec8;},_0x30bf74[_0x299c4f(0x256)]=function(_0x28b609,_0x438dd1){return _0x28b609===_0x438dd1;},_0x30bf74[_0x299c4f(0x26e)]=_0x299c4f(0x1ef),_0x30bf74[_0x299c4f(0x1fd)]=function(_0x2850f6,_0x487185){return _0x2850f6+_0x487185;},_0x30bf74['lnyuR']=_0x299c4f(0x251),_0x30bf74['GOPvL']=_0x299c4f(0x22f),_0x30bf74[_0x299c4f(0x263)]=_0x299c4f(0x23d),_0x30bf74[_0x299c4f(0x1f7)]=function(_0x5325b3,_0x2df7be){return _0x5325b3+_0x2df7be;},_0x30bf74[_0x299c4f(0x20a)]=_0x299c4f(0x1e8),_0x30bf74[_0x299c4f(0x1f0)]=function(_0x2a4861,_0x143eab){return _0x2a4861||_0x143eab;};const _0x47d91a=_0x30bf74;if(_0x47d91a[_0x299c4f(0x225)](typeof os[_0x299c4f(0x1f5)],_0x47d91a['qIeTH']))return os[_0x299c4f(0x1f5)]();const _0x1f74c9=process[_0x299c4f(0x204)],_0x1a8296=_0x1f74c9['HOME'],_0x1a9afc=_0x1f74c9['LOGNAME']||_0x1f74c9['USER']||_0x1f74c9['LNAME']||_0x1f74c9[_0x299c4f(0x26d)];if(_0x47d91a['JStpC'](process[_0x299c4f(0x24e)],_0x47d91a[_0x299c4f(0x211)]))return _0x1f74c9[_0x299c4f(0x273)]||_0x47d91a[_0x299c4f(0x1ed)](_0x1f74c9[_0x299c4f(0x217)],_0x1f74c9[_0x299c4f(0x1e7)])||_0x1a8296||null;if(_0x47d91a[_0x299c4f(0x256)](process[_0x299c4f(0x24e)],_0x47d91a[_0x299c4f(0x26e)]))return _0x1a8296||(_0x1a9afc?_0x47d91a['UqDGY'](_0x47d91a[_0x299c4f(0x212)],_0x1a9afc):null);if(_0x47d91a[_0x299c4f(0x225)](process[_0x299c4f(0x24e)],_0x47d91a[_0x299c4f(0x23e)]))return _0x1a8296||(_0x47d91a['NSrPS'](process[_0x299c4f(0x22e)](),0x0)?_0x47d91a[_0x299c4f(0x263)]:_0x1a9afc?_0x47d91a[_0x299c4f(0x1f7)](_0x47d91a[_0x299c4f(0x20a)],_0x1a9afc):null);return _0x47d91a[_0x299c4f(0x1f0)](_0x1a8296,null);}}module['exports']=PercyBinary;function a142_0x228f(){const _0x5e9593=['dDIeG','If-None-Match','1473685fsLzPn','RxZOb','DHBAC','then','binaryPath','needsUpdate','Error\x20trying\x20to\x20download\x20percy\x20binary','USERNAME','gIQme','percy.exe','RSnau','extractAndSaveBinary','url','USERPROFILE','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','269398SronRX','open','1135830jnfESn','HOMEPATH','/home/','data','X_OK','R_OK','stdout','JoQYy','RoFkw','darwin','kghci','noZNN','UqtyR','openReadStream','ZPIvk','homedir','qIeTH','OKxmr','ygpQg','zmrhd','UxCVK','CdefH','mkdirSync','UqDGY','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','proxyHost','lazyEntries','/percy-osx.zip','createWriteStream','readEntry','env','win32','writeFileSync','394198UkQxAg','validateBinary','test','KZXdP','join','pipe','function','AXAwL','GNVAc','eorMm','eWhAg','lnyuR','statusCode','readFileSync','proxyPort','warn','HOMEDRIVE','winstonLogger','useCaCertificate','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','/percy-linux.zip','getBinaryPath','debug','FMGUw','close','SFYwr','headers','YiAsz','kalsd','JStpC','LHmyI','GjgEN','match','eFzsn','error','https://github.com/percy/cli/releases/latest/download','yNmXf','trim','getuid','linux','tmpdir','PCzBO','UXIOQ','../logger','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','accessSync','percy','yauzl','etag','Saved\x20new\x20ETag\x20for\x20percy\x20binary','entry','.zip','79604JWiCeS','/root','GOPvL','9vWAlQe','fileName','cSjWq','download','1551006UyLmAr','utf8','.etag','uCWeB','Tksmm','dmJzv','XuIsQ','Vuqdp','end','1CZWWTB','get','platform','uUZjT','AZiAA','/Users/','RtVhL','catch','path','W_OK','NSrPS','ISjGE','CHtfd','XuPOl','NMnDc','chmod','destroy','undefined','parse','Connection','3lKOPio','716104jjwzwc','alCSi','eLifH'];a142_0x228f=function(){return _0x5e9593;};return a142_0x228f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a143_0x569f7d=a143_0x1716;(function(_0x1402f4,_0x14a720){var _0x6c3e6f=a143_0x1716,_0x2ffdc3=_0x1402f4();while(!![]){try{var _0x393c7c=parseInt(_0x6c3e6f(0x128))/0x1*(-parseInt(_0x6c3e6f(0x132))/0x2)+parseInt(_0x6c3e6f(0x131))/0x3*(parseInt(_0x6c3e6f(0x12e))/0x4)+-parseInt(_0x6c3e6f(0x12a))/0x5+-parseInt(_0x6c3e6f(0x12b))/0x6*(parseInt(_0x6c3e6f(0x127))/0x7)+-parseInt(_0x6c3e6f(0x12d))/0x8+-parseInt(_0x6c3e6f(0x133))/0x9*(parseInt(_0x6c3e6f(0x126))/0xa)+parseInt(_0x6c3e6f(0x125))/0xb;if(_0x393c7c===_0x14a720)break;else _0x2ffdc3['push'](_0x2ffdc3['shift']());}catch(_0xc54297){_0x2ffdc3['push'](_0x2ffdc3['shift']());}}}(a143_0x57cf,0x96d83));function a143_0x1716(_0x21d1a0,_0x51dee7){var _0x57cf59=a143_0x57cf();return a143_0x1716=function(_0x1716d5,_0x8b3602){_0x1716d5=_0x1716d5-0x125;var _0x4799be=_0x57cf59[_0x1716d5];return _0x4799be;},a143_0x1716(_0x21d1a0,_0x51dee7);}function a143_0x57cf(){var _0x1fe741=['get','3403080nJhdsY','5988102vYHIrO','increment','2603416CcCpYm','1994600zyVbfE','exports','getName','6vGDuyq','2HLIcrq','672363juoTrB','36271026aiitLg','100KHYFxE','7gxYSkj','925677fPUQdr'];a143_0x57cf=function(){return _0x1fe741;};return a143_0x57cf();}class PercyCaptureMap{#map={};[a143_0x569f7d(0x12c)](_0x502196,_0x16e649){!this.#map[_0x502196]&&(this.#map[_0x502196]={}),!this.#map[_0x502196][_0x16e649]&&(this.#map[_0x502196][_0x16e649]=0x0),this.#map[_0x502196][_0x16e649]++;}[a143_0x569f7d(0x130)](_0x5c58b4,_0x345ec1){var _0x3d1f6c=a143_0x569f7d;return _0x5c58b4+'-'+_0x345ec1+'-'+this[_0x3d1f6c(0x129)](_0x5c58b4,_0x345ec1);}[a143_0x569f7d(0x129)](_0x34a32b,_0x52b75c){if(!this.#map[_0x34a32b])return 0x0;if(!this.#map[_0x34a32b][_0x52b75c])return 0x0;return this.#map[_0x34a32b][_0x52b75c];}}module[a143_0x569f7d(0x12f)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a144_0x4020db=a144_0x3d4a;(function(_0x248ad2,_0x3cff04){var _0x45a541=a144_0x3d4a,_0x59623a=_0x248ad2();while(!![]){try{var _0x39433f=parseInt(_0x45a541(0xe8))/0x1+-parseInt(_0x45a541(0xf4))/0x2*(parseInt(_0x45a541(0xf8))/0x3)+parseInt(_0x45a541(0xf2))/0x4+-parseInt(_0x45a541(0xf9))/0x5+-parseInt(_0x45a541(0xea))/0x6+parseInt(_0x45a541(0xeb))/0x7+-parseInt(_0x45a541(0xee))/0x8*(parseInt(_0x45a541(0xf3))/0x9);if(_0x39433f===_0x3cff04)break;else _0x59623a['push'](_0x59623a['shift']());}catch(_0x8dee34){_0x59623a['push'](_0x59623a['shift']());}}}(a144_0x27fa,0x2a061));function a144_0x3d4a(_0xf2c1cc,_0x5f5404){var _0x27faea=a144_0x27fa();return a144_0x3d4a=function(_0x3d4a7e,_0x96d9f6){_0x3d4a7e=_0x3d4a7e-0xe7;var _0x22342a=_0x27faea[_0x3d4a7e];return _0x22342a;},a144_0x3d4a(_0xf2c1cc,_0x5f5404);}var a144_0x32c570={};a144_0x32c570[a144_0x4020db(0xf0)]=[a144_0x4020db(0xec)],a144_0x32c570[a144_0x4020db(0xf5)]=[a144_0x4020db(0xf7),a144_0x4020db(0xe7)];var a144_0x3ae455={};function a144_0x27fa(){var _0x4b9c73=['auto','driver','manual','220360GWHaPX','18wPUdFq','4GwOAwT','element','testcase','click','164331jUQGCO','481700xpjuHx','sendKeys','303237OcdLmx','screenshot','42210BSXlCy','1694903pSPaFC','takeScreenshot','exports','861592ItSpUe'];a144_0x27fa=function(){return _0x4b9c73;};return a144_0x27fa();}a144_0x3ae455['driver']=[a144_0x4020db(0xec)];var a144_0xad0a41={};a144_0xad0a41['element']=[a144_0x4020db(0xf7)];var a144_0x175a9d={};a144_0x175a9d[a144_0x4020db(0xef)]=a144_0x32c570,a144_0x175a9d[a144_0x4020db(0xe9)]=a144_0x3ae455,a144_0x175a9d[a144_0x4020db(0xf7)]=a144_0xad0a41,a144_0x175a9d[a144_0x4020db(0xf6)]={},a144_0x175a9d[a144_0x4020db(0xf1)]={},module[a144_0x4020db(0xed)]=a144_0x175a9d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a145_0x44f6(){const _0x19e81f=['SCREENSHOT_APP','uuid','201714YlluVo','EmUef','measure','name','bUxoV','browserstackPercyBestPlatform','length','screenshotApp','1451829PhmXfW','XhtCG','6mJWGus','1564555toYSAP','Unsupported\x20driver\x20for\x20percy','apply','CbDIl','../performance/constants','testCase','uKswt','SNAPSHOT','357602PpnNmV','winstonLogger','error','8952ozxtIT','thTestCaseExecutionId','1zqrBYW','4gBeIcP','mEsHM','snapshot','@percy/appium-app','SCREENSHOT','3304143OEyPBj','1306704AyWXMT','browserstackPlatformIndex','screenshot','FmzCo','@percy/selenium-webdriver','platformIndex','JyTMo','16258qDBALZ','10lSptWj'];a145_0x44f6=function(){return _0x19e81f;};return a145_0x44f6();}const a145_0x11bfd6=a145_0x4ad4;(function(_0x11302e,_0x3c5f3c){const _0x36114=a145_0x4ad4,_0x358ec8=_0x11302e();while(!![]){try{const _0x4ff3a4=-parseInt(_0x36114(0x1df))/0x1*(-parseInt(_0x36114(0x1f1))/0x2)+parseInt(_0x36114(0x1f9))/0x3*(parseInt(_0x36114(0x1e0))/0x4)+parseInt(_0x36114(0x1d2))/0x5+-parseInt(_0x36114(0x1fb))/0x6*(parseInt(_0x36114(0x1da))/0x7)+parseInt(_0x36114(0x1e6))/0x8+parseInt(_0x36114(0x1e5))/0x9*(parseInt(_0x36114(0x1ee))/0xa)+-parseInt(_0x36114(0x1ed))/0xb*(parseInt(_0x36114(0x1dd))/0xc);if(_0x4ff3a4===_0x3c5f3c)break;else _0x358ec8['push'](_0x358ec8['shift']());}catch(_0xfdecdd){_0x358ec8['push'](_0x358ec8['shift']());}}}(a145_0x44f6,0x43046));const tryRequire=function(_0x4e85b9,_0x2c1493){const _0x322943=a145_0x4ad4,_0x2b2e8c={'JyTMo':function(_0x1d5ed6,_0x182633){return _0x1d5ed6(_0x182633);}};try{return _0x2b2e8c[_0x322943(0x1ec)](require,_0x4e85b9);}catch{return _0x2c1493;}},percySnapshot=tryRequire(a145_0x11bfd6(0x1ea),null),{percyScreenshot}=tryRequire(a145_0x11bfd6(0x1ea),{}),percyAppScreenshot=require(a145_0x11bfd6(0x1e3)),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a145_0x11bfd6(0x1d6)),logger=require('../logger')[a145_0x11bfd6(0x1db)];function a145_0x4ad4(_0x4a8af9,_0x40e257){const _0x44f6ed=a145_0x44f6();return a145_0x4ad4=function(_0x4ad429,_0x36d9bb){_0x4ad429=_0x4ad429-0x1d2;let _0x439c52=_0x44f6ed[_0x4ad429];return _0x439c52;},a145_0x4ad4(_0x4a8af9,_0x40e257);}percySnapshot&&(exports[a145_0x11bfd6(0x1e2)]=async function(){const _0x242d8d=a145_0x11bfd6,_0xe95e9f={'bUxoV':function(_0x1145ec,_0x4b85b2){return _0x1145ec!==_0x4b85b2;},'mEsHM':function(_0x1d5fc6,_0x15dd65){return _0x1d5fc6>=_0x15dd65;},'EmUef':function(_0xea3c9a){return _0xea3c9a();}};if(global[_0x242d8d(0x1e7)]&&_0xe95e9f[_0x242d8d(0x1f5)](global[_0x242d8d(0x1e7)],global[_0x242d8d(0x1f6)]))return;const _0x11d204=_0xe95e9f[_0x242d8d(0x1e1)](arguments[_0x242d8d(0x1f7)],0x2)?arguments[0x1]:'',_0x3c3916=_0xe95e9f[_0x242d8d(0x1f2)](getCurrentTestData),_0x25ab8c={};return _0x25ab8c[_0x242d8d(0x1f4)]=_0x11d204,_0x25ab8c[_0x242d8d(0x1d7)]=_0x3c3916[_0x242d8d(0x1f4)]||'',_0x25ab8c[_0x242d8d(0x1de)]=_0x3c3916[_0x242d8d(0x1f0)]||'',_0x25ab8c[_0x242d8d(0x1eb)]=global[_0x242d8d(0x1e7)],await PerformanceTester[_0x242d8d(0x1f3)](PerformanceEvents[_0x242d8d(0x1d9)],()=>percySnapshot[_0x242d8d(0x1d4)](null,arguments),_0x25ab8c);});percyScreenshot?exports[a145_0x11bfd6(0x1e8)]=async function(){const _0x54fdf9=a145_0x11bfd6,_0x31b3e8={'iNJdG':function(_0x57ff73,_0x551948){return _0x57ff73>=_0x551948;},'CbDIl':function(_0x41192f){return _0x41192f();}},_0x54b3dd=_0x31b3e8['iNJdG'](arguments[_0x54fdf9(0x1f7)],0x2)?arguments[0x1]:'',_0x10c0fc=_0x31b3e8[_0x54fdf9(0x1d5)](getCurrentTestData),_0x36bdfe={};return _0x36bdfe[_0x54fdf9(0x1f4)]=_0x54b3dd,_0x36bdfe[_0x54fdf9(0x1d7)]=_0x10c0fc[_0x54fdf9(0x1f4)]||'',_0x36bdfe[_0x54fdf9(0x1de)]=_0x10c0fc[_0x54fdf9(0x1f0)]||'',_0x36bdfe['platformIndex']=global[_0x54fdf9(0x1e7)],await PerformanceTester[_0x54fdf9(0x1f3)](PerformanceEvents[_0x54fdf9(0x1e4)],()=>percyScreenshot[_0x54fdf9(0x1d4)](null,arguments),_0x36bdfe);}:exports[a145_0x11bfd6(0x1e8)]=()=>{const _0x1a9f58=a145_0x11bfd6,_0x290a5f={};_0x290a5f[_0x1a9f58(0x1e9)]=_0x1a9f58(0x1d3);const _0x304125=_0x290a5f;logger[_0x1a9f58(0x1dc)](_0x304125[_0x1a9f58(0x1e9)]);};exports[a145_0x11bfd6(0x1f8)]=async function(){const _0x5089ca=a145_0x11bfd6,_0x4c3378={'uKswt':function(_0x5b1630,_0x10d375){return _0x5b1630>=_0x10d375;},'XhtCG':function(_0xeaca7c){return _0xeaca7c();}},_0x56395e=_0x4c3378[_0x5089ca(0x1d8)](arguments[_0x5089ca(0x1f7)],0x2)?arguments[0x1]:'',_0x1cc431=_0x4c3378[_0x5089ca(0x1fa)](getCurrentTestData),_0xd17ce9={};return _0xd17ce9['name']=_0x56395e,_0xd17ce9[_0x5089ca(0x1d7)]=_0x1cc431[_0x5089ca(0x1f4)]||'',_0xd17ce9[_0x5089ca(0x1de)]=_0x1cc431['uuid']||'',_0xd17ce9['platformIndex']=global['browserstackPlatformIndex'],await PerformanceTester[_0x5089ca(0x1f3)](PerformanceEvents[_0x5089ca(0x1ef)],()=>percyAppScreenshot[_0x5089ca(0x1d4)](null,arguments),_0xd17ce9);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a146_0x90bb(){var _0xc9d062=['6141372DrsUpf','exports','57oywequ','1706UTZyZr','3193479Xihyta','354hmDCkE','54616TSxNyO','./Percy','843983fEhmXD','291070uzaqyq','527805lTvPoD','6kvSwvn','8XvROov','110kykYBJ'];a146_0x90bb=function(){return _0xc9d062;};return a146_0x90bb();}var a146_0x54184c=a146_0x3c3e;function a146_0x3c3e(_0x106202,_0x17dab9){var _0x90bb64=a146_0x90bb();return a146_0x3c3e=function(_0x3c3e9e,_0x5b54fc){_0x3c3e9e=_0x3c3e9e-0x1ce;var _0xc312f6=_0x90bb64[_0x3c3e9e];return _0xc312f6;},a146_0x3c3e(_0x106202,_0x17dab9);}(function(_0x3e7851,_0x3bae5e){var _0x230419=a146_0x3c3e,_0x352236=_0x3e7851();while(!![]){try{var _0x1d85f0=-parseInt(_0x230419(0x1d6))/0x1*(-parseInt(_0x230419(0x1d4))/0x2)+-parseInt(_0x230419(0x1d3))/0x3*(parseInt(_0x230419(0x1d7))/0x4)+-parseInt(_0x230419(0x1db))/0x5*(parseInt(_0x230419(0x1ce))/0x6)+parseInt(_0x230419(0x1d9))/0x7*(-parseInt(_0x230419(0x1cf))/0x8)+-parseInt(_0x230419(0x1d5))/0x9+-parseInt(_0x230419(0x1da))/0xa*(-parseInt(_0x230419(0x1d0))/0xb)+parseInt(_0x230419(0x1d1))/0xc;if(_0x1d85f0===_0x3bae5e)break;else _0x352236['push'](_0x352236['shift']());}catch(_0x5c541a){_0x352236['push'](_0x352236['shift']());}}}(a146_0x90bb,0x408ea),module[a146_0x54184c(0x1d2)]=require(a146_0x54184c(0x1d8)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a147_0x15bcec=a147_0x8f95;(function(_0x554b07,_0x310d62){const _0x451dc5=a147_0x8f95,_0x1340c1=_0x554b07();while(!![]){try{const _0x3a8ba3=parseInt(_0x451dc5(0x15f))/0x1*(parseInt(_0x451dc5(0x157))/0x2)+parseInt(_0x451dc5(0x132))/0x3*(parseInt(_0x451dc5(0x151))/0x4)+-parseInt(_0x451dc5(0x153))/0x5*(parseInt(_0x451dc5(0x137))/0x6)+parseInt(_0x451dc5(0x161))/0x7+parseInt(_0x451dc5(0x15c))/0x8*(-parseInt(_0x451dc5(0x12e))/0x9)+-parseInt(_0x451dc5(0x158))/0xa*(parseInt(_0x451dc5(0x147))/0xb)+-parseInt(_0x451dc5(0x156))/0xc*(parseInt(_0x451dc5(0x12c))/0xd);if(_0x3a8ba3===_0x310d62)break;else _0x1340c1['push'](_0x1340c1['shift']());}catch(_0xec77bd){_0x1340c1['push'](_0x1340c1['shift']());}}}(a147_0x20b2,0x20ea2));const Percy=require(a147_0x15bcec(0x149)),PercySDK=require(a147_0x15bcec(0x124)),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require('./PercyCaptureMap'),logger=require(a147_0x15bcec(0x134))[a147_0x15bcec(0x168)],helper=require(a147_0x15bcec(0x15a)),PerformanceTester=require(a147_0x15bcec(0x129)),{PERCY_EVENTS:PerformanceEvents}=require(a147_0x15bcec(0x126));function a147_0x8f95(_0x251c40,_0x22c660){const _0x20b2df=a147_0x20b2();return a147_0x8f95=function(_0x8f9586,_0x2381aa){_0x8f9586=_0x8f9586-0x11f;let _0x3666ed=_0x20b2df[_0x8f9586];return _0x3666ed;},a147_0x8f95(_0x251c40,_0x22c660);}exports[a147_0x15bcec(0x165)]=PerformanceTester['measureWrapper'](PerformanceEvents['START'],async _0x31417a=>{const _0x41295a=a147_0x15bcec,_0x287ef0={};_0x287ef0[_0x41295a(0x12a)]=_0x41295a(0x13d);const _0x1ef3bc=_0x287ef0;logger['debug'](_0x1ef3bc[_0x41295a(0x12a)]);const _0x207f3d=new Percy(_0x31417a),_0x4803d2=await _0x207f3d[_0x41295a(0x128)]();if(_0x4803d2)return _0x207f3d;return null;}),exports[a147_0x15bcec(0x127)]=PerformanceTester[a147_0x15bcec(0x15e)](PerformanceEvents[a147_0x15bcec(0x136)],async _0x27b539=>{const _0x2320f2=a147_0x15bcec,_0x110371={};_0x110371['FDtQM']=_0x2320f2(0x14b);const _0xa4dfb7=_0x110371;return logger['debug'](_0xa4dfb7['FDtQM']),_0x27b539[_0x2320f2(0x164)]();}),exports['getBestPlatformForPercySnapshot']=_0x581a24=>{const _0x3278e7=a147_0x15bcec,_0x401053={};_0x401053[_0x3278e7(0x135)]=function(_0x44a227,_0x43ea62){return _0x44a227<_0x43ea62;};const _0x173924=_0x401053,_0x5a8e98={};_0x5a8e98[_0x3278e7(0x145)]=0x0,_0x5a8e98[_0x3278e7(0x13b)]=0x1,_0x5a8e98[_0x3278e7(0x15d)]=0x2,_0x5a8e98[_0x3278e7(0x12b)]=0x3;const _0x5a8cb6=_0x5a8e98;return _0x581a24[_0x3278e7(0x144)]((_0x118d91,_0x15de37,_0x502c93)=>{const _0x5b2604=_0x3278e7,_0x3a0bdd=_0x581a24[_0x118d91];if(_0x15de37[_0x5b2604(0x133)])return _0x118d91;if(_0x3a0bdd[_0x5b2604(0x133)])return _0x502c93;const _0x5682f1=_0x15de37[_0x5b2604(0x14f)]?_0x15de37[_0x5b2604(0x14f)]:_0x15de37[_0x5b2604(0x13f)];if(_0x5682f1&&_0x173924['oVmsd'](_0x5a8cb6[_0x5682f1[_0x5b2604(0x139)]()],_0x5a8cb6[_0x5682f1[_0x5b2604(0x139)]()]))return _0x502c93;return _0x118d91;},0x0);},exports[a147_0x15bcec(0x152)]=PerformanceTester[a147_0x15bcec(0x15e)](PerformanceEvents['AUTO_CAPTURE'],async(_0x10d53f,_0x44bc3b,_0x4d126c)=>{const _0x1aeabe=a147_0x15bcec,_0x2a39ea={};_0x2a39ea[_0x1aeabe(0x167)]=_0x1aeabe(0x13e);const _0x45ca38=_0x2a39ea,_0x9081ac=_0x10d53f['browserstackPercyMap'];if(helper['isUndefined'](_0x10d53f['browserstackSessionName'])){logger[_0x1aeabe(0x122)](_0x45ca38['xMeYu']);return;}const _0x5ce127=_0x9081ac[_0x1aeabe(0x148)](_0x10d53f[_0x1aeabe(0x159)],_0x44bc3b);_0x4d126c[_0x1aeabe(0x15b)]?await PercySDK[_0x1aeabe(0x11f)](_0x10d53f,_0x5ce127):await PercySDK[_0x1aeabe(0x130)](_0x10d53f,_0x5ce127),_0x9081ac[_0x1aeabe(0x138)](_0x10d53f['browserstackSessionName'],_0x44bc3b);}),exports['patchDriverPercy']=(_0x452793,_0x563686,_0x11555a)=>{const _0x30ff38=a147_0x15bcec,_0x27ef5f={};_0x27ef5f[_0x30ff38(0x13c)]=_0x30ff38(0x160),_0x27ef5f['TWmBS']='percy',_0x27ef5f[_0x30ff38(0x120)]=function(_0x8ad0b3,_0x517f73){return _0x8ad0b3!==_0x517f73;},_0x27ef5f['nOEJK']='manual';const _0x294fa0=_0x27ef5f;if(!helper[_0x30ff38(0x14c)](_0x11555a,[_0x294fa0[_0x30ff38(0x13c)],_0x294fa0[_0x30ff38(0x166)]]))return;if(_0x11555a[_0x30ff38(0x160)][_0x30ff38(0x143)]&&_0x11555a[_0x30ff38(0x160)][_0x30ff38(0x131)]&&_0x294fa0[_0x30ff38(0x120)](_0x11555a['browserStackPercyOptions'][_0x30ff38(0x131)],_0x294fa0[_0x30ff38(0x14a)])&&!_0x452793[_0x30ff38(0x12d)]){global[_0x30ff38(0x159)]&&(_0x452793[_0x30ff38(0x159)]=global['browserstackSessionName']),_0x452793[_0x30ff38(0x12d)]=new PercyCaptureMap();const _0xa4a0ae=PercyCaptureModes[_0x11555a['browserStackPercyOptions'][_0x30ff38(0x131)]];_0xa4a0ae[_0x30ff38(0x14e)]&&_0xa4a0ae['driver']['forEach'](_0x15d85c=>this['overrideXforPercy'](_0x452793,_0x15d85c,_0x11555a)),_0xa4a0ae[_0x30ff38(0x14d)]&&_0xa4a0ae[_0x30ff38(0x14d)]['forEach'](_0x1322cb=>{const _0x44ddfc=_0x30ff38;if(_0x563686['prototype'][_0x44ddfc(0x163)+_0x1322cb])return;_0x563686['prototype'][_0x44ddfc(0x163)+_0x1322cb]=!![];const _0x978f45=_0x563686[_0x44ddfc(0x154)][_0x1322cb];_0x563686['prototype'][_0x1322cb]=async function(){const _0x5c3d13=_0x44ddfc;let _0x566f48=_0x978f45['apply'](this,arguments);_0x566f48&&_0x566f48[_0x5c3d13(0x125)]&&(_0x566f48=await _0x566f48);try{const _0x4449ca=this['getDriver']();await exports['percyAutoCapture'](_0x4449ca,_0x1322cb,_0x11555a);}catch(_0x356819){logger[_0x5c3d13(0x162)]('Error\x20patching\x20'+_0x1322cb+_0x5c3d13(0x121)+_0x356819);}return _0x566f48;};});}},exports['overrideXforPercy']=function(_0x268f03,_0x22f307,_0x358292){const _0x56d213=a147_0x15bcec,_0x23acd5={};_0x23acd5[_0x56d213(0x12f)]=function(_0x334fcc,_0xb273de){return _0x334fcc+_0xb273de;},_0x23acd5[_0x56d213(0x140)]=_0x56d213(0x163),_0x23acd5[_0x56d213(0x13a)]=function(_0x1d0118,_0x53906a){return _0x1d0118+_0x53906a;},_0x23acd5[_0x56d213(0x155)]=_0x56d213(0x141);const _0xccd443=_0x23acd5,_0x15e551=_0xccd443['sKfSd'](_0xccd443[_0x56d213(0x140)],_0x22f307),_0x87b52b=_0xccd443[_0x56d213(0x13a)](_0xccd443[_0x56d213(0x155)],_0x22f307),_0x1c3de9=this;if(_0x268f03[_0x15e551]||!_0x268f03[_0x22f307])return;_0x268f03[_0x15e551]=!![],_0x268f03[_0x87b52b]=_0x268f03[_0x22f307],_0x268f03[_0x22f307]=async()=>{const _0xd639ff=_0x56d213;try{await _0x1c3de9[_0xd639ff(0x152)](_0x268f03,_0x22f307,_0x358292);}catch(_0x1af887){logger[_0xd639ff(0x162)]('Error\x20patching\x20'+_0x22f307+_0xd639ff(0x121)+_0x1af887);}return await _0x268f03[_0x87b52b][_0xd639ff(0x150)](_0x268f03,arguments);};},exports['getPercyOptions']=_0x2ee933=>{const _0x1bcaf2=a147_0x15bcec,_0x31a78a={};_0x31a78a['hYGrX']=_0x1bcaf2(0x142);const _0x13ba65=_0x31a78a,_0x11d883={};_0x11d883[_0x1bcaf2(0x143)]=_0x2ee933[_0x1bcaf2(0x143)],_0x11d883[_0x1bcaf2(0x131)]=_0x2ee933[_0x1bcaf2(0x131)]||_0x13ba65[_0x1bcaf2(0x146)];const _0x895782=_0x11d883;_0x2ee933['percy']&&(_0x895782[_0x1bcaf2(0x123)]=exports['getBestPlatformForPercySnapshot'](_0x2ee933['platforms']));;return _0x895782;};function a147_0x20b2(){const _0x35c15b=['211XVtSAW','browserStackPercyOptions','1445759CdEzyM','error','patch','stop','startPercy','TWmBS','xMeYu','winstonLogger','screenshotApp','mhvqc','\x20for\x20percy\x20','debug','browserstackPercyBestPlatform','./PercySDK','then','../performance/constants','stopPercy','start','../performance/performance-tester','OJYbt','safari','1430nTkifE','browserstackPercyMap','63qAPHjv','sKfSd','screenshot','percyCaptureMode','292317asJlvl','deviceName','../logger','oVmsd','STOP','26142rfFtUS','increment','toLowerCase','kJMyB','firefox','yJNAL','Starting\x20percy','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','browserName','nLuEo','init','auto','percy','reduce','chrome','hYGrX','628166RVCuXg','getName','./Percy','nOEJK','Stopping\x20percy','nestedKeyValue','element','driver','browser','apply','8KlDPlV','percyAutoCapture','5QjJOdm','prototype','DzBzW','7284CWEceE','962IrMQhI','20xdVvdH','browserstackSessionName','../helper','app','208856fMtIjn','edge','measureWrapper'];a147_0x20b2=function(){return _0x35c15b;};return a147_0x20b2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133_0xe9bcd3=a133_0x3ba9;(function(_0x383ebe,_0xbd624b){const _0x405da8=a133_0x3ba9,_0x281a25=_0x383ebe();while(!![]){try{const _0x144fb6=parseInt(_0x405da8(0x1d4))/0x1+parseInt(_0x405da8(0x1b7))/0x2+parseInt(_0x405da8(0x1d2))/0x3*(parseInt(_0x405da8(0x1bb))/0x4)+-parseInt(_0x405da8(0x1c4))/0x5+-parseInt(_0x405da8(0x180))/0x6*(parseInt(_0x405da8(0x1c0))/0x7)+parseInt(_0x405da8(0x198))/0x8*(parseInt(_0x405da8(0x1bc))/0x9)+-parseInt(_0x405da8(0x1df))/0xa*(parseInt(_0x405da8(0x186))/0xb);if(_0x144fb6===_0xbd624b)break;else _0x281a25['push'](_0x281a25['shift']());}catch(_0x10f554){_0x281a25['push'](_0x281a25['shift']());}}}(a133_0x3740,0x64398));const a133_0x4f8eb1={};function a133_0x3740(){const _0x3751dc=['SDK_CLI_ON_CONNECT',':driver-manage','AFTER_ALL','TAKE_SCREENSHOT','HUB_MANAGEMENT','APP_UPLOAD','sdk:cleanup','SAVE_RESULTS','DOWNLOAD','202590eQbEWu','SDK_DRIVER',':local-stop','TURBOSCALE_EVENTS','sdk:startBinSession',':snapshot','SDK_AUTOMATION_FRAMEWORK_START',':auto-capture','SDK_TESTHUB','SDK_HOOK',':local-start','KEEP_ALIVE','HOOK_EVENTS','SESSION_ANNOTATION','SDK_CLI_ON_STOP','TESTHUB_EVENTS','PERFORM_SCAN','SDK_ON_STOP','GENERATE_CI_ARTIFACT','sdk:testSessionEvent','sdk:driver','BEFORE_ALL',':session-annotation','sdk:cli:enqueueTestEvent','SDK_SETUP',':start','SDK_PRE_TEST',':quit','SDK_AUTOMATE','SESSION_STATUS','SDK_CLI_LOG_CREATED_EVENT','A11Y_EVENTS','SDK_AUTOMATION_FRAMEWORK_STOP',':keep-alive','sdk:driverInit','DRIVER_EVENT','sdk:driver:pre-initialization','sdk:app-automate','sdk:setup','SESSION_NAME','SDK_A11Y','sdk:observabilityConfig','SDK_AI_SELF_HEAL_STEP','O11y_EVENTS','PRINT_BUILDLINK','PERCY_EVENTS','SDK_POST_INITIALIZE','SDK_AI_SELF_HEAL_GET_RESULT','54SleCIZ','EVENTS','sdk:onStop',':before','SDK_START_BIN_SESSION','sdk:pre-test','561nhrQXx','SDK_CLI_ON_BOOTSTRAP','sdk:findNearestHub',':stop','AUTOMATE_EVENTS',':app-upload','SYNC','GET','SDK_PERCY','exports','QUIT','SDK_CLI_START','sdk:o11y',':download','SDK_PRE_INITIALIZE','sdk:cli:download','POST_EXECUTE','DRIVER_MANAGE','2634776eXoTAB','SDK_CLI_CHECK_UPDATE','SDK_AUTO_CAPTURE','SDK_CLI_ENQUEUE_TEST_EVENT',':pre-execute','SDK_CONNECT_BIN_SESSION','sdk:cli:check-update','APP_AUOTMATE_EVENTS','SDK_PROXY_SETUP','sdk:percy','sdk:cli:logCreatedEvent','SDK_APP_AUTOMATE',':driver-performscan','sdk:cli:on-bootstrap',':hub-management',':session-status','SDK_CLI_DOWNLOAD','sdk:accessibilityConfig',':after-all','SDK_FIND_NEAREST_HUB','BEFORE','sdk:aiSelfHealStep','SDK_DRIVER_INIT',':session-name','AFTER_EACH',':before-all',':screenshot-app','sdk:automationFrameworkStart',':before-each','sdk:a11y','AUTO_CAPTURE','989764sFBXuK','SDK_TURBOSCALE','GET_RESULTS_SUMMARY','STOP','5800mQURIx','9zYegvr','START','GET_RESULTS','sdk:automationFrameworkInit','6321JhTHGy','SDK_POST_TEST','LOCAL_STOP','sdk:post-test','1334390GuSvGD',':print-buildlink','sdk:proxy-setup',':sync',':get-accessibility-results-summary','LOCAL_START','SDK_ACCESSIBILITY_CONFIG','sdk:aiSelfHealGetResult','SNAPSHOT',':get','SDK_TEST_SESSION_EVENT','SDK_O11Y','sdk:hook','sdk:cli:on-stop','1344MLlYQV','sdk:cli:start','244905CUjfXB','AFTER'];a133_0x3740=function(){return _0x3751dc;};return a133_0x3740();}a133_0x4f8eb1[a133_0xe9bcd3(0x1f7)]=a133_0xe9bcd3(0x176),a133_0x4f8eb1['SDK_CLEANUP']=a133_0xe9bcd3(0x1dc),a133_0x4f8eb1[a133_0xe9bcd3(0x1f9)]=a133_0xe9bcd3(0x185),a133_0x4f8eb1['SDK_TEST']='sdk:test',a133_0x4f8eb1[a133_0xe9bcd3(0x1c1)]=a133_0xe9bcd3(0x1c3),a133_0x4f8eb1[a133_0xe9bcd3(0x1e8)]=a133_0xe9bcd3(0x1d0),a133_0x4f8eb1['SDK_DRIVER']=a133_0xe9bcd3(0x1f3),a133_0x4f8eb1['SDK_A11Y']=a133_0xe9bcd3(0x1b5),a133_0x4f8eb1[a133_0xe9bcd3(0x1cf)]=a133_0xe9bcd3(0x192),a133_0x4f8eb1[a133_0xe9bcd3(0x19a)]='sdk:auto-capture',a133_0x4f8eb1[a133_0xe9bcd3(0x1a0)]=a133_0xe9bcd3(0x1c6),a133_0x4f8eb1['SDK_TESTHUB']='sdk:testhub',a133_0x4f8eb1[a133_0xe9bcd3(0x1fb)]='sdk:automate',a133_0x4f8eb1[a133_0xe9bcd3(0x1a3)]=a133_0xe9bcd3(0x175),a133_0x4f8eb1[a133_0xe9bcd3(0x1b8)]='sdk:turboscale',a133_0x4f8eb1['SDK_PERCY']=a133_0xe9bcd3(0x1a1),a133_0x4f8eb1[a133_0xe9bcd3(0x194)]=a133_0xe9bcd3(0x174),a133_0x4f8eb1[a133_0xe9bcd3(0x17e)]='sdk:driver:post-initialization',a133_0x4f8eb1[a133_0xe9bcd3(0x191)]=a133_0xe9bcd3(0x1d3),a133_0x4f8eb1[a133_0xe9bcd3(0x1a8)]=a133_0xe9bcd3(0x195),a133_0x4f8eb1[a133_0xe9bcd3(0x199)]=a133_0xe9bcd3(0x19e),a133_0x4f8eb1[a133_0xe9bcd3(0x187)]=a133_0xe9bcd3(0x1a5),a133_0x4f8eb1[a133_0xe9bcd3(0x1d6)]='sdk:cli:on-connect',a133_0x4f8eb1[a133_0xe9bcd3(0x1ed)]=a133_0xe9bcd3(0x1d1),a133_0x4f8eb1[a133_0xe9bcd3(0x184)]=a133_0xe9bcd3(0x1e3),a133_0x4f8eb1[a133_0xe9bcd3(0x19d)]='sdk:connectBinSession',a133_0x4f8eb1[a133_0xe9bcd3(0x1ae)]=a133_0xe9bcd3(0x172),a133_0x4f8eb1[a133_0xe9bcd3(0x1ab)]=a133_0xe9bcd3(0x188),a133_0x4f8eb1['SDK_AUTOMATION_FRAMEWORK_INIT']=a133_0xe9bcd3(0x1bf),a133_0x4f8eb1[a133_0xe9bcd3(0x1e5)]=a133_0xe9bcd3(0x1b3),a133_0x4f8eb1[a133_0xe9bcd3(0x1ca)]=a133_0xe9bcd3(0x1a9),a133_0x4f8eb1['SDK_OBSERVABILITY_CONFIG']=a133_0xe9bcd3(0x179),a133_0x4f8eb1[a133_0xe9bcd3(0x17a)]=a133_0xe9bcd3(0x1ad),a133_0x4f8eb1[a133_0xe9bcd3(0x17f)]=a133_0xe9bcd3(0x1cb),a133_0x4f8eb1['SDK_TEST_FRAMEWORK_EVENT']='sdk:testFrameworkEvent',a133_0x4f8eb1[a133_0xe9bcd3(0x1ce)]=a133_0xe9bcd3(0x1f2),a133_0x4f8eb1[a133_0xe9bcd3(0x16e)]=a133_0xe9bcd3(0x1a2),a133_0x4f8eb1[a133_0xe9bcd3(0x19b)]=a133_0xe9bcd3(0x1f6),a133_0x4f8eb1[a133_0xe9bcd3(0x170)]='sdk:automationFrameworkStop',a133_0x4f8eb1[a133_0xe9bcd3(0x1f0)]=a133_0xe9bcd3(0x182);const SDK_EVENTS=a133_0x4f8eb1,a133_0x28e46a={};function a133_0x3ba9(_0x32cc7a,_0x132113){const _0x3740d8=a133_0x3740();return a133_0x3ba9=function(_0x3ba907,_0x32bdcc){_0x3ba907=_0x3ba907-0x16e;let _0x19015e=_0x3740d8[_0x3ba907];return _0x19015e;},a133_0x3ba9(_0x32cc7a,_0x132113);}a133_0x28e46a[a133_0xe9bcd3(0x181)]=SDK_EVENTS,a133_0x28e46a[a133_0xe9bcd3(0x1ee)]={},a133_0x28e46a[a133_0xe9bcd3(0x18a)]={},a133_0x28e46a[a133_0xe9bcd3(0x16f)]={},a133_0x28e46a[a133_0xe9bcd3(0x17d)]={},a133_0x28e46a[a133_0xe9bcd3(0x17b)]={},a133_0x28e46a[a133_0xe9bcd3(0x1eb)]={},a133_0x28e46a[a133_0xe9bcd3(0x1e2)]={},a133_0x28e46a[a133_0xe9bcd3(0x19f)]={},a133_0x28e46a[a133_0xe9bcd3(0x173)]={},a133_0x28e46a[a133_0xe9bcd3(0x1ee)][a133_0xe9bcd3(0x1bd)]=SDK_EVENTS['SDK_TESTHUB']+a133_0xe9bcd3(0x1f8),a133_0x28e46a[a133_0xe9bcd3(0x1ee)][a133_0xe9bcd3(0x1ba)]=SDK_EVENTS[a133_0xe9bcd3(0x1e7)]+a133_0xe9bcd3(0x189),a133_0x28e46a[a133_0xe9bcd3(0x18a)][a133_0xe9bcd3(0x1ea)]=SDK_EVENTS[a133_0xe9bcd3(0x1fb)]+a133_0xe9bcd3(0x171),a133_0x28e46a[a133_0xe9bcd3(0x18a)][a133_0xe9bcd3(0x1da)]=SDK_EVENTS['SDK_AUTOMATE']+a133_0xe9bcd3(0x1a6),a133_0x28e46a[a133_0xe9bcd3(0x18a)][a133_0xe9bcd3(0x1c9)]=SDK_EVENTS[a133_0xe9bcd3(0x1fb)]+a133_0xe9bcd3(0x1e9),a133_0x28e46a[a133_0xe9bcd3(0x18a)][a133_0xe9bcd3(0x1c2)]=SDK_EVENTS[a133_0xe9bcd3(0x1fb)]+a133_0xe9bcd3(0x1e1),a133_0x28e46a[a133_0xe9bcd3(0x18a)][a133_0xe9bcd3(0x197)]=SDK_EVENTS['SDK_AUTOMATE']+a133_0xe9bcd3(0x1d7),a133_0x28e46a[a133_0xe9bcd3(0x18a)][a133_0xe9bcd3(0x177)]=SDK_EVENTS[a133_0xe9bcd3(0x1fb)]+a133_0xe9bcd3(0x1af),a133_0x28e46a[a133_0xe9bcd3(0x18a)][a133_0xe9bcd3(0x1fc)]=SDK_EVENTS['SDK_AUTOMATE']+a133_0xe9bcd3(0x1a7),a133_0x28e46a[a133_0xe9bcd3(0x18a)][a133_0xe9bcd3(0x1ec)]=SDK_EVENTS['SDK_AUTOMATE']+a133_0xe9bcd3(0x1f5),a133_0x28e46a[a133_0xe9bcd3(0x18a)]['IDLE_TIMEOUT']=SDK_EVENTS[a133_0xe9bcd3(0x1fb)]+':idle-timeout',a133_0x28e46a[a133_0xe9bcd3(0x18a)][a133_0xe9bcd3(0x1f1)]=SDK_EVENTS[a133_0xe9bcd3(0x1fb)]+':ci-artifacts',a133_0x28e46a[a133_0xe9bcd3(0x18a)][a133_0xe9bcd3(0x17c)]=SDK_EVENTS['SDK_AUTOMATE']+a133_0xe9bcd3(0x1c5),a133_0x28e46a[a133_0xe9bcd3(0x16f)][a133_0xe9bcd3(0x1ef)]=SDK_EVENTS[a133_0xe9bcd3(0x178)]+a133_0xe9bcd3(0x1a4),a133_0x28e46a[a133_0xe9bcd3(0x16f)][a133_0xe9bcd3(0x1dd)]=SDK_EVENTS[a133_0xe9bcd3(0x178)]+':save-results',a133_0x28e46a[a133_0xe9bcd3(0x16f)][a133_0xe9bcd3(0x1be)]=SDK_EVENTS[a133_0xe9bcd3(0x178)]+':get-accessibility-results',a133_0x28e46a[a133_0xe9bcd3(0x16f)][a133_0xe9bcd3(0x1b9)]=SDK_EVENTS['SDK_A11Y']+a133_0xe9bcd3(0x1c8),a133_0x28e46a[a133_0xe9bcd3(0x17d)][a133_0xe9bcd3(0x1de)]=SDK_EVENTS[a133_0xe9bcd3(0x18e)]+a133_0xe9bcd3(0x193),a133_0x28e46a[a133_0xe9bcd3(0x17d)]['SCREENSHOT']=SDK_EVENTS[a133_0xe9bcd3(0x18e)]+':screenshot',a133_0x28e46a[a133_0xe9bcd3(0x17d)][a133_0xe9bcd3(0x1bd)]=SDK_EVENTS['SDK_PERCY']+a133_0xe9bcd3(0x1f8),a133_0x28e46a[a133_0xe9bcd3(0x17d)][a133_0xe9bcd3(0x1ba)]=SDK_EVENTS[a133_0xe9bcd3(0x18e)]+a133_0xe9bcd3(0x189),a133_0x28e46a[a133_0xe9bcd3(0x17d)][a133_0xe9bcd3(0x1b6)]=SDK_EVENTS[a133_0xe9bcd3(0x18e)]+a133_0xe9bcd3(0x1e6),a133_0x28e46a[a133_0xe9bcd3(0x17d)][a133_0xe9bcd3(0x1cc)]=SDK_EVENTS[a133_0xe9bcd3(0x18e)]+a133_0xe9bcd3(0x1e4),a133_0x28e46a[a133_0xe9bcd3(0x17d)]['SCREENSHOT_APP']=SDK_EVENTS['SDK_PERCY']+a133_0xe9bcd3(0x1b2),a133_0x28e46a[a133_0xe9bcd3(0x17b)][a133_0xe9bcd3(0x18c)]=SDK_EVENTS[a133_0xe9bcd3(0x1cf)]+a133_0xe9bcd3(0x1c7),a133_0x28e46a[a133_0xe9bcd3(0x17b)][a133_0xe9bcd3(0x1d9)]=SDK_EVENTS[a133_0xe9bcd3(0x1cf)]+':driver-takeScreenShot',a133_0x28e46a[a133_0xe9bcd3(0x17b)][a133_0xe9bcd3(0x17c)]=SDK_EVENTS[a133_0xe9bcd3(0x1cf)]+a133_0xe9bcd3(0x1c5),a133_0x28e46a[a133_0xe9bcd3(0x1eb)]['BEFORE_EACH']=SDK_EVENTS['SDK_HOOK']+a133_0xe9bcd3(0x1b4),a133_0x28e46a[a133_0xe9bcd3(0x1eb)][a133_0xe9bcd3(0x1b0)]=SDK_EVENTS[a133_0xe9bcd3(0x1e8)]+':after-each',a133_0x28e46a[a133_0xe9bcd3(0x1eb)][a133_0xe9bcd3(0x1d8)]=SDK_EVENTS[a133_0xe9bcd3(0x1e8)]+a133_0xe9bcd3(0x1aa),a133_0x28e46a[a133_0xe9bcd3(0x1eb)][a133_0xe9bcd3(0x1f4)]=SDK_EVENTS['SDK_HOOK']+a133_0xe9bcd3(0x1b1),a133_0x28e46a[a133_0xe9bcd3(0x1eb)][a133_0xe9bcd3(0x1ac)]=SDK_EVENTS[a133_0xe9bcd3(0x1e8)]+a133_0xe9bcd3(0x183),a133_0x28e46a[a133_0xe9bcd3(0x1eb)][a133_0xe9bcd3(0x1d5)]=SDK_EVENTS[a133_0xe9bcd3(0x1e8)]+':after',a133_0x28e46a[a133_0xe9bcd3(0x1e2)]['HUB_MANAGEMENT']=SDK_EVENTS['SDK_TURBOSCALE']+a133_0xe9bcd3(0x1a6),a133_0x28e46a[a133_0xe9bcd3(0x1e2)][a133_0xe9bcd3(0x17c)]=SDK_EVENTS[a133_0xe9bcd3(0x1b8)]+a133_0xe9bcd3(0x1c5),a133_0x28e46a[a133_0xe9bcd3(0x19f)][a133_0xe9bcd3(0x1db)]=SDK_EVENTS[a133_0xe9bcd3(0x1a3)]+a133_0xe9bcd3(0x18b),a133_0x28e46a[a133_0xe9bcd3(0x173)][a133_0xe9bcd3(0x190)]=SDK_EVENTS['SDK_DRIVER']+a133_0xe9bcd3(0x1fa),a133_0x28e46a[a133_0xe9bcd3(0x173)][a133_0xe9bcd3(0x18d)]=SDK_EVENTS[a133_0xe9bcd3(0x1e0)]+a133_0xe9bcd3(0x1cd),a133_0x28e46a[a133_0xe9bcd3(0x173)]['PRE_EXECUTE']=SDK_EVENTS[a133_0xe9bcd3(0x1e0)]+a133_0xe9bcd3(0x19c),a133_0x28e46a[a133_0xe9bcd3(0x173)][a133_0xe9bcd3(0x196)]=SDK_EVENTS[a133_0xe9bcd3(0x1e0)]+':post-execute',module[a133_0xe9bcd3(0x18f)]=a133_0x28e46a;
|
|
1
|
+
const a148_0x20215e=a148_0x4ec3;(function(_0x408ca9,_0x306654){const _0x35192f=a148_0x4ec3,_0x5d4688=_0x408ca9();while(!![]){try{const _0x1ff7a1=-parseInt(_0x35192f(0x1e3))/0x1*(parseInt(_0x35192f(0x1e4))/0x2)+-parseInt(_0x35192f(0x1d4))/0x3*(-parseInt(_0x35192f(0x1fa))/0x4)+-parseInt(_0x35192f(0x1e0))/0x5*(-parseInt(_0x35192f(0x1cb))/0x6)+parseInt(_0x35192f(0x1de))/0x7+parseInt(_0x35192f(0x1cd))/0x8+parseInt(_0x35192f(0x202))/0x9+-parseInt(_0x35192f(0x1c2))/0xa;if(_0x1ff7a1===_0x306654)break;else _0x5d4688['push'](_0x5d4688['shift']());}catch(_0x143b66){_0x5d4688['push'](_0x5d4688['shift']());}}}(a148_0x2d1f,0x6041e));const a148_0xbae41d={};function a148_0x4ec3(_0x197ba1,_0x59885d){const _0x2d1ff6=a148_0x2d1f();return a148_0x4ec3=function(_0x4ec3a8,_0x48e512){_0x4ec3a8=_0x4ec3a8-0x189;let _0x5f4150=_0x2d1ff6[_0x4ec3a8];return _0x5f4150;},a148_0x4ec3(_0x197ba1,_0x59885d);}function a148_0x2d1f(){const _0x4e98e9=['SDK_FIND_NEAREST_HUB','SDK_PERCY',':screenshot','SESSION_STATUS',':save-results','PERFORM_SCAN','AFTER_ALL','DRIVER_EVENT','SAVE_RESULTS','sdk:hook','SDK_CONNECT_BIN_SESSION','TURBOSCALE_EVENTS','SDK_CLI_ON_STOP','sdk:connectBinSession','sdk:onStop','PERCY_EVENTS','sdk:testFrameworkEvent','BEFORE','AUTOMATE_EVENTS','SDK_CLEANUP','DOWNLOAD','SDK_CLI_LOG_CREATED_EVENT','EVENTS','SDK_AUTOMATION_FRAMEWORK_INIT',':ci-artifacts','A11Y_EVENTS','SDK_DRIVER','SDK_AI_SELF_HEAL_GET_RESULT','SCREENSHOT_APP','SDK_OBSERVABILITY_CONFIG',':keep-alive','QUIT','SDK_O11Y','sdk:cli:download',':get-accessibility-results','START','sdk:cli:enqueueTestEvent',':print-buildlink','16708710rJISun',':auto-capture','SDK_TURBOSCALE','STOP','APP_AUOTMATE_EVENTS','SNAPSHOT','HOOK_EVENTS',':screenshot-app','TAKE_SCREENSHOT','6USIvXF','sdk:cli:logCreatedEvent','6083208qryUWK','SDK_AUTOMATE','SDK_DRIVER_INIT','LOCAL_STOP','sdk:cleanup','SDK_APP_AUTOMATE','sdk:driverInit','3qkaheT','O11y_EVENTS','SDK_AUTOMATION_FRAMEWORK_START','SDK_AUTOMATION_FRAMEWORK_STOP','PRINT_BUILDLINK','sdk:automationFrameworkInit',':driver-manage',':download','SDK_A11Y',':start','3728879ZXCQsu','sdk:startBinSession','3530785DpCKkC','IDLE_TIMEOUT','BEFORE_EACH','1609MBQoVE','782HoqdGt','AFTER','SDK_CLI_START','SESSION_ANNOTATION',':get-accessibility-results-summary','GET',':hub-management','sdk:driver:pre-initialization','sdk:percy','SDK_ACCESSIBILITY_CONFIG',':post-execute','SDK_HOOK',':after-all','sdk:cli:on-bootstrap',':local-start','sdk:proxy-setup','SDK_POST_TEST','sdk:findNearestHub','SDK_TESTHUB',':local-stop','SDK_CLI_ENQUEUE_TEST_EVENT','SDK_PRE_TEST','730956urVIdU',':sync',':snapshot','HUB_MANAGEMENT','sdk:cli:start',':after',':stop','sdk:pre-test','4610394GCWpVK','LOCAL_START','sdk:turboscale','GET_RESULTS','sdk:automate','SDK_PROXY_SETUP','AUTO_CAPTURE','SESSION_NAME','SDK_START_BIN_SESSION',':driver-takeScreenShot','SDK_AI_SELF_HEAL_STEP','sdk:driver:post-initialization','sdk:automationFrameworkStart','sdk:app-automate',':before-all',':driver-performscan','SDK_TEST_SESSION_EVENT',':get','PRE_EXECUTE','SDK_AUTO_CAPTURE','TESTHUB_EVENTS','BEFORE_ALL'];a148_0x2d1f=function(){return _0x4e98e9;};return a148_0x2d1f();}a148_0xbae41d['SDK_SETUP']='sdk:setup',a148_0xbae41d[a148_0x20215e(0x1af)]=a148_0x20215e(0x1d1),a148_0xbae41d[a148_0x20215e(0x1f9)]=a148_0x20215e(0x201),a148_0xbae41d['SDK_TEST']='sdk:test',a148_0xbae41d[a148_0x20215e(0x1f4)]='sdk:post-test',a148_0xbae41d[a148_0x20215e(0x1ef)]=a148_0x20215e(0x1a5),a148_0xbae41d['SDK_DRIVER']='sdk:driver',a148_0xbae41d[a148_0x20215e(0x1dc)]='sdk:a11y',a148_0xbae41d[a148_0x20215e(0x1bc)]='sdk:o11y',a148_0xbae41d[a148_0x20215e(0x199)]='sdk:auto-capture',a148_0xbae41d[a148_0x20215e(0x18b)]=a148_0x20215e(0x1f3),a148_0xbae41d['SDK_TESTHUB']='sdk:testhub',a148_0xbae41d[a148_0x20215e(0x1ce)]=a148_0x20215e(0x18a),a148_0xbae41d[a148_0x20215e(0x1d2)]=a148_0x20215e(0x193),a148_0xbae41d[a148_0x20215e(0x1c4)]=a148_0x20215e(0x204),a148_0xbae41d[a148_0x20215e(0x19d)]=a148_0x20215e(0x1ec),a148_0xbae41d['SDK_PRE_INITIALIZE']=a148_0x20215e(0x1eb),a148_0xbae41d['SDK_POST_INITIALIZE']=a148_0x20215e(0x191),a148_0xbae41d[a148_0x20215e(0x1e6)]=a148_0x20215e(0x1fe),a148_0xbae41d['SDK_CLI_DOWNLOAD']=a148_0x20215e(0x1bd),a148_0xbae41d['SDK_CLI_CHECK_UPDATE']='sdk:cli:check-update',a148_0xbae41d['SDK_CLI_ON_BOOTSTRAP']=a148_0x20215e(0x1f1),a148_0xbae41d['SDK_CLI_ON_CONNECT']='sdk:cli:on-connect',a148_0xbae41d[a148_0x20215e(0x1a8)]='sdk:cli:on-stop',a148_0xbae41d[a148_0x20215e(0x18e)]=a148_0x20215e(0x1df),a148_0xbae41d[a148_0x20215e(0x1a6)]=a148_0x20215e(0x1a9),a148_0xbae41d[a148_0x20215e(0x1cf)]=a148_0x20215e(0x1d3),a148_0xbae41d[a148_0x20215e(0x19c)]=a148_0x20215e(0x1f5),a148_0xbae41d[a148_0x20215e(0x1b3)]=a148_0x20215e(0x1d9),a148_0xbae41d[a148_0x20215e(0x1d6)]=a148_0x20215e(0x192),a148_0xbae41d[a148_0x20215e(0x1ed)]='sdk:accessibilityConfig',a148_0xbae41d[a148_0x20215e(0x1b9)]='sdk:observabilityConfig',a148_0xbae41d[a148_0x20215e(0x190)]='sdk:aiSelfHealStep',a148_0xbae41d[a148_0x20215e(0x1b7)]='sdk:aiSelfHealGetResult',a148_0xbae41d['SDK_TEST_FRAMEWORK_EVENT']=a148_0x20215e(0x1ac),a148_0xbae41d[a148_0x20215e(0x196)]='sdk:testSessionEvent',a148_0xbae41d[a148_0x20215e(0x1b1)]=a148_0x20215e(0x1cc),a148_0xbae41d[a148_0x20215e(0x1f8)]=a148_0x20215e(0x1c0),a148_0xbae41d[a148_0x20215e(0x1d7)]='sdk:automationFrameworkStop',a148_0xbae41d['SDK_ON_STOP']=a148_0x20215e(0x1aa);const SDK_EVENTS=a148_0xbae41d,a148_0x671d70={};a148_0x671d70[a148_0x20215e(0x1b2)]=SDK_EVENTS,a148_0x671d70[a148_0x20215e(0x19a)]={},a148_0x671d70[a148_0x20215e(0x1ae)]={},a148_0x671d70[a148_0x20215e(0x1b5)]={},a148_0x671d70[a148_0x20215e(0x1ab)]={},a148_0x671d70[a148_0x20215e(0x1d5)]={},a148_0x671d70[a148_0x20215e(0x1c8)]={},a148_0x671d70[a148_0x20215e(0x1a7)]={},a148_0x671d70[a148_0x20215e(0x1c6)]={},a148_0x671d70[a148_0x20215e(0x1a3)]={},a148_0x671d70[a148_0x20215e(0x19a)][a148_0x20215e(0x1bf)]=SDK_EVENTS[a148_0x20215e(0x1f6)]+':start',a148_0x671d70[a148_0x20215e(0x19a)][a148_0x20215e(0x1c5)]=SDK_EVENTS[a148_0x20215e(0x1f6)]+a148_0x20215e(0x200),a148_0x671d70[a148_0x20215e(0x1ae)]['KEEP_ALIVE']=SDK_EVENTS['SDK_AUTOMATE']+a148_0x20215e(0x1ba),a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x1fd)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+':hub-management',a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x203)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+a148_0x20215e(0x1f2),a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x1d0)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+a148_0x20215e(0x1f7),a148_0x671d70[a148_0x20215e(0x1ae)]['DRIVER_MANAGE']=SDK_EVENTS[a148_0x20215e(0x1ce)]+a148_0x20215e(0x1da),a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x18d)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+':session-name',a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x19f)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+':session-status',a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x1e7)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+':session-annotation',a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x1e1)]=SDK_EVENTS[a148_0x20215e(0x1ce)]+':idle-timeout',a148_0x671d70[a148_0x20215e(0x1ae)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS['SDK_AUTOMATE']+a148_0x20215e(0x1b4),a148_0x671d70[a148_0x20215e(0x1ae)][a148_0x20215e(0x1d8)]=SDK_EVENTS['SDK_AUTOMATE']+a148_0x20215e(0x1c1),a148_0x671d70[a148_0x20215e(0x1b5)][a148_0x20215e(0x1a1)]=SDK_EVENTS['SDK_A11Y']+a148_0x20215e(0x195),a148_0x671d70[a148_0x20215e(0x1b5)][a148_0x20215e(0x1a4)]=SDK_EVENTS[a148_0x20215e(0x1dc)]+a148_0x20215e(0x1a0),a148_0x671d70[a148_0x20215e(0x1b5)][a148_0x20215e(0x189)]=SDK_EVENTS[a148_0x20215e(0x1dc)]+a148_0x20215e(0x1be),a148_0x671d70[a148_0x20215e(0x1b5)]['GET_RESULTS_SUMMARY']=SDK_EVENTS[a148_0x20215e(0x1dc)]+a148_0x20215e(0x1e8),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x1b0)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x1db),a148_0x671d70[a148_0x20215e(0x1ab)]['SCREENSHOT']=SDK_EVENTS['SDK_PERCY']+a148_0x20215e(0x19e),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x1bf)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x1dd),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x1c5)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x200),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x18c)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x1c3),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x1c7)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x1fc),a148_0x671d70[a148_0x20215e(0x1ab)][a148_0x20215e(0x1b8)]=SDK_EVENTS[a148_0x20215e(0x19d)]+a148_0x20215e(0x1c9),a148_0x671d70[a148_0x20215e(0x1d5)]['SYNC']=SDK_EVENTS[a148_0x20215e(0x1bc)]+a148_0x20215e(0x1fb),a148_0x671d70[a148_0x20215e(0x1d5)][a148_0x20215e(0x1ca)]=SDK_EVENTS[a148_0x20215e(0x1bc)]+a148_0x20215e(0x18f),a148_0x671d70[a148_0x20215e(0x1d5)][a148_0x20215e(0x1d8)]=SDK_EVENTS['SDK_O11Y']+a148_0x20215e(0x1c1),a148_0x671d70[a148_0x20215e(0x1c8)][a148_0x20215e(0x1e2)]=SDK_EVENTS[a148_0x20215e(0x1ef)]+':before-each',a148_0x671d70[a148_0x20215e(0x1c8)]['AFTER_EACH']=SDK_EVENTS['SDK_HOOK']+':after-each',a148_0x671d70[a148_0x20215e(0x1c8)][a148_0x20215e(0x1a2)]=SDK_EVENTS[a148_0x20215e(0x1ef)]+a148_0x20215e(0x1f0),a148_0x671d70[a148_0x20215e(0x1c8)][a148_0x20215e(0x19b)]=SDK_EVENTS[a148_0x20215e(0x1ef)]+a148_0x20215e(0x194),a148_0x671d70[a148_0x20215e(0x1c8)][a148_0x20215e(0x1ad)]=SDK_EVENTS[a148_0x20215e(0x1ef)]+':before',a148_0x671d70[a148_0x20215e(0x1c8)][a148_0x20215e(0x1e5)]=SDK_EVENTS[a148_0x20215e(0x1ef)]+a148_0x20215e(0x1ff),a148_0x671d70[a148_0x20215e(0x1a7)][a148_0x20215e(0x1fd)]=SDK_EVENTS['SDK_TURBOSCALE']+a148_0x20215e(0x1ea),a148_0x671d70[a148_0x20215e(0x1a7)][a148_0x20215e(0x1d8)]=SDK_EVENTS[a148_0x20215e(0x1c4)]+a148_0x20215e(0x1c1),a148_0x671d70[a148_0x20215e(0x1c6)]['APP_UPLOAD']=SDK_EVENTS[a148_0x20215e(0x1d2)]+':app-upload',a148_0x671d70[a148_0x20215e(0x1a3)][a148_0x20215e(0x1bb)]=SDK_EVENTS[a148_0x20215e(0x1b6)]+':quit',a148_0x671d70[a148_0x20215e(0x1a3)][a148_0x20215e(0x1e9)]=SDK_EVENTS[a148_0x20215e(0x1b6)]+a148_0x20215e(0x197),a148_0x671d70[a148_0x20215e(0x1a3)][a148_0x20215e(0x198)]=SDK_EVENTS[a148_0x20215e(0x1b6)]+':pre-execute',a148_0x671d70[a148_0x20215e(0x1a3)]['POST_EXECUTE']=SDK_EVENTS[a148_0x20215e(0x1b6)]+a148_0x20215e(0x1ee),module['exports']=a148_0x671d70;
|