browserstack-node-sdk 1.56.2 → 1.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/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/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/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/helpers/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122_0x101b1a=a122_0x4ab5;(function(_0x56ea49,_0xa8d40a){const _0xa91e5c=a122_0x4ab5,_0x119c98=_0x56ea49();while(!![]){try{const _0xa30ba=parseInt(_0xa91e5c(0x1c5))/0x1+-parseInt(_0xa91e5c(0x1d2))/0x2+parseInt(_0xa91e5c(0x1a4))/0x3+-parseInt(_0xa91e5c(0x1a2))/0x4*(-parseInt(_0xa91e5c(0x1a1))/0x5)+-parseInt(_0xa91e5c(0x1cf))/0x6+-parseInt(_0xa91e5c(0x1cd))/0x7*(-parseInt(_0xa91e5c(0x1a8))/0x8)+parseInt(_0xa91e5c(0x18e))/0x9;if(_0xa30ba===_0xa8d40a)break;else _0x119c98['push'](_0x119c98['shift']());}catch(_0x17dab4){_0x119c98['push'](_0x119c98['shift']());}}}(a122_0x3bf3,0xd3b15));const winston=require(a122_0x101b1a(0x1a5)),path=require(a122_0x101b1a(0x190)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a122_0x101b1a(0x18a)),tempLogDir=a122_0x101b1a(0x1cb);let redactRegex=null,lastConfigHash='';const logFormat=winston[a122_0x101b1a(0x188)](_0x5c3f41=>{const _0x48c8b7=a122_0x101b1a,_0x4ef56c={};_0x4ef56c[_0x48c8b7(0x198)]=function(_0x1ae905,_0x4c516b){return _0x1ae905!==_0x4c516b;},_0x4ef56c[_0x48c8b7(0x1b8)]='string',_0x4ef56c[_0x48c8b7(0x18c)]=function(_0x507759,_0x101365){return _0x507759+_0x101365;},_0x4ef56c[_0x48c8b7(0x192)]=function(_0x266055,_0x19e0a6){return _0x266055!==_0x19e0a6;},_0x4ef56c[_0x48c8b7(0x1a3)]=function(_0x4fa235,_0x4f5ffc){return _0x4fa235>_0x4f5ffc;},_0x4ef56c['jdobt']=_0x48c8b7(0x1bd);const _0x391855=_0x4ef56c;_0x391855[_0x48c8b7(0x198)](typeof _0x5c3f41[_0x48c8b7(0x1b1)],_0x391855[_0x48c8b7(0x1b8)])&&(_0x5c3f41[_0x48c8b7(0x1b1)]=JSON[_0x48c8b7(0x19a)](_0x5c3f41[_0x48c8b7(0x1b1)]));const _0x31dd3c=global[_0x48c8b7(0x1c9)]&&global[_0x48c8b7(0x1c9)][_0x48c8b7(0x193)]||'',_0x182795=global[_0x48c8b7(0x1c9)]&&global[_0x48c8b7(0x1c9)][_0x48c8b7(0x195)]||'',_0x358725=_0x391855[_0x48c8b7(0x18c)](_0x391855['hYHVM'](_0x31dd3c,'|'),_0x182795);if(_0x391855[_0x48c8b7(0x192)](_0x358725,lastConfigHash)){lastConfigHash=_0x358725;const _0x3d55ca=[_0x31dd3c,_0x182795][_0x48c8b7(0x184)](Boolean);if(_0x391855[_0x48c8b7(0x1a3)](_0x3d55ca[_0x48c8b7(0x1c7)],0x0)){const _0x5df274=_0x3d55ca['map'](_0x3e9c94=>_0x3e9c94['replace'](/[.*+?^${}()|[\]\\]/g,_0x48c8b7(0x18b)))[_0x48c8b7(0x1b9)]('|');redactRegex=new RegExp(_0x5df274,'g');}else redactRegex=null;}return redactRegex&&(_0x5c3f41[_0x48c8b7(0x1b1)]=_0x5c3f41[_0x48c8b7(0x1b1)]['replace'](redactRegex,_0x391855['jdobt'])),_0x5c3f41;}),fetchLogDir=()=>{const _0x186264=a122_0x101b1a;if(process['env'][_0x186264(0x1a6)])return process['env'][_0x186264(0x1a6)];else!fs['existsSync'](tempLogDir)&&fs[_0x186264(0x187)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x4c9fa3=a122_0x101b1a,_0x41ff95={};_0x41ff95[_0x4c9fa3(0x1c8)]=_0x4c9fa3(0x1b2);const _0x15e2a2=_0x41ff95,_0x25d36c=process[_0x4c9fa3(0x1b7)]['BROWSERSTACK_LOG_LEVEL'],_0x994c85=Object[_0x4c9fa3(0x18f)](winston['config'][_0x4c9fa3(0x199)]['levels']);if(_0x25d36c&&_0x994c85['includes'](_0x25d36c[_0x4c9fa3(0x1bf)]()))return _0x25d36c['toLowerCase']();return _0x15e2a2[_0x4c9fa3(0x1c8)];},initialLogLevel=getInitialLogLevel(),a122_0x3e8e27={};a122_0x3e8e27[a122_0x101b1a(0x1c1)]=a122_0x101b1a(0x1bc),a122_0x3e8e27[a122_0x101b1a(0x1d0)]=initialLogLevel;function a122_0x3bf3(){const _0x187487=['debugLoggerFile','code','console.info','[REDACTED]','File','toLowerCase','uncolorize','name','debugCliLoggerFile','printf','silly','263117OoCfoE','fileLogger','length','rUeZM','config','automationLoggerFile','log','error','650573ygAIOw','EPIPE','7616268zAiXeb','level','/usage-debug.log','258522KdvBjd','YYYY-MM-DD\x20HH:mm:ss','filter','/usage.log','Console','mkdirSync','format','createLogger','../bin/utils/constants','\x5c$&','hYHVM','gqfLd','4440447Gycfjw','keys','path','logDir','UBmrT','userName','loggerFile','accessKey','add','true','TmbjW','npm','stringify','warn','mQLsP','\x20-\x20','iTNdZ','debug','loggerConsole','5426030xMELnD','4uLAvDV','urEMI','156810OqNKhT','winston','BROWSERSTACK_INTERNAL_LOG_DIR','initialize','32sVZpWm','combine','transports','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','winstonLogger','BROWSERSTACK_AUTOMATION_LOGS','http','buildLinkTransport','colorize','message','info','remove','timestamp','automation.log','Scxwb','env','mYFZG','join'];a122_0x3bf3=function(){return _0x187487;};return a122_0x3bf3();}const transports={'loggerConsole':new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x186))](a122_0x3e8e27),'loggerFile':new winston['transports'][(a122_0x101b1a(0x1be))]({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x185)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x1be))]({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x1d1)),'level':a122_0x101b1a(0x1c4)}),'debugCliLoggerFile':new winston[(a122_0x101b1a(0x1aa))]['File']({'filename':path[a122_0x101b1a(0x1b9)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a122_0x101b1a(0x1c4)}),'buildLinkTransport':new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x1be))]({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x185)),'level':'silly'})},automationTransports={};process['env'][a122_0x101b1a(0x1ad)]===a122_0x101b1a(0x197)&&(automationTransports[a122_0x101b1a(0x1ca)]=new winston[(a122_0x101b1a(0x1aa))]['File']({'filename':path[a122_0x101b1a(0x1b9)](logDir,a122_0x101b1a(0x1b5)),'level':'silly'}));transports[a122_0x101b1a(0x1a0)]['on'](a122_0x101b1a(0x1cc),_0x397ab1=>{const _0x69ecbe=a122_0x101b1a,_0x4a6e48={};_0x4a6e48[_0x69ecbe(0x18d)]=function(_0x8d2401,_0x360fd6){return _0x8d2401===_0x360fd6;},_0x4a6e48[_0x69ecbe(0x19c)]=_0x69ecbe(0x1ce),_0x4a6e48[_0x69ecbe(0x19e)]=_0x69ecbe(0x1ab);const _0x46db09=_0x4a6e48;if(_0x46db09['gqfLd'](_0x397ab1[_0x69ecbe(0x1bb)],_0x46db09[_0x69ecbe(0x19c)])){console[_0x69ecbe(0x1cb)](_0x46db09['iTNdZ'],_0x397ab1[_0x69ecbe(0x1b1)]);return;}throw _0x397ab1;});const a122_0x22125b={};a122_0x22125b[a122_0x101b1a(0x188)]=a122_0x101b1a(0x183);const a122_0x3f1e86={};function a122_0x4ab5(_0x56145d,_0x3ff915){const _0x3bf3c6=a122_0x3bf3();return a122_0x4ab5=function(_0x4ab550,_0x3929aa){_0x4ab550=_0x4ab550-0x183;let _0x3fc857=_0x3bf3c6[_0x4ab550];return _0x3fc857;},a122_0x4ab5(_0x56145d,_0x3ff915);}a122_0x3f1e86[a122_0x101b1a(0x1d0)]=!![];const winstonLoggerParams={'format':winston['format']['combine'](winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](a122_0x22125b),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b0)](a122_0x3f1e86),winston['format'][a122_0x101b1a(0x1c3)](_0x57f6d6=>_0x57f6d6['timestamp']+a122_0x101b1a(0x19d)+_0x57f6d6[a122_0x101b1a(0x1d0)]+':\x20'+_0x57f6d6[a122_0x101b1a(0x1b1)])),'transports':[transports[a122_0x101b1a(0x1a0)]]},a122_0x3eaff8={};a122_0x3eaff8[a122_0x101b1a(0x188)]=a122_0x101b1a(0x183);const a122_0x37f42c={};a122_0x37f42c['level']=!![];const winstonFileLoggerParams={'format':winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1a9)](winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](a122_0x3eaff8),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b0)](a122_0x37f42c),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1c3)](_0x45ec7b=>_0x45ec7b[a122_0x101b1a(0x1d0)]+':\x20'+_0x45ec7b['message'])),'transports':[]},a122_0x48b77b={};a122_0x48b77b[a122_0x101b1a(0x188)]='YYYY-MM-DD\x20HH:mm:ss';const a122_0x4512f0={};a122_0x4512f0[a122_0x101b1a(0x1d0)]=!![];const a122_0x1e2bbc={};a122_0x1e2bbc[a122_0x101b1a(0x1d0)]='silly';const BuildLoggerParams={'format':winston['format'][a122_0x101b1a(0x1a9)](winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](a122_0x48b77b),winston[a122_0x101b1a(0x188)]['colorize'](a122_0x4512f0),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1c3)](_0x142477=>_0x142477[a122_0x101b1a(0x1b4)]+a122_0x101b1a(0x19d)+_0x142477[a122_0x101b1a(0x1d0)]+':\x20'+_0x142477[a122_0x101b1a(0x1b1)])),'transports':[transports[a122_0x101b1a(0x1af)],new winston[(a122_0x101b1a(0x1aa))][(a122_0x101b1a(0x186))](a122_0x1e2bbc)]},a122_0x32eb0c={};a122_0x32eb0c[a122_0x101b1a(0x1ae)]=()=>{},a122_0x32eb0c['info']=()=>{},a122_0x32eb0c[a122_0x101b1a(0x19b)]=()=>{},a122_0x32eb0c['error']=()=>{},a122_0x32eb0c[a122_0x101b1a(0x19f)]=()=>{},a122_0x32eb0c[a122_0x101b1a(0x1c4)]=()=>{},exports['automationLogger']=process[a122_0x101b1a(0x1b7)][a122_0x101b1a(0x1ad)]==='true'?winston[a122_0x101b1a(0x189)]({'format':winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1a9)](winston['format'][a122_0x101b1a(0x1c0)](),winston[a122_0x101b1a(0x188)][a122_0x101b1a(0x1b4)](),logFormat(),winston['format'][a122_0x101b1a(0x1c3)](_0x10cf77=>_0x10cf77['level']+':\x20'+_0x10cf77[a122_0x101b1a(0x1b1)])),'transports':[automationTransports[a122_0x101b1a(0x1ca)]]}):a122_0x32eb0c;const initialize=()=>{const _0xe373f9=a122_0x101b1a,_0x193b8c={};_0x193b8c[_0xe373f9(0x1b6)]='silly';const _0x152efe=_0x193b8c,_0x472548=transports[_0xe373f9(0x1a0)][_0xe373f9(0x1d0)]||initialLogLevel;transports[_0xe373f9(0x194)]&&(exports[_0xe373f9(0x1ac)][_0xe373f9(0x1b3)](transports[_0xe373f9(0x194)]),exports[_0xe373f9(0x1c6)][_0xe373f9(0x1b3)](transports['loggerFile'])),transports[_0xe373f9(0x1ba)]&&(exports[_0xe373f9(0x1ac)][_0xe373f9(0x1b3)](transports[_0xe373f9(0x1ba)]),exports['fileLogger'][_0xe373f9(0x1b3)](transports[_0xe373f9(0x1ba)])),transports[_0xe373f9(0x194)]=new winston[(_0xe373f9(0x1aa))][(_0xe373f9(0x1be))]({'filename':path[_0xe373f9(0x1b9)](exports[_0xe373f9(0x191)],LOG_FILE_NAME),'level':_0x472548}),transports[_0xe373f9(0x1ba)]=new winston[(_0xe373f9(0x1aa))][(_0xe373f9(0x1be))]({'filename':path[_0xe373f9(0x1b9)](exports[_0xe373f9(0x191)],DEBUG_LOG_FILE_NAME),'level':_0x152efe['Scxwb']}),transports[_0xe373f9(0x1c2)]=new winston['transports'][(_0xe373f9(0x1be))]({'filename':path['join'](exports['logDir'],DEBUG_CLI_LOG_FILE_NAME),'level':_0x152efe[_0xe373f9(0x1b6)]}),exports[_0xe373f9(0x1ac)]['add'](transports[_0xe373f9(0x194)]),exports['winstonLogger'][_0xe373f9(0x196)](transports[_0xe373f9(0x1ba)]),exports[_0xe373f9(0x1c6)][_0xe373f9(0x196)](transports['loggerFile']),exports[_0xe373f9(0x1c6)][_0xe373f9(0x196)](transports[_0xe373f9(0x1ba)]);};exports['winstonLogger']=new winston['createLogger'](winstonLoggerParams),exports['fileLogger']=new winston['createLogger'](winstonFileLoggerParams),exports['buildLogger']=new winston[(a122_0x101b1a(0x189))](BuildLoggerParams),exports[a122_0x101b1a(0x191)]=logDir,exports['getLogDir']=()=>{const _0x40d4cb=a122_0x101b1a;return exports[_0x40d4cb(0x191)];},exports[a122_0x101b1a(0x1aa)]=transports,exports[a122_0x101b1a(0x1a7)]=initialize;logDir&&initialize();
|
|
1
|
+
const a122_0x485af7=a122_0x3afc;(function(_0x4ec8ce,_0x29bf42){const _0x1f6f54=a122_0x3afc,_0x107596=_0x4ec8ce();while(!![]){try{const _0x4e940f=-parseInt(_0x1f6f54(0x1ae))/0x1*(parseInt(_0x1f6f54(0x193))/0x2)+-parseInt(_0x1f6f54(0x1cc))/0x3*(parseInt(_0x1f6f54(0x1b9))/0x4)+parseInt(_0x1f6f54(0x1b0))/0x5+parseInt(_0x1f6f54(0x1c6))/0x6*(parseInt(_0x1f6f54(0x187))/0x7)+parseInt(_0x1f6f54(0x196))/0x8+-parseInt(_0x1f6f54(0x1ca))/0x9+-parseInt(_0x1f6f54(0x18c))/0xa;if(_0x4e940f===_0x29bf42)break;else _0x107596['push'](_0x107596['shift']());}catch(_0x16553d){_0x107596['push'](_0x107596['shift']());}}}(a122_0x4a8e,0xb1986));const winston=require(a122_0x485af7(0x1aa)),path=require(a122_0x485af7(0x1ad)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require('../bin/utils/constants'),tempLogDir=a122_0x485af7(0x1a3);let redactRegex=null,lastConfigHash='';const logFormat=winston[a122_0x485af7(0x1a0)](_0xb27e38=>{const _0x140d2e=a122_0x485af7,_0x405d6f={};_0x405d6f['MrTTy']=function(_0x12b554,_0x478e02){return _0x12b554!==_0x478e02;},_0x405d6f['YJFgb']=_0x140d2e(0x1b2),_0x405d6f['OsrSF']=function(_0x5749e5,_0x4ff1bd){return _0x5749e5+_0x4ff1bd;},_0x405d6f[_0x140d2e(0x19d)]=function(_0x1a2a7d,_0x4bea58){return _0x1a2a7d+_0x4bea58;},_0x405d6f[_0x140d2e(0x1a7)]=function(_0x427b1c,_0x569cb9){return _0x427b1c!==_0x569cb9;},_0x405d6f[_0x140d2e(0x195)]=function(_0x506002,_0x56e708){return _0x506002>_0x56e708;},_0x405d6f[_0x140d2e(0x1be)]=_0x140d2e(0x191);const _0x451297=_0x405d6f;_0x451297['MrTTy'](typeof _0xb27e38['message'],_0x451297[_0x140d2e(0x189)])&&(_0xb27e38[_0x140d2e(0x1a9)]=JSON['stringify'](_0xb27e38[_0x140d2e(0x1a9)]));const _0x50d1c8=global['config']&&global[_0x140d2e(0x198)]['userName']||'',_0x2acd26=global[_0x140d2e(0x198)]&&global['config'][_0x140d2e(0x19a)]||'',_0x1dbf9e=_0x451297['OsrSF'](_0x451297[_0x140d2e(0x19d)](_0x50d1c8,'|'),_0x2acd26);if(_0x451297[_0x140d2e(0x1a7)](_0x1dbf9e,lastConfigHash)){lastConfigHash=_0x1dbf9e;const _0x150f77=[_0x50d1c8,_0x2acd26]['filter'](Boolean);if(_0x451297[_0x140d2e(0x195)](_0x150f77[_0x140d2e(0x1a5)],0x0)){const _0x12f8a4=_0x150f77['map'](_0x5826fe=>_0x5826fe[_0x140d2e(0x199)](/[.*+?^${}()|[\]\\]/g,_0x140d2e(0x1a4)))['join']('|');redactRegex=new RegExp(_0x12f8a4,'g');}else redactRegex=null;}return redactRegex&&(_0xb27e38['message']=_0xb27e38['message'][_0x140d2e(0x199)](redactRegex,_0x451297[_0x140d2e(0x1be)])),_0xb27e38;}),fetchLogDir=()=>{const _0x2aaedf=a122_0x485af7;if(process['env']['BROWSERSTACK_INTERNAL_LOG_DIR'])return process['env'][_0x2aaedf(0x1c7)];else!fs[_0x2aaedf(0x1cb)](tempLogDir)&&fs['mkdirSync'](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x445d2d=a122_0x485af7,_0x15dbaf={};_0x15dbaf[_0x445d2d(0x18a)]=_0x445d2d(0x19e);const _0xbc16d4=_0x15dbaf,_0x55d82c=process['env'][_0x445d2d(0x1a2)],_0x46cee6=Object[_0x445d2d(0x1b1)](winston[_0x445d2d(0x198)][_0x445d2d(0x18b)][_0x445d2d(0x1c3)]);if(_0x55d82c&&_0x46cee6[_0x445d2d(0x1b3)](_0x55d82c[_0x445d2d(0x188)]()))return _0x55d82c[_0x445d2d(0x188)]();return _0xbc16d4[_0x445d2d(0x18a)];},initialLogLevel=getInitialLogLevel(),a122_0x2e90c6={};a122_0x2e90c6[a122_0x485af7(0x197)]='console.info',a122_0x2e90c6[a122_0x485af7(0x185)]=initialLogLevel;const transports={'loggerConsole':new winston['transports'][(a122_0x485af7(0x1bf))](a122_0x2e90c6),'loggerFile':new winston[(a122_0x485af7(0x182))][(a122_0x485af7(0x1b4))]({'filename':path[a122_0x485af7(0x1ba)](logDir,'/usage.log'),'level':initialLogLevel}),'debugLoggerFile':new winston['transports'][(a122_0x485af7(0x1b4))]({'filename':path['join'](logDir,a122_0x485af7(0x1b7)),'level':a122_0x485af7(0x181)}),'debugCliLoggerFile':new winston[(a122_0x485af7(0x182))][(a122_0x485af7(0x1b4))]({'filename':path[a122_0x485af7(0x1ba)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a122_0x485af7(0x181)}),'buildLinkTransport':new winston[(a122_0x485af7(0x182))][(a122_0x485af7(0x1b4))]({'filename':path[a122_0x485af7(0x1ba)](logDir,a122_0x485af7(0x1ab)),'level':a122_0x485af7(0x181)})},automationTransports={};process[a122_0x485af7(0x180)][a122_0x485af7(0x186)]==='true'&&(automationTransports[a122_0x485af7(0x192)]=new winston[(a122_0x485af7(0x182))][(a122_0x485af7(0x1b4))]({'filename':path[a122_0x485af7(0x1ba)](logDir,a122_0x485af7(0x194)),'level':'silly'}));transports[a122_0x485af7(0x184)]['on'](a122_0x485af7(0x1bb),_0x527080=>{const _0x1c1ca5=a122_0x485af7,_0x4e6609={};_0x4e6609['mJIjP']=function(_0xb9729b,_0x1614e7){return _0xb9729b===_0x1614e7;},_0x4e6609[_0x1c1ca5(0x1c8)]=_0x1c1ca5(0x1c1),_0x4e6609[_0x1c1ca5(0x190)]='EPIPE\x20error\x20occurred\x20in\x20loggerConsole:';const _0x368884=_0x4e6609;if(_0x368884['mJIjP'](_0x527080[_0x1c1ca5(0x1b5)],_0x368884[_0x1c1ca5(0x1c8)])){console[_0x1c1ca5(0x1a3)](_0x368884[_0x1c1ca5(0x190)],_0x527080[_0x1c1ca5(0x1a9)]);return;}throw _0x527080;});const a122_0x13445d={};a122_0x13445d[a122_0x485af7(0x1a0)]=a122_0x485af7(0x1b6);const a122_0x5d06b9={};function a122_0x4a8e(){const _0x380fe0=['npm','4410390iZRwZl','printf','buildLogger','logDir','QwFHP','[REDACTED]','automationLoggerFile','36YwlkwK','automation.log','NeJeM','8945880hyUQFp','name','config','replace','accessKey','remove','\x20-\x20','Mvjpe','info','timestamp','format','createLogger','BROWSERSTACK_LOG_LEVEL','log','\x5c$&','length','colorize','ZhFaG','debug','message','winston','/usage.log','automationLogger','path','73611DKnbLK','http','6613835zjWKJs','keys','string','includes','File','code','YYYY-MM-DD\x20HH:mm:ss','/usage-debug.log','fileLogger','1048788kfzEvD','join','error','gyPUk','add','ARxOa','Console','uncolorize','EPIPE','debugLoggerFile','levels','loggerFile','winstonLogger','192htaoqn','BROWSERSTACK_INTERNAL_LOG_DIR','YQxHW','debugCliLoggerFile','5113674NdoXlc','existsSync','3lHWAiD','env','silly','transports','combine','loggerConsole','level','BROWSERSTACK_AUTOMATION_LOGS','193123WDYPeO','toLowerCase','YJFgb','xTiJp'];a122_0x4a8e=function(){return _0x380fe0;};return a122_0x4a8e();}a122_0x5d06b9['level']=!![];const winstonLoggerParams={'format':winston[a122_0x485af7(0x1a0)]['combine'](winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x19f)](a122_0x13445d),winston[a122_0x485af7(0x1a0)]['colorize'](a122_0x5d06b9),winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x18d)](_0x28dde8=>_0x28dde8[a122_0x485af7(0x19f)]+a122_0x485af7(0x19c)+_0x28dde8[a122_0x485af7(0x185)]+':\x20'+_0x28dde8[a122_0x485af7(0x1a9)])),'transports':[transports[a122_0x485af7(0x184)]]},a122_0x385ef8={};a122_0x385ef8[a122_0x485af7(0x1a0)]='YYYY-MM-DD\x20HH:mm:ss';const a122_0x4b4bc7={};a122_0x4b4bc7[a122_0x485af7(0x185)]=!![];const winstonFileLoggerParams={'format':winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x183)](winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x19f)](a122_0x385ef8),winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x1a6)](a122_0x4b4bc7),winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x18d)](_0x5020ff=>_0x5020ff[a122_0x485af7(0x185)]+':\x20'+_0x5020ff['message'])),'transports':[]},a122_0x121301={};a122_0x121301[a122_0x485af7(0x1a0)]=a122_0x485af7(0x1b6);const a122_0x568620={};a122_0x568620['level']=!![];const a122_0x1ba103={};function a122_0x3afc(_0x4cfa3b,_0x18f1d0){const _0x4a8e58=a122_0x4a8e();return a122_0x3afc=function(_0x3afc01,_0x242f54){_0x3afc01=_0x3afc01-0x180;let _0x52a93d=_0x4a8e58[_0x3afc01];return _0x52a93d;},a122_0x3afc(_0x4cfa3b,_0x18f1d0);}a122_0x1ba103[a122_0x485af7(0x185)]=a122_0x485af7(0x181);const BuildLoggerParams={'format':winston[a122_0x485af7(0x1a0)]['combine'](winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x19f)](a122_0x121301),winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x1a6)](a122_0x568620),winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x18d)](_0x2f4a87=>_0x2f4a87[a122_0x485af7(0x19f)]+a122_0x485af7(0x19c)+_0x2f4a87[a122_0x485af7(0x185)]+':\x20'+_0x2f4a87[a122_0x485af7(0x1a9)])),'transports':[transports['buildLinkTransport'],new winston[(a122_0x485af7(0x182))]['Console'](a122_0x1ba103)]},a122_0x21fa9a={};a122_0x21fa9a[a122_0x485af7(0x1af)]=()=>{},a122_0x21fa9a['info']=()=>{},a122_0x21fa9a['warn']=()=>{},a122_0x21fa9a[a122_0x485af7(0x1bb)]=()=>{},a122_0x21fa9a[a122_0x485af7(0x1a8)]=()=>{},a122_0x21fa9a[a122_0x485af7(0x181)]=()=>{},exports[a122_0x485af7(0x1ac)]=process[a122_0x485af7(0x180)][a122_0x485af7(0x186)]==='true'?winston[a122_0x485af7(0x1a1)]({'format':winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x183)](winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x1c0)](),winston[a122_0x485af7(0x1a0)]['timestamp'](),logFormat(),winston[a122_0x485af7(0x1a0)][a122_0x485af7(0x18d)](_0xe8f90=>_0xe8f90[a122_0x485af7(0x185)]+':\x20'+_0xe8f90[a122_0x485af7(0x1a9)])),'transports':[automationTransports[a122_0x485af7(0x192)]]}):a122_0x21fa9a;const initialize=()=>{const _0x455a30=a122_0x485af7,_0x3c6dfd={};_0x3c6dfd[_0x455a30(0x1bc)]=_0x455a30(0x181);const _0x591fe8=_0x3c6dfd,_0x5d6b29=transports[_0x455a30(0x184)][_0x455a30(0x185)]||initialLogLevel;transports[_0x455a30(0x1c4)]&&(exports['winstonLogger'][_0x455a30(0x19b)](transports[_0x455a30(0x1c4)]),exports[_0x455a30(0x1b8)]['remove'](transports['loggerFile'])),transports[_0x455a30(0x1c2)]&&(exports['winstonLogger'][_0x455a30(0x19b)](transports[_0x455a30(0x1c2)]),exports['fileLogger'][_0x455a30(0x19b)](transports[_0x455a30(0x1c2)])),transports[_0x455a30(0x1c4)]=new winston['transports']['File']({'filename':path[_0x455a30(0x1ba)](exports['logDir'],LOG_FILE_NAME),'level':_0x5d6b29}),transports[_0x455a30(0x1c2)]=new winston['transports'][(_0x455a30(0x1b4))]({'filename':path['join'](exports[_0x455a30(0x18f)],DEBUG_LOG_FILE_NAME),'level':_0x591fe8[_0x455a30(0x1bc)]}),transports[_0x455a30(0x1c9)]=new winston[(_0x455a30(0x182))][(_0x455a30(0x1b4))]({'filename':path['join'](exports[_0x455a30(0x18f)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x591fe8[_0x455a30(0x1bc)]}),exports[_0x455a30(0x1c5)]['add'](transports['loggerFile']),exports[_0x455a30(0x1c5)][_0x455a30(0x1bd)](transports[_0x455a30(0x1c2)]),exports[_0x455a30(0x1b8)]['add'](transports[_0x455a30(0x1c4)]),exports['fileLogger']['add'](transports[_0x455a30(0x1c2)]);};exports[a122_0x485af7(0x1c5)]=new winston[(a122_0x485af7(0x1a1))](winstonLoggerParams),exports[a122_0x485af7(0x1b8)]=new winston[(a122_0x485af7(0x1a1))](winstonFileLoggerParams),exports[a122_0x485af7(0x18e)]=new winston[(a122_0x485af7(0x1a1))](BuildLoggerParams),exports[a122_0x485af7(0x18f)]=logDir,exports['getLogDir']=()=>{const _0x168218=a122_0x485af7;return exports[_0x168218(0x18f)];},exports[a122_0x485af7(0x182)]=transports,exports['initialize']=initialize;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a123_0x1370df=a123_0x2279;function a123_0x2279(_0xb59d0e,_0x2d29b7){const _0x37ce61=a123_0x37ce();return a123_0x2279=function(_0x22797a,_0x3b00c8){_0x22797a=_0x22797a-0x1e3;let _0x583beb=_0x37ce61[_0x22797a];return _0x583beb;},a123_0x2279(_0xb59d0e,_0x2d29b7);}function a123_0x37ce(){const _0x46cc1b=['getGlobal','lGDWl','setGlobal','testRunUUID','1579755tydmRH','12SUWpcy','exports','The\x20metadata\x20object\x20is\x20not\x20valid.','./helper','getCentralUser','jlEZW','7188832LtmROq','xsBaz','identifier','4704564pVVqhL','testMeta-','./logger','warn','testMeta','DfxXY','set','BFUKf','string','600028NZhmiY','8092576HWKsXh','197001rCVlZC','QfWyy','lcnc','840674cesvsW','length'];a123_0x37ce=function(){return _0x46cc1b;};return a123_0x37ce();}(function(_0x3f1094,_0x3f1309){const _0x5c39d4=a123_0x2279,_0x4eb33d=_0x3f1094();while(!![]){try{const _0x467dc9=parseInt(_0x5c39d4(0x1f5))/0x1+parseInt(_0x5c39d4(0x1f0))/0x2+-parseInt(_0x5c39d4(0x1f2))/0x3+parseInt(_0x5c39d4(0x1e7))/0x4+-parseInt(_0x5c39d4(0x1fb))/0x5*(-parseInt(_0x5c39d4(0x1fc))/0x6)+-parseInt(_0x5c39d4(0x1e4))/0x7+-parseInt(_0x5c39d4(0x1f1))/0x8;if(_0x467dc9===_0x3f1309)break;else _0x4eb33d['push'](_0x4eb33d['shift']());}catch(_0x44d5b0){_0x4eb33d['push'](_0x4eb33d['shift']());}}}(a123_0x37ce,0xce2e4));const globals=require('./globals'),helper=require(a123_0x1370df(0x1ff)),logger=require(a123_0x1370df(0x1e9))['winstonLogger'];module[a123_0x1370df(0x1fd)]=class TestMetadata{static[a123_0x1370df(0x1ed)](_0x27662d={}){const _0x33deb6=a123_0x1370df,_0x16325c={};_0x16325c[_0x33deb6(0x1e5)]=_0x33deb6(0x1fa),_0x16325c[_0x33deb6(0x1ec)]=function(_0x5b2bc4,_0x417c5a){return _0x5b2bc4===_0x417c5a;},_0x16325c[_0x33deb6(0x1ee)]=_0x33deb6(0x1ef),_0x16325c['lGDWl']=function(_0x2c4993,_0x2c20a2){return _0x2c4993<=_0x2c20a2;},_0x16325c[_0x33deb6(0x1e3)]='testMeta',_0x16325c[_0x33deb6(0x1f3)]=_0x33deb6(0x1fe);const _0x590ebf=_0x16325c,_0x490216=globals[_0x33deb6(0x1f7)](_0x590ebf[_0x33deb6(0x1e5)]),_0x25c092=_0x27662d[_0x33deb6(0x1e6)];helper['getCentralUser']()[_0x33deb6(0x1f4)]&&(_0x590ebf[_0x33deb6(0x1ec)](typeof _0x25c092,_0x590ebf[_0x33deb6(0x1ee)])&&_0x590ebf[_0x33deb6(0x1f8)](_0x25c092[_0x33deb6(0x1f6)],0x28)?_0x490216?globals[_0x33deb6(0x1f9)](_0x33deb6(0x1e8)+_0x490216,_0x27662d):globals[_0x33deb6(0x1f9)](_0x590ebf['jlEZW'],_0x27662d):logger[_0x33deb6(0x1ea)](_0x590ebf[_0x33deb6(0x1f3)]));}static['get'](_0x146a10){const _0x2460f4=a123_0x1370df,_0x594771={};_0x594771['YFjlt']=_0x2460f4(0x1eb);const _0x343a73=_0x594771;if(helper[_0x2460f4(0x200)]()[_0x2460f4(0x1f4)])return globals['getGlobal'](_0x2460f4(0x1e8)+_0x146a10)||globals[_0x2460f4(0x1f7)](_0x343a73['YFjlt'])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a124_0x1f5a(){const _0x52476d=['findElement\x20command\x20failed\x20with\x20cssPath:\x20','capability','aiHeal_isAuthenticated','value','DyXpw','honzW','aiHeal:findElementSuccess','toString','request','PumWi','aiHeal_isHealingEnabled','10EYvFze','overrideExecute','isBrowserstackInfra','Vcjva','./performance/performance-tester','./ai-sdk/autoHealHelper','ewEAT','execute','idQax','5368495ZfIzxX','fagqI','Successfully\x20healed\x20command\x20using\x20new\x20','browserstack.local','getNudgeLocalNotSetError','aiSdk_defaultLogDataEnabled','script','TOBDj','27704UyacIf','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','executeScript','ztVHb','JavascriptError','debug','QoEqB','LRbab','response','getSession','254168VKpHid','error','toISOString','./ai-sdk/aiSdkWrapper','qDoWj','./performance/constants','qTYCj','measureWrapper','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','14jnyHnw','isSelfHealEnabled','nctWf','IMyWb','initExecute','getId','get','FhmzU','patchExecute','GorGi','wovAl','mPEUD','skipHealingSuccess','UkfHC','setTcgTokenStatus','NoSuchElementError','./globals',';\x20Trying\x20to\x20heal','wqMCP','command','body','util','UVLJw','name_','url','aiHeal:findElementFailure','MfFWa','parameters_','rEztu','1835154kOSCCx','HOYwg','bDZWC','DccHV','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','4kbdNHF','info','prMOW','441582dvztTs','NuPca','executeAsyncScript','bstack:options','Healing\x20failed\x20for\x20command\x20using\x20','OsmNN','kWLzF','DlYbm','AxNLE','Mugax','local','string','using','CYino','oxEJF','silly','setAiSessionTimeStamp','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','XdXAc','name','getTcgTokenStatus','nestedKeyValue','PRE_EXECUTE','includes','findElement\x20command\x20failed\x20with\x20','parameters','getGlobal','18bOqAMI','find','EycxI','oQVQU','RtUNt','rYcjn','rUpoX','NUDGE_LOCAL_ERRORS','KlIRh','ACyIS','POST_EXECUTE','556110IHYeof','XiYBy','481170zgPFEQ','AUTOMATION_LOG_COMMANDS'];a124_0x1f5a=function(){return _0x52476d;};return a124_0x1f5a();}const a124_0x2f6b32=a124_0x2d34;function a124_0x2d34(_0x57483a,_0x553b73){const _0x1f5a9e=a124_0x1f5a();return a124_0x2d34=function(_0x2d345e,_0x103b88){_0x2d345e=_0x2d345e-0xbd;let _0x512737=_0x1f5a9e[_0x2d345e];return _0x512737;},a124_0x2d34(_0x57483a,_0x553b73);}(function(_0x1fea09,_0x45b384){const _0x303128=a124_0x2d34,_0x3e3389=_0x1fea09();while(!![]){try{const _0x10dc01=-parseInt(_0x303128(0x12c))/0x1*(-parseInt(_0x303128(0x101))/0x2)+-parseInt(_0x303128(0xe6))/0x3*(parseInt(_0x303128(0xe3))/0x4)+-parseInt(_0x303128(0x10e))/0x5+-parseInt(_0x303128(0x10c))/0x6+parseInt(_0x303128(0xc1))/0x7*(-parseInt(_0x303128(0x136))/0x8)+-parseInt(_0x303128(0xde))/0x9+parseInt(_0x303128(0x11b))/0xa*(parseInt(_0x303128(0x124))/0xb);if(_0x10dc01===_0x45b384)break;else _0x3e3389['push'](_0x3e3389['shift']());}catch(_0x4d4459){_0x3e3389['push'](_0x3e3389['shift']());}}}(a124_0x1f5a,0x20abc));const {aiSdkWrapper}=require(a124_0x2f6b32(0x139)),{commandRepository}=require(a124_0x2f6b32(0x120)),PerformanceTester=require(a124_0x2f6b32(0x11f)),globals=require(a124_0x2f6b32(0xd1)),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a124_0x2f6b32(0xbd)),util=require(a124_0x2f6b32(0xd6));exports[a124_0x2f6b32(0x11c)]=(_0x6cfdb,_0x1a7998)=>{const _0x55fadd=a124_0x2f6b32,_0x2b5cc7={'qDoWj':_0x55fadd(0x12d),'prMOW':function(_0x40dedc,_0xcca305){return _0x40dedc===_0xcca305;},'DyXpw':_0x55fadd(0xd0),'Mugax':function(_0x174459,_0x2ed26d){return _0x174459===_0x2ed26d;},'NuPca':_0x55fadd(0x130),'oxEJF':function(_0x1f7468,_0x561a82){return _0x1f7468===_0x561a82;},'MfFWa':'findElement','oQVQU':_0x55fadd(0x112),'nctWf':_0x55fadd(0x11a),'CYino':'css\x20selector','OsmNN':function(_0xf0faff,_0x469c55){return _0xf0faff+_0x469c55;},'ewEAT':_0x55fadd(0x110),'idQax':_0x55fadd(0xd2),'XdXAc':function(_0x398f29,_0x406410){return _0x398f29+_0x406410;},'FhmzU':_0x55fadd(0xfe),'LuxOI':_0x55fadd(0xda),'GorGi':function(_0x58613e){return _0x58613e();},'dmPNt':function(_0x2e9f1c,_0x2dcff8){return _0x2e9f1c&&_0x2dcff8;},'bJuts':function(_0x28f60e,_0x50e390){return _0x28f60e===_0x50e390;},'wovAl':function(_0x48fa1f,_0x4c95ad){return _0x48fa1f+_0x4c95ad;},'rUpoX':_0x55fadd(0xe2),'UPqcU':function(_0xe35a8f,_0x33fd1c){return _0xe35a8f+_0x33fd1c;},'TOBDj':function(_0x1dac9a,_0x5ed911){return _0x1dac9a+_0x5ed911;},'rYcjn':_0x55fadd(0x126),'DccHV':function(_0x403768,_0x247599){return _0x403768+_0x247599;},'DlYbm':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','kWLzF':function(_0x1f914e,_0x21cadd){return _0x1f914e+_0x21cadd;},'XiYBy':_0x55fadd(0xea),'EycxI':function(_0x143190,_0x3406cd){return _0x143190===_0x3406cd;},'bDZWC':_0x55fadd(0xc7),'Vcjva':_0x55fadd(0xdc),'AxNLE':'url','HOYwg':_0x55fadd(0xc0),'UkfHC':'aiHeal:setToken','EUDQq':_0x55fadd(0x129),'rEztu':function(_0x4cbee8,_0x4d938f){return _0x4cbee8===_0x4d938f;},'PumWi':_0x55fadd(0x116),'RtUNt':_0x55fadd(0xe8),'wqMCP':_0x55fadd(0x12e),'KlIRh':_0x55fadd(0xf1),'ztVHb':_0x55fadd(0x111),'UVLJw':_0x55fadd(0x127),'EkGVF':_0x55fadd(0xe9),'YOeEl':_0x55fadd(0xf0)},_0x4dbf81=_0x6cfdb[_0x55fadd(0xc9)]||(helper[_0x55fadd(0xfb)](_0x1a7998,[_0x2b5cc7[_0x55fadd(0x12f)],_0x2b5cc7[_0x55fadd(0xd7)]])||helper[_0x55fadd(0xfb)](_0x1a7998,[_0x2b5cc7['ztVHb'],_0x2b5cc7['EkGVF'],_0x2b5cc7['YOeEl']]));if(!globals[_0x55fadd(0x100)](_0x2b5cc7[_0x55fadd(0x104)])&&!globals[_0x55fadd(0x100)](_0x2b5cc7[_0x55fadd(0xc3)])&&_0x4dbf81)return;_0x6cfdb[_0x55fadd(0xc9)]=!![],_0x6cfdb[_0x55fadd(0xc5)]=_0x6cfdb[_0x55fadd(0x122)],_0x6cfdb['execute']=async _0x44a394=>{const _0x2afc8e=_0x55fadd,_0x3890bd={'qTYCj':_0x2b5cc7[_0x2afc8e(0x104)],'fagqI':_0x2b5cc7[_0x2afc8e(0xce)],'mPEUD':function(_0x31ee28){const _0x30c595=_0x2afc8e;return _0x2b5cc7[_0x30c595(0xca)](_0x31ee28);},'honzW':_0x2b5cc7['EUDQq'],'QoEqB':function(_0x18da2e,_0x5cef66){return _0x2b5cc7['rEztu'](_0x18da2e,_0x5cef66);},'IMyWb':_0x2b5cc7['MfFWa'],'ACyIS':_0x2b5cc7[_0x2afc8e(0xc3)],'LRbab':_0x2b5cc7[_0x2afc8e(0x119)],'aivDe':function(_0x47b10e){const _0xfd6ed2=_0x2afc8e;return _0x2b5cc7[_0xfd6ed2(0xca)](_0x47b10e);}};try{const _0x29ae38={};_0x29ae38['command']=_0x44a394[_0x2afc8e(0xd8)],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x2afc8e(0xfc)],async()=>{const _0x4865c2=_0x2afc8e;if(!commandRepository[_0x4865c2(0xfa)]()&&globals[_0x4865c2(0x100)](_0x3890bd[_0x4865c2(0xbe)])){const _0x5db307=PerformanceTester[_0x4865c2(0xbf)](_0x3890bd[_0x4865c2(0x125)],async()=>{const _0x8c81c5=_0x4865c2;try{commandRepository[_0x8c81c5(0xcf)](!![]),await aiSdkWrapper['setTcgToken']((await _0x6cfdb[_0x8c81c5(0x135)]())[_0x8c81c5(0xc6)]());const _0x10ef18=globals[_0x8c81c5(0x100)](_0x3890bd['qTYCj']);_0x10ef18&&commandRepository[_0x8c81c5(0xf6)]((await _0x6cfdb[_0x8c81c5(0x135)]())[_0x8c81c5(0xc6)]());}catch(_0x62da66){logger[_0x8c81c5(0x137)]('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x62da66);}});await _0x3890bd[_0x4865c2(0xcc)](_0x5db307);}},_0x29ae38)();const _0xde1e02=await _0x6cfdb[_0x2afc8e(0xc5)](_0x44a394);try{if(_0x2b5cc7[_0x2afc8e(0xdd)](_0x44a394[_0x2afc8e(0xd8)],_0x2b5cc7[_0x2afc8e(0x105)])||_0x2b5cc7['EycxI'](_0x44a394[_0x2afc8e(0xd8)],_0x2b5cc7[_0x2afc8e(0xd3)])){const _0x171591=_0x44a394[_0x2afc8e(0xdc)]&&_0x44a394[_0x2afc8e(0xdc)][_0x2afc8e(0x12a)],_0x47c33d=_0x44a394[_0x2afc8e(0xdc)]&&_0x44a394[_0x2afc8e(0xdc)]['args'],_0x2c0e76=_0x47c33d&&util['format']('%j',_0x47c33d);if(_0x171591&&_0x2b5cc7[_0x2afc8e(0xe5)](typeof _0x171591,_0x2b5cc7[_0x2afc8e(0x109)])){const _0x5cc017=constants[_0x2afc8e(0x10f)][_0x2afc8e(0x102)](_0x547812=>_0x171591[_0x2afc8e(0xfd)](_0x547812)||_0x2c0e76&&_0x2c0e76['includes'](_0x547812));if(_0x5cc017){const _0xfa42d1={};_0xfa42d1[_0x2afc8e(0xd4)]=_0x5cc017,_0xfa42d1[_0x2afc8e(0xff)]=_0x47c33d;const _0x3e011={};_0x3e011[_0x2afc8e(0xd5)]=_0xde1e02;const _0x23b90f={};_0x23b90f[_0x2afc8e(0x118)]=_0xfa42d1,_0x23b90f[_0x2afc8e(0x134)]=_0x3e011,automationLogger[_0x2afc8e(0xf5)]('['+new Date()[_0x2afc8e(0x138)]()+'][\x20SDK-AUTOMATION\x20]\x20'+util['format']('%j',_0x23b90f));}}}}catch(_0x1ab487){logger['silly'](_0x2afc8e(0xf7)+_0x1ab487['message']);}return await PerformanceTester[_0x2afc8e(0xbf)](PerformanceDriverEvents[_0x2afc8e(0x10b)],async()=>{const _0x4c5dc5=_0x2afc8e;if(!helper[_0x4c5dc5(0x11d)]()&&(commandRepository[_0x4c5dc5(0xc2)]()||globals['getGlobal'](_0x3890bd[_0x4c5dc5(0x115)]))&&_0x3890bd[_0x4c5dc5(0x132)](_0x44a394[_0x4c5dc5(0xd8)],_0x3890bd[_0x4c5dc5(0xc4)])&&!_0x44a394[_0x4c5dc5(0xcd)]&&globals[_0x4c5dc5(0x100)](_0x3890bd[_0x4c5dc5(0xbe)])&&globals[_0x4c5dc5(0x100)](_0x3890bd[_0x4c5dc5(0x10a)])){const _0x3a3208=new Date(),_0x1ec640=PerformanceTester[_0x4c5dc5(0xbf)](_0x3890bd[_0x4c5dc5(0x133)],async()=>{return await aiSdkWrapper['handleSuccess'](_0x1a7998,_0x6cfdb,_0x44a394);});await _0x3890bd['aivDe'](_0x1ec640);}},{'command':_0x44a394[_0x2afc8e(0xd8)]})(),_0xde1e02;}catch(_0x457059){await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x2afc8e(0x10b)],async()=>{const _0x162a57=_0x2afc8e;logger[_0x162a57(0x131)](_0x2b5cc7[_0x162a57(0x13a)]);try{if(!helper[_0x162a57(0x11d)]()&&(_0x2b5cc7[_0x162a57(0xe5)](_0x457059['name'],_0x2b5cc7[_0x162a57(0x114)])||_0x2b5cc7[_0x162a57(0xef)](_0x457059[_0x162a57(0xf9)],_0x2b5cc7[_0x162a57(0xe7)]))&&_0x2b5cc7[_0x162a57(0xf4)](_0x44a394[_0x162a57(0xd8)],_0x2b5cc7[_0x162a57(0xdb)])&&commandRepository['isSelfHealEnabled']()&&globals[_0x162a57(0x100)](_0x2b5cc7[_0x162a57(0x104)])&&globals[_0x162a57(0x100)](_0x2b5cc7[_0x162a57(0xc3)])){_0x2b5cc7[_0x162a57(0xf4)](_0x44a394[_0x162a57(0xdc)][_0x162a57(0xf2)],_0x2b5cc7[_0x162a57(0xf3)])?logger[_0x162a57(0xe4)](_0x2b5cc7[_0x162a57(0xeb)](_0x2b5cc7[_0x162a57(0xeb)](_0x2b5cc7[_0x162a57(0x121)],_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)]),_0x2b5cc7[_0x162a57(0x123)])):logger['info'](_0x2b5cc7['OsmNN'](_0x2b5cc7['OsmNN'](_0x2b5cc7[_0x162a57(0xeb)](_0x2b5cc7['XdXAc'](_0x2b5cc7[_0x162a57(0xc8)],_0x44a394[_0x162a57(0xdc)]['using']),':\x20'),_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)]),_0x2b5cc7[_0x162a57(0x123)]));const _0x1029d2=PerformanceTester['measureWrapper'](_0x2b5cc7['LuxOI'],async()=>{return await aiSdkWrapper['handleFailure'](_0x1a7998,_0x6cfdb,_0x44a394);}),_0x177598=new Date(),{locatorType:_0xbe2e5b,locatorValue:_0x1c9165,commandHealed:_0x2d19c6}=await _0x2b5cc7[_0x162a57(0xca)](_0x1029d2);if(_0x2b5cc7['dmPNt'](_0xbe2e5b,_0x1c9165)){_0x44a394['parameters_'][_0x162a57(0xf2)]=_0xbe2e5b,_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)]=_0x1c9165,_0x44a394[_0x162a57(0xcd)]=!![];const _0x29751b=_0x6cfdb[_0x162a57(0x122)](_0x44a394);return _0x2b5cc7['bJuts'](_0xbe2e5b,_0x2b5cc7[_0x162a57(0xf3)])?logger['info'](_0x2b5cc7[_0x162a57(0xcb)](_0x2b5cc7[_0x162a57(0x107)],_0x1c9165)):logger[_0x162a57(0xe4)](_0x2b5cc7[_0x162a57(0xcb)](_0x2b5cc7['UPqcU'](_0x2b5cc7[_0x162a57(0x12b)](_0x2b5cc7[_0x162a57(0x106)],_0xbe2e5b),':\x20'),_0x1c9165)),_0x29751b;}else!_0x2d19c6&&(_0x2b5cc7[_0x162a57(0xef)](_0xbe2e5b,_0x2b5cc7[_0x162a57(0xf3)])?logger['info'](_0x2b5cc7[_0x162a57(0xe1)](_0x2b5cc7[_0x162a57(0xed)],_0x44a394[_0x162a57(0xdc)][_0x162a57(0x113)])):logger[_0x162a57(0xe4)](_0x2b5cc7[_0x162a57(0xec)](_0x2b5cc7[_0x162a57(0xf8)](_0x2b5cc7[_0x162a57(0x12b)](_0x2b5cc7[_0x162a57(0x10d)],_0x44a394[_0x162a57(0xdc)][_0x162a57(0xf2)]),':\x20'),_0x44a394[_0x162a57(0xdc)]['value'])));}!_0x4dbf81&&_0x2b5cc7[_0x162a57(0x103)](_0x44a394[_0x162a57(0xd8)],_0x2b5cc7[_0x162a57(0xe0)])&&helper[_0x162a57(0xfb)](_0x44a394,[_0x2b5cc7[_0x162a57(0x11e)],_0x2b5cc7[_0x162a57(0xee)]])&&!!constants[_0x162a57(0x108)][_0x162a57(0x102)](_0x421d54=>{const _0x595cd2=_0x162a57;return _0x457059[_0x595cd2(0x117)]()[_0x595cd2(0xfd)](_0x421d54);})&&helper[_0x162a57(0x128)](_0x44a394['parameters_'][_0x162a57(0xd9)],!![]);}catch(_0x1f3d0a){logger[_0x162a57(0x131)](_0x2b5cc7[_0x162a57(0xdf)],_0x1f3d0a);}},{'success':![],'failure':_0x457059})();throw _0x457059;}};};
|
|
1
|
+
function a124_0x1cd1(_0x541ec3,_0x296c36){const _0x130999=a124_0x1309();return a124_0x1cd1=function(_0x1cd1de,_0x4bbfad){_0x1cd1de=_0x1cd1de-0x9f;let _0x301b77=_0x130999[_0x1cd1de];return _0x301b77;},a124_0x1cd1(_0x541ec3,_0x296c36);}const a124_0x2ab202=a124_0x1cd1;(function(_0x2d6f57,_0x4c765f){const _0x52ba25=a124_0x1cd1,_0x3e5b65=_0x2d6f57();while(!![]){try{const _0x33c4a8=-parseInt(_0x52ba25(0xd0))/0x1*(-parseInt(_0x52ba25(0xfc))/0x2)+parseInt(_0x52ba25(0xf5))/0x3*(-parseInt(_0x52ba25(0x11f))/0x4)+parseInt(_0x52ba25(0x109))/0x5*(-parseInt(_0x52ba25(0xc4))/0x6)+parseInt(_0x52ba25(0xf4))/0x7*(-parseInt(_0x52ba25(0x105))/0x8)+parseInt(_0x52ba25(0xf7))/0x9*(-parseInt(_0x52ba25(0xe4))/0xa)+-parseInt(_0x52ba25(0xb8))/0xb*(parseInt(_0x52ba25(0xc7))/0xc)+parseInt(_0x52ba25(0xb5))/0xd;if(_0x33c4a8===_0x4c765f)break;else _0x3e5b65['push'](_0x3e5b65['shift']());}catch(_0x312a92){_0x3e5b65['push'](_0x3e5b65['shift']());}}}(a124_0x1309,0x3ee24));const {aiSdkWrapper}=require(a124_0x2ab202(0xab)),{commandRepository}=require(a124_0x2ab202(0xc9)),PerformanceTester=require(a124_0x2ab202(0xcb)),globals=require(a124_0x2ab202(0xe8)),{winstonLogger:logger,automationLogger}=require(a124_0x2ab202(0xbf)),helper=require(a124_0x2ab202(0x9f)),constants=require(a124_0x2ab202(0xdd)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a124_0x2ab202(0xc3)),util=require('util');function a124_0x1309(){const _0x47b3ec=['UDGbm','setAiSessionTimeStamp','EKaeq','PAcHo','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','UYjPc','2623560qHiAqN','getTcgTokenStatus','isBrowserstackInfra','cgqRV','5cwSflm','local','handleSuccess','wnkSI','body','fYTHy','aiSdk_defaultLogDataEnabled','skipHealingSuccess','xnquJ','AUTOMATION_LOG_COMMANDS','script','using','format','PAMxQ','measureWrapper','Successfully\x20healed\x20command\x20using\x20new\x20','browserstack.local','qAKvx','POST_EXECUTE','find','pVMQJ','Healing\x20failed\x20for\x20command\x20using\x20','12kpcCsk','rkwtJ','./helper','JWVxV','get','PRE_EXECUTE','silly','error','name_','iOJVB','setTcgToken','AgUTz','BaUEP','aiHeal:findElementSuccess','./ai-sdk/aiSdkWrapper','aiHeal:setToken','getNudgeLocalNotSetError','url','fRziR','name','LQWFg','findElement\x20command\x20failed\x20with\x20cssPath:\x20','aiHeal_isAuthenticated','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','18893693eaIjtw','message','aiHeal:findElementFailure','5379uOcBtO','css\x20selector','toISOString','value','OYoDu','nestedKeyValue','IdHOa','./logger','HJLJj','Vswqm','getId','./performance/constants','2897724YrRhMI','Error\x20in\x20handling\x20TCG\x20Auth:\x20','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','9144coEsnd','tMRME','./ai-sdk/autoHealHelper','QuBhV','./performance/performance-tester','parameters_','findElement\x20command\x20failed\x20with\x20','NBDvF','isSelfHealEnabled','446146EYHAtD','response','GKMYk','NUDGE_LOCAL_ERRORS','executeScript','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','UpGNp','pnmJy','initExecute','Hpujb','patchExecute','tRRjx','../bin/utils/constants','][\x20SDK-AUTOMATION\x20]\x20','args','getGlobal','QGfga','overrideExecute','hSYOm','2955090hUuJNv','bstack:options','NoSuchElementError','getSession','./globals','GDHmx','string',';\x20Trying\x20to\x20heal','request','aiHeal_isHealingEnabled','lNCvN','yOiqO','info','ASoTK','execute','ipOkJ','7lEhrRG','162909xqJrQh','includes','9qbTwUV','RtgMN','debug','capability','fKxjV','2HkvRyB','Vrgii','executeAsyncScript'];a124_0x1309=function(){return _0x47b3ec;};return a124_0x1309();}exports[a124_0x2ab202(0xe2)]=(_0x5f10f9,_0x5ebcf8)=>{const _0x2d369b=a124_0x2ab202,_0x4f88f3={'tRRjx':_0x2d369b(0xb3),'BaUEP':_0x2d369b(0xac),'fYTHy':function(_0x47b6cd){return _0x47b6cd();},'ipOkJ':_0x2d369b(0xb4),'pnmJy':function(_0x35faa8,_0x100858){return _0x35faa8===_0x100858;},'RtgMN':_0x2d369b(0xe6),'fxOsH':function(_0x5d6dcc,_0x53d6b4){return _0x5d6dcc===_0x53d6b4;},'oYwQC':'JavascriptError','LQWFg':function(_0x3d7343,_0x55947e){return _0x3d7343===_0x55947e;},'OYoDu':'findElement','rkwtJ':_0x2d369b(0xed),'fKxjV':_0x2d369b(0xb9),'xnquJ':function(_0x4a2691,_0x54c9d0){return _0x4a2691+_0x54c9d0;},'UVEGE':function(_0x17543f,_0x3c6e71){return _0x17543f+_0x3c6e71;},'dFGxT':_0x2d369b(0xb2),'lNCvN':_0x2d369b(0xeb),'VHdxl':function(_0x2ebbc6,_0x537628){return _0x2ebbc6+_0x537628;},'XgkEo':function(_0x17a996,_0x18e3c4){return _0x17a996+_0x18e3c4;},'tMRME':_0x2d369b(0xcd),'IdHOa':_0x2d369b(0xb7),'pVMQJ':function(_0x2d6278){return _0x2d6278();},'vSPGu':function(_0x1fba8d,_0x51ba87){return _0x1fba8d&&_0x51ba87;},'Hpujb':function(_0x3176dc,_0x1a7bd1){return _0x3176dc===_0x1a7bd1;},'PAcHo':function(_0x5eb2ac,_0x616159){return _0x5eb2ac+_0x616159;},'xbnQW':_0x2d369b(0x103),'QuBhV':function(_0x31a056,_0x355f67){return _0x31a056+_0x355f67;},'Vrgii':_0x2d369b(0x118),'hSYOm':function(_0x4d82fb,_0x24a310){return _0x4d82fb===_0x24a310;},'BKIWd':function(_0x2cc786,_0x39870f){return _0x2cc786+_0x39870f;},'NBDvF':_0x2d369b(0xd5),'EKaeq':function(_0x3ab6c7,_0x236187){return _0x3ab6c7+_0x236187;},'WCrYK':_0x2d369b(0x11e),'cgqRV':function(_0x1fb52a,_0x59433d){return _0x1fb52a===_0x59433d;},'FZuNG':_0x2d369b(0xa1),'ahXiq':'parameters_','GKMYk':_0x2d369b(0xae),'HJLJj':_0x2d369b(0xd6),'fRziR':_0x2d369b(0x10f),'MRWDG':function(_0x45a873,_0x16ef16){return _0x45a873===_0x16ef16;},'JWVxV':_0x2d369b(0xaa),'KojnZ':function(_0x3ae7cd,_0x3213d7){return _0x3ae7cd===_0x3213d7;},'QItIL':_0x2d369b(0xfe),'UYjPc':function(_0x1c4314,_0x58b2ef){return _0x1c4314===_0x58b2ef;},'UDGbm':_0x2d369b(0xd4),'yOiqO':_0x2d369b(0xea),'AgUTz':_0x2d369b(0xfa),'iOJVB':_0x2d369b(0x119),'wnkSI':_0x2d369b(0xe5),'PAMxQ':_0x2d369b(0x10a)},_0xc5a788=_0x5f10f9[_0x2d369b(0xdb)]||(helper['nestedKeyValue'](_0x5ebcf8,[_0x4f88f3[_0x2d369b(0xa8)],_0x4f88f3[_0x2d369b(0xa6)]])||helper['nestedKeyValue'](_0x5ebcf8,[_0x4f88f3['AgUTz'],_0x4f88f3[_0x2d369b(0x10c)],_0x4f88f3[_0x2d369b(0x116)]]));if(!globals[_0x2d369b(0xe0)](_0x4f88f3[_0x2d369b(0xdc)])&&!globals[_0x2d369b(0xe0)](_0x4f88f3[_0x2d369b(0x120)])&&_0xc5a788)return;_0x5f10f9[_0x2d369b(0xdb)]=!![],_0x5f10f9[_0x2d369b(0xd9)]=_0x5f10f9[_0x2d369b(0xf2)],_0x5f10f9[_0x2d369b(0xf2)]=async _0x25d280=>{const _0x1abef1=_0x2d369b,_0x431b63={'UpGNp':_0x4f88f3[_0x1abef1(0xaf)],'Vswqm':function(_0x18a4c1,_0x320a46){return _0x4f88f3['MRWDG'](_0x18a4c1,_0x320a46);},'qAKvx':_0x4f88f3['OYoDu'],'lCmwX':_0x4f88f3[_0x1abef1(0xdc)],'GDHmx':_0x4f88f3[_0x1abef1(0x120)],'phmII':_0x4f88f3[_0x1abef1(0xa0)],'QGfga':function(_0x48341f){const _0xcaa04c=_0x1abef1;return _0x4f88f3[_0xcaa04c(0x11d)](_0x48341f);}};try{const _0x3a0b91={};_0x3a0b91['command']=_0x25d280[_0x1abef1(0xa5)],await PerformanceTester[_0x1abef1(0x117)](PerformanceDriverEvents[_0x1abef1(0xa2)],async()=>{const _0xd181be=_0x1abef1,_0x4ffd57={};_0x4ffd57['ASoTK']=_0x4f88f3[_0xd181be(0xdc)];const _0x23e04d=_0x4ffd57;if(!commandRepository[_0xd181be(0x106)]()&&globals[_0xd181be(0xe0)](_0x4f88f3['tRRjx'])){const _0x1a16a3=PerformanceTester[_0xd181be(0x117)](_0x4f88f3[_0xd181be(0xa9)],async()=>{const _0x50e150=_0xd181be;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x50e150(0xa7)]((await _0x5f10f9[_0x50e150(0xe7)]())['getId']());const _0x321600=globals[_0x50e150(0xe0)](_0x23e04d[_0x50e150(0xf1)]);_0x321600&&commandRepository[_0x50e150(0x100)]((await _0x5f10f9[_0x50e150(0xe7)]())[_0x50e150(0xc2)]());}catch(_0x327a17){logger[_0x50e150(0xa4)](_0x50e150(0xc5)+_0x327a17);}});await _0x4f88f3[_0xd181be(0x10e)](_0x1a16a3);}},_0x3a0b91)();const _0x3206d0=await _0x5f10f9['initExecute'](_0x25d280);try{if(_0x4f88f3['KojnZ'](_0x25d280['name_'],_0x4f88f3['QItIL'])||_0x4f88f3[_0x1abef1(0x104)](_0x25d280['name_'],_0x4f88f3[_0x1abef1(0xff)])){const _0x303493=_0x25d280['parameters_']&&_0x25d280[_0x1abef1(0xcc)][_0x1abef1(0x113)],_0x12b13e=_0x25d280[_0x1abef1(0xcc)]&&_0x25d280[_0x1abef1(0xcc)][_0x1abef1(0xdf)],_0x49a046=_0x12b13e&&util[_0x1abef1(0x115)]('%j',_0x12b13e);if(_0x303493&&_0x4f88f3[_0x1abef1(0xb1)](typeof _0x303493,_0x4f88f3[_0x1abef1(0xef)])){const _0x3d3f4b=constants[_0x1abef1(0x112)][_0x1abef1(0x11c)](_0x5111de=>_0x303493[_0x1abef1(0xf6)](_0x5111de)||_0x49a046&&_0x49a046[_0x1abef1(0xf6)](_0x5111de));if(_0x3d3f4b){const _0x1f8e04={};_0x1f8e04['command']=_0x3d3f4b,_0x1f8e04['parameters']=_0x12b13e;const _0x19d742={};_0x19d742[_0x1abef1(0x10d)]=_0x3206d0;const _0x51b8c4={};_0x51b8c4[_0x1abef1(0xec)]=_0x1f8e04,_0x51b8c4[_0x1abef1(0xd1)]=_0x19d742,automationLogger['silly']('['+new Date()[_0x1abef1(0xba)]()+_0x1abef1(0xde)+util[_0x1abef1(0x115)]('%j',_0x51b8c4));}}}}catch(_0x2e0091){logger[_0x1abef1(0xa3)](_0x1abef1(0xc6)+_0x2e0091[_0x1abef1(0xb6)]);}return await PerformanceTester[_0x1abef1(0x117)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x55d891=_0x1abef1;if(!helper['isBrowserstackInfra']()&&(commandRepository['isSelfHealEnabled']()||globals[_0x55d891(0xe0)](_0x431b63[_0x55d891(0xd7)]))&&_0x431b63[_0x55d891(0xc1)](_0x25d280[_0x55d891(0xa5)],_0x431b63[_0x55d891(0x11a)])&&!_0x25d280[_0x55d891(0x110)]&&globals[_0x55d891(0xe0)](_0x431b63['lCmwX'])&&globals[_0x55d891(0xe0)](_0x431b63[_0x55d891(0xe9)])){const _0x2e82e9=new Date(),_0x4d53c9=PerformanceTester[_0x55d891(0x117)](_0x431b63['phmII'],async()=>{const _0x7bb1cf=_0x55d891;return await aiSdkWrapper[_0x7bb1cf(0x10b)](_0x5ebcf8,_0x5f10f9,_0x25d280);});await _0x431b63[_0x55d891(0xe1)](_0x4d53c9);}},{'command':_0x25d280[_0x1abef1(0xa5)]})(),_0x3206d0;}catch(_0x27b5f9){await PerformanceTester[_0x1abef1(0x117)](PerformanceDriverEvents[_0x1abef1(0x11b)],async()=>{const _0x3cd9b8=_0x1abef1;logger['debug'](_0x4f88f3[_0x3cd9b8(0xf3)]);try{if(!helper[_0x3cd9b8(0x107)]()&&(_0x4f88f3[_0x3cd9b8(0xd8)](_0x27b5f9[_0x3cd9b8(0xb0)],_0x4f88f3[_0x3cd9b8(0xf8)])||_0x4f88f3['fxOsH'](_0x27b5f9['name'],_0x4f88f3['oYwQC']))&&_0x4f88f3['LQWFg'](_0x25d280[_0x3cd9b8(0xa5)],_0x4f88f3[_0x3cd9b8(0xbc)])&&commandRepository[_0x3cd9b8(0xcf)]()&&globals[_0x3cd9b8(0xe0)](_0x4f88f3['tRRjx'])&&globals[_0x3cd9b8(0xe0)](_0x4f88f3[_0x3cd9b8(0x120)])){_0x4f88f3[_0x3cd9b8(0xd8)](_0x25d280['parameters_']['using'],_0x4f88f3[_0x3cd9b8(0xfb)])?logger[_0x3cd9b8(0xf0)](_0x4f88f3[_0x3cd9b8(0x111)](_0x4f88f3['UVEGE'](_0x4f88f3['dFGxT'],_0x25d280[_0x3cd9b8(0xcc)][_0x3cd9b8(0xbb)]),_0x4f88f3[_0x3cd9b8(0xee)])):logger[_0x3cd9b8(0xf0)](_0x4f88f3[_0x3cd9b8(0x111)](_0x4f88f3['VHdxl'](_0x4f88f3['UVEGE'](_0x4f88f3['XgkEo'](_0x4f88f3[_0x3cd9b8(0xc8)],_0x25d280[_0x3cd9b8(0xcc)]['using']),':\x20'),_0x25d280[_0x3cd9b8(0xcc)]['value']),_0x4f88f3[_0x3cd9b8(0xee)]));const _0x19757d=PerformanceTester[_0x3cd9b8(0x117)](_0x4f88f3[_0x3cd9b8(0xbe)],async()=>{return await aiSdkWrapper['handleFailure'](_0x5ebcf8,_0x5f10f9,_0x25d280);}),_0x465e79=new Date(),{locatorType:_0x4839b6,locatorValue:_0x13f292,commandHealed:_0x4fb619}=await _0x4f88f3[_0x3cd9b8(0x11d)](_0x19757d);if(_0x4f88f3['vSPGu'](_0x4839b6,_0x13f292)){_0x25d280['parameters_']['using']=_0x4839b6,_0x25d280[_0x3cd9b8(0xcc)][_0x3cd9b8(0xbb)]=_0x13f292,_0x25d280[_0x3cd9b8(0x110)]=!![];const _0x567828=_0x5f10f9[_0x3cd9b8(0xf2)](_0x25d280);return _0x4f88f3[_0x3cd9b8(0xda)](_0x4839b6,_0x4f88f3['fKxjV'])?logger[_0x3cd9b8(0xf0)](_0x4f88f3['PAcHo'](_0x4f88f3['xbnQW'],_0x13f292)):logger[_0x3cd9b8(0xf0)](_0x4f88f3[_0x3cd9b8(0xca)](_0x4f88f3[_0x3cd9b8(0x111)](_0x4f88f3[_0x3cd9b8(0xca)](_0x4f88f3[_0x3cd9b8(0xfd)],_0x4839b6),':\x20'),_0x13f292)),_0x567828;}else!_0x4fb619&&(_0x4f88f3[_0x3cd9b8(0xe3)](_0x4839b6,_0x4f88f3[_0x3cd9b8(0xfb)])?logger[_0x3cd9b8(0xf0)](_0x4f88f3['BKIWd'](_0x4f88f3[_0x3cd9b8(0xce)],_0x25d280[_0x3cd9b8(0xcc)][_0x3cd9b8(0xbb)])):logger[_0x3cd9b8(0xf0)](_0x4f88f3[_0x3cd9b8(0x102)](_0x4f88f3[_0x3cd9b8(0x101)](_0x4f88f3[_0x3cd9b8(0x102)](_0x4f88f3['WCrYK'],_0x25d280[_0x3cd9b8(0xcc)][_0x3cd9b8(0x114)]),':\x20'),_0x25d280[_0x3cd9b8(0xcc)][_0x3cd9b8(0xbb)])));}!_0xc5a788&&_0x4f88f3[_0x3cd9b8(0x108)](_0x25d280[_0x3cd9b8(0xa5)],_0x4f88f3['FZuNG'])&&helper[_0x3cd9b8(0xbd)](_0x25d280,[_0x4f88f3['ahXiq'],_0x4f88f3[_0x3cd9b8(0xd2)]])&&!!constants[_0x3cd9b8(0xd3)][_0x3cd9b8(0x11c)](_0x2e8278=>{return _0x27b5f9['toString']()['includes'](_0x2e8278);})&&helper[_0x3cd9b8(0xad)](_0x25d280['parameters_'][_0x3cd9b8(0xae)],!![]);}catch(_0x4c904c){logger[_0x3cd9b8(0xf9)](_0x4f88f3[_0x3cd9b8(0xc0)],_0x4c904c);}},{'success':![],'failure':_0x27b5f9})();throw _0x27b5f9;}};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a125_0x213409=a125_0x4b04;(function(_0x4b757a,_0x47c3ac){const _0x267efb=a125_0x4b04,_0x53a06c=_0x4b757a();while(!![]){try{const _0x40561f=parseInt(_0x267efb(0xe5))/0x1*(parseInt(_0x267efb(0xf4))/0x2)+parseInt(_0x267efb(0xeb))/0x3*(-parseInt(_0x267efb(0xdf))/0x4)+-parseInt(_0x267efb(0xed))/0x5*(-parseInt(_0x267efb(0xf1))/0x6)+parseInt(_0x267efb(0xe8))/0x7+-parseInt(_0x267efb(0xdd))/0x8+parseInt(_0x267efb(0xdc))/0x9*(-parseInt(_0x267efb(0xf2))/0xa)+-parseInt(_0x267efb(0xd0))/0xb*(-parseInt(_0x267efb(0xe3))/0xc);if(_0x40561f===_0x47c3ac)break;else _0x53a06c['push'](_0x53a06c['shift']());}catch(_0x497164){_0x53a06c['push'](_0x53a06c['shift']());}}}(a125_0x967d,0x2975c));const PerformanceTester=require(a125_0x213409(0xe0)),O11yEvents=require('./performance/constants')['O11y_EVENTS'];function a125_0x4b04(_0x3f69ba,_0x4dc8b6){const _0x967d48=a125_0x967d();return a125_0x4b04=function(_0x4b0418,_0x3ee554){_0x4b0418=_0x4b0418-0xce;let _0x462291=_0x967d48[_0x4b0418];return _0x462291;},a125_0x4b04(_0x3f69ba,_0x4dc8b6);}exports[a125_0x213409(0xe2)]=_0x44412b=>{const _0x561be0=a125_0x213409,_0x18d5a5={'iuAgT':_0x561be0(0xe9),'gGjMw':function(_0x596af0,_0x2a024a){return _0x596af0(_0x2a024a);},'IzALQ':function(_0x14a150,_0x430e04){return _0x14a150(_0x430e04);},'OIvZS':function(_0x21a26c,_0x5b5a1c){return _0x21a26c!==_0x5b5a1c;},'TZmyX':'true'};if(_0x18d5a5[_0x561be0(0xec)](process['env'][_0x561be0(0xe4)],_0x18d5a5[_0x561be0(0xce)]))return;if(_0x44412b[_0x561be0(0xf5)])return;_0x44412b[_0x561be0(0xf5)]=!![],_0x44412b['initScreenshot']=_0x44412b[_0x561be0(0xde)],_0x44412b[_0x561be0(0xde)]=()=>{const _0x4c44c9={'NBkKU':function(_0x14e637,_0x3ab694){const _0x364fe7=a125_0x4b04;return _0x18d5a5[_0x364fe7(0xd5)](_0x14e637,_0x3ab694);}};return new Promise(function(_0x31651c,_0x3e20d7){const _0x1920d4=a125_0x4b04,_0x1defd1={'aJjzo':_0x18d5a5[_0x1920d4(0xdb)],'lJRgE':function(_0x49f735,_0x5ebc77){return _0x18d5a5['gGjMw'](_0x49f735,_0x5ebc77);}};_0x44412b[_0x1920d4(0xd2)]()[_0x1920d4(0xf7)](_0x1d3891=>{const _0x2b79c0=_0x1920d4;PerformanceTester['start'](O11yEvents[_0x2b79c0(0xd3)]),process[_0x2b79c0(0xd8)](_0x2b79c0(0xef)+process[_0x2b79c0(0xda)],{'timestamp':new Date()[_0x2b79c0(0xf3)](),'message':_0x1d3891,'kind':_0x1defd1[_0x2b79c0(0xf0)]}),_0x1defd1[_0x2b79c0(0xcf)](_0x31651c,_0x1d3891),PerformanceTester['end'](O11yEvents[_0x2b79c0(0xd3)]);})[_0x1920d4(0xea)](_0x27e457=>{const _0x59fce7=_0x1920d4;PerformanceTester[_0x59fce7(0xee)](O11yEvents[_0x59fce7(0xd3)]),_0x4c44c9[_0x59fce7(0xe6)](_0x3e20d7,_0x27e457);});});};},exports[a125_0x213409(0xe1)]=(_0x50b45d,_0x28a46d=null)=>{const _0xc6220e=a125_0x213409,_0x11db28={'kpTKd':function(_0x3a6282){return _0x3a6282();},'nWCIo':function(_0x52f716,_0x5b1ae9){return _0x52f716>_0x5b1ae9;}};if(_0x50b45d[_0xc6220e(0xd1)])return;_0x50b45d['patchQuit']=!![],_0x50b45d[_0xc6220e(0xd6)]=_0x50b45d[_0xc6220e(0xf6)],_0x50b45d['quit']=()=>{const _0x1c641c=_0xc6220e,_0x270eff={'HToZc':function(_0x599038){const _0x4c6402=a125_0x4b04;return _0x11db28[_0x4c6402(0xd7)](_0x599038);}};if(_0x28a46d){_0x28a46d['quitCount_']+=0x1;if(_0x11db28[_0x1c641c(0xd9)](_0x28a46d[_0x1c641c(0xe7)],0x1))return _0x50b45d[_0x1c641c(0xd6)]();}else{_0x50b45d[_0x1c641c(0xe7)]+=0x1;if(_0x11db28['nWCIo'](_0x50b45d[_0x1c641c(0xe7)],0x1))return _0x50b45d[_0x1c641c(0xd6)]();}return new Promise(function(_0x28a704){const _0x57ea48=_0x1c641c;_0x270eff[_0x57ea48(0xd4)](_0x28a704);});};};function a125_0x967d(){const _0x4b5667=['1lELjNN','NBkKU','quitCount_','2073645kLCbrN','TEST_SCREENSHOT','catch','634671otKdjM','OIvZS','168125zldSej','end','bs:addLog:','aJjzo','30xATFvt','29360BtbKGM','toISOString','217526HRgJeL','patchScreenshot','quit','then','TZmyX','lJRgE','11qNqAIS','patchQuit','initScreenshot','TAKE_SCREENSHOT','HToZc','IzALQ','initQuit','kpTKd','emit','nWCIo','pid','iuAgT','558hYylpV','2257000uTdXcF','takeScreenshot','4sOwoOz','./performance/performance-tester','overrideQuit','overrideTakeScreenshot','3268932DKJDzl','BS_TESTOPS_ALLOW_SCREENSHOTS'];a125_0x967d=function(){return _0x4b5667;};return a125_0x967d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a126_0x4592(_0x2daa6e,_0x469362){const _0x1200d4=a126_0x1200();return a126_0x4592=function(_0x45924a,_0x12aa53){_0x45924a=_0x45924a-0xc2;let _0x291030=_0x1200d4[_0x45924a];return _0x291030;},a126_0x4592(_0x2daa6e,_0x469362);}const a126_0x5a6bcc=a126_0x4592;function a126_0x1200(){const _0x4d549f=['FdqMB',':start','2647136oCVxpF','createPercyConfig','ZUQeW','JxAXP','../../helpers/performance/constants','bQkIn','winstonLogger','45622SdVtYC','push','isProcessRunning','projectName','assign','path','TwUIp','28ELedWd','Error\x20creating\x20percy\x20config:\x20','kkyum','api/app_percy/get_project_token?name=','tmpdir','vnOhJ','Percy\x20fetch\x20token\x20success','18389680JOxUFl','percy/healthcheck','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','hrcnw','pipe','85akWTPY','data','stop','error','cGMdP','debug','mcqRt','uEIyD','PERCY_SERVER_ADDRESS','automate','token','VVYDX','mdlFw','mPqMC','stringify','DOWNLOAD','flags','close','194838nebWfz','caxkh','nodeRequest','11798001pROXWs','getBinaryPath','exports','end','exec','percy.log','dUWZb','2514585uBwPVk','etOll','GET','3194644lmDkTN','BROWSERSTACK_TESTHUB_UUID','fetchPercyToken','percyOptions','../logger','exec:stop','&type=','writeFile','nzawy','env','start','join','ENV_VAR','42NAngRf','app','version'];a126_0x1200=function(){return _0x4d549f;};return a126_0x1200();}(function(_0xc4df0d,_0x552fde){const _0x154830=a126_0x4592,_0x568ad2=_0xc4df0d();while(!![]){try{const _0x198b9a=parseInt(_0x154830(0xd3))/0x1*(parseInt(_0x154830(0xdf))/0x2)+-parseInt(_0x154830(0xc3))/0x3+parseInt(_0x154830(0xc6))/0x4+-parseInt(_0x154830(0xf2))/0x5*(-parseInt(_0x154830(0x104))/0x6)+-parseInt(_0x154830(0xe6))/0x7*(parseInt(_0x154830(0xd8))/0x8)+-parseInt(_0x154830(0x107))/0x9+parseInt(_0x154830(0xed))/0xa;if(_0x198b9a===_0x552fde)break;else _0x568ad2['push'](_0x568ad2['shift']());}catch(_0x26eb10){_0x568ad2['push'](_0x568ad2['shift']());}}}(a126_0x1200,0xa4d08));const fs=require('fs'),path=require(a126_0x5a6bcc(0xe4)),os=require('os'),{spawn}=require('child_process'),helper=require('../helper'),logger=require(a126_0x5a6bcc(0xca))[a126_0x5a6bcc(0xde)],{getLogDir}=require(a126_0x5a6bcc(0xca)),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a126_0x5a6bcc(0xdc)),PercyBinary=require('./PercyBinary');class Percy{#logfile=path['join'](getLogDir(),a126_0x5a6bcc(0x10c));#address=process[a126_0x5a6bcc(0xcf)][a126_0x5a6bcc(0xfa)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];['isProcessRunning']=![];constructor(_0x458986){this.#config=_0x458986,!!_0x458986['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x4e9e82=a126_0x5a6bcc;if(!this.#binaryPath){const _0x4c76de=new PercyBinary();PerformanceTester['start'](PerformanceEvents[_0x4e9e82(0x101)]),this.#binaryPath=await _0x4c76de[_0x4e9e82(0x108)](this.#config),PerformanceTester['end'](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x17890b){return new Promise(_0x5599fd=>setTimeout(_0x5599fd,_0x17890b));}async['healthcheck'](){const _0x320f91=a126_0x5a6bcc,_0x3690f0={};_0x3690f0[_0x320f91(0xe5)]=_0x320f91(0xc5),_0x3690f0[_0x320f91(0xfe)]=_0x320f91(0xee);const _0x992333=_0x3690f0;try{const _0x4c9d91=await helper[_0x320f91(0x106)](_0x992333[_0x320f91(0xe5)],_0x992333[_0x320f91(0xfe)],null,null,this.#address);if(_0x4c9d91)return!![];}catch(_0x4c144e){return![];}}async[a126_0x5a6bcc(0xd0)](){const _0x5d712c=a126_0x5a6bcc,_0x5757b7={'dUWZb':'app:exec','FdqMB':_0x5d712c(0x10b),'mcqRt':function(_0x954a4,_0x2277c1,_0x136f1,_0x2b81e7){return _0x954a4(_0x2277c1,_0x136f1,_0x2b81e7);},'etOll':_0x5d712c(0x103),'mPqMC':'Percy\x20healthcheck\x20successful'},_0x5f0fe3=await this.#getBinaryPath(),_0x1f5baa={};_0x1f5baa[_0x5d712c(0x102)]='a',this.#logStream=fs['createWriteStream'](this.#logfile,_0x1f5baa);const _0x106006=await this[_0x5d712c(0xc8)](),_0x570f14=await this[_0x5d712c(0xd9)]();if(!_0x106006)return![];const _0x14d897=[(this.#isApp?_0x5757b7[_0x5d712c(0xc2)]:_0x5757b7[_0x5d712c(0xd6)])+_0x5d712c(0xd7)];_0x570f14&&_0x14d897[_0x5d712c(0xe0)]('-c',_0x570f14);this.#proc=_0x5757b7[_0x5d712c(0xf8)](spawn,_0x5f0fe3,_0x14d897,{'env':Object[_0x5d712c(0xe3)](process['env'],{'PERCY_TOKEN':_0x106006,'TH_BUILD_UUID':process['env'][testHubConstants[_0x5d712c(0xd2)][_0x5d712c(0xc7)]]})}),this.#proc['stdout'][_0x5d712c(0xf1)](this.#logStream),this.#proc['stderr'][_0x5d712c(0xf1)](this.#logStream),this[_0x5d712c(0xe1)]=!![];var _0x5b429d=this;this.#proc['on'](_0x5757b7[_0x5d712c(0xc4)],function(_0x508c1f){const _0xdf874c=_0x5d712c;_0x5b429d[_0xdf874c(0xe1)]=![];});do{const _0x39a42a=await this['healthcheck']();if(_0x39a42a)return logger[_0x5d712c(0xf7)](_0x5757b7[_0x5d712c(0xff)]),!![];await this.#sleep(0x3e8);}while(this[_0x5d712c(0xe1)]);return![];}async[a126_0x5a6bcc(0xf4)](){const _0x3d55e6=a126_0x5a6bcc,_0x18ae37={'Kzosq':function(_0x2eb0e3,_0x356df7){return _0x2eb0e3(_0x356df7);},'vnOhJ':function(_0x49d281,_0x14408c,_0x89ab8a){return _0x49d281(_0x14408c,_0x89ab8a);},'damiz':_0x3d55e6(0xcb),'ZUQeW':'close'},_0x9db93d=await this.#getBinaryPath();return new Promise((_0x412de9,_0x18b27d)=>{const _0x5a2d22=_0x3d55e6,_0x560e34=_0x18ae37[_0x5a2d22(0xeb)](spawn,_0x9db93d,[_0x18ae37['damiz']]);_0x560e34['on'](_0x18ae37[_0x5a2d22(0xda)],_0x367fa5=>{const _0x24aefe=_0x5a2d22;this[_0x24aefe(0xe1)]=![],this.#logStream&&(this.#logStream[_0x24aefe(0x10a)](),this.#logStream=null),_0x18ae37['Kzosq'](_0x412de9,_0x367fa5);});});}['isRunning'](){return this['isProcessRunning'];}async[a126_0x5a6bcc(0xc8)](){const _0x128305=a126_0x5a6bcc,_0x230343={};_0x230343[_0x128305(0xfd)]=_0x128305(0xd4),_0x230343[_0x128305(0xdd)]=_0x128305(0xfb),_0x230343[_0x128305(0xf9)]=_0x128305(0xc5),_0x230343[_0x128305(0xf0)]=_0x128305(0xec);const _0x316f14=_0x230343,_0x5acf54=this.#config[_0x128305(0xe2)];try{const _0x1e5487=this.#isApp?_0x316f14[_0x128305(0xfd)]:_0x316f14[_0x128305(0xdd)],_0x2f7aed=await helper['nodeRequest'](_0x316f14[_0x128305(0xf9)],_0x128305(0xe9)+_0x5acf54+_0x128305(0xcc)+_0x1e5487,{},this.#config),_0x118e5c=_0x2f7aed[_0x128305(0xf3)];return logger[_0x128305(0xf7)](_0x316f14['hrcnw']),_0x118e5c[_0x128305(0xfc)];}catch(_0x55c553){return logger[_0x128305(0xf5)](_0x128305(0xef)+_0x55c553),null;}}async['createPercyConfig'](){const _0xfe8a6f=a126_0x5a6bcc,_0xee254f={'xdQLZ':function(_0x467e91,_0x11c0e8){return _0x467e91(_0x11c0e8);},'caxkh':function(_0xa6308d,_0x15717e){return _0xa6308d+_0x15717e;},'cGMdP':'Percy\x20config\x20created\x20at\x20','JxAXP':'percy.json'};if(!this.#config[_0xfe8a6f(0xc9)])return null;const _0x5d4365=path[_0xfe8a6f(0xd1)](os[_0xfe8a6f(0xea)](),_0xee254f[_0xfe8a6f(0xdb)]),_0xa0d67f=this.#config[_0xfe8a6f(0xc9)];return!_0xa0d67f[_0xfe8a6f(0xd5)]&&(_0xa0d67f[_0xfe8a6f(0xd5)]='2'),new Promise((_0x54eeec,_0x517fe9)=>{const _0x5c8786=_0xfe8a6f,_0x2b06de={'kkyum':function(_0x406f85,_0xc10861){return _0xee254f['xdQLZ'](_0x406f85,_0xc10861);},'eQckh':function(_0x577fa5,_0xfc8d2d){const _0x31b23d=a126_0x4592;return _0xee254f[_0x31b23d(0x105)](_0x577fa5,_0xfc8d2d);},'nzawy':_0xee254f[_0x5c8786(0xf6)]};fs[_0x5c8786(0xcd)](_0x5d4365,JSON[_0x5c8786(0x100)](_0xa0d67f),_0x577d94=>{const _0x357ce8=_0x5c8786;_0x577d94&&(logger[_0x357ce8(0xf5)](_0x357ce8(0xe7)+_0x577d94),_0x2b06de[_0x357ce8(0xe8)](_0x54eeec,null)),logger[_0x357ce8(0xf7)](_0x2b06de['eQckh'](_0x2b06de[_0x357ce8(0xce)],_0x5d4365)),_0x2b06de[_0x357ce8(0xe8)](_0x54eeec,_0x5d4365);});});}}module[a126_0x5a6bcc(0x109)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127_0x374360=a127_0x189d;(function(_0x11e1ba,_0x225b9c){const _0x3b33cc=a127_0x189d,_0x4a67d4=_0x11e1ba();while(!![]){try{const _0xa972fc=parseInt(_0x3b33cc(0x13d))/0x1+parseInt(_0x3b33cc(0x143))/0x2+parseInt(_0x3b33cc(0x116))/0x3+-parseInt(_0x3b33cc(0xb9))/0x4+parseInt(_0x3b33cc(0x125))/0x5*(-parseInt(_0x3b33cc(0x142))/0x6)+-parseInt(_0x3b33cc(0xcb))/0x7+parseInt(_0x3b33cc(0xfc))/0x8;if(_0xa972fc===_0x225b9c)break;else _0x4a67d4['push'](_0x4a67d4['shift']());}catch(_0x307c26){_0x4a67d4['push'](_0x4a67d4['shift']());}}}(a127_0x6546,0xa062a));const {https}=require(a127_0x374360(0xef)),url=require(a127_0x374360(0x11d)),yauzl=require(a127_0x374360(0x11f)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a127_0x374360(0x117)),HttpsProxyAgent=require('https-proxy-agent'),logger=require('../logger')[a127_0x374360(0xd8)];class PercyBinary{#hostOS=process[a127_0x374360(0xf1)];#httpPath=null;#binaryName=a127_0x374360(0x11c);#orderedPaths=[path[a127_0x374360(0xec)](this.#homedir(),'.browserstack'),process['cwd'](),os[a127_0x374360(0x147)]()];constructor(){const _0x5d0d2c=a127_0x374360,_0x3121f5={};_0x3121f5[_0x5d0d2c(0x10a)]=_0x5d0d2c(0xcc),_0x3121f5['dJVed']=function(_0x23f60c,_0x1d62c2){return _0x23f60c+_0x1d62c2;},_0x3121f5[_0x5d0d2c(0xde)]=_0x5d0d2c(0xf7),_0x3121f5[_0x5d0d2c(0x149)]=function(_0x17607e,_0x882aa2){return _0x17607e+_0x882aa2;},_0x3121f5['fgHYO']=_0x5d0d2c(0xd0),_0x3121f5[_0x5d0d2c(0xc8)]=_0x5d0d2c(0x126),_0x3121f5[_0x5d0d2c(0x115)]=function(_0x10b0e0,_0x3ecb2e){return _0x10b0e0+_0x3ecb2e;},_0x3121f5['Ozhuv']='/percy-linux.zip';const _0x183eda=_0x3121f5,_0x3ef859=_0x183eda['Jzvjv'];if(this.#hostOS[_0x5d0d2c(0xc9)](/darwin|mac os/i))this.#httpPath=_0x183eda[_0x5d0d2c(0x103)](_0x3ef859,_0x183eda[_0x5d0d2c(0xde)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x183eda[_0x5d0d2c(0x149)](_0x3ef859,_0x183eda[_0x5d0d2c(0x123)]),this.#binaryName=_0x183eda[_0x5d0d2c(0xc8)]):this.#httpPath=_0x183eda['saYwP'](_0x3ef859,_0x183eda[_0x5d0d2c(0xbf)]);}#getAvailableDirs(){const _0x57696f=a127_0x374360,_0x470c38={};_0x470c38[_0x57696f(0xf5)]=function(_0x3060ae,_0x3e0c5f){return _0x3060ae<_0x3e0c5f;},_0x470c38[_0x57696f(0xd6)]=_0x57696f(0xd7);const _0x16caa1=_0x470c38;for(var _0x5ed003=0x0;_0x16caa1[_0x57696f(0xf5)](_0x5ed003,this.#orderedPaths[_0x57696f(0xf0)]);_0x5ed003++){var _0x51e7be=this.#orderedPaths[_0x5ed003];if(this.#makePath(_0x51e7be))return _0x51e7be;}throw new Error(_0x16caa1[_0x57696f(0xd6)]);}#makePath(_0xc69243){const _0x191088=a127_0x374360;try{return _0xc69243&&!this.#checkPath(_0xc69243)&&fs[_0x191088(0x10b)](_0xc69243),!![];}catch{return![];}}#checkPath(_0x1b4c03,_0x1cc915){const _0x444e68=a127_0x374360,_0x52dc80={};_0x52dc80[_0x444e68(0x107)]=function(_0x1a92a9,_0x37fba6){return _0x1a92a9|_0x37fba6;},_0x52dc80[_0x444e68(0xd4)]=function(_0xa8b931,_0x5ac55f){return _0xa8b931!==_0x5ac55f;},_0x52dc80[_0x444e68(0xc3)]=_0x444e68(0xe2);const _0x3d04cd=_0x52dc80;_0x1cc915=_0x1cc915||_0x3d04cd[_0x444e68(0x107)](fs['R_OK'],fs[_0x444e68(0xfe)]);try{return fs[_0x444e68(0xeb)](_0x1b4c03,_0x1cc915),!![];}catch(_0x523b6e){if(_0x3d04cd[_0x444e68(0xd4)](typeof fs[_0x444e68(0xeb)],_0x3d04cd[_0x444e68(0xc3)]))return![];try{return fs[_0x444e68(0xe5)](_0x1b4c03),!![];}catch(_0x362ca5){return![];}}}#getETagPath(_0x3cd894){const _0x1ca848=a127_0x374360;return path[_0x1ca848(0xec)](_0x3cd894,this.#binaryName+_0x1ca848(0xe6));}#loadETag(_0x56b3bc){const _0x7a1a62=a127_0x374360,_0x37567d={};_0x37567d[_0x7a1a62(0x12a)]=_0x7a1a62(0x146);const _0x31221f=_0x37567d,_0x8d3e11=this.#getETagPath(_0x56b3bc);if(this.#checkPath(_0x8d3e11))try{return fs[_0x7a1a62(0xf6)](_0x8d3e11,_0x31221f[_0x7a1a62(0x12a)])['trim']();}catch(_0x4d1c58){logger[_0x7a1a62(0xf8)](_0x7a1a62(0xca)+_0x4d1c58);}return null;}#saveETag(_0x1cfbd9,_0x40f030){const _0x186f5a=a127_0x374360,_0x40a680={};_0x40a680[_0x186f5a(0x10c)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x561351=_0x40a680;if(!_0x40f030)return;try{const _0x5be421=this.#getETagPath(_0x1cfbd9);fs[_0x186f5a(0xed)](_0x5be421,_0x40f030),logger[_0x186f5a(0xbb)](_0x561351[_0x186f5a(0x10c)]);}catch(_0x3f138a){logger[_0x186f5a(0xf8)](_0x186f5a(0x122)+_0x3f138a);}}async #handleBinaryDownload(_0x51e0e6,_0x123698,_0x4127fd){const _0x398814=a127_0x374360,_0x58a067={};_0x58a067[_0x398814(0x112)]=_0x398814(0xc7);const _0x25c2a7=_0x58a067,_0x1618cd=await this[_0x398814(0x128)](_0x51e0e6[_0x398814(0x12b)]);if(!_0x1618cd){logger[_0x398814(0x101)](_0x25c2a7[_0x398814(0x112)]);const _0x29b7eb=await this[_0x398814(0x13a)](_0x123698,_0x4127fd);return _0x29b7eb[_0x398814(0x12b)];}return _0x51e0e6[_0x398814(0x12b)];}async['getBinaryPath'](_0x202905){const _0x2bbbfc=a127_0x374360,_0x1d2632={};_0x1d2632[_0x2bbbfc(0x14f)]=_0x2bbbfc(0x14e),_0x1d2632['XFFBi']=_0x2bbbfc(0x132);const _0x29126a=_0x1d2632,_0x46484b=this.#getAvailableDirs(),_0x3a23cc=path[_0x2bbbfc(0xec)](_0x46484b,this.#binaryName);if(this.#checkPath(_0x3a23cc,fs[_0x2bbbfc(0x111)])){const _0x35d472=this.#loadETag(_0x46484b);if(_0x35d472)try{const _0x329f05=await this[_0x2bbbfc(0x13a)](_0x202905,_0x46484b,_0x35d472);if(!_0x329f05[_0x2bbbfc(0xcd)])return logger['debug'](_0x29126a[_0x2bbbfc(0x14f)]),_0x3a23cc;return logger['debug'](_0x29126a[_0x2bbbfc(0x139)]),await this.#handleBinaryDownload(_0x329f05,_0x202905,_0x46484b);}catch(_0x1486b6){return logger[_0x2bbbfc(0xf8)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x1486b6),_0x3a23cc;}}const _0xae3d12=await this[_0x2bbbfc(0x13a)](_0x202905,_0x46484b);return await this.#handleBinaryDownload(_0xae3d12,_0x202905,_0x46484b);}[a127_0x374360(0x13a)](_0x372791,_0x4f3094,_0x441759=null){const _0x29d060=a127_0x374360,_0x4cbfe5={'IdGhd':function(_0x24e42f,_0x5a1723){return _0x24e42f(_0x5a1723);},'SfiqL':function(_0x1b29d0,_0x197b4e){return _0x1b29d0===_0x197b4e;},'jeICU':_0x29d060(0x101),'MnFEC':_0x29d060(0x135),'fFyyB':function(_0x37ee1a,_0x212700){return _0x37ee1a+_0x212700;},'XGMOn':_0x29d060(0xd3)};_0x4f3094&&!this.#checkPath(_0x4f3094)&&fs[_0x29d060(0x10b)](_0x4f3094);const _0x1ea842=this.#binaryName,_0x28d8dd=path[_0x29d060(0xec)](_0x4f3094,_0x4cbfe5[_0x29d060(0xbd)](_0x1ea842,_0x4cbfe5[_0x29d060(0x14c)])),_0x180531=fs[_0x29d060(0x14b)](_0x28d8dd),_0x440519=url[_0x29d060(0xee)](this.#httpPath);if(_0x372791[_0x29d060(0xe7)]&&_0x372791[_0x29d060(0xbe)]){const _0x40dc22={};_0x40dc22[_0x29d060(0x14d)]=_0x372791[_0x29d060(0xe7)],_0x40dc22[_0x29d060(0x141)]=_0x372791['proxyPort'],_0x440519['agent']=new HttpsProxyAgent(_0x40dc22);}if(_0x372791[_0x29d060(0x114)])try{_0x440519['ca']=fs['readFileSync'](_0x372791[_0x29d060(0x114)]);}catch(_0x400066){logger[_0x29d060(0x101)](_0x29d060(0xd5)+_0x400066);}if(_0x441759){const _0x37ac39={};_0x37ac39[_0x29d060(0x106)]=_0x441759,_0x37ac39[_0x29d060(0x13b)]=_0x4cbfe5[_0x29d060(0x113)],_0x440519[_0x29d060(0xd1)]=_0x37ac39;}else{const _0x51c8c1={};_0x51c8c1[_0x29d060(0x13b)]=_0x4cbfe5['MnFEC'],_0x440519['headers']=_0x51c8c1;}return new Promise((_0x442461,_0x2b9d1c)=>{const _0x457b74=_0x29d060,_0x2e2f23={'biBca':function(_0x4784b4,_0x17ec40){const _0x4a2917=a127_0x189d;return _0x4cbfe5[_0x4a2917(0x120)](_0x4784b4,_0x17ec40);},'nSByX':function(_0x10f67e,_0x209eb2){const _0x5b2634=a127_0x189d;return _0x4cbfe5[_0x5b2634(0x12d)](_0x10f67e,_0x209eb2);},'onZMK':_0x4cbfe5[_0x457b74(0x118)],'neZlx':_0x4cbfe5[_0x457b74(0x113)]};https[_0x457b74(0xd2)](_0x440519,_0x2c10e2=>{const _0x3bc8fe=_0x457b74,_0x4ccced={'hMBNQ':function(_0x5a1724,_0x33a7c4){const _0x5d1c55=a127_0x189d;return _0x2e2f23[_0x5d1c55(0xfa)](_0x5a1724,_0x33a7c4);}};if(_0x441759&&_0x2e2f23[_0x3bc8fe(0x104)](_0x2c10e2[_0x3bc8fe(0x138)],0x130)){_0x180531[_0x3bc8fe(0xc4)]();const _0x15c643={};_0x15c643[_0x3bc8fe(0xcd)]=![],_0x2e2f23[_0x3bc8fe(0xfa)](_0x442461,_0x15c643);return;}const _0x12966d=_0x2c10e2[_0x3bc8fe(0xd1)][_0x3bc8fe(0xdc)];_0x12966d&&this.#saveETag(_0x4f3094,_0x12966d),_0x2c10e2[_0x3bc8fe(0xff)](_0x180531),_0x2c10e2['on'](_0x2e2f23['onZMK'],function(_0x1df971){const _0xae73c0=_0x3bc8fe;logger[_0xae73c0(0x101)]('Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20'+_0x1df971),_0x4ccced[_0xae73c0(0x145)](_0x2b9d1c,_0x1df971);}),_0x180531['on'](_0x2e2f23[_0x3bc8fe(0x11a)],function(_0x148f81){const _0x2e61ce=_0x3bc8fe;logger[_0x2e61ce(0x101)](_0x2e61ce(0xdb)+_0x148f81),_0x2e2f23[_0x2e61ce(0xfa)](_0x2b9d1c,_0x148f81);}),_0x180531['on'](_0x2e2f23[_0x3bc8fe(0x148)],()=>{const _0x4afeaf=_0x3bc8fe;this['extractAndSaveBinary'](_0x28d8dd,_0x4f3094)[_0x4afeaf(0x11b)](_0xf631f1=>_0x442461({'needsUpdate':!![],'binaryPath':_0xf631f1}))[_0x4afeaf(0xb8)](_0x2b9d1c);});})['on'](_0x4cbfe5['jeICU'],function(_0xbf3946){const _0x448e26=_0x457b74;logger['error'](_0x448e26(0x13e)+_0xbf3946),_0x2e2f23['biBca'](_0x2b9d1c,_0xbf3946);});});}['extractAndSaveBinary'](_0x303415,_0x4b487b){const _0x35143a=a127_0x374360,_0x4eedfc={'slgiJ':function(_0x3be1c9,_0x2088a8){return _0x3be1c9===_0x2088a8;},'dTaDG':function(_0x3f9e5a,_0x815ecd){return _0x3f9e5a(_0x815ecd);},'fJnHV':function(_0x5b988a,_0x1c83c2){return _0x5b988a(_0x1c83c2);},'eQXgO':'end','AObHp':function(_0x2ffda0,_0x3ba6d0){return _0x2ffda0(_0x3ba6d0);},'FUcpd':'0755','ExshL':function(_0x341db6,_0x4d381c){return _0x341db6(_0x4d381c);},'QJZko':_0x35143a(0xb7),'fJzVL':_0x35143a(0x101)},_0x255332=this.#binaryName,_0x33bf65=path[_0x35143a(0xec)](_0x4b487b,_0x255332);return new Promise((_0x30719a,_0x1ea56f)=>{const _0x535036=_0x35143a,_0x1f6562={'JnbdT':function(_0x1f6a2d,_0x43774c){const _0x2a46f6=a127_0x189d;return _0x4eedfc[_0x2a46f6(0x10d)](_0x1f6a2d,_0x43774c);},'NVNcx':function(_0x3c7742,_0x1fd480){return _0x4eedfc['dTaDG'](_0x3c7742,_0x1fd480);},'hRUsC':function(_0x4951af,_0x397be6){const _0x46c6ec=a127_0x189d;return _0x4eedfc[_0x46c6ec(0xc5)](_0x4951af,_0x397be6);},'lcZpj':_0x4eedfc[_0x535036(0x151)],'QEwUt':function(_0x22d287,_0x38692b){const _0x27b2b5=_0x535036;return _0x4eedfc[_0x27b2b5(0xbc)](_0x22d287,_0x38692b);},'ocVgn':_0x4eedfc[_0x535036(0x134)],'pjizr':function(_0x10d5d1,_0x556a34){const _0x5b10a0=_0x535036;return _0x4eedfc[_0x5b10a0(0xda)](_0x10d5d1,_0x556a34);},'Zopps':_0x4eedfc[_0x535036(0xfb)],'nEpkE':_0x4eedfc[_0x535036(0xfd)]},_0x3f708f={};_0x3f708f['lazyEntries']=!![],yauzl[_0x535036(0x136)](_0x303415,_0x3f708f,function(_0x16af96,_0x31ed5b){const _0x2a4990=_0x535036,_0x39c51a={'iTlEa':function(_0x204392,_0x3fa707){return _0x1f6562['hRUsC'](_0x204392,_0x3fa707);},'ovEBZ':_0x1f6562[_0x2a4990(0x10f)],'yNNHZ':function(_0x265200,_0xb9eb1f){const _0xfd9d14=_0x2a4990;return _0x1f6562[_0xfd9d14(0xe3)](_0x265200,_0xb9eb1f);},'uOLDs':function(_0x3118a7,_0x43a568){const _0x2d0e0b=_0x2a4990;return _0x1f6562[_0x2d0e0b(0xe3)](_0x3118a7,_0x43a568);},'omAVb':_0x1f6562[_0x2a4990(0x14a)]};_0x16af96&&_0x1f6562['pjizr'](_0x1ea56f,_0x16af96),_0x31ed5b['readEntry'](),_0x31ed5b['on'](_0x1f6562[_0x2a4990(0xc0)],_0xb88a12=>{const _0x549bce=_0x2a4990;if(/\/$/[_0x549bce(0x127)](_0xb88a12['fileName']))_0x31ed5b['readEntry']();else{const _0x2f61c9=fs[_0x549bce(0x14b)](path[_0x549bce(0xec)](_0x4b487b,_0xb88a12[_0x549bce(0x109)]));_0x31ed5b[_0x549bce(0xdf)](_0xb88a12,function(_0x1b17ad,_0x21f097){const _0x12679d=_0x549bce;_0x1b17ad&&_0x39c51a[_0x12679d(0x110)](_0x1ea56f,_0x16af96),_0x21f097['on'](_0x39c51a[_0x12679d(0x137)],function(){const _0x140641=_0x12679d;_0x2f61c9['close'](),_0x31ed5b[_0x140641(0x129)]();}),_0x21f097[_0x12679d(0xff)](_0x2f61c9);}),_0x1f6562[_0x549bce(0x12f)](_0xb88a12[_0x549bce(0x109)],_0x255332)&&_0x31ed5b[_0x549bce(0x135)]();}}),_0x31ed5b['on'](_0x1f6562['nEpkE'],_0x5eee67=>{const _0x387ce2=_0x2a4990;_0x1f6562[_0x387ce2(0xea)](_0x1ea56f,_0x5eee67);}),_0x31ed5b['once'](_0x1f6562[_0x2a4990(0x10f)],()=>{const _0x294601=_0x2a4990;fs['chmod'](_0x33bf65,_0x39c51a[_0x294601(0xf3)],function(_0x3e0c0e){const _0x300934=_0x294601;_0x3e0c0e&&_0x39c51a[_0x300934(0xe8)](_0x1ea56f,_0x3e0c0e),_0x39c51a[_0x300934(0x121)](_0x30719a,_0x33bf65);}),_0x31ed5b[_0x294601(0x135)]();});});});}async[a127_0x374360(0x128)](_0x5f1f39){const _0x48ce04=a127_0x374360,_0x1357ad={'amBVu':function(_0x696caa,_0x3634c5){return _0x696caa(_0x3634c5);},'OmSFl':function(_0x3e91a9,_0x200850){return _0x3e91a9(_0x200850);},'QMfov':function(_0x141a63,_0x1165fa,_0x102c96,_0x101711){return _0x141a63(_0x1165fa,_0x102c96,_0x101711);},'TMIBD':_0x48ce04(0xd9),'plZCU':'data','Wslje':_0x48ce04(0x135)},_0x5e41e7=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x58621c,_0x54e814)=>{const _0x12733e=_0x48ce04,_0x4e533f={};_0x4e533f[_0x12733e(0x130)]=process[_0x12733e(0x130)];const _0x480e26=_0x1357ad[_0x12733e(0xe4)](spawn,_0x5f1f39,[_0x1357ad[_0x12733e(0xc2)]],_0x4e533f);_0x480e26[_0x12733e(0xe0)]['on'](_0x1357ad[_0x12733e(0xe9)],_0x48a5c2=>{const _0xef30e8=_0x12733e;_0x5e41e7[_0xef30e8(0x127)](_0x48a5c2)&&_0x1357ad[_0xef30e8(0x13f)](_0x58621c,!![]);}),_0x480e26['on'](_0x1357ad[_0x12733e(0x150)],()=>{const _0x5cb3b2=_0x12733e;_0x1357ad[_0x5cb3b2(0x12e)](_0x58621c,![]);});});}#homedir(){const _0x7e604b=a127_0x374360,_0x49908e={};_0x49908e['amHNv']=function(_0x11ba3c,_0x1b158a){return _0x11ba3c===_0x1b158a;},_0x49908e['VwuON']=_0x7e604b(0x108),_0x49908e[_0x7e604b(0x119)]=_0x7e604b(0xce),_0x49908e[_0x7e604b(0xc1)]=function(_0x2d27fd,_0x143349){return _0x2d27fd+_0x143349;},_0x49908e[_0x7e604b(0x140)]=function(_0xd0bf9d,_0x553607){return _0xd0bf9d===_0x553607;},_0x49908e[_0x7e604b(0x12c)]=_0x7e604b(0xcf),_0x49908e[_0x7e604b(0xdd)]=_0x7e604b(0x10e),_0x49908e[_0x7e604b(0x152)]=_0x7e604b(0x11e),_0x49908e['lLAiF']=function(_0x3b5340,_0x49b810){return _0x3b5340===_0x49b810;},_0x49908e[_0x7e604b(0xc6)]='/root',_0x49908e[_0x7e604b(0x131)]=_0x7e604b(0x13c),_0x49908e[_0x7e604b(0xf2)]=function(_0xd3864,_0x1b1bd5){return _0xd3864||_0x1b1bd5;};const _0x3e3ba4=_0x49908e;if(_0x3e3ba4[_0x7e604b(0x105)](typeof os['homedir'],_0x3e3ba4['VwuON']))return os['homedir']();const _0x28879c=process[_0x7e604b(0x130)],_0x610006=_0x28879c[_0x7e604b(0xba)],_0x4ef960=_0x28879c[_0x7e604b(0x100)]||_0x28879c[_0x7e604b(0xf4)]||_0x28879c['LNAME']||_0x28879c[_0x7e604b(0x102)];if(_0x3e3ba4['amHNv'](process['platform'],_0x3e3ba4['LeNHU']))return _0x28879c[_0x7e604b(0xf9)]||_0x3e3ba4['eJEOt'](_0x28879c[_0x7e604b(0x133)],_0x28879c[_0x7e604b(0xe1)])||_0x610006||null;if(_0x3e3ba4[_0x7e604b(0x140)](process[_0x7e604b(0xf1)],_0x3e3ba4[_0x7e604b(0x12c)]))return _0x610006||(_0x4ef960?_0x3e3ba4[_0x7e604b(0xc1)](_0x3e3ba4[_0x7e604b(0xdd)],_0x4ef960):null);if(_0x3e3ba4[_0x7e604b(0x105)](process[_0x7e604b(0xf1)],_0x3e3ba4['fxHOe']))return _0x610006||(_0x3e3ba4[_0x7e604b(0x124)](process[_0x7e604b(0x144)](),0x0)?_0x3e3ba4['yrXOt']:_0x4ef960?_0x3e3ba4[_0x7e604b(0xc1)](_0x3e3ba4[_0x7e604b(0x131)],_0x4ef960):null);return _0x3e3ba4['AelWr'](_0x610006,null);}}function a127_0x189d(_0x2a8992,_0x9cfe16){const _0x654658=a127_0x6546();return a127_0x189d=function(_0x189da3,_0x316da2){_0x189da3=_0x189da3-0xb7;let _0x1a1342=_0x654658[_0x189da3];return _0x1a1342;},a127_0x189d(_0x2a8992,_0x9cfe16);}function a127_0x6546(){const _0x561173=['eQXgO','fxHOe','entry','catch','1882412zowYRC','HOME','debug','AObHp','fFyyB','proxyPort','Ozhuv','Zopps','eJEOt','TMIBD','WbRMj','destroy','fJnHV','yrXOt','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','hBMzK','match','Failed\x20to\x20read\x20ETag\x20file:\x20','4855333lBLUgG','https://github.com/percy/cli/releases/latest/download','needsUpdate','win32','darwin','/percy-win.zip','headers','get','.zip','pWPIm','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','SjaDk','Error\x20trying\x20to\x20download\x20percy\x20binary','winstonLogger','--version','ExshL','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','etag','gAyWo','MaGKO','openReadStream','stdout','HOMEPATH','undefined','QEwUt','QMfov','statSync','.etag','proxyHost','yNNHZ','plZCU','NVNcx','accessSync','join','writeFileSync','parse','follow-redirects','length','platform','AelWr','omAVb','USER','Uaaxu','readFileSync','/percy-osx.zip','warn','USERPROFILE','biBca','QJZko','1427000TjBgCi','fJzVL','W_OK','pipe','LOGNAME','error','USERNAME','dJVed','nSByX','amHNv','If-None-Match','szZzl','function','fileName','Jzvjv','mkdirSync','nVfQS','slgiJ','/Users/','lcZpj','iTlEa','X_OK','aSnfs','MnFEC','useCaCertificate','saYwP','3226200mvpnoq','child_process','jeICU','LeNHU','onZMK','then','percy','url','linux','yauzl','IdGhd','uOLDs','Failed\x20to\x20save\x20ETag\x20file:\x20','fgHYO','lLAiF','2210035nwzvtJ','percy.exe','test','validateBinary','readEntry','DMqmM','binaryPath','AwMEa','SfiqL','OmSFl','JnbdT','env','ssZap','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','HOMEDRIVE','FUcpd','close','open','ovEBZ','statusCode','XFFBi','download','Connection','/home/','927280znbgAs','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','amBVu','iIzuB','port','6ZKcHuR','164224qlIeIc','getuid','hMBNQ','utf8','tmpdir','neZlx','dVKzI','ocVgn','createWriteStream','XGMOn','host','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','SGIwc','Wslje'];a127_0x6546=function(){return _0x561173;};return a127_0x6546();}module['exports']=PercyBinary;
|
|
1
|
+
function a127_0xcbfa(){const _0x1412a0=['unUGQ','W_OK','percy','winstonLogger','USERNAME','dPspP','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','rkdMb','sBxoM','proxyHost','LNAME','Sddww','31182wzFLSY','utf8','OVCtK','Saved\x20new\x20ETag\x20for\x20percy\x20binary','R_OK','USERPROFILE','FEbFn','hlDwY','eXUUU','whQRh','0755','chmod','cwd','createWriteStream','qnuKm','iQyzg','getuid','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','parse','OAxaU','PbSvr','fxDVW','debug','xLVIA','4557688ZKbUef','xbdso','darwin','/home/','BIhbp','../logger','match','catch','test','Connection','length','proxyPort','jNdPm','/root','pgKgY','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','btyeE','open','evsSL','RKRks','XJOxP','/Users/','--version','xfouo','child_process','BEmSA','env','useCaCertificate','/percy-win.zip','destroy','tmzNQ','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','https://github.com/percy/cli/releases/latest/download','https-proxy-agent','UOtZh','url','warn','henHe','writeFileSync','platform','cvYZG','mkKOB','yFgBp','yJUCw','.zip','HOME','kyhsM','percy.exe','end','USER','validateBinary','llPDU','UlTne','undefined','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','2351110IHOzKj','pipe','72oqnLSi','tfDwZ','WQxnI','close','yauzl','1038942wJpoZy','If-None-Match','openReadStream','Mxeuh','244526PhABKD','HOMEPATH','homedir','error','EdVZa','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','PJRzc','KBkYn','.browserstack','379237rtAfwy','dzKpp','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','iaSQd','win32','FegvF','headers','readEntry','trim','Error\x20trying\x20to\x20download\x20percy\x20binary','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','tmpdir','vUdky','join','extractAndSaveBinary','readFileSync','eTuhZ','mkdirSync','.etag','UchNJ','download','get','port','binaryPath','hGyNO','yGnNN','/percy-osx.zip','XZMmL','once','SUGRG','fileName','statSync','function','7URJRkw','2528260YIgwpg','sAaYi','UeNRy','9nNeqUh','etag','accessSync','Failed\x20to\x20read\x20ETag\x20file:\x20'];a127_0xcbfa=function(){return _0x1412a0;};return a127_0xcbfa();}const a127_0x1c6f06=a127_0x7164;function a127_0x7164(_0x360405,_0x26d6bc){const _0xcbfa97=a127_0xcbfa();return a127_0x7164=function(_0x71643c,_0x38d1d0){_0x71643c=_0x71643c-0x1d6;let _0x56f9c8=_0xcbfa97[_0x71643c];return _0x56f9c8;},a127_0x7164(_0x360405,_0x26d6bc);}(function(_0x56b663,_0x1b30c2){const _0x3926a8=a127_0x7164,_0x3b9f4d=_0x56b663();while(!![]){try{const _0x454151=-parseInt(_0x3926a8(0x1dd))/0x1+parseInt(_0x3926a8(0x26c))/0x2+parseInt(_0x3926a8(0x212))/0x3*(parseInt(_0x3926a8(0x263))/0x4)+-parseInt(_0x3926a8(0x261))/0x5+parseInt(_0x3926a8(0x268))/0x6+parseInt(_0x3926a8(0x1fe))/0x7*(parseInt(_0x3926a8(0x22a))/0x8)+-parseInt(_0x3926a8(0x202))/0x9*(-parseInt(_0x3926a8(0x1ff))/0xa);if(_0x454151===_0x1b30c2)break;else _0x3b9f4d['push'](_0x3b9f4d['shift']());}catch(_0x410b70){_0x3b9f4d['push'](_0x3b9f4d['shift']());}}}(a127_0xcbfa,0x6f3a6));const {https}=require('follow-redirects'),url=require(a127_0x1c6f06(0x24d)),yauzl=require(a127_0x1c6f06(0x267)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a127_0x1c6f06(0x242)),HttpsProxyAgent=require(a127_0x1c6f06(0x24b)),logger=require(a127_0x1c6f06(0x22f))[a127_0x1c6f06(0x209)];class PercyBinary{#hostOS=process[a127_0x1c6f06(0x251)];#httpPath=null;#binaryName=a127_0x1c6f06(0x208);#orderedPaths=[path['join'](this.#homedir(),a127_0x1c6f06(0x1dc)),process[a127_0x1c6f06(0x21e)](),os[a127_0x1c6f06(0x1e8)]()];constructor(){const _0x55fca5=a127_0x1c6f06,_0x4e0c00={};_0x4e0c00[_0x55fca5(0x201)]=_0x55fca5(0x24a),_0x4e0c00['RKRks']=function(_0x4c677b,_0x477f7a){return _0x4c677b+_0x477f7a;},_0x4e0c00[_0x55fca5(0x258)]=_0x55fca5(0x1f7),_0x4e0c00['ldTyI']=_0x55fca5(0x246),_0x4e0c00[_0x55fca5(0x243)]=_0x55fca5(0x259),_0x4e0c00[_0x55fca5(0x221)]=function(_0x567772,_0x438fd2){return _0x567772+_0x438fd2;},_0x4e0c00[_0x55fca5(0x265)]='/percy-linux.zip';const _0x5dd8b1=_0x4e0c00,_0x2b4461=_0x5dd8b1[_0x55fca5(0x201)];if(this.#hostOS[_0x55fca5(0x230)](/darwin|mac os/i))this.#httpPath=_0x5dd8b1['RKRks'](_0x2b4461,_0x5dd8b1[_0x55fca5(0x258)]);else this.#hostOS[_0x55fca5(0x230)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x5dd8b1[_0x55fca5(0x23d)](_0x2b4461,_0x5dd8b1['ldTyI']),this.#binaryName=_0x5dd8b1['BEmSA']):this.#httpPath=_0x5dd8b1[_0x55fca5(0x221)](_0x2b4461,_0x5dd8b1[_0x55fca5(0x265)]);}#getAvailableDirs(){const _0x173165=a127_0x1c6f06,_0x58e244={};_0x58e244[_0x173165(0x241)]=function(_0x12076e,_0x1d5dde){return _0x12076e<_0x1d5dde;},_0x58e244['unUGQ']=_0x173165(0x1e6);const _0x1a31cc=_0x58e244;for(var _0x3f59f3=0x0;_0x1a31cc[_0x173165(0x241)](_0x3f59f3,this.#orderedPaths[_0x173165(0x234)]);_0x3f59f3++){var _0x2bf999=this.#orderedPaths[_0x3f59f3];if(this.#makePath(_0x2bf999))return _0x2bf999;}throw new Error(_0x1a31cc[_0x173165(0x206)]);}#makePath(_0x1d8790){const _0x376cbb=a127_0x1c6f06;try{return _0x1d8790&&!this.#checkPath(_0x1d8790)&&fs[_0x376cbb(0x1ee)](_0x1d8790),!![];}catch{return![];}}#checkPath(_0x5ba71a,_0xa0770f){const _0x2ea032=a127_0x1c6f06,_0x4c3461={};_0x4c3461[_0x2ea032(0x1e0)]=function(_0x78df34,_0x2b106d){return _0x78df34|_0x2b106d;},_0x4c3461[_0x2ea032(0x20b)]=function(_0x862839,_0x1cf29c){return _0x862839!==_0x1cf29c;},_0x4c3461[_0x2ea032(0x1e2)]=_0x2ea032(0x25f);const _0x1428f=_0x4c3461;_0xa0770f=_0xa0770f||_0x1428f[_0x2ea032(0x1e0)](fs[_0x2ea032(0x216)],fs[_0x2ea032(0x207)]);try{return fs['accessSync'](_0x5ba71a,_0xa0770f),!![];}catch(_0x1cf317){if(_0x1428f[_0x2ea032(0x20b)](typeof fs[_0x2ea032(0x204)],_0x1428f[_0x2ea032(0x1e2)]))return![];try{return fs[_0x2ea032(0x1fc)](_0x5ba71a),!![];}catch(_0x5f584c){return![];}}}#getETagPath(_0x53bdb1){const _0x7e960f=a127_0x1c6f06;return path[_0x7e960f(0x1ea)](_0x53bdb1,this.#binaryName+_0x7e960f(0x1ef));}#loadETag(_0x150b65){const _0x5d9185=a127_0x1c6f06,_0x46176c={};_0x46176c[_0x5d9185(0x1de)]=_0x5d9185(0x213);const _0x1642ff=_0x46176c,_0x1666fb=this.#getETagPath(_0x150b65);if(this.#checkPath(_0x1666fb))try{return fs[_0x5d9185(0x1ec)](_0x1666fb,_0x1642ff['dzKpp'])[_0x5d9185(0x1e5)]();}catch(_0x39afcf){logger[_0x5d9185(0x24e)](_0x5d9185(0x205)+_0x39afcf);}return null;}#saveETag(_0xda0624,_0x37e542){const _0x144be4=a127_0x1c6f06,_0x4acb09={};_0x4acb09[_0x144be4(0x1db)]=_0x144be4(0x215);const _0x3086a2=_0x4acb09;if(!_0x37e542)return;try{const _0x1fee00=this.#getETagPath(_0xda0624);fs[_0x144be4(0x250)](_0x1fee00,_0x37e542),logger[_0x144be4(0x228)](_0x3086a2[_0x144be4(0x1db)]);}catch(_0x316903){logger[_0x144be4(0x24e)]('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x316903);}}async #handleBinaryDownload(_0x34f97c,_0x2953bf,_0x45e130){const _0x414039=a127_0x1c6f06,_0x1dd007={};_0x1dd007[_0x414039(0x23e)]=_0x414039(0x239);const _0x14d2ae=_0x1dd007,_0x3461c6=await this[_0x414039(0x25c)](_0x34f97c[_0x414039(0x1f4)]);if(!_0x3461c6){logger[_0x414039(0x1d7)](_0x14d2ae[_0x414039(0x23e)]);const _0x3f0b8b=await this[_0x414039(0x1f1)](_0x2953bf,_0x45e130);return _0x3f0b8b['binaryPath'];}return _0x34f97c[_0x414039(0x1f4)];}async['getBinaryPath'](_0xf330b){const _0x78960d=a127_0x1c6f06,_0x2c76cc={};_0x2c76cc[_0x78960d(0x229)]=_0x78960d(0x249),_0x2c76cc['Sddww']=_0x78960d(0x1e7);const _0xc32afd=_0x2c76cc,_0xd43a47=this.#getAvailableDirs(),_0x5220e3=path[_0x78960d(0x1ea)](_0xd43a47,this.#binaryName);if(this.#checkPath(_0x5220e3,fs['X_OK'])){const _0x392dba=this.#loadETag(_0xd43a47);if(_0x392dba)try{const _0x2a5f66=await this[_0x78960d(0x1f1)](_0xf330b,_0xd43a47,_0x392dba);if(!_0x2a5f66['needsUpdate'])return logger[_0x78960d(0x228)](_0xc32afd[_0x78960d(0x229)]),_0x5220e3;return logger['debug'](_0xc32afd[_0x78960d(0x211)]),await this.#handleBinaryDownload(_0x2a5f66,_0xf330b,_0xd43a47);}catch(_0x5166f7){return logger[_0x78960d(0x24e)](_0x78960d(0x20c)+_0x5166f7),_0x5220e3;}}const _0x574302=await this[_0x78960d(0x1f1)](_0xf330b,_0xd43a47);return await this.#handleBinaryDownload(_0x574302,_0xf330b,_0xd43a47);}[a127_0x1c6f06(0x1f1)](_0x43ec32,_0x588b0f,_0x14fbb8=null){const _0x198b50=a127_0x1c6f06,_0x2e2cc6={'RhJPW':function(_0x3b0d5e,_0x306fc4){return _0x3b0d5e(_0x306fc4);},'WwkFG':function(_0x1afe57,_0x1ee0ff){return _0x1afe57(_0x1ee0ff);},'hGyNO':function(_0x4c6585,_0x396d0a){return _0x4c6585(_0x396d0a);},'Yutaz':function(_0x5d5322,_0x4615b8){return _0x5d5322===_0x4615b8;},'SUGRG':_0x198b50(0x1d7),'eTuhZ':_0x198b50(0x266),'jNdPm':function(_0x4822ae,_0x3c7161){return _0x4822ae+_0x3c7161;},'leJZW':_0x198b50(0x256)};_0x588b0f&&!this.#checkPath(_0x588b0f)&&fs[_0x198b50(0x1ee)](_0x588b0f);const _0x7e4efc=this.#binaryName,_0x4a195d=path[_0x198b50(0x1ea)](_0x588b0f,_0x2e2cc6[_0x198b50(0x236)](_0x7e4efc,_0x2e2cc6['leJZW'])),_0x5278aa=fs['createWriteStream'](_0x4a195d),_0x20f9e4=url[_0x198b50(0x224)](this.#httpPath);if(_0x43ec32['proxyHost']&&_0x43ec32[_0x198b50(0x235)]){const _0x4b4769={};_0x4b4769['host']=_0x43ec32[_0x198b50(0x20f)],_0x4b4769[_0x198b50(0x1f3)]=_0x43ec32[_0x198b50(0x235)],_0x20f9e4['agent']=new HttpsProxyAgent(_0x4b4769);}if(_0x43ec32[_0x198b50(0x245)])try{_0x20f9e4['ca']=fs[_0x198b50(0x1ec)](_0x43ec32[_0x198b50(0x245)]);}catch(_0x16909a){logger[_0x198b50(0x1d7)](_0x198b50(0x260)+_0x16909a);}if(_0x14fbb8){const _0x132687={};_0x132687[_0x198b50(0x269)]=_0x14fbb8,_0x132687[_0x198b50(0x233)]=_0x2e2cc6[_0x198b50(0x1ed)],_0x20f9e4[_0x198b50(0x1e3)]=_0x132687;}else{const _0xe5e4ef={};_0xe5e4ef[_0x198b50(0x233)]=_0x2e2cc6[_0x198b50(0x1ed)],_0x20f9e4[_0x198b50(0x1e3)]=_0xe5e4ef;}return new Promise((_0x4671e9,_0x29839a)=>{const _0x415911=_0x198b50,_0x17522b={'xbdso':function(_0x2f3998,_0x5e5693){return _0x2e2cc6['WwkFG'](_0x2f3998,_0x5e5693);},'PbSvr':function(_0x3b8b55,_0x2cc973){const _0x1ed80d=a127_0x7164;return _0x2e2cc6[_0x1ed80d(0x1f5)](_0x3b8b55,_0x2cc973);},'henHe':function(_0x2345de,_0x5aab1a){return _0x2e2cc6['Yutaz'](_0x2345de,_0x5aab1a);},'tmzNQ':_0x2e2cc6[_0x415911(0x1fa)],'evsSL':_0x2e2cc6[_0x415911(0x1ed)]};https[_0x415911(0x1f2)](_0x20f9e4,_0x4b5239=>{const _0x545b7b=_0x415911,_0x2c3229={'UOtZh':function(_0x9b0f9a,_0x332d2a){const _0x5c6fce=a127_0x7164;return _0x17522b[_0x5c6fce(0x226)](_0x9b0f9a,_0x332d2a);}};if(_0x14fbb8&&_0x17522b[_0x545b7b(0x24f)](_0x4b5239['statusCode'],0x130)){_0x5278aa[_0x545b7b(0x247)]();const _0x5dafd={};_0x5dafd['needsUpdate']=![],_0x17522b[_0x545b7b(0x226)](_0x4671e9,_0x5dafd);return;}const _0xe31f35=_0x4b5239[_0x545b7b(0x1e3)][_0x545b7b(0x203)];_0xe31f35&&this.#saveETag(_0x588b0f,_0xe31f35),_0x4b5239[_0x545b7b(0x262)](_0x5278aa),_0x4b5239['on'](_0x17522b[_0x545b7b(0x248)],function(_0x54d1bd){const _0x81a236=_0x545b7b;logger[_0x81a236(0x1d7)](_0x81a236(0x1df)+_0x54d1bd),_0x2c3229[_0x81a236(0x24c)](_0x29839a,_0x54d1bd);}),_0x5278aa['on'](_0x17522b['tmzNQ'],function(_0x250450){const _0x4a7f2f=_0x545b7b;logger[_0x4a7f2f(0x1d7)](_0x4a7f2f(0x223)+_0x250450),_0x17522b[_0x4a7f2f(0x22b)](_0x29839a,_0x250450);}),_0x5278aa['on'](_0x17522b[_0x545b7b(0x23c)],()=>{const _0x199e93=_0x545b7b;this[_0x199e93(0x1eb)](_0x4a195d,_0x588b0f)['then'](_0x10cfc7=>_0x4671e9({'needsUpdate':!![],'binaryPath':_0x10cfc7}))[_0x199e93(0x231)](_0x29839a);});})['on'](_0x2e2cc6[_0x415911(0x1fa)],function(_0x27fa7a){const _0x49a1ec=_0x415911;logger[_0x49a1ec(0x1d7)](_0x49a1ec(0x1d9)+_0x27fa7a),_0x2e2cc6['RhJPW'](_0x29839a,_0x27fa7a);});});}[a127_0x1c6f06(0x1eb)](_0x141181,_0x2ded02){const _0x443a95=a127_0x1c6f06,_0x2eb0e9={'BIhbp':function(_0x1dbdb9,_0x751e8a){return _0x1dbdb9(_0x751e8a);},'XZMmL':_0x443a95(0x21c),'cgmBj':_0x443a95(0x25a),'OVCtK':function(_0x1fbc46,_0x1cda51){return _0x1fbc46===_0x1cda51;},'fxDVW':'entry','YqWJD':'error'},_0x2176f7=this.#binaryName,_0x2f7467=path[_0x443a95(0x1ea)](_0x2ded02,_0x2176f7);return new Promise((_0x29b332,_0x56743a)=>{const _0x313655=_0x443a95,_0x42b3aa={'UchNJ':function(_0x5821e2,_0x597a6c){const _0x270a82=a127_0x7164;return _0x2eb0e9[_0x270a82(0x22e)](_0x5821e2,_0x597a6c);},'GxPQi':_0x2eb0e9[_0x313655(0x1f8)],'FSYKD':_0x2eb0e9['cgmBj'],'btyeE':function(_0x55e355,_0x245c13){const _0x395a40=_0x313655;return _0x2eb0e9[_0x395a40(0x214)](_0x55e355,_0x245c13);},'EdVZa':_0x2eb0e9[_0x313655(0x227)],'vUdky':_0x2eb0e9['YqWJD']},_0x34b2ca={};_0x34b2ca['lazyEntries']=!![],yauzl[_0x313655(0x23b)](_0x141181,_0x34b2ca,function(_0x22a7e0,_0xf2229b){const _0x1075fc=_0x313655,_0x46a447={'yFgBp':function(_0x10d60b,_0x1632c9){const _0x132d7c=a127_0x7164;return _0x42b3aa[_0x132d7c(0x1f0)](_0x10d60b,_0x1632c9);},'sAaYi':_0x42b3aa['FSYKD'],'rkdMb':function(_0x107c67,_0x5ccb32){const _0x221d32=a127_0x7164;return _0x42b3aa[_0x221d32(0x23a)](_0x107c67,_0x5ccb32);}};_0x22a7e0&&_0x42b3aa['UchNJ'](_0x56743a,_0x22a7e0),_0xf2229b[_0x1075fc(0x1e4)](),_0xf2229b['on'](_0x42b3aa[_0x1075fc(0x1d8)],_0x203b7d=>{const _0x20c57b=_0x1075fc;if(/\/$/[_0x20c57b(0x232)](_0x203b7d[_0x20c57b(0x1fb)]))_0xf2229b[_0x20c57b(0x1e4)]();else{const _0x8ad200=fs[_0x20c57b(0x21f)](path[_0x20c57b(0x1ea)](_0x2ded02,_0x203b7d['fileName']));_0xf2229b[_0x20c57b(0x26a)](_0x203b7d,function(_0x1e0d8a,_0x5c98c0){const _0x10c1bc=_0x20c57b;_0x1e0d8a&&_0x46a447[_0x10c1bc(0x254)](_0x56743a,_0x22a7e0),_0x5c98c0['on'](_0x46a447[_0x10c1bc(0x200)],function(){const _0xc99c06=_0x10c1bc;_0x8ad200[_0xc99c06(0x266)](),_0xf2229b[_0xc99c06(0x1e4)]();}),_0x5c98c0[_0x10c1bc(0x262)](_0x8ad200);}),_0x46a447[_0x20c57b(0x20d)](_0x203b7d[_0x20c57b(0x1fb)],_0x2176f7)&&_0xf2229b[_0x20c57b(0x266)]();}}),_0xf2229b['on'](_0x42b3aa[_0x1075fc(0x1e9)],_0x4d7541=>{const _0x2cf8ab=_0x1075fc;_0x42b3aa[_0x2cf8ab(0x1f0)](_0x56743a,_0x4d7541);}),_0xf2229b[_0x1075fc(0x1f9)](_0x42b3aa['FSYKD'],()=>{const _0x39ee81=_0x1075fc,_0x4d82ac={'FEbFn':function(_0x1b101d,_0x139873){return _0x42b3aa['UchNJ'](_0x1b101d,_0x139873);}};fs[_0x39ee81(0x21d)](_0x2f7467,_0x42b3aa['GxPQi'],function(_0x4b9767){const _0x457a32=_0x39ee81;_0x4b9767&&_0x4d82ac[_0x457a32(0x218)](_0x56743a,_0x4b9767),_0x4d82ac[_0x457a32(0x218)](_0x29b332,_0x2f7467);}),_0xf2229b['close']();});});});}async[a127_0x1c6f06(0x25c)](_0x416c28){const _0x30e92a=a127_0x1c6f06,_0x694306={'PJRzc':function(_0x1b288a,_0x41c815){return _0x1b288a(_0x41c815);},'yGnNN':function(_0x30b278,_0x513d35,_0x30165c,_0x1fffe6){return _0x30b278(_0x513d35,_0x30165c,_0x1fffe6);},'llPDU':_0x30e92a(0x240),'qnuKm':'data','eibAV':_0x30e92a(0x266)},_0x4820b5=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0xb536d3,_0x4f755b)=>{const _0x135707=_0x30e92a,_0x5e653e={'gdKuf':function(_0x929f1d,_0x44e628){return _0x694306['PJRzc'](_0x929f1d,_0x44e628);}},_0x49e371={};_0x49e371[_0x135707(0x244)]=process[_0x135707(0x244)];const _0x397e02=_0x694306[_0x135707(0x1f6)](spawn,_0x416c28,[_0x694306[_0x135707(0x25d)]],_0x49e371);_0x397e02['stdout']['on'](_0x694306[_0x135707(0x220)],_0x2ec9dd=>{const _0x194694=_0x135707;_0x4820b5[_0x194694(0x232)](_0x2ec9dd)&&_0x5e653e['gdKuf'](_0xb536d3,!![]);}),_0x397e02['on'](_0x694306['eibAV'],()=>{const _0x5876f1=_0x135707;_0x694306[_0x5876f1(0x1da)](_0xb536d3,![]);});});}#homedir(){const _0x5e0a9a=a127_0x1c6f06,_0x441df5={};_0x441df5['tfDwZ']=function(_0x89da24,_0x511ffa){return _0x89da24===_0x511ffa;},_0x441df5[_0x5e0a9a(0x219)]=_0x5e0a9a(0x1fd),_0x441df5[_0x5e0a9a(0x225)]=_0x5e0a9a(0x1e1),_0x441df5[_0x5e0a9a(0x25e)]=function(_0x5f0234,_0x123fed){return _0x5f0234+_0x123fed;},_0x441df5[_0x5e0a9a(0x253)]=_0x5e0a9a(0x22c),_0x441df5[_0x5e0a9a(0x21a)]=function(_0x4cd486,_0x30f223){return _0x4cd486+_0x30f223;},_0x441df5[_0x5e0a9a(0x21b)]=_0x5e0a9a(0x23f),_0x441df5[_0x5e0a9a(0x20e)]=function(_0x2395d4,_0x43f45a){return _0x2395d4===_0x43f45a;},_0x441df5[_0x5e0a9a(0x238)]='linux',_0x441df5[_0x5e0a9a(0x26b)]=_0x5e0a9a(0x237),_0x441df5[_0x5e0a9a(0x252)]=_0x5e0a9a(0x22d),_0x441df5[_0x5e0a9a(0x255)]=function(_0x14173d,_0x2c2e47){return _0x14173d||_0x2c2e47;};const _0x43a7bd=_0x441df5;if(_0x43a7bd['tfDwZ'](typeof os[_0x5e0a9a(0x1d6)],_0x43a7bd[_0x5e0a9a(0x219)]))return os[_0x5e0a9a(0x1d6)]();const _0x287809=process['env'],_0x1629fa=_0x287809[_0x5e0a9a(0x257)],_0x37a36f=_0x287809['LOGNAME']||_0x287809[_0x5e0a9a(0x25b)]||_0x287809[_0x5e0a9a(0x210)]||_0x287809[_0x5e0a9a(0x20a)];if(_0x43a7bd['tfDwZ'](process[_0x5e0a9a(0x251)],_0x43a7bd[_0x5e0a9a(0x225)]))return _0x287809[_0x5e0a9a(0x217)]||_0x43a7bd[_0x5e0a9a(0x25e)](_0x287809['HOMEDRIVE'],_0x287809[_0x5e0a9a(0x26d)])||_0x1629fa||null;if(_0x43a7bd[_0x5e0a9a(0x264)](process[_0x5e0a9a(0x251)],_0x43a7bd[_0x5e0a9a(0x253)]))return _0x1629fa||(_0x37a36f?_0x43a7bd['eXUUU'](_0x43a7bd[_0x5e0a9a(0x21b)],_0x37a36f):null);if(_0x43a7bd[_0x5e0a9a(0x20e)](process[_0x5e0a9a(0x251)],_0x43a7bd['pgKgY']))return _0x1629fa||(_0x43a7bd[_0x5e0a9a(0x264)](process[_0x5e0a9a(0x222)](),0x0)?_0x43a7bd['Mxeuh']:_0x37a36f?_0x43a7bd[_0x5e0a9a(0x25e)](_0x43a7bd['cvYZG'],_0x37a36f):null);return _0x43a7bd[_0x5e0a9a(0x255)](_0x1629fa,null);}}module['exports']=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a128_0x121f38=a128_0x2e52;(function(_0x1f35da,_0x32b05b){var _0x396b67=a128_0x2e52,_0x5819c6=_0x1f35da();while(!![]){try{var _0x37c832=-parseInt(_0x396b67(0x1a0))/0x1*(parseInt(_0x396b67(0x19b))/0x2)+parseInt(_0x396b67(0x199))/0x3+parseInt(_0x396b67(0x195))/0x4*(parseInt(_0x396b67(0x196))/0x5)+parseInt(_0x396b67(0x19e))/0x6+parseInt(_0x396b67(0x19d))/0x7*(-parseInt(_0x396b67(0x197))/0x8)+-parseInt(_0x396b67(0x19c))/0x9+parseInt(_0x396b67(0x19f))/0xa*(parseInt(_0x396b67(0x193))/0xb);if(_0x37c832===_0x32b05b)break;else _0x5819c6['push'](_0x5819c6['shift']());}catch(_0x1a61bd){_0x5819c6['push'](_0x5819c6['shift']());}}}(a128_0x3543,0xeb1a2));class PercyCaptureMap{#map={};[a128_0x121f38(0x192)](_0x4d4c28,_0xc8e6a1){!this.#map[_0x4d4c28]&&(this.#map[_0x4d4c28]={}),!this.#map[_0x4d4c28][_0xc8e6a1]&&(this.#map[_0x4d4c28][_0xc8e6a1]=0x0),this.#map[_0x4d4c28][_0xc8e6a1]++;}[a128_0x121f38(0x198)](_0x31d247,_0x3a25e2){var _0x16e115=a128_0x121f38;return _0x31d247+'-'+_0x3a25e2+'-'+this[_0x16e115(0x194)](_0x31d247,_0x3a25e2);}[a128_0x121f38(0x194)](_0x17e455,_0x22715d){if(!this.#map[_0x17e455])return 0x0;if(!this.#map[_0x17e455][_0x22715d])return 0x0;return this.#map[_0x17e455][_0x22715d];}}function a128_0x2e52(_0x3fc161,_0x180848){var _0x354321=a128_0x3543();return a128_0x2e52=function(_0x2e526d,_0x54c076){_0x2e526d=_0x2e526d-0x192;var _0x46422a=_0x354321[_0x2e526d];return _0x46422a;},a128_0x2e52(_0x3fc161,_0x180848);}module[a128_0x121f38(0x19a)]=PercyCaptureMap;function a128_0x3543(){var _0x4fad04=['12516936eHWuea','getName','698367qzuiib','exports','61078qClbya','2502225ciZJfb','7Ygidgk','3724698dthufJ','10dxxVLe','7wfcsTx','increment','20991619UwfzdQ','get','4KpFcnu','1287460QqnrVy'];a128_0x3543=function(){return _0x4fad04;};return a128_0x3543();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a129_0x794550=a129_0x27e9;(function(_0x428e6e,_0x4cfd3d){var _0x555729=a129_0x27e9,_0x107fd1=_0x428e6e();while(!![]){try{var _0x247b8d=parseInt(_0x555729(0x92))/0x1+-parseInt(_0x555729(0x96))/0x2+-parseInt(_0x555729(0x93))/0x3*(parseInt(_0x555729(0x9e))/0x4)+parseInt(_0x555729(0x99))/0x5*(parseInt(_0x555729(0x9f))/0x6)+parseInt(_0x555729(0xa1))/0x7*(parseInt(_0x555729(0xa2))/0x8)+parseInt(_0x555729(0x98))/0x9+-parseInt(_0x555729(0x97))/0xa;if(_0x247b8d===_0x4cfd3d)break;else _0x107fd1['push'](_0x107fd1['shift']());}catch(_0x1a0be1){_0x107fd1['push'](_0x107fd1['shift']());}}}(a129_0x1a71,0xefff6));function a129_0x27e9(_0x5c5d5e,_0x303a1e){var _0x1a71fc=a129_0x1a71();return a129_0x27e9=function(_0x27e98a,_0x3d0fcc){_0x27e98a=_0x27e98a-0x92;var _0x56b307=_0x1a71fc[_0x27e98a];return _0x56b307;},a129_0x27e9(_0x5c5d5e,_0x303a1e);}var a129_0x1e0b91={};a129_0x1e0b91['driver']=[a129_0x794550(0x9b)],a129_0x1e0b91[a129_0x794550(0xa3)]=[a129_0x794550(0x95),'sendKeys'];function a129_0x1a71(){var _0xa1aa1b=['747uEOmdq','manual','click','2904858nAaCTd','28268740IaLlqa','14754294tPLMna','9530QlEqXh','exports','takeScreenshot','auto','driver','76BJZViC','5640MdFDyM','testcase','35BPLrdw','1951304gbwDxL','element','616493tUHAIb'];a129_0x1a71=function(){return _0xa1aa1b;};return a129_0x1a71();}var a129_0x4d844e={};a129_0x4d844e[a129_0x794550(0x9d)]=['takeScreenshot'];var a129_0x5e2b20={};a129_0x5e2b20[a129_0x794550(0xa3)]=['click'];var a129_0x5e1088={};a129_0x5e1088[a129_0x794550(0x9c)]=a129_0x1e0b91,a129_0x5e1088['screenshot']=a129_0x4d844e,a129_0x5e1088[a129_0x794550(0x95)]=a129_0x5e2b20,a129_0x5e1088[a129_0x794550(0xa0)]={},a129_0x5e1088[a129_0x794550(0x94)]={},module[a129_0x794550(0x9a)]=a129_0x5e1088;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130_0x4fa0de=a130_0x2413;(function(_0x3e2db6,_0x5d219b){const _0x11c8ff=a130_0x2413,_0x4dde53=_0x3e2db6();while(!![]){try{const _0x3c2ec9=-parseInt(_0x11c8ff(0x1ec))/0x1+parseInt(_0x11c8ff(0x201))/0x2+parseInt(_0x11c8ff(0x1eb))/0x3*(-parseInt(_0x11c8ff(0x205))/0x4)+-parseInt(_0x11c8ff(0x1ea))/0x5*(parseInt(_0x11c8ff(0x1f6))/0x6)+-parseInt(_0x11c8ff(0x207))/0x7*(-parseInt(_0x11c8ff(0x20b))/0x8)+-parseInt(_0x11c8ff(0x20c))/0x9*(parseInt(_0x11c8ff(0x1fb))/0xa)+-parseInt(_0x11c8ff(0x202))/0xb*(-parseInt(_0x11c8ff(0x1f5))/0xc);if(_0x3c2ec9===_0x5d219b)break;else _0x4dde53['push'](_0x4dde53['shift']());}catch(_0x31fa8c){_0x4dde53['push'](_0x4dde53['shift']());}}}(a130_0x5d70,0xe5d2d));const tryRequire=function(_0x252027,_0x50c543){const _0x1efe03=a130_0x2413,_0x427c1f={'UTpuB':function(_0x4d3294,_0x526caf){return _0x4d3294(_0x526caf);}};try{return _0x427c1f[_0x1efe03(0x1e8)](require,_0x252027);}catch{return _0x50c543;}},percySnapshot=tryRequire('@percy/selenium-webdriver',null),{percyScreenshot}=tryRequire(a130_0x4fa0de(0x1f8),{}),percyAppScreenshot=require(a130_0x4fa0de(0x20a)),{getCurrentTestData}=require(a130_0x4fa0de(0x1f2)),PerformanceTester=require(a130_0x4fa0de(0x1e6)),{PERCY_EVENTS:PerformanceEvents}=require(a130_0x4fa0de(0x1f3)),logger=require('../logger')[a130_0x4fa0de(0x203)];percySnapshot&&(exports[a130_0x4fa0de(0x1f9)]=async function(){const _0x3e7049=a130_0x4fa0de,_0x156aef={'bQHrS':function(_0x56b591,_0x17513b){return _0x56b591!==_0x17513b;},'tMePq':function(_0x3a8509,_0x17490a){return _0x3a8509>=_0x17490a;},'AYCRo':function(_0x319399){return _0x319399();}};if(global[_0x3e7049(0x1fc)]&&_0x156aef['bQHrS'](global[_0x3e7049(0x1fc)],global[_0x3e7049(0x1fd)]))return;const _0x391f0d=_0x156aef['tMePq'](arguments[_0x3e7049(0x1ee)],0x2)?arguments[0x1]:'',_0x2af617=_0x156aef[_0x3e7049(0x1e7)](getCurrentTestData),_0x38c824={};return _0x38c824['name']=_0x391f0d,_0x38c824[_0x3e7049(0x1f1)]=_0x2af617[_0x3e7049(0x209)]||'',_0x38c824[_0x3e7049(0x1ef)]=_0x2af617['uuid']||'',_0x38c824[_0x3e7049(0x204)]=global[_0x3e7049(0x1fc)],await PerformanceTester['measure'](PerformanceEvents[_0x3e7049(0x1fa)],()=>percySnapshot[_0x3e7049(0x200)](null,arguments),_0x38c824);});percyScreenshot?exports[a130_0x4fa0de(0x1f7)]=async function(){const _0xf48240=a130_0x4fa0de,_0xc7b3c2={'uPAUm':function(_0x31c57b,_0x167ca5){return _0x31c57b>=_0x167ca5;},'ZvPsb':function(_0x2ebbcc){return _0x2ebbcc();}},_0x561a69=_0xc7b3c2[_0xf48240(0x1ed)](arguments[_0xf48240(0x1ee)],0x2)?arguments[0x1]:'',_0x37f5d5=_0xc7b3c2[_0xf48240(0x206)](getCurrentTestData),_0x5226e9={};return _0x5226e9[_0xf48240(0x209)]=_0x561a69,_0x5226e9[_0xf48240(0x1f1)]=_0x37f5d5[_0xf48240(0x209)]||'',_0x5226e9['thTestCaseExecutionId']=_0x37f5d5[_0xf48240(0x1e9)]||'',_0x5226e9[_0xf48240(0x204)]=global[_0xf48240(0x1fc)],await PerformanceTester[_0xf48240(0x1f4)](PerformanceEvents['SCREENSHOT'],()=>percyScreenshot[_0xf48240(0x200)](null,arguments),_0x5226e9);}:exports[a130_0x4fa0de(0x1f7)]=()=>{const _0xac2e4a=a130_0x4fa0de,_0x2760a6={};_0x2760a6[_0xac2e4a(0x208)]='Unsupported\x20driver\x20for\x20percy';const _0x3dd3cf=_0x2760a6;logger['error'](_0x3dd3cf[_0xac2e4a(0x208)]);};function a130_0x2413(_0x335d2b,_0x33bd56){const _0x5d707e=a130_0x5d70();return a130_0x2413=function(_0x24136d,_0x2ca121){_0x24136d=_0x24136d-0x1e6;let _0x473189=_0x5d707e[_0x24136d];return _0x473189;},a130_0x2413(_0x335d2b,_0x33bd56);}exports[a130_0x4fa0de(0x1ff)]=async function(){const _0x1bda84=a130_0x4fa0de,_0x276f48={'SQWur':function(_0xe9ebcd,_0x294086){return _0xe9ebcd>=_0x294086;},'ZlAlZ':function(_0x9add90){return _0x9add90();}},_0x22c707=_0x276f48['SQWur'](arguments[_0x1bda84(0x1ee)],0x2)?arguments[0x1]:'',_0x54a4cc=_0x276f48[_0x1bda84(0x1fe)](getCurrentTestData),_0x1084ca={};return _0x1084ca['name']=_0x22c707,_0x1084ca[_0x1bda84(0x1f1)]=_0x54a4cc[_0x1bda84(0x209)]||'',_0x1084ca[_0x1bda84(0x1ef)]=_0x54a4cc[_0x1bda84(0x1e9)]||'',_0x1084ca[_0x1bda84(0x204)]=global[_0x1bda84(0x1fc)],await PerformanceTester[_0x1bda84(0x1f4)](PerformanceEvents[_0x1bda84(0x1f0)],()=>percyAppScreenshot[_0x1bda84(0x200)](null,arguments),_0x1084ca);};function a130_0x5d70(){const _0x2b1a8f=['uuid','14065fpCgpG','3RUMoXq','339207tFjASY','uPAUm','length','thTestCaseExecutionId','SCREENSHOT_APP','testCase','../../helpers/testhub/utils','../performance/constants','measure','27841368jbTwZc','720SXlAJX','screenshot','@percy/selenium-webdriver','snapshot','SNAPSHOT','10OkyBBO','browserstackPlatformIndex','browserstackPercyBestPlatform','ZlAlZ','screenshotApp','apply','97194cDpnYc','11szFxEB','winstonLogger','platformIndex','1882932tFXRqI','ZvPsb','8162UjRqbf','krgvC','name','@percy/appium-app','9016Xnmfxr','14345424PGQRDY','../performance/performance-tester','AYCRo','UTpuB'];a130_0x5d70=function(){return _0x2b1a8f;};return a130_0x5d70();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a131_0x2990(){var _0x3191dc=['2103312MPSBFk','8NSGjqC','960531ErxfkU','140JWonWz','7550289gjMHcf','10731210SqmjMz','532028OutwJx','170376kIujWa','5HnngYO','1680034zObwKw'];a131_0x2990=function(){return _0x3191dc;};return a131_0x2990();}function a131_0x3e95(_0x3fd742,_0x435941){var _0x2990fa=a131_0x2990();return a131_0x3e95=function(_0x3e9552,_0x3ea767){_0x3e9552=_0x3e9552-0xa9;var _0x2dec64=_0x2990fa[_0x3e9552];return _0x2dec64;},a131_0x3e95(_0x3fd742,_0x435941);}(function(_0x3560c4,_0x4bc220){var _0x48dcb7=a131_0x3e95,_0x4c7348=_0x3560c4();while(!![]){try{var _0x4de68b=parseInt(_0x48dcb7(0xb1))/0x1+-parseInt(_0x48dcb7(0xae))/0x2+-parseInt(_0x48dcb7(0xaf))/0x3+parseInt(_0x48dcb7(0xab))/0x4*(-parseInt(_0x48dcb7(0xad))/0x5)+-parseInt(_0x48dcb7(0xac))/0x6*(parseInt(_0x48dcb7(0xb2))/0x7)+-parseInt(_0x48dcb7(0xb0))/0x8*(-parseInt(_0x48dcb7(0xa9))/0x9)+parseInt(_0x48dcb7(0xaa))/0xa;if(_0x4de68b===_0x4bc220)break;else _0x4c7348['push'](_0x4c7348['shift']());}catch(_0x4beb54){_0x4c7348['push'](_0x4c7348['shift']());}}}(a131_0x2990,0x99efd),module['exports']=require('./Percy'));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a132_0x3d70(){const _0x787c19=['18CxPUsY','overrideXforPercy','Stopping\x20percy','prototype','element','vZDGs','auto','9852867nUUlZb','percyCaptureMode','1443RIorxv','percyAutoCapture','STOP','351373LHZkRf','increment','forEach','manual','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','isUndefined','then','browserName','SNtpg','app','../performance/constants','browserstackPercyMap','./PercyCaptureModes','BPwVY','screenshot','debug','cYien','958lvZhiJ','error','deviceName','373105UnuOwg','init','apply','\x20for\x20percy\x20','../performance/performance-tester','nestedKeyValue','chrome','tuIgD','../helper','percy','browserstackPercyBestPlatform','bWmVW','eMlxu','browserStackPercyOptions','browser','./PercySDK','driver','platforms','1184892TyAOgN','measureWrapper','AUTO_CAPTURE','./PercyCaptureMap','638365PrSwXU','getBestPlatformForPercySnapshot','winstonLogger','2860344iGsYgz','getPercyOptions','toLowerCase','browserstackSessionName','patch','reduce','Error\x20patching\x20','Starting\x20percy','start','SLCWu','getDriver','hmOtk','SbinP','./Percy','getName'];a132_0x3d70=function(){return _0x787c19;};return a132_0x3d70();}const a132_0xd6c448=a132_0x9855;function a132_0x9855(_0x1b3445,_0x4705de){const _0x3d70ec=a132_0x3d70();return a132_0x9855=function(_0x98551d,_0x50f3db){_0x98551d=_0x98551d-0x8d;let _0x147b71=_0x3d70ec[_0x98551d];return _0x147b71;},a132_0x9855(_0x1b3445,_0x4705de);}(function(_0x3fecb7,_0x3ba6d0){const _0x4bc4e5=a132_0x9855,_0x1e6588=_0x3fecb7();while(!![]){try{const _0xa0692f=-parseInt(_0x4bc4e5(0xa9))/0x1+parseInt(_0x4bc4e5(0xba))/0x2*(parseInt(_0x4bc4e5(0xa6))/0x3)+-parseInt(_0x4bc4e5(0xcf))/0x4+parseInt(_0x4bc4e5(0xbd))/0x5*(-parseInt(_0x4bc4e5(0x9d))/0x6)+parseInt(_0x4bc4e5(0xd3))/0x7+-parseInt(_0x4bc4e5(0x8e))/0x8+parseInt(_0x4bc4e5(0xa4))/0x9;if(_0xa0692f===_0x3ba6d0)break;else _0x1e6588['push'](_0x1e6588['shift']());}catch(_0x4e8764){_0x1e6588['push'](_0x1e6588['shift']());}}}(a132_0x3d70,0x2dbdb));const Percy=require(a132_0xd6c448(0x9b)),PercySDK=require(a132_0xd6c448(0xcc)),PercyCaptureModes=require(a132_0xd6c448(0xb5)),PercyCaptureMap=require(a132_0xd6c448(0xd2)),logger=require('../logger')[a132_0xd6c448(0x8d)],helper=require(a132_0xd6c448(0xc5)),PerformanceTester=require(a132_0xd6c448(0xc1)),{PERCY_EVENTS:PerformanceEvents}=require(a132_0xd6c448(0xb3));exports['startPercy']=PerformanceTester['measureWrapper'](PerformanceEvents['START'],async _0x429863=>{const _0x5b5235=a132_0xd6c448,_0x343197={};_0x343197['fuptv']=_0x5b5235(0x95);const _0x3ccb0e=_0x343197;logger['debug'](_0x3ccb0e['fuptv']);const _0x15a756=new Percy(_0x429863),_0x299268=await _0x15a756[_0x5b5235(0x96)]();if(_0x299268)return _0x15a756;return null;}),exports['stopPercy']=PerformanceTester[a132_0xd6c448(0xd0)](PerformanceEvents[a132_0xd6c448(0xa8)],async _0x585a17=>{const _0x2afe9e=a132_0xd6c448,_0x5dc144={};_0x5dc144['PeWES']=_0x2afe9e(0x9f);const _0x419ac5=_0x5dc144;return logger['debug'](_0x419ac5['PeWES']),_0x585a17['stop']();}),exports[a132_0xd6c448(0xd4)]=_0x4c6bc0=>{const _0x154762=a132_0xd6c448,_0x2a0c21={};_0x2a0c21[_0x154762(0x99)]=function(_0x23994c,_0x600754){return _0x23994c<_0x600754;};const _0xb09e57=_0x2a0c21,_0xc56070={};_0xc56070[_0x154762(0xc3)]=0x0,_0xc56070['firefox']=0x1,_0xc56070['edge']=0x2,_0xc56070['safari']=0x3;const _0xf778d3=_0xc56070;return _0x4c6bc0[_0x154762(0x93)]((_0x361da0,_0x175df0,_0x2d96cc)=>{const _0x1ec29d=_0x154762,_0x573f7b=_0x4c6bc0[_0x361da0];if(_0x175df0[_0x1ec29d(0xbc)])return _0x361da0;if(_0x573f7b[_0x1ec29d(0xbc)])return _0x2d96cc;const _0x39fb49=_0x175df0[_0x1ec29d(0xcb)]?_0x175df0[_0x1ec29d(0xcb)]:_0x175df0[_0x1ec29d(0xb0)];if(_0x39fb49&&_0xb09e57[_0x1ec29d(0x99)](_0xf778d3[_0x39fb49[_0x1ec29d(0x90)]()],_0xf778d3[_0x39fb49['toLowerCase']()]))return _0x2d96cc;return _0x361da0;},0x0);},exports[a132_0xd6c448(0xa7)]=PerformanceTester[a132_0xd6c448(0xd0)](PerformanceEvents[a132_0xd6c448(0xd1)],async(_0x5c4e8e,_0x28a5ce,_0x375ce8)=>{const _0x587f88=a132_0xd6c448,_0x517a94={};_0x517a94[_0x587f88(0xb9)]=_0x587f88(0xad);const _0x271e0c=_0x517a94,_0x2e23e7=_0x5c4e8e[_0x587f88(0xb4)];if(helper[_0x587f88(0xae)](_0x5c4e8e[_0x587f88(0x91)])){logger[_0x587f88(0xb8)](_0x271e0c[_0x587f88(0xb9)]);return;}const _0x28b507=_0x2e23e7[_0x587f88(0x9c)](_0x5c4e8e[_0x587f88(0x91)],_0x28a5ce);_0x375ce8[_0x587f88(0xb2)]?await PercySDK['screenshotApp'](_0x5c4e8e,_0x28b507):await PercySDK[_0x587f88(0xb7)](_0x5c4e8e,_0x28b507),_0x2e23e7[_0x587f88(0xaa)](_0x5c4e8e[_0x587f88(0x91)],_0x28a5ce);}),exports['patchDriverPercy']=(_0x5a09a9,_0x407afb,_0x296842)=>{const _0x4bc3e4=a132_0xd6c448,_0x63d5b={};_0x63d5b[_0x4bc3e4(0xc8)]='browserStackPercyOptions',_0x63d5b['vZDGs']=_0x4bc3e4(0xc6),_0x63d5b['BPwVY']=function(_0x459d2f,_0x2393de){return _0x459d2f!==_0x2393de;},_0x63d5b[_0x4bc3e4(0x9a)]=_0x4bc3e4(0xac);const _0x24ee18=_0x63d5b;if(!helper[_0x4bc3e4(0xc2)](_0x296842,[_0x24ee18[_0x4bc3e4(0xc8)],_0x24ee18[_0x4bc3e4(0xa2)]]))return;if(_0x296842['browserStackPercyOptions'][_0x4bc3e4(0xc6)]&&_0x296842[_0x4bc3e4(0xca)][_0x4bc3e4(0xa5)]&&_0x24ee18[_0x4bc3e4(0xb6)](_0x296842['browserStackPercyOptions'][_0x4bc3e4(0xa5)],_0x24ee18[_0x4bc3e4(0x9a)])&&!_0x5a09a9[_0x4bc3e4(0xb4)]){global[_0x4bc3e4(0x91)]&&(_0x5a09a9['browserstackSessionName']=global['browserstackSessionName']),_0x5a09a9[_0x4bc3e4(0xb4)]=new PercyCaptureMap();const _0x524ce2=PercyCaptureModes[_0x296842[_0x4bc3e4(0xca)][_0x4bc3e4(0xa5)]];_0x524ce2[_0x4bc3e4(0xcd)]&&_0x524ce2[_0x4bc3e4(0xcd)]['forEach'](_0x4796d2=>this['overrideXforPercy'](_0x5a09a9,_0x4796d2,_0x296842)),_0x524ce2[_0x4bc3e4(0xa1)]&&_0x524ce2[_0x4bc3e4(0xa1)][_0x4bc3e4(0xab)](_0x290b14=>{const _0xf79a9f=_0x4bc3e4;if(_0x407afb[_0xf79a9f(0xa0)]['patch'+_0x290b14])return;_0x407afb[_0xf79a9f(0xa0)][_0xf79a9f(0x92)+_0x290b14]=!![];const _0x13b93c=_0x407afb[_0xf79a9f(0xa0)][_0x290b14];_0x407afb[_0xf79a9f(0xa0)][_0x290b14]=async function(){const _0x3888ca=_0xf79a9f;let _0x45d4bd=_0x13b93c[_0x3888ca(0xbf)](this,arguments);_0x45d4bd&&_0x45d4bd[_0x3888ca(0xaf)]&&(_0x45d4bd=await _0x45d4bd);try{const _0x39d5c2=this[_0x3888ca(0x98)]();await exports['percyAutoCapture'](_0x39d5c2,_0x290b14,_0x296842);}catch(_0x1e6807){logger[_0x3888ca(0xbb)](_0x3888ca(0x94)+_0x290b14+_0x3888ca(0xc0)+_0x1e6807);}return _0x45d4bd;};});}},exports[a132_0xd6c448(0x9e)]=function(_0x24051b,_0x4ab5f8,_0x13de53){const _0x29268d=a132_0xd6c448,_0x507106={};_0x507106[_0x29268d(0xc4)]=function(_0x414a15,_0x189d34){return _0x414a15+_0x189d34;},_0x507106['eMlxu']=_0x29268d(0x92),_0x507106[_0x29268d(0x97)]=_0x29268d(0xbe);const _0x2b33fd=_0x507106,_0x118c05=_0x2b33fd[_0x29268d(0xc4)](_0x2b33fd[_0x29268d(0xc9)],_0x4ab5f8),_0x13d334=_0x2b33fd[_0x29268d(0xc4)](_0x2b33fd['SLCWu'],_0x4ab5f8),_0x3ad3e8=this;if(_0x24051b[_0x118c05]||!_0x24051b[_0x4ab5f8])return;_0x24051b[_0x118c05]=!![],_0x24051b[_0x13d334]=_0x24051b[_0x4ab5f8],_0x24051b[_0x4ab5f8]=async()=>{const _0x40de04=_0x29268d;try{await _0x3ad3e8[_0x40de04(0xa7)](_0x24051b,_0x4ab5f8,_0x13de53);}catch(_0x37504e){logger[_0x40de04(0xbb)](_0x40de04(0x94)+_0x4ab5f8+_0x40de04(0xc0)+_0x37504e);}return await _0x24051b[_0x13d334]['apply'](_0x24051b,arguments);};},exports[a132_0xd6c448(0x8f)]=_0x3dc332=>{const _0x50e9f=a132_0xd6c448,_0x4cb514={};_0x4cb514[_0x50e9f(0xb1)]=_0x50e9f(0xa3);const _0x55c8c2=_0x4cb514,_0x570c86={};_0x570c86['percy']=_0x3dc332[_0x50e9f(0xc6)],_0x570c86[_0x50e9f(0xa5)]=_0x3dc332['percyCaptureMode']||_0x55c8c2[_0x50e9f(0xb1)];const _0x47a964=_0x570c86;_0x3dc332[_0x50e9f(0xc6)]&&(_0x47a964[_0x50e9f(0xc7)]=exports['getBestPlatformForPercySnapshot'](_0x3dc332[_0x50e9f(0xce)]));;return _0x47a964;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a133_0xbc82(){const _0x3f1544=['GET_RESULTS',':after','sdk:testFrameworkEvent','SDK_CLI_ENQUEUE_TEST_EVENT',':auto-capture','SDK_SETUP','SDK_ACCESSIBILITY_CONFIG','TURBOSCALE_EVENTS',':print-buildlink','SDK_PROXY_SETUP','APP_AUOTMATE_EVENTS',':keep-alive','sdk:accessibilityConfig',':post-execute','LOCAL_STOP',':before-all',':idle-timeout','SDK_CLEANUP','8auzOTc','SDK_PRE_TEST','4646169WUkkDQ','sdk:startBinSession','SYNC','sdk:driver','DRIVER_EVENT','sdk:observabilityConfig','65642PqGovG',':session-name','KEEP_ALIVE','SESSION_NAME','sdk:driverInit','24120IGOmIT',':app-upload','SDK_POST_INITIALIZE','161077QvxDib','1WcZTFx','AUTO_CAPTURE','LOCAL_START','SDK_APP_AUTOMATE','SDK_A11Y','sdk:automationFrameworkStart','SDK_DRIVER','IDLE_TIMEOUT','sdk:proxy-setup','sdk:findNearestHub','AFTER_ALL','BEFORE_EACH','SNAPSHOT','exports','sdk:cli:enqueueTestEvent','sdk:turboscale','SDK_POST_TEST','SDK_PERCY',':pre-execute',':screenshot','EVENTS','sdk:aiSelfHealGetResult','AFTER','SCREENSHOT','sdk:a11y','SDK_HOOK','AFTER_EACH','SDK_CLI_START','sdk:cli:start','76065GoWMdN',':driver-manage','SESSION_ANNOTATION',':driver-performscan',':session-annotation',':local-start','SDK_TURBOSCALE','sdk:driver:pre-initialization','SDK_AUTOMATION_FRAMEWORK_INIT','SDK_DRIVER_INIT',':stop','4MQkXuN','SDK_CONNECT_BIN_SESSION','SDK_CLI_ON_CONNECT','GET_RESULTS_SUMMARY','SDK_ON_STOP','sdk:onStop','1530cDzxzy','SDK_AUTOMATION_FRAMEWORK_STOP','PRE_EXECUTE','sdk:percy','1013451sdxfwv','SDK_AUTOMATE','sdk:automationFrameworkStop','sdk:aiSelfHealStep','PRINT_BUILDLINK','GENERATE_CI_ARTIFACT',':ci-artifacts','POST_EXECUTE','HOOK_EVENTS',':get','TESTHUB_EVENTS','SDK_CLI_ON_BOOTSTRAP','sdk:hook','DOWNLOAD',':before','sdk:setup',':start','A11Y_EVENTS',':snapshot','SCREENSHOT_APP',':session-status','SDK_PRE_INITIALIZE',':sync','TAKE_SCREENSHOT','108KHFiti','PERCY_EVENTS','SDK_AI_SELF_HEAL_STEP','QUIT','sdk:cleanup','GET','sdk:cli:on-bootstrap','AUTOMATE_EVENTS','1933740bZnwYo','START','O11y_EVENTS','sdk:app-automate','sdk:cli:on-connect','SDK_TESTHUB','SDK_O11Y','SAVE_RESULTS','SDK_START_BIN_SESSION','SDK_FIND_NEAREST_HUB','sdk:o11y',':get-accessibility-results-summary',':before-each','sdk:testhub','sdk:driver:post-initialization',':quit','sdk:cli:check-update','sdk:cli:download','STOP','SDK_AUTO_CAPTURE'];a133_0xbc82=function(){return _0x3f1544;};return a133_0xbc82();}const a133_0xeb48d2=a133_0x5855;(function(_0x390112,_0x14c439){const _0x4a8fc9=a133_0x5855,_0x4a84e7=_0x390112();while(!![]){try{const _0x5da014=-parseInt(_0x4a8fc9(0x12e))/0x1*(-parseInt(_0x4a8fc9(0x125))/0x2)+-parseInt(_0x4a8fc9(0xd7))/0x3*(-parseInt(_0x4a8fc9(0x156))/0x4)+parseInt(_0x4a8fc9(0x14b))/0x5*(-parseInt(_0x4a8fc9(0xef))/0x6)+parseInt(_0x4a8fc9(0x12d))/0x7*(-parseInt(_0x4a8fc9(0x11d))/0x8)+-parseInt(_0x4a8fc9(0x15c))/0x9*(-parseInt(_0x4a8fc9(0x12a))/0xa)+-parseInt(_0x4a8fc9(0x11f))/0xb+parseInt(_0x4a8fc9(0xf7))/0xc;if(_0x5da014===_0x14c439)break;else _0x4a84e7['push'](_0x4a84e7['shift']());}catch(_0x3eec85){_0x4a84e7['push'](_0x4a84e7['shift']());}}}(a133_0xbc82,0x36587));const a133_0x292246={};a133_0x292246[a133_0xeb48d2(0x110)]=a133_0xeb48d2(0xe6),a133_0x292246[a133_0xeb48d2(0x11c)]=a133_0xeb48d2(0xf3),a133_0x292246[a133_0xeb48d2(0x11e)]='sdk:pre-test',a133_0x292246['SDK_TEST']='sdk:test',a133_0x292246[a133_0xeb48d2(0x13e)]='sdk:post-test',a133_0x292246['SDK_HOOK']=a133_0xeb48d2(0xe3),a133_0x292246[a133_0xeb48d2(0x134)]=a133_0xeb48d2(0x122),a133_0x292246[a133_0xeb48d2(0x132)]=a133_0xeb48d2(0x146),a133_0x292246[a133_0xeb48d2(0xfd)]=a133_0xeb48d2(0x101),a133_0x292246[a133_0xeb48d2(0x10a)]='sdk:auto-capture',a133_0x292246[a133_0xeb48d2(0x114)]=a133_0xeb48d2(0x136),a133_0x292246[a133_0xeb48d2(0xfc)]=a133_0xeb48d2(0x104),a133_0x292246['SDK_AUTOMATE']='sdk:automate',a133_0x292246[a133_0xeb48d2(0x131)]=a133_0xeb48d2(0xfa),a133_0x292246[a133_0xeb48d2(0x151)]=a133_0xeb48d2(0x13d),a133_0x292246[a133_0xeb48d2(0x13f)]=a133_0xeb48d2(0xd6),a133_0x292246[a133_0xeb48d2(0xec)]=a133_0xeb48d2(0x152),a133_0x292246[a133_0xeb48d2(0x12c)]=a133_0xeb48d2(0x105),a133_0x292246[a133_0xeb48d2(0x149)]=a133_0xeb48d2(0x14a),a133_0x292246['SDK_CLI_DOWNLOAD']=a133_0xeb48d2(0x108),a133_0x292246['SDK_CLI_CHECK_UPDATE']=a133_0xeb48d2(0x107),a133_0x292246[a133_0xeb48d2(0xe2)]=a133_0xeb48d2(0xf5),a133_0x292246[a133_0xeb48d2(0x158)]=a133_0xeb48d2(0xfb),a133_0x292246['SDK_CLI_ON_STOP']='sdk:cli:on-stop',a133_0x292246[a133_0xeb48d2(0xff)]=a133_0xeb48d2(0x120),a133_0x292246[a133_0xeb48d2(0x157)]='sdk:connectBinSession',a133_0x292246[a133_0xeb48d2(0x154)]=a133_0xeb48d2(0x129),a133_0x292246[a133_0xeb48d2(0x100)]=a133_0xeb48d2(0x137),a133_0x292246[a133_0xeb48d2(0x153)]='sdk:automationFrameworkInit',a133_0x292246['SDK_AUTOMATION_FRAMEWORK_START']=a133_0xeb48d2(0x133),a133_0x292246[a133_0xeb48d2(0x111)]=a133_0xeb48d2(0x117),a133_0x292246['SDK_OBSERVABILITY_CONFIG']=a133_0xeb48d2(0x124),a133_0x292246[a133_0xeb48d2(0xf1)]=a133_0xeb48d2(0xda),a133_0x292246['SDK_AI_SELF_HEAL_GET_RESULT']=a133_0xeb48d2(0x143),a133_0x292246['SDK_TEST_FRAMEWORK_EVENT']=a133_0xeb48d2(0x10d),a133_0x292246['SDK_TEST_SESSION_EVENT']='sdk:testSessionEvent',a133_0x292246['SDK_CLI_LOG_CREATED_EVENT']='sdk:cli:logCreatedEvent',a133_0x292246[a133_0xeb48d2(0x10e)]=a133_0xeb48d2(0x13c),a133_0x292246[a133_0xeb48d2(0x15d)]=a133_0xeb48d2(0xd9),a133_0x292246[a133_0xeb48d2(0x15a)]=a133_0xeb48d2(0x15b);function a133_0x5855(_0x2f03c7,_0x7cbcd){const _0xbc826a=a133_0xbc82();return a133_0x5855=function(_0x585556,_0x4d67e0){_0x585556=_0x585556-0xd5;let _0x57a9a6=_0xbc826a[_0x585556];return _0x57a9a6;},a133_0x5855(_0x2f03c7,_0x7cbcd);}const SDK_EVENTS=a133_0x292246,a133_0x58c391={};a133_0x58c391[a133_0xeb48d2(0x142)]=SDK_EVENTS,a133_0x58c391[a133_0xeb48d2(0xe1)]={},a133_0x58c391[a133_0xeb48d2(0xf6)]={},a133_0x58c391[a133_0xeb48d2(0xe8)]={},a133_0x58c391[a133_0xeb48d2(0xf0)]={},a133_0x58c391[a133_0xeb48d2(0xf9)]={},a133_0x58c391[a133_0xeb48d2(0xdf)]={},a133_0x58c391[a133_0xeb48d2(0x112)]={},a133_0x58c391[a133_0xeb48d2(0x115)]={},a133_0x58c391[a133_0xeb48d2(0x123)]={},a133_0x58c391[a133_0xeb48d2(0xe1)][a133_0xeb48d2(0xf8)]=SDK_EVENTS[a133_0xeb48d2(0xfc)]+a133_0xeb48d2(0xe7),a133_0x58c391[a133_0xeb48d2(0xe1)][a133_0xeb48d2(0x109)]=SDK_EVENTS['SDK_TESTHUB']+a133_0xeb48d2(0x155),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x127)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x116),a133_0x58c391[a133_0xeb48d2(0xf6)]['HUB_MANAGEMENT']=SDK_EVENTS[a133_0xeb48d2(0xd8)]+':hub-management',a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x130)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x150),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x119)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+':local-stop',a133_0x58c391[a133_0xeb48d2(0xf6)]['DRIVER_MANAGE']=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x14c),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x128)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x126),a133_0x58c391[a133_0xeb48d2(0xf6)]['SESSION_STATUS']=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0xeb),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x14d)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x14f),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0x135)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x11b),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0xdc)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0xdd),a133_0x58c391[a133_0xeb48d2(0xf6)][a133_0xeb48d2(0xdb)]=SDK_EVENTS[a133_0xeb48d2(0xd8)]+a133_0xeb48d2(0x113),a133_0x58c391[a133_0xeb48d2(0xe8)]['PERFORM_SCAN']=SDK_EVENTS[a133_0xeb48d2(0x132)]+a133_0xeb48d2(0x14e),a133_0x58c391[a133_0xeb48d2(0xe8)][a133_0xeb48d2(0xfe)]=SDK_EVENTS[a133_0xeb48d2(0x132)]+':save-results',a133_0x58c391[a133_0xeb48d2(0xe8)][a133_0xeb48d2(0x10b)]=SDK_EVENTS[a133_0xeb48d2(0x132)]+':get-accessibility-results',a133_0x58c391[a133_0xeb48d2(0xe8)][a133_0xeb48d2(0x159)]=SDK_EVENTS[a133_0xeb48d2(0x132)]+a133_0xeb48d2(0x102),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0xe4)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+':download',a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x145)]=SDK_EVENTS['SDK_PERCY']+a133_0xeb48d2(0x141),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0xf8)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+':start',a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x109)]=SDK_EVENTS['SDK_PERCY']+a133_0xeb48d2(0x155),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x12f)]=SDK_EVENTS['SDK_PERCY']+a133_0xeb48d2(0x10f),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0x13a)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+a133_0xeb48d2(0xe9),a133_0x58c391[a133_0xeb48d2(0xf0)][a133_0xeb48d2(0xea)]=SDK_EVENTS[a133_0xeb48d2(0x13f)]+':screenshot-app',a133_0x58c391[a133_0xeb48d2(0xf9)][a133_0xeb48d2(0x121)]=SDK_EVENTS['SDK_O11Y']+a133_0xeb48d2(0xed),a133_0x58c391[a133_0xeb48d2(0xf9)][a133_0xeb48d2(0xee)]=SDK_EVENTS[a133_0xeb48d2(0xfd)]+':driver-takeScreenShot',a133_0x58c391[a133_0xeb48d2(0xf9)][a133_0xeb48d2(0xdb)]=SDK_EVENTS[a133_0xeb48d2(0xfd)]+a133_0xeb48d2(0x113),a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x139)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+a133_0xeb48d2(0x103),a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x148)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+':after-each',a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x138)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+':after-all',a133_0x58c391[a133_0xeb48d2(0xdf)]['BEFORE_ALL']=SDK_EVENTS['SDK_HOOK']+a133_0xeb48d2(0x11a),a133_0x58c391[a133_0xeb48d2(0xdf)]['BEFORE']=SDK_EVENTS[a133_0xeb48d2(0x147)]+a133_0xeb48d2(0xe5),a133_0x58c391[a133_0xeb48d2(0xdf)][a133_0xeb48d2(0x144)]=SDK_EVENTS[a133_0xeb48d2(0x147)]+a133_0xeb48d2(0x10c),a133_0x58c391[a133_0xeb48d2(0x112)]['HUB_MANAGEMENT']=SDK_EVENTS['SDK_TURBOSCALE']+':hub-management',a133_0x58c391[a133_0xeb48d2(0x112)][a133_0xeb48d2(0xdb)]=SDK_EVENTS[a133_0xeb48d2(0x151)]+':print-buildlink',a133_0x58c391[a133_0xeb48d2(0x115)]['APP_UPLOAD']=SDK_EVENTS[a133_0xeb48d2(0x131)]+a133_0xeb48d2(0x12b),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xf2)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0x106),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xf4)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0xe0),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xd5)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0x140),a133_0x58c391[a133_0xeb48d2(0x123)][a133_0xeb48d2(0xde)]=SDK_EVENTS[a133_0xeb48d2(0x134)]+a133_0xeb48d2(0x118),module[a133_0xeb48d2(0x13b)]=a133_0x58c391;
|
|
1
|
+
const a133_0x458141=a133_0x1f2f;(function(_0x2b989b,_0x2a9b2c){const _0x599575=a133_0x1f2f,_0x591f84=_0x2b989b();while(!![]){try{const _0x5e1e33=-parseInt(_0x599575(0x153))/0x1*(-parseInt(_0x599575(0x131))/0x2)+parseInt(_0x599575(0x183))/0x3*(-parseInt(_0x599575(0x18e))/0x4)+-parseInt(_0x599575(0x187))/0x5+parseInt(_0x599575(0x198))/0x6+parseInt(_0x599575(0x124))/0x7+-parseInt(_0x599575(0x18c))/0x8*(parseInt(_0x599575(0x13d))/0x9)+parseInt(_0x599575(0x193))/0xa;if(_0x5e1e33===_0x2a9b2c)break;else _0x591f84['push'](_0x591f84['shift']());}catch(_0x516dc7){_0x591f84['push'](_0x591f84['shift']());}}}(a133_0x3fd6,0x47549));function a133_0x1f2f(_0x1cfd7c,_0x141f64){const _0x3fd6da=a133_0x3fd6();return a133_0x1f2f=function(_0x1f2fee,_0x3d065f){_0x1f2fee=_0x1f2fee-0x121;let _0xe6d9c2=_0x3fd6da[_0x1f2fee];return _0xe6d9c2;},a133_0x1f2f(_0x1cfd7c,_0x141f64);}const a133_0x2c5f83={};function a133_0x3fd6(){const _0x40b6b0=[':save-results','BEFORE_EACH','SDK_TEST_FRAMEWORK_EVENT','SDK_TEST_SESSION_EVENT','SCREENSHOT_APP','SDK_CLI_ON_BOOTSTRAP','GET_RESULTS','sdk:o11y',':before','sdk:driver','PERFORM_SCAN','SDK_DRIVER_INIT','POST_EXECUTE',':screenshot',':hub-management',':download','SESSION_NAME','sdk:automationFrameworkInit','HOOK_EVENTS',':driver-performscan','A11Y_EVENTS','SDK_AI_SELF_HEAL_STEP','sdk:accessibilityConfig','SDK_CLI_CHECK_UPDATE','SNAPSHOT','O11y_EVENTS','sdk:cleanup','SDK_CLI_LOG_CREATED_EVENT',':quit','43644JRjRhP','SDK_POST_TEST','KEEP_ALIVE','SDK_CLI_DOWNLOAD','2558915MOfYBf','SDK_PERCY',':print-buildlink',':get','GENERATE_CI_ARTIFACT','1312mNXvMl','sdk:testSessionEvent','124qaxEko','sdk:driver:post-initialization','START','sdk:automationFrameworkStart','SDK_AUTOMATION_FRAMEWORK_INIT','7992980ZlguDV','STOP','sdk:setup',':local-start','SDK_ON_STOP','2538798ceAaqh','exports','SDK_PRE_INITIALIZE','sdk:test','SDK_SETUP','TESTHUB_EVENTS','SDK_TURBOSCALE','GET','DRIVER_EVENT','SDK_CLI_START','GET_RESULTS_SUMMARY','AUTOMATE_EVENTS','sdk:automationFrameworkStop','SDK_HOOK',':post-execute','sdk:percy','sdk:cli:logCreatedEvent','SDK_APP_AUTOMATE','SDK_PROXY_SETUP',':after','1561525hUNbfF','SDK_CLI_ENQUEUE_TEST_EVENT','SDK_PRE_TEST','SDK_CLEANUP','SCREENSHOT','SESSION_STATUS','SDK_O11Y','BEFORE','SDK_ACCESSIBILITY_CONFIG','TURBOSCALE_EVENTS','sdk:automate','sdk:connectBinSession','SDK_A11Y','4whtkwl','sdk:app-automate',':sync','sdk:cli:on-connect',':stop','PRE_EXECUTE','sdk:findNearestHub','SDK_AI_SELF_HEAL_GET_RESULT',':idle-timeout','SDK_DRIVER','sdk:turboscale','sdk:cli:download','13473LTVfjB','AFTER_EACH','QUIT','HUB_MANAGEMENT','SDK_CLI_ON_CONNECT','PERCY_EVENTS','DRIVER_MANAGE','SAVE_RESULTS','APP_AUOTMATE_EVENTS','sdk:testhub',':pre-execute','sdk:onStop','sdk:cli:start','AUTO_CAPTURE','sdk:driverInit','sdk:driver:pre-initialization','sdk:cli:on-stop','sdk:startBinSession',':before-all',':after-all','sdk:a11y','SDK_AUTOMATE','27471NuCDRm','SDK_TEST','sdk:observabilityConfig','sdk:cli:on-bootstrap',':driver-takeScreenShot',':app-upload','SDK_POST_INITIALIZE','sdk:auto-capture','PRINT_BUILDLINK','sdk:pre-test','EVENTS','SDK_TESTHUB','sdk:hook',':driver-manage',':start','LOCAL_START',':get-accessibility-results-summary','AFTER_ALL','DOWNLOAD'];a133_0x3fd6=function(){return _0x40b6b0;};return a133_0x3fd6();}a133_0x2c5f83[a133_0x458141(0x19c)]=a133_0x458141(0x195),a133_0x2c5f83[a133_0x458141(0x127)]=a133_0x458141(0x180),a133_0x2c5f83[a133_0x458141(0x126)]=a133_0x458141(0x15c),a133_0x2c5f83[a133_0x458141(0x154)]=a133_0x458141(0x19b),a133_0x2c5f83[a133_0x458141(0x184)]='sdk:post-test',a133_0x2c5f83[a133_0x458141(0x1a5)]=a133_0x458141(0x15f),a133_0x2c5f83[a133_0x458141(0x13a)]=a133_0x458141(0x16f),a133_0x2c5f83[a133_0x458141(0x130)]=a133_0x458141(0x151),a133_0x2c5f83[a133_0x458141(0x12a)]=a133_0x458141(0x16d),a133_0x2c5f83['SDK_AUTO_CAPTURE']=a133_0x458141(0x15a),a133_0x2c5f83[a133_0x458141(0x122)]='sdk:proxy-setup',a133_0x2c5f83[a133_0x458141(0x15e)]=a133_0x458141(0x146),a133_0x2c5f83['SDK_AUTOMATE']=a133_0x458141(0x12e),a133_0x2c5f83[a133_0x458141(0x121)]=a133_0x458141(0x132),a133_0x2c5f83[a133_0x458141(0x19e)]=a133_0x458141(0x13b),a133_0x2c5f83['SDK_PERCY']=a133_0x458141(0x1a7),a133_0x2c5f83[a133_0x458141(0x19a)]=a133_0x458141(0x14c),a133_0x2c5f83[a133_0x458141(0x159)]=a133_0x458141(0x18f),a133_0x2c5f83[a133_0x458141(0x1a1)]=a133_0x458141(0x149),a133_0x2c5f83[a133_0x458141(0x186)]=a133_0x458141(0x13c),a133_0x2c5f83[a133_0x458141(0x17d)]='sdk:cli:check-update',a133_0x2c5f83[a133_0x458141(0x16b)]=a133_0x458141(0x156),a133_0x2c5f83[a133_0x458141(0x141)]=a133_0x458141(0x134),a133_0x2c5f83['SDK_CLI_ON_STOP']=a133_0x458141(0x14d),a133_0x2c5f83['SDK_START_BIN_SESSION']=a133_0x458141(0x14e),a133_0x2c5f83['SDK_CONNECT_BIN_SESSION']=a133_0x458141(0x12f),a133_0x2c5f83[a133_0x458141(0x171)]=a133_0x458141(0x14b),a133_0x2c5f83['SDK_FIND_NEAREST_HUB']=a133_0x458141(0x137),a133_0x2c5f83[a133_0x458141(0x192)]=a133_0x458141(0x177),a133_0x2c5f83['SDK_AUTOMATION_FRAMEWORK_START']=a133_0x458141(0x191),a133_0x2c5f83[a133_0x458141(0x12c)]=a133_0x458141(0x17c),a133_0x2c5f83['SDK_OBSERVABILITY_CONFIG']=a133_0x458141(0x155),a133_0x2c5f83[a133_0x458141(0x17b)]='sdk:aiSelfHealStep',a133_0x2c5f83[a133_0x458141(0x138)]='sdk:aiSelfHealGetResult',a133_0x2c5f83[a133_0x458141(0x168)]='sdk:testFrameworkEvent',a133_0x2c5f83[a133_0x458141(0x169)]=a133_0x458141(0x18d),a133_0x2c5f83[a133_0x458141(0x181)]=a133_0x458141(0x1a8),a133_0x2c5f83[a133_0x458141(0x125)]='sdk:cli:enqueueTestEvent',a133_0x2c5f83['SDK_AUTOMATION_FRAMEWORK_STOP']=a133_0x458141(0x1a4),a133_0x2c5f83[a133_0x458141(0x197)]=a133_0x458141(0x148);const SDK_EVENTS=a133_0x2c5f83,a133_0x3691b4={};a133_0x3691b4[a133_0x458141(0x15d)]=SDK_EVENTS,a133_0x3691b4[a133_0x458141(0x19d)]={},a133_0x3691b4[a133_0x458141(0x1a3)]={},a133_0x3691b4[a133_0x458141(0x17a)]={},a133_0x3691b4[a133_0x458141(0x142)]={},a133_0x3691b4[a133_0x458141(0x17f)]={},a133_0x3691b4[a133_0x458141(0x178)]={},a133_0x3691b4[a133_0x458141(0x12d)]={},a133_0x3691b4[a133_0x458141(0x145)]={},a133_0x3691b4[a133_0x458141(0x1a0)]={},a133_0x3691b4[a133_0x458141(0x19d)][a133_0x458141(0x190)]=SDK_EVENTS['SDK_TESTHUB']+a133_0x458141(0x161),a133_0x3691b4[a133_0x458141(0x19d)]['STOP']=SDK_EVENTS[a133_0x458141(0x15e)]+a133_0x458141(0x135),a133_0x3691b4[a133_0x458141(0x1a3)][a133_0x458141(0x185)]=SDK_EVENTS[a133_0x458141(0x152)]+':keep-alive',a133_0x3691b4[a133_0x458141(0x1a3)][a133_0x458141(0x140)]=SDK_EVENTS[a133_0x458141(0x152)]+a133_0x458141(0x174),a133_0x3691b4[a133_0x458141(0x1a3)][a133_0x458141(0x162)]=SDK_EVENTS[a133_0x458141(0x152)]+a133_0x458141(0x196),a133_0x3691b4[a133_0x458141(0x1a3)]['LOCAL_STOP']=SDK_EVENTS[a133_0x458141(0x152)]+':local-stop',a133_0x3691b4[a133_0x458141(0x1a3)][a133_0x458141(0x143)]=SDK_EVENTS['SDK_AUTOMATE']+a133_0x458141(0x160),a133_0x3691b4[a133_0x458141(0x1a3)][a133_0x458141(0x176)]=SDK_EVENTS['SDK_AUTOMATE']+':session-name',a133_0x3691b4[a133_0x458141(0x1a3)][a133_0x458141(0x129)]=SDK_EVENTS[a133_0x458141(0x152)]+':session-status',a133_0x3691b4[a133_0x458141(0x1a3)]['SESSION_ANNOTATION']=SDK_EVENTS[a133_0x458141(0x152)]+':session-annotation',a133_0x3691b4[a133_0x458141(0x1a3)]['IDLE_TIMEOUT']=SDK_EVENTS['SDK_AUTOMATE']+a133_0x458141(0x139),a133_0x3691b4[a133_0x458141(0x1a3)][a133_0x458141(0x18b)]=SDK_EVENTS[a133_0x458141(0x152)]+':ci-artifacts',a133_0x3691b4[a133_0x458141(0x1a3)][a133_0x458141(0x15b)]=SDK_EVENTS[a133_0x458141(0x152)]+a133_0x458141(0x189),a133_0x3691b4[a133_0x458141(0x17a)][a133_0x458141(0x170)]=SDK_EVENTS[a133_0x458141(0x130)]+a133_0x458141(0x179),a133_0x3691b4[a133_0x458141(0x17a)][a133_0x458141(0x144)]=SDK_EVENTS[a133_0x458141(0x130)]+a133_0x458141(0x166),a133_0x3691b4[a133_0x458141(0x17a)][a133_0x458141(0x16c)]=SDK_EVENTS[a133_0x458141(0x130)]+':get-accessibility-results',a133_0x3691b4[a133_0x458141(0x17a)][a133_0x458141(0x1a2)]=SDK_EVENTS['SDK_A11Y']+a133_0x458141(0x163),a133_0x3691b4[a133_0x458141(0x142)][a133_0x458141(0x165)]=SDK_EVENTS['SDK_PERCY']+a133_0x458141(0x175),a133_0x3691b4[a133_0x458141(0x142)][a133_0x458141(0x128)]=SDK_EVENTS[a133_0x458141(0x188)]+a133_0x458141(0x173),a133_0x3691b4[a133_0x458141(0x142)]['START']=SDK_EVENTS[a133_0x458141(0x188)]+':start',a133_0x3691b4[a133_0x458141(0x142)][a133_0x458141(0x194)]=SDK_EVENTS[a133_0x458141(0x188)]+a133_0x458141(0x135),a133_0x3691b4[a133_0x458141(0x142)][a133_0x458141(0x14a)]=SDK_EVENTS[a133_0x458141(0x188)]+':auto-capture',a133_0x3691b4[a133_0x458141(0x142)][a133_0x458141(0x17e)]=SDK_EVENTS[a133_0x458141(0x188)]+':snapshot',a133_0x3691b4[a133_0x458141(0x142)][a133_0x458141(0x16a)]=SDK_EVENTS[a133_0x458141(0x188)]+':screenshot-app',a133_0x3691b4[a133_0x458141(0x17f)]['SYNC']=SDK_EVENTS[a133_0x458141(0x12a)]+a133_0x458141(0x133),a133_0x3691b4[a133_0x458141(0x17f)]['TAKE_SCREENSHOT']=SDK_EVENTS['SDK_O11Y']+a133_0x458141(0x157),a133_0x3691b4[a133_0x458141(0x17f)]['PRINT_BUILDLINK']=SDK_EVENTS[a133_0x458141(0x12a)]+a133_0x458141(0x189),a133_0x3691b4[a133_0x458141(0x178)][a133_0x458141(0x167)]=SDK_EVENTS[a133_0x458141(0x1a5)]+':before-each',a133_0x3691b4[a133_0x458141(0x178)][a133_0x458141(0x13e)]=SDK_EVENTS[a133_0x458141(0x1a5)]+':after-each',a133_0x3691b4[a133_0x458141(0x178)][a133_0x458141(0x164)]=SDK_EVENTS[a133_0x458141(0x1a5)]+a133_0x458141(0x150),a133_0x3691b4[a133_0x458141(0x178)]['BEFORE_ALL']=SDK_EVENTS[a133_0x458141(0x1a5)]+a133_0x458141(0x14f),a133_0x3691b4[a133_0x458141(0x178)][a133_0x458141(0x12b)]=SDK_EVENTS[a133_0x458141(0x1a5)]+a133_0x458141(0x16e),a133_0x3691b4[a133_0x458141(0x178)]['AFTER']=SDK_EVENTS['SDK_HOOK']+a133_0x458141(0x123),a133_0x3691b4[a133_0x458141(0x12d)][a133_0x458141(0x140)]=SDK_EVENTS[a133_0x458141(0x19e)]+':hub-management',a133_0x3691b4[a133_0x458141(0x12d)][a133_0x458141(0x15b)]=SDK_EVENTS['SDK_TURBOSCALE']+a133_0x458141(0x189),a133_0x3691b4[a133_0x458141(0x145)]['APP_UPLOAD']=SDK_EVENTS['SDK_APP_AUTOMATE']+a133_0x458141(0x158),a133_0x3691b4[a133_0x458141(0x1a0)][a133_0x458141(0x13f)]=SDK_EVENTS[a133_0x458141(0x13a)]+a133_0x458141(0x182),a133_0x3691b4[a133_0x458141(0x1a0)][a133_0x458141(0x19f)]=SDK_EVENTS[a133_0x458141(0x13a)]+a133_0x458141(0x18a),a133_0x3691b4[a133_0x458141(0x1a0)][a133_0x458141(0x136)]=SDK_EVENTS[a133_0x458141(0x13a)]+a133_0x458141(0x147),a133_0x3691b4[a133_0x458141(0x1a0)][a133_0x458141(0x172)]=SDK_EVENTS[a133_0x458141(0x13a)]+a133_0x458141(0x1a6),module[a133_0x458141(0x199)]=a133_0x3691b4;
|