browserstack-node-sdk 1.49.7 → 1.49.8
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/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/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/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/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/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
|
|
1
|
+
const a109_0x5f49d5=a109_0x492e;(function(_0x44b036,_0x3e88d0){const _0x5a695d=a109_0x492e,_0x2cc7f7=_0x44b036();while(!![]){try{const _0xe781a=-parseInt(_0x5a695d(0xc1))/0x1*(parseInt(_0x5a695d(0xd6))/0x2)+-parseInt(_0x5a695d(0xc5))/0x3*(-parseInt(_0x5a695d(0xb2))/0x4)+parseInt(_0x5a695d(0xb5))/0x5+-parseInt(_0x5a695d(0xd8))/0x6*(-parseInt(_0x5a695d(0xce))/0x7)+parseInt(_0x5a695d(0x93))/0x8*(-parseInt(_0x5a695d(0x91))/0x9)+-parseInt(_0x5a695d(0xcf))/0xa+parseInt(_0x5a695d(0xb8))/0xb*(parseInt(_0x5a695d(0xab))/0xc);if(_0xe781a===_0x3e88d0)break;else _0x2cc7f7['push'](_0x2cc7f7['shift']());}catch(_0x577e13){_0x2cc7f7['push'](_0x2cc7f7['shift']());}}}(a109_0x57fe,0x76676));const winston=require(a109_0x5f49d5(0xae)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a109_0x5f49d5(0xa6)),tempLogDir=a109_0x5f49d5(0x8d),logFormat=winston['format'](_0x2b4bdb=>{const _0x4c5872=a109_0x5f49d5,_0x573811={};_0x573811['KCoQV']=function(_0x26de75,_0x47aefd){return _0x26de75!==_0x47aefd;},_0x573811['djwgh']=_0x4c5872(0xa3),_0x573811[_0x4c5872(0xbc)]=function(_0x3b3427,_0x37ca1f){return _0x3b3427===_0x37ca1f;},_0x573811[_0x4c5872(0x8c)]='[REDACTED]',_0x573811[_0x4c5872(0xd7)]=function(_0x2c509e,_0x45b626){return _0x2c509e===_0x45b626;};const _0x2bf480=_0x573811;return _0x2bf480[_0x4c5872(0x92)](typeof _0x2b4bdb['message'],_0x2bf480[_0x4c5872(0xa9)])&&(_0x2b4bdb['message']=JSON['stringify'](_0x2b4bdb[_0x4c5872(0xbd)])),global[_0x4c5872(0xd5)]?.[_0x4c5872(0xd1)]?.[_0x4c5872(0xc8)]&&_0x2bf480['YfZNc'](typeof _0x2b4bdb[_0x4c5872(0xbd)],_0x2bf480[_0x4c5872(0xa9)])&&(_0x2b4bdb[_0x4c5872(0xbd)]=_0x2b4bdb['message'][_0x4c5872(0xd3)](new RegExp(global[_0x4c5872(0xd5)][_0x4c5872(0xd1)][_0x4c5872(0xc8)],'g'),_0x2bf480[_0x4c5872(0x8c)])),global[_0x4c5872(0xd5)]?.['config']?.[_0x4c5872(0xba)]&&_0x2bf480['HAoEy'](typeof _0x2b4bdb[_0x4c5872(0xbd)],_0x2bf480[_0x4c5872(0xa9)])&&(_0x2b4bdb['message']=_0x2b4bdb['message'][_0x4c5872(0xd3)](new RegExp(global[_0x4c5872(0xd5)][_0x4c5872(0xd1)][_0x4c5872(0xba)],'g'),_0x2bf480[_0x4c5872(0x8c)])),_0x2b4bdb;}),fetchLogDir=()=>{const _0x2e432a=a109_0x5f49d5;if(process[_0x2e432a(0xa8)]['BROWSERSTACK_INTERNAL_LOG_DIR'])return process[_0x2e432a(0xa8)][_0x2e432a(0x9c)];else!fs[_0x2e432a(0xa0)](tempLogDir)&&fs[_0x2e432a(0x95)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x46c6af=a109_0x5f49d5,_0x551829={};_0x551829['HoPAK']='info';const _0xcc4dd5=_0x551829,_0x3dd4ea=process['env'][_0x46c6af(0xd4)],_0x4a2df2=Object['keys'](winston[_0x46c6af(0xd1)][_0x46c6af(0xcb)][_0x46c6af(0xc4)]);if(_0x3dd4ea&&_0x4a2df2['includes'](_0x3dd4ea[_0x46c6af(0x8f)]()))return _0x3dd4ea[_0x46c6af(0x8f)]();return _0xcc4dd5[_0x46c6af(0x94)];},initialLogLevel=getInitialLogLevel(),a109_0x78d1fe={};a109_0x78d1fe[a109_0x5f49d5(0xbe)]=a109_0x5f49d5(0xb9),a109_0x78d1fe[a109_0x5f49d5(0xb6)]=initialLogLevel;const transports={'loggerConsole':new winston['transports']['Console'](a109_0x78d1fe),'loggerFile':new winston[(a109_0x5f49d5(0x97))][(a109_0x5f49d5(0xd0))]({'filename':path['join'](logDir,a109_0x5f49d5(0xc7)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a109_0x5f49d5(0x97))][(a109_0x5f49d5(0xd0))]({'filename':path['join'](logDir,'/usage-debug.log'),'level':a109_0x5f49d5(0xbb)}),'debugCliLoggerFile':new winston[(a109_0x5f49d5(0x97))]['File']({'filename':path[a109_0x5f49d5(0xad)](logDir,a109_0x5f49d5(0xb4)),'level':a109_0x5f49d5(0xbb)}),'buildLinkTransport':new winston[(a109_0x5f49d5(0x97))][(a109_0x5f49d5(0xd0))]({'filename':path[a109_0x5f49d5(0xad)](logDir,a109_0x5f49d5(0xc7)),'level':a109_0x5f49d5(0xbb)})},automationTransports={};function a109_0x492e(_0x2ce2de,_0x44c248){const _0x57fe0c=a109_0x57fe();return a109_0x492e=function(_0x492e2c,_0xe2e114){_0x492e2c=_0x492e2c-0x8c;let _0x3dc617=_0x57fe0c[_0x492e2c];return _0x3dc617;},a109_0x492e(_0x2ce2de,_0x44c248);}process[a109_0x5f49d5(0xa8)][a109_0x5f49d5(0x9f)]===a109_0x5f49d5(0xa1)&&(automationTransports[a109_0x5f49d5(0x8e)]=new winston['transports'][(a109_0x5f49d5(0xd0))]({'filename':path['join'](logDir,a109_0x5f49d5(0xa7)),'level':a109_0x5f49d5(0xbb)}));transports[a109_0x5f49d5(0xcc)]['on'](a109_0x5f49d5(0xa5),_0x43bb76=>{const _0x23ccf8=a109_0x5f49d5,_0x25f7dc={};_0x25f7dc[_0x23ccf8(0x90)]=function(_0x2b0daf,_0x2bad8c){return _0x2b0daf===_0x2bad8c;},_0x25f7dc[_0x23ccf8(0xb3)]='EPIPE',_0x25f7dc[_0x23ccf8(0xa2)]=_0x23ccf8(0xc3);const _0x5402d1=_0x25f7dc;if(_0x5402d1[_0x23ccf8(0x90)](_0x43bb76[_0x23ccf8(0xac)],_0x5402d1[_0x23ccf8(0xb3)])){console['log'](_0x5402d1[_0x23ccf8(0xa2)],_0x43bb76[_0x23ccf8(0xbd)]);return;}throw _0x43bb76;});const a109_0x11f3e2={};a109_0x11f3e2[a109_0x5f49d5(0x9e)]=a109_0x5f49d5(0xb1);const a109_0x445e54={};a109_0x445e54[a109_0x5f49d5(0xb6)]=!![];const winstonLoggerParams={'format':winston[a109_0x5f49d5(0x9e)]['combine'](winston[a109_0x5f49d5(0x9e)][a109_0x5f49d5(0xb7)](a109_0x11f3e2),winston['format'][a109_0x5f49d5(0xca)](a109_0x445e54),winston['format'][a109_0x5f49d5(0x96)](_0xdbca0a=>_0xdbca0a[a109_0x5f49d5(0xb7)]+a109_0x5f49d5(0x99)+_0xdbca0a[a109_0x5f49d5(0xb6)]+':\x20'+_0xdbca0a[a109_0x5f49d5(0xbd)])),'transports':[transports[a109_0x5f49d5(0xcc)]]},a109_0x38c131={};a109_0x38c131[a109_0x5f49d5(0x9e)]=a109_0x5f49d5(0xb1);const a109_0x128c14={};a109_0x128c14[a109_0x5f49d5(0xb6)]=!![];function a109_0x57fe(){const _0x290f98=['existsSync','true','JwRPK','string','FOrTn','error','../bin/utils/constants','automation.log','env','djwgh','winstonLogger','2414904jcPACR','code','join','winston','loggerFile','buildLinkTransport','YYYY-MM-DD\x20HH:mm:ss','2681624EbgfYO','RWQEB','/sdk-cli-debug.log','3043555AsqTZZ','level','timestamp','22KvtwEf','console.info','accessKey','silly','YfZNc','message','name','buildLogger','debug','9CUCOqs','add','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','levels','3fqUipm','createLogger','/usage.log','userName','warn','colorize','npm','loggerConsole','uncolorize','35RHVMwk','9235450ubyUjx','File','config','fileLogger','replace','BROWSERSTACK_LOG_LEVEL','session','52214zNrBIP','HAoEy','102234kBLdJU','WqAvB','log','automationLoggerFile','toLowerCase','NvTyJ','18aVgqOS','KCoQV','493224YAHEEV','HoPAK','mkdirSync','printf','transports','logDir','\x20-\x20','debugLoggerFile','combine','BROWSERSTACK_INTERNAL_LOG_DIR','http','format','BROWSERSTACK_AUTOMATION_LOGS'];a109_0x57fe=function(){return _0x290f98;};return a109_0x57fe();}const winstonFileLoggerParams={'format':winston[a109_0x5f49d5(0x9e)][a109_0x5f49d5(0x9b)](winston[a109_0x5f49d5(0x9e)][a109_0x5f49d5(0xb7)](a109_0x38c131),winston[a109_0x5f49d5(0x9e)][a109_0x5f49d5(0xca)](a109_0x128c14),winston[a109_0x5f49d5(0x9e)][a109_0x5f49d5(0x96)](_0x321ed4=>_0x321ed4['level']+':\x20'+_0x321ed4[a109_0x5f49d5(0xbd)])),'transports':[]},a109_0x168b3f={};a109_0x168b3f[a109_0x5f49d5(0x9e)]='YYYY-MM-DD\x20HH:mm:ss';const a109_0x51769d={};a109_0x51769d['level']=!![];const a109_0x12ec49={};a109_0x12ec49[a109_0x5f49d5(0xb6)]=a109_0x5f49d5(0xbb);const BuildLoggerParams={'format':winston[a109_0x5f49d5(0x9e)][a109_0x5f49d5(0x9b)](winston['format'][a109_0x5f49d5(0xb7)](a109_0x168b3f),winston[a109_0x5f49d5(0x9e)][a109_0x5f49d5(0xca)](a109_0x51769d),winston[a109_0x5f49d5(0x9e)]['printf'](_0x4c8eca=>_0x4c8eca[a109_0x5f49d5(0xb7)]+a109_0x5f49d5(0x99)+_0x4c8eca[a109_0x5f49d5(0xb6)]+':\x20'+_0x4c8eca[a109_0x5f49d5(0xbd)])),'transports':[transports[a109_0x5f49d5(0xb0)],new winston[(a109_0x5f49d5(0x97))]['Console'](a109_0x12ec49)]},a109_0x5b6486={};a109_0x5b6486[a109_0x5f49d5(0x9d)]=()=>{},a109_0x5b6486['info']=()=>{},a109_0x5b6486[a109_0x5f49d5(0xc9)]=()=>{},a109_0x5b6486[a109_0x5f49d5(0xa5)]=()=>{},a109_0x5b6486[a109_0x5f49d5(0xc0)]=()=>{},a109_0x5b6486['silly']=()=>{},exports['automationLogger']=process['env']['BROWSERSTACK_AUTOMATION_LOGS']===a109_0x5f49d5(0xa1)?winston[a109_0x5f49d5(0xc6)]({'format':winston[a109_0x5f49d5(0x9e)][a109_0x5f49d5(0x9b)](winston[a109_0x5f49d5(0x9e)][a109_0x5f49d5(0xcd)](),winston[a109_0x5f49d5(0x9e)][a109_0x5f49d5(0xb7)](),logFormat(),winston['format'][a109_0x5f49d5(0x96)](_0x4c754a=>_0x4c754a[a109_0x5f49d5(0xb6)]+':\x20'+_0x4c754a[a109_0x5f49d5(0xbd)])),'transports':[automationTransports[a109_0x5f49d5(0x8e)]]}):a109_0x5b6486;const initialize=()=>{const _0x13e138=a109_0x5f49d5,_0x4ab31d={};_0x4ab31d[_0x13e138(0xa4)]='silly';const _0x4431cd=_0x4ab31d,_0x33ff45=transports['loggerConsole'][_0x13e138(0xb6)]||initialLogLevel;transports[_0x13e138(0xaf)]=new winston[(_0x13e138(0x97))]['File']({'filename':path[_0x13e138(0xad)](exports[_0x13e138(0x98)],LOG_FILE_NAME),'level':_0x33ff45}),transports[_0x13e138(0x9a)]=new winston[(_0x13e138(0x97))][(_0x13e138(0xd0))]({'filename':path['join'](exports[_0x13e138(0x98)],DEBUG_LOG_FILE_NAME),'level':_0x4431cd[_0x13e138(0xa4)]}),exports['winstonLogger'][_0x13e138(0xc2)](transports[_0x13e138(0xaf)]),exports[_0x13e138(0xaa)]['add'](transports[_0x13e138(0x9a)]),exports[_0x13e138(0xd2)][_0x13e138(0xc2)](transports['loggerFile']),exports['fileLogger'][_0x13e138(0xc2)](transports[_0x13e138(0x9a)]);};exports[a109_0x5f49d5(0xaa)]=new winston[(a109_0x5f49d5(0xc6))](winstonLoggerParams),exports[a109_0x5f49d5(0xd2)]=new winston['createLogger'](winstonFileLoggerParams),exports[a109_0x5f49d5(0xbf)]=new winston[(a109_0x5f49d5(0xc6))](BuildLoggerParams),exports[a109_0x5f49d5(0x98)]=logDir,exports['getLogDir']=()=>{const _0x3aae9b=a109_0x5f49d5;return exports[_0x3aae9b(0x98)];},exports[a109_0x5f49d5(0x97)]=transports,exports['initialize']=initialize;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a110_0x76ab(){const _0x1e650d=['lcnc','WlJJQ','testMeta','9AKBJCD','18kkrVXu','10039295YVUMel','identifier','240700qFUtgH','RlwSt','mxdzs','getCentralUser','warn','5GIobqW','./globals','getGlobal','1906704WQlOvq','length','exports','winstonLogger','The\x20metadata\x20object\x20is\x20not\x20valid.','get','5200530SwzOAm','qWeOR','knPNH','testMeta-','40898050lTTbly','./helper','816452wtuVFX','testRunUUID','setGlobal','zqsge','set','4370972cZEaxC','./logger','gCqLL'];a110_0x76ab=function(){return _0x1e650d;};return a110_0x76ab();}const a110_0x56d9fb=a110_0x3124;function a110_0x3124(_0x315e37,_0x582a84){const _0x76ab5b=a110_0x76ab();return a110_0x3124=function(_0x31247,_0x3d7c52){_0x31247=_0x31247-0x1ba;let _0x3d11ec=_0x76ab5b[_0x31247];return _0x3d11ec;},a110_0x3124(_0x315e37,_0x582a84);}(function(_0x4166f5,_0x575119){const _0xc10188=a110_0x3124,_0x2e1082=_0x4166f5();while(!![]){try{const _0x1695db=-parseInt(_0xc10188(0x1cf))/0x1+parseInt(_0xc10188(0x1bb))/0x2*(parseInt(_0xc10188(0x1db))/0x3)+parseInt(_0xc10188(0x1d4))/0x4*(-parseInt(_0xc10188(0x1c0))/0x5)+-parseInt(_0xc10188(0x1c9))/0x6+-parseInt(_0xc10188(0x1dc))/0x7+parseInt(_0xc10188(0x1c3))/0x8*(parseInt(_0xc10188(0x1da))/0x9)+parseInt(_0xc10188(0x1cd))/0xa;if(_0x1695db===_0x575119)break;else _0x2e1082['push'](_0x2e1082['shift']());}catch(_0x3aed89){_0x2e1082['push'](_0x2e1082['shift']());}}}(a110_0x76ab,0xcd1ac));const globals=require(a110_0x56d9fb(0x1c1)),helper=require(a110_0x56d9fb(0x1ce)),logger=require(a110_0x56d9fb(0x1d5))[a110_0x56d9fb(0x1c6)];module[a110_0x56d9fb(0x1c5)]=class TestMetadata{static[a110_0x56d9fb(0x1d3)](_0xbcf9db={}){const _0x162012=a110_0x56d9fb,_0x2492ed={};_0x2492ed[_0x162012(0x1bc)]=_0x162012(0x1d0),_0x2492ed['knPNH']=function(_0x226ae9,_0x3b1776){return _0x226ae9===_0x3b1776;},_0x2492ed[_0x162012(0x1d8)]='string',_0x2492ed[_0x162012(0x1d6)]=function(_0x11c52a,_0x3442aa){return _0x11c52a<=_0x3442aa;},_0x2492ed[_0x162012(0x1bd)]='testMeta',_0x2492ed[_0x162012(0x1d2)]=_0x162012(0x1c7);const _0x27fea7=_0x2492ed,_0x50e069=globals[_0x162012(0x1c2)](_0x27fea7[_0x162012(0x1bc)]),_0xc4038=_0xbcf9db[_0x162012(0x1ba)];helper[_0x162012(0x1be)]()[_0x162012(0x1d7)]&&(_0x27fea7[_0x162012(0x1cb)](typeof _0xc4038,_0x27fea7[_0x162012(0x1d8)])&&_0x27fea7[_0x162012(0x1d6)](_0xc4038[_0x162012(0x1c4)],0x28)?_0x50e069?globals['setGlobal'](_0x162012(0x1cc)+_0x50e069,_0xbcf9db):globals[_0x162012(0x1d1)](_0x27fea7[_0x162012(0x1bd)],_0xbcf9db):logger[_0x162012(0x1bf)](_0x27fea7['zqsge']));}static[a110_0x56d9fb(0x1c8)](_0x5af18e){const _0x836f54=a110_0x56d9fb,_0x19f980={};_0x19f980['qWeOR']=_0x836f54(0x1d9);const _0x311e90=_0x19f980;if(helper[_0x836f54(0x1be)]()[_0x836f54(0x1d7)])return globals[_0x836f54(0x1c2)]('testMeta-'+_0x5af18e)||globals[_0x836f54(0x1c2)](_0x311e90[_0x836f54(0x1ca)])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a111_0x223423=a111_0x2820;(function(_0x2c2677,_0xe531b2){const _0x59cd0f=a111_0x2820,_0x54f0fc=_0x2c2677();while(!![]){try{const _0x285131=parseInt(_0x59cd0f(0x9e))/0x1*(-parseInt(_0x59cd0f(0xb8))/0x2)+parseInt(_0x59cd0f(0xb2))/0x3*(parseInt(_0x59cd0f(0xcf))/0x4)+-parseInt(_0x59cd0f(0xe6))/0x5*(-parseInt(_0x59cd0f(0xbe))/0x6)+parseInt(_0x59cd0f(0xf2))/0x7*(parseInt(_0x59cd0f(0xda))/0x8)+parseInt(_0x59cd0f(0xba))/0x9+parseInt(_0x59cd0f(0x91))/0xa+-parseInt(_0x59cd0f(0x7e))/0xb;if(_0x285131===_0xe531b2)break;else _0x54f0fc['push'](_0x54f0fc['shift']());}catch(_0x30a20e){_0x54f0fc['push'](_0x54f0fc['shift']());}}}(a111_0xa81c,0x24b08));const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require('./ai-sdk/autoHealHelper'),PerformanceTester=require(a111_0x223423(0xec)),globals=require(a111_0x223423(0x81)),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require('./helper'),constants=require(a111_0x223423(0x7c)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a111_0x223423(0xc9)),util=require(a111_0x223423(0xbd));function a111_0x2820(_0x46e99b,_0x4e2576){const _0xa81c=a111_0xa81c();return a111_0x2820=function(_0x28206e,_0x3ac7c1){_0x28206e=_0x28206e-0x77;let _0x1ec6cb=_0xa81c[_0x28206e];return _0x1ec6cb;},a111_0x2820(_0x46e99b,_0x4e2576);}function a111_0xa81c(){const _0x168fa1=['getSession','GyBFY','../bin/utils/constants','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','1537811sINjMu','command','toISOString','./globals','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','getGlobal','AVnGf','kLWRZ','script','POST_EXECUTE','Healing\x20failed\x20for\x20command\x20using\x20','isSelfHealEnabled',';\x20Trying\x20to\x20heal','qJOkd','getTcgTokenStatus','getId','handleSuccess','RXOeJ','qjlTh','803640EYwWJN','value','BesFe','format','TDDjf','handleFailure','fKPyJ','zRmKb','capability','args','skipHealingSuccess','findElement\x20command\x20failed\x20with\x20','jTqCt','538HsJLLG','toString','brAgf','aiHeal:findElementFailure','nLPgH','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','dyrQu','nestedKeyValue','rCSUK','local','WRceT','xyYam','name_','FHUwG','GTeyr','keMTS','gwVqN','JhOiH','QaGgd','wpGTR','842943LUEXzG','findElement\x20command\x20failed\x20with\x20cssPath:\x20','info','AUMjt','debug','url','916WTodhW','findElement','185157fTRKYV','fTUAy','MoRqo','util','42FjIuRp','getNudgeLocalNotSetError','ZWQWT','dvzUB','execute','yMGwN','measureWrapper','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','vWbHL','aiHeal:findElementSuccess','browserstack.local','./performance/constants','message','EWbTK','ggGvR','Error\x20in\x20handling\x20TCG\x20Auth:\x20','USgwj','4QLdKJX','JoXki','LdXVb','aiSdk_defaultLogDataEnabled','jkOiz','FkGJB','MDcvV','bstack:options','olodO','xNngq','silly','135408hsFLZu','gUVTl','NoSuchElementError','][\x20SDK-AUTOMATION\x20]\x20','Xmxvr','find','PRE_EXECUTE','name','aiHeal_isAuthenticated','includes','executeScript','DofWt','49955tOugfr','pAqHH','setTcgTokenStatus','ToYOm','WdgTT','BOhTQ','./performance/performance-tester','NUDGE_LOCAL_ERRORS','VnOMw','using','setTcgToken','wsoBz','35JUAwhz','parameters_','isBrowserstackInfra','Yofwi','CrvKi','response','patchExecute','executeAsyncScript','JFaOl','get','aiHeal:setToken','cyDCw','cMEOj','JavascriptError','cQEZe','initExecute','AUTOMATION_LOG_COMMANDS','Successfully\x20healed\x20command\x20using\x20new\x20','ZTJKZ','body','Mkdwo'];a111_0xa81c=function(){return _0x168fa1;};return a111_0xa81c();}exports['overrideExecute']=(_0x5e6e43,_0x449240)=>{const _0x7c686f=a111_0x223423,_0x653448={'brAgf':_0x7c686f(0xe2),'AVnGf':_0x7c686f(0xfc),'TgdBV':function(_0x323828){return _0x323828();},'Yofwi':_0x7c686f(0xd2),'Mkdwo':function(_0x2ea527,_0x35f053){return _0x2ea527===_0x35f053;},'cQEZe':_0x7c686f(0xb9),'WRceT':'aiHeal_isHealingEnabled','fQdZb':_0x7c686f(0xc7),'KzQXB':function(_0x2ded73){return _0x2ded73();},'iSSkv':_0x7c686f(0x82),'BOhTQ':function(_0x4f1557,_0x5e3567){return _0x4f1557===_0x5e3567;},'BzoLh':_0x7c686f(0xdc),'ToYOm':function(_0x249889,_0x2df6cd){return _0x249889===_0x2df6cd;},'BesFe':_0x7c686f(0xff),'kLWRZ':'css\x20selector','VnOMw':function(_0x53bf7a,_0x2ca3fd){return _0x53bf7a+_0x2ca3fd;},'MDcvV':_0x7c686f(0xb3),'Xmxvr':_0x7c686f(0x8a),'KrKlL':function(_0x163781,_0x2459cf){return _0x163781+_0x2459cf;},'VvrOQ':function(_0xfe7283,_0x1069af){return _0xfe7283+_0x1069af;},'USgwj':_0x7c686f(0x9c),'WdgTT':_0x7c686f(0xa1),'JhOiH':function(_0x29c584){return _0x29c584();},'gwVqN':function(_0x1e4e94,_0x5213f3){return _0x1e4e94&&_0x5213f3;},'qjlTh':function(_0x12e924,_0x36750f){return _0x12e924===_0x36750f;},'TDDjf':function(_0x4e9469,_0x4ad369){return _0x4e9469+_0x4ad369;},'AUMjt':_0x7c686f(0xc5),'rCSUK':function(_0x102236,_0x455a2b){return _0x102236+_0x455a2b;},'DofWt':_0x7c686f(0x103),'vWbHL':function(_0x2f4951,_0x4103fd){return _0x2f4951+_0x4103fd;},'dyrQu':_0x7c686f(0xa3),'fTUAy':_0x7c686f(0x88),'fYSqn':_0x7c686f(0xfb),'pAqHH':'parameters_','JFaOl':_0x7c686f(0xb7),'wpGTR':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','FHUwG':function(_0x121a01,_0x36680b){return _0x121a01===_0x36680b;},'olodO':_0x7c686f(0xf9),'GyBFY':_0x7c686f(0xe4),'yMGwN':'string','fKPyJ':_0x7c686f(0x99),'keMTS':_0x7c686f(0xc8),'CKEaF':_0x7c686f(0xd6),'xNngq':_0x7c686f(0xa7)},_0x1bc23f=_0x5e6e43[_0x7c686f(0xf8)]||(helper['nestedKeyValue'](_0x449240,[_0x653448[_0x7c686f(0x97)],_0x653448[_0x7c686f(0xad)]])||helper[_0x7c686f(0xa5)](_0x449240,[_0x653448[_0x7c686f(0x97)],_0x653448['CKEaF'],_0x653448[_0x7c686f(0xd8)]]));if(!globals[_0x7c686f(0x83)](_0x653448[_0x7c686f(0xa0)])&&!globals['getGlobal'](_0x653448[_0x7c686f(0xa8)])&&_0x1bc23f)return;_0x5e6e43[_0x7c686f(0xf8)]=!![],_0x5e6e43['initExecute']=_0x5e6e43[_0x7c686f(0xc2)],_0x5e6e43['execute']=async _0x1bdf40=>{const _0x425014=_0x7c686f,_0x234dae={'ZWQWT':_0x653448[_0x425014(0xa0)],'cMEOj':_0x653448['iSSkv'],'gUVTl':function(_0x4adffe,_0x48d07a){const _0x3f022c=_0x425014;return _0x653448[_0x3f022c(0xeb)](_0x4adffe,_0x48d07a);},'EWbTK':_0x653448['BzoLh'],'wsoBz':function(_0x32686a,_0x5089dd){const _0x25434e=_0x425014;return _0x653448[_0x25434e(0xe9)](_0x32686a,_0x5089dd);},'AJwRh':_0x653448[_0x425014(0x93)],'IwTws':function(_0x3a2359,_0x5a9129){const _0x521671=_0x425014;return _0x653448[_0x521671(0xe9)](_0x3a2359,_0x5a9129);},'ZTJKZ':_0x653448[_0x425014(0x100)],'rmlHr':_0x653448[_0x425014(0xa8)],'FkGJB':_0x653448[_0x425014(0x85)],'zRmKb':function(_0x6458a9,_0x2d09fb){const _0x4d451b=_0x425014;return _0x653448[_0x4d451b(0xee)](_0x6458a9,_0x2d09fb);},'dvzUB':_0x653448[_0x425014(0xd5)],'LdXVb':_0x653448[_0x425014(0xde)],'MoRqo':function(_0x2ab2d0,_0x27ac18){return _0x653448['KrKlL'](_0x2ab2d0,_0x27ac18);},'CrvKi':function(_0x28978c,_0x4b90ed){return _0x653448['VvrOQ'](_0x28978c,_0x4b90ed);},'XzAQJ':_0x653448[_0x425014(0xce)],'kZtAw':_0x653448[_0x425014(0xea)],'nLPgH':function(_0x3cb07f){const _0x5471f4=_0x425014;return _0x653448[_0x5471f4(0xaf)](_0x3cb07f);},'xyYam':function(_0x47d00e,_0x354137){const _0x385b3c=_0x425014;return _0x653448[_0x385b3c(0xae)](_0x47d00e,_0x354137);},'ZMRNM':function(_0x2ae768,_0x471050){const _0xc50d4=_0x425014;return _0x653448[_0xc50d4(0x90)](_0x2ae768,_0x471050);},'nVilH':function(_0x2bab5f,_0x3b2169){const _0x6dc53=_0x425014;return _0x653448[_0x6dc53(0x95)](_0x2bab5f,_0x3b2169);},'oeQwL':_0x653448[_0x425014(0xb5)],'jTqCt':function(_0x53a5a0,_0x524b84){const _0x478bd1=_0x425014;return _0x653448[_0x478bd1(0xa6)](_0x53a5a0,_0x524b84);},'qJOkd':_0x653448[_0x425014(0xe5)],'cyDCw':function(_0x269506,_0x316f1f){const _0x4aa52c=_0x425014;return _0x653448[_0x4aa52c(0x90)](_0x269506,_0x316f1f);},'GTeyr':function(_0x29997a,_0x581759){const _0x3b744d=_0x425014;return _0x653448[_0x3b744d(0xc6)](_0x29997a,_0x581759);},'rYNxZ':_0x653448[_0x425014(0xa4)],'JoXki':_0x653448[_0x425014(0xbb)],'qjqQY':function(_0xf8f0da,_0xed5e3){const _0x559fb8=_0x425014;return _0x653448[_0x559fb8(0x90)](_0xf8f0da,_0xed5e3);},'ggGvR':_0x653448['fYSqn'],'RXOeJ':_0x653448[_0x425014(0xe7)],'QaGgd':_0x653448[_0x425014(0xfa)],'jkOiz':_0x653448[_0x425014(0xb1)]};try{const _0x200507={};_0x200507[_0x425014(0x7f)]=_0x1bdf40[_0x425014(0xaa)],await PerformanceTester[_0x425014(0xc4)](PerformanceDriverEvents[_0x425014(0xe0)],async()=>{const _0x46e489=_0x425014;if(!commandRepository[_0x46e489(0x8c)]()&&globals[_0x46e489(0x83)](_0x653448[_0x46e489(0xa0)])){const _0x4b23f0=PerformanceTester[_0x46e489(0xc4)](_0x653448[_0x46e489(0x84)],async()=>{const _0x4cfd25=_0x46e489;try{commandRepository[_0x4cfd25(0xe8)](!![]),await aiSdkWrapper[_0x4cfd25(0xf0)]((await _0x5e6e43[_0x4cfd25(0x7a)]())[_0x4cfd25(0x8d)]());const _0x3f11d2=globals['getGlobal'](_0x234dae[_0x4cfd25(0xc0)]);_0x3f11d2&&commandRepository['setAiSessionTimeStamp']((await _0x5e6e43[_0x4cfd25(0x7a)]())['getId']());}catch(_0x54f2c8){logger['error'](_0x4cfd25(0xcd)+_0x54f2c8);}});await _0x653448['TgdBV'](_0x4b23f0);}},_0x200507)();const _0x168e5b=await _0x5e6e43[_0x425014(0x101)](_0x1bdf40);try{if(_0x653448[_0x425014(0xab)](_0x1bdf40['name_'],_0x653448[_0x425014(0xd7)])||_0x653448['ToYOm'](_0x1bdf40['name_'],_0x653448[_0x425014(0x7b)])){const _0x4bc460=_0x1bdf40[_0x425014(0xf3)]&&_0x1bdf40[_0x425014(0xf3)][_0x425014(0x86)],_0x4a23ac=_0x1bdf40['parameters_']&&_0x1bdf40[_0x425014(0xf3)][_0x425014(0x9a)],_0x2b7f48=_0x4a23ac&&util[_0x425014(0x94)]('%j',_0x4a23ac);if(_0x4bc460&&_0x653448[_0x425014(0x90)](typeof _0x4bc460,_0x653448[_0x425014(0xc3)])){const _0xe0b17=constants[_0x425014(0x102)][_0x425014(0xdf)](_0x7beb7b=>_0x4bc460['includes'](_0x7beb7b)||_0x2b7f48&&_0x2b7f48[_0x425014(0xe3)](_0x7beb7b));if(_0xe0b17){const _0x2057ce={};_0x2057ce[_0x425014(0x7f)]=_0xe0b17,_0x2057ce['parameters']=_0x4a23ac;const _0x275105={};_0x275105[_0x425014(0x78)]=_0x168e5b;const _0x3191dc={};_0x3191dc['request']=_0x2057ce,_0x3191dc[_0x425014(0xf7)]=_0x275105,automationLogger[_0x425014(0xd9)]('['+new Date()[_0x425014(0x80)]()+_0x425014(0xdd)+util[_0x425014(0x94)]('%j',_0x3191dc));}}}}catch(_0x295732){logger[_0x425014(0xd9)](_0x425014(0x7d)+_0x295732[_0x425014(0xca)]);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x16fc71=_0x425014;if(!helper['isBrowserstackInfra']()&&(commandRepository[_0x16fc71(0x89)]()||globals[_0x16fc71(0x83)](_0x653448[_0x16fc71(0xf5)]))&&_0x653448[_0x16fc71(0x79)](_0x1bdf40[_0x16fc71(0xaa)],_0x653448['cQEZe'])&&!_0x1bdf40[_0x16fc71(0x9b)]&&globals['getGlobal'](_0x653448[_0x16fc71(0xa0)])&&globals[_0x16fc71(0x83)](_0x653448[_0x16fc71(0xa8)])){const _0x5617d5=new Date(),_0xe6b57f=PerformanceTester[_0x16fc71(0xc4)](_0x653448['fQdZb'],async()=>{const _0x17e94e=_0x16fc71;return await aiSdkWrapper[_0x17e94e(0x8e)](_0x449240,_0x5e6e43,_0x1bdf40);});await _0x653448['KzQXB'](_0xe6b57f);}},{'command':_0x1bdf40[_0x425014(0xaa)]})(),_0x168e5b;}catch(_0x51e9fb){await PerformanceTester[_0x425014(0xc4)](PerformanceDriverEvents[_0x425014(0x87)],async()=>{const _0x2a1599=_0x425014;logger[_0x2a1599(0xb6)](_0x234dae[_0x2a1599(0xfe)]);try{if(!helper[_0x2a1599(0xf4)]()&&(_0x234dae[_0x2a1599(0xdb)](_0x51e9fb[_0x2a1599(0xe1)],_0x234dae[_0x2a1599(0xcb)])||_0x234dae[_0x2a1599(0xf1)](_0x51e9fb[_0x2a1599(0xe1)],_0x234dae['AJwRh']))&&_0x234dae['IwTws'](_0x1bdf40[_0x2a1599(0xaa)],_0x234dae[_0x2a1599(0x77)])&&commandRepository['isSelfHealEnabled']()&&globals['getGlobal'](_0x234dae[_0x2a1599(0xc0)])&&globals['getGlobal'](_0x234dae['rmlHr'])){_0x234dae[_0x2a1599(0xf1)](_0x1bdf40['parameters_'][_0x2a1599(0xef)],_0x234dae[_0x2a1599(0xd4)])?logger['info'](_0x234dae[_0x2a1599(0x98)](_0x234dae[_0x2a1599(0x98)](_0x234dae[_0x2a1599(0xc1)],_0x1bdf40[_0x2a1599(0xf3)]['value']),_0x234dae['LdXVb'])):logger[_0x2a1599(0xb4)](_0x234dae[_0x2a1599(0xbc)](_0x234dae[_0x2a1599(0xbc)](_0x234dae[_0x2a1599(0xbc)](_0x234dae[_0x2a1599(0xf6)](_0x234dae['XzAQJ'],_0x1bdf40[_0x2a1599(0xf3)][_0x2a1599(0xef)]),':\x20'),_0x1bdf40[_0x2a1599(0xf3)][_0x2a1599(0x92)]),_0x234dae[_0x2a1599(0xd1)]));const _0x356e5c=PerformanceTester['measureWrapper'](_0x234dae['kZtAw'],async()=>{const _0x555092=_0x2a1599;return await aiSdkWrapper[_0x555092(0x96)](_0x449240,_0x5e6e43,_0x1bdf40);}),_0x4fa587=new Date(),{locatorType:_0x5553ff,locatorValue:_0x26056a,commandHealed:_0x5dcf4c}=await _0x234dae[_0x2a1599(0xa2)](_0x356e5c);if(_0x234dae[_0x2a1599(0xa9)](_0x5553ff,_0x26056a)){_0x1bdf40[_0x2a1599(0xf3)][_0x2a1599(0xef)]=_0x5553ff,_0x1bdf40[_0x2a1599(0xf3)][_0x2a1599(0x92)]=_0x26056a,_0x1bdf40[_0x2a1599(0x9b)]=!![];const _0xe29370=_0x5e6e43[_0x2a1599(0xc2)](_0x1bdf40);return _0x234dae['ZMRNM'](_0x5553ff,_0x234dae[_0x2a1599(0xd4)])?logger[_0x2a1599(0xb4)](_0x234dae['nVilH'](_0x234dae['oeQwL'],_0x26056a)):logger[_0x2a1599(0xb4)](_0x234dae['MoRqo'](_0x234dae[_0x2a1599(0x98)](_0x234dae[_0x2a1599(0x9d)](_0x234dae[_0x2a1599(0x8b)],_0x5553ff),':\x20'),_0x26056a)),_0xe29370;}else!_0x5dcf4c&&(_0x234dae[_0x2a1599(0xfd)](_0x5553ff,_0x234dae[_0x2a1599(0xd4)])?logger['info'](_0x234dae['GTeyr'](_0x234dae['rYNxZ'],_0x1bdf40[_0x2a1599(0xf3)][_0x2a1599(0x92)])):logger[_0x2a1599(0xb4)](_0x234dae[_0x2a1599(0x98)](_0x234dae['MoRqo'](_0x234dae[_0x2a1599(0xac)](_0x234dae[_0x2a1599(0xd0)],_0x1bdf40[_0x2a1599(0xf3)][_0x2a1599(0xef)]),':\x20'),_0x1bdf40[_0x2a1599(0xf3)][_0x2a1599(0x92)])));}!_0x1bc23f&&_0x234dae['qjqQY'](_0x1bdf40['name_'],_0x234dae[_0x2a1599(0xcc)])&&helper[_0x2a1599(0xa5)](_0x1bdf40,[_0x234dae[_0x2a1599(0x8f)],_0x234dae[_0x2a1599(0xb0)]])&&!!constants[_0x2a1599(0xed)]['find'](_0x1edc37=>{const _0x52a7d9=_0x2a1599;return _0x51e9fb[_0x52a7d9(0x9f)]()[_0x52a7d9(0xe3)](_0x1edc37);})&&helper[_0x2a1599(0xbf)](_0x1bdf40[_0x2a1599(0xf3)]['url'],!![]);}catch(_0x460c14){logger[_0x2a1599(0xb6)](_0x234dae[_0x2a1599(0xd3)],_0x460c14);}},{'success':![],'failure':_0x51e9fb})();throw _0x51e9fb;}};};
|
|
1
|
+
const a111_0x553cec=a111_0x2656;(function(_0x2bd7a8,_0x568e8a){const _0x33f1af=a111_0x2656,_0xac41c7=_0x2bd7a8();while(!![]){try{const _0x33f247=-parseInt(_0x33f1af(0x1b4))/0x1+parseInt(_0x33f1af(0x1b2))/0x2*(parseInt(_0x33f1af(0x1a2))/0x3)+-parseInt(_0x33f1af(0x168))/0x4+parseInt(_0x33f1af(0x182))/0x5*(-parseInt(_0x33f1af(0x146))/0x6)+-parseInt(_0x33f1af(0x13d))/0x7*(-parseInt(_0x33f1af(0x176))/0x8)+parseInt(_0x33f1af(0x178))/0x9+-parseInt(_0x33f1af(0x149))/0xa;if(_0x33f247===_0x568e8a)break;else _0xac41c7['push'](_0xac41c7['shift']());}catch(_0x795231){_0xac41c7['push'](_0xac41c7['shift']());}}}(a111_0x1764,0x7a130));function a111_0x2656(_0xd68c61,_0x3f2f0c){const _0x1764e9=a111_0x1764();return a111_0x2656=function(_0x2656ac,_0x173d04){_0x2656ac=_0x2656ac-0x138;let _0x3b09c9=_0x1764e9[_0x2656ac];return _0x3b09c9;},a111_0x2656(_0xd68c61,_0x3f2f0c);}const {aiSdkWrapper}=require(a111_0x553cec(0x181)),{commandRepository}=require('./ai-sdk/autoHealHelper'),PerformanceTester=require(a111_0x553cec(0x162)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a111_0x553cec(0x150)),helper=require('./helper'),constants=require(a111_0x553cec(0x1bc)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a111_0x553cec(0x1b5)),util=require(a111_0x553cec(0x195));exports[a111_0x553cec(0x193)]=(_0x528744,_0x4808e2)=>{const _0x50c4ba=a111_0x553cec,_0x5172a1={'WrloK':'aiSdk_defaultLogDataEnabled','hIcJO':function(_0x52b616,_0x2067c3){return _0x52b616===_0x2067c3;},'vztSg':_0x50c4ba(0x17d),'bZlLb':_0x50c4ba(0x1b8),'ysMyF':_0x50c4ba(0x15e),'MVNJl':_0x50c4ba(0x16e),'tzXhN':function(_0xaf1694){return _0xaf1694();},'ikPFW':_0x50c4ba(0x1bd),'EcyKs':function(_0x25b8a9){return _0x25b8a9();},'LZQpx':_0x50c4ba(0x158),'crkSk':_0x50c4ba(0x19e),'bkRkP':'JavascriptError','Axblr':function(_0x199093,_0x2faca6){return _0x199093===_0x2faca6;},'cncrv':'css\x20selector','CJUsl':function(_0x360eee,_0x38e97f){return _0x360eee+_0x38e97f;},'MEONK':_0x50c4ba(0x16f),'fNkwu':_0x50c4ba(0x138),'HQIyT':_0x50c4ba(0x143),'mZrfE':'aiHeal:findElementFailure','ONslL':function(_0x443b4d,_0x1dca75){return _0x443b4d&&_0x1dca75;},'bZTvi':function(_0x2d15a8,_0xd568c){return _0x2d15a8===_0xd568c;},'HyViZ':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','Rhpfz':function(_0x5f2818,_0x2aac6c){return _0x5f2818+_0x2aac6c;},'GSLbc':function(_0x21575a,_0x4d2748){return _0x21575a+_0x4d2748;},'weIOy':_0x50c4ba(0x1c1),'WTuzN':_0x50c4ba(0x163),'jPmow':function(_0x216602,_0x27a0be){return _0x216602+_0x27a0be;},'jytjO':function(_0x557354,_0x35319f){return _0x557354+_0x35319f;},'eLClC':_0x50c4ba(0x197),'hIdJN':_0x50c4ba(0x161),'VBBUm':'parameters_','KMypl':_0x50c4ba(0x15f),'wpZnw':_0x50c4ba(0x1ab),'OILQo':function(_0x34546f,_0x14ddfa){return _0x34546f===_0x14ddfa;},'fFMMh':_0x50c4ba(0x1ae),'WHSgh':_0x50c4ba(0x174),'rjufb':'string','qhoPI':'capability','IwShV':_0x50c4ba(0x170),'aWMvo':_0x50c4ba(0x165),'oIevX':_0x50c4ba(0x184)},_0x38e556=_0x528744[_0x50c4ba(0x19d)]||(helper[_0x50c4ba(0x19b)](_0x4808e2,[_0x5172a1['qhoPI'],_0x5172a1[_0x50c4ba(0x15d)]])||helper[_0x50c4ba(0x19b)](_0x4808e2,[_0x5172a1['qhoPI'],_0x5172a1[_0x50c4ba(0x1b6)],_0x5172a1[_0x50c4ba(0x175)]]));if(!globals[_0x50c4ba(0x1bf)](_0x5172a1['bZlLb'])&&!globals['getGlobal'](_0x5172a1[_0x50c4ba(0x140)])&&_0x38e556)return;_0x528744[_0x50c4ba(0x19d)]=!![],_0x528744[_0x50c4ba(0x166)]=_0x528744['execute'],_0x528744['execute']=async _0xc8bf90=>{const _0x40fc0a=_0x50c4ba,_0x5ebbae={'asJJG':_0x5172a1[_0x40fc0a(0x1a0)],'jHkZJ':_0x5172a1[_0x40fc0a(0x1b3)],'fQUny':function(_0xcd7709){return _0x5172a1['EcyKs'](_0xcd7709);},'kRuAG':_0x5172a1['LZQpx'],'xrdzR':function(_0x59e34a,_0x514d90){const _0x3d57ae=_0x40fc0a;return _0x5172a1[_0x3d57ae(0x1be)](_0x59e34a,_0x514d90);},'qKvao':_0x5172a1[_0x40fc0a(0x159)],'ThNdd':_0x5172a1[_0x40fc0a(0x1a7)],'OPDtt':function(_0x19df25,_0x528ad5){const _0x577ec5=_0x40fc0a;return _0x5172a1[_0x577ec5(0x17e)](_0x19df25,_0x528ad5);},'pImTj':_0x5172a1[_0x40fc0a(0x19c)],'aytzL':_0x5172a1[_0x40fc0a(0x140)],'APGJP':function(_0x304c74,_0xa29aab){const _0x59c979=_0x40fc0a;return _0x5172a1[_0x59c979(0x17e)](_0x304c74,_0xa29aab);},'cpSkc':_0x5172a1[_0x40fc0a(0x18b)],'HvGHv':function(_0x1b7520,_0x57a58){const _0xfce420=_0x40fc0a;return _0x5172a1[_0xfce420(0x1a5)](_0x1b7520,_0x57a58);},'HJudH':function(_0x2095c5,_0x33eff0){return _0x5172a1['CJUsl'](_0x2095c5,_0x33eff0);},'yWbcd':_0x5172a1[_0x40fc0a(0x13c)],'eoYNE':_0x5172a1[_0x40fc0a(0x17c)],'AcWMN':function(_0x1fd103,_0x59c774){const _0xd35a8a=_0x40fc0a;return _0x5172a1[_0xd35a8a(0x1a5)](_0x1fd103,_0x59c774);},'UbWyd':_0x5172a1[_0x40fc0a(0x1c2)],'oVnbA':_0x5172a1[_0x40fc0a(0x18a)],'rjcVi':function(_0x4f9d2d,_0x3eeecf){return _0x5172a1['ONslL'](_0x4f9d2d,_0x3eeecf);},'wuZMv':function(_0x59122d,_0x328766){const _0x4629d5=_0x40fc0a;return _0x5172a1[_0x4629d5(0x164)](_0x59122d,_0x328766);},'dmird':_0x5172a1[_0x40fc0a(0x190)],'aIiVH':function(_0x579338,_0x3fd903){const _0x5d3d62=_0x40fc0a;return _0x5172a1[_0x5d3d62(0x15c)](_0x579338,_0x3fd903);},'cxnDg':function(_0x55a985,_0x2e2ce6){const _0x1513d3=_0x40fc0a;return _0x5172a1[_0x1513d3(0x17b)](_0x55a985,_0x2e2ce6);},'iPUFf':_0x5172a1[_0x40fc0a(0x194)],'YkLaO':_0x5172a1[_0x40fc0a(0x1a6)],'kmuVD':function(_0x29ca74,_0x5d8276){const _0x26525e=_0x40fc0a;return _0x5172a1[_0x26525e(0x14d)](_0x29ca74,_0x5d8276);},'wtHVK':function(_0x5dd151,_0x3b6fa6){return _0x5172a1['jytjO'](_0x5dd151,_0x3b6fa6);},'IVRVu':_0x5172a1[_0x40fc0a(0x196)],'TkTNn':_0x5172a1[_0x40fc0a(0x148)],'MuPIg':_0x5172a1[_0x40fc0a(0x192)],'fBrSi':_0x5172a1[_0x40fc0a(0x188)],'rEwkW':_0x5172a1[_0x40fc0a(0x1b0)]};try{const _0x39b57f={};_0x39b57f['command']=_0xc8bf90[_0x40fc0a(0x141)],await PerformanceTester[_0x40fc0a(0x152)](PerformanceDriverEvents[_0x40fc0a(0x1ac)],async()=>{const _0x309053=_0x40fc0a,_0x64bb5a={};_0x64bb5a[_0x309053(0x16c)]=_0x5ebbae[_0x309053(0x1aa)];const _0x3aa0e8=_0x64bb5a;if(!commandRepository['getTcgTokenStatus']()&&globals[_0x309053(0x1bf)](_0x5ebbae['asJJG'])){const _0x2b2504=PerformanceTester[_0x309053(0x152)](_0x5ebbae[_0x309053(0x156)],async()=>{const _0x2d7166=_0x309053;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x2d7166(0x171)]((await _0x528744[_0x2d7166(0x17f)]())[_0x2d7166(0x19f)]());const _0x2f92bd=globals['getGlobal'](_0x3aa0e8[_0x2d7166(0x16c)]);_0x2f92bd&&commandRepository[_0x2d7166(0x179)]((await _0x528744[_0x2d7166(0x17f)]())['getId']());}catch(_0x13020d){logger[_0x2d7166(0x187)](_0x2d7166(0x157)+_0x13020d);}});await _0x5ebbae['fQUny'](_0x2b2504);}},_0x39b57f)();const _0x184f9e=await _0x528744[_0x40fc0a(0x166)](_0xc8bf90);try{if(_0x5172a1[_0x40fc0a(0x147)](_0xc8bf90[_0x40fc0a(0x141)],_0x5172a1[_0x40fc0a(0x13b)])||_0x5172a1['bZTvi'](_0xc8bf90['name_'],_0x5172a1[_0x40fc0a(0x13a)])){const _0x58f808=_0xc8bf90[_0x40fc0a(0x14e)]&&_0xc8bf90['parameters_'][_0x40fc0a(0x16a)],_0xe2f49=_0xc8bf90[_0x40fc0a(0x14e)]&&_0xc8bf90[_0x40fc0a(0x14e)][_0x40fc0a(0x14a)],_0x482fcc=_0xe2f49&&util[_0x40fc0a(0x173)]('%j',_0xe2f49);if(_0x58f808&&_0x5172a1[_0x40fc0a(0x164)](typeof _0x58f808,_0x5172a1[_0x40fc0a(0x18d)])){const _0x250af6=constants[_0x40fc0a(0x183)][_0x40fc0a(0x1c5)](_0x502996=>_0x58f808[_0x40fc0a(0x167)](_0x502996)||_0x482fcc&&_0x482fcc[_0x40fc0a(0x167)](_0x502996));if(_0x250af6){const _0x209123={};_0x209123[_0x40fc0a(0x145)]=_0x250af6,_0x209123[_0x40fc0a(0x155)]=_0xe2f49;const _0x247de8={};_0x247de8['body']=_0x184f9e;const _0x1eb2d0={};_0x1eb2d0[_0x40fc0a(0x14b)]=_0x209123,_0x1eb2d0[_0x40fc0a(0x191)]=_0x247de8,automationLogger[_0x40fc0a(0x1bb)]('['+new Date()['toISOString']()+'][\x20SDK-AUTOMATION\x20]\x20'+util[_0x40fc0a(0x173)]('%j',_0x1eb2d0));}}}}catch(_0x3c386f){logger[_0x40fc0a(0x1bb)](_0x40fc0a(0x1b7)+_0x3c386f[_0x40fc0a(0x177)]);}return await PerformanceTester[_0x40fc0a(0x152)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x298f39=_0x40fc0a;if(!helper[_0x298f39(0x18c)]()&&(commandRepository['isSelfHealEnabled']()||globals[_0x298f39(0x1bf)](_0x5172a1['WrloK']))&&_0x5172a1[_0x298f39(0x1be)](_0xc8bf90[_0x298f39(0x141)],_0x5172a1['vztSg'])&&!_0xc8bf90['skipHealingSuccess']&&globals[_0x298f39(0x1bf)](_0x5172a1[_0x298f39(0x1a0)])&&globals[_0x298f39(0x1bf)](_0x5172a1[_0x298f39(0x140)])){const _0x1a8f3f=new Date(),_0x5f74b4=PerformanceTester[_0x298f39(0x152)](_0x5172a1['MVNJl'],async()=>{const _0x32c2d2=_0x298f39;return await aiSdkWrapper[_0x32c2d2(0x1a1)](_0x4808e2,_0x528744,_0xc8bf90);});await _0x5172a1[_0x298f39(0x13f)](_0x5f74b4);}},{'command':_0xc8bf90[_0x40fc0a(0x141)]})(),_0x184f9e;}catch(_0x30c462){await PerformanceTester[_0x40fc0a(0x152)](PerformanceDriverEvents[_0x40fc0a(0x160)],async()=>{const _0x52d3f4=_0x40fc0a;logger[_0x52d3f4(0x16d)](_0x5ebbae[_0x52d3f4(0x14f)]);try{if(!helper[_0x52d3f4(0x18c)]()&&(_0x5ebbae[_0x52d3f4(0x144)](_0x30c462[_0x52d3f4(0x151)],_0x5ebbae[_0x52d3f4(0x1af)])||_0x5ebbae[_0x52d3f4(0x144)](_0x30c462[_0x52d3f4(0x151)],_0x5ebbae[_0x52d3f4(0x1a8)]))&&_0x5ebbae['OPDtt'](_0xc8bf90[_0x52d3f4(0x141)],_0x5ebbae[_0x52d3f4(0x169)])&&commandRepository['isSelfHealEnabled']()&&globals[_0x52d3f4(0x1bf)](_0x5ebbae[_0x52d3f4(0x1aa)])&&globals[_0x52d3f4(0x1bf)](_0x5ebbae[_0x52d3f4(0x172)])){_0x5ebbae[_0x52d3f4(0x1b9)](_0xc8bf90[_0x52d3f4(0x14e)][_0x52d3f4(0x19a)],_0x5ebbae[_0x52d3f4(0x1c0)])?logger['info'](_0x5ebbae[_0x52d3f4(0x154)](_0x5ebbae['HJudH'](_0x5ebbae[_0x52d3f4(0x16b)],_0xc8bf90['parameters_'][_0x52d3f4(0x189)]),_0x5ebbae[_0x52d3f4(0x180)])):logger[_0x52d3f4(0x15a)](_0x5ebbae[_0x52d3f4(0x198)](_0x5ebbae[_0x52d3f4(0x1ba)](_0x5ebbae[_0x52d3f4(0x198)](_0x5ebbae['HvGHv'](_0x5ebbae[_0x52d3f4(0x153)],_0xc8bf90[_0x52d3f4(0x14e)][_0x52d3f4(0x19a)]),':\x20'),_0xc8bf90[_0x52d3f4(0x14e)][_0x52d3f4(0x189)]),_0x5ebbae[_0x52d3f4(0x180)]));const _0x382c41=PerformanceTester[_0x52d3f4(0x152)](_0x5ebbae[_0x52d3f4(0x1b1)],async()=>{return await aiSdkWrapper['handleFailure'](_0x4808e2,_0x528744,_0xc8bf90);}),_0x447b6a=new Date(),{locatorType:_0x28963f,locatorValue:_0x51e4b1,commandHealed:_0x5a7a88}=await _0x5ebbae['fQUny'](_0x382c41);if(_0x5ebbae['rjcVi'](_0x28963f,_0x51e4b1)){_0xc8bf90[_0x52d3f4(0x14e)][_0x52d3f4(0x19a)]=_0x28963f,_0xc8bf90[_0x52d3f4(0x14e)][_0x52d3f4(0x189)]=_0x51e4b1,_0xc8bf90[_0x52d3f4(0x18f)]=!![];const _0x1c41b0=_0x528744[_0x52d3f4(0x15b)](_0xc8bf90);return _0x5ebbae[_0x52d3f4(0x1a9)](_0x28963f,_0x5ebbae[_0x52d3f4(0x1c0)])?logger[_0x52d3f4(0x15a)](_0x5ebbae[_0x52d3f4(0x1ba)](_0x5ebbae[_0x52d3f4(0x142)],_0x51e4b1)):logger[_0x52d3f4(0x15a)](_0x5ebbae[_0x52d3f4(0x17a)](_0x5ebbae[_0x52d3f4(0x1c3)](_0x5ebbae['aIiVH'](_0x5ebbae[_0x52d3f4(0x14c)],_0x28963f),':\x20'),_0x51e4b1)),_0x1c41b0;}else!_0x5a7a88&&(_0x5ebbae['wuZMv'](_0x28963f,_0x5ebbae['cpSkc'])?logger['info'](_0x5ebbae[_0x52d3f4(0x1ba)](_0x5ebbae[_0x52d3f4(0x1a4)],_0xc8bf90[_0x52d3f4(0x14e)][_0x52d3f4(0x189)])):logger['info'](_0x5ebbae[_0x52d3f4(0x1c3)](_0x5ebbae[_0x52d3f4(0x1c4)](_0x5ebbae[_0x52d3f4(0x1a3)](_0x5ebbae[_0x52d3f4(0x1ad)],_0xc8bf90['parameters_']['using']),':\x20'),_0xc8bf90[_0x52d3f4(0x14e)][_0x52d3f4(0x189)])));}!_0x38e556&&_0x5ebbae['OPDtt'](_0xc8bf90['name_'],_0x5ebbae[_0x52d3f4(0x186)])&&helper[_0x52d3f4(0x19b)](_0xc8bf90,[_0x5ebbae[_0x52d3f4(0x199)],_0x5ebbae[_0x52d3f4(0x185)]])&&!!constants[_0x52d3f4(0x139)][_0x52d3f4(0x1c5)](_0x2286d8=>{const _0x2b9d0b=_0x52d3f4;return _0x30c462[_0x2b9d0b(0x13e)]()[_0x2b9d0b(0x167)](_0x2286d8);})&&helper['getNudgeLocalNotSetError'](_0xc8bf90['parameters_'][_0x52d3f4(0x15f)],!![]);}catch(_0x1ba484){logger['debug'](_0x5ebbae[_0x52d3f4(0x18e)],_0x1ba484);}},{'success':![],'failure':_0x30c462})();throw _0x30c462;}};};function a111_0x1764(){const _0x42a6aa=['aiHeal:findElementSuccess','findElement\x20command\x20failed\x20with\x20cssPath:\x20','browserstack.local','setTcgToken','aytzL','format','executeScript','oIevX','48rGTDbW','message','6510051kKcbsY','setAiSessionTimeStamp','aIiVH','GSLbc','fNkwu','findElement','Axblr','getSession','eoYNE','./ai-sdk/aiSdkWrapper','1786735ibDlth','AUTOMATION_LOG_COMMANDS','local','fBrSi','TkTNn','error','KMypl','value','mZrfE','cncrv','isBrowserstackInfra','rjufb','rEwkW','skipHealingSuccess','HyViZ','response','VBBUm','overrideExecute','weIOy','util','eLClC','Healing\x20failed\x20for\x20command\x20using\x20','HJudH','MuPIg','using','nestedKeyValue','vztSg','patchExecute','NoSuchElementError','getId','bZlLb','handleSuccess','27012UlmeyO','wtHVK','YkLaO','CJUsl','WTuzN','bkRkP','ThNdd','wuZMv','asJJG','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','PRE_EXECUTE','IVRVu','executeAsyncScript','qKvao','wpZnw','oVnbA','188RxXjoc','ikPFW','411707ujopol','./performance/constants','aWMvo','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','aiHeal_isAuthenticated','APGJP','AcWMN','silly','../bin/utils/constants','aiHeal:setToken','hIcJO','getGlobal','cpSkc','Successfully\x20healed\x20command\x20using\x20new\x20','HQIyT','cxnDg','kmuVD','find',';\x20Trying\x20to\x20heal','NUDGE_LOCAL_ERRORS','WHSgh','fFMMh','MEONK','358442NzwjVz','toString','tzXhN','ysMyF','name_','dmird','findElement\x20command\x20failed\x20with\x20','xrdzR','command','12EtCrYp','OILQo','hIdJN','1999150xSlqps','args','request','iPUFf','jPmow','parameters_','kRuAG','./logger','name','measureWrapper','UbWyd','HvGHv','parameters','jHkZJ','Error\x20in\x20handling\x20TCG\x20Auth:\x20','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','crkSk','info','execute','Rhpfz','IwShV','aiHeal_isHealingEnabled','url','POST_EXECUTE','get','./performance/performance-tester','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','bZTvi','bstack:options','initExecute','includes','202476lCwpse','pImTj','script','yWbcd','GkUUq','debug'];a111_0x1764=function(){return _0x42a6aa;};return a111_0x1764();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a112_0x221ecb=a112_0xf230;function a112_0x1cc5(){const _0x14ad98=['catch','cPcCO','true','./performance/performance-tester','takeScreenshot','30220Eqxdrb','end','TAKE_SCREENSHOT','overrideQuit','ZeqAK','7Xfvndg','4ZihPjT','patchQuit','2286RTSTkr','3770937DOBFZc','4060610nSjPsI','then','bs:addLog:','quitCount_','overrideTakeScreenshot','1531184McrlRG','uCSij','KgCEY','xXLoz','env','pSnBx','828823DmCbeX','toISOString','quit','initScreenshot','O11y_EVENTS','BS_TESTOPS_ALLOW_SCREENSHOTS','8882052HNBHyv','FEFuK','emit','initQuit','pid','KEeVK','patchScreenshot','9672416KxOcGM'];a112_0x1cc5=function(){return _0x14ad98;};return a112_0x1cc5();}(function(_0x40bebf,_0x3db349){const _0xf1bda4=a112_0xf230,_0x5ef88c=_0x40bebf();while(!![]){try{const _0x346ca7=-parseInt(_0xf1bda4(0xb9))/0x1+parseInt(_0xf1bda4(0xb3))/0x2+parseInt(_0xf1bda4(0xad))/0x3*(parseInt(_0xf1bda4(0xaa))/0x4)+-parseInt(_0xf1bda4(0xae))/0x5+-parseInt(_0xf1bda4(0xbf))/0x6+-parseInt(_0xf1bda4(0xa9))/0x7*(-parseInt(_0xf1bda4(0x9e))/0x8)+parseInt(_0xf1bda4(0xac))/0x9*(parseInt(_0xf1bda4(0xa4))/0xa);if(_0x346ca7===_0x3db349)break;else _0x5ef88c['push'](_0x5ef88c['shift']());}catch(_0x10b5cb){_0x5ef88c['push'](_0x5ef88c['shift']());}}}(a112_0x1cc5,0xd6564));function a112_0xf230(_0x553e8f,_0x49f74e){const _0x1cc584=a112_0x1cc5();return a112_0xf230=function(_0xf23062,_0x5b94a0){_0xf23062=_0xf23062-0x9b;let _0x3e4d21=_0x1cc584[_0xf23062];return _0x3e4d21;},a112_0xf230(_0x553e8f,_0x49f74e);}const PerformanceTester=require(a112_0x221ecb(0xa2)),O11yEvents=require('./performance/constants')[a112_0x221ecb(0xbd)];exports[a112_0x221ecb(0xb2)]=_0x231ca3=>{const _0x4c883c=a112_0x221ecb,_0x17879a={'xXLoz':'TEST_SCREENSHOT','KgCEY':function(_0x2eee43,_0x479f89){return _0x2eee43(_0x479f89);},'cPcCO':function(_0x5d0cc2,_0x2a5174){return _0x5d0cc2!==_0x2a5174;},'DXtqo':_0x4c883c(0xa1)};if(_0x17879a[_0x4c883c(0xa0)](process[_0x4c883c(0xb7)][_0x4c883c(0xbe)],_0x17879a['DXtqo']))return;if(_0x231ca3[_0x4c883c(0x9d)])return;_0x231ca3[_0x4c883c(0x9d)]=!![],_0x231ca3[_0x4c883c(0xbc)]=_0x231ca3[_0x4c883c(0xa3)],_0x231ca3[_0x4c883c(0xa3)]=()=>{const _0xe71769=_0x4c883c,_0x18bd95={'FEFuK':_0x17879a[_0xe71769(0xb6)],'pSnBx':function(_0x380c3a,_0x1f266a){const _0x5d51f9=_0xe71769;return _0x17879a[_0x5d51f9(0xb5)](_0x380c3a,_0x1f266a);}};return new Promise(function(_0x49cee3,_0x50ab12){const _0x1c82b0=_0xe71769,_0x18a0b7={'KEeVK':function(_0x21f8ae,_0x14fd17){return _0x18bd95['pSnBx'](_0x21f8ae,_0x14fd17);}};_0x231ca3['initScreenshot']()[_0x1c82b0(0xaf)](_0x4c1f04=>{const _0x4512d5=_0x1c82b0;PerformanceTester['start'](O11yEvents[_0x4512d5(0xa6)]),process[_0x4512d5(0xc1)](_0x4512d5(0xb0)+process[_0x4512d5(0x9b)],{'timestamp':new Date()[_0x4512d5(0xba)](),'message':_0x4c1f04,'kind':_0x18bd95[_0x4512d5(0xc0)]}),_0x18bd95[_0x4512d5(0xb8)](_0x49cee3,_0x4c1f04),PerformanceTester[_0x4512d5(0xa5)](O11yEvents[_0x4512d5(0xa6)]);})[_0x1c82b0(0x9f)](_0x435af2=>{const _0x2afea2=_0x1c82b0;PerformanceTester[_0x2afea2(0xa5)](O11yEvents[_0x2afea2(0xa6)]),_0x18a0b7[_0x2afea2(0x9c)](_0x50ab12,_0x435af2);});});};},exports[a112_0x221ecb(0xa7)]=(_0x4c7f40,_0x13f392=null)=>{const _0x868e6=a112_0x221ecb,_0x22e425={'uCSij':function(_0x12ba96){return _0x12ba96();},'ZeqAK':function(_0x2a3239,_0x19749d){return _0x2a3239>_0x19749d;}};if(_0x4c7f40[_0x868e6(0xab)])return;_0x4c7f40[_0x868e6(0xab)]=!![],_0x4c7f40[_0x868e6(0xc2)]=_0x4c7f40[_0x868e6(0xbb)],_0x4c7f40['quit']=()=>{const _0xe0996f=_0x868e6;if(_0x13f392){_0x13f392[_0xe0996f(0xb1)]+=0x1;if(_0x22e425[_0xe0996f(0xa8)](_0x13f392[_0xe0996f(0xb1)],0x1))return _0x4c7f40['initQuit']();}else{_0x4c7f40[_0xe0996f(0xb1)]+=0x1;if(_0x22e425[_0xe0996f(0xa8)](_0x4c7f40[_0xe0996f(0xb1)],0x1))return _0x4c7f40['initQuit']();}return new Promise(function(_0x5a12d2){const _0x5230e3=_0xe0996f;_0x22e425[_0x5230e3(0xb4)](_0x5a12d2);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113_0x40a057=a113_0x4d8b;function a113_0x461f(){const _0x55e647=['../logger','percy/healthcheck','244GGZSQq','DOWNLOAD','vTXoS','../../helpers/performance/constants','cmQxr','api/app_percy/get_project_token?name=','createPercyConfig','assign','stdout','hbulz','Percy\x20config\x20created\x20at\x20','ENV_VAR','child_process','debug','fetchPercyToken','BROWSERSTACK_TESTHUB_UUID','Percy\x20healthcheck\x20successful','data','Mtgwa','CBeHG','7FBKRJb','../../helpers/testhub/constants','createWriteStream','673792QCjVRz','projectName','qJTPz','PDPJV','PERCY_SERVER_ADDRESS','Percy\x20fetch\x20token\x20success','app:exec','flags','mCawj','stderr','ODMUJ','4394916NCxmBR','winstonLogger','version','dbOsv','&type=','nodeRequest','lPJtz','env','exec','AjCaU','27CqhqNZ','percyOptions','isProcessRunning','exec:stop','3fEeXZQ','MqcIO','../helper','error','healthcheck','5531152ubzBQV','XzvKQ','end','wLSRP','5615872zrPiXI','stop','ilEgQ','join','app','ZYeJl','pipe','start','percy.log','close','writeFile','../../helpers/performance/performance-tester','115078akeQKR','2202400JRkkXo','ttPNS',':start','12415PMsRWv'];a113_0x461f=function(){return _0x55e647;};return a113_0x461f();}(function(_0x30622e,_0x17eab0){const _0x379642=a113_0x4d8b,_0x3ece08=_0x30622e();while(!![]){try{const _0x1dc8b1=-parseInt(_0x379642(0xe7))/0x1+-parseInt(_0x379642(0xc9))/0x2*(-parseInt(_0x379642(0xb4))/0x3)+-parseInt(_0x379642(0xd0))/0x4*(parseInt(_0x379642(0xcd))/0x5)+parseInt(_0x379642(0xf2))/0x6+parseInt(_0x379642(0xe4))/0x7*(-parseInt(_0x379642(0xbd))/0x8)+parseInt(_0x379642(0xb0))/0x9*(parseInt(_0x379642(0xca))/0xa)+parseInt(_0x379642(0xb9))/0xb;if(_0x1dc8b1===_0x17eab0)break;else _0x3ece08['push'](_0x3ece08['shift']());}catch(_0x524c08){_0x3ece08['push'](_0x3ece08['shift']());}}}(a113_0x461f,0x68162));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a113_0x40a057(0xdc)),helper=require(a113_0x40a057(0xb6)),logger=require(a113_0x40a057(0xce))[a113_0x40a057(0xf3)],{getLogDir}=require(a113_0x40a057(0xce)),testHubConstants=require(a113_0x40a057(0xe5)),PerformanceTester=require(a113_0x40a057(0xc8)),{PERCY_EVENTS:PerformanceEvents}=require(a113_0x40a057(0xd3)),PercyBinary=require('./PercyBinary');function a113_0x4d8b(_0x56114c,_0x4b1529){const _0x461f47=a113_0x461f();return a113_0x4d8b=function(_0x4d8b9b,_0x5d5c3d){_0x4d8b9b=_0x4d8b9b-0xad;let _0xc14764=_0x461f47[_0x4d8b9b];return _0xc14764;},a113_0x4d8b(_0x56114c,_0x4b1529);}class Percy{#logfile=path['join'](getLogDir(),a113_0x40a057(0xc5));#address=process[a113_0x40a057(0xad)][a113_0x40a057(0xeb)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a113_0x40a057(0xb2)]=![];constructor(_0xe3437c){const _0x550035=a113_0x40a057;this.#config=_0xe3437c,!!_0xe3437c[_0x550035(0xc1)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x43c561=a113_0x40a057;if(!this.#binaryPath){const _0x27bb5a=new PercyBinary();PerformanceTester[_0x43c561(0xc4)](PerformanceEvents[_0x43c561(0xd1)]),this.#binaryPath=await _0x27bb5a['getBinaryPath'](this.#config),PerformanceTester[_0x43c561(0xbb)](PerformanceEvents[_0x43c561(0xd1)]);}return this.#binaryPath;}async #sleep(_0x4387e7){return new Promise(_0x1c577c=>setTimeout(_0x1c577c,_0x4387e7));}async[a113_0x40a057(0xb8)](){const _0x2ac35c=a113_0x40a057,_0x39b120={};_0x39b120[_0x2ac35c(0xef)]='GET',_0x39b120[_0x2ac35c(0xd2)]=_0x2ac35c(0xcf);const _0x79a062=_0x39b120;try{const _0x1f8606=await helper[_0x2ac35c(0xf7)](_0x79a062[_0x2ac35c(0xef)],_0x79a062[_0x2ac35c(0xd2)],null,null,this.#address);if(_0x1f8606)return!![];}catch(_0x3ba8c9){return![];}}async['start'](){const _0x51443f=a113_0x40a057,_0x202885={'wLSRP':_0x51443f(0xed),'ilEgQ':_0x51443f(0xae),'AjCaU':function(_0x2849bc,_0x101afc,_0x44f973,_0x1431a5){return _0x2849bc(_0x101afc,_0x44f973,_0x1431a5);},'ttPNS':_0x51443f(0xc6),'dbOsv':_0x51443f(0xe0)},_0x17fb51=await this.#getBinaryPath(),_0x1fa183={};_0x1fa183[_0x51443f(0xee)]='a',this.#logStream=fs[_0x51443f(0xe6)](this.#logfile,_0x1fa183);const _0x3ecadc=await this[_0x51443f(0xde)](),_0x2098bf=await this[_0x51443f(0xd6)]();if(!_0x3ecadc)return![];const _0x5c4b81=[(this.#isApp?_0x202885[_0x51443f(0xbc)]:_0x202885[_0x51443f(0xbf)])+_0x51443f(0xcc)];_0x2098bf&&_0x5c4b81['push']('-c',_0x2098bf);this.#proc=_0x202885[_0x51443f(0xaf)](spawn,_0x17fb51,_0x5c4b81,{'env':Object[_0x51443f(0xd7)](process['env'],{'PERCY_TOKEN':_0x3ecadc,'TH_BUILD_UUID':process['env'][testHubConstants[_0x51443f(0xdb)][_0x51443f(0xdf)]]})}),this.#proc[_0x51443f(0xd8)][_0x51443f(0xc3)](this.#logStream),this.#proc[_0x51443f(0xf0)][_0x51443f(0xc3)](this.#logStream),this[_0x51443f(0xb2)]=!![];var _0x39acc1=this;this.#proc['on'](_0x202885[_0x51443f(0xcb)],function(_0x571364){_0x39acc1['isProcessRunning']=![];});do{const _0x311c9d=await this['healthcheck']();if(_0x311c9d)return logger[_0x51443f(0xdd)](_0x202885[_0x51443f(0xf5)]),!![];await this.#sleep(0x3e8);}while(this[_0x51443f(0xb2)]);return![];}async[a113_0x40a057(0xbe)](){const _0x238965=a113_0x40a057,_0x26bcdb={'jiANq':function(_0x4631c1,_0x2536f5){return _0x4631c1(_0x2536f5);},'cmQxr':function(_0x1bc80f,_0x2b91e2,_0x3ab348){return _0x1bc80f(_0x2b91e2,_0x3ab348);},'PPBHh':_0x238965(0xb3),'qJTPz':_0x238965(0xc6)},_0x5a5668=await this.#getBinaryPath();return new Promise((_0x430c0b,_0x145862)=>{const _0x19ac9e=_0x238965,_0x213c08=_0x26bcdb[_0x19ac9e(0xd4)](spawn,_0x5a5668,[_0x26bcdb['PPBHh']]);_0x213c08['on'](_0x26bcdb[_0x19ac9e(0xe9)],_0xa2c774=>{const _0x16ed74=_0x19ac9e;this[_0x16ed74(0xb2)]=![],this.#logStream&&(this.#logStream['end'](),this.#logStream=null),_0x26bcdb['jiANq'](_0x430c0b,_0xa2c774);});});}['isRunning'](){const _0x210c7e=a113_0x40a057;return this[_0x210c7e(0xb2)];}async['fetchPercyToken'](){const _0x686335=a113_0x40a057,_0x22b7ed={};_0x22b7ed[_0x686335(0xb5)]=_0x686335(0xc1),_0x22b7ed[_0x686335(0xba)]='automate',_0x22b7ed['xuvKq']='GET',_0x22b7ed[_0x686335(0xf8)]=_0x686335(0xec);const _0x502661=_0x22b7ed,_0x5f32d7=this.#config[_0x686335(0xe8)];try{const _0x33aafb=this.#isApp?_0x502661['MqcIO']:_0x502661[_0x686335(0xba)],_0x5b801d=await helper[_0x686335(0xf7)](_0x502661['xuvKq'],_0x686335(0xd5)+_0x5f32d7+_0x686335(0xf6)+_0x33aafb,{},this.#config),_0x586d42=_0x5b801d[_0x686335(0xe1)];return logger['debug'](_0x502661[_0x686335(0xf8)]),_0x586d42['token'];}catch(_0x3e7174){return logger[_0x686335(0xb7)]('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x3e7174),null;}}async['createPercyConfig'](){const _0x49455e=a113_0x40a057,_0x5f5d6c={'hbulz':function(_0x20dc44,_0x334f2d){return _0x20dc44(_0x334f2d);},'Mtgwa':function(_0xf33401,_0x160c23){return _0xf33401+_0x160c23;},'ODMUJ':_0x49455e(0xda),'ZYeJl':'percy.json'};if(!this.#config[_0x49455e(0xb1)])return null;const _0x3a440d=path[_0x49455e(0xc0)](os['tmpdir'](),_0x5f5d6c[_0x49455e(0xc2)]),_0x3a6d06=this.#config[_0x49455e(0xb1)];return!_0x3a6d06['version']&&(_0x3a6d06[_0x49455e(0xf4)]='2'),new Promise((_0x495ea3,_0x54c3b7)=>{const _0x28d879=_0x49455e,_0x40ec4f={'CBeHG':function(_0x36d4f9,_0x2fb264){const _0x4d0b96=a113_0x4d8b;return _0x5f5d6c[_0x4d0b96(0xd9)](_0x36d4f9,_0x2fb264);},'PDPJV':function(_0x5edb7a,_0x1d4360){const _0x28c121=a113_0x4d8b;return _0x5f5d6c[_0x28c121(0xe2)](_0x5edb7a,_0x1d4360);},'nSYBn':_0x5f5d6c[_0x28d879(0xf1)]};fs[_0x28d879(0xc7)](_0x3a440d,JSON['stringify'](_0x3a6d06),_0x3caf5c=>{const _0x335efd=_0x28d879;_0x3caf5c&&(logger[_0x335efd(0xb7)]('Error\x20creating\x20percy\x20config:\x20'+_0x3caf5c),_0x40ec4f[_0x335efd(0xe3)](_0x495ea3,null)),logger[_0x335efd(0xdd)](_0x40ec4f[_0x335efd(0xea)](_0x40ec4f['nSYBn'],_0x3a440d)),_0x40ec4f[_0x335efd(0xe3)](_0x495ea3,_0x3a440d);});});}}module['exports']=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a114_0x13402f=a114_0x5970;function a114_0x5970(_0x4ed2f2,_0xdf1f4c){const _0x50f2af=a114_0x50f2();return a114_0x5970=function(_0x5970b6,_0x17a064){_0x5970b6=_0x5970b6-0x1cb;let _0x5c2bf4=_0x50f2af[_0x5970b6];return _0x5c2bf4;},a114_0x5970(_0x4ed2f2,_0xdf1f4c);}(function(_0x1a99e4,_0x5a9195){const _0x1c5d9a=a114_0x5970,_0x1530b7=_0x1a99e4();while(!![]){try{const _0x1c840f=parseInt(_0x1c5d9a(0x25c))/0x1*(-parseInt(_0x1c5d9a(0x1e6))/0x2)+parseInt(_0x1c5d9a(0x223))/0x3*(-parseInt(_0x1c5d9a(0x1d0))/0x4)+parseInt(_0x1c5d9a(0x1e2))/0x5*(-parseInt(_0x1c5d9a(0x1f4))/0x6)+parseInt(_0x1c5d9a(0x210))/0x7*(parseInt(_0x1c5d9a(0x1d5))/0x8)+-parseInt(_0x1c5d9a(0x21b))/0x9+parseInt(_0x1c5d9a(0x1ed))/0xa*(parseInt(_0x1c5d9a(0x242))/0xb)+parseInt(_0x1c5d9a(0x25a))/0xc;if(_0x1c840f===_0x5a9195)break;else _0x1530b7['push'](_0x1530b7['shift']());}catch(_0x288a00){_0x1530b7['push'](_0x1530b7['shift']());}}}(a114_0x50f2,0x85d9a));const {https}=require(a114_0x13402f(0x1f1)),url=require(a114_0x13402f(0x250)),yauzl=require('yauzl'),fs=require('fs'),path=require(a114_0x13402f(0x1ec)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a114_0x13402f(0x203)),logger=require('../logger')[a114_0x13402f(0x22f)];class PercyBinary{#hostOS=process[a114_0x13402f(0x211)];#httpPath=null;#binaryName='percy';#orderedPaths=[path[a114_0x13402f(0x1cb)](this.#homedir(),'.browserstack'),process[a114_0x13402f(0x222)](),os[a114_0x13402f(0x1f3)]()];constructor(){const _0x8d0ac=a114_0x13402f,_0x952ef={};_0x952ef[_0x8d0ac(0x244)]=_0x8d0ac(0x20e),_0x952ef[_0x8d0ac(0x224)]=function(_0x5a42a0,_0x4c772d){return _0x5a42a0+_0x4c772d;},_0x952ef[_0x8d0ac(0x24f)]=_0x8d0ac(0x254),_0x952ef[_0x8d0ac(0x247)]=function(_0x308506,_0xd9c849){return _0x308506+_0xd9c849;},_0x952ef[_0x8d0ac(0x22c)]=_0x8d0ac(0x246),_0x952ef[_0x8d0ac(0x206)]='percy.exe',_0x952ef[_0x8d0ac(0x1e3)]=function(_0x4b63e6,_0x1814b8){return _0x4b63e6+_0x1814b8;},_0x952ef[_0x8d0ac(0x1d8)]=_0x8d0ac(0x1f0);const _0x2b53eb=_0x952ef,_0x2e5ac6=_0x2b53eb[_0x8d0ac(0x244)];if(this.#hostOS[_0x8d0ac(0x24e)](/darwin|mac os/i))this.#httpPath=_0x2b53eb[_0x8d0ac(0x224)](_0x2e5ac6,_0x2b53eb[_0x8d0ac(0x24f)]);else this.#hostOS[_0x8d0ac(0x24e)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x2b53eb['GhYnK'](_0x2e5ac6,_0x2b53eb['uxhOD']),this.#binaryName=_0x2b53eb[_0x8d0ac(0x206)]):this.#httpPath=_0x2b53eb[_0x8d0ac(0x1e3)](_0x2e5ac6,_0x2b53eb[_0x8d0ac(0x1d8)]);}#getAvailableDirs(){const _0xb33e71=a114_0x13402f,_0xa7f91f={};_0xa7f91f[_0xb33e71(0x20b)]=function(_0x99793a,_0x34c692){return _0x99793a<_0x34c692;},_0xa7f91f[_0xb33e71(0x220)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x1edaf9=_0xa7f91f;for(var _0x424288=0x0;_0x1edaf9[_0xb33e71(0x20b)](_0x424288,this.#orderedPaths[_0xb33e71(0x225)]);_0x424288++){var _0x1bfa54=this.#orderedPaths[_0x424288];if(this.#makePath(_0x1bfa54))return _0x1bfa54;}throw new Error(_0x1edaf9[_0xb33e71(0x220)]);}#makePath(_0x4e8bfa){try{return _0x4e8bfa&&!this.#checkPath(_0x4e8bfa)&&fs['mkdirSync'](_0x4e8bfa),!![];}catch{return![];}}#checkPath(_0x4801b6,_0x4cf865){const _0x594d35=a114_0x13402f,_0x493ad2={};_0x493ad2[_0x594d35(0x24d)]=function(_0x43e3d9,_0x15ec78){return _0x43e3d9|_0x15ec78;},_0x493ad2[_0x594d35(0x218)]=function(_0x41f5fc,_0x4103d0){return _0x41f5fc!==_0x4103d0;},_0x493ad2[_0x594d35(0x260)]='undefined';const _0x283a91=_0x493ad2;_0x4cf865=_0x4cf865||_0x283a91['iTcyp'](fs[_0x594d35(0x236)],fs[_0x594d35(0x1f6)]);try{return fs[_0x594d35(0x1d1)](_0x4801b6,_0x4cf865),!![];}catch(_0x33f4e6){if(_0x283a91['CuTaP'](typeof fs['accessSync'],_0x283a91[_0x594d35(0x260)]))return![];try{return fs[_0x594d35(0x23f)](_0x4801b6),!![];}catch(_0x480305){return![];}}}#getETagPath(_0x18c024){const _0x590b30=a114_0x13402f;return path[_0x590b30(0x1cb)](_0x18c024,this.#binaryName+_0x590b30(0x1d4));}#loadETag(_0x25b750){const _0x11235e=a114_0x13402f,_0x48b9b6={};_0x48b9b6[_0x11235e(0x233)]=_0x11235e(0x1ff);const _0x4d121e=_0x48b9b6,_0x781caa=this.#getETagPath(_0x25b750);if(this.#checkPath(_0x781caa))try{return fs[_0x11235e(0x1eb)](_0x781caa,_0x4d121e[_0x11235e(0x233)])['trim']();}catch(_0x54019f){logger['warn'](_0x11235e(0x235)+_0x54019f);}return null;}#saveETag(_0x52e302,_0x2fff2e){const _0x459220=a114_0x13402f,_0x5ad61e={};_0x5ad61e[_0x459220(0x23d)]=_0x459220(0x1cd);const _0x1b399d=_0x5ad61e;if(!_0x2fff2e)return;try{const _0x19eb8e=this.#getETagPath(_0x52e302);fs[_0x459220(0x21c)](_0x19eb8e,_0x2fff2e),logger[_0x459220(0x1dc)](_0x1b399d[_0x459220(0x23d)]);}catch(_0x44c9e3){logger[_0x459220(0x252)](_0x459220(0x1f8)+_0x44c9e3);}}async #handleBinaryDownload(_0x272897,_0x41d00e,_0x8eed3b){const _0xfc7ecf=a114_0x13402f,_0x596731={};_0x596731[_0xfc7ecf(0x1ce)]=_0xfc7ecf(0x241);const _0x11011c=_0x596731,_0x15f663=await this['validateBinary'](_0x272897[_0xfc7ecf(0x1e0)]);if(!_0x15f663){logger[_0xfc7ecf(0x20d)](_0x11011c[_0xfc7ecf(0x1ce)]);const _0x4edcea=await this[_0xfc7ecf(0x215)](_0x41d00e,_0x8eed3b);return _0x4edcea['binaryPath'];}return _0x272897[_0xfc7ecf(0x1e0)];}async[a114_0x13402f(0x202)](_0x108aec){const _0x28ec09=a114_0x13402f,_0x326a9b={};_0x326a9b[_0x28ec09(0x229)]=_0x28ec09(0x261),_0x326a9b[_0x28ec09(0x232)]=_0x28ec09(0x231);const _0x534cbd=_0x326a9b,_0x502811=this.#getAvailableDirs(),_0x976a7e=path[_0x28ec09(0x1cb)](_0x502811,this.#binaryName);if(this.#checkPath(_0x976a7e,fs[_0x28ec09(0x24b)])){const _0x332cb6=this.#loadETag(_0x502811);if(_0x332cb6)try{const _0x23b25e=await this['download'](_0x108aec,_0x502811,_0x332cb6);if(!_0x23b25e['needsUpdate'])return logger[_0x28ec09(0x1dc)](_0x534cbd[_0x28ec09(0x229)]),_0x976a7e;return logger['debug'](_0x534cbd[_0x28ec09(0x232)]),await this.#handleBinaryDownload(_0x23b25e,_0x108aec,_0x502811);}catch(_0xa2b29){return logger['warn'](_0x28ec09(0x25d)+_0xa2b29),_0x976a7e;}}const _0x5edcf9=await this[_0x28ec09(0x215)](_0x108aec,_0x502811);return await this.#handleBinaryDownload(_0x5edcf9,_0x108aec,_0x502811);}[a114_0x13402f(0x215)](_0x43a5bf,_0x5e7b0d,_0x4d21f6=null){const _0x5adcd8=a114_0x13402f,_0x2194b4={'hnMVO':function(_0x104701,_0x446ed9){return _0x104701(_0x446ed9);},'DfCJo':function(_0x43b6c5,_0x5c29ff){return _0x43b6c5===_0x5c29ff;},'yhpvf':_0x5adcd8(0x20d),'ddEue':'close','JdeOh':function(_0x418842,_0x4d20cc){return _0x418842+_0x4d20cc;},'vrJgZ':_0x5adcd8(0x221)};_0x5e7b0d&&!this.#checkPath(_0x5e7b0d)&&fs['mkdirSync'](_0x5e7b0d);const _0x5d058e=this.#binaryName,_0x2363b3=path[_0x5adcd8(0x1cb)](_0x5e7b0d,_0x2194b4[_0x5adcd8(0x217)](_0x5d058e,_0x2194b4['vrJgZ'])),_0x1e5f9b=fs[_0x5adcd8(0x1e8)](_0x2363b3),_0x4c7e04=url[_0x5adcd8(0x243)](this.#httpPath);if(_0x43a5bf[_0x5adcd8(0x1e7)]&&_0x43a5bf[_0x5adcd8(0x214)]){const _0x22d131={};_0x22d131['host']=_0x43a5bf[_0x5adcd8(0x1e7)],_0x22d131['port']=_0x43a5bf[_0x5adcd8(0x214)],_0x4c7e04['agent']=new HttpsProxyAgent(_0x22d131);}if(_0x43a5bf[_0x5adcd8(0x22b)])try{_0x4c7e04['ca']=fs[_0x5adcd8(0x1eb)](_0x43a5bf[_0x5adcd8(0x22b)]);}catch(_0x1f146a){logger[_0x5adcd8(0x20d)](_0x5adcd8(0x208)+_0x1f146a);}if(_0x4d21f6){const _0x90038d={};_0x90038d[_0x5adcd8(0x1d9)]=_0x4d21f6,_0x90038d[_0x5adcd8(0x245)]=_0x2194b4[_0x5adcd8(0x21f)],_0x4c7e04['headers']=_0x90038d;}else{const _0x2cd5d2={};_0x2cd5d2['Connection']=_0x2194b4[_0x5adcd8(0x21f)],_0x4c7e04[_0x5adcd8(0x1cc)]=_0x2cd5d2;}return new Promise((_0x74bc36,_0xf1770c)=>{const _0x53df4b=_0x5adcd8,_0x5f3489={'lNoWi':function(_0x1db981,_0x120b48){return _0x2194b4['hnMVO'](_0x1db981,_0x120b48);},'FnuoD':function(_0x5c0c3f,_0x3cc20e){const _0x1b18c1=a114_0x5970;return _0x2194b4[_0x1b18c1(0x1cf)](_0x5c0c3f,_0x3cc20e);},'TaTJN':function(_0x57b614,_0x59db54){const _0xab31cf=a114_0x5970;return _0x2194b4[_0xab31cf(0x1e5)](_0x57b614,_0x59db54);},'ixzPZ':_0x2194b4['yhpvf'],'aHwMm':_0x2194b4[_0x53df4b(0x21f)]};https[_0x53df4b(0x1fc)](_0x4c7e04,_0x4c27a2=>{const _0x4efd85=_0x53df4b,_0x4a144f={'eBIZk':function(_0x44cf9d,_0x467e0f){const _0x9275e=a114_0x5970;return _0x5f3489[_0x9275e(0x1db)](_0x44cf9d,_0x467e0f);}};if(_0x4d21f6&&_0x5f3489[_0x4efd85(0x219)](_0x4c27a2[_0x4efd85(0x204)],0x130)){_0x1e5f9b[_0x4efd85(0x201)]();const _0x526e9c={};_0x526e9c[_0x4efd85(0x1ef)]=![],_0x5f3489[_0x4efd85(0x1db)](_0x74bc36,_0x526e9c);return;}const _0x5340e4=_0x4c27a2['headers']['etag'];_0x5340e4&&this.#saveETag(_0x5e7b0d,_0x5340e4),_0x4c27a2[_0x4efd85(0x22d)](_0x1e5f9b),_0x4c27a2['on'](_0x5f3489[_0x4efd85(0x25e)],function(_0x33e79a){const _0x1b4d75=_0x4efd85;logger[_0x1b4d75(0x20d)]('Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20'+_0x33e79a),_0x4a144f['eBIZk'](_0xf1770c,_0x33e79a);}),_0x1e5f9b['on'](_0x5f3489[_0x4efd85(0x25e)],function(_0x201faf){const _0xdea1b2=_0x4efd85;logger[_0xdea1b2(0x20d)](_0xdea1b2(0x234)+_0x201faf),_0x5f3489[_0xdea1b2(0x258)](_0xf1770c,_0x201faf);}),_0x1e5f9b['on'](_0x5f3489['aHwMm'],()=>{const _0x55e915=_0x4efd85;this[_0x55e915(0x21d)](_0x2363b3,_0x5e7b0d)[_0x55e915(0x212)](_0x2a5ae1=>_0x74bc36({'needsUpdate':!![],'binaryPath':_0x2a5ae1}))['catch'](_0xf1770c);});})['on'](_0x2194b4['yhpvf'],function(_0x442df4){const _0x190ac2=_0x53df4b;logger[_0x190ac2(0x20d)](_0x190ac2(0x1fd)+_0x442df4),_0x2194b4[_0x190ac2(0x1cf)](_0xf1770c,_0x442df4);});});}[a114_0x13402f(0x21d)](_0x1f0549,_0x126d39){const _0x27fc79=a114_0x13402f,_0xb6eada={'UVJaa':function(_0x219b1a,_0x2bf873){return _0x219b1a(_0x2bf873);},'Spcos':_0x27fc79(0x1f7),'UsiVi':_0x27fc79(0x209),'cfwap':_0x27fc79(0x23c),'dvoUO':'error','NsXul':function(_0x144482,_0x11c738){return _0x144482===_0x11c738;}},_0x189a4b=this.#binaryName,_0x300d85=path[_0x27fc79(0x1cb)](_0x126d39,_0x189a4b);return new Promise((_0x1a613e,_0x34f858)=>{const _0x28b12e=_0x27fc79,_0x18a5ad={'AzYNl':function(_0x2c26dc,_0x532302){return _0xb6eada['NsXul'](_0x2c26dc,_0x532302);}},_0x210c8f={};_0x210c8f[_0x28b12e(0x259)]=!![],yauzl[_0x28b12e(0x1ea)](_0x1f0549,_0x210c8f,function(_0x284734,_0x3b27d7){const _0x504142=_0x28b12e,_0x4e37e9={'kOufr':function(_0x52bfca,_0x4b3819){const _0x11ebb5=a114_0x5970;return _0xb6eada[_0x11ebb5(0x226)](_0x52bfca,_0x4b3819);},'VaIpe':_0xb6eada['Spcos'],'bzcaG':function(_0xb1c27b,_0x246248){const _0x347407=a114_0x5970;return _0xb6eada[_0x347407(0x226)](_0xb1c27b,_0x246248);},'vdnBW':_0xb6eada[_0x504142(0x25f)]};_0x284734&&_0xb6eada[_0x504142(0x226)](_0x34f858,_0x284734),_0x3b27d7['readEntry'](),_0x3b27d7['on'](_0xb6eada[_0x504142(0x227)],_0x3e376c=>{const _0x352b9c=_0x504142;if(/\/$/[_0x352b9c(0x20f)](_0x3e376c[_0x352b9c(0x1d3)]))_0x3b27d7[_0x352b9c(0x253)]();else{const _0xa2d1a4=fs[_0x352b9c(0x1e8)](path[_0x352b9c(0x1cb)](_0x126d39,_0x3e376c[_0x352b9c(0x1d3)]));_0x3b27d7[_0x352b9c(0x21a)](_0x3e376c,function(_0x2be29f,_0x497c2e){const _0xb0ecb1=_0x352b9c;_0x2be29f&&_0x4e37e9[_0xb0ecb1(0x1fb)](_0x34f858,_0x284734),_0x497c2e['on'](_0x4e37e9[_0xb0ecb1(0x249)],function(){const _0x3faf8e=_0xb0ecb1;_0xa2d1a4['close'](),_0x3b27d7[_0x3faf8e(0x253)]();}),_0x497c2e[_0xb0ecb1(0x22d)](_0xa2d1a4);}),_0x18a5ad[_0x352b9c(0x239)](_0x3e376c[_0x352b9c(0x1d3)],_0x189a4b)&&_0x3b27d7[_0x352b9c(0x1dd)]();}}),_0x3b27d7['on'](_0xb6eada[_0x504142(0x21e)],_0x26273a=>{const _0xdcf037=_0x504142;_0x4e37e9[_0xdcf037(0x1fb)](_0x34f858,_0x26273a);}),_0x3b27d7['once'](_0xb6eada[_0x504142(0x1e9)],()=>{const _0x11fa43=_0x504142;fs[_0x11fa43(0x22a)](_0x300d85,_0x4e37e9[_0x11fa43(0x248)],function(_0x37f430){const _0xffaac8=_0x11fa43;_0x37f430&&_0x4e37e9[_0xffaac8(0x1fb)](_0x34f858,_0x37f430),_0x4e37e9[_0xffaac8(0x24c)](_0x1a613e,_0x300d85);}),_0x3b27d7[_0x11fa43(0x1dd)]();});});});}async['validateBinary'](_0x145663){const _0x2777f2=a114_0x13402f,_0x262e3c={'wcnIv':function(_0x3cd2ac,_0x416765){return _0x3cd2ac(_0x416765);},'gLuut':function(_0x3730ba,_0x66cd8d,_0x16916b,_0x3a7905){return _0x3730ba(_0x66cd8d,_0x16916b,_0x3a7905);},'ZAApA':'--version','ywhfe':_0x2777f2(0x1d6),'nhGFZ':_0x2777f2(0x1dd)},_0x258714=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x1513b8,_0x1b4c29)=>{const _0x39c7b1=_0x2777f2,_0x2814ca={'NUWrA':function(_0x58c332,_0x5e0045){const _0x339899=a114_0x5970;return _0x262e3c[_0x339899(0x205)](_0x58c332,_0x5e0045);}},_0x1ea4fd={};_0x1ea4fd['env']=process[_0x39c7b1(0x20a)];const _0x1f04ff=_0x262e3c[_0x39c7b1(0x23a)](spawn,_0x145663,[_0x262e3c[_0x39c7b1(0x1de)]],_0x1ea4fd);_0x1f04ff[_0x39c7b1(0x1f5)]['on'](_0x262e3c[_0x39c7b1(0x1d2)],_0x35282d=>{const _0x4358ef=_0x39c7b1;_0x258714[_0x4358ef(0x20f)](_0x35282d)&&_0x2814ca['NUWrA'](_0x1513b8,!![]);}),_0x1f04ff['on'](_0x262e3c['nhGFZ'],()=>{const _0x37fcfb=_0x39c7b1;_0x2814ca[_0x37fcfb(0x1f9)](_0x1513b8,![]);});});}#homedir(){const _0x8c3dc9=a114_0x13402f,_0x4fbfbf={};_0x4fbfbf[_0x8c3dc9(0x25b)]=function(_0x311954,_0x28aad3){return _0x311954===_0x28aad3;},_0x4fbfbf[_0x8c3dc9(0x228)]=_0x8c3dc9(0x216),_0x4fbfbf[_0x8c3dc9(0x200)]=function(_0x28e5e1,_0x28829c){return _0x28e5e1===_0x28829c;},_0x4fbfbf[_0x8c3dc9(0x207)]=_0x8c3dc9(0x240),_0x4fbfbf[_0x8c3dc9(0x1f2)]=function(_0x2feae2,_0x1d0b3c){return _0x2feae2+_0x1d0b3c;},_0x4fbfbf[_0x8c3dc9(0x1fe)]=_0x8c3dc9(0x255),_0x4fbfbf[_0x8c3dc9(0x1e4)]=function(_0x2ff971,_0x34b5a3){return _0x2ff971+_0x34b5a3;},_0x4fbfbf[_0x8c3dc9(0x1df)]=_0x8c3dc9(0x20c),_0x4fbfbf[_0x8c3dc9(0x238)]=function(_0x29178a,_0x20d195){return _0x29178a===_0x20d195;},_0x4fbfbf[_0x8c3dc9(0x1e1)]='linux',_0x4fbfbf[_0x8c3dc9(0x22e)]=function(_0x14a36e,_0xc9d1ed){return _0x14a36e===_0xc9d1ed;},_0x4fbfbf[_0x8c3dc9(0x24a)]='/root',_0x4fbfbf[_0x8c3dc9(0x1da)]='/home/',_0x4fbfbf[_0x8c3dc9(0x251)]=function(_0x22c532,_0x1ece00){return _0x22c532||_0x1ece00;};const _0x14944d=_0x4fbfbf;if(_0x14944d[_0x8c3dc9(0x25b)](typeof os[_0x8c3dc9(0x1d7)],_0x14944d[_0x8c3dc9(0x228)]))return os['homedir']();const _0x9aad07=process['env'],_0x2c4294=_0x9aad07[_0x8c3dc9(0x23b)],_0x2824e6=_0x9aad07[_0x8c3dc9(0x213)]||_0x9aad07[_0x8c3dc9(0x256)]||_0x9aad07[_0x8c3dc9(0x257)]||_0x9aad07[_0x8c3dc9(0x230)];if(_0x14944d[_0x8c3dc9(0x200)](process['platform'],_0x14944d[_0x8c3dc9(0x207)]))return _0x9aad07[_0x8c3dc9(0x1ee)]||_0x14944d[_0x8c3dc9(0x1f2)](_0x9aad07['HOMEDRIVE'],_0x9aad07[_0x8c3dc9(0x237)])||_0x2c4294||null;if(_0x14944d['hiFKV'](process[_0x8c3dc9(0x211)],_0x14944d[_0x8c3dc9(0x1fe)]))return _0x2c4294||(_0x2824e6?_0x14944d[_0x8c3dc9(0x1e4)](_0x14944d[_0x8c3dc9(0x1df)],_0x2824e6):null);if(_0x14944d[_0x8c3dc9(0x238)](process['platform'],_0x14944d[_0x8c3dc9(0x1e1)]))return _0x2c4294||(_0x14944d[_0x8c3dc9(0x22e)](process[_0x8c3dc9(0x1fa)](),0x0)?_0x14944d[_0x8c3dc9(0x24a)]:_0x2824e6?_0x14944d['ZnWNv'](_0x14944d[_0x8c3dc9(0x1da)],_0x2824e6):null);return _0x14944d[_0x8c3dc9(0x251)](_0x2c4294,null);}}module[a114_0x13402f(0x23e)]=PercyBinary;function a114_0x50f2(){const _0x1ef28f=['debug','close','ZAApA','knTRT','binaryPath','kmPPZ','10baFntk','NBRFZ','OzAKx','DfCJo','2026058NJpLsg','proxyHost','createWriteStream','Spcos','open','readFileSync','path','6176990TiNUsT','USERPROFILE','needsUpdate','/percy-linux.zip','follow-redirects','ZnWNv','tmpdir','3268068SQXvzo','stdout','W_OK','end','Failed\x20to\x20save\x20ETag\x20file:\x20','NUWrA','getuid','kOufr','get','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','CUMEu','utf8','WzYCz','destroy','getBinaryPath','https-proxy-agent','statusCode','wcnIv','BPobY','GpKlS','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','0755','env','LBFUS','/Users/','error','https://github.com/percy/cli/releases/latest/download','test','678685WOObaX','platform','then','LOGNAME','proxyPort','download','function','JdeOh','CuTaP','TaTJN','openReadStream','5429457MNhwBE','writeFileSync','extractAndSaveBinary','dvoUO','ddEue','nLico','.zip','cwd','6LmxqgE','GgeXh','length','UVJaa','cfwap','iFFLU','sMwjl','chmod','useCaCertificate','uxhOD','pipe','xgUAa','winstonLogger','USERNAME','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','MBrCf','kCoWi','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','Failed\x20to\x20read\x20ETag\x20file:\x20','R_OK','HOMEPATH','wfkNm','AzYNl','gLuut','HOME','entry','NOOmG','exports','statSync','win32','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','11JwLyEz','parse','wUFgP','Connection','/percy-win.zip','GhYnK','vdnBW','VaIpe','sNlsn','X_OK','bzcaG','iTcyp','match','bAGuv','url','txdnd','warn','readEntry','/percy-osx.zip','darwin','USER','LNAME','lNoWi','lazyEntries','22649832UZcIih','hiFKV','1AJaFGu','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','ixzPZ','UsiVi','BkBaY','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','join','headers','Saved\x20new\x20ETag\x20for\x20percy\x20binary','JDCJb','hnMVO','247744fPxZOk','accessSync','ywhfe','fileName','.etag','72sZMCve','data','homedir','LFGeg','If-None-Match','lGOfC','FnuoD'];a114_0x50f2=function(){return _0x1ef28f;};return a114_0x50f2();}
|
|
1
|
+
function a114_0x23d9(){const _0x330f94=['New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','OnlSe','162ppesUt','80062uCbJhJ','iBtvp','2LZWmDQ','OGtoj','qbbGK','headers','jbXhr','fileName','TRGLB','USERPROFILE','--version','54xIKtyC','/percy-win.zip','CFBth','bVLXP','error','XkbfJ','https-proxy-agent','KgszS','W_OK','96320qjhBpO','ODCiK','binaryPath','uVLBj','homedir','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','zoiHJ','download','nzgRQ','fpyYP','ATUIW','gYMrX','env','openReadStream','Failed\x20to\x20save\x20ETag\x20file:\x20','get','statSync','KpvaQ','KFsxm','readFileSync','SOyIW','WYzYl','iuPBa','rIpLU','test','Error\x20trying\x20to\x20download\x20percy\x20binary','LpNWS','exports','nnmZz','createWriteStream','Jjkre','YwvzP','follow-redirects','path','darwin','2069935fFceuP','length','197780IfButw','pObfq','xrsUB','stdout','gSsYY','QSGRF','host','end','extractAndSaveBinary','win32','needsUpdate','HYIuK','mkdirSync','winstonLogger','HOMEPATH','data','warn','R_OK','1669008fIersy','child_process','utf8','iPpLn','tSyTR','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','proxyHost','HOME','rTgfh','close','YxMBB','Ssrbl','EzIlf','QZyuF','Failed\x20to\x20read\x20ETag\x20file:\x20','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','destroy','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','FXWJa','kUQEn','readEntry','statusCode','LOGNAME','DRLwz','FfpRx','aIxLP','Connection','HnzKU','ppNiD','open','911574imBuAc','SlYzd','aRIhm','match','USERNAME','wvZBf','/Users/','debug','Lmixo','etag','writeFileSync','CXOhB','pipe','catch','trim','Xydoq','X_OK','CuYOV','QpnJC','HOMEDRIVE','parse','join','agent','percy','.browserstack','once','accessSync','bSNRP','TOkRI','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','percy.exe','then','USER','PEJEC','If-None-Match','yauzl','HVcVl','0755','mTZXi','vSlnK','undefined','148505iyyiIp','naOkb','platform','validateBinary'];a114_0x23d9=function(){return _0x330f94;};return a114_0x23d9();}function a114_0x1acb(_0xb224f4,_0x27a4d4){const _0x23d9c3=a114_0x23d9();return a114_0x1acb=function(_0x1acbce,_0x3356b4){_0x1acbce=_0x1acbce-0xb7;let _0x563a58=_0x23d9c3[_0x1acbce];return _0x563a58;},a114_0x1acb(_0xb224f4,_0x27a4d4);}const a114_0x4005e5=a114_0x1acb;(function(_0xa43f23,_0x15e461){const _0x4d7458=a114_0x1acb,_0x1740a8=_0xa43f23();while(!![]){try{const _0x5e5b52=-parseInt(_0x4d7458(0xe6))/0x1*(-parseInt(_0x4d7458(0xe4))/0x2)+parseInt(_0x4d7458(0x14d))/0x3+-parseInt(_0x4d7458(0x11d))/0x4+-parseInt(_0x4d7458(0xdd))/0x5*(parseInt(_0x4d7458(0xef))/0x6)+-parseInt(_0x4d7458(0x11b))/0x7+parseInt(_0x4d7458(0x12f))/0x8+-parseInt(_0x4d7458(0xe3))/0x9*(-parseInt(_0x4d7458(0xf8))/0xa);if(_0x5e5b52===_0x15e461)break;else _0x1740a8['push'](_0x1740a8['shift']());}catch(_0x25ffd9){_0x1740a8['push'](_0x1740a8['shift']());}}}(a114_0x23d9,0x25777));const {https}=require(a114_0x4005e5(0x118)),url=require('url'),yauzl=require(a114_0x4005e5(0xd7)),fs=require('fs'),path=require(a114_0x4005e5(0x119)),os=require('os'),{spawn}=require(a114_0x4005e5(0x130)),HttpsProxyAgent=require(a114_0x4005e5(0xf5)),logger=require('../logger')[a114_0x4005e5(0x12a)];class PercyBinary{#hostOS=process[a114_0x4005e5(0xdf)];#httpPath=null;#binaryName=a114_0x4005e5(0xcb);#orderedPaths=[path[a114_0x4005e5(0xc9)](this.#homedir(),a114_0x4005e5(0xcc)),process['cwd'](),os['tmpdir']()];constructor(){const _0x269b12=a114_0x4005e5,_0x1e3fcc={};_0x1e3fcc['ATUIW']='https://github.com/percy/cli/releases/latest/download',_0x1e3fcc[_0x269b12(0x10f)]=function(_0x24ec2d,_0x380ca4){return _0x24ec2d+_0x380ca4;},_0x1e3fcc[_0x269b12(0x14b)]='/percy-osx.zip',_0x1e3fcc[_0x269b12(0xf4)]=function(_0xe800e3,_0x5f0609){return _0xe800e3+_0x5f0609;},_0x1e3fcc[_0x269b12(0xe8)]=_0x269b12(0xf0),_0x1e3fcc[_0x269b12(0xec)]=_0x269b12(0xd2),_0x1e3fcc[_0x269b12(0x142)]=function(_0x268936,_0x3a444c){return _0x268936+_0x3a444c;},_0x1e3fcc[_0x269b12(0x147)]='/percy-linux.zip';const _0x1017f0=_0x1e3fcc,_0xb7ede9=_0x1017f0[_0x269b12(0x102)];if(this.#hostOS[_0x269b12(0xb7)](/darwin|mac os/i))this.#httpPath=_0x1017f0['rIpLU'](_0xb7ede9,_0x1017f0[_0x269b12(0x14b)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x1017f0[_0x269b12(0xf4)](_0xb7ede9,_0x1017f0[_0x269b12(0xe8)]),this.#binaryName=_0x1017f0[_0x269b12(0xec)]):this.#httpPath=_0x1017f0[_0x269b12(0x142)](_0xb7ede9,_0x1017f0[_0x269b12(0x147)]);}#getAvailableDirs(){const _0x3e7265=a114_0x4005e5,_0xc24362={};_0xc24362['LzqwS']=function(_0x48a4dd,_0x2e8861){return _0x48a4dd<_0x2e8861;},_0xc24362[_0x3e7265(0xd5)]=_0x3e7265(0x111);const _0x5b7d29=_0xc24362;for(var _0x3c9fc4=0x0;_0x5b7d29['LzqwS'](_0x3c9fc4,this.#orderedPaths[_0x3e7265(0x11c)]);_0x3c9fc4++){var _0x674de6=this.#orderedPaths[_0x3c9fc4];if(this.#makePath(_0x674de6))return _0x674de6;}throw new Error(_0x5b7d29[_0x3e7265(0xd5)]);}#makePath(_0x274b2b){const _0x484172=a114_0x4005e5;try{return _0x274b2b&&!this.#checkPath(_0x274b2b)&&fs[_0x484172(0x129)](_0x274b2b),!![];}catch{return![];}}#checkPath(_0x4d2b7c,_0x5311dc){const _0x269de2=a114_0x4005e5,_0x3c9a49={};_0x3c9a49[_0x269de2(0xe5)]=function(_0x393d33,_0x28cdd9){return _0x393d33|_0x28cdd9;},_0x3c9a49[_0x269de2(0xc3)]=function(_0x179f9e,_0x279dac){return _0x179f9e!==_0x279dac;},_0x3c9a49['hNHlW']=_0x269de2(0xdc);const _0x46e52a=_0x3c9a49;_0x5311dc=_0x5311dc||_0x46e52a[_0x269de2(0xe5)](fs[_0x269de2(0x12e)],fs[_0x269de2(0xf7)]);try{return fs[_0x269de2(0xce)](_0x4d2b7c,_0x5311dc),!![];}catch(_0x36115a){if(_0x46e52a[_0x269de2(0xc3)](typeof fs['accessSync'],_0x46e52a['hNHlW']))return![];try{return fs[_0x269de2(0x108)](_0x4d2b7c),!![];}catch(_0x518ea4){return![];}}}#getETagPath(_0xe611c6){return path['join'](_0xe611c6,this.#binaryName+'.etag');}#loadETag(_0x2811f1){const _0x973ae3=a114_0x4005e5,_0x594ccb={};_0x594ccb[_0x973ae3(0xf1)]=_0x973ae3(0x131);const _0x1c4ace=_0x594ccb,_0x71793f=this.#getETagPath(_0x2811f1);if(this.#checkPath(_0x71793f))try{return fs[_0x973ae3(0x10b)](_0x71793f,_0x1c4ace[_0x973ae3(0xf1)])[_0x973ae3(0xc2)]();}catch(_0x28e809){logger[_0x973ae3(0x12d)](_0x973ae3(0x13d)+_0x28e809);}return null;}#saveETag(_0x5646c0,_0x25895b){const _0x47fdb0=a114_0x4005e5,_0x25becf={};_0x25becf['xrsUB']='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x2ac579=_0x25becf;if(!_0x25895b)return;try{const _0x46303d=this.#getETagPath(_0x5646c0);fs[_0x47fdb0(0xbe)](_0x46303d,_0x25895b),logger[_0x47fdb0(0xbb)](_0x2ac579[_0x47fdb0(0x11f)]);}catch(_0x35ef2e){logger['warn'](_0x47fdb0(0x106)+_0x35ef2e);}}async #handleBinaryDownload(_0x24a293,_0x2e23c7,_0x52b35b){const _0x14b870=a114_0x4005e5,_0x10949f={};_0x10949f[_0x14b870(0xfe)]='Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying';const _0x3db754=_0x10949f,_0x4a38b8=await this[_0x14b870(0xe0)](_0x24a293[_0x14b870(0xfa)]);if(!_0x4a38b8){logger[_0x14b870(0xf3)](_0x3db754[_0x14b870(0xfe)]);const _0x46f23e=await this[_0x14b870(0xff)](_0x2e23c7,_0x52b35b);return _0x46f23e['binaryPath'];}return _0x24a293[_0x14b870(0xfa)];}async['getBinaryPath'](_0x2a862b){const _0x2b09e8=a114_0x4005e5,_0x38de89={};_0x38de89['Lmixo']=_0x2b09e8(0x140),_0x38de89['FXWJa']=_0x2b09e8(0xe1);const _0x56d590=_0x38de89,_0x3a3622=this.#getAvailableDirs(),_0x8a3f42=path[_0x2b09e8(0xc9)](_0x3a3622,this.#binaryName);if(this.#checkPath(_0x8a3f42,fs[_0x2b09e8(0xc4)])){const _0x4fc276=this.#loadETag(_0x3a3622);if(_0x4fc276)try{const _0x34249a=await this['download'](_0x2a862b,_0x3a3622,_0x4fc276);if(!_0x34249a[_0x2b09e8(0x127)])return logger['debug'](_0x56d590[_0x2b09e8(0xbc)]),_0x8a3f42;return logger[_0x2b09e8(0xbb)](_0x56d590[_0x2b09e8(0x141)]),await this.#handleBinaryDownload(_0x34249a,_0x2a862b,_0x3a3622);}catch(_0x59d51){return logger['warn'](_0x2b09e8(0x134)+_0x59d51),_0x8a3f42;}}const _0x5441fd=await this[_0x2b09e8(0xff)](_0x2a862b,_0x3a3622);return await this.#handleBinaryDownload(_0x5441fd,_0x2a862b,_0x3a3622);}[a114_0x4005e5(0xff)](_0x487697,_0x44c26d,_0x5eb3e4=null){const _0x46369d=a114_0x4005e5,_0x3fa783={'WYzYl':function(_0x4ca4c4,_0x2535fa){return _0x4ca4c4(_0x2535fa);},'rTgfh':function(_0xc92ddd,_0x2276da){return _0xc92ddd===_0x2276da;},'vHeZV':function(_0x2c595d,_0x12cca6){return _0x2c595d(_0x12cca6);},'bSNRP':_0x46369d(0xf3),'DRLwz':_0x46369d(0x138),'KFsxm':function(_0x5d6093,_0x356daa){return _0x5d6093+_0x356daa;},'feuRf':'.zip'};_0x44c26d&&!this.#checkPath(_0x44c26d)&&fs[_0x46369d(0x129)](_0x44c26d);const _0x3f6065=this.#binaryName,_0x161e56=path[_0x46369d(0xc9)](_0x44c26d,_0x3fa783[_0x46369d(0x10a)](_0x3f6065,_0x3fa783['feuRf'])),_0x57fb95=fs[_0x46369d(0x115)](_0x161e56),_0x3fe2c4=url[_0x46369d(0xc8)](this.#httpPath);if(_0x487697['proxyHost']&&_0x487697['proxyPort']){const _0x37d9b2={};_0x37d9b2[_0x46369d(0x123)]=_0x487697[_0x46369d(0x135)],_0x37d9b2['port']=_0x487697['proxyPort'],_0x3fe2c4[_0x46369d(0xca)]=new HttpsProxyAgent(_0x37d9b2);}if(_0x487697['useCaCertificate'])try{_0x3fe2c4['ca']=fs[_0x46369d(0x10b)](_0x487697['useCaCertificate']);}catch(_0x38731f){logger[_0x46369d(0xf3)](_0x46369d(0xd1)+_0x38731f);}if(_0x5eb3e4){const _0x1ae515={};_0x1ae515[_0x46369d(0xd6)]=_0x5eb3e4,_0x1ae515[_0x46369d(0x149)]=_0x3fa783[_0x46369d(0x146)],_0x3fe2c4[_0x46369d(0xe9)]=_0x1ae515;}else{const _0x42ddb6={};_0x42ddb6[_0x46369d(0x149)]=_0x3fa783[_0x46369d(0x146)],_0x3fe2c4['headers']=_0x42ddb6;}return new Promise((_0x137c18,_0xe7750b)=>{const _0x3cbada=_0x46369d,_0x575a58={'aIxLP':function(_0x42845b,_0x5a4696){return _0x3fa783['WYzYl'](_0x42845b,_0x5a4696);},'QpnJC':function(_0xa3de00,_0x243d9f){const _0x2d2256=a114_0x1acb;return _0x3fa783[_0x2d2256(0x10d)](_0xa3de00,_0x243d9f);},'CuYOV':function(_0x56fe93,_0x315cd5){const _0x5265c7=a114_0x1acb;return _0x3fa783[_0x5265c7(0x137)](_0x56fe93,_0x315cd5);},'nnmZz':function(_0x760c43,_0x2b5a48){return _0x3fa783['vHeZV'](_0x760c43,_0x2b5a48);},'jbXhr':_0x3fa783[_0x3cbada(0xcf)],'SOyIW':_0x3fa783['DRLwz']};https[_0x3cbada(0x107)](_0x3fe2c4,_0x37d5a2=>{const _0x1e033d=_0x3cbada,_0x257c8c={'KpvaQ':function(_0x3523bd,_0x1aa827){const _0x35362c=a114_0x1acb;return _0x575a58[_0x35362c(0xc6)](_0x3523bd,_0x1aa827);}};if(_0x5eb3e4&&_0x575a58[_0x1e033d(0xc5)](_0x37d5a2[_0x1e033d(0x144)],0x130)){_0x57fb95[_0x1e033d(0x13f)]();const _0x3749c4={};_0x3749c4['needsUpdate']=![],_0x575a58[_0x1e033d(0x114)](_0x137c18,_0x3749c4);return;}const _0x4ac525=_0x37d5a2[_0x1e033d(0xe9)][_0x1e033d(0xbd)];_0x4ac525&&this.#saveETag(_0x44c26d,_0x4ac525),_0x37d5a2['pipe'](_0x57fb95),_0x37d5a2['on'](_0x575a58['jbXhr'],function(_0x3216cc){const _0x397782=_0x1e033d;logger[_0x397782(0xf3)](_0x397782(0x13e)+_0x3216cc),_0x575a58[_0x397782(0x148)](_0xe7750b,_0x3216cc);}),_0x57fb95['on'](_0x575a58[_0x1e033d(0xea)],function(_0x2df553){const _0x12b77e=_0x1e033d;logger[_0x12b77e(0xf3)]('Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'+_0x2df553),_0x257c8c[_0x12b77e(0x109)](_0xe7750b,_0x2df553);}),_0x57fb95['on'](_0x575a58[_0x1e033d(0x10c)],()=>{const _0x1b6cbb=_0x1e033d;this['extractAndSaveBinary'](_0x161e56,_0x44c26d)[_0x1b6cbb(0xd3)](_0x4e9941=>_0x137c18({'needsUpdate':!![],'binaryPath':_0x4e9941}))[_0x1b6cbb(0xc1)](_0xe7750b);});})['on'](_0x3fa783[_0x3cbada(0xcf)],function(_0x52115a){const _0x491b53=_0x3cbada;logger['error'](_0x491b53(0xfd)+_0x52115a),_0x575a58[_0x491b53(0xc6)](_0xe7750b,_0x52115a);});});}[a114_0x4005e5(0x125)](_0x37cd4e,_0x147355){const _0x511063=a114_0x4005e5,_0x5ad817={'LpNWS':function(_0x6612e0,_0x31f1c6){return _0x6612e0(_0x31f1c6);},'wvZBf':_0x511063(0x124),'naOkb':function(_0x8ce67d,_0x4bcd87){return _0x8ce67d===_0x4bcd87;},'TvhOT':'entry','iPpLn':'error','YxMBB':function(_0xd9d9b3,_0x2ceefa){return _0xd9d9b3(_0x2ceefa);},'iuPBa':_0x511063(0xd9)},_0x409006=this.#binaryName,_0x26dfca=path[_0x511063(0xc9)](_0x147355,_0x409006);return new Promise((_0x571251,_0x599a13)=>{const _0x22bae9=_0x511063,_0x5c0700={'HVcVl':function(_0x464428,_0x2ec40a){const _0x50ef66=a114_0x1acb;return _0x5ad817[_0x50ef66(0x139)](_0x464428,_0x2ec40a);},'gSsYY':function(_0x45cdf7,_0xd3b116){const _0xf7bcef=a114_0x1acb;return _0x5ad817[_0xf7bcef(0x112)](_0x45cdf7,_0xd3b116);},'bVLXP':function(_0x47b775,_0x191dd5){const _0x493b2c=a114_0x1acb;return _0x5ad817[_0x493b2c(0x139)](_0x47b775,_0x191dd5);},'gYMrX':_0x5ad817[_0x22bae9(0x10e)]},_0x392ec3={};_0x392ec3['lazyEntries']=!![],yauzl[_0x22bae9(0x14c)](_0x37cd4e,_0x392ec3,function(_0xbafc6f,_0xc1c96b){const _0x2e01f2=_0x22bae9,_0xd7fddb={'Wryuv':function(_0x5b2f02,_0x2c1a9e){const _0x5d6c6=a114_0x1acb;return _0x5ad817[_0x5d6c6(0x112)](_0x5b2f02,_0x2c1a9e);},'HYIuK':_0x5ad817[_0x2e01f2(0xb9)],'CXOhB':function(_0x5a64a1,_0x4186ea){const _0x3ef2da=_0x2e01f2;return _0x5ad817[_0x3ef2da(0xde)](_0x5a64a1,_0x4186ea);}};_0xbafc6f&&_0x5ad817[_0x2e01f2(0x112)](_0x599a13,_0xbafc6f),_0xc1c96b[_0x2e01f2(0x143)](),_0xc1c96b['on'](_0x5ad817['TvhOT'],_0x190ec1=>{const _0x142fd1=_0x2e01f2,_0x158524={'DTwxa':function(_0x19693d,_0x441590){return _0xd7fddb['Wryuv'](_0x19693d,_0x441590);},'TOkRI':_0xd7fddb[_0x142fd1(0x128)]};if(/\/$/[_0x142fd1(0x110)](_0x190ec1[_0x142fd1(0xeb)]))_0xc1c96b[_0x142fd1(0x143)]();else{const _0x17f6ad=fs[_0x142fd1(0x115)](path[_0x142fd1(0xc9)](_0x147355,_0x190ec1[_0x142fd1(0xeb)]));_0xc1c96b[_0x142fd1(0x105)](_0x190ec1,function(_0xa2bded,_0x4f642f){const _0x32442c=_0x142fd1;_0xa2bded&&_0x158524['DTwxa'](_0x599a13,_0xbafc6f),_0x4f642f['on'](_0x158524[_0x32442c(0xd0)],function(){const _0x18557b=_0x32442c;_0x17f6ad[_0x18557b(0x138)](),_0xc1c96b[_0x18557b(0x143)]();}),_0x4f642f[_0x32442c(0xc0)](_0x17f6ad);}),_0xd7fddb[_0x142fd1(0xbf)](_0x190ec1[_0x142fd1(0xeb)],_0x409006)&&_0xc1c96b[_0x142fd1(0x138)]();}}),_0xc1c96b['on'](_0x5ad817[_0x2e01f2(0x132)],_0x36aba8=>{const _0x40eb3d=_0x2e01f2;_0x5c0700[_0x40eb3d(0xd8)](_0x599a13,_0x36aba8);}),_0xc1c96b[_0x2e01f2(0xcd)](_0x5ad817[_0x2e01f2(0xb9)],()=>{const _0x1c5510=_0x2e01f2,_0x5c85e0={'uVLBj':function(_0x25c45f,_0x4e98aa){const _0x1557bc=a114_0x1acb;return _0x5c0700[_0x1557bc(0x121)](_0x25c45f,_0x4e98aa);},'HnzKU':function(_0x557415,_0x25b747){const _0x2136e0=a114_0x1acb;return _0x5c0700[_0x2136e0(0xf2)](_0x557415,_0x25b747);}};fs['chmod'](_0x26dfca,_0x5c0700[_0x1c5510(0x103)],function(_0x4c42af){const _0x4d2a4e=_0x1c5510;_0x4c42af&&_0x5c85e0[_0x4d2a4e(0xfb)](_0x599a13,_0x4c42af),_0x5c85e0[_0x4d2a4e(0x14a)](_0x571251,_0x26dfca);}),_0xc1c96b[_0x1c5510(0x138)]();});});});}async['validateBinary'](_0xeefa65){const _0x566194=a114_0x4005e5,_0x7be555={'OGtoj':function(_0x43817c,_0x21a100){return _0x43817c(_0x21a100);},'OnlSe':function(_0x594c70,_0x4dbbee){return _0x594c70(_0x4dbbee);},'OjbWx':function(_0x51b926,_0x4cb909,_0x272bae,_0x4ce6d6){return _0x51b926(_0x4cb909,_0x272bae,_0x4ce6d6);},'YwvzP':_0x566194(0xee),'mTZXi':_0x566194(0x12c),'PjBhz':'close'},_0x4a6690=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x1165c8,_0x4c2b45)=>{const _0xd35e03=_0x566194,_0x311d5c={'QZyuF':function(_0x1ed457,_0x57d071){const _0x171568=a114_0x1acb;return _0x7be555[_0x171568(0xe2)](_0x1ed457,_0x57d071);}},_0x4b3f24={};_0x4b3f24['env']=process[_0xd35e03(0x104)];const _0x277577=_0x7be555['OjbWx'](spawn,_0xeefa65,[_0x7be555[_0xd35e03(0x117)]],_0x4b3f24);_0x277577[_0xd35e03(0x120)]['on'](_0x7be555[_0xd35e03(0xda)],_0x5b7103=>{const _0x4c550c=_0xd35e03;_0x4a6690[_0x4c550c(0x110)](_0x5b7103)&&_0x311d5c[_0x4c550c(0x13c)](_0x1165c8,!![]);}),_0x277577['on'](_0x7be555['PjBhz'],()=>{const _0xbae12f=_0xd35e03;_0x7be555[_0xbae12f(0xe7)](_0x1165c8,![]);});});}#homedir(){const _0x51ecf3=a114_0x4005e5,_0x1352b8={};_0x1352b8[_0x51ecf3(0x13a)]=function(_0x59b19c,_0x5a20a6){return _0x59b19c===_0x5a20a6;},_0x1352b8[_0x51ecf3(0x100)]='function',_0x1352b8[_0x51ecf3(0x14e)]=function(_0x28880d,_0x397d3d){return _0x28880d===_0x397d3d;},_0x1352b8[_0x51ecf3(0x101)]=_0x51ecf3(0x126),_0x1352b8[_0x51ecf3(0x133)]=function(_0xb18e83,_0x530b38){return _0xb18e83+_0x530b38;},_0x1352b8['vSlnK']=function(_0x1e0586,_0x3ae123){return _0x1e0586===_0x3ae123;},_0x1352b8[_0x51ecf3(0x122)]=_0x51ecf3(0x11a),_0x1352b8['JCBFu']=_0x51ecf3(0xba),_0x1352b8['KgszS']=function(_0x3874c9,_0x13f75b){return _0x3874c9===_0x13f75b;},_0x1352b8['ODCiK']='linux',_0x1352b8[_0x51ecf3(0x116)]=function(_0x931124,_0x2724c1){return _0x931124===_0x2724c1;},_0x1352b8[_0x51ecf3(0x11e)]='/root',_0x1352b8['JtgLQ']=function(_0x54cddc,_0x977df6){return _0x54cddc+_0x977df6;},_0x1352b8['EzIlf']='/home/',_0x1352b8[_0x51ecf3(0x14f)]=function(_0x32ffec,_0x263460){return _0x32ffec||_0x263460;};const _0xa6d19f=_0x1352b8;if(_0xa6d19f[_0x51ecf3(0x13a)](typeof os['homedir'],_0xa6d19f[_0x51ecf3(0x100)]))return os[_0x51ecf3(0xfc)]();const _0x6b1941=process['env'],_0x30aad3=_0x6b1941[_0x51ecf3(0x136)],_0x4ffdc9=_0x6b1941[_0x51ecf3(0x145)]||_0x6b1941[_0x51ecf3(0xd4)]||_0x6b1941['LNAME']||_0x6b1941[_0x51ecf3(0xb8)];if(_0xa6d19f[_0x51ecf3(0x14e)](process['platform'],_0xa6d19f['fpyYP']))return _0x6b1941[_0x51ecf3(0xed)]||_0xa6d19f[_0x51ecf3(0x133)](_0x6b1941[_0x51ecf3(0xc7)],_0x6b1941[_0x51ecf3(0x12b)])||_0x30aad3||null;if(_0xa6d19f[_0x51ecf3(0xdb)](process['platform'],_0xa6d19f['QSGRF']))return _0x30aad3||(_0x4ffdc9?_0xa6d19f['tSyTR'](_0xa6d19f['JCBFu'],_0x4ffdc9):null);if(_0xa6d19f[_0x51ecf3(0xf6)](process[_0x51ecf3(0xdf)],_0xa6d19f[_0x51ecf3(0xf9)]))return _0x30aad3||(_0xa6d19f['Jjkre'](process['getuid'](),0x0)?_0xa6d19f[_0x51ecf3(0x11e)]:_0x4ffdc9?_0xa6d19f['JtgLQ'](_0xa6d19f[_0x51ecf3(0x13b)],_0x4ffdc9):null);return _0xa6d19f[_0x51ecf3(0x14f)](_0x30aad3,null);}}module[a114_0x4005e5(0x113)]=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a115_0x14f0(_0x1d37d5,_0x4d1543){var _0x30cc69=a115_0x30cc();return a115_0x14f0=function(_0x14f0c4,_0x2a16c1){_0x14f0c4=_0x14f0c4-0x13c;var _0x31cf77=_0x30cc69[_0x14f0c4];return _0x31cf77;},a115_0x14f0(_0x1d37d5,_0x4d1543);}function a115_0x30cc(){var _0x4d5a2c=['188950VFXhth','increment','8PvwzUh','get','2472240dTmESi','exports','5730142NOXyxh','2dSPkSy','getName','13636714JOKVQO','10ngrRSt','407489BLYmap','20VIZjVh','6894711efACCY','3261216nKoCDG'];a115_0x30cc=function(){return _0x4d5a2c;};return a115_0x30cc();}var a115_0x4769f8=a115_0x14f0;(function(_0x239d18,_0x5a4d85){var _0x58493f=a115_0x14f0,_0x332f98=_0x239d18();while(!![]){try{var _0x5c15d0=-parseInt(_0x58493f(0x141))/0x1*(-parseInt(_0x58493f(0x13d))/0x2)+-parseInt(_0x58493f(0x149))/0x3+-parseInt(_0x58493f(0x142))/0x4*(-parseInt(_0x58493f(0x145))/0x5)+parseInt(_0x58493f(0x144))/0x6+parseInt(_0x58493f(0x13f))/0x7*(parseInt(_0x58493f(0x147))/0x8)+-parseInt(_0x58493f(0x143))/0x9+-parseInt(_0x58493f(0x140))/0xa*(parseInt(_0x58493f(0x13c))/0xb);if(_0x5c15d0===_0x5a4d85)break;else _0x332f98['push'](_0x332f98['shift']());}catch(_0x1ba960){_0x332f98['push'](_0x332f98['shift']());}}}(a115_0x30cc,0xee864));class PercyCaptureMap{#map={};[a115_0x4769f8(0x146)](_0x4e3679,_0x40413b){!this.#map[_0x4e3679]&&(this.#map[_0x4e3679]={}),!this.#map[_0x4e3679][_0x40413b]&&(this.#map[_0x4e3679][_0x40413b]=0x0),this.#map[_0x4e3679][_0x40413b]++;}[a115_0x4769f8(0x13e)](_0x2620eb,_0x2d42e1){var _0x57b770=a115_0x4769f8;return _0x2620eb+'-'+_0x2d42e1+'-'+this[_0x57b770(0x148)](_0x2620eb,_0x2d42e1);}[a115_0x4769f8(0x148)](_0x5a2b69,_0x2af678){if(!this.#map[_0x5a2b69])return 0x0;if(!this.#map[_0x5a2b69][_0x2af678])return 0x0;return this.#map[_0x5a2b69][_0x2af678];}}module[a115_0x4769f8(0x14a)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a116_0x12cc11=a116_0x3401;(function(_0x4120e2,_0x16d871){var _0x49df97=a116_0x3401,_0xb440ac=_0x4120e2();while(!![]){try{var _0xed356c=-parseInt(_0x49df97(0x120))/0x1+-parseInt(_0x49df97(0x123))/0x2+-parseInt(_0x49df97(0x129))/0x3+parseInt(_0x49df97(0x12a))/0x4*(parseInt(_0x49df97(0x12b))/0x5)+-parseInt(_0x49df97(0x11f))/0x6*(parseInt(_0x49df97(0x128))/0x7)+-parseInt(_0x49df97(0x121))/0x8*(parseInt(_0x49df97(0x11e))/0x9)+-parseInt(_0x49df97(0x126))/0xa*(-parseInt(_0x49df97(0x125))/0xb);if(_0xed356c===_0x16d871)break;else _0xb440ac['push'](_0xb440ac['shift']());}catch(_0x4f4fe2){_0xb440ac['push'](_0xb440ac['shift']());}}}(a116_0x5ebd,0x6c671));function a116_0x3401(_0x427bf6,_0x3c5052){var _0x5ebdb1=a116_0x5ebd();return a116_0x3401=function(_0x34019f,_0x5025c2){_0x34019f=_0x34019f-0x11d;var _0x502a19=_0x5ebdb1[_0x34019f];return _0x502a19;},a116_0x3401(_0x427bf6,_0x3c5052);}var a116_0x22fb4d={};function a116_0x5ebd(){var _0x28fda0=['805WkiXoR','174249tAZLqc','1424876UafGTv','5iqPHBm','screenshot','auto','element','90UmSrDA','37644JQDNJT','425610gsVKiM','650120oymJpB','click','1490394wXtMEP','driver','219296Atibfq','1430tvisLO','takeScreenshot'];a116_0x5ebd=function(){return _0x28fda0;};return a116_0x5ebd();}a116_0x22fb4d[a116_0x12cc11(0x124)]=[a116_0x12cc11(0x127)],a116_0x22fb4d[a116_0x12cc11(0x11d)]=[a116_0x12cc11(0x122),'sendKeys'];var a116_0x125d12={};a116_0x125d12[a116_0x12cc11(0x124)]=[a116_0x12cc11(0x127)];var a116_0x12bb06={};a116_0x12bb06[a116_0x12cc11(0x11d)]=[a116_0x12cc11(0x122)];var a116_0x6cf069={};a116_0x6cf069[a116_0x12cc11(0x12d)]=a116_0x22fb4d,a116_0x6cf069[a116_0x12cc11(0x12c)]=a116_0x125d12,a116_0x6cf069[a116_0x12cc11(0x122)]=a116_0x12bb06,a116_0x6cf069['testcase']={},a116_0x6cf069['manual']={},module['exports']=a116_0x6cf069;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117_0x125049=a117_0x231a;function a117_0x46a9(){const _0xc92197=['winstonLogger','measure','749kEzOyR','screenshotApp','1422546NsHGck','platformIndex','error','6726uXXeGG','browserstackPlatformIndex','24PHRDwQ','name','TUIbf','404380wBGAAE','@percy/selenium-webdriver','291771TQkLAF','sXpkz','gFcJE','../logger','5CIdpXM','@percy/appium-app','screenshot','55iEtBdl','372296nNvzws','435248HMWUKc','SZPTe','length','57068OJEtJK','thTestCaseExecutionId','Unsupported\x20driver\x20for\x20percy','SNAPSHOT','OoymG','testCase','apply','AScSo','SCREENSHOT','browserstackPercyBestPlatform','ySzHx','zECvP','uuid','snapshot'];a117_0x46a9=function(){return _0xc92197;};return a117_0x46a9();}(function(_0xf5b5be,_0x3b3d7e){const _0x56aee5=a117_0x231a,_0x241aae=_0xf5b5be();while(!![]){try{const _0x28d136=-parseInt(_0x56aee5(0x111))/0x1+parseInt(_0x56aee5(0x112))/0x2+parseInt(_0x56aee5(0xff))/0x3+-parseInt(_0x56aee5(0x115))/0x4*(-parseInt(_0x56aee5(0x10d))/0x5)+parseInt(_0x56aee5(0x102))/0x6*(parseInt(_0x56aee5(0xfd))/0x7)+parseInt(_0x56aee5(0x104))/0x8*(-parseInt(_0x56aee5(0x109))/0x9)+-parseInt(_0x56aee5(0x107))/0xa*(-parseInt(_0x56aee5(0x110))/0xb);if(_0x28d136===_0x3b3d7e)break;else _0x241aae['push'](_0x241aae['shift']());}catch(_0x9d17cb){_0x241aae['push'](_0x241aae['shift']());}}}(a117_0x46a9,0x88641));const tryRequire=function(_0x52f501,_0x2d05af){const _0x464323={'skmlp':function(_0x4eb1af,_0x441f2d){return _0x4eb1af(_0x441f2d);}};try{return _0x464323['skmlp'](require,_0x52f501);}catch{return _0x2d05af;}},percySnapshot=tryRequire(a117_0x125049(0x108),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a117_0x125049(0x10e)),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants'),logger=require(a117_0x125049(0x10c))[a117_0x125049(0xfb)];function a117_0x231a(_0x2ca9f4,_0x197e53){const _0x46a921=a117_0x46a9();return a117_0x231a=function(_0x231a6f,_0x10d0c3){_0x231a6f=_0x231a6f-0xf0;let _0x38f55f=_0x46a921[_0x231a6f];return _0x38f55f;},a117_0x231a(_0x2ca9f4,_0x197e53);}percySnapshot&&(exports[a117_0x125049(0xfa)]=async function(){const _0x187c7c=a117_0x125049,_0x16ff49={'TUIbf':function(_0xebed3,_0x25a5c5){return _0xebed3!==_0x25a5c5;},'SZPTe':function(_0x166e74,_0x4ff539){return _0x166e74>=_0x4ff539;},'sXpkz':function(_0x56e65e){return _0x56e65e();}};if(global[_0x187c7c(0x103)]&&_0x16ff49[_0x187c7c(0x106)](global['browserstackPlatformIndex'],global[_0x187c7c(0xf6)]))return;const _0x36ec69=_0x16ff49[_0x187c7c(0x113)](arguments[_0x187c7c(0x114)],0x2)?arguments[0x1]:'',_0x44e91f=_0x16ff49[_0x187c7c(0x10a)](getCurrentTestData),_0x210989={};return _0x210989['name']=_0x36ec69,_0x210989[_0x187c7c(0xf2)]=_0x44e91f[_0x187c7c(0x105)]||'',_0x210989[_0x187c7c(0x116)]=_0x44e91f['uuid']||'',_0x210989['platformIndex']=global[_0x187c7c(0x103)],await PerformanceTester['measure'](PerformanceEvents[_0x187c7c(0xf0)],()=>percySnapshot['apply'](null,arguments),_0x210989);});percyScreenshot?exports[a117_0x125049(0x10f)]=async function(){const _0x8dc5a3=a117_0x125049,_0x2b2dcd={'AScSo':function(_0x587914,_0x21c19e){return _0x587914>=_0x21c19e;},'ySzHx':function(_0x6de755){return _0x6de755();}},_0x474586=_0x2b2dcd[_0x8dc5a3(0xf4)](arguments[_0x8dc5a3(0x114)],0x2)?arguments[0x1]:'',_0x1e768d=_0x2b2dcd[_0x8dc5a3(0xf7)](getCurrentTestData),_0xaea8e2={};return _0xaea8e2['name']=_0x474586,_0xaea8e2[_0x8dc5a3(0xf2)]=_0x1e768d['name']||'',_0xaea8e2[_0x8dc5a3(0x116)]=_0x1e768d['uuid']||'',_0xaea8e2[_0x8dc5a3(0x100)]=global[_0x8dc5a3(0x103)],await PerformanceTester[_0x8dc5a3(0xfc)](PerformanceEvents[_0x8dc5a3(0xf5)],()=>percyScreenshot[_0x8dc5a3(0xf3)](null,arguments),_0xaea8e2);}:exports['screenshot']=()=>{const _0x3e436c=a117_0x125049,_0x331700={};_0x331700[_0x3e436c(0xf1)]=_0x3e436c(0x117);const _0x889540=_0x331700;logger[_0x3e436c(0x101)](_0x889540[_0x3e436c(0xf1)]);};exports[a117_0x125049(0xfe)]=async function(){const _0x100773=a117_0x125049,_0x390cba={'gFcJE':function(_0x2adc50,_0x243202){return _0x2adc50>=_0x243202;},'zECvP':function(_0x72842e){return _0x72842e();}},_0x1bcc27=_0x390cba[_0x100773(0x10b)](arguments[_0x100773(0x114)],0x2)?arguments[0x1]:'',_0x33ed4e=_0x390cba[_0x100773(0xf8)](getCurrentTestData),_0x3c9c39={};return _0x3c9c39[_0x100773(0x105)]=_0x1bcc27,_0x3c9c39[_0x100773(0xf2)]=_0x33ed4e[_0x100773(0x105)]||'',_0x3c9c39[_0x100773(0x116)]=_0x33ed4e[_0x100773(0xf9)]||'',_0x3c9c39['platformIndex']=global[_0x100773(0x103)],await PerformanceTester[_0x100773(0xfc)](PerformanceEvents['SCREENSHOT_APP'],()=>percyAppScreenshot['apply'](null,arguments),_0x3c9c39);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a118_0x35c2c8=a118_0x20c0;function a118_0x1227(){var _0x564bc8=['4554580BZpXmh','592DVaTgX','471831bIInsH','1276100ViMwtA','10758EMychJ','825114pyLlcB','5MeEHOv','exports','18cdmPGB','2807SEwlGj','626900ebIHIF'];a118_0x1227=function(){return _0x564bc8;};return a118_0x1227();}function a118_0x20c0(_0x887db3,_0x57aaeb){var _0x122759=a118_0x1227();return a118_0x20c0=function(_0x20c0c0,_0x529614){_0x20c0c0=_0x20c0c0-0x97;var _0x222371=_0x122759[_0x20c0c0];return _0x222371;},a118_0x20c0(_0x887db3,_0x57aaeb);}(function(_0x2e76c9,_0x500006){var _0x1412b6=a118_0x20c0,_0xe9b3=_0x2e76c9();while(!![]){try{var _0x5ec90f=parseInt(_0x1412b6(0x98))/0x1*(-parseInt(_0x1412b6(0xa1))/0x2)+-parseInt(_0x1412b6(0x9f))/0x3+-parseInt(_0x1412b6(0x9c))/0x4+-parseInt(_0x1412b6(0xa0))/0x5+-parseInt(_0x1412b6(0x97))/0x6+-parseInt(_0x1412b6(0x9b))/0x7*(parseInt(_0x1412b6(0x9e))/0x8)+parseInt(_0x1412b6(0x9a))/0x9*(parseInt(_0x1412b6(0x9d))/0xa);if(_0x5ec90f===_0x500006)break;else _0xe9b3['push'](_0xe9b3['shift']());}catch(_0x29fd40){_0xe9b3['push'](_0xe9b3['shift']());}}}(a118_0x1227,0x24096),module[a118_0x35c2c8(0x99)]=require('./Percy'));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a119_0x344f(){const _0x48d563=['SEoUK','getPercyOptions','935IxXHYg','overrideXforPercy','element','../performance/constants','TRvfR','screenshotApp','init','toLowerCase','browser','edge','Starting\x20percy','browserstackSessionName','reduce','browserstackPercyMap','percy','patchDriverPercy','stop','percyAutoCapture','./PercyCaptureMap','browserStackPercyOptions','safari','eoPrI','Stopping\x20percy','app','isUndefined','forEach','prototype','apply','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','AUTO_CAPTURE','start','chrome','measureWrapper','getBestPlatformForPercySnapshot','patch','stopPercy','EqWYB','increment','debug','platforms','83334lNoNVR','\x20for\x20percy\x20','firefox','812100Knenyg','browserstackPercyBestPlatform','../logger','driver','percyCaptureMode','winstonLogger','220178HRtKnQ','then','STOP','712972uqIJzK','UAVxY','auto','adEsz','MmAqU','RTdAZ','nestedKeyValue','421576AZGERy','Error\x20patching\x20','11370ktzZaz','fGKxN','./PercyCaptureModes','3334905ALyiup','startPercy','./Percy','FFgEt','../helper','JwdEE','getDriver','hpaHY','error'];a119_0x344f=function(){return _0x48d563;};return a119_0x344f();}const a119_0x411f6e=a119_0x5c40;(function(_0x3ea727,_0x4dac5b){const _0x5b1b7d=a119_0x5c40,_0x131ac5=_0x3ea727();while(!![]){try{const _0x5b51e6=-parseInt(_0x5b1b7d(0x199))/0x1+parseInt(_0x5b1b7d(0x1de))/0x2+-parseInt(_0x5b1b7d(0x1db))/0x3+parseInt(_0x5b1b7d(0x19c))/0x4+parseInt(_0x5b1b7d(0x1b3))/0x5*(parseInt(_0x5b1b7d(0x1a5))/0x6)+-parseInt(_0x5b1b7d(0x1a8))/0x7+parseInt(_0x5b1b7d(0x1a3))/0x8;if(_0x5b51e6===_0x4dac5b)break;else _0x131ac5['push'](_0x131ac5['shift']());}catch(_0x2508dd){_0x131ac5['push'](_0x131ac5['shift']());}}}(a119_0x344f,0x412e8));const Percy=require(a119_0x411f6e(0x1aa)),PercySDK=require('./PercySDK'),PercyCaptureModes=require(a119_0x411f6e(0x1a7)),PercyCaptureMap=require(a119_0x411f6e(0x1c5)),logger=require(a119_0x411f6e(0x195))[a119_0x411f6e(0x198)],helper=require(a119_0x411f6e(0x1ac)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a119_0x411f6e(0x1b6));function a119_0x5c40(_0xa135ad,_0x50a20b){const _0x344f55=a119_0x344f();return a119_0x5c40=function(_0x5c407b,_0x52091a){_0x5c407b=_0x5c407b-0x195;let _0x2882b4=_0x344f55[_0x5c407b];return _0x2882b4;},a119_0x5c40(_0xa135ad,_0x50a20b);}exports[a119_0x411f6e(0x1a9)]=PerformanceTester[a119_0x411f6e(0x1d3)](PerformanceEvents['START'],async _0x173877=>{const _0x253aa8=a119_0x411f6e,_0x53bbea={};_0x53bbea[_0x253aa8(0x1c8)]=_0x253aa8(0x1bd);const _0x263d1e=_0x53bbea;logger['debug'](_0x263d1e[_0x253aa8(0x1c8)]);const _0xf2a1c6=new Percy(_0x173877),_0x3c8b31=await _0xf2a1c6[_0x253aa8(0x1d1)]();if(_0x3c8b31)return _0xf2a1c6;return null;}),exports[a119_0x411f6e(0x1d6)]=PerformanceTester[a119_0x411f6e(0x1d3)](PerformanceEvents[a119_0x411f6e(0x19b)],async _0x60eb8b=>{const _0x4bf066=a119_0x411f6e,_0x2a3f1f={};_0x2a3f1f['TRvfR']=_0x4bf066(0x1c9);const _0xe9e001=_0x2a3f1f;return logger['debug'](_0xe9e001[_0x4bf066(0x1b7)]),_0x60eb8b[_0x4bf066(0x1c3)]();}),exports[a119_0x411f6e(0x1d4)]=_0x858596=>{const _0x1ead40=a119_0x411f6e,_0x371ca6={};_0x371ca6[_0x1ead40(0x1a6)]=function(_0x4d8860,_0x3fcef5){return _0x4d8860<_0x3fcef5;};const _0x2a8224=_0x371ca6,_0x4eb64a={};_0x4eb64a[_0x1ead40(0x1d2)]=0x0,_0x4eb64a[_0x1ead40(0x1dd)]=0x1,_0x4eb64a[_0x1ead40(0x1bc)]=0x2,_0x4eb64a[_0x1ead40(0x1c7)]=0x3;const _0x108577=_0x4eb64a;return _0x858596[_0x1ead40(0x1bf)]((_0x1eada8,_0x23544e,_0x5a20b4)=>{const _0x14e694=_0x1ead40,_0xe1a8a3=_0x858596[_0x1eada8];if(_0x23544e['deviceName'])return _0x1eada8;if(_0xe1a8a3['deviceName'])return _0x5a20b4;const _0x202622=_0x23544e[_0x14e694(0x1bb)]?_0x23544e[_0x14e694(0x1bb)]:_0x23544e['browserName'];if(_0x202622&&_0x2a8224[_0x14e694(0x1a6)](_0x108577[_0x202622[_0x14e694(0x1ba)]()],_0x108577[_0x202622[_0x14e694(0x1ba)]()]))return _0x5a20b4;return _0x1eada8;},0x0);},exports[a119_0x411f6e(0x1c4)]=PerformanceTester['measureWrapper'](PerformanceEvents[a119_0x411f6e(0x1d0)],async(_0x7c2a42,_0x373187,_0x27b755)=>{const _0x4bd21c=a119_0x411f6e,_0x446885={};_0x446885['MmAqU']=_0x4bd21c(0x1cf);const _0x30b606=_0x446885,_0x32e4c3=_0x7c2a42['browserstackPercyMap'];if(helper[_0x4bd21c(0x1cb)](_0x7c2a42[_0x4bd21c(0x1be)])){logger[_0x4bd21c(0x1d9)](_0x30b606[_0x4bd21c(0x1a0)]);return;}const _0x4f0f94=_0x32e4c3['getName'](_0x7c2a42[_0x4bd21c(0x1be)],_0x373187);_0x27b755[_0x4bd21c(0x1ca)]?await PercySDK[_0x4bd21c(0x1b8)](_0x7c2a42,_0x4f0f94):await PercySDK['screenshot'](_0x7c2a42,_0x4f0f94),_0x32e4c3[_0x4bd21c(0x1d8)](_0x7c2a42[_0x4bd21c(0x1be)],_0x373187);}),exports[a119_0x411f6e(0x1c2)]=(_0x39454c,_0x311b08,_0x1afb50)=>{const _0x11914a=a119_0x411f6e,_0x35faac={};_0x35faac[_0x11914a(0x1ab)]='browserStackPercyOptions',_0x35faac['UAVxY']=_0x11914a(0x1c1),_0x35faac['hpaHY']=function(_0x270a8e,_0x9d2299){return _0x270a8e!==_0x9d2299;},_0x35faac[_0x11914a(0x1ad)]='manual';const _0x43e56c=_0x35faac;if(!helper[_0x11914a(0x1a2)](_0x1afb50,[_0x43e56c[_0x11914a(0x1ab)],_0x43e56c[_0x11914a(0x19d)]]))return;if(_0x1afb50[_0x11914a(0x1c6)][_0x11914a(0x1c1)]&&_0x1afb50[_0x11914a(0x1c6)][_0x11914a(0x197)]&&_0x43e56c[_0x11914a(0x1af)](_0x1afb50['browserStackPercyOptions'][_0x11914a(0x197)],_0x43e56c['JwdEE'])&&!_0x39454c['browserstackPercyMap']){global['browserstackSessionName']&&(_0x39454c[_0x11914a(0x1be)]=global[_0x11914a(0x1be)]),_0x39454c[_0x11914a(0x1c0)]=new PercyCaptureMap();const _0x32a691=PercyCaptureModes[_0x1afb50['browserStackPercyOptions'][_0x11914a(0x197)]];_0x32a691[_0x11914a(0x196)]&&_0x32a691[_0x11914a(0x196)][_0x11914a(0x1cc)](_0x2d313a=>this[_0x11914a(0x1b4)](_0x39454c,_0x2d313a,_0x1afb50)),_0x32a691['element']&&_0x32a691[_0x11914a(0x1b5)][_0x11914a(0x1cc)](_0xfce468=>{const _0xd27e07=_0x11914a;if(_0x311b08[_0xd27e07(0x1cd)][_0xd27e07(0x1d5)+_0xfce468])return;_0x311b08[_0xd27e07(0x1cd)][_0xd27e07(0x1d5)+_0xfce468]=!![];const _0x3d1142=_0x311b08[_0xd27e07(0x1cd)][_0xfce468];_0x311b08['prototype'][_0xfce468]=async function(){const _0x4e2281=_0xd27e07;let _0x574c0b=_0x3d1142[_0x4e2281(0x1ce)](this,arguments);_0x574c0b&&_0x574c0b[_0x4e2281(0x19a)]&&(_0x574c0b=await _0x574c0b);try{const _0x1e0ce7=this[_0x4e2281(0x1ae)]();await exports['percyAutoCapture'](_0x1e0ce7,_0xfce468,_0x1afb50);}catch(_0x8c0cf0){logger[_0x4e2281(0x1b0)]('Error\x20patching\x20'+_0xfce468+_0x4e2281(0x1dc)+_0x8c0cf0);}return _0x574c0b;};});}},exports[a119_0x411f6e(0x1b4)]=function(_0x56953f,_0x1c7511,_0x4e61d2){const _0x33ef09=a119_0x411f6e,_0x34048d={};_0x34048d[_0x33ef09(0x19f)]=function(_0x259c1c,_0x16ae85){return _0x259c1c+_0x16ae85;},_0x34048d['RTdAZ']=_0x33ef09(0x1d5),_0x34048d['oNysA']=function(_0x57b5d1,_0x360995){return _0x57b5d1+_0x360995;},_0x34048d['SEoUK']=_0x33ef09(0x1b9);const _0x11ba47=_0x34048d,_0x5d5f13=_0x11ba47[_0x33ef09(0x19f)](_0x11ba47[_0x33ef09(0x1a1)],_0x1c7511),_0x388e68=_0x11ba47['oNysA'](_0x11ba47[_0x33ef09(0x1b1)],_0x1c7511),_0x443af4=this;if(_0x56953f[_0x5d5f13]||!_0x56953f[_0x1c7511])return;_0x56953f[_0x5d5f13]=!![],_0x56953f[_0x388e68]=_0x56953f[_0x1c7511],_0x56953f[_0x1c7511]=async()=>{const _0x2a5039=_0x33ef09;try{await _0x443af4[_0x2a5039(0x1c4)](_0x56953f,_0x1c7511,_0x4e61d2);}catch(_0x228f39){logger[_0x2a5039(0x1b0)](_0x2a5039(0x1a4)+_0x1c7511+'\x20for\x20percy\x20'+_0x228f39);}return await _0x56953f[_0x388e68]['apply'](_0x56953f,arguments);};},exports[a119_0x411f6e(0x1b2)]=_0x56e84b=>{const _0x175861=a119_0x411f6e,_0x1a2b6c={};_0x1a2b6c[_0x175861(0x1d7)]=_0x175861(0x19e);const _0x56b900=_0x1a2b6c,_0x110cba={};_0x110cba[_0x175861(0x1c1)]=_0x56e84b['percy'],_0x110cba[_0x175861(0x197)]=_0x56e84b[_0x175861(0x197)]||_0x56b900['EqWYB'];const _0x14602e=_0x110cba;_0x56e84b[_0x175861(0x1c1)]&&(_0x14602e[_0x175861(0x1df)]=exports[_0x175861(0x1d4)](_0x56e84b[_0x175861(0x1da)]));;return _0x14602e;};
|