browserstack-node-sdk 1.42.8 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +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/cucumber-sessionDetails.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/playwright-patcher.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_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/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/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/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/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/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 -0
- 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 a100_0x1d4ebd=a100_0x5666;(function(_0x5b769b,_0x264a41){const _0xde97fe=a100_0x5666,_0x57aa10=_0x5b769b();while(!![]){try{const _0xded70=parseInt(_0xde97fe(0xc5))/0x1*(parseInt(_0xde97fe(0xb0))/0x2)+-parseInt(_0xde97fe(0xd7))/0x3+parseInt(_0xde97fe(0xaf))/0x4*(parseInt(_0xde97fe(0x9a))/0x5)+-parseInt(_0xde97fe(0xc2))/0x6*(-parseInt(_0xde97fe(0xd1))/0x7)+parseInt(_0xde97fe(0x9d))/0x8*(-parseInt(_0xde97fe(0x93))/0x9)+parseInt(_0xde97fe(0xb7))/0xa+parseInt(_0xde97fe(0x9c))/0xb;if(_0xded70===_0x264a41)break;else _0x57aa10['push'](_0x57aa10['shift']());}catch(_0x2a263a){_0x57aa10['push'](_0x57aa10['shift']());}}}(a100_0x4c75,0x93389));const winston=require(a100_0x1d4ebd(0xa7)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a100_0x1d4ebd(0xa4)),tempLogDir='log',logFormat=winston['format'](_0x1baef4=>{const _0x1fc65f=a100_0x1d4ebd,_0x4e1c26={};_0x4e1c26[_0x1fc65f(0xc1)]=function(_0x587a49,_0x25f65a){return _0x587a49!==_0x25f65a;},_0x4e1c26['MyhCk']=_0x1fc65f(0xbf),_0x4e1c26[_0x1fc65f(0xb8)]=function(_0xfa6b7c,_0x287528){return _0xfa6b7c===_0x287528;},_0x4e1c26[_0x1fc65f(0xd0)]=_0x1fc65f(0xcc),_0x4e1c26[_0x1fc65f(0x9e)]=function(_0x5e2861,_0x3c730b){return _0x5e2861===_0x3c730b;};const _0x408e73=_0x4e1c26;return _0x408e73[_0x1fc65f(0xc1)](typeof _0x1baef4[_0x1fc65f(0xce)],_0x408e73['MyhCk'])&&(_0x1baef4[_0x1fc65f(0xce)]=JSON[_0x1fc65f(0x97)](_0x1baef4[_0x1fc65f(0xce)])),global[_0x1fc65f(0xcb)]?.['config']?.[_0x1fc65f(0xa9)]&&_0x408e73[_0x1fc65f(0xb8)](typeof _0x1baef4[_0x1fc65f(0xce)],_0x408e73[_0x1fc65f(0x90)])&&(_0x1baef4['message']=_0x1baef4[_0x1fc65f(0xce)]['replace'](new RegExp(global['session'][_0x1fc65f(0xd2)][_0x1fc65f(0xa9)],'g'),_0x408e73[_0x1fc65f(0xd0)])),global[_0x1fc65f(0xcb)]?.[_0x1fc65f(0xd2)]?.[_0x1fc65f(0x9b)]&&_0x408e73[_0x1fc65f(0x9e)](typeof _0x1baef4[_0x1fc65f(0xce)],_0x408e73[_0x1fc65f(0x90)])&&(_0x1baef4['message']=_0x1baef4[_0x1fc65f(0xce)][_0x1fc65f(0x8f)](new RegExp(global[_0x1fc65f(0xcb)][_0x1fc65f(0xd2)][_0x1fc65f(0x9b)],'g'),_0x408e73[_0x1fc65f(0xd0)])),_0x1baef4;}),fetchLogDir=()=>{const _0x35fd35=a100_0x1d4ebd;if(process['env'][_0x35fd35(0xd9)])return process['env'][_0x35fd35(0xd9)];else!fs[_0x35fd35(0xd6)](tempLogDir)&&fs[_0x35fd35(0xc0)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),a100_0x47b83d={};a100_0x47b83d['name']=a100_0x1d4ebd(0x8e);const transports={'loggerConsole':new winston[(a100_0x1d4ebd(0x92))][(a100_0x1d4ebd(0xd5))](a100_0x47b83d),'loggerFile':new winston[(a100_0x1d4ebd(0x92))]['File']({'filename':path[a100_0x1d4ebd(0xbb)](logDir,a100_0x1d4ebd(0xab))}),'debugLoggerFile':new winston[(a100_0x1d4ebd(0x92))]['File']({'filename':path[a100_0x1d4ebd(0xbb)](logDir,'/usage-debug.log'),'level':'silly'}),'debugCliLoggerFile':new winston['transports'][(a100_0x1d4ebd(0xb5))]({'filename':path['join'](logDir,a100_0x1d4ebd(0xb1)),'level':a100_0x1d4ebd(0xc7)}),'buildLinkTransport':new winston[(a100_0x1d4ebd(0x92))]['File']({'filename':path['join'](logDir,a100_0x1d4ebd(0xab)),'level':a100_0x1d4ebd(0xc7)})},automationTransports={};process[a100_0x1d4ebd(0xa5)][a100_0x1d4ebd(0xa8)]==='true'&&(automationTransports[a100_0x1d4ebd(0xa2)]=new winston[(a100_0x1d4ebd(0x92))][(a100_0x1d4ebd(0xb5))]({'filename':path[a100_0x1d4ebd(0xbb)](logDir,'automation.log'),'level':a100_0x1d4ebd(0xc7)}));transports[a100_0x1d4ebd(0xd4)]['on'](a100_0x1d4ebd(0xba),_0x530e70=>{const _0x2a4857=a100_0x1d4ebd,_0x25b2ad={};_0x25b2ad['Xwzsj']=function(_0x5bf384,_0x2278ad){return _0x5bf384===_0x2278ad;},_0x25b2ad[_0x2a4857(0xbe)]=_0x2a4857(0xc6),_0x25b2ad[_0x2a4857(0xd8)]=_0x2a4857(0xc4);const _0x2a51a7=_0x25b2ad;if(_0x2a51a7[_0x2a4857(0xae)](_0x530e70[_0x2a4857(0xc3)],_0x2a51a7[_0x2a4857(0xbe)])){console[_0x2a4857(0x99)](_0x2a51a7[_0x2a4857(0xd8)],_0x530e70['message']);return;}throw _0x530e70;});const a100_0x1a0497={};a100_0x1a0497[a100_0x1d4ebd(0xbc)]=a100_0x1d4ebd(0xa0);const a100_0x1a3614={};a100_0x1a3614[a100_0x1d4ebd(0xaa)]=!![];const winstonLoggerParams={'format':winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xa6)](winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xbd)](a100_0x1a0497),winston[a100_0x1d4ebd(0xbc)]['colorize'](a100_0x1a3614),winston['format'][a100_0x1d4ebd(0x95)](_0x31016c=>_0x31016c[a100_0x1d4ebd(0xbd)]+'\x20-\x20'+_0x31016c[a100_0x1d4ebd(0xaa)]+':\x20'+_0x31016c['message'])),'transports':[transports[a100_0x1d4ebd(0xd4)]]},a100_0x5ad2de={};a100_0x5ad2de[a100_0x1d4ebd(0xbc)]='YYYY-MM-DD\x20HH:mm:ss';function a100_0x4c75(){const _0x30e78b=['replace','MyhCk','buildLogger','transports','9890811vVCWMz','http','printf','vubfW','stringify','info','log','989540DsMmEV','accessKey','1590644gSkxvU','8iPzeZC','zUWTo','debug','YYYY-MM-DD\x20HH:mm:ss','debugLoggerFile','automationLoggerFile','add','../bin/utils/constants','env','combine','winston','BROWSERSTACK_AUTOMATION_LOGS','userName','level','/usage.log','getLogDir','createLogger','Xwzsj','8lkLpYK','38398Djwoat','/sdk-cli-debug.log','uncolorize','loggerFile','fileLogger','File','winstonLogger','7712660FcfMDn','JBcSF','initialize','error','join','format','timestamp','lbKlq','string','mkdirSync','wvykw','48HTjUpF','code','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','8qwoyqs','EPIPE','silly','0|1|5|2|3|4','UltvQ','colorize','session','[REDACTED]','logDir','message','warn','xnEOc','582533VepRYE','config','buildLinkTransport','loggerConsole','Console','existsSync','1287102zsbSfy','yrfxJ','BROWSERSTACK_INTERNAL_LOG_DIR','true','console.info'];a100_0x4c75=function(){return _0x30e78b;};return a100_0x4c75();}function a100_0x5666(_0x2701d5,_0x60d1bc){const _0x4c75fd=a100_0x4c75();return a100_0x5666=function(_0x56669e,_0x48b743){_0x56669e=_0x56669e-0x8e;let _0x2283f0=_0x4c75fd[_0x56669e];return _0x2283f0;},a100_0x5666(_0x2701d5,_0x60d1bc);}const a100_0x59fbca={};a100_0x59fbca[a100_0x1d4ebd(0xaa)]=!![];const winstonFileLoggerParams={'format':winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xa6)](winston[a100_0x1d4ebd(0xbc)]['timestamp'](a100_0x5ad2de),winston['format'][a100_0x1d4ebd(0xca)](a100_0x59fbca),winston['format'][a100_0x1d4ebd(0x95)](_0x26df8f=>_0x26df8f[a100_0x1d4ebd(0xaa)]+':\x20'+_0x26df8f[a100_0x1d4ebd(0xce)])),'transports':[]},a100_0x26d354={};a100_0x26d354[a100_0x1d4ebd(0xbc)]=a100_0x1d4ebd(0xa0);const a100_0x4faf7b={};a100_0x4faf7b[a100_0x1d4ebd(0xaa)]=!![];const a100_0x235630={};a100_0x235630[a100_0x1d4ebd(0xaa)]=a100_0x1d4ebd(0xc7);const BuildLoggerParams={'format':winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xa6)](winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xbd)](a100_0x26d354),winston[a100_0x1d4ebd(0xbc)]['colorize'](a100_0x4faf7b),winston[a100_0x1d4ebd(0xbc)]['printf'](_0x3768c9=>_0x3768c9['timestamp']+'\x20-\x20'+_0x3768c9[a100_0x1d4ebd(0xaa)]+':\x20'+_0x3768c9[a100_0x1d4ebd(0xce)])),'transports':[transports[a100_0x1d4ebd(0xd3)],new winston[(a100_0x1d4ebd(0x92))][(a100_0x1d4ebd(0xd5))](a100_0x235630)]},a100_0x3788b9={};a100_0x3788b9[a100_0x1d4ebd(0x94)]=()=>{},a100_0x3788b9[a100_0x1d4ebd(0x98)]=()=>{},a100_0x3788b9[a100_0x1d4ebd(0xcf)]=()=>{},a100_0x3788b9[a100_0x1d4ebd(0xba)]=()=>{},a100_0x3788b9[a100_0x1d4ebd(0x9f)]=()=>{},a100_0x3788b9[a100_0x1d4ebd(0xc7)]=()=>{},exports['automationLogger']=process[a100_0x1d4ebd(0xa5)][a100_0x1d4ebd(0xa8)]===a100_0x1d4ebd(0xda)?winston[a100_0x1d4ebd(0xad)]({'format':winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xa6)](winston[a100_0x1d4ebd(0xbc)][a100_0x1d4ebd(0xb2)](),winston['format'][a100_0x1d4ebd(0xbd)](),logFormat(),winston[a100_0x1d4ebd(0xbc)]['printf'](_0x1bb860=>_0x1bb860[a100_0x1d4ebd(0xaa)]+':\x20'+_0x1bb860['message'])),'transports':[automationTransports[a100_0x1d4ebd(0xa2)]]}):a100_0x3788b9;const initialize=()=>{const _0x17d5fc=a100_0x1d4ebd,_0x6aa7f8={};_0x6aa7f8[_0x17d5fc(0xc9)]=_0x17d5fc(0xc8),_0x6aa7f8['vubfW']=_0x17d5fc(0xc7);const _0x3d4878=_0x6aa7f8,_0x26d6c3=_0x3d4878['UltvQ']['split']('|');let _0x5d24b2=0x0;while(!![]){switch(_0x26d6c3[_0x5d24b2++]){case'0':transports[_0x17d5fc(0xb3)]=new winston[(_0x17d5fc(0x92))][(_0x17d5fc(0xb5))]({'filename':path[_0x17d5fc(0xbb)](exports[_0x17d5fc(0xcd)],LOG_FILE_NAME)});continue;case'1':transports[_0x17d5fc(0xa1)]=new winston[(_0x17d5fc(0x92))][(_0x17d5fc(0xb5))]({'filename':path['join'](exports[_0x17d5fc(0xcd)],DEBUG_LOG_FILE_NAME),'level':_0x3d4878[_0x17d5fc(0x96)]});continue;case'2':exports[_0x17d5fc(0xb6)][_0x17d5fc(0xa3)](transports[_0x17d5fc(0xa1)]);continue;case'3':exports[_0x17d5fc(0xb4)][_0x17d5fc(0xa3)](transports['loggerFile']);continue;case'4':exports[_0x17d5fc(0xb4)][_0x17d5fc(0xa3)](transports['debugLoggerFile']);continue;case'5':exports['winstonLogger'][_0x17d5fc(0xa3)](transports[_0x17d5fc(0xb3)]);continue;}break;}};exports[a100_0x1d4ebd(0xb6)]=new winston[(a100_0x1d4ebd(0xad))](winstonLoggerParams),exports[a100_0x1d4ebd(0xb4)]=new winston['createLogger'](winstonFileLoggerParams),exports[a100_0x1d4ebd(0x91)]=new winston[(a100_0x1d4ebd(0xad))](BuildLoggerParams),exports[a100_0x1d4ebd(0xcd)]=logDir,exports[a100_0x1d4ebd(0xac)]=()=>{const _0x11c204=a100_0x1d4ebd;return exports[_0x11c204(0xcd)];},exports[a100_0x1d4ebd(0x92)]=transports,exports[a100_0x1d4ebd(0xb9)]=initialize;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a101_0x34cc(_0x965a94,_0x8ebe59){const _0x33d323=a101_0x33d3();return a101_0x34cc=function(_0x34ccd9,_0x350726){_0x34ccd9=_0x34ccd9-0x1ae;let _0x4b7dc7=_0x33d323[_0x34ccd9];return _0x4b7dc7;},a101_0x34cc(_0x965a94,_0x8ebe59);}const a101_0x196541=a101_0x34cc;(function(_0x763436,_0x59f5e8){const _0x22e565=a101_0x34cc,_0x26efc8=_0x763436();while(!![]){try{const _0x6c0ea4=-parseInt(_0x22e565(0x1cb))/0x1+parseInt(_0x22e565(0x1c5))/0x2*(-parseInt(_0x22e565(0x1bc))/0x3)+parseInt(_0x22e565(0x1c3))/0x4*(-parseInt(_0x22e565(0x1b9))/0x5)+parseInt(_0x22e565(0x1c1))/0x6*(-parseInt(_0x22e565(0x1b0))/0x7)+-parseInt(_0x22e565(0x1b7))/0x8*(parseInt(_0x22e565(0x1bb))/0x9)+parseInt(_0x22e565(0x1cf))/0xa*(parseInt(_0x22e565(0x1c6))/0xb)+parseInt(_0x22e565(0x1b8))/0xc;if(_0x6c0ea4===_0x59f5e8)break;else _0x26efc8['push'](_0x26efc8['shift']());}catch(_0x138cd1){_0x26efc8['push'](_0x26efc8['shift']());}}}(a101_0x33d3,0xd8852));function a101_0x33d3(){const _0x51e208=['string','25328YfAbzg','22MjqDzu','get','lcnc','XuCnn','qFeiC','499572KawGrg','testMeta','jNyGk','setGlobal','7078690iChRtw','winstonLogger','testMeta-','getGlobal','203jkyPoE','vHDwP','The\x20metadata\x20object\x20is\x20not\x20valid.','BkDir','bEXMf','identifier','testRunUUID','213296dVQWaq','21665400VFBALW','5XxkMWg','./logger','153TYDGbJ','21sudKPl','./helper','aIHcI','exports','getCentralUser','206016kAOwZQ','./globals','1188416JlJYJD'];a101_0x33d3=function(){return _0x51e208;};return a101_0x33d3();}const globals=require(a101_0x196541(0x1c2)),helper=require(a101_0x196541(0x1bd)),logger=require(a101_0x196541(0x1ba))[a101_0x196541(0x1d0)];module[a101_0x196541(0x1bf)]=class TestMetadata{static['set'](_0x41f72a={}){const _0x2573c1=a101_0x196541,_0x30a9b9={};_0x30a9b9[_0x2573c1(0x1cd)]=_0x2573c1(0x1b6),_0x30a9b9[_0x2573c1(0x1c9)]=function(_0x4937f6,_0x27bfc1){return _0x4937f6===_0x27bfc1;},_0x30a9b9['BkDir']=_0x2573c1(0x1c4),_0x30a9b9['aIHcI']=function(_0x1ab136,_0x396dec){return _0x1ab136<=_0x396dec;},_0x30a9b9[_0x2573c1(0x1ca)]=_0x2573c1(0x1cc),_0x30a9b9['bEXMf']=_0x2573c1(0x1b2);const _0x4815ad=_0x30a9b9,_0x1831f3=globals[_0x2573c1(0x1af)](_0x4815ad[_0x2573c1(0x1cd)]),_0x26a2ea=_0x41f72a[_0x2573c1(0x1b5)];helper['getCentralUser']()[_0x2573c1(0x1c8)]&&(_0x4815ad[_0x2573c1(0x1c9)](typeof _0x26a2ea,_0x4815ad[_0x2573c1(0x1b3)])&&_0x4815ad[_0x2573c1(0x1be)](_0x26a2ea['length'],0x28)?_0x1831f3?globals['setGlobal']('testMeta-'+_0x1831f3,_0x41f72a):globals[_0x2573c1(0x1ce)](_0x4815ad[_0x2573c1(0x1ca)],_0x41f72a):logger['warn'](_0x4815ad[_0x2573c1(0x1b4)]));}static[a101_0x196541(0x1c7)](_0x26a7d2){const _0x22ccda=a101_0x196541,_0x38a63d={};_0x38a63d['vHDwP']=_0x22ccda(0x1cc);const _0x42b13d=_0x38a63d;if(helper[_0x22ccda(0x1c0)]()[_0x22ccda(0x1c8)])return globals[_0x22ccda(0x1af)](_0x22ccda(0x1ae)+_0x26a7d2)||globals[_0x22ccda(0x1af)](_0x42b13d[_0x22ccda(0x1b1)])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a101_0x497a(_0x552646,_0x47f1d9){const _0x441a00=a101_0x441a();return a101_0x497a=function(_0x497ab5,_0x2e6900){_0x497ab5=_0x497ab5-0xf5;let _0x26cea5=_0x441a00[_0x497ab5];return _0x26cea5;},a101_0x497a(_0x552646,_0x47f1d9);}function a101_0x441a(){const _0x1c5fd6=['UZzQQ','10288122zSVoyC','HJwBh','isBrowserstackInfra','PzXIg','./ai-sdk/autoHealHelper','aiHeal_isHealingEnabled','ypqsZ','debug','Error\x20in\x20handling\x20TCG\x20Auth:\x20','agvVf','getGlobal','KVwIT','css\x20selector','aiHeal:findElementSuccess','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','ecIOS','executeAsyncScript','CeNoN','4xpusIn','14KuGYVG','qnoxn','info','blomW','zrzjM','620436LEjufp','silly','response','SVRsI','error','35388kEdhAo','body','jSPuv','tYumi','MAWkX','tdnKJ','using','initExecute','pYOjU','AuCRi','nCKvo','parameters','isSelfHealEnabled','818470xPBYfq','findElement\x20command\x20failed\x20with\x20','UTWxo','QWZSk','9043865lsDNsu','2aHyqRF','Ylxby','parameters_','mduyw','WLbBp','AUTOMATION_LOG_COMMANDS','setAiSessionTimeStamp','591966lmpKAw','ecrqe','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','Successfully\x20healed\x20command\x20using\x20new\x20','hlZWg','url','swyOb','NoSuchElementError','sMtdI','lrCeV','./performance/performance-tester','QsQRh','request','value','NUDGE_LOCAL_ERRORS','MjYQG','pTiPF','IJmmU','uNZdM','IStPz','EjACg','vxwvB','4778607kSsIhC','browserstack.local','CsMis','measureWrapper','util','FLiLi','./helper','execute','mPMDk','InKsR','overrideExecute','qURmf','zgMkN','VQdSm','AKoIG','handleSuccess','findElement\x20command\x20failed\x20with\x20cssPath:\x20','getNudgeLocalNotSetError','rnlSV','name','24HZdnld','dPedl','KgfAP','AXWxw','capability','HJQSG','findElement','POST_EXECUTE','BAMbR','143SfoOjE','Healing\x20failed\x20for\x20command\x20using\x20','patchExecute','bstack:options','WzMPa','handleFailure','yBtTW','executeScript','AErYd','local','aNNnH','aiSdk_defaultLogDataEnabled','toISOString','nestedKeyValue','name_','TqDJl','includes','IREdY','432ecFLQr','../bin/utils/constants','aiHeal_isAuthenticated','getSession','./performance/constants','find','AlYFs','aiHeal:findElementFailure','jtrOz','./ai-sdk/aiSdkWrapper','./logger','lnPrY','GJkQf','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','format',';\x20Trying\x20to\x20heal','command','skipHealingSuccess','message'];a101_0x441a=function(){return _0x1c5fd6;};return a101_0x441a();}const a101_0x55f197=a101_0x497a;(function(_0x3a3d94,_0x1709f6){const _0x3ec75d=a101_0x497a,_0x3305f1=_0x3a3d94();while(!![]){try{const _0x43ef53=parseInt(_0x3ec75d(0x108))/0x1+-parseInt(_0x3ec75d(0x11f))/0x2*(-parseInt(_0x3ec75d(0x13c))/0x3)+-parseInt(_0x3ec75d(0x102))/0x4*(parseInt(_0x3ec75d(0x11e))/0x5)+-parseInt(_0x3ec75d(0x126))/0x6*(parseInt(_0x3ec75d(0x103))/0x7)+parseInt(_0x3ec75d(0x16b))/0x8*(parseInt(_0x3ec75d(0x10d))/0x9)+parseInt(_0x3ec75d(0x11a))/0xa*(-parseInt(_0x3ec75d(0x159))/0xb)+-parseInt(_0x3ec75d(0x150))/0xc*(-parseInt(_0x3ec75d(0x17f))/0xd);if(_0x43ef53===_0x1709f6)break;else _0x3305f1['push'](_0x3305f1['shift']());}catch(_0x67d7dc){_0x3305f1['push'](_0x3305f1['shift']());}}}(a101_0x441a,0xe514b));const {aiSdkWrapper}=require(a101_0x55f197(0x174)),{commandRepository}=require(a101_0x55f197(0x183)),PerformanceTester=require(a101_0x55f197(0x130)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a101_0x55f197(0x175)),helper=require(a101_0x55f197(0x142)),constants=require(a101_0x55f197(0x16c)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a101_0x55f197(0x16f)),util=require(a101_0x55f197(0x140));exports[a101_0x55f197(0x146)]=(_0x21e93f,_0x12d60e)=>{const _0x50a7fe=a101_0x55f197,_0x5513d8={'TqDJl':_0x50a7fe(0x16d),'GJkQf':'aiHeal:setToken','EjACg':function(_0x4d920b){return _0x4d920b();},'qURmf':_0x50a7fe(0x164),'dPedl':function(_0x3579dc,_0x51fb7b){return _0x3579dc===_0x51fb7b;},'Ejyfo':_0x50a7fe(0x156),'pYOjU':_0x50a7fe(0xf5),'yBtTW':_0x50a7fe(0xfd),'blomW':function(_0x2be0d2){return _0x2be0d2();},'AlYFs':_0x50a7fe(0x178),'xaBQu':_0x50a7fe(0x12d),'htkXe':'JavascriptError','VOmPO':_0x50a7fe(0xfc),'lrCeV':function(_0x2ea6ec,_0x168c77){return _0x2ea6ec+_0x168c77;},'HJwBh':function(_0x389d77,_0x38ae05){return _0x389d77+_0x38ae05;},'MAWkX':_0x50a7fe(0x14c),'QWZSk':_0x50a7fe(0x17a),'CsMis':_0x50a7fe(0x11b),'mduyw':_0x50a7fe(0x172),'QsQRh':function(_0x496a24,_0x303066){return _0x496a24&&_0x303066;},'oziuS':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','AKoIG':_0x50a7fe(0x129),'AuCRi':_0x50a7fe(0x128),'AsUfB':_0x50a7fe(0x15a),'IJmmU':'get','AErYd':'parameters_','swyOb':'url','sMtdI':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','ypqsZ':_0x50a7fe(0x100),'pTiPF':function(_0x2c8d97,_0x31ddab){return _0x2c8d97===_0x31ddab;},'tdnKJ':_0x50a7fe(0x160),'AXWxw':function(_0xbb66a0,_0x19e8a0){return _0xbb66a0===_0x19e8a0;},'vxwvB':'string','WLbBp':_0x50a7fe(0x154),'WzMPa':_0x50a7fe(0x13d),'IREdY':_0x50a7fe(0x15c),'uNZdM':_0x50a7fe(0x162)},_0x4f714f=_0x21e93f[_0x50a7fe(0x15b)]||(helper[_0x50a7fe(0x166)](_0x12d60e,[_0x5513d8[_0x50a7fe(0x123)],_0x5513d8[_0x50a7fe(0x15d)]])||helper['nestedKeyValue'](_0x12d60e,[_0x5513d8[_0x50a7fe(0x123)],_0x5513d8[_0x50a7fe(0x16a)],_0x5513d8[_0x50a7fe(0x138)]]));if(!globals[_0x50a7fe(0xfa)](_0x5513d8['TqDJl'])&&!globals['getGlobal'](_0x5513d8[_0x50a7fe(0x115)])&&_0x4f714f)return;_0x21e93f[_0x50a7fe(0x15b)]=!![],_0x21e93f[_0x50a7fe(0x114)]=_0x21e93f[_0x50a7fe(0x143)],_0x21e93f[_0x50a7fe(0x143)]=async _0x16c559=>{const _0x21947b=_0x50a7fe,_0xb7e931={'aNNnH':_0x5513d8[_0x21947b(0x168)],'KVwIT':_0x5513d8[_0x21947b(0x147)],'MjYQG':function(_0x107689,_0x11e99d){const _0x21b822=_0x21947b;return _0x5513d8[_0x21b822(0x151)](_0x107689,_0x11e99d);},'zrzjM':_0x5513d8['Ejyfo'],'PzXIg':_0x5513d8['pYOjU'],'KgfAP':_0x5513d8[_0x21947b(0x15f)],'Ylxby':function(_0x31e64a){const _0x5009c6=_0x21947b;return _0x5513d8[_0x5009c6(0x106)](_0x31e64a);},'UZzQQ':_0x5513d8[_0x21947b(0x171)],'HJQSG':function(_0x3cf79b,_0x315ef9){const _0x1aec19=_0x21947b;return _0x5513d8[_0x1aec19(0x151)](_0x3cf79b,_0x315ef9);},'jSPuv':_0x5513d8['xaBQu'],'lnPrY':_0x5513d8['htkXe'],'qnoxn':function(_0x642fa0,_0x25ef63){const _0x87c878=_0x21947b;return _0x5513d8[_0x87c878(0x151)](_0x642fa0,_0x25ef63);},'nCKvo':_0x5513d8['VOmPO'],'CeNoN':function(_0x44c3ac,_0x4e51b5){return _0x5513d8['lrCeV'](_0x44c3ac,_0x4e51b5);},'IStPz':function(_0x1ce72a,_0x473b81){return _0x5513d8['HJwBh'](_0x1ce72a,_0x473b81);},'zgMkN':_0x5513d8[_0x21947b(0x111)],'hlZWg':_0x5513d8[_0x21947b(0x11d)],'VQdSm':function(_0x5872d8,_0x5d8bc3){const _0x3a1e47=_0x21947b;return _0x5513d8[_0x3a1e47(0x12f)](_0x5872d8,_0x5d8bc3);},'UTWxo':function(_0x1cd128,_0x4d0834){const _0x4e2d45=_0x21947b;return _0x5513d8[_0x4e2d45(0x180)](_0x1cd128,_0x4d0834);},'jtrOz':_0x5513d8[_0x21947b(0x13e)],'pgvGf':_0x5513d8[_0x21947b(0x122)],'tYumi':function(_0x738509,_0x2a6ff7){const _0x35ef58=_0x21947b;return _0x5513d8[_0x35ef58(0x131)](_0x738509,_0x2a6ff7);},'ecIOS':_0x5513d8['oziuS'],'mPMDk':function(_0x889013,_0xe58ba7){return _0x5513d8['HJwBh'](_0x889013,_0xe58ba7);},'SVRsI':function(_0x3d0f7a,_0x4253e2){const _0x2dfdce=_0x21947b;return _0x5513d8[_0x2dfdce(0x12f)](_0x3d0f7a,_0x4253e2);},'BAMbR':_0x5513d8[_0x21947b(0x14a)],'rnlSV':_0x5513d8[_0x21947b(0x116)],'nwpCP':_0x5513d8['AsUfB'],'InKsR':_0x5513d8[_0x21947b(0x137)],'ecrqe':_0x5513d8[_0x21947b(0x161)],'agvVf':_0x5513d8[_0x21947b(0x12c)],'FLiLi':_0x5513d8[_0x21947b(0x12e)]};try{const _0x1af143={};_0x1af143[_0x21947b(0x17b)]=_0x16c559['name_'],await PerformanceTester[_0x21947b(0x13f)](PerformanceDriverEvents['PRE_EXECUTE'],async()=>{const _0x3f7989=_0x21947b;if(!commandRepository['getTcgTokenStatus']()&&globals[_0x3f7989(0xfa)](_0x5513d8[_0x3f7989(0x168)])){const _0x2c726a=PerformanceTester[_0x3f7989(0x13f)](_0x5513d8[_0x3f7989(0x177)],async()=>{const _0x23b1ce=_0x3f7989;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper['setTcgToken']((await _0x21e93f[_0x23b1ce(0x16e)]())['getId']());const _0x10b1ea=globals[_0x23b1ce(0xfa)](_0xb7e931[_0x23b1ce(0x163)]);_0x10b1ea&&commandRepository[_0x23b1ce(0x125)]((await _0x21e93f[_0x23b1ce(0x16e)]())['getId']());}catch(_0x34483a){logger[_0x23b1ce(0x10c)](_0x23b1ce(0xf8)+_0x34483a);}});await _0x5513d8[_0x3f7989(0x13a)](_0x2c726a);}},_0x1af143)();const _0x4b0ab7=await _0x21e93f[_0x21947b(0x114)](_0x16c559);try{if(_0x5513d8[_0x21947b(0x151)](_0x16c559[_0x21947b(0x167)],_0x5513d8[_0x21947b(0xf6)])||_0x5513d8[_0x21947b(0x136)](_0x16c559['name_'],_0x5513d8[_0x21947b(0x112)])){const _0x519808=_0x16c559[_0x21947b(0x121)]&&_0x16c559[_0x21947b(0x121)]['script'],_0xcaf4d1=_0x16c559[_0x21947b(0x121)]&&_0x16c559['parameters_']['args'],_0x3990ed=_0xcaf4d1&&util[_0x21947b(0x179)]('%j',_0xcaf4d1);if(_0x519808&&_0x5513d8[_0x21947b(0x153)](typeof _0x519808,_0x5513d8[_0x21947b(0x13b)])){const _0x2f6dec=constants[_0x21947b(0x124)][_0x21947b(0x170)](_0x3ee28d=>_0x519808[_0x21947b(0x169)](_0x3ee28d)||_0x3990ed&&_0x3990ed[_0x21947b(0x169)](_0x3ee28d));if(_0x2f6dec){const _0x141a24={};_0x141a24[_0x21947b(0x17b)]=_0x2f6dec,_0x141a24[_0x21947b(0x118)]=_0xcaf4d1;const _0x57c15d={};_0x57c15d[_0x21947b(0x10e)]=_0x4b0ab7;const _0x95260b={};_0x95260b[_0x21947b(0x132)]=_0x141a24,_0x95260b[_0x21947b(0x10a)]=_0x57c15d,automationLogger[_0x21947b(0x109)]('['+new Date()[_0x21947b(0x165)]()+'][\x20SDK-AUTOMATION\x20]\x20'+util[_0x21947b(0x179)]('%j',_0x95260b));}}}}catch(_0x49815e){logger[_0x21947b(0x109)](_0x21947b(0xfe)+_0x49815e[_0x21947b(0x17d)]);}return await PerformanceTester[_0x21947b(0x13f)](PerformanceDriverEvents[_0x21947b(0x157)],async()=>{const _0x514ad3=_0x21947b;if(!helper[_0x514ad3(0x181)]()&&(commandRepository['isSelfHealEnabled']()||globals[_0x514ad3(0xfa)](_0xb7e931[_0x514ad3(0xfb)]))&&_0xb7e931[_0x514ad3(0x135)](_0x16c559['name_'],_0xb7e931[_0x514ad3(0x107)])&&!_0x16c559[_0x514ad3(0x17c)]&&globals[_0x514ad3(0xfa)](_0xb7e931[_0x514ad3(0x163)])&&globals[_0x514ad3(0xfa)](_0xb7e931[_0x514ad3(0x182)])){const _0x270bbd=new Date(),_0x108194=PerformanceTester[_0x514ad3(0x13f)](_0xb7e931[_0x514ad3(0x152)],async()=>{const _0x1a9662=_0x514ad3;return await aiSdkWrapper[_0x1a9662(0x14b)](_0x12d60e,_0x21e93f,_0x16c559);});await _0xb7e931[_0x514ad3(0x120)](_0x108194);}},{'command':_0x16c559[_0x21947b(0x167)]})(),_0x4b0ab7;}catch(_0x16fc23){await PerformanceTester[_0x21947b(0x13f)](PerformanceDriverEvents[_0x21947b(0x157)],async()=>{const _0x282e7e=_0x21947b;logger[_0x282e7e(0xf7)](_0xb7e931[_0x282e7e(0x17e)]);try{if(!helper[_0x282e7e(0x181)]()&&(_0xb7e931[_0x282e7e(0x155)](_0x16fc23['name'],_0xb7e931[_0x282e7e(0x10f)])||_0xb7e931[_0x282e7e(0x135)](_0x16fc23[_0x282e7e(0x14f)],_0xb7e931[_0x282e7e(0x176)]))&&_0xb7e931[_0x282e7e(0x104)](_0x16c559['name_'],_0xb7e931['zrzjM'])&&commandRepository[_0x282e7e(0x119)]()&&globals[_0x282e7e(0xfa)](_0xb7e931['aNNnH'])&&globals['getGlobal'](_0xb7e931[_0x282e7e(0x182)])){_0xb7e931[_0x282e7e(0x135)](_0x16c559[_0x282e7e(0x121)][_0x282e7e(0x113)],_0xb7e931[_0x282e7e(0x117)])?logger[_0x282e7e(0x105)](_0xb7e931['CeNoN'](_0xb7e931[_0x282e7e(0x139)](_0xb7e931[_0x282e7e(0x148)],_0x16c559[_0x282e7e(0x121)][_0x282e7e(0x133)]),_0xb7e931[_0x282e7e(0x12a)])):logger[_0x282e7e(0x105)](_0xb7e931[_0x282e7e(0x149)](_0xb7e931[_0x282e7e(0x101)](_0xb7e931[_0x282e7e(0x139)](_0xb7e931[_0x282e7e(0x11c)](_0xb7e931[_0x282e7e(0x173)],_0x16c559['parameters_'][_0x282e7e(0x113)]),':\x20'),_0x16c559['parameters_'][_0x282e7e(0x133)]),_0xb7e931[_0x282e7e(0x12a)]));const _0x19a69c=PerformanceTester[_0x282e7e(0x13f)](_0xb7e931['pgvGf'],async()=>{const _0x446826=_0x282e7e;return await aiSdkWrapper[_0x446826(0x15e)](_0x12d60e,_0x21e93f,_0x16c559);}),_0x519fc6=new Date(),{locatorType:_0xaecf66,locatorValue:_0x3a4ee5,commandHealed:_0x3e0565}=await _0xb7e931['Ylxby'](_0x19a69c);if(_0xb7e931[_0x282e7e(0x110)](_0xaecf66,_0x3a4ee5)){_0x16c559['parameters_'][_0x282e7e(0x113)]=_0xaecf66,_0x16c559[_0x282e7e(0x121)][_0x282e7e(0x133)]=_0x3a4ee5,_0x16c559[_0x282e7e(0x17c)]=!![];const _0x378772=_0x21e93f[_0x282e7e(0x143)](_0x16c559);return _0xb7e931['qnoxn'](_0xaecf66,_0xb7e931[_0x282e7e(0x117)])?logger[_0x282e7e(0x105)](_0xb7e931['CeNoN'](_0xb7e931[_0x282e7e(0xff)],_0x3a4ee5)):logger[_0x282e7e(0x105)](_0xb7e931[_0x282e7e(0x101)](_0xb7e931[_0x282e7e(0x144)](_0xb7e931['SVRsI'](_0xb7e931[_0x282e7e(0x158)],_0xaecf66),':\x20'),_0x3a4ee5)),_0x378772;}else!_0x3e0565&&(_0xb7e931[_0x282e7e(0x104)](_0xaecf66,_0xb7e931['nCKvo'])?logger[_0x282e7e(0x105)](_0xb7e931['UTWxo'](_0xb7e931[_0x282e7e(0x14e)],_0x16c559[_0x282e7e(0x121)]['value'])):logger[_0x282e7e(0x105)](_0xb7e931[_0x282e7e(0x139)](_0xb7e931[_0x282e7e(0x10b)](_0xb7e931['CeNoN'](_0xb7e931['nwpCP'],_0x16c559[_0x282e7e(0x121)][_0x282e7e(0x113)]),':\x20'),_0x16c559[_0x282e7e(0x121)]['value'])));}!_0x4f714f&&_0xb7e931[_0x282e7e(0x155)](_0x16c559['name_'],_0xb7e931[_0x282e7e(0x145)])&&helper[_0x282e7e(0x166)](_0x16c559,[_0xb7e931[_0x282e7e(0x127)],_0xb7e931[_0x282e7e(0xf9)]])&&!!constants[_0x282e7e(0x134)][_0x282e7e(0x170)](_0x326be3=>{return _0x16fc23['toString']()['includes'](_0x326be3);})&&helper[_0x282e7e(0x14d)](_0x16c559[_0x282e7e(0x121)][_0x282e7e(0x12b)],!![]);}catch(_0x3d6e49){logger['debug'](_0xb7e931[_0x282e7e(0x141)],_0x3d6e49);}},{'success':![],'failure':_0x16fc23})();throw _0x16fc23;}};};
|
|
1
|
+
const a102_0x4e52fa=a102_0x49bd;(function(_0x398d01,_0x38ffcd){const _0x24cb7e=a102_0x49bd,_0x24d24d=_0x398d01();while(!![]){try{const _0x3e010f=parseInt(_0x24cb7e(0x1d0))/0x1*(-parseInt(_0x24cb7e(0x1dd))/0x2)+-parseInt(_0x24cb7e(0x21b))/0x3+parseInt(_0x24cb7e(0x1fd))/0x4*(parseInt(_0x24cb7e(0x200))/0x5)+-parseInt(_0x24cb7e(0x20d))/0x6*(parseInt(_0x24cb7e(0x1ff))/0x7)+parseInt(_0x24cb7e(0x1e5))/0x8+-parseInt(_0x24cb7e(0x1e6))/0x9+parseInt(_0x24cb7e(0x1ce))/0xa;if(_0x3e010f===_0x38ffcd)break;else _0x24d24d['push'](_0x24d24d['shift']());}catch(_0x45f75d){_0x24d24d['push'](_0x24d24d['shift']());}}}(a102_0x5058,0xb8b3d));const {aiSdkWrapper}=require(a102_0x4e52fa(0x1fe)),{commandRepository}=require(a102_0x4e52fa(0x1aa)),PerformanceTester=require(a102_0x4e52fa(0x1f3)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require(a102_0x4e52fa(0x1ee)),constants=require(a102_0x4e52fa(0x225)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a102_0x4e52fa(0x226)),util=require(a102_0x4e52fa(0x209));exports['overrideExecute']=(_0x403dcf,_0x1b4d28)=>{const _0x2cee9e=a102_0x4e52fa,_0x436fb0={'gsSJc':_0x2cee9e(0x1a0),'scrwn':_0x2cee9e(0x1c3),'jGXMy':function(_0x9e0c29){return _0x9e0c29();},'JjiIF':_0x2cee9e(0x1c9),'kkLLZ':function(_0x34e9a7,_0x16c3f9){return _0x34e9a7===_0x16c3f9;},'BGeuM':'findElement','uaKcn':'aiHeal_isHealingEnabled','SmtVt':_0x2cee9e(0x1e0),'khpfv':_0x2cee9e(0x1a6),'WFPBK':_0x2cee9e(0x1f0),'kCDXq':'JavascriptError','KziQB':function(_0x1ee745,_0x510c05){return _0x1ee745===_0x510c05;},'NmgoI':_0x2cee9e(0x222),'GdXBi':function(_0x2176bb,_0x3d23a9){return _0x2176bb+_0x3d23a9;},'UcxCs':_0x2cee9e(0x1db),'YsHtM':_0x2cee9e(0x1a5),'MAgDu':function(_0x22bfec,_0x6103aa){return _0x22bfec+_0x6103aa;},'buiff':function(_0x469bbf,_0x2de53d){return _0x469bbf+_0x2de53d;},'eyfHA':_0x2cee9e(0x212),'xLKZv':_0x2cee9e(0x1d6),'Xftum':function(_0x28044b,_0x2f4e2a){return _0x28044b&&_0x2f4e2a;},'ivdoK':function(_0x47147c,_0x2ed5bd){return _0x47147c===_0x2ed5bd;},'EvVGx':function(_0x56901c,_0x2b76de){return _0x56901c+_0x2b76de;},'ailmP':_0x2cee9e(0x1da),'aXHkH':_0x2cee9e(0x1fa),'kJzzI':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','hlMdd':_0x2cee9e(0x214),'ZycoX':_0x2cee9e(0x1ab),'DuqtX':_0x2cee9e(0x1d4),'cTVew':_0x2cee9e(0x1d9),'xPVri':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','XXkHC':_0x2cee9e(0x207),'OLbiq':_0x2cee9e(0x1c6),'CPFZB':function(_0x594063,_0x30e07e){return _0x594063===_0x30e07e;},'gEhfx':'string','ydThq':'capability','FKwTl':'browserstack.local','HhRud':_0x2cee9e(0x1c8),'ocRdk':_0x2cee9e(0x1d5)},_0x145105=_0x403dcf[_0x2cee9e(0x1ea)]||(helper[_0x2cee9e(0x1fc)](_0x1b4d28,[_0x436fb0[_0x2cee9e(0x1eb)],_0x436fb0[_0x2cee9e(0x1ef)]])||helper[_0x2cee9e(0x1fc)](_0x1b4d28,[_0x436fb0['ydThq'],_0x436fb0[_0x2cee9e(0x20e)],_0x436fb0[_0x2cee9e(0x1d7)]]));if(!globals[_0x2cee9e(0x1b7)](_0x436fb0['gsSJc'])&&!globals['getGlobal'](_0x436fb0['uaKcn'])&&_0x145105)return;_0x403dcf[_0x2cee9e(0x1ea)]=!![],_0x403dcf[_0x2cee9e(0x1a3)]=_0x403dcf[_0x2cee9e(0x1b0)],_0x403dcf['execute']=async _0x3c3ab0=>{const _0xc1fff6=_0x2cee9e,_0x41cc21={'nlEUr':_0x436fb0[_0xc1fff6(0x208)],'qdICL':_0x436fb0[_0xc1fff6(0x1e8)],'SOwXR':function(_0x2af478,_0x5ec4cf){return _0x436fb0['kkLLZ'](_0x2af478,_0x5ec4cf);},'VEpWv':_0x436fb0[_0xc1fff6(0x217)],'zxNMv':_0x436fb0[_0xc1fff6(0x1d2)],'aacVx':_0x436fb0['SmtVt'],'ZcPtP':function(_0x3ba6e1){const _0x2b1e9a=_0xc1fff6;return _0x436fb0[_0x2b1e9a(0x221)](_0x3ba6e1);},'ZavMF':_0x436fb0[_0xc1fff6(0x1cc)],'YoAkX':_0x436fb0[_0xc1fff6(0x1c0)],'Kqqmq':function(_0x3c2092,_0x48802f){return _0x436fb0['kkLLZ'](_0x3c2092,_0x48802f);},'DwuKM':_0x436fb0['kCDXq'],'sdPrc':function(_0x7dd210,_0x2e5194){const _0x392cfc=_0xc1fff6;return _0x436fb0[_0x392cfc(0x20b)](_0x7dd210,_0x2e5194);},'aSlVg':function(_0x13ecf6,_0x102a5f){const _0x463a2e=_0xc1fff6;return _0x436fb0[_0x463a2e(0x1ae)](_0x13ecf6,_0x102a5f);},'lLhGm':_0x436fb0[_0xc1fff6(0x1ec)],'IEuVD':function(_0x76afb7,_0xd18de7){return _0x436fb0['GdXBi'](_0x76afb7,_0xd18de7);},'boYQe':_0x436fb0[_0xc1fff6(0x1b3)],'tMXOt':_0x436fb0[_0xc1fff6(0x1de)],'jFXaJ':function(_0x33ea74,_0x46cb8e){const _0x10d80c=_0xc1fff6;return _0x436fb0[_0x10d80c(0x213)](_0x33ea74,_0x46cb8e);},'dVJTi':function(_0x2cb459,_0x2d8f22){const _0x2cdad9=_0xc1fff6;return _0x436fb0[_0x2cdad9(0x1b9)](_0x2cb459,_0x2d8f22);},'TXekM':function(_0xeba52,_0x5de7f6){const _0x28a7e6=_0xc1fff6;return _0x436fb0[_0x28a7e6(0x1a1)](_0xeba52,_0x5de7f6);},'UojqR':_0x436fb0[_0xc1fff6(0x1c4)],'MSOIi':_0x436fb0[_0xc1fff6(0x201)],'auMYR':function(_0x1d492e){const _0x24bf46=_0xc1fff6;return _0x436fb0[_0x24bf46(0x221)](_0x1d492e);},'Qexqi':function(_0x438ba2,_0x1220e4){const _0x3c32b9=_0xc1fff6;return _0x436fb0[_0x3c32b9(0x1a2)](_0x438ba2,_0x1220e4);},'BLGoT':function(_0x282f8c,_0xfbf502){return _0x436fb0['ivdoK'](_0x282f8c,_0xfbf502);},'zIGhZ':function(_0x5b6923,_0xc49ba5){return _0x436fb0['EvVGx'](_0x5b6923,_0xc49ba5);},'AQtVN':_0x436fb0[_0xc1fff6(0x1af)],'bAdiA':_0x436fb0['aXHkH'],'XfrhY':_0x436fb0[_0xc1fff6(0x1b6)],'pEjGn':function(_0xbf356e,_0x5606d4){const _0x53b2d8=_0xc1fff6;return _0x436fb0[_0x53b2d8(0x1b9)](_0xbf356e,_0x5606d4);},'BgwkN':function(_0x1879ec,_0x29b497){const _0x3bb956=_0xc1fff6;return _0x436fb0[_0x3bb956(0x1b9)](_0x1879ec,_0x29b497);},'UTkrW':_0x436fb0[_0xc1fff6(0x1cd)],'vlGZE':function(_0x114cf4,_0x324ee5){const _0x4d9562=_0xc1fff6;return _0x436fb0[_0x4d9562(0x1d1)](_0x114cf4,_0x324ee5);},'YIaGh':_0x436fb0[_0xc1fff6(0x1c5)],'AErBG':_0x436fb0[_0xc1fff6(0x1b8)],'ogcBV':_0x436fb0[_0xc1fff6(0x1f1)],'UScpX':_0x436fb0[_0xc1fff6(0x1a4)]};try{const _0x178ddf={};_0x178ddf['command']=_0x3c3ab0[_0xc1fff6(0x19d)],await PerformanceTester[_0xc1fff6(0x1ed)](PerformanceDriverEvents['PRE_EXECUTE'],async()=>{const _0x267ce9=_0xc1fff6;if(!commandRepository[_0x267ce9(0x1e4)]()&&globals[_0x267ce9(0x1b7)](_0x436fb0['gsSJc'])){const _0x3618d7=PerformanceTester[_0x267ce9(0x1ed)](_0x436fb0[_0x267ce9(0x1ca)],async()=>{const _0x317b70=_0x267ce9;try{commandRepository[_0x317b70(0x21c)](!![]),await aiSdkWrapper[_0x317b70(0x1b2)]((await _0x403dcf['getSession']())[_0x317b70(0x20c)]());const _0x2a2775=globals[_0x317b70(0x1b7)](_0x41cc21[_0x317b70(0x1e9)]);_0x2a2775&&commandRepository['setAiSessionTimeStamp']((await _0x403dcf[_0x317b70(0x1c7)]())[_0x317b70(0x20c)]());}catch(_0x467104){logger['error']('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x467104);}});await _0x436fb0['jGXMy'](_0x3618d7);}},_0x178ddf)();const _0x32edc5=await _0x403dcf[_0xc1fff6(0x1a3)](_0x3c3ab0);try{if(_0x436fb0[_0xc1fff6(0x1d1)](_0x3c3ab0['name_'],_0x436fb0[_0xc1fff6(0x1e1)])||_0x436fb0[_0xc1fff6(0x20b)](_0x3c3ab0[_0xc1fff6(0x19d)],_0x436fb0[_0xc1fff6(0x1f8)])){const _0x3d7cfd=_0x3c3ab0[_0xc1fff6(0x1d4)]&&_0x3c3ab0['parameters_']['script'],_0x2b0476=_0x3c3ab0[_0xc1fff6(0x1d4)]&&_0x3c3ab0['parameters_']['args'],_0x34fc86=_0x2b0476&&util[_0xc1fff6(0x1f7)]('%j',_0x2b0476);if(_0x3d7cfd&&_0x436fb0[_0xc1fff6(0x1bd)](typeof _0x3d7cfd,_0x436fb0['gEhfx'])){const _0x368595=constants[_0xc1fff6(0x1a9)][_0xc1fff6(0x20f)](_0x3d6a21=>_0x3d7cfd['includes'](_0x3d6a21)||_0x34fc86&&_0x34fc86[_0xc1fff6(0x21a)](_0x3d6a21));if(_0x368595){const _0x301e15={};_0x301e15[_0xc1fff6(0x1f2)]=_0x368595,_0x301e15['parameters']=_0x2b0476;const _0xf8b473={};_0xf8b473[_0xc1fff6(0x1b5)]=_0x32edc5;const _0x4f1c00={};_0x4f1c00['request']=_0x301e15,_0x4f1c00[_0xc1fff6(0x220)]=_0xf8b473,automationLogger['silly']('['+new Date()[_0xc1fff6(0x1bf)]()+_0xc1fff6(0x1f6)+util[_0xc1fff6(0x1f7)]('%j',_0x4f1c00));}}}}catch(_0x208b86){logger[_0xc1fff6(0x216)](_0xc1fff6(0x1d3)+_0x208b86[_0xc1fff6(0x1f9)]);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x43a4a8=_0xc1fff6;if(!helper[_0x43a4a8(0x223)]()&&(commandRepository['isSelfHealEnabled']()||globals[_0x43a4a8(0x1b7)](_0x41cc21[_0x43a4a8(0x1ac)]))&&_0x41cc21['SOwXR'](_0x3c3ab0[_0x43a4a8(0x19d)],_0x41cc21[_0x43a4a8(0x1b4)])&&!_0x3c3ab0[_0x43a4a8(0x1a7)]&&globals['getGlobal'](_0x41cc21[_0x43a4a8(0x1e9)])&&globals[_0x43a4a8(0x1b7)](_0x41cc21['zxNMv'])){const _0x6b8205=new Date(),_0x17561b=PerformanceTester[_0x43a4a8(0x1ed)](_0x41cc21[_0x43a4a8(0x211)],async()=>{const _0x3892df=_0x43a4a8;return await aiSdkWrapper[_0x3892df(0x19e)](_0x1b4d28,_0x403dcf,_0x3c3ab0);});await _0x41cc21[_0x43a4a8(0x21f)](_0x17561b);}},{'command':_0x3c3ab0[_0xc1fff6(0x19d)]})(),_0x32edc5;}catch(_0x291f56){await PerformanceTester[_0xc1fff6(0x1ed)](PerformanceDriverEvents[_0xc1fff6(0x1dc)],async()=>{const _0x40cc22=_0xc1fff6;logger[_0x40cc22(0x206)](_0x41cc21[_0x40cc22(0x1d8)]);try{if(!helper['isBrowserstackInfra']()&&(_0x41cc21['SOwXR'](_0x291f56['name'],_0x41cc21[_0x40cc22(0x19f)])||_0x41cc21[_0x40cc22(0x1e7)](_0x291f56[_0x40cc22(0x1bc)],_0x41cc21['DwuKM']))&&_0x41cc21[_0x40cc22(0x202)](_0x3c3ab0['name_'],_0x41cc21[_0x40cc22(0x1b4)])&&commandRepository[_0x40cc22(0x218)]()&&globals[_0x40cc22(0x1b7)](_0x41cc21[_0x40cc22(0x1e9)])&&globals['getGlobal'](_0x41cc21['zxNMv'])){_0x41cc21[_0x40cc22(0x1cb)](_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x21d)],_0x41cc21[_0x40cc22(0x1b1)])?logger['info'](_0x41cc21['IEuVD'](_0x41cc21[_0x40cc22(0x1df)](_0x41cc21[_0x40cc22(0x205)],_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x210)]),_0x41cc21['tMXOt'])):logger['info'](_0x41cc21['jFXaJ'](_0x41cc21[_0x40cc22(0x20a)](_0x41cc21[_0x40cc22(0x1a8)](_0x41cc21[_0x40cc22(0x1f5)](_0x41cc21[_0x40cc22(0x215)],_0x3c3ab0[_0x40cc22(0x1d4)]['using']),':\x20'),_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x210)]),_0x41cc21[_0x40cc22(0x1cf)]));const _0x5213ad=PerformanceTester[_0x40cc22(0x1ed)](_0x41cc21['MSOIi'],async()=>{const _0x5154a6=_0x40cc22;return await aiSdkWrapper[_0x5154a6(0x1c1)](_0x1b4d28,_0x403dcf,_0x3c3ab0);}),_0x5a01c9=new Date(),{locatorType:_0x297adf,locatorValue:_0x5b1508,commandHealed:_0x549707}=await _0x41cc21[_0x40cc22(0x21e)](_0x5213ad);if(_0x41cc21['Qexqi'](_0x297adf,_0x5b1508)){_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x21d)]=_0x297adf,_0x3c3ab0['parameters_'][_0x40cc22(0x210)]=_0x5b1508,_0x3c3ab0[_0x40cc22(0x1a7)]=!![];const _0x5cecf8=_0x403dcf[_0x40cc22(0x1b0)](_0x3c3ab0);return _0x41cc21[_0x40cc22(0x204)](_0x297adf,_0x41cc21[_0x40cc22(0x1b1)])?logger[_0x40cc22(0x1f4)](_0x41cc21[_0x40cc22(0x203)](_0x41cc21[_0x40cc22(0x1e3)],_0x5b1508)):logger['info'](_0x41cc21['dVJTi'](_0x41cc21[_0x40cc22(0x1a8)](_0x41cc21[_0x40cc22(0x1df)](_0x41cc21['bAdiA'],_0x297adf),':\x20'),_0x5b1508)),_0x5cecf8;}else!_0x549707&&(_0x41cc21[_0x40cc22(0x202)](_0x297adf,_0x41cc21['lLhGm'])?logger['info'](_0x41cc21['TXekM'](_0x41cc21[_0x40cc22(0x1ad)],_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x210)])):logger[_0x40cc22(0x1f4)](_0x41cc21['pEjGn'](_0x41cc21['jFXaJ'](_0x41cc21['BgwkN'](_0x41cc21[_0x40cc22(0x1be)],_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x21d)]),':\x20'),_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x210)])));}!_0x145105&&_0x41cc21[_0x40cc22(0x224)](_0x3c3ab0[_0x40cc22(0x19d)],_0x41cc21[_0x40cc22(0x1bb)])&&helper['nestedKeyValue'](_0x3c3ab0,[_0x41cc21[_0x40cc22(0x1e2)],_0x41cc21[_0x40cc22(0x219)]])&&!!constants['NUDGE_LOCAL_ERRORS'][_0x40cc22(0x20f)](_0x2d560d=>{const _0x36079f=_0x40cc22;return _0x291f56[_0x36079f(0x1fb)]()[_0x36079f(0x21a)](_0x2d560d);})&&helper[_0x40cc22(0x1c2)](_0x3c3ab0[_0x40cc22(0x1d4)][_0x40cc22(0x1d9)],!![]);}catch(_0x29c678){logger['debug'](_0x41cc21[_0x40cc22(0x1ba)],_0x29c678);}},{'success':![],'failure':_0x291f56})();throw _0x291f56;}};};function a102_0x49bd(_0x46a2e4,_0x500933){const _0x5058e4=a102_0x5058();return a102_0x49bd=function(_0x49bd83,_0x225830){_0x49bd83=_0x49bd83-0x19d;let _0x1a8f35=_0x5058e4[_0x49bd83];return _0x1a8f35;},a102_0x49bd(_0x46a2e4,_0x500933);}function a102_0x5058(){const _0x427406=['message','Successfully\x20healed\x20command\x20using\x20new\x20','toString','nestedKeyValue','8EwHuYn','./ai-sdk/aiSdkWrapper','7VvQujA','1350255RlirnX','xLKZv','sdPrc','zIGhZ','BLGoT','boYQe','debug','executeAsyncScript','gsSJc','util','dVJTi','KziQB','getId','8290488dcihjP','HhRud','find','value','aacVx','findElement\x20command\x20failed\x20with\x20','GdXBi','Healing\x20failed\x20for\x20command\x20using\x20','UojqR','silly','BGeuM','isSelfHealEnabled','ogcBV','includes','3692211rlxEQu','setTcgTokenStatus','using','auMYR','ZcPtP','response','jGXMy','css\x20selector','isBrowserstackInfra','vlGZE','../bin/utils/constants','./performance/constants','name_','handleSuccess','YoAkX','aiHeal_isAuthenticated','buiff','Xftum','initExecute','xPVri',';\x20Trying\x20to\x20heal','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','skipHealingSuccess','jFXaJ','AUTOMATION_LOG_COMMANDS','./ai-sdk/autoHealHelper','get','qdICL','XfrhY','kkLLZ','ailmP','execute','lLhGm','setTcgToken','UcxCs','VEpWv','body','kJzzI','getGlobal','DuqtX','MAgDu','UScpX','YIaGh','name','CPFZB','UTkrW','toISOString','WFPBK','handleFailure','getNudgeLocalNotSetError','aiHeal:setToken','eyfHA','ZycoX','executeScript','getSession','bstack:options','aiSdk_defaultLogDataEnabled','scrwn','aSlVg','khpfv','hlMdd','40503960QCxiVq','tMXOt','16KwyYrH','ivdoK','uaKcn','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','parameters_','local','aiHeal:findElementFailure','ocRdk','ZavMF','url','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','findElement\x20command\x20failed\x20with\x20cssPath:\x20','POST_EXECUTE','182656gukTgY','YsHtM','IEuVD','aiHeal:findElementSuccess','XXkHC','AErBG','AQtVN','getTcgTokenStatus','7613368ZIerLs','6407055HnHtXI','Kqqmq','JjiIF','nlEUr','patchExecute','ydThq','NmgoI','measureWrapper','./helper','FKwTl','NoSuchElementError','cTVew','command','./performance/performance-tester','info','TXekM','][\x20SDK-AUTOMATION\x20]\x20','format','OLbiq'];a102_0x5058=function(){return _0x427406;};return a102_0x5058();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a103_0x3e09(_0x1499d7,_0x39daaf){const _0x3e758a=a103_0x3e75();return a103_0x3e09=function(_0x3e0912,_0x142d91){_0x3e0912=_0x3e0912-0x153;let _0x19ad2f=_0x3e758a[_0x3e0912];return _0x19ad2f;},a103_0x3e09(_0x1499d7,_0x39daaf);}function a103_0x3e75(){const _0x49c6f3=['BS_TESTOPS_ALLOW_SCREENSHOTS','quit','./performance/constants','overrideQuit','2103764DQgKKb','quitCount_','uXFtC','613713ysrzEt','6424506EehSuj','toISOString','3749172wThcAD','env','5FtYBzJ','initQuit','BpLgY','pid','./performance/performance-tester','true','end','initScreenshot','patchQuit','catch','gujjp','365773pZdNmC','pqxvG','emit','KuSTe','TAKE_SCREENSHOT','8vZKOAD','O11y_EVENTS','bs:addLog:','5544595GPoCWn','gUlLD','20oFpdWz','takeScreenshot','4909112laFmpY','wKbgc','NGeXG','iVszR','xWBzh','vTlSL'];a103_0x3e75=function(){return _0x49c6f3;};return a103_0x3e75();}const a103_0x25fc70=a103_0x3e09;(function(_0x12fd0d,_0x815b1b){const _0x118b45=a103_0x3e09,_0x2427e8=_0x12fd0d();while(!![]){try{const _0x306973=-parseInt(_0x118b45(0x159))/0x1+-parseInt(_0x118b45(0x15e))/0x2*(-parseInt(_0x118b45(0x172))/0x3)+-parseInt(_0x118b45(0x16f))/0x4+parseInt(_0x118b45(0x177))/0x5*(parseInt(_0x118b45(0x175))/0x6)+parseInt(_0x118b45(0x161))/0x7+parseInt(_0x118b45(0x165))/0x8+-parseInt(_0x118b45(0x173))/0x9*(parseInt(_0x118b45(0x163))/0xa);if(_0x306973===_0x815b1b)break;else _0x2427e8['push'](_0x2427e8['shift']());}catch(_0xe699f3){_0x2427e8['push'](_0x2427e8['shift']());}}}(a103_0x3e75,0x81450));const PerformanceTester=require(a103_0x25fc70(0x17b)),O11yEvents=require(a103_0x25fc70(0x16d))[a103_0x25fc70(0x15f)];exports['overrideTakeScreenshot']=_0x33a613=>{const _0x3b7abc=a103_0x25fc70,_0x41cc71={'iVszR':'TEST_SCREENSHOT','pqxvG':function(_0x6e9c3e,_0x54cc19){return _0x6e9c3e(_0x54cc19);},'KuSTe':function(_0xe8dea6,_0x439f23){return _0xe8dea6(_0x439f23);},'NGeXG':function(_0x50138a,_0x18bdc1){return _0x50138a!==_0x18bdc1;},'uXFtC':_0x3b7abc(0x153)};if(_0x41cc71[_0x3b7abc(0x167)](process[_0x3b7abc(0x176)][_0x3b7abc(0x16b)],_0x41cc71[_0x3b7abc(0x171)]))return;if(_0x33a613['patchScreenshot'])return;_0x33a613['patchScreenshot']=!![],_0x33a613['initScreenshot']=_0x33a613['takeScreenshot'],_0x33a613[_0x3b7abc(0x164)]=()=>{const _0x160a7c=_0x3b7abc,_0x3c9f71={'BpLgY':_0x41cc71[_0x160a7c(0x168)],'xWBzh':function(_0xf4fe9,_0x51cb5f){const _0x29f215=_0x160a7c;return _0x41cc71[_0x29f215(0x15a)](_0xf4fe9,_0x51cb5f);},'gujjp':function(_0xc94f97,_0x3459f8){const _0x499b28=_0x160a7c;return _0x41cc71[_0x499b28(0x15c)](_0xc94f97,_0x3459f8);}};return new Promise(function(_0x5f1381,_0x213f6c){const _0x17addd=_0x160a7c;_0x33a613[_0x17addd(0x155)]()['then'](_0x1b4810=>{const _0x2f87c5=_0x17addd;PerformanceTester['start'](O11yEvents['TAKE_SCREENSHOT']),process[_0x2f87c5(0x15b)](_0x2f87c5(0x160)+process[_0x2f87c5(0x17a)],{'timestamp':new Date()[_0x2f87c5(0x174)](),'message':_0x1b4810,'kind':_0x3c9f71[_0x2f87c5(0x179)]}),_0x3c9f71[_0x2f87c5(0x169)](_0x5f1381,_0x1b4810),PerformanceTester[_0x2f87c5(0x154)](O11yEvents[_0x2f87c5(0x15d)]);})[_0x17addd(0x157)](_0x359460=>{const _0x51bfdc=_0x17addd;PerformanceTester[_0x51bfdc(0x154)](O11yEvents[_0x51bfdc(0x15d)]),_0x3c9f71[_0x51bfdc(0x158)](_0x213f6c,_0x359460);});});};},exports[a103_0x25fc70(0x16e)]=(_0x554730,_0x123d95=null)=>{const _0x45e488=a103_0x25fc70,_0x2a5a53={'wKbgc':function(_0x5ef5b4){return _0x5ef5b4();},'gUlLD':function(_0x59b6da,_0x3d0900){return _0x59b6da>_0x3d0900;}};if(_0x554730[_0x45e488(0x156)])return;_0x554730['patchQuit']=!![],_0x554730['initQuit']=_0x554730['quit'],_0x554730[_0x45e488(0x16c)]=()=>{const _0x43f73c=_0x45e488,_0x497aa4={'vTlSL':function(_0x45e42e){const _0x5179bb=a103_0x3e09;return _0x2a5a53[_0x5179bb(0x166)](_0x45e42e);}};if(_0x123d95){_0x123d95[_0x43f73c(0x170)]+=0x1;if(_0x2a5a53[_0x43f73c(0x162)](_0x123d95[_0x43f73c(0x170)],0x1))return _0x554730[_0x43f73c(0x178)]();}else{_0x554730[_0x43f73c(0x170)]+=0x1;if(_0x2a5a53[_0x43f73c(0x162)](_0x554730[_0x43f73c(0x170)],0x1))return _0x554730[_0x43f73c(0x178)]();}return new Promise(function(_0xc82cee){const _0x563836=_0x43f73c;_0x497aa4[_0x563836(0x16a)](_0xc82cee);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a104_0x519981=a104_0xb9c3;(function(_0x24f813,_0x4994d2){const _0x4fb8ad=a104_0xb9c3,_0x969c17=_0x24f813();while(!![]){try{const _0x5137b6=-parseInt(_0x4fb8ad(0x176))/0x1*(parseInt(_0x4fb8ad(0x16a))/0x2)+parseInt(_0x4fb8ad(0x153))/0x3*(-parseInt(_0x4fb8ad(0x171))/0x4)+parseInt(_0x4fb8ad(0x166))/0x5*(parseInt(_0x4fb8ad(0x188))/0x6)+-parseInt(_0x4fb8ad(0x18a))/0x7*(parseInt(_0x4fb8ad(0x161))/0x8)+-parseInt(_0x4fb8ad(0x159))/0x9*(parseInt(_0x4fb8ad(0x14b))/0xa)+-parseInt(_0x4fb8ad(0x17a))/0xb*(parseInt(_0x4fb8ad(0x157))/0xc)+parseInt(_0x4fb8ad(0x147))/0xd;if(_0x5137b6===_0x4994d2)break;else _0x969c17['push'](_0x969c17['shift']());}catch(_0x32242b){_0x969c17['push'](_0x969c17['shift']());}}}(a104_0x10ea,0x5851c));const fs=require('fs'),path=require(a104_0x519981(0x189)),os=require('os'),{spawn}=require('child_process'),helper=require(a104_0x519981(0x18f)),logger=require('../logger')[a104_0x519981(0x156)],{getLogDir}=require(a104_0x519981(0x15f)),testHubConstants=require(a104_0x519981(0x177)),PerformanceTester=require(a104_0x519981(0x14c)),{PERCY_EVENTS:PerformanceEvents}=require(a104_0x519981(0x160)),PercyBinary=require('./PercyBinary');function a104_0xb9c3(_0x3a14a2,_0x94275e){const _0x10ea7d=a104_0x10ea();return a104_0xb9c3=function(_0xb9c3e4,_0x218cb7){_0xb9c3e4=_0xb9c3e4-0x13b;let _0x5d2b5a=_0x10ea7d[_0xb9c3e4];return _0x5d2b5a;},a104_0xb9c3(_0x3a14a2,_0x94275e);}class Percy{#logfile=path[a104_0x519981(0x18e)](getLogDir(),a104_0x519981(0x165));#address=process[a104_0x519981(0x15a)][a104_0x519981(0x16b)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#isApp=![];[a104_0x519981(0x17e)]=![];constructor(_0x1d1625){const _0x5aafb7=a104_0x519981;this.#config=_0x1d1625,!!_0x1d1625[_0x5aafb7(0x163)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x1be4af=a104_0x519981;if(!this.#binaryPath){const _0x360c03=new PercyBinary();PerformanceTester[_0x1be4af(0x18b)](PerformanceEvents[_0x1be4af(0x158)]),this.#binaryPath=await _0x360c03['getBinaryPath'](this.#config),PerformanceTester[_0x1be4af(0x167)](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x6498ad){return new Promise(_0x322eb0=>setTimeout(_0x322eb0,_0x6498ad));}async[a104_0x519981(0x164)](){const _0x24615e=a104_0x519981,_0x1d91d2={};_0x1d91d2[_0x24615e(0x14e)]=_0x24615e(0x15b),_0x1d91d2[_0x24615e(0x178)]=_0x24615e(0x145);const _0x56a65d=_0x1d91d2;try{const _0x114234=await helper[_0x24615e(0x15e)](_0x56a65d[_0x24615e(0x14e)],_0x56a65d[_0x24615e(0x178)],null,null,this.#address);if(_0x114234)return!![];}catch(_0x4e9a96){return![];}}async['start'](){const _0x9ad6d4=a104_0x519981,_0x47363c={'tSUcK':_0x9ad6d4(0x151),'ekZck':'exec','UzOGX':function(_0x9ee90f,_0x399024,_0x2760a5,_0x450ba9){return _0x9ee90f(_0x399024,_0x2760a5,_0x450ba9);},'PCBvz':'close','IJdVL':_0x9ad6d4(0x172)},_0x34c8bd=await this.#getBinaryPath(),_0x2603e0={};_0x2603e0[_0x9ad6d4(0x174)]='a';const _0xbe46a0=fs[_0x9ad6d4(0x17f)](this.#logfile,_0x2603e0),_0x3af5bc=await this[_0x9ad6d4(0x152)](),_0x2ee8ad=await this['createPercyConfig']();if(!_0x3af5bc)return![];const _0x4ce8b1=[(this.#isApp?_0x47363c[_0x9ad6d4(0x17c)]:_0x47363c[_0x9ad6d4(0x144)])+_0x9ad6d4(0x179)];_0x2ee8ad&&_0x4ce8b1[_0x9ad6d4(0x16c)]('-c',_0x2ee8ad);this.#proc=_0x47363c['UzOGX'](spawn,_0x34c8bd,_0x4ce8b1,{'env':Object[_0x9ad6d4(0x169)](process['env'],{'PERCY_TOKEN':_0x3af5bc,'TH_BUILD_UUID':process[_0x9ad6d4(0x15a)][testHubConstants[_0x9ad6d4(0x17b)][_0x9ad6d4(0x14f)]]})}),this.#proc['stdout'][_0x9ad6d4(0x181)](_0xbe46a0),this.#proc['stderr'][_0x9ad6d4(0x181)](_0xbe46a0),this[_0x9ad6d4(0x17e)]=!![];var _0x345410=this;this.#proc['on'](_0x47363c[_0x9ad6d4(0x17d)],function(_0x4679b8){const _0x209501=_0x9ad6d4;_0x345410[_0x209501(0x17e)]=![];});do{const _0x4959eb=await this[_0x9ad6d4(0x164)]();if(_0x4959eb)return logger[_0x9ad6d4(0x150)](_0x47363c[_0x9ad6d4(0x142)]),!![];await this.#sleep(0x3e8);}while(this[_0x9ad6d4(0x17e)]);return![];}async['stop'](){const _0x501a93=a104_0x519981,_0x460bd5={'WIsZQ':function(_0x316d2f,_0x2e761f){return _0x316d2f(_0x2e761f);},'biUWf':function(_0x459674,_0xc2dc2a,_0x54d9f0){return _0x459674(_0xc2dc2a,_0x54d9f0);},'RPoPv':_0x501a93(0x183),'GNIyu':_0x501a93(0x16f)},_0x231bee=await this.#getBinaryPath();return new Promise((_0x1895f2,_0x3677b6)=>{const _0xd82310=_0x501a93,_0x57b2ac=_0x460bd5['biUWf'](spawn,_0x231bee,[_0x460bd5[_0xd82310(0x173)]]);_0x57b2ac['on'](_0x460bd5[_0xd82310(0x13b)],_0x23d149=>{const _0x377959=_0xd82310;this[_0x377959(0x17e)]=![],_0x460bd5[_0x377959(0x190)](_0x1895f2,_0x23d149);});});}[a104_0x519981(0x13f)](){const _0x1c5a30=a104_0x519981;return this[_0x1c5a30(0x17e)];}async[a104_0x519981(0x152)](){const _0x41755d=a104_0x519981,_0x4d79a9={};_0x4d79a9[_0x41755d(0x184)]='app',_0x4d79a9[_0x41755d(0x170)]=_0x41755d(0x182),_0x4d79a9[_0x41755d(0x148)]='GET',_0x4d79a9[_0x41755d(0x186)]=_0x41755d(0x13d);const _0x3d4ab3=_0x4d79a9,_0x3c568d=this.#config[_0x41755d(0x180)];try{const _0x5f2c55=this.#isApp?_0x3d4ab3[_0x41755d(0x184)]:_0x3d4ab3[_0x41755d(0x170)],_0x154d44=await helper[_0x41755d(0x15e)](_0x3d4ab3[_0x41755d(0x148)],'api/app_percy/get_project_token?name='+_0x3c568d+_0x41755d(0x18c)+_0x5f2c55,{},this.#config),_0x35782b=_0x154d44[_0x41755d(0x155)];return logger[_0x41755d(0x150)](_0x3d4ab3[_0x41755d(0x186)]),_0x35782b[_0x41755d(0x140)];}catch(_0x2f1e5f){return logger['error'](_0x41755d(0x149)+_0x2f1e5f),null;}}async[a104_0x519981(0x16d)](){const _0x1c6aa6=a104_0x519981,_0x247259={'PcudP':function(_0x4b15a0,_0x56d458){return _0x4b15a0(_0x56d458);},'FdLFo':function(_0x39307e,_0x3504ce){return _0x39307e+_0x3504ce;},'IqJpO':_0x1c6aa6(0x15c),'iVIwI':_0x1c6aa6(0x14d)};if(!this.#config['percyOptions'])return null;const _0xae6610=path['join'](os[_0x1c6aa6(0x154)](),_0x247259[_0x1c6aa6(0x18d)]),_0x43bcd8=this.#config[_0x1c6aa6(0x143)];return!_0x43bcd8[_0x1c6aa6(0x146)]&&(_0x43bcd8[_0x1c6aa6(0x146)]='2'),new Promise((_0x361d65,_0x4e33f7)=>{const _0x2b8cf9=_0x1c6aa6,_0x2f0730={'QXHEL':function(_0x346a99,_0x281a8e){const _0x2d0037=a104_0xb9c3;return _0x247259[_0x2d0037(0x13e)](_0x346a99,_0x281a8e);},'sWIaF':function(_0x1d9e5a,_0x42f6d3){const _0x212a14=a104_0xb9c3;return _0x247259[_0x212a14(0x16e)](_0x1d9e5a,_0x42f6d3);},'NNzxx':_0x247259[_0x2b8cf9(0x168)]};fs[_0x2b8cf9(0x185)](_0xae6610,JSON[_0x2b8cf9(0x141)](_0x43bcd8),_0x4a8fc8=>{const _0x4b8e8b=_0x2b8cf9;_0x4a8fc8&&(logger[_0x4b8e8b(0x14a)](_0x4b8e8b(0x13c)+_0x4a8fc8),_0x2f0730[_0x4b8e8b(0x175)](_0x361d65,null)),logger[_0x4b8e8b(0x150)](_0x2f0730[_0x4b8e8b(0x162)](_0x2f0730[_0x4b8e8b(0x15d)],_0xae6610)),_0x2f0730[_0x4b8e8b(0x175)](_0x361d65,_0xae6610);});});}}module[a104_0x519981(0x187)]=Percy;function a104_0x10ea(){const _0x4c8369=['healthcheck','percy.log','2099315RYsQtH','end','IqJpO','assign','22FiDzqK','PERCY_SERVER_ADDRESS','push','createPercyConfig','FdLFo','close','bKEGo','772KKDWQq','Percy\x20healthcheck\x20successful','RPoPv','flags','QXHEL','13736ksOfna','../../helpers/testhub/constants','InANW',':start','11OCmfOI','ENV_VAR','tSUcK','PCBvz','isProcessRunning','createWriteStream','projectName','pipe','automate','exec:stop','OIDtC','writeFile','APMcT','exports','6UcVqRZ','path','42399CydNKs','start','&type=','iVIwI','join','../helper','WIsZQ','GNIyu','Error\x20creating\x20percy\x20config:\x20','Percy\x20fetch\x20token\x20success','PcudP','isRunning','token','stringify','IJdVL','percyOptions','ekZck','percy/healthcheck','version','15335398alNuIr','ZbBAW','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','error','10ncldyb','../../helpers/performance/performance-tester','percy.json','GgyLO','BROWSERSTACK_TESTHUB_UUID','debug','app:exec','fetchPercyToken','2370ETYkCN','tmpdir','data','winstonLogger','7363716JulWRK','DOWNLOAD','976941LTyyjl','env','GET','Percy\x20config\x20created\x20at\x20','NNzxx','nodeRequest','../logger','../../helpers/performance/constants','280sGUBQB','sWIaF','app'];a104_0x10ea=function(){return _0x4c8369;};return a104_0x10ea();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a104_0x3ba8(){const _0x324615=['openReadStream','/home/','data','trim','xXGRy','darwin','path','TwvBP','kstqY','zYbln','headers','child_process','zbbha','then','etag','ncVMl','50JiWXHc','error','getBinaryPath','If-None-Match','nQcGv','close','extractAndSaveBinary','pFQqD','exports','FxfYs','catch','binaryPath','join','/Users/','wIQiu','accessSync','BRCXE','plxZZ','RzPJp','stdout','mkdirSync','YMOEg','idUBi','homedir','PxgOI','R_OK','VFJLG','2070416HjeiNJ','719430itfVit','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','test','end','match','needsUpdate','7331291iIJSfa','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','chmod','once','cwd','1409422UqQUeO','HOMEDRIVE','useCaCertificate','../logger','nLMft','yVDOB','entry','vfbGg','20VeEfum','4348985HpVVWt','bTTmP','Failed\x20to\x20save\x20ETag\x20file:\x20','OrfTS','NxEIB','percy','USERNAME','lVBiW','utf8','debug','port','pipe','env','PTlbL','HOME','XdhjW','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','ejvZe','url','USERPROFILE','LOGNAME','download','length','LkWVQ','GoCzv','/percy-osx.zip','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','HOMEPATH','lBHnE','FUlKA','statusCode','tkfpL','parse','SrxUj','jUdbd','dUDYR','yauzl','aPgps','Error\x20trying\x20to\x20download\x20percy\x20binary','https-proxy-agent','X_OK','.etag','proxyPort','follow-redirects','platform','wSYwU','90813vgPoGa','16LfjmKL','XisMS','cWozv','udWcI','ZUZiz','seFEX','USER','PZmmr','fileName','readEntry','BIkgG','linux','getuid','createWriteStream','fgNZF','luxHO','JmtLd','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','JZUhV','18rrCctp','VLpti','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','LNAME','warn','AmGuV','agent','https://github.com/percy/cli/releases/latest/download','dxrWf','EXdML','1855107lmrIsD','CjcND','writeFileSync','percy.exe','ZgYqX','.browserstack','/percy-linux.zip','xWBfP','--version'];a104_0x3ba8=function(){return _0x324615;};return a104_0x3ba8();}const a104_0x2b7f99=a104_0x4db4;(function(_0x4d6f58,_0x51a09a){const _0x3cf2e4=a104_0x4db4,_0xd7943d=_0x4d6f58();while(!![]){try{const _0x2bd022=-parseInt(_0x3cf2e4(0xcb))/0x1+-parseInt(_0x3cf2e4(0xde))/0x2*(-parseInt(_0x3cf2e4(0x10d))/0x3)+-parseInt(_0x3cf2e4(0xca))/0x4+-parseInt(_0x3cf2e4(0xdf))/0x5+parseInt(_0x3cf2e4(0x121))/0x6*(-parseInt(_0x3cf2e4(0xd6))/0x7)+-parseInt(_0x3cf2e4(0x10e))/0x8*(parseInt(_0x3cf2e4(0x12b))/0x9)+-parseInt(_0x3cf2e4(0x144))/0xa*(-parseInt(_0x3cf2e4(0xd1))/0xb);if(_0x2bd022===_0x51a09a)break;else _0xd7943d['push'](_0xd7943d['shift']());}catch(_0x1ae8e5){_0xd7943d['push'](_0xd7943d['shift']());}}}(a104_0x3ba8,0x7d000));function a104_0x4db4(_0x19af93,_0x41be7f){const _0x3ba8d9=a104_0x3ba8();return a104_0x4db4=function(_0x4db475,_0x2b89dc){_0x4db475=_0x4db475-0xb4;let _0x4ce13b=_0x3ba8d9[_0x4db475];return _0x4ce13b;},a104_0x4db4(_0x19af93,_0x41be7f);}const {https}=require(a104_0x2b7f99(0x10a)),url=require(a104_0x2b7f99(0xf1)),yauzl=require(a104_0x2b7f99(0x103)),fs=require('fs'),path=require(a104_0x2b7f99(0x13a)),os=require('os'),{spawn}=require(a104_0x2b7f99(0x13f)),HttpsProxyAgent=require(a104_0x2b7f99(0x106)),logger=require(a104_0x2b7f99(0xd9))['winstonLogger'];class PercyBinary{#hostOS=process[a104_0x2b7f99(0x10b)];#httpPath=null;#binaryName=a104_0x2b7f99(0xe4);#orderedPaths=[path[a104_0x2b7f99(0xbb)](this.#homedir(),a104_0x2b7f99(0x130)),process[a104_0x2b7f99(0xd5)](),os['tmpdir']()];constructor(){const _0x3b9462=a104_0x2b7f99,_0x17d644={};_0x17d644[_0x3b9462(0xc7)]=_0x3b9462(0x128),_0x17d644[_0x3b9462(0xb8)]=function(_0x173715,_0x22602d){return _0x173715+_0x22602d;},_0x17d644[_0x3b9462(0xe3)]=_0x3b9462(0xf8),_0x17d644[_0x3b9462(0xbf)]='/percy-win.zip',_0x17d644[_0x3b9462(0xe2)]=_0x3b9462(0x12e),_0x17d644[_0x3b9462(0xfc)]=function(_0x28c2f8,_0x2db036){return _0x28c2f8+_0x2db036;},_0x17d644[_0x3b9462(0x100)]=_0x3b9462(0x131);const _0x3e4b81=_0x17d644,_0x7babc1=_0x3e4b81[_0x3b9462(0xc7)];if(this.#hostOS[_0x3b9462(0xcf)](/darwin|mac os/i))this.#httpPath=_0x3e4b81[_0x3b9462(0xb8)](_0x7babc1,_0x3e4b81[_0x3b9462(0xe3)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x3e4b81[_0x3b9462(0xb8)](_0x7babc1,_0x3e4b81[_0x3b9462(0xbf)]),this.#binaryName=_0x3e4b81[_0x3b9462(0xe2)]):this.#httpPath=_0x3e4b81[_0x3b9462(0xfc)](_0x7babc1,_0x3e4b81[_0x3b9462(0x100)]);}#getAvailableDirs(){const _0x1daf88=a104_0x2b7f99,_0x55e960={};_0x55e960[_0x1daf88(0x132)]=function(_0x239901,_0x2e9e2d){return _0x239901<_0x2e9e2d;},_0x55e960[_0x1daf88(0x11e)]=_0x1daf88(0x105);const _0x4c98ef=_0x55e960;for(var _0x3ac890=0x0;_0x4c98ef[_0x1daf88(0x132)](_0x3ac890,this.#orderedPaths[_0x1daf88(0xf5)]);_0x3ac890++){var _0x3d0142=this.#orderedPaths[_0x3ac890];if(this.#makePath(_0x3d0142))return _0x3d0142;}throw new Error(_0x4c98ef[_0x1daf88(0x11e)]);}#makePath(_0x5c7cbe){const _0xab0fde=a104_0x2b7f99;try{return _0x5c7cbe&&!this.#checkPath(_0x5c7cbe)&&fs[_0xab0fde(0xc3)](_0x5c7cbe),!![];}catch{return![];}}#checkPath(_0x2d9b25,_0x11b588){const _0x25d213=a104_0x2b7f99,_0x58787b={};_0x58787b[_0x25d213(0xc1)]=function(_0x443251,_0x550f7e){return _0x443251|_0x550f7e;},_0x58787b['xXGRy']=function(_0xb2d237,_0x4efc3c){return _0xb2d237!==_0x4efc3c;},_0x58787b[_0x25d213(0xdb)]='undefined';const _0x4e50b5=_0x58787b;_0x11b588=_0x11b588||_0x4e50b5[_0x25d213(0xc1)](fs[_0x25d213(0xc8)],fs['W_OK']);try{return fs[_0x25d213(0xbe)](_0x2d9b25,_0x11b588),!![];}catch(_0x3535aa){if(_0x4e50b5[_0x25d213(0x138)](typeof fs[_0x25d213(0xbe)],_0x4e50b5[_0x25d213(0xdb)]))return![];try{return fs['statSync'](_0x2d9b25),!![];}catch(_0x5f40e2){return![];}}}#getETagPath(_0x5640e1){const _0x31fc5b=a104_0x2b7f99;return path[_0x31fc5b(0xbb)](_0x5640e1,this.#binaryName+_0x31fc5b(0x108));}#loadETag(_0x213850){const _0x1a6a23=a104_0x2b7f99,_0x1fafd5={};_0x1fafd5['zYbln']=_0x1a6a23(0xe7);const _0x20e230=_0x1fafd5,_0x41d74e=this.#getETagPath(_0x213850);if(this.#checkPath(_0x41d74e))try{return fs['readFileSync'](_0x41d74e,_0x20e230[_0x1a6a23(0x13d)])[_0x1a6a23(0x137)]();}catch(_0x546c2a){logger[_0x1a6a23(0x125)]('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x546c2a);}return null;}#saveETag(_0x32c193,_0x4db048){const _0x2c73c6=a104_0x2b7f99,_0x102d74={};_0x102d74[_0x2c73c6(0xb6)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x5560ed=_0x102d74;if(!_0x4db048)return;try{const _0x304721=this.#getETagPath(_0x32c193);fs[_0x2c73c6(0x12d)](_0x304721,_0x4db048),logger[_0x2c73c6(0xe8)](_0x5560ed[_0x2c73c6(0xb6)]);}catch(_0x532aef){logger[_0x2c73c6(0x125)](_0x2c73c6(0xe1)+_0x532aef);}}async #handleBinaryDownload(_0x50f176,_0x56e366,_0x4ee397){const _0x56c8a1=a104_0x2b7f99,_0x580d55={};_0x580d55[_0x56c8a1(0x10c)]=_0x56c8a1(0xf9);const _0x58df17=_0x580d55,_0x15ceda=await this['validateBinary'](_0x50f176[_0x56c8a1(0xba)]);if(!_0x15ceda){logger[_0x56c8a1(0x145)](_0x58df17['wSYwU']);const _0x36f073=await this[_0x56c8a1(0xf4)](_0x56e366,_0x4ee397);return _0x36f073[_0x56c8a1(0xba)];}return _0x50f176[_0x56c8a1(0xba)];}async[a104_0x2b7f99(0x146)](_0x4ec0de){const _0x3c925f=a104_0x2b7f99,_0x21d512={};_0x21d512[_0x3c925f(0xfb)]=_0x3c925f(0xd2),_0x21d512['ZUZiz']='New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update';const _0x5e641a=_0x21d512,_0xda90a=this.#getAvailableDirs(),_0x29964c=path[_0x3c925f(0xbb)](_0xda90a,this.#binaryName);if(this.#checkPath(_0x29964c,fs[_0x3c925f(0x107)])){const _0x2dc5ef=this.#loadETag(_0xda90a);if(_0x2dc5ef)try{const _0x1c2ed4=await this['download'](_0x4ec0de,_0xda90a,_0x2dc5ef);if(!_0x1c2ed4[_0x3c925f(0xd0)])return logger['debug'](_0x5e641a['lBHnE']),_0x29964c;return logger['debug'](_0x5e641a[_0x3c925f(0x112)]),await this.#handleBinaryDownload(_0x1c2ed4,_0x4ec0de,_0xda90a);}catch(_0x16024c){return logger[_0x3c925f(0x125)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x16024c),_0x29964c;}}const _0x1e1753=await this[_0x3c925f(0xf4)](_0x4ec0de,_0xda90a);return await this.#handleBinaryDownload(_0x1e1753,_0x4ec0de,_0xda90a);}[a104_0x2b7f99(0xf4)](_0x376d54,_0x1cbc0f,_0x482e47=null){const _0x13f2c1=a104_0x2b7f99,_0x91416={'EXdML':function(_0x4df1e7,_0x4315e7){return _0x4df1e7(_0x4315e7);},'lVBiW':function(_0x836649,_0x121c3a){return _0x836649===_0x121c3a;},'VLpti':_0x13f2c1(0x145),'nMKpd':_0x13f2c1(0xb4),'luxHO':function(_0x2db268,_0x6786f1){return _0x2db268+_0x6786f1;},'wIQiu':'.zip'};_0x1cbc0f&&!this.#checkPath(_0x1cbc0f)&&fs[_0x13f2c1(0xc3)](_0x1cbc0f);const _0x38264c=this.#binaryName,_0xd31804=path[_0x13f2c1(0xbb)](_0x1cbc0f,_0x91416[_0x13f2c1(0x11d)](_0x38264c,_0x91416[_0x13f2c1(0xbd)])),_0x1b231b=fs[_0x13f2c1(0x11b)](_0xd31804),_0xaaf1c5=url[_0x13f2c1(0xff)](this.#httpPath);if(_0x376d54['proxyHost']&&_0x376d54[_0x13f2c1(0x109)]){const _0x3294c7={};_0x3294c7['host']=_0x376d54['proxyHost'],_0x3294c7[_0x13f2c1(0xe9)]=_0x376d54[_0x13f2c1(0x109)],_0xaaf1c5[_0x13f2c1(0x127)]=new HttpsProxyAgent(_0x3294c7);}if(_0x376d54['useCaCertificate'])try{_0xaaf1c5['ca']=fs['readFileSync'](_0x376d54[_0x13f2c1(0xd8)]);}catch(_0x3ee98b){logger[_0x13f2c1(0x145)](_0x13f2c1(0x123)+_0x3ee98b);}if(_0x482e47){const _0x2fa913={};_0x2fa913[_0x13f2c1(0x147)]=_0x482e47,_0xaaf1c5[_0x13f2c1(0x13e)]=_0x2fa913;}return new Promise((_0x505ea4,_0x1af4ce)=>{const _0x31d3f6=_0x13f2c1,_0x13f2aa={'XdhjW':function(_0x2af6d3,_0x396b1b){return _0x91416['EXdML'](_0x2af6d3,_0x396b1b);}};https['get'](_0xaaf1c5,_0x5e8779=>{const _0x18bd57=a104_0x4db4,_0x5e7b73={'seFEX':function(_0x5bde09,_0x59adfc){const _0x18af1c=a104_0x4db4;return _0x91416[_0x18af1c(0x12a)](_0x5bde09,_0x59adfc);}};if(_0x482e47&&_0x91416[_0x18bd57(0xe6)](_0x5e8779[_0x18bd57(0xfd)],0x130)){const _0x4edec4={};_0x4edec4[_0x18bd57(0xd0)]=![],_0x91416[_0x18bd57(0x12a)](_0x505ea4,_0x4edec4);return;}const _0xed7dd6=_0x5e8779[_0x18bd57(0x13e)][_0x18bd57(0x142)];_0xed7dd6&&this.#saveETag(_0x1cbc0f,_0xed7dd6),_0x5e8779[_0x18bd57(0xea)](_0x1b231b),_0x5e8779['on'](_0x91416[_0x18bd57(0x122)],function(_0x2df253){const _0x4db2ec=_0x18bd57;logger[_0x4db2ec(0x145)](_0x4db2ec(0xef)+_0x2df253),_0x13f2aa[_0x4db2ec(0xee)](_0x1af4ce,_0x2df253);}),_0x1b231b['on'](_0x91416['VLpti'],function(_0x6c4bcb){const _0x5ad450=_0x18bd57;logger[_0x5ad450(0x145)](_0x5ad450(0xcc)+_0x6c4bcb),_0x5e7b73[_0x5ad450(0x113)](_0x1af4ce,_0x6c4bcb);}),_0x1b231b['on'](_0x91416['nMKpd'],()=>{const _0x463460=_0x18bd57;this[_0x463460(0xb5)](_0xd31804,_0x1cbc0f)[_0x463460(0x141)](_0x4eb990=>_0x505ea4({'needsUpdate':!![],'binaryPath':_0x4eb990}))[_0x463460(0xb9)](_0x1af4ce);});})['on'](_0x91416[_0x31d3f6(0x122)],function(_0x3ba99b){const _0x2bbf81=_0x31d3f6;logger['error'](_0x2bbf81(0x11f)+_0x3ba99b),_0x13f2aa['XdhjW'](_0x1af4ce,_0x3ba99b);});});}[a104_0x2b7f99(0xb5)](_0x1aca44,_0x3126aa){const _0x149f23=a104_0x2b7f99,_0x408b1f={'idUBi':function(_0x29386a,_0x93bce1){return _0x29386a(_0x93bce1);},'rGbuR':'0755','ncVMl':_0x149f23(0xce),'rTSAy':function(_0x40f39b,_0x53e35f){return _0x40f39b===_0x53e35f;},'AmGuV':function(_0x5ad815,_0x2a598b){return _0x5ad815(_0x2a598b);},'cWozv':_0x149f23(0xdc),'LkWVQ':_0x149f23(0x145)},_0x1e6e0b=this.#binaryName,_0x9a68cb=path[_0x149f23(0xbb)](_0x3126aa,_0x1e6e0b);return new Promise((_0x3c8c50,_0x4ff5ae)=>{const _0x45e5ba=_0x149f23,_0x3a3336={'nLMft':function(_0x1952cc,_0x529750){const _0x52c513=a104_0x4db4;return _0x408b1f[_0x52c513(0xc5)](_0x1952cc,_0x529750);},'NEmpk':_0x408b1f['rGbuR'],'kstqY':_0x408b1f[_0x45e5ba(0x143)],'fgNZF':function(_0x42e37c,_0x96ccec){return _0x408b1f['rTSAy'](_0x42e37c,_0x96ccec);},'BIkgG':function(_0x56ee98,_0x3c4a6a){const _0x1f8d49=_0x45e5ba;return _0x408b1f[_0x1f8d49(0xc5)](_0x56ee98,_0x3c4a6a);},'ejvZe':function(_0x42740a,_0x4a1417){return _0x408b1f['AmGuV'](_0x42740a,_0x4a1417);},'dkMBD':function(_0x14f683,_0x9cbda5){const _0x3bb27a=_0x45e5ba;return _0x408b1f[_0x3bb27a(0x126)](_0x14f683,_0x9cbda5);},'bsxNu':_0x408b1f[_0x45e5ba(0x110)],'ZgYqX':_0x408b1f[_0x45e5ba(0xf6)]},_0x51dd5c={};_0x51dd5c['lazyEntries']=!![],yauzl['open'](_0x1aca44,_0x51dd5c,function(_0x445b9c,_0x2f3346){const _0x1268de=_0x45e5ba,_0x2929e5={'JlGaG':function(_0x3e4de5,_0x3b9e3b){return _0x3a3336['nLMft'](_0x3e4de5,_0x3b9e3b);},'jUdbd':_0x3a3336[_0x1268de(0x13c)],'bTTmP':function(_0x277e54,_0xc7d5fb){const _0x3994a5=_0x1268de;return _0x3a3336[_0x3994a5(0x11c)](_0x277e54,_0xc7d5fb);},'tkfpL':function(_0xab69ae,_0x31c720){const _0x1f888c=_0x1268de;return _0x3a3336[_0x1f888c(0x118)](_0xab69ae,_0x31c720);},'qGTls':function(_0x4ae73f,_0x44edc4){const _0xf49580=_0x1268de;return _0x3a3336[_0xf49580(0xf0)](_0x4ae73f,_0x44edc4);}};_0x445b9c&&_0x3a3336['dkMBD'](_0x4ff5ae,_0x445b9c),_0x2f3346[_0x1268de(0x117)](),_0x2f3346['on'](_0x3a3336['bsxNu'],_0x3ca479=>{const _0x5e801e=_0x1268de;if(/\/$/[_0x5e801e(0xcd)](_0x3ca479[_0x5e801e(0x116)]))_0x2f3346[_0x5e801e(0x117)]();else{const _0x49e01d=fs[_0x5e801e(0x11b)](path[_0x5e801e(0xbb)](_0x3126aa,_0x3ca479['fileName']));_0x2f3346[_0x5e801e(0x134)](_0x3ca479,function(_0x4d8d36,_0x21c573){const _0x22557b=_0x5e801e;_0x4d8d36&&_0x2929e5['JlGaG'](_0x4ff5ae,_0x445b9c),_0x21c573['on'](_0x2929e5[_0x22557b(0x101)],function(){const _0x1e7811=_0x22557b;_0x49e01d[_0x1e7811(0xb4)](),_0x2f3346[_0x1e7811(0x117)]();}),_0x21c573['pipe'](_0x49e01d);}),_0x2929e5[_0x5e801e(0xe0)](_0x3ca479[_0x5e801e(0x116)],_0x1e6e0b)&&_0x2f3346['close']();}}),_0x2f3346['on'](_0x3a3336[_0x1268de(0x12f)],_0x481b43=>{const _0x4cc0b6=_0x1268de;_0x3a3336[_0x4cc0b6(0xda)](_0x4ff5ae,_0x481b43);}),_0x2f3346[_0x1268de(0xd4)](_0x3a3336[_0x1268de(0x13c)],()=>{const _0x35db69=_0x1268de;fs[_0x35db69(0xd3)](_0x9a68cb,_0x3a3336['NEmpk'],function(_0x542ec0){const _0x552c4b=_0x35db69;_0x542ec0&&_0x2929e5[_0x552c4b(0xfe)](_0x4ff5ae,_0x542ec0),_0x2929e5['qGTls'](_0x3c8c50,_0x9a68cb);}),_0x2f3346['close']();});});});}async['validateBinary'](_0x49455a){const _0x253c35=a104_0x2b7f99,_0x567c66={'zbbha':function(_0x28bb45,_0x1aea69){return _0x28bb45(_0x1aea69);},'dxrWf':function(_0x42ba9e,_0x21aced,_0x4703b9,_0xe961ea){return _0x42ba9e(_0x21aced,_0x4703b9,_0xe961ea);},'aPgps':_0x253c35(0x133),'CjcND':_0x253c35(0x136),'YMOEg':_0x253c35(0xb4)},_0xf42672=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x3a02ce,_0x1af563)=>{const _0x59e66a=_0x253c35,_0x3ac4f8={};_0x3ac4f8['env']=process[_0x59e66a(0xeb)];const _0x165cf0=_0x567c66[_0x59e66a(0x129)](spawn,_0x49455a,[_0x567c66[_0x59e66a(0x104)]],_0x3ac4f8);_0x165cf0[_0x59e66a(0xc2)]['on'](_0x567c66[_0x59e66a(0x12c)],_0x379c07=>{const _0x11a8b9=_0x59e66a;_0xf42672[_0x11a8b9(0xcd)](_0x379c07)&&_0x567c66['zbbha'](_0x3a02ce,!![]);}),_0x165cf0['on'](_0x567c66[_0x59e66a(0xc4)],()=>{const _0x1d2e73=_0x59e66a;_0x567c66[_0x1d2e73(0x140)](_0x3a02ce,![]);});});}#homedir(){const _0x243369=a104_0x2b7f99,_0x59d92e={};_0x59d92e[_0x243369(0xc9)]=function(_0xd10ec7,_0x1a7431){return _0xd10ec7===_0x1a7431;},_0x59d92e[_0x243369(0xec)]='function',_0x59d92e[_0x243369(0xdd)]='win32',_0x59d92e['XisMS']=function(_0x3314a5,_0x41714a){return _0x3314a5+_0x41714a;},_0x59d92e[_0x243369(0xf7)]=function(_0x1b20aa,_0x5c5d45){return _0x1b20aa===_0x5c5d45;},_0x59d92e[_0x243369(0x115)]=_0x243369(0x139),_0x59d92e['plxZZ']=_0x243369(0xbc),_0x59d92e[_0x243369(0x102)]=_0x243369(0x119),_0x59d92e['DGtRY']=function(_0x51b93f,_0x374a6c){return _0x51b93f===_0x374a6c;},_0x59d92e[_0x243369(0x13b)]='/root',_0x59d92e['nQcGv']=function(_0x249fa8,_0x308c6a){return _0x249fa8+_0x308c6a;},_0x59d92e[_0x243369(0x120)]=_0x243369(0x135),_0x59d92e[_0x243369(0x111)]=function(_0x29b0d8,_0x5850ba){return _0x29b0d8||_0x5850ba;};const _0x10e1ad=_0x59d92e;if(_0x10e1ad[_0x243369(0xc9)](typeof os[_0x243369(0xc6)],_0x10e1ad[_0x243369(0xec)]))return os[_0x243369(0xc6)]();const _0x584b1e=process[_0x243369(0xeb)],_0x2ffa10=_0x584b1e[_0x243369(0xed)],_0x147f44=_0x584b1e[_0x243369(0xf3)]||_0x584b1e[_0x243369(0x114)]||_0x584b1e[_0x243369(0x124)]||_0x584b1e[_0x243369(0xe5)];if(_0x10e1ad['VFJLG'](process[_0x243369(0x10b)],_0x10e1ad[_0x243369(0xdd)]))return _0x584b1e[_0x243369(0xf2)]||_0x10e1ad[_0x243369(0x10f)](_0x584b1e[_0x243369(0xd7)],_0x584b1e[_0x243369(0xfa)])||_0x2ffa10||null;if(_0x10e1ad['GoCzv'](process[_0x243369(0x10b)],_0x10e1ad['PZmmr']))return _0x2ffa10||(_0x147f44?_0x10e1ad[_0x243369(0x10f)](_0x10e1ad[_0x243369(0xc0)],_0x147f44):null);if(_0x10e1ad[_0x243369(0xc9)](process[_0x243369(0x10b)],_0x10e1ad[_0x243369(0x102)]))return _0x2ffa10||(_0x10e1ad['DGtRY'](process[_0x243369(0x11a)](),0x0)?_0x10e1ad[_0x243369(0x13b)]:_0x147f44?_0x10e1ad[_0x243369(0x148)](_0x10e1ad[_0x243369(0x120)],_0x147f44):null);return _0x10e1ad[_0x243369(0x111)](_0x2ffa10,null);}}module[a104_0x2b7f99(0xb7)]=PercyBinary;
|
|
1
|
+
const a105_0x39309a=a105_0x38b6;(function(_0x4880e0,_0xbaaef9){const _0x1c7fc0=a105_0x38b6,_0x390ab1=_0x4880e0();while(!![]){try{const _0x17f9cd=parseInt(_0x1c7fc0(0x1cd))/0x1+parseInt(_0x1c7fc0(0x222))/0x2*(parseInt(_0x1c7fc0(0x22e))/0x3)+-parseInt(_0x1c7fc0(0x24a))/0x4+parseInt(_0x1c7fc0(0x25d))/0x5*(-parseInt(_0x1c7fc0(0x215))/0x6)+-parseInt(_0x1c7fc0(0x256))/0x7*(-parseInt(_0x1c7fc0(0x1ff))/0x8)+parseInt(_0x1c7fc0(0x1fa))/0x9*(parseInt(_0x1c7fc0(0x21a))/0xa)+-parseInt(_0x1c7fc0(0x207))/0xb*(parseInt(_0x1c7fc0(0x25e))/0xc);if(_0x17f9cd===_0xbaaef9)break;else _0x390ab1['push'](_0x390ab1['shift']());}catch(_0x46ea0b){_0x390ab1['push'](_0x390ab1['shift']());}}}(a105_0x73e7,0x79623));const {https}=require('follow-redirects'),url=require(a105_0x39309a(0x1fe)),yauzl=require(a105_0x39309a(0x1f8)),fs=require('fs'),path=require(a105_0x39309a(0x22b)),os=require('os'),{spawn}=require(a105_0x39309a(0x1dc)),HttpsProxyAgent=require(a105_0x39309a(0x23e)),logger=require('../logger')[a105_0x39309a(0x1f0)];class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a105_0x39309a(0x258);#orderedPaths=[path[a105_0x39309a(0x1e6)](this.#homedir(),a105_0x39309a(0x220)),process[a105_0x39309a(0x1fd)](),os['tmpdir']()];constructor(){const _0x5c3d03=a105_0x39309a,_0x354dcf={};_0x354dcf[_0x5c3d03(0x1d5)]=_0x5c3d03(0x1d9),_0x354dcf[_0x5c3d03(0x22d)]=function(_0x5131c2,_0x5443c4){return _0x5131c2+_0x5443c4;},_0x354dcf[_0x5c3d03(0x225)]='/percy-osx.zip',_0x354dcf[_0x5c3d03(0x236)]=_0x5c3d03(0x1f9),_0x354dcf[_0x5c3d03(0x24b)]=_0x5c3d03(0x1d0),_0x354dcf[_0x5c3d03(0x1f6)]=function(_0x406afc,_0x39be56){return _0x406afc+_0x39be56;},_0x354dcf[_0x5c3d03(0x219)]=_0x5c3d03(0x1ce);const _0xf565b2=_0x354dcf,_0x14884f=_0xf565b2[_0x5c3d03(0x1d5)];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0xf565b2[_0x5c3d03(0x22d)](_0x14884f,_0xf565b2['thnuN']);else this.#hostOS[_0x5c3d03(0x23a)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0xf565b2['DpoEl'](_0x14884f,_0xf565b2[_0x5c3d03(0x236)]),this.#binaryName=_0xf565b2[_0x5c3d03(0x24b)]):this.#httpPath=_0xf565b2[_0x5c3d03(0x1f6)](_0x14884f,_0xf565b2[_0x5c3d03(0x219)]);}#getAvailableDirs(){const _0x3cfd05=a105_0x39309a,_0x4b0212={};_0x4b0212[_0x3cfd05(0x241)]=function(_0x2ffc17,_0x3e58e0){return _0x2ffc17<_0x3e58e0;},_0x4b0212[_0x3cfd05(0x1e0)]=_0x3cfd05(0x22a);const _0x60c74c=_0x4b0212;for(var _0x57510c=0x0;_0x60c74c['ryrrM'](_0x57510c,this.#orderedPaths[_0x3cfd05(0x209)]);_0x57510c++){var _0x33334a=this.#orderedPaths[_0x57510c];if(this.#makePath(_0x33334a))return _0x33334a;}throw new Error(_0x60c74c[_0x3cfd05(0x1e0)]);}#makePath(_0x404d97){const _0x9af7cc=a105_0x39309a;try{return _0x404d97&&!this.#checkPath(_0x404d97)&&fs[_0x9af7cc(0x1f2)](_0x404d97),!![];}catch{return![];}}#checkPath(_0x19742b,_0xc443dd){const _0x400265=a105_0x39309a,_0x1606f2={};_0x1606f2[_0x400265(0x20c)]=function(_0x401452,_0x898706){return _0x401452|_0x898706;},_0x1606f2[_0x400265(0x21b)]=function(_0x1f7e3c,_0x1e4bc5){return _0x1f7e3c!==_0x1e4bc5;},_0x1606f2[_0x400265(0x1e1)]=_0x400265(0x201);const _0x2eb200=_0x1606f2;_0xc443dd=_0xc443dd||_0x2eb200[_0x400265(0x20c)](fs[_0x400265(0x1ed)],fs[_0x400265(0x20f)]);try{return fs[_0x400265(0x1eb)](_0x19742b,_0xc443dd),!![];}catch(_0x1a4d77){if(_0x2eb200[_0x400265(0x21b)](typeof fs['accessSync'],_0x2eb200[_0x400265(0x1e1)]))return![];try{return fs[_0x400265(0x255)](_0x19742b),!![];}catch(_0x294ee3){return![];}}}#getETagPath(_0x4a379d){const _0x46b4fe=a105_0x39309a;return path[_0x46b4fe(0x1e6)](_0x4a379d,this.#binaryName+_0x46b4fe(0x1cc));}#loadETag(_0x3a85bd){const _0x418547=a105_0x39309a,_0x574ef5={};_0x574ef5[_0x418547(0x240)]='utf8';const _0x4b2716=_0x574ef5,_0x49bec7=this.#getETagPath(_0x3a85bd);if(this.#checkPath(_0x49bec7))try{return fs['readFileSync'](_0x49bec7,_0x4b2716['xYGpU'])[_0x418547(0x238)]();}catch(_0x40c028){logger['warn']('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x40c028);}return null;}#saveETag(_0x14253a,_0x36b206){const _0x56fc6e=a105_0x39309a,_0x4486b0={};_0x4486b0['NNuYy']=_0x56fc6e(0x1e4);const _0x3b47e3=_0x4486b0;if(!_0x36b206)return;try{const _0x5ad964=this.#getETagPath(_0x14253a);fs[_0x56fc6e(0x246)](_0x5ad964,_0x36b206),logger[_0x56fc6e(0x243)](_0x3b47e3['NNuYy']);}catch(_0x588630){logger[_0x56fc6e(0x1e7)](_0x56fc6e(0x24d)+_0x588630);}}async #handleBinaryDownload(_0xc484c0,_0x2cc2b0,_0x499afe){const _0x2c2df1=a105_0x39309a,_0x349a6e={};_0x349a6e[_0x2c2df1(0x200)]=_0x2c2df1(0x1e2);const _0x288b58=_0x349a6e,_0x4a4b99=await this['validateBinary'](_0xc484c0['binaryPath']);if(!_0x4a4b99){logger[_0x2c2df1(0x232)](_0x288b58[_0x2c2df1(0x200)]);const _0x595543=await this[_0x2c2df1(0x25b)](_0x2cc2b0,_0x499afe);return _0x595543['binaryPath'];}return _0xc484c0[_0x2c2df1(0x212)];}async[a105_0x39309a(0x217)](_0x5cd5fd){const _0x180c88=a105_0x39309a,_0x2d07da={};_0x2d07da['XkXTA']='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x2d07da[_0x180c88(0x202)]=_0x180c88(0x1d2);const _0x52b536=_0x2d07da,_0xa6ab91=this.#getAvailableDirs(),_0x60ae38=path[_0x180c88(0x1e6)](_0xa6ab91,this.#binaryName);if(this.#checkPath(_0x60ae38,fs[_0x180c88(0x1d4)])){const _0x4b0d3b=this.#loadETag(_0xa6ab91);if(_0x4b0d3b)try{const _0x24400a=await this['download'](_0x5cd5fd,_0xa6ab91,_0x4b0d3b);if(!_0x24400a[_0x180c88(0x1f7)])return logger['debug'](_0x52b536['XkXTA']),_0x60ae38;return logger['debug'](_0x52b536[_0x180c88(0x202)]),await this.#handleBinaryDownload(_0x24400a,_0x5cd5fd,_0xa6ab91);}catch(_0x1a8cd6){return logger['warn'](_0x180c88(0x230)+_0x1a8cd6),_0x60ae38;}}const _0x2a3fef=await this[_0x180c88(0x25b)](_0x5cd5fd,_0xa6ab91);return await this.#handleBinaryDownload(_0x2a3fef,_0x5cd5fd,_0xa6ab91);}['download'](_0x211645,_0x214646,_0x161a56=null){const _0x16ff7d=a105_0x39309a,_0x500904={'oocQe':function(_0x1bdded,_0x5a567d){return _0x1bdded(_0x5a567d);},'AGKZZ':function(_0x9ae7e6,_0x197798){return _0x9ae7e6(_0x197798);},'nPPwj':function(_0x2b5b29,_0x5a91b2){return _0x2b5b29===_0x5a91b2;},'rBtxD':_0x16ff7d(0x232),'CTKhu':_0x16ff7d(0x22f),'alpHS':function(_0x4daa95,_0x191733){return _0x4daa95+_0x191733;},'cQsVx':_0x16ff7d(0x21d)};_0x214646&&!this.#checkPath(_0x214646)&&fs[_0x16ff7d(0x1f2)](_0x214646);const _0x2fd711=this.#binaryName,_0x13a479=path[_0x16ff7d(0x1e6)](_0x214646,_0x500904[_0x16ff7d(0x206)](_0x2fd711,_0x500904[_0x16ff7d(0x23c)])),_0xa2b96b=fs[_0x16ff7d(0x203)](_0x13a479),_0x2b01c7=url['parse'](this.#httpPath);if(_0x211645[_0x16ff7d(0x214)]&&_0x211645['proxyPort']){const _0x3a3208={};_0x3a3208[_0x16ff7d(0x23b)]=_0x211645['proxyHost'],_0x3a3208[_0x16ff7d(0x257)]=_0x211645['proxyPort'],_0x2b01c7['agent']=new HttpsProxyAgent(_0x3a3208);}if(_0x211645[_0x16ff7d(0x24f)])try{_0x2b01c7['ca']=fs['readFileSync'](_0x211645[_0x16ff7d(0x24f)]);}catch(_0xb0a80b){logger[_0x16ff7d(0x232)](_0x16ff7d(0x1de)+_0xb0a80b);}if(_0x161a56){const _0x4672e4={};_0x4672e4[_0x16ff7d(0x1dd)]=_0x161a56,_0x2b01c7['headers']=_0x4672e4;}return new Promise((_0x5c4972,_0x372696)=>{const _0xd56d9f=_0x16ff7d,_0x5ca33c={'ZCPDl':function(_0x23cb5e,_0x1ec072){const _0x43b980=a105_0x38b6;return _0x500904[_0x43b980(0x20a)](_0x23cb5e,_0x1ec072);},'QFwHn':function(_0x457a82,_0x2e896b){const _0x44e06e=a105_0x38b6;return _0x500904[_0x44e06e(0x1e5)](_0x457a82,_0x2e896b);},'vMRPH':function(_0x30a0b0,_0x142087){return _0x500904['nPPwj'](_0x30a0b0,_0x142087);},'KTApq':function(_0x3c68f4,_0x5e5d54){const _0x44d65c=a105_0x38b6;return _0x500904[_0x44d65c(0x1e5)](_0x3c68f4,_0x5e5d54);},'mLBcT':_0x500904[_0xd56d9f(0x1f5)],'brpuN':_0x500904[_0xd56d9f(0x1ec)],'FzAsj':function(_0x1d2dc7,_0xd72b6a){const _0x1c097c=_0xd56d9f;return _0x500904[_0x1c097c(0x20a)](_0x1d2dc7,_0xd72b6a);}};https[_0xd56d9f(0x1e9)](_0x2b01c7,_0x2a46bc=>{const _0x2a2005=_0xd56d9f,_0x424913={'ChdgF':function(_0x482b8d,_0x5ba055){const _0x4c958b=a105_0x38b6;return _0x5ca33c[_0x4c958b(0x208)](_0x482b8d,_0x5ba055);}};if(_0x161a56&&_0x5ca33c[_0x2a2005(0x205)](_0x2a46bc['statusCode'],0x130)){const _0x1cb369={};_0x1cb369['needsUpdate']=![],_0x5ca33c[_0x2a2005(0x265)](_0x5c4972,_0x1cb369);return;}const _0x4c1244=_0x2a46bc[_0x2a2005(0x248)][_0x2a2005(0x1e8)];_0x4c1244&&this.#saveETag(_0x214646,_0x4c1244),_0x2a46bc[_0x2a2005(0x259)](_0xa2b96b),_0x2a46bc['on'](_0x5ca33c[_0x2a2005(0x1ef)],function(_0x27f857){const _0x4f1e6a=_0x2a2005;logger[_0x4f1e6a(0x232)](_0x4f1e6a(0x1f4)+_0x27f857),_0x5ca33c[_0x4f1e6a(0x21e)](_0x372696,_0x27f857);}),_0xa2b96b['on'](_0x5ca33c[_0x2a2005(0x1ef)],function(_0x44353c){const _0x30a895=_0x2a2005;logger[_0x30a895(0x232)](_0x30a895(0x1e3)+_0x44353c),_0x424913[_0x30a895(0x22c)](_0x372696,_0x44353c);}),_0xa2b96b['on'](_0x5ca33c[_0x2a2005(0x1ea)],()=>{const _0x24f527=_0x2a2005;this[_0x24f527(0x1cf)](_0x13a479,_0x214646)[_0x24f527(0x213)](_0x46968d=>_0x5c4972({'needsUpdate':!![],'binaryPath':_0x46968d}))['catch'](_0x372696);});})['on'](_0x500904[_0xd56d9f(0x1f5)],function(_0x2e79cd){const _0x261b49=_0xd56d9f;logger[_0x261b49(0x232)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x2e79cd),_0x5ca33c[_0x261b49(0x210)](_0x372696,_0x2e79cd);});});}[a105_0x39309a(0x1cf)](_0x2bd659,_0x33a2d7){const _0x3c8f19=a105_0x39309a,_0x256640={'AKRZz':function(_0x5b467c,_0x16ad22){return _0x5b467c(_0x16ad22);},'tjZcw':'end','iUbNq':function(_0x3186be,_0x3edd43){return _0x3186be===_0x3edd43;},'qJPiH':_0x3c8f19(0x1fc),'bselR':function(_0x27b3a6,_0xcb4aa5){return _0x27b3a6(_0xcb4aa5);},'fJfJQ':_0x3c8f19(0x204),'cenZH':_0x3c8f19(0x232)},_0x383800=this.#binaryName,_0x22227c=path[_0x3c8f19(0x1e6)](_0x33a2d7,_0x383800);return new Promise((_0x2ed96a,_0x416cac)=>{const _0x23c25a=_0x3c8f19,_0x5d2285={'FdQfc':function(_0x4e3018,_0x51c274){const _0x3a2a0a=a105_0x38b6;return _0x256640[_0x3a2a0a(0x250)](_0x4e3018,_0x51c274);},'bgXbt':_0x256640[_0x23c25a(0x1d1)],'xnSiw':function(_0x1a07eb,_0x3733ba){const _0x1b4275=_0x23c25a;return _0x256640[_0x1b4275(0x216)](_0x1a07eb,_0x3733ba);},'Lvjee':_0x256640[_0x23c25a(0x242)],'AZutf':function(_0x5c93c,_0x5309d2){const _0x45badb=_0x23c25a;return _0x256640[_0x45badb(0x250)](_0x5c93c,_0x5309d2);},'zlWRG':function(_0x1a7425,_0x3a3187){const _0x58138b=_0x23c25a;return _0x256640[_0x58138b(0x224)](_0x1a7425,_0x3a3187);},'wAtOC':function(_0x445663,_0x2bb082){const _0x3bb205=_0x23c25a;return _0x256640[_0x3bb205(0x224)](_0x445663,_0x2bb082);},'MhmlX':_0x256640[_0x23c25a(0x25a)],'wsPnv':_0x256640[_0x23c25a(0x1d7)]},_0x1c21d1={};_0x1c21d1[_0x23c25a(0x25f)]=!![],yauzl[_0x23c25a(0x244)](_0x2bd659,_0x1c21d1,function(_0x5d2487,_0x420955){const _0x23ed29=_0x23c25a,_0xf7c9a8={'JEiij':function(_0x28776c,_0x3d5cf2){const _0x4dbedc=a105_0x38b6;return _0x5d2285[_0x4dbedc(0x24e)](_0x28776c,_0x3d5cf2);},'FWqyV':function(_0x2dbc6e,_0x3b4ad7){const _0x1489fc=a105_0x38b6;return _0x5d2285[_0x1489fc(0x25c)](_0x2dbc6e,_0x3b4ad7);}};_0x5d2487&&_0x5d2285['wAtOC'](_0x416cac,_0x5d2487),_0x420955[_0x23ed29(0x1d3)](),_0x420955['on'](_0x5d2285['MhmlX'],_0x5987a8=>{const _0x3f00a3=_0x23ed29,_0x1102f1={'XkoUD':function(_0x94a8f3,_0x2297ac){return _0x5d2285['FdQfc'](_0x94a8f3,_0x2297ac);},'PGlsi':_0x5d2285['bgXbt']};if(/\/$/[_0x3f00a3(0x21f)](_0x5987a8[_0x3f00a3(0x254)]))_0x420955[_0x3f00a3(0x1d3)]();else{const _0x3d104e=fs[_0x3f00a3(0x203)](path[_0x3f00a3(0x1e6)](_0x33a2d7,_0x5987a8[_0x3f00a3(0x254)]));_0x420955['openReadStream'](_0x5987a8,function(_0x54cf23,_0xab587f){_0x54cf23&&_0x1102f1['XkoUD'](_0x416cac,_0x5d2487),_0xab587f['on'](_0x1102f1['PGlsi'],function(){const _0x553056=a105_0x38b6;_0x3d104e['close'](),_0x420955[_0x553056(0x1d3)]();}),_0xab587f['pipe'](_0x3d104e);}),_0x5d2285[_0x3f00a3(0x262)](_0x5987a8[_0x3f00a3(0x254)],_0x383800)&&_0x420955[_0x3f00a3(0x22f)]();}}),_0x420955['on'](_0x5d2285[_0x23ed29(0x1df)],_0x44ba9b=>{const _0x356512=_0x23ed29;_0x5d2285[_0x356512(0x261)](_0x416cac,_0x44ba9b);}),_0x420955['once'](_0x5d2285[_0x23ed29(0x233)],()=>{const _0x355a21=_0x23ed29;fs[_0x355a21(0x23d)](_0x22227c,_0x5d2285[_0x355a21(0x234)],function(_0x521024){const _0x4c9bb5=_0x355a21;_0x521024&&_0xf7c9a8[_0x4c9bb5(0x264)](_0x416cac,_0x521024),_0xf7c9a8['FWqyV'](_0x2ed96a,_0x22227c);}),_0x420955[_0x355a21(0x22f)]();});});});}async[a105_0x39309a(0x1d8)](_0x10660c){const _0x25953f=a105_0x39309a,_0x2bd5bd={'oQjBb':function(_0x58f0d4,_0xba79a9){return _0x58f0d4(_0xba79a9);},'nHitB':function(_0x452101,_0x6a8afc,_0x1ae1a5,_0x31f478){return _0x452101(_0x6a8afc,_0x1ae1a5,_0x31f478);},'INaMu':'--version','TDoig':'data','JAsYY':_0x25953f(0x22f)},_0x569739=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x2dcec0,_0x22ae96)=>{const _0x2169f0=_0x25953f,_0x154fca={};_0x154fca[_0x2169f0(0x1da)]=process['env'];const _0x49a3e8=_0x2bd5bd[_0x2169f0(0x245)](spawn,_0x10660c,[_0x2bd5bd[_0x2169f0(0x1d6)]],_0x154fca);_0x49a3e8[_0x2169f0(0x251)]['on'](_0x2bd5bd[_0x2169f0(0x252)],_0x133dce=>{const _0x149767=_0x2169f0;_0x569739[_0x149767(0x21f)](_0x133dce)&&_0x2bd5bd[_0x149767(0x223)](_0x2dcec0,!![]);}),_0x49a3e8['on'](_0x2bd5bd['JAsYY'],()=>{const _0x504307=_0x2169f0;_0x2bd5bd[_0x504307(0x223)](_0x2dcec0,![]);});});}#homedir(){const _0x21d47b=a105_0x39309a,_0x5549ed={};_0x5549ed[_0x21d47b(0x20e)]=function(_0x3c4016,_0x3d77ba){return _0x3c4016===_0x3d77ba;},_0x5549ed[_0x21d47b(0x263)]=_0x21d47b(0x253),_0x5549ed[_0x21d47b(0x218)]=_0x21d47b(0x235),_0x5549ed[_0x21d47b(0x237)]=function(_0x17a68c,_0x427ed4){return _0x17a68c+_0x427ed4;},_0x5549ed[_0x21d47b(0x228)]='darwin',_0x5549ed[_0x21d47b(0x21c)]=_0x21d47b(0x1ee),_0x5549ed[_0x21d47b(0x1db)]=function(_0x31fce8,_0x4195d0){return _0x31fce8===_0x4195d0;},_0x5549ed[_0x21d47b(0x211)]=_0x21d47b(0x239),_0x5549ed[_0x21d47b(0x1f1)]=_0x21d47b(0x231),_0x5549ed[_0x21d47b(0x23f)]=function(_0x24319d,_0x3cd989){return _0x24319d+_0x3cd989;},_0x5549ed['FcvUp']='/home/',_0x5549ed[_0x21d47b(0x1fb)]=function(_0x571e00,_0x594c7e){return _0x571e00||_0x594c7e;};const _0x37b5a4=_0x5549ed;if(_0x37b5a4['zzBNi'](typeof os[_0x21d47b(0x20d)],_0x37b5a4[_0x21d47b(0x263)]))return os[_0x21d47b(0x20d)]();const _0x11fb40=process[_0x21d47b(0x1da)],_0x17ec85=_0x11fb40[_0x21d47b(0x227)],_0x19f1f3=_0x11fb40[_0x21d47b(0x226)]||_0x11fb40[_0x21d47b(0x221)]||_0x11fb40[_0x21d47b(0x249)]||_0x11fb40['USERNAME'];if(_0x37b5a4[_0x21d47b(0x20e)](process[_0x21d47b(0x260)],_0x37b5a4['sQtpL']))return _0x11fb40[_0x21d47b(0x247)]||_0x37b5a4[_0x21d47b(0x237)](_0x11fb40[_0x21d47b(0x24c)],_0x11fb40[_0x21d47b(0x229)])||_0x17ec85||null;if(_0x37b5a4[_0x21d47b(0x20e)](process['platform'],_0x37b5a4[_0x21d47b(0x228)]))return _0x17ec85||(_0x19f1f3?_0x37b5a4['CnoiJ'](_0x37b5a4[_0x21d47b(0x21c)],_0x19f1f3):null);if(_0x37b5a4[_0x21d47b(0x1db)](process[_0x21d47b(0x260)],_0x37b5a4[_0x21d47b(0x211)]))return _0x17ec85||(_0x37b5a4[_0x21d47b(0x20e)](process[_0x21d47b(0x1f3)](),0x0)?_0x37b5a4[_0x21d47b(0x1f1)]:_0x19f1f3?_0x37b5a4[_0x21d47b(0x23f)](_0x37b5a4[_0x21d47b(0x1cb)],_0x19f1f3):null);return _0x37b5a4[_0x21d47b(0x1fb)](_0x17ec85,null);}}module[a105_0x39309a(0x20b)]=PercyBinary;function a105_0x38b6(_0xb8d00f,_0x281a68){const _0x73e76=a105_0x73e7();return a105_0x38b6=function(_0x38b657,_0x5bb45){_0x38b657=_0x38b657-0x1cb;let _0x242a5f=_0x73e76[_0x38b657];return _0x242a5f;},a105_0x38b6(_0xb8d00f,_0x281a68);}function a105_0x73e7(){const _0x487995=['INaMu','cenZH','validateBinary','https://github.com/percy/cli/releases/latest/download','env','RUgBY','child_process','If-None-Match','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','wsPnv','CPqKS','zuQrM','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','Saved\x20new\x20ETag\x20for\x20percy\x20binary','AGKZZ','join','warn','etag','get','brpuN','accessSync','CTKhu','R_OK','/Users/','mLBcT','winstonLogger','ipCqj','mkdirSync','getuid','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','rBtxD','nGEqI','needsUpdate','yauzl','/percy-win.zip','657YnISBQ','uyLVc','0755','cwd','url','40OxEWCQ','BRUtF','undefined','vqXTc','createWriteStream','entry','vMRPH','alpHS','7799kAPJWl','QFwHn','length','oocQe','exports','UOxCP','homedir','zzBNi','W_OK','FzAsj','DXxia','binaryPath','then','proxyHost','18LnFMJg','iUbNq','getBinaryPath','sQtpL','zovKD','130570VcLrhQ','ZnMwA','XlqHA','.zip','ZCPDl','test','.browserstack','USER','132ZsnymW','oQjBb','bselR','thnuN','LOGNAME','HOME','CTfKw','HOMEPATH','Error\x20trying\x20to\x20download\x20percy\x20binary','path','ChdgF','DpoEl','32388bRUEDw','close','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','/root','error','bgXbt','Lvjee','win32','gfKJk','CnoiJ','trim','linux','match','host','cQsVx','chmod','https-proxy-agent','lSDak','xYGpU','ryrrM','qJPiH','debug','open','nHitB','writeFileSync','USERPROFILE','headers','LNAME','2154488pNxsfJ','qlERx','HOMEDRIVE','Failed\x20to\x20save\x20ETag\x20file:\x20','AZutf','useCaCertificate','AKRZz','stdout','TDoig','function','fileName','statSync','386428DecPUz','port','percy','pipe','fJfJQ','download','zlWRG','750445dRfTMc','15060oQBqTn','lazyEntries','platform','FdQfc','xnSiw','oCPJR','JEiij','KTApq','FcvUp','.etag','434154rDYlIt','/percy-linux.zip','extractAndSaveBinary','percy.exe','tjZcw','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','readEntry','X_OK','BIEwm'];a105_0x73e7=function(){return _0x487995;};return a105_0x73e7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a106_0x428507=a106_0x59dd;function a106_0x1960(){var _0x30693e=['increment','14aQilMv','1507540PzZqgN','getName','4418848OeYPqr','673263CxiNKj','9wjRJBO','1527472YxGZgs','2FAxPul','get','5166606TYAMjz','862509AWyWir','22789510IlJRCQ'];a106_0x1960=function(){return _0x30693e;};return a106_0x1960();}function a106_0x59dd(_0x1e2fbb,_0x434e46){var _0x1960ec=a106_0x1960();return a106_0x59dd=function(_0x59ddb5,_0x40db53){_0x59ddb5=_0x59ddb5-0x84;var _0x2d70ac=_0x1960ec[_0x59ddb5];return _0x2d70ac;},a106_0x59dd(_0x1e2fbb,_0x434e46);}(function(_0x5240cf,_0x4c3f44){var _0x4801b6=a106_0x59dd,_0x5e11f3=_0x5240cf();while(!![]){try{var _0x188d8e=-parseInt(_0x4801b6(0x90))/0x1*(-parseInt(_0x4801b6(0x8d))/0x2)+parseInt(_0x4801b6(0x8a))/0x3+-parseInt(_0x4801b6(0x89))/0x4+-parseInt(_0x4801b6(0x87))/0x5+-parseInt(_0x4801b6(0x8f))/0x6+-parseInt(_0x4801b6(0x86))/0x7*(parseInt(_0x4801b6(0x8c))/0x8)+parseInt(_0x4801b6(0x8b))/0x9*(parseInt(_0x4801b6(0x84))/0xa);if(_0x188d8e===_0x4c3f44)break;else _0x5e11f3['push'](_0x5e11f3['shift']());}catch(_0x5725ad){_0x5e11f3['push'](_0x5e11f3['shift']());}}}(a106_0x1960,0xaef94));class PercyCaptureMap{#map={};[a106_0x428507(0x85)](_0x3a35af,_0xc74fad){!this.#map[_0x3a35af]&&(this.#map[_0x3a35af]={}),!this.#map[_0x3a35af][_0xc74fad]&&(this.#map[_0x3a35af][_0xc74fad]=0x0),this.#map[_0x3a35af][_0xc74fad]++;}[a106_0x428507(0x88)](_0x1888ef,_0x2b17c6){var _0x5bcf57=a106_0x428507;return _0x1888ef+'-'+_0x2b17c6+'-'+this[_0x5bcf57(0x8e)](_0x1888ef,_0x2b17c6);}[a106_0x428507(0x8e)](_0x251c1e,_0x523718){if(!this.#map[_0x251c1e])return 0x0;if(!this.#map[_0x251c1e][_0x523718])return 0x0;return this.#map[_0x251c1e][_0x523718];}}module['exports']=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a107_0x276453=a107_0x6962;(function(_0x3658ee,_0x58abf6){var _0x8d1379=a107_0x6962,_0x3f808d=_0x3658ee();while(!![]){try{var _0x3695c6=parseInt(_0x8d1379(0x77))/0x1+-parseInt(_0x8d1379(0x72))/0x2+parseInt(_0x8d1379(0x6d))/0x3*(-parseInt(_0x8d1379(0x76))/0x4)+parseInt(_0x8d1379(0x70))/0x5+-parseInt(_0x8d1379(0x6a))/0x6+-parseInt(_0x8d1379(0x75))/0x7*(-parseInt(_0x8d1379(0x73))/0x8)+parseInt(_0x8d1379(0x6c))/0x9;if(_0x3695c6===_0x58abf6)break;else _0x3f808d['push'](_0x3f808d['shift']());}catch(_0x171d73){_0x3f808d['push'](_0x3f808d['shift']());}}}(a107_0x1228,0x1f4d4));var a107_0x6fb121={};a107_0x6fb121[a107_0x276453(0x74)]=[a107_0x276453(0x6f)],a107_0x6fb121[a107_0x276453(0x78)]=[a107_0x276453(0x6b),a107_0x276453(0x71)];var a107_0x3109f1={};a107_0x3109f1[a107_0x276453(0x74)]=['takeScreenshot'];var a107_0x11e88c={};function a107_0x6962(_0x56d85d,_0x220b7e){var _0x1228d7=a107_0x1228();return a107_0x6962=function(_0x6962d0,_0x1b9468){_0x6962d0=_0x6962d0-0x68;var _0x3b66ca=_0x1228d7[_0x6962d0];return _0x3b66ca;},a107_0x6962(_0x56d85d,_0x220b7e);}a107_0x11e88c[a107_0x276453(0x78)]=[a107_0x276453(0x6b)];var a107_0x3b28cf={};a107_0x3b28cf[a107_0x276453(0x69)]=a107_0x6fb121,a107_0x3b28cf['screenshot']=a107_0x3109f1,a107_0x3b28cf[a107_0x276453(0x6b)]=a107_0x11e88c,a107_0x3b28cf[a107_0x276453(0x6e)]={},a107_0x3b28cf[a107_0x276453(0x68)]={},module['exports']=a107_0x3b28cf;function a107_0x1228(){var _0x34c320=['3124935oicXMX','879fatuLi','testcase','takeScreenshot','685625WtzuJi','sendKeys','353032NCrGGv','106856vwQLEK','driver','7aaoJAB','2556UUJbgg','219198pEVNFh','element','manual','auto','1349640FNQHxE','click'];a107_0x1228=function(){return _0x34c320;};return a107_0x1228();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a108_0x35d965=a108_0x2154;(function(_0x4ea226,_0x52e41c){const _0x3e5a28=a108_0x2154,_0x654a66=_0x4ea226();while(!![]){try{const _0x1c40ea=-parseInt(_0x3e5a28(0x153))/0x1+-parseInt(_0x3e5a28(0x13d))/0x2+-parseInt(_0x3e5a28(0x14d))/0x3*(-parseInt(_0x3e5a28(0x15c))/0x4)+-parseInt(_0x3e5a28(0x163))/0x5*(parseInt(_0x3e5a28(0x154))/0x6)+-parseInt(_0x3e5a28(0x15e))/0x7+-parseInt(_0x3e5a28(0x158))/0x8+parseInt(_0x3e5a28(0x14b))/0x9;if(_0x1c40ea===_0x52e41c)break;else _0x654a66['push'](_0x654a66['shift']());}catch(_0x62b3b6){_0x654a66['push'](_0x654a66['shift']());}}}(a108_0xc37e,0xdb145));const tryRequire=function(_0xc6823d,_0x583ea9){const _0x9014b6=a108_0x2154,_0x5c371f={'tzsOT':function(_0x46b371,_0x47a30f){return _0x46b371(_0x47a30f);}};try{return _0x5c371f[_0x9014b6(0x14e)](require,_0xc6823d);}catch{return _0x583ea9;}},percySnapshot=tryRequire(a108_0x35d965(0x147),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a108_0x35d965(0x148)),{getCurrentTestData}=require(a108_0x35d965(0x15a)),PerformanceTester=require(a108_0x35d965(0x157)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants'),logger=require(a108_0x35d965(0x15b))[a108_0x35d965(0x141)];function a108_0x2154(_0x3286f1,_0xab5e8d){const _0xc37ee7=a108_0xc37e();return a108_0x2154=function(_0x215486,_0x274d0f){_0x215486=_0x215486-0x13b;let _0x5de285=_0xc37ee7[_0x215486];return _0x5de285;},a108_0x2154(_0x3286f1,_0xab5e8d);}percySnapshot&&(exports[a108_0x35d965(0x144)]=async function(){const _0x379742=a108_0x35d965,_0x5f4dab={'VFSuw':function(_0x392f26,_0x5240a5){return _0x392f26!==_0x5240a5;},'XTAwn':function(_0x34bbce,_0x2b371c){return _0x34bbce>=_0x2b371c;},'POKvQ':function(_0x263f86){return _0x263f86();}};if(global[_0x379742(0x13b)]&&_0x5f4dab[_0x379742(0x13e)](global[_0x379742(0x13b)],global[_0x379742(0x13f)]))return;const _0xdb8cf5=_0x5f4dab[_0x379742(0x162)](arguments[_0x379742(0x152)],0x2)?arguments[0x1]:'',_0x4743ab=_0x5f4dab[_0x379742(0x15f)](getCurrentTestData),_0x191d17={};return _0x191d17['name']=_0xdb8cf5,_0x191d17[_0x379742(0x151)]=_0x4743ab['name']||'',_0x191d17['thTestCaseExecutionId']=_0x4743ab[_0x379742(0x156)]||'',_0x191d17[_0x379742(0x142)]=global[_0x379742(0x13b)],await PerformanceTester[_0x379742(0x146)](PerformanceEvents[_0x379742(0x160)],()=>percySnapshot[_0x379742(0x14a)](null,arguments),_0x191d17);});function a108_0xc37e(){const _0x5b01e5=['screenshot','measure','@percy/selenium-webdriver','@percy/appium-app','SCREENSHOT_APP','apply','43583112AUMBbz','qHmuf','12GtXKRB','tzsOT','error','VGyES','testCase','length','732895uYDwto','7732254ahyxmM','screenshotApp','uuid','../performance/performance-tester','695760DnvkpU','name','../../helpers/testhub/utils','../logger','455348vXRBoV','thTestCaseExecutionId','9219406CLCueu','POKvQ','SNAPSHOT','SCREENSHOT','XTAwn','5JRmoZl','browserstackPlatformIndex','shkar','1949870uQdmFM','VFSuw','browserstackPercyBestPlatform','rcaTn','winstonLogger','platformIndex','AytMW','snapshot'];a108_0xc37e=function(){return _0x5b01e5;};return a108_0xc37e();}percyScreenshot?exports[a108_0x35d965(0x145)]=async function(){const _0x1efabd=a108_0x35d965,_0x315d56={'qHmuf':function(_0x3c9647,_0x499ae5){return _0x3c9647>=_0x499ae5;},'VGyES':function(_0x529697){return _0x529697();}},_0x5aaabf=_0x315d56[_0x1efabd(0x14c)](arguments['length'],0x2)?arguments[0x1]:'',_0x4802f1=_0x315d56[_0x1efabd(0x150)](getCurrentTestData),_0xc4fa27={};return _0xc4fa27[_0x1efabd(0x159)]=_0x5aaabf,_0xc4fa27[_0x1efabd(0x151)]=_0x4802f1[_0x1efabd(0x159)]||'',_0xc4fa27[_0x1efabd(0x15d)]=_0x4802f1['uuid']||'',_0xc4fa27[_0x1efabd(0x142)]=global[_0x1efabd(0x13b)],await PerformanceTester[_0x1efabd(0x146)](PerformanceEvents[_0x1efabd(0x161)],()=>percyScreenshot[_0x1efabd(0x14a)](null,arguments),_0xc4fa27);}:exports['screenshot']=()=>{const _0x3b275b=a108_0x35d965,_0x11d797={};_0x11d797['rcaTn']='Unsupported\x20driver\x20for\x20percy';const _0x482dd8=_0x11d797;logger[_0x3b275b(0x14f)](_0x482dd8[_0x3b275b(0x140)]);};exports[a108_0x35d965(0x155)]=async function(){const _0x552018=a108_0x35d965,_0x3724ce={'shkar':function(_0x2e0cf0,_0x5a845b){return _0x2e0cf0>=_0x5a845b;},'AytMW':function(_0x1d7862){return _0x1d7862();}},_0x535afd=_0x3724ce[_0x552018(0x13c)](arguments[_0x552018(0x152)],0x2)?arguments[0x1]:'',_0x34958a=_0x3724ce[_0x552018(0x143)](getCurrentTestData),_0x3f13c0={};return _0x3f13c0[_0x552018(0x159)]=_0x535afd,_0x3f13c0[_0x552018(0x151)]=_0x34958a[_0x552018(0x159)]||'',_0x3f13c0[_0x552018(0x15d)]=_0x34958a['uuid']||'',_0x3f13c0[_0x552018(0x142)]=global[_0x552018(0x13b)],await PerformanceTester[_0x552018(0x146)](PerformanceEvents[_0x552018(0x149)],()=>percyAppScreenshot['apply'](null,arguments),_0x3f13c0);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a109_0x568c(_0x13f407,_0x5a7f34){var _0xb1833=a109_0xb183();return a109_0x568c=function(_0x568c5a,_0xb6ec04){_0x568c5a=_0x568c5a-0xe8;var _0x5042ec=_0xb1833[_0x568c5a];return _0x5042ec;},a109_0x568c(_0x13f407,_0x5a7f34);}function a109_0xb183(){var _0x40965e=['84eiDifX','41398GNVJtD','./Percy','1111749fNEUBD','642FFDGOe','931488oZmNIB','1897UHWHbT','1040ylVXeX','6894OEmrkS','6296hCMfoV','2360430uvCsUH','4eCHtdG','33352FFyQDW'];a109_0xb183=function(){return _0x40965e;};return a109_0xb183();}var a109_0x1e0d9c=a109_0x568c;(function(_0x553cfd,_0x7b8591){var _0x5032dd=a109_0x568c,_0x51f9fb=_0x553cfd();while(!![]){try{var _0x219d68=parseInt(_0x5032dd(0xee))/0x1*(-parseInt(_0x5032dd(0xec))/0x2)+-parseInt(_0x5032dd(0xeb))/0x3*(-parseInt(_0x5032dd(0xf3))/0x4)+parseInt(_0x5032dd(0xf2))/0x5+parseInt(_0x5032dd(0xe8))/0x6*(-parseInt(_0x5032dd(0xe9))/0x7)+parseInt(_0x5032dd(0xf1))/0x8*(parseInt(_0x5032dd(0xf0))/0x9)+parseInt(_0x5032dd(0xef))/0xa*(-parseInt(_0x5032dd(0xf4))/0xb)+-parseInt(_0x5032dd(0xed))/0xc;if(_0x219d68===_0x7b8591)break;else _0x51f9fb['push'](_0x51f9fb['shift']());}catch(_0x118d7f){_0x51f9fb['push'](_0x51f9fb['shift']());}}}(a109_0xb183,0x5817a),module['exports']=require(a109_0x1e0d9c(0xea)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a110_0x51a581=a110_0x2812;(function(_0x1283bd,_0x28f416){const _0x12f125=a110_0x2812,_0x2efa48=_0x1283bd();while(!![]){try{const _0x19447d=-parseInt(_0x12f125(0xc2))/0x1+-parseInt(_0x12f125(0xa4))/0x2+-parseInt(_0x12f125(0xd4))/0x3+-parseInt(_0x12f125(0xbf))/0x4+parseInt(_0x12f125(0xd6))/0x5*(-parseInt(_0x12f125(0xdb))/0x6)+parseInt(_0x12f125(0xd8))/0x7*(-parseInt(_0x12f125(0xa0))/0x8)+parseInt(_0x12f125(0xb6))/0x9;if(_0x19447d===_0x28f416)break;else _0x2efa48['push'](_0x2efa48['shift']());}catch(_0x2d5a82){_0x2efa48['push'](_0x2efa48['shift']());}}}(a110_0xdc60,0x4409e));function a110_0xdc60(){const _0x3265e0=['manual','568803mQtmJJ','deviceName','2214610XWRDem','XhawM','609xUXZVL','screenshot','patchDriverPercy','6IbXBzE','winstonLogger','./PercySDK','overrideXforPercy','NquQK','auto','safari','VBjzx','browserStackPercyOptions','FfuEP','NqHvs','debug','../performance/performance-tester','reduce','toLowerCase','48808ncnWLW','then','measureWrapper','forEach','855682jMJJzi','browserName','Stopping\x20percy','chrome','error','platforms','IKEew','../helper','prototype','stop','app','patch','../logger','browserstackSessionName','getDriver','browserstackPercyBestPlatform','getPercyOptions','LYMcC','19174167AWWCHH','driver','dtKxE','getBestPlatformForPercySnapshot','apply','percy','isUndefined','browserstackPercyMap','AUTO_CAPTURE','670676lHAKVb','browser','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','92957vlExHz','sFkNV','vWRwu','./PercyCaptureMap','percyAutoCapture','STOP','Error\x20patching\x20','UZsPm','OQFgv','nestedKeyValue','increment','RrchR','START','percyCaptureMode','element','stopPercy','\x20for\x20percy\x20'];a110_0xdc60=function(){return _0x3265e0;};return a110_0xdc60();}const Percy=require('./Percy'),PercySDK=require(a110_0x51a581(0xdd)),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require(a110_0x51a581(0xc5)),logger=require(a110_0x51a581(0xb0))[a110_0x51a581(0xdc)],helper=require(a110_0x51a581(0xab)),PerformanceTester=require(a110_0x51a581(0x9d)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants');function a110_0x2812(_0x1973b6,_0x7d2f8a){const _0xdc605f=a110_0xdc60();return a110_0x2812=function(_0x281221,_0x3b9f15){_0x281221=_0x281221-0x9d;let _0x5ea15e=_0xdc605f[_0x281221];return _0x5ea15e;},a110_0x2812(_0x1973b6,_0x7d2f8a);}exports['startPercy']=PerformanceTester['measureWrapper'](PerformanceEvents[a110_0x51a581(0xce)],async _0x2543be=>{const _0x49c300=a110_0x51a581,_0x5d034a={};_0x5d034a[_0x49c300(0xcd)]='Starting\x20percy';const _0x314df2=_0x5d034a;logger[_0x49c300(0xe6)](_0x314df2['RrchR']);const _0x1fc684=new Percy(_0x2543be),_0x27512c=await _0x1fc684['start']();if(_0x27512c)return _0x1fc684;return null;}),exports[a110_0x51a581(0xd1)]=PerformanceTester['measureWrapper'](PerformanceEvents[a110_0x51a581(0xc7)],async _0x29be68=>{const _0x7230fd=a110_0x51a581,_0x3f8641={};_0x3f8641[_0x7230fd(0xdf)]=_0x7230fd(0xa6);const _0x21315f=_0x3f8641;return logger[_0x7230fd(0xe6)](_0x21315f[_0x7230fd(0xdf)]),_0x29be68[_0x7230fd(0xad)]();}),exports[a110_0x51a581(0xb9)]=_0x5d7e21=>{const _0x1d60c7=a110_0x51a581,_0x5dd8e7={};_0x5dd8e7[_0x1d60c7(0xe4)]=function(_0x189941,_0x51d10d){return _0x189941<_0x51d10d;};const _0x12eab3=_0x5dd8e7,_0x2a2fe8={};_0x2a2fe8[_0x1d60c7(0xa7)]=0x0,_0x2a2fe8['firefox']=0x1,_0x2a2fe8['edge']=0x2,_0x2a2fe8[_0x1d60c7(0xe1)]=0x3;const _0x337ac6=_0x2a2fe8;return _0x5d7e21[_0x1d60c7(0x9e)]((_0x33c4de,_0x4200a1,_0x28ef7a)=>{const _0x3dc9ad=_0x1d60c7,_0x53a836=_0x5d7e21[_0x33c4de];if(_0x4200a1[_0x3dc9ad(0xd5)])return _0x33c4de;if(_0x53a836[_0x3dc9ad(0xd5)])return _0x28ef7a;const _0x4701d3=_0x4200a1[_0x3dc9ad(0xc0)]?_0x4200a1['browser']:_0x4200a1[_0x3dc9ad(0xa5)];if(_0x4701d3&&_0x12eab3[_0x3dc9ad(0xe4)](_0x337ac6[_0x4701d3[_0x3dc9ad(0x9f)]()],_0x337ac6[_0x4701d3[_0x3dc9ad(0x9f)]()]))return _0x28ef7a;return _0x33c4de;},0x0);},exports['percyAutoCapture']=PerformanceTester[a110_0x51a581(0xa2)](PerformanceEvents[a110_0x51a581(0xbe)],async(_0xb4d7a0,_0x2043f3,_0x21013f)=>{const _0x3106aa=a110_0x51a581,_0x5a9f9c={};_0x5a9f9c[_0x3106aa(0xb8)]=_0x3106aa(0xc1);const _0xffa56a=_0x5a9f9c,_0x472c8f=_0xb4d7a0['browserstackPercyMap'];if(helper[_0x3106aa(0xbc)](_0xb4d7a0[_0x3106aa(0xb1)])){logger['debug'](_0xffa56a[_0x3106aa(0xb8)]);return;}const _0x595871=_0x472c8f['getName'](_0xb4d7a0[_0x3106aa(0xb1)],_0x2043f3);_0x21013f[_0x3106aa(0xae)]?await PercySDK['screenshotApp'](_0xb4d7a0,_0x595871):await PercySDK[_0x3106aa(0xd9)](_0xb4d7a0,_0x595871),_0x472c8f[_0x3106aa(0xcc)](_0xb4d7a0[_0x3106aa(0xb1)],_0x2043f3);}),exports[a110_0x51a581(0xda)]=(_0x245adf,_0x47d48c,_0x108116)=>{const _0x29462c=a110_0x51a581,_0x35d2f8={};_0x35d2f8[_0x29462c(0xb5)]=_0x29462c(0xe3),_0x35d2f8['VBjzx']=_0x29462c(0xbb),_0x35d2f8[_0x29462c(0xca)]=function(_0x14e383,_0xaf575a){return _0x14e383!==_0xaf575a;},_0x35d2f8[_0x29462c(0xc9)]=_0x29462c(0xd3);const _0x5c3902=_0x35d2f8;if(!helper[_0x29462c(0xcb)](_0x108116,[_0x5c3902['LYMcC'],_0x5c3902[_0x29462c(0xe2)]]))return;if(_0x108116[_0x29462c(0xe3)][_0x29462c(0xbb)]&&_0x108116[_0x29462c(0xe3)]['percyCaptureMode']&&_0x5c3902[_0x29462c(0xca)](_0x108116['browserStackPercyOptions'][_0x29462c(0xcf)],_0x5c3902['UZsPm'])&&!_0x245adf[_0x29462c(0xbd)]){global[_0x29462c(0xb1)]&&(_0x245adf[_0x29462c(0xb1)]=global[_0x29462c(0xb1)]),_0x245adf['browserstackPercyMap']=new PercyCaptureMap();const _0x12941f=PercyCaptureModes[_0x108116[_0x29462c(0xe3)][_0x29462c(0xcf)]];_0x12941f[_0x29462c(0xb7)]&&_0x12941f[_0x29462c(0xb7)][_0x29462c(0xa3)](_0x53cfc6=>this[_0x29462c(0xde)](_0x245adf,_0x53cfc6,_0x108116)),_0x12941f[_0x29462c(0xd0)]&&_0x12941f[_0x29462c(0xd0)][_0x29462c(0xa3)](_0x4962a9=>{const _0x548319=_0x29462c;if(_0x47d48c[_0x548319(0xac)][_0x548319(0xaf)+_0x4962a9])return;_0x47d48c[_0x548319(0xac)][_0x548319(0xaf)+_0x4962a9]=!![];const _0x10da0c=_0x47d48c['prototype'][_0x4962a9];_0x47d48c['prototype'][_0x4962a9]=async function(){const _0x440a76=_0x548319;let _0x38e6bf=_0x10da0c[_0x440a76(0xba)](this,arguments);_0x38e6bf&&_0x38e6bf[_0x440a76(0xa1)]&&(_0x38e6bf=await _0x38e6bf);try{const _0x46ee55=this[_0x440a76(0xb2)]();await exports[_0x440a76(0xc6)](_0x46ee55,_0x4962a9,_0x108116);}catch(_0x20d3a9){logger['error'](_0x440a76(0xc8)+_0x4962a9+_0x440a76(0xd2)+_0x20d3a9);}return _0x38e6bf;};});}},exports['overrideXforPercy']=function(_0x12b693,_0x408233,_0x3a439e){const _0x5116f7=a110_0x51a581,_0x10d3f2={};_0x10d3f2[_0x5116f7(0xc3)]=function(_0x2d72ec,_0x593df6){return _0x2d72ec+_0x593df6;},_0x10d3f2[_0x5116f7(0xaa)]=_0x5116f7(0xaf),_0x10d3f2['NqHvs']=function(_0x4a34b2,_0x537fd9){return _0x4a34b2+_0x537fd9;},_0x10d3f2['XhawM']='init';const _0xf5f36d=_0x10d3f2,_0x1d9995=_0xf5f36d[_0x5116f7(0xc3)](_0xf5f36d[_0x5116f7(0xaa)],_0x408233),_0xd8a8cb=_0xf5f36d[_0x5116f7(0xe5)](_0xf5f36d[_0x5116f7(0xd7)],_0x408233),_0x33107c=this;if(_0x12b693[_0x1d9995]||!_0x12b693[_0x408233])return;_0x12b693[_0x1d9995]=!![],_0x12b693[_0xd8a8cb]=_0x12b693[_0x408233],_0x12b693[_0x408233]=async()=>{const _0x53a035=_0x5116f7;try{await _0x33107c[_0x53a035(0xc6)](_0x12b693,_0x408233,_0x3a439e);}catch(_0x2c850b){logger[_0x53a035(0xa8)](_0x53a035(0xc8)+_0x408233+'\x20for\x20percy\x20'+_0x2c850b);}return await _0x12b693[_0xd8a8cb]['apply'](_0x12b693,arguments);};},exports[a110_0x51a581(0xb4)]=_0x3f1e70=>{const _0x115fda=a110_0x51a581,_0x23fdc9={};_0x23fdc9['vWRwu']=_0x115fda(0xe0);const _0x24a385=_0x23fdc9,_0x31f7af={};_0x31f7af[_0x115fda(0xbb)]=_0x3f1e70[_0x115fda(0xbb)],_0x31f7af[_0x115fda(0xcf)]=_0x3f1e70[_0x115fda(0xcf)]||_0x24a385[_0x115fda(0xc4)];const _0x54ae3c=_0x31f7af;_0x3f1e70[_0x115fda(0xbb)]&&(_0x54ae3c[_0x115fda(0xb3)]=exports['getBestPlatformForPercySnapshot'](_0x3f1e70[_0x115fda(0xa9)]));;return _0x54ae3c;};
|