browserstack-node-sdk 1.55.7 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +64 -0
- package/generated/sdk-messages_pb.js +512 -0
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +33 -0
- package/package.json +2 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/helpers/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121_0x1c500e=a121_0x1588;(function(_0x50e8e1,_0x2c7791){const _0x2f9ce8=a121_0x1588,_0x47a003=_0x50e8e1();while(!![]){try{const _0x535699=-parseInt(_0x2f9ce8(0x1a1))/0x1+parseInt(_0x2f9ce8(0x1c7))/0x2+parseInt(_0x2f9ce8(0x1a6))/0x3*(parseInt(_0x2f9ce8(0x198))/0x4)+-parseInt(_0x2f9ce8(0x19e))/0x5*(parseInt(_0x2f9ce8(0x19d))/0x6)+parseInt(_0x2f9ce8(0x1b4))/0x7*(-parseInt(_0x2f9ce8(0x1d3))/0x8)+parseInt(_0x2f9ce8(0x1b6))/0x9+parseInt(_0x2f9ce8(0x1c5))/0xa;if(_0x535699===_0x2c7791)break;else _0x47a003['push'](_0x47a003['shift']());}catch(_0x293129){_0x47a003['push'](_0x47a003['shift']());}}}(a121_0x2f61,0x64980));const winston=require(a121_0x1c500e(0x1a4)),path=require(a121_0x1c500e(0x1d2)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a121_0x1c500e(0x1c9)),tempLogDir=a121_0x1c500e(0x1b7);let redactRegex=null,lastConfigHash='';const logFormat=winston[a121_0x1c500e(0x1c4)](_0x356d2c=>{const _0x17a9b1=a121_0x1c500e,_0x20f455={};_0x20f455['wZRsn']=function(_0xe6f62d,_0x252454){return _0xe6f62d!==_0x252454;},_0x20f455[_0x17a9b1(0x1d5)]=_0x17a9b1(0x1a5),_0x20f455[_0x17a9b1(0x1da)]=function(_0x44fe0b,_0x513c3e){return _0x44fe0b+_0x513c3e;},_0x20f455[_0x17a9b1(0x1bf)]=function(_0x336675,_0x38c13c){return _0x336675+_0x38c13c;},_0x20f455['ZCplE']=function(_0xce2309,_0x276dca){return _0xce2309>_0x276dca;},_0x20f455[_0x17a9b1(0x196)]=_0x17a9b1(0x197);const _0x4bea10=_0x20f455;_0x4bea10[_0x17a9b1(0x1df)](typeof _0x356d2c['message'],_0x4bea10[_0x17a9b1(0x1d5)])&&(_0x356d2c[_0x17a9b1(0x1bd)]=JSON[_0x17a9b1(0x1cf)](_0x356d2c[_0x17a9b1(0x1bd)]));const _0x5e03fa=global['config']&&global[_0x17a9b1(0x1ac)][_0x17a9b1(0x1d7)]||'',_0x2f23e4=global[_0x17a9b1(0x1ac)]&&global[_0x17a9b1(0x1ac)]['accessKey']||'',_0x1b5dd8=_0x4bea10['gAwfG'](_0x4bea10[_0x17a9b1(0x1bf)](_0x5e03fa,'|'),_0x2f23e4);if(_0x4bea10[_0x17a9b1(0x1df)](_0x1b5dd8,lastConfigHash)){lastConfigHash=_0x1b5dd8;const _0x2d8e2b=[_0x5e03fa,_0x2f23e4][_0x17a9b1(0x1aa)](Boolean);if(_0x4bea10[_0x17a9b1(0x1ca)](_0x2d8e2b[_0x17a9b1(0x1e1)],0x0)){const _0x5d4970=_0x2d8e2b[_0x17a9b1(0x1db)](_0x156c7d=>_0x156c7d[_0x17a9b1(0x19a)](/[.*+?^${}()|[\]\\]/g,_0x17a9b1(0x1b8)))[_0x17a9b1(0x199)]('|');redactRegex=new RegExp(_0x5d4970,'g');}else redactRegex=null;}return redactRegex&&(_0x356d2c[_0x17a9b1(0x1bd)]=_0x356d2c[_0x17a9b1(0x1bd)][_0x17a9b1(0x19a)](redactRegex,_0x4bea10['FPXkC'])),_0x356d2c;}),fetchLogDir=()=>{const _0x14178d=a121_0x1c500e;if(process[_0x14178d(0x1dd)][_0x14178d(0x1a0)])return process['env']['BROWSERSTACK_INTERNAL_LOG_DIR'];else!fs[_0x14178d(0x193)](tempLogDir)&&fs[_0x14178d(0x1c3)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x167410=a121_0x1c500e,_0x39249b={};_0x39249b[_0x167410(0x1d1)]=_0x167410(0x1e7);const _0x113620=_0x39249b,_0x123da2=process['env']['BROWSERSTACK_LOG_LEVEL'],_0x46c6c5=Object[_0x167410(0x1ae)](winston[_0x167410(0x1ac)][_0x167410(0x1a2)]['levels']);if(_0x123da2&&_0x46c6c5[_0x167410(0x1d0)](_0x123da2['toLowerCase']()))return _0x123da2[_0x167410(0x1b3)]();return _0x113620[_0x167410(0x1d1)];},initialLogLevel=getInitialLogLevel(),a121_0x1b3aab={};a121_0x1b3aab[a121_0x1c500e(0x1ab)]=a121_0x1c500e(0x1be),a121_0x1b3aab[a121_0x1c500e(0x1e2)]=initialLogLevel;const transports={'loggerConsole':new winston[(a121_0x1c500e(0x1e4))]['Console'](a121_0x1b3aab),'loggerFile':new winston[(a121_0x1c500e(0x1e4))][(a121_0x1c500e(0x195))]({'filename':path[a121_0x1c500e(0x199)](logDir,a121_0x1c500e(0x1af)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a121_0x1c500e(0x1e4))][(a121_0x1c500e(0x195))]({'filename':path[a121_0x1c500e(0x199)](logDir,a121_0x1c500e(0x1c8)),'level':a121_0x1c500e(0x19b)}),'debugCliLoggerFile':new winston[(a121_0x1c500e(0x1e4))][(a121_0x1c500e(0x195))]({'filename':path[a121_0x1c500e(0x199)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':'silly'}),'buildLinkTransport':new winston[(a121_0x1c500e(0x1e4))][(a121_0x1c500e(0x195))]({'filename':path[a121_0x1c500e(0x199)](logDir,a121_0x1c500e(0x1af)),'level':a121_0x1c500e(0x19b)})},automationTransports={};process[a121_0x1c500e(0x1dd)]['BROWSERSTACK_AUTOMATION_LOGS']==='true'&&(automationTransports[a121_0x1c500e(0x1cc)]=new winston[(a121_0x1c500e(0x1e4))][(a121_0x1c500e(0x195))]({'filename':path[a121_0x1c500e(0x199)](logDir,a121_0x1c500e(0x1dc)),'level':'silly'}));transports[a121_0x1c500e(0x1b0)]['on'](a121_0x1c500e(0x1a8),_0x4bf808=>{const _0x3feb55=a121_0x1c500e,_0x376103={};_0x376103['Hpjpl']=function(_0x319621,_0x5d0071){return _0x319621===_0x5d0071;},_0x376103[_0x3feb55(0x1de)]=_0x3feb55(0x19c),_0x376103[_0x3feb55(0x1bc)]=_0x3feb55(0x1e5);const _0x2066e7=_0x376103;if(_0x2066e7[_0x3feb55(0x1e8)](_0x4bf808[_0x3feb55(0x1cd)],_0x2066e7[_0x3feb55(0x1de)])){console[_0x3feb55(0x1b7)](_0x2066e7[_0x3feb55(0x1bc)],_0x4bf808[_0x3feb55(0x1bd)]);return;}throw _0x4bf808;});const a121_0x2a0e10={};a121_0x2a0e10[a121_0x1c500e(0x1c4)]=a121_0x1c500e(0x1a9);const a121_0x49153a={};a121_0x49153a['level']=!![];const winstonLoggerParams={'format':winston[a121_0x1c500e(0x1c4)][a121_0x1c500e(0x1c6)](winston['format']['timestamp'](a121_0x2a0e10),winston[a121_0x1c500e(0x1c4)]['colorize'](a121_0x49153a),winston[a121_0x1c500e(0x1c4)][a121_0x1c500e(0x1ad)](_0x2214dd=>_0x2214dd[a121_0x1c500e(0x1d9)]+'\x20-\x20'+_0x2214dd[a121_0x1c500e(0x1e2)]+':\x20'+_0x2214dd['message'])),'transports':[transports[a121_0x1c500e(0x1b0)]]},a121_0x18efb5={};a121_0x18efb5[a121_0x1c500e(0x1c4)]=a121_0x1c500e(0x1a9);const a121_0x39f3ec={};a121_0x39f3ec[a121_0x1c500e(0x1e2)]=!![];const winstonFileLoggerParams={'format':winston['format'][a121_0x1c500e(0x1c6)](winston[a121_0x1c500e(0x1c4)][a121_0x1c500e(0x1d9)](a121_0x18efb5),winston['format'][a121_0x1c500e(0x1c0)](a121_0x39f3ec),winston[a121_0x1c500e(0x1c4)][a121_0x1c500e(0x1ad)](_0x2b9fea=>_0x2b9fea[a121_0x1c500e(0x1e2)]+':\x20'+_0x2b9fea[a121_0x1c500e(0x1bd)])),'transports':[]},a121_0x35a4d4={};a121_0x35a4d4['format']=a121_0x1c500e(0x1a9);const a121_0x5c06b7={};a121_0x5c06b7[a121_0x1c500e(0x1e2)]=!![];const a121_0x535294={};function a121_0x2f61(){const _0x470ce6=['userName','add','timestamp','gAwfG','map','automation.log','env','sjZTP','wZRsn','remove','length','level','createLogger','transports','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','initialize','info','Hpjpl','existsSync','iykCg','File','FPXkC','[REDACTED]','2409164cOuJZL','join','replace','silly','EPIPE','2820PkNffV','2885siSvmQ','debugCliLoggerFile','BROWSERSTACK_INTERNAL_LOG_DIR','414937eWhsbw','npm','debugLoggerFile','winston','string','3dIHwsW','getLogDir','error','YYYY-MM-DD\x20HH:mm:ss','filter','name','config','printf','keys','/usage.log','loggerConsole','\x20-\x20','automationLogger','toLowerCase','2702XsdRIv','fileLogger','5088582QEMIEN','log','\x5c$&','http','loggerFile','logDir','cmnHN','message','console.info','iGXTV','colorize','true','BROWSERSTACK_AUTOMATION_LOGS','mkdirSync','format','4407200YnGjsT','combine','157572KBDiRx','/usage-debug.log','../bin/utils/constants','ZCplE','winstonLogger','automationLoggerFile','code','buildLinkTransport','stringify','includes','OcXiO','path','12208OJrNxB','debug','zkByc','buildLogger'];a121_0x2f61=function(){return _0x470ce6;};return a121_0x2f61();}a121_0x535294[a121_0x1c500e(0x1e2)]=a121_0x1c500e(0x19b);function a121_0x1588(_0x125b91,_0x1d5ec6){const _0x2f6105=a121_0x2f61();return a121_0x1588=function(_0x15883b,_0x27158d){_0x15883b=_0x15883b-0x193;let _0x14d1c0=_0x2f6105[_0x15883b];return _0x14d1c0;},a121_0x1588(_0x125b91,_0x1d5ec6);}const BuildLoggerParams={'format':winston['format'][a121_0x1c500e(0x1c6)](winston[a121_0x1c500e(0x1c4)][a121_0x1c500e(0x1d9)](a121_0x35a4d4),winston[a121_0x1c500e(0x1c4)][a121_0x1c500e(0x1c0)](a121_0x5c06b7),winston['format'][a121_0x1c500e(0x1ad)](_0x3762a7=>_0x3762a7['timestamp']+a121_0x1c500e(0x1b1)+_0x3762a7['level']+':\x20'+_0x3762a7[a121_0x1c500e(0x1bd)])),'transports':[transports[a121_0x1c500e(0x1ce)],new winston['transports']['Console'](a121_0x535294)]},a121_0x106a57={};a121_0x106a57[a121_0x1c500e(0x1b9)]=()=>{},a121_0x106a57[a121_0x1c500e(0x1e7)]=()=>{},a121_0x106a57['warn']=()=>{},a121_0x106a57[a121_0x1c500e(0x1a8)]=()=>{},a121_0x106a57[a121_0x1c500e(0x1d4)]=()=>{},a121_0x106a57[a121_0x1c500e(0x19b)]=()=>{},exports[a121_0x1c500e(0x1b2)]=process[a121_0x1c500e(0x1dd)][a121_0x1c500e(0x1c2)]===a121_0x1c500e(0x1c1)?winston[a121_0x1c500e(0x1e3)]({'format':winston[a121_0x1c500e(0x1c4)][a121_0x1c500e(0x1c6)](winston[a121_0x1c500e(0x1c4)]['uncolorize'](),winston['format'][a121_0x1c500e(0x1d9)](),logFormat(),winston['format'][a121_0x1c500e(0x1ad)](_0x46060b=>_0x46060b['level']+':\x20'+_0x46060b[a121_0x1c500e(0x1bd)])),'transports':[automationTransports['automationLoggerFile']]}):a121_0x106a57;const initialize=()=>{const _0x4547db=a121_0x1c500e,_0x17934b={};_0x17934b['iykCg']=_0x4547db(0x19b);const _0x56fed8=_0x17934b,_0x5365e3=transports[_0x4547db(0x1b0)][_0x4547db(0x1e2)]||initialLogLevel;transports[_0x4547db(0x1ba)]&&(exports[_0x4547db(0x1cb)][_0x4547db(0x1e0)](transports[_0x4547db(0x1ba)]),exports[_0x4547db(0x1b5)][_0x4547db(0x1e0)](transports[_0x4547db(0x1ba)])),transports['debugLoggerFile']&&(exports[_0x4547db(0x1cb)][_0x4547db(0x1e0)](transports[_0x4547db(0x1a3)]),exports[_0x4547db(0x1b5)][_0x4547db(0x1e0)](transports['debugLoggerFile'])),transports['loggerFile']=new winston[(_0x4547db(0x1e4))][(_0x4547db(0x195))]({'filename':path['join'](exports[_0x4547db(0x1bb)],LOG_FILE_NAME),'level':_0x5365e3}),transports['debugLoggerFile']=new winston[(_0x4547db(0x1e4))][(_0x4547db(0x195))]({'filename':path[_0x4547db(0x199)](exports[_0x4547db(0x1bb)],DEBUG_LOG_FILE_NAME),'level':_0x56fed8[_0x4547db(0x194)]}),transports[_0x4547db(0x19f)]=new winston['transports'][(_0x4547db(0x195))]({'filename':path[_0x4547db(0x199)](exports[_0x4547db(0x1bb)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x56fed8[_0x4547db(0x194)]}),exports['winstonLogger'][_0x4547db(0x1d8)](transports['loggerFile']),exports[_0x4547db(0x1cb)][_0x4547db(0x1d8)](transports[_0x4547db(0x1a3)]),exports[_0x4547db(0x1b5)]['add'](transports[_0x4547db(0x1ba)]),exports[_0x4547db(0x1b5)]['add'](transports[_0x4547db(0x1a3)]);};exports[a121_0x1c500e(0x1cb)]=new winston[(a121_0x1c500e(0x1e3))](winstonLoggerParams),exports['fileLogger']=new winston['createLogger'](winstonFileLoggerParams),exports[a121_0x1c500e(0x1d6)]=new winston['createLogger'](BuildLoggerParams),exports[a121_0x1c500e(0x1bb)]=logDir,exports[a121_0x1c500e(0x1a7)]=()=>{const _0x1a6b69=a121_0x1c500e;return exports[_0x1a6b69(0x1bb)];},exports[a121_0x1c500e(0x1e4)]=transports,exports[a121_0x1c500e(0x1e6)]=initialize;logDir&&initialize();
|
|
1
|
+
const a121_0x386ecb=a121_0x2b67;(function(_0x80430e,_0x3bff0c){const _0x3f0c7d=a121_0x2b67,_0x244f9f=_0x80430e();while(!![]){try{const _0x48abce=-parseInt(_0x3f0c7d(0xa6))/0x1+-parseInt(_0x3f0c7d(0xb2))/0x2+parseInt(_0x3f0c7d(0x9b))/0x3*(-parseInt(_0x3f0c7d(0xaa))/0x4)+parseInt(_0x3f0c7d(0x85))/0x5*(parseInt(_0x3f0c7d(0xab))/0x6)+parseInt(_0x3f0c7d(0xbb))/0x7+parseInt(_0x3f0c7d(0x77))/0x8+-parseInt(_0x3f0c7d(0x8a))/0x9*(-parseInt(_0x3f0c7d(0x96))/0xa);if(_0x48abce===_0x3bff0c)break;else _0x244f9f['push'](_0x244f9f['shift']());}catch(_0x487018){_0x244f9f['push'](_0x244f9f['shift']());}}}(a121_0x270b,0xabdec));const winston=require(a121_0x386ecb(0x82)),path=require(a121_0x386ecb(0x6e)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a121_0x386ecb(0x89)),tempLogDir=a121_0x386ecb(0xb1);let redactRegex=null,lastConfigHash='';const logFormat=winston[a121_0x386ecb(0x72)](_0x19bd0b=>{const _0x119d46=a121_0x386ecb,_0x1625af={};_0x1625af[_0x119d46(0x8b)]=function(_0x575fe0,_0x4ae138){return _0x575fe0!==_0x4ae138;},_0x1625af[_0x119d46(0x98)]=_0x119d46(0x91),_0x1625af['WDkgj']=function(_0x1c3214,_0x5f3d38){return _0x1c3214+_0x5f3d38;},_0x1625af[_0x119d46(0xac)]=function(_0x524e5a,_0x2a273d){return _0x524e5a>_0x2a273d;},_0x1625af[_0x119d46(0x9d)]=_0x119d46(0x86);const _0x53c55a=_0x1625af;_0x53c55a['Hsydw'](typeof _0x19bd0b[_0x119d46(0x6c)],_0x53c55a[_0x119d46(0x98)])&&(_0x19bd0b['message']=JSON['stringify'](_0x19bd0b[_0x119d46(0x6c)]));const _0x130506=global[_0x119d46(0xb7)]&&global[_0x119d46(0xb7)][_0x119d46(0x7b)]||'',_0x55ec51=global[_0x119d46(0xb7)]&&global[_0x119d46(0xb7)][_0x119d46(0x81)]||'',_0x572653=_0x53c55a[_0x119d46(0xa4)](_0x53c55a[_0x119d46(0xa4)](_0x130506,'|'),_0x55ec51);if(_0x53c55a['Hsydw'](_0x572653,lastConfigHash)){lastConfigHash=_0x572653;const _0x3a8669=[_0x130506,_0x55ec51][_0x119d46(0x80)](Boolean);if(_0x53c55a[_0x119d46(0xac)](_0x3a8669[_0x119d46(0xa5)],0x0)){const _0x3df5a2=_0x3a8669[_0x119d46(0x75)](_0x30939e=>_0x30939e[_0x119d46(0xb4)](/[.*+?^${}()|[\]\\]/g,_0x119d46(0x71)))['join']('|');redactRegex=new RegExp(_0x3df5a2,'g');}else redactRegex=null;}return redactRegex&&(_0x19bd0b['message']=_0x19bd0b[_0x119d46(0x6c)][_0x119d46(0xb4)](redactRegex,_0x53c55a['OkcVP'])),_0x19bd0b;}),fetchLogDir=()=>{const _0x1f805d=a121_0x386ecb;if(process[_0x1f805d(0xa0)][_0x1f805d(0x9a)])return process[_0x1f805d(0xa0)][_0x1f805d(0x9a)];else!fs[_0x1f805d(0x92)](tempLogDir)&&fs[_0x1f805d(0x76)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x5c5b0f=a121_0x386ecb,_0x3a9c27={};_0x3a9c27['OZYLi']=_0x5c5b0f(0xb9);const _0x1894fc=_0x3a9c27,_0x4a6cb6=process[_0x5c5b0f(0xa0)][_0x5c5b0f(0xbe)],_0x3553f9=Object[_0x5c5b0f(0xb3)](winston['config']['npm']['levels']);if(_0x4a6cb6&&_0x3553f9[_0x5c5b0f(0x78)](_0x4a6cb6[_0x5c5b0f(0x84)]()))return _0x4a6cb6[_0x5c5b0f(0x84)]();return _0x1894fc[_0x5c5b0f(0x6d)];},initialLogLevel=getInitialLogLevel(),a121_0x4ad8ee={};a121_0x4ad8ee[a121_0x386ecb(0xae)]=a121_0x386ecb(0x9c),a121_0x4ad8ee[a121_0x386ecb(0xad)]=initialLogLevel;const transports={'loggerConsole':new winston['transports'][(a121_0x386ecb(0x94))](a121_0x4ad8ee),'loggerFile':new winston['transports'][(a121_0x386ecb(0x87))]({'filename':path[a121_0x386ecb(0xb6)](logDir,'/usage.log'),'level':initialLogLevel}),'debugLoggerFile':new winston[(a121_0x386ecb(0x8e))][(a121_0x386ecb(0x87))]({'filename':path[a121_0x386ecb(0xb6)](logDir,'/usage-debug.log'),'level':a121_0x386ecb(0x74)}),'debugCliLoggerFile':new winston[(a121_0x386ecb(0x8e))][(a121_0x386ecb(0x87))]({'filename':path['join'](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':a121_0x386ecb(0x74)}),'buildLinkTransport':new winston[(a121_0x386ecb(0x8e))]['File']({'filename':path['join'](logDir,a121_0x386ecb(0x7d)),'level':a121_0x386ecb(0x74)})},automationTransports={};process[a121_0x386ecb(0xa0)][a121_0x386ecb(0xa2)]===a121_0x386ecb(0x73)&&(automationTransports[a121_0x386ecb(0x79)]=new winston[(a121_0x386ecb(0x8e))][(a121_0x386ecb(0x87))]({'filename':path[a121_0x386ecb(0xb6)](logDir,'automation.log'),'level':'silly'}));transports[a121_0x386ecb(0xbc)]['on'](a121_0x386ecb(0x93),_0x1e38a2=>{const _0xeb586e=a121_0x386ecb,_0xe2fa1a={};_0xe2fa1a[_0xeb586e(0x8f)]=function(_0x527d0a,_0x312195){return _0x527d0a===_0x312195;},_0xe2fa1a[_0xeb586e(0x88)]=_0xeb586e(0xb0),_0xe2fa1a['RyStr']=_0xeb586e(0xbf);const _0x202830=_0xe2fa1a;if(_0x202830[_0xeb586e(0x8f)](_0x1e38a2[_0xeb586e(0x90)],_0x202830['VKRFS'])){console[_0xeb586e(0xb1)](_0x202830[_0xeb586e(0x8d)],_0x1e38a2[_0xeb586e(0x6c)]);return;}throw _0x1e38a2;});const a121_0x20fe4c={};a121_0x20fe4c[a121_0x386ecb(0x72)]='YYYY-MM-DD\x20HH:mm:ss';const a121_0x5d2f4d={};function a121_0x2b67(_0x46c207,_0x40f524){const _0x270bb8=a121_0x270b();return a121_0x2b67=function(_0x2b67c1,_0x9fa57){_0x2b67c1=_0x2b67c1-0x6c;let _0x4f5dc1=_0x270bb8[_0x2b67c1];return _0x4f5dc1;},a121_0x2b67(_0x46c207,_0x40f524);}a121_0x5d2f4d[a121_0x386ecb(0xad)]=!![];const winstonLoggerParams={'format':winston[a121_0x386ecb(0x72)]['combine'](winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x7e)](a121_0x20fe4c),winston[a121_0x386ecb(0x72)][a121_0x386ecb(0xa3)](a121_0x5d2f4d),winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x6f)](_0x5744cb=>_0x5744cb[a121_0x386ecb(0x7e)]+a121_0x386ecb(0x9f)+_0x5744cb['level']+':\x20'+_0x5744cb[a121_0x386ecb(0x6c)])),'transports':[transports[a121_0x386ecb(0xbc)]]},a121_0x1ab2c8={};a121_0x1ab2c8[a121_0x386ecb(0x72)]='YYYY-MM-DD\x20HH:mm:ss';const a121_0x27eb41={};a121_0x27eb41[a121_0x386ecb(0xad)]=!![];const winstonFileLoggerParams={'format':winston['format'][a121_0x386ecb(0x7f)](winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x7e)](a121_0x1ab2c8),winston[a121_0x386ecb(0x72)][a121_0x386ecb(0xa3)](a121_0x27eb41),winston[a121_0x386ecb(0x72)]['printf'](_0x2141a7=>_0x2141a7[a121_0x386ecb(0xad)]+':\x20'+_0x2141a7[a121_0x386ecb(0x6c)])),'transports':[]},a121_0x3e4e64={};a121_0x3e4e64[a121_0x386ecb(0x72)]=a121_0x386ecb(0xa7);const a121_0x2a8b9e={};a121_0x2a8b9e[a121_0x386ecb(0xad)]=!![];const a121_0x299180={};a121_0x299180[a121_0x386ecb(0xad)]=a121_0x386ecb(0x74);const BuildLoggerParams={'format':winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x7f)](winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x7e)](a121_0x3e4e64),winston[a121_0x386ecb(0x72)][a121_0x386ecb(0xa3)](a121_0x2a8b9e),winston[a121_0x386ecb(0x72)]['printf'](_0x37f301=>_0x37f301[a121_0x386ecb(0x7e)]+'\x20-\x20'+_0x37f301[a121_0x386ecb(0xad)]+':\x20'+_0x37f301[a121_0x386ecb(0x6c)])),'transports':[transports[a121_0x386ecb(0xb8)],new winston['transports']['Console'](a121_0x299180)]},a121_0x56b909={};a121_0x56b909[a121_0x386ecb(0xba)]=()=>{},a121_0x56b909[a121_0x386ecb(0xb9)]=()=>{},a121_0x56b909[a121_0x386ecb(0xa1)]=()=>{},a121_0x56b909[a121_0x386ecb(0x93)]=()=>{},a121_0x56b909[a121_0x386ecb(0xaf)]=()=>{},a121_0x56b909[a121_0x386ecb(0x74)]=()=>{},exports[a121_0x386ecb(0xa8)]=process[a121_0x386ecb(0xa0)]['BROWSERSTACK_AUTOMATION_LOGS']===a121_0x386ecb(0x73)?winston['createLogger']({'format':winston['format']['combine'](winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x95)](),winston[a121_0x386ecb(0x72)]['timestamp'](),logFormat(),winston[a121_0x386ecb(0x72)][a121_0x386ecb(0x6f)](_0x198a9f=>_0x198a9f['level']+':\x20'+_0x198a9f['message'])),'transports':[automationTransports[a121_0x386ecb(0x79)]]}):a121_0x56b909;const initialize=()=>{const _0x53f215=a121_0x386ecb,_0x3d1b4f={};_0x3d1b4f['QLuTp']=_0x53f215(0x74);const _0x4f0c6b=_0x3d1b4f,_0x4dc399=transports[_0x53f215(0xbc)][_0x53f215(0xad)]||initialLogLevel;transports[_0x53f215(0x7a)]&&(exports['winstonLogger']['remove'](transports['loggerFile']),exports[_0x53f215(0x97)][_0x53f215(0x99)](transports[_0x53f215(0x7a)])),transports[_0x53f215(0xa9)]&&(exports[_0x53f215(0x8c)]['remove'](transports[_0x53f215(0xa9)]),exports[_0x53f215(0x97)]['remove'](transports[_0x53f215(0xa9)])),transports[_0x53f215(0x7a)]=new winston[(_0x53f215(0x8e))][(_0x53f215(0x87))]({'filename':path['join'](exports[_0x53f215(0xbd)],LOG_FILE_NAME),'level':_0x4dc399}),transports['debugLoggerFile']=new winston[(_0x53f215(0x8e))][(_0x53f215(0x87))]({'filename':path[_0x53f215(0xb6)](exports[_0x53f215(0xbd)],DEBUG_LOG_FILE_NAME),'level':_0x4f0c6b[_0x53f215(0x83)]}),transports['debugCliLoggerFile']=new winston[(_0x53f215(0x8e))][(_0x53f215(0x87))]({'filename':path[_0x53f215(0xb6)](exports[_0x53f215(0xbd)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x4f0c6b[_0x53f215(0x83)]}),exports[_0x53f215(0x8c)][_0x53f215(0xc0)](transports['loggerFile']),exports['winstonLogger'][_0x53f215(0xc0)](transports['debugLoggerFile']),exports[_0x53f215(0x97)][_0x53f215(0xc0)](transports[_0x53f215(0x7a)]),exports[_0x53f215(0x97)][_0x53f215(0xc0)](transports[_0x53f215(0xa9)]);};exports[a121_0x386ecb(0x8c)]=new winston[(a121_0x386ecb(0x70))](winstonLoggerParams),exports[a121_0x386ecb(0x97)]=new winston[(a121_0x386ecb(0x70))](winstonFileLoggerParams),exports[a121_0x386ecb(0x9e)]=new winston['createLogger'](BuildLoggerParams),exports[a121_0x386ecb(0xbd)]=logDir,exports[a121_0x386ecb(0x7c)]=()=>{const _0x5ee5bf=a121_0x386ecb;return exports[_0x5ee5bf(0xbd)];},exports['transports']=transports,exports[a121_0x386ecb(0xb5)]=initialize;function a121_0x270b(){const _0xebc2d4=['EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','add','message','OZYLi','path','printf','createLogger','\x5c$&','format','true','silly','map','mkdirSync','5432360FRzTll','includes','automationLoggerFile','loggerFile','userName','getLogDir','/usage.log','timestamp','combine','filter','accessKey','winston','QLuTp','toLowerCase','10CixFTU','[REDACTED]','File','VKRFS','../bin/utils/constants','243dMFocg','Hsydw','winstonLogger','RyStr','transports','Bowcc','code','string','existsSync','error','Console','uncolorize','676340JCqWIi','fileLogger','UHFSk','remove','BROWSERSTACK_INTERNAL_LOG_DIR','12KfHZdC','console.info','OkcVP','buildLogger','\x20-\x20','env','warn','BROWSERSTACK_AUTOMATION_LOGS','colorize','WDkgj','length','247283HVzAbN','YYYY-MM-DD\x20HH:mm:ss','automationLogger','debugLoggerFile','1366372lKlgZI','2210298OIQNOA','hZFCv','level','name','debug','EPIPE','log','2070720qzFndk','keys','replace','initialize','join','config','buildLinkTransport','info','http','777462lPzRpk','loggerConsole','logDir','BROWSERSTACK_LOG_LEVEL'];a121_0x270b=function(){return _0xebc2d4;};return a121_0x270b();}logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a122_0x2d7e(_0x510055,_0x3d4549){const _0x1a2fa4=a122_0x1a2f();return a122_0x2d7e=function(_0x2d7e1a,_0x3f4101){_0x2d7e1a=_0x2d7e1a-0x133;let _0x45ebbc=_0x1a2fa4[_0x2d7e1a];return _0x45ebbc;},a122_0x2d7e(_0x510055,_0x3d4549);}const a122_0x486506=a122_0x2d7e;(function(_0x322261,_0x2f9cb7){const _0x4969e6=a122_0x2d7e,_0x594250=_0x322261();while(!![]){try{const _0x1e904f=parseInt(_0x4969e6(0x140))/0x1+parseInt(_0x4969e6(0x143))/0x2*(parseInt(_0x4969e6(0x14a))/0x3)+parseInt(_0x4969e6(0x152))/0x4*(parseInt(_0x4969e6(0x134))/0x5)+parseInt(_0x4969e6(0x146))/0x6*(parseInt(_0x4969e6(0x13e))/0x7)+-parseInt(_0x4969e6(0x14f))/0x8+-parseInt(_0x4969e6(0x138))/0x9*(-parseInt(_0x4969e6(0x151))/0xa)+-parseInt(_0x4969e6(0x149))/0xb;if(_0x1e904f===_0x2f9cb7)break;else _0x594250['push'](_0x594250['shift']());}catch(_0x3f14a6){_0x594250['push'](_0x594250['shift']());}}}(a122_0x1a2f,0x34cc4));const globals=require('./globals'),helper=require(a122_0x486506(0x135)),logger=require('./logger')[a122_0x486506(0x14b)];module[a122_0x486506(0x144)]=class TestMetadata{static[a122_0x486506(0x136)](_0x5c4f1a={}){const _0x3919e7=a122_0x486506,_0x5dc7ab={};_0x5dc7ab[_0x3919e7(0x13f)]=_0x3919e7(0x137),_0x5dc7ab[_0x3919e7(0x147)]=function(_0x52d88a,_0x48bec0){return _0x52d88a===_0x48bec0;},_0x5dc7ab['OZIuK']='string',_0x5dc7ab[_0x3919e7(0x13b)]=function(_0x2667bb,_0x3513f0){return _0x2667bb<=_0x3513f0;},_0x5dc7ab[_0x3919e7(0x14e)]=_0x3919e7(0x13d),_0x5dc7ab[_0x3919e7(0x150)]=_0x3919e7(0x133);const _0x33a62b=_0x5dc7ab,_0xaef3e0=globals['getGlobal'](_0x33a62b[_0x3919e7(0x13f)]),_0x3f5e91=_0x5c4f1a[_0x3919e7(0x141)];helper[_0x3919e7(0x142)]()[_0x3919e7(0x13c)]&&(_0x33a62b['YdVbs'](typeof _0x3f5e91,_0x33a62b['OZIuK'])&&_0x33a62b[_0x3919e7(0x13b)](_0x3f5e91[_0x3919e7(0x148)],0x28)?_0xaef3e0?globals[_0x3919e7(0x139)](_0x3919e7(0x14c)+_0xaef3e0,_0x5c4f1a):globals[_0x3919e7(0x139)](_0x33a62b[_0x3919e7(0x14e)],_0x5c4f1a):logger[_0x3919e7(0x145)](_0x33a62b[_0x3919e7(0x150)]));}static['get'](_0x4fb8dd){const _0x140566=a122_0x486506,_0x4051b0={};_0x4051b0['wTjKA']=_0x140566(0x13d);const _0x5c7402=_0x4051b0;if(helper[_0x140566(0x142)]()['lcnc'])return globals['getGlobal']('testMeta-'+_0x4fb8dd)||globals[_0x140566(0x13a)](_0x5c7402[_0x140566(0x14d)])||{};return{};}};function a122_0x1a2f(){const _0x703f1f=['YdVbs','length','6766705aAXgEv','184755GPOrMO','winstonLogger','testMeta-','wTjKA','FbytE','1802960oXSwNd','icAnW','435660zstSMx','760388tJhgBC','The\x20metadata\x20object\x20is\x20not\x20valid.','5iHKgbN','./helper','set','testRunUUID','9tUcfWH','setGlobal','getGlobal','CcCWq','lcnc','testMeta','14UnpJSB','zmnLU','219290nGOeqF','identifier','getCentralUser','12QLgUjr','exports','warn','702966eZOWtU'];a122_0x1a2f=function(){return _0x703f1f;};return a122_0x1a2f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a123_0x3b74(){const _0x213620=['MnCCi','./ai-sdk/autoHealHelper','PRE_EXECUTE','NKPLJ','capability','KGZgS','MhtOV','OsPru','ihCcN','UHhrH','LcMmJ','6eTShYj','nestedKeyValue','aiHeal:setToken','iItSx','Healing\x20failed\x20for\x20command\x20using\x20','string','util','handleFailure','][\x20SDK-AUTOMATION\x20]\x20','NoSuchElementError','local','info','overrideExecute','1264656okyBUO','uHXhg','YRPFP','Error\x20in\x20handling\x20TCG\x20Auth:\x20','executeScript','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','getSession','lisOs','initExecute','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','STTAf','dMXmY','setAiSessionTimeStamp','4170555JQRdoV','aflUG','AUTOMATION_LOG_COMMANDS','using','name','18730723poSbjO','findElement','troNL','patchExecute','getGlobal','measureWrapper','AdQhD','url','execute','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','1592LWdHWe','IAJGi','format','ZhcIj','hVxGU','KSAeo','WsDBa','NetyS','zPrYq','browserstack.local','TzvXh','CgSpp','nmYGe','isSelfHealEnabled','HFiUO','parameters_','aiHeal_isHealingEnabled','../bin/utils/constants',';\x20Trying\x20to\x20heal','LoREM','AKYcf','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','body','eDcvK','hKjuv','WuKPv','name_','aiHeal:findElementFailure','11914ISliYu','response','Successfully\x20healed\x20command\x20using\x20new\x20','handleSuccess','script','czdlh','MorGQ','command','./performance/performance-tester','anNns','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','iTgnF','FFGVX','debug','./globals','rvEue','find','UNwLy','NUDGE_LOCAL_ERRORS','ikSdW','skipHealingSuccess','ncuqk','NToTf','parameters','QALeu','10PZUFnV','vDMEW','UIvsS','includes','sZWtP','Ykybv','kOSBj','findElement\x20command\x20failed\x20with\x20','SeRvH','HaUfw','XtNAe','isBrowserstackInfra','1805142tDwhuP','IFaof','args','getTcgTokenStatus','getNudgeLocalNotSetError','./ai-sdk/aiSdkWrapper','value','UQaEO','kaaAw','MXMPT','HXeAx','cvHcB','BJpiC','jUZIC','482871mFgnCR','aiHeal_isAuthenticated','aiSdk_defaultLogDataEnabled','findElement\x20command\x20failed\x20with\x20cssPath:\x20','getId','6orpvTA','edbKA','UdDsk','WUSjy','aiHeal:findElementSuccess','5838120zBrFzq','TgYUa','pfTpN'];a123_0x3b74=function(){return _0x213620;};return a123_0x3b74();}const a123_0x1e0929=a123_0xb804;function a123_0xb804(_0x5da515,_0x2c2d09){const _0x3b74ce=a123_0x3b74();return a123_0xb804=function(_0xb804dc,_0xab7a3f){_0xb804dc=_0xb804dc-0x12f;let _0xa10c92=_0x3b74ce[_0xb804dc];return _0xa10c92;},a123_0xb804(_0x5da515,_0x2c2d09);}(function(_0x291ac9,_0xadca3f){const _0x48d30b=a123_0xb804,_0x94e8e3=_0x291ac9();while(!![]){try{const _0x2d553b=parseInt(_0x48d30b(0x191))/0x1+parseInt(_0x48d30b(0x183))/0x2+parseInt(_0x48d30b(0x1a9))/0x3*(parseInt(_0x48d30b(0x1b6))/0x4)+-parseInt(_0x48d30b(0x133))/0x5*(parseInt(_0x48d30b(0x196))/0x6)+parseInt(_0x48d30b(0x15e))/0x7*(parseInt(_0x48d30b(0x142))/0x8)+-parseInt(_0x48d30b(0x19b))/0x9*(-parseInt(_0x48d30b(0x177))/0xa)+-parseInt(_0x48d30b(0x138))/0xb;if(_0x2d553b===_0xadca3f)break;else _0x94e8e3['push'](_0x94e8e3['shift']());}catch(_0xc75b2e){_0x94e8e3['push'](_0x94e8e3['shift']());}}}(a123_0x3b74,0x72514));const {aiSdkWrapper}=require(a123_0x1e0929(0x188)),{commandRepository}=require(a123_0x1e0929(0x19f)),PerformanceTester=require(a123_0x1e0929(0x166)),globals=require(a123_0x1e0929(0x16c)),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require('./helper'),constants=require(a123_0x1e0929(0x153)),{DRIVER_EVENT:PerformanceDriverEvents}=require('./performance/constants'),util=require(a123_0x1e0929(0x1af));exports[a123_0x1e0929(0x1b5)]=(_0x5f1955,_0x154106)=>{const _0x4750e1=a123_0x1e0929,_0x47d277={'czdlh':_0x4750e1(0x192),'ZhcIj':_0x4750e1(0x1ab),'HFiUO':function(_0x4ddb20){return _0x4ddb20();},'FeaDN':_0x4750e1(0x193),'Svejm':function(_0x39d52e,_0x4f226e){return _0x39d52e===_0x4f226e;},'HXeAx':_0x4750e1(0x139),'dMXmY':_0x4750e1(0x152),'UHhrH':_0x4750e1(0x19a),'KGZgS':function(_0x829da4){return _0x829da4();},'NetyS':_0x4750e1(0x12f),'NToTf':function(_0x1e742d,_0x25b014){return _0x1e742d===_0x25b014;},'CRwXR':_0x4750e1(0x1b2),'zPrYq':'JavascriptError','WUSjy':function(_0x2c8119,_0xb7bec9){return _0x2c8119===_0xb7bec9;},'NKPLJ':function(_0x437d69,_0x157555){return _0x437d69===_0x157555;},'RPLRq':'css\x20selector','iTgnF':function(_0xc3f8ed,_0x40d3ce){return _0xc3f8ed+_0x40d3ce;},'KSAeo':_0x4750e1(0x194),'ncuqk':_0x4750e1(0x154),'anNns':function(_0x4bbca3,_0x4f51a7){return _0x4bbca3+_0x4f51a7;},'BJpiC':_0x4750e1(0x17e),'lisOs':_0x4750e1(0x15d),'OsPru':function(_0x1e2ae9,_0x49091d){return _0x1e2ae9&&_0x49091d;},'Ykybv':function(_0x2e4c91,_0x4fb0c2){return _0x2e4c91+_0x4fb0c2;},'FFGVX':_0x4750e1(0x141),'troNL':function(_0x36b3dc,_0x14f7d7){return _0x36b3dc+_0x14f7d7;},'DZSWG':_0x4750e1(0x160),'iItSx':_0x4750e1(0x1bb),'rvEue':_0x4750e1(0x1ad),'XtNAe':function(_0x2d3914,_0x270ae2){return _0x2d3914===_0x270ae2;},'MnCCi':'get','JgSAj':_0x4750e1(0x151),'uHXhg':'url','ihCcN':_0x4750e1(0x157),'IFaof':'executeAsyncScript','kaaAw':function(_0x3bdd76,_0x25d4a3){return _0x3bdd76===_0x25d4a3;},'SeRvH':_0x4750e1(0x1ba),'rxjBk':_0x4750e1(0x1ae),'QALeu':_0x4750e1(0x1a2),'KCeli':_0x4750e1(0x14b),'WsDBa':'bstack:options','STTAf':_0x4750e1(0x1b3)},_0x5127f9=_0x5f1955[_0x4750e1(0x13b)]||(helper['nestedKeyValue'](_0x154106,[_0x47d277[_0x4750e1(0x176)],_0x47d277['KCeli']])||helper[_0x4750e1(0x1aa)](_0x154106,[_0x47d277[_0x4750e1(0x176)],_0x47d277[_0x4750e1(0x148)],_0x47d277[_0x4750e1(0x130)]]));if(!globals[_0x4750e1(0x13c)](_0x47d277[_0x4750e1(0x163)])&&!globals[_0x4750e1(0x13c)](_0x47d277['dMXmY'])&&_0x5127f9)return;_0x5f1955[_0x4750e1(0x13b)]=!![],_0x5f1955[_0x4750e1(0x1be)]=_0x5f1955[_0x4750e1(0x140)],_0x5f1955[_0x4750e1(0x140)]=async _0x243ed7=>{const _0x891058=_0x4750e1,_0x52fee5={'cvHcB':_0x47d277['czdlh'],'TzvXh':_0x47d277[_0x891058(0x149)],'WuKPv':function(_0x184a01,_0x307bf0){const _0x3d39fa=_0x891058;return _0x47d277[_0x3d39fa(0x174)](_0x184a01,_0x307bf0);},'IAJGi':_0x47d277['CRwXR'],'nmYGe':function(_0x64f508,_0x3daf0f){const _0x15bb99=_0x891058;return _0x47d277[_0x15bb99(0x174)](_0x64f508,_0x3daf0f);},'HaUfw':_0x47d277[_0x891058(0x14a)],'hKjuv':function(_0x1629de,_0x3c5088){const _0x2d62c2=_0x891058;return _0x47d277[_0x2d62c2(0x199)](_0x1629de,_0x3c5088);},'jUZIC':_0x47d277[_0x891058(0x18d)],'LcMmJ':_0x47d277[_0x891058(0x131)],'hVxGU':function(_0x18bbff,_0x306193){const _0x1d6eba=_0x891058;return _0x47d277[_0x1d6eba(0x1a1)](_0x18bbff,_0x306193);},'AKYcf':_0x47d277['RPLRq'],'ikSdW':function(_0x52ca29,_0x1e4911){const _0x444750=_0x891058;return _0x47d277[_0x444750(0x169)](_0x52ca29,_0x1e4911);},'MhtOV':function(_0xc51f0d,_0x5df6dd){const _0x13799c=_0x891058;return _0x47d277[_0x13799c(0x169)](_0xc51f0d,_0x5df6dd);},'MXMPT':_0x47d277[_0x891058(0x147)],'faKcK':_0x47d277[_0x891058(0x173)],'edbKA':function(_0x116367,_0x4d46d5){return _0x47d277['anNns'](_0x116367,_0x4d46d5);},'pfTpN':function(_0x546606,_0x313075){return _0x47d277['anNns'](_0x546606,_0x313075);},'vDMEW':function(_0x4c0a14,_0xaa3b27){const _0x2bb09f=_0x891058;return _0x47d277[_0x2bb09f(0x169)](_0x4c0a14,_0xaa3b27);},'UdDsk':_0x47d277[_0x891058(0x18f)],'UIvsS':_0x47d277[_0x891058(0x1bd)],'aflUG':function(_0x4a69bd){const _0x10128c=_0x891058;return _0x47d277[_0x10128c(0x150)](_0x4a69bd);},'sZWtP':function(_0x1940fb,_0x35ceff){const _0x528d14=_0x891058;return _0x47d277[_0x528d14(0x1a5)](_0x1940fb,_0x35ceff);},'kLBdF':function(_0x1abdcf,_0x12da47){const _0x430ed3=_0x891058;return _0x47d277[_0x430ed3(0x17c)](_0x1abdcf,_0x12da47);},'UNwLy':_0x47d277[_0x891058(0x16a)],'eDcvK':function(_0x5845fb,_0x204849){const _0x1b8b08=_0x891058;return _0x47d277[_0x1b8b08(0x13a)](_0x5845fb,_0x204849);},'MorGQ':_0x47d277['DZSWG'],'qkaBm':_0x47d277[_0x891058(0x1ac)],'kOSBj':function(_0x2d12d4,_0x3c2ee9){return _0x47d277['Ykybv'](_0x2d12d4,_0x3c2ee9);},'UQaEO':function(_0x34607f,_0x3adbd3){const _0x562f2e=_0x891058;return _0x47d277[_0x562f2e(0x167)](_0x34607f,_0x3adbd3);},'CgSpp':function(_0x29d20d,_0x159681){const _0x19afd6=_0x891058;return _0x47d277[_0x19afd6(0x169)](_0x29d20d,_0x159681);},'LDcUo':_0x47d277[_0x891058(0x16d)],'lHhqT':function(_0xcc7013,_0x1fa339){const _0xe1dff0=_0x891058;return _0x47d277[_0xe1dff0(0x181)](_0xcc7013,_0x1fa339);},'LoREM':_0x47d277[_0x891058(0x19e)],'AdQhD':_0x47d277['JgSAj'],'TgYUa':_0x47d277[_0x891058(0x1b7)],'YRPFP':_0x47d277[_0x891058(0x1a6)]};try{const _0x56f450={};_0x56f450[_0x891058(0x165)]=_0x243ed7[_0x891058(0x15c)],await PerformanceTester[_0x891058(0x13d)](PerformanceDriverEvents[_0x891058(0x1a0)],async()=>{const _0x2cb3e8=_0x891058;if(!commandRepository[_0x2cb3e8(0x186)]()&&globals['getGlobal'](_0x47d277['czdlh'])){const _0x1bdaa7=PerformanceTester[_0x2cb3e8(0x13d)](_0x47d277[_0x2cb3e8(0x145)],async()=>{const _0x4674bf=_0x2cb3e8;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper['setTcgToken']((await _0x5f1955[_0x4674bf(0x1bc)]())[_0x4674bf(0x195)]());const _0x45edd1=globals[_0x4674bf(0x13c)](_0x52fee5[_0x4674bf(0x18e)]);_0x45edd1&&commandRepository[_0x4674bf(0x132)]((await _0x5f1955['getSession']())[_0x4674bf(0x195)]());}catch(_0x39386b){logger['error'](_0x4674bf(0x1b9)+_0x39386b);}});await _0x47d277[_0x2cb3e8(0x150)](_0x1bdaa7);}},_0x56f450)();const _0x24a997=await _0x5f1955[_0x891058(0x1be)](_0x243ed7);try{if(_0x47d277[_0x891058(0x199)](_0x243ed7[_0x891058(0x15c)],_0x47d277[_0x891058(0x184)])||_0x47d277[_0x891058(0x18b)](_0x243ed7[_0x891058(0x15c)],_0x47d277[_0x891058(0x17f)])){const _0xfb575e=_0x243ed7[_0x891058(0x151)]&&_0x243ed7['parameters_'][_0x891058(0x162)],_0x1d014c=_0x243ed7[_0x891058(0x151)]&&_0x243ed7[_0x891058(0x151)][_0x891058(0x185)],_0x4e232f=_0x1d014c&&util[_0x891058(0x144)]('%j',_0x1d014c);if(_0xfb575e&&_0x47d277[_0x891058(0x199)](typeof _0xfb575e,_0x47d277['rxjBk'])){const _0x981295=constants[_0x891058(0x135)]['find'](_0x956250=>_0xfb575e[_0x891058(0x17a)](_0x956250)||_0x4e232f&&_0x4e232f[_0x891058(0x17a)](_0x956250));if(_0x981295){const _0x35fde7={};_0x35fde7[_0x891058(0x165)]=_0x981295,_0x35fde7[_0x891058(0x175)]=_0x1d014c;const _0x525e43={};_0x525e43[_0x891058(0x158)]=_0x24a997;const _0x3919ca={};_0x3919ca['request']=_0x35fde7,_0x3919ca[_0x891058(0x15f)]=_0x525e43,automationLogger['silly']('['+new Date()['toISOString']()+_0x891058(0x1b1)+util[_0x891058(0x144)]('%j',_0x3919ca));}}}}catch(_0xeb7b08){logger['silly'](_0x891058(0x168)+_0xeb7b08['message']);}return await PerformanceTester[_0x891058(0x13d)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x438e21=_0x891058;if(!helper[_0x438e21(0x182)]()&&(commandRepository[_0x438e21(0x14f)]()||globals['getGlobal'](_0x47d277['FeaDN']))&&_0x47d277['Svejm'](_0x243ed7[_0x438e21(0x15c)],_0x47d277['HXeAx'])&&!_0x243ed7[_0x438e21(0x172)]&&globals['getGlobal'](_0x47d277[_0x438e21(0x163)])&&globals[_0x438e21(0x13c)](_0x47d277[_0x438e21(0x131)])){const _0x5934c4=new Date(),_0x200da1=PerformanceTester['measureWrapper'](_0x47d277[_0x438e21(0x1a7)],async()=>{const _0x2bc82a=_0x438e21;return await aiSdkWrapper[_0x2bc82a(0x161)](_0x154106,_0x5f1955,_0x243ed7);});await _0x47d277[_0x438e21(0x1a3)](_0x200da1);}},{'command':_0x243ed7[_0x891058(0x15c)]})(),_0x24a997;}catch(_0x309858){await PerformanceTester[_0x891058(0x13d)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x41f64a=_0x891058;logger[_0x41f64a(0x16b)](_0x52fee5[_0x41f64a(0x14c)]);try{if(!helper[_0x41f64a(0x182)]()&&(_0x52fee5[_0x41f64a(0x15b)](_0x309858[_0x41f64a(0x137)],_0x52fee5[_0x41f64a(0x143)])||_0x52fee5[_0x41f64a(0x14e)](_0x309858[_0x41f64a(0x137)],_0x52fee5[_0x41f64a(0x180)]))&&_0x52fee5[_0x41f64a(0x15a)](_0x243ed7[_0x41f64a(0x15c)],_0x52fee5[_0x41f64a(0x190)])&&commandRepository[_0x41f64a(0x14f)]()&&globals[_0x41f64a(0x13c)](_0x52fee5[_0x41f64a(0x18e)])&&globals[_0x41f64a(0x13c)](_0x52fee5[_0x41f64a(0x1a8)])){_0x52fee5[_0x41f64a(0x146)](_0x243ed7[_0x41f64a(0x151)][_0x41f64a(0x136)],_0x52fee5['AKYcf'])?logger[_0x41f64a(0x1b4)](_0x52fee5[_0x41f64a(0x171)](_0x52fee5[_0x41f64a(0x1a4)](_0x52fee5[_0x41f64a(0x18c)],_0x243ed7['parameters_'][_0x41f64a(0x189)]),_0x52fee5['faKcK'])):logger[_0x41f64a(0x1b4)](_0x52fee5[_0x41f64a(0x197)](_0x52fee5[_0x41f64a(0x19d)](_0x52fee5[_0x41f64a(0x178)](_0x52fee5[_0x41f64a(0x1a4)](_0x52fee5[_0x41f64a(0x198)],_0x243ed7[_0x41f64a(0x151)][_0x41f64a(0x136)]),':\x20'),_0x243ed7[_0x41f64a(0x151)][_0x41f64a(0x189)]),_0x52fee5['faKcK']));const _0x16bfe5=PerformanceTester[_0x41f64a(0x13d)](_0x52fee5[_0x41f64a(0x179)],async()=>{const _0x22de97=_0x41f64a;return await aiSdkWrapper[_0x22de97(0x1b0)](_0x154106,_0x5f1955,_0x243ed7);}),_0x28fb05=new Date(),{locatorType:_0x3dab1c,locatorValue:_0x3e273c,commandHealed:_0x3de1a}=await _0x52fee5[_0x41f64a(0x134)](_0x16bfe5);if(_0x52fee5[_0x41f64a(0x17b)](_0x3dab1c,_0x3e273c)){_0x243ed7[_0x41f64a(0x151)]['using']=_0x3dab1c,_0x243ed7[_0x41f64a(0x151)][_0x41f64a(0x189)]=_0x3e273c,_0x243ed7[_0x41f64a(0x172)]=!![];const _0xd0bca5=_0x5f1955[_0x41f64a(0x140)](_0x243ed7);return _0x52fee5[_0x41f64a(0x146)](_0x3dab1c,_0x52fee5[_0x41f64a(0x156)])?logger[_0x41f64a(0x1b4)](_0x52fee5['kLBdF'](_0x52fee5[_0x41f64a(0x16f)],_0x3e273c)):logger[_0x41f64a(0x1b4)](_0x52fee5[_0x41f64a(0x197)](_0x52fee5[_0x41f64a(0x19d)](_0x52fee5[_0x41f64a(0x159)](_0x52fee5[_0x41f64a(0x164)],_0x3dab1c),':\x20'),_0x3e273c)),_0xd0bca5;}else!_0x3de1a&&(_0x52fee5[_0x41f64a(0x14e)](_0x3dab1c,_0x52fee5[_0x41f64a(0x156)])?logger['info'](_0x52fee5['MhtOV'](_0x52fee5['qkaBm'],_0x243ed7['parameters_'][_0x41f64a(0x189)])):logger[_0x41f64a(0x1b4)](_0x52fee5[_0x41f64a(0x17d)](_0x52fee5[_0x41f64a(0x18a)](_0x52fee5[_0x41f64a(0x14d)](_0x52fee5['LDcUo'],_0x243ed7['parameters_']['using']),':\x20'),_0x243ed7[_0x41f64a(0x151)][_0x41f64a(0x189)])));}!_0x5127f9&&_0x52fee5['lHhqT'](_0x243ed7['name_'],_0x52fee5[_0x41f64a(0x155)])&&helper[_0x41f64a(0x1aa)](_0x243ed7,[_0x52fee5[_0x41f64a(0x13e)],_0x52fee5[_0x41f64a(0x19c)]])&&!!constants[_0x41f64a(0x170)][_0x41f64a(0x16e)](_0x2d47c5=>{return _0x309858['toString']()['includes'](_0x2d47c5);})&&helper[_0x41f64a(0x187)](_0x243ed7['parameters_'][_0x41f64a(0x13f)],!![]);}catch(_0x1c1c44){logger[_0x41f64a(0x16b)](_0x52fee5[_0x41f64a(0x1b8)],_0x1c1c44);}},{'success':![],'failure':_0x309858})();throw _0x309858;}};};
|
|
1
|
+
const a123_0xcb6242=a123_0x5cc3;(function(_0x5896e0,_0x1aa196){const _0x2bd3eb=a123_0x5cc3,_0x39eeca=_0x5896e0();while(!![]){try{const _0x87a4fa=parseInt(_0x2bd3eb(0x84))/0x1+-parseInt(_0x2bd3eb(0x80))/0x2+parseInt(_0x2bd3eb(0x97))/0x3*(-parseInt(_0x2bd3eb(0xc0))/0x4)+parseInt(_0x2bd3eb(0xe5))/0x5+parseInt(_0x2bd3eb(0x99))/0x6*(parseInt(_0x2bd3eb(0xcd))/0x7)+parseInt(_0x2bd3eb(0x83))/0x8+parseInt(_0x2bd3eb(0xaf))/0x9;if(_0x87a4fa===_0x1aa196)break;else _0x39eeca['push'](_0x39eeca['shift']());}catch(_0x5acca9){_0x39eeca['push'](_0x39eeca['shift']());}}}(a123_0x3b62,0x6f6f6));const {aiSdkWrapper}=require(a123_0xcb6242(0xcb)),{commandRepository}=require(a123_0xcb6242(0x92)),PerformanceTester=require(a123_0xcb6242(0xb3)),globals=require(a123_0xcb6242(0xcc)),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require(a123_0xcb6242(0x85)),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a123_0xcb6242(0xd4)),util=require('util');function a123_0x5cc3(_0x47d97a,_0x45b575){const _0x3b62e3=a123_0x3b62();return a123_0x5cc3=function(_0x5cc328,_0x5150b7){_0x5cc328=_0x5cc328-0x7e;let _0x14d3fe=_0x3b62e3[_0x5cc328];return _0x14d3fe;},a123_0x5cc3(_0x47d97a,_0x45b575);}function a123_0x3b62(){const _0x54a3c2=['anJbA','LykBd','Successfully\x20healed\x20command\x20using\x20new\x20','PRE_EXECUTE','name_','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','MCCEF','AUTOMATION_LOG_COMMANDS','3451905jDxFnQ','FXpAV','format','handleSuccess','./performance/performance-tester','debug','dLKPo','OMMxa','getNudgeLocalNotSetError','pcwnZ','nBHaq','executeScript','url','JFruO','wOccI','NUDGE_LOCAL_ERRORS','find','52LxBOSQ','name','ePAOh','xKdKO','fUYEX','getId','wcRAT','JavascriptError','message','AAVTd','handleFailure','./ai-sdk/aiSdkWrapper','./globals','7HoHmIs','RDFhT','JvzDF','capability','error','measureWrapper','nildX','./performance/constants','KrMlU','findElement\x20command\x20failed\x20with\x20cssPath:\x20','Healing\x20failed\x20for\x20command\x20using\x20','aiSdk_defaultLogDataEnabled','jTvCw','info','using','parameters_','setTcgToken','WMYsg','local','aiHeal:findElementFailure','yxEfC','nestedKeyValue','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','3050730KwGErc','initExecute','command','QcflB','overrideExecute','aiHeal_isAuthenticated','toString','request','qeycO','1552074tvgnEC','value','getSession','288328xeMlrp','65136fcIzjN','./helper','execute','skipHealingSuccess','iCURO','findElement\x20command\x20failed\x20with\x20','getTcgTokenStatus','kEZbG','NyfZT','PAQQW','][\x20SDK-AUTOMATION\x20]\x20','qxTPJ','isBrowserstackInfra','wpxvB','./ai-sdk/autoHealHelper','getGlobal','PUujC','aiHeal:findElementSuccess','patchExecute','54894TDudBL','includes','2252886qXtWyY','OgVgN','setAiSessionTimeStamp','setTcgTokenStatus','UTGGj','Yziib','gOQPC','agynW','string','YnRwU','get','bstack:options','aiHeal:setToken','POST_EXECUTE'];a123_0x3b62=function(){return _0x54a3c2;};return a123_0x3b62();}exports[a123_0xcb6242(0xe9)]=(_0x28d023,_0x556395)=>{const _0x49be25=a123_0xcb6242,_0x1f99bf={'PAQQW':_0x49be25(0xd8),'dLKPo':function(_0x6ba776,_0x286af4){return _0x6ba776===_0x286af4;},'WMYsg':'findElement','RDFhT':_0x49be25(0xea),'nBHaq':'aiHeal_isHealingEnabled','PUujC':_0x49be25(0x95),'dbhEt':function(_0x270220){return _0x270220();},'yxEfC':'Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','yijhx':'NoSuchElementError','wpxvB':_0x49be25(0xc7),'MCCEF':'css\x20selector','OMMxa':function(_0x596e1f,_0x54dcd0){return _0x596e1f+_0x54dcd0;},'anJbA':_0x49be25(0xd6),'FXpAV':';\x20Trying\x20to\x20heal','xKdKO':_0x49be25(0x89),'JFruO':_0x49be25(0xe0),'pwcyd':function(_0x1e286a){return _0x1e286a();},'shqun':function(_0x9d547f,_0x52cb8){return _0x9d547f&&_0x52cb8;},'Yziib':function(_0x203d50,_0x436887){return _0x203d50===_0x436887;},'ePAOh':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','QcflB':function(_0x3faea7,_0x5b4d3a){return _0x3faea7+_0x5b4d3a;},'nildX':function(_0x3b67c8,_0x29a365){return _0x3b67c8+_0x29a365;},'qxTPJ':_0x49be25(0xa9),'gOQPC':function(_0x29d853,_0x43134e){return _0x29d853+_0x43134e;},'KrMlU':_0x49be25(0xac),'gopWi':function(_0x21d855,_0x2ae397){return _0x21d855+_0x2ae397;},'OgVgN':function(_0x3f8309,_0x59adbf){return _0x3f8309+_0x59adbf;},'JvzDF':_0x49be25(0xd7),'AAVTd':function(_0x1ab78b,_0x22c45c){return _0x1ab78b===_0x22c45c;},'kEZbG':_0x49be25(0xa3),'NyfZT':_0x49be25(0xdc),'wOccI':_0x49be25(0xbb),'iigxd':_0x49be25(0xe4),'jTvCw':_0x49be25(0xa5),'iCURO':function(_0x1451df){return _0x1451df();},'pcwnZ':function(_0x216274,_0x38dd81){return _0x216274===_0x38dd81;},'UTGGj':'executeAsyncScript','iiUGK':_0x49be25(0xba),'YnRwU':function(_0x5ae9e1,_0x461a72){return _0x5ae9e1===_0x461a72;},'TPHlP':_0x49be25(0xa1),'fUYEX':_0x49be25(0xd0),'EXpdl':'browserstack.local','qeycO':_0x49be25(0xa4),'wcRAT':_0x49be25(0xdf)},_0x462e69=_0x28d023[_0x49be25(0x96)]||(helper[_0x49be25(0xe2)](_0x556395,[_0x1f99bf['fUYEX'],_0x1f99bf['EXpdl']])||helper[_0x49be25(0xe2)](_0x556395,[_0x1f99bf[_0x49be25(0xc4)],_0x1f99bf[_0x49be25(0x7f)],_0x1f99bf[_0x49be25(0xc6)]]));if(!globals[_0x49be25(0x93)](_0x1f99bf['RDFhT'])&&!globals[_0x49be25(0x93)](_0x1f99bf[_0x49be25(0xb9)])&&_0x462e69)return;_0x28d023[_0x49be25(0x96)]=!![],_0x28d023[_0x49be25(0xe6)]=_0x28d023[_0x49be25(0x86)],_0x28d023[_0x49be25(0x86)]=async _0x102d30=>{const _0x1af9c7=_0x49be25,_0x599ad9={'agynW':_0x1f99bf[_0x1af9c7(0xce)],'LykBd':_0x1f99bf[_0x1af9c7(0xd9)],'CSygY':function(_0x4f64aa){const _0x3f9fdd=_0x1af9c7;return _0x1f99bf[_0x3f9fdd(0x88)](_0x4f64aa);}};try{const _0x343b09={};_0x343b09[_0x1af9c7(0xe7)]=_0x102d30[_0x1af9c7(0xab)],await PerformanceTester[_0x1af9c7(0xd2)](PerformanceDriverEvents[_0x1af9c7(0xaa)],async()=>{const _0x5a043c=_0x1af9c7;if(!commandRepository[_0x5a043c(0x8a)]()&&globals[_0x5a043c(0x93)](_0x599ad9[_0x5a043c(0xa0)])){const _0x142415=PerformanceTester[_0x5a043c(0xd2)](_0x599ad9[_0x5a043c(0xa8)],async()=>{const _0x208bc2=_0x5a043c;try{commandRepository[_0x208bc2(0x9c)](!![]),await aiSdkWrapper[_0x208bc2(0xdd)]((await _0x28d023[_0x208bc2(0x82)]())[_0x208bc2(0xc5)]());const _0x57a9ae=globals[_0x208bc2(0x93)](_0x599ad9[_0x208bc2(0xa0)]);_0x57a9ae&&commandRepository[_0x208bc2(0x9b)]((await _0x28d023[_0x208bc2(0x82)]())[_0x208bc2(0xc5)]());}catch(_0x1edc81){logger[_0x208bc2(0xd1)]('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x1edc81);}});await _0x599ad9['CSygY'](_0x142415);}},_0x343b09)();const _0x35085c=await _0x28d023[_0x1af9c7(0xe6)](_0x102d30);try{if(_0x1f99bf[_0x1af9c7(0xb8)](_0x102d30['name_'],_0x1f99bf[_0x1af9c7(0x9d)])||_0x1f99bf[_0x1af9c7(0x9e)](_0x102d30[_0x1af9c7(0xab)],_0x1f99bf['iiUGK'])){const _0x53ced4=_0x102d30[_0x1af9c7(0xdc)]&&_0x102d30[_0x1af9c7(0xdc)]['script'],_0x1ab736=_0x102d30[_0x1af9c7(0xdc)]&&_0x102d30[_0x1af9c7(0xdc)]['args'],_0x394093=_0x1ab736&&util[_0x1af9c7(0xb1)]('%j',_0x1ab736);if(_0x53ced4&&_0x1f99bf[_0x1af9c7(0xa2)](typeof _0x53ced4,_0x1f99bf['TPHlP'])){const _0x3b77da=constants[_0x1af9c7(0xae)]['find'](_0x16e4e6=>_0x53ced4[_0x1af9c7(0x98)](_0x16e4e6)||_0x394093&&_0x394093[_0x1af9c7(0x98)](_0x16e4e6));if(_0x3b77da){const _0x35afe3={};_0x35afe3['command']=_0x3b77da,_0x35afe3['parameters']=_0x1ab736;const _0x5785d0={};_0x5785d0['body']=_0x35085c;const _0x1aa62d={};_0x1aa62d[_0x1af9c7(0x7e)]=_0x35afe3,_0x1aa62d['response']=_0x5785d0,automationLogger['silly']('['+new Date()['toISOString']()+_0x1af9c7(0x8e)+util['format']('%j',_0x1aa62d));}}}}catch(_0x34206a){logger['silly'](_0x1af9c7(0xe3)+_0x34206a[_0x1af9c7(0xc8)]);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x1af9c7(0xa6)],async()=>{const _0x3bfaac=_0x1af9c7;if(!helper[_0x3bfaac(0x90)]()&&(commandRepository['isSelfHealEnabled']()||globals[_0x3bfaac(0x93)](_0x1f99bf[_0x3bfaac(0x8d)]))&&_0x1f99bf[_0x3bfaac(0xb5)](_0x102d30['name_'],_0x1f99bf[_0x3bfaac(0xde)])&&!_0x102d30[_0x3bfaac(0x87)]&&globals[_0x3bfaac(0x93)](_0x1f99bf[_0x3bfaac(0xce)])&&globals['getGlobal'](_0x1f99bf[_0x3bfaac(0xb9)])){const _0x91d77d=new Date(),_0x52c23d=PerformanceTester[_0x3bfaac(0xd2)](_0x1f99bf[_0x3bfaac(0x94)],async()=>{const _0xa2cc6d=_0x3bfaac;return await aiSdkWrapper[_0xa2cc6d(0xb2)](_0x556395,_0x28d023,_0x102d30);});await _0x1f99bf['dbhEt'](_0x52c23d);}},{'command':_0x102d30[_0x1af9c7(0xab)]})(),_0x35085c;}catch(_0x1a59e9){await PerformanceTester[_0x1af9c7(0xd2)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x2b0029=_0x1af9c7;logger['debug'](_0x1f99bf[_0x2b0029(0xe1)]);try{if(!helper[_0x2b0029(0x90)]()&&(_0x1f99bf['dLKPo'](_0x1a59e9[_0x2b0029(0xc1)],_0x1f99bf['yijhx'])||_0x1f99bf['dLKPo'](_0x1a59e9['name'],_0x1f99bf[_0x2b0029(0x91)]))&&_0x1f99bf['dLKPo'](_0x102d30[_0x2b0029(0xab)],_0x1f99bf[_0x2b0029(0xde)])&&commandRepository['isSelfHealEnabled']()&&globals['getGlobal'](_0x1f99bf[_0x2b0029(0xce)])&&globals['getGlobal'](_0x1f99bf['nBHaq'])){_0x1f99bf[_0x2b0029(0xb5)](_0x102d30[_0x2b0029(0xdc)][_0x2b0029(0xdb)],_0x1f99bf[_0x2b0029(0xad)])?logger[_0x2b0029(0xda)](_0x1f99bf[_0x2b0029(0xb6)](_0x1f99bf[_0x2b0029(0xb6)](_0x1f99bf[_0x2b0029(0xa7)],_0x102d30['parameters_'][_0x2b0029(0x81)]),_0x1f99bf[_0x2b0029(0xb0)])):logger[_0x2b0029(0xda)](_0x1f99bf[_0x2b0029(0xb6)](_0x1f99bf[_0x2b0029(0xb6)](_0x1f99bf[_0x2b0029(0xb6)](_0x1f99bf['OMMxa'](_0x1f99bf[_0x2b0029(0xc3)],_0x102d30[_0x2b0029(0xdc)][_0x2b0029(0xdb)]),':\x20'),_0x102d30['parameters_'][_0x2b0029(0x81)]),_0x1f99bf[_0x2b0029(0xb0)]));const _0x46b8cc=PerformanceTester[_0x2b0029(0xd2)](_0x1f99bf[_0x2b0029(0xbc)],async()=>{const _0x59647a=_0x2b0029;return await aiSdkWrapper[_0x59647a(0xca)](_0x556395,_0x28d023,_0x102d30);}),_0x5f5bd5=new Date(),{locatorType:_0x453a9b,locatorValue:_0x457340,commandHealed:_0x2bb138}=await _0x1f99bf['pwcyd'](_0x46b8cc);if(_0x1f99bf['shqun'](_0x453a9b,_0x457340)){_0x102d30[_0x2b0029(0xdc)]['using']=_0x453a9b,_0x102d30[_0x2b0029(0xdc)]['value']=_0x457340,_0x102d30['skipHealingSuccess']=!![];const _0x32c82a=_0x28d023[_0x2b0029(0x86)](_0x102d30);return _0x1f99bf[_0x2b0029(0x9e)](_0x453a9b,_0x1f99bf[_0x2b0029(0xad)])?logger[_0x2b0029(0xda)](_0x1f99bf['OMMxa'](_0x1f99bf[_0x2b0029(0xc2)],_0x457340)):logger[_0x2b0029(0xda)](_0x1f99bf['QcflB'](_0x1f99bf[_0x2b0029(0xd3)](_0x1f99bf[_0x2b0029(0xe8)](_0x1f99bf[_0x2b0029(0x8f)],_0x453a9b),':\x20'),_0x457340)),_0x32c82a;}else!_0x2bb138&&(_0x1f99bf[_0x2b0029(0x9e)](_0x453a9b,_0x1f99bf[_0x2b0029(0xad)])?logger[_0x2b0029(0xda)](_0x1f99bf['gOQPC'](_0x1f99bf[_0x2b0029(0xd5)],_0x102d30['parameters_'][_0x2b0029(0x81)])):logger[_0x2b0029(0xda)](_0x1f99bf[_0x2b0029(0x9f)](_0x1f99bf['gopWi'](_0x1f99bf[_0x2b0029(0x9a)](_0x1f99bf[_0x2b0029(0xcf)],_0x102d30[_0x2b0029(0xdc)][_0x2b0029(0xdb)]),':\x20'),_0x102d30['parameters_'][_0x2b0029(0x81)])));}!_0x462e69&&_0x1f99bf[_0x2b0029(0xc9)](_0x102d30[_0x2b0029(0xab)],_0x1f99bf[_0x2b0029(0x8b)])&&helper['nestedKeyValue'](_0x102d30,[_0x1f99bf[_0x2b0029(0x8c)],_0x1f99bf[_0x2b0029(0xbd)]])&&!!constants[_0x2b0029(0xbe)][_0x2b0029(0xbf)](_0x296c41=>{const _0x4b5d6b=_0x2b0029;return _0x1a59e9[_0x4b5d6b(0xeb)]()['includes'](_0x296c41);})&&helper[_0x2b0029(0xb7)](_0x102d30[_0x2b0029(0xdc)]['url'],!![]);}catch(_0x331c82){logger[_0x2b0029(0xb4)](_0x1f99bf['iigxd'],_0x331c82);}},{'success':![],'failure':_0x1a59e9})();throw _0x1a59e9;}};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a124_0x4d17(_0x2a98ca,_0x1ed01b){const _0x55529d=a124_0x5552();return a124_0x4d17=function(_0x4d17d6,_0x1fa8b7){_0x4d17d6=_0x4d17d6-0xb7;let _0x2ef6da=_0x55529d[_0x4d17d6];return _0x2ef6da;},a124_0x4d17(_0x2a98ca,_0x1ed01b);}const a124_0x1accb5=a124_0x4d17;function a124_0x5552(){const _0x5ca405=['2096608cFjbud','quitCount_','catch','wzase','BS_TESTOPS_ALLOW_SCREENSHOTS','PSlnU','hmdtF','patchScreenshot','initQuit','72934RJnzJB','env','O11y_EVENTS','end','./performance/constants','WjdlG','6sXkLvI','479932BfjRED','7679520yxHwot','toISOString','start','TAKE_SCREENSHOT','qQoTh','./performance/performance-tester','pid','quit','takeScreenshot','overrideTakeScreenshot','emit','patchQuit','fvwmc','1094395ocLKqf','xnrvt','6blHTba','1248625opidHx','263875ONJodj','cJiDV'];a124_0x5552=function(){return _0x5ca405;};return a124_0x5552();}(function(_0x4a3f40,_0x23fb94){const _0x2ff178=a124_0x4d17,_0x3dd86f=_0x4a3f40();while(!![]){try{const _0x25179b=-parseInt(_0x2ff178(0xc9))/0x1+-parseInt(_0x2ff178(0xd4))/0x2+-parseInt(_0x2ff178(0xc7))/0x3*(-parseInt(_0x2ff178(0xb7))/0x4)+-parseInt(_0x2ff178(0xc5))/0x5*(parseInt(_0x2ff178(0xda))/0x6)+-parseInt(_0x2ff178(0xc8))/0x7+-parseInt(_0x2ff178(0xcb))/0x8+parseInt(_0x2ff178(0xb8))/0x9;if(_0x25179b===_0x23fb94)break;else _0x3dd86f['push'](_0x3dd86f['shift']());}catch(_0x13fa0a){_0x3dd86f['push'](_0x3dd86f['shift']());}}}(a124_0x5552,0x209c6));const PerformanceTester=require(a124_0x1accb5(0xbd)),O11yEvents=require(a124_0x1accb5(0xd8))[a124_0x1accb5(0xd6)];exports[a124_0x1accb5(0xc1)]=_0xcdf6f7=>{const _0x4b991f=a124_0x1accb5,_0x144e9d={'UPECN':'TEST_SCREENSHOT','lMIDV':function(_0x38b2f9,_0x2aafa8){return _0x38b2f9(_0x2aafa8);},'fvwmc':function(_0x29b985,_0x2c5d60){return _0x29b985!==_0x2c5d60;},'xnrvt':'true'};if(_0x144e9d[_0x4b991f(0xc4)](process[_0x4b991f(0xd5)][_0x4b991f(0xcf)],_0x144e9d[_0x4b991f(0xc6)]))return;if(_0xcdf6f7[_0x4b991f(0xd2)])return;_0xcdf6f7[_0x4b991f(0xd2)]=!![],_0xcdf6f7['initScreenshot']=_0xcdf6f7[_0x4b991f(0xc0)],_0xcdf6f7['takeScreenshot']=()=>{return new Promise(function(_0xbffe5d,_0x32c3bd){const _0x2ffc97=a124_0x4d17,_0x4579e4={'wzase':_0x144e9d['UPECN'],'PSlnU':function(_0x416c16,_0xf3c3b3){return _0x144e9d['lMIDV'](_0x416c16,_0xf3c3b3);},'WjdlG':function(_0x399153,_0x6b97b2){return _0x144e9d['lMIDV'](_0x399153,_0x6b97b2);}};_0xcdf6f7['initScreenshot']()['then'](_0x394560=>{const _0x84d775=a124_0x4d17;PerformanceTester[_0x84d775(0xba)](O11yEvents[_0x84d775(0xbb)]),process[_0x84d775(0xc2)]('bs:addLog:'+process[_0x84d775(0xbe)],{'timestamp':new Date()[_0x84d775(0xb9)](),'message':_0x394560,'kind':_0x4579e4[_0x84d775(0xce)]}),_0x4579e4[_0x84d775(0xd0)](_0xbffe5d,_0x394560),PerformanceTester[_0x84d775(0xd7)](O11yEvents[_0x84d775(0xbb)]);})[_0x2ffc97(0xcd)](_0x4f4e6e=>{const _0x551622=_0x2ffc97;PerformanceTester[_0x551622(0xd7)](O11yEvents['TAKE_SCREENSHOT']),_0x4579e4[_0x551622(0xd9)](_0x32c3bd,_0x4f4e6e);});});};},exports['overrideQuit']=(_0x441935,_0x463829=null)=>{const _0x5044e2=a124_0x1accb5,_0x9803d3={'cJiDV':function(_0x41984e){return _0x41984e();},'hmdtF':function(_0x3e27fc,_0x4d9b66){return _0x3e27fc>_0x4d9b66;},'qQoTh':function(_0x132c9a,_0x3b22c0){return _0x132c9a>_0x3b22c0;}};if(_0x441935['patchQuit'])return;_0x441935[_0x5044e2(0xc3)]=!![],_0x441935[_0x5044e2(0xd3)]=_0x441935[_0x5044e2(0xbf)],_0x441935[_0x5044e2(0xbf)]=()=>{const _0x4e2fa3=_0x5044e2;if(_0x463829){_0x463829[_0x4e2fa3(0xcc)]+=0x1;if(_0x9803d3[_0x4e2fa3(0xd1)](_0x463829[_0x4e2fa3(0xcc)],0x1))return _0x441935['initQuit']();}else{_0x441935[_0x4e2fa3(0xcc)]+=0x1;if(_0x9803d3[_0x4e2fa3(0xbc)](_0x441935[_0x4e2fa3(0xcc)],0x1))return _0x441935[_0x4e2fa3(0xd3)]();}return new Promise(function(_0x13d2da){const _0x1bd58c=_0x4e2fa3;_0x9803d3[_0x1bd58c(0xca)](_0x13d2da);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a125_0x4e63c4=a125_0x1c86;(function(_0x116ae3,_0x245e77){const _0xbaa8d0=a125_0x1c86,_0x43d0b2=_0x116ae3();while(!![]){try{const _0x42707d=parseInt(_0xbaa8d0(0x1dd))/0x1+-parseInt(_0xbaa8d0(0x1bf))/0x2*(parseInt(_0xbaa8d0(0x1b9))/0x3)+parseInt(_0xbaa8d0(0x1c9))/0x4*(-parseInt(_0xbaa8d0(0x1da))/0x5)+parseInt(_0xbaa8d0(0x1d6))/0x6+-parseInt(_0xbaa8d0(0x19a))/0x7+parseInt(_0xbaa8d0(0x1ad))/0x8+parseInt(_0xbaa8d0(0x1b5))/0x9*(-parseInt(_0xbaa8d0(0x1c7))/0xa);if(_0x42707d===_0x245e77)break;else _0x43d0b2['push'](_0x43d0b2['shift']());}catch(_0x4bfb21){_0x43d0b2['push'](_0x43d0b2['shift']());}}}(a125_0x5dbb,0x7f753));const fs=require('fs'),path=require(a125_0x4e63c4(0x1a6)),os=require('os'),{spawn}=require(a125_0x4e63c4(0x1d7)),helper=require(a125_0x4e63c4(0x1b0)),logger=require(a125_0x4e63c4(0x1aa))[a125_0x4e63c4(0x1db)],{getLogDir}=require(a125_0x4e63c4(0x1aa)),testHubConstants=require('../../helpers/testhub/constants'),PerformanceTester=require(a125_0x4e63c4(0x1a1)),{PERCY_EVENTS:PerformanceEvents}=require(a125_0x4e63c4(0x1ab)),PercyBinary=require('./PercyBinary');class Percy{#logfile=path['join'](getLogDir(),a125_0x4e63c4(0x1d0));#address=process[a125_0x4e63c4(0x1e7)]['PERCY_SERVER_ADDRESS']||a125_0x4e63c4(0x1ac);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a125_0x4e63c4(0x1e8)]=![];constructor(_0x3887e2){const _0x5c9236=a125_0x4e63c4;this.#config=_0x3887e2,!!_0x3887e2[_0x5c9236(0x1df)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x2fd1b9=a125_0x4e63c4;if(!this.#binaryPath){const _0xc91809=new PercyBinary();PerformanceTester[_0x2fd1b9(0x1c4)](PerformanceEvents['DOWNLOAD']),this.#binaryPath=await _0xc91809[_0x2fd1b9(0x1b8)](this.#config),PerformanceTester[_0x2fd1b9(0x1d2)](PerformanceEvents[_0x2fd1b9(0x19c)]);}return this.#binaryPath;}async #sleep(_0x1bb21a){return new Promise(_0x3efe85=>setTimeout(_0x3efe85,_0x1bb21a));}async[a125_0x4e63c4(0x1b3)](){const _0x2bd6d0=a125_0x4e63c4,_0x13a9a6={};_0x13a9a6['nnUEj']='GET',_0x13a9a6[_0x2bd6d0(0x19d)]=_0x2bd6d0(0x1cc);const _0x26853a=_0x13a9a6;try{const _0x52e7af=await helper[_0x2bd6d0(0x1e4)](_0x26853a[_0x2bd6d0(0x19e)],_0x26853a['ZyTEY'],null,null,this.#address);if(_0x52e7af)return!![];}catch(_0x5e3459){return![];}}async[a125_0x4e63c4(0x1c4)](){const _0x4a7082=a125_0x4e63c4,_0x50cbaa={'ICzdX':'app:exec','IxyyV':'exec','gwcsj':function(_0x5c6238,_0x154013,_0x3c820e,_0x55e34c){return _0x5c6238(_0x154013,_0x3c820e,_0x55e34c);},'HUndK':_0x4a7082(0x1b2),'hdbLf':_0x4a7082(0x1a0)},_0x2c226=await this.#getBinaryPath(),_0x2263d4={};_0x2263d4['flags']='a',this.#logStream=fs[_0x4a7082(0x1dc)](this.#logfile,_0x2263d4);const _0x24ac7c=await this[_0x4a7082(0x1e5)](),_0x4e5091=await this[_0x4a7082(0x1a7)]();if(!_0x24ac7c)return![];const _0x21ba81=[(this.#isApp?_0x50cbaa[_0x4a7082(0x1a8)]:_0x50cbaa[_0x4a7082(0x1c3)])+':start'];_0x4e5091&&_0x21ba81[_0x4a7082(0x1d8)]('-c',_0x4e5091);this.#proc=_0x50cbaa[_0x4a7082(0x1b1)](spawn,_0x2c226,_0x21ba81,{'env':Object[_0x4a7082(0x1be)](process[_0x4a7082(0x1e7)],{'PERCY_TOKEN':_0x24ac7c,'TH_BUILD_UUID':process[_0x4a7082(0x1e7)][testHubConstants['ENV_VAR'][_0x4a7082(0x1a9)]]})}),this.#proc[_0x4a7082(0x1b7)][_0x4a7082(0x1a3)](this.#logStream),this.#proc[_0x4a7082(0x1a4)][_0x4a7082(0x1a3)](this.#logStream),this[_0x4a7082(0x1e8)]=!![];var _0x4cd4d9=this;this.#proc['on'](_0x50cbaa[_0x4a7082(0x1d4)],function(_0x370927){const _0x528227=_0x4a7082;_0x4cd4d9[_0x528227(0x1e8)]=![];});do{const _0x9f7655=await this[_0x4a7082(0x1b3)]();if(_0x9f7655)return logger[_0x4a7082(0x1bd)](_0x50cbaa[_0x4a7082(0x1cf)]),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async[a125_0x4e63c4(0x19b)](){const _0x5b68d4=a125_0x4e63c4,_0x512c3b={'VaqCL':function(_0x39c2fa,_0x2c5c30){return _0x39c2fa(_0x2c5c30);},'agLnB':function(_0x290df1,_0xe1959a,_0x31f20e){return _0x290df1(_0xe1959a,_0x31f20e);},'smPUb':_0x5b68d4(0x1ca),'BZLJv':_0x5b68d4(0x1b2)},_0x44265b=await this.#getBinaryPath();return new Promise((_0x5adc87,_0xa06b2c)=>{const _0x45490b={'eLvpk':function(_0x51355a,_0x41ff20){const _0x177bd2=a125_0x1c86;return _0x512c3b[_0x177bd2(0x1c5)](_0x51355a,_0x41ff20);}},_0xf20679=_0x512c3b['agLnB'](spawn,_0x44265b,[_0x512c3b['smPUb']]);_0xf20679['on'](_0x512c3b['BZLJv'],_0x36f46a=>{const _0x245fc1=a125_0x1c86;this[_0x245fc1(0x1e8)]=![],this.#logStream&&(this.#logStream[_0x245fc1(0x1d2)](),this.#logStream=null),_0x45490b[_0x245fc1(0x1d9)](_0x5adc87,_0x36f46a);});});}[a125_0x4e63c4(0x1e2)](){const _0x7e9e22=a125_0x4e63c4;return this[_0x7e9e22(0x1e8)];}async['fetchPercyToken'](){const _0x4897b4=a125_0x4e63c4,_0x1b4897={};_0x1b4897[_0x4897b4(0x1d3)]='app',_0x1b4897['ltmvx']=_0x4897b4(0x1cd),_0x1b4897['KxnSq']=_0x4897b4(0x1af),_0x1b4897['OLNNW']=_0x4897b4(0x1c8);const _0x55c89e=_0x1b4897,_0x3ef312=this.#config[_0x4897b4(0x1a2)];try{const _0x141607=this.#isApp?_0x55c89e[_0x4897b4(0x1d3)]:_0x55c89e[_0x4897b4(0x1bb)],_0x433822=await helper[_0x4897b4(0x1e4)](_0x55c89e['KxnSq'],_0x4897b4(0x1ae)+_0x3ef312+'&type='+_0x141607,{},this.#config),_0x4f2047=_0x433822[_0x4897b4(0x1b4)];return logger[_0x4897b4(0x1bd)](_0x55c89e[_0x4897b4(0x1c0)]),_0x4f2047[_0x4897b4(0x1e6)];}catch(_0x28fb99){return logger[_0x4897b4(0x1ea)](_0x4897b4(0x1d1)+_0x28fb99),null;}}async[a125_0x4e63c4(0x1a7)](){const _0x59fa33=a125_0x4e63c4,_0x1d212f={'mkPwF':function(_0x27ff0a,_0x390295){return _0x27ff0a(_0x390295);},'AJbgD':function(_0x38ba6b,_0x187bbf){return _0x38ba6b+_0x187bbf;},'bWOWc':_0x59fa33(0x1de),'amznQ':_0x59fa33(0x1c2)};if(!this.#config[_0x59fa33(0x1bc)])return null;const _0x904958=path[_0x59fa33(0x1e9)](os[_0x59fa33(0x1b6)](),_0x1d212f[_0x59fa33(0x1e3)]),_0x5a3b9f=this.#config['percyOptions'];return!_0x5a3b9f[_0x59fa33(0x1d5)]&&(_0x5a3b9f[_0x59fa33(0x1d5)]='2'),new Promise((_0xc53817,_0x3979f0)=>{const _0x34ec50=_0x59fa33,_0x1e1f6f={'yOEBS':function(_0x390738,_0x370290){const _0x544663=a125_0x1c86;return _0x1d212f[_0x544663(0x1a5)](_0x390738,_0x370290);},'ICqYp':function(_0x7cdb57,_0x28469a){const _0x4e3946=a125_0x1c86;return _0x1d212f[_0x4e3946(0x19f)](_0x7cdb57,_0x28469a);},'Tiagm':_0x1d212f[_0x34ec50(0x1cb)],'riXZW':function(_0x4366ba,_0x307160){const _0x4c5492=_0x34ec50;return _0x1d212f[_0x4c5492(0x1a5)](_0x4366ba,_0x307160);}};fs['writeFile'](_0x904958,JSON['stringify'](_0x5a3b9f),_0x3198ce=>{const _0x57c080=_0x34ec50;_0x3198ce&&(logger[_0x57c080(0x1ea)](_0x57c080(0x1e0)+_0x3198ce),_0x1e1f6f[_0x57c080(0x1c1)](_0xc53817,null)),logger['debug'](_0x1e1f6f[_0x57c080(0x1e1)](_0x1e1f6f[_0x57c080(0x1c6)],_0x904958)),_0x1e1f6f[_0x57c080(0x1ba)](_0xc53817,_0x904958);});});}}module[a125_0x4e63c4(0x1ce)]=Percy;function a125_0x1c86(_0x2399b0,_0x84e33d){const _0x5dbbf5=a125_0x5dbb();return a125_0x1c86=function(_0x1c8615,_0x1e4478){_0x1c8615=_0x1c8615-0x19a;let _0x3acfb9=_0x5dbbf5[_0x1c8615];return _0x3acfb9;},a125_0x1c86(_0x2399b0,_0x84e33d);}function a125_0x5dbb(){const _0x2b92d3=['ltmvx','percyOptions','debug','assign','58506bQoAcd','OLNNW','yOEBS','percy.json','IxyyV','start','VaqCL','Tiagm','30HKNKSs','Percy\x20fetch\x20token\x20success','240016fYSNJb','exec:stop','bWOWc','percy/healthcheck','automate','exports','hdbLf','percy.log','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','end','MUjaU','HUndK','version','5406264cqaeqP','child_process','push','eLvpk','20Cjkukn','winstonLogger','createWriteStream','824841ejhPsd','Percy\x20config\x20created\x20at\x20','app','Error\x20creating\x20percy\x20config:\x20','ICqYp','isRunning','amznQ','nodeRequest','fetchPercyToken','token','env','isProcessRunning','join','error','2988419tCLkFT','stop','DOWNLOAD','ZyTEY','nnUEj','AJbgD','Percy\x20healthcheck\x20successful','../../helpers/performance/performance-tester','projectName','pipe','stderr','mkPwF','path','createPercyConfig','ICzdX','BROWSERSTACK_TESTHUB_UUID','../logger','../../helpers/performance/constants','http://localhost:5338','2393960LRSUoj','api/app_percy/get_project_token?name=','GET','../helper','gwcsj','close','healthcheck','data','665451XIjPIj','tmpdir','stdout','getBinaryPath','63brjyfQ','riXZW'];a125_0x5dbb=function(){return _0x2b92d3;};return a125_0x5dbb();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126_0x3e4318=a126_0x1105;(function(_0x3dabac,_0x46cc47){const _0x39bfd0=a126_0x1105,_0x2fad3f=_0x3dabac();while(!![]){try{const _0x5cd883=parseInt(_0x39bfd0(0x1cb))/0x1*(-parseInt(_0x39bfd0(0x220))/0x2)+-parseInt(_0x39bfd0(0x1f6))/0x3*(-parseInt(_0x39bfd0(0x21e))/0x4)+-parseInt(_0x39bfd0(0x223))/0x5+parseInt(_0x39bfd0(0x1bb))/0x6*(-parseInt(_0x39bfd0(0x1cf))/0x7)+-parseInt(_0x39bfd0(0x1ec))/0x8*(parseInt(_0x39bfd0(0x1c9))/0x9)+-parseInt(_0x39bfd0(0x252))/0xa+parseInt(_0x39bfd0(0x256))/0xb*(parseInt(_0x39bfd0(0x1cd))/0xc);if(_0x5cd883===_0x46cc47)break;else _0x2fad3f['push'](_0x2fad3f['shift']());}catch(_0x1026b4){_0x2fad3f['push'](_0x2fad3f['shift']());}}}(a126_0x2d47,0x741a9));const {https}=require(a126_0x3e4318(0x237)),url=require(a126_0x3e4318(0x213)),yauzl=require(a126_0x3e4318(0x24d)),fs=require('fs'),path=require(a126_0x3e4318(0x229)),os=require('os'),{spawn}=require(a126_0x3e4318(0x1c8)),HttpsProxyAgent=require(a126_0x3e4318(0x22f)),logger=require(a126_0x3e4318(0x20e))[a126_0x3e4318(0x1bd)];function a126_0x1105(_0x592100,_0x40981d){const _0x2d4792=a126_0x2d47();return a126_0x1105=function(_0x11059f,_0x1dd7cc){_0x11059f=_0x11059f-0x1b9;let _0x25f4fb=_0x2d4792[_0x11059f];return _0x25f4fb;},a126_0x1105(_0x592100,_0x40981d);}function a126_0x2d47(){const _0xad6b0b=['VvZeX','trim','yfwgz','dGDNw','CgnKH','qxomq','pvAjB','kQCnf','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','hxAhe','ozngn','validateBinary','USER','HOMEDRIVE','oEMdt','/home/','linux','warn','8uFddRp','getuid','oVOns','once','createWriteStream','error','ISccg','GykGo','CYqrX','debug','18eFFflY','parse','get','match','etag','ghlZo','MzlBw','MUpRw','extractAndSaveBinary','vjtsk','binaryPath','.browserstack','join','HbGlP','XnizO','proxyPort','Failed\x20to\x20read\x20ETag\x20file:\x20','length','SQzLQ','statusCode','pipe','pObdO','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','ijXEx','../logger','Saved\x20new\x20ETag\x20for\x20percy\x20binary','platform','https://github.com/percy/cli/releases/latest/download','/percy-win.zip','url','percy.exe','USERPROFILE','lazyEntries','/percy-osx.zip','vkPXt','xoiaK','.etag','SzPyq','/root','zyDWQ','625408lBWbtl','R_OK','2874xLbrRn','WlrJE','oarNg','20040bTbWDv','percy','uOMpl','headers','statSync','--version','path','close','jTHAK','iZxOu','undefined','cwd','https-proxy-agent','UntmQ','ADDTF','ZLiXf','W_OK','useCaCertificate','HCbFa','TuHZf','follow-redirects','nUbBu','sFGey','TMVWL','dupfp','CMueP','JnedZ','writeFileSync','needsUpdate','USuTP','chmod','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','HOMEPATH','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','/Users/','host','AlrIj','env','fileName','download','function','agent','yauzl','pfQoN','tmpdir','LNAME','catch','1037700GoKCCG','yQPDQ','homedir','If-None-Match','6942331qbTLVw','readFileSync','.zip','4998930fuBwVY','mkdirSync','winstonLogger','ZWPMR','readEntry','HOME','accessSync','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','Connection','exports','ZNeqE','data','HxpZP','child_process','8091882MwSEOV','port','359pxHwaj','mtiwp','36GcRSBX','test','7UzVamq','LPmMA','X_OK','darwin','/percy-linux.zip','proxyHost','vUhCz','tLrNH','MmfSM','getBinaryPath','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'];a126_0x2d47=function(){return _0xad6b0b;};return a126_0x2d47();}class PercyBinary{#hostOS=process['platform'];#httpPath=null;#binaryName=a126_0x3e4318(0x224);#orderedPaths=[path[a126_0x3e4318(0x202)](this.#homedir(),a126_0x3e4318(0x201)),process[a126_0x3e4318(0x22e)](),os[a126_0x3e4318(0x24f)]()];constructor(){const _0x358c52=a126_0x3e4318,_0x52db78={};_0x52db78[_0x358c52(0x1de)]=_0x358c52(0x211),_0x52db78[_0x358c52(0x1e0)]=function(_0x3254af,_0xf44c66){return _0x3254af+_0xf44c66;},_0x52db78[_0x358c52(0x1da)]=_0x358c52(0x217),_0x52db78[_0x358c52(0x23c)]=function(_0x4c33f4,_0x33b364){return _0x4c33f4+_0x33b364;},_0x52db78[_0x358c52(0x225)]=_0x358c52(0x212),_0x52db78[_0x358c52(0x1dc)]=_0x358c52(0x214),_0x52db78[_0x358c52(0x23a)]=function(_0x34f694,_0x2a8544){return _0x34f694+_0x2a8544;},_0x52db78[_0x358c52(0x1e8)]=_0x358c52(0x1d3);const _0x11e09b=_0x52db78,_0x2e9bad=_0x11e09b[_0x358c52(0x1de)];if(this.#hostOS[_0x358c52(0x1f9)](/darwin|mac os/i))this.#httpPath=_0x11e09b[_0x358c52(0x1e0)](_0x2e9bad,_0x11e09b['VvZeX']);else this.#hostOS[_0x358c52(0x1f9)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x11e09b[_0x358c52(0x23c)](_0x2e9bad,_0x11e09b['uOMpl']),this.#binaryName=_0x11e09b[_0x358c52(0x1dc)]):this.#httpPath=_0x11e09b[_0x358c52(0x23a)](_0x2e9bad,_0x11e09b[_0x358c52(0x1e8)]);}#getAvailableDirs(){const _0x1e4337=a126_0x3e4318,_0x1ddea6={};_0x1ddea6[_0x1e4337(0x24e)]=function(_0x55315a,_0x8bd9b9){return _0x55315a<_0x8bd9b9;},_0x1ddea6[_0x1e4337(0x230)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0xd061dc=_0x1ddea6;for(var _0x3962e5=0x0;_0xd061dc[_0x1e4337(0x24e)](_0x3962e5,this.#orderedPaths[_0x1e4337(0x207)]);_0x3962e5++){var _0x54e623=this.#orderedPaths[_0x3962e5];if(this.#makePath(_0x54e623))return _0x54e623;}throw new Error(_0xd061dc[_0x1e4337(0x230)]);}#makePath(_0xbd10f){const _0x38ff06=a126_0x3e4318;try{return _0xbd10f&&!this.#checkPath(_0xbd10f)&&fs[_0x38ff06(0x1bc)](_0xbd10f),!![];}catch{return![];}}#checkPath(_0x5d433e,_0x155fe8){const _0x5db81c=a126_0x3e4318,_0x5f4c49={};_0x5f4c49[_0x5db81c(0x1d0)]=function(_0x194e86,_0x4ac592){return _0x194e86|_0x4ac592;},_0x5f4c49[_0x5db81c(0x235)]=function(_0x1f17d8,_0x54419c){return _0x1f17d8!==_0x54419c;},_0x5f4c49['ldSRD']=_0x5db81c(0x22d);const _0x52238d=_0x5f4c49;_0x155fe8=_0x155fe8||_0x52238d['LPmMA'](fs[_0x5db81c(0x21f)],fs[_0x5db81c(0x233)]);try{return fs[_0x5db81c(0x1c1)](_0x5d433e,_0x155fe8),!![];}catch(_0xc15b45){if(_0x52238d['HCbFa'](typeof fs[_0x5db81c(0x1c1)],_0x52238d['ldSRD']))return![];try{return fs[_0x5db81c(0x227)](_0x5d433e),!![];}catch(_0x866d37){return![];}}}#getETagPath(_0x20f94a){const _0x4b49ba=a126_0x3e4318;return path['join'](_0x20f94a,this.#binaryName+_0x4b49ba(0x21a));}#loadETag(_0x469c97){const _0x1e9f05=a126_0x3e4318,_0x550b1c={};_0x550b1c[_0x1e9f05(0x1d7)]='utf8';const _0x251b03=_0x550b1c,_0x311319=this.#getETagPath(_0x469c97);if(this.#checkPath(_0x311319))try{return fs['readFileSync'](_0x311319,_0x251b03['MmfSM'])[_0x1e9f05(0x1db)]();}catch(_0x5b7125){logger[_0x1e9f05(0x1eb)](_0x1e9f05(0x206)+_0x5b7125);}return null;}#saveETag(_0x11ccc5,_0x250c57){const _0x5962f5=a126_0x3e4318,_0x50919c={};_0x50919c['TuHZf']=_0x5962f5(0x20f);const _0x4c3d53=_0x50919c;if(!_0x250c57)return;try{const _0x4d8d72=this.#getETagPath(_0x11ccc5);fs[_0x5962f5(0x23e)](_0x4d8d72,_0x250c57),logger['debug'](_0x4c3d53[_0x5962f5(0x236)]);}catch(_0x74a7f9){logger[_0x5962f5(0x1eb)]('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x74a7f9);}}async #handleBinaryDownload(_0x4a2aa2,_0x2c0bd4,_0x4debf2){const _0x42e697=a126_0x3e4318,_0x4c5bc2={};_0x4c5bc2[_0x42e697(0x231)]=_0x42e697(0x242);const _0x989b6e=_0x4c5bc2,_0x30dde0=await this['validateBinary'](_0x4a2aa2['binaryPath']);if(!_0x30dde0){logger[_0x42e697(0x1f1)](_0x989b6e[_0x42e697(0x231)]);const _0x2febd1=await this[_0x42e697(0x24a)](_0x2c0bd4,_0x4debf2);return _0x2febd1[_0x42e697(0x200)];}return _0x4a2aa2[_0x42e697(0x200)];}async[a126_0x3e4318(0x1d8)](_0x282405){const _0x265d5e=a126_0x3e4318,_0x8ab3b1={};_0x8ab3b1[_0x265d5e(0x1fd)]='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x8ab3b1[_0x265d5e(0x240)]=_0x265d5e(0x244);const _0x1d0e7b=_0x8ab3b1,_0x3c63b2=this.#getAvailableDirs(),_0x2437dd=path[_0x265d5e(0x202)](_0x3c63b2,this.#binaryName);if(this.#checkPath(_0x2437dd,fs[_0x265d5e(0x1d1)])){const _0x364745=this.#loadETag(_0x3c63b2);if(_0x364745)try{const _0x30b61a=await this[_0x265d5e(0x24a)](_0x282405,_0x3c63b2,_0x364745);if(!_0x30b61a[_0x265d5e(0x23f)])return logger['debug'](_0x1d0e7b[_0x265d5e(0x1fd)]),_0x2437dd;return logger[_0x265d5e(0x1f5)](_0x1d0e7b[_0x265d5e(0x240)]),await this.#handleBinaryDownload(_0x30b61a,_0x282405,_0x3c63b2);}catch(_0x27e008){return logger['warn'](_0x265d5e(0x1c2)+_0x27e008),_0x2437dd;}}const _0x466bd5=await this['download'](_0x282405,_0x3c63b2);return await this.#handleBinaryDownload(_0x466bd5,_0x282405,_0x3c63b2);}[a126_0x3e4318(0x24a)](_0x59c147,_0xca8caf,_0x2c08f6=null){const _0x169fa7=a126_0x3e4318,_0x1f98b3={'jTHAK':function(_0x1abc8a,_0x1a7981){return _0x1abc8a(_0x1a7981);},'DOYDV':function(_0x2aa623,_0x1d93ba){return _0x2aa623===_0x1d93ba;},'ZWPMR':function(_0x10acc3,_0x3a83af){return _0x10acc3(_0x3a83af);},'ZNeqE':'error','CYqrX':'close','JnedZ':function(_0x3abe52,_0x25aa5d){return _0x3abe52(_0x25aa5d);},'fntzF':function(_0x1de713,_0x355cff){return _0x1de713+_0x355cff;},'GykGo':_0x169fa7(0x1ba)};_0xca8caf&&!this.#checkPath(_0xca8caf)&&fs[_0x169fa7(0x1bc)](_0xca8caf);const _0x5e7777=this.#binaryName,_0x40fe31=path['join'](_0xca8caf,_0x1f98b3['fntzF'](_0x5e7777,_0x1f98b3[_0x169fa7(0x1f3)])),_0x1fa56e=fs[_0x169fa7(0x1f0)](_0x40fe31),_0x29b0fa=url[_0x169fa7(0x1f7)](this.#httpPath);if(_0x59c147[_0x169fa7(0x1d4)]&&_0x59c147[_0x169fa7(0x205)]){const _0x8956b9={};_0x8956b9[_0x169fa7(0x246)]=_0x59c147[_0x169fa7(0x1d4)],_0x8956b9[_0x169fa7(0x1ca)]=_0x59c147[_0x169fa7(0x205)],_0x29b0fa[_0x169fa7(0x24c)]=new HttpsProxyAgent(_0x8956b9);}if(_0x59c147[_0x169fa7(0x234)])try{_0x29b0fa['ca']=fs[_0x169fa7(0x1b9)](_0x59c147[_0x169fa7(0x234)]);}catch(_0x45f10d){logger[_0x169fa7(0x1f1)](_0x169fa7(0x1e2)+_0x45f10d);}if(_0x2c08f6){const _0x503871={};_0x503871[_0x169fa7(0x255)]=_0x2c08f6,_0x503871[_0x169fa7(0x1c3)]=_0x1f98b3[_0x169fa7(0x1f4)],_0x29b0fa[_0x169fa7(0x226)]=_0x503871;}else{const _0x1e2527={};_0x1e2527[_0x169fa7(0x1c3)]=_0x1f98b3[_0x169fa7(0x1f4)],_0x29b0fa[_0x169fa7(0x226)]=_0x1e2527;}return new Promise((_0x54cb52,_0x4b9ed9)=>{const _0x5011c9=_0x169fa7,_0x40deb3={'jOEBQ':function(_0x37e01b,_0x1234f1){const _0x50465f=a126_0x1105;return _0x1f98b3[_0x50465f(0x23d)](_0x37e01b,_0x1234f1);},'dGDNw':function(_0x540c32,_0x1e9b0c){return _0x1f98b3['ZWPMR'](_0x540c32,_0x1e9b0c);}};https[_0x5011c9(0x1f8)](_0x29b0fa,_0x357813=>{const _0x228d52=_0x5011c9,_0x316061={'tLrNH':function(_0x5e0608,_0x11f018){const _0x279e68=a126_0x1105;return _0x1f98b3[_0x279e68(0x22b)](_0x5e0608,_0x11f018);}};if(_0x2c08f6&&_0x1f98b3['DOYDV'](_0x357813[_0x228d52(0x209)],0x130)){_0x1fa56e['destroy']();const _0x1c2317={};_0x1c2317[_0x228d52(0x23f)]=![],_0x1f98b3[_0x228d52(0x1be)](_0x54cb52,_0x1c2317);return;}const _0x47b637=_0x357813[_0x228d52(0x226)][_0x228d52(0x1fa)];_0x47b637&&this.#saveETag(_0xca8caf,_0x47b637),_0x357813[_0x228d52(0x20a)](_0x1fa56e),_0x357813['on'](_0x1f98b3[_0x228d52(0x1c5)],function(_0x2bd7ab){const _0x1f6116=_0x228d52;logger[_0x1f6116(0x1f1)](_0x1f6116(0x20c)+_0x2bd7ab),_0x40deb3['jOEBQ'](_0x4b9ed9,_0x2bd7ab);}),_0x1fa56e['on'](_0x1f98b3[_0x228d52(0x1c5)],function(_0x2d91dd){const _0x5dce39=_0x228d52;logger[_0x5dce39(0x1f1)](_0x5dce39(0x1d9)+_0x2d91dd),_0x316061[_0x5dce39(0x1d6)](_0x4b9ed9,_0x2d91dd);}),_0x1fa56e['on'](_0x1f98b3['CYqrX'],()=>{const _0x3c6b67=_0x228d52;this[_0x3c6b67(0x1fe)](_0x40fe31,_0xca8caf)['then'](_0x26d207=>_0x54cb52({'needsUpdate':!![],'binaryPath':_0x26d207}))[_0x3c6b67(0x251)](_0x4b9ed9);});})['on'](_0x1f98b3[_0x5011c9(0x1c5)],function(_0x35fe6c){const _0xc5ba59=_0x5011c9;logger[_0xc5ba59(0x1f1)]('Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20'+_0x35fe6c),_0x40deb3[_0xc5ba59(0x1dd)](_0x4b9ed9,_0x35fe6c);});});}[a126_0x3e4318(0x1fe)](_0x2bf517,_0x1a15b4){const _0x3680c5=a126_0x3e4318,_0x130e81={'ghlZo':function(_0x3e4605,_0x1dc852){return _0x3e4605(_0x1dc852);},'yQPDQ':'end','dupfp':function(_0x14da91,_0x1129b4){return _0x14da91===_0x1129b4;},'HxpZP':'0755','vjtsk':'entry','nUbBu':_0x3680c5(0x1f1)},_0x12c7f4=this.#binaryName,_0x545aed=path[_0x3680c5(0x202)](_0x1a15b4,_0x12c7f4);return new Promise((_0x30602c,_0x4400bd)=>{const _0x3abff6=_0x3680c5,_0x34c6b8={'vUhCz':function(_0x59b73d,_0x2924e5){return _0x130e81['ghlZo'](_0x59b73d,_0x2924e5);},'ZLiXf':_0x130e81[_0x3abff6(0x253)],'wqAbc':function(_0x42280e,_0x48fe83){const _0x4227fe=_0x3abff6;return _0x130e81[_0x4227fe(0x23b)](_0x42280e,_0x48fe83);},'ijXEx':function(_0x2b546f,_0x49707c){const _0x592110=_0x3abff6;return _0x130e81[_0x592110(0x1fb)](_0x2b546f,_0x49707c);},'sFGey':_0x130e81[_0x3abff6(0x1c7)],'UWXrS':_0x130e81[_0x3abff6(0x1ff)],'Ieivo':_0x130e81[_0x3abff6(0x238)]},_0x1d8879={};_0x1d8879[_0x3abff6(0x216)]=!![],yauzl['open'](_0x2bf517,_0x1d8879,function(_0x58cd02,_0x12ae1f){const _0x1a9fdc=_0x3abff6,_0x2c97c4={'XnizO':function(_0xcb30b5,_0xd0512e){const _0x39720f=a126_0x1105;return _0x34c6b8[_0x39720f(0x1d5)](_0xcb30b5,_0xd0512e);},'IHOLf':_0x34c6b8[_0x1a9fdc(0x232)],'YkpfS':function(_0x3538d2,_0x502ba0){return _0x34c6b8['wqAbc'](_0x3538d2,_0x502ba0);},'SQzLQ':function(_0x1f2218,_0x2fcc4e){const _0x34cb6d=_0x1a9fdc;return _0x34c6b8[_0x34cb6d(0x20d)](_0x1f2218,_0x2fcc4e);},'FCoNV':_0x34c6b8[_0x1a9fdc(0x239)]};_0x58cd02&&_0x34c6b8[_0x1a9fdc(0x1d5)](_0x4400bd,_0x58cd02),_0x12ae1f['readEntry'](),_0x12ae1f['on'](_0x34c6b8['UWXrS'],_0x1a880b=>{const _0x2166a5=_0x1a9fdc,_0x46ca4a={'ozngn':function(_0x1fe036,_0x5d99eb){return _0x2c97c4['XnizO'](_0x1fe036,_0x5d99eb);},'ISccg':_0x2c97c4['IHOLf']};if(/\/$/['test'](_0x1a880b[_0x2166a5(0x249)]))_0x12ae1f[_0x2166a5(0x1bf)]();else{const _0x3c5045=fs[_0x2166a5(0x1f0)](path[_0x2166a5(0x202)](_0x1a15b4,_0x1a880b[_0x2166a5(0x249)]));_0x12ae1f['openReadStream'](_0x1a880b,function(_0x338dac,_0x2861f6){const _0x1461f9=_0x2166a5;_0x338dac&&_0x46ca4a[_0x1461f9(0x1e4)](_0x4400bd,_0x58cd02),_0x2861f6['on'](_0x46ca4a[_0x1461f9(0x1f2)],function(){const _0x1e5297=_0x1461f9;_0x3c5045['close'](),_0x12ae1f[_0x1e5297(0x1bf)]();}),_0x2861f6['pipe'](_0x3c5045);}),_0x2c97c4['YkpfS'](_0x1a880b['fileName'],_0x12c7f4)&&_0x12ae1f['close']();}}),_0x12ae1f['on'](_0x34c6b8['Ieivo'],_0x855471=>{const _0x399c45=_0x1a9fdc;_0x2c97c4[_0x399c45(0x204)](_0x4400bd,_0x855471);}),_0x12ae1f[_0x1a9fdc(0x1ef)](_0x34c6b8['ZLiXf'],()=>{const _0xd4625a=_0x1a9fdc,_0x311c03={'gfkdA':function(_0x100709,_0x48448a){const _0x7b7644=a126_0x1105;return _0x2c97c4[_0x7b7644(0x208)](_0x100709,_0x48448a);},'hxAhe':function(_0x164f7c,_0x225512){return _0x2c97c4['SQzLQ'](_0x164f7c,_0x225512);}};fs[_0xd4625a(0x241)](_0x545aed,_0x2c97c4['FCoNV'],function(_0x34b436){const _0x6248d0=_0xd4625a;_0x34b436&&_0x311c03['gfkdA'](_0x4400bd,_0x34b436),_0x311c03[_0x6248d0(0x1e3)](_0x30602c,_0x545aed);}),_0x12ae1f[_0xd4625a(0x22a)]();});});});}async[a126_0x3e4318(0x1e5)](_0x4e1357){const _0x11035b=a126_0x3e4318,_0x3fb20f={'iZxOu':function(_0x26f784,_0x1eaa7d){return _0x26f784(_0x1eaa7d);},'Dqebw':function(_0x3b6a9b,_0x5e35d6,_0x2e5177,_0x4e662b){return _0x3b6a9b(_0x5e35d6,_0x2e5177,_0x4e662b);},'IhzXu':_0x11035b(0x228),'UrgiC':_0x11035b(0x1c6),'xoiaK':_0x11035b(0x22a)},_0x338b3b=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x511eec,_0x297688)=>{const _0x3b0e3b=_0x11035b,_0x29b1c4={'HbGlP':function(_0x2002c4,_0x3aee03){const _0x122a63=a126_0x1105;return _0x3fb20f[_0x122a63(0x22c)](_0x2002c4,_0x3aee03);}},_0x58f0b1={};_0x58f0b1['env']=process['env'];const _0x3c7abe=_0x3fb20f['Dqebw'](spawn,_0x4e1357,[_0x3fb20f['IhzXu']],_0x58f0b1);_0x3c7abe['stdout']['on'](_0x3fb20f['UrgiC'],_0x1f6ef5=>{const _0x3b84d0=a126_0x1105;_0x338b3b[_0x3b84d0(0x1ce)](_0x1f6ef5)&&_0x29b1c4[_0x3b84d0(0x203)](_0x511eec,!![]);}),_0x3c7abe['on'](_0x3fb20f[_0x3b0e3b(0x219)],()=>{const _0x3f4687=_0x3b0e3b;_0x29b1c4[_0x3f4687(0x203)](_0x511eec,![]);});});}#homedir(){const _0x129f92=a126_0x3e4318,_0x27611b={};_0x27611b[_0x129f92(0x247)]=function(_0x3e335e,_0x42d624){return _0x3e335e===_0x42d624;},_0x27611b[_0x129f92(0x1ee)]=_0x129f92(0x24b),_0x27611b[_0x129f92(0x1e1)]='win32',_0x27611b['OSreg']=function(_0x9093ca,_0x4deb8f){return _0x9093ca+_0x4deb8f;},_0x27611b[_0x129f92(0x21d)]=function(_0x5744ad,_0x56d042){return _0x5744ad===_0x56d042;},_0x27611b[_0x129f92(0x21b)]=_0x129f92(0x1d2),_0x27611b[_0x129f92(0x218)]=function(_0x54acc6,_0x55cbff){return _0x54acc6+_0x55cbff;},_0x27611b[_0x129f92(0x221)]=_0x129f92(0x245),_0x27611b[_0x129f92(0x1fc)]=function(_0x51b0c3,_0x21f136){return _0x51b0c3===_0x21f136;},_0x27611b[_0x129f92(0x20b)]=_0x129f92(0x1ea),_0x27611b[_0x129f92(0x222)]=function(_0x2a02d1,_0x1e98ce){return _0x2a02d1===_0x1e98ce;},_0x27611b['dOxIY']=_0x129f92(0x21c),_0x27611b['qxomq']=_0x129f92(0x1e9),_0x27611b[_0x129f92(0x1cc)]=function(_0x2d496b,_0x420362){return _0x2d496b||_0x420362;};const _0x1eecde=_0x27611b;if(_0x1eecde['AlrIj'](typeof os[_0x129f92(0x254)],_0x1eecde[_0x129f92(0x1ee)]))return os[_0x129f92(0x254)]();const _0xdb896d=process[_0x129f92(0x248)],_0x1f387a=_0xdb896d[_0x129f92(0x1c0)],_0x42acb3=_0xdb896d['LOGNAME']||_0xdb896d[_0x129f92(0x1e6)]||_0xdb896d[_0x129f92(0x250)]||_0xdb896d['USERNAME'];if(_0x1eecde['AlrIj'](process[_0x129f92(0x210)],_0x1eecde[_0x129f92(0x1e1)]))return _0xdb896d[_0x129f92(0x215)]||_0x1eecde['OSreg'](_0xdb896d[_0x129f92(0x1e7)],_0xdb896d[_0x129f92(0x243)])||_0x1f387a||null;if(_0x1eecde[_0x129f92(0x21d)](process[_0x129f92(0x210)],_0x1eecde[_0x129f92(0x21b)]))return _0x1f387a||(_0x42acb3?_0x1eecde[_0x129f92(0x218)](_0x1eecde[_0x129f92(0x221)],_0x42acb3):null);if(_0x1eecde['MzlBw'](process[_0x129f92(0x210)],_0x1eecde['pObdO']))return _0x1f387a||(_0x1eecde[_0x129f92(0x222)](process[_0x129f92(0x1ed)](),0x0)?_0x1eecde['dOxIY']:_0x42acb3?_0x1eecde['vkPXt'](_0x1eecde[_0x129f92(0x1df)],_0x42acb3):null);return _0x1eecde[_0x129f92(0x1cc)](_0x1f387a,null);}}module[a126_0x3e4318(0x1c4)]=PercyBinary;
|
|
1
|
+
function a126_0x1888(){const _0xdc9cc9=['.etag','env','ehdFo','readFileSync','YgeiS','lazyEntries','R_OK','binaryPath','then','accessSync','host','aXklY','HOMEDRIVE','needsUpdate','../logger','78SBHbDi','WZtuv','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','.browserstack','extractAndSaveBinary','aSHRJ','Mvpig','close','HOME','fileName','join','LOGNAME','Connection','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','UCRoJ','hYQID','lhbqP','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','nruyz','bAtEu','xXleX','/percy-linux.zip','download','cNQVH','etag','SjoFw','avetw','function','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','GJvNO','HDtxU','USER','436889HzzMBi','.zip','statSync','TiWHM','url','LNAME','undefined','fCzwz','22040iokKJD','WQQbf','platform','KxfaI','createWriteStream','/home/','MxpTz','percy.exe','chmod','test','homedir','jOGPB','VPnyk','FOuWE','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','warn','HYTqO','XdwXQ','getBinaryPath','yauzl','QkHRS','error','FYiYu','trim','/root','wjLmu','exports','VeuUA','entry','proxyPort','RPmQL','2935925vDwwAA','--version','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','Error\x20trying\x20to\x20download\x20percy\x20binary','agent','USERPROFILE','273679qtIjzB','proxyHost','catch','linux','svRKt','W_OK','TovxY','bdfEI','ibwjK','validateBinary','luwZP','end','open','mkdirSync','xGTPa','lpzVT','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','2869479GhwilL','utf8','995284fYKwYf','/percy-win.zip','mrTDA','win32','QGlVz','cwd','Ihcio','3951rwuCoC','tmpdir','/percy-osx.zip','ZzIVE','/Users/','IwqJH','https://github.com/percy/cli/releases/latest/download','debug','uavNY','percy','once','pipe','useCaCertificate','Failed\x20to\x20save\x20ETag\x20file:\x20','QbEmZ','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','WHXku','UDhum','Saved\x20new\x20ETag\x20for\x20percy\x20binary','lCNpc','ceQhq','path','headers','USERNAME','getuid','mvHyd','match','nHsMa','lfRkg','749984QBdIFV','yPmRx','sJIap','HOMEPATH'];a126_0x1888=function(){return _0xdc9cc9;};return a126_0x1888();}const a126_0x2aa8db=a126_0x580f;function a126_0x580f(_0x33296e,_0x26aa3e){const _0x188894=a126_0x1888();return a126_0x580f=function(_0x580f0d,_0x2a270a){_0x580f0d=_0x580f0d-0x1e1;let _0x46df0c=_0x188894[_0x580f0d];return _0x46df0c;},a126_0x580f(_0x33296e,_0x26aa3e);}(function(_0x4b11a8,_0x2908f3){const _0x3f2762=a126_0x580f,_0xc4bf9c=_0x4b11a8();while(!![]){try{const _0x342518=-parseInt(_0x3f2762(0x219))/0x1+parseInt(_0x3f2762(0x1e6))/0x2+-parseInt(_0x3f2762(0x257))/0x3+parseInt(_0x3f2762(0x259))/0x4+parseInt(_0x3f2762(0x240))/0x5+-parseInt(_0x3f2762(0x1f9))/0x6*(parseInt(_0x3f2762(0x246))/0x7)+parseInt(_0x3f2762(0x221))/0x8*(parseInt(_0x3f2762(0x260))/0x9);if(_0x342518===_0x2908f3)break;else _0xc4bf9c['push'](_0xc4bf9c['shift']());}catch(_0x1fe3b0){_0xc4bf9c['push'](_0xc4bf9c['shift']());}}}(a126_0x1888,0x7ea90));const {https}=require('follow-redirects'),url=require(a126_0x2aa8db(0x21d)),yauzl=require(a126_0x2aa8db(0x234)),fs=require('fs'),path=require(a126_0x2aa8db(0x275)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a126_0x2aa8db(0x1f8))['winstonLogger'];class PercyBinary{#hostOS=process[a126_0x2aa8db(0x223)];#httpPath=null;#binaryName=a126_0x2aa8db(0x269);#orderedPaths=[path['join'](this.#homedir(),a126_0x2aa8db(0x1fc)),process[a126_0x2aa8db(0x25e)](),os[a126_0x2aa8db(0x261)]()];constructor(){const _0x3bd43e=a126_0x2aa8db,_0x394477={};_0x394477[_0x3bd43e(0x231)]=_0x3bd43e(0x266),_0x394477[_0x3bd43e(0x1e5)]=function(_0x3ad421,_0x22cb49){return _0x3ad421+_0x22cb49;},_0x394477['KxfaI']=_0x3bd43e(0x262),_0x394477['luwZP']=function(_0x6bbcb7,_0x4ae476){return _0x6bbcb7+_0x4ae476;},_0x394477[_0x3bd43e(0x24c)]=_0x3bd43e(0x25a),_0x394477[_0x3bd43e(0x25f)]=_0x3bd43e(0x228),_0x394477[_0x3bd43e(0x255)]=function(_0x51aa5e,_0x3ec516){return _0x51aa5e+_0x3ec516;},_0x394477[_0x3bd43e(0x1f5)]=_0x3bd43e(0x20e);const _0x23732d=_0x394477,_0x9dafac=_0x23732d['HYTqO'];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0x23732d[_0x3bd43e(0x1e5)](_0x9dafac,_0x23732d[_0x3bd43e(0x224)]);else this.#hostOS[_0x3bd43e(0x1e3)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x23732d[_0x3bd43e(0x250)](_0x9dafac,_0x23732d[_0x3bd43e(0x24c)]),this.#binaryName=_0x23732d[_0x3bd43e(0x25f)]):this.#httpPath=_0x23732d[_0x3bd43e(0x255)](_0x9dafac,_0x23732d[_0x3bd43e(0x1f5)]);}#getAvailableDirs(){const _0x5f2fa0=a126_0x2aa8db,_0x1a76cd={};_0x1a76cd[_0x5f2fa0(0x222)]=function(_0x455b53,_0x3938db){return _0x455b53<_0x3938db;},_0x1a76cd[_0x5f2fa0(0x22c)]=_0x5f2fa0(0x243);const _0x31c063=_0x1a76cd;for(var _0xca8fe3=0x0;_0x31c063['WQQbf'](_0xca8fe3,this.#orderedPaths['length']);_0xca8fe3++){var _0x3bd1dc=this.#orderedPaths[_0xca8fe3];if(this.#makePath(_0x3bd1dc))return _0x3bd1dc;}throw new Error(_0x31c063[_0x5f2fa0(0x22c)]);}#makePath(_0x55bcd2){const _0x138dee=a126_0x2aa8db;try{return _0x55bcd2&&!this.#checkPath(_0x55bcd2)&&fs[_0x138dee(0x253)](_0x55bcd2),!![];}catch{return![];}}#checkPath(_0x44f9d3,_0x472593){const _0x28519b=a126_0x2aa8db,_0x15b6bd={};_0x15b6bd[_0x28519b(0x208)]=function(_0x5d16f9,_0x5a833e){return _0x5d16f9|_0x5a833e;},_0x15b6bd[_0x28519b(0x22d)]=function(_0x19f8c8,_0x35f4bf){return _0x19f8c8!==_0x35f4bf;},_0x15b6bd[_0x28519b(0x20b)]=_0x28519b(0x21f);const _0x41cbce=_0x15b6bd;_0x472593=_0x472593||_0x41cbce[_0x28519b(0x208)](fs[_0x28519b(0x1f0)],fs[_0x28519b(0x24b)]);try{return fs[_0x28519b(0x1f3)](_0x44f9d3,_0x472593),!![];}catch(_0x4c9586){if(_0x41cbce[_0x28519b(0x22d)](typeof fs[_0x28519b(0x1f3)],_0x41cbce[_0x28519b(0x20b)]))return![];try{return fs[_0x28519b(0x21b)](_0x44f9d3),!![];}catch(_0x122845){return![];}}}#getETagPath(_0x5ed0a6){const _0x5d364c=a126_0x2aa8db;return path[_0x5d364c(0x203)](_0x5ed0a6,this.#binaryName+_0x5d364c(0x1ea));}#loadETag(_0x52c264){const _0x59335f=a126_0x2aa8db,_0x303800={};_0x303800[_0x59335f(0x20d)]=_0x59335f(0x258);const _0x478dd2=_0x303800,_0x9b054f=this.#getETagPath(_0x52c264);if(this.#checkPath(_0x9b054f))try{return fs[_0x59335f(0x1ed)](_0x9b054f,_0x478dd2[_0x59335f(0x20d)])[_0x59335f(0x238)]();}catch(_0x12bc04){logger[_0x59335f(0x230)]('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x12bc04);}return null;}#saveETag(_0x58a278,_0x18627c){const _0x5e64de=a126_0x2aa8db,_0x3e88b2={};_0x3e88b2[_0x5e64de(0x271)]=_0x5e64de(0x272);const _0x1965de=_0x3e88b2;if(!_0x18627c)return;try{const _0x4579f9=this.#getETagPath(_0x58a278);fs['writeFileSync'](_0x4579f9,_0x18627c),logger[_0x5e64de(0x267)](_0x1965de[_0x5e64de(0x271)]);}catch(_0x51c5db){logger[_0x5e64de(0x230)](_0x5e64de(0x26d)+_0x51c5db);}}async #handleBinaryDownload(_0x43df0a,_0x5b69bb,_0x20c32c){const _0x4d0c88=a126_0x2aa8db,_0x40dbb7={};_0x40dbb7['INFUB']=_0x4d0c88(0x206);const _0x3f52a2=_0x40dbb7,_0x45140b=await this[_0x4d0c88(0x24f)](_0x43df0a[_0x4d0c88(0x1f1)]);if(!_0x45140b){logger[_0x4d0c88(0x236)](_0x3f52a2['INFUB']);const _0x58306e=await this[_0x4d0c88(0x20f)](_0x5b69bb,_0x20c32c);return _0x58306e[_0x4d0c88(0x1f1)];}return _0x43df0a[_0x4d0c88(0x1f1)];}async[a126_0x2aa8db(0x233)](_0x36ac03){const _0xf121db=a126_0x2aa8db,_0xca3a8a={};_0xca3a8a[_0xf121db(0x23a)]=_0xf121db(0x22f),_0xca3a8a[_0xf121db(0x21c)]=_0xf121db(0x26f);const _0x371bcc=_0xca3a8a,_0x362c47=this.#getAvailableDirs(),_0x391d6d=path[_0xf121db(0x203)](_0x362c47,this.#binaryName);if(this.#checkPath(_0x391d6d,fs['X_OK'])){const _0x17f76e=this.#loadETag(_0x362c47);if(_0x17f76e)try{const _0x42f8db=await this['download'](_0x36ac03,_0x362c47,_0x17f76e);if(!_0x42f8db[_0xf121db(0x1f7)])return logger[_0xf121db(0x267)](_0x371bcc[_0xf121db(0x23a)]),_0x391d6d;return logger['debug'](_0x371bcc[_0xf121db(0x21c)]),await this.#handleBinaryDownload(_0x42f8db,_0x36ac03,_0x362c47);}catch(_0x48f4e1){return logger[_0xf121db(0x230)](_0xf121db(0x215)+_0x48f4e1),_0x391d6d;}}const _0x521de8=await this[_0xf121db(0x20f)](_0x36ac03,_0x362c47);return await this.#handleBinaryDownload(_0x521de8,_0x36ac03,_0x362c47);}[a126_0x2aa8db(0x20f)](_0x1bbab6,_0x481f3a,_0x4e61a0=null){const _0x50b2d9=a126_0x2aa8db,_0x14a5ce={'pmFOx':function(_0x18e149,_0x314f00){return _0x18e149(_0x314f00);},'sJIap':function(_0x246240,_0x5599e3){return _0x246240===_0x5599e3;},'HDtxU':'error','SjoFw':_0x50b2d9(0x200),'fqvKI':function(_0x326ea0,_0x38ff3b){return _0x326ea0+_0x38ff3b;},'QbEmZ':_0x50b2d9(0x21a)};_0x481f3a&&!this.#checkPath(_0x481f3a)&&fs[_0x50b2d9(0x253)](_0x481f3a);const _0x2f4a9c=this.#binaryName,_0x15c739=path['join'](_0x481f3a,_0x14a5ce['fqvKI'](_0x2f4a9c,_0x14a5ce[_0x50b2d9(0x26e)])),_0x2b2992=fs[_0x50b2d9(0x225)](_0x15c739),_0x10c7ef=url['parse'](this.#httpPath);if(_0x1bbab6['proxyHost']&&_0x1bbab6[_0x50b2d9(0x23e)]){const _0x39be5c={};_0x39be5c[_0x50b2d9(0x1f4)]=_0x1bbab6[_0x50b2d9(0x247)],_0x39be5c['port']=_0x1bbab6['proxyPort'],_0x10c7ef[_0x50b2d9(0x244)]=new HttpsProxyAgent(_0x39be5c);}if(_0x1bbab6[_0x50b2d9(0x26c)])try{_0x10c7ef['ca']=fs[_0x50b2d9(0x1ed)](_0x1bbab6[_0x50b2d9(0x26c)]);}catch(_0x37744d){logger[_0x50b2d9(0x236)](_0x50b2d9(0x20a)+_0x37744d);}if(_0x4e61a0){const _0x492cf7={};_0x492cf7['If-None-Match']=_0x4e61a0,_0x492cf7['Connection']=_0x14a5ce[_0x50b2d9(0x212)],_0x10c7ef['headers']=_0x492cf7;}else{const _0x5f17a6={};_0x5f17a6[_0x50b2d9(0x205)]=_0x14a5ce[_0x50b2d9(0x212)],_0x10c7ef[_0x50b2d9(0x276)]=_0x5f17a6;}return new Promise((_0x32ba32,_0x3d1ef6)=>{const _0x2e1e11=_0x50b2d9,_0x57489e={'xGTPa':function(_0x11be64,_0x11c692){return _0x14a5ce['pmFOx'](_0x11be64,_0x11c692);},'QGlVz':function(_0x4f201e,_0x535435){const _0x1fca1e=a126_0x580f;return _0x14a5ce[_0x1fca1e(0x1e8)](_0x4f201e,_0x535435);},'ceQhq':_0x14a5ce[_0x2e1e11(0x217)],'FOuWE':_0x14a5ce[_0x2e1e11(0x212)]};https['get'](_0x10c7ef,_0xa51bc1=>{const _0x5d9f5d=_0x2e1e11,_0x374e35={'jecTt':function(_0x471ce8,_0x56fe2f){const _0x3ffd80=a126_0x580f;return _0x57489e[_0x3ffd80(0x254)](_0x471ce8,_0x56fe2f);}};if(_0x4e61a0&&_0x57489e[_0x5d9f5d(0x25d)](_0xa51bc1['statusCode'],0x130)){_0x2b2992['destroy']();const _0x2bd0cf={};_0x2bd0cf[_0x5d9f5d(0x1f7)]=![],_0x57489e[_0x5d9f5d(0x254)](_0x32ba32,_0x2bd0cf);return;}const _0x577ba3=_0xa51bc1[_0x5d9f5d(0x276)][_0x5d9f5d(0x211)];_0x577ba3&&this.#saveETag(_0x481f3a,_0x577ba3),_0xa51bc1[_0x5d9f5d(0x26b)](_0x2b2992),_0xa51bc1['on'](_0x57489e[_0x5d9f5d(0x274)],function(_0x124bba){const _0x31bfba=_0x5d9f5d;logger[_0x31bfba(0x236)](_0x31bfba(0x256)+_0x124bba),_0x374e35['jecTt'](_0x3d1ef6,_0x124bba);}),_0x2b2992['on'](_0x57489e['ceQhq'],function(_0x138d8d){const _0x375ff8=_0x5d9f5d;logger[_0x375ff8(0x236)](_0x375ff8(0x1fb)+_0x138d8d),_0x57489e[_0x375ff8(0x254)](_0x3d1ef6,_0x138d8d);}),_0x2b2992['on'](_0x57489e[_0x5d9f5d(0x22e)],()=>{const _0x91ee6e=_0x5d9f5d;this[_0x91ee6e(0x1fd)](_0x15c739,_0x481f3a)[_0x91ee6e(0x1f2)](_0x5aa16c=>_0x32ba32({'needsUpdate':!![],'binaryPath':_0x5aa16c}))[_0x91ee6e(0x248)](_0x3d1ef6);});})['on'](_0x14a5ce[_0x2e1e11(0x217)],function(_0x5ad092){const _0x4eed0e=_0x2e1e11;logger[_0x4eed0e(0x236)](_0x4eed0e(0x242)+_0x5ad092),_0x14a5ce['pmFOx'](_0x3d1ef6,_0x5ad092);});});}[a126_0x2aa8db(0x1fd)](_0x462c16,_0x1190ea){const _0x3482fd=a126_0x2aa8db,_0x26d6ae={'ZQDvm':function(_0x1160fc,_0x585c9d){return _0x1160fc(_0x585c9d);},'fCzwz':_0x3482fd(0x251),'lhbqP':function(_0xc59051,_0x77f8e0){return _0xc59051===_0x77f8e0;},'uavNY':function(_0x53b60a,_0x28e9bf){return _0x53b60a(_0x28e9bf);},'avetw':_0x3482fd(0x23d),'QkHRS':'error','WHXku':function(_0x5193b1,_0x5a6ce3){return _0x5193b1(_0x5a6ce3);},'VeuUA':'0755'},_0x3ea660=this.#binaryName,_0x46f383=path[_0x3482fd(0x203)](_0x1190ea,_0x3ea660);return new Promise((_0x1f3a13,_0x5c45d2)=>{const _0x587e6e=_0x3482fd,_0x459e12={'ZzIVE':function(_0x98a482,_0x1c08a9){const _0x1a422a=a126_0x580f;return _0x26d6ae[_0x1a422a(0x270)](_0x98a482,_0x1c08a9);},'nHsMa':_0x26d6ae[_0x587e6e(0x23c)]},_0x3b7258={};_0x3b7258[_0x587e6e(0x1ef)]=!![],yauzl[_0x587e6e(0x252)](_0x462c16,_0x3b7258,function(_0x37c250,_0x2236ab){const _0x10da75=_0x587e6e,_0x9b4d16={'mvHyd':function(_0xad8bf7,_0x3539fd){return _0x26d6ae['ZQDvm'](_0xad8bf7,_0x3539fd);},'ehdFo':_0x26d6ae[_0x10da75(0x220)],'Yobtr':function(_0x5487eb,_0x39ae49){const _0x11f2a4=_0x10da75;return _0x26d6ae[_0x11f2a4(0x209)](_0x5487eb,_0x39ae49);}};_0x37c250&&_0x26d6ae[_0x10da75(0x268)](_0x5c45d2,_0x37c250),_0x2236ab['readEntry'](),_0x2236ab['on'](_0x26d6ae[_0x10da75(0x213)],_0xd0a3d4=>{const _0x599326=_0x10da75;if(/\/$/[_0x599326(0x22a)](_0xd0a3d4['fileName']))_0x2236ab['readEntry']();else{const _0x413614=fs[_0x599326(0x225)](path['join'](_0x1190ea,_0xd0a3d4['fileName']));_0x2236ab['openReadStream'](_0xd0a3d4,function(_0x5dc35d,_0x26a92e){const _0x21d044=_0x599326;_0x5dc35d&&_0x9b4d16[_0x21d044(0x1e2)](_0x5c45d2,_0x37c250),_0x26a92e['on'](_0x9b4d16[_0x21d044(0x1ec)],function(){const _0x2f6fc3=_0x21d044;_0x413614[_0x2f6fc3(0x200)](),_0x2236ab['readEntry']();}),_0x26a92e[_0x21d044(0x26b)](_0x413614);}),_0x9b4d16['Yobtr'](_0xd0a3d4[_0x599326(0x202)],_0x3ea660)&&_0x2236ab[_0x599326(0x200)]();}}),_0x2236ab['on'](_0x26d6ae[_0x10da75(0x235)],_0x3a418c=>{const _0x17976d=_0x10da75;_0x9b4d16[_0x17976d(0x1e2)](_0x5c45d2,_0x3a418c);}),_0x2236ab[_0x10da75(0x26a)](_0x26d6ae[_0x10da75(0x220)],()=>{const _0x14ebfe=_0x10da75,_0x2b4661={'MxpTz':function(_0x24a7d5,_0x4d23e0){const _0x130238=a126_0x580f;return _0x459e12[_0x130238(0x263)](_0x24a7d5,_0x4d23e0);}};fs[_0x14ebfe(0x229)](_0x46f383,_0x459e12[_0x14ebfe(0x1e4)],function(_0x1c8823){const _0x502195=_0x14ebfe;_0x1c8823&&_0x2b4661[_0x502195(0x227)](_0x5c45d2,_0x1c8823),_0x2b4661['MxpTz'](_0x1f3a13,_0x46f383);}),_0x2236ab['close']();});});});}async['validateBinary'](_0x397e28){const _0x1f32f1=a126_0x2aa8db,_0x3e2124={'cNQVH':function(_0x1b80de,_0x452b7e){return _0x1b80de(_0x452b7e);},'Slgoy':function(_0x2159ca,_0x239cee,_0x59ba47,_0x43746a){return _0x2159ca(_0x239cee,_0x59ba47,_0x43746a);},'IXXRu':_0x1f32f1(0x241),'Mvpig':'data','GJvNO':_0x1f32f1(0x200)},_0x254bd1=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x196948,_0x2929b0)=>{const _0x4775ad=_0x1f32f1,_0x415b71={'lCNpc':function(_0xb72cbe,_0x32c7af){const _0x4db544=a126_0x580f;return _0x3e2124[_0x4db544(0x210)](_0xb72cbe,_0x32c7af);}},_0x566cc9={};_0x566cc9[_0x4775ad(0x1eb)]=process[_0x4775ad(0x1eb)];const _0x38b898=_0x3e2124['Slgoy'](spawn,_0x397e28,[_0x3e2124['IXXRu']],_0x566cc9);_0x38b898['stdout']['on'](_0x3e2124[_0x4775ad(0x1ff)],_0x3ba7a6=>{const _0x2c82f0=_0x4775ad;_0x254bd1[_0x2c82f0(0x22a)](_0x3ba7a6)&&_0x415b71[_0x2c82f0(0x273)](_0x196948,!![]);}),_0x38b898['on'](_0x3e2124[_0x4775ad(0x216)],()=>{_0x3e2124['cNQVH'](_0x196948,![]);});});}#homedir(){const _0x1e990a=a126_0x2aa8db,_0x1bf3fb={};_0x1bf3fb[_0x1e990a(0x265)]=function(_0x26c82f,_0x5a8ebd){return _0x26c82f===_0x5a8ebd;},_0x1bf3fb[_0x1e990a(0x24e)]=_0x1e990a(0x214),_0x1bf3fb['WVdIG']=function(_0x11a97b,_0x37e780){return _0x11a97b===_0x37e780;},_0x1bf3fb['aSHRJ']=_0x1e990a(0x25c),_0x1bf3fb[_0x1e990a(0x25b)]=function(_0x4ef25,_0x341abc){return _0x4ef25+_0x341abc;},_0x1bf3fb['XdwXQ']=function(_0x12661d,_0x11d0ee){return _0x12661d===_0x11d0ee;},_0x1bf3fb[_0x1e990a(0x23f)]='darwin',_0x1bf3fb['YgeiS']=function(_0x19a1d3,_0x57d577){return _0x19a1d3+_0x57d577;},_0x1bf3fb[_0x1e990a(0x1fa)]=_0x1e990a(0x264),_0x1bf3fb['UCRoJ']=_0x1e990a(0x249),_0x1bf3fb[_0x1e990a(0x20c)]=function(_0x11f59c,_0x4e9fba){return _0x11f59c===_0x4e9fba;},_0x1bf3fb[_0x1e990a(0x1e7)]=_0x1e990a(0x239),_0x1bf3fb[_0x1e990a(0x24a)]=function(_0xaa342a,_0x49998a){return _0xaa342a+_0x49998a;},_0x1bf3fb[_0x1e990a(0x237)]=_0x1e990a(0x226),_0x1bf3fb[_0x1e990a(0x24d)]=function(_0x56f1de,_0x208d53){return _0x56f1de||_0x208d53;};const _0x58a230=_0x1bf3fb;if(_0x58a230[_0x1e990a(0x265)](typeof os['homedir'],_0x58a230[_0x1e990a(0x24e)]))return os[_0x1e990a(0x22b)]();const _0x1a4222=process[_0x1e990a(0x1eb)],_0x42ec11=_0x1a4222[_0x1e990a(0x201)],_0x1366b3=_0x1a4222[_0x1e990a(0x204)]||_0x1a4222[_0x1e990a(0x218)]||_0x1a4222[_0x1e990a(0x21e)]||_0x1a4222[_0x1e990a(0x277)];if(_0x58a230['WVdIG'](process[_0x1e990a(0x223)],_0x58a230[_0x1e990a(0x1fe)]))return _0x1a4222[_0x1e990a(0x245)]||_0x58a230['mrTDA'](_0x1a4222[_0x1e990a(0x1f6)],_0x1a4222[_0x1e990a(0x1e9)])||_0x42ec11||null;if(_0x58a230[_0x1e990a(0x232)](process[_0x1e990a(0x223)],_0x58a230[_0x1e990a(0x23f)]))return _0x42ec11||(_0x1366b3?_0x58a230[_0x1e990a(0x1ee)](_0x58a230[_0x1e990a(0x1fa)],_0x1366b3):null);if(_0x58a230['WVdIG'](process[_0x1e990a(0x223)],_0x58a230[_0x1e990a(0x207)]))return _0x42ec11||(_0x58a230[_0x1e990a(0x20c)](process[_0x1e990a(0x1e1)](),0x0)?_0x58a230[_0x1e990a(0x1e7)]:_0x1366b3?_0x58a230['svRKt'](_0x58a230[_0x1e990a(0x237)],_0x1366b3):null);return _0x58a230['bdfEI'](_0x42ec11,null);}}module[a126_0x2aa8db(0x23b)]=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a127_0x22b4(){var _0x3467d7=['exports','increment','10448273CxucCf','get','9NKOUcs','907692knNUpd','1617310OchnKS','27nnWwgt','5QjiKAf','6diVAEF','4664eSBAnG','2694056ZBqzWt','25269kEregR','getName','3127635CBIerp'];a127_0x22b4=function(){return _0x3467d7;};return a127_0x22b4();}function a127_0x2b6b(_0x2765de,_0x581b36){var _0x22b491=a127_0x22b4();return a127_0x2b6b=function(_0x2b6b8d,_0x5dd0a4){_0x2b6b8d=_0x2b6b8d-0x166;var _0xb245c3=_0x22b491[_0x2b6b8d];return _0xb245c3;},a127_0x2b6b(_0x2765de,_0x581b36);}var a127_0x5c4cbd=a127_0x2b6b;(function(_0x2b0519,_0x128670){var _0x273924=a127_0x2b6b,_0x1b6fe0=_0x2b0519();while(!![]){try{var _0x2d54fa=-parseInt(_0x273924(0x171))/0x1*(-parseInt(_0x273924(0x16e))/0x2)+parseInt(_0x273924(0x16c))/0x3*(parseInt(_0x273924(0x16f))/0x4)+-parseInt(_0x273924(0x16d))/0x5*(-parseInt(_0x273924(0x16a))/0x6)+-parseInt(_0x273924(0x173))/0x7+parseInt(_0x273924(0x170))/0x8*(-parseInt(_0x273924(0x169))/0x9)+-parseInt(_0x273924(0x16b))/0xa+parseInt(_0x273924(0x167))/0xb;if(_0x2d54fa===_0x128670)break;else _0x1b6fe0['push'](_0x1b6fe0['shift']());}catch(_0x11f6ba){_0x1b6fe0['push'](_0x1b6fe0['shift']());}}}(a127_0x22b4,0x3b1d5));class PercyCaptureMap{#map={};[a127_0x5c4cbd(0x166)](_0x4fded6,_0x16ca66){!this.#map[_0x4fded6]&&(this.#map[_0x4fded6]={}),!this.#map[_0x4fded6][_0x16ca66]&&(this.#map[_0x4fded6][_0x16ca66]=0x0),this.#map[_0x4fded6][_0x16ca66]++;}[a127_0x5c4cbd(0x172)](_0x3c28c0,_0x494d78){var _0x16d2f8=a127_0x5c4cbd;return _0x3c28c0+'-'+_0x494d78+'-'+this[_0x16d2f8(0x168)](_0x3c28c0,_0x494d78);}['get'](_0xcc5193,_0x1ad2fe){if(!this.#map[_0xcc5193])return 0x0;if(!this.#map[_0xcc5193][_0x1ad2fe])return 0x0;return this.#map[_0xcc5193][_0x1ad2fe];}}module[a127_0x5c4cbd(0x174)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a128_0x1d9886=a128_0x124c;(function(_0x43109f,_0x173585){var _0x5ebfe0=a128_0x124c,_0x475d31=_0x43109f();while(!![]){try{var _0x227462=-parseInt(_0x5ebfe0(0x176))/0x1+-parseInt(_0x5ebfe0(0x175))/0x2+-parseInt(_0x5ebfe0(0x177))/0x3+parseInt(_0x5ebfe0(0x172))/0x4+parseInt(_0x5ebfe0(0x16f))/0x5*(parseInt(_0x5ebfe0(0x17e))/0x6)+-parseInt(_0x5ebfe0(0x17c))/0x7*(parseInt(_0x5ebfe0(0x171))/0x8)+parseInt(_0x5ebfe0(0x17a))/0x9;if(_0x227462===_0x173585)break;else _0x475d31['push'](_0x475d31['shift']());}catch(_0x281588){_0x475d31['push'](_0x475d31['shift']());}}}(a128_0x5318,0x5b190));var a128_0x309643={};a128_0x309643[a128_0x1d9886(0x16d)]=[a128_0x1d9886(0x173)],a128_0x309643[a128_0x1d9886(0x17b)]=['click',a128_0x1d9886(0x170)];var a128_0x55bf3f={};a128_0x55bf3f[a128_0x1d9886(0x16d)]=[a128_0x1d9886(0x173)];var a128_0x4eaade={};a128_0x4eaade[a128_0x1d9886(0x17b)]=[a128_0x1d9886(0x179)];var a128_0x3ce4bb={};function a128_0x124c(_0x270802,_0x53cd61){var _0x53184b=a128_0x5318();return a128_0x124c=function(_0x124c12,_0x4e16e5){_0x124c12=_0x124c12-0x16d;var _0xc0c72f=_0x53184b[_0x124c12];return _0xc0c72f;},a128_0x124c(_0x270802,_0x53cd61);}function a128_0x5318(){var _0x34b589=['1327555KTOVHS','sendKeys','16WlVsiw','161056mJOQdo','takeScreenshot','manual','1074020Tzxxnc','66728TUVFux','1588875DeeIys','auto','click','13203603sRxGNo','element','1861489JNdihW','exports','12tWXjUX','driver','testcase'];a128_0x5318=function(){return _0x34b589;};return a128_0x5318();}a128_0x3ce4bb[a128_0x1d9886(0x178)]=a128_0x309643,a128_0x3ce4bb['screenshot']=a128_0x55bf3f,a128_0x3ce4bb[a128_0x1d9886(0x179)]=a128_0x4eaade,a128_0x3ce4bb[a128_0x1d9886(0x16e)]={},a128_0x3ce4bb[a128_0x1d9886(0x174)]={},module[a128_0x1d9886(0x17d)]=a128_0x3ce4bb;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129_0x7190e8=a129_0x5012;(function(_0x3ab78d,_0x1822fc){const _0x165e69=a129_0x5012,_0x322ce9=_0x3ab78d();while(!![]){try{const _0xde4693=parseInt(_0x165e69(0xea))/0x1*(parseInt(_0x165e69(0xe2))/0x2)+-parseInt(_0x165e69(0xef))/0x3*(-parseInt(_0x165e69(0xe4))/0x4)+-parseInt(_0x165e69(0xe7))/0x5+parseInt(_0x165e69(0x102))/0x6*(parseInt(_0x165e69(0xfe))/0x7)+-parseInt(_0x165e69(0xf1))/0x8+parseInt(_0x165e69(0xed))/0x9*(parseInt(_0x165e69(0xe1))/0xa)+-parseInt(_0x165e69(0xf3))/0xb;if(_0xde4693===_0x1822fc)break;else _0x322ce9['push'](_0x322ce9['shift']());}catch(_0x23224a){_0x322ce9['push'](_0x322ce9['shift']());}}}(a129_0x4e57,0x3ef1a));const tryRequire=function(_0x4a61ae,_0x5d3e1c){const _0x33d34a={'dnfaE':function(_0x39f9ac,_0x10d543){return _0x39f9ac(_0x10d543);}};try{return _0x33d34a['dnfaE'](require,_0x4a61ae);}catch{return _0x5d3e1c;}},percySnapshot=tryRequire('@percy/selenium-webdriver',null),{percyScreenshot}=tryRequire(a129_0x7190e8(0xeb),{}),percyAppScreenshot=require(a129_0x7190e8(0x104)),{getCurrentTestData}=require(a129_0x7190e8(0xf5)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a129_0x7190e8(0xe3)),logger=require(a129_0x7190e8(0xfb))['winstonLogger'];function a129_0x5012(_0x5b4e8b,_0x4c40c7){const _0x4e57f8=a129_0x4e57();return a129_0x5012=function(_0x5012b6,_0x583648){_0x5012b6=_0x5012b6-0xde;let _0x4c2acf=_0x4e57f8[_0x5012b6];return _0x4c2acf;},a129_0x5012(_0x5b4e8b,_0x4c40c7);}percySnapshot&&(exports[a129_0x7190e8(0xe8)]=async function(){const _0x57d42e=a129_0x7190e8,_0x3ffc07={'ePDuR':function(_0x179380,_0x12d3ac){return _0x179380!==_0x12d3ac;},'NAGNC':function(_0x5949df,_0x5da1f9){return _0x5949df>=_0x5da1f9;},'EUizi':function(_0x3aab8f){return _0x3aab8f();}};if(global[_0x57d42e(0xde)]&&_0x3ffc07[_0x57d42e(0xfd)](global['browserstackPlatformIndex'],global[_0x57d42e(0x103)]))return;const _0x15806d=_0x3ffc07['NAGNC'](arguments[_0x57d42e(0xf9)],0x2)?arguments[0x1]:'',_0xdf459a=_0x3ffc07[_0x57d42e(0xf0)](getCurrentTestData),_0x132756={};return _0x132756[_0x57d42e(0xec)]=_0x15806d,_0x132756['testCase']=_0xdf459a[_0x57d42e(0xec)]||'',_0x132756[_0x57d42e(0xfa)]=_0xdf459a[_0x57d42e(0xe9)]||'',_0x132756['platformIndex']=global[_0x57d42e(0xde)],await PerformanceTester['measure'](PerformanceEvents[_0x57d42e(0x105)],()=>percySnapshot[_0x57d42e(0xf7)](null,arguments),_0x132756);});function a129_0x4e57(){const _0x50d7b7=['66556jpuZQi','measure','testCase','Unsupported\x20driver\x20for\x20percy','198iVQgYy','browserstackPercyBestPlatform','@percy/appium-app','SNAPSHOT','browserstackPlatformIndex','SCREENSHOT','DvirR','10VbriSL','1478hwkyUR','../performance/constants','4tDjCJG','WhxkF','platformIndex','139530XUzKxP','snapshot','uuid','111XjjGGd','@percy/selenium-webdriver','name','1176795ZMvXxC','SCREENSHOT_APP','1033161rFYyWO','EUizi','177768PrGoyS','screenshot','6192890lxNshC','rfdkI','../../helpers/testhub/utils','HLNnh','apply','error','length','thTestCaseExecutionId','../logger','hLLMS','ePDuR'];a129_0x4e57=function(){return _0x50d7b7;};return a129_0x4e57();}percyScreenshot?exports['screenshot']=async function(){const _0x174505=a129_0x7190e8,_0x511a28={'WhxkF':function(_0x191681,_0x4b7861){return _0x191681>=_0x4b7861;},'rfdkI':function(_0x3cf3ed){return _0x3cf3ed();}},_0x1dc338=_0x511a28[_0x174505(0xe5)](arguments[_0x174505(0xf9)],0x2)?arguments[0x1]:'',_0x3e1638=_0x511a28[_0x174505(0xf4)](getCurrentTestData),_0x45d3bc={};return _0x45d3bc[_0x174505(0xec)]=_0x1dc338,_0x45d3bc[_0x174505(0x100)]=_0x3e1638[_0x174505(0xec)]||'',_0x45d3bc[_0x174505(0xfa)]=_0x3e1638['uuid']||'',_0x45d3bc[_0x174505(0xe6)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents[_0x174505(0xdf)],()=>percyScreenshot[_0x174505(0xf7)](null,arguments),_0x45d3bc);}:exports[a129_0x7190e8(0xf2)]=()=>{const _0x48bd49=a129_0x7190e8,_0x31c0d8={};_0x31c0d8[_0x48bd49(0xfc)]=_0x48bd49(0x101);const _0x2e4561=_0x31c0d8;logger[_0x48bd49(0xf8)](_0x2e4561['hLLMS']);};exports['screenshotApp']=async function(){const _0x2e4821=a129_0x7190e8,_0x259c20={'DvirR':function(_0x2d89e1,_0x5ad34c){return _0x2d89e1>=_0x5ad34c;},'HLNnh':function(_0x38ae41){return _0x38ae41();}},_0x33e292=_0x259c20[_0x2e4821(0xe0)](arguments[_0x2e4821(0xf9)],0x2)?arguments[0x1]:'',_0x3eb646=_0x259c20[_0x2e4821(0xf6)](getCurrentTestData),_0x14062b={};return _0x14062b['name']=_0x33e292,_0x14062b[_0x2e4821(0x100)]=_0x3eb646[_0x2e4821(0xec)]||'',_0x14062b['thTestCaseExecutionId']=_0x3eb646[_0x2e4821(0xe9)]||'',_0x14062b['platformIndex']=global[_0x2e4821(0xde)],await PerformanceTester[_0x2e4821(0xff)](PerformanceEvents[_0x2e4821(0xee)],()=>percyAppScreenshot['apply'](null,arguments),_0x14062b);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a130_0x301911=a130_0x1837;function a130_0x1837(_0x152edb,_0xb2e4bd){var _0x479eec=a130_0x479e();return a130_0x1837=function(_0x18378a,_0x606407){_0x18378a=_0x18378a-0x1c7;var _0x318b64=_0x479eec[_0x18378a];return _0x318b64;},a130_0x1837(_0x152edb,_0xb2e4bd);}function a130_0x479e(){var _0x5c5b3f=['2mchBSw','3723860XwjQPS','88yylOrE','6299750sIrvaq','./Percy','5cqyLnY','6ifNoZB','33828432cmePEJ','3203022aRldTt','1340919jgrRFI','6003804RSJUNR','350131pHhMxo'];a130_0x479e=function(){return _0x5c5b3f;};return a130_0x479e();}(function(_0x7f08ef,_0x1d9dfb){var _0x52c5ce=a130_0x1837,_0x291d85=_0x7f08ef();while(!![]){try{var _0x14c954=-parseInt(_0x52c5ce(0x1c7))/0x1+parseInt(_0x52c5ce(0x1c8))/0x2*(parseInt(_0x52c5ce(0x1d0))/0x3)+parseInt(_0x52c5ce(0x1d2))/0x4*(parseInt(_0x52c5ce(0x1cd))/0x5)+parseInt(_0x52c5ce(0x1ce))/0x6*(-parseInt(_0x52c5ce(0x1c9))/0x7)+parseInt(_0x52c5ce(0x1ca))/0x8*(parseInt(_0x52c5ce(0x1d1))/0x9)+parseInt(_0x52c5ce(0x1cb))/0xa+-parseInt(_0x52c5ce(0x1cf))/0xb;if(_0x14c954===_0x1d9dfb)break;else _0x291d85['push'](_0x291d85['shift']());}catch(_0x2bf47e){_0x291d85['push'](_0x291d85['shift']());}}}(a130_0x479e,0xd6dce),module['exports']=require(a130_0x301911(0x1cc)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131_0x2e394f=a131_0xb572;function a131_0xb572(_0x3f3ecc,_0x31c8dd){const _0x4c2e19=a131_0x4c2e();return a131_0xb572=function(_0xb57276,_0x1b1b81){_0xb57276=_0xb57276-0xd8;let _0x1a302f=_0x4c2e19[_0xb57276];return _0x1a302f;},a131_0xb572(_0x3f3ecc,_0x31c8dd);}function a131_0x4c2e(){const _0x39820f=['getBestPlatformForPercySnapshot','deviceName','edge','YgxZw','../performance/constants','browserstackSessionName','manual','winstonLogger','20kUJnoC','./PercyCaptureModes','STOP','increment','ISief','23032lYmGTt','measureWrapper','prototype','chrome','screenshotApp','browserName','TnPev','browser','Starting\x20percy','reduce','toLowerCase','AUTO_CAPTURE','forEach','LQZtN','dqpOV','vDrFp','stop','./Percy','Stopping\x20percy','driver','apply','then','error','./PercySDK','dRQAP','screenshot','auto','2007tUvPDb','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','DSUca','firefox','debug','gkclJ','isUndefined','browserstackPercyMap','Error\x20patching\x20','dzfXd','280923VruLZQ','stopPercy','96895qyBzhL','4520978ykUqaR','getName','29844JhndxX','1888130qAJdjv','overrideXforPercy','36MZSGig','763GmHhMl','patchDriverPercy','safari','startPercy','../helper','browserStackPercyOptions','percyAutoCapture','init','\x20for\x20percy\x20','152667PQmlYH','percyCaptureMode','element','percy','qrcQY','platforms','../performance/performance-tester'];a131_0x4c2e=function(){return _0x39820f;};return a131_0x4c2e();}(function(_0x41a7f3,_0x49e0ad){const _0x237aeb=a131_0xb572,_0x37f629=_0x41a7f3();while(!![]){try{const _0x21b63e=parseInt(_0x237aeb(0x115))/0x1+parseInt(_0x237aeb(0xeb))/0x2*(parseInt(_0x237aeb(0xdc))/0x3)+parseInt(_0x237aeb(0x11d))/0x4*(parseInt(_0x237aeb(0x117))/0x5)+parseInt(_0x237aeb(0x11a))/0x6*(-parseInt(_0x237aeb(0x11e))/0x7)+-parseInt(_0x237aeb(0xf0))/0x8*(parseInt(_0x237aeb(0x10b))/0x9)+parseInt(_0x237aeb(0x11b))/0xa+parseInt(_0x237aeb(0x118))/0xb;if(_0x21b63e===_0x49e0ad)break;else _0x37f629['push'](_0x37f629['shift']());}catch(_0x1d4cfa){_0x37f629['push'](_0x37f629['shift']());}}}(a131_0x4c2e,0x5cbcc));const Percy=require(a131_0x2e394f(0x101)),PercySDK=require(a131_0x2e394f(0x107)),PercyCaptureModes=require(a131_0x2e394f(0xec)),PercyCaptureMap=require('./PercyCaptureMap'),logger=require('../logger')[a131_0x2e394f(0xea)],helper=require(a131_0x2e394f(0x122)),PerformanceTester=require(a131_0x2e394f(0xe2)),{PERCY_EVENTS:PerformanceEvents}=require(a131_0x2e394f(0xe7));exports[a131_0x2e394f(0x121)]=PerformanceTester[a131_0x2e394f(0xf1)](PerformanceEvents['START'],async _0xa56135=>{const _0x4ea752=a131_0x2e394f,_0x1c130b={};_0x1c130b['Rzjbs']=_0x4ea752(0xf8);const _0x5f54bd=_0x1c130b;logger[_0x4ea752(0x10f)](_0x5f54bd['Rzjbs']);const _0x294a40=new Percy(_0xa56135),_0x5e66a5=await _0x294a40['start']();if(_0x5e66a5)return _0x294a40;return null;}),exports[a131_0x2e394f(0x116)]=PerformanceTester['measureWrapper'](PerformanceEvents[a131_0x2e394f(0xed)],async _0x26638c=>{const _0xd0f959=a131_0x2e394f,_0x1ddc6f={};_0x1ddc6f[_0xd0f959(0x110)]=_0xd0f959(0x102);const _0x2eec2a=_0x1ddc6f;return logger[_0xd0f959(0x10f)](_0x2eec2a[_0xd0f959(0x110)]),_0x26638c[_0xd0f959(0x100)]();}),exports[a131_0x2e394f(0xe3)]=_0x4ac076=>{const _0x594244=a131_0x2e394f,_0x65517={};_0x65517[_0x594244(0xef)]=function(_0x2d3219,_0x712da0){return _0x2d3219<_0x712da0;};const _0xe583a6=_0x65517,_0x4dae65={};_0x4dae65[_0x594244(0xf3)]=0x0,_0x4dae65[_0x594244(0x10e)]=0x1,_0x4dae65[_0x594244(0xe5)]=0x2,_0x4dae65[_0x594244(0x120)]=0x3;const _0x5af9e3=_0x4dae65;return _0x4ac076[_0x594244(0xf9)]((_0x5d3649,_0x20bdf1,_0x2ff571)=>{const _0x22f91=_0x594244,_0x2133ee=_0x4ac076[_0x5d3649];if(_0x20bdf1[_0x22f91(0xe4)])return _0x5d3649;if(_0x2133ee[_0x22f91(0xe4)])return _0x2ff571;const _0x296239=_0x20bdf1[_0x22f91(0xf7)]?_0x20bdf1[_0x22f91(0xf7)]:_0x20bdf1[_0x22f91(0xf5)];if(_0x296239&&_0xe583a6['ISief'](_0x5af9e3[_0x296239['toLowerCase']()],_0x5af9e3[_0x296239[_0x22f91(0xfa)]()]))return _0x2ff571;return _0x5d3649;},0x0);},exports[a131_0x2e394f(0xd9)]=PerformanceTester[a131_0x2e394f(0xf1)](PerformanceEvents[a131_0x2e394f(0xfb)],async(_0x401957,_0x3bb0ab,_0x3a4865)=>{const _0x1f1fc3=a131_0x2e394f,_0x1b272c={};_0x1b272c['LQZtN']=_0x1f1fc3(0x10c);const _0xcc3442=_0x1b272c,_0x51adae=_0x401957[_0x1f1fc3(0x112)];if(helper[_0x1f1fc3(0x111)](_0x401957[_0x1f1fc3(0xe8)])){logger[_0x1f1fc3(0x10f)](_0xcc3442[_0x1f1fc3(0xfd)]);return;}const _0xde9abc=_0x51adae[_0x1f1fc3(0x119)](_0x401957[_0x1f1fc3(0xe8)],_0x3bb0ab);_0x3a4865['app']?await PercySDK[_0x1f1fc3(0xf4)](_0x401957,_0xde9abc):await PercySDK[_0x1f1fc3(0x109)](_0x401957,_0xde9abc),_0x51adae[_0x1f1fc3(0xee)](_0x401957[_0x1f1fc3(0xe8)],_0x3bb0ab);}),exports[a131_0x2e394f(0x11f)]=(_0x22d20d,_0x641a55,_0x3b8af3)=>{const _0x414977=a131_0x2e394f,_0x128f70={};_0x128f70[_0x414977(0x10d)]=_0x414977(0xd8),_0x128f70[_0x414977(0x114)]=_0x414977(0xdf),_0x128f70['fkQNZ']=function(_0x181e74,_0x309b33){return _0x181e74!==_0x309b33;},_0x128f70[_0x414977(0x108)]=_0x414977(0xe9);const _0x236081=_0x128f70;if(!helper['nestedKeyValue'](_0x3b8af3,[_0x236081[_0x414977(0x10d)],_0x236081[_0x414977(0x114)]]))return;if(_0x3b8af3[_0x414977(0xd8)][_0x414977(0xdf)]&&_0x3b8af3[_0x414977(0xd8)][_0x414977(0xdd)]&&_0x236081['fkQNZ'](_0x3b8af3[_0x414977(0xd8)][_0x414977(0xdd)],_0x236081[_0x414977(0x108)])&&!_0x22d20d[_0x414977(0x112)]){global['browserstackSessionName']&&(_0x22d20d[_0x414977(0xe8)]=global[_0x414977(0xe8)]),_0x22d20d[_0x414977(0x112)]=new PercyCaptureMap();const _0x5e8db7=PercyCaptureModes[_0x3b8af3['browserStackPercyOptions'][_0x414977(0xdd)]];_0x5e8db7[_0x414977(0x103)]&&_0x5e8db7[_0x414977(0x103)][_0x414977(0xfc)](_0x5ae9eb=>this[_0x414977(0x11c)](_0x22d20d,_0x5ae9eb,_0x3b8af3)),_0x5e8db7[_0x414977(0xde)]&&_0x5e8db7[_0x414977(0xde)]['forEach'](_0x11fe51=>{const _0x485feb=_0x414977;if(_0x641a55[_0x485feb(0xf2)]['patch'+_0x11fe51])return;_0x641a55[_0x485feb(0xf2)]['patch'+_0x11fe51]=!![];const _0x23feca=_0x641a55[_0x485feb(0xf2)][_0x11fe51];_0x641a55[_0x485feb(0xf2)][_0x11fe51]=async function(){const _0xb79c4e=_0x485feb;let _0x1c7c83=_0x23feca[_0xb79c4e(0x104)](this,arguments);_0x1c7c83&&_0x1c7c83[_0xb79c4e(0x105)]&&(_0x1c7c83=await _0x1c7c83);try{const _0x22ca10=this['getDriver']();await exports[_0xb79c4e(0xd9)](_0x22ca10,_0x11fe51,_0x3b8af3);}catch(_0x434576){logger[_0xb79c4e(0x106)](_0xb79c4e(0x113)+_0x11fe51+_0xb79c4e(0xdb)+_0x434576);}return _0x1c7c83;};});}},exports[a131_0x2e394f(0x11c)]=function(_0x160fba,_0x273e37,_0x277793){const _0xbff143=a131_0x2e394f,_0x56c3a4={};_0x56c3a4[_0xbff143(0xe6)]=function(_0x5c1379,_0xcee799){return _0x5c1379+_0xcee799;},_0x56c3a4[_0xbff143(0xff)]='patch',_0x56c3a4[_0xbff143(0xf6)]=function(_0x1eed5a,_0x5b791c){return _0x1eed5a+_0x5b791c;},_0x56c3a4[_0xbff143(0xe0)]=_0xbff143(0xda);const _0x5bfc82=_0x56c3a4,_0x4f6a76=_0x5bfc82['YgxZw'](_0x5bfc82[_0xbff143(0xff)],_0x273e37),_0x34670f=_0x5bfc82[_0xbff143(0xf6)](_0x5bfc82[_0xbff143(0xe0)],_0x273e37),_0x4a0d72=this;if(_0x160fba[_0x4f6a76]||!_0x160fba[_0x273e37])return;_0x160fba[_0x4f6a76]=!![],_0x160fba[_0x34670f]=_0x160fba[_0x273e37],_0x160fba[_0x273e37]=async()=>{const _0x1c29bd=_0xbff143;try{await _0x4a0d72['percyAutoCapture'](_0x160fba,_0x273e37,_0x277793);}catch(_0x25b580){logger[_0x1c29bd(0x106)](_0x1c29bd(0x113)+_0x273e37+_0x1c29bd(0xdb)+_0x25b580);}return await _0x160fba[_0x34670f][_0x1c29bd(0x104)](_0x160fba,arguments);};},exports['getPercyOptions']=_0xfa9677=>{const _0x1886ff=a131_0x2e394f,_0xbc21e9={};_0xbc21e9[_0x1886ff(0xfe)]=_0x1886ff(0x10a);const _0x1f8ded=_0xbc21e9,_0x857528={};_0x857528[_0x1886ff(0xdf)]=_0xfa9677[_0x1886ff(0xdf)],_0x857528[_0x1886ff(0xdd)]=_0xfa9677[_0x1886ff(0xdd)]||_0x1f8ded[_0x1886ff(0xfe)];const _0x61e1e5=_0x857528;_0xfa9677['percy']&&(_0x61e1e5['browserstackPercyBestPlatform']=exports[_0x1886ff(0xe3)](_0xfa9677[_0x1886ff(0xe1)]));;return _0x61e1e5;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132_0x13db15=a132_0x1092;(function(_0x266f7d,_0x2a19d1){const _0x48bfe0=a132_0x1092,_0x252b3f=_0x266f7d();while(!![]){try{const _0x5edf7e=-parseInt(_0x48bfe0(0x22a))/0x1+parseInt(_0x48bfe0(0x204))/0x2*(parseInt(_0x48bfe0(0x200))/0x3)+-parseInt(_0x48bfe0(0x21c))/0x4*(-parseInt(_0x48bfe0(0x23a))/0x5)+-parseInt(_0x48bfe0(0x225))/0x6*(parseInt(_0x48bfe0(0x1ed))/0x7)+parseInt(_0x48bfe0(0x224))/0x8*(parseInt(_0x48bfe0(0x1ca))/0x9)+-parseInt(_0x48bfe0(0x1fd))/0xa+parseInt(_0x48bfe0(0x232))/0xb*(-parseInt(_0x48bfe0(0x1fa))/0xc);if(_0x5edf7e===_0x2a19d1)break;else _0x252b3f['push'](_0x252b3f['shift']());}catch(_0x5b20f0){_0x252b3f['push'](_0x252b3f['shift']());}}}(a132_0x33d4,0xc2e9c));function a132_0x33d4(){const _0x189796=['SDK_PERCY','APP_AUOTMATE_EVENTS','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_TURBOSCALE','28nTuOME','SDK_TEST','DRIVER_EVENT','GET','sdk:cli:start',':get-accessibility-results-summary','A11Y_EVENTS','SDK_CLI_ENQUEUE_TEST_EVENT','6877272WfZWLy','1686pFItdb','sdk:setup','sdk:a11y','sdk:observabilityConfig','HUB_MANAGEMENT','15585GfyIET','DRIVER_MANAGE','sdk:automationFrameworkInit','sdk:driver:post-initialization','SCREENSHOT','SDK_POST_TEST','AFTER',':hub-management','22LKcRHh',':before-each','BEFORE_EACH','sdk:cli:on-bootstrap','APP_UPLOAD','SDK_TEST_SESSION_EVENT',':print-buildlink','SDK_AUTO_CAPTURE','887575HHUOdW','SDK_CLI_LOG_CREATED_EVENT','sdk:auto-capture','sdk:hook','SDK_HOOK',':before-all','sdk:turboscale','SDK_POST_INITIALIZE','SDK_TESTHUB','sdk:connectBinSession',':keep-alive','sdk:proxy-setup',':session-annotation','SDK_CLI_DOWNLOAD',':start',':get-accessibility-results','AFTER_ALL','SDK_OBSERVABILITY_CONFIG','BEFORE_ALL',':idle-timeout','9sVOCca','SDK_FIND_NEAREST_HUB','SESSION_NAME','sdk:driverInit',':auto-capture','STOP','GET_RESULTS','TESTHUB_EVENTS','EVENTS','SDK_CLI_START','HOOK_EVENTS',':screenshot-app','SDK_START_BIN_SESSION',':driver-manage','PRINT_BUILDLINK','O11y_EVENTS',':before','AFTER_EACH',':driver-takeScreenShot','SDK_DRIVER_INIT',':app-upload','sdk:driver:pre-initialization','PERCY_EVENTS','DOWNLOAD','sdk:automationFrameworkStart','SDK_CONNECT_BIN_SESSION',':screenshot','POST_EXECUTE','SDK_CLI_ON_STOP','SDK_O11Y','SESSION_ANNOTATION','sdk:app-automate','SDK_A11Y',':ci-artifacts','TAKE_SCREENSHOT','11837qtfeEe','SDK_ON_STOP','SDK_SETUP','sdk:driver','SDK_TEST_FRAMEWORK_EVENT','SDK_AI_SELF_HEAL_STEP','SDK_ACCESSIBILITY_CONFIG','SESSION_STATUS','sdk:findNearestHub',':session-status','GET_RESULTS_SUMMARY','sdk:cli:on-connect','sdk:aiSelfHealGetResult','5227788pmITjb','sdk:aiSelfHealStep','LOCAL_STOP','3350070fquOXC','SDK_AUTOMATE','sdk:pre-test','3fIRnvX','SDK_APP_AUTOMATE','sdk:post-test','TURBOSCALE_EVENTS','786322CddZgJ',':stop',':post-execute','sdk:cli:logCreatedEvent','SAVE_RESULTS',':sync','LOCAL_START','SDK_CLEANUP','AUTOMATE_EVENTS','SDK_PRE_TEST','KEEP_ALIVE','SDK_DRIVER','sdk:test',':session-name','SCREENSHOT_APP','SNAPSHOT','sdk:cli:on-stop','SDK_AUTOMATION_FRAMEWORK_START',':save-results',':driver-performscan'];a132_0x33d4=function(){return _0x189796;};return a132_0x33d4();}function a132_0x1092(_0x24a42a,_0x4060ec){const _0x33d4bc=a132_0x33d4();return a132_0x1092=function(_0x1092a1,_0x4912d9){_0x1092a1=_0x1092a1-0x1c4;let _0x34816c=_0x33d4bc[_0x1092a1];return _0x34816c;},a132_0x1092(_0x24a42a,_0x4060ec);}const a132_0x130fdd={};a132_0x130fdd[a132_0x13db15(0x1ef)]=a132_0x13db15(0x226),a132_0x130fdd[a132_0x13db15(0x20b)]='sdk:cleanup',a132_0x130fdd[a132_0x13db15(0x20d)]=a132_0x13db15(0x1ff),a132_0x130fdd[a132_0x13db15(0x21d)]=a132_0x13db15(0x210),a132_0x130fdd[a132_0x13db15(0x22f)]=a132_0x13db15(0x202),a132_0x130fdd[a132_0x13db15(0x23e)]=a132_0x13db15(0x23d),a132_0x130fdd[a132_0x13db15(0x20f)]=a132_0x13db15(0x1f0),a132_0x130fdd[a132_0x13db15(0x1ea)]=a132_0x13db15(0x227),a132_0x130fdd[a132_0x13db15(0x1e7)]='sdk:o11y',a132_0x130fdd[a132_0x13db15(0x239)]=a132_0x13db15(0x23c),a132_0x130fdd['SDK_PROXY_SETUP']=a132_0x13db15(0x245),a132_0x130fdd[a132_0x13db15(0x242)]='sdk:testhub',a132_0x130fdd['SDK_AUTOMATE']='sdk:automate',a132_0x130fdd[a132_0x13db15(0x201)]=a132_0x13db15(0x1e9),a132_0x130fdd[a132_0x13db15(0x21b)]=a132_0x13db15(0x240),a132_0x130fdd[a132_0x13db15(0x218)]='sdk:percy',a132_0x130fdd['SDK_PRE_INITIALIZE']=a132_0x13db15(0x1df),a132_0x130fdd[a132_0x13db15(0x241)]=a132_0x13db15(0x22d),a132_0x130fdd[a132_0x13db15(0x1d3)]=a132_0x13db15(0x220),a132_0x130fdd[a132_0x13db15(0x247)]='sdk:cli:download',a132_0x130fdd['SDK_CLI_CHECK_UPDATE']='sdk:cli:check-update',a132_0x130fdd['SDK_CLI_ON_BOOTSTRAP']=a132_0x13db15(0x235),a132_0x130fdd['SDK_CLI_ON_CONNECT']=a132_0x13db15(0x1f8),a132_0x130fdd[a132_0x13db15(0x1e6)]=a132_0x13db15(0x214),a132_0x130fdd[a132_0x13db15(0x1d6)]='sdk:startBinSession',a132_0x130fdd[a132_0x13db15(0x1e3)]=a132_0x13db15(0x243),a132_0x130fdd[a132_0x13db15(0x1dd)]=a132_0x13db15(0x1cd),a132_0x130fdd[a132_0x13db15(0x1cb)]=a132_0x13db15(0x1f5),a132_0x130fdd['SDK_AUTOMATION_FRAMEWORK_INIT']=a132_0x13db15(0x22c),a132_0x130fdd[a132_0x13db15(0x215)]=a132_0x13db15(0x1e2),a132_0x130fdd[a132_0x13db15(0x1f3)]='sdk:accessibilityConfig',a132_0x130fdd[a132_0x13db15(0x1c7)]=a132_0x13db15(0x228),a132_0x130fdd[a132_0x13db15(0x1f2)]=a132_0x13db15(0x1fb),a132_0x130fdd['SDK_AI_SELF_HEAL_GET_RESULT']=a132_0x13db15(0x1f9),a132_0x130fdd[a132_0x13db15(0x1f1)]='sdk:testFrameworkEvent',a132_0x130fdd[a132_0x13db15(0x237)]='sdk:testSessionEvent',a132_0x130fdd[a132_0x13db15(0x23b)]=a132_0x13db15(0x207),a132_0x130fdd[a132_0x13db15(0x223)]='sdk:cli:enqueueTestEvent',a132_0x130fdd[a132_0x13db15(0x21a)]='sdk:automationFrameworkStop',a132_0x130fdd[a132_0x13db15(0x1ee)]='sdk:onStop';const SDK_EVENTS=a132_0x130fdd,a132_0x225deb={};a132_0x225deb[a132_0x13db15(0x1d2)]=SDK_EVENTS,a132_0x225deb[a132_0x13db15(0x1d1)]={},a132_0x225deb[a132_0x13db15(0x20c)]={},a132_0x225deb[a132_0x13db15(0x222)]={},a132_0x225deb[a132_0x13db15(0x1e0)]={},a132_0x225deb[a132_0x13db15(0x1d9)]={},a132_0x225deb[a132_0x13db15(0x1d4)]={},a132_0x225deb[a132_0x13db15(0x203)]={},a132_0x225deb[a132_0x13db15(0x219)]={},a132_0x225deb[a132_0x13db15(0x21e)]={},a132_0x225deb[a132_0x13db15(0x1d1)]['START']=SDK_EVENTS[a132_0x13db15(0x242)]+a132_0x13db15(0x1c4),a132_0x225deb[a132_0x13db15(0x1d1)][a132_0x13db15(0x1cf)]=SDK_EVENTS[a132_0x13db15(0x242)]+a132_0x13db15(0x205),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x20e)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x13db15(0x244),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x229)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x231),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x20a)]=SDK_EVENTS['SDK_AUTOMATE']+':local-start',a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x1fc)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+':local-stop',a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x22b)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x13db15(0x1d7),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x1cc)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x211),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x1f4)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x1f6),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x1e8)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x246),a132_0x225deb[a132_0x13db15(0x20c)]['IDLE_TIMEOUT']=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x1c9),a132_0x225deb[a132_0x13db15(0x20c)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x1eb),a132_0x225deb[a132_0x13db15(0x20c)][a132_0x13db15(0x1d8)]=SDK_EVENTS[a132_0x13db15(0x1fe)]+a132_0x13db15(0x238),a132_0x225deb[a132_0x13db15(0x222)]['PERFORM_SCAN']=SDK_EVENTS[a132_0x13db15(0x1ea)]+a132_0x13db15(0x217),a132_0x225deb[a132_0x13db15(0x222)][a132_0x13db15(0x208)]=SDK_EVENTS[a132_0x13db15(0x1ea)]+a132_0x13db15(0x216),a132_0x225deb[a132_0x13db15(0x222)][a132_0x13db15(0x1d0)]=SDK_EVENTS['SDK_A11Y']+a132_0x13db15(0x1c5),a132_0x225deb[a132_0x13db15(0x222)][a132_0x13db15(0x1f7)]=SDK_EVENTS[a132_0x13db15(0x1ea)]+a132_0x13db15(0x221),a132_0x225deb[a132_0x13db15(0x1e0)][a132_0x13db15(0x1e1)]=SDK_EVENTS[a132_0x13db15(0x218)]+':download',a132_0x225deb[a132_0x13db15(0x1e0)][a132_0x13db15(0x22e)]=SDK_EVENTS[a132_0x13db15(0x218)]+a132_0x13db15(0x1e4),a132_0x225deb[a132_0x13db15(0x1e0)]['START']=SDK_EVENTS[a132_0x13db15(0x218)]+a132_0x13db15(0x1c4),a132_0x225deb[a132_0x13db15(0x1e0)][a132_0x13db15(0x1cf)]=SDK_EVENTS[a132_0x13db15(0x218)]+a132_0x13db15(0x205),a132_0x225deb[a132_0x13db15(0x1e0)]['AUTO_CAPTURE']=SDK_EVENTS['SDK_PERCY']+a132_0x13db15(0x1ce),a132_0x225deb[a132_0x13db15(0x1e0)][a132_0x13db15(0x213)]=SDK_EVENTS[a132_0x13db15(0x218)]+':snapshot',a132_0x225deb[a132_0x13db15(0x1e0)][a132_0x13db15(0x212)]=SDK_EVENTS[a132_0x13db15(0x218)]+a132_0x13db15(0x1d5),a132_0x225deb[a132_0x13db15(0x1d9)]['SYNC']=SDK_EVENTS[a132_0x13db15(0x1e7)]+a132_0x13db15(0x209),a132_0x225deb[a132_0x13db15(0x1d9)][a132_0x13db15(0x1ec)]=SDK_EVENTS[a132_0x13db15(0x1e7)]+a132_0x13db15(0x1dc),a132_0x225deb[a132_0x13db15(0x1d9)][a132_0x13db15(0x1d8)]=SDK_EVENTS[a132_0x13db15(0x1e7)]+a132_0x13db15(0x238),a132_0x225deb[a132_0x13db15(0x1d4)][a132_0x13db15(0x234)]=SDK_EVENTS[a132_0x13db15(0x23e)]+a132_0x13db15(0x233),a132_0x225deb[a132_0x13db15(0x1d4)][a132_0x13db15(0x1db)]=SDK_EVENTS[a132_0x13db15(0x23e)]+':after-each',a132_0x225deb[a132_0x13db15(0x1d4)][a132_0x13db15(0x1c6)]=SDK_EVENTS[a132_0x13db15(0x23e)]+':after-all',a132_0x225deb[a132_0x13db15(0x1d4)][a132_0x13db15(0x1c8)]=SDK_EVENTS[a132_0x13db15(0x23e)]+a132_0x13db15(0x23f),a132_0x225deb[a132_0x13db15(0x1d4)]['BEFORE']=SDK_EVENTS[a132_0x13db15(0x23e)]+a132_0x13db15(0x1da),a132_0x225deb[a132_0x13db15(0x1d4)][a132_0x13db15(0x230)]=SDK_EVENTS[a132_0x13db15(0x23e)]+':after',a132_0x225deb[a132_0x13db15(0x203)][a132_0x13db15(0x229)]=SDK_EVENTS['SDK_TURBOSCALE']+a132_0x13db15(0x231),a132_0x225deb[a132_0x13db15(0x203)][a132_0x13db15(0x1d8)]=SDK_EVENTS[a132_0x13db15(0x21b)]+a132_0x13db15(0x238),a132_0x225deb[a132_0x13db15(0x219)][a132_0x13db15(0x236)]=SDK_EVENTS['SDK_APP_AUTOMATE']+a132_0x13db15(0x1de),a132_0x225deb[a132_0x13db15(0x21e)]['QUIT']=SDK_EVENTS[a132_0x13db15(0x20f)]+':quit',a132_0x225deb[a132_0x13db15(0x21e)][a132_0x13db15(0x21f)]=SDK_EVENTS[a132_0x13db15(0x20f)]+':get',a132_0x225deb[a132_0x13db15(0x21e)]['PRE_EXECUTE']=SDK_EVENTS['SDK_DRIVER']+':pre-execute',a132_0x225deb[a132_0x13db15(0x21e)][a132_0x13db15(0x1e5)]=SDK_EVENTS[a132_0x13db15(0x20f)]+a132_0x13db15(0x206),module['exports']=a132_0x225deb;
|
|
1
|
+
const a132_0x26ef43=a132_0x28f6;function a132_0x5020(){const _0x15d82a=[':idle-timeout','sdk:pre-test','STOP','START','SDK_O11Y','POST_EXECUTE','TESTHUB_EVENTS',':stop','SDK_HOOK','O11y_EVENTS','APP_AUOTMATE_EVENTS','sdk:observabilityConfig','2277399UcAxSw',':ci-artifacts','A11Y_EVENTS','SCREENSHOT','APP_UPLOAD','PRE_EXECUTE','SDK_FIND_NEAREST_HUB','765667kXXyYQ','SDK_CLI_ENQUEUE_TEST_EVENT','sdk:driverInit','SDK_TURBOSCALE',':download','sdk:app-automate','AUTO_CAPTURE','sdk:aiSelfHealStep','sdk:testFrameworkEvent',':session-name','AFTER_ALL',':before','sdk:hook','SDK_OBSERVABILITY_CONFIG','LOCAL_STOP','sdk:test','SESSION_STATUS',':app-upload','DRIVER_EVENT','KEEP_ALIVE',':session-annotation','BEFORE',':save-results','SDK_CLI_START','sdk:proxy-setup','PERCY_EVENTS','4410315UBycrY',':print-buildlink',':sync','sdk:testSessionEvent','sdk:automate',':driver-manage','sdk:aiSelfHealGetResult',':after-each','SDK_CLI_ON_STOP',':driver-takeScreenShot','BEFORE_ALL','sdk:setup','SDK_CLI_CHECK_UPDATE',':screenshot-app','SESSION_ANNOTATION',':get-accessibility-results-summary','GET','SDK_SETUP','sdk:automationFrameworkStop','HUB_MANAGEMENT','2010820DaxEsa',':auto-capture','SDK_TEST_SESSION_EVENT','SDK_CLI_LOG_CREATED_EVENT',':before-all',':snapshot','PRINT_BUILDLINK','sdk:onStop','sdk:accessibilityConfig','QUIT',':after-all','sdk:cli:start',':driver-performscan',':start','4012125AFWclJ','SDK_CLI_ON_CONNECT',':keep-alive','sdk:post-test',':hub-management','SDK_AUTOMATION_FRAMEWORK_INIT','DRIVER_MANAGE','SDK_AUTOMATE','sdk:cli:check-update',':pre-execute','SDK_POST_TEST','TURBOSCALE_EVENTS',':get','SDK_DRIVER','7554505JhkPhW','SESSION_NAME',':session-status','IDLE_TIMEOUT','SDK_CLI_DOWNLOAD','2tGWKYY','SDK_CONNECT_BIN_SESSION','SDK_AUTO_CAPTURE','SAVE_RESULTS','SDK_PRE_INITIALIZE','sdk:findNearestHub','sdk:cli:enqueueTestEvent','SDK_TEST','GET_RESULTS_SUMMARY','SCREENSHOT_APP','3297472RJWjSJ','6wzorLZ','sdk:cli:logCreatedEvent',':post-execute','SDK_PRE_TEST','AUTOMATE_EVENTS','SDK_TESTHUB','SDK_A11Y','sdk:cli:on-bootstrap','LOCAL_START','sdk:turboscale','SDK_PERCY','sdk:driver:post-initialization','HOOK_EVENTS','SYNC',':local-stop','sdk:cleanup','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_ON_STOP','sdk:driver:pre-initialization','SDK_APP_AUTOMATE','SDK_POST_INITIALIZE'];a132_0x5020=function(){return _0x15d82a;};return a132_0x5020();}(function(_0x25e355,_0x2d47f4){const _0x371f08=a132_0x28f6,_0x452978=_0x25e355();while(!![]){try{const _0x3e975e=-parseInt(_0x371f08(0x1ad))/0x1*(-parseInt(_0x371f08(0x1fc))/0x2)+parseInt(_0x371f08(0x1a6))/0x3+-parseInt(_0x371f08(0x1db))/0x4+parseInt(_0x371f08(0x1e9))/0x5+-parseInt(_0x371f08(0x207))/0x6*(parseInt(_0x371f08(0x1f7))/0x7)+-parseInt(_0x371f08(0x206))/0x8+parseInt(_0x371f08(0x1c7))/0x9;if(_0x3e975e===_0x2d47f4)break;else _0x452978['push'](_0x452978['shift']());}catch(_0x30dc01){_0x452978['push'](_0x452978['shift']());}}}(a132_0x5020,0xc8f74));const a132_0x13676d={};a132_0x13676d[a132_0x26ef43(0x1d8)]=a132_0x26ef43(0x1d2),a132_0x13676d['SDK_CLEANUP']=a132_0x26ef43(0x194),a132_0x13676d[a132_0x26ef43(0x20a)]=a132_0x26ef43(0x19b),a132_0x13676d[a132_0x26ef43(0x203)]=a132_0x26ef43(0x1bc),a132_0x13676d[a132_0x26ef43(0x1f3)]=a132_0x26ef43(0x1ec),a132_0x13676d[a132_0x26ef43(0x1a2)]=a132_0x26ef43(0x1b9),a132_0x13676d[a132_0x26ef43(0x1f6)]='sdk:driver',a132_0x13676d['SDK_A11Y']='sdk:a11y',a132_0x13676d[a132_0x26ef43(0x19e)]='sdk:o11y',a132_0x13676d[a132_0x26ef43(0x1fe)]='sdk:auto-capture',a132_0x13676d['SDK_PROXY_SETUP']=a132_0x26ef43(0x1c5),a132_0x13676d[a132_0x26ef43(0x20c)]='sdk:testhub',a132_0x13676d[a132_0x26ef43(0x1f0)]=a132_0x26ef43(0x1cb),a132_0x13676d[a132_0x26ef43(0x198)]=a132_0x26ef43(0x1b2),a132_0x13676d['SDK_TURBOSCALE']=a132_0x26ef43(0x210),a132_0x13676d[a132_0x26ef43(0x211)]='sdk:percy',a132_0x13676d[a132_0x26ef43(0x200)]=a132_0x26ef43(0x197),a132_0x13676d[a132_0x26ef43(0x199)]=a132_0x26ef43(0x212),a132_0x13676d[a132_0x26ef43(0x1c4)]=a132_0x26ef43(0x1e6),a132_0x13676d[a132_0x26ef43(0x1fb)]='sdk:cli:download',a132_0x13676d[a132_0x26ef43(0x1d3)]=a132_0x26ef43(0x1f1),a132_0x13676d['SDK_CLI_ON_BOOTSTRAP']=a132_0x26ef43(0x20e),a132_0x13676d[a132_0x26ef43(0x1ea)]='sdk:cli:on-connect',a132_0x13676d[a132_0x26ef43(0x1cf)]='sdk:cli:on-stop',a132_0x13676d['SDK_START_BIN_SESSION']='sdk:startBinSession',a132_0x13676d[a132_0x26ef43(0x1fd)]='sdk:connectBinSession',a132_0x13676d['SDK_DRIVER_INIT']=a132_0x26ef43(0x1af),a132_0x13676d[a132_0x26ef43(0x1ac)]=a132_0x26ef43(0x201),a132_0x13676d[a132_0x26ef43(0x1ee)]='sdk:automationFrameworkInit',a132_0x13676d['SDK_AUTOMATION_FRAMEWORK_START']='sdk:automationFrameworkStart',a132_0x13676d['SDK_ACCESSIBILITY_CONFIG']=a132_0x26ef43(0x1e3),a132_0x13676d[a132_0x26ef43(0x1ba)]=a132_0x26ef43(0x1a5),a132_0x13676d['SDK_AI_SELF_HEAL_STEP']=a132_0x26ef43(0x1b4),a132_0x13676d['SDK_AI_SELF_HEAL_GET_RESULT']=a132_0x26ef43(0x1cd),a132_0x13676d['SDK_TEST_FRAMEWORK_EVENT']=a132_0x26ef43(0x1b5),a132_0x13676d[a132_0x26ef43(0x1dd)]=a132_0x26ef43(0x1ca),a132_0x13676d[a132_0x26ef43(0x1de)]=a132_0x26ef43(0x208),a132_0x13676d[a132_0x26ef43(0x1ae)]=a132_0x26ef43(0x202),a132_0x13676d[a132_0x26ef43(0x195)]=a132_0x26ef43(0x1d9),a132_0x13676d[a132_0x26ef43(0x196)]=a132_0x26ef43(0x1e2);function a132_0x28f6(_0x5eb7af,_0x181c28){const _0x502019=a132_0x5020();return a132_0x28f6=function(_0x28f6a,_0x14c3ce){_0x28f6a=_0x28f6a-0x192;let _0x5a9e1f=_0x502019[_0x28f6a];return _0x5a9e1f;},a132_0x28f6(_0x5eb7af,_0x181c28);}const SDK_EVENTS=a132_0x13676d,a132_0x54ed44={};a132_0x54ed44['EVENTS']=SDK_EVENTS,a132_0x54ed44[a132_0x26ef43(0x1a0)]={},a132_0x54ed44[a132_0x26ef43(0x20b)]={},a132_0x54ed44[a132_0x26ef43(0x1a8)]={},a132_0x54ed44[a132_0x26ef43(0x1c6)]={},a132_0x54ed44[a132_0x26ef43(0x1a3)]={},a132_0x54ed44[a132_0x26ef43(0x213)]={},a132_0x54ed44[a132_0x26ef43(0x1f4)]={},a132_0x54ed44[a132_0x26ef43(0x1a4)]={},a132_0x54ed44[a132_0x26ef43(0x1bf)]={},a132_0x54ed44[a132_0x26ef43(0x1a0)][a132_0x26ef43(0x19d)]=SDK_EVENTS[a132_0x26ef43(0x20c)]+a132_0x26ef43(0x1e8),a132_0x54ed44[a132_0x26ef43(0x1a0)]['STOP']=SDK_EVENTS['SDK_TESTHUB']+a132_0x26ef43(0x1a1),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1c0)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x26ef43(0x1eb),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1da)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x26ef43(0x1ed),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x20f)]=SDK_EVENTS['SDK_AUTOMATE']+':local-start',a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1bb)]=SDK_EVENTS[a132_0x26ef43(0x1f0)]+a132_0x26ef43(0x193),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1ef)]=SDK_EVENTS[a132_0x26ef43(0x1f0)]+a132_0x26ef43(0x1cc),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1f8)]=SDK_EVENTS[a132_0x26ef43(0x1f0)]+a132_0x26ef43(0x1b6),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1bd)]=SDK_EVENTS[a132_0x26ef43(0x1f0)]+a132_0x26ef43(0x1f9),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1d5)]=SDK_EVENTS['SDK_AUTOMATE']+a132_0x26ef43(0x1c1),a132_0x54ed44[a132_0x26ef43(0x20b)][a132_0x26ef43(0x1fa)]=SDK_EVENTS[a132_0x26ef43(0x1f0)]+a132_0x26ef43(0x19a),a132_0x54ed44[a132_0x26ef43(0x20b)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS['SDK_AUTOMATE']+a132_0x26ef43(0x1a7),a132_0x54ed44[a132_0x26ef43(0x20b)]['PRINT_BUILDLINK']=SDK_EVENTS[a132_0x26ef43(0x1f0)]+':print-buildlink',a132_0x54ed44[a132_0x26ef43(0x1a8)]['PERFORM_SCAN']=SDK_EVENTS['SDK_A11Y']+a132_0x26ef43(0x1e7),a132_0x54ed44[a132_0x26ef43(0x1a8)][a132_0x26ef43(0x1ff)]=SDK_EVENTS[a132_0x26ef43(0x20d)]+a132_0x26ef43(0x1c3),a132_0x54ed44[a132_0x26ef43(0x1a8)]['GET_RESULTS']=SDK_EVENTS[a132_0x26ef43(0x20d)]+':get-accessibility-results',a132_0x54ed44[a132_0x26ef43(0x1a8)][a132_0x26ef43(0x204)]=SDK_EVENTS[a132_0x26ef43(0x20d)]+a132_0x26ef43(0x1d6),a132_0x54ed44[a132_0x26ef43(0x1c6)]['DOWNLOAD']=SDK_EVENTS[a132_0x26ef43(0x211)]+a132_0x26ef43(0x1b1),a132_0x54ed44[a132_0x26ef43(0x1c6)][a132_0x26ef43(0x1a9)]=SDK_EVENTS[a132_0x26ef43(0x211)]+':screenshot',a132_0x54ed44[a132_0x26ef43(0x1c6)][a132_0x26ef43(0x19d)]=SDK_EVENTS[a132_0x26ef43(0x211)]+a132_0x26ef43(0x1e8),a132_0x54ed44[a132_0x26ef43(0x1c6)][a132_0x26ef43(0x19c)]=SDK_EVENTS[a132_0x26ef43(0x211)]+':stop',a132_0x54ed44[a132_0x26ef43(0x1c6)][a132_0x26ef43(0x1b3)]=SDK_EVENTS['SDK_PERCY']+a132_0x26ef43(0x1dc),a132_0x54ed44[a132_0x26ef43(0x1c6)]['SNAPSHOT']=SDK_EVENTS['SDK_PERCY']+a132_0x26ef43(0x1e0),a132_0x54ed44[a132_0x26ef43(0x1c6)][a132_0x26ef43(0x205)]=SDK_EVENTS['SDK_PERCY']+a132_0x26ef43(0x1d4),a132_0x54ed44[a132_0x26ef43(0x1a3)][a132_0x26ef43(0x192)]=SDK_EVENTS[a132_0x26ef43(0x19e)]+a132_0x26ef43(0x1c9),a132_0x54ed44[a132_0x26ef43(0x1a3)]['TAKE_SCREENSHOT']=SDK_EVENTS[a132_0x26ef43(0x19e)]+a132_0x26ef43(0x1d0),a132_0x54ed44[a132_0x26ef43(0x1a3)]['PRINT_BUILDLINK']=SDK_EVENTS[a132_0x26ef43(0x19e)]+a132_0x26ef43(0x1c8),a132_0x54ed44[a132_0x26ef43(0x213)]['BEFORE_EACH']=SDK_EVENTS[a132_0x26ef43(0x1a2)]+':before-each',a132_0x54ed44[a132_0x26ef43(0x213)]['AFTER_EACH']=SDK_EVENTS[a132_0x26ef43(0x1a2)]+a132_0x26ef43(0x1ce),a132_0x54ed44[a132_0x26ef43(0x213)][a132_0x26ef43(0x1b7)]=SDK_EVENTS['SDK_HOOK']+a132_0x26ef43(0x1e5),a132_0x54ed44[a132_0x26ef43(0x213)][a132_0x26ef43(0x1d1)]=SDK_EVENTS[a132_0x26ef43(0x1a2)]+a132_0x26ef43(0x1df),a132_0x54ed44[a132_0x26ef43(0x213)][a132_0x26ef43(0x1c2)]=SDK_EVENTS[a132_0x26ef43(0x1a2)]+a132_0x26ef43(0x1b8),a132_0x54ed44[a132_0x26ef43(0x213)]['AFTER']=SDK_EVENTS[a132_0x26ef43(0x1a2)]+':after',a132_0x54ed44[a132_0x26ef43(0x1f4)]['HUB_MANAGEMENT']=SDK_EVENTS[a132_0x26ef43(0x1b0)]+':hub-management',a132_0x54ed44[a132_0x26ef43(0x1f4)][a132_0x26ef43(0x1e1)]=SDK_EVENTS[a132_0x26ef43(0x1b0)]+':print-buildlink',a132_0x54ed44[a132_0x26ef43(0x1a4)][a132_0x26ef43(0x1aa)]=SDK_EVENTS['SDK_APP_AUTOMATE']+a132_0x26ef43(0x1be),a132_0x54ed44[a132_0x26ef43(0x1bf)][a132_0x26ef43(0x1e4)]=SDK_EVENTS['SDK_DRIVER']+':quit',a132_0x54ed44[a132_0x26ef43(0x1bf)][a132_0x26ef43(0x1d7)]=SDK_EVENTS[a132_0x26ef43(0x1f6)]+a132_0x26ef43(0x1f5),a132_0x54ed44[a132_0x26ef43(0x1bf)][a132_0x26ef43(0x1ab)]=SDK_EVENTS[a132_0x26ef43(0x1f6)]+a132_0x26ef43(0x1f2),a132_0x54ed44[a132_0x26ef43(0x1bf)][a132_0x26ef43(0x19f)]=SDK_EVENTS[a132_0x26ef43(0x1f6)]+a132_0x26ef43(0x209),module['exports']=a132_0x54ed44;
|