browserstack-node-sdk 1.63.2 → 1.63.4
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/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 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/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/loadErrors.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 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- 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 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- 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 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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 a139_0x260ac7=a139_0x4319;(function(_0x2d08c4,_0x39f0a0){const _0x1046f6=a139_0x4319,_0x191738=_0x2d08c4();while(!![]){try{const _0x2153bd=-parseInt(_0x1046f6(0x1cd))/0x1*(parseInt(_0x1046f6(0x17d))/0x2)+parseInt(_0x1046f6(0x182))/0x3*(-parseInt(_0x1046f6(0x1c5))/0x4)+parseInt(_0x1046f6(0x1b5))/0x5*(-parseInt(_0x1046f6(0x1b9))/0x6)+-parseInt(_0x1046f6(0x1d4))/0x7*(-parseInt(_0x1046f6(0x1ae))/0x8)+parseInt(_0x1046f6(0x1bc))/0x9*(parseInt(_0x1046f6(0x1b2))/0xa)+parseInt(_0x1046f6(0x19c))/0xb+-parseInt(_0x1046f6(0x1a8))/0xc;if(_0x2153bd===_0x39f0a0)break;else _0x191738['push'](_0x191738['shift']());}catch(_0x40497b){_0x191738['push'](_0x191738['shift']());}}}(a139_0x46b8,0x1b3c4));const winston=require(a139_0x260ac7(0x17a)),path=require(a139_0x260ac7(0x194)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a139_0x260ac7(0x19f)),tempLogDir=a139_0x260ac7(0x18e);let redactRegex=null,lastConfigHash='';function a139_0x4319(_0x5a9c6d,_0x41074d){const _0x46b800=a139_0x46b8();return a139_0x4319=function(_0x4319fb,_0x415a57){_0x4319fb=_0x4319fb-0x176;let _0x314956=_0x46b800[_0x4319fb];return _0x314956;},a139_0x4319(_0x5a9c6d,_0x41074d);}const logFormat=winston[a139_0x260ac7(0x19d)](_0x42b5b8=>{const _0x34bb5a=a139_0x260ac7,_0x3cfa79={};_0x3cfa79[_0x34bb5a(0x1a4)]=function(_0x3dda6c,_0x96d391){return _0x3dda6c!==_0x96d391;},_0x3cfa79[_0x34bb5a(0x1cf)]='string',_0x3cfa79['CJOKE']=function(_0x1cf85b,_0xf3500b){return _0x1cf85b+_0xf3500b;},_0x3cfa79[_0x34bb5a(0x1ab)]=function(_0x127397,_0x5f50f1){return _0x127397+_0x5f50f1;},_0x3cfa79[_0x34bb5a(0x190)]=function(_0x3a798b,_0x13c5e7){return _0x3a798b>_0x13c5e7;},_0x3cfa79[_0x34bb5a(0x1a5)]=_0x34bb5a(0x1c4);const _0x575616=_0x3cfa79;_0x575616['fXWJd'](typeof _0x42b5b8[_0x34bb5a(0x18f)],_0x575616[_0x34bb5a(0x1cf)])&&(_0x42b5b8[_0x34bb5a(0x18f)]=JSON[_0x34bb5a(0x178)](_0x42b5b8['message']));const _0x5eb264=global[_0x34bb5a(0x1a7)]&&global['config'][_0x34bb5a(0x192)]||'',_0x385829=global[_0x34bb5a(0x1a7)]&&global['config'][_0x34bb5a(0x18c)]||'',_0x46ed02=_0x575616[_0x34bb5a(0x198)](_0x575616[_0x34bb5a(0x1ab)](_0x5eb264,'|'),_0x385829);if(_0x575616['fXWJd'](_0x46ed02,lastConfigHash)){lastConfigHash=_0x46ed02;const _0x1bdff5=[_0x5eb264,_0x385829][_0x34bb5a(0x1bd)](Boolean);if(_0x575616[_0x34bb5a(0x190)](_0x1bdff5[_0x34bb5a(0x1a1)],0x0)){const _0x52a003=_0x1bdff5[_0x34bb5a(0x179)](_0x5386ea=>_0x5386ea[_0x34bb5a(0x183)](/[.*+?^${}()|[\]\\]/g,_0x34bb5a(0x19b)))['join']('|');redactRegex=new RegExp(_0x52a003,'g');}else redactRegex=null;}return redactRegex&&(_0x42b5b8['message']=_0x42b5b8['message']['replace'](redactRegex,_0x575616[_0x34bb5a(0x1a5)])),_0x42b5b8;}),SENSITIVE_HEADER_REGEX=/authorization|token|cookie|secret|^x-api-key$|accesskey|password/i,maskHeaders=_0x125e96=>{const _0x5b3e67=a139_0x260ac7,_0x6357d9={};_0x6357d9[_0x5b3e67(0x1cc)]=function(_0x24524e,_0x45e03c){return _0x24524e!==_0x45e03c;},_0x6357d9[_0x5b3e67(0x1bb)]=_0x5b3e67(0x1ce),_0x6357d9[_0x5b3e67(0x1ca)]=_0x5b3e67(0x1c4),_0x6357d9['Rnipl']=_0x5b3e67(0x193);const _0x39b830=_0x6357d9;try{if(!_0x125e96||_0x39b830[_0x5b3e67(0x1cc)](typeof _0x125e96,_0x39b830[_0x5b3e67(0x1bb)]))return _0x125e96;const _0x1d0f64={};for(const _0x5aeba0 of Object[_0x5b3e67(0x1bf)](_0x125e96)){_0x1d0f64[_0x5aeba0]=SENSITIVE_HEADER_REGEX['test'](_0x5aeba0)?_0x39b830[_0x5b3e67(0x1ca)]:_0x125e96[_0x5aeba0];}return _0x1d0f64;}catch{return _0x39b830[_0x5b3e67(0x196)];}},fetchLogDir=()=>{const _0x2701b3=a139_0x260ac7;if(process['env'][_0x2701b3(0x1d0)])return process[_0x2701b3(0x187)][_0x2701b3(0x1d0)];else!fs['existsSync'](tempLogDir)&&fs[_0x2701b3(0x17c)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x1b245d=a139_0x260ac7,_0xd83de3={};_0xd83de3[_0x1b245d(0x1c0)]='info';const _0x30821a=_0xd83de3,_0x210302=process[_0x1b245d(0x187)][_0x1b245d(0x19a)],_0x2ebd95=Object['keys'](winston['config'][_0x1b245d(0x1a2)][_0x1b245d(0x18a)]);if(_0x210302&&_0x2ebd95[_0x1b245d(0x1b6)](_0x210302['toLowerCase']()))return _0x210302[_0x1b245d(0x1a9)]();return _0x30821a[_0x1b245d(0x1c0)];},initialLogLevel=getInitialLogLevel(),a139_0x2f7023={};a139_0x2f7023[a139_0x260ac7(0x176)]='console.info',a139_0x2f7023[a139_0x260ac7(0x17f)]=initialLogLevel;const transports={'loggerConsole':new winston[(a139_0x260ac7(0x1c8))][(a139_0x260ac7(0x1be))](a139_0x2f7023),'loggerFile':new winston[(a139_0x260ac7(0x1c8))][(a139_0x260ac7(0x1af))]({'filename':path[a139_0x260ac7(0x1ad)](logDir,'/usage.log'),'level':initialLogLevel}),'debugLoggerFile':new winston[(a139_0x260ac7(0x1c8))][(a139_0x260ac7(0x1af))]({'filename':path[a139_0x260ac7(0x1ad)](logDir,a139_0x260ac7(0x1d2)),'level':a139_0x260ac7(0x1a0)}),'debugCliLoggerFile':new winston['transports'][(a139_0x260ac7(0x1af))]({'filename':path[a139_0x260ac7(0x1ad)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a139_0x260ac7(0x1a0)}),'buildLinkTransport':new winston[(a139_0x260ac7(0x1c8))][(a139_0x260ac7(0x1af))]({'filename':path[a139_0x260ac7(0x1ad)](logDir,a139_0x260ac7(0x1c1)),'level':a139_0x260ac7(0x1a0)})},automationTransports={};process[a139_0x260ac7(0x187)][a139_0x260ac7(0x1c9)]===a139_0x260ac7(0x185)&&(automationTransports['automationLoggerFile']=new winston[(a139_0x260ac7(0x1c8))][(a139_0x260ac7(0x1af))]({'filename':path['join'](logDir,a139_0x260ac7(0x1a6)),'level':a139_0x260ac7(0x1a0)}));transports['loggerConsole']['on'](a139_0x260ac7(0x195),_0x270d48=>{const _0x1a68fa=a139_0x260ac7,_0xb7e79e={};_0xb7e79e[_0x1a68fa(0x1a3)]=function(_0x5c3aa8,_0x2ed946){return _0x5c3aa8===_0x2ed946;},_0xb7e79e[_0x1a68fa(0x1b0)]='EPIPE',_0xb7e79e[_0x1a68fa(0x197)]=_0x1a68fa(0x199);const _0x470fdf=_0xb7e79e;if(_0x470fdf[_0x1a68fa(0x1a3)](_0x270d48['code'],_0x470fdf[_0x1a68fa(0x1b0)])){console['log'](_0x470fdf[_0x1a68fa(0x197)],_0x270d48['message']);return;}throw _0x270d48;});function a139_0x46b8(){const _0x20057c=['File','gMKMj','automationLogger','420JFrmLk','debug','add','30TrKZjz','includes','combine','maskHeaders','29094nvkEBh','printf','XBaiP','23337nzfAWN','filter','Console','keys','RGBJt','/usage.log','ErriX','http','[REDACTED]','4ozUTwG','uncolorize','colorize','transports','BROWSERSTACK_AUTOMATION_LOGS','pFvis','timestamp','qCeru','57rnayPv','object','NOBZA','BROWSERSTACK_INTERNAL_LOG_DIR','YYYY-MM-DD\x20HH:mm:ss','/usage-debug.log','loggerConsole','468699YNOFaS','name','\x20-\x20','stringify','map','winston','fileLogger','mkdirSync','2248vwrcxz','initialize','level','logDir','debugLoggerFile','334722yfvXPH','replace','debugCliLoggerFile','true','loggerFile','env','info','automationLoggerFile','levels','getLogDir','accessKey','winstonLogger','log','message','lvGgz','createLogger','userName','[REDACTED\x20HEADERS]','path','error','Rnipl','luJdT','CJOKE','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','BROWSERSTACK_LOG_LEVEL','\x5c$&','2409088YIgMYm','format','remove','../bin/utils/constants','silly','length','npm','kwrqa','fXWJd','peRdv','automation.log','config','942948KNRVWL','toLowerCase','buildLinkTransport','cdqcM','buildLogger','join','8JsoCzb'];a139_0x46b8=function(){return _0x20057c;};return a139_0x46b8();}const a139_0x3a7d73={};a139_0x3a7d73['format']='YYYY-MM-DD\x20HH:mm:ss';const a139_0x579201={};a139_0x579201[a139_0x260ac7(0x17f)]=!![];const winstonLoggerParams={'format':winston[a139_0x260ac7(0x19d)][a139_0x260ac7(0x1b7)](winston[a139_0x260ac7(0x19d)]['timestamp'](a139_0x3a7d73),winston[a139_0x260ac7(0x19d)]['colorize'](a139_0x579201),winston[a139_0x260ac7(0x19d)][a139_0x260ac7(0x1ba)](_0x2e5799=>_0x2e5799[a139_0x260ac7(0x1cb)]+'\x20-\x20'+_0x2e5799['level']+':\x20'+_0x2e5799['message'])),'transports':[transports[a139_0x260ac7(0x1d3)]]},a139_0x5e4861={};a139_0x5e4861[a139_0x260ac7(0x19d)]=a139_0x260ac7(0x1d1);const a139_0x5a07dd={};a139_0x5a07dd[a139_0x260ac7(0x17f)]=!![];const winstonFileLoggerParams={'format':winston[a139_0x260ac7(0x19d)][a139_0x260ac7(0x1b7)](winston['format'][a139_0x260ac7(0x1cb)](a139_0x5e4861),winston[a139_0x260ac7(0x19d)][a139_0x260ac7(0x1c7)](a139_0x5a07dd),winston['format'][a139_0x260ac7(0x1ba)](_0x3ef627=>_0x3ef627[a139_0x260ac7(0x17f)]+':\x20'+_0x3ef627[a139_0x260ac7(0x18f)])),'transports':[]},a139_0xe5eb81={};a139_0xe5eb81[a139_0x260ac7(0x19d)]='YYYY-MM-DD\x20HH:mm:ss';const a139_0x5e775d={};a139_0x5e775d[a139_0x260ac7(0x17f)]=!![];const a139_0x644da5={};a139_0x644da5[a139_0x260ac7(0x17f)]=a139_0x260ac7(0x1a0);const BuildLoggerParams={'format':winston[a139_0x260ac7(0x19d)][a139_0x260ac7(0x1b7)](winston['format']['timestamp'](a139_0xe5eb81),winston[a139_0x260ac7(0x19d)][a139_0x260ac7(0x1c7)](a139_0x5e775d),winston['format'][a139_0x260ac7(0x1ba)](_0x5e5f16=>_0x5e5f16[a139_0x260ac7(0x1cb)]+a139_0x260ac7(0x177)+_0x5e5f16[a139_0x260ac7(0x17f)]+':\x20'+_0x5e5f16[a139_0x260ac7(0x18f)])),'transports':[transports[a139_0x260ac7(0x1aa)],new winston[(a139_0x260ac7(0x1c8))][(a139_0x260ac7(0x1be))](a139_0x644da5)]},a139_0x327587={};a139_0x327587[a139_0x260ac7(0x1c3)]=()=>{},a139_0x327587[a139_0x260ac7(0x188)]=()=>{},a139_0x327587['warn']=()=>{},a139_0x327587[a139_0x260ac7(0x195)]=()=>{},a139_0x327587[a139_0x260ac7(0x1b3)]=()=>{},a139_0x327587[a139_0x260ac7(0x1a0)]=()=>{},exports[a139_0x260ac7(0x1b1)]=process[a139_0x260ac7(0x187)]['BROWSERSTACK_AUTOMATION_LOGS']===a139_0x260ac7(0x185)?winston[a139_0x260ac7(0x191)]({'format':winston[a139_0x260ac7(0x19d)]['combine'](winston['format'][a139_0x260ac7(0x1c6)](),winston[a139_0x260ac7(0x19d)][a139_0x260ac7(0x1cb)](),logFormat(),winston[a139_0x260ac7(0x19d)][a139_0x260ac7(0x1ba)](_0x472f82=>_0x472f82[a139_0x260ac7(0x17f)]+':\x20'+_0x472f82[a139_0x260ac7(0x18f)])),'transports':[automationTransports[a139_0x260ac7(0x189)]]}):a139_0x327587;const initialize=()=>{const _0x27fd23=a139_0x260ac7,_0x519b4f={};_0x519b4f['ErriX']=_0x27fd23(0x1a0);const _0x52d35b=_0x519b4f,_0x292e75=transports[_0x27fd23(0x1d3)]['level']||initialLogLevel;transports[_0x27fd23(0x186)]&&(exports[_0x27fd23(0x18d)][_0x27fd23(0x19e)](transports[_0x27fd23(0x186)]),exports[_0x27fd23(0x17b)][_0x27fd23(0x19e)](transports[_0x27fd23(0x186)])),transports[_0x27fd23(0x181)]&&(exports[_0x27fd23(0x18d)][_0x27fd23(0x19e)](transports[_0x27fd23(0x181)]),exports[_0x27fd23(0x17b)][_0x27fd23(0x19e)](transports['debugLoggerFile'])),transports['loggerFile']=new winston[(_0x27fd23(0x1c8))][(_0x27fd23(0x1af))]({'filename':path['join'](exports['logDir'],LOG_FILE_NAME),'level':_0x292e75}),transports['debugLoggerFile']=new winston['transports'][(_0x27fd23(0x1af))]({'filename':path[_0x27fd23(0x1ad)](exports[_0x27fd23(0x180)],DEBUG_LOG_FILE_NAME),'level':_0x52d35b[_0x27fd23(0x1c2)]}),transports[_0x27fd23(0x184)]=new winston['transports'][(_0x27fd23(0x1af))]({'filename':path[_0x27fd23(0x1ad)](exports['logDir'],DEBUG_CLI_LOG_FILE_NAME),'level':_0x52d35b[_0x27fd23(0x1c2)]}),exports['winstonLogger'][_0x27fd23(0x1b4)](transports[_0x27fd23(0x186)]),exports[_0x27fd23(0x18d)]['add'](transports[_0x27fd23(0x181)]),exports[_0x27fd23(0x17b)][_0x27fd23(0x1b4)](transports['loggerFile']),exports[_0x27fd23(0x17b)][_0x27fd23(0x1b4)](transports[_0x27fd23(0x181)]);};exports[a139_0x260ac7(0x18d)]=new winston[(a139_0x260ac7(0x191))](winstonLoggerParams),exports[a139_0x260ac7(0x17b)]=new winston[(a139_0x260ac7(0x191))](winstonFileLoggerParams),exports[a139_0x260ac7(0x1ac)]=new winston[(a139_0x260ac7(0x191))](BuildLoggerParams),exports['logDir']=logDir,exports[a139_0x260ac7(0x18b)]=()=>{const _0x3bcd95=a139_0x260ac7;return exports[_0x3bcd95(0x180)];},exports['transports']=transports,exports[a139_0x260ac7(0x17e)]=initialize,exports[a139_0x260ac7(0x1b8)]=maskHeaders;logDir&&initialize();
|
|
1
|
+
const a139_0x15ffaa=a139_0x4426;(function(_0x558036,_0x2ddce0){const _0x35af6a=a139_0x4426,_0x3dbe56=_0x558036();while(!![]){try{const _0x5d5c51=parseInt(_0x35af6a(0x134))/0x1+parseInt(_0x35af6a(0x157))/0x2+-parseInt(_0x35af6a(0x138))/0x3+parseInt(_0x35af6a(0x166))/0x4+-parseInt(_0x35af6a(0x162))/0x5*(-parseInt(_0x35af6a(0x175))/0x6)+-parseInt(_0x35af6a(0x132))/0x7+-parseInt(_0x35af6a(0x13b))/0x8;if(_0x5d5c51===_0x2ddce0)break;else _0x3dbe56['push'](_0x3dbe56['shift']());}catch(_0x7f868b){_0x3dbe56['push'](_0x3dbe56['shift']());}}}(a139_0x3e75,0x34d9e));const winston=require(a139_0x15ffaa(0x137)),path=require(a139_0x15ffaa(0x136)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require('../bin/utils/constants'),tempLogDir=a139_0x15ffaa(0x11f);let redactRegex=null,lastConfigHash='';const logFormat=winston[a139_0x15ffaa(0x16f)](_0x5d60a9=>{const _0xfd0d8=a139_0x15ffaa,_0xb14346={};_0xb14346[_0xfd0d8(0x173)]=function(_0x1e31d1,_0x546418){return _0x1e31d1!==_0x546418;},_0xb14346[_0xfd0d8(0x160)]=_0xfd0d8(0x14e),_0xb14346[_0xfd0d8(0x143)]=function(_0x23171a,_0x3847f0){return _0x23171a+_0x3847f0;},_0xb14346[_0xfd0d8(0x159)]=function(_0x1d208c,_0x145e60){return _0x1d208c!==_0x145e60;},_0xb14346[_0xfd0d8(0x14f)]=function(_0x5893af,_0x29a920){return _0x5893af>_0x29a920;},_0xb14346[_0xfd0d8(0x12d)]=_0xfd0d8(0x11e);const _0x127395=_0xb14346;_0x127395['sXlwq'](typeof _0x5d60a9['message'],_0x127395[_0xfd0d8(0x160)])&&(_0x5d60a9[_0xfd0d8(0x129)]=JSON[_0xfd0d8(0x16a)](_0x5d60a9[_0xfd0d8(0x129)]));const _0x20dbd8=global['config']&&global['config']['userName']||'',_0x4b8b2a=global['config']&&global['config'][_0xfd0d8(0x14a)]||'',_0x41ca97=_0x127395[_0xfd0d8(0x143)](_0x127395[_0xfd0d8(0x143)](_0x20dbd8,'|'),_0x4b8b2a);if(_0x127395[_0xfd0d8(0x159)](_0x41ca97,lastConfigHash)){lastConfigHash=_0x41ca97;const _0x4219c3=[_0x20dbd8,_0x4b8b2a][_0xfd0d8(0x176)](Boolean);if(_0x127395[_0xfd0d8(0x14f)](_0x4219c3[_0xfd0d8(0x124)],0x0)){const _0x2ea818=_0x4219c3['map'](_0x3146b3=>_0x3146b3['replace'](/[.*+?^${}()|[\]\\]/g,_0xfd0d8(0x169)))[_0xfd0d8(0x155)]('|');redactRegex=new RegExp(_0x2ea818,'g');}else redactRegex=null;}return redactRegex&&(_0x5d60a9[_0xfd0d8(0x129)]=_0x5d60a9[_0xfd0d8(0x129)][_0xfd0d8(0x15a)](redactRegex,_0x127395['escsy'])),_0x5d60a9;}),SENSITIVE_HEADER_REGEX=/authorization|token|cookie|secret|^x-api-key$|accesskey|password/i,maskHeaders=_0xb9c83b=>{const _0x1f72e9=a139_0x15ffaa,_0x3d0157={};_0x3d0157['yTEfW']=function(_0x5c3106,_0x4bc3ab){return _0x5c3106!==_0x4bc3ab;},_0x3d0157['RzEwk']=_0x1f72e9(0x15f),_0x3d0157[_0x1f72e9(0x142)]=_0x1f72e9(0x11e),_0x3d0157[_0x1f72e9(0x168)]=_0x1f72e9(0x15d);const _0x2be59a=_0x3d0157;try{if(!_0xb9c83b||_0x2be59a[_0x1f72e9(0x165)](typeof _0xb9c83b,_0x2be59a['RzEwk']))return _0xb9c83b;const _0x53242b={};for(const _0x4eb02c of Object['keys'](_0xb9c83b)){_0x53242b[_0x4eb02c]=SENSITIVE_HEADER_REGEX[_0x1f72e9(0x15c)](_0x4eb02c)?_0x2be59a[_0x1f72e9(0x142)]:_0xb9c83b[_0x4eb02c];}return _0x53242b;}catch{return _0x2be59a[_0x1f72e9(0x168)];}},fetchLogDir=()=>{const _0x3eb8a5=a139_0x15ffaa;if(process['env'][_0x3eb8a5(0x135)])return process[_0x3eb8a5(0x149)]['BROWSERSTACK_INTERNAL_LOG_DIR'];else!fs[_0x3eb8a5(0x133)](tempLogDir)&&fs[_0x3eb8a5(0x125)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x307480=a139_0x15ffaa,_0x5db07a={};_0x5db07a[_0x307480(0x12b)]=_0x307480(0x164);const _0x8f0a31=_0x5db07a,_0x151de0=process['env'][_0x307480(0x171)],_0x232fc4=Object['keys'](winston[_0x307480(0x163)][_0x307480(0x14b)][_0x307480(0x122)]);if(_0x151de0&&_0x232fc4[_0x307480(0x147)](_0x151de0[_0x307480(0x131)]()))return _0x151de0['toLowerCase']();return _0x8f0a31[_0x307480(0x12b)];},initialLogLevel=getInitialLogLevel(),a139_0x160fae={};a139_0x160fae[a139_0x15ffaa(0x14d)]='console.info',a139_0x160fae[a139_0x15ffaa(0x12a)]=initialLogLevel;const transports={'loggerConsole':new winston[(a139_0x15ffaa(0x12f))]['Console'](a139_0x160fae),'loggerFile':new winston['transports']['File']({'filename':path[a139_0x15ffaa(0x155)](logDir,a139_0x15ffaa(0x127)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a139_0x15ffaa(0x12f))][(a139_0x15ffaa(0x13d))]({'filename':path[a139_0x15ffaa(0x155)](logDir,a139_0x15ffaa(0x161)),'level':a139_0x15ffaa(0x172)}),'debugCliLoggerFile':new winston[(a139_0x15ffaa(0x12f))][(a139_0x15ffaa(0x13d))]({'filename':path[a139_0x15ffaa(0x155)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':'silly'}),'buildLinkTransport':new winston[(a139_0x15ffaa(0x12f))][(a139_0x15ffaa(0x13d))]({'filename':path['join'](logDir,a139_0x15ffaa(0x127)),'level':a139_0x15ffaa(0x172)})},automationTransports={};process[a139_0x15ffaa(0x149)]['BROWSERSTACK_AUTOMATION_LOGS']===a139_0x15ffaa(0x126)&&(automationTransports[a139_0x15ffaa(0x158)]=new winston[(a139_0x15ffaa(0x12f))][(a139_0x15ffaa(0x13d))]({'filename':path[a139_0x15ffaa(0x155)](logDir,a139_0x15ffaa(0x152)),'level':a139_0x15ffaa(0x172)}));transports[a139_0x15ffaa(0x170)]['on'](a139_0x15ffaa(0x153),_0x47a9e4=>{const _0xdaebf3=a139_0x15ffaa,_0x2ace83={};_0x2ace83[_0xdaebf3(0x139)]=function(_0x2057db,_0x59fcce){return _0x2057db===_0x59fcce;},_0x2ace83[_0xdaebf3(0x16c)]='EPIPE',_0x2ace83[_0xdaebf3(0x120)]=_0xdaebf3(0x146);const _0x3097eb=_0x2ace83;if(_0x3097eb[_0xdaebf3(0x139)](_0x47a9e4[_0xdaebf3(0x16d)],_0x3097eb[_0xdaebf3(0x16c)])){console['log'](_0x3097eb['rdZBb'],_0x47a9e4[_0xdaebf3(0x129)]);return;}throw _0x47a9e4;});const a139_0x2e8527={};a139_0x2e8527['format']=a139_0x15ffaa(0x121);const a139_0x1170e0={};function a139_0x4426(_0x29e8d3,_0xca44ae){const _0x3e75ec=a139_0x3e75();return a139_0x4426=function(_0x44260c,_0x355277){_0x44260c=_0x44260c-0x11e;let _0x24ec02=_0x3e75ec[_0x44260c];return _0x24ec02;},a139_0x4426(_0x29e8d3,_0xca44ae);}a139_0x1170e0[a139_0x15ffaa(0x12a)]=!![];const winstonLoggerParams={'format':winston['format'][a139_0x15ffaa(0x13a)](winston[a139_0x15ffaa(0x16f)]['timestamp'](a139_0x2e8527),winston[a139_0x15ffaa(0x16f)]['colorize'](a139_0x1170e0),winston[a139_0x15ffaa(0x16f)][a139_0x15ffaa(0x174)](_0x55e93b=>_0x55e93b[a139_0x15ffaa(0x15e)]+'\x20-\x20'+_0x55e93b['level']+':\x20'+_0x55e93b[a139_0x15ffaa(0x129)])),'transports':[transports[a139_0x15ffaa(0x170)]]},a139_0x252a67={};a139_0x252a67[a139_0x15ffaa(0x16f)]=a139_0x15ffaa(0x121);const a139_0x139174={};a139_0x139174[a139_0x15ffaa(0x12a)]=!![];const winstonFileLoggerParams={'format':winston['format']['combine'](winston[a139_0x15ffaa(0x16f)][a139_0x15ffaa(0x15e)](a139_0x252a67),winston[a139_0x15ffaa(0x16f)][a139_0x15ffaa(0x130)](a139_0x139174),winston[a139_0x15ffaa(0x16f)][a139_0x15ffaa(0x174)](_0x2bdb0a=>_0x2bdb0a[a139_0x15ffaa(0x12a)]+':\x20'+_0x2bdb0a['message'])),'transports':[]},a139_0x243411={};a139_0x243411[a139_0x15ffaa(0x16f)]=a139_0x15ffaa(0x121);const a139_0x1943ae={};a139_0x1943ae[a139_0x15ffaa(0x12a)]=!![];const a139_0x245a06={};function a139_0x3e75(){const _0x4249f1=['level','iBEzI','BROWSERSTACK_AUTOMATION_LOGS','escsy','logDir','transports','colorize','toLowerCase','1471274dToHsE','existsSync','109425tWPXJF','BROWSERSTACK_INTERNAL_LOG_DIR','path','winston','1169157vEYXyf','bABAj','combine','1751224KxkfrA','add','File','fileLogger','warn','http','buildLogger','sWvDA','dvDux','winstonLogger','debugLoggerFile','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','includes','initialize','env','accessKey','npm','Console','name','string','vnkyc','uncolorize','remove','automation.log','error','automationLogger','join','\x20-\x20','790480BOfUSx','automationLoggerFile','SyBdd','replace','WOKHz','test','[REDACTED\x20HEADERS]','timestamp','object','dxtPZ','/usage-debug.log','10PbkdbG','config','info','yTEfW','592884zHobCe','maskHeaders','cEfkq','\x5c$&','stringify','debug','RPDdn','code','loggerFile','format','loggerConsole','BROWSERSTACK_LOG_LEVEL','silly','sXlwq','printf','1147188ttnewE','filter','[REDACTED]','log','rdZBb','YYYY-MM-DD\x20HH:mm:ss','levels','createLogger','length','mkdirSync','true','/usage.log','buildLinkTransport','message'];a139_0x3e75=function(){return _0x4249f1;};return a139_0x3e75();}a139_0x245a06[a139_0x15ffaa(0x12a)]=a139_0x15ffaa(0x172);const BuildLoggerParams={'format':winston[a139_0x15ffaa(0x16f)]['combine'](winston[a139_0x15ffaa(0x16f)][a139_0x15ffaa(0x15e)](a139_0x243411),winston[a139_0x15ffaa(0x16f)]['colorize'](a139_0x1943ae),winston[a139_0x15ffaa(0x16f)][a139_0x15ffaa(0x174)](_0x4557ee=>_0x4557ee[a139_0x15ffaa(0x15e)]+a139_0x15ffaa(0x156)+_0x4557ee[a139_0x15ffaa(0x12a)]+':\x20'+_0x4557ee[a139_0x15ffaa(0x129)])),'transports':[transports[a139_0x15ffaa(0x128)],new winston[(a139_0x15ffaa(0x12f))][(a139_0x15ffaa(0x14c))](a139_0x245a06)]},a139_0x23363e={};a139_0x23363e[a139_0x15ffaa(0x140)]=()=>{},a139_0x23363e['info']=()=>{},a139_0x23363e[a139_0x15ffaa(0x13f)]=()=>{},a139_0x23363e[a139_0x15ffaa(0x153)]=()=>{},a139_0x23363e[a139_0x15ffaa(0x16b)]=()=>{},a139_0x23363e['silly']=()=>{},exports[a139_0x15ffaa(0x154)]=process[a139_0x15ffaa(0x149)][a139_0x15ffaa(0x12c)]===a139_0x15ffaa(0x126)?winston[a139_0x15ffaa(0x123)]({'format':winston[a139_0x15ffaa(0x16f)][a139_0x15ffaa(0x13a)](winston[a139_0x15ffaa(0x16f)][a139_0x15ffaa(0x150)](),winston[a139_0x15ffaa(0x16f)]['timestamp'](),logFormat(),winston['format']['printf'](_0x43e3b6=>_0x43e3b6[a139_0x15ffaa(0x12a)]+':\x20'+_0x43e3b6[a139_0x15ffaa(0x129)])),'transports':[automationTransports[a139_0x15ffaa(0x158)]]}):a139_0x23363e;const initialize=()=>{const _0x2be323=a139_0x15ffaa,_0x573642={};_0x573642[_0x2be323(0x15b)]=_0x2be323(0x172);const _0xc3d3bd=_0x573642,_0x409baf=transports[_0x2be323(0x170)][_0x2be323(0x12a)]||initialLogLevel;transports[_0x2be323(0x16e)]&&(exports['winstonLogger']['remove'](transports['loggerFile']),exports[_0x2be323(0x13e)][_0x2be323(0x151)](transports[_0x2be323(0x16e)])),transports['debugLoggerFile']&&(exports[_0x2be323(0x144)][_0x2be323(0x151)](transports['debugLoggerFile']),exports['fileLogger'][_0x2be323(0x151)](transports[_0x2be323(0x145)])),transports[_0x2be323(0x16e)]=new winston['transports'][(_0x2be323(0x13d))]({'filename':path[_0x2be323(0x155)](exports[_0x2be323(0x12e)],LOG_FILE_NAME),'level':_0x409baf}),transports['debugLoggerFile']=new winston[(_0x2be323(0x12f))][(_0x2be323(0x13d))]({'filename':path[_0x2be323(0x155)](exports[_0x2be323(0x12e)],DEBUG_LOG_FILE_NAME),'level':_0xc3d3bd['WOKHz']}),transports['debugCliLoggerFile']=new winston[(_0x2be323(0x12f))][(_0x2be323(0x13d))]({'filename':path[_0x2be323(0x155)](exports[_0x2be323(0x12e)],DEBUG_CLI_LOG_FILE_NAME),'level':_0xc3d3bd[_0x2be323(0x15b)]}),exports['winstonLogger'][_0x2be323(0x13c)](transports[_0x2be323(0x16e)]),exports[_0x2be323(0x144)][_0x2be323(0x13c)](transports['debugLoggerFile']),exports[_0x2be323(0x13e)]['add'](transports[_0x2be323(0x16e)]),exports['fileLogger']['add'](transports[_0x2be323(0x145)]);};exports[a139_0x15ffaa(0x144)]=new winston[(a139_0x15ffaa(0x123))](winstonLoggerParams),exports[a139_0x15ffaa(0x13e)]=new winston['createLogger'](winstonFileLoggerParams),exports[a139_0x15ffaa(0x141)]=new winston[(a139_0x15ffaa(0x123))](BuildLoggerParams),exports['logDir']=logDir,exports['getLogDir']=()=>{const _0x394125=a139_0x15ffaa;return exports[_0x394125(0x12e)];},exports['transports']=transports,exports[a139_0x15ffaa(0x148)]=initialize,exports[a139_0x15ffaa(0x167)]=maskHeaders;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a140_0x3c84(_0x11b126,_0x3095b5){const _0x32b33b=a140_0x32b3();return a140_0x3c84=function(_0x3c84d7,_0x45fdbd){_0x3c84d7=_0x3c84d7-0x117;let _0x40dc9f=_0x32b33b[_0x3c84d7];return _0x40dc9f;},a140_0x3c84(_0x11b126,_0x3095b5);}const a140_0x22a978=a140_0x3c84;(function(_0x37636b,_0x1c5650){const _0x35d986=a140_0x3c84,_0x5bec5e=_0x37636b();while(!![]){try{const _0x26dc5d=parseInt(_0x35d986(0x11f))/0x1*(-parseInt(_0x35d986(0x11c))/0x2)+parseInt(_0x35d986(0x125))/0x3+-parseInt(_0x35d986(0x12c))/0x4*(parseInt(_0x35d986(0x129))/0x5)+-parseInt(_0x35d986(0x130))/0x6+parseInt(_0x35d986(0x128))/0x7+-parseInt(_0x35d986(0x134))/0x8+parseInt(_0x35d986(0x126))/0x9;if(_0x26dc5d===_0x1c5650)break;else _0x5bec5e['push'](_0x5bec5e['shift']());}catch(_0x16500e){_0x5bec5e['push'](_0x5bec5e['shift']());}}}(a140_0x32b3,0x53560));const globals=require(a140_0x22a978(0x127)),helper=require(a140_0x22a978(0x122)),logger=require(a140_0x22a978(0x124))[a140_0x22a978(0x11a)];function a140_0x32b3(){const _0x3c9467=['362524IvGGOY','testMeta','length','string','2754738ovmEFr','aUdKb','TLXSJ','getGlobal','2781240dAhwui','warn','The\x20metadata\x20object\x20is\x20not\x20valid.','testMeta-','Dvjlk','winstonLogger','fscyQ','46OtSlpH','lcnc','identifier','26055wdhDvL','VzzBR','PHzgH','./helper','setGlobal','./logger','350238ZnPWsE','18504342qRLJms','./globals','1463140EkJKPr','35dKutzK','getCentralUser','get'];a140_0x32b3=function(){return _0x3c9467;};return a140_0x32b3();}module['exports']=class TestMetadata{static['set'](_0x4f77d8={}){const _0x58ea02=a140_0x22a978,_0x233061={};_0x233061[_0x58ea02(0x121)]='testRunUUID',_0x233061[_0x58ea02(0x11b)]=function(_0x31dcd4,_0x206858){return _0x31dcd4===_0x206858;},_0x233061[_0x58ea02(0x119)]=_0x58ea02(0x12f),_0x233061['PZWBQ']=function(_0x980a45,_0x3a7f78){return _0x980a45<=_0x3a7f78;},_0x233061['VzzBR']='testMeta',_0x233061[_0x58ea02(0x132)]=_0x58ea02(0x117);const _0x417240=_0x233061,_0x5c6567=globals['getGlobal'](_0x417240[_0x58ea02(0x121)]),_0x1580ef=_0x4f77d8[_0x58ea02(0x11e)];helper[_0x58ea02(0x12a)]()[_0x58ea02(0x11d)]&&(_0x417240['fscyQ'](typeof _0x1580ef,_0x417240[_0x58ea02(0x119)])&&_0x417240['PZWBQ'](_0x1580ef[_0x58ea02(0x12e)],0x28)?_0x5c6567?globals[_0x58ea02(0x123)]('testMeta-'+_0x5c6567,_0x4f77d8):globals['setGlobal'](_0x417240[_0x58ea02(0x120)],_0x4f77d8):logger[_0x58ea02(0x135)](_0x417240[_0x58ea02(0x132)]));}static[a140_0x22a978(0x12b)](_0x428135){const _0x50edbb=a140_0x22a978,_0x6b7e98={};_0x6b7e98[_0x50edbb(0x131)]=_0x50edbb(0x12d);const _0x3e92be=_0x6b7e98;if(helper[_0x50edbb(0x12a)]()[_0x50edbb(0x11d)])return globals[_0x50edbb(0x133)](_0x50edbb(0x118)+_0x428135)||globals[_0x50edbb(0x133)](_0x3e92be[_0x50edbb(0x131)])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a141_0x2758(_0x226719,_0x1ed314){const _0x436798=a141_0x4367();return a141_0x2758=function(_0x275847,_0x198beb){_0x275847=_0x275847-0x1ec;let _0x2236a6=_0x436798[_0x275847];return _0x2236a6;},a141_0x2758(_0x226719,_0x1ed314);}const a141_0x16fdc5=a141_0x2758;(function(_0x28f060,_0x54a933){const _0x56a7c7=a141_0x2758,_0x3b6de1=_0x28f060();while(!![]){try{const _0x3d247b=-parseInt(_0x56a7c7(0x21d))/0x1*(-parseInt(_0x56a7c7(0x239))/0x2)+-parseInt(_0x56a7c7(0x253))/0x3*(-parseInt(_0x56a7c7(0x1ed))/0x4)+parseInt(_0x56a7c7(0x220))/0x5*(parseInt(_0x56a7c7(0x209))/0x6)+-parseInt(_0x56a7c7(0x25e))/0x7*(parseInt(_0x56a7c7(0x1fb))/0x8)+parseInt(_0x56a7c7(0x1ec))/0x9+parseInt(_0x56a7c7(0x1f2))/0xa+parseInt(_0x56a7c7(0x1fe))/0xb*(-parseInt(_0x56a7c7(0x257))/0xc);if(_0x3d247b===_0x54a933)break;else _0x3b6de1['push'](_0x3b6de1['shift']());}catch(_0x4f70e4){_0x3b6de1['push'](_0x3b6de1['shift']());}}}(a141_0x4367,0x5caf9));const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a141_0x16fdc5(0x1f1)),PerformanceTester=require(a141_0x16fdc5(0x20f)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a141_0x16fdc5(0x218)),helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require('./performance/constants'),util=require(a141_0x16fdc5(0x201));exports[a141_0x16fdc5(0x211)]=(_0x15276c,_0x2f0956)=>{const _0xb930c8=a141_0x16fdc5,_0x1ca964={'TIWBt':'aiHeal_isAuthenticated','HxwIK':'aiHeal:setToken','npDlA':function(_0x243f3e){return _0x243f3e();},'zHZFC':_0xb930c8(0x227),'TbLwf':function(_0x30e9c0,_0x134c49){return _0x30e9c0===_0x134c49;},'jfrxv':_0xb930c8(0x228),'FeITX':function(_0xd949ca,_0x2f9789){return _0xd949ca===_0x2f9789;},'JOuxG':_0xb930c8(0x22b),'NAPwW':function(_0xa50c18,_0x2d59f){return _0xa50c18===_0x2d59f;},'cXtCz':_0xb930c8(0x226),'AbFSt':_0xb930c8(0x262),'kHTiZ':_0xb930c8(0x24c),'tzies':function(_0x5c522e,_0x316487){return _0x5c522e+_0x316487;},'VOxcl':_0xb930c8(0x202),'SGWDn':_0xb930c8(0x24f),'lwFcG':function(_0x50e5b3,_0x2c5006){return _0x50e5b3+_0x2c5006;},'fYWeT':_0xb930c8(0x234),'BFaEU':_0xb930c8(0x22f),'BEXcG':function(_0x14e90d,_0x4c4c61){return _0x14e90d&&_0x4c4c61;},'YmbOl':_0xb930c8(0x255),'VPrvY':function(_0x4b541d,_0xe883fc){return _0x4b541d+_0xe883fc;},'jEZMV':_0xb930c8(0x261),'EhSlX':function(_0x3d766a,_0x1d1ce9){return _0x3d766a+_0x1d1ce9;},'CohFR':_0xb930c8(0x243),'OmFjK':function(_0x164349,_0x308219){return _0x164349+_0x308219;},'iLVkY':function(_0x21d437,_0x16bbe6){return _0x21d437+_0x16bbe6;},'EpvBD':'Healing\x20failed\x20for\x20command\x20using\x20','HIHlM':function(_0x1a6187,_0x30ec6d){return _0x1a6187===_0x30ec6d;},'HvyiR':_0xb930c8(0x1f7),'FaHmi':'parameters_','wHXHg':'url','fKbTn':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','cMVBi':_0xb930c8(0x245),'fhKEv':function(_0x85491e,_0x20b693){return _0x85491e===_0x20b693;},'VCPwc':'aiHeal:findElementSuccess','FlAqU':function(_0x220712){return _0x220712();},'sbHKK':_0xb930c8(0x223),'rxgoj':_0xb930c8(0x248),'wmZFB':function(_0x2990d0,_0x363463){return _0x2990d0===_0x363463;},'sLVUe':_0xb930c8(0x22e),'QVyPp':'capability','WnHFL':_0xb930c8(0x222),'WvrnV':_0xb930c8(0x208),'cGDFU':_0xb930c8(0x237)},_0x28c212=_0x15276c[_0xb930c8(0x24b)]||(helper[_0xb930c8(0x1fd)](_0x2f0956,[_0x1ca964[_0xb930c8(0x207)],_0x1ca964[_0xb930c8(0x20b)]])||helper[_0xb930c8(0x1fd)](_0x2f0956,[_0x1ca964[_0xb930c8(0x207)],_0x1ca964['WvrnV'],_0x1ca964[_0xb930c8(0x24d)]]));if(!globals[_0xb930c8(0x247)](_0x1ca964[_0xb930c8(0x214)])&&!globals[_0xb930c8(0x247)](_0x1ca964['AbFSt'])&&_0x28c212)return;_0x15276c[_0xb930c8(0x24b)]=!![],_0x15276c[_0xb930c8(0x21e)]=_0x15276c['execute'],_0x15276c[_0xb930c8(0x259)]=async _0x2d1a4b=>{const _0x2ee01e=_0xb930c8,_0x297f95={'liFPJ':_0x1ca964[_0x2ee01e(0x214)],'LjzEw':_0x1ca964[_0x2ee01e(0x22c)],'QGWKD':function(_0x4e7d9c,_0x2228a6){return _0x1ca964['fhKEv'](_0x4e7d9c,_0x2228a6);},'qngHi':_0x1ca964[_0x2ee01e(0x203)],'huQnb':_0x1ca964['AbFSt'],'Qmqqn':_0x1ca964[_0x2ee01e(0x210)],'TaIrS':function(_0x5ecbf1){const _0x51890c=_0x2ee01e;return _0x1ca964[_0x51890c(0x1ef)](_0x5ecbf1);}};try{const _0x51a839={};_0x51a839[_0x2ee01e(0x249)]=_0x2d1a4b['name_'],await PerformanceTester[_0x2ee01e(0x1fc)](PerformanceDriverEvents[_0x2ee01e(0x229)],async()=>{const _0x1e26cd=_0x2ee01e;if(!commandRepository[_0x1e26cd(0x219)]()&&globals['getGlobal'](_0x1ca964[_0x1e26cd(0x214)])){const _0x48c46f=PerformanceTester[_0x1e26cd(0x1fc)](_0x1ca964[_0x1e26cd(0x233)],async()=>{const _0x4a5595=_0x1e26cd;try{commandRepository[_0x4a5595(0x1ff)](!![]),await aiSdkWrapper['setTcgToken']((await _0x15276c[_0x4a5595(0x250)]())[_0x4a5595(0x217)]());const _0x3c2662=globals[_0x4a5595(0x247)](_0x297f95[_0x4a5595(0x23d)]);_0x3c2662&&commandRepository['setAiSessionTimeStamp']((await _0x15276c[_0x4a5595(0x250)]())[_0x4a5595(0x217)]());}catch(_0x4e75ff){logger[_0x4a5595(0x1f4)](_0x4a5595(0x20e)+_0x4e75ff);}});await _0x1ca964[_0x1e26cd(0x236)](_0x48c46f);}},_0x51a839)();const _0x4221bd=await _0x15276c['initExecute'](_0x2d1a4b);try{if(_0x1ca964[_0x2ee01e(0x21b)](_0x2d1a4b[_0x2ee01e(0x25f)],_0x1ca964['sbHKK'])||_0x1ca964[_0x2ee01e(0x22d)](_0x2d1a4b[_0x2ee01e(0x25f)],_0x1ca964[_0x2ee01e(0x204)])){const _0x24065e=_0x2d1a4b[_0x2ee01e(0x1f9)]&&_0x2d1a4b['parameters_'][_0x2ee01e(0x24a)],_0x459785=_0x2d1a4b['parameters_']&&_0x2d1a4b[_0x2ee01e(0x1f9)][_0x2ee01e(0x238)],_0x4b227c=_0x459785&&util[_0x2ee01e(0x25c)]('%j',_0x459785);if(_0x24065e&&_0x1ca964[_0x2ee01e(0x258)](typeof _0x24065e,_0x1ca964[_0x2ee01e(0x25a)])){const _0x4cc5b8=constants[_0x2ee01e(0x23c)][_0x2ee01e(0x246)](_0xe739a6=>_0x24065e[_0x2ee01e(0x200)](_0xe739a6)||_0x4b227c&&_0x4b227c[_0x2ee01e(0x200)](_0xe739a6));if(_0x4cc5b8){const _0x2040d7={};_0x2040d7['command']=_0x4cc5b8,_0x2040d7['parameters']=_0x459785;const _0x52aa95={};_0x52aa95[_0x2ee01e(0x22a)]=_0x4221bd;const _0x3eace6={};_0x3eace6[_0x2ee01e(0x21a)]=_0x2040d7,_0x3eace6['response']=_0x52aa95,automationLogger[_0x2ee01e(0x260)]('['+new Date()['toISOString']()+_0x2ee01e(0x254)+util[_0x2ee01e(0x25c)]('%j',_0x3eace6));}}}}catch(_0x992b49){logger[_0x2ee01e(0x260)](_0x2ee01e(0x24e)+_0x992b49['message']);}return await PerformanceTester[_0x2ee01e(0x1fc)](PerformanceDriverEvents[_0x2ee01e(0x20a)],async()=>{const _0x1cbbf8=_0x2ee01e;if(!helper[_0x1cbbf8(0x244)]()&&(commandRepository['isSelfHealEnabled']()||globals['getGlobal'](_0x297f95[_0x1cbbf8(0x21f)]))&&_0x297f95[_0x1cbbf8(0x1f0)](_0x2d1a4b[_0x1cbbf8(0x25f)],_0x297f95['qngHi'])&&!_0x2d1a4b['skipHealingSuccess']&&globals['getGlobal'](_0x297f95[_0x1cbbf8(0x23d)])&&globals['getGlobal'](_0x297f95['huQnb'])){const _0x4572cb=new Date(),_0x7525c8=PerformanceTester['measureWrapper'](_0x297f95[_0x1cbbf8(0x252)],async()=>{const _0x56c25c=_0x1cbbf8;return await aiSdkWrapper[_0x56c25c(0x221)](_0x2f0956,_0x15276c,_0x2d1a4b);});await _0x297f95['TaIrS'](_0x7525c8);}},{'command':_0x2d1a4b[_0x2ee01e(0x25f)]})(),_0x4221bd;}catch(_0x8ba014){await PerformanceTester[_0x2ee01e(0x1fc)](PerformanceDriverEvents[_0x2ee01e(0x20a)],async()=>{const _0x39541c=_0x2ee01e;logger[_0x39541c(0x256)](_0x1ca964['zHZFC']);try{if(!helper[_0x39541c(0x244)]()&&(_0x1ca964[_0x39541c(0x213)](_0x8ba014[_0x39541c(0x1fa)],_0x1ca964[_0x39541c(0x1ee)])||_0x1ca964[_0x39541c(0x21b)](_0x8ba014[_0x39541c(0x1fa)],_0x1ca964[_0x39541c(0x25d)]))&&_0x1ca964[_0x39541c(0x231)](_0x2d1a4b[_0x39541c(0x25f)],_0x1ca964[_0x39541c(0x203)])&&commandRepository[_0x39541c(0x216)]()&&globals[_0x39541c(0x247)](_0x1ca964['TIWBt'])&&globals[_0x39541c(0x247)](_0x1ca964[_0x39541c(0x23f)])){_0x1ca964[_0x39541c(0x231)](_0x2d1a4b['parameters_']['using'],_0x1ca964[_0x39541c(0x251)])?logger['info'](_0x1ca964[_0x39541c(0x205)](_0x1ca964[_0x39541c(0x205)](_0x1ca964[_0x39541c(0x235)],_0x2d1a4b[_0x39541c(0x1f9)][_0x39541c(0x20d)]),_0x1ca964['SGWDn'])):logger[_0x39541c(0x206)](_0x1ca964['tzies'](_0x1ca964['tzies'](_0x1ca964[_0x39541c(0x230)](_0x1ca964[_0x39541c(0x205)](_0x1ca964[_0x39541c(0x1f3)],_0x2d1a4b['parameters_']['using']),':\x20'),_0x2d1a4b[_0x39541c(0x1f9)][_0x39541c(0x20d)]),_0x1ca964['SGWDn']));const _0x29696f=PerformanceTester['measureWrapper'](_0x1ca964['BFaEU'],async()=>{const _0x304344=_0x39541c;return await aiSdkWrapper[_0x304344(0x215)](_0x2f0956,_0x15276c,_0x2d1a4b);}),_0x2ece4a=new Date(),{locatorType:_0xf9b1a2,locatorValue:_0xbe29f4,commandHealed:_0x5f5b11}=await _0x1ca964[_0x39541c(0x236)](_0x29696f);if(_0x1ca964[_0x39541c(0x242)](_0xf9b1a2,_0xbe29f4)){_0x2d1a4b['parameters_']['using']=_0xf9b1a2,_0x2d1a4b[_0x39541c(0x1f9)]['value']=_0xbe29f4,_0x2d1a4b['skipHealingSuccess']=!![];const _0x1e2a94=_0x15276c[_0x39541c(0x259)](_0x2d1a4b);return _0x1ca964[_0x39541c(0x213)](_0xf9b1a2,_0x1ca964[_0x39541c(0x251)])?logger[_0x39541c(0x206)](_0x1ca964['tzies'](_0x1ca964[_0x39541c(0x241)],_0xbe29f4)):logger[_0x39541c(0x206)](_0x1ca964['VPrvY'](_0x1ca964[_0x39541c(0x205)](_0x1ca964[_0x39541c(0x205)](_0x1ca964['jEZMV'],_0xf9b1a2),':\x20'),_0xbe29f4)),_0x1e2a94;}else!_0x5f5b11&&(_0x1ca964[_0x39541c(0x231)](_0xf9b1a2,_0x1ca964[_0x39541c(0x251)])?logger[_0x39541c(0x206)](_0x1ca964[_0x39541c(0x1f6)](_0x1ca964[_0x39541c(0x23a)],_0x2d1a4b[_0x39541c(0x1f9)][_0x39541c(0x20d)])):logger['info'](_0x1ca964[_0x39541c(0x212)](_0x1ca964[_0x39541c(0x212)](_0x1ca964[_0x39541c(0x225)](_0x1ca964[_0x39541c(0x21c)],_0x2d1a4b[_0x39541c(0x1f9)][_0x39541c(0x1f5)]),':\x20'),_0x2d1a4b['parameters_'][_0x39541c(0x20d)])));}!_0x28c212&&_0x1ca964['HIHlM'](_0x2d1a4b[_0x39541c(0x25f)],_0x1ca964[_0x39541c(0x23b)])&&helper[_0x39541c(0x1fd)](_0x2d1a4b,[_0x1ca964[_0x39541c(0x240)],_0x1ca964[_0x39541c(0x20c)]])&&!!constants[_0x39541c(0x1f8)][_0x39541c(0x246)](_0xf9d6ed=>{const _0x38e0ed=_0x39541c;return _0x8ba014[_0x38e0ed(0x224)]()[_0x38e0ed(0x200)](_0xf9d6ed);})&&helper[_0x39541c(0x25b)](_0x2d1a4b[_0x39541c(0x1f9)][_0x39541c(0x232)],!![]);}catch(_0x3fcad8){logger['debug'](_0x1ca964[_0x39541c(0x23e)],_0x3fcad8);}},{'success':![],'failure':_0x8ba014})();throw _0x8ba014;}};};function a141_0x4367(){const _0xc36f14=['name','9136cxgOjA','measureWrapper','nestedKeyValue','2079TbVMtl','setTcgTokenStatus','includes','util','findElement\x20command\x20failed\x20with\x20cssPath:\x20','cXtCz','rxgoj','tzies','info','QVyPp','bstack:options','624ECDGoR','POST_EXECUTE','WnHFL','wHXHg','value','Error\x20in\x20handling\x20TCG\x20Auth:\x20','./performance/performance-tester','VCPwc','overrideExecute','OmFjK','TbLwf','TIWBt','handleFailure','isSelfHealEnabled','getId','./logger','getTcgTokenStatus','request','FeITX','EpvBD','51898NRjikk','initExecute','LjzEw','27355mEjmTj','handleSuccess','browserstack.local','executeAsyncScript','toString','iLVkY','findElement','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','NoSuchElementError','PRE_EXECUTE','body','JavascriptError','cMVBi','HIHlM','string','aiHeal:findElementFailure','lwFcG','NAPwW','url','HxwIK','findElement\x20command\x20failed\x20with\x20','VOxcl','npDlA','local','args','2MWyece','CohFR','HvyiR','AUTOMATION_LOG_COMMANDS','liFPJ','fKbTn','AbFSt','FaHmi','YmbOl','BEXcG','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','isBrowserstackInfra','aiSdk_defaultLogDataEnabled','find','getGlobal','executeScript','command','script','patchExecute','css\x20selector','cGDFU','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20',';\x20Trying\x20to\x20heal','getSession','kHTiZ','Qmqqn','3DUnGFr','][\x20SDK-AUTOMATION\x20]\x20','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','debug','64356QMxQGm','wmZFB','execute','sLVUe','getNudgeLocalNotSetError','format','JOuxG','511zeuqRg','name_','silly','Successfully\x20healed\x20command\x20using\x20new\x20','aiHeal_isHealingEnabled','2930454qahIya','442324VixZQQ','jfrxv','FlAqU','QGWKD','./ai-sdk/autoHealHelper','4195450OUsxSM','fYWeT','error','using','EhSlX','get','NUDGE_LOCAL_ERRORS','parameters_'];a141_0x4367=function(){return _0xc36f14;};return a141_0x4367();}
|
|
1
|
+
const a141_0x2df499=a141_0x344d;(function(_0x392892,_0x469e4c){const _0x50b78f=a141_0x344d,_0x4605e9=_0x392892();while(!![]){try{const _0x3fe996=parseInt(_0x50b78f(0x13d))/0x1*(-parseInt(_0x50b78f(0x165))/0x2)+parseInt(_0x50b78f(0x16c))/0x3*(-parseInt(_0x50b78f(0x11e))/0x4)+parseInt(_0x50b78f(0x12c))/0x5+parseInt(_0x50b78f(0x132))/0x6*(parseInt(_0x50b78f(0x133))/0x7)+parseInt(_0x50b78f(0x11a))/0x8*(-parseInt(_0x50b78f(0x10f))/0x9)+parseInt(_0x50b78f(0x167))/0xa*(-parseInt(_0x50b78f(0x126))/0xb)+-parseInt(_0x50b78f(0x105))/0xc*(-parseInt(_0x50b78f(0x10d))/0xd);if(_0x3fe996===_0x469e4c)break;else _0x4605e9['push'](_0x4605e9['shift']());}catch(_0x99d019){_0x4605e9['push'](_0x4605e9['shift']());}}}(a141_0x2d9c,0x2a1cb));function a141_0x2d9c(){const _0x2fbe5e=['vDfZn','pRcpG','using','../bin/utils/constants','15KERqVn','BJoYV','includes','skipHealingSuccess','string','CBWFQ','xJiUn','aiHeal:setToken','NUDGE_LOCAL_ERRORS','patchExecute','aiSdk_defaultLogDataEnabled','uEcLo','omuMi','silly','HBxHP','12vDCAQl','overrideExecute','./logger','initExecute','setTcgToken','uDXus','toString','getSession','11469809RDPiWi','amIgI','133965NkUeBZ','ifRHQ','dvbvF','NoSuchElementError','name','bSZFa','debug','setAiSessionTimeStamp','BwODT','findElement','./ai-sdk/aiSdkWrapper','104kaEszH','aiHeal_isHealingEnabled','info','getNudgeLocalNotSetError','258948MbJJcG','handleFailure','response','JavascriptError','aIpDu','OOLyQ','util','qvVMd','2088317WJFhbV','aiHeal:findElementFailure','execute','ZSfZI','YLZCq','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','559085zpgPbl','aUSjt','owYBw','CgTUT','uYlcC','Successfully\x20healed\x20command\x20using\x20new\x20','1137390KAqgdb','7RMtyHP','executeScript','./helper','sSxfP','args','name_','css\x20selector','findElement\x20command\x20failed\x20with\x20','MADHy','format','1jaUZmQ','./performance/constants','capability','message','local','WBGJg','executeAsyncScript','parameters','value','parameters_','measureWrapper','yRgXo','AUTOMATION_LOG_COMMANDS','POST_EXECUTE','request','PRE_EXECUTE','zYaQm','find','getId','nhUHF','isBrowserstackInfra','iFWtV','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','url','CeSXz','Healing\x20failed\x20for\x20command\x20using\x20','jPsiV','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','getGlobal','zMoTK','BDAbH','handleSuccess','command','aiHeal:findElementSuccess','Jtrxg','findElement\x20command\x20failed\x20with\x20cssPath:\x20','nestedKeyValue','aiHeal_isAuthenticated','kuvDa','wLVtJ','608294rYkWQb','UaYbX','10AWQlYq'];a141_0x2d9c=function(){return _0x2fbe5e;};return a141_0x2d9c();}const {aiSdkWrapper}=require(a141_0x2df499(0x119)),{commandRepository}=require('./ai-sdk/autoHealHelper'),PerformanceTester=require('./performance/performance-tester'),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a141_0x2df499(0x107)),helper=require(a141_0x2df499(0x135)),constants=require(a141_0x2df499(0x16b)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a141_0x2df499(0x13e)),util=require(a141_0x2df499(0x124));function a141_0x344d(_0x4ed883,_0x238ea1){const _0x2d9cc9=a141_0x2d9c();return a141_0x344d=function(_0x344d99,_0x38750c){_0x344d99=_0x344d99-0xfa;let _0x5cf390=_0x2d9cc9[_0x344d99];return _0x5cf390;},a141_0x344d(_0x4ed883,_0x238ea1);}exports[a141_0x2df499(0x106)]=(_0x1d553b,_0x39293f)=>{const _0x4bb126=a141_0x2df499,_0x164e61={'wLVtJ':_0x4bb126(0x100),'sSxfP':function(_0x573c07,_0x9c2985){return _0x573c07===_0x9c2985;},'CeSXz':_0x4bb126(0x118),'omuMi':_0x4bb126(0x162),'BwODT':_0x4bb126(0x11b),'uYlcC':_0x4bb126(0x15e),'WBGJg':function(_0x2fffdf){return _0x2fffdf();},'nhUHF':_0x4bb126(0x12b),'BDEXZ':_0x4bb126(0x112),'UaYbX':_0x4bb126(0x121),'HBxHP':_0x4bb126(0x139),'YLZCq':function(_0x26a7dc,_0x45a8c5){return _0x26a7dc+_0x45a8c5;},'uEcLo':function(_0x267fe2,_0x252103){return _0x267fe2+_0x252103;},'kuvDa':_0x4bb126(0x160),'CBWFQ':';\x20Trying\x20to\x20heal','MADHy':function(_0x4aae28,_0x1e2da2){return _0x4aae28+_0x1e2da2;},'amIgI':_0x4bb126(0x13a),'UJrld':_0x4bb126(0x127),'BJoYV':function(_0x436453){return _0x436453();},'SHBYP':function(_0x1d78f3,_0x463ca6){return _0x1d78f3&&_0x463ca6;},'aIpDu':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','jPsiV':function(_0x366b07,_0x43b412){return _0x366b07+_0x43b412;},'iFWtV':function(_0x26c6e7,_0x7a51fe){return _0x26c6e7+_0x7a51fe;},'OOLyQ':_0x4bb126(0x131),'zYaQm':function(_0x2b5f15,_0x285744){return _0x2b5f15===_0x285744;},'BDAbH':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','iHOeR':function(_0x2993e3,_0x1bb6cf){return _0x2993e3+_0x1bb6cf;},'owYBw':_0x4bb126(0x156),'vDfZn':function(_0x19397f,_0x4c671d){return _0x19397f===_0x4c671d;},'ZSfZI':'get','ifRHQ':'parameters_','Jtrxg':_0x4bb126(0x154),'uDXus':_0x4bb126(0x158),'pOgeY':_0x4bb126(0xfd),'zMoTK':function(_0x223a27){return _0x223a27();},'pRcpG':_0x4bb126(0x143),'bSZFa':_0x4bb126(0x134),'hxwNt':_0x4bb126(0xfa),'xJiUn':_0x4bb126(0x13f),'dvbvF':'browserstack.local','yRgXo':'bstack:options','aUSjt':_0x4bb126(0x141)},_0x2e0507=_0x1d553b[_0x4bb126(0xff)]||(helper[_0x4bb126(0x161)](_0x39293f,[_0x164e61[_0x4bb126(0xfc)],_0x164e61[_0x4bb126(0x111)]])||helper['nestedKeyValue'](_0x39293f,[_0x164e61[_0x4bb126(0xfc)],_0x164e61[_0x4bb126(0x148)],_0x164e61[_0x4bb126(0x12d)]]));if(!globals[_0x4bb126(0x159)](_0x164e61[_0x4bb126(0x102)])&&!globals[_0x4bb126(0x159)](_0x164e61[_0x4bb126(0x117)])&&_0x2e0507)return;_0x1d553b[_0x4bb126(0xff)]=!![],_0x1d553b[_0x4bb126(0x108)]=_0x1d553b[_0x4bb126(0x128)],_0x1d553b[_0x4bb126(0x128)]=async _0x5f5bc9=>{const _0xc5f85a=_0x4bb126,_0x203dd1={'qvVMd':_0x164e61['omuMi'],'FQqMP':_0x164e61['pOgeY'],'CgTUT':function(_0x176ee3){const _0x1c37a1=a141_0x344d;return _0x164e61[_0x1c37a1(0x15a)](_0x176ee3);}};try{const _0x9855f1={};_0x9855f1[_0xc5f85a(0x15d)]=_0x5f5bc9[_0xc5f85a(0x138)],await PerformanceTester[_0xc5f85a(0x147)](PerformanceDriverEvents[_0xc5f85a(0x14c)],async()=>{const _0x305bab=_0xc5f85a;if(!commandRepository['getTcgTokenStatus']()&&globals[_0x305bab(0x159)](_0x203dd1[_0x305bab(0x125)])){const _0x2f451e=PerformanceTester[_0x305bab(0x147)](_0x203dd1['FQqMP'],async()=>{const _0x2b504b=_0x305bab;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x2b504b(0x109)]((await _0x1d553b[_0x2b504b(0x10c)]())[_0x2b504b(0x14f)]());const _0x4b43a6=globals[_0x2b504b(0x159)](_0x203dd1[_0x2b504b(0x125)]);_0x4b43a6&&commandRepository[_0x2b504b(0x116)]((await _0x1d553b[_0x2b504b(0x10c)]())['getId']());}catch(_0x2c9e77){logger['error']('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x2c9e77);}});await _0x203dd1[_0x305bab(0x12f)](_0x2f451e);}},_0x9855f1)();const _0x567a55=await _0x1d553b[_0xc5f85a(0x108)](_0x5f5bc9);try{if(_0x164e61['sSxfP'](_0x5f5bc9[_0xc5f85a(0x138)],_0x164e61[_0xc5f85a(0x169)])||_0x164e61['vDfZn'](_0x5f5bc9[_0xc5f85a(0x138)],_0x164e61[_0xc5f85a(0x114)])){const _0x428732=_0x5f5bc9[_0xc5f85a(0x146)]&&_0x5f5bc9[_0xc5f85a(0x146)]['script'],_0x579c5e=_0x5f5bc9[_0xc5f85a(0x146)]&&_0x5f5bc9[_0xc5f85a(0x146)][_0xc5f85a(0x137)],_0x19298e=_0x579c5e&&util['format']('%j',_0x579c5e);if(_0x428732&&_0x164e61[_0xc5f85a(0x14d)](typeof _0x428732,_0x164e61['hxwNt'])){const _0x195bef=constants[_0xc5f85a(0x149)]['find'](_0x5e177a=>_0x428732[_0xc5f85a(0x16e)](_0x5e177a)||_0x19298e&&_0x19298e['includes'](_0x5e177a));if(_0x195bef){const _0x1b6e60={};_0x1b6e60[_0xc5f85a(0x15d)]=_0x195bef,_0x1b6e60[_0xc5f85a(0x144)]=_0x579c5e;const _0x2cb7b6={};_0x2cb7b6['body']=_0x567a55;const _0x5a87a6={};_0x5a87a6[_0xc5f85a(0x14b)]=_0x1b6e60,_0x5a87a6[_0xc5f85a(0x120)]=_0x2cb7b6,automationLogger['silly']('['+new Date()['toISOString']()+'][\x20SDK-AUTOMATION\x20]\x20'+util[_0xc5f85a(0x13c)]('%j',_0x5a87a6));}}}}catch(_0x5167b4){logger[_0xc5f85a(0x103)](_0xc5f85a(0x153)+_0x5167b4[_0xc5f85a(0x140)]);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x3833ec=_0xc5f85a;if(!helper[_0x3833ec(0x151)]()&&(commandRepository['isSelfHealEnabled']()||globals[_0x3833ec(0x159)](_0x164e61[_0x3833ec(0x164)]))&&_0x164e61[_0x3833ec(0x136)](_0x5f5bc9[_0x3833ec(0x138)],_0x164e61[_0x3833ec(0x155)])&&!_0x5f5bc9[_0x3833ec(0x16f)]&&globals[_0x3833ec(0x159)](_0x164e61[_0x3833ec(0x102)])&&globals[_0x3833ec(0x159)](_0x164e61[_0x3833ec(0x117)])){const _0x1fd9c9=new Date(),_0x417b38=PerformanceTester[_0x3833ec(0x147)](_0x164e61[_0x3833ec(0x130)],async()=>{const _0x3715d9=_0x3833ec;return await aiSdkWrapper[_0x3715d9(0x15c)](_0x39293f,_0x1d553b,_0x5f5bc9);});await _0x164e61[_0x3833ec(0x142)](_0x417b38);}},{'command':_0x5f5bc9[_0xc5f85a(0x138)]})(),_0x567a55;}catch(_0x8b83ae){await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0xc5f85a(0x14a)],async()=>{const _0x4901a2=_0xc5f85a;logger[_0x4901a2(0x115)](_0x164e61[_0x4901a2(0x150)]);try{if(!helper[_0x4901a2(0x151)]()&&(_0x164e61['sSxfP'](_0x8b83ae[_0x4901a2(0x113)],_0x164e61['BDEXZ'])||_0x164e61[_0x4901a2(0x136)](_0x8b83ae[_0x4901a2(0x113)],_0x164e61[_0x4901a2(0x166)]))&&_0x164e61[_0x4901a2(0x136)](_0x5f5bc9[_0x4901a2(0x138)],_0x164e61[_0x4901a2(0x155)])&&commandRepository['isSelfHealEnabled']()&&globals['getGlobal'](_0x164e61['omuMi'])&&globals[_0x4901a2(0x159)](_0x164e61[_0x4901a2(0x117)])){_0x164e61[_0x4901a2(0x136)](_0x5f5bc9[_0x4901a2(0x146)][_0x4901a2(0x16a)],_0x164e61[_0x4901a2(0x104)])?logger[_0x4901a2(0x11c)](_0x164e61['YLZCq'](_0x164e61['uEcLo'](_0x164e61[_0x4901a2(0x163)],_0x5f5bc9['parameters_'][_0x4901a2(0x145)]),_0x164e61['CBWFQ'])):logger[_0x4901a2(0x11c)](_0x164e61[_0x4901a2(0x13b)](_0x164e61[_0x4901a2(0x12a)](_0x164e61[_0x4901a2(0x12a)](_0x164e61[_0x4901a2(0x12a)](_0x164e61[_0x4901a2(0x10e)],_0x5f5bc9['parameters_'][_0x4901a2(0x16a)]),':\x20'),_0x5f5bc9[_0x4901a2(0x146)][_0x4901a2(0x145)]),_0x164e61[_0x4901a2(0xfb)]));const _0x7c4054=PerformanceTester['measureWrapper'](_0x164e61['UJrld'],async()=>{const _0x28db35=_0x4901a2;return await aiSdkWrapper[_0x28db35(0x11f)](_0x39293f,_0x1d553b,_0x5f5bc9);}),_0x1d8e01=new Date(),{locatorType:_0x52af02,locatorValue:_0x127844,commandHealed:_0xc5cba0}=await _0x164e61[_0x4901a2(0x16d)](_0x7c4054);if(_0x164e61['SHBYP'](_0x52af02,_0x127844)){_0x5f5bc9[_0x4901a2(0x146)][_0x4901a2(0x16a)]=_0x52af02,_0x5f5bc9[_0x4901a2(0x146)][_0x4901a2(0x145)]=_0x127844,_0x5f5bc9[_0x4901a2(0x16f)]=!![];const _0x136b54=_0x1d553b[_0x4901a2(0x128)](_0x5f5bc9);return _0x164e61[_0x4901a2(0x136)](_0x52af02,_0x164e61['HBxHP'])?logger[_0x4901a2(0x11c)](_0x164e61[_0x4901a2(0x101)](_0x164e61[_0x4901a2(0x122)],_0x127844)):logger[_0x4901a2(0x11c)](_0x164e61[_0x4901a2(0x157)](_0x164e61[_0x4901a2(0x152)](_0x164e61[_0x4901a2(0x157)](_0x164e61[_0x4901a2(0x123)],_0x52af02),':\x20'),_0x127844)),_0x136b54;}else!_0xc5cba0&&(_0x164e61[_0x4901a2(0x14d)](_0x52af02,_0x164e61[_0x4901a2(0x104)])?logger['info'](_0x164e61[_0x4901a2(0x12a)](_0x164e61[_0x4901a2(0x15b)],_0x5f5bc9['parameters_']['value'])):logger['info'](_0x164e61[_0x4901a2(0x13b)](_0x164e61['iHOeR'](_0x164e61[_0x4901a2(0x157)](_0x164e61[_0x4901a2(0x12e)],_0x5f5bc9['parameters_'][_0x4901a2(0x16a)]),':\x20'),_0x5f5bc9['parameters_'][_0x4901a2(0x145)])));}!_0x2e0507&&_0x164e61[_0x4901a2(0x168)](_0x5f5bc9[_0x4901a2(0x138)],_0x164e61[_0x4901a2(0x129)])&&helper['nestedKeyValue'](_0x5f5bc9,[_0x164e61[_0x4901a2(0x110)],_0x164e61[_0x4901a2(0x15f)]])&&!!constants[_0x4901a2(0xfe)][_0x4901a2(0x14e)](_0x2c9053=>{const _0x2cba72=_0x4901a2;return _0x8b83ae[_0x2cba72(0x10b)]()['includes'](_0x2c9053);})&&helper[_0x4901a2(0x11d)](_0x5f5bc9[_0x4901a2(0x146)][_0x4901a2(0x154)],!![]);}catch(_0x2a2769){logger[_0x4901a2(0x115)](_0x164e61[_0x4901a2(0x10a)],_0x2a2769);}},{'success':![],'failure':_0x8b83ae})();throw _0x8b83ae;}};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a142_0x17d088=a142_0x2143;(function(_0x5cac3a,_0x54ea06){const _0x3599a=a142_0x2143,_0xb66ce2=_0x5cac3a();while(!![]){try{const _0x5252cf=-parseInt(_0x3599a(0x7a))/0x1+-parseInt(_0x3599a(0x74))/0x2+-parseInt(_0x3599a(0x86))/0x3+-parseInt(_0x3599a(0x7d))/0x4*(-parseInt(_0x3599a(0x81))/0x5)+parseInt(_0x3599a(0x8d))/0x6+parseInt(_0x3599a(0x85))/0x7*(-parseInt(_0x3599a(0x8a))/0x8)+parseInt(_0x3599a(0x75))/0x9;if(_0x5252cf===_0x54ea06)break;else _0xb66ce2['push'](_0xb66ce2['shift']());}catch(_0x39588a){_0xb66ce2['push'](_0xb66ce2['shift']());}}}(a142_0x32ff,0x8ebcb));function a142_0x2143(_0x4f7f45,_0x1a1bbe){const _0x32ff41=a142_0x32ff();return a142_0x2143=function(_0x21434e,_0x59828a){_0x21434e=_0x21434e-0x74;let _0xbc02c8=_0x32ff41[_0x21434e];return _0xbc02c8;},a142_0x2143(_0x4f7f45,_0x1a1bbe);}const PerformanceTester=require(a142_0x17d088(0x95)),O11yEvents=require(a142_0x17d088(0x8b))[a142_0x17d088(0x7c)];function a142_0x32ff(){const _0x2d5d1d=['quit','gtIcX','true','8eMfFnt','./performance/constants','patchQuit','5163006gWpZdc','quitCount_','Njdwg','catch','then','end','RGSFT','TAKE_SCREENSHOT','./performance/performance-tester','takeScreenshot','bs:addLog:','1159200gkHKST','13899501uKSWlf','start','initScreenshot','kDacj','overrideQuit','149190SjllLC','patchScreenshot','O11y_EVENTS','4SdCAnR','euGgL','Egexp','TEST_SCREENSHOT','2648780tWFENh','BS_TESTOPS_ALLOW_SCREENSHOTS','emit','initQuit','3815161Xnudni','3228546kjTiaW'];a142_0x32ff=function(){return _0x2d5d1d;};return a142_0x32ff();}exports['overrideTakeScreenshot']=_0x47ab9f=>{const _0x3bedb9=a142_0x17d088,_0x448312={'RGSFT':_0x3bedb9(0x80),'euGgL':function(_0x38a8ef,_0xb8965c){return _0x38a8ef(_0xb8965c);},'gtIcX':function(_0x42342b,_0x10faa1){return _0x42342b!==_0x10faa1;},'PJdbn':_0x3bedb9(0x89)};if(_0x448312[_0x3bedb9(0x88)](process['env'][_0x3bedb9(0x82)],_0x448312['PJdbn']))return;if(_0x47ab9f[_0x3bedb9(0x7b)])return;_0x47ab9f['patchScreenshot']=!![],_0x47ab9f[_0x3bedb9(0x77)]=_0x47ab9f[_0x3bedb9(0x96)],_0x47ab9f[_0x3bedb9(0x96)]=()=>{const _0x120c26={'kdsIe':function(_0xb1e8d8,_0x24f8eb){const _0xa868ef=a142_0x2143;return _0x448312[_0xa868ef(0x7e)](_0xb1e8d8,_0x24f8eb);}};return new Promise(function(_0x47af40,_0x4f9173){const _0x26c830=a142_0x2143,_0x1f2953={'kDacj':_0x448312[_0x26c830(0x93)],'Njdwg':function(_0xa00c51,_0x308916){const _0x54ac7c=_0x26c830;return _0x448312[_0x54ac7c(0x7e)](_0xa00c51,_0x308916);}};_0x47ab9f[_0x26c830(0x77)]()[_0x26c830(0x91)](_0x2f5db2=>{const _0x2400bd=_0x26c830;PerformanceTester[_0x2400bd(0x76)](O11yEvents[_0x2400bd(0x94)]),process[_0x2400bd(0x83)](_0x2400bd(0x97)+process['pid'],{'timestamp':new Date()['toISOString'](),'message':_0x2f5db2,'kind':_0x1f2953[_0x2400bd(0x78)]}),_0x1f2953[_0x2400bd(0x8f)](_0x47af40,_0x2f5db2),PerformanceTester['end'](O11yEvents[_0x2400bd(0x94)]);})[_0x26c830(0x90)](_0x3e4729=>{const _0x10e0f2=_0x26c830;PerformanceTester[_0x10e0f2(0x92)](O11yEvents[_0x10e0f2(0x94)]),_0x120c26['kdsIe'](_0x4f9173,_0x3e4729);});});};},exports[a142_0x17d088(0x79)]=(_0x1af5e8,_0x24fd9c=null)=>{const _0x58b152=a142_0x17d088,_0x42add8={'uSeLE':function(_0x4407c6){return _0x4407c6();},'Egexp':function(_0x517a0e,_0x165b8a){return _0x517a0e>_0x165b8a;}};if(_0x1af5e8[_0x58b152(0x8c)])return;_0x1af5e8[_0x58b152(0x8c)]=!![],_0x1af5e8[_0x58b152(0x84)]=_0x1af5e8['quit'],_0x1af5e8[_0x58b152(0x87)]=()=>{const _0x46d608=_0x58b152,_0x986c4e={'qTSSr':function(_0xf5c2f8){return _0x42add8['uSeLE'](_0xf5c2f8);}};if(_0x24fd9c){_0x24fd9c['quitCount_']+=0x1;if(_0x42add8[_0x46d608(0x7f)](_0x24fd9c['quitCount_'],0x1))return _0x1af5e8[_0x46d608(0x84)]();}else{_0x1af5e8[_0x46d608(0x8e)]+=0x1;if(_0x42add8['Egexp'](_0x1af5e8[_0x46d608(0x8e)],0x1))return _0x1af5e8[_0x46d608(0x84)]();}return new Promise(function(_0xa85336){_0x986c4e['qTSSr'](_0xa85336);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a143_0x45ea2b=a143_0x2925;function a143_0x2925(_0x32933e,_0x54fb72){const _0x40c901=a143_0x40c9();return a143_0x2925=function(_0x29255a,_0x5ac2f5){_0x29255a=_0x29255a-0x8b;let _0x4df00b=_0x40c901[_0x29255a];return _0x4df00b;},a143_0x2925(_0x32933e,_0x54fb72);}(function(_0x1c2f6b,_0x4cc01f){const _0x82a61=a143_0x2925,_0x3d69ea=_0x1c2f6b();while(!![]){try{const _0xdabca9=-parseInt(_0x82a61(0xbe))/0x1*(parseInt(_0x82a61(0xb6))/0x2)+-parseInt(_0x82a61(0xb4))/0x3*(parseInt(_0x82a61(0xb2))/0x4)+parseInt(_0x82a61(0xc9))/0x5*(-parseInt(_0x82a61(0x8f))/0x6)+parseInt(_0x82a61(0xa1))/0x7*(parseInt(_0x82a61(0xce))/0x8)+-parseInt(_0x82a61(0xc0))/0x9*(-parseInt(_0x82a61(0xa6))/0xa)+-parseInt(_0x82a61(0xad))/0xb*(-parseInt(_0x82a61(0xac))/0xc)+-parseInt(_0x82a61(0xd6))/0xd*(-parseInt(_0x82a61(0x96))/0xe);if(_0xdabca9===_0x4cc01f)break;else _0x3d69ea['push'](_0x3d69ea['shift']());}catch(_0x427812){_0x3d69ea['push'](_0x3d69ea['shift']());}}}(a143_0x40c9,0x50c5a));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a143_0x45ea2b(0x8d)),helper=require('../helper'),logger=require('../logger')[a143_0x45ea2b(0xb8)],{getLogDir}=require(a143_0x45ea2b(0xd1)),testHubConstants=require(a143_0x45ea2b(0xcc)),PerformanceTester=require(a143_0x45ea2b(0x90)),{PERCY_EVENTS:PerformanceEvents}=require(a143_0x45ea2b(0xb9)),PercyBinary=require('./PercyBinary');function a143_0x40c9(){const _0x143ad0=['stdout','createPercyConfig','wgeru','Error\x20creating\x20percy\x20config:\x20','end','CQBfP','app','MSSda','54620uAmpWn','data','projectName','../../helpers/testhub/constants','ENV_VAR','59904rFXbar','exports','Percy\x20config\x20created\x20at\x20','../logger','token','Percy\x20healthcheck\x20successful','BROWSERSTACK_TESTHUB_UUID','oXgUb','52xBHjJt','stringify','&type=','getBinaryPath','app:exec','fetchPercyToken','QbDws','tmpdir','child_process','stop','216thxVfr','../../helpers/performance/performance-tester','xoXfW','env','GET','writeFile','close','1994398WhiDqY','percy.json','Percy\x20fetch\x20token\x20success','bhaCm','hlDMN','sIOhJ','assign','DDltU','http://localhost:5338','PERCY_SERVER_ADDRESS','DOWNLOAD','112bUzRAk','KnXSt','version','healthcheck','api/app_percy/get_project_token?name=','1725340ujzofs','start','join','percy/healthcheck','pipe','push','24GWOFYi','239294hffHTe','NHsiQ','stderr','ctMvz','isProcessRunning','44IMjuIk','CjEuv','38349JSubFM','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','772054xyCZRK','ICnoV','winstonLogger','../../helpers/performance/constants','debug','nodeRequest','percyOptions','isRunning','1tmZQfS','JVRII','27zCJDgB'];a143_0x40c9=function(){return _0x143ad0;};return a143_0x40c9();}class Percy{#logfile=path[a143_0x45ea2b(0xa8)](getLogDir(),'percy.log');#address=process['env'][a143_0x45ea2b(0x9f)]||a143_0x45ea2b(0x9e);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];['isProcessRunning']=![];constructor(_0x33eb6b){const _0x36db52=a143_0x45ea2b;this.#config=_0x33eb6b,!!_0x33eb6b[_0x36db52(0xc7)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x8c4143=a143_0x45ea2b;if(!this.#binaryPath){const _0x53d656=new PercyBinary();PerformanceTester['start'](PerformanceEvents[_0x8c4143(0xa0)]),this.#binaryPath=await _0x53d656[_0x8c4143(0xd9)](this.#config),PerformanceTester[_0x8c4143(0xc5)](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x3d7d09){return new Promise(_0x586239=>setTimeout(_0x586239,_0x3d7d09));}async[a143_0x45ea2b(0xa4)](){const _0x390f19=a143_0x45ea2b,_0x55a4b8={};_0x55a4b8[_0x390f19(0xc8)]=_0x390f19(0x93),_0x55a4b8[_0x390f19(0xae)]=_0x390f19(0xa9);const _0x2da747=_0x55a4b8;try{const _0x43afc5=await helper[_0x390f19(0xbb)](_0x2da747[_0x390f19(0xc8)],_0x2da747[_0x390f19(0xae)],null,null,this.#address);if(_0x43afc5)return!![];}catch(_0x8c88b6){return![];}}async[a143_0x45ea2b(0xa7)](){const _0x1b2614=a143_0x45ea2b,_0x2e9c81={'JVRII':_0x1b2614(0xda),'hlDMN':'exec','QbDws':function(_0x323c5b,_0x35d0d4,_0x3d674d,_0x40ac9f){return _0x323c5b(_0x35d0d4,_0x3d674d,_0x40ac9f);},'ICnoV':'close','PHfHs':_0x1b2614(0xd3)},_0x43715c=await this.#getBinaryPath(),_0x54a0ec={};_0x54a0ec['flags']='a',this.#logStream=fs['createWriteStream'](this.#logfile,_0x54a0ec);const _0x27bbad=await this['fetchPercyToken'](),_0x13bb51=await this['createPercyConfig']();if(!_0x27bbad)return![];const _0x4b8979=[(this.#isApp?_0x2e9c81[_0x1b2614(0xbf)]:_0x2e9c81[_0x1b2614(0x9a)])+':start'];_0x13bb51&&_0x4b8979[_0x1b2614(0xab)]('-c',_0x13bb51);this.#proc=_0x2e9c81[_0x1b2614(0x8b)](spawn,_0x43715c,_0x4b8979,{'env':Object[_0x1b2614(0x9c)](process[_0x1b2614(0x92)],{'PERCY_TOKEN':_0x27bbad,'TH_BUILD_UUID':process[_0x1b2614(0x92)][testHubConstants[_0x1b2614(0xcd)][_0x1b2614(0xd4)]]})}),this.#proc[_0x1b2614(0xc1)][_0x1b2614(0xaa)](this.#logStream),this.#proc[_0x1b2614(0xaf)][_0x1b2614(0xaa)](this.#logStream),this[_0x1b2614(0xb1)]=!![];var _0x234ba7=this;this.#proc['on'](_0x2e9c81[_0x1b2614(0xb7)],function(_0x512060){_0x234ba7['isProcessRunning']=![];});do{const _0x48ccc5=await this[_0x1b2614(0xa4)]();if(_0x48ccc5)return logger[_0x1b2614(0xba)](_0x2e9c81['PHfHs']),!![];await this.#sleep(0x3e8);}while(this[_0x1b2614(0xb1)]);return![];}async[a143_0x45ea2b(0x8e)](){const _0x54cc21=a143_0x45ea2b,_0x146e3e={'sIOhJ':function(_0x967ecb,_0x4b2a7a){return _0x967ecb(_0x4b2a7a);},'CjEuv':function(_0x35673d,_0x504963,_0xe85388){return _0x35673d(_0x504963,_0xe85388);},'bhaCm':'exec:stop','xoXfW':_0x54cc21(0x95)},_0x2ca86d=await this.#getBinaryPath();return new Promise((_0x51c1d1,_0x4f5204)=>{const _0x120efc=_0x54cc21,_0x45f2d1=_0x146e3e[_0x120efc(0xb3)](spawn,_0x2ca86d,[_0x146e3e[_0x120efc(0x99)]]);_0x45f2d1['on'](_0x146e3e[_0x120efc(0x91)],_0x5979a3=>{const _0x5a96da=_0x120efc;this[_0x5a96da(0xb1)]=![],this.#logStream&&(this.#logStream[_0x5a96da(0xc5)](),this.#logStream=null),_0x146e3e[_0x5a96da(0x9b)](_0x51c1d1,_0x5979a3);});});}[a143_0x45ea2b(0xbd)](){const _0x4782c9=a143_0x45ea2b;return this[_0x4782c9(0xb1)];}async[a143_0x45ea2b(0xdb)](){const _0x1eaf7f=a143_0x45ea2b,_0x100070={};_0x100070[_0x1eaf7f(0xc3)]='app',_0x100070['Dtpng']='automate',_0x100070[_0x1eaf7f(0xd5)]=_0x1eaf7f(0x93),_0x100070['ctMvz']=_0x1eaf7f(0x98);const _0x5e46e5=_0x100070,_0x343324=this.#config[_0x1eaf7f(0xcb)];try{const _0x15953f=this.#isApp?_0x5e46e5[_0x1eaf7f(0xc3)]:_0x5e46e5['Dtpng'],_0x4bbb47=await helper[_0x1eaf7f(0xbb)](_0x5e46e5[_0x1eaf7f(0xd5)],_0x1eaf7f(0xa5)+_0x343324+_0x1eaf7f(0xd8)+_0x15953f,{},this.#config),_0x27634e=_0x4bbb47[_0x1eaf7f(0xca)];return logger[_0x1eaf7f(0xba)](_0x5e46e5[_0x1eaf7f(0xb0)]),_0x27634e[_0x1eaf7f(0xd2)];}catch(_0x29703d){return logger['error'](_0x1eaf7f(0xb5)+_0x29703d),null;}}async[a143_0x45ea2b(0xc2)](){const _0x34cd70=a143_0x45ea2b,_0x4d8864={'CQBfP':function(_0x1e1cae,_0x191cff){return _0x1e1cae(_0x191cff);},'KnXSt':function(_0x1e6448,_0x6d80ca){return _0x1e6448+_0x6d80ca;},'EmvUk':_0x34cd70(0xd0),'DDltU':_0x34cd70(0x97)};if(!this.#config['percyOptions'])return null;const _0x182b7c=path[_0x34cd70(0xa8)](os[_0x34cd70(0x8c)](),_0x4d8864[_0x34cd70(0x9d)]),_0x18ce44=this.#config[_0x34cd70(0xbc)];return!_0x18ce44[_0x34cd70(0xa3)]&&(_0x18ce44[_0x34cd70(0xa3)]='2'),new Promise((_0x31721a,_0x583793)=>{const _0x4a5e3c=_0x34cd70;fs[_0x4a5e3c(0x94)](_0x182b7c,JSON[_0x4a5e3c(0xd7)](_0x18ce44),_0x2cf34b=>{const _0x552282=_0x4a5e3c;_0x2cf34b&&(logger['error'](_0x552282(0xc4)+_0x2cf34b),_0x4d8864[_0x552282(0xc6)](_0x31721a,null)),logger[_0x552282(0xba)](_0x4d8864[_0x552282(0xa2)](_0x4d8864['EmvUk'],_0x182b7c)),_0x4d8864[_0x552282(0xc6)](_0x31721a,_0x182b7c);});});}}module[a143_0x45ea2b(0xcf)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a144_0x91dc9e=a144_0x2fd7;(function(_0x52bb37,_0x1bdff3){const _0x5f4495=a144_0x2fd7,_0x1e4f8a=_0x52bb37();while(!![]){try{const _0x45a3bd=parseInt(_0x5f4495(0x11c))/0x1+-parseInt(_0x5f4495(0x10a))/0x2*(-parseInt(_0x5f4495(0xad))/0x3)+-parseInt(_0x5f4495(0x105))/0x4+parseInt(_0x5f4495(0x107))/0x5*(parseInt(_0x5f4495(0xe0))/0x6)+parseInt(_0x5f4495(0xc4))/0x7+-parseInt(_0x5f4495(0x112))/0x8*(-parseInt(_0x5f4495(0xef))/0x9)+parseInt(_0x5f4495(0x113))/0xa;if(_0x45a3bd===_0x1bdff3)break;else _0x1e4f8a['push'](_0x1e4f8a['shift']());}catch(_0x438cac){_0x1e4f8a['push'](_0x1e4f8a['shift']());}}}(a144_0x42f6,0x7412a));function a144_0x2fd7(_0x3ccbb5,_0x5b4348){const _0x42f6fd=a144_0x42f6();return a144_0x2fd7=function(_0x2fd799,_0x217bbc){_0x2fd799=_0x2fd799-0x87;let _0x1dd86f=_0x42f6fd[_0x2fd799];return _0x1dd86f;},a144_0x2fd7(_0x3ccbb5,_0x5b4348);}const {https}=require(a144_0x91dc9e(0xce)),url=require(a144_0x91dc9e(0x10b)),yauzl=require(a144_0x91dc9e(0x98)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a144_0x91dc9e(0xfa)),HttpsProxyAgent=require(a144_0x91dc9e(0xc9)),logger=require('../logger')[a144_0x91dc9e(0xa4)];class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName='percy';#orderedPaths=[path['join'](this.#homedir(),a144_0x91dc9e(0x8d)),process[a144_0x91dc9e(0xda)](),os['tmpdir']()];constructor(){const _0x888100=a144_0x91dc9e,_0x17e1bf={};_0x17e1bf['WMnxD']=_0x888100(0x95),_0x17e1bf[_0x888100(0xb8)]=function(_0x379955,_0x147bf8){return _0x379955+_0x147bf8;},_0x17e1bf[_0x888100(0xab)]=_0x888100(0x8f),_0x17e1bf[_0x888100(0xcb)]=_0x888100(0xb6),_0x17e1bf[_0x888100(0x115)]=_0x888100(0x11a),_0x17e1bf[_0x888100(0xf5)]=function(_0x56cb1f,_0x40252c){return _0x56cb1f+_0x40252c;},_0x17e1bf['LQhUc']=_0x888100(0x9a);const _0x1c3c6e=_0x17e1bf,_0x6711a0=_0x1c3c6e[_0x888100(0xe1)];if(this.#hostOS[_0x888100(0x8a)](/darwin|mac os/i))this.#httpPath=_0x1c3c6e['kIwLq'](_0x6711a0,_0x1c3c6e['YoWnD']);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x1c3c6e[_0x888100(0xb8)](_0x6711a0,_0x1c3c6e[_0x888100(0xcb)]),this.#binaryName=_0x1c3c6e['kBtPF']):this.#httpPath=_0x1c3c6e[_0x888100(0xf5)](_0x6711a0,_0x1c3c6e[_0x888100(0xe4)]);}#getAvailableDirs(){const _0x45748c=a144_0x91dc9e,_0x2b7872={};_0x2b7872[_0x45748c(0x10d)]=function(_0x28c32f,_0x3c256d){return _0x28c32f<_0x3c256d;},_0x2b7872[_0x45748c(0x9d)]=_0x45748c(0x9c);const _0x4a4a0d=_0x2b7872;for(var _0x297ccd=0x0;_0x4a4a0d[_0x45748c(0x10d)](_0x297ccd,this.#orderedPaths['length']);_0x297ccd++){var _0x4177a9=this.#orderedPaths[_0x297ccd];if(this.#makePath(_0x4177a9))return _0x4177a9;}throw new Error(_0x4a4a0d[_0x45748c(0x9d)]);}#makePath(_0x395b8e){const _0xe26e00=a144_0x91dc9e;try{return _0x395b8e&&!this.#checkPath(_0x395b8e)&&fs[_0xe26e00(0x111)](_0x395b8e),!![];}catch{return![];}}#checkPath(_0x1604c7,_0x265f67){const _0x40d471=a144_0x91dc9e,_0x13a403={};_0x13a403[_0x40d471(0x117)]=function(_0x5dad14,_0x300282){return _0x5dad14|_0x300282;},_0x13a403[_0x40d471(0xa3)]=function(_0x50d90f,_0xb229a8){return _0x50d90f!==_0xb229a8;},_0x13a403['lIvIb']=_0x40d471(0xf1);const _0x430203=_0x13a403;_0x265f67=_0x265f67||_0x430203['DGKue'](fs[_0x40d471(0x100)],fs[_0x40d471(0xde)]);try{return fs['accessSync'](_0x1604c7,_0x265f67),!![];}catch(_0x32b25b){if(_0x430203[_0x40d471(0xa3)](typeof fs[_0x40d471(0xd4)],_0x430203[_0x40d471(0xaa)]))return![];try{return fs[_0x40d471(0xd7)](_0x1604c7),!![];}catch(_0x418062){return![];}}}#getETagPath(_0x58f74e){return path['join'](_0x58f74e,this.#binaryName+'.etag');}#loadETag(_0x4a21e0){const _0x2cd6ac=a144_0x91dc9e,_0x195de7={};_0x195de7[_0x2cd6ac(0xb0)]=_0x2cd6ac(0x9e);const _0x14579a=_0x195de7,_0xdad673=this.#getETagPath(_0x4a21e0);if(this.#checkPath(_0xdad673))try{return fs[_0x2cd6ac(0xdc)](_0xdad673,_0x14579a[_0x2cd6ac(0xb0)])[_0x2cd6ac(0x97)]();}catch(_0xbcb3ab){logger[_0x2cd6ac(0xf7)](_0x2cd6ac(0x99)+_0xbcb3ab);}return null;}#saveETag(_0x7c043a,_0x1b0dda){const _0xf3b001=a144_0x91dc9e,_0x2988b1={};_0x2988b1[_0xf3b001(0xbb)]=_0xf3b001(0xd5);const _0x2890fd=_0x2988b1;if(!_0x1b0dda)return;try{const _0x450069=this.#getETagPath(_0x7c043a);fs[_0xf3b001(0x108)](_0x450069,_0x1b0dda),logger['debug'](_0x2890fd[_0xf3b001(0xbb)]);}catch(_0x2b1a8e){logger[_0xf3b001(0xf7)](_0xf3b001(0xea)+_0x2b1a8e);}}async #handleBinaryDownload(_0x2288b8,_0x5210c7,_0x3a9888){const _0x28ccdc=a144_0x91dc9e,_0x2765b2={};_0x2765b2[_0x28ccdc(0xc3)]=_0x28ccdc(0xbe);const _0x2bf350=_0x2765b2,_0x44012e=await this[_0x28ccdc(0xfb)](_0x2288b8['binaryPath']);if(!_0x44012e){logger[_0x28ccdc(0x93)](_0x2bf350['JHerD']);const _0xa17820=await this['download'](_0x5210c7,_0x3a9888);return _0xa17820['binaryPath'];}return _0x2288b8[_0x28ccdc(0x10f)];}async[a144_0x91dc9e(0xb3)](_0x451e20){const _0x6e16a7=a144_0x91dc9e,_0x1a9a47={};_0x1a9a47['fuZrX']=_0x6e16a7(0x92),_0x1a9a47[_0x6e16a7(0xc6)]=_0x6e16a7(0x87);const _0x10ab87=_0x1a9a47,_0x58c599=this.#getAvailableDirs(),_0x18dff9=path['join'](_0x58c599,this.#binaryName);if(this.#checkPath(_0x18dff9,fs[_0x6e16a7(0xe2)])){const _0x478d9b=this.#loadETag(_0x58c599);if(_0x478d9b)try{const _0x415e0a=await this[_0x6e16a7(0xa9)](_0x451e20,_0x58c599,_0x478d9b);if(!_0x415e0a[_0x6e16a7(0xbf)])return logger[_0x6e16a7(0xcd)](_0x10ab87[_0x6e16a7(0xa2)]),_0x18dff9;return logger[_0x6e16a7(0xcd)](_0x10ab87[_0x6e16a7(0xc6)]),await this.#handleBinaryDownload(_0x415e0a,_0x451e20,_0x58c599);}catch(_0xbe8c7a){return logger[_0x6e16a7(0xf7)](_0x6e16a7(0xb1)+_0xbe8c7a),_0x18dff9;}}const _0x575ec2=await this[_0x6e16a7(0xa9)](_0x451e20,_0x58c599);return await this.#handleBinaryDownload(_0x575ec2,_0x451e20,_0x58c599);}[a144_0x91dc9e(0xa9)](_0x1c712c,_0x45f88b,_0x513f73=null){const _0x141cd0=a144_0x91dc9e,_0x1b8a21={'AqLlB':function(_0x477718,_0x2dfd66){return _0x477718(_0x2dfd66);},'nIuyk':function(_0x4ea4d1,_0x53ab5a){return _0x4ea4d1(_0x53ab5a);},'RYwKh':function(_0x594be8,_0x5ab16f){return _0x594be8===_0x5ab16f;},'kXRwG':_0x141cd0(0x93),'jqqIV':_0x141cd0(0x102),'PBIZQ':function(_0x436d60,_0xc4d4c4){return _0x436d60+_0xc4d4c4;},'OLgZB':_0x141cd0(0x118)};_0x45f88b&&!this.#checkPath(_0x45f88b)&&fs[_0x141cd0(0x111)](_0x45f88b);const _0x2e4e6e=this.#binaryName,_0x21d271=path[_0x141cd0(0x89)](_0x45f88b,_0x1b8a21[_0x141cd0(0xd3)](_0x2e4e6e,_0x1b8a21[_0x141cd0(0x8b)])),_0xb41936=fs[_0x141cd0(0xa1)](_0x21d271),_0x1b03eb=url[_0x141cd0(0xe5)](this.#httpPath);if(_0x1c712c[_0x141cd0(0x90)]&&_0x1c712c[_0x141cd0(0x8c)]){const _0x2a6657={};_0x2a6657['host']=_0x1c712c[_0x141cd0(0x90)],_0x2a6657['port']=_0x1c712c[_0x141cd0(0x8c)],_0x1b03eb[_0x141cd0(0xdb)]=new HttpsProxyAgent(_0x2a6657);}if(_0x1c712c[_0x141cd0(0xbc)])try{_0x1b03eb['ca']=fs['readFileSync'](_0x1c712c[_0x141cd0(0xbc)]);}catch(_0x44083b){logger[_0x141cd0(0x93)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x44083b);}if(_0x513f73){const _0x350b34={};_0x350b34['If-None-Match']=_0x513f73,_0x350b34[_0x141cd0(0x88)]=_0x1b8a21[_0x141cd0(0xf4)],_0x1b03eb[_0x141cd0(0xa5)]=_0x350b34;}else{const _0x5c6500={};_0x5c6500[_0x141cd0(0x88)]=_0x1b8a21[_0x141cd0(0xf4)],_0x1b03eb[_0x141cd0(0xa5)]=_0x5c6500;}return new Promise((_0x32a004,_0xe4df30)=>{const _0x9ac19d=_0x141cd0,_0x5bc31c={'QqejG':function(_0x5c1b04,_0x9c059){const _0x3a70d2=a144_0x2fd7;return _0x1b8a21[_0x3a70d2(0xf2)](_0x5c1b04,_0x9c059);},'qyBHi':function(_0x5d7f2d,_0x1327b6){const _0x589309=a144_0x2fd7;return _0x1b8a21[_0x589309(0x94)](_0x5d7f2d,_0x1327b6);},'xfIbk':function(_0x5ae011,_0x470fb6){return _0x1b8a21['RYwKh'](_0x5ae011,_0x470fb6);},'shHiO':_0x1b8a21[_0x9ac19d(0x10e)],'prIgI':_0x1b8a21[_0x9ac19d(0xf4)]};https['get'](_0x1b03eb,_0x44918a=>{const _0xfdd8d2=_0x9ac19d;if(_0x513f73&&_0x5bc31c[_0xfdd8d2(0xb2)](_0x44918a[_0xfdd8d2(0xb5)],0x130)){_0xb41936[_0xfdd8d2(0x103)]();const _0x25c990={};_0x25c990['needsUpdate']=![],_0x5bc31c[_0xfdd8d2(0xa0)](_0x32a004,_0x25c990);return;}const _0x346393=_0x44918a[_0xfdd8d2(0xa5)][_0xfdd8d2(0xb4)];_0x346393&&this.#saveETag(_0x45f88b,_0x346393),_0x44918a[_0xfdd8d2(0x101)](_0xb41936),_0x44918a['on'](_0x5bc31c['shHiO'],function(_0x21deef){const _0x4a2c1c=_0xfdd8d2;logger[_0x4a2c1c(0x93)](_0x4a2c1c(0xac)+_0x21deef),_0x5bc31c[_0x4a2c1c(0xa0)](_0xe4df30,_0x21deef);}),_0xb41936['on'](_0x5bc31c[_0xfdd8d2(0xba)],function(_0x5da6bf){const _0xeeb46b=_0xfdd8d2;logger['error'](_0xeeb46b(0xe7)+_0x5da6bf),_0x5bc31c['qyBHi'](_0xe4df30,_0x5da6bf);}),_0xb41936['on'](_0x5bc31c[_0xfdd8d2(0xe8)],()=>{const _0x461e8c=_0xfdd8d2;this[_0x461e8c(0xec)](_0x21d271,_0x45f88b)[_0x461e8c(0xaf)](_0x2fad9d=>_0x32a004({'needsUpdate':!![],'binaryPath':_0x2fad9d}))['catch'](_0xe4df30);});})['on'](_0x1b8a21[_0x9ac19d(0x10e)],function(_0xdc1a48){const _0x449e22=_0x9ac19d;logger[_0x449e22(0x93)](_0x449e22(0xe9)+_0xdc1a48),_0x5bc31c['qyBHi'](_0xe4df30,_0xdc1a48);});});}[a144_0x91dc9e(0xec)](_0x17248c,_0x299c9c){const _0x1b0e78=a144_0x91dc9e,_0x179672={'lbvAy':function(_0x358f4c,_0x192f62){return _0x358f4c(_0x192f62);},'SHZTZ':_0x1b0e78(0xed),'rGlXt':function(_0x52b896,_0x41d5bb){return _0x52b896===_0x41d5bb;},'mdfit':'0755','nNiCY':function(_0x2255fb,_0x201719){return _0x2255fb(_0x201719);},'KfJFj':_0x1b0e78(0x104),'ZmFXD':_0x1b0e78(0x93)},_0x42d0d7=this.#binaryName,_0x1cc6d8=path[_0x1b0e78(0x89)](_0x299c9c,_0x42d0d7);return new Promise((_0x271498,_0x49c3ad)=>{const _0x5621f7=_0x1b0e78,_0x116a3b={};_0x116a3b['lazyEntries']=!![],yauzl[_0x5621f7(0xdd)](_0x17248c,_0x116a3b,function(_0xd5c09b,_0xd43fb6){const _0x52b933=_0x5621f7,_0x5db6bd={'bTqbC':function(_0x14fd5b,_0x373a8b){return _0x179672['lbvAy'](_0x14fd5b,_0x373a8b);},'pgenc':_0x179672[_0x52b933(0xc8)],'Czsgh':function(_0x561de9,_0x208f8c){return _0x179672['rGlXt'](_0x561de9,_0x208f8c);},'GxuAM':function(_0x13bab8,_0x4944df){const _0x13b872=_0x52b933;return _0x179672[_0x13b872(0x9f)](_0x13bab8,_0x4944df);},'hLorZ':_0x179672[_0x52b933(0x114)]};_0xd5c09b&&_0x179672['nNiCY'](_0x49c3ad,_0xd5c09b),_0xd43fb6[_0x52b933(0xee)](),_0xd43fb6['on'](_0x179672['KfJFj'],_0x517faa=>{const _0x7f968b=_0x52b933,_0x52889a={'HUQam':function(_0x5886e8,_0x4e71be){const _0x404a1b=a144_0x2fd7;return _0x5db6bd[_0x404a1b(0xcf)](_0x5886e8,_0x4e71be);},'ctiJV':_0x5db6bd[_0x7f968b(0xf3)]};if(/\/$/[_0x7f968b(0xb7)](_0x517faa[_0x7f968b(0xcc)]))_0xd43fb6[_0x7f968b(0xee)]();else{const _0x4cfdbd=fs[_0x7f968b(0xa1)](path['join'](_0x299c9c,_0x517faa[_0x7f968b(0xcc)]));_0xd43fb6[_0x7f968b(0x96)](_0x517faa,function(_0x2ac3c4,_0x49c5cb){const _0xde57a3=_0x7f968b;_0x2ac3c4&&_0x52889a[_0xde57a3(0xfe)](_0x49c3ad,_0xd5c09b),_0x49c5cb['on'](_0x52889a[_0xde57a3(0xdf)],function(){const _0x4c1693=_0xde57a3;_0x4cfdbd[_0x4c1693(0x102)](),_0xd43fb6[_0x4c1693(0xee)]();}),_0x49c5cb[_0xde57a3(0x101)](_0x4cfdbd);}),_0x5db6bd[_0x7f968b(0xae)](_0x517faa[_0x7f968b(0xcc)],_0x42d0d7)&&_0xd43fb6['close']();}}),_0xd43fb6['on'](_0x179672[_0x52b933(0x91)],_0x4dd32a=>{const _0x1279d6=_0x52b933;_0x5db6bd[_0x1279d6(0xa7)](_0x49c3ad,_0x4dd32a);}),_0xd43fb6[_0x52b933(0xca)](_0x179672['SHZTZ'],()=>{const _0x12bacc=_0x52b933,_0x1fba8b={'YWMns':function(_0xe41f8d,_0x4544ec){return _0x5db6bd['GxuAM'](_0xe41f8d,_0x4544ec);}};fs[_0x12bacc(0x11b)](_0x1cc6d8,_0x5db6bd[_0x12bacc(0xb9)],function(_0x539190){const _0x2321af=_0x12bacc;_0x539190&&_0x1fba8b['YWMns'](_0x49c3ad,_0x539190),_0x1fba8b[_0x2321af(0xeb)](_0x271498,_0x1cc6d8);}),_0xd43fb6[_0x12bacc(0x102)]();});});});}async[a144_0x91dc9e(0xfb)](_0xb70850){const _0x1d54b1=a144_0x91dc9e,_0x3d9f71={'vFvix':function(_0x5ec7df,_0xf5238e){return _0x5ec7df(_0xf5238e);},'QcUMh':function(_0x1bcd29,_0x2cab39){return _0x1bcd29(_0x2cab39);},'IBuUC':function(_0xc30c90,_0x513ce8,_0x5d9767,_0x16fe55){return _0xc30c90(_0x513ce8,_0x5d9767,_0x16fe55);},'TcGee':_0x1d54b1(0xc7),'vBhBr':_0x1d54b1(0xf8),'LvWrB':'close'},_0x3bf38a=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x162ad8,_0x50facf)=>{const _0x1e1ef9=_0x1d54b1,_0x308a40={};_0x308a40[_0x1e1ef9(0xd9)]=process[_0x1e1ef9(0xd9)];const _0x2dc1ba=_0x3d9f71[_0x1e1ef9(0xff)](spawn,_0xb70850,[_0x3d9f71[_0x1e1ef9(0xa6)]],_0x308a40);_0x2dc1ba['stdout']['on'](_0x3d9f71[_0x1e1ef9(0xd1)],_0x1cca57=>{const _0x4ae9b4=_0x1e1ef9;_0x3bf38a[_0x4ae9b4(0xb7)](_0x1cca57)&&_0x3d9f71['vFvix'](_0x162ad8,!![]);}),_0x2dc1ba['on'](_0x3d9f71[_0x1e1ef9(0x11d)],()=>{_0x3d9f71['QcUMh'](_0x162ad8,![]);});});}#homedir(){const _0x4c4d54=a144_0x91dc9e,_0x2b08db={};_0x2b08db[_0x4c4d54(0xc1)]=function(_0x106e8b,_0x4d5a52){return _0x106e8b===_0x4d5a52;},_0x2b08db[_0x4c4d54(0xd6)]='function',_0x2b08db[_0x4c4d54(0xbd)]=function(_0x4ea87a,_0x10daa9){return _0x4ea87a===_0x10daa9;},_0x2b08db['CrOmo']=_0x4c4d54(0xf9),_0x2b08db[_0x4c4d54(0xe3)]=function(_0x5503d5,_0x480323){return _0x5503d5+_0x480323;},_0x2b08db[_0x4c4d54(0x8e)]=_0x4c4d54(0xc0),_0x2b08db[_0x4c4d54(0xa8)]=_0x4c4d54(0x106),_0x2b08db['RfTnI']='linux',_0x2b08db[_0x4c4d54(0x110)]=function(_0x268f06,_0x36043a){return _0x268f06===_0x36043a;},_0x2b08db['MqGkp']='/root',_0x2b08db[_0x4c4d54(0xd2)]='/home/',_0x2b08db[_0x4c4d54(0xe6)]=function(_0x850506,_0x20be38){return _0x850506||_0x20be38;};const _0x40fcb4=_0x2b08db;if(_0x40fcb4[_0x4c4d54(0xc1)](typeof os[_0x4c4d54(0x10c)],_0x40fcb4['ZcyAN']))return os[_0x4c4d54(0x10c)]();const _0x4b88f4=process[_0x4c4d54(0xd9)],_0x251ca2=_0x4b88f4[_0x4c4d54(0x119)],_0x11a20b=_0x4b88f4[_0x4c4d54(0xc2)]||_0x4b88f4[_0x4c4d54(0xf0)]||_0x4b88f4['LNAME']||_0x4b88f4[_0x4c4d54(0xd8)];if(_0x40fcb4[_0x4c4d54(0xbd)](process[_0x4c4d54(0xfc)],_0x40fcb4[_0x4c4d54(0x116)]))return _0x4b88f4[_0x4c4d54(0xd0)]||_0x40fcb4[_0x4c4d54(0xe3)](_0x4b88f4[_0x4c4d54(0x109)],_0x4b88f4[_0x4c4d54(0xfd)])||_0x251ca2||null;if(_0x40fcb4['LMZAr'](process['platform'],_0x40fcb4[_0x4c4d54(0x8e)]))return _0x251ca2||(_0x11a20b?_0x40fcb4[_0x4c4d54(0xe3)](_0x40fcb4['KQATq'],_0x11a20b):null);if(_0x40fcb4[_0x4c4d54(0xc1)](process['platform'],_0x40fcb4[_0x4c4d54(0xf6)]))return _0x251ca2||(_0x40fcb4[_0x4c4d54(0x110)](process[_0x4c4d54(0x9b)](),0x0)?_0x40fcb4[_0x4c4d54(0xc5)]:_0x11a20b?_0x40fcb4[_0x4c4d54(0xe3)](_0x40fcb4[_0x4c4d54(0xd2)],_0x11a20b):null);return _0x40fcb4['IUhFG'](_0x251ca2,null);}}module['exports']=PercyBinary;function a144_0x42f6(){const _0x176623=['USER','undefined','AqLlB','pgenc','jqqIV','hMKWo','RfTnI','warn','data','win32','child_process','validateBinary','platform','HOMEPATH','HUQam','IBuUC','R_OK','pipe','close','destroy','entry','3061324QhbVJq','/Users/','1147885eWoLky','writeFileSync','HOMEDRIVE','46EkAPkU','url','homedir','EEyqc','kXRwG','binaryPath','UPERp','mkdirSync','13848BBKPLH','2632240rfJNHP','mdfit','kBtPF','CrOmo','DGKue','.zip','HOME','percy.exe','chmod','96894sIvAZG','LvWrB','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','Connection','join','match','OLgZB','proxyPort','.browserstack','xBUEW','/percy-osx.zip','proxyHost','ZmFXD','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','error','nIuyk','https://github.com/percy/cli/releases/latest/download','openReadStream','trim','yauzl','Failed\x20to\x20read\x20ETag\x20file:\x20','/percy-linux.zip','getuid','Error\x20trying\x20to\x20download\x20percy\x20binary','zgMOP','utf8','lbvAy','QqejG','createWriteStream','fuZrX','NbdCc','winstonLogger','headers','TcGee','GxuAM','KQATq','download','lIvIb','YoWnD','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','36357xQnmGb','Czsgh','then','KLDbK','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','xfIbk','getBinaryPath','etag','statusCode','/percy-win.zip','test','kIwLq','hLorZ','shHiO','wEjZq','useCaCertificate','LMZAr','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','needsUpdate','darwin','LypJT','LOGNAME','JHerD','340452kqUKly','MqGkp','LScWG','--version','SHZTZ','https-proxy-agent','once','gjDSi','fileName','debug','follow-redirects','bTqbC','USERPROFILE','vBhBr','kffDu','PBIZQ','accessSync','Saved\x20new\x20ETag\x20for\x20percy\x20binary','ZcyAN','statSync','USERNAME','env','cwd','agent','readFileSync','open','W_OK','ctiJV','6nLsOZZ','WMnxD','X_OK','kIzvN','LQhUc','parse','IUhFG','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','prIgI','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','Failed\x20to\x20save\x20ETag\x20file:\x20','YWMns','extractAndSaveBinary','end','readEntry','1683xyplWX'];a144_0x42f6=function(){return _0x176623;};return a144_0x42f6();}
|
|
1
|
+
function a144_0x4f76(){const _0x260de8=['lGKLo','RHoiv','VqIFR','MsuFq','fileName','61vcUVEs','iIyYR','W_OK','HexHa','validateBinary','get','PgeaL','RoOfC','OhZnh','JTMXT','.browserstack','catch','pJevH','writeFileSync','USERPROFILE','USER','cwd','1324561sldnme','pipe','11693BWENJS','XZNbw','uujcr','5540MOQFdt','JpbDR','YXLIp','win32','platform','url','host','nJSAX','createWriteStream','oCgeD','etag','ysPWy','mkdirSync','XdlzZ','lazyEntries','percy.exe','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','warn','rpiRz','error','436WiBmQf','exports','statusCode','homedir','../logger','proxyHost','readEntry','ztKzP','openReadStream','qnUzb','jRTLU','LOiAb','statSync','utf8','proxyPort','HOMEPATH','.etag','uZSFJ','headers','/root','HOymi','6saiuZE','cjMBl','https://github.com/percy/cli/releases/latest/download','fldbs','percy','--version','Failed\x20to\x20save\x20ETag\x20file:\x20','undefined','download','jCnYe','then','child_process','Error\x20trying\x20to\x20download\x20percy\x20binary','uPNCA','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','806328zxjKNj','Connection','needsUpdate','kdKan','bxlzo','LlCup','yauzl','gUPqz','jniYk','HOME','test','lcnFN','open','readFileSync','Failed\x20to\x20read\x20ETag\x20file:\x20','13560HrDIIQ','env','BZwFT','fkoUt','close','tuUKk','zxagM','CYNTB','Xaqqg','accessSync','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','AieYt','476815LKyVIy','USERNAME','VUSGw','lUIKk','destroy','Saved\x20new\x20ETag\x20for\x20percy\x20binary','zRlnl','VhYhh','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','useCaCertificate','port','HOMEDRIVE','vvtiG','binaryPath','parse','Xkcrf','getBinaryPath','DBbkx','debug','.zip','0755','5090QsZoPX','path','BBfmp','R_OK','1473966OfLelc','join','fFkHe','tUpJa','function','dxRGe','LNAME','match','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'];a144_0x4f76=function(){return _0x260de8;};return a144_0x4f76();}function a144_0x3105(_0x468af8,_0x3fde2b){const _0x4f769d=a144_0x4f76();return a144_0x3105=function(_0x3105f9,_0x18e28d){_0x3105f9=_0x3105f9-0xd6;let _0x386624=_0x4f769d[_0x3105f9];return _0x386624;},a144_0x3105(_0x468af8,_0x3fde2b);}const a144_0x5eec45=a144_0x3105;(function(_0x13402e,_0x33ba41){const _0x554f23=a144_0x3105,_0x4c5ad7=_0x13402e();while(!![]){try{const _0x254b58=-parseInt(_0x554f23(0xe5))/0x1*(parseInt(_0x554f23(0xfb))/0x2)+parseInt(_0x554f23(0x142))/0x3*(parseInt(_0x554f23(0x10f))/0x4)+-parseInt(_0x554f23(0x14e))/0x5+-parseInt(_0x554f23(0x124))/0x6*(parseInt(_0x554f23(0xf6))/0x7)+-parseInt(_0x554f23(0x133))/0x8+-parseInt(_0x554f23(0xd7))/0x9+parseInt(_0x554f23(0x163))/0xa*(parseInt(_0x554f23(0xf8))/0xb);if(_0x254b58===_0x33ba41)break;else _0x4c5ad7['push'](_0x4c5ad7['shift']());}catch(_0x3c2fa5){_0x4c5ad7['push'](_0x4c5ad7['shift']());}}}(a144_0x4f76,0x4d0ea));const {https}=require('follow-redirects'),url=require(a144_0x5eec45(0x100)),yauzl=require(a144_0x5eec45(0x139)),fs=require('fs'),path=require(a144_0x5eec45(0x164)),os=require('os'),{spawn}=require(a144_0x5eec45(0x12f)),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a144_0x5eec45(0x113))['winstonLogger'];class PercyBinary{#hostOS=process[a144_0x5eec45(0xff)];#httpPath=null;#binaryName=a144_0x5eec45(0x128);#orderedPaths=[path[a144_0x5eec45(0xd8)](this.#homedir(),a144_0x5eec45(0xef)),process[a144_0x5eec45(0xf5)](),os['tmpdir']()];constructor(){const _0xf17265=a144_0x5eec45,_0x53fc21={};_0x53fc21['VhYhh']=_0xf17265(0x126),_0x53fc21[_0xf17265(0xd9)]=function(_0x6e99e9,_0x3af601){return _0x6e99e9+_0x3af601;},_0x53fc21[_0xf17265(0x154)]='/percy-osx.zip',_0x53fc21[_0xf17265(0xee)]='/percy-win.zip',_0x53fc21[_0xf17265(0x15f)]=_0xf17265(0x10a),_0x53fc21[_0xf17265(0x15d)]='/percy-linux.zip';const _0xee127b=_0x53fc21,_0x17f322=_0xee127b[_0xf17265(0x155)];if(this.#hostOS[_0xf17265(0xde)](/darwin|mac os/i))this.#httpPath=_0xee127b[_0xf17265(0xd9)](_0x17f322,_0xee127b[_0xf17265(0x154)]);else this.#hostOS[_0xf17265(0xde)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0xee127b[_0xf17265(0xd9)](_0x17f322,_0xee127b[_0xf17265(0xee)]),this.#binaryName=_0xee127b[_0xf17265(0x15f)]):this.#httpPath=_0xee127b['fFkHe'](_0x17f322,_0xee127b[_0xf17265(0x15d)]);}#getAvailableDirs(){const _0xaedb95=a144_0x5eec45,_0x32a0c0={};_0x32a0c0[_0xaedb95(0x14d)]=function(_0x538ad8,_0x57f921){return _0x538ad8<_0x57f921;},_0x32a0c0['JpbDR']=_0xaedb95(0x130);const _0x20d019=_0x32a0c0;for(var _0x2aabef=0x0;_0x20d019[_0xaedb95(0x14d)](_0x2aabef,this.#orderedPaths['length']);_0x2aabef++){var _0x1f35aa=this.#orderedPaths[_0x2aabef];if(this.#makePath(_0x1f35aa))return _0x1f35aa;}throw new Error(_0x20d019[_0xaedb95(0xfc)]);}#makePath(_0x1ad6da){const _0x2800d2=a144_0x5eec45;try{return _0x1ad6da&&!this.#checkPath(_0x1ad6da)&&fs[_0x2800d2(0x107)](_0x1ad6da),!![];}catch{return![];}}#checkPath(_0xbbdfc2,_0x34b450){const _0xb49362=a144_0x5eec45,_0x4443a6={};_0x4443a6[_0xb49362(0x131)]=function(_0x5bedbe,_0x1a4c56){return _0x5bedbe|_0x1a4c56;},_0x4443a6[_0xb49362(0x150)]=function(_0x3e4549,_0x182d4e){return _0x3e4549!==_0x182d4e;},_0x4443a6[_0xb49362(0x137)]=_0xb49362(0x12b);const _0x5a1b90=_0x4443a6;_0x34b450=_0x34b450||_0x5a1b90['uPNCA'](fs[_0xb49362(0xd6)],fs[_0xb49362(0xe7)]);try{return fs[_0xb49362(0x14b)](_0xbbdfc2,_0x34b450),!![];}catch(_0x2fb4d5){if(_0x5a1b90[_0xb49362(0x150)](typeof fs[_0xb49362(0x14b)],_0x5a1b90[_0xb49362(0x137)]))return![];try{return fs[_0xb49362(0x11b)](_0xbbdfc2),!![];}catch(_0x2cb788){return![];}}}#getETagPath(_0x55fdee){const _0x31cdf7=a144_0x5eec45;return path[_0x31cdf7(0xd8)](_0x55fdee,this.#binaryName+_0x31cdf7(0x11f));}#loadETag(_0x4d034e){const _0x5521ea=a144_0x5eec45,_0x1f1511={};_0x1f1511[_0x5521ea(0x138)]=_0x5521ea(0x11c);const _0x386a61=_0x1f1511,_0x160b5f=this.#getETagPath(_0x4d034e);if(this.#checkPath(_0x160b5f))try{return fs[_0x5521ea(0x140)](_0x160b5f,_0x386a61[_0x5521ea(0x138)])['trim']();}catch(_0x480ee5){logger[_0x5521ea(0x10c)](_0x5521ea(0x141)+_0x480ee5);}return null;}#saveETag(_0xde323,_0x42fec1){const _0xece37a=a144_0x5eec45,_0x31e74a={};_0x31e74a[_0xece37a(0x151)]=_0xece37a(0x153);const _0x465c86=_0x31e74a;if(!_0x42fec1)return;try{const _0x1f328e=this.#getETagPath(_0xde323);fs[_0xece37a(0xf2)](_0x1f328e,_0x42fec1),logger[_0xece37a(0x160)](_0x465c86[_0xece37a(0x151)]);}catch(_0x1a9208){logger[_0xece37a(0x10c)](_0xece37a(0x12a)+_0x1a9208);}}async #handleBinaryDownload(_0x53ce84,_0x4f3e31,_0x2a2727){const _0x2ba8c7=a144_0x5eec45,_0x38c563={};_0x38c563[_0x2ba8c7(0x127)]='Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying';const _0x45b466=_0x38c563,_0xd8f672=await this[_0x2ba8c7(0xe9)](_0x53ce84['binaryPath']);if(!_0xd8f672){logger['error'](_0x45b466[_0x2ba8c7(0x127)]);const _0x261efa=await this[_0x2ba8c7(0x12c)](_0x4f3e31,_0x2a2727);return _0x261efa[_0x2ba8c7(0x15b)];}return _0x53ce84[_0x2ba8c7(0x15b)];}async[a144_0x5eec45(0x15e)](_0x19b171){const _0x16b33a=a144_0x5eec45,_0x597bcd={};_0x597bcd[_0x16b33a(0x147)]=_0x16b33a(0x132),_0x597bcd[_0x16b33a(0x144)]='New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update';const _0x513b1b=_0x597bcd,_0x13fcff=this.#getAvailableDirs(),_0x145a38=path[_0x16b33a(0xd8)](_0x13fcff,this.#binaryName);if(this.#checkPath(_0x145a38,fs['X_OK'])){const _0x3bdce9=this.#loadETag(_0x13fcff);if(_0x3bdce9)try{const _0x1c6c02=await this[_0x16b33a(0x12c)](_0x19b171,_0x13fcff,_0x3bdce9);if(!_0x1c6c02['needsUpdate'])return logger[_0x16b33a(0x160)](_0x513b1b[_0x16b33a(0x147)]),_0x145a38;return logger[_0x16b33a(0x160)](_0x513b1b[_0x16b33a(0x144)]),await this.#handleBinaryDownload(_0x1c6c02,_0x19b171,_0x13fcff);}catch(_0x541e47){return logger[_0x16b33a(0x10c)](_0x16b33a(0xdf)+_0x541e47),_0x145a38;}}const _0x5d5203=await this['download'](_0x19b171,_0x13fcff);return await this.#handleBinaryDownload(_0x5d5203,_0x19b171,_0x13fcff);}['download'](_0x21427c,_0x228303,_0x18d392=null){const _0x5a80f1=a144_0x5eec45,_0x287efd={'ujWSd':function(_0x4e2a2e,_0xdfcc93){return _0x4e2a2e(_0xdfcc93);},'OhZnh':function(_0x3f8e89,_0x186ae6){return _0x3f8e89===_0x186ae6;},'QfGEa':function(_0x2b3321,_0x28845f){return _0x2b3321(_0x28845f);},'oCgeD':_0x5a80f1(0x10e),'nJSAX':_0x5a80f1(0x146),'BBfmp':function(_0x1c2931,_0x2ea60d){return _0x1c2931(_0x2ea60d);},'wUVPW':function(_0x5ba1ce,_0x446c0b){return _0x5ba1ce+_0x446c0b;},'tUpJa':_0x5a80f1(0x161)};_0x228303&&!this.#checkPath(_0x228303)&&fs[_0x5a80f1(0x107)](_0x228303);const _0x531995=this.#binaryName,_0x1c423f=path[_0x5a80f1(0xd8)](_0x228303,_0x287efd['wUVPW'](_0x531995,_0x287efd[_0x5a80f1(0xda)])),_0x247c15=fs[_0x5a80f1(0x103)](_0x1c423f),_0x13366d=url[_0x5a80f1(0x15c)](this.#httpPath);if(_0x21427c[_0x5a80f1(0x114)]&&_0x21427c['proxyPort']){const _0x2acd5e={};_0x2acd5e[_0x5a80f1(0x101)]=_0x21427c[_0x5a80f1(0x114)],_0x2acd5e[_0x5a80f1(0x158)]=_0x21427c[_0x5a80f1(0x11d)],_0x13366d['agent']=new HttpsProxyAgent(_0x2acd5e);}if(_0x21427c[_0x5a80f1(0x157)])try{_0x13366d['ca']=fs[_0x5a80f1(0x140)](_0x21427c[_0x5a80f1(0x157)]);}catch(_0x4d8d3f){logger[_0x5a80f1(0x10e)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x4d8d3f);}if(_0x18d392){const _0x373f6a={};_0x373f6a['If-None-Match']=_0x18d392,_0x373f6a[_0x5a80f1(0x134)]=_0x287efd['nJSAX'],_0x13366d[_0x5a80f1(0x121)]=_0x373f6a;}else{const _0x2eb3ff={};_0x2eb3ff[_0x5a80f1(0x134)]=_0x287efd[_0x5a80f1(0x102)],_0x13366d[_0x5a80f1(0x121)]=_0x2eb3ff;}return new Promise((_0x12cd22,_0x54e8ba)=>{const _0x257734=_0x5a80f1,_0x145c03={'PMYQC':function(_0x2a7345,_0x58e47e){const _0xfe9845=a144_0x3105;return _0x287efd[_0xfe9845(0x165)](_0x2a7345,_0x58e47e);}};https[_0x257734(0xea)](_0x13366d,_0x14889a=>{const _0x4fe7dd=_0x257734,_0x4a0153={'jniYk':function(_0x3ff5fc,_0x2a8646){return _0x287efd['ujWSd'](_0x3ff5fc,_0x2a8646);}};if(_0x18d392&&_0x287efd[_0x4fe7dd(0xed)](_0x14889a[_0x4fe7dd(0x111)],0x130)){_0x247c15[_0x4fe7dd(0x152)]();const _0x362d86={};_0x362d86[_0x4fe7dd(0x135)]=![],_0x287efd['QfGEa'](_0x12cd22,_0x362d86);return;}const _0x53f77a=_0x14889a[_0x4fe7dd(0x121)][_0x4fe7dd(0x105)];_0x53f77a&&this.#saveETag(_0x228303,_0x53f77a),_0x14889a[_0x4fe7dd(0xf7)](_0x247c15),_0x14889a['on'](_0x287efd[_0x4fe7dd(0x104)],function(_0x5ff3e3){const _0x27b559=_0x4fe7dd;logger[_0x27b559(0x10e)](_0x27b559(0x10b)+_0x5ff3e3),_0x4a0153[_0x27b559(0x13b)](_0x54e8ba,_0x5ff3e3);}),_0x247c15['on'](_0x287efd[_0x4fe7dd(0x104)],function(_0x1fc346){const _0x44ac33=_0x4fe7dd;logger['error'](_0x44ac33(0x14c)+_0x1fc346),_0x4a0153['jniYk'](_0x54e8ba,_0x1fc346);}),_0x247c15['on'](_0x287efd[_0x4fe7dd(0x102)],()=>{const _0x3a727e=_0x4fe7dd;this['extractAndSaveBinary'](_0x1c423f,_0x228303)[_0x3a727e(0x12e)](_0x463911=>_0x12cd22({'needsUpdate':!![],'binaryPath':_0x463911}))[_0x3a727e(0xf0)](_0x54e8ba);});})['on'](_0x287efd[_0x257734(0x104)],function(_0x1a744c){const _0x4cef95=_0x257734;logger[_0x4cef95(0x10e)](_0x4cef95(0x156)+_0x1a744c),_0x145c03['PMYQC'](_0x54e8ba,_0x1a744c);});});}['extractAndSaveBinary'](_0x533e94,_0x5afac1){const _0x46829b=a144_0x5eec45,_0x44a532={'lcnFN':function(_0xab20e2,_0x4d1566){return _0xab20e2(_0x4d1566);},'uujcr':'entry','uZSFJ':_0x46829b(0x10e),'pJevH':'end','dxRGe':function(_0x23c636,_0x42b1c5){return _0x23c636===_0x42b1c5;},'qnUzb':_0x46829b(0x162)},_0x35923c=this.#binaryName,_0x16cfa3=path[_0x46829b(0xd8)](_0x5afac1,_0x35923c);return new Promise((_0x111c61,_0x18117d)=>{const _0x41a929=_0x46829b,_0x408ebd={'STHnI':function(_0x575a90,_0x1adde4){const _0x47abf7=a144_0x3105;return _0x44a532[_0x47abf7(0x13e)](_0x575a90,_0x1adde4);},'RHoiv':_0x44a532['pJevH'],'HexHa':function(_0x1f965a,_0x3cc4db){const _0x1bc5c3=a144_0x3105;return _0x44a532[_0x1bc5c3(0xdc)](_0x1f965a,_0x3cc4db);},'kdKan':function(_0x52547b,_0x4391cf){const _0x524ece=a144_0x3105;return _0x44a532[_0x524ece(0x13e)](_0x52547b,_0x4391cf);},'uMxDQ':function(_0x4fb264,_0x2837fb){return _0x44a532['lcnFN'](_0x4fb264,_0x2837fb);},'HOymi':function(_0x343de6,_0xd24192){return _0x44a532['lcnFN'](_0x343de6,_0xd24192);},'vvtiG':_0x44a532[_0x41a929(0x118)]},_0x2baac7={};_0x2baac7[_0x41a929(0x109)]=!![],yauzl[_0x41a929(0x13f)](_0x533e94,_0x2baac7,function(_0x281b9d,_0xce0998){const _0x3ab0be=_0x41a929;_0x281b9d&&_0x44a532[_0x3ab0be(0x13e)](_0x18117d,_0x281b9d),_0xce0998[_0x3ab0be(0x115)](),_0xce0998['on'](_0x44a532[_0x3ab0be(0xfa)],_0x2194dc=>{const _0xa07c32=_0x3ab0be,_0x232f18={'CycHx':function(_0x110752,_0x80412f){return _0x408ebd['STHnI'](_0x110752,_0x80412f);},'fkoUt':_0x408ebd[_0xa07c32(0xe1)]};if(/\/$/[_0xa07c32(0x13d)](_0x2194dc[_0xa07c32(0xe4)]))_0xce0998[_0xa07c32(0x115)]();else{const _0x6241c4=fs[_0xa07c32(0x103)](path[_0xa07c32(0xd8)](_0x5afac1,_0x2194dc[_0xa07c32(0xe4)]));_0xce0998[_0xa07c32(0x117)](_0x2194dc,function(_0x2c45b5,_0x25ea29){const _0x107904=_0xa07c32;_0x2c45b5&&_0x232f18['CycHx'](_0x18117d,_0x281b9d),_0x25ea29['on'](_0x232f18[_0x107904(0x145)],function(){const _0x41e1ab=_0x107904;_0x6241c4['close'](),_0xce0998[_0x41e1ab(0x115)]();}),_0x25ea29[_0x107904(0xf7)](_0x6241c4);}),_0x408ebd[_0xa07c32(0xe8)](_0x2194dc[_0xa07c32(0xe4)],_0x35923c)&&_0xce0998[_0xa07c32(0x146)]();}}),_0xce0998['on'](_0x44a532[_0x3ab0be(0x120)],_0xa5dc6b=>{const _0x55ecbe=_0x3ab0be;_0x408ebd[_0x55ecbe(0x136)](_0x18117d,_0xa5dc6b);}),_0xce0998['once'](_0x44a532[_0x3ab0be(0xf1)],()=>{const _0xc5bb8f=_0x3ab0be,_0x28065d={'CYNTB':function(_0x2ac3cb,_0x50ef67){return _0x408ebd['uMxDQ'](_0x2ac3cb,_0x50ef67);},'Xaqqg':function(_0x53f768,_0x4627e0){const _0x6c2a8a=a144_0x3105;return _0x408ebd[_0x6c2a8a(0x123)](_0x53f768,_0x4627e0);}};fs['chmod'](_0x16cfa3,_0x408ebd[_0xc5bb8f(0x15a)],function(_0x8fd0e5){const _0x402b0c=_0xc5bb8f;_0x8fd0e5&&_0x28065d[_0x402b0c(0x149)](_0x18117d,_0x8fd0e5),_0x28065d[_0x402b0c(0x14a)](_0x111c61,_0x16cfa3);}),_0xce0998['close']();});});});}async[a144_0x5eec45(0xe9)](_0x98f5cc){const _0xb8a628=a144_0x5eec45,_0x385665={'LOiAb':function(_0x4781ee,_0x4fb3cf){return _0x4781ee(_0x4fb3cf);},'iIyYR':function(_0x8b2c49,_0x47b715,_0x408ba4,_0x284627){return _0x8b2c49(_0x47b715,_0x408ba4,_0x284627);},'RoOfC':_0xb8a628(0x129),'jRTLU':'data','MsuFq':'close'},_0x13afec=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x28aab8,_0x488df2)=>{const _0x182916=_0xb8a628,_0x28ff49={};_0x28ff49[_0x182916(0x143)]=process['env'];const _0x51a9c3=_0x385665[_0x182916(0xe6)](spawn,_0x98f5cc,[_0x385665[_0x182916(0xec)]],_0x28ff49);_0x51a9c3['stdout']['on'](_0x385665[_0x182916(0x119)],_0x5c7289=>{const _0x10d71a=_0x182916;_0x13afec[_0x10d71a(0x13d)](_0x5c7289)&&_0x385665[_0x10d71a(0x11a)](_0x28aab8,!![]);}),_0x51a9c3['on'](_0x385665[_0x182916(0xe3)],()=>{const _0x46ce99=_0x182916;_0x385665[_0x46ce99(0x11a)](_0x28aab8,![]);});});}#homedir(){const _0x1accf4=a144_0x5eec45,_0x487241={};_0x487241[_0x1accf4(0x13a)]=function(_0x8fc16a,_0x31ee6a){return _0x8fc16a===_0x31ee6a;},_0x487241[_0x1accf4(0x12d)]=_0x1accf4(0xdb),_0x487241['XdlzZ']=function(_0x316218,_0xf997a0){return _0x316218===_0xf997a0;},_0x487241[_0x1accf4(0x125)]=_0x1accf4(0xfe),_0x487241['lGKLo']=function(_0x5873cf,_0x28b802){return _0x5873cf+_0x28b802;},_0x487241['dbvWN']='darwin',_0x487241[_0x1accf4(0x106)]=function(_0x48a26a,_0x4ed72a){return _0x48a26a+_0x4ed72a;},_0x487241[_0x1accf4(0xeb)]='/Users/',_0x487241['YXLIp']=function(_0x47910b,_0x34a9c8){return _0x47910b===_0x34a9c8;},_0x487241['zxagM']='linux',_0x487241[_0x1accf4(0x10d)]=_0x1accf4(0x122),_0x487241[_0x1accf4(0x116)]=function(_0x16adb1,_0x30bbec){return _0x16adb1+_0x30bbec;},_0x487241[_0x1accf4(0xf9)]='/home/',_0x487241[_0x1accf4(0xe2)]=function(_0x1ff532,_0x4e15ad){return _0x1ff532||_0x4e15ad;};const _0x38c83d=_0x487241;if(_0x38c83d['gUPqz'](typeof os['homedir'],_0x38c83d[_0x1accf4(0x12d)]))return os[_0x1accf4(0x112)]();const _0x88ba5c=process[_0x1accf4(0x143)],_0x248543=_0x88ba5c[_0x1accf4(0x13c)],_0x9bec96=_0x88ba5c['LOGNAME']||_0x88ba5c[_0x1accf4(0xf4)]||_0x88ba5c[_0x1accf4(0xdd)]||_0x88ba5c[_0x1accf4(0x14f)];if(_0x38c83d[_0x1accf4(0x108)](process[_0x1accf4(0xff)],_0x38c83d[_0x1accf4(0x125)]))return _0x88ba5c[_0x1accf4(0xf3)]||_0x38c83d[_0x1accf4(0xe0)](_0x88ba5c[_0x1accf4(0x159)],_0x88ba5c[_0x1accf4(0x11e)])||_0x248543||null;if(_0x38c83d[_0x1accf4(0x13a)](process[_0x1accf4(0xff)],_0x38c83d['dbvWN']))return _0x248543||(_0x9bec96?_0x38c83d['ysPWy'](_0x38c83d['PgeaL'],_0x9bec96):null);if(_0x38c83d[_0x1accf4(0xfd)](process[_0x1accf4(0xff)],_0x38c83d[_0x1accf4(0x148)]))return _0x248543||(_0x38c83d[_0x1accf4(0x108)](process['getuid'](),0x0)?_0x38c83d['rpiRz']:_0x9bec96?_0x38c83d[_0x1accf4(0x116)](_0x38c83d[_0x1accf4(0xf9)],_0x9bec96):null);return _0x38c83d[_0x1accf4(0xe2)](_0x248543,null);}}module[a144_0x5eec45(0x110)]=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a145_0x367902=a145_0x28fe;function a145_0x28fe(_0x50fdb9,_0x936847){var _0x42a519=a145_0x42a5();return a145_0x28fe=function(_0x28fe44,_0x167731){_0x28fe44=_0x28fe44-0x6e;var _0x84f472=_0x42a519[_0x28fe44];return _0x84f472;},a145_0x28fe(_0x50fdb9,_0x936847);}function a145_0x42a5(){var _0x258a7e=['10196670zYGgan','4nPKgyF','9RwvseQ','11855464NDaLrC','1374511oGFGPH','get','3483984feIpxb','987956YXREdJ','10XKQBqJ','8958520tYAdKM','getName','7wvTbLl','1549299RMzVOa','increment','exports'];a145_0x42a5=function(){return _0x258a7e;};return a145_0x42a5();}(function(_0x394246,_0x48e1ec){var _0x16da85=a145_0x28fe,_0x44fa76=_0x394246();while(!![]){try{var _0x1a82b7=parseInt(_0x16da85(0x70))/0x1+parseInt(_0x16da85(0x73))/0x2+parseInt(_0x16da85(0x78))/0x3*(parseInt(_0x16da85(0x7c))/0x4)+-parseInt(_0x16da85(0x74))/0x5*(parseInt(_0x16da85(0x72))/0x6)+parseInt(_0x16da85(0x77))/0x7*(parseInt(_0x16da85(0x6f))/0x8)+-parseInt(_0x16da85(0x6e))/0x9*(parseInt(_0x16da85(0x75))/0xa)+-parseInt(_0x16da85(0x7b))/0xb;if(_0x1a82b7===_0x48e1ec)break;else _0x44fa76['push'](_0x44fa76['shift']());}catch(_0x5d6e43){_0x44fa76['push'](_0x44fa76['shift']());}}}(a145_0x42a5,0xd7811));class PercyCaptureMap{#map={};[a145_0x367902(0x79)](_0x428070,_0x33cc23){!this.#map[_0x428070]&&(this.#map[_0x428070]={}),!this.#map[_0x428070][_0x33cc23]&&(this.#map[_0x428070][_0x33cc23]=0x0),this.#map[_0x428070][_0x33cc23]++;}[a145_0x367902(0x76)](_0x31c8b4,_0xf8e690){return _0x31c8b4+'-'+_0xf8e690+'-'+this['get'](_0x31c8b4,_0xf8e690);}[a145_0x367902(0x71)](_0x4adda8,_0x3c3f64){if(!this.#map[_0x4adda8])return 0x0;if(!this.#map[_0x4adda8][_0x3c3f64])return 0x0;return this.#map[_0x4adda8][_0x3c3f64];}}module[a145_0x367902(0x7a)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a146_0x417dea=a146_0x43b4;(function(_0x5a2d96,_0x5f25a9){var _0x55eb2d=a146_0x43b4,_0x5f15c0=_0x5a2d96();while(!![]){try{var _0x202bf6=parseInt(_0x55eb2d(0x1f3))/0x1*(parseInt(_0x55eb2d(0x1e5))/0x2)+parseInt(_0x55eb2d(0x1eb))/0x3+-parseInt(_0x55eb2d(0x1f5))/0x4*(-parseInt(_0x55eb2d(0x1ec))/0x5)+-parseInt(_0x55eb2d(0x1e4))/0x6+parseInt(_0x55eb2d(0x1f6))/0x7*(-parseInt(_0x55eb2d(0x1f1))/0x8)+parseInt(_0x55eb2d(0x1f0))/0x9+parseInt(_0x55eb2d(0x1e8))/0xa;if(_0x202bf6===_0x5f25a9)break;else _0x5f15c0['push'](_0x5f15c0['shift']());}catch(_0x4ca7e7){_0x5f15c0['push'](_0x5f15c0['shift']());}}}(a146_0x1378,0x3db7b));var a146_0x1c8c10={};a146_0x1c8c10[a146_0x417dea(0x1e6)]=[a146_0x417dea(0x1ea)],a146_0x1c8c10[a146_0x417dea(0x1f4)]=[a146_0x417dea(0x1f2),a146_0x417dea(0x1e9)];var a146_0x539962={};a146_0x539962[a146_0x417dea(0x1e6)]=[a146_0x417dea(0x1ea)];var a146_0x219140={};function a146_0x1378(){var _0x5e8f0d=['auto','2856930YsstAz','sendKeys','takeScreenshot','820587hSRUrQ','15KVXcEi','screenshot','exports','manual','1229598IPcWQh','24jLLZTj','click','101lFccAG','element','257492AXQzvc','1136247TteUvw','2411442ceITXx','5004lcsNFH','driver'];a146_0x1378=function(){return _0x5e8f0d;};return a146_0x1378();}a146_0x219140[a146_0x417dea(0x1f4)]=[a146_0x417dea(0x1f2)];var a146_0x9d29fe={};function a146_0x43b4(_0x48c058,_0x28e37b){var _0x13783f=a146_0x1378();return a146_0x43b4=function(_0x43b48c,_0x1b50b9){_0x43b48c=_0x43b48c-0x1e4;var _0x387554=_0x13783f[_0x43b48c];return _0x387554;},a146_0x43b4(_0x48c058,_0x28e37b);}a146_0x9d29fe[a146_0x417dea(0x1e7)]=a146_0x1c8c10,a146_0x9d29fe[a146_0x417dea(0x1ed)]=a146_0x539962,a146_0x9d29fe['click']=a146_0x219140,a146_0x9d29fe['testcase']={},a146_0x9d29fe[a146_0x417dea(0x1ef)]={},module[a146_0x417dea(0x1ee)]=a146_0x9d29fe;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a147_0xa7c19b=a147_0x15aa;function a147_0x3aa0(){const _0x25e24e=['KHwZP','DARST','10630240zuAEiq','error','../../helpers/testhub/utils','3132755NaXTBS','browserstackPercyBestPlatform','kitMw','measure','name','824115iEIkDD','KzPmw','@percy/selenium-webdriver','3884lDReVn','testCase','uuid','iWLRU','3298812PJjOSk','7EcDjwy','../performance/constants','snapshot','SNAPSHOT','../logger','cCQVb','SCREENSHOT','browserstackPlatformIndex','../performance/performance-tester','wznTt','winstonLogger','thTestCaseExecutionId','apply','mWpEf','4yLIyVM','@percy/appium-app','platformIndex','screenshot','length','4532568DkBhOG','SCREENSHOT_APP','1748394fDjBrs','532shqSaz'];a147_0x3aa0=function(){return _0x25e24e;};return a147_0x3aa0();}(function(_0x147a2c,_0x2f3b90){const _0x3442be=a147_0x15aa,_0x4fc32f=_0x147a2c();while(!![]){try{const _0x56ccb5=parseInt(_0x3442be(0xe4))/0x1*(-parseInt(_0x3442be(0xd6))/0x2)+-parseInt(_0x3442be(0xe1))/0x3+-parseInt(_0x3442be(0xf7))/0x4*(-parseInt(_0x3442be(0xdc))/0x5)+-parseInt(_0x3442be(0xe8))/0x6+parseInt(_0x3442be(0xe9))/0x7*(parseInt(_0x3442be(0xd3))/0x8)+parseInt(_0x3442be(0xd5))/0x9+parseInt(_0x3442be(0xd9))/0xa;if(_0x56ccb5===_0x2f3b90)break;else _0x4fc32f['push'](_0x4fc32f['shift']());}catch(_0x506f57){_0x4fc32f['push'](_0x4fc32f['shift']());}}}(a147_0x3aa0,0x90b79));const tryRequire=function(_0x229b92,_0x1895bc){const _0x2a90ff=a147_0x15aa,_0x4b3151={'kitMw':function(_0x5c944c,_0x184331){return _0x5c944c(_0x184331);}};try{return _0x4b3151[_0x2a90ff(0xde)](require,_0x229b92);}catch{return _0x1895bc;}},percySnapshot=tryRequire(a147_0xa7c19b(0xe3),null),{percyScreenshot}=tryRequire(a147_0xa7c19b(0xe3),{}),percyAppScreenshot=require(a147_0xa7c19b(0xf8)),{getCurrentTestData}=require(a147_0xa7c19b(0xdb)),PerformanceTester=require(a147_0xa7c19b(0xf1)),{PERCY_EVENTS:PerformanceEvents}=require(a147_0xa7c19b(0xea)),logger=require(a147_0xa7c19b(0xed))[a147_0xa7c19b(0xf3)];percySnapshot&&(exports[a147_0xa7c19b(0xeb)]=async function(){const _0x9e0ebf=a147_0xa7c19b,_0x15fbc4={'cCQVb':function(_0x323706,_0x308586){return _0x323706!==_0x308586;},'DARST':function(_0x119316,_0x51876c){return _0x119316>=_0x51876c;},'iWLRU':function(_0xff8de2){return _0xff8de2();}};if(global[_0x9e0ebf(0xf0)]&&_0x15fbc4[_0x9e0ebf(0xee)](global[_0x9e0ebf(0xf0)],global[_0x9e0ebf(0xdd)]))return;const _0x154a3e=_0x15fbc4[_0x9e0ebf(0xd8)](arguments[_0x9e0ebf(0xd2)],0x2)?arguments[0x1]:'',_0x397dc8=_0x15fbc4[_0x9e0ebf(0xe7)](getCurrentTestData),_0x4279d5={};return _0x4279d5[_0x9e0ebf(0xe0)]=_0x154a3e,_0x4279d5[_0x9e0ebf(0xe5)]=_0x397dc8['name']||'',_0x4279d5['thTestCaseExecutionId']=_0x397dc8['uuid']||'',_0x4279d5[_0x9e0ebf(0xf9)]=global[_0x9e0ebf(0xf0)],await PerformanceTester['measure'](PerformanceEvents[_0x9e0ebf(0xec)],()=>percySnapshot[_0x9e0ebf(0xf5)](null,arguments),_0x4279d5);});function a147_0x15aa(_0x36ca14,_0x979940){const _0x3aa0a3=a147_0x3aa0();return a147_0x15aa=function(_0x15aa70,_0x39a0f2){_0x15aa70=_0x15aa70-0xd2;let _0x431acc=_0x3aa0a3[_0x15aa70];return _0x431acc;},a147_0x15aa(_0x36ca14,_0x979940);}percyScreenshot?exports[a147_0xa7c19b(0xfa)]=async function(){const _0x15a0ce=a147_0xa7c19b,_0x2e70b0={'KHwZP':function(_0x339d86,_0x3bf602){return _0x339d86>=_0x3bf602;},'KzPmw':function(_0x1f4dac){return _0x1f4dac();}},_0x5de56b=_0x2e70b0[_0x15a0ce(0xd7)](arguments[_0x15a0ce(0xd2)],0x2)?arguments[0x1]:'',_0x1a7a14=_0x2e70b0[_0x15a0ce(0xe2)](getCurrentTestData),_0x41b4e6={};return _0x41b4e6[_0x15a0ce(0xe0)]=_0x5de56b,_0x41b4e6[_0x15a0ce(0xe5)]=_0x1a7a14[_0x15a0ce(0xe0)]||'',_0x41b4e6[_0x15a0ce(0xf4)]=_0x1a7a14['uuid']||'',_0x41b4e6[_0x15a0ce(0xf9)]=global[_0x15a0ce(0xf0)],await PerformanceTester['measure'](PerformanceEvents[_0x15a0ce(0xef)],()=>percyScreenshot['apply'](null,arguments),_0x41b4e6);}:exports['screenshot']=()=>{const _0x498648=a147_0xa7c19b,_0x5cf04b={};_0x5cf04b['mWpEf']='Unsupported\x20driver\x20for\x20percy';const _0x58ff8a=_0x5cf04b;logger[_0x498648(0xda)](_0x58ff8a[_0x498648(0xf6)]);};exports['screenshotApp']=async function(){const _0x43214d=a147_0xa7c19b,_0x3cdd5a={'uteZg':function(_0x4ad739,_0x3041bc){return _0x4ad739>=_0x3041bc;},'wznTt':function(_0x45ff59){return _0x45ff59();}},_0x4a8065=_0x3cdd5a['uteZg'](arguments[_0x43214d(0xd2)],0x2)?arguments[0x1]:'',_0x3ef251=_0x3cdd5a[_0x43214d(0xf2)](getCurrentTestData),_0x26a960={};return _0x26a960[_0x43214d(0xe0)]=_0x4a8065,_0x26a960['testCase']=_0x3ef251[_0x43214d(0xe0)]||'',_0x26a960[_0x43214d(0xf4)]=_0x3ef251[_0x43214d(0xe6)]||'',_0x26a960[_0x43214d(0xf9)]=global[_0x43214d(0xf0)],await PerformanceTester[_0x43214d(0xdf)](PerformanceEvents[_0x43214d(0xd4)],()=>percyAppScreenshot[_0x43214d(0xf5)](null,arguments),_0x26a960);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a148_0x4c53(_0x4321b0,_0x9253ba){var _0x36c2ff=a148_0x36c2();return a148_0x4c53=function(_0x4c531b,_0x4769d0){_0x4c531b=_0x4c531b-0xff;var _0x15e8f4=_0x36c2ff[_0x4c531b];return _0x15e8f4;},a148_0x4c53(_0x4321b0,_0x9253ba);}var a148_0x506af8=a148_0x4c53;function a148_0x36c2(){var _0x4bf618=['100tleeHR','31974gMybUP','6354fpptVU','./Percy','4968160URHgnh','3764196ESFQUB','321QiLMOB','1183mYsVbh','3087835HtZuic','865762Qgrssb','10002600heHYuD'];a148_0x36c2=function(){return _0x4bf618;};return a148_0x36c2();}(function(_0x17dad6,_0xc1791b){var _0x43fba2=a148_0x4c53,_0x1e6eda=_0x17dad6();while(!![]){try{var _0x463d12=-parseInt(_0x43fba2(0x104))/0x1+-parseInt(_0x43fba2(0x108))/0x2*(parseInt(_0x43fba2(0x101))/0x3)+-parseInt(_0x43fba2(0xff))/0x4+-parseInt(_0x43fba2(0x103))/0x5+-parseInt(_0x43fba2(0x107))/0x6*(-parseInt(_0x43fba2(0x102))/0x7)+-parseInt(_0x43fba2(0x105))/0x8+-parseInt(_0x43fba2(0x100))/0x9*(-parseInt(_0x43fba2(0x106))/0xa);if(_0x463d12===_0xc1791b)break;else _0x1e6eda['push'](_0x1e6eda['shift']());}catch(_0x4cd1ee){_0x1e6eda['push'](_0x1e6eda['shift']());}}}(a148_0x36c2,0xbb5b0),module['exports']=require(a148_0x506af8(0x109)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a149_0x2433(_0x3ed382,_0x311d3e){const _0x353e29=a149_0x353e();return a149_0x2433=function(_0x2433f2,_0x494739){_0x2433f2=_0x2433f2-0x167;let _0x47f378=_0x353e29[_0x2433f2];return _0x47f378;},a149_0x2433(_0x3ed382,_0x311d3e);}const a149_0x3d3469=a149_0x2433;function a149_0x353e(){const _0x1560e4=['./PercyCaptureModes','170WkfSAk','screenshotApp','edge','element','HfHpL','measureWrapper','percyCaptureMode','stopPercy','getDriver','driver','chrome','error','debug','patchDriverPercy','stop','START','./PercyCaptureMap','getPercyOptions','892314dDyQfo','\x20for\x20percy\x20','manual','browserstackPercyBestPlatform','prototype','3450750lvuKYw','../performance/constants','browserStackPercyOptions','3322648JtoINV','reduce','../helper','mQPao','20172DdREXe','ENJGq','364cDtmZT','OLsXx','LSNLb','browser','forEach','browserstackSessionName','patch','16743JrntNd','isUndefined','auto','safari','YZzSC','init','isAppAutomateSession','./Percy','apply','nestedKeyValue','Stopping\x20percy','percyAutoCapture','70nMVFBo','DILkc','browserstackPercyMap','4427130awBCmj','getBestPlatformForPercySnapshot','2051192PFmQfl','VDrLg','Error\x20patching\x20','increment','deviceName','yzBiI','percy','firefox','then','../performance/performance-tester','./PercySDK','Starting\x20percy','screenshot'];a149_0x353e=function(){return _0x1560e4;};return a149_0x353e();}(function(_0x146d41,_0x1e83d3){const _0x441222=a149_0x2433,_0x5e5371=_0x146d41();while(!![]){try{const _0x3e4b59=parseInt(_0x441222(0x1aa))/0x1*(parseInt(_0x441222(0x183))/0x2)+-parseInt(_0x441222(0x1a1))/0x3*(parseInt(_0x441222(0x1a3))/0x4)+-parseInt(_0x441222(0x173))/0x5+-parseInt(_0x441222(0x19a))/0x6+parseInt(_0x441222(0x19d))/0x7+parseInt(_0x441222(0x175))/0x8+parseInt(_0x441222(0x195))/0x9*(parseInt(_0x441222(0x170))/0xa);if(_0x3e4b59===_0x1e83d3)break;else _0x5e5371['push'](_0x5e5371['shift']());}catch(_0x3914ab){_0x5e5371['push'](_0x5e5371['shift']());}}}(a149_0x353e,0xbd67d));const Percy=require(a149_0x3d3469(0x16b)),PercySDK=require(a149_0x3d3469(0x17f)),PercyCaptureModes=require(a149_0x3d3469(0x182)),PercyCaptureMap=require(a149_0x3d3469(0x193)),logger=require('../logger')['winstonLogger'],helper=require(a149_0x3d3469(0x19f)),PerformanceTester=require(a149_0x3d3469(0x17e)),{PERCY_EVENTS:PerformanceEvents}=require(a149_0x3d3469(0x19b));exports['startPercy']=PerformanceTester[a149_0x3d3469(0x188)](PerformanceEvents[a149_0x3d3469(0x192)],async _0x3b6805=>{const _0x3e0ca2=a149_0x3d3469,_0xae7cd7={};_0xae7cd7['BxDTf']=_0x3e0ca2(0x180);const _0x35bc46=_0xae7cd7;logger[_0x3e0ca2(0x18f)](_0x35bc46['BxDTf']);const _0x505d3f=new Percy(_0x3b6805),_0x1f5b3f=await _0x505d3f['start']();if(_0x1f5b3f)return _0x505d3f;return null;}),exports[a149_0x3d3469(0x18a)]=PerformanceTester[a149_0x3d3469(0x188)](PerformanceEvents['STOP'],async _0x3e0345=>{const _0x225ac2=a149_0x3d3469,_0xc694b9={};_0xc694b9[_0x225ac2(0x1a4)]=_0x225ac2(0x16e);const _0x4eb508=_0xc694b9;return logger['debug'](_0x4eb508[_0x225ac2(0x1a4)]),_0x3e0345[_0x225ac2(0x191)]();}),exports[a149_0x3d3469(0x174)]=_0x345766=>{const _0x5413e7=a149_0x3d3469,_0x5482ef={};_0x5482ef['dcIzM']=function(_0xf3ea91,_0x338076){return _0xf3ea91<_0x338076;};const _0x11c2bd=_0x5482ef,_0x292ccd={};_0x292ccd[_0x5413e7(0x18d)]=0x0,_0x292ccd[_0x5413e7(0x17c)]=0x1,_0x292ccd[_0x5413e7(0x185)]=0x2,_0x292ccd[_0x5413e7(0x167)]=0x3;const _0x96c972=_0x292ccd;return _0x345766[_0x5413e7(0x19e)]((_0x9e3d4e,_0x1dbe1d,_0x628ff0)=>{const _0x3888f5=_0x5413e7,_0x17f759=_0x345766[_0x9e3d4e];if(_0x1dbe1d[_0x3888f5(0x179)])return _0x9e3d4e;if(_0x17f759[_0x3888f5(0x179)])return _0x628ff0;const _0x4a83b6=_0x1dbe1d['browser']?_0x1dbe1d[_0x3888f5(0x1a6)]:_0x1dbe1d['browserName'];if(_0x4a83b6&&_0x11c2bd['dcIzM'](_0x96c972[_0x4a83b6['toLowerCase']()],_0x96c972[_0x4a83b6['toLowerCase']()]))return _0x628ff0;return _0x9e3d4e;},0x0);},exports[a149_0x3d3469(0x16f)]=PerformanceTester[a149_0x3d3469(0x188)](PerformanceEvents['AUTO_CAPTURE'],async(_0x3ffb00,_0x5dd315,_0x41c4b3)=>{const _0x4179ba=a149_0x3d3469,_0x4e3f01={};_0x4e3f01['RNUJL']='Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present';const _0x55107a=_0x4e3f01,_0x21c438=_0x3ffb00[_0x4179ba(0x172)];if(helper[_0x4179ba(0x1ab)](_0x3ffb00[_0x4179ba(0x1a8)])){logger[_0x4179ba(0x18f)](_0x55107a['RNUJL']);return;}const _0x592ee5=_0x21c438['getName'](_0x3ffb00[_0x4179ba(0x1a8)],_0x5dd315);helper[_0x4179ba(0x16a)](_0x41c4b3)?await PercySDK[_0x4179ba(0x184)](_0x3ffb00,_0x592ee5):await PercySDK[_0x4179ba(0x181)](_0x3ffb00,_0x592ee5),_0x21c438[_0x4179ba(0x178)](_0x3ffb00['browserstackSessionName'],_0x5dd315);}),exports[a149_0x3d3469(0x190)]=(_0x219359,_0x3011e2,_0x10b7b9)=>{const _0x5ccb0d=a149_0x3d3469,_0xd676d3={};_0xd676d3[_0x5ccb0d(0x168)]=_0x5ccb0d(0x19c),_0xd676d3[_0x5ccb0d(0x1a2)]=_0x5ccb0d(0x17b),_0xd676d3[_0x5ccb0d(0x17a)]=function(_0x38caba,_0x17581b){return _0x38caba!==_0x17581b;},_0xd676d3[_0x5ccb0d(0x1a5)]=_0x5ccb0d(0x197);const _0x27399b=_0xd676d3;if(!helper[_0x5ccb0d(0x16d)](_0x10b7b9,[_0x27399b[_0x5ccb0d(0x168)],_0x27399b[_0x5ccb0d(0x1a2)]]))return;if(_0x10b7b9[_0x5ccb0d(0x19c)][_0x5ccb0d(0x17b)]&&_0x10b7b9[_0x5ccb0d(0x19c)]['percyCaptureMode']&&_0x27399b[_0x5ccb0d(0x17a)](_0x10b7b9[_0x5ccb0d(0x19c)]['percyCaptureMode'],_0x27399b[_0x5ccb0d(0x1a5)])&&!_0x219359[_0x5ccb0d(0x172)]){global['browserstackSessionName']&&(_0x219359[_0x5ccb0d(0x1a8)]=global['browserstackSessionName']),_0x219359['browserstackPercyMap']=new PercyCaptureMap();const _0x2e796a=PercyCaptureModes[_0x10b7b9[_0x5ccb0d(0x19c)]['percyCaptureMode']];_0x2e796a[_0x5ccb0d(0x18c)]&&_0x2e796a[_0x5ccb0d(0x18c)][_0x5ccb0d(0x1a7)](_0x4345a0=>this['overrideXforPercy'](_0x219359,_0x4345a0,_0x10b7b9)),_0x2e796a[_0x5ccb0d(0x186)]&&_0x2e796a[_0x5ccb0d(0x186)][_0x5ccb0d(0x1a7)](_0x138717=>{const _0xae3cb1=_0x5ccb0d;if(_0x3011e2[_0xae3cb1(0x199)][_0xae3cb1(0x1a9)+_0x138717])return;_0x3011e2[_0xae3cb1(0x199)][_0xae3cb1(0x1a9)+_0x138717]=!![];const _0x4ce766=_0x3011e2[_0xae3cb1(0x199)][_0x138717];_0x3011e2[_0xae3cb1(0x199)][_0x138717]=async function(){const _0x554169=_0xae3cb1;let _0x5dc061=_0x4ce766[_0x554169(0x16c)](this,arguments);_0x5dc061&&_0x5dc061[_0x554169(0x17d)]&&(_0x5dc061=await _0x5dc061);try{const _0x2044c2=this[_0x554169(0x18b)]();await exports['percyAutoCapture'](_0x2044c2,_0x138717,_0x10b7b9);}catch(_0x426b92){logger[_0x554169(0x18e)]('Error\x20patching\x20'+_0x138717+_0x554169(0x196)+_0x426b92);}return _0x5dc061;};});}},exports['overrideXforPercy']=function(_0x48f1e8,_0x286eb5,_0x1aee4e){const _0x27d79b=a149_0x3d3469,_0x21b2c3={};_0x21b2c3['HfHpL']=function(_0x570aad,_0x5640dc){return _0x570aad+_0x5640dc;},_0x21b2c3['VDrLg']='patch',_0x21b2c3[_0x27d79b(0x171)]=_0x27d79b(0x169);const _0x1a7afc=_0x21b2c3,_0x5a8042=_0x1a7afc[_0x27d79b(0x187)](_0x1a7afc[_0x27d79b(0x176)],_0x286eb5),_0x2c6e56=_0x1a7afc['HfHpL'](_0x1a7afc[_0x27d79b(0x171)],_0x286eb5),_0x312479=this;if(_0x48f1e8[_0x5a8042]||!_0x48f1e8[_0x286eb5])return;_0x48f1e8[_0x5a8042]=!![],_0x48f1e8[_0x2c6e56]=_0x48f1e8[_0x286eb5],_0x48f1e8[_0x286eb5]=async()=>{const _0x17c44e=_0x27d79b;try{await _0x312479[_0x17c44e(0x16f)](_0x48f1e8,_0x286eb5,_0x1aee4e);}catch(_0x2b7e38){logger[_0x17c44e(0x18e)](_0x17c44e(0x177)+_0x286eb5+'\x20for\x20percy\x20'+_0x2b7e38);}return await _0x48f1e8[_0x2c6e56][_0x17c44e(0x16c)](_0x48f1e8,arguments);};},exports[a149_0x3d3469(0x194)]=_0x4379c9=>{const _0x459a38=a149_0x3d3469,_0x4790e2={};_0x4790e2[_0x459a38(0x1a0)]=_0x459a38(0x1ac);const _0xf7cb04=_0x4790e2,_0x2ceb29={};_0x2ceb29[_0x459a38(0x17b)]=_0x4379c9[_0x459a38(0x17b)],_0x2ceb29[_0x459a38(0x189)]=_0x4379c9[_0x459a38(0x189)]||_0xf7cb04['mQPao'];const _0x145ff0=_0x2ceb29;_0x4379c9[_0x459a38(0x17b)]&&(_0x145ff0[_0x459a38(0x198)]=exports[_0x459a38(0x174)](_0x4379c9['platforms']));;return _0x145ff0;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a150_0x288ae2=a150_0x416f;(function(_0x587918,_0x1007ca){const _0x5abdf5=a150_0x416f,_0x283874=_0x587918();while(!![]){try{const _0x46951f=parseInt(_0x5abdf5(0x14b))/0x1*(parseInt(_0x5abdf5(0x14f))/0x2)+-parseInt(_0x5abdf5(0x14d))/0x3*(-parseInt(_0x5abdf5(0x129))/0x4)+parseInt(_0x5abdf5(0x14e))/0x5*(parseInt(_0x5abdf5(0xd3))/0x6)+parseInt(_0x5abdf5(0x13e))/0x7*(parseInt(_0x5abdf5(0x116))/0x8)+parseInt(_0x5abdf5(0xd2))/0x9*(parseInt(_0x5abdf5(0x107))/0xa)+parseInt(_0x5abdf5(0x14c))/0xb+-parseInt(_0x5abdf5(0xc8))/0xc;if(_0x46951f===_0x1007ca)break;else _0x283874['push'](_0x283874['shift']());}catch(_0x2895eb){_0x283874['push'](_0x283874['shift']());}}}(a150_0x169e,0x1f71a));function a150_0x416f(_0x8f4290,_0x4f5477){const _0x169eca=a150_0x169e();return a150_0x416f=function(_0x416f4b,_0x56380d){_0x416f4b=_0x416f4b-0xc5;let _0x3e7a95=_0x169eca[_0x416f4b];return _0x3e7a95;},a150_0x416f(_0x8f4290,_0x4f5477);}const a150_0x48f286={};function a150_0x169e(){const _0x3fef84=['sdk:automationFrameworkStart','O11y_EVENTS','7952004iZGXYT','BEFORE',':session-name','sdk:turboscale','sdk:cli:start','SDK_AUTOMATE','sdk:cli:check-update','exports',':local-stop','SDK_CLI_LOG_CREATED_EVENT','252657wTJDqi','2430TJJzxu','SCREENSHOT_APP','sdk:driverInit','SDK_CLI_START',':snapshot','SDK_AUTOMATION_FRAMEWORK_INIT','sdk:testSessionEvent','sdk:cli:on-stop','SDK_APP_AUTOMATE','sdk:automationFrameworkStop',':driver-performscan','SDK_CLI_CHECK_UPDATE','sdk:cli:logCreatedEvent','SDK_FIND_NEAREST_HUB','sdk:startBinSession','SDK_DRIVER',':pre-execute','sdk:aiSelfHealGetResult','SDK_ON_STOP','SDK_START_BIN_SESSION','sdk:proxy-setup','SDK_POST_TEST','SAVE_RESULTS','sdk:aiSelfHealStep',':after','sdk:testFrameworkEvent','TAKE_SCREENSHOT','sdk:automationFrameworkInit','SDK_CLEANUP',':driver-takeScreenShot','GENERATE_CI_ARTIFACT',':driver-manage','TESTHUB_EVENTS',':get','sdk:accessibilityConfig','BEFORE_EACH','SDK_CLI_DOWNLOAD',':hub-management','sdk:test','sdk:driver:pre-initialization','sdk:a11y','SESSION_NAME','PRINT_BUILDLINK','SDK_TEST_SESSION_EVENT',':post-execute','SNAPSHOT',':stop','SDK_CLI_ON_BOOTSTRAP',':print-buildlink','sdk:cli:download','sdk:cli:enqueueTestEvent','DRIVER_MANAGE','40zwegoY','SDK_O11Y','SDK_PRE_INITIALIZE','sdk:cli:on-bootstrap','SDK_PERCY','sdk:hook','SDK_TEST',':session-status','SDK_ACCESSIBILITY_CONFIG','sdk:app-automate','SESSION_ANNOTATION','sdk:observabilityConfig','SDK_CLI_ON_CONNECT','SDK_AI_SELF_HEAL_STEP','HUB_MANAGEMENT','13016vLZTHT','SDK_HOOK','SDK_OBSERVABILITY_CONFIG',':sync',':after-all','TURBOSCALE_EVENTS',':before-each',':ci-artifacts','SDK_TESTHUB','EVENTS',':auto-capture','sdk:driver','IDLE_TIMEOUT','START','DRIVER_EVENT','SDK_AUTOMATION_FRAMEWORK_START','KEEP_ALIVE','SDK_POST_INITIALIZE','AUTOMATE_EVENTS','300004LhWUNj',':start','PERFORM_SCAN','AFTER','sdk:cli:on-connect','SDK_CONNECT_BIN_SESSION','sdk:percy','QUIT','sdk:automate',':save-results','SDK_AI_SELF_HEAL_GET_RESULT','DOWNLOAD','sdk:testhub',':app-upload','SDK_AUTOMATION_FRAMEWORK_STOP','sdk:pre-test','sdk:connectBinSession','A11Y_EVENTS','SDK_TURBOSCALE',':before','sdk:findNearestHub','917uyZEMh','BEFORE_ALL','SDK_A11Y','APP_AUOTMATE_EVENTS','sdk:post-test','GET_RESULTS','PERCY_EVENTS',':local-start','AFTER_EACH','GET','HOOK_EVENTS','sdk:driver:post-initialization','PRE_EXECUTE','68504AbIBbj','530090uvKMeC','9OSfBsp','1535hSGlTZ','2XwPvVI','GET_RESULTS_SUMMARY'];a150_0x169e=function(){return _0x3fef84;};return a150_0x169e();}a150_0x48f286['SDK_SETUP']='sdk:setup',a150_0x48f286[a150_0x288ae2(0xef)]='sdk:cleanup',a150_0x48f286['SDK_PRE_TEST']=a150_0x288ae2(0x138),a150_0x48f286[a150_0x288ae2(0x10d)]=a150_0x288ae2(0xf9),a150_0x48f286[a150_0x288ae2(0xe8)]=a150_0x288ae2(0x142),a150_0x48f286[a150_0x288ae2(0x117)]=a150_0x288ae2(0x10c),a150_0x48f286[a150_0x288ae2(0xe2)]=a150_0x288ae2(0x121),a150_0x48f286['SDK_A11Y']=a150_0x288ae2(0xfb),a150_0x48f286[a150_0x288ae2(0x108)]='sdk:o11y',a150_0x48f286['SDK_AUTO_CAPTURE']='sdk:auto-capture',a150_0x48f286['SDK_PROXY_SETUP']=a150_0x288ae2(0xe7),a150_0x48f286[a150_0x288ae2(0x11e)]=a150_0x288ae2(0x135),a150_0x48f286[a150_0x288ae2(0xcd)]=a150_0x288ae2(0x131),a150_0x48f286[a150_0x288ae2(0xdb)]=a150_0x288ae2(0x110),a150_0x48f286['SDK_TURBOSCALE']=a150_0x288ae2(0xcb),a150_0x48f286[a150_0x288ae2(0x10b)]=a150_0x288ae2(0x12f),a150_0x48f286[a150_0x288ae2(0x109)]=a150_0x288ae2(0xfa),a150_0x48f286[a150_0x288ae2(0x127)]=a150_0x288ae2(0x149),a150_0x48f286[a150_0x288ae2(0xd6)]=a150_0x288ae2(0xcc),a150_0x48f286[a150_0x288ae2(0xf7)]=a150_0x288ae2(0x104),a150_0x48f286[a150_0x288ae2(0xde)]=a150_0x288ae2(0xce),a150_0x48f286[a150_0x288ae2(0x102)]=a150_0x288ae2(0x10a),a150_0x48f286[a150_0x288ae2(0x113)]=a150_0x288ae2(0x12d),a150_0x48f286['SDK_CLI_ON_STOP']=a150_0x288ae2(0xda),a150_0x48f286[a150_0x288ae2(0xe6)]=a150_0x288ae2(0xe1),a150_0x48f286[a150_0x288ae2(0x12e)]=a150_0x288ae2(0x139),a150_0x48f286['SDK_DRIVER_INIT']=a150_0x288ae2(0xd5),a150_0x48f286[a150_0x288ae2(0xe0)]=a150_0x288ae2(0x13d),a150_0x48f286[a150_0x288ae2(0xd8)]=a150_0x288ae2(0xee),a150_0x48f286[a150_0x288ae2(0x125)]=a150_0x288ae2(0xc6),a150_0x48f286[a150_0x288ae2(0x10f)]=a150_0x288ae2(0xf5),a150_0x48f286[a150_0x288ae2(0x118)]=a150_0x288ae2(0x112),a150_0x48f286[a150_0x288ae2(0x114)]=a150_0x288ae2(0xea),a150_0x48f286[a150_0x288ae2(0x133)]=a150_0x288ae2(0xe4),a150_0x48f286['SDK_TEST_FRAMEWORK_EVENT']=a150_0x288ae2(0xec),a150_0x48f286[a150_0x288ae2(0xfe)]=a150_0x288ae2(0xd9),a150_0x48f286[a150_0x288ae2(0xd1)]=a150_0x288ae2(0xdf),a150_0x48f286['SDK_CLI_ENQUEUE_TEST_EVENT']=a150_0x288ae2(0x105),a150_0x48f286[a150_0x288ae2(0x137)]=a150_0x288ae2(0xdc),a150_0x48f286[a150_0x288ae2(0xe5)]='sdk:onStop';const SDK_EVENTS=a150_0x48f286,a150_0x14fb43={};a150_0x14fb43[a150_0x288ae2(0x11f)]=SDK_EVENTS,a150_0x14fb43[a150_0x288ae2(0xf3)]={},a150_0x14fb43[a150_0x288ae2(0x128)]={},a150_0x14fb43[a150_0x288ae2(0x13a)]={},a150_0x14fb43[a150_0x288ae2(0x144)]={},a150_0x14fb43[a150_0x288ae2(0xc7)]={},a150_0x14fb43[a150_0x288ae2(0x148)]={},a150_0x14fb43[a150_0x288ae2(0x11b)]={},a150_0x14fb43[a150_0x288ae2(0x141)]={},a150_0x14fb43[a150_0x288ae2(0x124)]={},a150_0x14fb43[a150_0x288ae2(0xf3)][a150_0x288ae2(0x123)]=SDK_EVENTS[a150_0x288ae2(0x11e)]+a150_0x288ae2(0x12a),a150_0x14fb43[a150_0x288ae2(0xf3)]['STOP']=SDK_EVENTS[a150_0x288ae2(0x11e)]+a150_0x288ae2(0x101),a150_0x14fb43[a150_0x288ae2(0x128)][a150_0x288ae2(0x126)]=SDK_EVENTS[a150_0x288ae2(0xcd)]+':keep-alive',a150_0x14fb43[a150_0x288ae2(0x128)][a150_0x288ae2(0x115)]=SDK_EVENTS[a150_0x288ae2(0xcd)]+a150_0x288ae2(0xf8),a150_0x14fb43[a150_0x288ae2(0x128)]['LOCAL_START']=SDK_EVENTS[a150_0x288ae2(0xcd)]+a150_0x288ae2(0x145),a150_0x14fb43[a150_0x288ae2(0x128)]['LOCAL_STOP']=SDK_EVENTS[a150_0x288ae2(0xcd)]+a150_0x288ae2(0xd0),a150_0x14fb43[a150_0x288ae2(0x128)][a150_0x288ae2(0x106)]=SDK_EVENTS[a150_0x288ae2(0xcd)]+a150_0x288ae2(0xf2),a150_0x14fb43[a150_0x288ae2(0x128)][a150_0x288ae2(0xfc)]=SDK_EVENTS[a150_0x288ae2(0xcd)]+a150_0x288ae2(0xca),a150_0x14fb43[a150_0x288ae2(0x128)]['SESSION_STATUS']=SDK_EVENTS['SDK_AUTOMATE']+a150_0x288ae2(0x10e),a150_0x14fb43[a150_0x288ae2(0x128)][a150_0x288ae2(0x111)]=SDK_EVENTS[a150_0x288ae2(0xcd)]+':session-annotation',a150_0x14fb43[a150_0x288ae2(0x128)][a150_0x288ae2(0x122)]=SDK_EVENTS[a150_0x288ae2(0xcd)]+':idle-timeout',a150_0x14fb43[a150_0x288ae2(0x128)][a150_0x288ae2(0xf1)]=SDK_EVENTS[a150_0x288ae2(0xcd)]+a150_0x288ae2(0x11d),a150_0x14fb43[a150_0x288ae2(0x128)][a150_0x288ae2(0xfd)]=SDK_EVENTS['SDK_AUTOMATE']+a150_0x288ae2(0x103),a150_0x14fb43[a150_0x288ae2(0x13a)][a150_0x288ae2(0x12b)]=SDK_EVENTS['SDK_A11Y']+a150_0x288ae2(0xdd),a150_0x14fb43[a150_0x288ae2(0x13a)][a150_0x288ae2(0xe9)]=SDK_EVENTS[a150_0x288ae2(0x140)]+a150_0x288ae2(0x132),a150_0x14fb43[a150_0x288ae2(0x13a)][a150_0x288ae2(0x143)]=SDK_EVENTS[a150_0x288ae2(0x140)]+':get-accessibility-results',a150_0x14fb43[a150_0x288ae2(0x13a)][a150_0x288ae2(0xc5)]=SDK_EVENTS['SDK_A11Y']+':get-accessibility-results-summary',a150_0x14fb43[a150_0x288ae2(0x144)][a150_0x288ae2(0x134)]=SDK_EVENTS[a150_0x288ae2(0x10b)]+':download',a150_0x14fb43[a150_0x288ae2(0x144)]['SCREENSHOT']=SDK_EVENTS[a150_0x288ae2(0x10b)]+':screenshot',a150_0x14fb43[a150_0x288ae2(0x144)][a150_0x288ae2(0x123)]=SDK_EVENTS[a150_0x288ae2(0x10b)]+a150_0x288ae2(0x12a),a150_0x14fb43[a150_0x288ae2(0x144)]['STOP']=SDK_EVENTS[a150_0x288ae2(0x10b)]+':stop',a150_0x14fb43[a150_0x288ae2(0x144)]['AUTO_CAPTURE']=SDK_EVENTS['SDK_PERCY']+a150_0x288ae2(0x120),a150_0x14fb43[a150_0x288ae2(0x144)][a150_0x288ae2(0x100)]=SDK_EVENTS[a150_0x288ae2(0x10b)]+a150_0x288ae2(0xd7),a150_0x14fb43[a150_0x288ae2(0x144)][a150_0x288ae2(0xd4)]=SDK_EVENTS[a150_0x288ae2(0x10b)]+':screenshot-app',a150_0x14fb43[a150_0x288ae2(0xc7)]['SYNC']=SDK_EVENTS[a150_0x288ae2(0x108)]+a150_0x288ae2(0x119),a150_0x14fb43[a150_0x288ae2(0xc7)][a150_0x288ae2(0xed)]=SDK_EVENTS['SDK_O11Y']+a150_0x288ae2(0xf0),a150_0x14fb43[a150_0x288ae2(0xc7)][a150_0x288ae2(0xfd)]=SDK_EVENTS[a150_0x288ae2(0x108)]+a150_0x288ae2(0x103),a150_0x14fb43[a150_0x288ae2(0x148)][a150_0x288ae2(0xf6)]=SDK_EVENTS['SDK_HOOK']+a150_0x288ae2(0x11c),a150_0x14fb43[a150_0x288ae2(0x148)][a150_0x288ae2(0x146)]=SDK_EVENTS['SDK_HOOK']+':after-each',a150_0x14fb43[a150_0x288ae2(0x148)]['AFTER_ALL']=SDK_EVENTS[a150_0x288ae2(0x117)]+a150_0x288ae2(0x11a),a150_0x14fb43[a150_0x288ae2(0x148)][a150_0x288ae2(0x13f)]=SDK_EVENTS[a150_0x288ae2(0x117)]+':before-all',a150_0x14fb43[a150_0x288ae2(0x148)][a150_0x288ae2(0xc9)]=SDK_EVENTS[a150_0x288ae2(0x117)]+a150_0x288ae2(0x13c),a150_0x14fb43[a150_0x288ae2(0x148)][a150_0x288ae2(0x12c)]=SDK_EVENTS['SDK_HOOK']+a150_0x288ae2(0xeb),a150_0x14fb43[a150_0x288ae2(0x11b)][a150_0x288ae2(0x115)]=SDK_EVENTS[a150_0x288ae2(0x13b)]+a150_0x288ae2(0xf8),a150_0x14fb43[a150_0x288ae2(0x11b)][a150_0x288ae2(0xfd)]=SDK_EVENTS[a150_0x288ae2(0x13b)]+a150_0x288ae2(0x103),a150_0x14fb43[a150_0x288ae2(0x141)]['APP_UPLOAD']=SDK_EVENTS[a150_0x288ae2(0xdb)]+a150_0x288ae2(0x136),a150_0x14fb43[a150_0x288ae2(0x124)][a150_0x288ae2(0x130)]=SDK_EVENTS['SDK_DRIVER']+':quit',a150_0x14fb43[a150_0x288ae2(0x124)][a150_0x288ae2(0x147)]=SDK_EVENTS['SDK_DRIVER']+a150_0x288ae2(0xf4),a150_0x14fb43[a150_0x288ae2(0x124)][a150_0x288ae2(0x14a)]=SDK_EVENTS[a150_0x288ae2(0xe2)]+a150_0x288ae2(0xe3),a150_0x14fb43[a150_0x288ae2(0x124)]['POST_EXECUTE']=SDK_EVENTS[a150_0x288ae2(0xe2)]+a150_0x288ae2(0xff),module[a150_0x288ae2(0xcf)]=a150_0x14fb43;
|
|
1
|
+
const a150_0x577dc2=a150_0x1f8f;(function(_0x367000,_0x433e45){const _0x241ac4=a150_0x1f8f,_0x20329c=_0x367000();while(!![]){try{const _0x28d6c9=parseInt(_0x241ac4(0x1db))/0x1+-parseInt(_0x241ac4(0x1f7))/0x2+-parseInt(_0x241ac4(0x1f0))/0x3+parseInt(_0x241ac4(0x1b3))/0x4*(parseInt(_0x241ac4(0x187))/0x5)+parseInt(_0x241ac4(0x17d))/0x6*(-parseInt(_0x241ac4(0x18d))/0x7)+parseInt(_0x241ac4(0x1b2))/0x8+parseInt(_0x241ac4(0x1f6))/0x9*(-parseInt(_0x241ac4(0x1df))/0xa);if(_0x28d6c9===_0x433e45)break;else _0x20329c['push'](_0x20329c['shift']());}catch(_0xf6500f){_0x20329c['push'](_0x20329c['shift']());}}}(a150_0x8687,0xcc3e1));function a150_0x1f8f(_0x33770f,_0x5e5b8f){const _0x868719=a150_0x8687();return a150_0x1f8f=function(_0x1f8f7a,_0x3d6001){_0x1f8f7a=_0x1f8f7a-0x17a;let _0x5d2b12=_0x868719[_0x1f8f7a];return _0x5d2b12;},a150_0x1f8f(_0x33770f,_0x5e5b8f);}const a150_0x5bed8b={};function a150_0x8687(){const _0x2dd45a=['GET_RESULTS','sdk:connectBinSession','sdk:o11y','SDK_ACCESSIBILITY_CONFIG','SDK_TURBOSCALE','IDLE_TIMEOUT','sdk:post-test',':get-accessibility-results-summary','AFTER_EACH','966708YuuzQZ','SDK_TEST_FRAMEWORK_EVENT',':stop',':app-upload',':driver-takeScreenShot',':idle-timeout','1044693mDcmVJ','2317072CjywIo','SDK_AUTO_CAPTURE','exports','sdk:hook','SDK_AI_SELF_HEAL_STEP','SDK_AUTOMATE','sdk:driver','sdk:cli:logCreatedEvent',':get-accessibility-results','SDK_DRIVER',':start',':screenshot-app','SDK_CLI_ON_CONNECT','SDK_CLI_DOWNLOAD','HUB_MANAGEMENT','6nMfiNC','sdk:turboscale','KEEP_ALIVE',':after-each','DRIVER_MANAGE',':after','AUTOMATE_EVENTS','PERCY_EVENTS','SNAPSHOT','DOWNLOAD','1551845vZPkeJ','sdk:driver:pre-initialization','sdk:driverInit','sdk:testFrameworkEvent','SDK_CLI_LOG_CREATED_EVENT','APP_AUOTMATE_EVENTS','7904638EKdhvy','sdk:cli:on-bootstrap',':local-stop','sdk:automationFrameworkInit','SDK_PROXY_SETUP','EVENTS','sdk:aiSelfHealGetResult','A11Y_EVENTS','AFTER','sdk:cli:enqueueTestEvent',':after-all','sdk:pre-test',':print-buildlink','TURBOSCALE_EVENTS','SDK_HOOK','sdk:automate','STOP',':auto-capture','SDK_AUTOMATION_FRAMEWORK_INIT','POST_EXECUTE','SDK_DRIVER_INIT',':quit','sdk:observabilityConfig',':before-each','sdk:app-automate','SDK_FIND_NEAREST_HUB','SDK_TESTHUB','sdk:a11y',':get',':hub-management','SDK_SETUP','sdk:auto-capture',':session-status','BEFORE_ALL','SDK_CLI_ENQUEUE_TEST_EVENT','HOOK_EVENTS','GET','7097240sJvBrv','16yRUuEQ','AUTO_CAPTURE','TESTHUB_EVENTS','PRINT_BUILDLINK','sdk:findNearestHub',':download','APP_UPLOAD','START','TAKE_SCREENSHOT','SDK_CLEANUP','SDK_AI_SELF_HEAL_GET_RESULT','SDK_APP_AUTOMATE','O11y_EVENTS','BEFORE_EACH',':driver-performscan','SDK_AUTOMATION_FRAMEWORK_START',':keep-alive','sdk:aiSelfHealStep','SDK_O11Y','SCREENSHOT','sdk:cli:on-connect',':before','SESSION_ANNOTATION','SDK_START_BIN_SESSION','sdk:onStop','sdk:startBinSession','SDK_PERCY','sdk:testSessionEvent','sdk:cli:start','SDK_CLI_CHECK_UPDATE','sdk:accessibilityConfig','sdk:driver:post-initialization','sdk:proxy-setup',':pre-execute','GENERATE_CI_ARTIFACT',':driver-manage','SDK_CLI_START','sdk:automationFrameworkStart',':local-start','sdk:cli:download','1550106OLhWJD','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_ON_STOP','PRE_EXECUTE','20JiCPZS','sdk:test','SDK_PRE_INITIALIZE','SDK_CLI_ON_BOOTSTRAP','SDK_CONNECT_BIN_SESSION','DRIVER_EVENT','SESSION_NAME','SDK_A11Y'];a150_0x8687=function(){return _0x2dd45a;};return a150_0x8687();}a150_0x5bed8b[a150_0x577dc2(0x1ab)]='sdk:setup',a150_0x5bed8b[a150_0x577dc2(0x1bc)]='sdk:cleanup',a150_0x5bed8b['SDK_PRE_TEST']=a150_0x577dc2(0x198),a150_0x5bed8b['SDK_TEST']=a150_0x577dc2(0x1e0),a150_0x5bed8b['SDK_POST_TEST']=a150_0x577dc2(0x1ed),a150_0x5bed8b['SDK_HOOK']=a150_0x577dc2(0x1fa),a150_0x5bed8b[a150_0x577dc2(0x200)]=a150_0x577dc2(0x1fd),a150_0x5bed8b[a150_0x577dc2(0x1e6)]=a150_0x577dc2(0x1a8),a150_0x5bed8b[a150_0x577dc2(0x1c5)]=a150_0x577dc2(0x1e9),a150_0x5bed8b[a150_0x577dc2(0x1f8)]=a150_0x577dc2(0x1ac),a150_0x5bed8b[a150_0x577dc2(0x191)]=a150_0x577dc2(0x1d3),a150_0x5bed8b[a150_0x577dc2(0x1a7)]='sdk:testhub',a150_0x5bed8b[a150_0x577dc2(0x1fc)]=a150_0x577dc2(0x19c),a150_0x5bed8b[a150_0x577dc2(0x1be)]=a150_0x577dc2(0x1a5),a150_0x5bed8b[a150_0x577dc2(0x1eb)]=a150_0x577dc2(0x17e),a150_0x5bed8b[a150_0x577dc2(0x1cd)]='sdk:percy',a150_0x5bed8b[a150_0x577dc2(0x1e1)]=a150_0x577dc2(0x188),a150_0x5bed8b['SDK_POST_INITIALIZE']=a150_0x577dc2(0x1d2),a150_0x5bed8b[a150_0x577dc2(0x1d7)]=a150_0x577dc2(0x1cf),a150_0x5bed8b[a150_0x577dc2(0x17b)]=a150_0x577dc2(0x1da),a150_0x5bed8b[a150_0x577dc2(0x1d0)]='sdk:cli:check-update',a150_0x5bed8b[a150_0x577dc2(0x1e2)]=a150_0x577dc2(0x18e),a150_0x5bed8b[a150_0x577dc2(0x17a)]=a150_0x577dc2(0x1c7),a150_0x5bed8b['SDK_CLI_ON_STOP']='sdk:cli:on-stop',a150_0x5bed8b[a150_0x577dc2(0x1ca)]=a150_0x577dc2(0x1cc),a150_0x5bed8b[a150_0x577dc2(0x1e3)]=a150_0x577dc2(0x1e8),a150_0x5bed8b[a150_0x577dc2(0x1a1)]=a150_0x577dc2(0x189),a150_0x5bed8b[a150_0x577dc2(0x1a6)]=a150_0x577dc2(0x1b7),a150_0x5bed8b[a150_0x577dc2(0x19f)]=a150_0x577dc2(0x190),a150_0x5bed8b[a150_0x577dc2(0x1c2)]=a150_0x577dc2(0x1d8),a150_0x5bed8b[a150_0x577dc2(0x1ea)]=a150_0x577dc2(0x1d1),a150_0x5bed8b['SDK_OBSERVABILITY_CONFIG']=a150_0x577dc2(0x1a3),a150_0x5bed8b[a150_0x577dc2(0x1fb)]=a150_0x577dc2(0x1c4),a150_0x5bed8b[a150_0x577dc2(0x1bd)]=a150_0x577dc2(0x193),a150_0x5bed8b[a150_0x577dc2(0x1f1)]=a150_0x577dc2(0x18a),a150_0x5bed8b['SDK_TEST_SESSION_EVENT']=a150_0x577dc2(0x1ce),a150_0x5bed8b[a150_0x577dc2(0x18b)]=a150_0x577dc2(0x1fe),a150_0x5bed8b[a150_0x577dc2(0x1af)]=a150_0x577dc2(0x196),a150_0x5bed8b[a150_0x577dc2(0x1dc)]='sdk:automationFrameworkStop',a150_0x5bed8b[a150_0x577dc2(0x1dd)]=a150_0x577dc2(0x1cb);const SDK_EVENTS=a150_0x5bed8b,a150_0x11e3f8={};a150_0x11e3f8[a150_0x577dc2(0x192)]=SDK_EVENTS,a150_0x11e3f8[a150_0x577dc2(0x1b5)]={},a150_0x11e3f8[a150_0x577dc2(0x183)]={},a150_0x11e3f8[a150_0x577dc2(0x194)]={},a150_0x11e3f8[a150_0x577dc2(0x184)]={},a150_0x11e3f8[a150_0x577dc2(0x1bf)]={},a150_0x11e3f8[a150_0x577dc2(0x1b0)]={},a150_0x11e3f8[a150_0x577dc2(0x19a)]={},a150_0x11e3f8[a150_0x577dc2(0x18c)]={},a150_0x11e3f8[a150_0x577dc2(0x1e4)]={},a150_0x11e3f8[a150_0x577dc2(0x1b5)]['START']=SDK_EVENTS[a150_0x577dc2(0x1a7)]+a150_0x577dc2(0x201),a150_0x11e3f8[a150_0x577dc2(0x1b5)][a150_0x577dc2(0x19d)]=SDK_EVENTS[a150_0x577dc2(0x1a7)]+a150_0x577dc2(0x1f2),a150_0x11e3f8[a150_0x577dc2(0x183)][a150_0x577dc2(0x17f)]=SDK_EVENTS['SDK_AUTOMATE']+a150_0x577dc2(0x1c3),a150_0x11e3f8[a150_0x577dc2(0x183)]['HUB_MANAGEMENT']=SDK_EVENTS[a150_0x577dc2(0x1fc)]+a150_0x577dc2(0x1aa),a150_0x11e3f8[a150_0x577dc2(0x183)]['LOCAL_START']=SDK_EVENTS['SDK_AUTOMATE']+a150_0x577dc2(0x1d9),a150_0x11e3f8[a150_0x577dc2(0x183)]['LOCAL_STOP']=SDK_EVENTS[a150_0x577dc2(0x1fc)]+a150_0x577dc2(0x18f),a150_0x11e3f8[a150_0x577dc2(0x183)][a150_0x577dc2(0x181)]=SDK_EVENTS[a150_0x577dc2(0x1fc)]+a150_0x577dc2(0x1d6),a150_0x11e3f8[a150_0x577dc2(0x183)][a150_0x577dc2(0x1e5)]=SDK_EVENTS[a150_0x577dc2(0x1fc)]+':session-name',a150_0x11e3f8[a150_0x577dc2(0x183)]['SESSION_STATUS']=SDK_EVENTS[a150_0x577dc2(0x1fc)]+a150_0x577dc2(0x1ad),a150_0x11e3f8[a150_0x577dc2(0x183)][a150_0x577dc2(0x1c9)]=SDK_EVENTS['SDK_AUTOMATE']+':session-annotation',a150_0x11e3f8[a150_0x577dc2(0x183)][a150_0x577dc2(0x1ec)]=SDK_EVENTS[a150_0x577dc2(0x1fc)]+a150_0x577dc2(0x1f5),a150_0x11e3f8[a150_0x577dc2(0x183)][a150_0x577dc2(0x1d5)]=SDK_EVENTS[a150_0x577dc2(0x1fc)]+':ci-artifacts',a150_0x11e3f8[a150_0x577dc2(0x183)][a150_0x577dc2(0x1b6)]=SDK_EVENTS[a150_0x577dc2(0x1fc)]+':print-buildlink',a150_0x11e3f8[a150_0x577dc2(0x194)]['PERFORM_SCAN']=SDK_EVENTS['SDK_A11Y']+a150_0x577dc2(0x1c1),a150_0x11e3f8[a150_0x577dc2(0x194)]['SAVE_RESULTS']=SDK_EVENTS[a150_0x577dc2(0x1e6)]+':save-results',a150_0x11e3f8[a150_0x577dc2(0x194)][a150_0x577dc2(0x1e7)]=SDK_EVENTS['SDK_A11Y']+a150_0x577dc2(0x1ff),a150_0x11e3f8[a150_0x577dc2(0x194)]['GET_RESULTS_SUMMARY']=SDK_EVENTS['SDK_A11Y']+a150_0x577dc2(0x1ee),a150_0x11e3f8[a150_0x577dc2(0x184)][a150_0x577dc2(0x186)]=SDK_EVENTS['SDK_PERCY']+a150_0x577dc2(0x1b8),a150_0x11e3f8[a150_0x577dc2(0x184)][a150_0x577dc2(0x1c6)]=SDK_EVENTS['SDK_PERCY']+':screenshot',a150_0x11e3f8[a150_0x577dc2(0x184)][a150_0x577dc2(0x1ba)]=SDK_EVENTS['SDK_PERCY']+a150_0x577dc2(0x201),a150_0x11e3f8[a150_0x577dc2(0x184)]['STOP']=SDK_EVENTS[a150_0x577dc2(0x1cd)]+a150_0x577dc2(0x1f2),a150_0x11e3f8[a150_0x577dc2(0x184)][a150_0x577dc2(0x1b4)]=SDK_EVENTS[a150_0x577dc2(0x1cd)]+a150_0x577dc2(0x19e),a150_0x11e3f8[a150_0x577dc2(0x184)][a150_0x577dc2(0x185)]=SDK_EVENTS[a150_0x577dc2(0x1cd)]+':snapshot',a150_0x11e3f8[a150_0x577dc2(0x184)]['SCREENSHOT_APP']=SDK_EVENTS[a150_0x577dc2(0x1cd)]+a150_0x577dc2(0x202),a150_0x11e3f8[a150_0x577dc2(0x1bf)]['SYNC']=SDK_EVENTS[a150_0x577dc2(0x1c5)]+':sync',a150_0x11e3f8[a150_0x577dc2(0x1bf)][a150_0x577dc2(0x1bb)]=SDK_EVENTS[a150_0x577dc2(0x1c5)]+a150_0x577dc2(0x1f4),a150_0x11e3f8[a150_0x577dc2(0x1bf)][a150_0x577dc2(0x1b6)]=SDK_EVENTS[a150_0x577dc2(0x1c5)]+a150_0x577dc2(0x199),a150_0x11e3f8[a150_0x577dc2(0x1b0)][a150_0x577dc2(0x1c0)]=SDK_EVENTS[a150_0x577dc2(0x19b)]+a150_0x577dc2(0x1a4),a150_0x11e3f8[a150_0x577dc2(0x1b0)][a150_0x577dc2(0x1ef)]=SDK_EVENTS[a150_0x577dc2(0x19b)]+a150_0x577dc2(0x180),a150_0x11e3f8[a150_0x577dc2(0x1b0)]['AFTER_ALL']=SDK_EVENTS['SDK_HOOK']+a150_0x577dc2(0x197),a150_0x11e3f8[a150_0x577dc2(0x1b0)][a150_0x577dc2(0x1ae)]=SDK_EVENTS['SDK_HOOK']+':before-all',a150_0x11e3f8[a150_0x577dc2(0x1b0)]['BEFORE']=SDK_EVENTS[a150_0x577dc2(0x19b)]+a150_0x577dc2(0x1c8),a150_0x11e3f8[a150_0x577dc2(0x1b0)][a150_0x577dc2(0x195)]=SDK_EVENTS[a150_0x577dc2(0x19b)]+a150_0x577dc2(0x182),a150_0x11e3f8[a150_0x577dc2(0x19a)][a150_0x577dc2(0x17c)]=SDK_EVENTS[a150_0x577dc2(0x1eb)]+a150_0x577dc2(0x1aa),a150_0x11e3f8[a150_0x577dc2(0x19a)]['PRINT_BUILDLINK']=SDK_EVENTS['SDK_TURBOSCALE']+a150_0x577dc2(0x199),a150_0x11e3f8[a150_0x577dc2(0x18c)][a150_0x577dc2(0x1b9)]=SDK_EVENTS[a150_0x577dc2(0x1be)]+a150_0x577dc2(0x1f3),a150_0x11e3f8[a150_0x577dc2(0x1e4)]['QUIT']=SDK_EVENTS[a150_0x577dc2(0x200)]+a150_0x577dc2(0x1a2),a150_0x11e3f8[a150_0x577dc2(0x1e4)][a150_0x577dc2(0x1b1)]=SDK_EVENTS[a150_0x577dc2(0x200)]+a150_0x577dc2(0x1a9),a150_0x11e3f8[a150_0x577dc2(0x1e4)][a150_0x577dc2(0x1de)]=SDK_EVENTS['SDK_DRIVER']+a150_0x577dc2(0x1d4),a150_0x11e3f8[a150_0x577dc2(0x1e4)][a150_0x577dc2(0x1a0)]=SDK_EVENTS['SDK_DRIVER']+':post-execute',module[a150_0x577dc2(0x1f9)]=a150_0x11e3f8;
|