browserstack-node-sdk 1.54.1 → 1.54.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/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/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/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/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/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 a115_0x1f5c90=a115_0x4cee;(function(_0x4fb8a3,_0x585a2a){const _0x5f3b90=a115_0x4cee,_0x3cac7f=_0x4fb8a3();while(!![]){try{const _0x4c105d=parseInt(_0x5f3b90(0x9e))/0x1*(-parseInt(_0x5f3b90(0xa9))/0x2)+parseInt(_0x5f3b90(0xa7))/0x3+parseInt(_0x5f3b90(0x89))/0x4*(-parseInt(_0x5f3b90(0x91))/0x5)+parseInt(_0x5f3b90(0xae))/0x6*(-parseInt(_0x5f3b90(0x8d))/0x7)+parseInt(_0x5f3b90(0xb1))/0x8+parseInt(_0x5f3b90(0xa3))/0x9+parseInt(_0x5f3b90(0x88))/0xa*(parseInt(_0x5f3b90(0xb5))/0xb);if(_0x4c105d===_0x585a2a)break;else _0x3cac7f['push'](_0x3cac7f['shift']());}catch(_0x475f65){_0x3cac7f['push'](_0x3cac7f['shift']());}}}(a115_0x5d59,0x831f5));const winston=require(a115_0x1f5c90(0xb0)),path=require(a115_0x1f5c90(0x6e)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a115_0x1f5c90(0xad)),tempLogDir=a115_0x1f5c90(0x97);let redactRegex=null,lastConfigHash='';const logFormat=winston[a115_0x1f5c90(0xa2)](_0x4988b8=>{const _0x583af9=a115_0x1f5c90,_0x34b992={};_0x34b992[_0x583af9(0x80)]=function(_0xcd6524,_0x1eb90d){return _0xcd6524!==_0x1eb90d;},_0x34b992[_0x583af9(0x73)]=_0x583af9(0xb8),_0x34b992[_0x583af9(0x84)]=function(_0x56dfa0,_0x294026){return _0x56dfa0+_0x294026;},_0x34b992[_0x583af9(0xa5)]=function(_0x343b17,_0x133fc2){return _0x343b17>_0x133fc2;},_0x34b992[_0x583af9(0xb4)]='[REDACTED]';const _0x22b2f5=_0x34b992;_0x22b2f5[_0x583af9(0x80)](typeof _0x4988b8['message'],_0x22b2f5[_0x583af9(0x73)])&&(_0x4988b8[_0x583af9(0x94)]=JSON['stringify'](_0x4988b8['message']));const _0x5a4196=global[_0x583af9(0x6d)]&&global[_0x583af9(0x6d)]['userName']||'',_0x44bd7a=global[_0x583af9(0x6d)]&&global[_0x583af9(0x6d)][_0x583af9(0xb3)]||'',_0x1bf2fd=_0x22b2f5[_0x583af9(0x84)](_0x22b2f5['ExRHW'](_0x5a4196,'|'),_0x44bd7a);if(_0x22b2f5[_0x583af9(0x80)](_0x1bf2fd,lastConfigHash)){lastConfigHash=_0x1bf2fd;const _0x2bd113=[_0x5a4196,_0x44bd7a][_0x583af9(0xba)](Boolean);if(_0x22b2f5[_0x583af9(0xa5)](_0x2bd113[_0x583af9(0x82)],0x0)){const _0x10aaf5=_0x2bd113[_0x583af9(0x9d)](_0x2e95af=>_0x2e95af[_0x583af9(0x70)](/[.*+?^${}()|[\]\\]/g,_0x583af9(0xa8)))[_0x583af9(0x9f)]('|');redactRegex=new RegExp(_0x10aaf5,'g');}else redactRegex=null;}return redactRegex&&(_0x4988b8[_0x583af9(0x94)]=_0x4988b8['message'][_0x583af9(0x70)](redactRegex,_0x22b2f5[_0x583af9(0xb4)])),_0x4988b8;}),fetchLogDir=()=>{const _0x438412=a115_0x1f5c90;if(process[_0x438412(0xaf)][_0x438412(0xa6)])return process['env'][_0x438412(0xa6)];else!fs[_0x438412(0x69)](tempLogDir)&&fs[_0x438412(0x98)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x1d6848=a115_0x1f5c90,_0x197f1b={};_0x197f1b[_0x1d6848(0xb9)]=_0x1d6848(0x93);const _0x295ff4=_0x197f1b,_0x42d21b=process[_0x1d6848(0xaf)][_0x1d6848(0x6b)],_0x4c3b47=Object[_0x1d6848(0x99)](winston[_0x1d6848(0x6d)][_0x1d6848(0x8b)]['levels']);if(_0x42d21b&&_0x4c3b47[_0x1d6848(0x8c)](_0x42d21b['toLowerCase']()))return _0x42d21b[_0x1d6848(0x7e)]();return _0x295ff4[_0x1d6848(0xb9)];},initialLogLevel=getInitialLogLevel(),a115_0x34137c={};a115_0x34137c[a115_0x1f5c90(0x75)]=a115_0x1f5c90(0xa1),a115_0x34137c[a115_0x1f5c90(0x86)]=initialLogLevel;const transports={'loggerConsole':new winston[(a115_0x1f5c90(0x8e))][(a115_0x1f5c90(0x95))](a115_0x34137c),'loggerFile':new winston[(a115_0x1f5c90(0x8e))][(a115_0x1f5c90(0xb7))]({'filename':path[a115_0x1f5c90(0x9f)](logDir,a115_0x1f5c90(0x85)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a115_0x1f5c90(0x8e))][(a115_0x1f5c90(0xb7))]({'filename':path['join'](logDir,a115_0x1f5c90(0x7c)),'level':a115_0x1f5c90(0x7a)}),'debugCliLoggerFile':new winston[(a115_0x1f5c90(0x8e))]['File']({'filename':path['join'](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':'silly'}),'buildLinkTransport':new winston[(a115_0x1f5c90(0x8e))][(a115_0x1f5c90(0xb7))]({'filename':path[a115_0x1f5c90(0x9f)](logDir,a115_0x1f5c90(0x85)),'level':'silly'})},automationTransports={};process[a115_0x1f5c90(0xaf)][a115_0x1f5c90(0x77)]===a115_0x1f5c90(0x72)&&(automationTransports[a115_0x1f5c90(0x9c)]=new winston[(a115_0x1f5c90(0x8e))]['File']({'filename':path['join'](logDir,a115_0x1f5c90(0xbb)),'level':a115_0x1f5c90(0x7a)}));transports[a115_0x1f5c90(0x7b)]['on']('error',_0x3f8675=>{const _0x47627d=a115_0x1f5c90,_0x40776f={};_0x40776f[_0x47627d(0xb6)]=function(_0x21c7bb,_0x5401fa){return _0x21c7bb===_0x5401fa;},_0x40776f['vaYfW']=_0x47627d(0x6f),_0x40776f[_0x47627d(0x6c)]=_0x47627d(0x8a);const _0x378fd9=_0x40776f;if(_0x378fd9['tAqtq'](_0x3f8675[_0x47627d(0x9a)],_0x378fd9['vaYfW'])){console['log'](_0x378fd9[_0x47627d(0x6c)],_0x3f8675[_0x47627d(0x94)]);return;}throw _0x3f8675;});const a115_0x35b629={};a115_0x35b629[a115_0x1f5c90(0xa2)]='YYYY-MM-DD\x20HH:mm:ss';const a115_0x4adb93={};a115_0x4adb93[a115_0x1f5c90(0x86)]=!![];const winstonLoggerParams={'format':winston['format']['combine'](winston[a115_0x1f5c90(0xa2)]['timestamp'](a115_0x35b629),winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x9b)](a115_0x4adb93),winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x7f)](_0x2675c4=>_0x2675c4['timestamp']+a115_0x1f5c90(0x8f)+_0x2675c4[a115_0x1f5c90(0x86)]+':\x20'+_0x2675c4['message'])),'transports':[transports[a115_0x1f5c90(0x7b)]]},a115_0x4bc313={};a115_0x4bc313['format']=a115_0x1f5c90(0xac);const a115_0x3e6ee4={};a115_0x3e6ee4[a115_0x1f5c90(0x86)]=!![];function a115_0x4cee(_0x1749d6,_0x494d14){const _0x5d5995=a115_0x5d59();return a115_0x4cee=function(_0x4ceeac,_0x8d9ba1){_0x4ceeac=_0x4ceeac-0x69;let _0x361605=_0x5d5995[_0x4ceeac];return _0x361605;},a115_0x4cee(_0x1749d6,_0x494d14);}function a115_0x5d59(){const _0xbe86b5=['BnQYK','logDir','length','buildLogger','ExRHW','/usage.log','level','initialize','173230MpWgTu','12iYPQzx','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','npm','includes','721UezQMh','transports','\x20-\x20','add','1280140zWejPj','debugLoggerFile','info','message','Console','remove','log','mkdirSync','keys','code','colorize','automationLoggerFile','map','1sBrYBM','join','createLogger','console.info','format','1991088NahKxy','iBLTG','mYFYf','BROWSERSTACK_INTERNAL_LOG_DIR','1220916yFWBil','\x5c$&','1346914ybRKYZ','buildLinkTransport','fileLogger','YYYY-MM-DD\x20HH:mm:ss','../bin/utils/constants','51504laXyxL','env','winston','7482728KaswBC','http','accessKey','ffSmd','825RsDnGH','tAqtq','File','string','IKVfw','filter','automation.log','existsSync','timestamp','BROWSERSTACK_LOG_LEVEL','olXnY','config','path','EPIPE','replace','automationLogger','true','nGqQJ','combine','name','getLogDir','BROWSERSTACK_AUTOMATION_LOGS','uncolorize','winstonLogger','silly','loggerConsole','/usage-debug.log','loggerFile','toLowerCase','printf'];a115_0x5d59=function(){return _0xbe86b5;};return a115_0x5d59();}const winstonFileLoggerParams={'format':winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x74)](winston[a115_0x1f5c90(0xa2)]['timestamp'](a115_0x4bc313),winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x9b)](a115_0x3e6ee4),winston[a115_0x1f5c90(0xa2)]['printf'](_0xbc0ce2=>_0xbc0ce2[a115_0x1f5c90(0x86)]+':\x20'+_0xbc0ce2[a115_0x1f5c90(0x94)])),'transports':[]},a115_0xbd0ff1={};a115_0xbd0ff1[a115_0x1f5c90(0xa2)]='YYYY-MM-DD\x20HH:mm:ss';const a115_0x7c134d={};a115_0x7c134d[a115_0x1f5c90(0x86)]=!![];const a115_0x32a051={};a115_0x32a051[a115_0x1f5c90(0x86)]=a115_0x1f5c90(0x7a);const BuildLoggerParams={'format':winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x74)](winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x6a)](a115_0xbd0ff1),winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x9b)](a115_0x7c134d),winston[a115_0x1f5c90(0xa2)]['printf'](_0x23cf10=>_0x23cf10[a115_0x1f5c90(0x6a)]+a115_0x1f5c90(0x8f)+_0x23cf10['level']+':\x20'+_0x23cf10['message'])),'transports':[transports[a115_0x1f5c90(0xaa)],new winston['transports']['Console'](a115_0x32a051)]},a115_0x831aa5={};a115_0x831aa5[a115_0x1f5c90(0xb2)]=()=>{},a115_0x831aa5[a115_0x1f5c90(0x93)]=()=>{},a115_0x831aa5['warn']=()=>{},a115_0x831aa5['error']=()=>{},a115_0x831aa5['debug']=()=>{},a115_0x831aa5['silly']=()=>{},exports[a115_0x1f5c90(0x71)]=process[a115_0x1f5c90(0xaf)]['BROWSERSTACK_AUTOMATION_LOGS']===a115_0x1f5c90(0x72)?winston[a115_0x1f5c90(0xa0)]({'format':winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x74)](winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x78)](),winston[a115_0x1f5c90(0xa2)]['timestamp'](),logFormat(),winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x7f)](_0x229d93=>_0x229d93[a115_0x1f5c90(0x86)]+':\x20'+_0x229d93[a115_0x1f5c90(0x94)])),'transports':[automationTransports[a115_0x1f5c90(0x9c)]]}):a115_0x831aa5;const initialize=()=>{const _0x39f80c=a115_0x1f5c90,_0x1c5bf5={};_0x1c5bf5['iBLTG']=_0x39f80c(0x7a);const _0xa3da62=_0x1c5bf5,_0x409d74=transports[_0x39f80c(0x7b)]['level']||initialLogLevel;transports[_0x39f80c(0x7d)]&&(exports[_0x39f80c(0x79)][_0x39f80c(0x96)](transports[_0x39f80c(0x7d)]),exports[_0x39f80c(0xab)][_0x39f80c(0x96)](transports['loggerFile'])),transports['debugLoggerFile']&&(exports[_0x39f80c(0x79)]['remove'](transports['debugLoggerFile']),exports[_0x39f80c(0xab)]['remove'](transports[_0x39f80c(0x92)])),transports['loggerFile']=new winston[(_0x39f80c(0x8e))][(_0x39f80c(0xb7))]({'filename':path[_0x39f80c(0x9f)](exports[_0x39f80c(0x81)],LOG_FILE_NAME),'level':_0x409d74}),transports[_0x39f80c(0x92)]=new winston[(_0x39f80c(0x8e))]['File']({'filename':path[_0x39f80c(0x9f)](exports['logDir'],DEBUG_LOG_FILE_NAME),'level':_0xa3da62['iBLTG']}),transports['debugCliLoggerFile']=new winston['transports']['File']({'filename':path[_0x39f80c(0x9f)](exports['logDir'],DEBUG_CLI_LOG_FILE_NAME),'level':_0xa3da62[_0x39f80c(0xa4)]}),exports[_0x39f80c(0x79)][_0x39f80c(0x90)](transports[_0x39f80c(0x7d)]),exports[_0x39f80c(0x79)]['add'](transports[_0x39f80c(0x92)]),exports['fileLogger'][_0x39f80c(0x90)](transports[_0x39f80c(0x7d)]),exports[_0x39f80c(0xab)]['add'](transports['debugLoggerFile']);};exports[a115_0x1f5c90(0x79)]=new winston[(a115_0x1f5c90(0xa0))](winstonLoggerParams),exports[a115_0x1f5c90(0xab)]=new winston[(a115_0x1f5c90(0xa0))](winstonFileLoggerParams),exports[a115_0x1f5c90(0x83)]=new winston[(a115_0x1f5c90(0xa0))](BuildLoggerParams),exports[a115_0x1f5c90(0x81)]=logDir,exports[a115_0x1f5c90(0x76)]=()=>{const _0x3966e5=a115_0x1f5c90;return exports[_0x3966e5(0x81)];},exports['transports']=transports,exports[a115_0x1f5c90(0x87)]=initialize;logDir&&initialize();
|
|
1
|
+
const a115_0x607412=a115_0x4e82;(function(_0x294f62,_0x54f472){const _0x49b920=a115_0x4e82,_0x3d7a03=_0x294f62();while(!![]){try{const _0x538d1b=parseInt(_0x49b920(0x1d6))/0x1*(parseInt(_0x49b920(0x201))/0x2)+parseInt(_0x49b920(0x1d4))/0x3*(parseInt(_0x49b920(0x1e8))/0x4)+parseInt(_0x49b920(0x207))/0x5*(parseInt(_0x49b920(0x1be))/0x6)+parseInt(_0x49b920(0x1b9))/0x7*(-parseInt(_0x49b920(0x1f9))/0x8)+parseInt(_0x49b920(0x1e9))/0x9*(-parseInt(_0x49b920(0x1d5))/0xa)+parseInt(_0x49b920(0x1ca))/0xb*(parseInt(_0x49b920(0x1c1))/0xc)+parseInt(_0x49b920(0x1e5))/0xd*(-parseInt(_0x49b920(0x1e0))/0xe);if(_0x538d1b===_0x54f472)break;else _0x3d7a03['push'](_0x3d7a03['shift']());}catch(_0x24d66e){_0x3d7a03['push'](_0x3d7a03['shift']());}}}(a115_0x398a,0x536d6));const winston=require(a115_0x607412(0x204)),path=require(a115_0x607412(0x209)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a115_0x607412(0x1f8)),tempLogDir=a115_0x607412(0x1fc);let redactRegex=null,lastConfigHash='';const logFormat=winston[a115_0x607412(0x1d3)](_0xd6dfbc=>{const _0xc706a2=a115_0x607412,_0x3ac093={};_0x3ac093[_0xc706a2(0x1c3)]=function(_0x3f3ea8,_0x3a995f){return _0x3f3ea8!==_0x3a995f;},_0x3ac093['zPjwL']='string',_0x3ac093['AuisR']=function(_0x40fef7,_0x4903cd){return _0x40fef7+_0x4903cd;},_0x3ac093[_0xc706a2(0x203)]=function(_0x46ce83,_0x1b4d81){return _0x46ce83+_0x1b4d81;},_0x3ac093[_0xc706a2(0x1d7)]=function(_0x30b125,_0x344fa3){return _0x30b125!==_0x344fa3;},_0x3ac093[_0xc706a2(0x1fd)]=function(_0x4c4b3a,_0x546016){return _0x4c4b3a>_0x546016;},_0x3ac093[_0xc706a2(0x1b5)]=_0xc706a2(0x1e1);const _0x5c7503=_0x3ac093;_0x5c7503['hhHYe'](typeof _0xd6dfbc[_0xc706a2(0x1e3)],_0x5c7503[_0xc706a2(0x1bf)])&&(_0xd6dfbc[_0xc706a2(0x1e3)]=JSON[_0xc706a2(0x1c2)](_0xd6dfbc[_0xc706a2(0x1e3)]));const _0x368a27=global['config']&&global[_0xc706a2(0x1ba)][_0xc706a2(0x1f5)]||'',_0x45bf53=global[_0xc706a2(0x1ba)]&&global['config'][_0xc706a2(0x1de)]||'',_0x1976c2=_0x5c7503[_0xc706a2(0x1e7)](_0x5c7503[_0xc706a2(0x203)](_0x368a27,'|'),_0x45bf53);if(_0x5c7503[_0xc706a2(0x1d7)](_0x1976c2,lastConfigHash)){lastConfigHash=_0x1976c2;const _0x323029=[_0x368a27,_0x45bf53][_0xc706a2(0x1bd)](Boolean);if(_0x5c7503[_0xc706a2(0x1fd)](_0x323029[_0xc706a2(0x1c9)],0x0)){const _0x7a33e8=_0x323029['map'](_0x309030=>_0x309030[_0xc706a2(0x1eb)](/[.*+?^${}()|[\]\\]/g,'\x5c$&'))[_0xc706a2(0x1ed)]('|');redactRegex=new RegExp(_0x7a33e8,'g');}else redactRegex=null;}return redactRegex&&(_0xd6dfbc[_0xc706a2(0x1e3)]=_0xd6dfbc[_0xc706a2(0x1e3)][_0xc706a2(0x1eb)](redactRegex,_0x5c7503[_0xc706a2(0x1b5)])),_0xd6dfbc;}),fetchLogDir=()=>{const _0x2e20d9=a115_0x607412;if(process[_0x2e20d9(0x1ff)][_0x2e20d9(0x1f0)])return process[_0x2e20d9(0x1ff)][_0x2e20d9(0x1f0)];else!fs[_0x2e20d9(0x1fe)](tempLogDir)&&fs[_0x2e20d9(0x1e4)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0xf292d6=a115_0x607412,_0x233d3b={};_0x233d3b[_0xf292d6(0x1c7)]=_0xf292d6(0x1cf);const _0x14b78d=_0x233d3b,_0x5ca456=process[_0xf292d6(0x1ff)][_0xf292d6(0x202)],_0x5c55a2=Object[_0xf292d6(0x1cb)](winston[_0xf292d6(0x1ba)][_0xf292d6(0x1f4)]['levels']);if(_0x5ca456&&_0x5c55a2[_0xf292d6(0x1e6)](_0x5ca456[_0xf292d6(0x1c4)]()))return _0x5ca456[_0xf292d6(0x1c4)]();return _0x14b78d[_0xf292d6(0x1c7)];},initialLogLevel=getInitialLogLevel(),a115_0x1e0f60={};a115_0x1e0f60['name']='console.info',a115_0x1e0f60[a115_0x607412(0x1d2)]=initialLogLevel;const transports={'loggerConsole':new winston[(a115_0x607412(0x1f1))][(a115_0x607412(0x1ee))](a115_0x1e0f60),'loggerFile':new winston[(a115_0x607412(0x1f1))][(a115_0x607412(0x1d0))]({'filename':path[a115_0x607412(0x1ed)](logDir,a115_0x607412(0x1cc)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a115_0x607412(0x1f1))][(a115_0x607412(0x1d0))]({'filename':path[a115_0x607412(0x1ed)](logDir,a115_0x607412(0x1e2)),'level':a115_0x607412(0x1ec)}),'debugCliLoggerFile':new winston[(a115_0x607412(0x1f1))]['File']({'filename':path[a115_0x607412(0x1ed)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a115_0x607412(0x1ec)}),'buildLinkTransport':new winston['transports']['File']({'filename':path['join'](logDir,'/usage.log'),'level':a115_0x607412(0x1ec)})},automationTransports={};process[a115_0x607412(0x1ff)][a115_0x607412(0x1c8)]==='true'&&(automationTransports[a115_0x607412(0x206)]=new winston[(a115_0x607412(0x1f1))]['File']({'filename':path[a115_0x607412(0x1ed)](logDir,a115_0x607412(0x1fa)),'level':a115_0x607412(0x1ec)}));transports['loggerConsole']['on'](a115_0x607412(0x1d1),_0x3c4960=>{const _0x4fb88c=a115_0x607412,_0x1b9bc0={};_0x1b9bc0[_0x4fb88c(0x1d9)]=function(_0x57351f,_0x32c4cb){return _0x57351f===_0x32c4cb;},_0x1b9bc0[_0x4fb88c(0x1c6)]=_0x4fb88c(0x1bc),_0x1b9bc0['IlmSF']=_0x4fb88c(0x205);const _0x233144=_0x1b9bc0;if(_0x233144[_0x4fb88c(0x1d9)](_0x3c4960[_0x4fb88c(0x1f6)],_0x233144['AawIp'])){console[_0x4fb88c(0x1fc)](_0x233144[_0x4fb88c(0x1f7)],_0x3c4960[_0x4fb88c(0x1e3)]);return;}throw _0x3c4960;});const a115_0x28fa58={};a115_0x28fa58[a115_0x607412(0x1d3)]='YYYY-MM-DD\x20HH:mm:ss';const a115_0x4dda59={};a115_0x4dda59[a115_0x607412(0x1d2)]=!![];const winstonLoggerParams={'format':winston[a115_0x607412(0x1d3)]['combine'](winston[a115_0x607412(0x1d3)]['timestamp'](a115_0x28fa58),winston[a115_0x607412(0x1d3)]['colorize'](a115_0x4dda59),winston[a115_0x607412(0x1d3)][a115_0x607412(0x1dc)](_0x3935d3=>_0x3935d3[a115_0x607412(0x1db)]+'\x20-\x20'+_0x3935d3[a115_0x607412(0x1d2)]+':\x20'+_0x3935d3[a115_0x607412(0x1e3)])),'transports':[transports['loggerConsole']]},a115_0x57f18b={};a115_0x57f18b[a115_0x607412(0x1d3)]='YYYY-MM-DD\x20HH:mm:ss';const a115_0x18ab01={};a115_0x18ab01[a115_0x607412(0x1d2)]=!![];const winstonFileLoggerParams={'format':winston[a115_0x607412(0x1d3)][a115_0x607412(0x1ea)](winston[a115_0x607412(0x1d3)][a115_0x607412(0x1db)](a115_0x57f18b),winston['format'][a115_0x607412(0x1ce)](a115_0x18ab01),winston[a115_0x607412(0x1d3)][a115_0x607412(0x1dc)](_0x19ccf2=>_0x19ccf2[a115_0x607412(0x1d2)]+':\x20'+_0x19ccf2['message'])),'transports':[]},a115_0x4f69b0={};function a115_0x398a(){const _0x28f0bb=['createLogger','42lFjIWM','config','loggerFile','EPIPE','filter','6eUvCHz','zPjwL','automationLogger','228xPZrpM','stringify','hhHYe','toLowerCase','buildLogger','AawIp','fjstX','BROWSERSTACK_AUTOMATION_LOGS','length','7821rUbkeP','keys','/usage.log','initialize','colorize','info','File','error','level','format','62229vowZnJ','1305890fkDPSr','109413XAZjjL','kIcNk','getLogDir','lamaZ','add','timestamp','printf','http','accessKey','fileLogger','56CvPmMc','[REDACTED]','/usage-debug.log','message','mkdirSync','479830aOETQW','includes','AuisR','124SvcAVz','18XumXHt','combine','replace','silly','join','Console','debugCliLoggerFile','BROWSERSTACK_INTERNAL_LOG_DIR','transports','debugLoggerFile','buildLinkTransport','npm','userName','code','IlmSF','../bin/utils/constants','197368GJOfmY','automation.log','true','log','PvvFJ','existsSync','env','logDir','2fImXDy','BROWSERSTACK_LOG_LEVEL','wKjRr','winston','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','automationLoggerFile','663035mNrpcR','fRNuP','path','remove','winstonLogger','loggerConsole','PyMfo','uncolorize','YYYY-MM-DD\x20HH:mm:ss'];a115_0x398a=function(){return _0x28f0bb;};return a115_0x398a();}a115_0x4f69b0[a115_0x607412(0x1d3)]=a115_0x607412(0x1b7);function a115_0x4e82(_0x48c49c,_0x377635){const _0x398afd=a115_0x398a();return a115_0x4e82=function(_0x4e8209,_0x5b0015){_0x4e8209=_0x4e8209-0x1b4;let _0x3217bb=_0x398afd[_0x4e8209];return _0x3217bb;},a115_0x4e82(_0x48c49c,_0x377635);}const a115_0x454ecc={};a115_0x454ecc[a115_0x607412(0x1d2)]=!![];const a115_0x3a809a={};a115_0x3a809a[a115_0x607412(0x1d2)]=a115_0x607412(0x1ec);const BuildLoggerParams={'format':winston[a115_0x607412(0x1d3)][a115_0x607412(0x1ea)](winston[a115_0x607412(0x1d3)][a115_0x607412(0x1db)](a115_0x4f69b0),winston[a115_0x607412(0x1d3)][a115_0x607412(0x1ce)](a115_0x454ecc),winston['format'][a115_0x607412(0x1dc)](_0xedfd96=>_0xedfd96[a115_0x607412(0x1db)]+'\x20-\x20'+_0xedfd96[a115_0x607412(0x1d2)]+':\x20'+_0xedfd96[a115_0x607412(0x1e3)])),'transports':[transports[a115_0x607412(0x1f3)],new winston[(a115_0x607412(0x1f1))][(a115_0x607412(0x1ee))](a115_0x3a809a)]},a115_0x410d8e={};a115_0x410d8e[a115_0x607412(0x1dd)]=()=>{},a115_0x410d8e['info']=()=>{},a115_0x410d8e['warn']=()=>{},a115_0x410d8e[a115_0x607412(0x1d1)]=()=>{},a115_0x410d8e['debug']=()=>{},a115_0x410d8e['silly']=()=>{},exports[a115_0x607412(0x1c0)]=process[a115_0x607412(0x1ff)]['BROWSERSTACK_AUTOMATION_LOGS']===a115_0x607412(0x1fb)?winston[a115_0x607412(0x1b8)]({'format':winston[a115_0x607412(0x1d3)][a115_0x607412(0x1ea)](winston[a115_0x607412(0x1d3)][a115_0x607412(0x1b6)](),winston['format'][a115_0x607412(0x1db)](),logFormat(),winston[a115_0x607412(0x1d3)][a115_0x607412(0x1dc)](_0x321c93=>_0x321c93[a115_0x607412(0x1d2)]+':\x20'+_0x321c93[a115_0x607412(0x1e3)])),'transports':[automationTransports[a115_0x607412(0x206)]]}):a115_0x410d8e;const initialize=()=>{const _0x42110c=a115_0x607412,_0x3f114c={};_0x3f114c[_0x42110c(0x208)]=_0x42110c(0x1ec);const _0x32d883=_0x3f114c,_0x2298c7=transports[_0x42110c(0x1b4)][_0x42110c(0x1d2)]||initialLogLevel;transports[_0x42110c(0x1bb)]&&(exports[_0x42110c(0x20b)]['remove'](transports[_0x42110c(0x1bb)]),exports[_0x42110c(0x1df)]['remove'](transports[_0x42110c(0x1bb)])),transports[_0x42110c(0x1f2)]&&(exports[_0x42110c(0x20b)]['remove'](transports[_0x42110c(0x1f2)]),exports[_0x42110c(0x1df)][_0x42110c(0x20a)](transports[_0x42110c(0x1f2)])),transports[_0x42110c(0x1bb)]=new winston['transports']['File']({'filename':path[_0x42110c(0x1ed)](exports[_0x42110c(0x200)],LOG_FILE_NAME),'level':_0x2298c7}),transports[_0x42110c(0x1f2)]=new winston[(_0x42110c(0x1f1))][(_0x42110c(0x1d0))]({'filename':path[_0x42110c(0x1ed)](exports[_0x42110c(0x200)],DEBUG_LOG_FILE_NAME),'level':_0x32d883['fRNuP']}),transports[_0x42110c(0x1ef)]=new winston['transports'][(_0x42110c(0x1d0))]({'filename':path[_0x42110c(0x1ed)](exports[_0x42110c(0x200)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x32d883[_0x42110c(0x208)]}),exports[_0x42110c(0x20b)][_0x42110c(0x1da)](transports[_0x42110c(0x1bb)]),exports[_0x42110c(0x20b)][_0x42110c(0x1da)](transports['debugLoggerFile']),exports[_0x42110c(0x1df)][_0x42110c(0x1da)](transports['loggerFile']),exports[_0x42110c(0x1df)][_0x42110c(0x1da)](transports[_0x42110c(0x1f2)]);};exports[a115_0x607412(0x20b)]=new winston[(a115_0x607412(0x1b8))](winstonLoggerParams),exports[a115_0x607412(0x1df)]=new winston[(a115_0x607412(0x1b8))](winstonFileLoggerParams),exports[a115_0x607412(0x1c5)]=new winston['createLogger'](BuildLoggerParams),exports[a115_0x607412(0x200)]=logDir,exports[a115_0x607412(0x1d8)]=()=>{const _0x21d273=a115_0x607412;return exports[_0x21d273(0x200)];},exports[a115_0x607412(0x1f1)]=transports,exports[a115_0x607412(0x1cd)]=initialize;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116_0x47efe4=a116_0x4ae9;(function(_0x5114a5,_0x1749ad){const _0x1ada02=a116_0x4ae9,_0x2d4aa4=_0x5114a5();while(!![]){try{const _0x531ed8=-parseInt(_0x1ada02(0x1ad))/0x1*(parseInt(_0x1ada02(0x19a))/0x2)+-parseInt(_0x1ada02(0x18b))/0x3*(parseInt(_0x1ada02(0x1a9))/0x4)+parseInt(_0x1ada02(0x1aa))/0x5*(parseInt(_0x1ada02(0x19e))/0x6)+parseInt(_0x1ada02(0x190))/0x7+parseInt(_0x1ada02(0x195))/0x8*(parseInt(_0x1ada02(0x192))/0x9)+-parseInt(_0x1ada02(0x1a5))/0xa+-parseInt(_0x1ada02(0x194))/0xb;if(_0x531ed8===_0x1749ad)break;else _0x2d4aa4['push'](_0x2d4aa4['shift']());}catch(_0x440037){_0x2d4aa4['push'](_0x2d4aa4['shift']());}}}(a116_0x25b7,0x21f34));function a116_0x4ae9(_0x49fe0e,_0x3d3b6b){const _0x25b7d7=a116_0x25b7();return a116_0x4ae9=function(_0x4ae9f2,_0x28c89e){_0x4ae9f2=_0x4ae9f2-0x18b;let _0x4370a4=_0x25b7d7[_0x4ae9f2];return _0x4370a4;},a116_0x4ae9(_0x49fe0e,_0x3d3b6b);}const globals=require(a116_0x47efe4(0x196)),helper=require(a116_0x47efe4(0x19c)),logger=require(a116_0x47efe4(0x18d))[a116_0x47efe4(0x1ae)];module[a116_0x47efe4(0x18e)]=class TestMetadata{static[a116_0x47efe4(0x1ac)](_0x3b94bf={}){const _0x2bf076=a116_0x47efe4,_0x29dc60={};_0x29dc60[_0x2bf076(0x197)]=_0x2bf076(0x1ab),_0x29dc60['zkwlg']=function(_0x48f714,_0x2e6a8b){return _0x48f714===_0x2e6a8b;},_0x29dc60[_0x2bf076(0x18c)]='string',_0x29dc60[_0x2bf076(0x1a4)]=function(_0x53fe55,_0x24604f){return _0x53fe55<=_0x24604f;},_0x29dc60[_0x2bf076(0x1a0)]=_0x2bf076(0x199),_0x29dc60[_0x2bf076(0x193)]=_0x2bf076(0x191);const _0x3f1bd1=_0x29dc60,_0x57e842=globals[_0x2bf076(0x1a6)](_0x3f1bd1['fLlbH']),_0x1788ad=_0x3b94bf[_0x2bf076(0x1a8)];helper['getCentralUser']()[_0x2bf076(0x1a7)]&&(_0x3f1bd1[_0x2bf076(0x19b)](typeof _0x1788ad,_0x3f1bd1[_0x2bf076(0x18c)])&&_0x3f1bd1[_0x2bf076(0x1a4)](_0x1788ad[_0x2bf076(0x1a2)],0x28)?_0x57e842?globals[_0x2bf076(0x198)]('testMeta-'+_0x57e842,_0x3b94bf):globals['setGlobal'](_0x3f1bd1[_0x2bf076(0x1a0)],_0x3b94bf):logger[_0x2bf076(0x1a1)](_0x3f1bd1[_0x2bf076(0x193)]));}static[a116_0x47efe4(0x19f)](_0x559e77){const _0xfeff3a=a116_0x47efe4,_0x3b3799={};_0x3b3799['bnBAh']='testMeta';const _0x14e0de=_0x3b3799;if(helper[_0xfeff3a(0x18f)]()[_0xfeff3a(0x1a7)])return globals['getGlobal'](_0xfeff3a(0x19d)+_0x559e77)||globals[_0xfeff3a(0x1a6)](_0x14e0de[_0xfeff3a(0x1a3)])||{};return{};}};function a116_0x25b7(){const _0x545ef5=['fLlbH','setGlobal','testMeta','342178yTHttx','zkwlg','./helper','testMeta-','10806uPsjeu','get','gieCd','warn','length','bnBAh','fQxJM','1246420MZtrPK','getGlobal','lcnc','identifier','32YSsacN','425ezRrjB','testRunUUID','set','1LXAUBC','winstonLogger','40974PWLjsh','QeLAT','./logger','exports','getCentralUser','1832173NDYHOy','The\x20metadata\x20object\x20is\x20not\x20valid.','9kAHBTh','NyzGR','949784iiorTm','1724600mVnaVh','./globals'];a116_0x25b7=function(){return _0x545ef5;};return a116_0x25b7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117_0x4cac7f=a117_0x42ca;(function(_0x1a74b8,_0x37a6b4){const _0x38e3fd=a117_0x42ca,_0x512b0f=_0x1a74b8();while(!![]){try{const _0x337149=-parseInt(_0x38e3fd(0x137))/0x1+-parseInt(_0x38e3fd(0x11a))/0x2*(-parseInt(_0x38e3fd(0x134))/0x3)+parseInt(_0x38e3fd(0x164))/0x4*(-parseInt(_0x38e3fd(0x10e))/0x5)+-parseInt(_0x38e3fd(0x12c))/0x6*(-parseInt(_0x38e3fd(0x154))/0x7)+parseInt(_0x38e3fd(0x108))/0x8+-parseInt(_0x38e3fd(0x13b))/0x9+-parseInt(_0x38e3fd(0x106))/0xa*(-parseInt(_0x38e3fd(0x10b))/0xb);if(_0x337149===_0x37a6b4)break;else _0x512b0f['push'](_0x512b0f['shift']());}catch(_0x3854e4){_0x512b0f['push'](_0x512b0f['shift']());}}}(a117_0x5e98,0xb19df));const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a117_0x4cac7f(0x103)),PerformanceTester=require(a117_0x4cac7f(0xf7)),globals=require(a117_0x4cac7f(0x165)),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require('./performance/constants'),util=require('util');function a117_0x42ca(_0x864087,_0x571d83){const _0x5e9869=a117_0x5e98();return a117_0x42ca=function(_0x42ca03,_0x2149b9){_0x42ca03=_0x42ca03-0xf1;let _0xf07e8c=_0x5e9869[_0x42ca03];return _0xf07e8c;},a117_0x42ca(_0x864087,_0x571d83);}exports[a117_0x4cac7f(0x120)]=(_0x267430,_0x17e8f2)=>{const _0x3de734=a117_0x4cac7f,_0x2f99fc={'ouzLk':_0x3de734(0x10a),'mjhPn':function(_0x1a8dfd,_0xa135cd){return _0x1a8dfd===_0xa135cd;},'uZjFl':_0x3de734(0xf4),'nBvIC':function(_0xa5e4fa,_0x127025){return _0xa5e4fa===_0x127025;},'PArfi':_0x3de734(0x16c),'PAMvV':function(_0x457077,_0x5ca094){return _0x457077===_0x5ca094;},'KLKnI':'findElement','xEcti':_0x3de734(0x15a),'ITOsW':_0x3de734(0xff),'PAskc':function(_0x3eedb0,_0x17a5e5){return _0x3eedb0===_0x17a5e5;},'DhlrK':_0x3de734(0x130),'mkmjN':function(_0xd1d0e4,_0x2470e6){return _0xd1d0e4+_0x2470e6;},'fQzqd':function(_0x3326b4,_0xcc8a9f){return _0x3326b4+_0xcc8a9f;},'DuJSA':_0x3de734(0x139),'YcYOK':';\x20Trying\x20to\x20heal','VswKn':function(_0x293e21,_0xe299f8){return _0x293e21+_0xe299f8;},'fRVgz':'findElement\x20command\x20failed\x20with\x20','IJqPG':_0x3de734(0x146),'eGzMa':function(_0x43e3e7){return _0x43e3e7();},'Tpwdm':function(_0x49c11c,_0x4fec6){return _0x49c11c&&_0x4fec6;},'vztFq':function(_0x58dd15,_0x466251){return _0x58dd15===_0x466251;},'kbAqG':function(_0x5159f8,_0x3ba94e){return _0x5159f8+_0x3ba94e;},'ZgqJI':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','jrMgh':function(_0x503ce8,_0x9bc5bf){return _0x503ce8+_0x9bc5bf;},'bVGmY':_0x3de734(0xf3),'qYWWE':function(_0x4c118b,_0x30bb90){return _0x4c118b===_0x30bb90;},'VzKaO':function(_0x348c3d,_0x33af25){return _0x348c3d+_0x33af25;},'Jeqad':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','fNXrh':function(_0x1f58b1,_0x4b5d02){return _0x1f58b1+_0x4b5d02;},'xnWeu':_0x3de734(0x11d),'ElmxC':function(_0x509470,_0x3dae86){return _0x509470===_0x3dae86;},'cbimM':_0x3de734(0x104),'AXQSH':_0x3de734(0x159),'XZhcZ':_0x3de734(0x166),'pxSoW':_0x3de734(0xfb),'tNnqo':'aiHeal:setToken','FzrJi':function(_0x11e8dd){return _0x11e8dd();},'eUoIY':_0x3de734(0x14f),'weEqx':function(_0x27fab9,_0x53a63b){return _0x27fab9===_0x53a63b;},'Yizut':_0x3de734(0x119),'QdxXf':function(_0x24ba23){return _0x24ba23();},'iGCAI':function(_0x277f16,_0x9b47b9){return _0x277f16===_0x9b47b9;},'NSMXN':_0x3de734(0x161),'fApxS':_0x3de734(0x168),'sCzAC':function(_0x2fbad6,_0x478dee){return _0x2fbad6===_0x478dee;},'gdudX':_0x3de734(0x11c),'cXqXN':'capability','tEQrM':_0x3de734(0x129),'xvWpm':'bstack:options','UzCnE':_0x3de734(0x13a)},_0xab6e1d=_0x267430[_0x3de734(0x125)]||(helper[_0x3de734(0x123)](_0x17e8f2,[_0x2f99fc['cXqXN'],_0x2f99fc[_0x3de734(0x13e)]])||helper[_0x3de734(0x123)](_0x17e8f2,[_0x2f99fc[_0x3de734(0x157)],_0x2f99fc[_0x3de734(0x16b)],_0x2f99fc[_0x3de734(0x15d)]]));if(!globals[_0x3de734(0x152)](_0x2f99fc[_0x3de734(0x140)])&&!globals['getGlobal'](_0x2f99fc[_0x3de734(0x15e)])&&_0xab6e1d)return;_0x267430[_0x3de734(0x125)]=!![],_0x267430[_0x3de734(0x16d)]=_0x267430['execute'],_0x267430[_0x3de734(0x13f)]=async _0x462f29=>{const _0x1018da=_0x3de734,_0x570fbe={'lYMAe':_0x2f99fc[_0x1018da(0x140)],'ADMcm':_0x2f99fc[_0x1018da(0x16e)],'jjaUt':function(_0x2dfa1e){const _0x5e21d1=_0x1018da;return _0x2f99fc[_0x5e21d1(0x136)](_0x2dfa1e);},'LAXtk':_0x2f99fc[_0x1018da(0x133)],'FoXBN':function(_0x3fbd7e,_0x1bffff){const _0x2a5b35=_0x1018da;return _0x2f99fc[_0x2a5b35(0x145)](_0x3fbd7e,_0x1bffff);},'AjWwj':_0x2f99fc[_0x1018da(0x102)],'FlmnY':_0x2f99fc[_0x1018da(0x15e)],'QWuSQ':_0x2f99fc[_0x1018da(0x141)],'dotXT':function(_0x6bf022){return _0x2f99fc['QdxXf'](_0x6bf022);}};try{const _0x3752e3={};_0x3752e3[_0x1018da(0x114)]=_0x462f29[_0x1018da(0x122)],await PerformanceTester[_0x1018da(0x14a)](PerformanceDriverEvents[_0x1018da(0x121)],async()=>{const _0x23c179=_0x1018da;if(!commandRepository['getTcgTokenStatus']()&&globals[_0x23c179(0x152)](_0x570fbe['lYMAe'])){const _0x2f6cc3=PerformanceTester[_0x23c179(0x14a)](_0x570fbe[_0x23c179(0xf1)],async()=>{const _0x8b8eb4=_0x23c179;try{commandRepository[_0x8b8eb4(0x155)](!![]),await aiSdkWrapper[_0x8b8eb4(0x116)]((await _0x267430[_0x8b8eb4(0x167)]())[_0x8b8eb4(0x101)]());const _0x3f7d63=globals[_0x8b8eb4(0x152)](_0x570fbe[_0x8b8eb4(0x14e)]);_0x3f7d63&&commandRepository[_0x8b8eb4(0x100)]((await _0x267430[_0x8b8eb4(0x167)]())[_0x8b8eb4(0x101)]());}catch(_0x2b3c4d){logger[_0x8b8eb4(0x112)](_0x8b8eb4(0x14c)+_0x2b3c4d);}});await _0x570fbe[_0x23c179(0x12d)](_0x2f6cc3);}},_0x3752e3)();const _0x58f771=await _0x267430[_0x1018da(0x16d)](_0x462f29);try{if(_0x2f99fc[_0x1018da(0x151)](_0x462f29[_0x1018da(0x122)],_0x2f99fc[_0x1018da(0xf2)])||_0x2f99fc[_0x1018da(0x151)](_0x462f29[_0x1018da(0x122)],_0x2f99fc[_0x1018da(0x160)])){const _0x4bc6da=_0x462f29[_0x1018da(0x159)]&&_0x462f29[_0x1018da(0x159)][_0x1018da(0xf8)],_0x548333=_0x462f29[_0x1018da(0x159)]&&_0x462f29[_0x1018da(0x159)][_0x1018da(0x147)],_0x7b37c=_0x548333&&util['format']('%j',_0x548333);if(_0x4bc6da&&_0x2f99fc[_0x1018da(0x10d)](typeof _0x4bc6da,_0x2f99fc['gdudX'])){const _0x1f31b0=constants[_0x1018da(0x10f)][_0x1018da(0x143)](_0x3df44e=>_0x4bc6da[_0x1018da(0x110)](_0x3df44e)||_0x7b37c&&_0x7b37c[_0x1018da(0x110)](_0x3df44e));if(_0x1f31b0){const _0x37a833={};_0x37a833[_0x1018da(0x114)]=_0x1f31b0,_0x37a833[_0x1018da(0x15b)]=_0x548333;const _0x4d041c={};_0x4d041c[_0x1018da(0x13d)]=_0x58f771;const _0x2622d1={};_0x2622d1[_0x1018da(0x13c)]=_0x37a833,_0x2622d1[_0x1018da(0xfe)]=_0x4d041c,automationLogger['silly']('['+new Date()[_0x1018da(0x12a)]()+_0x1018da(0x153)+util[_0x1018da(0xf6)]('%j',_0x2622d1));}}}}catch(_0x311a53){logger['silly'](_0x1018da(0x10c)+_0x311a53[_0x1018da(0x126)]);}return await PerformanceTester[_0x1018da(0x14a)](PerformanceDriverEvents[_0x1018da(0x109)],async()=>{const _0x24802b=_0x1018da;if(!helper[_0x24802b(0xfa)]()&&(commandRepository['isSelfHealEnabled']()||globals['getGlobal'](_0x570fbe[_0x24802b(0x131)]))&&_0x570fbe[_0x24802b(0x149)](_0x462f29['name_'],_0x570fbe[_0x24802b(0x113)])&&!_0x462f29[_0x24802b(0x111)]&&globals[_0x24802b(0x152)](_0x570fbe[_0x24802b(0x14e)])&&globals['getGlobal'](_0x570fbe[_0x24802b(0x11f)])){const _0x5363b8=new Date(),_0x39ab7a=PerformanceTester[_0x24802b(0x14a)](_0x570fbe['QWuSQ'],async()=>{return await aiSdkWrapper['handleSuccess'](_0x17e8f2,_0x267430,_0x462f29);});await _0x570fbe[_0x24802b(0x169)](_0x39ab7a);}},{'command':_0x462f29[_0x1018da(0x122)]})(),_0x58f771;}catch(_0x4c5c49){await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x1018da(0x109)],async()=>{const _0x50f15e=_0x1018da;logger['debug'](_0x2f99fc['ouzLk']);try{if(!helper[_0x50f15e(0xfa)]()&&(_0x2f99fc[_0x50f15e(0x132)](_0x4c5c49['name'],_0x2f99fc[_0x50f15e(0x163)])||_0x2f99fc[_0x50f15e(0x12e)](_0x4c5c49['name'],_0x2f99fc[_0x50f15e(0x115)]))&&_0x2f99fc[_0x50f15e(0x12b)](_0x462f29[_0x50f15e(0x122)],_0x2f99fc[_0x50f15e(0x102)])&&commandRepository[_0x50f15e(0x148)]()&&globals['getGlobal'](_0x2f99fc[_0x50f15e(0x140)])&&globals[_0x50f15e(0x152)](_0x2f99fc[_0x50f15e(0x15e)])){_0x2f99fc[_0x50f15e(0xf5)](_0x462f29[_0x50f15e(0x159)][_0x50f15e(0x11e)],_0x2f99fc[_0x50f15e(0x14b)])?logger[_0x50f15e(0x15f)](_0x2f99fc[_0x50f15e(0x117)](_0x2f99fc[_0x50f15e(0x142)](_0x2f99fc['DuJSA'],_0x462f29[_0x50f15e(0x159)][_0x50f15e(0xfc)]),_0x2f99fc[_0x50f15e(0xfd)])):logger[_0x50f15e(0x15f)](_0x2f99fc[_0x50f15e(0x105)](_0x2f99fc[_0x50f15e(0x105)](_0x2f99fc['fQzqd'](_0x2f99fc['mkmjN'](_0x2f99fc['fRVgz'],_0x462f29[_0x50f15e(0x159)]['using']),':\x20'),_0x462f29[_0x50f15e(0x159)]['value']),_0x2f99fc[_0x50f15e(0xfd)]));const _0x1b8110=PerformanceTester[_0x50f15e(0x14a)](_0x2f99fc['IJqPG'],async()=>{const _0x1dc0c1=_0x50f15e;return await aiSdkWrapper[_0x1dc0c1(0x12f)](_0x17e8f2,_0x267430,_0x462f29);}),_0x366ab5=new Date(),{locatorType:_0x49e7fd,locatorValue:_0x1238f6,commandHealed:_0x3d730b}=await _0x2f99fc[_0x50f15e(0x144)](_0x1b8110);if(_0x2f99fc[_0x50f15e(0x128)](_0x49e7fd,_0x1238f6)){_0x462f29['parameters_']['using']=_0x49e7fd,_0x462f29[_0x50f15e(0x159)][_0x50f15e(0xfc)]=_0x1238f6,_0x462f29['skipHealingSuccess']=!![];const _0x4ad0c3=_0x267430[_0x50f15e(0x13f)](_0x462f29);return _0x2f99fc['vztFq'](_0x49e7fd,_0x2f99fc['DhlrK'])?logger[_0x50f15e(0x15f)](_0x2f99fc['kbAqG'](_0x2f99fc['ZgqJI'],_0x1238f6)):logger[_0x50f15e(0x15f)](_0x2f99fc[_0x50f15e(0x142)](_0x2f99fc[_0x50f15e(0x138)](_0x2f99fc[_0x50f15e(0x117)](_0x2f99fc[_0x50f15e(0x14d)],_0x49e7fd),':\x20'),_0x1238f6)),_0x4ad0c3;}else!_0x3d730b&&(_0x2f99fc['qYWWE'](_0x49e7fd,_0x2f99fc[_0x50f15e(0x14b)])?logger[_0x50f15e(0x15f)](_0x2f99fc[_0x50f15e(0x118)](_0x2f99fc[_0x50f15e(0x127)],_0x462f29['parameters_']['value'])):logger[_0x50f15e(0x15f)](_0x2f99fc[_0x50f15e(0x142)](_0x2f99fc[_0x50f15e(0x158)](_0x2f99fc[_0x50f15e(0x118)](_0x2f99fc[_0x50f15e(0x16a)],_0x462f29[_0x50f15e(0x159)][_0x50f15e(0x11e)]),':\x20'),_0x462f29[_0x50f15e(0x159)][_0x50f15e(0xfc)])));}!_0xab6e1d&&_0x2f99fc[_0x50f15e(0xf9)](_0x462f29[_0x50f15e(0x122)],_0x2f99fc[_0x50f15e(0x162)])&&helper[_0x50f15e(0x123)](_0x462f29,[_0x2f99fc[_0x50f15e(0x156)],_0x2f99fc[_0x50f15e(0x11b)]])&&!!constants[_0x50f15e(0x124)]['find'](_0x2792c9=>{const _0x4ab6da=_0x50f15e;return _0x4c5c49[_0x4ab6da(0x107)]()[_0x4ab6da(0x110)](_0x2792c9);})&&helper[_0x50f15e(0x150)](_0x462f29[_0x50f15e(0x159)]['url'],!![]);}catch(_0x3de2b7){logger[_0x50f15e(0x135)](_0x2f99fc[_0x50f15e(0x15c)],_0x3de2b7);}},{'success':![],'failure':_0x4c5c49})();throw _0x4c5c49;}};};function a117_0x5e98(){const _0x457242=['find','eGzMa','weEqx','aiHeal:findElementFailure','args','isSelfHealEnabled','FoXBN','measureWrapper','DhlrK','Error\x20in\x20handling\x20TCG\x20Auth:\x20','bVGmY','lYMAe','aiSdk_defaultLogDataEnabled','getNudgeLocalNotSetError','iGCAI','getGlobal','][\x20SDK-AUTOMATION\x20]\x20','301QIexBE','setTcgTokenStatus','AXQSH','cXqXN','fNXrh','parameters_','aiHeal_isAuthenticated','parameters','pxSoW','UzCnE','ITOsW','info','fApxS','executeAsyncScript','cbimM','uZjFl','4lNnBTF','./globals','url','getSession','executeScript','dotXT','xnWeu','xvWpm','JavascriptError','initExecute','tNnqo','ADMcm','NSMXN','Successfully\x20healed\x20command\x20using\x20new\x20','NoSuchElementError','PAskc','format','./performance/performance-tester','script','ElmxC','isBrowserstackInfra','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','value','YcYOK','response','aiHeal_isHealingEnabled','setAiSessionTimeStamp','getId','KLKnI','./ai-sdk/autoHealHelper','get','VswKn','1584040EMXEBJ','toString','4630008VuiFwG','POST_EXECUTE','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','66KDTmWN','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','sCzAC','5345UfaXnC','AUTOMATION_LOG_COMMANDS','includes','skipHealingSuccess','error','AjWwj','command','PArfi','setTcgToken','mkmjN','VzKaO','aiHeal:findElementSuccess','2886188ASubhO','XZhcZ','string','Healing\x20failed\x20for\x20command\x20using\x20','using','FlmnY','overrideExecute','PRE_EXECUTE','name_','nestedKeyValue','NUDGE_LOCAL_ERRORS','patchExecute','message','Jeqad','Tpwdm','browserstack.local','toISOString','PAMvV','52602sDKsRZ','jjaUt','nBvIC','handleFailure','css\x20selector','LAXtk','mjhPn','eUoIY','3RswfSf','debug','FzrJi','1375640fYgNSI','jrMgh','findElement\x20command\x20failed\x20with\x20cssPath:\x20','local','11205198hpDSpY','request','body','tEQrM','execute','xEcti','Yizut','fQzqd'];a117_0x5e98=function(){return _0x457242;};return a117_0x5e98();}
|
|
1
|
+
const a117_0x18a1ef=a117_0x2c31;(function(_0x4b6426,_0x1f6e3e){const _0x5b53bb=a117_0x2c31,_0x58e3df=_0x4b6426();while(!![]){try{const _0x247924=parseInt(_0x5b53bb(0xc4))/0x1*(parseInt(_0x5b53bb(0xea))/0x2)+-parseInt(_0x5b53bb(0xe0))/0x3*(parseInt(_0x5b53bb(0xce))/0x4)+parseInt(_0x5b53bb(0xf3))/0x5+parseInt(_0x5b53bb(0xee))/0x6+-parseInt(_0x5b53bb(0xb1))/0x7+-parseInt(_0x5b53bb(0xf1))/0x8+-parseInt(_0x5b53bb(0x9e))/0x9*(parseInt(_0x5b53bb(0x97))/0xa);if(_0x247924===_0x1f6e3e)break;else _0x58e3df['push'](_0x58e3df['shift']());}catch(_0x520306){_0x58e3df['push'](_0x58e3df['shift']());}}}(a117_0x238b,0x624a7));const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a117_0x18a1ef(0xda)),PerformanceTester=require(a117_0x18a1ef(0xa0)),globals=require(a117_0x18a1ef(0xe4)),{winstonLogger:logger,automationLogger}=require(a117_0x18a1ef(0xbe)),helper=require(a117_0x18a1ef(0xd9)),constants=require(a117_0x18a1ef(0xa5)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a117_0x18a1ef(0xb5)),util=require('util');function a117_0x238b(){const _0x54687d=['css\x20selector','hPSPL','aiHeal:findElementFailure','setTcgTokenStatus','aiHeal:setToken','name','findElement','tlkqI','TLRkN','./helper','./ai-sdk/autoHealHelper','DsFTE','CGbzw','parameters','setTcgToken','RRtKx','174pbiJPg','DFLmY','args','PRE_EXECUTE','./globals','iRIyb','cIyNa','request','parameters_','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','4YebcmQ','rvrYu','initExecute','rNwpT','1099794ApIGjV','Successfully\x20healed\x20command\x20using\x20new\x20','CZZXZ','828912sUhMZk','aiHeal_isHealingEnabled','3630530uzJmtS','mDJQV','eXKBc','xneaY','getGlobal','getNudgeLocalNotSetError','executeAsyncScript','toISOString','qIzQG','silly','Mscao','amOfW','bjSdr','patchExecute','POST_EXECUTE','execute','YiOuo','skipHealingSuccess','bjxbq','capability','ElfSd','wjjRI','TyJLw','aiSdk_defaultLogDataEnabled','using','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','JEXBU','NoSuchElementError','info','error','executeScript','value','getId','bUons','aiHeal_isAuthenticated','130cHvPVM','DXSOc','findElement\x20command\x20failed\x20with\x20','AUTOMATION_LOG_COMMANDS','VZCZs','script','VAiSO','120816bfgzby','oUHJo','./performance/performance-tester','isBrowserstackInfra','handleSuccess','isSelfHealEnabled','local','../bin/utils/constants','measureWrapper','JihTl','MpgVg','getSession','browserstack.local','yYvAn','qkSSH','find','name_','Healing\x20failed\x20for\x20command\x20using\x20','command','1713978oVDFex','includes','ntwKV','setAiSessionTimeStamp','./performance/constants','PxURZ','vbYNc','dfmaE','Error\x20in\x20handling\x20TCG\x20Auth:\x20','][\x20SDK-AUTOMATION\x20]\x20','body','UzqKr','oMXwW','./logger','fnhGo','url','JmwSS','findElement\x20command\x20failed\x20with\x20cssPath:\x20','debug','16903LhwyFr','response','LAQll','message','YcmET','nynkZ','zuQeY','handleFailure','nestedKeyValue','aTWaY','1216kVZfKt','aKRoN'];a117_0x238b=function(){return _0x54687d;};return a117_0x238b();}function a117_0x2c31(_0x483fc2,_0x48d371){const _0x238bf6=a117_0x238b();return a117_0x2c31=function(_0x2c31af,_0xcbce30){_0x2c31af=_0x2c31af-0x86;let _0x1f7748=_0x238bf6[_0x2c31af];return _0x1f7748;},a117_0x2c31(_0x483fc2,_0x48d371);}exports['overrideExecute']=(_0x2c4b41,_0x47ec48)=>{const _0xf9b75a=a117_0x18a1ef,_0x38c13e={'etGaq':_0xf9b75a(0x8c),'CZZXZ':function(_0x2da502,_0x559ca1){return _0x2da502===_0x559ca1;},'iRIyb':_0xf9b75a(0x8f),'vbYNc':'JavascriptError','bjSdr':function(_0x44838f,_0x414054){return _0x44838f===_0x414054;},'Mscao':_0xf9b75a(0xd6),'fnhGo':_0xf9b75a(0x96),'aKRoN':_0xf9b75a(0xf2),'sXOih':function(_0x10dcbf,_0x5d26c0){return _0x10dcbf===_0x5d26c0;},'qIzQG':_0xf9b75a(0xd0),'nynkZ':function(_0x49674f,_0x1f81a1){return _0x49674f+_0x1f81a1;},'qkSSH':_0xf9b75a(0xc2),'PxURZ':';\x20Trying\x20to\x20heal','TyJLw':function(_0x7e0d31,_0x2dcb16){return _0x7e0d31+_0x2dcb16;},'EbwBh':_0xf9b75a(0x99),'ElfSd':_0xf9b75a(0xd2),'VAiSO':function(_0x286407){return _0x286407();},'YcmET':function(_0x2bc206,_0x21a2ef){return _0x2bc206&&_0x21a2ef;},'yYvAn':function(_0x4018af,_0x2ec60d){return _0x4018af+_0x2ec60d;},'JihTl':_0xf9b75a(0xe9),'VZCZs':function(_0x5a01a0,_0x1a087d){return _0x5a01a0+_0x1a087d;},'eXKBc':function(_0x544caf,_0x49f473){return _0x544caf+_0x49f473;},'mDJQV':function(_0x148169,_0x11e1c8){return _0x148169+_0x11e1c8;},'NLtVr':_0xf9b75a(0xef),'xneaY':function(_0x3dad38,_0x27c39b){return _0x3dad38===_0x27c39b;},'LAQll':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','rvrYu':function(_0x38767c,_0x334cc3){return _0x38767c+_0x334cc3;},'TLRkN':function(_0xc62ab2,_0x57615f){return _0xc62ab2+_0x57615f;},'rNwpT':function(_0x5a78da,_0xd9ef72){return _0x5a78da+_0xd9ef72;},'bjxbq':_0xf9b75a(0xaf),'ntwKV':'get','Roszz':_0xf9b75a(0xe8),'VoKpK':'url','tlkqI':_0xf9b75a(0x8d),'dfmaE':_0xf9b75a(0xd4),'DsFTE':function(_0x4608ff){return _0x4608ff();},'CGbzw':_0xf9b75a(0x8a),'oMXwW':'aiHeal:findElementSuccess','JEXBU':function(_0xc719f5){return _0xc719f5();},'PCsYs':function(_0x48fa89,_0x3138be){return _0x48fa89===_0x3138be;},'cIyNa':_0xf9b75a(0xf9),'KxrOR':_0xf9b75a(0x92),'oUHJo':function(_0x3df97f,_0x31aeec){return _0x3df97f===_0x31aeec;},'bUons':'string','wjjRI':_0xf9b75a(0x86),'JmwSS':_0xf9b75a(0xaa),'qyqLN':'bstack:options','UzqKr':_0xf9b75a(0xa4)},_0x542048=_0x2c4b41[_0xf9b75a(0x100)]||(helper[_0xf9b75a(0xcc)](_0x47ec48,[_0x38c13e[_0xf9b75a(0x88)],_0x38c13e[_0xf9b75a(0xc1)]])||helper[_0xf9b75a(0xcc)](_0x47ec48,[_0x38c13e['wjjRI'],_0x38c13e['qyqLN'],_0x38c13e[_0xf9b75a(0xbc)]]));if(!globals[_0xf9b75a(0xf7)](_0x38c13e[_0xf9b75a(0xbf)])&&!globals['getGlobal'](_0x38c13e[_0xf9b75a(0xcf)])&&_0x542048)return;_0x2c4b41[_0xf9b75a(0x100)]=!![],_0x2c4b41[_0xf9b75a(0xec)]=_0x2c4b41[_0xf9b75a(0x102)],_0x2c4b41[_0xf9b75a(0x102)]=async _0x1ae348=>{const _0x87ecba=_0xf9b75a,_0x8a780d={'YiOuo':_0x38c13e[_0x87ecba(0xbf)],'hPSPL':_0x38c13e[_0x87ecba(0xb8)],'aTWaY':function(_0x4a06c7){const _0xeb27b8=_0x87ecba;return _0x38c13e[_0xeb27b8(0xdb)](_0x4a06c7);},'DXSOc':_0x38c13e[_0x87ecba(0xdc)],'MpgVg':function(_0x4fecd7,_0x6074a8){const _0x4fdc1e=_0x87ecba;return _0x38c13e[_0x4fdc1e(0xf0)](_0x4fecd7,_0x6074a8);},'amOfW':_0x38c13e[_0x87ecba(0xfd)],'RRtKx':_0x38c13e[_0x87ecba(0xcf)],'ySCFG':_0x38c13e[_0x87ecba(0xbd)],'zuQeY':function(_0x593e7b){const _0x4c5a50=_0x87ecba;return _0x38c13e[_0x4c5a50(0x8e)](_0x593e7b);}};try{const _0x5b3615={};_0x5b3615[_0x87ecba(0xb0)]=_0x1ae348[_0x87ecba(0xae)],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x87ecba(0xe3)],async()=>{const _0x4e8881=_0x87ecba,_0x1cd050={};_0x1cd050[_0x4e8881(0xe1)]=_0x8a780d[_0x4e8881(0x103)];const _0x5cd8bf=_0x1cd050;if(!commandRepository['getTcgTokenStatus']()&&globals[_0x4e8881(0xf7)](_0x8a780d[_0x4e8881(0x103)])){const _0x245d0e=PerformanceTester[_0x4e8881(0xa6)](_0x8a780d[_0x4e8881(0xd1)],async()=>{const _0x5588f1=_0x4e8881;try{commandRepository[_0x5588f1(0xd3)](!![]),await aiSdkWrapper[_0x5588f1(0xde)]((await _0x2c4b41[_0x5588f1(0xa9)]())[_0x5588f1(0x94)]());const _0x20222f=globals['getGlobal'](_0x5cd8bf['DFLmY']);_0x20222f&&commandRepository[_0x5588f1(0xb4)]((await _0x2c4b41[_0x5588f1(0xa9)]())[_0x5588f1(0x94)]());}catch(_0x84de9){logger[_0x5588f1(0x91)](_0x5588f1(0xb9)+_0x84de9);}});await _0x8a780d[_0x4e8881(0xcd)](_0x245d0e);}},_0x5b3615)();const _0xf96662=await _0x2c4b41[_0x87ecba(0xec)](_0x1ae348);try{if(_0x38c13e['PCsYs'](_0x1ae348[_0x87ecba(0xae)],_0x38c13e[_0x87ecba(0xe6)])||_0x38c13e[_0x87ecba(0xff)](_0x1ae348[_0x87ecba(0xae)],_0x38c13e['KxrOR'])){const _0x408c35=_0x1ae348[_0x87ecba(0xe8)]&&_0x1ae348[_0x87ecba(0xe8)][_0x87ecba(0x9c)],_0x2302f5=_0x1ae348[_0x87ecba(0xe8)]&&_0x1ae348[_0x87ecba(0xe8)][_0x87ecba(0xe2)],_0x470b04=_0x2302f5&&util['format']('%j',_0x2302f5);if(_0x408c35&&_0x38c13e[_0x87ecba(0x9f)](typeof _0x408c35,_0x38c13e[_0x87ecba(0x95)])){const _0x3e9c73=constants[_0x87ecba(0x9a)][_0x87ecba(0xad)](_0x5cd140=>_0x408c35[_0x87ecba(0xb2)](_0x5cd140)||_0x470b04&&_0x470b04[_0x87ecba(0xb2)](_0x5cd140));if(_0x3e9c73){const _0x3b4467={};_0x3b4467[_0x87ecba(0xb0)]=_0x3e9c73,_0x3b4467[_0x87ecba(0xdd)]=_0x2302f5;const _0x1c3890={};_0x1c3890[_0x87ecba(0xbb)]=_0xf96662;const _0x389921={};_0x389921[_0x87ecba(0xe7)]=_0x3b4467,_0x389921[_0x87ecba(0xc5)]=_0x1c3890,automationLogger[_0x87ecba(0xfc)]('['+new Date()[_0x87ecba(0xfa)]()+_0x87ecba(0xba)+util['format']('%j',_0x389921));}}}}catch(_0x4e158c){logger[_0x87ecba(0xfc)]('Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20'+_0x4e158c[_0x87ecba(0xc7)]);}return await PerformanceTester[_0x87ecba(0xa6)](PerformanceDriverEvents[_0x87ecba(0x101)],async()=>{const _0xe017c=_0x87ecba;if(!helper['isBrowserstackInfra']()&&(commandRepository[_0xe017c(0xa3)]()||globals[_0xe017c(0xf7)](_0x8a780d[_0xe017c(0x98)]))&&_0x8a780d[_0xe017c(0xa8)](_0x1ae348[_0xe017c(0xae)],_0x8a780d[_0xe017c(0xfe)])&&!_0x1ae348[_0xe017c(0x104)]&&globals['getGlobal'](_0x8a780d[_0xe017c(0x103)])&&globals[_0xe017c(0xf7)](_0x8a780d[_0xe017c(0xdf)])){const _0x277325=new Date(),_0xe88457=PerformanceTester['measureWrapper'](_0x8a780d['ySCFG'],async()=>{const _0x641e4c=_0xe017c;return await aiSdkWrapper[_0x641e4c(0xa2)](_0x47ec48,_0x2c4b41,_0x1ae348);});await _0x8a780d[_0xe017c(0xca)](_0xe88457);}},{'command':_0x1ae348[_0x87ecba(0xae)]})(),_0xf96662;}catch(_0x1b0b11){await PerformanceTester[_0x87ecba(0xa6)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x41df02=_0x87ecba;logger[_0x41df02(0xc3)](_0x38c13e['etGaq']);try{if(!helper[_0x41df02(0xa1)]()&&(_0x38c13e[_0x41df02(0xf0)](_0x1b0b11[_0x41df02(0xd5)],_0x38c13e[_0x41df02(0xe5)])||_0x38c13e[_0x41df02(0xf0)](_0x1b0b11['name'],_0x38c13e[_0x41df02(0xb7)]))&&_0x38c13e[_0x41df02(0xff)](_0x1ae348[_0x41df02(0xae)],_0x38c13e[_0x41df02(0xfd)])&&commandRepository[_0x41df02(0xa3)]()&&globals['getGlobal'](_0x38c13e[_0x41df02(0xbf)])&&globals[_0x41df02(0xf7)](_0x38c13e[_0x41df02(0xcf)])){_0x38c13e['sXOih'](_0x1ae348['parameters_'][_0x41df02(0x8b)],_0x38c13e[_0x41df02(0xfb)])?logger[_0x41df02(0x90)](_0x38c13e[_0x41df02(0xc9)](_0x38c13e[_0x41df02(0xc9)](_0x38c13e[_0x41df02(0xac)],_0x1ae348[_0x41df02(0xe8)]['value']),_0x38c13e[_0x41df02(0xb6)])):logger['info'](_0x38c13e[_0x41df02(0xc9)](_0x38c13e[_0x41df02(0x89)](_0x38c13e[_0x41df02(0xc9)](_0x38c13e[_0x41df02(0xc9)](_0x38c13e['EbwBh'],_0x1ae348[_0x41df02(0xe8)][_0x41df02(0x8b)]),':\x20'),_0x1ae348[_0x41df02(0xe8)][_0x41df02(0x93)]),_0x38c13e[_0x41df02(0xb6)]));const _0x1b5daf=PerformanceTester[_0x41df02(0xa6)](_0x38c13e[_0x41df02(0x87)],async()=>{const _0x49ee89=_0x41df02;return await aiSdkWrapper[_0x49ee89(0xcb)](_0x47ec48,_0x2c4b41,_0x1ae348);}),_0x46fa7d=new Date(),{locatorType:_0x651b8a,locatorValue:_0xb36790,commandHealed:_0x1358e5}=await _0x38c13e[_0x41df02(0x9d)](_0x1b5daf);if(_0x38c13e[_0x41df02(0xc8)](_0x651b8a,_0xb36790)){_0x1ae348[_0x41df02(0xe8)][_0x41df02(0x8b)]=_0x651b8a,_0x1ae348[_0x41df02(0xe8)][_0x41df02(0x93)]=_0xb36790,_0x1ae348['skipHealingSuccess']=!![];const _0x1fd1fb=_0x2c4b41[_0x41df02(0x102)](_0x1ae348);return _0x38c13e['bjSdr'](_0x651b8a,_0x38c13e[_0x41df02(0xfb)])?logger['info'](_0x38c13e[_0x41df02(0xab)](_0x38c13e[_0x41df02(0xa7)],_0xb36790)):logger[_0x41df02(0x90)](_0x38c13e[_0x41df02(0x9b)](_0x38c13e[_0x41df02(0xf5)](_0x38c13e[_0x41df02(0xf4)](_0x38c13e['NLtVr'],_0x651b8a),':\x20'),_0xb36790)),_0x1fd1fb;}else!_0x1358e5&&(_0x38c13e[_0x41df02(0xf6)](_0x651b8a,_0x38c13e[_0x41df02(0xfb)])?logger['info'](_0x38c13e[_0x41df02(0xab)](_0x38c13e[_0x41df02(0xc6)],_0x1ae348['parameters_'][_0x41df02(0x93)])):logger[_0x41df02(0x90)](_0x38c13e[_0x41df02(0xeb)](_0x38c13e[_0x41df02(0xd8)](_0x38c13e[_0x41df02(0xed)](_0x38c13e[_0x41df02(0x105)],_0x1ae348[_0x41df02(0xe8)][_0x41df02(0x8b)]),':\x20'),_0x1ae348['parameters_'][_0x41df02(0x93)])));}!_0x542048&&_0x38c13e['CZZXZ'](_0x1ae348[_0x41df02(0xae)],_0x38c13e[_0x41df02(0xb3)])&&helper[_0x41df02(0xcc)](_0x1ae348,[_0x38c13e['Roszz'],_0x38c13e['VoKpK']])&&!!constants['NUDGE_LOCAL_ERRORS'][_0x41df02(0xad)](_0x20935e=>{return _0x1b0b11['toString']()['includes'](_0x20935e);})&&helper[_0x41df02(0xf8)](_0x1ae348['parameters_'][_0x41df02(0xc0)],!![]);}catch(_0x1c2493){logger[_0x41df02(0xc3)](_0x38c13e[_0x41df02(0xd7)],_0x1c2493);}},{'success':![],'failure':_0x1b0b11})();throw _0x1b0b11;}};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a118_0x4e1a(_0x128f43,_0x335a8a){const _0x1475bc=a118_0x1475();return a118_0x4e1a=function(_0x4e1ac4,_0x4b8903){_0x4e1ac4=_0x4e1ac4-0x1c8;let _0x3947ff=_0x1475bc[_0x4e1ac4];return _0x3947ff;},a118_0x4e1a(_0x128f43,_0x335a8a);}function a118_0x1475(){const _0x39aeb4=['quit','AOMHp','786OYivEQ','2202910RGTpeQ','9nZfhFo','9736MlpaIt','6UbmLZm','TAKE_SCREENSHOT','360019gPQzez','bs:addLog:','115805WUShez','687006oXGgEt','toISOString','BS_TESTOPS_ALLOW_SCREENSHOTS','patchScreenshot','end','PQMWz','kLsJq','quitCount_','77wPPSFT','./performance/performance-tester','then','start','Zklin','./performance/constants','initScreenshot','patchQuit','tJhce','initQuit','431260CHqpPj','GzWAO','true','takeScreenshot','zrfyw','2995xZEWOx','HFqjU','O11y_EVENTS','overrideTakeScreenshot','dYoSq'];a118_0x1475=function(){return _0x39aeb4;};return a118_0x1475();}const a118_0x2b5ce8=a118_0x4e1a;(function(_0x12cad4,_0x256c42){const _0x55f91f=a118_0x4e1a,_0x286fcb=_0x12cad4();while(!![]){try{const _0x422a41=-parseInt(_0x55f91f(0x1cd))/0x1+parseInt(_0x55f91f(0x1ce))/0x2+-parseInt(_0x55f91f(0x1c9))/0x3*(-parseInt(_0x55f91f(0x1e0))/0x4)+parseInt(_0x55f91f(0x1e5))/0x5*(-parseInt(_0x55f91f(0x1ec))/0x6)+-parseInt(_0x55f91f(0x1d6))/0x7*(-parseInt(_0x55f91f(0x1c8))/0x8)+-parseInt(_0x55f91f(0x1ee))/0x9*(parseInt(_0x55f91f(0x1ed))/0xa)+parseInt(_0x55f91f(0x1cb))/0xb;if(_0x422a41===_0x256c42)break;else _0x286fcb['push'](_0x286fcb['shift']());}catch(_0x3abf73){_0x286fcb['push'](_0x286fcb['shift']());}}}(a118_0x1475,0x2e8dc));const PerformanceTester=require(a118_0x2b5ce8(0x1d7)),O11yEvents=require(a118_0x2b5ce8(0x1db))[a118_0x2b5ce8(0x1e7)];exports[a118_0x2b5ce8(0x1e8)]=_0x3c01ac=>{const _0x2e1684=a118_0x2b5ce8,_0x589b41={'GzWAO':function(_0x4a0c93,_0x11d1ec){return _0x4a0c93(_0x11d1ec);},'kLsJq':'TEST_SCREENSHOT','tJhce':function(_0x55e083,_0xaab9fd){return _0x55e083(_0xaab9fd);},'dYoSq':function(_0x1323f8,_0x3869bd){return _0x1323f8!==_0x3869bd;},'Zklin':_0x2e1684(0x1e2)};if(_0x589b41[_0x2e1684(0x1e9)](process['env'][_0x2e1684(0x1d0)],_0x589b41[_0x2e1684(0x1da)]))return;if(_0x3c01ac[_0x2e1684(0x1d1)])return;_0x3c01ac[_0x2e1684(0x1d1)]=!![],_0x3c01ac[_0x2e1684(0x1dc)]=_0x3c01ac[_0x2e1684(0x1e3)],_0x3c01ac[_0x2e1684(0x1e3)]=()=>{const _0x2637f8=_0x2e1684,_0x38c6cc={'AOMHp':_0x589b41[_0x2637f8(0x1d4)],'HFqjU':function(_0x14377e,_0x4da4a1){const _0x1d8085=_0x2637f8;return _0x589b41[_0x1d8085(0x1de)](_0x14377e,_0x4da4a1);}};return new Promise(function(_0x52126c,_0x2c1166){const _0x49017a=_0x2637f8,_0x4afbf7={'vNWGT':function(_0x54fb9d,_0x34a678){const _0x296f39=a118_0x4e1a;return _0x589b41[_0x296f39(0x1e1)](_0x54fb9d,_0x34a678);}};_0x3c01ac[_0x49017a(0x1dc)]()[_0x49017a(0x1d8)](_0x5a1d4e=>{const _0x1914b6=_0x49017a;PerformanceTester[_0x1914b6(0x1d9)](O11yEvents[_0x1914b6(0x1ca)]),process['emit'](_0x1914b6(0x1cc)+process['pid'],{'timestamp':new Date()[_0x1914b6(0x1cf)](),'message':_0x5a1d4e,'kind':_0x38c6cc[_0x1914b6(0x1eb)]}),_0x38c6cc[_0x1914b6(0x1e6)](_0x52126c,_0x5a1d4e),PerformanceTester[_0x1914b6(0x1d2)](O11yEvents[_0x1914b6(0x1ca)]);})['catch'](_0x4c5b7a=>{const _0x39e392=_0x49017a;PerformanceTester[_0x39e392(0x1d2)](O11yEvents[_0x39e392(0x1ca)]),_0x4afbf7['vNWGT'](_0x2c1166,_0x4c5b7a);});});};},exports['overrideQuit']=(_0x1cec03,_0x1c97da=null)=>{const _0x5a2d05=a118_0x2b5ce8,_0x52dccc={'PQMWz':function(_0x269b48){return _0x269b48();},'zrfyw':function(_0x58dba2,_0x517e04){return _0x58dba2>_0x517e04;}};if(_0x1cec03[_0x5a2d05(0x1dd)])return;_0x1cec03[_0x5a2d05(0x1dd)]=!![],_0x1cec03[_0x5a2d05(0x1df)]=_0x1cec03[_0x5a2d05(0x1ea)],_0x1cec03[_0x5a2d05(0x1ea)]=()=>{const _0x3e500a=_0x5a2d05;if(_0x1c97da){_0x1c97da['quitCount_']+=0x1;if(_0x52dccc[_0x3e500a(0x1e4)](_0x1c97da['quitCount_'],0x1))return _0x1cec03[_0x3e500a(0x1df)]();}else{_0x1cec03[_0x3e500a(0x1d5)]+=0x1;if(_0x52dccc[_0x3e500a(0x1e4)](_0x1cec03[_0x3e500a(0x1d5)],0x1))return _0x1cec03[_0x3e500a(0x1df)]();}return new Promise(function(_0x5d0f7d){const _0x26cdf6=_0x3e500a;_0x52dccc[_0x26cdf6(0x1d3)](_0x5d0f7d);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119_0x366e35=a119_0x2d52;function a119_0x2d52(_0x4d3dad,_0x44da7c){const _0x422eb1=a119_0x422e();return a119_0x2d52=function(_0x2d5282,_0x40dafd){_0x2d5282=_0x2d5282-0x187;let _0x2292db=_0x422eb1[_0x2d5282];return _0x2292db;},a119_0x2d52(_0x4d3dad,_0x44da7c);}function a119_0x422e(){const _0x55f7b9=['stop','createPercyConfig','IqbRg','stdout','percy/healthcheck','20XyVUtt','KZusE','stringify','pipe','fetchPercyToken','GYKXo','isProcessRunning','5103128XDBEHq','../../helpers/testhub/constants','child_process','../logger','88684YuNOVI','debug','flags','14040162OTtPGR','error','DOWNLOAD',':start','projectName','app','9mkegXe','nodeRequest','qYhaM','push','nkyDT','end','start','../helper','path','close','automate','writeFile','1480129MbxCCT','&type=','version','auYFE','getBinaryPath','token','zneHE','Percy\x20fetch\x20token\x20success','xxfkn','winstonLogger','../../helpers/performance/constants','env','createWriteStream','Percy\x20config\x20created\x20at\x20','percy.json','PERCY_SERVER_ADDRESS','percy.log','app:exec','dDlqS','percyOptions','join','167091BiCkeU','375VrDAlf','MKrLb','./PercyBinary','24870xhLeJd','nEAlG','healthcheck','data','KhwoK','assign','GET','11542600GaExKd','exports','BROWSERSTACK_TESTHUB_UUID'];a119_0x422e=function(){return _0x55f7b9;};return a119_0x422e();}(function(_0x4bccf7,_0x105d7e){const _0x19932b=a119_0x2d52,_0x2c8faa=_0x4bccf7();while(!![]){try{const _0x5b65bc=parseInt(_0x19932b(0x1a8))/0x1*(parseInt(_0x19932b(0x19f))/0x2)+parseInt(_0x19932b(0x1c9))/0x3*(parseInt(_0x19932b(0x194))/0x4)+-parseInt(_0x19932b(0x1ca))/0x5*(parseInt(_0x19932b(0x1cd))/0x6)+parseInt(_0x19932b(0x1b4))/0x7+parseInt(_0x19932b(0x19b))/0x8+-parseInt(_0x19932b(0x1a2))/0x9+parseInt(_0x19932b(0x18c))/0xa;if(_0x5b65bc===_0x105d7e)break;else _0x2c8faa['push'](_0x2c8faa['shift']());}catch(_0x4c871a){_0x2c8faa['push'](_0x2c8faa['shift']());}}}(a119_0x422e,0xc5d1c));const fs=require('fs'),path=require(a119_0x366e35(0x1b0)),os=require('os'),{spawn}=require(a119_0x366e35(0x19d)),helper=require(a119_0x366e35(0x1af)),logger=require(a119_0x366e35(0x19e))[a119_0x366e35(0x1bd)],{getLogDir}=require('../logger'),testHubConstants=require(a119_0x366e35(0x19c)),PerformanceTester=require('../../helpers/performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a119_0x366e35(0x1be)),PercyBinary=require(a119_0x366e35(0x1cc));class Percy{#logfile=path[a119_0x366e35(0x1c8)](getLogDir(),a119_0x366e35(0x1c4));#address=process[a119_0x366e35(0x1bf)][a119_0x366e35(0x1c3)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a119_0x366e35(0x19a)]=![];constructor(_0xfa69e8){const _0x1c7c1f=a119_0x366e35;this.#config=_0xfa69e8,!!_0xfa69e8[_0x1c7c1f(0x1a7)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x70e0e2=a119_0x366e35;if(!this.#binaryPath){const _0x5d6950=new PercyBinary();PerformanceTester['start'](PerformanceEvents[_0x70e0e2(0x1a4)]),this.#binaryPath=await _0x5d6950[_0x70e0e2(0x1b8)](this.#config),PerformanceTester[_0x70e0e2(0x1ad)](PerformanceEvents[_0x70e0e2(0x1a4)]);}return this.#binaryPath;}async #sleep(_0x129fb0){return new Promise(_0x25a3bf=>setTimeout(_0x25a3bf,_0x129fb0));}async[a119_0x366e35(0x187)](){const _0x12e634=a119_0x366e35,_0x71f002={};_0x71f002['cDZHs']=_0x12e634(0x18b),_0x71f002['zneHE']=_0x12e634(0x193);const _0x176524=_0x71f002;try{const _0x3bda24=await helper[_0x12e634(0x1a9)](_0x176524['cDZHs'],_0x176524[_0x12e634(0x1ba)],null,null,this.#address);if(_0x3bda24)return!![];}catch(_0xf14c17){return![];}}async[a119_0x366e35(0x1ae)](){const _0x3fd749=a119_0x366e35,_0x5ebeeb={'auYFE':_0x3fd749(0x1c5),'nEAlG':'exec','rRDme':function(_0x5aad71,_0x5084d7,_0x308d20,_0x1fd567){return _0x5aad71(_0x5084d7,_0x308d20,_0x1fd567);},'nkyDT':_0x3fd749(0x1b1),'Mhibi':'Percy\x20healthcheck\x20successful'},_0xea2112=await this.#getBinaryPath(),_0x2ab461={};_0x2ab461[_0x3fd749(0x1a1)]='a',this.#logStream=fs[_0x3fd749(0x1c0)](this.#logfile,_0x2ab461);const _0x5f0b41=await this[_0x3fd749(0x198)](),_0x19b172=await this[_0x3fd749(0x190)]();if(!_0x5f0b41)return![];const _0x4bb0e2=[(this.#isApp?_0x5ebeeb[_0x3fd749(0x1b7)]:_0x5ebeeb[_0x3fd749(0x1ce)])+_0x3fd749(0x1a5)];_0x19b172&&_0x4bb0e2[_0x3fd749(0x1ab)]('-c',_0x19b172);this.#proc=_0x5ebeeb['rRDme'](spawn,_0xea2112,_0x4bb0e2,{'env':Object[_0x3fd749(0x18a)](process[_0x3fd749(0x1bf)],{'PERCY_TOKEN':_0x5f0b41,'TH_BUILD_UUID':process[_0x3fd749(0x1bf)][testHubConstants['ENV_VAR'][_0x3fd749(0x18e)]]})}),this.#proc[_0x3fd749(0x192)][_0x3fd749(0x197)](this.#logStream),this.#proc['stderr'][_0x3fd749(0x197)](this.#logStream),this['isProcessRunning']=!![];var _0x143e0d=this;this.#proc['on'](_0x5ebeeb[_0x3fd749(0x1ac)],function(_0x28a5d3){const _0x42740e=_0x3fd749;_0x143e0d[_0x42740e(0x19a)]=![];});do{const _0x7c7eae=await this[_0x3fd749(0x187)]();if(_0x7c7eae)return logger['debug'](_0x5ebeeb['Mhibi']),!![];await this.#sleep(0x3e8);}while(this[_0x3fd749(0x19a)]);return![];}async[a119_0x366e35(0x18f)](){const _0x16bf6e=a119_0x366e35,_0x805c7c={'rPawf':function(_0x1278f8,_0x369a52){return _0x1278f8(_0x369a52);},'dDlqS':function(_0x5e9283,_0x2df3f8,_0x37dab7){return _0x5e9283(_0x2df3f8,_0x37dab7);},'qHJCX':'exec:stop','KZusE':_0x16bf6e(0x1b1)},_0x2cbdf4=await this.#getBinaryPath();return new Promise((_0x57d2cb,_0x4054cb)=>{const _0x24cc5d=_0x16bf6e,_0x186f95={'eRYNw':function(_0x135dd2,_0x5b20e2){return _0x805c7c['rPawf'](_0x135dd2,_0x5b20e2);}},_0xda149f=_0x805c7c[_0x24cc5d(0x1c6)](spawn,_0x2cbdf4,[_0x805c7c['qHJCX']]);_0xda149f['on'](_0x805c7c[_0x24cc5d(0x195)],_0x66e75d=>{const _0x233a95=_0x24cc5d;this['isProcessRunning']=![],this.#logStream&&(this.#logStream[_0x233a95(0x1ad)](),this.#logStream=null),_0x186f95['eRYNw'](_0x57d2cb,_0x66e75d);});});}['isRunning'](){const _0x207c64=a119_0x366e35;return this[_0x207c64(0x19a)];}async[a119_0x366e35(0x198)](){const _0x58294c=a119_0x366e35,_0x1580a0={};_0x1580a0[_0x58294c(0x189)]=_0x58294c(0x1a7),_0x1580a0[_0x58294c(0x1aa)]=_0x58294c(0x1b2),_0x1580a0[_0x58294c(0x1bc)]=_0x58294c(0x18b),_0x1580a0[_0x58294c(0x199)]=_0x58294c(0x1bb);const _0x58be8c=_0x1580a0,_0xe713be=this.#config[_0x58294c(0x1a6)];try{const _0x17bde4=this.#isApp?_0x58be8c[_0x58294c(0x189)]:_0x58be8c[_0x58294c(0x1aa)],_0x2d7edc=await helper[_0x58294c(0x1a9)](_0x58be8c[_0x58294c(0x1bc)],'api/app_percy/get_project_token?name='+_0xe713be+_0x58294c(0x1b5)+_0x17bde4,{},this.#config),_0x1e86ba=_0x2d7edc[_0x58294c(0x188)];return logger[_0x58294c(0x1a0)](_0x58be8c[_0x58294c(0x199)]),_0x1e86ba[_0x58294c(0x1b9)];}catch(_0x33b63b){return logger[_0x58294c(0x1a3)]('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x33b63b),null;}}async[a119_0x366e35(0x190)](){const _0x8fe333=a119_0x366e35,_0x249c6a={'IqbRg':function(_0x490e4b,_0x4ae971){return _0x490e4b(_0x4ae971);},'NxzrO':function(_0x184a01,_0x3b94b7){return _0x184a01+_0x3b94b7;},'MKrLb':_0x8fe333(0x1c1),'tDicl':_0x8fe333(0x1c2)};if(!this.#config[_0x8fe333(0x1c7)])return null;const _0x5a0456=path[_0x8fe333(0x1c8)](os['tmpdir'](),_0x249c6a['tDicl']),_0x1e7072=this.#config[_0x8fe333(0x1c7)];return!_0x1e7072['version']&&(_0x1e7072[_0x8fe333(0x1b6)]='2'),new Promise((_0x5569d4,_0x8e4299)=>{const _0x47829a=_0x8fe333;fs[_0x47829a(0x1b3)](_0x5a0456,JSON[_0x47829a(0x196)](_0x1e7072),_0x202b38=>{const _0xf7bcd9=_0x47829a;_0x202b38&&(logger['error']('Error\x20creating\x20percy\x20config:\x20'+_0x202b38),_0x249c6a[_0xf7bcd9(0x191)](_0x5569d4,null)),logger[_0xf7bcd9(0x1a0)](_0x249c6a['NxzrO'](_0x249c6a[_0xf7bcd9(0x1cb)],_0x5a0456)),_0x249c6a[_0xf7bcd9(0x191)](_0x5569d4,_0x5a0456);});});}}module[a119_0x366e35(0x18d)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120_0x360251=a120_0x34e4;function a120_0x34e4(_0x57ae0d,_0x5221ee){const _0x54e48a=a120_0x54e4();return a120_0x34e4=function(_0x34e45b,_0x21b5c0){_0x34e45b=_0x34e45b-0x1bb;let _0x1f3904=_0x54e48a[_0x34e45b];return _0x1f3904;},a120_0x34e4(_0x57ae0d,_0x5221ee);}(function(_0x42bba2,_0x50ae9e){const _0xbc2ecc=a120_0x34e4,_0x4a7939=_0x42bba2();while(!![]){try{const _0x83e8fe=-parseInt(_0xbc2ecc(0x1be))/0x1*(-parseInt(_0xbc2ecc(0x200))/0x2)+-parseInt(_0xbc2ecc(0x238))/0x3*(-parseInt(_0xbc2ecc(0x221))/0x4)+parseInt(_0xbc2ecc(0x236))/0x5+parseInt(_0xbc2ecc(0x1c7))/0x6*(-parseInt(_0xbc2ecc(0x1f8))/0x7)+-parseInt(_0xbc2ecc(0x1d4))/0x8*(-parseInt(_0xbc2ecc(0x24f))/0x9)+parseInt(_0xbc2ecc(0x257))/0xa*(parseInt(_0xbc2ecc(0x203))/0xb)+-parseInt(_0xbc2ecc(0x255))/0xc;if(_0x83e8fe===_0x50ae9e)break;else _0x4a7939['push'](_0x4a7939['shift']());}catch(_0xea6d8f){_0x4a7939['push'](_0x4a7939['shift']());}}}(a120_0x54e4,0x511ce));const {https}=require(a120_0x360251(0x20f)),url=require(a120_0x360251(0x239)),yauzl=require(a120_0x360251(0x1db)),fs=require('fs'),path=require(a120_0x360251(0x22f)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a120_0x360251(0x240))[a120_0x360251(0x22a)];class PercyBinary{#hostOS=process[a120_0x360251(0x1bc)];#httpPath=null;#binaryName=a120_0x360251(0x1e2);#orderedPaths=[path[a120_0x360251(0x226)](this.#homedir(),'.browserstack'),process[a120_0x360251(0x213)](),os['tmpdir']()];constructor(){const _0x343313=a120_0x360251,_0x3d70fa={};_0x3d70fa[_0x343313(0x244)]=_0x343313(0x225),_0x3d70fa[_0x343313(0x20a)]=function(_0x32fd7a,_0x291566){return _0x32fd7a+_0x291566;},_0x3d70fa[_0x343313(0x21b)]=_0x343313(0x1fa),_0x3d70fa[_0x343313(0x252)]=_0x343313(0x247),_0x3d70fa[_0x343313(0x24d)]=_0x343313(0x22b),_0x3d70fa[_0x343313(0x1ef)]=function(_0x50395f,_0xe555d1){return _0x50395f+_0xe555d1;},_0x3d70fa[_0x343313(0x211)]=_0x343313(0x229);const _0x3fb25b=_0x3d70fa,_0x478ab1=_0x3fb25b['sUEjx'];if(this.#hostOS[_0x343313(0x1ea)](/darwin|mac os/i))this.#httpPath=_0x3fb25b[_0x343313(0x20a)](_0x478ab1,_0x3fb25b[_0x343313(0x21b)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x3fb25b[_0x343313(0x20a)](_0x478ab1,_0x3fb25b[_0x343313(0x252)]),this.#binaryName=_0x3fb25b['DVBnL']):this.#httpPath=_0x3fb25b['ZlWZW'](_0x478ab1,_0x3fb25b[_0x343313(0x211)]);}#getAvailableDirs(){const _0x5732b6=a120_0x360251,_0xb35ccd={};_0xb35ccd['hXPLU']=function(_0x1f81dd,_0x4cf01b){return _0x1f81dd<_0x4cf01b;},_0xb35ccd[_0x5732b6(0x224)]=_0x5732b6(0x245);const _0x2e0768=_0xb35ccd;for(var _0x2bd097=0x0;_0x2e0768[_0x5732b6(0x223)](_0x2bd097,this.#orderedPaths[_0x5732b6(0x1d8)]);_0x2bd097++){var _0x349003=this.#orderedPaths[_0x2bd097];if(this.#makePath(_0x349003))return _0x349003;}throw new Error(_0x2e0768['HeXQU']);}#makePath(_0x5c528b){const _0x5bb9ed=a120_0x360251;try{return _0x5c528b&&!this.#checkPath(_0x5c528b)&&fs[_0x5bb9ed(0x1c4)](_0x5c528b),!![];}catch{return![];}}#checkPath(_0x1cabb8,_0x52d0ce){const _0x160e26=a120_0x360251,_0x172cb0={};_0x172cb0[_0x160e26(0x23c)]=function(_0xe7d7ff,_0x564110){return _0xe7d7ff|_0x564110;},_0x172cb0[_0x160e26(0x1da)]=function(_0xd61255,_0x399c4e){return _0xd61255!==_0x399c4e;},_0x172cb0['kaeqx']=_0x160e26(0x1e0);const _0xbd0808=_0x172cb0;_0x52d0ce=_0x52d0ce||_0xbd0808['SCiKM'](fs[_0x160e26(0x212)],fs[_0x160e26(0x1fc)]);try{return fs[_0x160e26(0x1e4)](_0x1cabb8,_0x52d0ce),!![];}catch(_0x378699){if(_0xbd0808['dsgri'](typeof fs['accessSync'],_0xbd0808[_0x160e26(0x1d6)]))return![];try{return fs[_0x160e26(0x1dd)](_0x1cabb8),!![];}catch(_0x54ab2c){return![];}}}#getETagPath(_0x496d13){const _0x1fa26e=a120_0x360251;return path['join'](_0x496d13,this.#binaryName+_0x1fa26e(0x1df));}#loadETag(_0x16fba2){const _0x48e69e=a120_0x360251,_0xfdcb84={};_0xfdcb84['QZYxg']=_0x48e69e(0x228);const _0x38ada6=_0xfdcb84,_0x541960=this.#getETagPath(_0x16fba2);if(this.#checkPath(_0x541960))try{return fs['readFileSync'](_0x541960,_0x38ada6[_0x48e69e(0x222)])[_0x48e69e(0x219)]();}catch(_0x42d34e){logger['warn'](_0x48e69e(0x254)+_0x42d34e);}return null;}#saveETag(_0x114b91,_0x2af962){const _0x566c19=a120_0x360251,_0x3c13de={};_0x3c13de[_0x566c19(0x237)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x3caadd=_0x3c13de;if(!_0x2af962)return;try{const _0x223969=this.#getETagPath(_0x114b91);fs[_0x566c19(0x1eb)](_0x223969,_0x2af962),logger[_0x566c19(0x1c6)](_0x3caadd[_0x566c19(0x237)]);}catch(_0x1ee8b5){logger['warn']('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x1ee8b5);}}async #handleBinaryDownload(_0x4427a8,_0xa10659,_0x4c8142){const _0x2b99a3=a120_0x360251,_0x419bc6={};_0x419bc6[_0x2b99a3(0x1f9)]=_0x2b99a3(0x214);const _0x213bc9=_0x419bc6,_0x2ea6c0=await this[_0x2b99a3(0x1e3)](_0x4427a8[_0x2b99a3(0x1d3)]);if(!_0x2ea6c0){logger['error'](_0x213bc9[_0x2b99a3(0x1f9)]);const _0x2c98dd=await this[_0x2b99a3(0x233)](_0xa10659,_0x4c8142);return _0x2c98dd[_0x2b99a3(0x1d3)];}return _0x4427a8[_0x2b99a3(0x1d3)];}async['getBinaryPath'](_0x537e33){const _0x5f524c=a120_0x360251,_0x3d77e7={};_0x3d77e7[_0x5f524c(0x227)]='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x3d77e7['ZWQuC']=_0x5f524c(0x242);const _0x460515=_0x3d77e7,_0x3acd7c=this.#getAvailableDirs(),_0x380acf=path[_0x5f524c(0x226)](_0x3acd7c,this.#binaryName);if(this.#checkPath(_0x380acf,fs[_0x5f524c(0x1c0)])){const _0x72c7ba=this.#loadETag(_0x3acd7c);if(_0x72c7ba)try{const _0x5632dd=await this[_0x5f524c(0x233)](_0x537e33,_0x3acd7c,_0x72c7ba);if(!_0x5632dd[_0x5f524c(0x1d2)])return logger[_0x5f524c(0x1c6)](_0x460515[_0x5f524c(0x227)]),_0x380acf;return logger[_0x5f524c(0x1c6)](_0x460515[_0x5f524c(0x22c)]),await this.#handleBinaryDownload(_0x5632dd,_0x537e33,_0x3acd7c);}catch(_0x36f313){return logger[_0x5f524c(0x1e7)](_0x5f524c(0x1d9)+_0x36f313),_0x380acf;}}const _0x306d9e=await this[_0x5f524c(0x233)](_0x537e33,_0x3acd7c);return await this.#handleBinaryDownload(_0x306d9e,_0x537e33,_0x3acd7c);}['download'](_0x288e60,_0x3e0330,_0x44bd3f=null){const _0x477aed=a120_0x360251,_0x5f08a7={'ClIvN':function(_0x1a11ab,_0x7eb004){return _0x1a11ab(_0x7eb004);},'hvWhP':function(_0x21f9a0,_0x2dac24){return _0x21f9a0(_0x2dac24);},'bCfGa':function(_0x247d71,_0x31343a){return _0x247d71===_0x31343a;},'AQFjR':_0x477aed(0x1d5),'IMrNA':_0x477aed(0x1c3),'cmkQW':function(_0x2be9ac,_0x5ccb85){return _0x2be9ac(_0x5ccb85);},'LcIRJ':function(_0x438943,_0x3d1c4e){return _0x438943+_0x3d1c4e;},'QILuK':_0x477aed(0x22e)};_0x3e0330&&!this.#checkPath(_0x3e0330)&&fs[_0x477aed(0x1c4)](_0x3e0330);const _0x4b67f4=this.#binaryName,_0x4c881b=path[_0x477aed(0x226)](_0x3e0330,_0x5f08a7[_0x477aed(0x210)](_0x4b67f4,_0x5f08a7['QILuK'])),_0x40ebfe=fs['createWriteStream'](_0x4c881b),_0x19f2a9=url[_0x477aed(0x1c9)](this.#httpPath);if(_0x288e60[_0x477aed(0x218)]&&_0x288e60[_0x477aed(0x215)]){const _0x4171a7={};_0x4171a7[_0x477aed(0x246)]=_0x288e60[_0x477aed(0x218)],_0x4171a7[_0x477aed(0x24b)]=_0x288e60[_0x477aed(0x215)],_0x19f2a9[_0x477aed(0x1f5)]=new HttpsProxyAgent(_0x4171a7);}if(_0x288e60[_0x477aed(0x251)])try{_0x19f2a9['ca']=fs[_0x477aed(0x21d)](_0x288e60[_0x477aed(0x251)]);}catch(_0x47b273){logger['error'](_0x477aed(0x1ec)+_0x47b273);}if(_0x44bd3f){const _0xa5f5d={};_0xa5f5d[_0x477aed(0x1ce)]=_0x44bd3f,_0xa5f5d[_0x477aed(0x1bd)]=_0x5f08a7[_0x477aed(0x1e8)],_0x19f2a9['headers']=_0xa5f5d;}else{const _0x394880={};_0x394880[_0x477aed(0x1bd)]=_0x5f08a7[_0x477aed(0x1e8)],_0x19f2a9[_0x477aed(0x1fd)]=_0x394880;}return new Promise((_0x383c62,_0x3e9045)=>{const _0x2f2bcf=_0x477aed;https[_0x2f2bcf(0x1cf)](_0x19f2a9,_0x2c4dc4=>{const _0x2c6a14=_0x2f2bcf,_0xbea4d7={'xGCTG':function(_0x2bf347,_0x1901f8){return _0x5f08a7['ClIvN'](_0x2bf347,_0x1901f8);},'PiwPW':function(_0x35dcbb,_0x577411){return _0x5f08a7['hvWhP'](_0x35dcbb,_0x577411);}};if(_0x44bd3f&&_0x5f08a7[_0x2c6a14(0x1fe)](_0x2c4dc4['statusCode'],0x130)){_0x40ebfe[_0x2c6a14(0x1f0)]();const _0x5589e7={};_0x5589e7[_0x2c6a14(0x1d2)]=![],_0x5f08a7[_0x2c6a14(0x217)](_0x383c62,_0x5589e7);return;}const _0x160c93=_0x2c4dc4[_0x2c6a14(0x1fd)][_0x2c6a14(0x23b)];_0x160c93&&this.#saveETag(_0x3e0330,_0x160c93),_0x2c4dc4['pipe'](_0x40ebfe),_0x2c4dc4['on'](_0x5f08a7[_0x2c6a14(0x24c)],function(_0x70868c){const _0x559b81=_0x2c6a14;logger[_0x559b81(0x1d5)](_0x559b81(0x23e)+_0x70868c),_0xbea4d7[_0x559b81(0x1e9)](_0x3e9045,_0x70868c);}),_0x40ebfe['on'](_0x5f08a7[_0x2c6a14(0x24c)],function(_0x1d6e48){const _0x4b0361=_0x2c6a14;logger[_0x4b0361(0x1d5)]('Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'+_0x1d6e48),_0xbea4d7['PiwPW'](_0x3e9045,_0x1d6e48);}),_0x40ebfe['on'](_0x5f08a7[_0x2c6a14(0x1e8)],()=>{const _0x1b7434=_0x2c6a14;this[_0x1b7434(0x1ff)](_0x4c881b,_0x3e0330)[_0x1b7434(0x250)](_0x45b97e=>_0x383c62({'needsUpdate':!![],'binaryPath':_0x45b97e}))[_0x1b7434(0x21a)](_0x3e9045);});})['on'](_0x5f08a7['AQFjR'],function(_0x3ee9da){const _0x36590d=_0x2f2bcf;logger[_0x36590d(0x1d5)](_0x36590d(0x1e6)+_0x3ee9da),_0x5f08a7[_0x36590d(0x201)](_0x3e9045,_0x3ee9da);});});}['extractAndSaveBinary'](_0x596094,_0x22f30b){const _0x11a921=a120_0x360251,_0x41c3b8={'ZTPxh':function(_0x5f3fad,_0x3df997){return _0x5f3fad(_0x3df997);},'EmSMm':_0x11a921(0x206),'uYGnR':function(_0x9870c8,_0x59f5da){return _0x9870c8===_0x59f5da;},'VatRb':function(_0x5dbb29,_0x18f429){return _0x5dbb29(_0x18f429);},'NXdXA':_0x11a921(0x24e),'PFPEK':_0x11a921(0x1ca),'DJCJk':_0x11a921(0x1d5)},_0x2370c4=this.#binaryName,_0x24a735=path[_0x11a921(0x226)](_0x22f30b,_0x2370c4);return new Promise((_0x269d02,_0x1a9fcc)=>{const _0x1f0f25=_0x11a921,_0x3ea304={};_0x3ea304[_0x1f0f25(0x209)]=!![],yauzl['open'](_0x596094,_0x3ea304,function(_0x7bdc66,_0x19697f){const _0x425eed=_0x1f0f25,_0x2e33a2={'kFakg':function(_0x3d2edf,_0x34d7f5){return _0x41c3b8['ZTPxh'](_0x3d2edf,_0x34d7f5);},'Edrda':_0x41c3b8[_0x425eed(0x231)],'rqBDQ':function(_0xfd4cb3,_0x12e2d4){const _0x55b61e=_0x425eed;return _0x41c3b8[_0x55b61e(0x248)](_0xfd4cb3,_0x12e2d4);},'AFHRC':function(_0x41a03e,_0x49a05d){const _0x1af7a4=_0x425eed;return _0x41c3b8[_0x1af7a4(0x1d7)](_0x41a03e,_0x49a05d);},'HIWiu':function(_0x24fece,_0x2ef5bf){const _0x26ac90=_0x425eed;return _0x41c3b8[_0x26ac90(0x24a)](_0x24fece,_0x2ef5bf);},'hLxpa':_0x41c3b8[_0x425eed(0x1bb)]};_0x7bdc66&&_0x41c3b8[_0x425eed(0x1d7)](_0x1a9fcc,_0x7bdc66),_0x19697f['readEntry'](),_0x19697f['on'](_0x41c3b8[_0x425eed(0x256)],_0x187ea4=>{const _0x3f71ec=_0x425eed;if(/\/$/[_0x3f71ec(0x1c1)](_0x187ea4[_0x3f71ec(0x22d)]))_0x19697f[_0x3f71ec(0x20e)]();else{const _0x684ec8=fs['createWriteStream'](path[_0x3f71ec(0x226)](_0x22f30b,_0x187ea4[_0x3f71ec(0x22d)]));_0x19697f[_0x3f71ec(0x1f2)](_0x187ea4,function(_0x196f45,_0x3bc95c){const _0x768d16=_0x3f71ec;_0x196f45&&_0x2e33a2['kFakg'](_0x1a9fcc,_0x7bdc66),_0x3bc95c['on'](_0x2e33a2[_0x768d16(0x253)],function(){const _0x102972=_0x768d16;_0x684ec8['close'](),_0x19697f[_0x102972(0x20e)]();}),_0x3bc95c[_0x768d16(0x204)](_0x684ec8);}),_0x2e33a2[_0x3f71ec(0x230)](_0x187ea4['fileName'],_0x2370c4)&&_0x19697f[_0x3f71ec(0x1c3)]();}}),_0x19697f['on'](_0x41c3b8['DJCJk'],_0xea10c6=>{const _0x4a3c5f=_0x425eed;_0x2e33a2[_0x4a3c5f(0x23d)](_0x1a9fcc,_0xea10c6);}),_0x19697f[_0x425eed(0x208)](_0x41c3b8['EmSMm'],()=>{const _0x28a18d=_0x425eed,_0x4f11ad={'qaCnJ':function(_0x485543,_0x2171a5){const _0x49a1ba=a120_0x34e4;return _0x2e33a2[_0x49a1ba(0x235)](_0x485543,_0x2171a5);}};fs[_0x28a18d(0x1cb)](_0x24a735,_0x2e33a2[_0x28a18d(0x216)],function(_0x50a8ec){const _0xb8173d=_0x28a18d;_0x50a8ec&&_0x4f11ad[_0xb8173d(0x1d0)](_0x1a9fcc,_0x50a8ec),_0x4f11ad[_0xb8173d(0x1d0)](_0x269d02,_0x24a735);}),_0x19697f[_0x28a18d(0x1c3)]();});});});}async[a120_0x360251(0x1e3)](_0x68af68){const _0x299711=a120_0x360251,_0x4d09ab={'hdmvp':function(_0x424fa2,_0x38e727){return _0x424fa2(_0x38e727);},'xEptl':function(_0x1a933a,_0x15b9e8,_0x2c2807,_0x4939df){return _0x1a933a(_0x15b9e8,_0x2c2807,_0x4939df);},'EJEKv':_0x299711(0x1f4),'oDTrq':_0x299711(0x21f),'dbKKi':_0x299711(0x1c3)},_0x5747b5=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x233f6a,_0x37820b)=>{const _0x4a6f77=_0x299711,_0xd379be={'BwcPv':function(_0x27c457,_0x2d0221){return _0x4d09ab['hdmvp'](_0x27c457,_0x2d0221);}},_0x101eed={};_0x101eed[_0x4a6f77(0x243)]=process[_0x4a6f77(0x243)];const _0x5630c2=_0x4d09ab['xEptl'](spawn,_0x68af68,[_0x4d09ab[_0x4a6f77(0x1cd)]],_0x101eed);_0x5630c2['stdout']['on'](_0x4d09ab['oDTrq'],_0x5dc1ac=>{_0x5747b5['test'](_0x5dc1ac)&&_0xd379be['BwcPv'](_0x233f6a,!![]);}),_0x5630c2['on'](_0x4d09ab['dbKKi'],()=>{const _0x23b7c9=_0x4a6f77;_0xd379be[_0x23b7c9(0x1c2)](_0x233f6a,![]);});});}#homedir(){const _0x4d5a24=a120_0x360251,_0x2bbd52={};_0x2bbd52[_0x4d5a24(0x1f3)]=function(_0x164d0a,_0x21c12a){return _0x164d0a===_0x21c12a;},_0x2bbd52[_0x4d5a24(0x1fb)]=_0x4d5a24(0x1e1),_0x2bbd52[_0x4d5a24(0x202)]=_0x4d5a24(0x205),_0x2bbd52[_0x4d5a24(0x23f)]=function(_0x46ca2f,_0x263034){return _0x46ca2f+_0x263034;},_0x2bbd52['uYqlT']=function(_0x11a1f2,_0x2b13e7){return _0x11a1f2===_0x2b13e7;},_0x2bbd52[_0x4d5a24(0x20d)]=_0x4d5a24(0x23a),_0x2bbd52[_0x4d5a24(0x1bf)]=function(_0x1ad674,_0x358bdd){return _0x1ad674+_0x358bdd;},_0x2bbd52[_0x4d5a24(0x232)]=_0x4d5a24(0x241),_0x2bbd52[_0x4d5a24(0x1e5)]=_0x4d5a24(0x1f7),_0x2bbd52[_0x4d5a24(0x234)]=function(_0x469a86,_0x56808c){return _0x469a86===_0x56808c;},_0x2bbd52[_0x4d5a24(0x21c)]=_0x4d5a24(0x1f6),_0x2bbd52[_0x4d5a24(0x1ed)]=function(_0x1e53a8,_0x2aefac){return _0x1e53a8+_0x2aefac;},_0x2bbd52[_0x4d5a24(0x1c8)]=_0x4d5a24(0x1c5),_0x2bbd52[_0x4d5a24(0x1de)]=function(_0x2fc677,_0x2c41a0){return _0x2fc677||_0x2c41a0;};const _0x2e9e8e=_0x2bbd52;if(_0x2e9e8e[_0x4d5a24(0x1f3)](typeof os[_0x4d5a24(0x1cc)],_0x2e9e8e[_0x4d5a24(0x1fb)]))return os['homedir']();const _0x3f3128=process[_0x4d5a24(0x243)],_0x12ef3d=_0x3f3128[_0x4d5a24(0x21e)],_0x5e0fb7=_0x3f3128[_0x4d5a24(0x1d1)]||_0x3f3128[_0x4d5a24(0x1ee)]||_0x3f3128[_0x4d5a24(0x207)]||_0x3f3128['USERNAME'];if(_0x2e9e8e['KBngH'](process['platform'],_0x2e9e8e[_0x4d5a24(0x202)]))return _0x3f3128[_0x4d5a24(0x220)]||_0x2e9e8e[_0x4d5a24(0x23f)](_0x3f3128[_0x4d5a24(0x1f1)],_0x3f3128[_0x4d5a24(0x249)])||_0x12ef3d||null;if(_0x2e9e8e['uYqlT'](process['platform'],_0x2e9e8e['FWmkv']))return _0x12ef3d||(_0x5e0fb7?_0x2e9e8e[_0x4d5a24(0x1bf)](_0x2e9e8e[_0x4d5a24(0x232)],_0x5e0fb7):null);if(_0x2e9e8e[_0x4d5a24(0x20b)](process[_0x4d5a24(0x1bc)],_0x2e9e8e['qapIq']))return _0x12ef3d||(_0x2e9e8e['ISFfO'](process[_0x4d5a24(0x20c)](),0x0)?_0x2e9e8e[_0x4d5a24(0x21c)]:_0x5e0fb7?_0x2e9e8e[_0x4d5a24(0x1ed)](_0x2e9e8e[_0x4d5a24(0x1c8)],_0x5e0fb7):null);return _0x2e9e8e[_0x4d5a24(0x1de)](_0x12ef3d,null);}}module[a120_0x360251(0x1dc)]=PercyBinary;function a120_0x54e4(){const _0x24cbf5=['platform','Connection','1358wrZUsU','iSyQf','X_OK','test','BwcPv','close','mkdirSync','/home/','debug','2258898iCDwMI','DGLdf','parse','entry','chmod','homedir','EJEKv','If-None-Match','get','qaCnJ','LOGNAME','needsUpdate','binaryPath','56rQCquI','error','kaeqx','ZTPxh','length','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','dsgri','yauzl','exports','statSync','FgiOC','.etag','undefined','function','percy','validateBinary','accessSync','qapIq','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','warn','IMrNA','xGCTG','match','writeFileSync','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','sIixE','USER','ZlWZW','destroy','HOMEDRIVE','openReadStream','KBngH','--version','agent','/root','linux','7NyRHkW','MzGip','/percy-osx.zip','MDeJF','W_OK','headers','bCfGa','extractAndSaveBinary','816ESHSBT','cmkQW','bTJbz','3327577fJIhtF','pipe','win32','end','LNAME','once','lazyEntries','PnICb','uYqlT','getuid','FWmkv','readEntry','follow-redirects','LcIRJ','DOZDW','R_OK','cwd','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','proxyPort','hLxpa','hvWhP','proxyHost','trim','catch','qRJrV','xjnJa','readFileSync','HOME','data','USERPROFILE','4dxWnqf','QZYxg','hXPLU','HeXQU','https://github.com/percy/cli/releases/latest/download','join','IlNJU','utf8','/percy-linux.zip','winstonLogger','percy.exe','ZWQuC','fileName','.zip','path','rqBDQ','EmSMm','KtkiI','download','ISFfO','HIWiu','56385nAKJHY','qtVrW','1223169VOeHRa','url','darwin','etag','SCiKM','AFHRC','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','eLXyf','../logger','/Users/','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','env','sUEjx','Error\x20trying\x20to\x20download\x20percy\x20binary','host','/percy-win.zip','uYGnR','HOMEPATH','VatRb','port','AQFjR','DVBnL','0755','132633QfVHZj','then','useCaCertificate','QRbAW','Edrda','Failed\x20to\x20read\x20ETag\x20file:\x20','8040108dizWuV','PFPEK','10vVFusa','NXdXA'];a120_0x54e4=function(){return _0x24cbf5;};return a120_0x54e4();}
|
|
1
|
+
function a120_0x3b06(_0x1dc7f7,_0xdc1b56){const _0x3123e9=a120_0x3123();return a120_0x3b06=function(_0x3b06fa,_0x16ca87){_0x3b06fa=_0x3b06fa-0x119;let _0x85ab25=_0x3123e9[_0x3b06fa];return _0x85ab25;},a120_0x3b06(_0x1dc7f7,_0xdc1b56);}const a120_0x371728=a120_0x3b06;(function(_0x4a242c,_0x54c2a6){const _0xce195=a120_0x3b06,_0x1ec540=_0x4a242c();while(!![]){try{const _0x148bf5=-parseInt(_0xce195(0x170))/0x1+-parseInt(_0xce195(0x15f))/0x2*(parseInt(_0xce195(0x19b))/0x3)+-parseInt(_0xce195(0x1ab))/0x4*(parseInt(_0xce195(0x192))/0x5)+parseInt(_0xce195(0x1a9))/0x6+-parseInt(_0xce195(0x1a8))/0x7*(-parseInt(_0xce195(0x182))/0x8)+parseInt(_0xce195(0x14f))/0x9*(-parseInt(_0xce195(0x13d))/0xa)+parseInt(_0xce195(0x185))/0xb*(parseInt(_0xce195(0x127))/0xc);if(_0x148bf5===_0x54c2a6)break;else _0x1ec540['push'](_0x1ec540['shift']());}catch(_0x1f05e1){_0x1ec540['push'](_0x1ec540['shift']());}}}(a120_0x3123,0xb07ae));function a120_0x3123(){const _0x4fa808=['LOGNAME','baOgI','once','/percy-win.zip','/root','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','homedir','BoXJW','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','rqDde','readEntry','EsnDd','392140ZsLPTE','PnjXW','nAxIl','fTdNi','W_OK','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','nZKcI','host','aGahA','agent','statusCode','readFileSync','IYOup','gfJWb','USERPROFILE','proxyHost','JzbTP','linux','8okjHGZ','RKeuy','uIylY','22zWECzS','jWvkO','/home/','WNhhE','winstonLogger','wvaqm','bBJxu','/percy-linux.zip','extractAndSaveBinary','fileName','If-None-Match','cMVDt','close','365QhENAR','/percy-osx.zip','RioTj','entry','MrPAP','USERNAME','UjhSN','match','lazyEntries','3PmmKue','KLdtP','Failed\x20to\x20save\x20ETag\x20file:\x20','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','Error\x20trying\x20to\x20download\x20percy\x20binary','baeZI','parse','eaUws','HOME','R_OK','Failed\x20to\x20read\x20ETag\x20file:\x20','accessSync','download','5030242iHhnVJ','6614244ITgOZy','proxyPort','15556uHRdZS','needsUpdate','RkZyc','lVybB','pveYg','skcPN','etag','XgFnu','error','DFxbX','nzWNm','0755','NMhbj','iOJQF','aykKp','dAmzJ','juOcC','data','then','Saved\x20new\x20ETag\x20for\x20percy\x20binary','path','hwxsu','headers','YGfnu','statSync','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','wjEkt','SoiKd','6232968KphwJd','BoqhG','--version','destroy','https://github.com/percy/cli/releases/latest/download','PnJSY','tmpdir','EfOsN','warn','utf8','.zip','aJUny','catch','tKLrq','mkdirSync','percy.exe','test','/Users/','function','stdout','CbBIN','exports','110hwjZGV','chmod','length','lUREy','vjsTM','Connection','SpjWa','pipe','createWriteStream','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','debug','cwd','stoIE','kZJiB','get','binaryPath','sqHOL','fHcPO','1055322oPTOmt','gUshT','.etag','port','ctSEy','rhPzX','platform','NfcDn','useCaCertificate','trim','HOMEPATH','.browserstack','yauzl','validateBinary','join','env','342142EdCnKp','pLRJH','https-proxy-agent','xKPtH','getuid'];a120_0x3123=function(){return _0x4fa808;};return a120_0x3123();}const {https}=require('follow-redirects'),url=require('url'),yauzl=require(a120_0x371728(0x15b)),fs=require('fs'),path=require(a120_0x371728(0x11e)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a120_0x371728(0x161)),logger=require('../logger')[a120_0x371728(0x189)];class PercyBinary{#hostOS=process[a120_0x371728(0x155)];#httpPath=null;#binaryName='percy';#orderedPaths=[path[a120_0x371728(0x15d)](this.#homedir(),a120_0x371728(0x15a)),process[a120_0x371728(0x148)](),os[a120_0x371728(0x12d)]()];constructor(){const _0x17820e=a120_0x371728,_0x3607a7={};_0x3607a7[_0x17820e(0x16f)]=_0x17820e(0x12b),_0x3607a7[_0x17820e(0x18a)]=function(_0xbe7ac8,_0x41f6c2){return _0xbe7ac8+_0x41f6c2;},_0x3607a7[_0x17820e(0x16b)]=_0x17820e(0x193),_0x3607a7['sqHOL']=function(_0x1e4adf,_0x53d3a4){return _0x1e4adf+_0x53d3a4;},_0x3607a7[_0x17820e(0x1af)]=_0x17820e(0x167),_0x3607a7['CbBIN']=_0x17820e(0x136),_0x3607a7['lVybB']=_0x17820e(0x18c);const _0x3314f0=_0x3607a7,_0x5befc7=_0x3314f0[_0x17820e(0x16f)];if(this.#hostOS[_0x17820e(0x199)](/darwin|mac os/i))this.#httpPath=_0x3314f0[_0x17820e(0x18a)](_0x5befc7,_0x3314f0[_0x17820e(0x16b)]);else this.#hostOS[_0x17820e(0x199)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x3314f0[_0x17820e(0x14d)](_0x5befc7,_0x3314f0['pveYg']),this.#binaryName=_0x3314f0[_0x17820e(0x13b)]):this.#httpPath=_0x3314f0[_0x17820e(0x14d)](_0x5befc7,_0x3314f0[_0x17820e(0x1ae)]);}#getAvailableDirs(){const _0x355276=a120_0x371728,_0x1a4b1d={};_0x1a4b1d[_0x355276(0x1b0)]=function(_0x34a689,_0x3bbb22){return _0x34a689<_0x3bbb22;},_0x1a4b1d[_0x355276(0x180)]=_0x355276(0x19f);const _0x599597=_0x1a4b1d;for(var _0x4a2789=0x0;_0x599597[_0x355276(0x1b0)](_0x4a2789,this.#orderedPaths[_0x355276(0x13f)]);_0x4a2789++){var _0x318a21=this.#orderedPaths[_0x4a2789];if(this.#makePath(_0x318a21))return _0x318a21;}throw new Error(_0x599597[_0x355276(0x180)]);}#makePath(_0x1065b1){const _0x1229df=a120_0x371728;try{return _0x1065b1&&!this.#checkPath(_0x1065b1)&&fs[_0x1229df(0x135)](_0x1065b1),!![];}catch{return![];}}#checkPath(_0x2a2749,_0x2a6a9c){const _0x4f3868=a120_0x371728,_0xa04c97={};_0xa04c97[_0x4f3868(0x178)]=function(_0x2e97a1,_0x4920fe){return _0x2e97a1|_0x4920fe;},_0xa04c97[_0x4f3868(0x1b2)]=function(_0x56cba1,_0x41f4c9){return _0x56cba1!==_0x41f4c9;},_0xa04c97[_0x4f3868(0x1ad)]='undefined';const _0x1d5239=_0xa04c97;_0x2a6a9c=_0x2a6a9c||_0x1d5239[_0x4f3868(0x178)](fs[_0x4f3868(0x1a4)],fs[_0x4f3868(0x174)]);try{return fs[_0x4f3868(0x1a6)](_0x2a2749,_0x2a6a9c),!![];}catch(_0x21b4d8){if(_0x1d5239[_0x4f3868(0x1b2)](typeof fs[_0x4f3868(0x1a6)],_0x1d5239['RkZyc']))return![];try{return fs[_0x4f3868(0x122)](_0x2a2749),!![];}catch(_0x21f1ac){return![];}}}#getETagPath(_0x2211a2){const _0x200bb1=a120_0x371728;return path[_0x200bb1(0x15d)](_0x2211a2,this.#binaryName+_0x200bb1(0x151));}#loadETag(_0x11ebf8){const _0x45d33b=a120_0x371728,_0xb5a788={};_0xb5a788['stoIE']=_0x45d33b(0x130);const _0x4f31cb=_0xb5a788,_0x573fe2=this.#getETagPath(_0x11ebf8);if(this.#checkPath(_0x573fe2))try{return fs[_0x45d33b(0x17b)](_0x573fe2,_0x4f31cb[_0x45d33b(0x149)])[_0x45d33b(0x158)]();}catch(_0x2b6a15){logger[_0x45d33b(0x12f)](_0x45d33b(0x1a5)+_0x2b6a15);}return null;}#saveETag(_0xeeb8bc,_0x952af0){const _0x44bdad=a120_0x371728,_0x5bcc24={};_0x5bcc24[_0x44bdad(0x1b9)]=_0x44bdad(0x11d);const _0x27b71d=_0x5bcc24;if(!_0x952af0)return;try{const _0xbddf63=this.#getETagPath(_0xeeb8bc);fs['writeFileSync'](_0xbddf63,_0x952af0),logger['debug'](_0x27b71d[_0x44bdad(0x1b9)]);}catch(_0x51b16e){logger['warn'](_0x44bdad(0x19d)+_0x51b16e);}}async #handleBinaryDownload(_0xb24781,_0x1d414b,_0x383106){const _0x5534e8=a120_0x371728,_0x37bb6c={};_0x37bb6c['dAmzJ']=_0x5534e8(0x146);const _0x465253=_0x37bb6c,_0x580865=await this[_0x5534e8(0x15c)](_0xb24781[_0x5534e8(0x14c)]);if(!_0x580865){logger[_0x5534e8(0x1b3)](_0x465253[_0x5534e8(0x119)]);const _0x5498fb=await this[_0x5534e8(0x1a7)](_0x1d414b,_0x383106);return _0x5498fb[_0x5534e8(0x14c)];}return _0xb24781[_0x5534e8(0x14c)];}async['getBinaryPath'](_0x3bbabe){const _0x1eb726=a120_0x371728,_0x3e30df={};_0x3e30df[_0x1eb726(0x190)]=_0x1eb726(0x175),_0x3e30df[_0x1eb726(0x186)]=_0x1eb726(0x16c);const _0x17b294=_0x3e30df,_0x202c83=this.#getAvailableDirs(),_0x2ccd1b=path[_0x1eb726(0x15d)](_0x202c83,this.#binaryName);if(this.#checkPath(_0x2ccd1b,fs['X_OK'])){const _0xb70789=this.#loadETag(_0x202c83);if(_0xb70789)try{const _0x29519e=await this['download'](_0x3bbabe,_0x202c83,_0xb70789);if(!_0x29519e[_0x1eb726(0x1ac)])return logger[_0x1eb726(0x147)](_0x17b294['cMVDt']),_0x2ccd1b;return logger[_0x1eb726(0x147)](_0x17b294[_0x1eb726(0x186)]),await this.#handleBinaryDownload(_0x29519e,_0x3bbabe,_0x202c83);}catch(_0x3cdaf0){return logger[_0x1eb726(0x12f)](_0x1eb726(0x19e)+_0x3cdaf0),_0x2ccd1b;}}const _0x25855e=await this[_0x1eb726(0x1a7)](_0x3bbabe,_0x202c83);return await this.#handleBinaryDownload(_0x25855e,_0x3bbabe,_0x202c83);}['download'](_0xef9c6f,_0x49fe2f,_0x58edff=null){const _0xfa9b65=a120_0x371728,_0x411fa1={'KLdtP':function(_0x1fd14e,_0x162454){return _0x1fd14e(_0x162454);},'xLiww':function(_0x2d5507,_0x4cf845){return _0x2d5507===_0x4cf845;},'pLRJH':_0xfa9b65(0x1b3),'iOJQF':'close','UjhSN':function(_0x492f55,_0xc374d9){return _0x492f55+_0xc374d9;},'SoiKd':_0xfa9b65(0x131)};_0x49fe2f&&!this.#checkPath(_0x49fe2f)&&fs[_0xfa9b65(0x135)](_0x49fe2f);const _0x333cc6=this.#binaryName,_0x213acc=path['join'](_0x49fe2f,_0x411fa1[_0xfa9b65(0x198)](_0x333cc6,_0x411fa1[_0xfa9b65(0x126)])),_0x252837=fs[_0xfa9b65(0x145)](_0x213acc),_0x36b543=url[_0xfa9b65(0x1a1)](this.#httpPath);if(_0xef9c6f[_0xfa9b65(0x17f)]&&_0xef9c6f[_0xfa9b65(0x1aa)]){const _0x231477={};_0x231477[_0xfa9b65(0x177)]=_0xef9c6f[_0xfa9b65(0x17f)],_0x231477[_0xfa9b65(0x152)]=_0xef9c6f[_0xfa9b65(0x1aa)],_0x36b543[_0xfa9b65(0x179)]=new HttpsProxyAgent(_0x231477);}if(_0xef9c6f['useCaCertificate'])try{_0x36b543['ca']=fs[_0xfa9b65(0x17b)](_0xef9c6f[_0xfa9b65(0x157)]);}catch(_0x5b270a){logger[_0xfa9b65(0x1b3)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x5b270a);}if(_0x58edff){const _0x293124={};_0x293124[_0xfa9b65(0x18f)]=_0x58edff,_0x293124[_0xfa9b65(0x142)]=_0x411fa1['iOJQF'],_0x36b543['headers']=_0x293124;}else{const _0x2d10fc={};_0x2d10fc[_0xfa9b65(0x142)]=_0x411fa1[_0xfa9b65(0x1b8)],_0x36b543[_0xfa9b65(0x120)]=_0x2d10fc;}return new Promise((_0x5b85eb,_0x7e1021)=>{const _0x517bba=_0xfa9b65,_0x52eb91={'PnJSY':function(_0x3ab373,_0x184333){const _0x2fb6d4=a120_0x3b06;return _0x411fa1[_0x2fb6d4(0x19c)](_0x3ab373,_0x184333);},'nAxIl':function(_0x178e43,_0x4a9857){return _0x411fa1['xLiww'](_0x178e43,_0x4a9857);},'gUshT':_0x411fa1[_0x517bba(0x160)],'ctSEy':_0x411fa1[_0x517bba(0x1b8)],'wjEkt':function(_0x4384cc,_0x90d39d){const _0x38e195=_0x517bba;return _0x411fa1[_0x38e195(0x19c)](_0x4384cc,_0x90d39d);}};https[_0x517bba(0x14b)](_0x36b543,_0x1de2fd=>{const _0x4759af=_0x517bba,_0xb192b4={'bTpss':function(_0x3d3bc2,_0x250627){const _0x16fbf4=a120_0x3b06;return _0x52eb91[_0x16fbf4(0x12c)](_0x3d3bc2,_0x250627);},'SNvQX':function(_0xb4c792,_0x102594){const _0x9a537=a120_0x3b06;return _0x52eb91[_0x9a537(0x12c)](_0xb4c792,_0x102594);}};if(_0x58edff&&_0x52eb91[_0x4759af(0x172)](_0x1de2fd[_0x4759af(0x17a)],0x130)){_0x252837[_0x4759af(0x12a)]();const _0x2f9ae6={};_0x2f9ae6[_0x4759af(0x1ac)]=![],_0x52eb91[_0x4759af(0x12c)](_0x5b85eb,_0x2f9ae6);return;}const _0x2c2fbc=_0x1de2fd[_0x4759af(0x120)][_0x4759af(0x1b1)];_0x2c2fbc&&this.#saveETag(_0x49fe2f,_0x2c2fbc),_0x1de2fd['pipe'](_0x252837),_0x1de2fd['on'](_0x52eb91[_0x4759af(0x150)],function(_0x50b2ed){const _0x3dd395=_0x4759af;logger[_0x3dd395(0x1b3)](_0x3dd395(0x123)+_0x50b2ed),_0xb192b4['bTpss'](_0x7e1021,_0x50b2ed);}),_0x252837['on'](_0x52eb91[_0x4759af(0x150)],function(_0x1068e8){const _0x52dc36=_0x4759af;logger['error'](_0x52dc36(0x169)+_0x1068e8),_0xb192b4['SNvQX'](_0x7e1021,_0x1068e8);}),_0x252837['on'](_0x52eb91[_0x4759af(0x153)],()=>{const _0x5c3c48=_0x4759af;this['extractAndSaveBinary'](_0x213acc,_0x49fe2f)[_0x5c3c48(0x11c)](_0x35c372=>_0x5b85eb({'needsUpdate':!![],'binaryPath':_0x35c372}))[_0x5c3c48(0x133)](_0x7e1021);});})['on'](_0x411fa1[_0x517bba(0x160)],function(_0x580fb1){const _0x4ddc6c=_0x517bba;logger[_0x4ddc6c(0x1b3)](_0x4ddc6c(0x124)+_0x580fb1),_0x52eb91[_0x4ddc6c(0x125)](_0x7e1021,_0x580fb1);});});}[a120_0x371728(0x18d)](_0x53aff2,_0x4d949f){const _0x56ccfc=a120_0x371728,_0x1cdd26={'nzWNm':function(_0x5a0391,_0x332cd0){return _0x5a0391(_0x332cd0);},'NKTXa':_0x56ccfc(0x1b6),'RioTj':'end','PnjXW':function(_0x13cc04,_0x3d7eff){return _0x13cc04===_0x3d7eff;},'baOgI':_0x56ccfc(0x195),'DdaaZ':_0x56ccfc(0x1b3)},_0x5dd3db=this.#binaryName,_0x5d325a=path[_0x56ccfc(0x15d)](_0x4d949f,_0x5dd3db);return new Promise((_0x45005b,_0x35854c)=>{const _0x495c2d=_0x56ccfc,_0x21f134={'juOcC':function(_0x851e9b,_0x39793f){const _0x38b0f=a120_0x3b06;return _0x1cdd26[_0x38b0f(0x1b5)](_0x851e9b,_0x39793f);},'tKLrq':_0x1cdd26['NKTXa'],'baeZI':_0x1cdd26[_0x495c2d(0x194)],'uIylY':function(_0x1ac43a,_0x1e9e28){const _0x2acc4b=_0x495c2d;return _0x1cdd26[_0x2acc4b(0x171)](_0x1ac43a,_0x1e9e28);},'SpjWa':function(_0x39abf0,_0x1e1c03){const _0xdc1fa0=_0x495c2d;return _0x1cdd26[_0xdc1fa0(0x1b5)](_0x39abf0,_0x1e1c03);},'rqDde':function(_0x4da651,_0x46c201){const _0x42425a=_0x495c2d;return _0x1cdd26[_0x42425a(0x1b5)](_0x4da651,_0x46c201);},'bBJxu':_0x1cdd26[_0x495c2d(0x165)],'IYOup':_0x1cdd26['DdaaZ']},_0x33611f={};_0x33611f[_0x495c2d(0x19a)]=!![],yauzl['open'](_0x53aff2,_0x33611f,function(_0x1087f1,_0x3e307e){const _0x14cd93=_0x495c2d,_0x542572={'JqKhm':function(_0x45861f,_0x3049d8){const _0x1df93f=a120_0x3b06;return _0x21f134[_0x1df93f(0x11a)](_0x45861f,_0x3049d8);},'SecNt':_0x21f134[_0x14cd93(0x1a0)],'ewcic':function(_0x57b2ee,_0xb70e7e){const _0x3ce457=_0x14cd93;return _0x21f134[_0x3ce457(0x184)](_0x57b2ee,_0xb70e7e);},'OVzhx':function(_0x6c54a,_0x2357d5){const _0x579234=_0x14cd93;return _0x21f134[_0x579234(0x143)](_0x6c54a,_0x2357d5);},'NfcDn':function(_0x7f9f41,_0x2a4f51){const _0x18ab3e=_0x14cd93;return _0x21f134[_0x18ab3e(0x16d)](_0x7f9f41,_0x2a4f51);}};_0x1087f1&&_0x21f134[_0x14cd93(0x11a)](_0x35854c,_0x1087f1),_0x3e307e[_0x14cd93(0x16e)](),_0x3e307e['on'](_0x21f134[_0x14cd93(0x18b)],_0x203dec=>{const _0x5f169a=_0x14cd93;if(/\/$/[_0x5f169a(0x137)](_0x203dec[_0x5f169a(0x18e)]))_0x3e307e[_0x5f169a(0x16e)]();else{const _0x2238d6=fs[_0x5f169a(0x145)](path[_0x5f169a(0x15d)](_0x4d949f,_0x203dec[_0x5f169a(0x18e)]));_0x3e307e['openReadStream'](_0x203dec,function(_0x184537,_0x6ee7b6){const _0x2ab2ba=_0x5f169a;_0x184537&&_0x542572['JqKhm'](_0x35854c,_0x1087f1),_0x6ee7b6['on'](_0x542572['SecNt'],function(){const _0x3f498d=a120_0x3b06;_0x2238d6[_0x3f498d(0x191)](),_0x3e307e['readEntry']();}),_0x6ee7b6[_0x2ab2ba(0x144)](_0x2238d6);}),_0x542572['ewcic'](_0x203dec['fileName'],_0x5dd3db)&&_0x3e307e['close']();}}),_0x3e307e['on'](_0x21f134[_0x14cd93(0x17c)],_0x42ab3a=>{_0x21f134['juOcC'](_0x35854c,_0x42ab3a);}),_0x3e307e[_0x14cd93(0x166)](_0x21f134[_0x14cd93(0x1a0)],()=>{const _0x298193=_0x14cd93;fs[_0x298193(0x13e)](_0x5d325a,_0x21f134[_0x298193(0x134)],function(_0x5eeefd){const _0xc08fdb=_0x298193;_0x5eeefd&&_0x542572['OVzhx'](_0x35854c,_0x5eeefd),_0x542572[_0xc08fdb(0x156)](_0x45005b,_0x5d325a);}),_0x3e307e['close']();});});});}async[a120_0x371728(0x15c)](_0x2254c0){const _0x11e1c2=a120_0x371728,_0x444744={'RKeuy':function(_0x439493,_0x1dfd00){return _0x439493(_0x1dfd00);},'EfOsN':function(_0x55c9c2,_0xf78069){return _0x55c9c2(_0xf78069);},'lUREy':function(_0x6ca4b7,_0x35b04b,_0x34ff64,_0xbb3cd8){return _0x6ca4b7(_0x35b04b,_0x34ff64,_0xbb3cd8);},'DFxbX':_0x11e1c2(0x129),'hwxsu':_0x11e1c2(0x11b),'BoqhG':_0x11e1c2(0x191)},_0x210444=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x542bba,_0x55e7cf)=>{const _0x576647=_0x11e1c2,_0x2c8aa4={'YGfnu':function(_0x2b394c,_0x508262){const _0x49ca29=a120_0x3b06;return _0x444744[_0x49ca29(0x12e)](_0x2b394c,_0x508262);}},_0x4b2992={};_0x4b2992[_0x576647(0x15e)]=process['env'];const _0x4ffe68=_0x444744[_0x576647(0x140)](spawn,_0x2254c0,[_0x444744[_0x576647(0x1b4)]],_0x4b2992);_0x4ffe68[_0x576647(0x13a)]['on'](_0x444744[_0x576647(0x11f)],_0x4d84a2=>{const _0xb4a948=_0x576647;_0x210444[_0xb4a948(0x137)](_0x4d84a2)&&_0x2c8aa4[_0xb4a948(0x121)](_0x542bba,!![]);}),_0x4ffe68['on'](_0x444744[_0x576647(0x128)],()=>{const _0x4fe2a9=_0x576647;_0x444744[_0x4fe2a9(0x183)](_0x542bba,![]);});});}#homedir(){const _0x32f08a=a120_0x371728,_0x5c3715={};_0x5c3715[_0x32f08a(0x17d)]=function(_0xd26be4,_0x31423c){return _0xd26be4===_0x31423c;},_0x5c3715[_0x32f08a(0x173)]=_0x32f08a(0x139),_0x5c3715[_0x32f08a(0x132)]=function(_0x2bf29f,_0x5ebbda){return _0x2bf29f===_0x5ebbda;},_0x5c3715[_0x32f08a(0x1a2)]='win32',_0x5c3715[_0x32f08a(0x188)]=function(_0x4a5e58,_0x3fb296){return _0x4a5e58+_0x3fb296;},_0x5c3715[_0x32f08a(0x154)]=function(_0x4d27a0,_0x209809){return _0x4d27a0===_0x209809;},_0x5c3715['vjsTM']='darwin',_0x5c3715[_0x32f08a(0x196)]=_0x32f08a(0x138),_0x5c3715['BMsCD']=function(_0x5653e9,_0x325520){return _0x5653e9===_0x325520;},_0x5c3715[_0x32f08a(0x14a)]=_0x32f08a(0x181),_0x5c3715['xKPtH']=function(_0x498c7b,_0x5661bd){return _0x498c7b===_0x5661bd;},_0x5c3715[_0x32f08a(0x1b7)]=_0x32f08a(0x168),_0x5c3715['nZKcI']=_0x32f08a(0x187),_0x5c3715[_0x32f08a(0x14e)]=function(_0x25162c,_0x273ba5){return _0x25162c||_0x273ba5;};const _0x9e7cb8=_0x5c3715;if(_0x9e7cb8['gfJWb'](typeof os[_0x32f08a(0x16a)],_0x9e7cb8[_0x32f08a(0x173)]))return os[_0x32f08a(0x16a)]();const _0x14952a=process[_0x32f08a(0x15e)],_0x3f3ac1=_0x14952a[_0x32f08a(0x1a3)],_0x40e942=_0x14952a[_0x32f08a(0x164)]||_0x14952a['USER']||_0x14952a['LNAME']||_0x14952a[_0x32f08a(0x197)];if(_0x9e7cb8['aJUny'](process[_0x32f08a(0x155)],_0x9e7cb8['eaUws']))return _0x14952a[_0x32f08a(0x17e)]||_0x9e7cb8[_0x32f08a(0x188)](_0x14952a['HOMEDRIVE'],_0x14952a[_0x32f08a(0x159)])||_0x3f3ac1||null;if(_0x9e7cb8[_0x32f08a(0x154)](process[_0x32f08a(0x155)],_0x9e7cb8[_0x32f08a(0x141)]))return _0x3f3ac1||(_0x40e942?_0x9e7cb8[_0x32f08a(0x188)](_0x9e7cb8[_0x32f08a(0x196)],_0x40e942):null);if(_0x9e7cb8['BMsCD'](process[_0x32f08a(0x155)],_0x9e7cb8['kZJiB']))return _0x3f3ac1||(_0x9e7cb8[_0x32f08a(0x162)](process[_0x32f08a(0x163)](),0x0)?_0x9e7cb8[_0x32f08a(0x1b7)]:_0x40e942?_0x9e7cb8[_0x32f08a(0x188)](_0x9e7cb8[_0x32f08a(0x176)],_0x40e942):null);return _0x9e7cb8[_0x32f08a(0x14e)](_0x3f3ac1,null);}}module[a120_0x371728(0x13c)]=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a121_0x14b6(_0x5ca375,_0x35f973){var _0x28ca60=a121_0x28ca();return a121_0x14b6=function(_0x14b66d,_0x5de3db){_0x14b66d=_0x14b66d-0xda;var _0x13d2ed=_0x28ca60[_0x14b66d];return _0x13d2ed;},a121_0x14b6(_0x5ca375,_0x35f973);}function a121_0x28ca(){var _0x24edd1=['32SXxGqV','490690BcAADP','increment','2705946TYTJnm','3TyRvDI','3404865SkiATk','get','2365293heVNqY','1091334YRMQEu','getName','1607696ccjzYU','4884723xDqxWC','exports'];a121_0x28ca=function(){return _0x24edd1;};return a121_0x28ca();}var a121_0x3160d1=a121_0x14b6;(function(_0x588578,_0x2a5707){var _0x17e03c=a121_0x14b6,_0x5069d8=_0x588578();while(!![]){try{var _0x45f5cc=parseInt(_0x17e03c(0xda))/0x1+parseInt(_0x17e03c(0xdc))/0x2+parseInt(_0x17e03c(0xdd))/0x3*(parseInt(_0x17e03c(0xe3))/0x4)+parseInt(_0x17e03c(0xde))/0x5+-parseInt(_0x17e03c(0xe1))/0x6+parseInt(_0x17e03c(0xe0))/0x7+-parseInt(_0x17e03c(0xe6))/0x8*(parseInt(_0x17e03c(0xe4))/0x9);if(_0x45f5cc===_0x2a5707)break;else _0x5069d8['push'](_0x5069d8['shift']());}catch(_0x4c4cf0){_0x5069d8['push'](_0x5069d8['shift']());}}}(a121_0x28ca,0xde8de));class PercyCaptureMap{#map={};[a121_0x3160d1(0xdb)](_0x2d8866,_0x23a6f2){!this.#map[_0x2d8866]&&(this.#map[_0x2d8866]={}),!this.#map[_0x2d8866][_0x23a6f2]&&(this.#map[_0x2d8866][_0x23a6f2]=0x0),this.#map[_0x2d8866][_0x23a6f2]++;}[a121_0x3160d1(0xe2)](_0x32ca3f,_0x3e0af7){var _0x3bacf2=a121_0x3160d1;return _0x32ca3f+'-'+_0x3e0af7+'-'+this[_0x3bacf2(0xdf)](_0x32ca3f,_0x3e0af7);}[a121_0x3160d1(0xdf)](_0x3c6ba2,_0x4b95fc){if(!this.#map[_0x3c6ba2])return 0x0;if(!this.#map[_0x3c6ba2][_0x4b95fc])return 0x0;return this.#map[_0x3c6ba2][_0x4b95fc];}}module[a121_0x3160d1(0xe5)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a122_0x580a(){var _0x550db2=['2090550AMJpJV','manual','11855367WDclly','30fOWilt','859298QSLQkq','5063368WWBLCt','element','driver','takeScreenshot','956YqRydK','668816srVhTq','exports','2970qfcdbn','click','758933RVnVCO','testcase','screenshot'];a122_0x580a=function(){return _0x550db2;};return a122_0x580a();}var a122_0x48ee34=a122_0x4bae;(function(_0x3ec6c7,_0x28a0e9){var _0x1f20b3=a122_0x4bae,_0x5e3fac=_0x3ec6c7();while(!![]){try{var _0x34be81=parseInt(_0x1f20b3(0x19b))/0x1+parseInt(_0x1f20b3(0x1a6))/0x2+parseInt(_0x1f20b3(0x1a2))/0x3+-parseInt(_0x1f20b3(0x19a))/0x4*(parseInt(_0x1f20b3(0x19d))/0x5)+-parseInt(_0x1f20b3(0x1a5))/0x6*(parseInt(_0x1f20b3(0x19f))/0x7)+parseInt(_0x1f20b3(0x1a7))/0x8+-parseInt(_0x1f20b3(0x1a4))/0x9;if(_0x34be81===_0x28a0e9)break;else _0x5e3fac['push'](_0x5e3fac['shift']());}catch(_0x38def9){_0x5e3fac['push'](_0x5e3fac['shift']());}}}(a122_0x580a,0x683a0));var a122_0x37195d={};a122_0x37195d[a122_0x48ee34(0x1a9)]=[a122_0x48ee34(0x1aa)],a122_0x37195d['element']=[a122_0x48ee34(0x19e),'sendKeys'];var a122_0x47eb27={};a122_0x47eb27[a122_0x48ee34(0x1a9)]=[a122_0x48ee34(0x1aa)];var a122_0x290296={};a122_0x290296[a122_0x48ee34(0x1a8)]=[a122_0x48ee34(0x19e)];var a122_0x120372={};function a122_0x4bae(_0x28dfe2,_0x32fb12){var _0x580a19=a122_0x580a();return a122_0x4bae=function(_0x4bae0e,_0x13aa8c){_0x4bae0e=_0x4bae0e-0x19a;var _0x275412=_0x580a19[_0x4bae0e];return _0x275412;},a122_0x4bae(_0x28dfe2,_0x32fb12);}a122_0x120372['auto']=a122_0x37195d,a122_0x120372[a122_0x48ee34(0x1a1)]=a122_0x47eb27,a122_0x120372[a122_0x48ee34(0x19e)]=a122_0x290296,a122_0x120372[a122_0x48ee34(0x1a0)]={},a122_0x120372[a122_0x48ee34(0x1a3)]={},module[a122_0x48ee34(0x19c)]=a122_0x120372;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a123_0x10c1(_0x489695,_0x5b8f4e){const _0x57ef8e=a123_0x57ef();return a123_0x10c1=function(_0x57ef70,_0x10c11b){_0x57ef70=_0x57ef70-0xce;let _0x5a601b=_0x57ef8e[_0x57ef70];return _0x5a601b;},a123_0x10c1(_0x489695,_0x5b8f4e);}const a123_0x2b0e5a=a123_0x10c1;(function(_0x35db06,_0x29b306){const _0x190625=a123_0x10c1,_0x2b3ffe=_0x35db06();while(!![]){try{const _0x4887aa=parseInt(_0x190625(0xdb))/0x1+parseInt(_0x190625(0xde))/0x2+parseInt(_0x190625(0xe0))/0x3+parseInt(_0x190625(0xd3))/0x4*(-parseInt(_0x190625(0xe5))/0x5)+parseInt(_0x190625(0xee))/0x6*(parseInt(_0x190625(0xe8))/0x7)+parseInt(_0x190625(0xe1))/0x8+-parseInt(_0x190625(0xed))/0x9;if(_0x4887aa===_0x29b306)break;else _0x2b3ffe['push'](_0x2b3ffe['shift']());}catch(_0x1715c0){_0x2b3ffe['push'](_0x2b3ffe['shift']());}}}(a123_0x57ef,0x5a2aa));const tryRequire=function(_0x223888,_0x3b1d1){const _0xe6771e={'yDRsL':function(_0x70a0ac,_0xb915f1){return _0x70a0ac(_0xb915f1);}};try{return _0xe6771e['yDRsL'](require,_0x223888);}catch{return _0x3b1d1;}},percySnapshot=tryRequire(a123_0x2b0e5a(0xda),null),{percyScreenshot}=tryRequire(a123_0x2b0e5a(0xda),{}),percyAppScreenshot=require(a123_0x2b0e5a(0xf2)),{getCurrentTestData}=require(a123_0x2b0e5a(0xce)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants'),logger=require('../logger')[a123_0x2b0e5a(0xe6)];percySnapshot&&(exports[a123_0x2b0e5a(0xf0)]=async function(){const _0x342e68=a123_0x2b0e5a,_0x3c6ea8={'JRJoN':function(_0x207cab,_0x13952c){return _0x207cab!==_0x13952c;},'GfNqr':function(_0x2dd897,_0x447060){return _0x2dd897>=_0x447060;},'SzRqr':function(_0x421f92){return _0x421f92();}};if(global[_0x342e68(0xe7)]&&_0x3c6ea8[_0x342e68(0xd0)](global[_0x342e68(0xe7)],global['browserstackPercyBestPlatform']))return;const _0x4c73ec=_0x3c6ea8[_0x342e68(0xec)](arguments[_0x342e68(0xd6)],0x2)?arguments[0x1]:'',_0x239a6d=_0x3c6ea8[_0x342e68(0xe3)](getCurrentTestData),_0x506aec={};return _0x506aec[_0x342e68(0xea)]=_0x4c73ec,_0x506aec['testCase']=_0x239a6d[_0x342e68(0xea)]||'',_0x506aec[_0x342e68(0xdd)]=_0x239a6d[_0x342e68(0xef)]||'',_0x506aec[_0x342e68(0xd8)]=global[_0x342e68(0xe7)],await PerformanceTester['measure'](PerformanceEvents[_0x342e68(0xd9)],()=>percySnapshot[_0x342e68(0xcf)](null,arguments),_0x506aec);});percyScreenshot?exports['screenshot']=async function(){const _0x59bba2=a123_0x2b0e5a,_0x26c693={'EVEiN':function(_0x13629d,_0xf2483e){return _0x13629d>=_0xf2483e;},'aIbaa':function(_0x412fc7){return _0x412fc7();}},_0x2c966d=_0x26c693[_0x59bba2(0xe9)](arguments[_0x59bba2(0xd6)],0x2)?arguments[0x1]:'',_0x13a7b2=_0x26c693[_0x59bba2(0xd1)](getCurrentTestData),_0x89d7c8={};return _0x89d7c8[_0x59bba2(0xea)]=_0x2c966d,_0x89d7c8[_0x59bba2(0xf1)]=_0x13a7b2[_0x59bba2(0xea)]||'',_0x89d7c8[_0x59bba2(0xdd)]=_0x13a7b2[_0x59bba2(0xef)]||'',_0x89d7c8['platformIndex']=global[_0x59bba2(0xe7)],await PerformanceTester[_0x59bba2(0xd4)](PerformanceEvents['SCREENSHOT'],()=>percyScreenshot[_0x59bba2(0xcf)](null,arguments),_0x89d7c8);}:exports[a123_0x2b0e5a(0xeb)]=()=>{const _0xfe7129=a123_0x2b0e5a,_0x1fef23={};_0x1fef23[_0xfe7129(0xd5)]=_0xfe7129(0xd2);const _0x1d9b9b=_0x1fef23;logger[_0xfe7129(0xe4)](_0x1d9b9b[_0xfe7129(0xd5)]);};exports[a123_0x2b0e5a(0xdc)]=async function(){const _0x4f87c7=a123_0x2b0e5a,_0x379986={'qdqex':function(_0x3e6b6f,_0x25bf2b){return _0x3e6b6f>=_0x25bf2b;},'yqGVt':function(_0x2b4a17){return _0x2b4a17();}},_0x4b19a6=_0x379986[_0x4f87c7(0xd7)](arguments[_0x4f87c7(0xd6)],0x2)?arguments[0x1]:'',_0x388e87=_0x379986[_0x4f87c7(0xdf)](getCurrentTestData),_0x448c33={};return _0x448c33['name']=_0x4b19a6,_0x448c33[_0x4f87c7(0xf1)]=_0x388e87['name']||'',_0x448c33[_0x4f87c7(0xdd)]=_0x388e87[_0x4f87c7(0xef)]||'',_0x448c33['platformIndex']=global[_0x4f87c7(0xe7)],await PerformanceTester['measure'](PerformanceEvents[_0x4f87c7(0xe2)],()=>percyAppScreenshot[_0x4f87c7(0xcf)](null,arguments),_0x448c33);};function a123_0x57ef(){const _0x4795e8=['thTestCaseExecutionId','1179620EWyfxT','yqGVt','187020FJsVMw','4113944sSPWnZ','SCREENSHOT_APP','SzRqr','error','125635LkzbxY','winstonLogger','browserstackPlatformIndex','81823JYUmVv','EVEiN','name','screenshot','GfNqr','10262763Qocpka','234KeOYzS','uuid','snapshot','testCase','@percy/appium-app','../../helpers/testhub/utils','apply','JRJoN','aIbaa','Unsupported\x20driver\x20for\x20percy','108gSoaqx','measure','VpQNy','length','qdqex','platformIndex','SNAPSHOT','@percy/selenium-webdriver','565794EIcueN','screenshotApp'];a123_0x57ef=function(){return _0x4795e8;};return a123_0x57ef();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a124_0x245e34=a124_0x5346;function a124_0x56a1(){var _0x409bf4=['1363588KmplKm','2pcriYQ','7825314TjjjeF','10618134OCiYAT','5XmPfAa','10174790HxCKHn','64wctaRZ','77ibXmJT','4988523HRBMnp','285147odEksf','./Percy','1505218zHfKHV'];a124_0x56a1=function(){return _0x409bf4;};return a124_0x56a1();}function a124_0x5346(_0x44129f,_0xd16e3e){var _0x56a187=a124_0x56a1();return a124_0x5346=function(_0x5346cc,_0x134b09){_0x5346cc=_0x5346cc-0xb9;var _0x48dea0=_0x56a187[_0x5346cc];return _0x48dea0;},a124_0x5346(_0x44129f,_0xd16e3e);}(function(_0x424dc6,_0x42a8c6){var _0x3bc69e=a124_0x5346,_0x41cea2=_0x424dc6();while(!![]){try{var _0x9bdb2f=parseInt(_0x3bc69e(0xba))/0x1*(-parseInt(_0x3bc69e(0xbc))/0x2)+-parseInt(_0x3bc69e(0xc3))/0x3+-parseInt(_0x3bc69e(0xbb))/0x4+parseInt(_0x3bc69e(0xbf))/0x5*(-parseInt(_0x3bc69e(0xbe))/0x6)+-parseInt(_0x3bc69e(0xbd))/0x7+parseInt(_0x3bc69e(0xc1))/0x8*(parseInt(_0x3bc69e(0xc4))/0x9)+parseInt(_0x3bc69e(0xc0))/0xa*(parseInt(_0x3bc69e(0xc2))/0xb);if(_0x9bdb2f===_0x42a8c6)break;else _0x41cea2['push'](_0x41cea2['shift']());}catch(_0xb6e786){_0x41cea2['push'](_0x41cea2['shift']());}}}(a124_0x56a1,0xef146),module['exports']=require(a124_0x245e34(0xb9)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a125_0xe9456e=a125_0x4202;(function(_0x4d8f3e,_0x1a5fe5){const _0xad7927=a125_0x4202,_0x3c8480=_0x4d8f3e();while(!![]){try{const _0x57e559=-parseInt(_0xad7927(0x107))/0x1*(parseInt(_0xad7927(0xf7))/0x2)+parseInt(_0xad7927(0x127))/0x3*(parseInt(_0xad7927(0x106))/0x4)+parseInt(_0xad7927(0xee))/0x5+-parseInt(_0xad7927(0xfd))/0x6*(parseInt(_0xad7927(0xfe))/0x7)+-parseInt(_0xad7927(0x104))/0x8*(parseInt(_0xad7927(0x11f))/0x9)+-parseInt(_0xad7927(0x110))/0xa+parseInt(_0xad7927(0x12c))/0xb*(parseInt(_0xad7927(0x11b))/0xc);if(_0x57e559===_0x1a5fe5)break;else _0x3c8480['push'](_0x3c8480['shift']());}catch(_0x510784){_0x3c8480['push'](_0x3c8480['shift']());}}}(a125_0xca47,0xa02fc));const Percy=require('./Percy'),PercySDK=require('./PercySDK'),PercyCaptureModes=require(a125_0xe9456e(0x10e)),PercyCaptureMap=require(a125_0xe9456e(0xe7)),logger=require(a125_0xe9456e(0xea))[a125_0xe9456e(0xff)],helper=require(a125_0xe9456e(0xef)),PerformanceTester=require(a125_0xe9456e(0x128)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants');function a125_0x4202(_0x464952,_0xf2c028){const _0xca4749=a125_0xca47();return a125_0x4202=function(_0x42022e,_0x3b4852){_0x42022e=_0x42022e-0xe7;let _0x25919c=_0xca4749[_0x42022e];return _0x25919c;},a125_0x4202(_0x464952,_0xf2c028);}function a125_0xca47(){const _0x33db76=['toLowerCase','element','2pNClXv','start','browserStackPercyOptions','browserstackPercyBestPlatform','firefox','percyCaptureMode','2598390ObDxqc','21rddysy','winstonLogger','overrideXforPercy','screenshotApp','Starting\x20percy','measureWrapper','41904trmoMe','IMhjl','28xpqUHr','29377YnXahH','percyAutoCapture','error','debug','screenshot','LVQGb','deviceName','./PercyCaptureModes','browserName','630510kHAvSn','Stopping\x20percy','getBestPlatformForPercySnapshot','manual','safari','browserstackPercyMap','OtkXR','titEW','platforms','browserstackSessionName','driver','144276HUUGNJ','forEach','Error\x20patching\x20','HsyJe','1881JKGdwP','getPercyOptions','browser','stopPercy','AUTO_CAPTURE','sFXpJ','QWUmv','reduce','64215lFFWNL','../performance/performance-tester','app','fsPMm','isUndefined','1793yJpEfr','patch','chrome','getName','jnePJ','vvwjD','knTjk','\x20for\x20percy\x20','percy','apply','getDriver','./PercyCaptureMap','stop','edge','../logger','auto','prototype','patchDriverPercy','5164525UbPhLH','../helper','nestedKeyValue','START','STOP','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','UDOCl'];a125_0xca47=function(){return _0x33db76;};return a125_0xca47();}exports['startPercy']=PerformanceTester[a125_0xe9456e(0x103)](PerformanceEvents[a125_0xe9456e(0xf1)],async _0x4fbd4e=>{const _0x33d7d4=a125_0xe9456e,_0x5a3861={};_0x5a3861[_0x33d7d4(0x11e)]=_0x33d7d4(0x102);const _0x3e2c5b=_0x5a3861;logger['debug'](_0x3e2c5b[_0x33d7d4(0x11e)]);const _0x5bcd8e=new Percy(_0x4fbd4e),_0x3649c8=await _0x5bcd8e[_0x33d7d4(0xf8)]();if(_0x3649c8)return _0x5bcd8e;return null;}),exports[a125_0xe9456e(0x122)]=PerformanceTester['measureWrapper'](PerformanceEvents[a125_0xe9456e(0xf2)],async _0x2068cf=>{const _0x6e52c=a125_0xe9456e,_0x17ebae={};_0x17ebae[_0x6e52c(0x125)]=_0x6e52c(0x111);const _0x45992b=_0x17ebae;return logger[_0x6e52c(0x10a)](_0x45992b[_0x6e52c(0x125)]),_0x2068cf[_0x6e52c(0xe8)]();}),exports[a125_0xe9456e(0x112)]=_0x3d7213=>{const _0x11f297=a125_0xe9456e,_0x5565b5={};_0x5565b5[_0x11f297(0x132)]=function(_0x58bb29,_0x274b75){return _0x58bb29<_0x274b75;};const _0x19a0e7=_0x5565b5,_0x3851bc={};_0x3851bc[_0x11f297(0x12e)]=0x0,_0x3851bc[_0x11f297(0xfb)]=0x1,_0x3851bc[_0x11f297(0xe9)]=0x2,_0x3851bc[_0x11f297(0x114)]=0x3;const _0x4ad29a=_0x3851bc;return _0x3d7213[_0x11f297(0x126)]((_0x414899,_0x683826,_0x420243)=>{const _0x1f0b16=_0x11f297,_0x9eb607=_0x3d7213[_0x414899];if(_0x683826[_0x1f0b16(0x10d)])return _0x414899;if(_0x9eb607[_0x1f0b16(0x10d)])return _0x420243;const _0x2023fd=_0x683826[_0x1f0b16(0x121)]?_0x683826[_0x1f0b16(0x121)]:_0x683826[_0x1f0b16(0x10f)];if(_0x2023fd&&_0x19a0e7[_0x1f0b16(0x132)](_0x4ad29a[_0x2023fd[_0x1f0b16(0xf5)]()],_0x4ad29a[_0x2023fd[_0x1f0b16(0xf5)]()]))return _0x420243;return _0x414899;},0x0);},exports['percyAutoCapture']=PerformanceTester[a125_0xe9456e(0x103)](PerformanceEvents[a125_0xe9456e(0x123)],async(_0x37893a,_0x155927,_0x5c9e47)=>{const _0x6e4219=a125_0xe9456e,_0x43d945={};_0x43d945['IMhjl']=_0x6e4219(0xf3);const _0x52f5ad=_0x43d945,_0x575b7a=_0x37893a[_0x6e4219(0x115)];if(helper[_0x6e4219(0x12b)](_0x37893a[_0x6e4219(0x119)])){logger[_0x6e4219(0x10a)](_0x52f5ad[_0x6e4219(0x105)]);return;}const _0x258623=_0x575b7a[_0x6e4219(0x12f)](_0x37893a[_0x6e4219(0x119)],_0x155927);_0x5c9e47[_0x6e4219(0x129)]?await PercySDK[_0x6e4219(0x101)](_0x37893a,_0x258623):await PercySDK[_0x6e4219(0x10b)](_0x37893a,_0x258623),_0x575b7a['increment'](_0x37893a['browserstackSessionName'],_0x155927);}),exports[a125_0xe9456e(0xed)]=(_0x500f52,_0x412995,_0x2b9cfe)=>{const _0x421238=a125_0xe9456e,_0x4d163b={};_0x4d163b[_0x421238(0x12a)]=_0x421238(0xf9),_0x4d163b[_0x421238(0x124)]=_0x421238(0x134),_0x4d163b[_0x421238(0x130)]=function(_0x2c0d08,_0xb44762){return _0x2c0d08!==_0xb44762;},_0x4d163b[_0x421238(0x117)]=_0x421238(0x113);const _0x38de08=_0x4d163b;if(!helper[_0x421238(0xf0)](_0x2b9cfe,[_0x38de08[_0x421238(0x12a)],_0x38de08['sFXpJ']]))return;if(_0x2b9cfe['browserStackPercyOptions'][_0x421238(0x134)]&&_0x2b9cfe[_0x421238(0xf9)][_0x421238(0xfc)]&&_0x38de08[_0x421238(0x130)](_0x2b9cfe[_0x421238(0xf9)][_0x421238(0xfc)],_0x38de08[_0x421238(0x117)])&&!_0x500f52['browserstackPercyMap']){global[_0x421238(0x119)]&&(_0x500f52[_0x421238(0x119)]=global[_0x421238(0x119)]),_0x500f52[_0x421238(0x115)]=new PercyCaptureMap();const _0x4a6303=PercyCaptureModes[_0x2b9cfe[_0x421238(0xf9)][_0x421238(0xfc)]];_0x4a6303[_0x421238(0x11a)]&&_0x4a6303[_0x421238(0x11a)][_0x421238(0x11c)](_0x2d19ac=>this['overrideXforPercy'](_0x500f52,_0x2d19ac,_0x2b9cfe)),_0x4a6303['element']&&_0x4a6303[_0x421238(0xf6)][_0x421238(0x11c)](_0x22ca15=>{const _0x401d80=_0x421238;if(_0x412995[_0x401d80(0xec)][_0x401d80(0x12d)+_0x22ca15])return;_0x412995['prototype'][_0x401d80(0x12d)+_0x22ca15]=!![];const _0x3ed197=_0x412995['prototype'][_0x22ca15];_0x412995['prototype'][_0x22ca15]=async function(){const _0x1f0706=_0x401d80;let _0x3c01a2=_0x3ed197[_0x1f0706(0x135)](this,arguments);_0x3c01a2&&_0x3c01a2['then']&&(_0x3c01a2=await _0x3c01a2);try{const _0x1e839b=this[_0x1f0706(0x136)]();await exports[_0x1f0706(0x108)](_0x1e839b,_0x22ca15,_0x2b9cfe);}catch(_0x180f85){logger['error'](_0x1f0706(0x11d)+_0x22ca15+'\x20for\x20percy\x20'+_0x180f85);}return _0x3c01a2;};});}},exports[a125_0xe9456e(0x100)]=function(_0xf70a0c,_0x423adb,_0x456542){const _0x6f8bf5=a125_0xe9456e,_0x14e6c0={};_0x14e6c0['UDOCl']=function(_0x59dcf9,_0x1950b0){return _0x59dcf9+_0x1950b0;},_0x14e6c0[_0x6f8bf5(0x10c)]=_0x6f8bf5(0x12d),_0x14e6c0[_0x6f8bf5(0x116)]='init';const _0x16c843=_0x14e6c0,_0x25a42f=_0x16c843[_0x6f8bf5(0xf4)](_0x16c843[_0x6f8bf5(0x10c)],_0x423adb),_0x32255d=_0x16c843[_0x6f8bf5(0xf4)](_0x16c843[_0x6f8bf5(0x116)],_0x423adb),_0x339270=this;if(_0xf70a0c[_0x25a42f]||!_0xf70a0c[_0x423adb])return;_0xf70a0c[_0x25a42f]=!![],_0xf70a0c[_0x32255d]=_0xf70a0c[_0x423adb],_0xf70a0c[_0x423adb]=async()=>{const _0x5b3680=_0x6f8bf5;try{await _0x339270[_0x5b3680(0x108)](_0xf70a0c,_0x423adb,_0x456542);}catch(_0x3ba536){logger[_0x5b3680(0x109)](_0x5b3680(0x11d)+_0x423adb+_0x5b3680(0x133)+_0x3ba536);}return await _0xf70a0c[_0x32255d][_0x5b3680(0x135)](_0xf70a0c,arguments);};},exports[a125_0xe9456e(0x120)]=_0x527dfd=>{const _0x5b6018=a125_0xe9456e,_0x594d87={};_0x594d87[_0x5b6018(0x131)]=_0x5b6018(0xeb);const _0x27b565=_0x594d87,_0x496373={};_0x496373['percy']=_0x527dfd[_0x5b6018(0x134)],_0x496373[_0x5b6018(0xfc)]=_0x527dfd[_0x5b6018(0xfc)]||_0x27b565['vvwjD'];const _0x1c9196=_0x496373;_0x527dfd[_0x5b6018(0x134)]&&(_0x1c9196[_0x5b6018(0xfa)]=exports[_0x5b6018(0x112)](_0x527dfd[_0x5b6018(0x118)]));;return _0x1c9196;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a126_0x1b18(_0x2cf1da,_0x79e8e8){const _0x21fc05=a126_0x21fc();return a126_0x1b18=function(_0x1b18fc,_0x39ed62){_0x1b18fc=_0x1b18fc-0x11c;let _0x320579=_0x21fc05[_0x1b18fc];return _0x320579;},a126_0x1b18(_0x2cf1da,_0x79e8e8);}const a126_0x2cfcd2=a126_0x1b18;(function(_0x384f0d,_0x2f231a){const _0x16580e=a126_0x1b18,_0x2723c5=_0x384f0d();while(!![]){try{const _0x58fd24=-parseInt(_0x16580e(0x154))/0x1+parseInt(_0x16580e(0x165))/0x2*(parseInt(_0x16580e(0x17e))/0x3)+-parseInt(_0x16580e(0x182))/0x4*(parseInt(_0x16580e(0x143))/0x5)+parseInt(_0x16580e(0x125))/0x6+parseInt(_0x16580e(0x19c))/0x7*(parseInt(_0x16580e(0x19f))/0x8)+parseInt(_0x16580e(0x138))/0x9*(parseInt(_0x16580e(0x18d))/0xa)+parseInt(_0x16580e(0x179))/0xb;if(_0x58fd24===_0x2f231a)break;else _0x2723c5['push'](_0x2723c5['shift']());}catch(_0x20a7f2){_0x2723c5['push'](_0x2723c5['shift']());}}}(a126_0x21fc,0xe1728));const a126_0x5a3fd7={};a126_0x5a3fd7[a126_0x2cfcd2(0x13f)]=a126_0x2cfcd2(0x14f),a126_0x5a3fd7['SDK_CLEANUP']=a126_0x2cfcd2(0x14e),a126_0x5a3fd7[a126_0x2cfcd2(0x17a)]='sdk:pre-test',a126_0x5a3fd7['SDK_TEST']=a126_0x2cfcd2(0x18a),a126_0x5a3fd7[a126_0x2cfcd2(0x141)]=a126_0x2cfcd2(0x189),a126_0x5a3fd7['SDK_HOOK']=a126_0x2cfcd2(0x129),a126_0x5a3fd7[a126_0x2cfcd2(0x159)]=a126_0x2cfcd2(0x131),a126_0x5a3fd7[a126_0x2cfcd2(0x19e)]='sdk:a11y',a126_0x5a3fd7[a126_0x2cfcd2(0x14c)]=a126_0x2cfcd2(0x198),a126_0x5a3fd7[a126_0x2cfcd2(0x155)]=a126_0x2cfcd2(0x142),a126_0x5a3fd7['SDK_PROXY_SETUP']=a126_0x2cfcd2(0x16d),a126_0x5a3fd7[a126_0x2cfcd2(0x16a)]=a126_0x2cfcd2(0x170),a126_0x5a3fd7['SDK_AUTOMATE']='sdk:automate',a126_0x5a3fd7['SDK_APP_AUTOMATE']='sdk:app-automate',a126_0x5a3fd7['SDK_TURBOSCALE']=a126_0x2cfcd2(0x14d),a126_0x5a3fd7[a126_0x2cfcd2(0x14a)]=a126_0x2cfcd2(0x132),a126_0x5a3fd7[a126_0x2cfcd2(0x12f)]=a126_0x2cfcd2(0x15a),a126_0x5a3fd7[a126_0x2cfcd2(0x184)]=a126_0x2cfcd2(0x14b),a126_0x5a3fd7[a126_0x2cfcd2(0x19a)]='sdk:cli:start',a126_0x5a3fd7['SDK_CLI_DOWNLOAD']=a126_0x2cfcd2(0x176),a126_0x5a3fd7[a126_0x2cfcd2(0x137)]=a126_0x2cfcd2(0x16e),a126_0x5a3fd7[a126_0x2cfcd2(0x15f)]=a126_0x2cfcd2(0x135),a126_0x5a3fd7['SDK_CLI_ON_CONNECT']=a126_0x2cfcd2(0x191),a126_0x5a3fd7[a126_0x2cfcd2(0x164)]='sdk:cli:on-stop',a126_0x5a3fd7['SDK_START_BIN_SESSION']='sdk:startBinSession',a126_0x5a3fd7['SDK_CONNECT_BIN_SESSION']='sdk:connectBinSession',a126_0x5a3fd7[a126_0x2cfcd2(0x11f)]=a126_0x2cfcd2(0x130),a126_0x5a3fd7[a126_0x2cfcd2(0x185)]='sdk:findNearestHub',a126_0x5a3fd7[a126_0x2cfcd2(0x161)]=a126_0x2cfcd2(0x147),a126_0x5a3fd7[a126_0x2cfcd2(0x17c)]='sdk:automationFrameworkStart',a126_0x5a3fd7['SDK_ACCESSIBILITY_CONFIG']=a126_0x2cfcd2(0x192),a126_0x5a3fd7['SDK_OBSERVABILITY_CONFIG']=a126_0x2cfcd2(0x180),a126_0x5a3fd7[a126_0x2cfcd2(0x12c)]=a126_0x2cfcd2(0x127),a126_0x5a3fd7['SDK_AI_SELF_HEAL_GET_RESULT']=a126_0x2cfcd2(0x19d),a126_0x5a3fd7[a126_0x2cfcd2(0x177)]=a126_0x2cfcd2(0x17d),a126_0x5a3fd7[a126_0x2cfcd2(0x13c)]=a126_0x2cfcd2(0x175),a126_0x5a3fd7['SDK_CLI_LOG_CREATED_EVENT']='sdk:cli:logCreatedEvent',a126_0x5a3fd7['SDK_CLI_ENQUEUE_TEST_EVENT']=a126_0x2cfcd2(0x183),a126_0x5a3fd7[a126_0x2cfcd2(0x15d)]=a126_0x2cfcd2(0x188),a126_0x5a3fd7['SDK_ON_STOP']='sdk:onStop';const SDK_EVENTS=a126_0x5a3fd7,a126_0x1c0922={};a126_0x1c0922['EVENTS']=SDK_EVENTS,a126_0x1c0922[a126_0x2cfcd2(0x151)]={},a126_0x1c0922[a126_0x2cfcd2(0x136)]={},a126_0x1c0922[a126_0x2cfcd2(0x186)]={},a126_0x1c0922[a126_0x2cfcd2(0x128)]={},a126_0x1c0922[a126_0x2cfcd2(0x190)]={},a126_0x1c0922[a126_0x2cfcd2(0x166)]={},a126_0x1c0922[a126_0x2cfcd2(0x19b)]={},a126_0x1c0922[a126_0x2cfcd2(0x157)]={},a126_0x1c0922[a126_0x2cfcd2(0x196)]={},a126_0x1c0922[a126_0x2cfcd2(0x151)][a126_0x2cfcd2(0x174)]=SDK_EVENTS[a126_0x2cfcd2(0x16a)]+a126_0x2cfcd2(0x149),a126_0x1c0922[a126_0x2cfcd2(0x151)][a126_0x2cfcd2(0x148)]=SDK_EVENTS[a126_0x2cfcd2(0x16a)]+a126_0x2cfcd2(0x162),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x13a)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x11d),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x195)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x172),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x146)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x124),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x16c)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x11e),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x187)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x140),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x126)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+':session-name',a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x15e)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+':session-status',a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x12a)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x122),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x12e)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x13e),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x167)]=SDK_EVENTS['SDK_AUTOMATE']+':ci-artifacts',a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x133)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x181),a126_0x1c0922[a126_0x2cfcd2(0x186)]['PERFORM_SCAN']=SDK_EVENTS['SDK_A11Y']+a126_0x2cfcd2(0x17f),a126_0x1c0922[a126_0x2cfcd2(0x186)][a126_0x2cfcd2(0x150)]=SDK_EVENTS[a126_0x2cfcd2(0x19e)]+a126_0x2cfcd2(0x152),a126_0x1c0922[a126_0x2cfcd2(0x186)]['GET_RESULTS']=SDK_EVENTS[a126_0x2cfcd2(0x19e)]+a126_0x2cfcd2(0x18c),a126_0x1c0922[a126_0x2cfcd2(0x186)][a126_0x2cfcd2(0x158)]=SDK_EVENTS[a126_0x2cfcd2(0x19e)]+a126_0x2cfcd2(0x197),a126_0x1c0922[a126_0x2cfcd2(0x128)]['DOWNLOAD']=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+':download',a126_0x1c0922[a126_0x2cfcd2(0x128)]['SCREENSHOT']=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+a126_0x2cfcd2(0x145),a126_0x1c0922[a126_0x2cfcd2(0x128)][a126_0x2cfcd2(0x174)]=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+a126_0x2cfcd2(0x149),a126_0x1c0922[a126_0x2cfcd2(0x128)][a126_0x2cfcd2(0x148)]=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+a126_0x2cfcd2(0x162),a126_0x1c0922[a126_0x2cfcd2(0x128)][a126_0x2cfcd2(0x153)]=SDK_EVENTS['SDK_PERCY']+':auto-capture',a126_0x1c0922[a126_0x2cfcd2(0x128)][a126_0x2cfcd2(0x156)]=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+a126_0x2cfcd2(0x18b),a126_0x1c0922[a126_0x2cfcd2(0x128)][a126_0x2cfcd2(0x16b)]=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+a126_0x2cfcd2(0x171),a126_0x1c0922[a126_0x2cfcd2(0x190)][a126_0x2cfcd2(0x168)]=SDK_EVENTS[a126_0x2cfcd2(0x14c)]+a126_0x2cfcd2(0x12d),a126_0x1c0922[a126_0x2cfcd2(0x190)][a126_0x2cfcd2(0x169)]=SDK_EVENTS[a126_0x2cfcd2(0x14c)]+a126_0x2cfcd2(0x144),a126_0x1c0922[a126_0x2cfcd2(0x190)][a126_0x2cfcd2(0x133)]=SDK_EVENTS['SDK_O11Y']+a126_0x2cfcd2(0x181),a126_0x1c0922[a126_0x2cfcd2(0x166)][a126_0x2cfcd2(0x160)]=SDK_EVENTS[a126_0x2cfcd2(0x12b)]+a126_0x2cfcd2(0x173),a126_0x1c0922[a126_0x2cfcd2(0x166)][a126_0x2cfcd2(0x11c)]=SDK_EVENTS[a126_0x2cfcd2(0x12b)]+a126_0x2cfcd2(0x199),a126_0x1c0922[a126_0x2cfcd2(0x166)][a126_0x2cfcd2(0x163)]=SDK_EVENTS['SDK_HOOK']+a126_0x2cfcd2(0x134),a126_0x1c0922[a126_0x2cfcd2(0x166)][a126_0x2cfcd2(0x194)]=SDK_EVENTS['SDK_HOOK']+a126_0x2cfcd2(0x17b),a126_0x1c0922[a126_0x2cfcd2(0x166)]['BEFORE']=SDK_EVENTS[a126_0x2cfcd2(0x12b)]+a126_0x2cfcd2(0x13d),a126_0x1c0922[a126_0x2cfcd2(0x166)]['AFTER']=SDK_EVENTS[a126_0x2cfcd2(0x12b)]+a126_0x2cfcd2(0x139),a126_0x1c0922[a126_0x2cfcd2(0x19b)][a126_0x2cfcd2(0x195)]=SDK_EVENTS[a126_0x2cfcd2(0x15b)]+a126_0x2cfcd2(0x172),a126_0x1c0922[a126_0x2cfcd2(0x19b)][a126_0x2cfcd2(0x133)]=SDK_EVENTS[a126_0x2cfcd2(0x15b)]+':print-buildlink',a126_0x1c0922[a126_0x2cfcd2(0x157)][a126_0x2cfcd2(0x193)]=SDK_EVENTS[a126_0x2cfcd2(0x16f)]+':app-upload',a126_0x1c0922[a126_0x2cfcd2(0x196)][a126_0x2cfcd2(0x13b)]=SDK_EVENTS[a126_0x2cfcd2(0x159)]+a126_0x2cfcd2(0x178),a126_0x1c0922[a126_0x2cfcd2(0x196)][a126_0x2cfcd2(0x18e)]=SDK_EVENTS[a126_0x2cfcd2(0x159)]+a126_0x2cfcd2(0x120),a126_0x1c0922[a126_0x2cfcd2(0x196)][a126_0x2cfcd2(0x123)]=SDK_EVENTS[a126_0x2cfcd2(0x159)]+a126_0x2cfcd2(0x121),a126_0x1c0922[a126_0x2cfcd2(0x196)]['POST_EXECUTE']=SDK_EVENTS['SDK_DRIVER']+a126_0x2cfcd2(0x18f),module['exports']=a126_0x1c0922;function a126_0x21fc(){const _0x3f231e=['sdk:cli:on-bootstrap','AUTOMATE_EVENTS','SDK_CLI_CHECK_UPDATE','87903IBdAcL',':after','KEEP_ALIVE','QUIT','SDK_TEST_SESSION_EVENT',':before',':idle-timeout','SDK_SETUP',':driver-manage','SDK_POST_TEST','sdk:auto-capture','8413505LbeiOf',':driver-takeScreenShot',':screenshot','LOCAL_START','sdk:automationFrameworkInit','STOP',':start','SDK_PERCY','sdk:driver:post-initialization','SDK_O11Y','sdk:turboscale','sdk:cleanup','sdk:setup','SAVE_RESULTS','TESTHUB_EVENTS',':save-results','AUTO_CAPTURE','404213OOmyGy','SDK_AUTO_CAPTURE','SNAPSHOT','APP_AUOTMATE_EVENTS','GET_RESULTS_SUMMARY','SDK_DRIVER','sdk:driver:pre-initialization','SDK_TURBOSCALE','SDK_AUTOMATE','SDK_AUTOMATION_FRAMEWORK_STOP','SESSION_STATUS','SDK_CLI_ON_BOOTSTRAP','BEFORE_EACH','SDK_AUTOMATION_FRAMEWORK_INIT',':stop','AFTER_ALL','SDK_CLI_ON_STOP','404bADPAT','HOOK_EVENTS','GENERATE_CI_ARTIFACT','SYNC','TAKE_SCREENSHOT','SDK_TESTHUB','SCREENSHOT_APP','LOCAL_STOP','sdk:proxy-setup','sdk:cli:check-update','SDK_APP_AUTOMATE','sdk:testhub',':screenshot-app',':hub-management',':before-each','START','sdk:testSessionEvent','sdk:cli:download','SDK_TEST_FRAMEWORK_EVENT',':quit','609686FCFLdB','SDK_PRE_TEST',':before-all','SDK_AUTOMATION_FRAMEWORK_START','sdk:testFrameworkEvent','1764zdcxsP',':driver-performscan','sdk:observabilityConfig',':print-buildlink','4QYgAXF','sdk:cli:enqueueTestEvent','SDK_POST_INITIALIZE','SDK_FIND_NEAREST_HUB','A11Y_EVENTS','DRIVER_MANAGE','sdk:automationFrameworkStop','sdk:post-test','sdk:test',':snapshot',':get-accessibility-results','1570XZKOSn','GET',':post-execute','O11y_EVENTS','sdk:cli:on-connect','sdk:accessibilityConfig','APP_UPLOAD','BEFORE_ALL','HUB_MANAGEMENT','DRIVER_EVENT',':get-accessibility-results-summary','sdk:o11y',':after-each','SDK_CLI_START','TURBOSCALE_EVENTS','56qbqzEs','sdk:aiSelfHealGetResult','SDK_A11Y','579088LrdgvL','AFTER_EACH',':keep-alive',':local-stop','SDK_DRIVER_INIT',':get',':pre-execute',':session-annotation','PRE_EXECUTE',':local-start','4341822cuigKQ','SESSION_NAME','sdk:aiSelfHealStep','PERCY_EVENTS','sdk:hook','SESSION_ANNOTATION','SDK_HOOK','SDK_AI_SELF_HEAL_STEP',':sync','IDLE_TIMEOUT','SDK_PRE_INITIALIZE','sdk:driverInit','sdk:driver','sdk:percy','PRINT_BUILDLINK',':after-all'];a126_0x21fc=function(){return _0x3f231e;};return a126_0x21fc();}
|
|
1
|
+
const a126_0x29c8dd=a126_0x43f1;(function(_0x1e424f,_0x4fe6ed){const _0x2c4f17=a126_0x43f1,_0x5137d7=_0x1e424f();while(!![]){try{const _0x337c8c=-parseInt(_0x2c4f17(0xde))/0x1*(parseInt(_0x2c4f17(0x11b))/0x2)+-parseInt(_0x2c4f17(0xe9))/0x3*(parseInt(_0x2c4f17(0xfa))/0x4)+parseInt(_0x2c4f17(0xe6))/0x5*(parseInt(_0x2c4f17(0xe5))/0x6)+-parseInt(_0x2c4f17(0xaf))/0x7+parseInt(_0x2c4f17(0xbd))/0x8*(-parseInt(_0x2c4f17(0xf2))/0x9)+parseInt(_0x2c4f17(0xb8))/0xa*(parseInt(_0x2c4f17(0xf7))/0xb)+parseInt(_0x2c4f17(0x10c))/0xc*(parseInt(_0x2c4f17(0x128))/0xd);if(_0x337c8c===_0x4fe6ed)break;else _0x5137d7['push'](_0x5137d7['shift']());}catch(_0x3eba15){_0x5137d7['push'](_0x5137d7['shift']());}}}(a126_0xf725,0xa4a01));const a126_0x25c5e4={};function a126_0x43f1(_0x1de497,_0x2818f4){const _0xf72511=a126_0xf725();return a126_0x43f1=function(_0x43f149,_0x42a9d4){_0x43f149=_0x43f149-0xae;let _0x2c92e9=_0xf72511[_0x43f149];return _0x2c92e9;},a126_0x43f1(_0x1de497,_0x2818f4);}function a126_0xf725(){const _0x1b41e1=['SCREENSHOT','SDK_O11Y','sdk:auto-capture','SDK_AI_SELF_HEAL_GET_RESULT','SDK_TESTHUB',':screenshot-app','SDK_AUTOMATE','SDK_TEST',':print-buildlink','STOP',':driver-manage','sdk:a11y','SESSION_STATUS','sdk:post-test','sdk:onStop','SDK_FIND_NEAREST_HUB','SYNC','19717nuwmpD','sdk:cli:download','sdk:cli:logCreatedEvent',':before-each','SDK_ACCESSIBILITY_CONFIG','sdk:automate',':stop','156714ArdzpR','195ipAqql','POST_EXECUTE','TURBOSCALE_EVENTS','29826YHAZCr',':after-all','BEFORE_EACH',':idle-timeout','SCREENSHOT_APP',':download',':before','sdk:automationFrameworkStop','PRE_EXECUTE','1348029empEAs','sdk:driver','sdk:aiSelfHealStep','PERFORM_SCAN','SDK_TEST_FRAMEWORK_EVENT','9774523qAKIyZ','SDK_CONNECT_BIN_SESSION','AUTOMATE_EVENTS','508XFzoSJ',':after',':quit','GET','SNAPSHOT','sdk:app-automate','SDK_AUTOMATION_FRAMEWORK_START','IDLE_TIMEOUT','sdk:automationFrameworkStart','sdk:test','BEFORE_ALL','SDK_CLI_ENQUEUE_TEST_EVENT','SDK_TEST_SESSION_EVENT','SDK_DRIVER','QUIT','PERCY_EVENTS','sdk:testFrameworkEvent','sdk:proxy-setup','143268mYgCPZ',':snapshot','sdk:driver:pre-initialization','sdk:findNearestHub','SDK_AUTOMATION_FRAMEWORK_STOP','GET_RESULTS_SUMMARY','A11Y_EVENTS','SDK_PRE_TEST','SDK_CLI_LOG_CREATED_EVENT',':start',':get-accessibility-results','SDK_TURBOSCALE','SAVE_RESULTS','START','AFTER_EACH','46EGHspX','SDK_ON_STOP','sdk:pre-test','DRIVER_MANAGE','SDK_AUTOMATION_FRAMEWORK_INIT','sdk:connectBinSession','SDK_PERCY','sdk:observabilityConfig','KEEP_ALIVE','LOCAL_STOP','SDK_APP_AUTOMATE','sdk:testhub','SDK_CLI_ON_STOP','1495dwrDXk','sdk:cli:start','HUB_MANAGEMENT','PRINT_BUILDLINK','O11y_EVENTS','HOOK_EVENTS',':after-each',':pre-execute','AFTER_ALL',':hub-management','sdk:turboscale','SDK_START_BIN_SESSION','SDK_POST_INITIALIZE','SDK_SETUP','SDK_POST_TEST','SDK_DRIVER_INIT','GENERATE_CI_ARTIFACT','LOCAL_START','sdk:setup','4131589lJuUwB','DRIVER_EVENT','BEFORE',':session-name','APP_UPLOAD',':screenshot',':ci-artifacts','sdk:driver:post-initialization','SESSION_ANNOTATION','10SqSvfU','sdk:cli:enqueueTestEvent','sdk:o11y','SDK_AI_SELF_HEAL_STEP','DOWNLOAD','16rLvqRW','TESTHUB_EVENTS',':local-stop','SDK_PROXY_SETUP','sdk:accessibilityConfig',':app-upload','AFTER','sdk:cleanup',':post-execute','sdk:testSessionEvent',':before-all','APP_AUOTMATE_EVENTS','SDK_A11Y','sdk:cli:check-update','SDK_HOOK',':local-start'];a126_0xf725=function(){return _0x1b41e1;};return a126_0xf725();}a126_0x25c5e4[a126_0x29c8dd(0x135)]=a126_0x29c8dd(0xae),a126_0x25c5e4['SDK_CLEANUP']=a126_0x29c8dd(0xc4),a126_0x25c5e4[a126_0x29c8dd(0x113)]=a126_0x29c8dd(0x11d),a126_0x25c5e4[a126_0x29c8dd(0xd4)]=a126_0x29c8dd(0x103),a126_0x25c5e4[a126_0x29c8dd(0x136)]=a126_0x29c8dd(0xda),a126_0x25c5e4[a126_0x29c8dd(0xcb)]='sdk:hook',a126_0x25c5e4[a126_0x29c8dd(0x107)]=a126_0x29c8dd(0xf3),a126_0x25c5e4[a126_0x29c8dd(0xc9)]=a126_0x29c8dd(0xd8),a126_0x25c5e4['SDK_O11Y']=a126_0x29c8dd(0xba),a126_0x25c5e4['SDK_AUTO_CAPTURE']=a126_0x29c8dd(0xcf),a126_0x25c5e4[a126_0x29c8dd(0xc0)]=a126_0x29c8dd(0x10b),a126_0x25c5e4[a126_0x29c8dd(0xd1)]=a126_0x29c8dd(0x126),a126_0x25c5e4[a126_0x29c8dd(0xd3)]=a126_0x29c8dd(0xe3),a126_0x25c5e4[a126_0x29c8dd(0x125)]=a126_0x29c8dd(0xff),a126_0x25c5e4[a126_0x29c8dd(0x117)]=a126_0x29c8dd(0x132),a126_0x25c5e4['SDK_PERCY']='sdk:percy',a126_0x25c5e4['SDK_PRE_INITIALIZE']=a126_0x29c8dd(0x10e),a126_0x25c5e4[a126_0x29c8dd(0x134)]=a126_0x29c8dd(0xb6),a126_0x25c5e4['SDK_CLI_START']=a126_0x29c8dd(0x129),a126_0x25c5e4['SDK_CLI_DOWNLOAD']=a126_0x29c8dd(0xdf),a126_0x25c5e4['SDK_CLI_CHECK_UPDATE']=a126_0x29c8dd(0xca),a126_0x25c5e4['SDK_CLI_ON_BOOTSTRAP']='sdk:cli:on-bootstrap',a126_0x25c5e4['SDK_CLI_ON_CONNECT']='sdk:cli:on-connect',a126_0x25c5e4[a126_0x29c8dd(0x127)]='sdk:cli:on-stop',a126_0x25c5e4[a126_0x29c8dd(0x133)]='sdk:startBinSession',a126_0x25c5e4[a126_0x29c8dd(0xf8)]=a126_0x29c8dd(0x120),a126_0x25c5e4[a126_0x29c8dd(0x137)]='sdk:driverInit',a126_0x25c5e4[a126_0x29c8dd(0xdc)]=a126_0x29c8dd(0x10f),a126_0x25c5e4[a126_0x29c8dd(0x11f)]='sdk:automationFrameworkInit',a126_0x25c5e4[a126_0x29c8dd(0x100)]=a126_0x29c8dd(0x102),a126_0x25c5e4[a126_0x29c8dd(0xe2)]=a126_0x29c8dd(0xc1),a126_0x25c5e4['SDK_OBSERVABILITY_CONFIG']=a126_0x29c8dd(0x122),a126_0x25c5e4[a126_0x29c8dd(0xbb)]=a126_0x29c8dd(0xf4),a126_0x25c5e4[a126_0x29c8dd(0xd0)]='sdk:aiSelfHealGetResult',a126_0x25c5e4[a126_0x29c8dd(0xf6)]=a126_0x29c8dd(0x10a),a126_0x25c5e4[a126_0x29c8dd(0x106)]=a126_0x29c8dd(0xc6),a126_0x25c5e4[a126_0x29c8dd(0x114)]=a126_0x29c8dd(0xe0),a126_0x25c5e4[a126_0x29c8dd(0x105)]=a126_0x29c8dd(0xb9),a126_0x25c5e4[a126_0x29c8dd(0x110)]=a126_0x29c8dd(0xf0),a126_0x25c5e4[a126_0x29c8dd(0x11c)]=a126_0x29c8dd(0xdb);const SDK_EVENTS=a126_0x25c5e4,a126_0x27ed23={};a126_0x27ed23['EVENTS']=SDK_EVENTS,a126_0x27ed23[a126_0x29c8dd(0xbe)]={},a126_0x27ed23[a126_0x29c8dd(0xf9)]={},a126_0x27ed23[a126_0x29c8dd(0x112)]={},a126_0x27ed23[a126_0x29c8dd(0x109)]={},a126_0x27ed23[a126_0x29c8dd(0x12c)]={},a126_0x27ed23[a126_0x29c8dd(0x12d)]={},a126_0x27ed23[a126_0x29c8dd(0xe8)]={},a126_0x27ed23[a126_0x29c8dd(0xc8)]={},a126_0x27ed23[a126_0x29c8dd(0xb0)]={},a126_0x27ed23[a126_0x29c8dd(0xbe)][a126_0x29c8dd(0x119)]=SDK_EVENTS['SDK_TESTHUB']+a126_0x29c8dd(0x115),a126_0x27ed23[a126_0x29c8dd(0xbe)]['STOP']=SDK_EVENTS[a126_0x29c8dd(0xd1)]+':stop',a126_0x27ed23[a126_0x29c8dd(0xf9)][a126_0x29c8dd(0x123)]=SDK_EVENTS[a126_0x29c8dd(0xd3)]+':keep-alive',a126_0x27ed23[a126_0x29c8dd(0xf9)][a126_0x29c8dd(0x12a)]=SDK_EVENTS[a126_0x29c8dd(0xd3)]+':hub-management',a126_0x27ed23[a126_0x29c8dd(0xf9)][a126_0x29c8dd(0x139)]=SDK_EVENTS[a126_0x29c8dd(0xd3)]+a126_0x29c8dd(0xcc),a126_0x27ed23[a126_0x29c8dd(0xf9)][a126_0x29c8dd(0x124)]=SDK_EVENTS[a126_0x29c8dd(0xd3)]+a126_0x29c8dd(0xbf),a126_0x27ed23[a126_0x29c8dd(0xf9)][a126_0x29c8dd(0x11e)]=SDK_EVENTS[a126_0x29c8dd(0xd3)]+a126_0x29c8dd(0xd7),a126_0x27ed23[a126_0x29c8dd(0xf9)]['SESSION_NAME']=SDK_EVENTS[a126_0x29c8dd(0xd3)]+a126_0x29c8dd(0xb2),a126_0x27ed23[a126_0x29c8dd(0xf9)][a126_0x29c8dd(0xd9)]=SDK_EVENTS[a126_0x29c8dd(0xd3)]+':session-status',a126_0x27ed23[a126_0x29c8dd(0xf9)][a126_0x29c8dd(0xb7)]=SDK_EVENTS['SDK_AUTOMATE']+':session-annotation',a126_0x27ed23[a126_0x29c8dd(0xf9)][a126_0x29c8dd(0x101)]=SDK_EVENTS[a126_0x29c8dd(0xd3)]+a126_0x29c8dd(0xec),a126_0x27ed23[a126_0x29c8dd(0xf9)][a126_0x29c8dd(0x138)]=SDK_EVENTS[a126_0x29c8dd(0xd3)]+a126_0x29c8dd(0xb5),a126_0x27ed23[a126_0x29c8dd(0xf9)]['PRINT_BUILDLINK']=SDK_EVENTS[a126_0x29c8dd(0xd3)]+a126_0x29c8dd(0xd5),a126_0x27ed23[a126_0x29c8dd(0x112)][a126_0x29c8dd(0xf5)]=SDK_EVENTS['SDK_A11Y']+':driver-performscan',a126_0x27ed23[a126_0x29c8dd(0x112)][a126_0x29c8dd(0x118)]=SDK_EVENTS['SDK_A11Y']+':save-results',a126_0x27ed23[a126_0x29c8dd(0x112)]['GET_RESULTS']=SDK_EVENTS[a126_0x29c8dd(0xc9)]+a126_0x29c8dd(0x116),a126_0x27ed23[a126_0x29c8dd(0x112)][a126_0x29c8dd(0x111)]=SDK_EVENTS[a126_0x29c8dd(0xc9)]+':get-accessibility-results-summary',a126_0x27ed23[a126_0x29c8dd(0x109)][a126_0x29c8dd(0xbc)]=SDK_EVENTS['SDK_PERCY']+a126_0x29c8dd(0xee),a126_0x27ed23[a126_0x29c8dd(0x109)][a126_0x29c8dd(0xcd)]=SDK_EVENTS['SDK_PERCY']+a126_0x29c8dd(0xb4),a126_0x27ed23[a126_0x29c8dd(0x109)][a126_0x29c8dd(0x119)]=SDK_EVENTS[a126_0x29c8dd(0x121)]+':start',a126_0x27ed23[a126_0x29c8dd(0x109)][a126_0x29c8dd(0xd6)]=SDK_EVENTS[a126_0x29c8dd(0x121)]+a126_0x29c8dd(0xe4),a126_0x27ed23[a126_0x29c8dd(0x109)]['AUTO_CAPTURE']=SDK_EVENTS[a126_0x29c8dd(0x121)]+':auto-capture',a126_0x27ed23[a126_0x29c8dd(0x109)][a126_0x29c8dd(0xfe)]=SDK_EVENTS[a126_0x29c8dd(0x121)]+a126_0x29c8dd(0x10d),a126_0x27ed23[a126_0x29c8dd(0x109)][a126_0x29c8dd(0xed)]=SDK_EVENTS[a126_0x29c8dd(0x121)]+a126_0x29c8dd(0xd2),a126_0x27ed23[a126_0x29c8dd(0x12c)][a126_0x29c8dd(0xdd)]=SDK_EVENTS[a126_0x29c8dd(0xce)]+':sync',a126_0x27ed23[a126_0x29c8dd(0x12c)]['TAKE_SCREENSHOT']=SDK_EVENTS[a126_0x29c8dd(0xce)]+':driver-takeScreenShot',a126_0x27ed23[a126_0x29c8dd(0x12c)][a126_0x29c8dd(0x12b)]=SDK_EVENTS[a126_0x29c8dd(0xce)]+a126_0x29c8dd(0xd5),a126_0x27ed23[a126_0x29c8dd(0x12d)][a126_0x29c8dd(0xeb)]=SDK_EVENTS[a126_0x29c8dd(0xcb)]+a126_0x29c8dd(0xe1),a126_0x27ed23[a126_0x29c8dd(0x12d)][a126_0x29c8dd(0x11a)]=SDK_EVENTS[a126_0x29c8dd(0xcb)]+a126_0x29c8dd(0x12e),a126_0x27ed23[a126_0x29c8dd(0x12d)][a126_0x29c8dd(0x130)]=SDK_EVENTS[a126_0x29c8dd(0xcb)]+a126_0x29c8dd(0xea),a126_0x27ed23[a126_0x29c8dd(0x12d)][a126_0x29c8dd(0x104)]=SDK_EVENTS[a126_0x29c8dd(0xcb)]+a126_0x29c8dd(0xc7),a126_0x27ed23[a126_0x29c8dd(0x12d)][a126_0x29c8dd(0xb1)]=SDK_EVENTS[a126_0x29c8dd(0xcb)]+a126_0x29c8dd(0xef),a126_0x27ed23[a126_0x29c8dd(0x12d)][a126_0x29c8dd(0xc3)]=SDK_EVENTS['SDK_HOOK']+a126_0x29c8dd(0xfb),a126_0x27ed23[a126_0x29c8dd(0xe8)][a126_0x29c8dd(0x12a)]=SDK_EVENTS[a126_0x29c8dd(0x117)]+a126_0x29c8dd(0x131),a126_0x27ed23[a126_0x29c8dd(0xe8)][a126_0x29c8dd(0x12b)]=SDK_EVENTS[a126_0x29c8dd(0x117)]+a126_0x29c8dd(0xd5),a126_0x27ed23[a126_0x29c8dd(0xc8)][a126_0x29c8dd(0xb3)]=SDK_EVENTS[a126_0x29c8dd(0x125)]+a126_0x29c8dd(0xc2),a126_0x27ed23[a126_0x29c8dd(0xb0)][a126_0x29c8dd(0x108)]=SDK_EVENTS[a126_0x29c8dd(0x107)]+a126_0x29c8dd(0xfc),a126_0x27ed23[a126_0x29c8dd(0xb0)][a126_0x29c8dd(0xfd)]=SDK_EVENTS[a126_0x29c8dd(0x107)]+':get',a126_0x27ed23[a126_0x29c8dd(0xb0)][a126_0x29c8dd(0xf1)]=SDK_EVENTS['SDK_DRIVER']+a126_0x29c8dd(0x12f),a126_0x27ed23[a126_0x29c8dd(0xb0)][a126_0x29c8dd(0xe7)]=SDK_EVENTS[a126_0x29c8dd(0x107)]+a126_0x29c8dd(0xc5),module['exports']=a126_0x27ed23;
|