browserstack-node-sdk 1.66.1 → 1.66.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/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 a142_0x92568e=a142_0x5ed0;(function(_0x55766b,_0xdd2c85){const _0x11fc49=a142_0x5ed0,_0x31a887=_0x55766b();while(!![]){try{const _0x58ee35=parseInt(_0x11fc49(0xf0))/0x1+-parseInt(_0x11fc49(0xc3))/0x2*(parseInt(_0x11fc49(0xce))/0x3)+parseInt(_0x11fc49(0x10c))/0x4+-parseInt(_0x11fc49(0x107))/0x5*(-parseInt(_0x11fc49(0xd6))/0x6)+-parseInt(_0x11fc49(0xdd))/0x7*(parseInt(_0x11fc49(0x108))/0x8)+-parseInt(_0x11fc49(0xf2))/0x9*(parseInt(_0x11fc49(0xc5))/0xa)+-parseInt(_0x11fc49(0xec))/0xb*(-parseInt(_0x11fc49(0x109))/0xc);if(_0x58ee35===_0xdd2c85)break;else _0x31a887['push'](_0x31a887['shift']());}catch(_0x538044){_0x31a887['push'](_0x31a887['shift']());}}}(a142_0x1ac7,0xddfb2));const winston=require(a142_0x92568e(0xfe)),path=require(a142_0x92568e(0xc9)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a142_0x92568e(0xf1)),tempLogDir=a142_0x92568e(0xee);let redactRegex=null,lastConfigHash='';function a142_0x1ac7(){const _0x28df4b=['info','combine','qMWyM','fileLogger','6EXCynh','dCThB','161510uonCnx','BROWSERSTACK_LOG_LEVEL','length','BROWSERSTACK_INTERNAL_LOG_DIR','path','\x20-\x20','transports','automationLoggerFile','erJts','1368645FqKgwq','printf','levels','env','\x5c$&','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','loggerConsole','silly','12tCcsOf','logDir','remove','uncolorize','debugLoggerFile','message','winstonLogger','115388XLNZwi','ITUKe','XOaoW','loggerFile','lWjBk','join','format','object','uicAm','level','filter','warn','npm','config','map','37163247zZPEqP','colorize','log','accessKey','839455CMPIzU','../bin/utils/constants','837sbtlay','EPIPE','existsSync','[REDACTED\x20HEADERS]','File','string','add','replace','stringify','/usage.log','name','THdhM','winston','test','true','tSzIo','console.info','mkdirSync','timestamp','Console','vIlpH','550295ToctFs','392GZsYQa','12UatiBy','oCezr','mtBLF','598352CFcvMF','error','BROWSERSTACK_AUTOMATION_LOGS','createLogger','toLowerCase','debug','dwTIx','includes','http','buildLinkTransport','YYYY-MM-DD\x20HH:mm:ss','debugCliLoggerFile','getLogDir'];a142_0x1ac7=function(){return _0x28df4b;};return a142_0x1ac7();}const logFormat=winston['format'](_0x4befc4=>{const _0x52bf22=a142_0x92568e,_0x3f89fa={};_0x3f89fa['tSzIo']=function(_0x23c797,_0x2d3b4a){return _0x23c797!==_0x2d3b4a;},_0x3f89fa[_0x52bf22(0xe5)]=_0x52bf22(0xf7),_0x3f89fa[_0x52bf22(0x106)]=function(_0x34d2c8,_0x4be942){return _0x34d2c8+_0x4be942;},_0x3f89fa['dZLcS']=function(_0x32fcc5,_0x221f47){return _0x32fcc5+_0x221f47;},_0x3f89fa['dCThB']=function(_0x4f464f,_0x158dde){return _0x4f464f!==_0x158dde;},_0x3f89fa[_0x52bf22(0x10a)]=function(_0x28299f,_0x4fde23){return _0x28299f>_0x4fde23;},_0x3f89fa['qMWyM']='[REDACTED]';const _0x62d511=_0x3f89fa;_0x62d511[_0x52bf22(0x101)](typeof _0x4befc4[_0x52bf22(0xdb)],_0x62d511[_0x52bf22(0xe5)])&&(_0x4befc4[_0x52bf22(0xdb)]=JSON[_0x52bf22(0xfa)](_0x4befc4[_0x52bf22(0xdb)]));const _0xd00c4e=global[_0x52bf22(0xea)]&&global[_0x52bf22(0xea)]['userName']||'',_0x2dae3c=global[_0x52bf22(0xea)]&&global[_0x52bf22(0xea)][_0x52bf22(0xef)]||'',_0x5b0c81=_0x62d511[_0x52bf22(0x106)](_0x62d511['dZLcS'](_0xd00c4e,'|'),_0x2dae3c);if(_0x62d511[_0x52bf22(0xc4)](_0x5b0c81,lastConfigHash)){lastConfigHash=_0x5b0c81;const _0x5b746d=[_0xd00c4e,_0x2dae3c][_0x52bf22(0xe7)](Boolean);if(_0x62d511['oCezr'](_0x5b746d[_0x52bf22(0xc7)],0x0)){const _0x2ad5f6=_0x5b746d[_0x52bf22(0xeb)](_0x2fd318=>_0x2fd318[_0x52bf22(0xf9)](/[.*+?^${}()|[\]\\]/g,_0x52bf22(0xd2)))[_0x52bf22(0xe2)]('|');redactRegex=new RegExp(_0x2ad5f6,'g');}else redactRegex=null;}return redactRegex&&(_0x4befc4[_0x52bf22(0xdb)]=_0x4befc4[_0x52bf22(0xdb)][_0x52bf22(0xf9)](redactRegex,_0x62d511[_0x52bf22(0xc1)])),_0x4befc4;}),SENSITIVE_HEADER_REGEX=/authorization|token|cookie|secret|^x-api-key$|accesskey|password/i,maskHeaders=_0x9408a2=>{const _0x4ffb98=a142_0x92568e,_0x34d718={};_0x34d718['sfIiz']=function(_0x1ecc9d,_0x28bf16){return _0x1ecc9d!==_0x28bf16;},_0x34d718[_0x4ffb98(0xde)]=_0x4ffb98(0xe4),_0x34d718[_0x4ffb98(0xdf)]='[REDACTED]',_0x34d718['lWjBk']=_0x4ffb98(0xf5);const _0x547e78=_0x34d718;try{if(!_0x9408a2||_0x547e78['sfIiz'](typeof _0x9408a2,_0x547e78[_0x4ffb98(0xde)]))return _0x9408a2;const _0x424407={};for(const _0x24c3a3 of Object['keys'](_0x9408a2)){_0x424407[_0x24c3a3]=SENSITIVE_HEADER_REGEX[_0x4ffb98(0xff)](_0x24c3a3)?_0x547e78[_0x4ffb98(0xdf)]:_0x9408a2[_0x24c3a3];}return _0x424407;}catch{return _0x547e78[_0x4ffb98(0xe1)];}},fetchLogDir=()=>{const _0x152c9a=a142_0x92568e;if(process[_0x152c9a(0xd1)][_0x152c9a(0xc8)])return process[_0x152c9a(0xd1)][_0x152c9a(0xc8)];else!fs[_0x152c9a(0xf4)](tempLogDir)&&fs[_0x152c9a(0x103)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0xd1e804=a142_0x92568e,_0x82bd8f={};_0x82bd8f['mtBLF']=_0xd1e804(0xbf);const _0x5e71d1=_0x82bd8f,_0xfd6333=process[_0xd1e804(0xd1)][_0xd1e804(0xc6)],_0x10c4e5=Object['keys'](winston[_0xd1e804(0xea)][_0xd1e804(0xe9)][_0xd1e804(0xd0)]);if(_0xfd6333&&_0x10c4e5[_0xd1e804(0xb9)](_0xfd6333[_0xd1e804(0x110)]()))return _0xfd6333[_0xd1e804(0x110)]();return _0x5e71d1[_0xd1e804(0x10b)];},initialLogLevel=getInitialLogLevel(),a142_0x55f416={};a142_0x55f416[a142_0x92568e(0xfc)]=a142_0x92568e(0x102),a142_0x55f416[a142_0x92568e(0xe6)]=initialLogLevel;const transports={'loggerConsole':new winston[(a142_0x92568e(0xcb))][(a142_0x92568e(0x105))](a142_0x55f416),'loggerFile':new winston[(a142_0x92568e(0xcb))][(a142_0x92568e(0xf6))]({'filename':path[a142_0x92568e(0xe2)](logDir,a142_0x92568e(0xfb)),'level':initialLogLevel}),'debugLoggerFile':new winston['transports'][(a142_0x92568e(0xf6))]({'filename':path[a142_0x92568e(0xe2)](logDir,'/usage-debug.log'),'level':a142_0x92568e(0xd5)}),'debugCliLoggerFile':new winston[(a142_0x92568e(0xcb))][(a142_0x92568e(0xf6))]({'filename':path[a142_0x92568e(0xe2)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a142_0x92568e(0xd5)}),'buildLinkTransport':new winston[(a142_0x92568e(0xcb))][(a142_0x92568e(0xf6))]({'filename':path[a142_0x92568e(0xe2)](logDir,'/usage.log'),'level':a142_0x92568e(0xd5)})},automationTransports={};process[a142_0x92568e(0xd1)]['BROWSERSTACK_AUTOMATION_LOGS']==='true'&&(automationTransports['automationLoggerFile']=new winston[(a142_0x92568e(0xcb))][(a142_0x92568e(0xf6))]({'filename':path[a142_0x92568e(0xe2)](logDir,'automation.log'),'level':a142_0x92568e(0xd5)}));transports[a142_0x92568e(0xd4)]['on'](a142_0x92568e(0x10d),_0x3bb8cd=>{const _0x4bca07=a142_0x92568e,_0x5b78cc={};_0x5b78cc[_0x4bca07(0xfd)]=function(_0x5405f9,_0x37ca31){return _0x5405f9===_0x37ca31;},_0x5b78cc[_0x4bca07(0xcd)]=_0x4bca07(0xf3),_0x5b78cc['yNFbJ']=_0x4bca07(0xd3);const _0x5051d7=_0x5b78cc;if(_0x5051d7['THdhM'](_0x3bb8cd['code'],_0x5051d7[_0x4bca07(0xcd)])){console[_0x4bca07(0xee)](_0x5051d7['yNFbJ'],_0x3bb8cd['message']);return;}throw _0x3bb8cd;});const a142_0x6399bf={};a142_0x6399bf[a142_0x92568e(0xe3)]=a142_0x92568e(0xbc);const a142_0x83bb74={};a142_0x83bb74[a142_0x92568e(0xe6)]=!![];const winstonLoggerParams={'format':winston[a142_0x92568e(0xe3)][a142_0x92568e(0xc0)](winston['format']['timestamp'](a142_0x6399bf),winston[a142_0x92568e(0xe3)][a142_0x92568e(0xed)](a142_0x83bb74),winston[a142_0x92568e(0xe3)][a142_0x92568e(0xcf)](_0x5dcf93=>_0x5dcf93[a142_0x92568e(0x104)]+a142_0x92568e(0xca)+_0x5dcf93[a142_0x92568e(0xe6)]+':\x20'+_0x5dcf93[a142_0x92568e(0xdb)])),'transports':[transports[a142_0x92568e(0xd4)]]},a142_0xcab033={};a142_0xcab033[a142_0x92568e(0xe3)]=a142_0x92568e(0xbc);function a142_0x5ed0(_0x525330,_0x16ff24){const _0x1ac7ca=a142_0x1ac7();return a142_0x5ed0=function(_0x5ed0db,_0x1975bd){_0x5ed0db=_0x5ed0db-0xb7;let _0x7949cd=_0x1ac7ca[_0x5ed0db];return _0x7949cd;},a142_0x5ed0(_0x525330,_0x16ff24);}const a142_0x486ee4={};a142_0x486ee4[a142_0x92568e(0xe6)]=!![];const winstonFileLoggerParams={'format':winston[a142_0x92568e(0xe3)][a142_0x92568e(0xc0)](winston[a142_0x92568e(0xe3)][a142_0x92568e(0x104)](a142_0xcab033),winston[a142_0x92568e(0xe3)][a142_0x92568e(0xed)](a142_0x486ee4),winston[a142_0x92568e(0xe3)]['printf'](_0x2b2801=>_0x2b2801[a142_0x92568e(0xe6)]+':\x20'+_0x2b2801[a142_0x92568e(0xdb)])),'transports':[]},a142_0x4c3fdc={};a142_0x4c3fdc[a142_0x92568e(0xe3)]='YYYY-MM-DD\x20HH:mm:ss';const a142_0x58b7bb={};a142_0x58b7bb[a142_0x92568e(0xe6)]=!![];const a142_0x115971={};a142_0x115971[a142_0x92568e(0xe6)]=a142_0x92568e(0xd5);const BuildLoggerParams={'format':winston[a142_0x92568e(0xe3)]['combine'](winston[a142_0x92568e(0xe3)]['timestamp'](a142_0x4c3fdc),winston[a142_0x92568e(0xe3)]['colorize'](a142_0x58b7bb),winston[a142_0x92568e(0xe3)][a142_0x92568e(0xcf)](_0x21f52a=>_0x21f52a['timestamp']+a142_0x92568e(0xca)+_0x21f52a[a142_0x92568e(0xe6)]+':\x20'+_0x21f52a[a142_0x92568e(0xdb)])),'transports':[transports[a142_0x92568e(0xbb)],new winston['transports'][(a142_0x92568e(0x105))](a142_0x115971)]},a142_0xf2d393={};a142_0xf2d393[a142_0x92568e(0xba)]=()=>{},a142_0xf2d393[a142_0x92568e(0xbf)]=()=>{},a142_0xf2d393[a142_0x92568e(0xe8)]=()=>{},a142_0xf2d393[a142_0x92568e(0x10d)]=()=>{},a142_0xf2d393[a142_0x92568e(0xb7)]=()=>{},a142_0xf2d393[a142_0x92568e(0xd5)]=()=>{},exports['automationLogger']=process[a142_0x92568e(0xd1)][a142_0x92568e(0x10e)]===a142_0x92568e(0x100)?winston[a142_0x92568e(0x10f)]({'format':winston['format'][a142_0x92568e(0xc0)](winston[a142_0x92568e(0xe3)][a142_0x92568e(0xd9)](),winston['format'][a142_0x92568e(0x104)](),logFormat(),winston['format'][a142_0x92568e(0xcf)](_0x3f96eb=>_0x3f96eb[a142_0x92568e(0xe6)]+':\x20'+_0x3f96eb[a142_0x92568e(0xdb)])),'transports':[automationTransports[a142_0x92568e(0xcc)]]}):a142_0xf2d393;const initialize=()=>{const _0x1e2301=a142_0x92568e,_0xec51ff={};_0xec51ff['dwTIx']=_0x1e2301(0xd5);const _0x1e350b=_0xec51ff,_0x2b06d6=transports[_0x1e2301(0xd4)][_0x1e2301(0xe6)]||initialLogLevel;transports[_0x1e2301(0xe0)]&&(exports['winstonLogger'][_0x1e2301(0xd8)](transports[_0x1e2301(0xe0)]),exports[_0x1e2301(0xc2)][_0x1e2301(0xd8)](transports[_0x1e2301(0xe0)])),transports['debugLoggerFile']&&(exports[_0x1e2301(0xdc)][_0x1e2301(0xd8)](transports[_0x1e2301(0xda)]),exports['fileLogger'][_0x1e2301(0xd8)](transports[_0x1e2301(0xda)])),transports['loggerFile']=new winston['transports'][(_0x1e2301(0xf6))]({'filename':path[_0x1e2301(0xe2)](exports['logDir'],LOG_FILE_NAME),'level':_0x2b06d6}),transports[_0x1e2301(0xda)]=new winston[(_0x1e2301(0xcb))][(_0x1e2301(0xf6))]({'filename':path['join'](exports[_0x1e2301(0xd7)],DEBUG_LOG_FILE_NAME),'level':_0x1e350b[_0x1e2301(0xb8)]}),transports[_0x1e2301(0xbd)]=new winston[(_0x1e2301(0xcb))][(_0x1e2301(0xf6))]({'filename':path[_0x1e2301(0xe2)](exports[_0x1e2301(0xd7)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x1e350b[_0x1e2301(0xb8)]}),exports[_0x1e2301(0xdc)][_0x1e2301(0xf8)](transports[_0x1e2301(0xe0)]),exports['winstonLogger'][_0x1e2301(0xf8)](transports['debugLoggerFile']),exports['fileLogger'][_0x1e2301(0xf8)](transports['loggerFile']),exports[_0x1e2301(0xc2)][_0x1e2301(0xf8)](transports['debugLoggerFile']);};exports[a142_0x92568e(0xdc)]=new winston[(a142_0x92568e(0x10f))](winstonLoggerParams),exports[a142_0x92568e(0xc2)]=new winston['createLogger'](winstonFileLoggerParams),exports['buildLogger']=new winston[(a142_0x92568e(0x10f))](BuildLoggerParams),exports['logDir']=logDir,exports[a142_0x92568e(0xbe)]=()=>{const _0x49372a=a142_0x92568e;return exports[_0x49372a(0xd7)];},exports[a142_0x92568e(0xcb)]=transports,exports['initialize']=initialize,exports['maskHeaders']=maskHeaders;logDir&&initialize();
|
|
1
|
+
const a142_0x285faf=a142_0x5dcd;(function(_0x3584ea,_0x3d4abc){const _0x50b553=a142_0x5dcd,_0x5e2ef5=_0x3584ea();while(!![]){try{const _0x517916=-parseInt(_0x50b553(0x1a5))/0x1+parseInt(_0x50b553(0x18c))/0x2*(parseInt(_0x50b553(0x165))/0x3)+parseInt(_0x50b553(0x171))/0x4+-parseInt(_0x50b553(0x1a9))/0x5*(-parseInt(_0x50b553(0x197))/0x6)+-parseInt(_0x50b553(0x176))/0x7*(parseInt(_0x50b553(0x167))/0x8)+parseInt(_0x50b553(0x163))/0x9*(-parseInt(_0x50b553(0x15f))/0xa)+-parseInt(_0x50b553(0x16e))/0xb*(-parseInt(_0x50b553(0x19e))/0xc);if(_0x517916===_0x3d4abc)break;else _0x5e2ef5['push'](_0x5e2ef5['shift']());}catch(_0x33295a){_0x5e2ef5['push'](_0x5e2ef5['shift']());}}}(a142_0x191a,0x42967));const winston=require('winston'),path=require(a142_0x285faf(0x17c)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require('../bin/utils/constants'),tempLogDir=a142_0x285faf(0x169);let redactRegex=null,lastConfigHash='';const logFormat=winston[a142_0x285faf(0x19b)](_0x447df0=>{const _0x202799=a142_0x285faf,_0x54ab3f={};_0x54ab3f['gXGmy']=function(_0x3f5cdd,_0x151627){return _0x3f5cdd!==_0x151627;},_0x54ab3f[_0x202799(0x15a)]=_0x202799(0x177),_0x54ab3f[_0x202799(0x178)]=function(_0xdfd979,_0x3911e9){return _0xdfd979+_0x3911e9;},_0x54ab3f[_0x202799(0x18f)]=function(_0x366dc7,_0x15cc20){return _0x366dc7!==_0x15cc20;},_0x54ab3f[_0x202799(0x188)]=function(_0x4bf2e8,_0x4004f9){return _0x4bf2e8>_0x4004f9;},_0x54ab3f['haJTj']=_0x202799(0x17d);const _0x5be261=_0x54ab3f;_0x5be261[_0x202799(0x16f)](typeof _0x447df0['message'],_0x5be261[_0x202799(0x15a)])&&(_0x447df0[_0x202799(0x19d)]=JSON[_0x202799(0x189)](_0x447df0['message']));const _0x43c482=global['config']&&global[_0x202799(0x18a)][_0x202799(0x1aa)]||'',_0x41d9bc=global['config']&&global['config'][_0x202799(0x155)]||'',_0x4d09b0=_0x5be261[_0x202799(0x178)](_0x5be261['DJUBD'](_0x43c482,'|'),_0x41d9bc);if(_0x5be261['IJayO'](_0x4d09b0,lastConfigHash)){lastConfigHash=_0x4d09b0;const _0x4896b6=[_0x43c482,_0x41d9bc][_0x202799(0x194)](Boolean);if(_0x5be261[_0x202799(0x188)](_0x4896b6[_0x202799(0x1a8)],0x0)){const _0x44be9a=_0x4896b6[_0x202799(0x160)](_0xf54317=>_0xf54317[_0x202799(0x17b)](/[.*+?^${}()|[\]\\]/g,_0x202799(0x173)))[_0x202799(0x184)]('|');redactRegex=new RegExp(_0x44be9a,'g');}else redactRegex=null;}return redactRegex&&(_0x447df0[_0x202799(0x19d)]=_0x447df0[_0x202799(0x19d)][_0x202799(0x17b)](redactRegex,_0x5be261[_0x202799(0x181)])),_0x447df0;}),SENSITIVE_HEADER_REGEX=/authorization|token|cookie|secret|^x-api-key$|accesskey|password/i,maskHeaders=_0x4e5124=>{const _0x435030=a142_0x285faf,_0x572afb={};_0x572afb[_0x435030(0x1ab)]=function(_0x56b42a,_0x5e2f51){return _0x56b42a!==_0x5e2f51;},_0x572afb[_0x435030(0x192)]=_0x435030(0x191),_0x572afb['fBqav']=_0x435030(0x17d),_0x572afb[_0x435030(0x157)]=_0x435030(0x186);const _0x340326=_0x572afb;try{if(!_0x4e5124||_0x340326[_0x435030(0x1ab)](typeof _0x4e5124,_0x340326[_0x435030(0x192)]))return _0x4e5124;const _0x30d930={};for(const _0x4a7659 of Object['keys'](_0x4e5124)){_0x30d930[_0x4a7659]=SENSITIVE_HEADER_REGEX[_0x435030(0x168)](_0x4a7659)?_0x340326['fBqav']:_0x4e5124[_0x4a7659];}return _0x30d930;}catch{return _0x340326['WBwgr'];}},fetchLogDir=()=>{const _0x4406e6=a142_0x285faf;if(process[_0x4406e6(0x16d)][_0x4406e6(0x1a2)])return process[_0x4406e6(0x16d)][_0x4406e6(0x1a2)];else!fs[_0x4406e6(0x190)](tempLogDir)&&fs[_0x4406e6(0x195)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0xda9d63=a142_0x285faf,_0x10a902={};_0x10a902[_0xda9d63(0x172)]='info';const _0x4651b1=_0x10a902,_0x178752=process[_0xda9d63(0x16d)][_0xda9d63(0x1ac)],_0x223f30=Object[_0xda9d63(0x182)](winston[_0xda9d63(0x18a)][_0xda9d63(0x17a)][_0xda9d63(0x18b)]);if(_0x178752&&_0x223f30[_0xda9d63(0x1a7)](_0x178752['toLowerCase']()))return _0x178752[_0xda9d63(0x1a4)]();return _0x4651b1['tGsyM'];},initialLogLevel=getInitialLogLevel(),a142_0x2fc7c0={};a142_0x2fc7c0[a142_0x285faf(0x15e)]=a142_0x285faf(0x15b),a142_0x2fc7c0[a142_0x285faf(0x164)]=initialLogLevel;const transports={'loggerConsole':new winston[(a142_0x285faf(0x174))][(a142_0x285faf(0x16b))](a142_0x2fc7c0),'loggerFile':new winston[(a142_0x285faf(0x174))][(a142_0x285faf(0x1a6))]({'filename':path[a142_0x285faf(0x184)](logDir,a142_0x285faf(0x18d)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a142_0x285faf(0x174))][(a142_0x285faf(0x1a6))]({'filename':path['join'](logDir,a142_0x285faf(0x19a)),'level':a142_0x285faf(0x19c)}),'debugCliLoggerFile':new winston['transports'][(a142_0x285faf(0x1a6))]({'filename':path[a142_0x285faf(0x184)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':'silly'}),'buildLinkTransport':new winston['transports'][(a142_0x285faf(0x1a6))]({'filename':path[a142_0x285faf(0x184)](logDir,a142_0x285faf(0x18d)),'level':a142_0x285faf(0x19c)})},automationTransports={};process[a142_0x285faf(0x16d)][a142_0x285faf(0x183)]===a142_0x285faf(0x199)&&(automationTransports[a142_0x285faf(0x180)]=new winston[(a142_0x285faf(0x174))][(a142_0x285faf(0x1a6))]({'filename':path[a142_0x285faf(0x184)](logDir,a142_0x285faf(0x187)),'level':a142_0x285faf(0x19c)}));transports['loggerConsole']['on'](a142_0x285faf(0x15d),_0x1a9089=>{const _0x54be2b=a142_0x285faf,_0x3921f5={};_0x3921f5[_0x54be2b(0x1a0)]=function(_0x13cb17,_0x5ec628){return _0x13cb17===_0x5ec628;},_0x3921f5[_0x54be2b(0x196)]='EPIPE',_0x3921f5[_0x54be2b(0x16c)]='EPIPE\x20error\x20occurred\x20in\x20loggerConsole:';const _0x29bf81=_0x3921f5;if(_0x29bf81[_0x54be2b(0x1a0)](_0x1a9089[_0x54be2b(0x19f)],_0x29bf81[_0x54be2b(0x196)])){console['log'](_0x29bf81['JJSmG'],_0x1a9089['message']);return;}throw _0x1a9089;});function a142_0x5dcd(_0x2ea38e,_0xb39f9e){const _0x191a29=a142_0x191a();return a142_0x5dcd=function(_0x5dcd7e,_0x3421bc){_0x5dcd7e=_0x5dcd7e-0x155;let _0x159081=_0x191a29[_0x5dcd7e];return _0x159081;},a142_0x5dcd(_0x2ea38e,_0xb39f9e);}const a142_0x4ddbad={};a142_0x4ddbad[a142_0x285faf(0x19b)]='YYYY-MM-DD\x20HH:mm:ss';const a142_0x3a6d4a={};a142_0x3a6d4a[a142_0x285faf(0x164)]=!![];const winstonLoggerParams={'format':winston[a142_0x285faf(0x19b)][a142_0x285faf(0x179)](winston[a142_0x285faf(0x19b)][a142_0x285faf(0x18e)](a142_0x4ddbad),winston[a142_0x285faf(0x19b)][a142_0x285faf(0x193)](a142_0x3a6d4a),winston['format'][a142_0x285faf(0x161)](_0x416c7b=>_0x416c7b[a142_0x285faf(0x18e)]+a142_0x285faf(0x1ad)+_0x416c7b[a142_0x285faf(0x164)]+':\x20'+_0x416c7b[a142_0x285faf(0x19d)])),'transports':[transports['loggerConsole']]},a142_0x28e2fd={};a142_0x28e2fd[a142_0x285faf(0x19b)]='YYYY-MM-DD\x20HH:mm:ss';const a142_0x4eee06={};function a142_0x191a(){const _0x33a69c=['BROWSERSTACK_AUTOMATION_LOGS','join','YYYY-MM-DD\x20HH:mm:ss','[REDACTED\x20HEADERS]','automation.log','azFnP','stringify','config','levels','11706jFUDsf','/usage.log','timestamp','IJayO','existsSync','object','dKoAZ','colorize','filter','mkdirSync','NbjWq','59982YIhLvq','buildLinkTransport','true','/usage-debug.log','format','silly','message','89004McyEkN','code','bRrUf','createLogger','BROWSERSTACK_INTERNAL_LOG_DIR','debugLoggerFile','toLowerCase','71930BLTjwa','File','includes','length','110hcQpDW','userName','NFqCW','BROWSERSTACK_LOG_LEVEL','\x20-\x20','accessKey','buildLogger','WBwgr','fileLogger','loggerFile','BkAGv','console.info','adqcm','error','name','160JCRBuM','map','printf','automationLogger','271683qoqNZE','level','183RQUYwE','winstonLogger','840UaOYAD','test','log','initialize','Console','JJSmG','env','220ZWyQZq','gXGmy','remove','1589212BkogdA','tGsyM','\x5c$&','transports','logDir','19663LHbuoI','string','DJUBD','combine','npm','replace','path','[REDACTED]','uncolorize','add','automationLoggerFile','haJTj','keys'];a142_0x191a=function(){return _0x33a69c;};return a142_0x191a();}a142_0x4eee06[a142_0x285faf(0x164)]=!![];const winstonFileLoggerParams={'format':winston[a142_0x285faf(0x19b)]['combine'](winston[a142_0x285faf(0x19b)][a142_0x285faf(0x18e)](a142_0x28e2fd),winston[a142_0x285faf(0x19b)][a142_0x285faf(0x193)](a142_0x4eee06),winston['format']['printf'](_0x2933aa=>_0x2933aa[a142_0x285faf(0x164)]+':\x20'+_0x2933aa['message'])),'transports':[]},a142_0x21e58a={};a142_0x21e58a[a142_0x285faf(0x19b)]=a142_0x285faf(0x185);const a142_0x4a373e={};a142_0x4a373e[a142_0x285faf(0x164)]=!![];const a142_0xf178ee={};a142_0xf178ee[a142_0x285faf(0x164)]=a142_0x285faf(0x19c);const BuildLoggerParams={'format':winston['format'][a142_0x285faf(0x179)](winston[a142_0x285faf(0x19b)]['timestamp'](a142_0x21e58a),winston['format']['colorize'](a142_0x4a373e),winston[a142_0x285faf(0x19b)][a142_0x285faf(0x161)](_0x539c63=>_0x539c63['timestamp']+a142_0x285faf(0x1ad)+_0x539c63[a142_0x285faf(0x164)]+':\x20'+_0x539c63[a142_0x285faf(0x19d)])),'transports':[transports[a142_0x285faf(0x198)],new winston[(a142_0x285faf(0x174))][(a142_0x285faf(0x16b))](a142_0xf178ee)]},a142_0x9961c2={};a142_0x9961c2['http']=()=>{},a142_0x9961c2['info']=()=>{},a142_0x9961c2['warn']=()=>{},a142_0x9961c2[a142_0x285faf(0x15d)]=()=>{},a142_0x9961c2['debug']=()=>{},a142_0x9961c2[a142_0x285faf(0x19c)]=()=>{},exports[a142_0x285faf(0x162)]=process[a142_0x285faf(0x16d)][a142_0x285faf(0x183)]===a142_0x285faf(0x199)?winston[a142_0x285faf(0x1a1)]({'format':winston[a142_0x285faf(0x19b)][a142_0x285faf(0x179)](winston['format'][a142_0x285faf(0x17e)](),winston['format'][a142_0x285faf(0x18e)](),logFormat(),winston[a142_0x285faf(0x19b)][a142_0x285faf(0x161)](_0x3b1893=>_0x3b1893['level']+':\x20'+_0x3b1893[a142_0x285faf(0x19d)])),'transports':[automationTransports[a142_0x285faf(0x180)]]}):a142_0x9961c2;const initialize=()=>{const _0x1c3538=a142_0x285faf,_0x37ddca={};_0x37ddca[_0x1c3538(0x15c)]=_0x1c3538(0x19c);const _0x49bd97=_0x37ddca,_0x209aa8=transports['loggerConsole'][_0x1c3538(0x164)]||initialLogLevel;transports[_0x1c3538(0x159)]&&(exports[_0x1c3538(0x166)][_0x1c3538(0x170)](transports[_0x1c3538(0x159)]),exports[_0x1c3538(0x158)][_0x1c3538(0x170)](transports['loggerFile'])),transports[_0x1c3538(0x1a3)]&&(exports['winstonLogger'][_0x1c3538(0x170)](transports[_0x1c3538(0x1a3)]),exports[_0x1c3538(0x158)]['remove'](transports[_0x1c3538(0x1a3)])),transports[_0x1c3538(0x159)]=new winston[(_0x1c3538(0x174))][(_0x1c3538(0x1a6))]({'filename':path[_0x1c3538(0x184)](exports[_0x1c3538(0x175)],LOG_FILE_NAME),'level':_0x209aa8}),transports[_0x1c3538(0x1a3)]=new winston[(_0x1c3538(0x174))][(_0x1c3538(0x1a6))]({'filename':path['join'](exports[_0x1c3538(0x175)],DEBUG_LOG_FILE_NAME),'level':_0x49bd97[_0x1c3538(0x15c)]}),transports['debugCliLoggerFile']=new winston[(_0x1c3538(0x174))][(_0x1c3538(0x1a6))]({'filename':path[_0x1c3538(0x184)](exports['logDir'],DEBUG_CLI_LOG_FILE_NAME),'level':_0x49bd97[_0x1c3538(0x15c)]}),exports[_0x1c3538(0x166)]['add'](transports[_0x1c3538(0x159)]),exports[_0x1c3538(0x166)][_0x1c3538(0x17f)](transports[_0x1c3538(0x1a3)]),exports['fileLogger'][_0x1c3538(0x17f)](transports[_0x1c3538(0x159)]),exports['fileLogger'][_0x1c3538(0x17f)](transports[_0x1c3538(0x1a3)]);};exports[a142_0x285faf(0x166)]=new winston[(a142_0x285faf(0x1a1))](winstonLoggerParams),exports[a142_0x285faf(0x158)]=new winston[(a142_0x285faf(0x1a1))](winstonFileLoggerParams),exports[a142_0x285faf(0x156)]=new winston[(a142_0x285faf(0x1a1))](BuildLoggerParams),exports[a142_0x285faf(0x175)]=logDir,exports['getLogDir']=()=>{return exports['logDir'];},exports['transports']=transports,exports[a142_0x285faf(0x16a)]=initialize,exports['maskHeaders']=maskHeaders;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a143_0x3be3d5=a143_0x1172;(function(_0x441c99,_0x191da2){const _0x54daa6=a143_0x1172,_0x4c3e7e=_0x441c99();while(!![]){try{const _0x2cbfa6=parseInt(_0x54daa6(0x13a))/0x1*(parseInt(_0x54daa6(0x13b))/0x2)+parseInt(_0x54daa6(0x149))/0x3*(-parseInt(_0x54daa6(0x13e))/0x4)+-parseInt(_0x54daa6(0x13f))/0x5+parseInt(_0x54daa6(0x12f))/0x6+parseInt(_0x54daa6(0x142))/0x7+parseInt(_0x54daa6(0x135))/0x8+parseInt(_0x54daa6(0x134))/0x9*(-parseInt(_0x54daa6(0x144))/0xa);if(_0x2cbfa6===_0x191da2)break;else _0x4c3e7e['push'](_0x4c3e7e['shift']());}catch(_0x4db02f){_0x4c3e7e['push'](_0x4c3e7e['shift']());}}}(a143_0x3542,0xf0330));function a143_0x3542(){const _0x563f80=['hshMT','length','13498338YEEXkz','./globals','30iiaWoV','winstonLogger','exports','warn','testMeta-','3RVkJDb','getGlobal','set','identifier','The\x20metadata\x20object\x20is\x20not\x20valid.','IXtAm','1952046uctOvf','WUHWb','./logger','getCentralUser','dLHUt','15696IEkrdK','1407328lJSYMr','bHwXq','lcnc','get','OqUoo','103069bqHJUJ','24WqELuJ','setGlobal','testRunUUID','3205684OgMbOJ','9379550WlRCwc'];a143_0x3542=function(){return _0x563f80;};return a143_0x3542();}function a143_0x1172(_0x3f15ba,_0x4c43dc){const _0x354212=a143_0x3542();return a143_0x1172=function(_0x117228,_0x64acaf){_0x117228=_0x117228-0x12c;let _0x4764c5=_0x354212[_0x117228];return _0x4764c5;},a143_0x1172(_0x3f15ba,_0x4c43dc);}const globals=require(a143_0x3be3d5(0x143)),helper=require('./helper'),logger=require(a143_0x3be3d5(0x131))[a143_0x3be3d5(0x145)];module[a143_0x3be3d5(0x146)]=class TestMetadata{static[a143_0x3be3d5(0x14b)](_0x3b2654={}){const _0x1e3b54=a143_0x3be3d5,_0x421862={};_0x421862[_0x1e3b54(0x139)]=_0x1e3b54(0x13d),_0x421862[_0x1e3b54(0x12e)]=function(_0x5f4c19,_0x27113d){return _0x5f4c19===_0x27113d;},_0x421862[_0x1e3b54(0x136)]='string',_0x421862['hshMT']=function(_0x4ab9bc,_0x16f23f){return _0x4ab9bc<=_0x16f23f;},_0x421862['ZRdBO']='testMeta',_0x421862[_0x1e3b54(0x133)]=_0x1e3b54(0x12d);const _0x3df6c9=_0x421862,_0x3769b4=globals[_0x1e3b54(0x14a)](_0x3df6c9[_0x1e3b54(0x139)]),_0x2fc3e9=_0x3b2654[_0x1e3b54(0x12c)];helper[_0x1e3b54(0x132)]()[_0x1e3b54(0x137)]&&(_0x3df6c9[_0x1e3b54(0x12e)](typeof _0x2fc3e9,_0x3df6c9[_0x1e3b54(0x136)])&&_0x3df6c9[_0x1e3b54(0x140)](_0x2fc3e9[_0x1e3b54(0x141)],0x28)?_0x3769b4?globals['setGlobal'](_0x1e3b54(0x148)+_0x3769b4,_0x3b2654):globals[_0x1e3b54(0x13c)](_0x3df6c9['ZRdBO'],_0x3b2654):logger[_0x1e3b54(0x147)](_0x3df6c9[_0x1e3b54(0x133)]));}static[a143_0x3be3d5(0x138)](_0x2b6c7a){const _0x59d00a=a143_0x3be3d5,_0x398655={};_0x398655[_0x59d00a(0x130)]='testMeta';const _0x12f0e9=_0x398655;if(helper[_0x59d00a(0x132)]()['lcnc'])return globals[_0x59d00a(0x14a)](_0x59d00a(0x148)+_0x2b6c7a)||globals[_0x59d00a(0x14a)](_0x12f0e9['WUHWb'])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a144_0x364ec8=a144_0x8962;(function(_0x4dd003,_0x18ee49){const _0x1aed46=a144_0x8962,_0x1bbd5a=_0x4dd003();while(!![]){try{const _0x364f3f=-parseInt(_0x1aed46(0x10c))/0x1+parseInt(_0x1aed46(0x14f))/0x2*(parseInt(_0x1aed46(0x157))/0x3)+-parseInt(_0x1aed46(0x155))/0x4+-parseInt(_0x1aed46(0x106))/0x5*(parseInt(_0x1aed46(0x150))/0x6)+-parseInt(_0x1aed46(0x140))/0x7*(parseInt(_0x1aed46(0x145))/0x8)+-parseInt(_0x1aed46(0x13e))/0x9+parseInt(_0x1aed46(0x143))/0xa*(parseInt(_0x1aed46(0x12f))/0xb);if(_0x364f3f===_0x18ee49)break;else _0x1bbd5a['push'](_0x1bbd5a['shift']());}catch(_0x20c899){_0x1bbd5a['push'](_0x1bbd5a['shift']());}}}(a144_0x4274,0x6f1cb));const PerformanceTester=require(a144_0x364ec8(0x12a)),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require(a144_0x364ec8(0x136)),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a144_0x364ec8(0x120)),{BSTACK_SCAN_IN_PROGRESS}=require(a144_0x364ec8(0x126)),util=require(a144_0x364ec8(0x134));function a144_0x8962(_0x440738,_0x468014){const _0x427429=a144_0x4274();return a144_0x8962=function(_0x8962c2,_0x4607e1){_0x8962c2=_0x8962c2-0x106;let _0x16780b=_0x427429[_0x8962c2];return _0x16780b;},a144_0x8962(_0x440738,_0x468014);}function a144_0x4274(){const _0x221938=['executeAsyncScript','lYWfJ','local','obvVI','function','FRAMEWORKS','235zLoWgW','NyNvT','msqcE','testRunId','parameters','url','227746jfvdJY','format','string','onBeforeExecute','RuBoj','args','response','body','getNudgeLocalNotSetError','message','[App-A11y]\x20patchHelper:\x20error\x20in\x20a11y\x20scan\x20hook:\x20','../bin/v2/state/automationFrameworkState','initExecute','find','Ntpkq','POST_EXECUTE','nkCZt','../bin/v2/state/hookState','driver','][\x20SDK-AUTOMATION\x20]\x20','./performance/constants','QBxqn',',\x20testRunId=','hAcpV','DqoxL','getCurrentAccessibilityStatus','./accessibility-automation/constants','NYsXy','parameters_','NUDGE_LOCAL_ERRORS','./performance/performance-tester','PRE','get','getTestFramework','aYKxT','22HerlgQ','[App-A11y]\x20patchHelper:\x20firing\x20EXECUTE\x20PRE\x20for\x20command=','executeScript','request','testFramework','util','includes','./helper','commandName','AUTOMATION_LOG_COMMANDS','isAppAccessibility','../bin/v2/browserstackCLI','trackEvent','getAutomationFramework','measureWrapper','4027356LtDUaX','execute','21kluDmD','nestedKeyValue','silly','10089130ERatgx','patchExecute','721352GHHhlI','SYBru','EXECUTE','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','name_','bstack:options','getCurrentTestUUID','RKNQC','capability','BkdHI','1441558cKmgkO','68454SjutwN','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','NODE_GENERIC','toString','qvCYu','3206120bGVIoy','debug','3SEvhkj','shouldWrapCommand','TSRkK'];a144_0x4274=function(){return _0x221938;};return a144_0x4274();}exports['overrideExecute']=(_0x39edbd,_0xd9982)=>{const _0x416361=a144_0x364ec8,_0x14a962={'NYsXy':_0x416361(0x151),'NyNvT':function(_0x337d89,_0x52b506){return _0x337d89===_0x52b506;},'qvCYu':_0x416361(0x12c),'QBxqn':_0x416361(0x128),'OnUoL':'url','RKNQC':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','nkCZt':function(_0x227a4f,_0x731fbd){return _0x227a4f===_0x731fbd;},'Ntpkq':_0x416361(0x15a),'XlxFz':_0x416361(0x131),'qlVXG':_0x416361(0x10e),'aYKxT':function(_0xfc5245,_0x24fe8d){return _0xfc5245(_0x24fe8d);},'lYWfJ':'./accessibility-automation/scripts','hAcpV':_0x416361(0x117),'TSRkK':_0x416361(0x11d),'DqoxL':function(_0x397271,_0x27fb36){return _0x397271===_0x27fb36;},'DEfmj':_0x416361(0x15e),'RuBoj':function(_0x26e0d8,_0x386387){return _0x26e0d8(_0x386387);},'UaCOD':_0x416361(0x13a),'SYBru':_0x416361(0x14d),'msqcE':'browserstack.local','BkdHI':_0x416361(0x14a),'obvVI':_0x416361(0x15c)},_0x2600dc=_0x39edbd[_0x416361(0x144)]||(helper[_0x416361(0x141)](_0xd9982,[_0x14a962[_0x416361(0x146)],_0x14a962[_0x416361(0x108)]])||helper[_0x416361(0x141)](_0xd9982,[_0x14a962[_0x416361(0x146)],_0x14a962[_0x416361(0x14e)],_0x14a962[_0x416361(0x15d)]]));if(_0x2600dc)return;_0x39edbd[_0x416361(0x144)]=!![],_0x39edbd[_0x416361(0x118)]=_0x39edbd['execute'],_0x39edbd[_0x416361(0x13f)]=async _0x181650=>{const _0x4df30e=_0x416361;try{const _0x49881e=await _0x39edbd[_0x4df30e(0x118)](_0x181650);try{if(_0x14a962[_0x4df30e(0x11c)](_0x181650[_0x4df30e(0x149)],_0x14a962[_0x4df30e(0x11a)])||_0x14a962[_0x4df30e(0x107)](_0x181650[_0x4df30e(0x149)],_0x14a962['XlxFz'])){const _0x2ec0e1=_0x181650[_0x4df30e(0x128)]&&_0x181650['parameters_']['script'],_0x28a6a8=_0x181650[_0x4df30e(0x128)]&&_0x181650[_0x4df30e(0x128)][_0x4df30e(0x111)],_0x4cbbe8=_0x28a6a8&&util[_0x4df30e(0x10d)]('%j',_0x28a6a8);if(_0x2ec0e1&&_0x14a962[_0x4df30e(0x11c)](typeof _0x2ec0e1,_0x14a962['qlVXG'])){const _0x3778e4=constants[_0x4df30e(0x138)][_0x4df30e(0x119)](_0x3e6f05=>_0x2ec0e1['includes'](_0x3e6f05)||_0x4cbbe8&&_0x4cbbe8[_0x4df30e(0x135)](_0x3e6f05));if(_0x3778e4){const _0x39442e={};_0x39442e['command']=_0x3778e4,_0x39442e[_0x4df30e(0x10a)]=_0x28a6a8;const _0x1889ba={};_0x1889ba[_0x4df30e(0x113)]=_0x49881e;const _0x483e68={};_0x483e68[_0x4df30e(0x132)]=_0x39442e,_0x483e68[_0x4df30e(0x112)]=_0x1889ba,automationLogger['silly']('['+new Date()['toISOString']()+_0x4df30e(0x11f)+util[_0x4df30e(0x10d)]('%j',_0x483e68));}}}}catch(_0x55511e){logger[_0x4df30e(0x142)](_0x4df30e(0x148)+_0x55511e[_0x4df30e(0x115)]);}try{if(!_0x39edbd[BSTACK_SCAN_IN_PROGRESS]){const _0x556ccf=_0x14a962[_0x4df30e(0x12e)](require,_0x14a962[_0x4df30e(0x15b)]),_0x21457e=_0x14a962[_0x4df30e(0x12e)](require,_0x14a962[_0x4df30e(0x123)]),_0x55f1a1=_0x14a962[_0x4df30e(0x12e)](require,_0x14a962[_0x4df30e(0x159)]);if(_0x14a962[_0x4df30e(0x124)](typeof _0x556ccf[_0x4df30e(0x158)],_0x14a962['DEfmj'])&&_0x556ccf[_0x4df30e(0x158)](_0x181650[_0x4df30e(0x149)])){const _0x50dd70=_0x14a962[_0x4df30e(0x110)](require,_0x14a962['UaCOD']),_0x4969b4=_0x50dd70['getInstance'](),_0x58676c=_0x4969b4&&_0x4969b4['getAccessibilityModule']();if(_0x58676c&&_0x58676c[_0x4df30e(0x139)]&&_0x58676c[_0x4df30e(0x125)]()){let _0x4c3e6a='';try{const _0x998cc8=_0x4969b4[_0x4df30e(0x12d)]&&_0x4969b4['getTestFramework']();_0x4c3e6a=_0x998cc8&&_0x998cc8[_0x4df30e(0x14b)]&&_0x998cc8[_0x4df30e(0x14b)]()||'';}catch(_0xed3a07){}logger[_0x4df30e(0x156)](_0x4df30e(0x130)+_0x181650['name_']+_0x4df30e(0x122)+_0x4c3e6a);const _0x2a1436=_0x4969b4[_0x4df30e(0x13c)]();if(!_0x2a1436){logger['debug']('[App-A11y]\x20patchHelper:\x20no\x20automationFramework\x20for\x20node-generic\x20—\x20calling\x20onBeforeExecute\x20directly\x20for\x20command='+_0x181650[_0x4df30e(0x149)]);const _0x5bef1c={};_0x5bef1c[_0x4df30e(0x133)]=constants[_0x4df30e(0x15f)][_0x4df30e(0x152)],_0x5bef1c[_0x4df30e(0x137)]=_0x181650[_0x4df30e(0x149)],_0x5bef1c['driver']=_0x39edbd,_0x5bef1c[_0x4df30e(0x109)]=_0x4c3e6a,await _0x58676c[_0x4df30e(0x10f)](_0x5bef1c);}else{const _0x521c2f={};_0x521c2f[_0x4df30e(0x137)]=_0x181650['name_'],_0x521c2f[_0x4df30e(0x11e)]=_0x39edbd,_0x521c2f[_0x4df30e(0x133)]=constants[_0x4df30e(0x15f)][_0x4df30e(0x152)],_0x521c2f[_0x4df30e(0x109)]=_0x4c3e6a,await _0x2a1436[_0x4df30e(0x13b)](_0x21457e[_0x4df30e(0x147)],_0x55f1a1[_0x4df30e(0x12b)],_0x521c2f);}}}}}catch(_0x3f6c55){logger[_0x4df30e(0x156)](_0x4df30e(0x116)+_0x3f6c55[_0x4df30e(0x115)]);}return _0x49881e;}catch(_0x4f9066){await PerformanceTester[_0x4df30e(0x13d)](PerformanceDriverEvents[_0x4df30e(0x11b)],async()=>{const _0x58bb60=_0x4df30e;logger[_0x58bb60(0x156)](_0x14a962[_0x58bb60(0x127)]);try{_0x14a962[_0x58bb60(0x107)](_0x181650['name_'],_0x14a962[_0x58bb60(0x154)])&&helper['nestedKeyValue'](_0x181650,[_0x14a962[_0x58bb60(0x121)],_0x14a962['OnUoL']])&&!!constants[_0x58bb60(0x129)][_0x58bb60(0x119)](_0x3fdee8=>{const _0x56d9e7=_0x58bb60;return _0x4f9066[_0x56d9e7(0x153)]()['includes'](_0x3fdee8);})&&helper[_0x58bb60(0x114)](_0x181650[_0x58bb60(0x128)][_0x58bb60(0x10b)],!![]);}catch(_0x13a20e){logger[_0x58bb60(0x156)](_0x14a962[_0x58bb60(0x14c)],_0x13a20e);}},{'success':![],'failure':_0x4f9066})();throw _0x4f9066;}};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a145_0x1d35ec=a145_0x41aa;(function(_0x4b49a6,_0x21b8d4){const _0x5d8641=a145_0x41aa,_0x3dec9d=_0x4b49a6();while(!![]){try{const _0x3538a0=parseInt(_0x5d8641(0x1cd))/0x1+-parseInt(_0x5d8641(0x1ca))/0x2+parseInt(_0x5d8641(0x1c5))/0x3+-parseInt(_0x5d8641(0x1b0))/0x4+parseInt(_0x5d8641(0x1d1))/0x5*(-parseInt(_0x5d8641(0x1c2))/0x6)+parseInt(_0x5d8641(0x1c1))/0x7*(parseInt(_0x5d8641(0x1cf))/0x8)+parseInt(_0x5d8641(0x1b1))/0x9;if(_0x3538a0===_0x21b8d4)break;else _0x3dec9d['push'](_0x3dec9d['shift']());}catch(_0x4618d9){_0x3dec9d['push'](_0x3dec9d['shift']());}}}(a145_0x17d8,0x9446d));function a145_0x17d8(){const _0x5bc75f=['1723035fadixI','CNqQH','pid','start','wzBKu','551924mZHNjh','./performance/performance-tester','./performance/constants','70519ZTWvHs','catch','1624bsiWOv','initScreenshot','5UYRdTQ','MTILo','quit','takeScreenshot','overrideTakeScreenshot','4552224YbLaTa','6244497FUExYD','iasvF','xLcie','initQuit','TAKE_SCREENSHOT','then','quitCount_','patchQuit','emit','WTCmr','end','O11y_EVENTS','ERKNY','vCaKm','uGkXL','patchScreenshot','32781BURBQW','1607922mjRfKd','env','toISOString'];a145_0x17d8=function(){return _0x5bc75f;};return a145_0x17d8();}function a145_0x41aa(_0x2c4ac0,_0x4160ff){const _0x17d8f4=a145_0x17d8();return a145_0x41aa=function(_0x41aaa5,_0x1b66be){_0x41aaa5=_0x41aaa5-0x1ac;let _0x2bc5bb=_0x17d8f4[_0x41aaa5];return _0x2bc5bb;},a145_0x41aa(_0x2c4ac0,_0x4160ff);}const PerformanceTester=require(a145_0x1d35ec(0x1cb)),O11yEvents=require(a145_0x1d35ec(0x1cc))[a145_0x1d35ec(0x1bc)];exports[a145_0x1d35ec(0x1af)]=_0x1a1983=>{const _0xa9ff11=a145_0x1d35ec,_0x35d470={'YQtUv':'TEST_SCREENSHOT','MTILo':function(_0x17d1d1,_0xb7e72d){return _0x17d1d1(_0xb7e72d);},'CNqQH':function(_0x220ad5,_0x2448db){return _0x220ad5!==_0x2448db;},'uGkXL':'true'};if(_0x35d470[_0xa9ff11(0x1c6)](process[_0xa9ff11(0x1c3)]['BS_TESTOPS_ALLOW_SCREENSHOTS'],_0x35d470[_0xa9ff11(0x1bf)]))return;if(_0x1a1983[_0xa9ff11(0x1c0)])return;_0x1a1983[_0xa9ff11(0x1c0)]=!![],_0x1a1983[_0xa9ff11(0x1d0)]=_0x1a1983[_0xa9ff11(0x1ae)],_0x1a1983[_0xa9ff11(0x1ae)]=()=>{const _0x3d76a0={'xLcie':_0x35d470['YQtUv'],'iasvF':function(_0x568c46,_0x2e57e3){const _0x4966f2=a145_0x41aa;return _0x35d470[_0x4966f2(0x1ac)](_0x568c46,_0x2e57e3);},'vCaKm':function(_0x26b627,_0x61c9dc){return _0x35d470['MTILo'](_0x26b627,_0x61c9dc);}};return new Promise(function(_0x6433e7,_0x1c2e76){const _0x28b874=a145_0x41aa;_0x1a1983['initScreenshot']()[_0x28b874(0x1b6)](_0x576742=>{const _0x1aa302=_0x28b874;PerformanceTester[_0x1aa302(0x1c8)](O11yEvents[_0x1aa302(0x1b5)]),process[_0x1aa302(0x1b9)]('bs:addLog:'+process[_0x1aa302(0x1c7)],{'timestamp':new Date()[_0x1aa302(0x1c4)](),'message':_0x576742,'kind':_0x3d76a0[_0x1aa302(0x1b3)]}),_0x3d76a0[_0x1aa302(0x1b2)](_0x6433e7,_0x576742),PerformanceTester[_0x1aa302(0x1bb)](O11yEvents[_0x1aa302(0x1b5)]);})[_0x28b874(0x1ce)](_0x55324e=>{const _0x4b54c2=_0x28b874;PerformanceTester[_0x4b54c2(0x1bb)](O11yEvents[_0x4b54c2(0x1b5)]),_0x3d76a0[_0x4b54c2(0x1be)](_0x1c2e76,_0x55324e);});});};},exports['overrideQuit']=(_0x26929b,_0x32ffc9=null)=>{const _0x9c8b26=a145_0x1d35ec,_0x36a727={'ERKNY':function(_0x495501){return _0x495501();},'DnmPp':function(_0x2f5f9d,_0x2c9b2f){return _0x2f5f9d>_0x2c9b2f;},'wzBKu':function(_0x2cf14c,_0x5c0045){return _0x2cf14c>_0x5c0045;}};if(_0x26929b[_0x9c8b26(0x1b8)])return;_0x26929b[_0x9c8b26(0x1b8)]=!![],_0x26929b[_0x9c8b26(0x1b4)]=_0x26929b[_0x9c8b26(0x1ad)],_0x26929b[_0x9c8b26(0x1ad)]=()=>{const _0x526802=_0x9c8b26,_0x59b351={'WTCmr':function(_0x47f28d){const _0x509433=a145_0x41aa;return _0x36a727[_0x509433(0x1bd)](_0x47f28d);}};if(_0x32ffc9){_0x32ffc9[_0x526802(0x1b7)]+=0x1;if(_0x36a727['DnmPp'](_0x32ffc9[_0x526802(0x1b7)],0x1))return _0x26929b[_0x526802(0x1b4)]();}else{_0x26929b[_0x526802(0x1b7)]+=0x1;if(_0x36a727[_0x526802(0x1c9)](_0x26929b[_0x526802(0x1b7)],0x1))return _0x26929b['initQuit']();}return new Promise(function(_0x2f513a){const _0x3ce4ef=_0x526802;_0x59b351[_0x3ce4ef(0x1ba)](_0x2f513a);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a146_0xcbb8ea=a146_0x3266;(function(_0x34902b,_0x3d21b8){const _0x33b200=a146_0x3266,_0x9ac350=_0x34902b();while(!![]){try{const _0x11d42b=-parseInt(_0x33b200(0x202))/0x1+-parseInt(_0x33b200(0x1f0))/0x2*(-parseInt(_0x33b200(0x1ca))/0x3)+-parseInt(_0x33b200(0x1d9))/0x4+parseInt(_0x33b200(0x208))/0x5+parseInt(_0x33b200(0x1ec))/0x6*(-parseInt(_0x33b200(0x1db))/0x7)+-parseInt(_0x33b200(0x1fb))/0x8+-parseInt(_0x33b200(0x1bd))/0x9*(-parseInt(_0x33b200(0x1eb))/0xa);if(_0x11d42b===_0x3d21b8)break;else _0x9ac350['push'](_0x9ac350['shift']());}catch(_0x3c07c7){_0x9ac350['push'](_0x9ac350['shift']());}}}(a146_0x58db,0xc8ba6));const fs=require('fs'),path=require(a146_0xcbb8ea(0x1f6)),os=require('os'),{spawn}=require('child_process'),helper=require(a146_0xcbb8ea(0x1f5)),logger=require('../logger')[a146_0xcbb8ea(0x1e4)],{getLogDir}=require(a146_0xcbb8ea(0x1e2)),testHubConstants=require(a146_0xcbb8ea(0x1cd)),PerformanceTester=require(a146_0xcbb8ea(0x1d3)),{PERCY_EVENTS:PerformanceEvents}=require(a146_0xcbb8ea(0x1e1)),PercyBinary=require(a146_0xcbb8ea(0x1e5));function a146_0x58db(){const _0xe0dc3a=['flags','automate','app:exec','../helper','path','BIWoP','assign','app','lCdUK','6184544yMsUdw','isRunning','TqHPr','api/app_percy/get_project_token?name=','token','PERCY_SERVER_ADDRESS','stop','962971bwZEVY','RLYul','Percy\x20healthcheck\x20successful','percyOptions','debug','Percy\x20config\x20created\x20at\x20','6625775PGsbmQ','GET','ingeO','Error\x20creating\x20percy\x20config:\x20','9FWETUm','&type=','writeFile','vdFGN','stderr','BRGZi','BHGXn','nodeRequest','getBinaryPath','close','percy.log','start','sjIps','289923qcOZKw','http://localhost:5338','percy.json','../../helpers/testhub/constants','zNPww','exec','DOWNLOAD','pipe','env','../../helpers/performance/performance-tester','projectName','data','exec:stop','rynAt','PUuTs','4564188klSnNi','FzinS','9303NWOkgn','healthcheck','stringify','version','isProcessRunning','Yuvnj','../../helpers/performance/constants','../logger','exports','winstonLogger','./PercyBinary','end','stdout','join','rAZqE','ytfES','11206130ARqiCn','1758oJyHKJ','fetchPercyToken','xaCpv','createWriteStream','34ojBorA','push'];a146_0x58db=function(){return _0xe0dc3a;};return a146_0x58db();}function a146_0x3266(_0x1fd761,_0x23bb1a){const _0x58db3f=a146_0x58db();return a146_0x3266=function(_0x32669c,_0x357e22){_0x32669c=_0x32669c-0x1bc;let _0x1b0c3a=_0x58db3f[_0x32669c];return _0x1b0c3a;},a146_0x3266(_0x1fd761,_0x23bb1a);}class Percy{#logfile=path[a146_0xcbb8ea(0x1e8)](getLogDir(),a146_0xcbb8ea(0x1c7));#address=process[a146_0xcbb8ea(0x1d2)][a146_0xcbb8ea(0x200)]||a146_0xcbb8ea(0x1cb);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a146_0xcbb8ea(0x1df)]=![];constructor(_0x1c144f){this.#config=_0x1c144f,!!_0x1c144f['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x2b4d83=a146_0xcbb8ea;if(!this.#binaryPath){const _0x7a438=new PercyBinary();PerformanceTester[_0x2b4d83(0x1c8)](PerformanceEvents[_0x2b4d83(0x1d0)]),this.#binaryPath=await _0x7a438[_0x2b4d83(0x1c5)](this.#config),PerformanceTester[_0x2b4d83(0x1e6)](PerformanceEvents[_0x2b4d83(0x1d0)]);}return this.#binaryPath;}async #sleep(_0x4b4981){return new Promise(_0x5d39a1=>setTimeout(_0x5d39a1,_0x4b4981));}async[a146_0xcbb8ea(0x1dc)](){const _0x2f02e2=a146_0xcbb8ea,_0x395204={};_0x395204[_0x2f02e2(0x1ce)]=_0x2f02e2(0x209),_0x395204[_0x2f02e2(0x1c9)]='percy/healthcheck';const _0x3348a5=_0x395204;try{const _0x329e6f=await helper[_0x2f02e2(0x1c4)](_0x3348a5['zNPww'],_0x3348a5[_0x2f02e2(0x1c9)],null,null,this.#address);if(_0x329e6f)return!![];}catch(_0xc8957){return![];}}async['start'](){const _0x531e2f=a146_0xcbb8ea,_0x4e938f={'PUuTs':_0x531e2f(0x1f4),'aePzf':_0x531e2f(0x1cf),'BRGZi':function(_0x416945,_0x4ee12b,_0x230407,_0x544b48){return _0x416945(_0x4ee12b,_0x230407,_0x544b48);},'SzKom':_0x531e2f(0x1c6),'rynAt':_0x531e2f(0x204)},_0x5c152d=await this.#getBinaryPath(),_0x5ddbe0={};_0x5ddbe0[_0x531e2f(0x1f2)]='a',this.#logStream=fs[_0x531e2f(0x1ef)](this.#logfile,_0x5ddbe0);const _0x25f0dd=await this[_0x531e2f(0x1ed)](),_0x1bd059=await this['createPercyConfig']();if(!_0x25f0dd)return![];const _0x34bdb6=[(this.#isApp?_0x4e938f[_0x531e2f(0x1d8)]:_0x4e938f['aePzf'])+':start'];_0x1bd059&&_0x34bdb6[_0x531e2f(0x1f1)]('-c',_0x1bd059);this.#proc=_0x4e938f[_0x531e2f(0x1c2)](spawn,_0x5c152d,_0x34bdb6,{'env':Object[_0x531e2f(0x1f8)](process[_0x531e2f(0x1d2)],{'PERCY_TOKEN':_0x25f0dd,'TH_BUILD_UUID':process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']]})}),this.#proc[_0x531e2f(0x1e7)][_0x531e2f(0x1d1)](this.#logStream),this.#proc[_0x531e2f(0x1c1)][_0x531e2f(0x1d1)](this.#logStream),this[_0x531e2f(0x1df)]=!![];var _0x33153c=this;this.#proc['on'](_0x4e938f['SzKom'],function(_0x5a7caf){const _0x22704c=_0x531e2f;_0x33153c[_0x22704c(0x1df)]=![];});do{const _0x41b880=await this['healthcheck']();if(_0x41b880)return logger[_0x531e2f(0x206)](_0x4e938f[_0x531e2f(0x1d7)]),!![];await this.#sleep(0x3e8);}while(this[_0x531e2f(0x1df)]);return![];}async[a146_0xcbb8ea(0x201)](){const _0x1e8cf7=a146_0xcbb8ea,_0x4a1f38={'ytfES':function(_0x1b3de6,_0x199d52){return _0x1b3de6(_0x199d52);},'xaCpv':function(_0x48664a,_0x7df929,_0x1b7873){return _0x48664a(_0x7df929,_0x1b7873);},'FzinS':_0x1e8cf7(0x1d6),'lCdUK':'close'},_0x4ac70d=await this.#getBinaryPath();return new Promise((_0x40def5,_0x42d99f)=>{const _0x366a10=_0x1e8cf7,_0x4a4569=_0x4a1f38[_0x366a10(0x1ee)](spawn,_0x4ac70d,[_0x4a1f38[_0x366a10(0x1da)]]);_0x4a4569['on'](_0x4a1f38[_0x366a10(0x1fa)],_0x508fd2=>{const _0x3640ad=_0x366a10;this['isProcessRunning']=![],this.#logStream&&(this.#logStream[_0x3640ad(0x1e6)](),this.#logStream=null),_0x4a1f38[_0x3640ad(0x1ea)](_0x40def5,_0x508fd2);});});}[a146_0xcbb8ea(0x1fc)](){const _0x50b85d=a146_0xcbb8ea;return this[_0x50b85d(0x1df)];}async[a146_0xcbb8ea(0x1ed)](){const _0x488b36=a146_0xcbb8ea,_0x45bea9={};_0x45bea9[_0x488b36(0x1f7)]=_0x488b36(0x1f9),_0x45bea9[_0x488b36(0x1e9)]=_0x488b36(0x1f3),_0x45bea9[_0x488b36(0x1fd)]='GET',_0x45bea9[_0x488b36(0x203)]='Percy\x20fetch\x20token\x20success';const _0x56a334=_0x45bea9,_0x1b9b82=this.#config[_0x488b36(0x1d4)];try{const _0x122b08=this.#isApp?_0x56a334[_0x488b36(0x1f7)]:_0x56a334[_0x488b36(0x1e9)],_0x320da9=await helper['nodeRequest'](_0x56a334['TqHPr'],_0x488b36(0x1fe)+_0x1b9b82+_0x488b36(0x1be)+_0x122b08,{},this.#config),_0x39abdb=_0x320da9[_0x488b36(0x1d5)];return logger[_0x488b36(0x206)](_0x56a334[_0x488b36(0x203)]),_0x39abdb[_0x488b36(0x1ff)];}catch(_0x5701da){return logger['error']('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x5701da),null;}}async['createPercyConfig'](){const _0x5afe8b=a146_0xcbb8ea,_0x2181d9={'ingeO':function(_0x35cff6,_0x37d91a){return _0x35cff6(_0x37d91a);},'BHGXn':function(_0x2c3e16,_0x39d094){return _0x2c3e16+_0x39d094;},'vdFGN':_0x5afe8b(0x207),'qYoCr':function(_0x5e24d5,_0x41ab53){return _0x5e24d5(_0x41ab53);},'Yuvnj':_0x5afe8b(0x1cc)};if(!this.#config[_0x5afe8b(0x205)])return null;const _0x280b09=path['join'](os['tmpdir'](),_0x2181d9[_0x5afe8b(0x1e0)]),_0x1dcb0e=this.#config[_0x5afe8b(0x205)];return!_0x1dcb0e['version']&&(_0x1dcb0e[_0x5afe8b(0x1de)]='2'),new Promise((_0x4bcb95,_0x394d2e)=>{const _0x557add=_0x5afe8b;fs[_0x557add(0x1bf)](_0x280b09,JSON[_0x557add(0x1dd)](_0x1dcb0e),_0x5894dc=>{const _0x378b8d=_0x557add;_0x5894dc&&(logger['error'](_0x378b8d(0x1bc)+_0x5894dc),_0x2181d9[_0x378b8d(0x20a)](_0x4bcb95,null)),logger['debug'](_0x2181d9[_0x378b8d(0x1c3)](_0x2181d9[_0x378b8d(0x1c0)],_0x280b09)),_0x2181d9['qYoCr'](_0x4bcb95,_0x280b09);});});}}module[a146_0xcbb8ea(0x1e3)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a147_0x547549=a147_0xa44a;function a147_0x5fab(){const _0x1b4b14=['USERPROFILE','close','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','path','hzhRL','fileName','.browserstack','vLrPw','CZBXa','jYCzV','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','LsLsA','0755','/percy-osx.zip','readFileSync','HOME','WHUmN','useCaCertificate','564920eIXCSQ','wjVJt','.etag','proxyHost','join','url','debug','CCjrN','/percy-linux.zip','9ToEnoa','Saved\x20new\x20ETag\x20for\x20percy\x20binary','download','2967099xbtgax','needsUpdate','error','homedir','catch','getBinaryPath','EujLR','utf8','readEntry','test','EHtMI','/root','lazyEntries','stdout','BPMFJ','child_process','USER','LNAME','open','MGeMK','USERNAME','length','vdsUh','entry','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','host','3596536NGWaCM','KrEaD','oQefO','jetct','vwcTo','zGZwR','darwin','RqYsZ','destroy','hhroi','https-proxy-agent','Jznjh','Connection','ieySp','lNvza','tDFSt','createWriteStream','validateBinary','once','pafJn','qYJgG','then','linux','Ndhoa','etag','warn','yVJNd','XSsVc','exports','IaICW','R_OK','NlyUD','laZQo','--version','FThMU','ggHfS','port','MSVdf','end','2009564CUtmtF','VwgHW','uUbtY','Error\x20trying\x20to\x20download\x20percy\x20binary','4704pFvYvW','writeFileSync','rsueT','platform','cwd','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','yauzl','LOGNAME','agent','NvXaF','Failed\x20to\x20save\x20ETag\x20file:\x20','3816230AojmkR','PmYRr','openReadStream','statSync','tmpdir','RwcHk','follow-redirects','nutYQ','function','extractAndSaveBinary','ZriHZ','tDNoY','NNKhi','If-None-Match','binaryPath','TfLfP','EokKR','match','wgnoN','accessSync','HOMEPATH','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','wiiDD','pipe','headers','/Users/','1745WXKZVi','752660GuXrwc','svaMO','undefined','mkdirSync','win32','21rTEihD','JYkfn','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','KcLVX','kwDpV','Failed\x20to\x20read\x20ETag\x20file:\x20','statusCode','iDprZ','RIBqD','env'];a147_0x5fab=function(){return _0x1b4b14;};return a147_0x5fab();}function a147_0xa44a(_0x4e417f,_0x560acf){const _0x5fab5a=a147_0x5fab();return a147_0xa44a=function(_0xa44ab0,_0x395845){_0xa44ab0=_0xa44ab0-0x109;let _0x51316d=_0x5fab5a[_0xa44ab0];return _0x51316d;},a147_0xa44a(_0x4e417f,_0x560acf);}(function(_0x228d0d,_0xe386a2){const _0x2a7989=a147_0xa44a,_0x32acf5=_0x228d0d();while(!![]){try{const _0x35d9db=-parseInt(_0x2a7989(0x115))/0x1+-parseInt(_0x2a7989(0x162))/0x2+parseInt(_0x2a7989(0x121))/0x3+-parseInt(_0x2a7989(0x18c))/0x4+-parseInt(_0x2a7989(0x18b))/0x5*(parseInt(_0x2a7989(0x166))/0x6)+-parseInt(_0x2a7989(0x191))/0x7*(-parseInt(_0x2a7989(0x13b))/0x8)+parseInt(_0x2a7989(0x11e))/0x9*(parseInt(_0x2a7989(0x171))/0xa);if(_0x35d9db===_0xe386a2)break;else _0x32acf5['push'](_0x32acf5['shift']());}catch(_0x562065){_0x32acf5['push'](_0x32acf5['shift']());}}}(a147_0x5fab,0xa7f02));const {https}=require(a147_0x547549(0x177)),url=require(a147_0x547549(0x11a)),yauzl=require(a147_0x547549(0x16c)),fs=require('fs'),path=require(a147_0x547549(0x19e)),os=require('os'),{spawn}=require(a147_0x547549(0x130)),HttpsProxyAgent=require(a147_0x547549(0x145)),logger=require('../logger')['winstonLogger'];class PercyBinary{#hostOS=process[a147_0x547549(0x169)];#httpPath=null;#binaryName='percy';#orderedPaths=[path[a147_0x547549(0x119)](this.#homedir(),a147_0x547549(0x109)),process[a147_0x547549(0x16a)](),os[a147_0x547549(0x175)]()];constructor(){const _0x4c33ad=a147_0x547549,_0x21cdab={};_0x21cdab[_0x4c33ad(0x134)]='https://github.com/percy/cli/releases/latest/download',_0x21cdab[_0x4c33ad(0x13d)]=function(_0x2bb027,_0x321f15){return _0x2bb027+_0x321f15;},_0x21cdab[_0x4c33ad(0x15d)]=_0x4c33ad(0x110),_0x21cdab[_0x4c33ad(0x155)]=function(_0x3ce75a,_0x538f96){return _0x3ce75a+_0x538f96;},_0x21cdab[_0x4c33ad(0x13f)]='/percy-win.zip',_0x21cdab[_0x4c33ad(0x10e)]='percy.exe',_0x21cdab[_0x4c33ad(0x152)]=_0x4c33ad(0x11d);const _0x281745=_0x21cdab,_0x44edf2=_0x281745[_0x4c33ad(0x134)];if(this.#hostOS[_0x4c33ad(0x182)](/darwin|mac os/i))this.#httpPath=_0x281745[_0x4c33ad(0x13d)](_0x44edf2,_0x281745[_0x4c33ad(0x15d)]);else this.#hostOS[_0x4c33ad(0x182)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x281745['yVJNd'](_0x44edf2,_0x281745[_0x4c33ad(0x13f)]),this.#binaryName=_0x281745[_0x4c33ad(0x10e)]):this.#httpPath=_0x281745['oQefO'](_0x44edf2,_0x281745[_0x4c33ad(0x152)]);}#getAvailableDirs(){const _0x187c6e=a147_0x547549,_0x290084={};_0x290084[_0x187c6e(0x148)]=function(_0x2352d1,_0x1aabd2){return _0x2352d1<_0x1aabd2;},_0x290084[_0x187c6e(0x14a)]=_0x187c6e(0x165);const _0x4d450e=_0x290084;for(var _0x523f90=0x0;_0x4d450e[_0x187c6e(0x148)](_0x523f90,this.#orderedPaths[_0x187c6e(0x136)]);_0x523f90++){var _0x539821=this.#orderedPaths[_0x523f90];if(this.#makePath(_0x539821))return _0x539821;}throw new Error(_0x4d450e['tDFSt']);}#makePath(_0x83684b){try{return _0x83684b&&!this.#checkPath(_0x83684b)&&fs['mkdirSync'](_0x83684b),!![];}catch{return![];}}#checkPath(_0x1d6909,_0x1d76a9){const _0x19dddb=a147_0x547549,_0x4cb776={};_0x4cb776['EHtMI']=function(_0x30de78,_0xa28ed0){return _0x30de78|_0xa28ed0;},_0x4cb776['EUVHc']=function(_0x34692b,_0x1cf0f7){return _0x34692b!==_0x1cf0f7;},_0x4cb776[_0x19dddb(0x164)]=_0x19dddb(0x18e);const _0x414312=_0x4cb776;_0x1d76a9=_0x1d76a9||_0x414312[_0x19dddb(0x12b)](fs[_0x19dddb(0x159)],fs['W_OK']);try{return fs[_0x19dddb(0x184)](_0x1d6909,_0x1d76a9),!![];}catch(_0x27de10){if(_0x414312['EUVHc'](typeof fs[_0x19dddb(0x184)],_0x414312[_0x19dddb(0x164)]))return![];try{return fs[_0x19dddb(0x174)](_0x1d6909),!![];}catch(_0x12603c){return![];}}}#getETagPath(_0x44b6bb){const _0x157674=a147_0x547549;return path[_0x157674(0x119)](_0x44b6bb,this.#binaryName+_0x157674(0x117));}#loadETag(_0x5b0808){const _0x57c0ca=a147_0x547549,_0x5306a3={};_0x5306a3[_0x57c0ca(0x180)]=_0x57c0ca(0x128);const _0x528d60=_0x5306a3,_0x210d74=this.#getETagPath(_0x5b0808);if(this.#checkPath(_0x210d74))try{return fs[_0x57c0ca(0x111)](_0x210d74,_0x528d60['TfLfP'])['trim']();}catch(_0x59acf1){logger[_0x57c0ca(0x154)](_0x57c0ca(0x196)+_0x59acf1);}return null;}#saveETag(_0x36e1e6,_0x550653){const _0x1546f8=a147_0x547549,_0x4e383a={};_0x4e383a[_0x1546f8(0x142)]=_0x1546f8(0x11f);const _0xca7643=_0x4e383a;if(!_0x550653)return;try{const _0x829572=this.#getETagPath(_0x36e1e6);fs[_0x1546f8(0x167)](_0x829572,_0x550653),logger[_0x1546f8(0x11b)](_0xca7643[_0x1546f8(0x142)]);}catch(_0x2ed261){logger[_0x1546f8(0x154)](_0x1546f8(0x170)+_0x2ed261);}}async #handleBinaryDownload(_0x2523c2,_0x58e676,_0x508320){const _0x3a19f7=a147_0x547549,_0x5d7eed={};_0x5d7eed['iDprZ']=_0x3a19f7(0x19d);const _0xc2e53a=_0x5d7eed,_0x21d676=await this['validateBinary'](_0x2523c2[_0x3a19f7(0x17f)]);if(!_0x21d676){logger[_0x3a19f7(0x123)](_0xc2e53a[_0x3a19f7(0x198)]);const _0x24d1a8=await this[_0x3a19f7(0x120)](_0x58e676,_0x508320);return _0x24d1a8[_0x3a19f7(0x17f)];}return _0x2523c2[_0x3a19f7(0x17f)];}async[a147_0x547549(0x126)](_0x180f57){const _0x376a1a=a147_0x547549,_0x51f1b8={};_0x51f1b8[_0x376a1a(0x195)]=_0x376a1a(0x193),_0x51f1b8[_0x376a1a(0x137)]='New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update';const _0x3fd956=_0x51f1b8,_0xda067b=this.#getAvailableDirs(),_0x4a398c=path[_0x376a1a(0x119)](_0xda067b,this.#binaryName);if(this.#checkPath(_0x4a398c,fs['X_OK'])){const _0x3301a4=this.#loadETag(_0xda067b);if(_0x3301a4)try{const _0x149cfd=await this[_0x376a1a(0x120)](_0x180f57,_0xda067b,_0x3301a4);if(!_0x149cfd[_0x376a1a(0x122)])return logger[_0x376a1a(0x11b)](_0x3fd956[_0x376a1a(0x195)]),_0x4a398c;return logger[_0x376a1a(0x11b)](_0x3fd956[_0x376a1a(0x137)]),await this.#handleBinaryDownload(_0x149cfd,_0x180f57,_0xda067b);}catch(_0x2886a7){return logger[_0x376a1a(0x154)](_0x376a1a(0x186)+_0x2886a7),_0x4a398c;}}const _0x425145=await this['download'](_0x180f57,_0xda067b);return await this.#handleBinaryDownload(_0x425145,_0x180f57,_0xda067b);}['download'](_0x2b6100,_0x12d151,_0xff7029=null){const _0x545ab0=a147_0x547549,_0x1609d1={'WHUmN':function(_0x205ce5,_0x824c68){return _0x205ce5(_0x824c68);},'BPMFJ':function(_0x3cc8e9,_0x401652){return _0x3cc8e9(_0x401652);},'EokKR':function(_0x4cfa02,_0x44ba04){return _0x4cfa02===_0x44ba04;},'NlyUD':'error','NNKhi':_0x545ab0(0x19c),'svaMO':function(_0x45be22,_0x494ce1){return _0x45be22+_0x494ce1;},'RwcHk':'.zip'};_0x12d151&&!this.#checkPath(_0x12d151)&&fs[_0x545ab0(0x18f)](_0x12d151);const _0x2800a9=this.#binaryName,_0x3f95b3=path[_0x545ab0(0x119)](_0x12d151,_0x1609d1[_0x545ab0(0x18d)](_0x2800a9,_0x1609d1[_0x545ab0(0x176)])),_0xf18ceb=fs[_0x545ab0(0x14b)](_0x3f95b3),_0x28b6ff=url['parse'](this.#httpPath);if(_0x2b6100[_0x545ab0(0x118)]&&_0x2b6100['proxyPort']){const _0x31b110={};_0x31b110[_0x545ab0(0x13a)]=_0x2b6100[_0x545ab0(0x118)],_0x31b110[_0x545ab0(0x15f)]=_0x2b6100['proxyPort'],_0x28b6ff[_0x545ab0(0x16e)]=new HttpsProxyAgent(_0x31b110);}if(_0x2b6100[_0x545ab0(0x114)])try{_0x28b6ff['ca']=fs[_0x545ab0(0x111)](_0x2b6100[_0x545ab0(0x114)]);}catch(_0x4214e7){logger[_0x545ab0(0x123)](_0x545ab0(0x16b)+_0x4214e7);}if(_0xff7029){const _0x3d95c5={};_0x3d95c5[_0x545ab0(0x17e)]=_0xff7029,_0x3d95c5[_0x545ab0(0x147)]=_0x1609d1[_0x545ab0(0x17d)],_0x28b6ff[_0x545ab0(0x189)]=_0x3d95c5;}else{const _0x4b2cde={};_0x4b2cde[_0x545ab0(0x147)]=_0x1609d1['NNKhi'],_0x28b6ff['headers']=_0x4b2cde;}return new Promise((_0x1e57e4,_0x3e8ae8)=>{const _0x403245=_0x545ab0,_0x48a46c={'wiiDD':function(_0x38df30,_0x4d3e46){const _0x5813c5=a147_0xa44a;return _0x1609d1[_0x5813c5(0x113)](_0x38df30,_0x4d3e46);},'PmYRr':function(_0x3cd56f,_0x4c0b9b){const _0x3e4261=a147_0xa44a;return _0x1609d1[_0x3e4261(0x12f)](_0x3cd56f,_0x4c0b9b);},'VwgHW':function(_0x5a421d,_0x456907){const _0x2a8706=a147_0xa44a;return _0x1609d1[_0x2a8706(0x181)](_0x5a421d,_0x456907);},'rsueT':function(_0x5f4025,_0x54f1c7){const _0x3b72a3=a147_0xa44a;return _0x1609d1[_0x3b72a3(0x12f)](_0x5f4025,_0x54f1c7);},'wjVJt':_0x1609d1['NlyUD'],'EujLR':_0x1609d1[_0x403245(0x17d)]};https['get'](_0x28b6ff,_0x362835=>{const _0x17a69d=_0x403245,_0x1a21fd={'pafJn':function(_0x579be6,_0x3bfacd){const _0x3f7abc=a147_0xa44a;return _0x48a46c[_0x3f7abc(0x172)](_0x579be6,_0x3bfacd);}};if(_0xff7029&&_0x48a46c[_0x17a69d(0x163)](_0x362835[_0x17a69d(0x197)],0x130)){_0xf18ceb[_0x17a69d(0x143)]();const _0x55ff04={};_0x55ff04[_0x17a69d(0x122)]=![],_0x48a46c[_0x17a69d(0x168)](_0x1e57e4,_0x55ff04);return;}const _0x14eb92=_0x362835[_0x17a69d(0x189)][_0x17a69d(0x153)];_0x14eb92&&this.#saveETag(_0x12d151,_0x14eb92),_0x362835[_0x17a69d(0x188)](_0xf18ceb),_0x362835['on'](_0x48a46c[_0x17a69d(0x116)],function(_0x308429){const _0x2f1a51=_0x17a69d;logger['error'](_0x2f1a51(0x10d)+_0x308429),_0x1a21fd[_0x2f1a51(0x14e)](_0x3e8ae8,_0x308429);}),_0xf18ceb['on'](_0x48a46c[_0x17a69d(0x116)],function(_0x2db019){const _0x579eb4=_0x17a69d;logger[_0x579eb4(0x123)](_0x579eb4(0x139)+_0x2db019),_0x48a46c[_0x579eb4(0x187)](_0x3e8ae8,_0x2db019);}),_0xf18ceb['on'](_0x48a46c[_0x17a69d(0x127)],()=>{const _0x2435fd=_0x17a69d;this[_0x2435fd(0x17a)](_0x3f95b3,_0x12d151)[_0x2435fd(0x150)](_0x398a2f=>_0x1e57e4({'needsUpdate':!![],'binaryPath':_0x398a2f}))[_0x2435fd(0x125)](_0x3e8ae8);});})['on'](_0x1609d1[_0x403245(0x15a)],function(_0x46c3e0){const _0x1e4ae7=_0x403245;logger[_0x1e4ae7(0x123)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x46c3e0),_0x1609d1[_0x1e4ae7(0x113)](_0x3e8ae8,_0x46c3e0);});});}[a147_0x547549(0x17a)](_0x592b34,_0x2161bd){const _0x5a61fe=a147_0x547549,_0x2b2b0b={'ggHfS':function(_0x33a85b,_0x1f5b9c){return _0x33a85b(_0x1f5b9c);},'MSVdf':_0x5a61fe(0x138),'KcLVX':_0x5a61fe(0x123),'jetct':_0x5a61fe(0x161),'MzJTO':function(_0x1d3b62,_0x22078b){return _0x1d3b62(_0x22078b);},'DJAcU':function(_0x5231a0,_0x314da7){return _0x5231a0===_0x314da7;},'NvXaF':_0x5a61fe(0x10f)},_0x4a6610=this.#binaryName,_0x3b5de5=path[_0x5a61fe(0x119)](_0x2161bd,_0x4a6610);return new Promise((_0x3ad594,_0x35f62a)=>{const _0x520bf5=_0x5a61fe,_0x56a287={'hhroi':function(_0x5c671e,_0x401ef1){return _0x2b2b0b['MzJTO'](_0x5c671e,_0x401ef1);},'ZriHZ':_0x2b2b0b[_0x520bf5(0x13e)],'JYkfn':function(_0x2f29bb,_0x33fcdd){return _0x2b2b0b['DJAcU'](_0x2f29bb,_0x33fcdd);},'KrEaD':_0x2b2b0b[_0x520bf5(0x16f)]},_0x275722={};_0x275722[_0x520bf5(0x12d)]=!![],yauzl[_0x520bf5(0x133)](_0x592b34,_0x275722,function(_0x227692,_0x15dae3){const _0x2abc6f=_0x520bf5,_0x388584={'zGZwR':function(_0x115cc4,_0x320bd6){const _0xe90861=a147_0xa44a;return _0x2b2b0b[_0xe90861(0x15e)](_0x115cc4,_0x320bd6);}};_0x227692&&_0x2b2b0b[_0x2abc6f(0x15e)](_0x35f62a,_0x227692),_0x15dae3[_0x2abc6f(0x129)](),_0x15dae3['on'](_0x2b2b0b[_0x2abc6f(0x160)],_0x58f9fe=>{const _0x16d951=_0x2abc6f,_0x21d286={'EwZmE':function(_0x57f58e,_0x39768c){const _0x1977ef=a147_0xa44a;return _0x56a287[_0x1977ef(0x144)](_0x57f58e,_0x39768c);},'CZBXa':_0x56a287[_0x16d951(0x17b)]};if(/\/$/[_0x16d951(0x12a)](_0x58f9fe[_0x16d951(0x1a0)]))_0x15dae3[_0x16d951(0x129)]();else{const _0x49df08=fs[_0x16d951(0x14b)](path[_0x16d951(0x119)](_0x2161bd,_0x58f9fe[_0x16d951(0x1a0)]));_0x15dae3[_0x16d951(0x173)](_0x58f9fe,function(_0x127cc4,_0x7d3cc0){const _0xe42a14=_0x16d951;_0x127cc4&&_0x21d286['EwZmE'](_0x35f62a,_0x227692),_0x7d3cc0['on'](_0x21d286[_0xe42a14(0x10b)],function(){const _0xfef3ed=_0xe42a14;_0x49df08[_0xfef3ed(0x19c)](),_0x15dae3['readEntry']();}),_0x7d3cc0[_0xe42a14(0x188)](_0x49df08);}),_0x56a287[_0x16d951(0x192)](_0x58f9fe[_0x16d951(0x1a0)],_0x4a6610)&&_0x15dae3[_0x16d951(0x19c)]();}}),_0x15dae3['on'](_0x2b2b0b[_0x2abc6f(0x194)],_0x3fcee0=>{const _0xf5962=_0x2abc6f;_0x388584[_0xf5962(0x140)](_0x35f62a,_0x3fcee0);}),_0x15dae3[_0x2abc6f(0x14d)](_0x2b2b0b['jetct'],()=>{const _0x4d4dc1=_0x2abc6f,_0x1f5d0d={'Jznjh':function(_0x593af0,_0x4abf51){return _0x56a287['hhroi'](_0x593af0,_0x4abf51);}};fs['chmod'](_0x3b5de5,_0x56a287[_0x4d4dc1(0x13c)],function(_0x52062f){const _0x162d70=_0x4d4dc1;_0x52062f&&_0x1f5d0d['Jznjh'](_0x35f62a,_0x52062f),_0x1f5d0d[_0x162d70(0x146)](_0x3ad594,_0x3b5de5);}),_0x15dae3[_0x4d4dc1(0x19c)]();});});});}async[a147_0x547549(0x14c)](_0x45caa5){const _0x20dbed=a147_0x547549,_0x542856={'tDNoY':function(_0xb07c4a,_0x1f8218){return _0xb07c4a(_0x1f8218);},'HPoqU':function(_0x1456f7,_0x28304b,_0xa85cc2,_0x477c98){return _0x1456f7(_0x28304b,_0xa85cc2,_0x477c98);},'lNvza':_0x20dbed(0x15c),'fzPEl':'data','FJSin':_0x20dbed(0x19c)},_0x255bad=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x12ef38,_0xf73a9a)=>{const _0x5c6b74=_0x20dbed,_0x3d624a={'nutYQ':function(_0x556595,_0x24db97){const _0x4e3a72=a147_0xa44a;return _0x542856[_0x4e3a72(0x17c)](_0x556595,_0x24db97);}},_0xf3fa07={};_0xf3fa07[_0x5c6b74(0x19a)]=process[_0x5c6b74(0x19a)];const _0x2f46cf=_0x542856['HPoqU'](spawn,_0x45caa5,[_0x542856[_0x5c6b74(0x149)]],_0xf3fa07);_0x2f46cf[_0x5c6b74(0x12e)]['on'](_0x542856['fzPEl'],_0x36b4ea=>{const _0x5b0691=_0x5c6b74;_0x255bad[_0x5b0691(0x12a)](_0x36b4ea)&&_0x3d624a[_0x5b0691(0x178)](_0x12ef38,!![]);}),_0x2f46cf['on'](_0x542856['FJSin'],()=>{const _0x7830e9=_0x5c6b74;_0x542856[_0x7830e9(0x17c)](_0x12ef38,![]);});});}#homedir(){const _0x4411ed=a147_0x547549,_0x3d6a34={};_0x3d6a34['laZQo']=function(_0x168005,_0xc125b3){return _0x168005===_0xc125b3;},_0x3d6a34[_0x4411ed(0x10a)]=_0x4411ed(0x179),_0x3d6a34['hzhRL']=function(_0x27fb52,_0x496b68){return _0x27fb52===_0x496b68;},_0x3d6a34[_0x4411ed(0x14f)]=_0x4411ed(0x190),_0x3d6a34[_0x4411ed(0x156)]=function(_0x39fc63,_0x36f502){return _0x39fc63+_0x36f502;},_0x3d6a34[_0x4411ed(0x158)]=_0x4411ed(0x141),_0x3d6a34['jYCzV']=_0x4411ed(0x18a),_0x3d6a34['SCcwW']=_0x4411ed(0x151),_0x3d6a34['OVUpY']=_0x4411ed(0x12c),_0x3d6a34['RIBqD']=function(_0x2eeffa,_0x4657f2){return _0x2eeffa+_0x4657f2;},_0x3d6a34[_0x4411ed(0x11c)]='/home/',_0x3d6a34[_0x4411ed(0x183)]=function(_0x2f99ec,_0x1efdbb){return _0x2f99ec||_0x1efdbb;};const _0x27007a=_0x3d6a34;if(_0x27007a[_0x4411ed(0x15b)](typeof os[_0x4411ed(0x124)],_0x27007a[_0x4411ed(0x10a)]))return os[_0x4411ed(0x124)]();const _0x1b479b=process['env'],_0x6864af=_0x1b479b[_0x4411ed(0x112)],_0x25be6a=_0x1b479b[_0x4411ed(0x16d)]||_0x1b479b[_0x4411ed(0x131)]||_0x1b479b[_0x4411ed(0x132)]||_0x1b479b[_0x4411ed(0x135)];if(_0x27007a[_0x4411ed(0x19f)](process[_0x4411ed(0x169)],_0x27007a[_0x4411ed(0x14f)]))return _0x1b479b[_0x4411ed(0x19b)]||_0x27007a[_0x4411ed(0x156)](_0x1b479b['HOMEDRIVE'],_0x1b479b[_0x4411ed(0x185)])||_0x6864af||null;if(_0x27007a[_0x4411ed(0x15b)](process[_0x4411ed(0x169)],_0x27007a[_0x4411ed(0x158)]))return _0x6864af||(_0x25be6a?_0x27007a['XSsVc'](_0x27007a[_0x4411ed(0x10c)],_0x25be6a):null);if(_0x27007a[_0x4411ed(0x15b)](process[_0x4411ed(0x169)],_0x27007a['SCcwW']))return _0x6864af||(_0x27007a[_0x4411ed(0x19f)](process['getuid'](),0x0)?_0x27007a['OVUpY']:_0x25be6a?_0x27007a[_0x4411ed(0x199)](_0x27007a[_0x4411ed(0x11c)],_0x25be6a):null);return _0x27007a[_0x4411ed(0x183)](_0x6864af,null);}}module[a147_0x547549(0x157)]=PercyBinary;
|
|
1
|
+
const a147_0xc7f66=a147_0xfac8;(function(_0x62aafc,_0x15fdf5){const _0x3a9056=a147_0xfac8,_0x7eec06=_0x62aafc();while(!![]){try{const _0x506f02=parseInt(_0x3a9056(0x21f))/0x1*(-parseInt(_0x3a9056(0x243))/0x2)+parseInt(_0x3a9056(0x230))/0x3*(parseInt(_0x3a9056(0x21b))/0x4)+parseInt(_0x3a9056(0x23c))/0x5*(parseInt(_0x3a9056(0x1f3))/0x6)+-parseInt(_0x3a9056(0x231))/0x7+-parseInt(_0x3a9056(0x205))/0x8+parseInt(_0x3a9056(0x1ff))/0x9+-parseInt(_0x3a9056(0x1e1))/0xa;if(_0x506f02===_0x15fdf5)break;else _0x7eec06['push'](_0x7eec06['shift']());}catch(_0x2e6853){_0x7eec06['push'](_0x7eec06['shift']());}}}(a147_0x3417,0x951b1));const {https}=require(a147_0xc7f66(0x200)),url=require(a147_0xc7f66(0x1e8)),yauzl=require(a147_0xc7f66(0x26c)),fs=require('fs'),path=require(a147_0xc7f66(0x1e6)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a147_0xc7f66(0x25d)),logger=require(a147_0xc7f66(0x20b))[a147_0xc7f66(0x224)];class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a147_0xc7f66(0x21a);#orderedPaths=[path[a147_0xc7f66(0x22c)](this.#homedir(),a147_0xc7f66(0x254)),process[a147_0xc7f66(0x223)](),os[a147_0xc7f66(0x23d)]()];constructor(){const _0x329b3a=a147_0xc7f66,_0x4bafbd={};_0x4bafbd['MtsnH']='https://github.com/percy/cli/releases/latest/download',_0x4bafbd[_0x329b3a(0x25b)]=function(_0x14baf4,_0x3b552a){return _0x14baf4+_0x3b552a;},_0x4bafbd[_0x329b3a(0x22d)]='/percy-osx.zip',_0x4bafbd[_0x329b3a(0x233)]=_0x329b3a(0x213),_0x4bafbd[_0x329b3a(0x26d)]='percy.exe',_0x4bafbd[_0x329b3a(0x222)]=function(_0x3a5e75,_0x22c864){return _0x3a5e75+_0x22c864;},_0x4bafbd[_0x329b3a(0x238)]=_0x329b3a(0x23b);const _0x2d254d=_0x4bafbd,_0x1a8b84=_0x2d254d['MtsnH'];if(this.#hostOS[_0x329b3a(0x1da)](/darwin|mac os/i))this.#httpPath=_0x2d254d[_0x329b3a(0x25b)](_0x1a8b84,_0x2d254d[_0x329b3a(0x22d)]);else this.#hostOS[_0x329b3a(0x1da)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x2d254d[_0x329b3a(0x25b)](_0x1a8b84,_0x2d254d[_0x329b3a(0x233)]),this.#binaryName=_0x2d254d[_0x329b3a(0x26d)]):this.#httpPath=_0x2d254d['axwee'](_0x1a8b84,_0x2d254d[_0x329b3a(0x238)]);}#getAvailableDirs(){const _0x5c224d=a147_0xc7f66,_0x46ca6e={};_0x46ca6e[_0x5c224d(0x255)]=function(_0x52bc2a,_0x281c25){return _0x52bc2a<_0x281c25;},_0x46ca6e['qVhGV']=_0x5c224d(0x232);const _0x5d6fcd=_0x46ca6e;for(var _0x5c9201=0x0;_0x5d6fcd[_0x5c224d(0x255)](_0x5c9201,this.#orderedPaths['length']);_0x5c9201++){var _0xce5bc6=this.#orderedPaths[_0x5c9201];if(this.#makePath(_0xce5bc6))return _0xce5bc6;}throw new Error(_0x5d6fcd[_0x5c224d(0x23f)]);}#makePath(_0xa1f7f8){try{return _0xa1f7f8&&!this.#checkPath(_0xa1f7f8)&&fs['mkdirSync'](_0xa1f7f8),!![];}catch{return![];}}#checkPath(_0x48ec75,_0x2dc6b8){const _0x339928=a147_0xc7f66,_0x1a0b8a={};_0x1a0b8a[_0x339928(0x201)]=function(_0x533e8f,_0x599eec){return _0x533e8f|_0x599eec;},_0x1a0b8a['eIfSa']=function(_0x2e744a,_0x500cd4){return _0x2e744a!==_0x500cd4;},_0x1a0b8a[_0x339928(0x1f1)]=_0x339928(0x261);const _0x33b96e=_0x1a0b8a;_0x2dc6b8=_0x2dc6b8||_0x33b96e[_0x339928(0x201)](fs['R_OK'],fs[_0x339928(0x1e3)]);try{return fs[_0x339928(0x240)](_0x48ec75,_0x2dc6b8),!![];}catch(_0x27d07a){if(_0x33b96e[_0x339928(0x24f)](typeof fs[_0x339928(0x240)],_0x33b96e['VtocT']))return![];try{return fs[_0x339928(0x237)](_0x48ec75),!![];}catch(_0x16d8a1){return![];}}}#getETagPath(_0x19f22a){return path['join'](_0x19f22a,this.#binaryName+'.etag');}#loadETag(_0x381e24){const _0x2d31d5=a147_0xc7f66,_0x2a5f3f={};_0x2a5f3f['iMIEt']=_0x2d31d5(0x1f0);const _0x3639cc=_0x2a5f3f,_0x395727=this.#getETagPath(_0x381e24);if(this.#checkPath(_0x395727))try{return fs[_0x2d31d5(0x1e7)](_0x395727,_0x3639cc[_0x2d31d5(0x226)])[_0x2d31d5(0x1f4)]();}catch(_0x1c4cb5){logger['warn']('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x1c4cb5);}return null;}#saveETag(_0x48b9f9,_0x4dfb7d){const _0x26ada4=a147_0xc7f66,_0x1e9c8d={};_0x1e9c8d['Bhqga']='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x44f049=_0x1e9c8d;if(!_0x4dfb7d)return;try{const _0x361526=this.#getETagPath(_0x48b9f9);fs[_0x26ada4(0x1dc)](_0x361526,_0x4dfb7d),logger[_0x26ada4(0x242)](_0x44f049[_0x26ada4(0x1e5)]);}catch(_0x154089){logger[_0x26ada4(0x225)](_0x26ada4(0x229)+_0x154089);}}async #handleBinaryDownload(_0x520079,_0xec6630,_0x47a0c7){const _0x2c3c63=a147_0xc7f66,_0x22078c={};_0x22078c['SBDvL']=_0x2c3c63(0x214);const _0x3cf8df=_0x22078c,_0x114b4c=await this['validateBinary'](_0x520079[_0x2c3c63(0x1fc)]);if(!_0x114b4c){logger['error'](_0x3cf8df[_0x2c3c63(0x20d)]);const _0xfaf126=await this[_0x2c3c63(0x21d)](_0xec6630,_0x47a0c7);return _0xfaf126[_0x2c3c63(0x1fc)];}return _0x520079['binaryPath'];}async[a147_0xc7f66(0x20f)](_0x50eb45){const _0x5aea44=a147_0xc7f66,_0x2a3721={};_0x2a3721['mTeQY']=_0x5aea44(0x264),_0x2a3721['Avbex']=_0x5aea44(0x210);const _0x7820ba=_0x2a3721,_0x1462bf=this.#getAvailableDirs(),_0x4cce9f=path[_0x5aea44(0x22c)](_0x1462bf,this.#binaryName);if(this.#checkPath(_0x4cce9f,fs[_0x5aea44(0x244)])){const _0x570009=this.#loadETag(_0x1462bf);if(_0x570009)try{const _0x1113df=await this[_0x5aea44(0x21d)](_0x50eb45,_0x1462bf,_0x570009);if(!_0x1113df[_0x5aea44(0x24b)])return logger[_0x5aea44(0x242)](_0x7820ba[_0x5aea44(0x221)]),_0x4cce9f;return logger['debug'](_0x7820ba[_0x5aea44(0x216)]),await this.#handleBinaryDownload(_0x1113df,_0x50eb45,_0x1462bf);}catch(_0x161a42){return logger['warn']('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x161a42),_0x4cce9f;}}const _0x42094c=await this['download'](_0x50eb45,_0x1462bf);return await this.#handleBinaryDownload(_0x42094c,_0x50eb45,_0x1462bf);}[a147_0xc7f66(0x21d)](_0x3eb341,_0x5da0ac,_0x46b5a6=null){const _0x4762eb=a147_0xc7f66,_0x54ce3f={'puFBT':function(_0x2eea5c,_0x44e2bd){return _0x2eea5c===_0x44e2bd;},'loedc':function(_0xff470,_0x342fac){return _0xff470(_0x342fac);},'rgeCz':_0x4762eb(0x1db),'Rkxsa':_0x4762eb(0x22a),'FTtBB':function(_0x40c0c0,_0x4e4373){return _0x40c0c0(_0x4e4373);},'MgGhS':function(_0xecc661,_0x138105){return _0xecc661+_0x138105;},'dQlHF':_0x4762eb(0x203)};_0x5da0ac&&!this.#checkPath(_0x5da0ac)&&fs[_0x4762eb(0x246)](_0x5da0ac);const _0x4021a1=this.#binaryName,_0xf416c9=path[_0x4762eb(0x22c)](_0x5da0ac,_0x54ce3f[_0x4762eb(0x26a)](_0x4021a1,_0x54ce3f['dQlHF'])),_0x288a2d=fs[_0x4762eb(0x227)](_0xf416c9),_0x305f80=url[_0x4762eb(0x202)](this.#httpPath);if(_0x3eb341[_0x4762eb(0x239)]&&_0x3eb341[_0x4762eb(0x249)]){const _0x2edd59={};_0x2edd59['host']=_0x3eb341[_0x4762eb(0x239)],_0x2edd59[_0x4762eb(0x267)]=_0x3eb341[_0x4762eb(0x249)],_0x305f80[_0x4762eb(0x1d8)]=new HttpsProxyAgent(_0x2edd59);}if(_0x3eb341[_0x4762eb(0x1dd)])try{_0x305f80['ca']=fs[_0x4762eb(0x1e7)](_0x3eb341['useCaCertificate']);}catch(_0x4815bc){logger[_0x4762eb(0x1db)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x4815bc);}if(_0x46b5a6){const _0x1ef7fd={};_0x1ef7fd[_0x4762eb(0x1ef)]=_0x46b5a6,_0x1ef7fd[_0x4762eb(0x257)]=_0x54ce3f[_0x4762eb(0x265)],_0x305f80[_0x4762eb(0x1d9)]=_0x1ef7fd;}else{const _0x50a1c5={};_0x50a1c5['Connection']=_0x54ce3f[_0x4762eb(0x265)],_0x305f80[_0x4762eb(0x1d9)]=_0x50a1c5;}return new Promise((_0x5bc76f,_0x227c59)=>{const _0x4637e5=_0x4762eb,_0x1b323b={'wSFRz':function(_0x427d9e,_0x89d812){const _0x2b36b3=a147_0xfac8;return _0x54ce3f[_0x2b36b3(0x248)](_0x427d9e,_0x89d812);}};https[_0x4637e5(0x228)](_0x305f80,_0x5bc55b=>{const _0x34f7d1=_0x4637e5;if(_0x46b5a6&&_0x54ce3f[_0x34f7d1(0x26e)](_0x5bc55b['statusCode'],0x130)){_0x288a2d[_0x34f7d1(0x235)]();const _0xf5a313={};_0xf5a313[_0x34f7d1(0x24b)]=![],_0x54ce3f[_0x34f7d1(0x1f7)](_0x5bc76f,_0xf5a313);return;}const _0x490e64=_0x5bc55b[_0x34f7d1(0x1d9)][_0x34f7d1(0x20e)];_0x490e64&&this.#saveETag(_0x5da0ac,_0x490e64),_0x5bc55b[_0x34f7d1(0x204)](_0x288a2d),_0x5bc55b['on'](_0x54ce3f[_0x34f7d1(0x1ed)],function(_0x11ca96){const _0xd82e64=_0x34f7d1;logger[_0xd82e64(0x1db)](_0xd82e64(0x25a)+_0x11ca96),_0x1b323b['wSFRz'](_0x227c59,_0x11ca96);}),_0x288a2d['on'](_0x54ce3f[_0x34f7d1(0x1ed)],function(_0x63880b){const _0x285995=_0x34f7d1;logger[_0x285995(0x1db)](_0x285995(0x262)+_0x63880b),_0x1b323b[_0x285995(0x1fa)](_0x227c59,_0x63880b);}),_0x288a2d['on'](_0x54ce3f[_0x34f7d1(0x265)],()=>{const _0x88dcb6=_0x34f7d1;this[_0x88dcb6(0x206)](_0xf416c9,_0x5da0ac)[_0x88dcb6(0x263)](_0xa0832c=>_0x5bc76f({'needsUpdate':!![],'binaryPath':_0xa0832c}))[_0x88dcb6(0x1e2)](_0x227c59);});})['on'](_0x54ce3f[_0x4637e5(0x1ed)],function(_0x4ae7e4){const _0x462208=_0x4637e5;logger[_0x462208(0x1db)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x4ae7e4),_0x54ce3f[_0x462208(0x1f7)](_0x227c59,_0x4ae7e4);});});}[a147_0xc7f66(0x206)](_0x33a2ad,_0x23e661){const _0xde1d19=a147_0xc7f66,_0x243fd2={'QzQYE':function(_0x18f72e,_0x5b9af5){return _0x18f72e===_0x5b9af5;},'bIpqt':_0xde1d19(0x1df),'JDLLI':function(_0x340ac3,_0x31baa9){return _0x340ac3(_0x31baa9);},'BYmjs':_0xde1d19(0x20c),'GXRiw':_0xde1d19(0x207),'Xnvdy':'error'},_0x551f2d=this.#binaryName,_0x152605=path[_0xde1d19(0x22c)](_0x23e661,_0x551f2d);return new Promise((_0x214423,_0xa85773)=>{const _0x251070=_0xde1d19,_0x13d56d={'IAOUq':function(_0x360f02,_0x307212){return _0x243fd2['QzQYE'](_0x360f02,_0x307212);},'pENbf':_0x243fd2[_0x251070(0x215)],'bxisG':function(_0x29d59e,_0x455dfd){const _0x8e0f67=_0x251070;return _0x243fd2[_0x8e0f67(0x1fd)](_0x29d59e,_0x455dfd);},'NViMN':_0x243fd2[_0x251070(0x1e4)],'kxfud':function(_0x2935af,_0x230d6f){const _0xb35085=_0x251070;return _0x243fd2[_0xb35085(0x1fd)](_0x2935af,_0x230d6f);},'Xccit':_0x243fd2[_0x251070(0x258)],'kogro':_0x243fd2[_0x251070(0x24a)]},_0xc9fa7c={};_0xc9fa7c[_0x251070(0x1fb)]=!![],yauzl[_0x251070(0x251)](_0x33a2ad,_0xc9fa7c,function(_0x1d3035,_0xded01f){const _0x211a43=_0x251070,_0x193f77={'btErg':function(_0xd08e71,_0x1b02e1){return _0x13d56d['bxisG'](_0xd08e71,_0x1b02e1);},'sWmTy':_0x13d56d[_0x211a43(0x1f2)],'uZGXb':function(_0x3359b8,_0x355b00){const _0x16fe42=_0x211a43;return _0x13d56d[_0x16fe42(0x25f)](_0x3359b8,_0x355b00);},'rhcoe':function(_0x19a6a8,_0x58b893){const _0x4a0074=_0x211a43;return _0x13d56d[_0x4a0074(0x25f)](_0x19a6a8,_0x58b893);}};_0x1d3035&&_0x13d56d['kxfud'](_0xa85773,_0x1d3035),_0xded01f[_0x211a43(0x259)](),_0xded01f['on'](_0x13d56d[_0x211a43(0x236)],_0x5e60e7=>{const _0x57c20d=_0x211a43;if(/\/$/['test'](_0x5e60e7[_0x57c20d(0x24d)]))_0xded01f[_0x57c20d(0x259)]();else{const _0x254755=fs[_0x57c20d(0x227)](path[_0x57c20d(0x22c)](_0x23e661,_0x5e60e7[_0x57c20d(0x24d)]));_0xded01f[_0x57c20d(0x1e0)](_0x5e60e7,function(_0x9cf78e,_0x3c4ae5){const _0x10613e=_0x57c20d;_0x9cf78e&&_0x193f77['btErg'](_0xa85773,_0x1d3035),_0x3c4ae5['on'](_0x193f77[_0x10613e(0x1f8)],function(){const _0xd3cd33=_0x10613e;_0x254755['close'](),_0xded01f[_0xd3cd33(0x259)]();}),_0x3c4ae5[_0x10613e(0x204)](_0x254755);}),_0x13d56d[_0x57c20d(0x1f5)](_0x5e60e7[_0x57c20d(0x24d)],_0x551f2d)&&_0xded01f[_0x57c20d(0x22a)]();}}),_0xded01f['on'](_0x13d56d['kogro'],_0x5ec3c5=>{const _0xc7aa17=_0x211a43;_0x193f77[_0xc7aa17(0x21e)](_0xa85773,_0x5ec3c5);}),_0xded01f['once'](_0x13d56d[_0x211a43(0x1f2)],()=>{const _0x11c8d0=_0x211a43;fs[_0x11c8d0(0x24e)](_0x152605,_0x13d56d[_0x11c8d0(0x26f)],function(_0x1d894a){const _0x1477f8=_0x11c8d0;_0x1d894a&&_0x193f77['uZGXb'](_0xa85773,_0x1d894a),_0x193f77[_0x1477f8(0x1ea)](_0x214423,_0x152605);}),_0xded01f['close']();});});});}async['validateBinary'](_0x14198a){const _0x4ad112=a147_0xc7f66,_0xbd35bf={'subxn':function(_0x143382,_0x5c34b5){return _0x143382(_0x5c34b5);},'SPYAT':function(_0x104c6f,_0x25ff2c){return _0x104c6f(_0x25ff2c);},'zgwHV':function(_0x1539ee,_0x223282,_0xe234e6,_0x2f191f){return _0x1539ee(_0x223282,_0xe234e6,_0x2f191f);},'Vojyc':_0x4ad112(0x217),'mpOns':'data','pSeEn':'close'},_0x1d3610=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x74d164,_0x5d17d0)=>{const _0x2a46c4=_0x4ad112,_0x4c7232={'PDaEI':function(_0x3dc840,_0xa36592){const _0x4f45d7=a147_0xfac8;return _0xbd35bf[_0x4f45d7(0x211)](_0x3dc840,_0xa36592);}},_0x29261c={};_0x29261c[_0x2a46c4(0x247)]=process[_0x2a46c4(0x247)];const _0x373342=_0xbd35bf[_0x2a46c4(0x23a)](spawn,_0x14198a,[_0xbd35bf[_0x2a46c4(0x269)]],_0x29261c);_0x373342[_0x2a46c4(0x245)]['on'](_0xbd35bf[_0x2a46c4(0x220)],_0x4d8037=>{const _0x254c86=_0x2a46c4;_0x1d3610['test'](_0x4d8037)&&_0x4c7232[_0x254c86(0x268)](_0x74d164,!![]);}),_0x373342['on'](_0xbd35bf['pSeEn'],()=>{const _0x31bcba=_0x2a46c4;_0xbd35bf[_0x31bcba(0x24c)](_0x74d164,![]);});});}#homedir(){const _0x28c145=a147_0xc7f66,_0xec46ff={};_0xec46ff[_0x28c145(0x260)]=function(_0x529775,_0x4410a7){return _0x529775===_0x4410a7;},_0xec46ff['puHwD']=_0x28c145(0x26b),_0xec46ff[_0x28c145(0x256)]=function(_0x30a8e9,_0x160137){return _0x30a8e9===_0x160137;},_0xec46ff[_0x28c145(0x1eb)]=_0x28c145(0x1d6),_0xec46ff[_0x28c145(0x1e9)]=function(_0x276f67,_0x672898){return _0x276f67+_0x672898;},_0xec46ff[_0x28c145(0x253)]=function(_0x6b4ba9,_0x187604){return _0x6b4ba9===_0x187604;},_0xec46ff[_0x28c145(0x1ee)]=_0x28c145(0x1fe),_0xec46ff['Luqzp']=_0x28c145(0x22b),_0xec46ff[_0x28c145(0x234)]=function(_0x2f3d8f,_0x571fc0){return _0x2f3d8f===_0x571fc0;},_0xec46ff[_0x28c145(0x1de)]=_0x28c145(0x218),_0xec46ff[_0x28c145(0x23e)]=_0x28c145(0x212),_0xec46ff[_0x28c145(0x252)]=function(_0x4c0477,_0x2a7150){return _0x4c0477+_0x2a7150;},_0xec46ff[_0x28c145(0x250)]=_0x28c145(0x21c),_0xec46ff['FSsxQ']=function(_0x2ebbb3,_0x5b810d){return _0x2ebbb3||_0x5b810d;};const _0x502547=_0xec46ff;if(_0x502547[_0x28c145(0x260)](typeof os[_0x28c145(0x209)],_0x502547[_0x28c145(0x266)]))return os['homedir']();const _0x2c30da=process[_0x28c145(0x247)],_0x5cef85=_0x2c30da[_0x28c145(0x22e)],_0x17ed42=_0x2c30da[_0x28c145(0x1d7)]||_0x2c30da[_0x28c145(0x219)]||_0x2c30da[_0x28c145(0x20a)]||_0x2c30da[_0x28c145(0x208)];if(_0x502547[_0x28c145(0x256)](process['platform'],_0x502547[_0x28c145(0x1eb)]))return _0x2c30da[_0x28c145(0x25e)]||_0x502547[_0x28c145(0x1e9)](_0x2c30da[_0x28c145(0x1f6)],_0x2c30da[_0x28c145(0x241)])||_0x5cef85||null;if(_0x502547[_0x28c145(0x253)](process['platform'],_0x502547[_0x28c145(0x1ee)]))return _0x5cef85||(_0x17ed42?_0x502547[_0x28c145(0x1e9)](_0x502547[_0x28c145(0x1f9)],_0x17ed42):null);if(_0x502547[_0x28c145(0x234)](process[_0x28c145(0x25c)],_0x502547[_0x28c145(0x1de)]))return _0x5cef85||(_0x502547[_0x28c145(0x253)](process[_0x28c145(0x1ec)](),0x0)?_0x502547['XXXit']:_0x17ed42?_0x502547[_0x28c145(0x252)](_0x502547[_0x28c145(0x250)],_0x17ed42):null);return _0x502547['FSsxQ'](_0x5cef85,null);}}function a147_0x3417(){const _0x4c891e=['writeFileSync','useCaCertificate','DSTTB','0755','openReadStream','407990uinKpl','catch','W_OK','BYmjs','Bhqga','path','readFileSync','url','nIVOa','rhcoe','IVxEJ','getuid','rgeCz','QMXhL','If-None-Match','utf8','VtocT','NViMN','48948LajGUa','trim','IAOUq','HOMEDRIVE','loedc','sWmTy','Luqzp','wSFRz','lazyEntries','binaryPath','JDLLI','darwin','1888434gPGYeN','follow-redirects','ThCeZ','parse','.zip','pipe','2020544JKysJd','extractAndSaveBinary','entry','USERNAME','homedir','LNAME','../logger','end','SBDvL','etag','getBinaryPath','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','SPYAT','/root','/percy-win.zip','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','bIpqt','Avbex','--version','linux','USER','percy','3723624coYMym','/home/','download','uZGXb','1EfvjlK','mpOns','mTeQY','axwee','cwd','winstonLogger','warn','iMIEt','createWriteStream','get','Failed\x20to\x20save\x20ETag\x20file:\x20','close','/Users/','join','IyClF','HOME','exports','3CTqats','5312993Utdxfo','Error\x20trying\x20to\x20download\x20percy\x20binary','JZmwO','SkfUA','destroy','Xccit','statSync','URytO','proxyHost','zgwHV','/percy-linux.zip','730uPzqHF','tmpdir','XXXit','qVhGV','accessSync','HOMEPATH','debug','1337394RaEYXf','X_OK','stdout','mkdirSync','env','FTtBB','proxyPort','Xnvdy','needsUpdate','subxn','fileName','chmod','eIfSa','ZUOfK','open','MkYsG','YegNv','.browserstack','AIIUH','LMvzS','Connection','GXRiw','readEntry','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','oSNRU','platform','https-proxy-agent','USERPROFILE','bxisG','tqGKT','undefined','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','then','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','Rkxsa','puHwD','port','PDaEI','Vojyc','MgGhS','function','yauzl','hxozY','puFBT','pENbf','win32','LOGNAME','agent','headers','match','error'];a147_0x3417=function(){return _0x4c891e;};return a147_0x3417();}function a147_0xfac8(_0x1d30f5,_0x1ef2a4){const _0x3417cf=a147_0x3417();return a147_0xfac8=function(_0xfac8cc,_0x3b49c3){_0xfac8cc=_0xfac8cc-0x1d6;let _0x4d2235=_0x3417cf[_0xfac8cc];return _0x4d2235;},a147_0xfac8(_0x1d30f5,_0x1ef2a4);}module[a147_0xc7f66(0x22f)]=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a148_0x43baf0=a148_0x4459;function a148_0x4459(_0xa37ed,_0x54dccc){var _0x69a694=a148_0x69a6();return a148_0x4459=function(_0x445994,_0x3e8d1b){_0x445994=_0x445994-0x16a;var _0xabadb3=_0x69a694[_0x445994];return _0xabadb3;},a148_0x4459(_0xa37ed,_0x54dccc);}(function(_0x4ab1b4,_0x4c0581){var _0x57d774=a148_0x4459,_0x29325b=_0x4ab1b4();while(!![]){try{var _0x3f5219=parseInt(_0x57d774(0x175))/0x1*(parseInt(_0x57d774(0x176))/0x2)+-parseInt(_0x57d774(0x16e))/0x3+parseInt(_0x57d774(0x16a))/0x4+parseInt(_0x57d774(0x172))/0x5+parseInt(_0x57d774(0x173))/0x6*(parseInt(_0x57d774(0x174))/0x7)+-parseInt(_0x57d774(0x177))/0x8*(parseInt(_0x57d774(0x16f))/0x9)+parseInt(_0x57d774(0x171))/0xa*(-parseInt(_0x57d774(0x170))/0xb);if(_0x3f5219===_0x4c0581)break;else _0x29325b['push'](_0x29325b['shift']());}catch(_0x694849){_0x29325b['push'](_0x29325b['shift']());}}}(a148_0x69a6,0x8a7df));class PercyCaptureMap{#map={};[a148_0x43baf0(0x16c)](_0x18bf99,_0x1ca9c7){!this.#map[_0x18bf99]&&(this.#map[_0x18bf99]={}),!this.#map[_0x18bf99][_0x1ca9c7]&&(this.#map[_0x18bf99][_0x1ca9c7]=0x0),this.#map[_0x18bf99][_0x1ca9c7]++;}[a148_0x43baf0(0x16b)](_0x5b79dd,_0x328deb){var _0x16237c=a148_0x43baf0;return _0x5b79dd+'-'+_0x328deb+'-'+this[_0x16237c(0x16d)](_0x5b79dd,_0x328deb);}['get'](_0x1472e5,_0x2cd71d){if(!this.#map[_0x1472e5])return 0x0;if(!this.#map[_0x1472e5][_0x2cd71d])return 0x0;return this.#map[_0x1472e5][_0x2cd71d];}}function a148_0x69a6(){var _0x36de7f=['6aVlSqv','6088229FwTTpI','19hISaCT','8978KmeISv','16qqsyvi','1973408qPMOmX','getName','increment','get','1073919ymljZB','2213352ddXzMl','205909NXijbZ','60UiUdRG','405080zICuNX'];a148_0x69a6=function(){return _0x36de7f;};return a148_0x69a6();}module['exports']=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a149_0x1280(){var _0x55ea19=['8462398CGKHGF','screenshot','driver','click','1008495NfYjoo','176051oOajtC','356448VprUIa','manual','10UINSJu','1903239IoymhC','exports','takeScreenshot','3ySSybH','50addVjH','auto','5540364NkIvsD','8779496HEjOzz','sendKeys'];a149_0x1280=function(){return _0x55ea19;};return a149_0x1280();}var a149_0x4df228=a149_0x5aab;(function(_0x58937b,_0x3a42c9){var _0x59bfcf=a149_0x5aab,_0x560094=_0x58937b();while(!![]){try{var _0x5f4cc6=parseInt(_0x59bfcf(0x154))/0x1*(-parseInt(_0x59bfcf(0x157))/0x2)+-parseInt(_0x59bfcf(0x149))/0x3*(parseInt(_0x59bfcf(0x155))/0x4)+-parseInt(_0x59bfcf(0x153))/0x5+parseInt(_0x59bfcf(0x14c))/0x6+-parseInt(_0x59bfcf(0x14f))/0x7+parseInt(_0x59bfcf(0x14d))/0x8+parseInt(_0x59bfcf(0x158))/0x9*(parseInt(_0x59bfcf(0x14a))/0xa);if(_0x5f4cc6===_0x3a42c9)break;else _0x560094['push'](_0x560094['shift']());}catch(_0x51e1dc){_0x560094['push'](_0x560094['shift']());}}}(a149_0x1280,0xaa75e));var a149_0x375ab1={};a149_0x375ab1[a149_0x4df228(0x151)]=[a149_0x4df228(0x148)],a149_0x375ab1['element']=[a149_0x4df228(0x152),a149_0x4df228(0x14e)];var a149_0x2d359b={};a149_0x2d359b[a149_0x4df228(0x151)]=[a149_0x4df228(0x148)];var a149_0x33f5e0={};a149_0x33f5e0['element']=['click'];function a149_0x5aab(_0x2cab5f,_0x48daa4){var _0x128066=a149_0x1280();return a149_0x5aab=function(_0x5aab51,_0x5cfd41){_0x5aab51=_0x5aab51-0x148;var _0x5b8e35=_0x128066[_0x5aab51];return _0x5b8e35;},a149_0x5aab(_0x2cab5f,_0x48daa4);}var a149_0x8c6e4d={};a149_0x8c6e4d[a149_0x4df228(0x14b)]=a149_0x375ab1,a149_0x8c6e4d[a149_0x4df228(0x150)]=a149_0x2d359b,a149_0x8c6e4d['click']=a149_0x33f5e0,a149_0x8c6e4d['testcase']={},a149_0x8c6e4d[a149_0x4df228(0x156)]={},module[a149_0x4df228(0x159)]=a149_0x8c6e4d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a150_0x97c3f=a150_0x1f40;function a150_0x1f40(_0x16a00f,_0x156b75){const _0xc166f4=a150_0xc166();return a150_0x1f40=function(_0x1f401f,_0x2e8f1f){_0x1f401f=_0x1f401f-0x195;let _0x1b6b2d=_0xc166f4[_0x1f401f];return _0x1b6b2d;},a150_0x1f40(_0x16a00f,_0x156b75);}(function(_0xf8a8bb,_0x27321e){const _0x392c9a=a150_0x1f40,_0x510c09=_0xf8a8bb();while(!![]){try{const _0x359a6a=parseInt(_0x392c9a(0x199))/0x1*(parseInt(_0x392c9a(0x1b6))/0x2)+parseInt(_0x392c9a(0x19c))/0x3*(parseInt(_0x392c9a(0x19f))/0x4)+-parseInt(_0x392c9a(0x195))/0x5*(parseInt(_0x392c9a(0x19d))/0x6)+-parseInt(_0x392c9a(0x1ab))/0x7+-parseInt(_0x392c9a(0x1ae))/0x8*(-parseInt(_0x392c9a(0x197))/0x9)+-parseInt(_0x392c9a(0x1ac))/0xa+-parseInt(_0x392c9a(0x19b))/0xb;if(_0x359a6a===_0x27321e)break;else _0x510c09['push'](_0x510c09['shift']());}catch(_0x4e2f0c){_0x510c09['push'](_0x510c09['shift']());}}}(a150_0xc166,0x493c5));const tryRequire=function(_0x317b68,_0x20348f){const _0x54e85c=a150_0x1f40,_0x39b6f6={'VLggY':function(_0x51cc0c,_0x566eec){return _0x51cc0c(_0x566eec);}};try{return _0x39b6f6[_0x54e85c(0x1b7)](require,_0x317b68);}catch{return _0x20348f;}},percySnapshot=tryRequire(a150_0x97c3f(0x1b0),null),{percyScreenshot}=tryRequire(a150_0x97c3f(0x1b0),{}),percyAppScreenshot=require(a150_0x97c3f(0x1a7)),{getCurrentTestData}=require(a150_0x97c3f(0x1a9)),PerformanceTester=require(a150_0x97c3f(0x19a)),{PERCY_EVENTS:PerformanceEvents}=require(a150_0x97c3f(0x1b5)),logger=require('../logger')[a150_0x97c3f(0x1a2)];percySnapshot&&(exports[a150_0x97c3f(0x1b3)]=async function(){const _0x5bf92b=a150_0x97c3f,_0x1b4a3c={'FUHhP':function(_0x4bdbb1,_0x53c40b){return _0x4bdbb1!==_0x53c40b;},'jiqnW':function(_0x440f2b,_0x5420bb){return _0x440f2b>=_0x5420bb;},'IwkSo':function(_0x315013){return _0x315013();}};if(global['browserstackPlatformIndex']&&_0x1b4a3c[_0x5bf92b(0x1b1)](global[_0x5bf92b(0x1b4)],global[_0x5bf92b(0x1a5)]))return;const _0xc69f20=_0x1b4a3c[_0x5bf92b(0x1af)](arguments[_0x5bf92b(0x1ba)],0x2)?arguments[0x1]:'',_0x96f5f4=_0x1b4a3c[_0x5bf92b(0x1a8)](getCurrentTestData),_0x251aa6={};return _0x251aa6[_0x5bf92b(0x1a0)]=_0xc69f20,_0x251aa6['testCase']=_0x96f5f4[_0x5bf92b(0x1a0)]||'',_0x251aa6[_0x5bf92b(0x1a1)]=_0x96f5f4[_0x5bf92b(0x196)]||'',_0x251aa6[_0x5bf92b(0x1b2)]=global[_0x5bf92b(0x1b4)],await PerformanceTester[_0x5bf92b(0x19e)](PerformanceEvents[_0x5bf92b(0x1aa)],()=>percySnapshot[_0x5bf92b(0x1a6)](null,arguments),_0x251aa6);});percyScreenshot?exports[a150_0x97c3f(0x1bb)]=async function(){const _0x5985dc=a150_0x97c3f,_0x7c9777={'KAbZj':function(_0x2880d2,_0x54c74c){return _0x2880d2>=_0x54c74c;},'kMlOR':function(_0x24e438){return _0x24e438();}},_0x337c14=_0x7c9777[_0x5985dc(0x1bc)](arguments['length'],0x2)?arguments[0x1]:'',_0x2f8d9f=_0x7c9777['kMlOR'](getCurrentTestData),_0x1c15c5={};return _0x1c15c5[_0x5985dc(0x1a0)]=_0x337c14,_0x1c15c5['testCase']=_0x2f8d9f[_0x5985dc(0x1a0)]||'',_0x1c15c5['thTestCaseExecutionId']=_0x2f8d9f[_0x5985dc(0x196)]||'',_0x1c15c5[_0x5985dc(0x1b2)]=global[_0x5985dc(0x1b4)],await PerformanceTester[_0x5985dc(0x19e)](PerformanceEvents['SCREENSHOT'],()=>percyScreenshot[_0x5985dc(0x1a6)](null,arguments),_0x1c15c5);}:exports[a150_0x97c3f(0x1bb)]=()=>{const _0x14ec79=a150_0x97c3f,_0xfc5d3c={};_0xfc5d3c[_0x14ec79(0x1b8)]=_0x14ec79(0x1a3);const _0xaf8c2d=_0xfc5d3c;logger[_0x14ec79(0x1ad)](_0xaf8c2d[_0x14ec79(0x1b8)]);};exports[a150_0x97c3f(0x1b9)]=async function(){const _0x28ff1a=a150_0x97c3f,_0x48f426={'VeYbd':function(_0x1c5e27,_0xbc3cd3){return _0x1c5e27>=_0xbc3cd3;},'mPlcx':function(_0x10c4ce){return _0x10c4ce();}},_0x3b5e6d=_0x48f426[_0x28ff1a(0x1a4)](arguments[_0x28ff1a(0x1ba)],0x2)?arguments[0x1]:'',_0x2fbefa=_0x48f426['mPlcx'](getCurrentTestData),_0x24e77c={};return _0x24e77c[_0x28ff1a(0x1a0)]=_0x3b5e6d,_0x24e77c['testCase']=_0x2fbefa[_0x28ff1a(0x1a0)]||'',_0x24e77c['thTestCaseExecutionId']=_0x2fbefa[_0x28ff1a(0x196)]||'',_0x24e77c[_0x28ff1a(0x1b2)]=global[_0x28ff1a(0x1b4)],await PerformanceTester[_0x28ff1a(0x19e)](PerformanceEvents[_0x28ff1a(0x198)],()=>percyAppScreenshot[_0x28ff1a(0x1a6)](null,arguments),_0x24e77c);};function a150_0xc166(){const _0x47f5d0=['measure','20HwFBWW','name','thTestCaseExecutionId','winstonLogger','Unsupported\x20driver\x20for\x20percy','VeYbd','browserstackPercyBestPlatform','apply','@percy/appium-app','IwkSo','../../helpers/testhub/utils','SNAPSHOT','378287HpCMRL','4090300ZAQMOt','error','32HsHvep','jiqnW','@percy/selenium-webdriver','FUHhP','platformIndex','snapshot','browserstackPlatformIndex','../performance/constants','4rrZLvW','VLggY','BSnea','screenshotApp','length','screenshot','KAbZj','815poxKvK','uuid','1345860aIeWXK','SCREENSHOT_APP','35135nDhPDV','../performance/performance-tester','1401114FmcNyc','300822ATboQp','10284dVGsvl'];a150_0xc166=function(){return _0x47f5d0;};return a150_0xc166();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a151_0x41ab(_0x243aaa,_0x4eabc8){var _0x499728=a151_0x4997();return a151_0x41ab=function(_0x41ab49,_0x4bea9b){_0x41ab49=_0x41ab49-0x1cb;var _0x5d785b=_0x499728[_0x41ab49];return _0x5d785b;},a151_0x41ab(_0x243aaa,_0x4eabc8);}var a151_0x162b00=a151_0x41ab;(function(_0x5bd274,_0x2c2a93){var _0x3394dd=a151_0x41ab,_0x21f0a9=_0x5bd274();while(!![]){try{var _0x2213a2=-parseInt(_0x3394dd(0x1d4))/0x1+-parseInt(_0x3394dd(0x1cc))/0x2+-parseInt(_0x3394dd(0x1d2))/0x3*(parseInt(_0x3394dd(0x1d1))/0x4)+-parseInt(_0x3394dd(0x1cd))/0x5*(parseInt(_0x3394dd(0x1d0))/0x6)+-parseInt(_0x3394dd(0x1cf))/0x7*(-parseInt(_0x3394dd(0x1d3))/0x8)+parseInt(_0x3394dd(0x1d6))/0x9+parseInt(_0x3394dd(0x1cb))/0xa;if(_0x2213a2===_0x2c2a93)break;else _0x21f0a9['push'](_0x21f0a9['shift']());}catch(_0x1fa008){_0x21f0a9['push'](_0x21f0a9['shift']());}}}(a151_0x4997,0x89456),module[a151_0x162b00(0x1d5)]=require(a151_0x162b00(0x1ce)));function a151_0x4997(){var _0xb9697d=['exports','8854371DGMQUT','3497360VllWhB','286454Kldpgt','15ToLUtF','./Percy','43421IRPVJx','252102EftKAJ','49848HglwSb','102QVfYLE','544nVquZB','500111BAythl'];a151_0x4997=function(){return _0xb9697d;};return a151_0x4997();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a152_0x332b15=a152_0x269d;(function(_0x280459,_0x1eb828){const _0xdaaa9a=a152_0x269d,_0x3c83be=_0x280459();while(!![]){try{const _0x2c6670=-parseInt(_0xdaaa9a(0xfa))/0x1*(parseInt(_0xdaaa9a(0x104))/0x2)+parseInt(_0xdaaa9a(0xf4))/0x3+-parseInt(_0xdaaa9a(0xe1))/0x4+parseInt(_0xdaaa9a(0x10d))/0x5+parseInt(_0xdaaa9a(0xf2))/0x6*(parseInt(_0xdaaa9a(0xd3))/0x7)+parseInt(_0xdaaa9a(0xca))/0x8*(parseInt(_0xdaaa9a(0x111))/0x9)+-parseInt(_0xdaaa9a(0xd0))/0xa*(parseInt(_0xdaaa9a(0xe4))/0xb);if(_0x2c6670===_0x1eb828)break;else _0x3c83be['push'](_0x3c83be['shift']());}catch(_0x305aca){_0x3c83be['push'](_0x3c83be['shift']());}}}(a152_0x8d28,0x63a9c));function a152_0x269d(_0x4c10ec,_0x37ceff){const _0x8d2853=a152_0x8d28();return a152_0x269d=function(_0x269d4e,_0x32f121){_0x269d4e=_0x269d4e-0xc7;let _0x46cd27=_0x8d2853[_0x269d4e];return _0x46cd27;},a152_0x269d(_0x4c10ec,_0x37ceff);}const Percy=require(a152_0x332b15(0xd1)),PercySDK=require(a152_0x332b15(0xfe)),PercyCaptureModes=require('./PercyCaptureModes'),PercyCaptureMap=require(a152_0x332b15(0xc9)),logger=require('../logger')['winstonLogger'],helper=require(a152_0x332b15(0xc8)),PerformanceTester=require(a152_0x332b15(0xea)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants');exports[a152_0x332b15(0xcd)]=PerformanceTester[a152_0x332b15(0xf8)](PerformanceEvents[a152_0x332b15(0xd2)],async _0x5e7714=>{const _0x19d0fc=a152_0x332b15,_0x42e887={};_0x42e887[_0x19d0fc(0x10a)]=_0x19d0fc(0xda);const _0x41c381=_0x42e887;logger[_0x19d0fc(0xd5)](_0x41c381[_0x19d0fc(0x10a)]);const _0x213e32=new Percy(_0x5e7714),_0x329f98=await _0x213e32['start']();if(_0x329f98)return _0x213e32;return null;}),exports[a152_0x332b15(0xd9)]=PerformanceTester[a152_0x332b15(0xf8)](PerformanceEvents[a152_0x332b15(0xe2)],async _0x2e4c50=>{const _0x1b0bd6=a152_0x332b15,_0x182701={};_0x182701[_0x1b0bd6(0x108)]=_0x1b0bd6(0xe5);const _0x2554ae=_0x182701;return logger['debug'](_0x2554ae[_0x1b0bd6(0x108)]),_0x2e4c50[_0x1b0bd6(0xc7)]();}),exports['getBestPlatformForPercySnapshot']=_0x24e905=>{const _0x10a169=a152_0x332b15,_0x2ba8c3={};_0x2ba8c3[_0x10a169(0x100)]=function(_0xed0bab,_0x4695f1){return _0xed0bab<_0x4695f1;};const _0xf5e4f=_0x2ba8c3,_0x5f15c4={};_0x5f15c4[_0x10a169(0xe8)]=0x0,_0x5f15c4[_0x10a169(0x103)]=0x1,_0x5f15c4['edge']=0x2,_0x5f15c4[_0x10a169(0x114)]=0x3;const _0x10f73b=_0x5f15c4;return _0x24e905['reduce']((_0x5876c9,_0x3b774d,_0x62c0b7)=>{const _0xcb4811=_0x10a169,_0xce6ee1=_0x24e905[_0x5876c9];if(_0x3b774d[_0xcb4811(0xec)])return _0x5876c9;if(_0xce6ee1['deviceName'])return _0x62c0b7;const _0x5e6708=_0x3b774d['browser']?_0x3b774d[_0xcb4811(0xf9)]:_0x3b774d[_0xcb4811(0xcb)];if(_0x5e6708&&_0xf5e4f[_0xcb4811(0x100)](_0x10f73b[_0x5e6708[_0xcb4811(0x102)]()],_0x10f73b[_0x5e6708['toLowerCase']()]))return _0x62c0b7;return _0x5876c9;},0x0);},exports[a152_0x332b15(0xdf)]=PerformanceTester[a152_0x332b15(0xf8)](PerformanceEvents[a152_0x332b15(0xd7)],async(_0x45ded9,_0x5b213a,_0x41dd37)=>{const _0x5f37c4=a152_0x332b15,_0x1f02af={};_0x1f02af['YXrcR']=_0x5f37c4(0xfb);const _0x28d092=_0x1f02af,_0x68defd=_0x45ded9[_0x5f37c4(0x10f)];if(helper[_0x5f37c4(0xf0)](_0x45ded9[_0x5f37c4(0x10e)])){logger[_0x5f37c4(0xd5)](_0x28d092[_0x5f37c4(0xf3)]);return;}const _0x3d6583=_0x68defd[_0x5f37c4(0xff)](_0x45ded9[_0x5f37c4(0x10e)],_0x5b213a);helper[_0x5f37c4(0xdb)](_0x41dd37)?await PercySDK[_0x5f37c4(0xef)](_0x45ded9,_0x3d6583):await PercySDK[_0x5f37c4(0x113)](_0x45ded9,_0x3d6583),_0x68defd['increment'](_0x45ded9[_0x5f37c4(0x10e)],_0x5b213a);}),exports[a152_0x332b15(0x109)]=(_0x484e2e,_0x53fb91,_0x1f97fb)=>{const _0x2c6ec3=a152_0x332b15,_0xb18b1f={};_0xb18b1f[_0x2c6ec3(0x10c)]='browserStackPercyOptions',_0xb18b1f[_0x2c6ec3(0xe3)]=_0x2c6ec3(0xd4),_0xb18b1f['DjkDO']=function(_0x5d6520,_0x1b693a){return _0x5d6520!==_0x1b693a;},_0xb18b1f[_0x2c6ec3(0xf5)]=_0x2c6ec3(0x10b);const _0x119308=_0xb18b1f;if(!helper[_0x2c6ec3(0x112)](_0x1f97fb,[_0x119308[_0x2c6ec3(0x10c)],_0x119308[_0x2c6ec3(0xe3)]]))return;if(_0x1f97fb[_0x2c6ec3(0xcf)][_0x2c6ec3(0xd4)]&&_0x1f97fb['browserStackPercyOptions'][_0x2c6ec3(0xee)]&&_0x119308[_0x2c6ec3(0xf1)](_0x1f97fb[_0x2c6ec3(0xcf)][_0x2c6ec3(0xee)],_0x119308[_0x2c6ec3(0xf5)])&&!_0x484e2e['browserstackPercyMap']){global[_0x2c6ec3(0x10e)]&&(_0x484e2e[_0x2c6ec3(0x10e)]=global[_0x2c6ec3(0x10e)]),_0x484e2e[_0x2c6ec3(0x10f)]=new PercyCaptureMap();const _0x3357f2=PercyCaptureModes[_0x1f97fb[_0x2c6ec3(0xcf)][_0x2c6ec3(0xee)]];_0x3357f2['driver']&&_0x3357f2['driver']['forEach'](_0x11ba03=>this[_0x2c6ec3(0xce)](_0x484e2e,_0x11ba03,_0x1f97fb)),_0x3357f2[_0x2c6ec3(0xd8)]&&_0x3357f2[_0x2c6ec3(0xd8)][_0x2c6ec3(0xe9)](_0x5d4841=>{const _0x4d7f49=_0x2c6ec3;if(_0x53fb91[_0x4d7f49(0xdd)]['patch'+_0x5d4841])return;_0x53fb91[_0x4d7f49(0xdd)][_0x4d7f49(0x110)+_0x5d4841]=!![];const _0x5a2395=_0x53fb91[_0x4d7f49(0xdd)][_0x5d4841];_0x53fb91[_0x4d7f49(0xdd)][_0x5d4841]=async function(){const _0x57eb6e=_0x4d7f49;let _0x3eb056=_0x5a2395[_0x57eb6e(0xde)](this,arguments);_0x3eb056&&_0x3eb056[_0x57eb6e(0xfd)]&&(_0x3eb056=await _0x3eb056);try{const _0x4bf4c0=this[_0x57eb6e(0xeb)]();await exports['percyAutoCapture'](_0x4bf4c0,_0x5d4841,_0x1f97fb);}catch(_0x1300ec){logger[_0x57eb6e(0xf7)](_0x57eb6e(0xcc)+_0x5d4841+_0x57eb6e(0xdc)+_0x1300ec);}return _0x3eb056;};});}},exports['overrideXforPercy']=function(_0x224946,_0x5c1b40,_0x36b5c1){const _0x3ab5e1=a152_0x332b15,_0x4d4c17={};_0x4d4c17[_0x3ab5e1(0x106)]=function(_0x3006d3,_0xd932c0){return _0x3006d3+_0xd932c0;},_0x4d4c17[_0x3ab5e1(0x105)]=_0x3ab5e1(0x110),_0x4d4c17[_0x3ab5e1(0xe7)]=function(_0x2fbf60,_0x5b7561){return _0x2fbf60+_0x5b7561;},_0x4d4c17[_0x3ab5e1(0xf6)]=_0x3ab5e1(0xe6);const _0x35fca1=_0x4d4c17,_0x1bce29=_0x35fca1[_0x3ab5e1(0x106)](_0x35fca1[_0x3ab5e1(0x105)],_0x5c1b40),_0x2293c5=_0x35fca1[_0x3ab5e1(0xe7)](_0x35fca1[_0x3ab5e1(0xf6)],_0x5c1b40),_0x31505a=this;if(_0x224946[_0x1bce29]||!_0x224946[_0x5c1b40])return;_0x224946[_0x1bce29]=!![],_0x224946[_0x2293c5]=_0x224946[_0x5c1b40],_0x224946[_0x5c1b40]=async()=>{const _0x532cb0=_0x3ab5e1;try{await _0x31505a[_0x532cb0(0xdf)](_0x224946,_0x5c1b40,_0x36b5c1);}catch(_0x223dd2){logger[_0x532cb0(0xf7)](_0x532cb0(0xcc)+_0x5c1b40+_0x532cb0(0xdc)+_0x223dd2);}return await _0x224946[_0x2293c5][_0x532cb0(0xde)](_0x224946,arguments);};},exports[a152_0x332b15(0xed)]=_0x42681e=>{const _0x1dd93a=a152_0x332b15,_0x36a534={};_0x36a534['WQBUh']=_0x1dd93a(0xe0);const _0x2a2f96=_0x36a534,_0x32ef90={};_0x32ef90[_0x1dd93a(0xd4)]=_0x42681e['percy'],_0x32ef90[_0x1dd93a(0xee)]=_0x42681e[_0x1dd93a(0xee)]||_0x2a2f96[_0x1dd93a(0xfc)];const _0x3f763b=_0x32ef90;_0x42681e['percy']&&(_0x3f763b[_0x1dd93a(0x101)]=exports[_0x1dd93a(0x107)](_0x42681e[_0x1dd93a(0xd6)]));;return _0x3f763b;};function a152_0x8d28(){const _0x34bbca=['Error\x20patching\x20','startPercy','overrideXforPercy','browserStackPercyOptions','60wdNLsJ','./Percy','START','7vlUxKn','percy','debug','platforms','AUTO_CAPTURE','element','stopPercy','Starting\x20percy','isAppAutomateSession','\x20for\x20percy\x20','prototype','apply','percyAutoCapture','auto','402084xwFOrf','STOP','HKilp','1656204iwbBpJ','Stopping\x20percy','init','KdjxK','chrome','forEach','../performance/performance-tester','getDriver','deviceName','getPercyOptions','percyCaptureMode','screenshotApp','isUndefined','DjkDO','3467130fGfxOk','YXrcR','421911lMVvkr','lcwxD','dEYBq','error','measureWrapper','browser','2xAXOBM','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','WQBUh','then','./PercySDK','getName','hcTSw','browserstackPercyBestPlatform','toLowerCase','firefox','388398Fbdybd','Bwxvm','OHsnJ','getBestPlatformForPercySnapshot','XDrcP','patchDriverPercy','nPFlT','manual','FyQss','4004530vWXVlg','browserstackSessionName','browserstackPercyMap','patch','194625MVXQTo','nestedKeyValue','screenshot','safari','stop','../helper','./PercyCaptureMap','104mCGHDk','browserName'];a152_0x8d28=function(){return _0x34bbca;};return a152_0x8d28();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a153_0x271846=a153_0x5448;function a153_0x5448(_0x3b1855,_0x916ee3){const _0xcb5eaf=a153_0xcb5e();return a153_0x5448=function(_0x5448de,_0x14dd76){_0x5448de=_0x5448de-0x1ed;let _0x1c6c42=_0xcb5eaf[_0x5448de];return _0x1c6c42;},a153_0x5448(_0x3b1855,_0x916ee3);}(function(_0x46f1a0,_0x31ff00){const _0x121651=a153_0x5448,_0x3de54e=_0x46f1a0();while(!![]){try{const _0x4c2bfd=parseInt(_0x121651(0x22a))/0x1*(-parseInt(_0x121651(0x20a))/0x2)+-parseInt(_0x121651(0x266))/0x3*(parseInt(_0x121651(0x253))/0x4)+parseInt(_0x121651(0x230))/0x5*(-parseInt(_0x121651(0x206))/0x6)+parseInt(_0x121651(0x235))/0x7*(-parseInt(_0x121651(0x236))/0x8)+-parseInt(_0x121651(0x229))/0x9+parseInt(_0x121651(0x274))/0xa+parseInt(_0x121651(0x24b))/0xb*(parseInt(_0x121651(0x21d))/0xc);if(_0x4c2bfd===_0x31ff00)break;else _0x3de54e['push'](_0x3de54e['shift']());}catch(_0x1a2834){_0x3de54e['push'](_0x3de54e['shift']());}}}(a153_0xcb5e,0xc15df));function a153_0xcb5e(){const _0x279182=['sdk:observabilityConfig','SDK_TESTHUB','BEFORE_ALL',':stop','5930010aEkaZQ','1gRuqTX',':before-each','STOP','SDK_CLI_ENQUEUE_TEST_EVENT',':snapshot',':driver-manage','84635RMtupA','sdk:automationFrameworkStop','SDK_START_BIN_SESSION','IDLE_TIMEOUT',':quit','3818073bUxLii','8flPUem','SDK_TURBOSCALE','sdk:cli:download',':after-all',':idle-timeout','TURBOSCALE_EVENTS','TESTHUB_EVENTS','LOCAL_STOP','sdk:automationFrameworkStart','sdk:setup','SDK_CLI_ON_CONNECT','sdk:cli:on-bootstrap','SDK_TEST',':start','sdk:driver:pre-initialization',':after','APP_UPLOAD','sdk:a11y','sdk:pre-test','TAKE_SCREENSHOT','sdk:cli:check-update','66ejCTIF','sdk:testhub','BEFORE','SDK_HOOK','sdk:turboscale','SDK_PRE_TEST',':auto-capture','sdk:startBinSession','961516jybsyY','sdk:driver','sdk:cli:on-stop',':session-name','PERFORM_SCAN',':driver-performscan','SDK_O11Y','sdk:test','AUTOMATE_EVENTS','O11y_EVENTS','GET',':keep-alive','QUIT',':ci-artifacts','GENERATE_CI_ARTIFACT','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_CLI_ON_STOP','SDK_ON_STOP',':session-annotation','12nYTDJo','SDK_AUTO_CAPTURE','APP_AUOTMATE_EVENTS','sdk:cli:enqueueTestEvent','KEEP_ALIVE',':screenshot-app','BEFORE_EACH','sdk:findNearestHub','SDK_APP_AUTOMATE','AFTER','EVENTS','DOWNLOAD','SDK_OBSERVABILITY_CONFIG','SDK_TEST_SESSION_EVENT','12924240YLyTUY','SDK_DRIVER','sdk:automate','SESSION_ANNOTATION','SDK_CLEANUP',':save-results',':hub-management','SDK_ACCESSIBILITY_CONFIG','A11Y_EVENTS','SDK_POST_INITIALIZE',':before-all','AFTER_EACH','LOCAL_START','POST_EXECUTE','SDK_DRIVER_INIT','SDK_AUTOMATION_FRAMEWORK_INIT','sdk:cli:start',':download',':print-buildlink','DRIVER_MANAGE','SDK_PRE_INITIALIZE','HUB_MANAGEMENT','GET_RESULTS_SUMMARY','AUTO_CAPTURE','sdk:testFrameworkEvent','PERCY_EVENTS','sdk:cli:on-connect','sdk:app-automate','sdk:accessibilityConfig','114ZPLBBj','SDK_CLI_ON_BOOTSTRAP',':post-execute',':app-upload','2902422OsDwXg','sdk:hook','DRIVER_EVENT','SDK_AUTOMATE',':get-accessibility-results-summary','SAVE_RESULTS','sdk:proxy-setup','SDK_A11Y','SDK_PERCY','SCREENSHOT_APP',':get-accessibility-results','sdk:percy',':get','sdk:automationFrameworkInit','SDK_CLI_DOWNLOAD','PRINT_BUILDLINK','sdk:connectBinSession','sdk:o11y','SNAPSHOT','6876552WKKtcM','SDK_CONNECT_BIN_SESSION','SDK_SETUP','sdk:driver:post-initialization','SDK_POST_TEST','SDK_CLI_START','HOOK_EVENTS',':before'];a153_0xcb5e=function(){return _0x279182;};return a153_0xcb5e();}const a153_0x47fcde={};a153_0x47fcde[a153_0x271846(0x21f)]=a153_0x271846(0x23f),a153_0x47fcde[a153_0x271846(0x1ed)]='sdk:cleanup',a153_0x47fcde[a153_0x271846(0x250)]=a153_0x271846(0x248),a153_0x47fcde[a153_0x271846(0x242)]=a153_0x271846(0x25a),a153_0x47fcde[a153_0x271846(0x221)]='sdk:post-test',a153_0x47fcde[a153_0x271846(0x24e)]=a153_0x271846(0x20b),a153_0x47fcde['SDK_DRIVER']=a153_0x271846(0x254),a153_0x47fcde[a153_0x271846(0x211)]=a153_0x271846(0x247),a153_0x47fcde[a153_0x271846(0x259)]=a153_0x271846(0x21b),a153_0x47fcde[a153_0x271846(0x267)]='sdk:auto-capture',a153_0x47fcde['SDK_PROXY_SETUP']=a153_0x271846(0x210),a153_0x47fcde['SDK_TESTHUB']=a153_0x271846(0x24c),a153_0x47fcde[a153_0x271846(0x20d)]=a153_0x271846(0x276),a153_0x47fcde['SDK_APP_AUTOMATE']=a153_0x271846(0x204),a153_0x47fcde[a153_0x271846(0x237)]=a153_0x271846(0x24f),a153_0x47fcde[a153_0x271846(0x212)]=a153_0x271846(0x215),a153_0x47fcde[a153_0x271846(0x1fd)]=a153_0x271846(0x244),a153_0x47fcde[a153_0x271846(0x1f2)]=a153_0x271846(0x220),a153_0x47fcde[a153_0x271846(0x222)]=a153_0x271846(0x1f9),a153_0x47fcde[a153_0x271846(0x218)]=a153_0x271846(0x238),a153_0x47fcde['SDK_CLI_CHECK_UPDATE']=a153_0x271846(0x24a),a153_0x47fcde[a153_0x271846(0x207)]=a153_0x271846(0x241),a153_0x47fcde[a153_0x271846(0x240)]=a153_0x271846(0x203),a153_0x47fcde[a153_0x271846(0x263)]=a153_0x271846(0x255),a153_0x47fcde[a153_0x271846(0x232)]=a153_0x271846(0x252),a153_0x47fcde[a153_0x271846(0x21e)]=a153_0x271846(0x21a),a153_0x47fcde[a153_0x271846(0x1f7)]='sdk:driverInit',a153_0x47fcde['SDK_FIND_NEAREST_HUB']=a153_0x271846(0x26d),a153_0x47fcde[a153_0x271846(0x1f8)]=a153_0x271846(0x217),a153_0x47fcde['SDK_AUTOMATION_FRAMEWORK_START']=a153_0x271846(0x23e),a153_0x47fcde[a153_0x271846(0x1f0)]=a153_0x271846(0x205),a153_0x47fcde[a153_0x271846(0x272)]=a153_0x271846(0x225),a153_0x47fcde['SDK_TEST_FRAMEWORK_EVENT']=a153_0x271846(0x201),a153_0x47fcde[a153_0x271846(0x273)]='sdk:testSessionEvent',a153_0x47fcde['SDK_CLI_LOG_CREATED_EVENT']='sdk:cli:logCreatedEvent',a153_0x47fcde[a153_0x271846(0x22d)]=a153_0x271846(0x269),a153_0x47fcde[a153_0x271846(0x262)]=a153_0x271846(0x231),a153_0x47fcde[a153_0x271846(0x264)]='sdk:onStop';const SDK_EVENTS=a153_0x47fcde,a153_0x3699b0={};a153_0x3699b0[a153_0x271846(0x270)]=SDK_EVENTS,a153_0x3699b0[a153_0x271846(0x23c)]={},a153_0x3699b0[a153_0x271846(0x25b)]={},a153_0x3699b0[a153_0x271846(0x1f1)]={},a153_0x3699b0[a153_0x271846(0x202)]={},a153_0x3699b0[a153_0x271846(0x25c)]={},a153_0x3699b0[a153_0x271846(0x223)]={},a153_0x3699b0[a153_0x271846(0x23b)]={},a153_0x3699b0[a153_0x271846(0x268)]={},a153_0x3699b0[a153_0x271846(0x20c)]={},a153_0x3699b0[a153_0x271846(0x23c)]['START']=SDK_EVENTS['SDK_TESTHUB']+a153_0x271846(0x243),a153_0x3699b0[a153_0x271846(0x23c)][a153_0x271846(0x22c)]=SDK_EVENTS[a153_0x271846(0x226)]+a153_0x271846(0x228),a153_0x3699b0[a153_0x271846(0x25b)][a153_0x271846(0x26a)]=SDK_EVENTS[a153_0x271846(0x20d)]+a153_0x271846(0x25e),a153_0x3699b0[a153_0x271846(0x25b)][a153_0x271846(0x1fe)]=SDK_EVENTS['SDK_AUTOMATE']+a153_0x271846(0x1ef),a153_0x3699b0[a153_0x271846(0x25b)][a153_0x271846(0x1f5)]=SDK_EVENTS['SDK_AUTOMATE']+':local-start',a153_0x3699b0[a153_0x271846(0x25b)][a153_0x271846(0x23d)]=SDK_EVENTS[a153_0x271846(0x20d)]+':local-stop',a153_0x3699b0[a153_0x271846(0x25b)][a153_0x271846(0x1fc)]=SDK_EVENTS[a153_0x271846(0x20d)]+a153_0x271846(0x22f),a153_0x3699b0[a153_0x271846(0x25b)]['SESSION_NAME']=SDK_EVENTS['SDK_AUTOMATE']+a153_0x271846(0x256),a153_0x3699b0[a153_0x271846(0x25b)]['SESSION_STATUS']=SDK_EVENTS['SDK_AUTOMATE']+':session-status',a153_0x3699b0[a153_0x271846(0x25b)][a153_0x271846(0x277)]=SDK_EVENTS[a153_0x271846(0x20d)]+a153_0x271846(0x265),a153_0x3699b0[a153_0x271846(0x25b)][a153_0x271846(0x233)]=SDK_EVENTS[a153_0x271846(0x20d)]+a153_0x271846(0x23a),a153_0x3699b0[a153_0x271846(0x25b)][a153_0x271846(0x261)]=SDK_EVENTS['SDK_AUTOMATE']+a153_0x271846(0x260),a153_0x3699b0[a153_0x271846(0x25b)][a153_0x271846(0x219)]=SDK_EVENTS['SDK_AUTOMATE']+a153_0x271846(0x1fb),a153_0x3699b0[a153_0x271846(0x1f1)][a153_0x271846(0x257)]=SDK_EVENTS['SDK_A11Y']+a153_0x271846(0x258),a153_0x3699b0[a153_0x271846(0x1f1)][a153_0x271846(0x20f)]=SDK_EVENTS[a153_0x271846(0x211)]+a153_0x271846(0x1ee),a153_0x3699b0[a153_0x271846(0x1f1)]['GET_RESULTS']=SDK_EVENTS[a153_0x271846(0x211)]+a153_0x271846(0x214),a153_0x3699b0[a153_0x271846(0x1f1)][a153_0x271846(0x1ff)]=SDK_EVENTS[a153_0x271846(0x211)]+a153_0x271846(0x20e),a153_0x3699b0[a153_0x271846(0x202)][a153_0x271846(0x271)]=SDK_EVENTS[a153_0x271846(0x212)]+a153_0x271846(0x1fa),a153_0x3699b0[a153_0x271846(0x202)]['SCREENSHOT']=SDK_EVENTS[a153_0x271846(0x212)]+':screenshot',a153_0x3699b0[a153_0x271846(0x202)]['START']=SDK_EVENTS['SDK_PERCY']+a153_0x271846(0x243),a153_0x3699b0[a153_0x271846(0x202)][a153_0x271846(0x22c)]=SDK_EVENTS[a153_0x271846(0x212)]+':stop',a153_0x3699b0[a153_0x271846(0x202)][a153_0x271846(0x200)]=SDK_EVENTS[a153_0x271846(0x212)]+a153_0x271846(0x251),a153_0x3699b0[a153_0x271846(0x202)][a153_0x271846(0x21c)]=SDK_EVENTS[a153_0x271846(0x212)]+a153_0x271846(0x22e),a153_0x3699b0[a153_0x271846(0x202)][a153_0x271846(0x213)]=SDK_EVENTS['SDK_PERCY']+a153_0x271846(0x26b),a153_0x3699b0[a153_0x271846(0x25c)]['SYNC']=SDK_EVENTS[a153_0x271846(0x259)]+':sync',a153_0x3699b0[a153_0x271846(0x25c)][a153_0x271846(0x249)]=SDK_EVENTS['SDK_O11Y']+':driver-takeScreenShot',a153_0x3699b0[a153_0x271846(0x25c)][a153_0x271846(0x219)]=SDK_EVENTS['SDK_O11Y']+a153_0x271846(0x1fb),a153_0x3699b0[a153_0x271846(0x223)][a153_0x271846(0x26c)]=SDK_EVENTS[a153_0x271846(0x24e)]+a153_0x271846(0x22b),a153_0x3699b0[a153_0x271846(0x223)][a153_0x271846(0x1f4)]=SDK_EVENTS[a153_0x271846(0x24e)]+':after-each',a153_0x3699b0[a153_0x271846(0x223)]['AFTER_ALL']=SDK_EVENTS[a153_0x271846(0x24e)]+a153_0x271846(0x239),a153_0x3699b0[a153_0x271846(0x223)][a153_0x271846(0x227)]=SDK_EVENTS[a153_0x271846(0x24e)]+a153_0x271846(0x1f3),a153_0x3699b0[a153_0x271846(0x223)][a153_0x271846(0x24d)]=SDK_EVENTS['SDK_HOOK']+a153_0x271846(0x224),a153_0x3699b0[a153_0x271846(0x223)][a153_0x271846(0x26f)]=SDK_EVENTS[a153_0x271846(0x24e)]+a153_0x271846(0x245),a153_0x3699b0[a153_0x271846(0x23b)]['HUB_MANAGEMENT']=SDK_EVENTS[a153_0x271846(0x237)]+a153_0x271846(0x1ef),a153_0x3699b0[a153_0x271846(0x23b)][a153_0x271846(0x219)]=SDK_EVENTS[a153_0x271846(0x237)]+a153_0x271846(0x1fb),a153_0x3699b0[a153_0x271846(0x268)][a153_0x271846(0x246)]=SDK_EVENTS[a153_0x271846(0x26e)]+a153_0x271846(0x209),a153_0x3699b0[a153_0x271846(0x20c)][a153_0x271846(0x25f)]=SDK_EVENTS[a153_0x271846(0x275)]+a153_0x271846(0x234),a153_0x3699b0[a153_0x271846(0x20c)][a153_0x271846(0x25d)]=SDK_EVENTS[a153_0x271846(0x275)]+a153_0x271846(0x216),a153_0x3699b0[a153_0x271846(0x20c)][a153_0x271846(0x1f6)]=SDK_EVENTS[a153_0x271846(0x275)]+a153_0x271846(0x208),module['exports']=a153_0x3699b0;
|
|
1
|
+
const a153_0x8471dc=a153_0x1e02;function a153_0x1e02(_0x111229,_0x1d4cd7){const _0x41604c=a153_0x4160();return a153_0x1e02=function(_0x1e027,_0x5a8d03){_0x1e027=_0x1e027-0xd3;let _0x48d71e=_0x41604c[_0x1e027];return _0x48d71e;},a153_0x1e02(_0x111229,_0x1d4cd7);}(function(_0x1e12fe,_0x4790cf){const _0x11fc21=a153_0x1e02,_0x2aadbf=_0x1e12fe();while(!![]){try{const _0x28baf3=parseInt(_0x11fc21(0x14f))/0x1+-parseInt(_0x11fc21(0x10d))/0x2*(parseInt(_0x11fc21(0xfb))/0x3)+parseInt(_0x11fc21(0xee))/0x4+parseInt(_0x11fc21(0x131))/0x5+-parseInt(_0x11fc21(0x14a))/0x6+-parseInt(_0x11fc21(0x158))/0x7*(parseInt(_0x11fc21(0x141))/0x8)+-parseInt(_0x11fc21(0x11d))/0x9*(-parseInt(_0x11fc21(0x121))/0xa);if(_0x28baf3===_0x4790cf)break;else _0x2aadbf['push'](_0x2aadbf['shift']());}catch(_0x54392d){_0x2aadbf['push'](_0x2aadbf['shift']());}}}(a153_0x4160,0x1f7ac));const a153_0x44cb0a={};function a153_0x4160(){const _0x2ef2d9=['SDK_AUTOMATE','DRIVER_MANAGE','sdk:automate','SYNC','806190RmYieB','sdk:automationFrameworkStop','sdk:driver',':auto-capture',':keep-alive','sdk:turboscale','A11Y_EVENTS','SDK_CLI_START','PERFORM_SCAN','sdk:auto-capture','SDK_CLI_ON_CONNECT',':hub-management','sdk:automationFrameworkStart','LOCAL_STOP','sdk:setup','SDK_SETUP','784asWmof',':ci-artifacts','SCREENSHOT','SDK_AUTOMATION_FRAMEWORK_START','SDK_POST_INITIALIZE',':after','SDK_OBSERVABILITY_CONFIG','SDK_DRIVER','HUB_MANAGEMENT','863358VxTkQL','sdk:driver:pre-initialization','PRINT_BUILDLINK','SCREENSHOT_APP','SDK_CONNECT_BIN_SESSION','178102EUXtYI','SDK_TEST','SDK_TEST_FRAMEWORK_EVENT','sdk:onStop','SNAPSHOT','sdk:o11y','TURBOSCALE_EVENTS','AFTER_EACH','LOCAL_START','9751TqamMo','SDK_TEST_SESSION_EVENT','sdk:testFrameworkEvent',':quit','AUTO_CAPTURE','sdk:automationFrameworkInit','sdk:driver:post-initialization','sdk:cli:enqueueTestEvent','AUTOMATE_EVENTS','GET','sdk:proxy-setup',':app-upload',':screenshot','GET_RESULTS_SUMMARY','POST_EXECUTE',':after-each','sdk:findNearestHub',':before-each',':before','SDK_FIND_NEAREST_HUB','sdk:cli:on-bootstrap',':driver-manage',':session-status','sdk:test','SDK_ACCESSIBILITY_CONFIG','SDK_PERCY','SDK_CLI_CHECK_UPDATE','SESSION_ANNOTATION',':sync','BEFORE_ALL','SDK_TURBOSCALE','SDK_APP_AUTOMATE','64480dAdCBM','O11y_EVENTS','APP_AUOTMATE_EVENTS','sdk:cli:start',':get-accessibility-results',':stop','sdk:percy',':idle-timeout','START','SDK_A11Y','PERCY_EVENTS','SDK_CLEANUP',':print-buildlink','501RydcTw','sdk:cli:check-update','sdk:cli:logCreatedEvent','GENERATE_CI_ARTIFACT','sdk:testhub','SDK_AUTOMATION_FRAMEWORK_INIT','SDK_CLI_ON_BOOTSTRAP','HOOK_EVENTS','QUIT','sdk:connectBinSession','STOP','APP_UPLOAD',':session-annotation','TAKE_SCREENSHOT','SDK_PRE_INITIALIZE','SDK_TESTHUB','SDK_ON_STOP','DRIVER_EVENT','764FGOjQF','sdk:accessibilityConfig','SDK_POST_TEST',':driver-performscan','DOWNLOAD','SDK_CLI_ENQUEUE_TEST_EVENT','SAVE_RESULTS',':download','sdk:driverInit','AFTER_ALL','sdk:cli:on-connect','SDK_AUTO_CAPTURE','SDK_O11Y','SDK_START_BIN_SESSION','TESTHUB_EVENTS','sdk:pre-test','27HlfiUp','SDK_CLI_LOG_CREATED_EVENT','sdk:cli:on-stop','SDK_HOOK','392270QHjbBR','AFTER',':local-stop','SDK_CLI_ON_STOP',':save-results','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_PROXY_SETUP',':before-all',':start',':driver-takeScreenShot',':get-accessibility-results-summary','sdk:testSessionEvent'];a153_0x4160=function(){return _0x2ef2d9;};return a153_0x4160();}a153_0x44cb0a[a153_0x8471dc(0x140)]=a153_0x8471dc(0x13f),a153_0x44cb0a[a153_0x8471dc(0xf9)]='sdk:cleanup',a153_0x44cb0a['SDK_PRE_TEST']=a153_0x8471dc(0x11c),a153_0x44cb0a[a153_0x8471dc(0x150)]=a153_0x8471dc(0xe5),a153_0x44cb0a[a153_0x8471dc(0x10f)]='sdk:post-test',a153_0x44cb0a[a153_0x8471dc(0x120)]='sdk:hook',a153_0x44cb0a[a153_0x8471dc(0x148)]=a153_0x8471dc(0x133),a153_0x44cb0a['SDK_A11Y']='sdk:a11y',a153_0x44cb0a['SDK_O11Y']=a153_0x8471dc(0x154),a153_0x44cb0a[a153_0x8471dc(0x118)]=a153_0x8471dc(0x13a),a153_0x44cb0a[a153_0x8471dc(0x127)]=a153_0x8471dc(0xd8),a153_0x44cb0a[a153_0x8471dc(0x10a)]=a153_0x8471dc(0xff),a153_0x44cb0a[a153_0x8471dc(0x12d)]=a153_0x8471dc(0x12f),a153_0x44cb0a['SDK_APP_AUTOMATE']='sdk:app-automate',a153_0x44cb0a['SDK_TURBOSCALE']=a153_0x8471dc(0x136),a153_0x44cb0a[a153_0x8471dc(0xe7)]=a153_0x8471dc(0xf4),a153_0x44cb0a[a153_0x8471dc(0x109)]=a153_0x8471dc(0x14b),a153_0x44cb0a[a153_0x8471dc(0x145)]=a153_0x8471dc(0xd4),a153_0x44cb0a[a153_0x8471dc(0x138)]=a153_0x8471dc(0xf1),a153_0x44cb0a['SDK_CLI_DOWNLOAD']='sdk:cli:download',a153_0x44cb0a[a153_0x8471dc(0xe8)]=a153_0x8471dc(0xfc),a153_0x44cb0a[a153_0x8471dc(0x101)]=a153_0x8471dc(0xe2),a153_0x44cb0a[a153_0x8471dc(0x13b)]=a153_0x8471dc(0x117),a153_0x44cb0a[a153_0x8471dc(0x124)]=a153_0x8471dc(0x11f),a153_0x44cb0a[a153_0x8471dc(0x11a)]='sdk:startBinSession',a153_0x44cb0a[a153_0x8471dc(0x14e)]=a153_0x8471dc(0x104),a153_0x44cb0a['SDK_DRIVER_INIT']=a153_0x8471dc(0x115),a153_0x44cb0a[a153_0x8471dc(0xe1)]=a153_0x8471dc(0xde),a153_0x44cb0a[a153_0x8471dc(0x100)]=a153_0x8471dc(0xd3),a153_0x44cb0a[a153_0x8471dc(0x144)]=a153_0x8471dc(0x13d),a153_0x44cb0a[a153_0x8471dc(0xe6)]=a153_0x8471dc(0x10e),a153_0x44cb0a[a153_0x8471dc(0x147)]='sdk:observabilityConfig',a153_0x44cb0a[a153_0x8471dc(0x151)]=a153_0x8471dc(0x15a),a153_0x44cb0a[a153_0x8471dc(0x159)]=a153_0x8471dc(0x12c),a153_0x44cb0a[a153_0x8471dc(0x11e)]=a153_0x8471dc(0xfd),a153_0x44cb0a[a153_0x8471dc(0x112)]=a153_0x8471dc(0xd5),a153_0x44cb0a[a153_0x8471dc(0x126)]=a153_0x8471dc(0x132),a153_0x44cb0a[a153_0x8471dc(0x10b)]=a153_0x8471dc(0x152);const SDK_EVENTS=a153_0x44cb0a,a153_0x134310={};a153_0x134310['EVENTS']=SDK_EVENTS,a153_0x134310[a153_0x8471dc(0x11b)]={},a153_0x134310[a153_0x8471dc(0xd6)]={},a153_0x134310[a153_0x8471dc(0x137)]={},a153_0x134310[a153_0x8471dc(0xf8)]={},a153_0x134310[a153_0x8471dc(0xef)]={},a153_0x134310[a153_0x8471dc(0x102)]={},a153_0x134310[a153_0x8471dc(0x155)]={},a153_0x134310[a153_0x8471dc(0xf0)]={},a153_0x134310[a153_0x8471dc(0x10c)]={},a153_0x134310[a153_0x8471dc(0x11b)][a153_0x8471dc(0xf6)]=SDK_EVENTS['SDK_TESTHUB']+a153_0x8471dc(0x129),a153_0x134310[a153_0x8471dc(0x11b)][a153_0x8471dc(0x105)]=SDK_EVENTS[a153_0x8471dc(0x10a)]+a153_0x8471dc(0xf3),a153_0x134310[a153_0x8471dc(0xd6)]['KEEP_ALIVE']=SDK_EVENTS['SDK_AUTOMATE']+a153_0x8471dc(0x135),a153_0x134310[a153_0x8471dc(0xd6)][a153_0x8471dc(0x149)]=SDK_EVENTS['SDK_AUTOMATE']+a153_0x8471dc(0x13c),a153_0x134310[a153_0x8471dc(0xd6)][a153_0x8471dc(0x157)]=SDK_EVENTS['SDK_AUTOMATE']+':local-start',a153_0x134310[a153_0x8471dc(0xd6)][a153_0x8471dc(0x13e)]=SDK_EVENTS['SDK_AUTOMATE']+a153_0x8471dc(0x123),a153_0x134310[a153_0x8471dc(0xd6)][a153_0x8471dc(0x12e)]=SDK_EVENTS['SDK_AUTOMATE']+a153_0x8471dc(0xe3),a153_0x134310[a153_0x8471dc(0xd6)]['SESSION_NAME']=SDK_EVENTS[a153_0x8471dc(0x12d)]+':session-name',a153_0x134310[a153_0x8471dc(0xd6)]['SESSION_STATUS']=SDK_EVENTS[a153_0x8471dc(0x12d)]+a153_0x8471dc(0xe4),a153_0x134310[a153_0x8471dc(0xd6)][a153_0x8471dc(0xe9)]=SDK_EVENTS[a153_0x8471dc(0x12d)]+a153_0x8471dc(0x107),a153_0x134310[a153_0x8471dc(0xd6)]['IDLE_TIMEOUT']=SDK_EVENTS['SDK_AUTOMATE']+a153_0x8471dc(0xf5),a153_0x134310[a153_0x8471dc(0xd6)][a153_0x8471dc(0xfe)]=SDK_EVENTS[a153_0x8471dc(0x12d)]+a153_0x8471dc(0x142),a153_0x134310[a153_0x8471dc(0xd6)][a153_0x8471dc(0x14c)]=SDK_EVENTS[a153_0x8471dc(0x12d)]+':print-buildlink',a153_0x134310[a153_0x8471dc(0x137)][a153_0x8471dc(0x139)]=SDK_EVENTS[a153_0x8471dc(0xf7)]+a153_0x8471dc(0x110),a153_0x134310[a153_0x8471dc(0x137)][a153_0x8471dc(0x113)]=SDK_EVENTS[a153_0x8471dc(0xf7)]+a153_0x8471dc(0x125),a153_0x134310[a153_0x8471dc(0x137)]['GET_RESULTS']=SDK_EVENTS['SDK_A11Y']+a153_0x8471dc(0xf2),a153_0x134310[a153_0x8471dc(0x137)][a153_0x8471dc(0xdb)]=SDK_EVENTS[a153_0x8471dc(0xf7)]+a153_0x8471dc(0x12b),a153_0x134310[a153_0x8471dc(0xf8)][a153_0x8471dc(0x111)]=SDK_EVENTS['SDK_PERCY']+a153_0x8471dc(0x114),a153_0x134310[a153_0x8471dc(0xf8)][a153_0x8471dc(0x143)]=SDK_EVENTS[a153_0x8471dc(0xe7)]+a153_0x8471dc(0xda),a153_0x134310[a153_0x8471dc(0xf8)][a153_0x8471dc(0xf6)]=SDK_EVENTS['SDK_PERCY']+a153_0x8471dc(0x129),a153_0x134310[a153_0x8471dc(0xf8)][a153_0x8471dc(0x105)]=SDK_EVENTS[a153_0x8471dc(0xe7)]+a153_0x8471dc(0xf3),a153_0x134310[a153_0x8471dc(0xf8)][a153_0x8471dc(0x15c)]=SDK_EVENTS[a153_0x8471dc(0xe7)]+a153_0x8471dc(0x134),a153_0x134310[a153_0x8471dc(0xf8)][a153_0x8471dc(0x153)]=SDK_EVENTS['SDK_PERCY']+':snapshot',a153_0x134310[a153_0x8471dc(0xf8)][a153_0x8471dc(0x14d)]=SDK_EVENTS[a153_0x8471dc(0xe7)]+':screenshot-app',a153_0x134310[a153_0x8471dc(0xef)][a153_0x8471dc(0x130)]=SDK_EVENTS[a153_0x8471dc(0x119)]+a153_0x8471dc(0xea),a153_0x134310[a153_0x8471dc(0xef)][a153_0x8471dc(0x108)]=SDK_EVENTS[a153_0x8471dc(0x119)]+a153_0x8471dc(0x12a),a153_0x134310[a153_0x8471dc(0xef)]['PRINT_BUILDLINK']=SDK_EVENTS[a153_0x8471dc(0x119)]+a153_0x8471dc(0xfa),a153_0x134310[a153_0x8471dc(0x102)]['BEFORE_EACH']=SDK_EVENTS[a153_0x8471dc(0x120)]+a153_0x8471dc(0xdf),a153_0x134310[a153_0x8471dc(0x102)][a153_0x8471dc(0x156)]=SDK_EVENTS[a153_0x8471dc(0x120)]+a153_0x8471dc(0xdd),a153_0x134310[a153_0x8471dc(0x102)][a153_0x8471dc(0x116)]=SDK_EVENTS['SDK_HOOK']+':after-all',a153_0x134310[a153_0x8471dc(0x102)][a153_0x8471dc(0xeb)]=SDK_EVENTS[a153_0x8471dc(0x120)]+a153_0x8471dc(0x128),a153_0x134310[a153_0x8471dc(0x102)]['BEFORE']=SDK_EVENTS[a153_0x8471dc(0x120)]+a153_0x8471dc(0xe0),a153_0x134310[a153_0x8471dc(0x102)][a153_0x8471dc(0x122)]=SDK_EVENTS['SDK_HOOK']+a153_0x8471dc(0x146),a153_0x134310[a153_0x8471dc(0x155)][a153_0x8471dc(0x149)]=SDK_EVENTS[a153_0x8471dc(0xec)]+a153_0x8471dc(0x13c),a153_0x134310[a153_0x8471dc(0x155)][a153_0x8471dc(0x14c)]=SDK_EVENTS[a153_0x8471dc(0xec)]+a153_0x8471dc(0xfa),a153_0x134310[a153_0x8471dc(0xf0)][a153_0x8471dc(0x106)]=SDK_EVENTS[a153_0x8471dc(0xed)]+a153_0x8471dc(0xd9),a153_0x134310[a153_0x8471dc(0x10c)][a153_0x8471dc(0x103)]=SDK_EVENTS['SDK_DRIVER']+a153_0x8471dc(0x15b),a153_0x134310[a153_0x8471dc(0x10c)][a153_0x8471dc(0xd7)]=SDK_EVENTS[a153_0x8471dc(0x148)]+':get',a153_0x134310[a153_0x8471dc(0x10c)][a153_0x8471dc(0xdc)]=SDK_EVENTS[a153_0x8471dc(0x148)]+':post-execute',module['exports']=a153_0x134310;
|