browserstack-node-sdk 1.38.0 → 1.38.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/helpers/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0x27b59c=a95_0x1118;(function(_0x1c13a2,_0x4e2290){const _0x4fb712=a95_0x1118,_0x5bd7dd=_0x1c13a2();while(!![]){try{const _0x433eae=parseInt(_0x4fb712(0x18b))/0x1+-parseInt(_0x4fb712(0x183))/0x2*(parseInt(_0x4fb712(0x17f))/0x3)+-parseInt(_0x4fb712(0x193))/0x4+-parseInt(_0x4fb712(0x17a))/0x5*(-parseInt(_0x4fb712(0x172))/0x6)+-parseInt(_0x4fb712(0x187))/0x7*(parseInt(_0x4fb712(0x16f))/0x8)+-parseInt(_0x4fb712(0x181))/0x9*(-parseInt(_0x4fb712(0x174))/0xa)+parseInt(_0x4fb712(0x16e))/0xb;if(_0x433eae===_0x4e2290)break;else _0x5bd7dd['push'](_0x5bd7dd['shift']());}catch(_0xe6a0ab){_0x5bd7dd['push'](_0x5bd7dd['shift']());}}}(a95_0x18c3,0xc5afd));const winston=require('winston'),path=require(a95_0x27b59c(0x18f)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a95_0x27b59c(0x18e)),tempLogDir='log',fetchLogDir=()=>{const _0x4ddbb8=a95_0x27b59c;if(process[_0x4ddbb8(0x176)]['BROWSERSTACK_INTERNAL_LOG_DIR'])return process['env']['BROWSERSTACK_INTERNAL_LOG_DIR'];else!fs[_0x4ddbb8(0x16b)](tempLogDir)&&fs[_0x4ddbb8(0x180)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),a95_0x1b5ea2={};a95_0x1b5ea2[a95_0x27b59c(0x189)]=a95_0x27b59c(0x198);function a95_0x18c3(){const _0x2477f5=['join','log','timestamp','debugLoggerFile','\x20-\x20','DOvJo','existsSync','logDir','combine','25728703ifCTtu','13904rBaNWv','getLogDir','transports','696744DvLYXm','format','710gdQifx','loggerFile','env','createLogger','QzIoO','split','35hGOYZU','fileLogger','add','YYYY-MM-DD\x20HH:mm:ss','level','114XCmxyz','mkdirSync','49671oeaoGv','/sdk-cli-debug.log','58904sAGisg','loggerConsole','colorize','5|2|4|0|3|1','5971tOsRDa','silly','name','aAlEK','332083ftfeba','/usage-debug.log','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','../bin/utils/constants','path','winstonLogger','EPIPE','printf','1857432usWTXT','yBMPZ','code','File','message','console.info','/usage.log'];a95_0x18c3=function(){return _0x2477f5;};return a95_0x18c3();}const transports={'loggerConsole':new winston[(a95_0x27b59c(0x171))]['Console'](a95_0x1b5ea2),'loggerFile':new winston[(a95_0x27b59c(0x171))]['File']({'filename':path['join'](logDir,a95_0x27b59c(0x199))}),'debugLoggerFile':new winston['transports'][(a95_0x27b59c(0x196))]({'filename':path['join'](logDir,a95_0x27b59c(0x18c)),'level':'silly'}),'debugCliLoggerFile':new winston[(a95_0x27b59c(0x171))][(a95_0x27b59c(0x196))]({'filename':path['join'](logDir,a95_0x27b59c(0x182)),'level':'silly'})};transports[a95_0x27b59c(0x184)]['on']('error',_0x15a06f=>{const _0xd61c3=a95_0x27b59c,_0x408e37={};_0x408e37[_0xd61c3(0x194)]=function(_0x590408,_0x8458df){return _0x590408===_0x8458df;},_0x408e37['kxSIy']=_0xd61c3(0x191),_0x408e37[_0xd61c3(0x18a)]=_0xd61c3(0x18d);const _0x17bbc5=_0x408e37;if(_0x17bbc5[_0xd61c3(0x194)](_0x15a06f[_0xd61c3(0x195)],_0x17bbc5['kxSIy'])){console[_0xd61c3(0x19b)](_0x17bbc5['aAlEK'],_0x15a06f[_0xd61c3(0x197)]);return;}throw _0x15a06f;});const a95_0x5ef9f2={};a95_0x5ef9f2[a95_0x27b59c(0x173)]='YYYY-MM-DD\x20HH:mm:ss';const a95_0x313917={};a95_0x313917[a95_0x27b59c(0x17e)]=!![];function a95_0x1118(_0xbe3e5,_0x38f14c){const _0x18c323=a95_0x18c3();return a95_0x1118=function(_0x1118d7,_0x56f131){_0x1118d7=_0x1118d7-0x16a;let _0x5f57e8=_0x18c323[_0x1118d7];return _0x5f57e8;},a95_0x1118(_0xbe3e5,_0x38f14c);}const winstonLoggerParams={'format':winston[a95_0x27b59c(0x173)][a95_0x27b59c(0x16d)](winston[a95_0x27b59c(0x173)][a95_0x27b59c(0x19c)](a95_0x5ef9f2),winston[a95_0x27b59c(0x173)][a95_0x27b59c(0x185)](a95_0x313917),winston['format'][a95_0x27b59c(0x192)](_0x291806=>_0x291806[a95_0x27b59c(0x19c)]+a95_0x27b59c(0x19e)+_0x291806[a95_0x27b59c(0x17e)]+':\x20'+_0x291806[a95_0x27b59c(0x197)])),'transports':[transports['loggerConsole']]},a95_0x4a4600={};a95_0x4a4600[a95_0x27b59c(0x173)]=a95_0x27b59c(0x17d);const a95_0x26557f={};a95_0x26557f['level']=!![];const winstonFileLoggerParams={'format':winston['format'][a95_0x27b59c(0x16d)](winston[a95_0x27b59c(0x173)][a95_0x27b59c(0x19c)](a95_0x4a4600),winston[a95_0x27b59c(0x173)][a95_0x27b59c(0x185)](a95_0x26557f),winston[a95_0x27b59c(0x173)][a95_0x27b59c(0x192)](_0x57f2bb=>_0x57f2bb['level']+':\x20'+_0x57f2bb[a95_0x27b59c(0x197)])),'transports':[]},initialize=()=>{const _0xd063e2=a95_0x27b59c,_0x42ce96={};_0x42ce96[_0xd063e2(0x178)]=_0xd063e2(0x186),_0x42ce96[_0xd063e2(0x16a)]=_0xd063e2(0x188);const _0x11841b=_0x42ce96,_0x1d6f12=_0x11841b['QzIoO'][_0xd063e2(0x179)]('|');let _0x577939=0x0;while(!![]){switch(_0x1d6f12[_0x577939++]){case'0':exports['winstonLogger'][_0xd063e2(0x17c)](transports['debugLoggerFile']);continue;case'1':exports[_0xd063e2(0x17b)][_0xd063e2(0x17c)](transports[_0xd063e2(0x19d)]);continue;case'2':transports[_0xd063e2(0x19d)]=new winston[(_0xd063e2(0x171))][(_0xd063e2(0x196))]({'filename':path[_0xd063e2(0x19a)](exports[_0xd063e2(0x16c)],DEBUG_LOG_FILE_NAME),'level':_0x11841b[_0xd063e2(0x16a)]});continue;case'3':exports['fileLogger'][_0xd063e2(0x17c)](transports[_0xd063e2(0x175)]);continue;case'4':exports['winstonLogger'][_0xd063e2(0x17c)](transports[_0xd063e2(0x175)]);continue;case'5':transports['loggerFile']=new winston[(_0xd063e2(0x171))][(_0xd063e2(0x196))]({'filename':path[_0xd063e2(0x19a)](exports[_0xd063e2(0x16c)],LOG_FILE_NAME)});continue;}break;}};exports[a95_0x27b59c(0x190)]=new winston['createLogger'](winstonLoggerParams),exports[a95_0x27b59c(0x17b)]=new winston[(a95_0x27b59c(0x177))](winstonFileLoggerParams),exports[a95_0x27b59c(0x16c)]=logDir,exports[a95_0x27b59c(0x170)]=()=>{const _0x49bbf2=a95_0x27b59c;return exports[_0x49bbf2(0x16c)];},exports[a95_0x27b59c(0x171)]=transports,exports['initialize']=initialize;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96_0x2d7b6a=a96_0x51f2;(function(_0x408a6e,_0x1f9776){const _0x2eaf6c=a96_0x51f2,_0x258235=_0x408a6e();while(!![]){try{const _0x244993=parseInt(_0x2eaf6c(0x77))/0x1+-parseInt(_0x2eaf6c(0x70))/0x2+-parseInt(_0x2eaf6c(0x6c))/0x3+-parseInt(_0x2eaf6c(0x6a))/0x4+parseInt(_0x2eaf6c(0x6e))/0x5*(parseInt(_0x2eaf6c(0x66))/0x6)+parseInt(_0x2eaf6c(0x64))/0x7+-parseInt(_0x2eaf6c(0x6b))/0x8*(parseInt(_0x2eaf6c(0x6f))/0x9);if(_0x244993===_0x1f9776)break;else _0x258235['push'](_0x258235['shift']());}catch(_0x169745){_0x258235['push'](_0x258235['shift']());}}}(a96_0x1c38,0x39e6b));const globals=require(a96_0x2d7b6a(0x71)),helper=require(a96_0x2d7b6a(0x74)),logger=require(a96_0x2d7b6a(0x7e))[a96_0x2d7b6a(0x68)];function a96_0x1c38(){const _0x3661e2=['27IMvKwC','922550SFozKh','./globals','testMeta-','getCentralUser','./helper','lcnc','testMeta','362048gkjyyO','mjUyT','getGlobal','identifier','szvAe','setGlobal','warn','./logger','viUCJ','MUfTo','length','2517592DIKKLi','LtAgq','177204ijDNua','XsdWx','winstonLogger','testRunUUID','108600bhDiXV','520944lSeyWp','554112pNOBRw','exports','65CjnIJy'];a96_0x1c38=function(){return _0x3661e2;};return a96_0x1c38();}function a96_0x51f2(_0x1e3791,_0x35d5c7){const _0x1c3866=a96_0x1c38();return a96_0x51f2=function(_0x51f2f2,_0x1219dc){_0x51f2f2=_0x51f2f2-0x64;let _0x14545d=_0x1c3866[_0x51f2f2];return _0x14545d;},a96_0x51f2(_0x1e3791,_0x35d5c7);}module[a96_0x2d7b6a(0x6d)]=class TestMetadata{static['set'](_0x3f6726={}){const _0x2d7951=a96_0x2d7b6a,_0x191f64={};_0x191f64[_0x2d7951(0x7f)]=_0x2d7951(0x69),_0x191f64[_0x2d7951(0x78)]=function(_0x5c1860,_0x47074c){return _0x5c1860===_0x47074c;},_0x191f64['iKOoE']='string',_0x191f64[_0x2d7951(0x67)]=function(_0x1c119d,_0x6db75a){return _0x1c119d<=_0x6db75a;},_0x191f64[_0x2d7951(0x7b)]='testMeta',_0x191f64['MUfTo']='The\x20metadata\x20object\x20is\x20not\x20valid.';const _0x5354dd=_0x191f64,_0x2cfac8=globals[_0x2d7951(0x79)](_0x5354dd[_0x2d7951(0x7f)]),_0x1b0635=_0x3f6726[_0x2d7951(0x7a)];helper[_0x2d7951(0x73)]()[_0x2d7951(0x75)]&&(_0x5354dd['mjUyT'](typeof _0x1b0635,_0x5354dd['iKOoE'])&&_0x5354dd[_0x2d7951(0x67)](_0x1b0635[_0x2d7951(0x81)],0x28)?_0x2cfac8?globals[_0x2d7951(0x7c)](_0x2d7951(0x72)+_0x2cfac8,_0x3f6726):globals['setGlobal'](_0x5354dd['szvAe'],_0x3f6726):logger[_0x2d7951(0x7d)](_0x5354dd[_0x2d7951(0x80)]));}static['get'](_0x2a558a){const _0x4d24e0=a96_0x2d7b6a,_0x4efaba={};_0x4efaba[_0x4d24e0(0x65)]=_0x4d24e0(0x76);const _0x3b2a9b=_0x4efaba;if(helper[_0x4d24e0(0x73)]()[_0x4d24e0(0x75)])return globals[_0x4d24e0(0x79)](_0x4d24e0(0x72)+_0x2a558a)||globals[_0x4d24e0(0x79)](_0x3b2a9b[_0x4d24e0(0x65)])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97_0x34d1d3=a97_0x15a1;(function(_0x530c38,_0x58c7de){const _0x545de7=a97_0x15a1,_0xf4bbcc=_0x530c38();while(!![]){try{const _0x5a0466=-parseInt(_0x545de7(0x244))/0x1*(-parseInt(_0x545de7(0x23b))/0x2)+parseInt(_0x545de7(0x235))/0x3+-parseInt(_0x545de7(0x210))/0x4+-parseInt(_0x545de7(0x213))/0x5+-parseInt(_0x545de7(0x241))/0x6+-parseInt(_0x545de7(0x209))/0x7*(-parseInt(_0x545de7(0x200))/0x8)+parseInt(_0x545de7(0x238))/0x9;if(_0x5a0466===_0x58c7de)break;else _0xf4bbcc['push'](_0xf4bbcc['shift']());}catch(_0x7c1066){_0xf4bbcc['push'](_0xf4bbcc['shift']());}}}(a97_0x39a9,0xd58dc));const {aiSdkWrapper}=require(a97_0x34d1d3(0x233)),{commandRepository}=require(a97_0x34d1d3(0x1fe)),PerformanceTester=require(a97_0x34d1d3(0x1f2)),globals=require(a97_0x34d1d3(0x20f)),logger=require(a97_0x34d1d3(0x204))[a97_0x34d1d3(0x214)],helper=require(a97_0x34d1d3(0x23f)),constants=require(a97_0x34d1d3(0x20c)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a97_0x34d1d3(0x21e));exports[a97_0x34d1d3(0x21b)]=(_0x1ab3a5,_0x41a652)=>{const _0x3ee9df=a97_0x34d1d3,_0x3ea817={'zHtca':_0x3ee9df(0x1e5),'wvjhm':function(_0x59f6b4,_0x298ce7){return _0x59f6b4===_0x298ce7;},'nfgWg':_0x3ee9df(0x248),'wEULI':function(_0x42c5a1,_0x4db5de){return _0x42c5a1===_0x4db5de;},'RxWUZ':_0x3ee9df(0x207),'SPdAx':_0x3ee9df(0x22d),'xhvhU':_0x3ee9df(0x1f0),'ZqkwN':_0x3ee9df(0x23a),'LGDJp':function(_0x569f95,_0x44ee62){return _0x569f95===_0x44ee62;},'eGROi':_0x3ee9df(0x245),'rGFPL':function(_0x491eba,_0x142e54){return _0x491eba+_0x142e54;},'mleKu':'findElement\x20command\x20failed\x20with\x20cssPath:\x20','SLnKd':_0x3ee9df(0x232),'qwdyq':function(_0x314743,_0x4c4313){return _0x314743+_0x4c4313;},'VuYqs':function(_0x2fa5aa,_0x320956){return _0x2fa5aa+_0x320956;},'RYori':'findElement\x20command\x20failed\x20with\x20','Dages':_0x3ee9df(0x1fa),'woAAC':function(_0x48a8fa){return _0x48a8fa();},'oTOfj':function(_0x409c71,_0x2d91df){return _0x409c71&&_0x2d91df;},'EHcsP':_0x3ee9df(0x23e),'HKBWQ':function(_0x5a7bcf,_0x8309ed){return _0x5a7bcf+_0x8309ed;},'yTwGx':function(_0x1c20ab,_0x1d5d98){return _0x1c20ab+_0x1d5d98;},'ESRKt':_0x3ee9df(0x225),'GfOtE':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','mEhMV':_0x3ee9df(0x22e),'MLqjz':function(_0x2edab2,_0x2ab457){return _0x2edab2===_0x2ab457;},'NcToZ':_0x3ee9df(0x239),'oGTpI':_0x3ee9df(0x1e7),'nXIfc':_0x3ee9df(0x240),'uvYuz':_0x3ee9df(0x220),'nmsRE':'aiHeal:setToken','WAiBw':_0x3ee9df(0x1f3),'ZniTY':function(_0x43accb,_0x393b74){return _0x43accb===_0x393b74;},'xcquK':_0x3ee9df(0x212),'IDJDB':function(_0x3e8ab0){return _0x3e8ab0();},'IvUgl':'capability','yhQCe':_0x3ee9df(0x1e8),'MKLYw':_0x3ee9df(0x1fc),'QVVXu':_0x3ee9df(0x211)},_0x3616ab=_0x1ab3a5[_0x3ee9df(0x21a)]||(helper[_0x3ee9df(0x217)](_0x41a652,[_0x3ea817[_0x3ee9df(0x1e9)],_0x3ea817['yhQCe']])||helper['nestedKeyValue'](_0x41a652,[_0x3ea817[_0x3ee9df(0x1e9)],_0x3ea817[_0x3ee9df(0x22f)],_0x3ea817[_0x3ee9df(0x1ee)]]));if(!globals[_0x3ee9df(0x1f8)](_0x3ea817[_0x3ee9df(0x22a)])&&!globals['getGlobal'](_0x3ea817[_0x3ee9df(0x205)])&&_0x3616ab)return;_0x1ab3a5['patchExecute']=!![],_0x1ab3a5[_0x3ee9df(0x1ea)]=_0x1ab3a5[_0x3ee9df(0x224)],_0x1ab3a5[_0x3ee9df(0x224)]=async _0x4ce7c2=>{const _0x51bc4f=_0x3ee9df,_0x2012aa={'bcDdQ':_0x3ea817[_0x51bc4f(0x22a)],'gTVFl':_0x3ea817[_0x51bc4f(0x206)],'vMLsu':function(_0x1bff3f){return _0x3ea817['woAAC'](_0x1bff3f);},'ODRap':_0x3ea817[_0x51bc4f(0x22b)],'PtLCm':function(_0x8ae9d6,_0x4b1df7){return _0x3ea817['ZniTY'](_0x8ae9d6,_0x4b1df7);},'ucEIX':_0x3ea817['SPdAx'],'OyWOq':_0x3ea817[_0x51bc4f(0x205)],'zyYol':_0x3ea817['xcquK'],'hxMdQ':function(_0xc00708){const _0x387027=_0x51bc4f;return _0x3ea817[_0x387027(0x226)](_0xc00708);}};try{const _0x4c184e={};_0x4c184e['command']=_0x4ce7c2[_0x51bc4f(0x23d)],await PerformanceTester[_0x51bc4f(0x201)](PerformanceDriverEvents[_0x51bc4f(0x1f7)],async()=>{const _0x466658=_0x51bc4f,_0x5cc268={};_0x5cc268[_0x466658(0x203)]=_0x2012aa['bcDdQ'];const _0x50799d=_0x5cc268;if(!commandRepository[_0x466658(0x237)]()&&globals['getGlobal'](_0x2012aa[_0x466658(0x24d)])){const _0x3647cf=PerformanceTester[_0x466658(0x201)](_0x2012aa['gTVFl'],async()=>{const _0x36553c=_0x466658;try{commandRepository[_0x36553c(0x234)](!![]),await aiSdkWrapper[_0x36553c(0x1f5)]((await _0x1ab3a5[_0x36553c(0x243)]())['getId']());const _0x216464=globals[_0x36553c(0x1f8)](_0x50799d[_0x36553c(0x203)]);_0x216464&&commandRepository[_0x36553c(0x1f4)]((await _0x1ab3a5[_0x36553c(0x243)]())[_0x36553c(0x236)]());}catch(_0x344654){logger[_0x36553c(0x24a)](_0x36553c(0x20b)+_0x344654);}});await _0x2012aa[_0x466658(0x21f)](_0x3647cf);}},_0x4c184e)();const _0x4953a0=await _0x1ab3a5[_0x51bc4f(0x1ea)](_0x4ce7c2);return await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x51bc4f(0x21c)],async()=>{const _0x14719e=_0x51bc4f;if(!helper[_0x14719e(0x215)]()&&(commandRepository[_0x14719e(0x20d)]()||globals[_0x14719e(0x1f8)](_0x2012aa[_0x14719e(0x228)]))&&_0x2012aa[_0x14719e(0x229)](_0x4ce7c2[_0x14719e(0x23d)],_0x2012aa[_0x14719e(0x1f1)])&&!_0x4ce7c2[_0x14719e(0x1ef)]&&globals[_0x14719e(0x1f8)](_0x2012aa[_0x14719e(0x24d)])&&globals['getGlobal'](_0x2012aa['OyWOq'])){const _0x5ad0cf=new Date(),_0x43c40a=PerformanceTester[_0x14719e(0x201)](_0x2012aa[_0x14719e(0x231)],async()=>{return await aiSdkWrapper['handleSuccess'](_0x41a652,_0x1ab3a5,_0x4ce7c2);});await _0x2012aa['hxMdQ'](_0x43c40a);}},{'command':_0x4ce7c2[_0x51bc4f(0x23d)]})(),_0x4953a0;}catch(_0x483fc2){await PerformanceTester[_0x51bc4f(0x201)](PerformanceDriverEvents[_0x51bc4f(0x21c)],async()=>{const _0x48a273=_0x51bc4f;logger[_0x48a273(0x218)](_0x3ea817[_0x48a273(0x222)]);try{if(!helper[_0x48a273(0x215)]()&&(_0x3ea817['wvjhm'](_0x483fc2[_0x48a273(0x22c)],_0x3ea817[_0x48a273(0x208)])||_0x3ea817['wEULI'](_0x483fc2[_0x48a273(0x22c)],_0x3ea817[_0x48a273(0x1ff)]))&&_0x3ea817[_0x48a273(0x1fb)](_0x4ce7c2[_0x48a273(0x23d)],_0x3ea817['SPdAx'])&&commandRepository[_0x48a273(0x20d)]()&&globals['getGlobal'](_0x3ea817[_0x48a273(0x22a)])&&globals[_0x48a273(0x1f8)](_0x3ea817[_0x48a273(0x205)])){_0x3ea817[_0x48a273(0x1fd)](_0x4ce7c2['parameters_'][_0x48a273(0x227)],_0x3ea817[_0x48a273(0x242)])?logger[_0x48a273(0x1e4)](_0x3ea817['rGFPL'](_0x3ea817['rGFPL'](_0x3ea817[_0x48a273(0x246)],_0x4ce7c2[_0x48a273(0x1e7)][_0x48a273(0x1f6)]),_0x3ea817[_0x48a273(0x21d)])):logger[_0x48a273(0x1e4)](_0x3ea817[_0x48a273(0x1eb)](_0x3ea817[_0x48a273(0x1eb)](_0x3ea817[_0x48a273(0x1ec)](_0x3ea817['rGFPL'](_0x3ea817[_0x48a273(0x20e)],_0x4ce7c2[_0x48a273(0x1e7)]['using']),':\x20'),_0x4ce7c2[_0x48a273(0x1e7)][_0x48a273(0x1f6)]),_0x3ea817[_0x48a273(0x21d)]));const _0x5620f6=PerformanceTester['measureWrapper'](_0x3ea817[_0x48a273(0x1ed)],async()=>{const _0x1297d0=_0x48a273;return await aiSdkWrapper[_0x1297d0(0x23c)](_0x41a652,_0x1ab3a5,_0x4ce7c2);}),_0x1e128b=new Date(),{locatorType:_0x5612b7,locatorValue:_0x26d44f,commandHealed:_0x29c015}=await _0x3ea817[_0x48a273(0x216)](_0x5620f6);if(_0x3ea817[_0x48a273(0x24c)](_0x5612b7,_0x26d44f)){_0x4ce7c2[_0x48a273(0x1e7)][_0x48a273(0x227)]=_0x5612b7,_0x4ce7c2[_0x48a273(0x1e7)][_0x48a273(0x1f6)]=_0x26d44f,_0x4ce7c2[_0x48a273(0x1ef)]=!![];const _0x56da09=_0x1ab3a5[_0x48a273(0x224)](_0x4ce7c2);return _0x3ea817[_0x48a273(0x249)](_0x5612b7,_0x3ea817[_0x48a273(0x242)])?logger[_0x48a273(0x1e4)](_0x3ea817[_0x48a273(0x24b)](_0x3ea817[_0x48a273(0x223)],_0x26d44f)):logger[_0x48a273(0x1e4)](_0x3ea817[_0x48a273(0x1f9)](_0x3ea817['VuYqs'](_0x3ea817['yTwGx'](_0x3ea817[_0x48a273(0x1e6)],_0x5612b7),':\x20'),_0x26d44f)),_0x56da09;}else!_0x29c015&&(_0x3ea817['wEULI'](_0x5612b7,_0x3ea817[_0x48a273(0x242)])?logger[_0x48a273(0x1e4)](_0x3ea817['qwdyq'](_0x3ea817[_0x48a273(0x219)],_0x4ce7c2[_0x48a273(0x1e7)][_0x48a273(0x1f6)])):logger[_0x48a273(0x1e4)](_0x3ea817[_0x48a273(0x1f9)](_0x3ea817[_0x48a273(0x1ec)](_0x3ea817['qwdyq'](_0x3ea817[_0x48a273(0x230)],_0x4ce7c2[_0x48a273(0x1e7)][_0x48a273(0x227)]),':\x20'),_0x4ce7c2['parameters_'][_0x48a273(0x1f6)])));}!_0x3616ab&&_0x3ea817[_0x48a273(0x221)](_0x4ce7c2['name_'],_0x3ea817[_0x48a273(0x247)])&&helper[_0x48a273(0x217)](_0x4ce7c2,[_0x3ea817['oGTpI'],_0x3ea817['nXIfc']])&&!!constants['NUDGE_LOCAL_ERRORS']['find'](_0x1f8701=>{const _0x5e7cb4=_0x48a273;return _0x483fc2[_0x5e7cb4(0x20a)]()['includes'](_0x1f8701);})&&helper[_0x48a273(0x202)](_0x4ce7c2[_0x48a273(0x1e7)][_0x48a273(0x240)],!![]);}catch(_0x1c9552){logger[_0x48a273(0x218)](_0x3ea817['uvYuz'],_0x1c9552);}},{'success':![],'failure':_0x483fc2})();throw _0x483fc2;}};};function a97_0x15a1(_0x3d51ad,_0x331d7d){const _0x39a96b=a97_0x39a9();return a97_0x15a1=function(_0x15a144,_0x4afab2){_0x15a144=_0x15a144-0x1e4;let _0x54f8db=_0x39a96b[_0x15a144];return _0x54f8db;},a97_0x15a1(_0x3d51ad,_0x331d7d);}function a97_0x39a9(){const _0x29250b=['css\x20selector','mleKu','NcToZ','NoSuchElementError','wvjhm','error','rGFPL','oTOfj','bcDdQ','info','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','ESRKt','parameters_','browserstack.local','IvUgl','initExecute','qwdyq','VuYqs','Dages','QVVXu','skipHealingSuccess','aiHeal_isAuthenticated','ucEIX','./performance/performance-tester','aiSdk_defaultLogDataEnabled','setAiSessionTimeStamp','setTcgToken','value','PRE_EXECUTE','getGlobal','HKBWQ','aiHeal:findElementFailure','wEULI','bstack:options','LGDJp','./ai-sdk/autoHealHelper','RxWUZ','502576mXSwpJ','measureWrapper','getNudgeLocalNotSetError','GPCkv','./logger','ZqkwN','nmsRE','JavascriptError','nfgWg','42lJHjWL','toString','Error\x20in\x20handling\x20TCG\x20Auth:\x20','../bin/utils/constants','isSelfHealEnabled','RYori','./globals','6751856BFdXyl','local','aiHeal:findElementSuccess','8732255osncIE','winstonLogger','isBrowserstackInfra','woAAC','nestedKeyValue','debug','GfOtE','patchExecute','overrideExecute','POST_EXECUTE','SLnKd','./performance/constants','vMLsu','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','MLqjz','zHtca','EHcsP','execute','Successfully\x20healed\x20command\x20using\x20new\x20','IDJDB','using','ODRap','PtLCm','xhvhU','WAiBw','name','findElement','Healing\x20failed\x20for\x20command\x20using\x20','MKLYw','mEhMV','zyYol',';\x20Trying\x20to\x20heal','./ai-sdk/aiSdkWrapper','setTcgTokenStatus','3702558XiwEcj','getId','getTcgTokenStatus','37376883FwxDjJ','get','aiHeal_isHealingEnabled','30GeKxmN','handleFailure','name_','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','./helper','url','9876894cLizdB','eGROi','getSession','12745QdINeT'];a97_0x39a9=function(){return _0x29250b;};return a97_0x39a9();}
|
|
1
|
+
const a97_0x14d51b=a97_0x3daf;(function(_0x278411,_0x351c98){const _0x243467=a97_0x3daf,_0x2c40a2=_0x278411();while(!![]){try{const _0x304e39=-parseInt(_0x243467(0x12a))/0x1+-parseInt(_0x243467(0x119))/0x2*(-parseInt(_0x243467(0x128))/0x3)+-parseInt(_0x243467(0x14d))/0x4*(parseInt(_0x243467(0xfd))/0x5)+parseInt(_0x243467(0x124))/0x6*(parseInt(_0x243467(0x144))/0x7)+parseInt(_0x243467(0x13a))/0x8+parseInt(_0x243467(0x132))/0x9*(parseInt(_0x243467(0x12c))/0xa)+parseInt(_0x243467(0x115))/0xb*(-parseInt(_0x243467(0x117))/0xc);if(_0x304e39===_0x351c98)break;else _0x2c40a2['push'](_0x2c40a2['shift']());}catch(_0x284f6e){_0x2c40a2['push'](_0x2c40a2['shift']());}}}(a97_0xce14,0x2f8cd));function a97_0x3daf(_0xe894d2,_0x49a54b){const _0xce14cc=a97_0xce14();return a97_0x3daf=function(_0x3daf42,_0x2147f5){_0x3daf42=_0x3daf42-0xfc;let _0x362a65=_0xce14cc[_0x3daf42];return _0x362a65;},a97_0x3daf(_0xe894d2,_0x49a54b);}const {aiSdkWrapper}=require(a97_0x14d51b(0xfe)),{commandRepository}=require(a97_0x14d51b(0x100)),PerformanceTester=require(a97_0x14d51b(0x10a)),globals=require(a97_0x14d51b(0x156)),logger=require(a97_0x14d51b(0x157))[a97_0x14d51b(0x10c)],helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a97_0x14d51b(0x126));exports[a97_0x14d51b(0x11c)]=(_0x327c89,_0x355d37)=>{const _0x4e972c=a97_0x14d51b,_0x3093bd={'GJsPH':'aiSdk_defaultLogDataEnabled','Gtqkv':function(_0x4b4a1b,_0x3da028){return _0x4b4a1b===_0x3da028;},'DSWgI':'findElement','MgEpl':_0x4e972c(0x13d),'mEGkh':'aiHeal_isHealingEnabled','Sijcv':'aiHeal:findElementSuccess','QOHVd':function(_0x49bb7d){return _0x49bb7d();},'ARLUC':_0x4e972c(0x13b),'pHBuF':'NoSuchElementError','Bbuwv':function(_0x1e6cda,_0x375bf1){return _0x1e6cda===_0x375bf1;},'IbUuB':'JavascriptError','SEbxj':function(_0x4a23c0,_0x599c71){return _0x4a23c0===_0x599c71;},'bKiWx':function(_0x2859af,_0x384bbd){return _0x2859af===_0x384bbd;},'Sydsj':'css\x20selector','jlpnQ':function(_0x2486b0,_0x404e4e){return _0x2486b0+_0x404e4e;},'mLgaS':_0x4e972c(0x133),'UhiJS':_0x4e972c(0x112),'PQneF':function(_0xb61b49,_0x4f9d84){return _0xb61b49+_0x4f9d84;},'iKftI':function(_0x2a1426,_0x5109c0){return _0x2a1426+_0x5109c0;},'MZWKu':function(_0x49d5fc,_0x36ac9b){return _0x49d5fc+_0x36ac9b;},'WKKlT':_0x4e972c(0x12b),'MgHJY':_0x4e972c(0x142),'ZlvUx':function(_0x322479){return _0x322479();},'mtHFV':function(_0x38012d,_0x5dc938){return _0x38012d&&_0x5dc938;},'analB':function(_0x292b33,_0x77bfd9){return _0x292b33+_0x77bfd9;},'dOdwc':_0x4e972c(0x12e),'DsbQO':function(_0x56d4cb,_0x5bf792){return _0x56d4cb+_0x5bf792;},'HqAhw':function(_0x159f44,_0x1f60d2){return _0x159f44+_0x1f60d2;},'WRzlY':'Successfully\x20healed\x20command\x20using\x20new\x20','lZGcQ':function(_0x311721,_0x1a0bb8){return _0x311721===_0x1a0bb8;},'rPsZY':function(_0x2c0303,_0x4750b3){return _0x2c0303+_0x4750b3;},'GvHnq':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','ZZykf':function(_0x2e90f1,_0x20d136){return _0x2e90f1+_0x20d136;},'bnWmD':'Healing\x20failed\x20for\x20command\x20using\x20','dflpt':function(_0x5d997e,_0xaab194){return _0x5d997e===_0xaab194;},'vQXQq':_0x4e972c(0x149),'YbzCU':'parameters_','LFdPf':'url','nBRhG':_0x4e972c(0x12f),'JAZbP':_0x4e972c(0x107),'rjzSN':function(_0x561a12){return _0x561a12();},'KZoCo':'capability','RmJpE':_0x4e972c(0x102),'cbkWF':_0x4e972c(0x148),'wFBvO':_0x4e972c(0x121)},_0x16ff0d=_0x327c89['patchExecute']||(helper['nestedKeyValue'](_0x355d37,[_0x3093bd[_0x4e972c(0x15f)],_0x3093bd[_0x4e972c(0x129)]])||helper[_0x4e972c(0x123)](_0x355d37,[_0x3093bd['KZoCo'],_0x3093bd[_0x4e972c(0x139)],_0x3093bd[_0x4e972c(0x130)]]));if(!globals[_0x4e972c(0x15c)](_0x3093bd[_0x4e972c(0x136)])&&!globals[_0x4e972c(0x15c)](_0x3093bd[_0x4e972c(0x104)])&&_0x16ff0d)return;_0x327c89[_0x4e972c(0x15b)]=!![],_0x327c89['initExecute']=_0x327c89[_0x4e972c(0x141)],_0x327c89[_0x4e972c(0x141)]=async _0x1daa59=>{const _0x386795=_0x4e972c,_0x1dd318={'xhETy':_0x3093bd[_0x386795(0x136)],'nZOEu':_0x3093bd[_0x386795(0x15d)],'XJhFf':function(_0x5c26c9){const _0x44ff9f=_0x386795;return _0x3093bd[_0x44ff9f(0x150)](_0x5c26c9);}};try{const _0x51b81b={};_0x51b81b[_0x386795(0x15e)]=_0x1daa59[_0x386795(0x108)],await PerformanceTester[_0x386795(0x127)](PerformanceDriverEvents[_0x386795(0xfc)],async()=>{const _0x29e6dd=_0x386795,_0x542934={};_0x542934[_0x29e6dd(0x158)]=_0x1dd318[_0x29e6dd(0x13e)];const _0x17f23a=_0x542934;if(!commandRepository[_0x29e6dd(0x152)]()&&globals[_0x29e6dd(0x15c)](_0x1dd318[_0x29e6dd(0x13e)])){const _0x2751b2=PerformanceTester[_0x29e6dd(0x127)](_0x1dd318[_0x29e6dd(0x12d)],async()=>{const _0x489d26=_0x29e6dd;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x489d26(0x159)]((await _0x327c89[_0x489d26(0x151)]())[_0x489d26(0x153)]());const _0x54a2b6=globals[_0x489d26(0x15c)](_0x17f23a[_0x489d26(0x158)]);_0x54a2b6&&commandRepository[_0x489d26(0x11d)]((await _0x327c89[_0x489d26(0x151)]())[_0x489d26(0x153)]());}catch(_0x73e39){logger['error'](_0x489d26(0x106)+_0x73e39);}});await _0x1dd318[_0x29e6dd(0x125)](_0x2751b2);}},_0x51b81b)();const _0x1c2315=await _0x327c89[_0x386795(0x134)](_0x1daa59);return await PerformanceTester[_0x386795(0x127)](PerformanceDriverEvents[_0x386795(0x138)],async()=>{const _0x561633=_0x386795;if(!helper['isBrowserstackInfra']()&&(commandRepository['isSelfHealEnabled']()||globals[_0x561633(0x15c)](_0x3093bd['GJsPH']))&&_0x3093bd[_0x561633(0x114)](_0x1daa59[_0x561633(0x108)],_0x3093bd[_0x561633(0x137)])&&!_0x1daa59[_0x561633(0x10b)]&&globals[_0x561633(0x15c)](_0x3093bd[_0x561633(0x136)])&&globals[_0x561633(0x15c)](_0x3093bd[_0x561633(0x104)])){const _0x1c1f95=new Date(),_0x50628c=PerformanceTester['measureWrapper'](_0x3093bd[_0x561633(0x11f)],async()=>{const _0x1f4ab4=_0x561633;return await aiSdkWrapper[_0x1f4ab4(0x13c)](_0x355d37,_0x327c89,_0x1daa59);});await _0x3093bd[_0x561633(0x131)](_0x50628c);}},{'command':_0x1daa59['name_']})(),_0x1c2315;}catch(_0x1bcf5f){await PerformanceTester[_0x386795(0x127)](PerformanceDriverEvents[_0x386795(0x138)],async()=>{const _0x48bcf3=_0x386795;logger[_0x48bcf3(0x101)](_0x3093bd[_0x48bcf3(0x155)]);try{if(!helper['isBrowserstackInfra']()&&(_0x3093bd[_0x48bcf3(0x114)](_0x1bcf5f[_0x48bcf3(0x116)],_0x3093bd['pHBuF'])||_0x3093bd['Bbuwv'](_0x1bcf5f[_0x48bcf3(0x116)],_0x3093bd['IbUuB']))&&_0x3093bd[_0x48bcf3(0x10f)](_0x1daa59['name_'],_0x3093bd[_0x48bcf3(0x137)])&&commandRepository['isSelfHealEnabled']()&&globals[_0x48bcf3(0x15c)](_0x3093bd[_0x48bcf3(0x136)])&&globals['getGlobal'](_0x3093bd[_0x48bcf3(0x104)])){_0x3093bd['bKiWx'](_0x1daa59[_0x48bcf3(0x11b)][_0x48bcf3(0x146)],_0x3093bd[_0x48bcf3(0x113)])?logger[_0x48bcf3(0x109)](_0x3093bd[_0x48bcf3(0x13f)](_0x3093bd['jlpnQ'](_0x3093bd[_0x48bcf3(0x110)],_0x1daa59[_0x48bcf3(0x11b)]['value']),_0x3093bd[_0x48bcf3(0x14e)])):logger[_0x48bcf3(0x109)](_0x3093bd[_0x48bcf3(0x15a)](_0x3093bd[_0x48bcf3(0x14f)](_0x3093bd['iKftI'](_0x3093bd[_0x48bcf3(0x120)](_0x3093bd[_0x48bcf3(0xff)],_0x1daa59[_0x48bcf3(0x11b)]['using']),':\x20'),_0x1daa59[_0x48bcf3(0x11b)][_0x48bcf3(0x143)]),_0x3093bd[_0x48bcf3(0x14e)]));const _0x3d0c3d=PerformanceTester['measureWrapper'](_0x3093bd[_0x48bcf3(0x14c)],async()=>{return await aiSdkWrapper['handleFailure'](_0x355d37,_0x327c89,_0x1daa59);}),_0x4dd0ea=new Date(),{locatorType:_0x2b7d0f,locatorValue:_0x1698ab,commandHealed:_0x3d2c68}=await _0x3093bd['ZlvUx'](_0x3d0c3d);if(_0x3093bd[_0x48bcf3(0x10e)](_0x2b7d0f,_0x1698ab)){_0x1daa59[_0x48bcf3(0x11b)][_0x48bcf3(0x146)]=_0x2b7d0f,_0x1daa59[_0x48bcf3(0x11b)][_0x48bcf3(0x143)]=_0x1698ab,_0x1daa59[_0x48bcf3(0x10b)]=!![];const _0x198803=_0x327c89['execute'](_0x1daa59);return _0x3093bd[_0x48bcf3(0x154)](_0x2b7d0f,_0x3093bd[_0x48bcf3(0x113)])?logger[_0x48bcf3(0x109)](_0x3093bd[_0x48bcf3(0x10d)](_0x3093bd['dOdwc'],_0x1698ab)):logger[_0x48bcf3(0x109)](_0x3093bd[_0x48bcf3(0x140)](_0x3093bd[_0x48bcf3(0x103)](_0x3093bd[_0x48bcf3(0x13f)](_0x3093bd[_0x48bcf3(0x122)],_0x2b7d0f),':\x20'),_0x1698ab)),_0x198803;}else!_0x3d2c68&&(_0x3093bd[_0x48bcf3(0x118)](_0x2b7d0f,_0x3093bd[_0x48bcf3(0x113)])?logger[_0x48bcf3(0x109)](_0x3093bd['rPsZY'](_0x3093bd['GvHnq'],_0x1daa59['parameters_'][_0x48bcf3(0x143)])):logger[_0x48bcf3(0x109)](_0x3093bd[_0x48bcf3(0x103)](_0x3093bd[_0x48bcf3(0x140)](_0x3093bd[_0x48bcf3(0x105)](_0x3093bd[_0x48bcf3(0x135)],_0x1daa59[_0x48bcf3(0x11b)][_0x48bcf3(0x146)]),':\x20'),_0x1daa59[_0x48bcf3(0x11b)]['value'])));}!_0x16ff0d&&_0x3093bd[_0x48bcf3(0x11e)](_0x1daa59[_0x48bcf3(0x108)],_0x3093bd[_0x48bcf3(0x111)])&&helper['nestedKeyValue'](_0x1daa59,[_0x3093bd['YbzCU'],_0x3093bd[_0x48bcf3(0x145)]])&&!!constants[_0x48bcf3(0x11a)]['find'](_0x50c305=>{const _0x3d36e0=_0x48bcf3;return _0x1bcf5f[_0x3d36e0(0x147)]()['includes'](_0x50c305);})&&helper[_0x48bcf3(0x14b)](_0x1daa59[_0x48bcf3(0x11b)]['url'],!![]);}catch(_0x59363a){logger[_0x48bcf3(0x101)](_0x3093bd[_0x48bcf3(0x14a)],_0x59363a);}},{'success':![],'failure':_0x1bcf5f})();throw _0x1bcf5f;}};};function a97_0xce14(){const _0x16e02e=['get','nBRhG','getNudgeLocalNotSetError','MgHJY','292VcZRlN','UhiJS','iKftI','rjzSN','getSession','getTcgTokenStatus','getId','bKiWx','ARLUC','./globals','./logger','qfCaA','setTcgToken','PQneF','patchExecute','getGlobal','JAZbP','command','KZoCo','PRE_EXECUTE','4895RjcUoj','./ai-sdk/aiSdkWrapper','WKKlT','./ai-sdk/autoHealHelper','debug','browserstack.local','HqAhw','mEGkh','ZZykf','Error\x20in\x20handling\x20TCG\x20Auth:\x20','aiHeal:setToken','name_','info','./performance/performance-tester','skipHealingSuccess','winstonLogger','analB','mtHFV','SEbxj','mLgaS','vQXQq',';\x20Trying\x20to\x20heal','Sydsj','Gtqkv','539HqRAEM','name','16272tKsWEG','lZGcQ','8500jibFJe','NUDGE_LOCAL_ERRORS','parameters_','overrideExecute','setAiSessionTimeStamp','dflpt','Sijcv','MZWKu','local','WRzlY','nestedKeyValue','12EwaobM','XJhFf','./performance/constants','measureWrapper','159MpWVzu','RmJpE','367277wYWOHE','findElement\x20command\x20failed\x20with\x20','10NWjayo','nZOEu','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','wFBvO','QOHVd','212022dPnfmf','findElement\x20command\x20failed\x20with\x20cssPath:\x20','initExecute','bnWmD','MgEpl','DSWgI','POST_EXECUTE','cbkWF','2731928rBqjQo','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','handleSuccess','aiHeal_isAuthenticated','xhETy','jlpnQ','DsbQO','execute','aiHeal:findElementFailure','value','383789COyxzO','LFdPf','using','toString','bstack:options'];a97_0xce14=function(){return _0x16e02e;};return a97_0xce14();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x117ca4=a98_0x4d89;function a98_0x49fa(){const _0x2d347c=['ItkBu','1633059RRCMGl','212yFgdNK','env','8BRkamX','quitCount_','./performance/performance-tester','takeScreenshot','TEST_SCREENSHOT','1470522gswZUh','5FLVeNk','initQuit','initScreenshot','pid','12lSAnQJ','1982Bbvnzf','8955037FrsiLD','end','7018098LIIchM','SCtpI','quit','lnhaA','./performance/constants','emit','nPSvU','start','patchQuit','O11y_EVENTS','patchScreenshot','BS_TESTOPS_ALLOW_SCREENSHOTS','4030410WqxqhH','overrideTakeScreenshot','OPdqR','then','2524786dWYaXz','TAKE_SCREENSHOT'];a98_0x49fa=function(){return _0x2d347c;};return a98_0x49fa();}(function(_0xab049a,_0x2f4e74){const _0x380fec=a98_0x4d89,_0x1fee6e=_0xab049a();while(!![]){try{const _0xf86b87=-parseInt(_0x380fec(0x11c))/0x1*(-parseInt(_0x380fec(0x105))/0x2)+parseInt(_0x380fec(0x123))/0x3*(-parseInt(_0x380fec(0x104))/0x4)+-parseInt(_0x380fec(0x124))/0x5*(-parseInt(_0x380fec(0x108))/0x6)+parseInt(_0x380fec(0x106))/0x7+parseInt(_0x380fec(0x11e))/0x8*(parseInt(_0x380fec(0x11b))/0x9)+-parseInt(_0x380fec(0x114))/0xa+-parseInt(_0x380fec(0x118))/0xb;if(_0xf86b87===_0x2f4e74)break;else _0x1fee6e['push'](_0x1fee6e['shift']());}catch(_0x507a67){_0x1fee6e['push'](_0x1fee6e['shift']());}}}(a98_0x49fa,0xb4094));const PerformanceTester=require(a98_0x117ca4(0x120)),O11yEvents=require(a98_0x117ca4(0x10c))[a98_0x117ca4(0x111)];function a98_0x4d89(_0x39f2f1,_0x896a72){const _0x49fa95=a98_0x49fa();return a98_0x4d89=function(_0x4d8994,_0x6f02bc){_0x4d8994=_0x4d8994-0x101;let _0x5635c8=_0x49fa95[_0x4d8994];return _0x5635c8;},a98_0x4d89(_0x39f2f1,_0x896a72);}exports[a98_0x117ca4(0x115)]=_0x5e0842=>{const _0x1f63ed=a98_0x117ca4,_0x5ea51d={'ItkBu':_0x1f63ed(0x122),'hawsg':function(_0x2aa91e,_0xb8b502){return _0x2aa91e(_0xb8b502);},'OPdqR':function(_0x2bf2d9,_0x3c66aa){return _0x2bf2d9!==_0x3c66aa;},'DiNMy':'true'};if(_0x5ea51d[_0x1f63ed(0x116)](process[_0x1f63ed(0x11d)][_0x1f63ed(0x113)],_0x5ea51d['DiNMy']))return;if(_0x5e0842[_0x1f63ed(0x112)])return;_0x5e0842[_0x1f63ed(0x112)]=!![],_0x5e0842['initScreenshot']=_0x5e0842[_0x1f63ed(0x121)],_0x5e0842[_0x1f63ed(0x121)]=()=>{return new Promise(function(_0x45611a,_0x491f22){const _0x2b80b7=a98_0x4d89,_0x3951f6={'lnhaA':_0x5ea51d[_0x2b80b7(0x11a)],'JrfkC':function(_0x2e984f,_0x25b045){return _0x5ea51d['hawsg'](_0x2e984f,_0x25b045);}};_0x5e0842[_0x2b80b7(0x102)]()[_0x2b80b7(0x117)](_0x59508b=>{const _0x4a2d31=_0x2b80b7;PerformanceTester[_0x4a2d31(0x10f)](O11yEvents[_0x4a2d31(0x119)]),process[_0x4a2d31(0x10d)]('bs:addLog:'+process[_0x4a2d31(0x103)],{'timestamp':new Date()['toISOString'](),'message':_0x59508b,'kind':_0x3951f6[_0x4a2d31(0x10b)]}),_0x3951f6['JrfkC'](_0x45611a,_0x59508b),PerformanceTester[_0x4a2d31(0x107)](O11yEvents['TAKE_SCREENSHOT']);});});};},exports['overrideQuit']=(_0x2f7896,_0x5453a2=null)=>{const _0x27409b=a98_0x117ca4,_0x45c0fd={'nPSvU':function(_0x4dc09b){return _0x4dc09b();},'SCtpI':function(_0x1ee4ba,_0xa37d6b){return _0x1ee4ba>_0xa37d6b;},'fJVET':function(_0x12fa12,_0x221752){return _0x12fa12>_0x221752;}};if(_0x2f7896[_0x27409b(0x110)])return;_0x2f7896[_0x27409b(0x110)]=!![],_0x2f7896['initQuit']=_0x2f7896['quit'],_0x2f7896[_0x27409b(0x10a)]=()=>{const _0x96add7=_0x27409b;if(_0x5453a2){_0x5453a2[_0x96add7(0x11f)]+=0x1;if(_0x45c0fd[_0x96add7(0x109)](_0x5453a2[_0x96add7(0x11f)],0x1))return _0x2f7896[_0x96add7(0x101)]();}else{_0x2f7896[_0x96add7(0x11f)]+=0x1;if(_0x45c0fd['fJVET'](_0x2f7896['quitCount_'],0x1))return _0x2f7896[_0x96add7(0x101)]();}return new Promise(function(_0x2072d0){const _0x2ee247=_0x96add7;_0x45c0fd[_0x2ee247(0x10e)](_0x2072d0);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99_0xb705d0=a99_0x5e91;function a99_0xa2a0(){const _0x1578da=['http://localhost:5338','Error\x20creating\x20percy\x20config:\x20','stop','gHkSu','CVJzV','388215WnxZrn','nodeRequest','data','../../helpers/performance/performance-tester','healthcheck','flags','9378FfbRgA','percyOptions','join','token','close','GET','error','NQFQl','9124uhFVVW','102BEZord','QPMll','writeFile','stderr','child_process','&type=','automate','../../helpers/performance/constants','866990aMbWbT','Percy\x20config\x20created\x20at\x20','projectName','1531984eYCCfS','exports','percy/healthcheck','./PercyBinary','pipe','../../helpers/testhub/constants','2560dHAGUN','WPzVi','MMSHj','owiJo','BROWSERSTACK_TESTHUB_UUID','createPercyConfig','exec','QMXbF','../logger','debug','veXmP','201zNeBNs','5539gyzvOk','version','fetchPercyToken','PERCY_SERVER_ADDRESS','eZVUc','lHhgG',':start','isProcessRunning','pONFK','../helper','createWriteStream','percy.log','start','app:exec','push','env','vjesZ','tmpdir','4361BpVKPr','DOWNLOAD','api/app_percy/get_project_token?name=','VvRGQ'];a99_0xa2a0=function(){return _0x1578da;};return a99_0xa2a0();}(function(_0x482a4c,_0x2dbf52){const _0x17b4ed=a99_0x5e91,_0x2e060b=_0x482a4c();while(!![]){try{const _0x5cdaac=-parseInt(_0x17b4ed(0x114))/0x1+parseInt(_0x17b4ed(0xff))/0x2+-parseInt(_0x17b4ed(0x113))/0x3*(parseInt(_0x17b4ed(0xf6))/0x4)+-parseInt(_0x17b4ed(0xe8))/0x5+parseInt(_0x17b4ed(0xf7))/0x6*(-parseInt(_0x17b4ed(0x126))/0x7)+-parseInt(_0x17b4ed(0x102))/0x8+parseInt(_0x17b4ed(0xee))/0x9*(parseInt(_0x17b4ed(0x108))/0xa);if(_0x5cdaac===_0x2dbf52)break;else _0x2e060b['push'](_0x2e060b['shift']());}catch(_0x10fb82){_0x2e060b['push'](_0x2e060b['shift']());}}}(a99_0xa2a0,0x40005));function a99_0x5e91(_0x241627,_0x4cfd86){const _0xa2a0f9=a99_0xa2a0();return a99_0x5e91=function(_0x5e91ed,_0x4bce13){_0x5e91ed=_0x5e91ed-0xe0;let _0x3641b2=_0xa2a0f9[_0x5e91ed];return _0x3641b2;},a99_0x5e91(_0x241627,_0x4cfd86);}const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a99_0xb705d0(0xfb)),helper=require(a99_0xb705d0(0x11d)),logger=require(a99_0xb705d0(0x110))['winstonLogger'],{getLogDir}=require(a99_0xb705d0(0x110)),testHubConstants=require(a99_0xb705d0(0x107)),PerformanceTester=require(a99_0xb705d0(0xeb)),{PERCY_EVENTS:PerformanceEvents}=require(a99_0xb705d0(0xfe)),PercyBinary=require(a99_0xb705d0(0x105));class Percy{#logfile=path['join'](getLogDir(),a99_0xb705d0(0x11f));#address=process['env'][a99_0xb705d0(0x117)]||a99_0xb705d0(0xe3);#binaryPath=null;#config=null;#proc=null;#isApp=![];[a99_0xb705d0(0x11b)]=![];constructor(_0x245214){this.#config=_0x245214,!!_0x245214['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x444267=a99_0xb705d0;if(!this.#binaryPath){const _0x45af4f=new PercyBinary();PerformanceTester['start'](PerformanceEvents[_0x444267(0xe0)]),this.#binaryPath=await _0x45af4f['getBinaryPath'](this.#config),PerformanceTester['end'](PerformanceEvents[_0x444267(0xe0)]);}return this.#binaryPath;}async #sleep(_0x5677ca){return new Promise(_0x1ebff3=>setTimeout(_0x1ebff3,_0x5677ca));}async['healthcheck'](){const _0x105d75=a99_0xb705d0,_0x34381a={};_0x34381a[_0x105d75(0xf5)]=_0x105d75(0xf3),_0x34381a['DyNIO']=_0x105d75(0x104);const _0x59a9ac=_0x34381a;try{const _0x5a1df7=await helper[_0x105d75(0xe9)](_0x59a9ac[_0x105d75(0xf5)],_0x59a9ac['DyNIO'],null,null,this.#address);if(_0x5a1df7)return!![];}catch(_0x10a8f5){return![];}}async[a99_0xb705d0(0x120)](){const _0x553651=a99_0xb705d0,_0x488843={'XxCDT':_0x553651(0x121),'WPzVi':_0x553651(0x10e),'qLSdD':function(_0x53503d,_0x15a99d,_0x5b46a5,_0x4833c1){return _0x53503d(_0x15a99d,_0x5b46a5,_0x4833c1);},'pUVZN':_0x553651(0xf2),'lHhgG':'Percy\x20healthcheck\x20successful'},_0x69f3da=await this.#getBinaryPath(),_0x468a17={};_0x468a17[_0x553651(0xed)]='a';const _0x1bbe12=fs[_0x553651(0x11e)](this.#logfile,_0x468a17),_0x25414d=await this[_0x553651(0x116)](),_0x4797c3=await this[_0x553651(0x10d)]();if(!_0x25414d)return![];const _0x310eb5=[(this.#isApp?_0x488843['XxCDT']:_0x488843[_0x553651(0x109)])+_0x553651(0x11a)];_0x4797c3&&_0x310eb5[_0x553651(0x122)]('-c',_0x4797c3);this.#proc=_0x488843['qLSdD'](spawn,_0x69f3da,_0x310eb5,{'env':Object['assign'](process[_0x553651(0x123)],{'PERCY_TOKEN':_0x25414d,'TH_BUILD_UUID':process[_0x553651(0x123)][testHubConstants['ENV_VAR'][_0x553651(0x10c)]]})}),this.#proc['stdout'][_0x553651(0x106)](_0x1bbe12),this.#proc[_0x553651(0xfa)]['pipe'](_0x1bbe12),this[_0x553651(0x11b)]=!![];var _0x6d9753=this;this.#proc['on'](_0x488843['pUVZN'],function(_0xc57fb6){_0x6d9753['isProcessRunning']=![];});do{const _0x28bcc1=await this[_0x553651(0xec)]();if(_0x28bcc1)return logger['debug'](_0x488843[_0x553651(0x119)]),!![];await this.#sleep(0x3e8);}while(this[_0x553651(0x11b)]);return![];}async[a99_0xb705d0(0xe5)](){const _0x52ca56=a99_0xb705d0,_0xb7f498={'CVJzV':function(_0x3533ee,_0x1b1774){return _0x3533ee(_0x1b1774);},'pONFK':function(_0x1984c1,_0x18b56f,_0x3409ce){return _0x1984c1(_0x18b56f,_0x3409ce);},'owiJo':'exec:stop','veXmP':_0x52ca56(0xf2)},_0x330347=await this.#getBinaryPath();return new Promise((_0x53f4f5,_0x51a5be)=>{const _0x38b83b=_0x52ca56,_0x5864ef=_0xb7f498[_0x38b83b(0x11c)](spawn,_0x330347,[_0xb7f498[_0x38b83b(0x10b)]]);_0x5864ef['on'](_0xb7f498[_0x38b83b(0x112)],_0x28cb16=>{const _0x58efcb=_0x38b83b;this[_0x58efcb(0x11b)]=![],_0xb7f498[_0x58efcb(0xe7)](_0x53f4f5,_0x28cb16);});});}['isRunning'](){const _0x2d1927=a99_0xb705d0;return this[_0x2d1927(0x11b)];}async['fetchPercyToken'](){const _0x3e587e=a99_0xb705d0,_0xdddd53={};_0xdddd53[_0x3e587e(0x118)]='app',_0xdddd53[_0x3e587e(0x10a)]=_0x3e587e(0xfd),_0xdddd53[_0x3e587e(0x10f)]=_0x3e587e(0xf3),_0xdddd53[_0x3e587e(0xf8)]='Percy\x20fetch\x20token\x20success';const _0x38869b=_0xdddd53,_0x578c90=this.#config[_0x3e587e(0x101)];try{const _0x3d9a2f=this.#isApp?_0x38869b[_0x3e587e(0x118)]:_0x38869b[_0x3e587e(0x10a)],_0x4470d8=await helper[_0x3e587e(0xe9)](_0x38869b['QMXbF'],_0x3e587e(0xe1)+_0x578c90+_0x3e587e(0xfc)+_0x3d9a2f,{},this.#config),_0x316f2e=_0x4470d8[_0x3e587e(0xea)];return logger[_0x3e587e(0x111)](_0x38869b[_0x3e587e(0xf8)]),_0x316f2e[_0x3e587e(0xf1)];}catch(_0x33420f){return logger['error']('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x33420f),null;}}async['createPercyConfig'](){const _0x58ade8=a99_0xb705d0,_0x417e0a={'gHkSu':function(_0x252b31,_0x5ca605){return _0x252b31(_0x5ca605);},'sIZEf':function(_0x525436,_0x4540c4){return _0x525436+_0x4540c4;},'VvRGQ':_0x58ade8(0x100),'vjesZ':'percy.json'};if(!this.#config['percyOptions'])return null;const _0x2073ba=path[_0x58ade8(0xf0)](os[_0x58ade8(0x125)](),_0x417e0a[_0x58ade8(0x124)]),_0x31b555=this.#config[_0x58ade8(0xef)];return!_0x31b555[_0x58ade8(0x115)]&&(_0x31b555[_0x58ade8(0x115)]='2'),new Promise((_0xafab8b,_0x2e6270)=>{const _0x2d1c29=_0x58ade8;fs[_0x2d1c29(0xf9)](_0x2073ba,JSON['stringify'](_0x31b555),_0x2dddb5=>{const _0x163055=_0x2d1c29;_0x2dddb5&&(logger[_0x163055(0xf4)](_0x163055(0xe4)+_0x2dddb5),_0x417e0a['gHkSu'](_0xafab8b,null)),logger[_0x163055(0x111)](_0x417e0a['sIZEf'](_0x417e0a[_0x163055(0xe2)],_0x2073ba)),_0x417e0a[_0x163055(0xe6)](_0xafab8b,_0x2073ba);});});}}module[a99_0xb705d0(0x103)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a100_0x30a489=a100_0x173a;function a100_0x173a(_0x546f96,_0x935f8){const _0x26c12b=a100_0x26c1();return a100_0x173a=function(_0x173af8,_0x330ad1){_0x173af8=_0x173af8-0x87;let _0x148159=_0x26c12b[_0x173af8];return _0x148159;},a100_0x173a(_0x546f96,_0x935f8);}(function(_0x1f88e6,_0xab526e){const _0x25633e=a100_0x173a,_0x5378a1=_0x1f88e6();while(!![]){try{const _0x56e913=-parseInt(_0x25633e(0xaf))/0x1+-parseInt(_0x25633e(0xf5))/0x2*(parseInt(_0x25633e(0x88))/0x3)+-parseInt(_0x25633e(0xa9))/0x4+-parseInt(_0x25633e(0x98))/0x5*(-parseInt(_0x25633e(0xdf))/0x6)+-parseInt(_0x25633e(0xc9))/0x7+parseInt(_0x25633e(0xd5))/0x8+parseInt(_0x25633e(0xee))/0x9;if(_0x56e913===_0xab526e)break;else _0x5378a1['push'](_0x5378a1['shift']());}catch(_0x2e5c0f){_0x5378a1['push'](_0x5378a1['shift']());}}}(a100_0x26c1,0x6ccd5));function a100_0x26c1(){const _0x190dc3=['etag','percy.exe','qNGOM','agent','HOMEDRIVE','gTKOF','W_OK','yauzl','.browserstack','2067208XpFsFW','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','Saved\x20new\x20ETag\x20for\x20percy\x20binary','adxvk','readFileSync','SXWLq','850884ueAkAl','getBinaryPath','ygaHR','QncOf','createWriteStream','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','UfWRz','mkdirSync','length','If-None-Match','useCaCertificate','QlPee','HOME','platform','uZakG','pRxtl','Hdtnb','test','function','undefined','tWHSm','TaYTT','KaqdR','LOGNAME','GdouH','WmfTY','3174129TZmYDl','vNWNM','/percy-linux.zip','KiXbg','warn','url','../logger','EJibv','statusCode','host','error','HTUUZ','6884656YBQqKG','proxyHost','DoUHC','.etag','debug','rBVwp','lLdLu','readEntry','orgSq','port','2006526ArgutC','close','/home/','dpCsz','Failed\x20to\x20save\x20ETag\x20file:\x20','HOMEPATH','mKign','MtHNb','writeFileSync','linux','USERPROFILE','child_process','bbOLU','lVDKr','validateBinary','13118265lyuQXH','dNwCA','then','mXXyZ','FrPah','TauWm','join','2bgTRXT','GmgyR','StRlU','needsUpdate','--version','mcgzr','win32','binaryPath','entry','LVQXO','gEoTI','headers','PSftk','UHFCm','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','oMcTI','extractAndSaveBinary','FauBH','HTyCM','LWwsB','https://github.com/percy/cli/releases/latest/download','Failed\x20to\x20read\x20ETag\x20file:\x20','utf8','YuclR','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','MlWIb','KwOti','hJoyI','JpVTE','LMlgn','pXfgq','CQnbT','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','0755','1157406xotYTC','match','rVgCq','vTSXJ','chmod','https-proxy-agent','pipe','trim','proxyPort','/Users/','catch','/percy-osx.zip','fileName','vtFQL','download','qtACa','5EhiSEn','accessSync','X_OK','cwd','get','once','percy','darwin'];a100_0x26c1=function(){return _0x190dc3;};return a100_0x26c1();}const {https}=require('follow-redirects'),url=require(a100_0x30a489(0xce)),yauzl=require(a100_0x30a489(0xa7)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a100_0x30a489(0xea)),HttpsProxyAgent=require(a100_0x30a489(0x8d)),logger=require(a100_0x30a489(0xcf))['winstonLogger'];class PercyBinary{#hostOS=process[a100_0x30a489(0xbc)];#httpPath=null;#binaryName=a100_0x30a489(0x9e);#orderedPaths=[path[a100_0x30a489(0xf4)](this.#homedir(),a100_0x30a489(0xa8)),process[a100_0x30a489(0x9b)](),os['tmpdir']()];constructor(){const _0x120e42=a100_0x30a489,_0xb1c012={};_0xb1c012[_0x120e42(0xf6)]=_0x120e42(0x109),_0xb1c012[_0x120e42(0xca)]=function(_0x32ccf4,_0x1acad5){return _0x32ccf4+_0x1acad5;},_0xb1c012[_0x120e42(0x111)]=_0x120e42(0x93),_0xb1c012[_0x120e42(0xf1)]=function(_0xe52f7d,_0xdce2b5){return _0xe52f7d+_0xdce2b5;},_0xb1c012[_0x120e42(0x112)]='/percy-win.zip',_0xb1c012[_0x120e42(0x97)]=_0x120e42(0xa1),_0xb1c012[_0x120e42(0x107)]=function(_0x1be26c,_0x572441){return _0x1be26c+_0x572441;},_0xb1c012[_0x120e42(0x108)]=_0x120e42(0xcb);const _0x3eb043=_0xb1c012,_0x286e03=_0x3eb043[_0x120e42(0xf6)];if(this.#hostOS[_0x120e42(0x89)](/darwin|mac os/i))this.#httpPath=_0x3eb043[_0x120e42(0xca)](_0x286e03,_0x3eb043[_0x120e42(0x111)]);else this.#hostOS[_0x120e42(0x89)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x3eb043[_0x120e42(0xf1)](_0x286e03,_0x3eb043['LMlgn']),this.#binaryName=_0x3eb043[_0x120e42(0x97)]):this.#httpPath=_0x3eb043[_0x120e42(0x107)](_0x286e03,_0x3eb043['LWwsB']);}#getAvailableDirs(){const _0x28285a=a100_0x30a489,_0x2b0a2a={};_0x2b0a2a[_0x28285a(0xef)]=function(_0x4064bb,_0x4636e1){return _0x4064bb<_0x4636e1;},_0x2b0a2a[_0x28285a(0xd7)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x3c20af=_0x2b0a2a;for(var _0xcbec6f=0x0;_0x3c20af[_0x28285a(0xef)](_0xcbec6f,this.#orderedPaths[_0x28285a(0xb7)]);_0xcbec6f++){var _0x3ceb45=this.#orderedPaths[_0xcbec6f];if(this.#makePath(_0x3ceb45))return _0x3ceb45;}throw new Error(_0x3c20af[_0x28285a(0xd7)]);}#makePath(_0x6b16b1){const _0x61fb24=a100_0x30a489;try{return _0x6b16b1&&!this.#checkPath(_0x6b16b1)&&fs[_0x61fb24(0xb6)](_0x6b16b1),!![];}catch{return![];}}#checkPath(_0x1fdb73,_0x53a2ed){const _0x550630=a100_0x30a489,_0x2dbd91={};_0x2dbd91['SXWLq']=function(_0x28dd1c,_0xb682ab){return _0x28dd1c|_0xb682ab;},_0x2dbd91[_0x550630(0xc8)]=function(_0x29d204,_0x53933e){return _0x29d204!==_0x53933e;},_0x2dbd91[_0x550630(0xd0)]=_0x550630(0xc2);const _0x143dd8=_0x2dbd91;_0x53a2ed=_0x53a2ed||_0x143dd8[_0x550630(0xae)](fs['R_OK'],fs[_0x550630(0xa6)]);try{return fs[_0x550630(0x99)](_0x1fdb73,_0x53a2ed),!![];}catch(_0x253498){if(_0x143dd8['WmfTY'](typeof fs['accessSync'],_0x143dd8['EJibv']))return![];try{return fs['statSync'](_0x1fdb73),!![];}catch(_0x5355de){return![];}}}#getETagPath(_0x1a9a02){const _0x527d66=a100_0x30a489;return path[_0x527d66(0xf4)](_0x1a9a02,this.#binaryName+_0x527d66(0xd8));}#loadETag(_0x4df605){const _0x2cd1a0=a100_0x30a489,_0x3d9a7f={};_0x3d9a7f['GdouH']=_0x2cd1a0(0x10b);const _0x448b4a=_0x3d9a7f,_0x3974d5=this.#getETagPath(_0x4df605);if(this.#checkPath(_0x3974d5))try{return fs[_0x2cd1a0(0xad)](_0x3974d5,_0x448b4a[_0x2cd1a0(0xc7)])[_0x2cd1a0(0x8f)]();}catch(_0xc8adc2){logger[_0x2cd1a0(0xcd)](_0x2cd1a0(0x10a)+_0xc8adc2);}return null;}#saveETag(_0x106947,_0x108ebd){const _0xe8ff63=a100_0x30a489,_0xb4d0c8={};_0xb4d0c8[_0xe8ff63(0x8b)]=_0xe8ff63(0xab);const _0x2c8ab2=_0xb4d0c8;if(!_0x108ebd)return;try{const _0x3d428b=this.#getETagPath(_0x106947);fs[_0xe8ff63(0xe7)](_0x3d428b,_0x108ebd),logger[_0xe8ff63(0xd9)](_0x2c8ab2[_0xe8ff63(0x8b)]);}catch(_0x454ee8){logger[_0xe8ff63(0xcd)](_0xe8ff63(0xe3)+_0x454ee8);}}async #handleBinaryDownload(_0x2aa019,_0xa8f78a,_0x71eff6){const _0x11ba38=a100_0x30a489,_0x2544dc={};_0x2544dc[_0x11ba38(0xcc)]='Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying';const _0x13e1ff=_0x2544dc,_0x2d0c76=await this[_0x11ba38(0xed)](_0x2aa019[_0x11ba38(0xfc)]);if(!_0x2d0c76){logger[_0x11ba38(0xd3)](_0x13e1ff[_0x11ba38(0xcc)]);const _0x458410=await this[_0x11ba38(0x96)](_0xa8f78a,_0x71eff6);return _0x458410['binaryPath'];}return _0x2aa019[_0x11ba38(0xfc)];}async[a100_0x30a489(0xb0)](_0x259172){const _0xc995f5=a100_0x30a489,_0x317a03={};_0x317a03[_0xc995f5(0x114)]=_0xc995f5(0x103),_0x317a03['pRxtl']=_0xc995f5(0xaa);const _0x2b6365=_0x317a03,_0x15ec41=this.#getAvailableDirs(),_0x513c80=path['join'](_0x15ec41,this.#binaryName);if(this.#checkPath(_0x513c80,fs[_0xc995f5(0x9a)])){const _0x353be6=this.#loadETag(_0x15ec41);if(_0x353be6)try{const _0x519da7=await this[_0xc995f5(0x96)](_0x259172,_0x15ec41,_0x353be6);if(!_0x519da7[_0xc995f5(0xf8)])return logger['debug'](_0x2b6365[_0xc995f5(0x114)]),_0x513c80;return logger[_0xc995f5(0xd9)](_0x2b6365[_0xc995f5(0xbe)]),await this.#handleBinaryDownload(_0x519da7,_0x259172,_0x15ec41);}catch(_0x3353e1){return logger[_0xc995f5(0xcd)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x3353e1),_0x513c80;}}const _0xc465ab=await this[_0xc995f5(0x96)](_0x259172,_0x15ec41);return await this.#handleBinaryDownload(_0xc465ab,_0x259172,_0x15ec41);}[a100_0x30a489(0x96)](_0x2ce307,_0x1fa94a,_0x2df30c=null){const _0x1f383a=a100_0x30a489,_0x4ccc99={'lVDKr':function(_0x3e1f20,_0x2ac1c9){return _0x3e1f20(_0x2ac1c9);},'TauWm':function(_0x57a27a,_0x1ffa07){return _0x57a27a===_0x1ffa07;},'MtHNb':_0x1f383a(0xd3),'RuWQH':'close','mcgzr':function(_0xdc607,_0x200f76){return _0xdc607+_0x200f76;},'PSftk':'.zip'};_0x1fa94a&&!this.#checkPath(_0x1fa94a)&&fs[_0x1f383a(0xb6)](_0x1fa94a);const _0x359428=this.#binaryName,_0xc43ac6=path[_0x1f383a(0xf4)](_0x1fa94a,_0x4ccc99[_0x1f383a(0xfa)](_0x359428,_0x4ccc99[_0x1f383a(0x101)])),_0x1de361=fs[_0x1f383a(0xb3)](_0xc43ac6),_0x487947=url['parse'](this.#httpPath);if(_0x2ce307[_0x1f383a(0xd6)]&&_0x2ce307[_0x1f383a(0x90)]){const _0xce11ef={};_0xce11ef[_0x1f383a(0xd2)]=_0x2ce307[_0x1f383a(0xd6)],_0xce11ef[_0x1f383a(0xde)]=_0x2ce307['proxyPort'],_0x487947[_0x1f383a(0xa3)]=new HttpsProxyAgent(_0xce11ef);}if(_0x2ce307[_0x1f383a(0xb9)])try{_0x487947['ca']=fs[_0x1f383a(0xad)](_0x2ce307['useCaCertificate']);}catch(_0x1930b8){logger['error'](_0x1f383a(0x115)+_0x1930b8);}if(_0x2df30c){const _0x412025={};_0x412025[_0x1f383a(0xb8)]=_0x2df30c,_0x487947[_0x1f383a(0x100)]=_0x412025;}return new Promise((_0x5799ce,_0x3442e7)=>{const _0x2eb986=_0x1f383a,_0x28ca2e={'HTUUZ':function(_0x2d0195,_0x44b9ad){const _0x2bc8c5=a100_0x173a;return _0x4ccc99[_0x2bc8c5(0xec)](_0x2d0195,_0x44b9ad);},'ntBft':function(_0x28e14d,_0x4c6f6f){const _0x1976be=a100_0x173a;return _0x4ccc99[_0x1976be(0xf3)](_0x28e14d,_0x4c6f6f);},'mKign':_0x4ccc99[_0x2eb986(0xe6)],'KwOti':_0x4ccc99['RuWQH']};https[_0x2eb986(0x9c)](_0x487947,_0x39632e=>{const _0x51ea14=_0x2eb986,_0x57b879={'QlPee':function(_0x4be236,_0x578ad2){return _0x28ca2e['HTUUZ'](_0x4be236,_0x578ad2);},'CQFat':function(_0x31fa64,_0x21d199){return _0x28ca2e['HTUUZ'](_0x31fa64,_0x21d199);}};if(_0x2df30c&&_0x28ca2e['ntBft'](_0x39632e[_0x51ea14(0xd1)],0x130)){const _0x3fbbc5={};_0x3fbbc5[_0x51ea14(0xf8)]=![],_0x28ca2e[_0x51ea14(0xd4)](_0x5799ce,_0x3fbbc5);return;}const _0x40a19b=_0x39632e['headers'][_0x51ea14(0xa0)];_0x40a19b&&this.#saveETag(_0x1fa94a,_0x40a19b),_0x39632e[_0x51ea14(0x8e)](_0x1de361),_0x39632e['on'](_0x28ca2e[_0x51ea14(0xe5)],function(_0x5b2cf7){const _0x53cd43=_0x51ea14;logger[_0x53cd43(0xd3)]('Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20'+_0x5b2cf7),_0x57b879[_0x53cd43(0xba)](_0x3442e7,_0x5b2cf7);}),_0x1de361['on'](_0x28ca2e[_0x51ea14(0xe5)],function(_0x5851ef){const _0x2790da=_0x51ea14;logger['error'](_0x2790da(0x10d)+_0x5851ef),_0x57b879['CQFat'](_0x3442e7,_0x5851ef);}),_0x1de361['on'](_0x28ca2e[_0x51ea14(0x10f)],()=>{const _0x5d0207=_0x51ea14;this[_0x5d0207(0x105)](_0xc43ac6,_0x1fa94a)[_0x5d0207(0xf0)](_0x408ce8=>_0x5799ce({'needsUpdate':!![],'binaryPath':_0x408ce8}))[_0x5d0207(0x92)](_0x3442e7);});})['on'](_0x4ccc99[_0x2eb986(0xe6)],function(_0x339317){const _0x578ced=_0x2eb986;logger[_0x578ced(0xd3)](_0x578ced(0xb4)+_0x339317),_0x28ca2e[_0x578ced(0xd4)](_0x3442e7,_0x339317);});});}[a100_0x30a489(0x105)](_0x5e32d3,_0xf98374){const _0xab66c1=a100_0x30a489,_0xf0b1b6={'orgSq':function(_0xee28d0,_0x432d6f){return _0xee28d0(_0x432d6f);},'ygaHR':'end','oueAw':function(_0x29e759,_0x419a32){return _0x29e759===_0x419a32;},'lLdLu':_0xab66c1(0x87),'FrPah':_0xab66c1(0xfd),'bbOLU':_0xab66c1(0xd3)},_0xf2dae1=this.#binaryName,_0x42dff1=path['join'](_0xf98374,_0xf2dae1);return new Promise((_0x576677,_0x2beb16)=>{const _0x4c7988=_0xab66c1,_0x33bc82={'THdtW':function(_0x3460f4,_0xa22062){const _0x247f8b=a100_0x173a;return _0xf0b1b6[_0x247f8b(0xdd)](_0x3460f4,_0xa22062);},'hJoyI':_0xf0b1b6[_0x4c7988(0xb1)],'pXfgq':function(_0x438367,_0x260fe3){return _0xf0b1b6['oueAw'](_0x438367,_0x260fe3);},'rVgCq':function(_0x35c1a7,_0x34157c){return _0xf0b1b6['orgSq'](_0x35c1a7,_0x34157c);},'uZakG':_0xf0b1b6[_0x4c7988(0xdb)],'LVQXO':_0xf0b1b6[_0x4c7988(0xf2)],'tWHSm':_0xf0b1b6[_0x4c7988(0xeb)]},_0x4b67c5={};_0x4b67c5['lazyEntries']=!![],yauzl['open'](_0x5e32d3,_0x4b67c5,function(_0x9d95fc,_0x2715eb){const _0x5a8f7c=_0x4c7988,_0x416d1d={'RLpjr':function(_0x61229d,_0x8917ef){const _0x396b23=a100_0x173a;return _0x33bc82[_0x396b23(0x8a)](_0x61229d,_0x8917ef);},'MlWIb':function(_0x4d1037,_0x5d37c9){return _0x33bc82['THdtW'](_0x4d1037,_0x5d37c9);},'rBVwp':_0x33bc82[_0x5a8f7c(0xbd)]};_0x9d95fc&&_0x33bc82['rVgCq'](_0x2beb16,_0x9d95fc),_0x2715eb[_0x5a8f7c(0xdc)](),_0x2715eb['on'](_0x33bc82[_0x5a8f7c(0xfe)],_0x392058=>{const _0x38e734=_0x5a8f7c,_0x4ccdb6={'YuclR':function(_0x183ca7,_0x1e2cef){return _0x33bc82['THdtW'](_0x183ca7,_0x1e2cef);},'EafiD':_0x33bc82[_0x38e734(0x110)]};if(/\/$/[_0x38e734(0xc0)](_0x392058[_0x38e734(0x94)]))_0x2715eb[_0x38e734(0xdc)]();else{const _0xd20c80=fs['createWriteStream'](path[_0x38e734(0xf4)](_0xf98374,_0x392058[_0x38e734(0x94)]));_0x2715eb['openReadStream'](_0x392058,function(_0x390920,_0x38150d){const _0x425956=_0x38e734;_0x390920&&_0x4ccdb6[_0x425956(0x10c)](_0x2beb16,_0x9d95fc),_0x38150d['on'](_0x4ccdb6['EafiD'],function(){const _0x320914=_0x425956;_0xd20c80[_0x320914(0xe0)](),_0x2715eb[_0x320914(0xdc)]();}),_0x38150d[_0x425956(0x8e)](_0xd20c80);}),_0x33bc82[_0x38e734(0x113)](_0x392058[_0x38e734(0x94)],_0xf2dae1)&&_0x2715eb[_0x38e734(0xe0)]();}}),_0x2715eb['on'](_0x33bc82[_0x5a8f7c(0xc3)],_0x49909e=>{_0x416d1d['RLpjr'](_0x2beb16,_0x49909e);}),_0x2715eb[_0x5a8f7c(0x9d)](_0x33bc82[_0x5a8f7c(0x110)],()=>{const _0x175064=_0x5a8f7c;fs[_0x175064(0x8c)](_0x42dff1,_0x416d1d[_0x175064(0xda)],function(_0x1f9814){const _0x34f2c4=_0x175064;_0x1f9814&&_0x416d1d[_0x34f2c4(0x10e)](_0x2beb16,_0x1f9814),_0x416d1d[_0x34f2c4(0x10e)](_0x576677,_0x42dff1);}),_0x2715eb[_0x175064(0xe0)]();});});});}async[a100_0x30a489(0xed)](_0x2cc93d){const _0x49a3a2=a100_0x30a489,_0x34d4f9={'StRlU':function(_0x517977,_0x3f9ed2){return _0x517977(_0x3f9ed2);},'QncOf':function(_0x55b3a2,_0xf1d096){return _0x55b3a2(_0xf1d096);},'qNGOM':function(_0x4b58e1,_0x3badcf,_0x5634fb,_0x52173d){return _0x4b58e1(_0x3badcf,_0x5634fb,_0x52173d);},'nSTGQ':_0x49a3a2(0xf9),'QyXJw':'data','oMcTI':'close'},_0x42e6e2=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x82c1d0,_0xff00df)=>{const _0x41f593=_0x49a3a2,_0x2b9f82={};_0x2b9f82['env']=process['env'];const _0x2f97b4=_0x34d4f9[_0x41f593(0xa2)](spawn,_0x2cc93d,[_0x34d4f9['nSTGQ']],_0x2b9f82);_0x2f97b4['stdout']['on'](_0x34d4f9['QyXJw'],_0x582526=>{const _0x3f91d3=_0x41f593;_0x42e6e2['test'](_0x582526)&&_0x34d4f9[_0x3f91d3(0xf7)](_0x82c1d0,!![]);}),_0x2f97b4['on'](_0x34d4f9[_0x41f593(0x104)],()=>{const _0x557af5=_0x41f593;_0x34d4f9[_0x557af5(0xb2)](_0x82c1d0,![]);});});}#homedir(){const _0x48e65a=a100_0x30a489,_0x25d8d4={};_0x25d8d4[_0x48e65a(0x106)]=function(_0x25f13f,_0x4f5c50){return _0x25f13f===_0x4f5c50;},_0x25d8d4[_0x48e65a(0xac)]=_0x48e65a(0xc1),_0x25d8d4['JPwOd']=function(_0x23da4a,_0x4bea44){return _0x23da4a===_0x4bea44;},_0x25d8d4[_0x48e65a(0xc5)]=_0x48e65a(0xfb),_0x25d8d4[_0x48e65a(0xb5)]=function(_0x3b4049,_0x515b52){return _0x3b4049+_0x515b52;},_0x25d8d4[_0x48e65a(0xa5)]=_0x48e65a(0x9f),_0x25d8d4[_0x48e65a(0xff)]=_0x48e65a(0x91),_0x25d8d4['TaYTT']=_0x48e65a(0xe8),_0x25d8d4[_0x48e65a(0x102)]='/root',_0x25d8d4[_0x48e65a(0xe2)]=function(_0x596217,_0x707be2){return _0x596217+_0x707be2;},_0x25d8d4[_0x48e65a(0xbf)]=_0x48e65a(0xe1),_0x25d8d4['vtFQL']=function(_0x453b0f,_0x5b4720){return _0x453b0f||_0x5b4720;};const _0x5851be=_0x25d8d4;if(_0x5851be[_0x48e65a(0x106)](typeof os['homedir'],_0x5851be[_0x48e65a(0xac)]))return os['homedir']();const _0x5243df=process['env'],_0x5d1c9a=_0x5243df[_0x48e65a(0xbb)],_0x5e30d9=_0x5243df[_0x48e65a(0xc6)]||_0x5243df['USER']||_0x5243df['LNAME']||_0x5243df['USERNAME'];if(_0x5851be['JPwOd'](process[_0x48e65a(0xbc)],_0x5851be['KaqdR']))return _0x5243df[_0x48e65a(0xe9)]||_0x5851be[_0x48e65a(0xb5)](_0x5243df[_0x48e65a(0xa4)],_0x5243df[_0x48e65a(0xe4)])||_0x5d1c9a||null;if(_0x5851be[_0x48e65a(0x106)](process[_0x48e65a(0xbc)],_0x5851be['gTKOF']))return _0x5d1c9a||(_0x5e30d9?_0x5851be[_0x48e65a(0xb5)](_0x5851be[_0x48e65a(0xff)],_0x5e30d9):null);if(_0x5851be[_0x48e65a(0x106)](process[_0x48e65a(0xbc)],_0x5851be[_0x48e65a(0xc4)]))return _0x5d1c9a||(_0x5851be[_0x48e65a(0x106)](process['getuid'](),0x0)?_0x5851be[_0x48e65a(0x102)]:_0x5e30d9?_0x5851be[_0x48e65a(0xe2)](_0x5851be[_0x48e65a(0xbf)],_0x5e30d9):null);return _0x5851be[_0x48e65a(0x95)](_0x5d1c9a,null);}}module['exports']=PercyBinary;
|
|
1
|
+
const a100_0x18ee7c=a100_0x3a83;(function(_0x208fba,_0x1cd970){const _0x195b0b=a100_0x3a83,_0x431efd=_0x208fba();while(!![]){try{const _0x4ac808=-parseInt(_0x195b0b(0x1c8))/0x1+parseInt(_0x195b0b(0x217))/0x2*(parseInt(_0x195b0b(0x238))/0x3)+-parseInt(_0x195b0b(0x232))/0x4+-parseInt(_0x195b0b(0x24d))/0x5*(-parseInt(_0x195b0b(0x1ff))/0x6)+-parseInt(_0x195b0b(0x1ea))/0x7+-parseInt(_0x195b0b(0x202))/0x8*(parseInt(_0x195b0b(0x23d))/0x9)+parseInt(_0x195b0b(0x220))/0xa*(parseInt(_0x195b0b(0x207))/0xb);if(_0x4ac808===_0x1cd970)break;else _0x431efd['push'](_0x431efd['shift']());}catch(_0x3b9da8){_0x431efd['push'](_0x431efd['shift']());}}}(a100_0x25eb,0x4ae7b));const {https}=require('follow-redirects'),url=require(a100_0x18ee7c(0x1f4)),yauzl=require(a100_0x18ee7c(0x1fc)),fs=require('fs'),path=require(a100_0x18ee7c(0x229)),os=require('os'),{spawn}=require(a100_0x18ee7c(0x200)),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a100_0x18ee7c(0x228))['winstonLogger'];class PercyBinary{#hostOS=process[a100_0x18ee7c(0x1f3)];#httpPath=null;#binaryName='percy';#orderedPaths=[path[a100_0x18ee7c(0x1ef)](this.#homedir(),a100_0x18ee7c(0x247)),process[a100_0x18ee7c(0x23e)](),os[a100_0x18ee7c(0x1c1)]()];constructor(){const _0x4e2502=a100_0x18ee7c,_0x122de6={};_0x122de6[_0x4e2502(0x219)]='https://github.com/percy/cli/releases/latest/download',_0x122de6['UbyIf']=function(_0x51bae9,_0xc4c5d4){return _0x51bae9+_0xc4c5d4;},_0x122de6['qgCXa']='/percy-osx.zip',_0x122de6[_0x4e2502(0x242)]=function(_0x4a1e82,_0x5b525b){return _0x4a1e82+_0x5b525b;},_0x122de6[_0x4e2502(0x1c7)]=_0x4e2502(0x1de),_0x122de6['PEwaG']=_0x4e2502(0x1f7),_0x122de6[_0x4e2502(0x226)]=_0x4e2502(0x241);const _0x24c479=_0x122de6,_0x595a29=_0x24c479[_0x4e2502(0x219)];if(this.#hostOS[_0x4e2502(0x1e9)](/darwin|mac os/i))this.#httpPath=_0x24c479[_0x4e2502(0x1c9)](_0x595a29,_0x24c479['qgCXa']);else this.#hostOS[_0x4e2502(0x1e9)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x24c479[_0x4e2502(0x242)](_0x595a29,_0x24c479['aRMDY']),this.#binaryName=_0x24c479[_0x4e2502(0x1fb)]):this.#httpPath=_0x24c479[_0x4e2502(0x1c9)](_0x595a29,_0x24c479[_0x4e2502(0x226)]);}#getAvailableDirs(){const _0xafae2b=a100_0x18ee7c,_0x3afe62={};_0x3afe62[_0xafae2b(0x1f8)]=function(_0x561479,_0x244e86){return _0x561479<_0x244e86;},_0x3afe62[_0xafae2b(0x20d)]=_0xafae2b(0x1e7);const _0x457dc7=_0x3afe62;for(var _0x3d7517=0x0;_0x457dc7[_0xafae2b(0x1f8)](_0x3d7517,this.#orderedPaths[_0xafae2b(0x1f6)]);_0x3d7517++){var _0x334f00=this.#orderedPaths[_0x3d7517];if(this.#makePath(_0x334f00))return _0x334f00;}throw new Error(_0x457dc7[_0xafae2b(0x20d)]);}#makePath(_0x37ea9c){const _0x5f4fbb=a100_0x18ee7c;try{return _0x37ea9c&&!this.#checkPath(_0x37ea9c)&&fs[_0x5f4fbb(0x216)](_0x37ea9c),!![];}catch{return![];}}#checkPath(_0x3cda4e,_0x3d5886){const _0x45894a=a100_0x18ee7c,_0xb94712={};_0xb94712[_0x45894a(0x1f5)]=function(_0x20f712,_0x2015ff){return _0x20f712|_0x2015ff;},_0xb94712[_0x45894a(0x1cb)]=function(_0x4fb291,_0x28a889){return _0x4fb291!==_0x28a889;},_0xb94712[_0x45894a(0x20b)]=_0x45894a(0x1f1);const _0x3bae1c=_0xb94712;_0x3d5886=_0x3d5886||_0x3bae1c[_0x45894a(0x1f5)](fs[_0x45894a(0x1fa)],fs[_0x45894a(0x23a)]);try{return fs[_0x45894a(0x203)](_0x3cda4e,_0x3d5886),!![];}catch(_0x2f0f4e){if(_0x3bae1c['HKCDj'](typeof fs[_0x45894a(0x203)],_0x3bae1c[_0x45894a(0x20b)]))return![];try{return fs[_0x45894a(0x1d6)](_0x3cda4e),!![];}catch(_0x188618){return![];}}}#getETagPath(_0x2ff02d){const _0x9fdcf=a100_0x18ee7c;return path[_0x9fdcf(0x1ef)](_0x2ff02d,this.#binaryName+_0x9fdcf(0x21b));}#loadETag(_0x3bb401){const _0x36927b=a100_0x18ee7c,_0x171be9={};_0x171be9[_0x36927b(0x240)]=_0x36927b(0x1bb);const _0x37f9c1=_0x171be9,_0x23564f=this.#getETagPath(_0x3bb401);if(this.#checkPath(_0x23564f))try{return fs[_0x36927b(0x21a)](_0x23564f,_0x37f9c1['AmMPv'])[_0x36927b(0x1cc)]();}catch(_0xdd2685){logger[_0x36927b(0x1fd)]('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0xdd2685);}return null;}#saveETag(_0x2e9952,_0x3d6446){const _0xf453c1=a100_0x18ee7c,_0x208b1f={};_0x208b1f[_0xf453c1(0x1d5)]=_0xf453c1(0x1cf);const _0x3b02ae=_0x208b1f;if(!_0x3d6446)return;try{const _0x45e567=this.#getETagPath(_0x2e9952);fs[_0xf453c1(0x244)](_0x45e567,_0x3d6446),logger[_0xf453c1(0x1c5)](_0x3b02ae[_0xf453c1(0x1d5)]);}catch(_0x116dac){logger[_0xf453c1(0x1fd)](_0xf453c1(0x24f)+_0x116dac);}}async #handleBinaryDownload(_0x505249,_0x4e4735,_0x1da895){const _0x2fe5da=a100_0x18ee7c,_0x58b041={};_0x58b041[_0x2fe5da(0x1d8)]=_0x2fe5da(0x212);const _0x4153ef=_0x58b041,_0x1346b0=await this[_0x2fe5da(0x24c)](_0x505249[_0x2fe5da(0x1d3)]);if(!_0x1346b0){logger[_0x2fe5da(0x1bd)](_0x4153ef[_0x2fe5da(0x1d8)]);const _0x471ab1=await this[_0x2fe5da(0x21d)](_0x4e4735,_0x1da895);return _0x471ab1[_0x2fe5da(0x1d3)];}return _0x505249[_0x2fe5da(0x1d3)];}async['getBinaryPath'](_0x3c795a){const _0x51762d=a100_0x18ee7c,_0x5bce13={};_0x5bce13[_0x51762d(0x210)]='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x5bce13[_0x51762d(0x1d1)]=_0x51762d(0x1e8);const _0x42d85e=_0x5bce13,_0x123767=this.#getAvailableDirs(),_0x805a1d=path['join'](_0x123767,this.#binaryName);if(this.#checkPath(_0x805a1d,fs[_0x51762d(0x236)])){const _0x5abff7=this.#loadETag(_0x123767);if(_0x5abff7)try{const _0xcbb722=await this[_0x51762d(0x21d)](_0x3c795a,_0x123767,_0x5abff7);if(!_0xcbb722['needsUpdate'])return logger[_0x51762d(0x1c5)](_0x42d85e[_0x51762d(0x210)]),_0x805a1d;return logger[_0x51762d(0x1c5)](_0x42d85e[_0x51762d(0x1d1)]),await this.#handleBinaryDownload(_0xcbb722,_0x3c795a,_0x123767);}catch(_0x39b483){return logger[_0x51762d(0x1fd)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x39b483),_0x805a1d;}}const _0x34886c=await this['download'](_0x3c795a,_0x123767);return await this.#handleBinaryDownload(_0x34886c,_0x3c795a,_0x123767);}[a100_0x18ee7c(0x21d)](_0xe5401e,_0x294939,_0x23df1d=null){const _0x1bd3ef=a100_0x18ee7c,_0x164ddc={'BWdza':function(_0x47b318,_0x43ca2f){return _0x47b318(_0x43ca2f);},'JEunw':function(_0x15ef32,_0x5d7235){return _0x15ef32===_0x5d7235;},'sKsUH':_0x1bd3ef(0x1bd),'Onemw':'close','fdESh':function(_0x4ccf32,_0x5e075b){return _0x4ccf32+_0x5e075b;},'msQVp':'.zip'};_0x294939&&!this.#checkPath(_0x294939)&&fs[_0x1bd3ef(0x216)](_0x294939);const _0x55daf1=this.#binaryName,_0x341b1e=path[_0x1bd3ef(0x1ef)](_0x294939,_0x164ddc[_0x1bd3ef(0x1ee)](_0x55daf1,_0x164ddc[_0x1bd3ef(0x222)])),_0x2f78dd=fs['createWriteStream'](_0x341b1e),_0x4f8058=url[_0x1bd3ef(0x1b9)](this.#httpPath);if(_0xe5401e['proxyHost']&&_0xe5401e[_0x1bd3ef(0x221)]){const _0x411354={};_0x411354[_0x1bd3ef(0x1d0)]=_0xe5401e[_0x1bd3ef(0x1eb)],_0x411354[_0x1bd3ef(0x1cd)]=_0xe5401e[_0x1bd3ef(0x221)],_0x4f8058['agent']=new HttpsProxyAgent(_0x411354);}if(_0xe5401e[_0x1bd3ef(0x22b)])try{_0x4f8058['ca']=fs['readFileSync'](_0xe5401e[_0x1bd3ef(0x22b)]);}catch(_0x477e4f){logger['error'](_0x1bd3ef(0x1d9)+_0x477e4f);}if(_0x23df1d){const _0x225530={};_0x225530[_0x1bd3ef(0x246)]=_0x23df1d,_0x4f8058[_0x1bd3ef(0x237)]=_0x225530;}return new Promise((_0x4cec22,_0x431b07)=>{const _0x10c301=_0x1bd3ef,_0x3001e6={'ATCMY':function(_0xa8371e,_0x32caa5){return _0x164ddc['BWdza'](_0xa8371e,_0x32caa5);},'IQibR':function(_0x2510de,_0x387e1c){const _0x5b72df=a100_0x3a83;return _0x164ddc[_0x5b72df(0x218)](_0x2510de,_0x387e1c);},'AngGK':function(_0x39feb8,_0x224f0c){const _0x48dccc=a100_0x3a83;return _0x164ddc[_0x48dccc(0x22e)](_0x39feb8,_0x224f0c);},'APqXP':_0x164ddc[_0x10c301(0x1ba)],'IXqBy':_0x164ddc[_0x10c301(0x1be)],'SKKaU':function(_0x12a4f4,_0x5a9ba7){return _0x164ddc['BWdza'](_0x12a4f4,_0x5a9ba7);}};https[_0x10c301(0x209)](_0x4f8058,_0x5d57bc=>{const _0x2705c5=_0x10c301,_0xcdcf2f={'rMBGa':function(_0x261faa,_0x3b146d){const _0x332bb9=a100_0x3a83;return _0x3001e6[_0x332bb9(0x1db)](_0x261faa,_0x3b146d);}};if(_0x23df1d&&_0x3001e6[_0x2705c5(0x230)](_0x5d57bc[_0x2705c5(0x21c)],0x130)){const _0x4c459f={};_0x4c459f[_0x2705c5(0x201)]=![],_0x3001e6['AngGK'](_0x4cec22,_0x4c459f);return;}const _0x389381=_0x5d57bc[_0x2705c5(0x237)]['etag'];_0x389381&&this.#saveETag(_0x294939,_0x389381),_0x5d57bc['pipe'](_0x2f78dd),_0x5d57bc['on'](_0x3001e6[_0x2705c5(0x215)],function(_0x413a97){const _0x3bda11=_0x2705c5;logger[_0x3bda11(0x1bd)](_0x3bda11(0x206)+_0x413a97),_0xcdcf2f[_0x3bda11(0x1c6)](_0x431b07,_0x413a97);}),_0x2f78dd['on'](_0x3001e6['APqXP'],function(_0x150372){const _0x424af1=_0x2705c5;logger[_0x424af1(0x1bd)](_0x424af1(0x1e2)+_0x150372),_0xcdcf2f[_0x424af1(0x1c6)](_0x431b07,_0x150372);}),_0x2f78dd['on'](_0x3001e6[_0x2705c5(0x225)],()=>{const _0x4badb4=_0x2705c5;this[_0x4badb4(0x23f)](_0x341b1e,_0x294939)[_0x4badb4(0x20f)](_0x36665d=>_0x4cec22({'needsUpdate':!![],'binaryPath':_0x36665d}))['catch'](_0x431b07);});})['on'](_0x164ddc[_0x10c301(0x1ba)],function(_0x167438){const _0x21b28a=_0x10c301;logger[_0x21b28a(0x1bd)](_0x21b28a(0x233)+_0x167438),_0x3001e6['SKKaU'](_0x431b07,_0x167438);});});}['extractAndSaveBinary'](_0x1df010,_0x5beb63){const _0x42c930=a100_0x18ee7c,_0x16caf4={'PTPOi':function(_0x7434a,_0x3b3dc5){return _0x7434a(_0x3b3dc5);},'WRNAD':'end','oFPiz':function(_0x429d84,_0x22ae11){return _0x429d84(_0x22ae11);},'QKNJw':_0x42c930(0x1f0),'kOrju':'error','MRFGD':function(_0x1ab2ab,_0x371fab){return _0x1ab2ab===_0x371fab;},'JLCXk':function(_0x359a95,_0x354d32){return _0x359a95(_0x354d32);},'LEOtH':_0x42c930(0x205)},_0x5a70e3=this.#binaryName,_0x58651b=path[_0x42c930(0x1ef)](_0x5beb63,_0x5a70e3);return new Promise((_0x11ee71,_0x12a04c)=>{const _0x456149=_0x42c930,_0x3533ed={'rzATm':function(_0x3ea38e,_0x222c0e){const _0x23818a=a100_0x3a83;return _0x16caf4[_0x23818a(0x1ec)](_0x3ea38e,_0x222c0e);},'LEAxo':function(_0x48ed18,_0x9e627){return _0x16caf4['JLCXk'](_0x48ed18,_0x9e627);},'EQfNZ':_0x16caf4[_0x456149(0x1ed)]},_0x57f8cf={};_0x57f8cf[_0x456149(0x211)]=!![],yauzl[_0x456149(0x1e5)](_0x1df010,_0x57f8cf,function(_0x4299aa,_0x2487f3){const _0x3da6ba=_0x456149,_0x8026ec={'xyDat':function(_0x58ad4a,_0x503d38){const _0x3bcbe5=a100_0x3a83;return _0x16caf4[_0x3bcbe5(0x1bc)](_0x58ad4a,_0x503d38);},'mqSTt':_0x16caf4['WRNAD'],'zaOdX':function(_0xe83234,_0x59334b){const _0x1c5d42=a100_0x3a83;return _0x16caf4[_0x1c5d42(0x1bc)](_0xe83234,_0x59334b);}};_0x4299aa&&_0x16caf4['oFPiz'](_0x12a04c,_0x4299aa),_0x2487f3[_0x3da6ba(0x1dd)](),_0x2487f3['on'](_0x16caf4['QKNJw'],_0x1e0074=>{const _0x3b7037=_0x3da6ba;if(/\/$/[_0x3b7037(0x24e)](_0x1e0074[_0x3b7037(0x224)]))_0x2487f3[_0x3b7037(0x1dd)]();else{const _0x1e95ec=fs[_0x3b7037(0x1dc)](path[_0x3b7037(0x1ef)](_0x5beb63,_0x1e0074[_0x3b7037(0x224)]));_0x2487f3['openReadStream'](_0x1e0074,function(_0x578ade,_0x4290b6){const _0x861cf6=_0x3b7037;_0x578ade&&_0x8026ec[_0x861cf6(0x1e1)](_0x12a04c,_0x4299aa),_0x4290b6['on'](_0x8026ec[_0x861cf6(0x1c3)],function(){const _0x3871b9=_0x861cf6;_0x1e95ec[_0x3871b9(0x1d2)](),_0x2487f3['readEntry']();}),_0x4290b6[_0x861cf6(0x243)](_0x1e95ec);}),_0x3533ed[_0x3b7037(0x1df)](_0x1e0074[_0x3b7037(0x224)],_0x5a70e3)&&_0x2487f3['close']();}}),_0x2487f3['on'](_0x16caf4[_0x3da6ba(0x1e3)],_0x1a33d5=>{const _0x42d4a3=_0x3da6ba;_0x3533ed[_0x42d4a3(0x1e4)](_0x12a04c,_0x1a33d5);}),_0x2487f3[_0x3da6ba(0x235)](_0x16caf4[_0x3da6ba(0x1fe)],()=>{const _0x3a5ac3=_0x3da6ba;fs[_0x3a5ac3(0x24a)](_0x58651b,_0x3533ed[_0x3a5ac3(0x1e6)],function(_0x1836f6){const _0x5670de=_0x3a5ac3;_0x1836f6&&_0x8026ec[_0x5670de(0x23c)](_0x12a04c,_0x1836f6),_0x8026ec[_0x5670de(0x23c)](_0x11ee71,_0x58651b);}),_0x2487f3[_0x3a5ac3(0x1d2)]();});});});}async['validateBinary'](_0x4db785){const _0x20e6a5=a100_0x18ee7c,_0x32fcc4={'mRCMf':function(_0x1a7b43,_0x5cf6ce){return _0x1a7b43(_0x5cf6ce);},'vpqBc':function(_0x7b2d74,_0x283208,_0x395177,_0x12b12a){return _0x7b2d74(_0x283208,_0x395177,_0x12b12a);},'jjdyd':'--version','KpMuv':_0x20e6a5(0x245),'tEMCs':_0x20e6a5(0x1d2)},_0x614851=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x2efc25,_0x415c4b)=>{const _0x19bc1d=_0x20e6a5,_0x4af7c3={'SxTNz':function(_0x274101,_0x3e62c1){const _0x1a9f8d=a100_0x3a83;return _0x32fcc4[_0x1a9f8d(0x213)](_0x274101,_0x3e62c1);}},_0x47d183={};_0x47d183[_0x19bc1d(0x231)]=process[_0x19bc1d(0x231)];const _0x2432bb=_0x32fcc4[_0x19bc1d(0x1c0)](spawn,_0x4db785,[_0x32fcc4[_0x19bc1d(0x24b)]],_0x47d183);_0x2432bb[_0x19bc1d(0x20a)]['on'](_0x32fcc4[_0x19bc1d(0x1e0)],_0x55a86e=>{const _0x1d4767=_0x19bc1d;_0x614851['test'](_0x55a86e)&&_0x32fcc4[_0x1d4767(0x213)](_0x2efc25,!![]);}),_0x2432bb['on'](_0x32fcc4[_0x19bc1d(0x227)],()=>{const _0xc20118=_0x19bc1d;_0x4af7c3[_0xc20118(0x248)](_0x2efc25,![]);});});}#homedir(){const _0x5a4e7d=a100_0x18ee7c,_0x4c56e1={};_0x4c56e1[_0x5a4e7d(0x22c)]=function(_0x57971e,_0x269c55){return _0x57971e===_0x269c55;},_0x4c56e1[_0x5a4e7d(0x249)]=_0x5a4e7d(0x1c2),_0x4c56e1['ZtiXy']=function(_0x155870,_0x59e7f7){return _0x155870===_0x59e7f7;},_0x4c56e1['imrqH']=_0x5a4e7d(0x1f2),_0x4c56e1['nDVOY']=function(_0x26a70d,_0x549aa3){return _0x26a70d+_0x549aa3;},_0x4c56e1[_0x5a4e7d(0x1d4)]=function(_0x386e81,_0x1f27ae){return _0x386e81===_0x1f27ae;},_0x4c56e1[_0x5a4e7d(0x21f)]=_0x5a4e7d(0x1ce),_0x4c56e1['iivqM']=_0x5a4e7d(0x223),_0x4c56e1[_0x5a4e7d(0x208)]=_0x5a4e7d(0x234),_0x4c56e1[_0x5a4e7d(0x1bf)]=function(_0xfca26f,_0x716dff){return _0xfca26f===_0x716dff;},_0x4c56e1[_0x5a4e7d(0x1ca)]=_0x5a4e7d(0x22f),_0x4c56e1[_0x5a4e7d(0x20c)]=function(_0x302520,_0x1f68d7){return _0x302520+_0x1f68d7;},_0x4c56e1[_0x5a4e7d(0x22d)]='/home/',_0x4c56e1[_0x5a4e7d(0x204)]=function(_0x309ac1,_0x5dbe1d){return _0x309ac1||_0x5dbe1d;};const _0x3f1f19=_0x4c56e1;if(_0x3f1f19[_0x5a4e7d(0x22c)](typeof os[_0x5a4e7d(0x22a)],_0x3f1f19[_0x5a4e7d(0x249)]))return os[_0x5a4e7d(0x22a)]();const _0xbfe8b2=process[_0x5a4e7d(0x231)],_0x417f81=_0xbfe8b2['HOME'],_0xccc6ca=_0xbfe8b2['LOGNAME']||_0xbfe8b2[_0x5a4e7d(0x1f9)]||_0xbfe8b2[_0x5a4e7d(0x23b)]||_0xbfe8b2[_0x5a4e7d(0x1c4)];if(_0x3f1f19[_0x5a4e7d(0x239)](process['platform'],_0x3f1f19[_0x5a4e7d(0x20e)]))return _0xbfe8b2['USERPROFILE']||_0x3f1f19['nDVOY'](_0xbfe8b2[_0x5a4e7d(0x214)],_0xbfe8b2[_0x5a4e7d(0x1d7)])||_0x417f81||null;if(_0x3f1f19[_0x5a4e7d(0x1d4)](process[_0x5a4e7d(0x1f3)],_0x3f1f19[_0x5a4e7d(0x21f)]))return _0x417f81||(_0xccc6ca?_0x3f1f19['nDVOY'](_0x3f1f19[_0x5a4e7d(0x21e)],_0xccc6ca):null);if(_0x3f1f19['Qqsao'](process[_0x5a4e7d(0x1f3)],_0x3f1f19[_0x5a4e7d(0x208)]))return _0x417f81||(_0x3f1f19[_0x5a4e7d(0x1bf)](process[_0x5a4e7d(0x1da)](),0x0)?_0x3f1f19[_0x5a4e7d(0x1ca)]:_0xccc6ca?_0x3f1f19['JQipA'](_0x3f1f19[_0x5a4e7d(0x22d)],_0xccc6ca):null);return _0x3f1f19[_0x5a4e7d(0x204)](_0x417f81,null);}}function a100_0x25eb(){const _0x3471b5=['Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','kOrju','LEAxo','open','EQfNZ','Error\x20trying\x20to\x20download\x20percy\x20binary','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','match','3271870ilywKB','proxyHost','MRFGD','LEOtH','fdESh','join','entry','undefined','win32','platform','url','pQJwv','length','percy.exe','uYASb','USER','R_OK','PEwaG','yauzl','warn','WRNAD','6ttPRiH','child_process','needsUpdate','63400gBeeEx','accessSync','UAeUq','0755','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','7897153oOaKIb','gsvNl','get','stdout','nagvy','JQipA','UIfGK','imrqH','then','OSXED','lazyEntries','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','mRCMf','HOMEDRIVE','APqXP','mkdirSync','2578VoVmhx','JEunw','BIzUE','readFileSync','.etag','statusCode','download','iivqM','rKzIC','10iSCRjA','proxyPort','msQVp','/Users/','fileName','IXqBy','uutDs','tEMCs','../logger','path','homedir','useCaCertificate','AlsGt','vxfVZ','BWdza','/root','IQibR','env','1847072sipBvX','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','linux','once','X_OK','headers','1086gihRjR','ZtiXy','W_OK','LNAME','zaOdX','171unrVxY','cwd','extractAndSaveBinary','AmMPv','/percy-linux.zip','MXDGq','pipe','writeFileSync','data','If-None-Match','.browserstack','SxTNz','qxmGC','chmod','jjdyd','validateBinary','2041070ClESfI','test','Failed\x20to\x20save\x20ETag\x20file:\x20','parse','sKsUH','utf8','PTPOi','error','Onemw','eOxxd','vpqBc','tmpdir','function','mqSTt','USERNAME','debug','rMBGa','aRMDY','206191EkjMQW','UbyIf','YmuqM','HKCDj','trim','port','darwin','Saved\x20new\x20ETag\x20for\x20percy\x20binary','host','YuYRX','close','binaryPath','Qqsao','ubQIN','statSync','HOMEPATH','XtQvN','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','getuid','ATCMY','createWriteStream','readEntry','/percy-win.zip','rzATm','KpMuv','xyDat'];a100_0x25eb=function(){return _0x3471b5;};return a100_0x25eb();}function a100_0x3a83(_0x552cff,_0x4ceae4){const _0x25eb24=a100_0x25eb();return a100_0x3a83=function(_0x3a8327,_0x2cdff8){_0x3a8327=_0x3a8327-0x1b9;let _0x5e777d=_0x25eb24[_0x3a8327];return _0x5e777d;},a100_0x3a83(_0x552cff,_0x4ceae4);}module['exports']=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a101_0x3bcc3d=a101_0x58fc;function a101_0x58fc(_0x9ddef4,_0x2a18b8){var _0x593ee2=a101_0x593e();return a101_0x58fc=function(_0x58fc43,_0x2a456e){_0x58fc43=_0x58fc43-0xe0;var _0x1f73ad=_0x593ee2[_0x58fc43];return _0x1f73ad;},a101_0x58fc(_0x9ddef4,_0x2a18b8);}(function(_0x17d840,_0x1278fe){var _0x492e28=a101_0x58fc,_0x206f3d=_0x17d840();while(!![]){try{var _0x6641ef=parseInt(_0x492e28(0xe5))/0x1*(-parseInt(_0x492e28(0xea))/0x2)+-parseInt(_0x492e28(0xe8))/0x3+parseInt(_0x492e28(0xe7))/0x4+parseInt(_0x492e28(0xe4))/0x5*(-parseInt(_0x492e28(0xe1))/0x6)+-parseInt(_0x492e28(0xe9))/0x7*(-parseInt(_0x492e28(0xec))/0x8)+parseInt(_0x492e28(0xed))/0x9+-parseInt(_0x492e28(0xeb))/0xa*(-parseInt(_0x492e28(0xe6))/0xb);if(_0x6641ef===_0x1278fe)break;else _0x206f3d['push'](_0x206f3d['shift']());}catch(_0x3fd222){_0x206f3d['push'](_0x206f3d['shift']());}}}(a101_0x593e,0x9938a));class PercyCaptureMap{#map={};[a101_0x3bcc3d(0xe3)](_0x5f0e3e,_0x5e287c){!this.#map[_0x5f0e3e]&&(this.#map[_0x5f0e3e]={}),!this.#map[_0x5f0e3e][_0x5e287c]&&(this.#map[_0x5f0e3e][_0x5e287c]=0x0),this.#map[_0x5f0e3e][_0x5e287c]++;}[a101_0x3bcc3d(0xe2)](_0x352212,_0x27f49c){var _0x3dcae2=a101_0x3bcc3d;return _0x352212+'-'+_0x27f49c+'-'+this[_0x3dcae2(0xe0)](_0x352212,_0x27f49c);}[a101_0x3bcc3d(0xe0)](_0x5dd76d,_0xa0a9c9){if(!this.#map[_0x5dd76d])return 0x0;if(!this.#map[_0x5dd76d][_0xa0a9c9])return 0x0;return this.#map[_0x5dd76d][_0xa0a9c9];}}function a101_0x593e(){var _0x6dd5b7=['getName','increment','248105kVBCdq','17884LDVriv','763169hmbBJP','1166996KAPSmJ','671571rjPKBs','185836qYhylR','34nBIvcp','50kjrrqt','48xmOgfl','8130402JQQLxS','get','66eKMTxK'];a101_0x593e=function(){return _0x6dd5b7;};return a101_0x593e();}module['exports']=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a102_0x5bbf0c=a102_0x1b97;(function(_0x5bcbaa,_0x522baa){var _0x58a25e=a102_0x1b97,_0x1d77db=_0x5bcbaa();while(!![]){try{var _0x354d9a=parseInt(_0x58a25e(0x192))/0x1+parseInt(_0x58a25e(0x194))/0x2*(parseInt(_0x58a25e(0x191))/0x3)+parseInt(_0x58a25e(0x189))/0x4+parseInt(_0x58a25e(0x198))/0x5*(parseInt(_0x58a25e(0x18f))/0x6)+-parseInt(_0x58a25e(0x199))/0x7*(parseInt(_0x58a25e(0x18b))/0x8)+-parseInt(_0x58a25e(0x196))/0x9+-parseInt(_0x58a25e(0x197))/0xa;if(_0x354d9a===_0x522baa)break;else _0x1d77db['push'](_0x1d77db['shift']());}catch(_0x302476){_0x1d77db['push'](_0x1d77db['shift']());}}}(a102_0x1475,0x71a8e));var a102_0x493de7={};a102_0x493de7[a102_0x5bbf0c(0x190)]=[a102_0x5bbf0c(0x187)],a102_0x493de7[a102_0x5bbf0c(0x18d)]=[a102_0x5bbf0c(0x18a),a102_0x5bbf0c(0x188)];function a102_0x1475(){var _0x50caa4=['32VUIXVD','testcase','element','screenshot','5274072DmoOxP','driver','15UgHJKP','411878UhUfuU','auto','357262ESYzzW','manual','7980480TbwbRA','12350190QYEOoY','5jGnVlX','171486ALvSlF','takeScreenshot','sendKeys','2004944CVrJaG','click'];a102_0x1475=function(){return _0x50caa4;};return a102_0x1475();}function a102_0x1b97(_0x211c3f,_0x21adcd){var _0x1475f1=a102_0x1475();return a102_0x1b97=function(_0x1b976e,_0x3b4569){_0x1b976e=_0x1b976e-0x187;var _0x2862c1=_0x1475f1[_0x1b976e];return _0x2862c1;},a102_0x1b97(_0x211c3f,_0x21adcd);}var a102_0x200d02={};a102_0x200d02[a102_0x5bbf0c(0x190)]=['takeScreenshot'];var a102_0x16d1e1={};a102_0x16d1e1[a102_0x5bbf0c(0x18d)]=['click'];var a102_0x11873e={};a102_0x11873e[a102_0x5bbf0c(0x193)]=a102_0x493de7,a102_0x11873e[a102_0x5bbf0c(0x18e)]=a102_0x200d02,a102_0x11873e['click']=a102_0x16d1e1,a102_0x11873e[a102_0x5bbf0c(0x18c)]={},a102_0x11873e[a102_0x5bbf0c(0x195)]={},module['exports']=a102_0x11873e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a103_0xb60e98=a103_0xc202;(function(_0x329db0,_0x38e048){const _0x4a79f2=a103_0xc202,_0x152920=_0x329db0();while(!![]){try{const _0x385c59=-parseInt(_0x4a79f2(0x20d))/0x1*(-parseInt(_0x4a79f2(0x1f8))/0x2)+parseInt(_0x4a79f2(0x20f))/0x3*(parseInt(_0x4a79f2(0x211))/0x4)+-parseInt(_0x4a79f2(0x1ff))/0x5+parseInt(_0x4a79f2(0x201))/0x6+-parseInt(_0x4a79f2(0x210))/0x7*(parseInt(_0x4a79f2(0x1f4))/0x8)+parseInt(_0x4a79f2(0x202))/0x9*(parseInt(_0x4a79f2(0x206))/0xa)+-parseInt(_0x4a79f2(0x203))/0xb*(parseInt(_0x4a79f2(0x1fa))/0xc);if(_0x385c59===_0x38e048)break;else _0x152920['push'](_0x152920['shift']());}catch(_0x4c16f2){_0x152920['push'](_0x152920['shift']());}}}(a103_0x3df7,0xa7826));const tryRequire=function(_0x5a95d9,_0x483887){const _0x43311a={'WQMrP':function(_0x633ad,_0xc53851){return _0x633ad(_0xc53851);}};try{return _0x43311a['WQMrP'](require,_0x5a95d9);}catch{return _0x483887;}},percySnapshot=tryRequire(a103_0xb60e98(0x209),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a103_0xb60e98(0x20b)),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require(a103_0xb60e98(0x20a)),{PERCY_EVENTS:PerformanceEvents}=require(a103_0xb60e98(0x204)),logger=require(a103_0xb60e98(0x1fb))[a103_0xb60e98(0x205)];function a103_0x3df7(){const _0x8fcfa5=['SgBNH','2KxXEFp','platformIndex','94476gyxKZG','../logger','name','AKKai','length','3412360zIYqZD','error','274482mNqLWf','266364iuuIpX','1837SSrjDE','../performance/constants','winstonLogger','460YcHVFM','thTestCaseExecutionId','uuid','@percy/selenium-webdriver','../performance/performance-tester','@percy/appium-app','screenshotApp','1159052ydrHdN','qbfPy','1667283XlPCzW','7KOOfin','4oGXoKg','apply','SCREENSHOT_APP','yHIpw','VcnHB','browserstackPlatformIndex','testCase','3508760PfWXYm','SNAPSHOT','measure'];a103_0x3df7=function(){return _0x8fcfa5;};return a103_0x3df7();}function a103_0xc202(_0x4d6c0d,_0x2f7f5f){const _0x3df794=a103_0x3df7();return a103_0xc202=function(_0xc2025d,_0x5daccc){_0xc2025d=_0xc2025d-0x1ee;let _0x8c26c6=_0x3df794[_0xc2025d];return _0x8c26c6;},a103_0xc202(_0x4d6c0d,_0x2f7f5f);}percySnapshot&&(exports['snapshot']=async function(){const _0x29273f=a103_0xb60e98,_0x47670d={'ZTvTr':function(_0x429c72,_0x3dad15){return _0x429c72!==_0x3dad15;},'yHIpw':function(_0x5ae597,_0x305f04){return _0x5ae597>=_0x305f04;},'VcnHB':function(_0x2c94bf){return _0x2c94bf();}};if(global[_0x29273f(0x1f2)]&&_0x47670d['ZTvTr'](global[_0x29273f(0x1f2)],global['browserstackPercyBestPlatform']))return;const _0x5d49d8=_0x47670d[_0x29273f(0x1f0)](arguments[_0x29273f(0x1fe)],0x2)?arguments[0x1]:'',_0x54f088=_0x47670d[_0x29273f(0x1f1)](getCurrentTestData),_0x1b0e62={};return _0x1b0e62[_0x29273f(0x1fc)]=_0x5d49d8,_0x1b0e62[_0x29273f(0x1f3)]=_0x54f088[_0x29273f(0x1fc)]||'',_0x1b0e62[_0x29273f(0x207)]=_0x54f088['uuid']||'',_0x1b0e62[_0x29273f(0x1f9)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents[_0x29273f(0x1f5)],()=>percySnapshot[_0x29273f(0x1ee)](null,arguments),_0x1b0e62);});percyScreenshot?exports['screenshot']=async function(){const _0x1abf79=a103_0xb60e98,_0x4cd4b6={'qKBTJ':function(_0x4f133a,_0x50f072){return _0x4f133a>=_0x50f072;},'PssBP':function(_0x1ce3b0){return _0x1ce3b0();}},_0x296b5c=_0x4cd4b6['qKBTJ'](arguments[_0x1abf79(0x1fe)],0x2)?arguments[0x1]:'',_0x5cf403=_0x4cd4b6['PssBP'](getCurrentTestData),_0x3bf2de={};return _0x3bf2de[_0x1abf79(0x1fc)]=_0x296b5c,_0x3bf2de[_0x1abf79(0x1f3)]=_0x5cf403[_0x1abf79(0x1fc)]||'',_0x3bf2de[_0x1abf79(0x207)]=_0x5cf403[_0x1abf79(0x208)]||'',_0x3bf2de[_0x1abf79(0x1f9)]=global[_0x1abf79(0x1f2)],await PerformanceTester[_0x1abf79(0x1f6)](PerformanceEvents['SCREENSHOT'],()=>percyScreenshot[_0x1abf79(0x1ee)](null,arguments),_0x3bf2de);}:exports['screenshot']=()=>{const _0xe439cd=a103_0xb60e98,_0x44649e={};_0x44649e['qbfPy']='Unsupported\x20driver\x20for\x20percy';const _0x2ccd19=_0x44649e;logger[_0xe439cd(0x200)](_0x2ccd19[_0xe439cd(0x20e)]);};exports[a103_0xb60e98(0x20c)]=async function(){const _0x2bda61=a103_0xb60e98,_0x4b82e6={'AKKai':function(_0x349755,_0xa5403f){return _0x349755>=_0xa5403f;},'SgBNH':function(_0x14031e){return _0x14031e();}},_0x53ff8f=_0x4b82e6[_0x2bda61(0x1fd)](arguments['length'],0x2)?arguments[0x1]:'',_0x3978b1=_0x4b82e6[_0x2bda61(0x1f7)](getCurrentTestData),_0x16657f={};return _0x16657f[_0x2bda61(0x1fc)]=_0x53ff8f,_0x16657f[_0x2bda61(0x1f3)]=_0x3978b1['name']||'',_0x16657f[_0x2bda61(0x207)]=_0x3978b1['uuid']||'',_0x16657f[_0x2bda61(0x1f9)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents[_0x2bda61(0x1ef)],()=>percyAppScreenshot['apply'](null,arguments),_0x16657f);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a104_0x231101=a104_0x41ce;function a104_0x41ce(_0x40782f,_0x3fd057){var _0x397331=a104_0x3973();return a104_0x41ce=function(_0x41cebf,_0x4a14c9){_0x41cebf=_0x41cebf-0xe0;var _0x5de432=_0x397331[_0x41cebf];return _0x5de432;},a104_0x41ce(_0x40782f,_0x3fd057);}function a104_0x3973(){var _0x2311ec=['597938bxvsTA','exports','857335GRXzQD','467490fbgHNA','./Percy','1492253YCQyUt','4cuMghH','12451768rnMXdW','3134157CkTAAU','5385132imvoJF'];a104_0x3973=function(){return _0x2311ec;};return a104_0x3973();}(function(_0x227a6b,_0x373525){var _0x4c79f2=a104_0x41ce,_0x3279df=_0x227a6b();while(!![]){try{var _0x2089f7=-parseInt(_0x4c79f2(0xe0))/0x1+-parseInt(_0x4c79f2(0xe3))/0x2+-parseInt(_0x4c79f2(0xe8))/0x3+parseInt(_0x4c79f2(0xe6))/0x4*(parseInt(_0x4c79f2(0xe2))/0x5)+parseInt(_0x4c79f2(0xe9))/0x6+-parseInt(_0x4c79f2(0xe5))/0x7+parseInt(_0x4c79f2(0xe7))/0x8;if(_0x2089f7===_0x373525)break;else _0x3279df['push'](_0x3279df['shift']());}catch(_0xf09b4a){_0x3279df['push'](_0x3279df['shift']());}}}(a104_0x3973,0x82d47),module[a104_0x231101(0xe1)]=require(a104_0x231101(0xe4)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a105_0x6da9b6=a105_0x272c;(function(_0x373a2f,_0x2f88c4){const _0x18edea=a105_0x272c,_0x207c72=_0x373a2f();while(!![]){try{const _0x29a37d=parseInt(_0x18edea(0x1e9))/0x1*(parseInt(_0x18edea(0x1ed))/0x2)+parseInt(_0x18edea(0x1c7))/0x3*(-parseInt(_0x18edea(0x1d6))/0x4)+-parseInt(_0x18edea(0x1d5))/0x5+parseInt(_0x18edea(0x1d9))/0x6*(-parseInt(_0x18edea(0x1c1))/0x7)+-parseInt(_0x18edea(0x1c0))/0x8*(parseInt(_0x18edea(0x1e5))/0x9)+-parseInt(_0x18edea(0x1bf))/0xa*(parseInt(_0x18edea(0x1c4))/0xb)+-parseInt(_0x18edea(0x1bc))/0xc*(-parseInt(_0x18edea(0x1f3))/0xd);if(_0x29a37d===_0x2f88c4)break;else _0x207c72['push'](_0x207c72['shift']());}catch(_0x2daa2c){_0x207c72['push'](_0x207c72['shift']());}}}(a105_0x3627,0x6a92e));function a105_0x272c(_0x55ba7a,_0x47d414){const _0x362779=a105_0x3627();return a105_0x272c=function(_0x272c1f,_0x1892fa){_0x272c1f=_0x272c1f-0x1ad;let _0x101c38=_0x362779[_0x272c1f];return _0x101c38;},a105_0x272c(_0x55ba7a,_0x47d414);}const Percy=require(a105_0x6da9b6(0x1b7)),PercySDK=require(a105_0x6da9b6(0x1ae)),PercyCaptureModes=require(a105_0x6da9b6(0x1de)),PercyCaptureMap=require(a105_0x6da9b6(0x1f4)),logger=require('../logger')[a105_0x6da9b6(0x1c5)],helper=require(a105_0x6da9b6(0x1da)),PerformanceTester=require(a105_0x6da9b6(0x1bb)),{PERCY_EVENTS:PerformanceEvents}=require(a105_0x6da9b6(0x1e0));function a105_0x3627(){const _0x16d246=['Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','./PercyCaptureModes','browserStackPercyOptions','../performance/constants','browserstackPercyBestPlatform','debug','Rrtba','chrome','1324656aEPxjw','getBestPlatformForPercySnapshot','start','Mhxix','363757ScSFrh','deviceName','Error\x20patching\x20','patch','4tCtDhm','percy','\x20for\x20percy\x20','init','lYzxN','auto','1781rrXEFn','./PercyCaptureMap','prototype','umCCd','increment','browserstackSessionName','qzwLi','lRDbR','DLSbu','./PercySDK','AUTO_CAPTURE','Starting\x20percy','driver','platforms','browser','edge','browserstackPercyMap','overrideXforPercy','./Percy','screenshotApp','percyCaptureMode','percyAutoCapture','../performance/performance-tester','150180UUwCci','START','getName','10RJQHMe','8kZNDlQ','131390RLhWUh','app','CDugL','5798419SoJZfp','winstonLogger','toLowerCase','194445iQJCAt','iskdX','measureWrapper','firefox','browserName','WoWXX','forEach','apply','element','STOP','Stopping\x20percy','safari','RUHQV','nestedKeyValue','1819950OphsOt','40DvXhDI','wEhZc','isUndefined','102mtjHxb','../helper','screenshot','error'];a105_0x3627=function(){return _0x16d246;};return a105_0x3627();}exports['startPercy']=PerformanceTester[a105_0x6da9b6(0x1c9)](PerformanceEvents[a105_0x6da9b6(0x1bd)],async _0x4f9d89=>{const _0x51d89e=a105_0x6da9b6,_0x18523b={};_0x18523b[_0x51d89e(0x1d7)]=_0x51d89e(0x1b0);const _0x3c6506=_0x18523b;logger['debug'](_0x3c6506['wEhZc']);const _0x120364=new Percy(_0x4f9d89),_0x26dfc9=await _0x120364[_0x51d89e(0x1e7)]();if(_0x26dfc9)return _0x120364;return null;}),exports['stopPercy']=PerformanceTester[a105_0x6da9b6(0x1c9)](PerformanceEvents[a105_0x6da9b6(0x1d0)],async _0x556f1f=>{const _0x3b78fd=a105_0x6da9b6,_0x54bd0d={};_0x54bd0d['WoWXX']=_0x3b78fd(0x1d1);const _0x3eb9a4=_0x54bd0d;return logger[_0x3b78fd(0x1e2)](_0x3eb9a4[_0x3b78fd(0x1cc)]),_0x556f1f['stop']();}),exports[a105_0x6da9b6(0x1e6)]=_0xc56679=>{const _0x1be8d8=a105_0x6da9b6,_0x512943={};_0x512943['JVxzB']=function(_0xa6ba15,_0x49ec6a){return _0xa6ba15<_0x49ec6a;};const _0x5bae97=_0x512943,_0x54b75e={};_0x54b75e[_0x1be8d8(0x1e4)]=0x0,_0x54b75e[_0x1be8d8(0x1ca)]=0x1,_0x54b75e[_0x1be8d8(0x1b4)]=0x2,_0x54b75e[_0x1be8d8(0x1d2)]=0x3;const _0x1f0d96=_0x54b75e;return _0xc56679['reduce']((_0x13179f,_0x1ce209,_0x4d36cb)=>{const _0x102b2e=_0x1be8d8,_0x2f8421=_0xc56679[_0x13179f];if(_0x1ce209[_0x102b2e(0x1ea)])return _0x13179f;if(_0x2f8421['deviceName'])return _0x4d36cb;const _0x48be35=_0x1ce209[_0x102b2e(0x1b3)]?_0x1ce209[_0x102b2e(0x1b3)]:_0x1ce209[_0x102b2e(0x1cb)];if(_0x48be35&&_0x5bae97['JVxzB'](_0x1f0d96[_0x48be35['toLowerCase']()],_0x1f0d96[_0x48be35[_0x102b2e(0x1c6)]()]))return _0x4d36cb;return _0x13179f;},0x0);},exports['percyAutoCapture']=PerformanceTester[a105_0x6da9b6(0x1c9)](PerformanceEvents[a105_0x6da9b6(0x1af)],async(_0x43ae2f,_0x5a17d5,_0x4d6747)=>{const _0x23b069=a105_0x6da9b6,_0x1dc8b4={};_0x1dc8b4[_0x23b069(0x1c3)]=_0x23b069(0x1dd);const _0x389390=_0x1dc8b4,_0x1ee738=_0x43ae2f[_0x23b069(0x1b5)];if(helper[_0x23b069(0x1d8)](_0x43ae2f[_0x23b069(0x1f8)])){logger[_0x23b069(0x1e2)](_0x389390['CDugL']);return;}const _0x9965ef=_0x1ee738[_0x23b069(0x1be)](_0x43ae2f['browserstackSessionName'],_0x5a17d5);_0x4d6747[_0x23b069(0x1c2)]?await PercySDK[_0x23b069(0x1b8)](_0x43ae2f,_0x9965ef):await PercySDK[_0x23b069(0x1db)](_0x43ae2f,_0x9965ef),_0x1ee738[_0x23b069(0x1f7)](_0x43ae2f['browserstackSessionName'],_0x5a17d5);}),exports['patchDriverPercy']=(_0x901eb5,_0x2b0f34,_0x229265)=>{const _0x5b4af3=a105_0x6da9b6,_0x4cf838={};_0x4cf838[_0x5b4af3(0x1f9)]=_0x5b4af3(0x1df),_0x4cf838[_0x5b4af3(0x1ad)]='percy',_0x4cf838[_0x5b4af3(0x1fa)]=function(_0x318590,_0x4a7238){return _0x318590!==_0x4a7238;},_0x4cf838[_0x5b4af3(0x1f6)]='manual';const _0x49d019=_0x4cf838;if(!helper[_0x5b4af3(0x1d4)](_0x229265,[_0x49d019[_0x5b4af3(0x1f9)],_0x49d019['DLSbu']]))return;if(_0x229265[_0x5b4af3(0x1df)]['percy']&&_0x229265[_0x5b4af3(0x1df)]['percyCaptureMode']&&_0x49d019[_0x5b4af3(0x1fa)](_0x229265[_0x5b4af3(0x1df)][_0x5b4af3(0x1b9)],_0x49d019[_0x5b4af3(0x1f6)])&&!_0x901eb5['browserstackPercyMap']){global[_0x5b4af3(0x1f8)]&&(_0x901eb5[_0x5b4af3(0x1f8)]=global[_0x5b4af3(0x1f8)]),_0x901eb5[_0x5b4af3(0x1b5)]=new PercyCaptureMap();const _0x1bf36b=PercyCaptureModes[_0x229265['browserStackPercyOptions'][_0x5b4af3(0x1b9)]];_0x1bf36b[_0x5b4af3(0x1b1)]&&_0x1bf36b[_0x5b4af3(0x1b1)][_0x5b4af3(0x1cd)](_0x55daac=>this[_0x5b4af3(0x1b6)](_0x901eb5,_0x55daac,_0x229265)),_0x1bf36b['element']&&_0x1bf36b[_0x5b4af3(0x1cf)][_0x5b4af3(0x1cd)](_0x278963=>{const _0x12579f=_0x5b4af3;if(_0x2b0f34[_0x12579f(0x1f5)]['patch'+_0x278963])return;_0x2b0f34[_0x12579f(0x1f5)][_0x12579f(0x1ec)+_0x278963]=!![];const _0x161a4e=_0x2b0f34[_0x12579f(0x1f5)][_0x278963];_0x2b0f34[_0x12579f(0x1f5)][_0x278963]=async function(){const _0x4e15b9=_0x12579f;let _0x45d960=_0x161a4e[_0x4e15b9(0x1ce)](this,arguments);_0x45d960&&_0x45d960['then']&&(_0x45d960=await _0x45d960);try{const _0x29fa77=this['getDriver']();await exports[_0x4e15b9(0x1ba)](_0x29fa77,_0x278963,_0x229265);}catch(_0x4a4880){logger['error']('Error\x20patching\x20'+_0x278963+_0x4e15b9(0x1ef)+_0x4a4880);}return _0x45d960;};});}},exports[a105_0x6da9b6(0x1b6)]=function(_0x4a1513,_0x13cb81,_0x12b509){const _0x192c36=a105_0x6da9b6,_0x42220b={};_0x42220b[_0x192c36(0x1c8)]=function(_0x1c04f5,_0x15cd6e){return _0x1c04f5+_0x15cd6e;},_0x42220b[_0x192c36(0x1f1)]=_0x192c36(0x1ec),_0x42220b[_0x192c36(0x1e3)]=function(_0x1df9d9,_0x296548){return _0x1df9d9+_0x296548;},_0x42220b[_0x192c36(0x1e8)]=_0x192c36(0x1f0);const _0x28bd2e=_0x42220b,_0x5c895c=_0x28bd2e[_0x192c36(0x1c8)](_0x28bd2e['lYzxN'],_0x13cb81),_0x2abf9d=_0x28bd2e[_0x192c36(0x1e3)](_0x28bd2e[_0x192c36(0x1e8)],_0x13cb81),_0x1dca47=this;if(_0x4a1513[_0x5c895c]||!_0x4a1513[_0x13cb81])return;_0x4a1513[_0x5c895c]=!![],_0x4a1513[_0x2abf9d]=_0x4a1513[_0x13cb81],_0x4a1513[_0x13cb81]=async()=>{const _0x18fd12=_0x192c36;try{await _0x1dca47['percyAutoCapture'](_0x4a1513,_0x13cb81,_0x12b509);}catch(_0x473fe6){logger[_0x18fd12(0x1dc)](_0x18fd12(0x1eb)+_0x13cb81+'\x20for\x20percy\x20'+_0x473fe6);}return await _0x4a1513[_0x2abf9d][_0x18fd12(0x1ce)](_0x4a1513,arguments);};},exports['getPercyOptions']=_0x9d9871=>{const _0x171690=a105_0x6da9b6,_0x177c20={};_0x177c20['RUHQV']=_0x171690(0x1f2);const _0x191762=_0x177c20,_0x2d3de0={};_0x2d3de0[_0x171690(0x1ee)]=_0x9d9871[_0x171690(0x1ee)],_0x2d3de0['percyCaptureMode']=_0x9d9871[_0x171690(0x1b9)]||_0x191762[_0x171690(0x1d3)];const _0x12df19=_0x2d3de0;_0x9d9871[_0x171690(0x1ee)]&&(_0x12df19[_0x171690(0x1e1)]=exports['getBestPlatformForPercySnapshot'](_0x9d9871[_0x171690(0x1b2)]));;return _0x12df19;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a106_0x368d7c=a106_0x1beb;(function(_0x331e8d,_0x4c22f8){const _0x600b18=a106_0x1beb,_0x1adb5d=_0x331e8d();while(!![]){try{const _0x51f6be=parseInt(_0x600b18(0x93))/0x1+parseInt(_0x600b18(0xbd))/0x2+-parseInt(_0x600b18(0xcc))/0x3+-parseInt(_0x600b18(0xab))/0x4*(parseInt(_0x600b18(0x9a))/0x5)+-parseInt(_0x600b18(0xb7))/0x6+-parseInt(_0x600b18(0x91))/0x7+parseInt(_0x600b18(0x84))/0x8;if(_0x51f6be===_0x4c22f8)break;else _0x1adb5d['push'](_0x1adb5d['shift']());}catch(_0x5043e0){_0x1adb5d['push'](_0x1adb5d['shift']());}}}(a106_0x44ca,0xbe781));function a106_0x1beb(_0x1a4474,_0x44294a){const _0x44ca7c=a106_0x44ca();return a106_0x1beb=function(_0x1beb5d,_0x5eb771){_0x1beb5d=_0x1beb5d-0x70;let _0x3378c1=_0x44ca7c[_0x1beb5d];return _0x3378c1;},a106_0x1beb(_0x1a4474,_0x44294a);}function a106_0x44ca(){const _0x551096=['SDK_AUTOMATION_FRAMEWORK_START','sdk:cli:check-update','sdk:cli:on-bootstrap','SDK_AI_SELF_HEAL_GET_RESULT','sdk:o11y','SDK_CLI_ENQUEUE_TEST_EVENT','sdk:driver','GET_RESULTS','SAVE_RESULTS','AFTER_ALL',':get-accessibility-results','sdk:setup','SDK_CLI_CHECK_UPDATE','EVENTS',':after','SDK_PROXY_SETUP','AUTOMATE_EVENTS','18269072QbGHgF','sdk:cli:logCreatedEvent','sdk:driver:pre-initialization','TAKE_SCREENSHOT','GET_RESULTS_SUMMARY','SDK_DRIVER_INIT','SDK_AUTOMATE',':post-execute','SYNC','SCREENSHOT_APP','sdk:automationFrameworkStop','SDK_PERCY','GET','760207xhdAxq','PRE_EXECUTE','217413ocozPc','sdk:post-test','SDK_CLEANUP','SDK_ACCESSIBILITY_CONFIG',':print-buildlink',':local-stop','sdk:auto-capture','25RYyKMh','sdk:findNearestHub','SDK_PRE_INITIALIZE','sdk:a11y','HUB_MANAGEMENT','SDK_CLI_LOG_CREATED_EVENT',':hub-management','HOOK_EVENTS','SDK_TEST','SDK_FIND_NEAREST_HUB','APP_AUOTMATE_EVENTS','PRINT_BUILDLINK',':before-all','DOWNLOAD','O11y_EVENTS','SDK_AUTOMATION_FRAMEWORK_INIT','KEEP_ALIVE','530584depZYZ','SESSION_NAME','SDK_AUTOMATION_FRAMEWORK_STOP',':save-results',':pre-execute','SDK_POST_INITIALIZE','SDK_OBSERVABILITY_CONFIG','sdk:aiSelfHealGetResult','SDK_START_BIN_SESSION','SDK_PRE_TEST',':screenshot','AFTER_EACH','6292062RpDJxX','SESSION_STATUS','sdk:testhub',':stop','AUTO_CAPTURE','SDK_CONNECT_BIN_SESSION','340042DpOwkN',':driver-manage','sdk:turboscale','LOCAL_STOP','exports','SDK_CLI_START','BEFORE_EACH','A11Y_EVENTS','sdk:cli:start','AFTER',':sync','sdk:cli:download','POST_EXECUTE','sdk:test','DRIVER_MANAGE','211197rGtDIW','sdk:observabilityConfig','PERCY_EVENTS','sdk:cli:enqueueTestEvent',':idle-timeout','GENERATE_CI_ARTIFACT',':driver-takeScreenShot','SDK_TURBOSCALE','SDK_CLI_DOWNLOAD','SDK_TEST_FRAMEWORK_EVENT','sdk:pre-test','sdk:testSessionEvent',':start',':before-each','SDK_A11Y','BEFORE_ALL','SDK_APP_AUTOMATE',':before','DRIVER_EVENT',':session-annotation',':keep-alive',':local-start','sdk:aiSelfHealStep','sdk:accessibilityConfig','SCREENSHOT','TESTHUB_EVENTS','SDK_HOOK','SDK_TESTHUB',':after-all','SDK_O11Y','STOP','sdk:proxy-setup','SDK_DRIVER',':app-upload','sdk:automate','BEFORE','SDK_AUTO_CAPTURE',':session-status','sdk:automationFrameworkInit','QUIT','START','TURBOSCALE_EVENTS'];a106_0x44ca=function(){return _0x551096;};return a106_0x44ca();}const a106_0x30eddc={};a106_0x30eddc['SDK_SETUP']=a106_0x368d7c(0x7e),a106_0x30eddc[a106_0x368d7c(0x95)]='sdk:cleanup',a106_0x30eddc[a106_0x368d7c(0xb4)]=a106_0x368d7c(0xd6),a106_0x30eddc[a106_0x368d7c(0xa2)]=a106_0x368d7c(0xca),a106_0x30eddc['SDK_POST_TEST']=a106_0x368d7c(0x94),a106_0x30eddc[a106_0x368d7c(0xe6)]='sdk:hook',a106_0x30eddc[a106_0x368d7c(0xec)]=a106_0x368d7c(0x79),a106_0x30eddc[a106_0x368d7c(0xda)]=a106_0x368d7c(0x9d),a106_0x30eddc[a106_0x368d7c(0xe9)]=a106_0x368d7c(0x77),a106_0x30eddc[a106_0x368d7c(0xf0)]=a106_0x368d7c(0x99),a106_0x30eddc[a106_0x368d7c(0x82)]=a106_0x368d7c(0xeb),a106_0x30eddc[a106_0x368d7c(0xe7)]=a106_0x368d7c(0xb9),a106_0x30eddc[a106_0x368d7c(0x8a)]=a106_0x368d7c(0xee),a106_0x30eddc[a106_0x368d7c(0xdc)]='sdk:app-automate',a106_0x30eddc[a106_0x368d7c(0xd3)]=a106_0x368d7c(0xbf),a106_0x30eddc[a106_0x368d7c(0x8f)]='sdk:percy',a106_0x30eddc[a106_0x368d7c(0x9c)]=a106_0x368d7c(0x86),a106_0x30eddc[a106_0x368d7c(0xb0)]='sdk:driver:post-initialization',a106_0x30eddc[a106_0x368d7c(0xc2)]=a106_0x368d7c(0xc5),a106_0x30eddc[a106_0x368d7c(0xd4)]=a106_0x368d7c(0xc8),a106_0x30eddc[a106_0x368d7c(0x7f)]=a106_0x368d7c(0x74),a106_0x30eddc['SDK_CLI_ON_BOOTSTRAP']=a106_0x368d7c(0x75),a106_0x30eddc['SDK_CLI_ON_CONNECT']='sdk:cli:on-connect',a106_0x30eddc['SDK_CLI_ON_STOP']='sdk:cli:on-stop',a106_0x30eddc[a106_0x368d7c(0xb3)]='sdk:startBinSession',a106_0x30eddc[a106_0x368d7c(0xbc)]='sdk:connectBinSession',a106_0x30eddc[a106_0x368d7c(0x89)]='sdk:driverInit',a106_0x30eddc[a106_0x368d7c(0xa3)]=a106_0x368d7c(0x9b),a106_0x30eddc[a106_0x368d7c(0xa9)]=a106_0x368d7c(0xf2),a106_0x30eddc[a106_0x368d7c(0x73)]='sdk:automationFrameworkStart',a106_0x30eddc[a106_0x368d7c(0x96)]=a106_0x368d7c(0xe3),a106_0x30eddc[a106_0x368d7c(0xb1)]=a106_0x368d7c(0xcd),a106_0x30eddc['SDK_AI_SELF_HEAL_STEP']=a106_0x368d7c(0xe2),a106_0x30eddc[a106_0x368d7c(0x76)]=a106_0x368d7c(0xb2),a106_0x30eddc[a106_0x368d7c(0xd5)]='sdk:testFrameworkEvent',a106_0x30eddc['SDK_TEST_SESSION_EVENT']=a106_0x368d7c(0xd7),a106_0x30eddc[a106_0x368d7c(0x9f)]=a106_0x368d7c(0x85),a106_0x30eddc[a106_0x368d7c(0x78)]=a106_0x368d7c(0xcf),a106_0x30eddc[a106_0x368d7c(0xad)]=a106_0x368d7c(0x8e),a106_0x30eddc['SDK_ON_STOP']='sdk:onStop';const SDK_EVENTS=a106_0x30eddc,a106_0x502edb={};a106_0x502edb[a106_0x368d7c(0x80)]=SDK_EVENTS,a106_0x502edb[a106_0x368d7c(0xe5)]={},a106_0x502edb[a106_0x368d7c(0x83)]={},a106_0x502edb[a106_0x368d7c(0xc4)]={},a106_0x502edb[a106_0x368d7c(0xce)]={},a106_0x502edb[a106_0x368d7c(0xa8)]={},a106_0x502edb[a106_0x368d7c(0xa1)]={},a106_0x502edb[a106_0x368d7c(0x72)]={},a106_0x502edb[a106_0x368d7c(0xa4)]={},a106_0x502edb[a106_0x368d7c(0xde)]={},a106_0x502edb[a106_0x368d7c(0xe5)][a106_0x368d7c(0x71)]=SDK_EVENTS['SDK_TESTHUB']+':start',a106_0x502edb[a106_0x368d7c(0xe5)][a106_0x368d7c(0xea)]=SDK_EVENTS['SDK_TESTHUB']+a106_0x368d7c(0xba),a106_0x502edb[a106_0x368d7c(0x83)][a106_0x368d7c(0xaa)]=SDK_EVENTS[a106_0x368d7c(0x8a)]+a106_0x368d7c(0xe0),a106_0x502edb[a106_0x368d7c(0x83)][a106_0x368d7c(0x9e)]=SDK_EVENTS[a106_0x368d7c(0x8a)]+a106_0x368d7c(0xa0),a106_0x502edb[a106_0x368d7c(0x83)]['LOCAL_START']=SDK_EVENTS['SDK_AUTOMATE']+a106_0x368d7c(0xe1),a106_0x502edb[a106_0x368d7c(0x83)][a106_0x368d7c(0xc0)]=SDK_EVENTS[a106_0x368d7c(0x8a)]+a106_0x368d7c(0x98),a106_0x502edb[a106_0x368d7c(0x83)][a106_0x368d7c(0xcb)]=SDK_EVENTS[a106_0x368d7c(0x8a)]+a106_0x368d7c(0xbe),a106_0x502edb[a106_0x368d7c(0x83)][a106_0x368d7c(0xac)]=SDK_EVENTS[a106_0x368d7c(0x8a)]+':session-name',a106_0x502edb[a106_0x368d7c(0x83)][a106_0x368d7c(0xb8)]=SDK_EVENTS[a106_0x368d7c(0x8a)]+a106_0x368d7c(0xf1),a106_0x502edb[a106_0x368d7c(0x83)]['SESSION_ANNOTATION']=SDK_EVENTS[a106_0x368d7c(0x8a)]+a106_0x368d7c(0xdf),a106_0x502edb[a106_0x368d7c(0x83)]['IDLE_TIMEOUT']=SDK_EVENTS[a106_0x368d7c(0x8a)]+a106_0x368d7c(0xd0),a106_0x502edb[a106_0x368d7c(0x83)][a106_0x368d7c(0xd1)]=SDK_EVENTS['SDK_AUTOMATE']+':ci-artifacts',a106_0x502edb[a106_0x368d7c(0x83)][a106_0x368d7c(0xa5)]=SDK_EVENTS[a106_0x368d7c(0x8a)]+':print-buildlink',a106_0x502edb[a106_0x368d7c(0xc4)]['PERFORM_SCAN']=SDK_EVENTS[a106_0x368d7c(0xda)]+':driver-performscan',a106_0x502edb[a106_0x368d7c(0xc4)][a106_0x368d7c(0x7b)]=SDK_EVENTS[a106_0x368d7c(0xda)]+a106_0x368d7c(0xae),a106_0x502edb[a106_0x368d7c(0xc4)][a106_0x368d7c(0x7a)]=SDK_EVENTS[a106_0x368d7c(0xda)]+a106_0x368d7c(0x7d),a106_0x502edb[a106_0x368d7c(0xc4)][a106_0x368d7c(0x88)]=SDK_EVENTS[a106_0x368d7c(0xda)]+':get-accessibility-results-summary',a106_0x502edb[a106_0x368d7c(0xce)][a106_0x368d7c(0xa7)]=SDK_EVENTS[a106_0x368d7c(0x8f)]+':download',a106_0x502edb[a106_0x368d7c(0xce)][a106_0x368d7c(0xe4)]=SDK_EVENTS[a106_0x368d7c(0x8f)]+a106_0x368d7c(0xb5),a106_0x502edb[a106_0x368d7c(0xce)]['START']=SDK_EVENTS[a106_0x368d7c(0x8f)]+a106_0x368d7c(0xd8),a106_0x502edb[a106_0x368d7c(0xce)][a106_0x368d7c(0xea)]=SDK_EVENTS[a106_0x368d7c(0x8f)]+a106_0x368d7c(0xba),a106_0x502edb[a106_0x368d7c(0xce)][a106_0x368d7c(0xbb)]=SDK_EVENTS[a106_0x368d7c(0x8f)]+':auto-capture',a106_0x502edb[a106_0x368d7c(0xce)]['SNAPSHOT']=SDK_EVENTS[a106_0x368d7c(0x8f)]+':snapshot',a106_0x502edb[a106_0x368d7c(0xce)][a106_0x368d7c(0x8d)]=SDK_EVENTS['SDK_PERCY']+':screenshot-app',a106_0x502edb[a106_0x368d7c(0xa8)][a106_0x368d7c(0x8c)]=SDK_EVENTS[a106_0x368d7c(0xe9)]+a106_0x368d7c(0xc7),a106_0x502edb[a106_0x368d7c(0xa8)][a106_0x368d7c(0x87)]=SDK_EVENTS[a106_0x368d7c(0xe9)]+a106_0x368d7c(0xd2),a106_0x502edb[a106_0x368d7c(0xa8)][a106_0x368d7c(0xa5)]=SDK_EVENTS['SDK_O11Y']+a106_0x368d7c(0x97),a106_0x502edb[a106_0x368d7c(0xa1)][a106_0x368d7c(0xc3)]=SDK_EVENTS['SDK_HOOK']+a106_0x368d7c(0xd9),a106_0x502edb[a106_0x368d7c(0xa1)][a106_0x368d7c(0xb6)]=SDK_EVENTS[a106_0x368d7c(0xe6)]+':after-each',a106_0x502edb[a106_0x368d7c(0xa1)][a106_0x368d7c(0x7c)]=SDK_EVENTS['SDK_HOOK']+a106_0x368d7c(0xe8),a106_0x502edb[a106_0x368d7c(0xa1)][a106_0x368d7c(0xdb)]=SDK_EVENTS[a106_0x368d7c(0xe6)]+a106_0x368d7c(0xa6),a106_0x502edb[a106_0x368d7c(0xa1)][a106_0x368d7c(0xef)]=SDK_EVENTS[a106_0x368d7c(0xe6)]+a106_0x368d7c(0xdd),a106_0x502edb[a106_0x368d7c(0xa1)][a106_0x368d7c(0xc6)]=SDK_EVENTS['SDK_HOOK']+a106_0x368d7c(0x81),a106_0x502edb[a106_0x368d7c(0x72)][a106_0x368d7c(0x9e)]=SDK_EVENTS[a106_0x368d7c(0xd3)]+a106_0x368d7c(0xa0),a106_0x502edb[a106_0x368d7c(0x72)][a106_0x368d7c(0xa5)]=SDK_EVENTS[a106_0x368d7c(0xd3)]+a106_0x368d7c(0x97),a106_0x502edb[a106_0x368d7c(0xa4)]['APP_UPLOAD']=SDK_EVENTS[a106_0x368d7c(0xdc)]+a106_0x368d7c(0xed),a106_0x502edb[a106_0x368d7c(0xde)][a106_0x368d7c(0x70)]=SDK_EVENTS[a106_0x368d7c(0xec)]+':quit',a106_0x502edb[a106_0x368d7c(0xde)][a106_0x368d7c(0x90)]=SDK_EVENTS['SDK_DRIVER']+':get',a106_0x502edb[a106_0x368d7c(0xde)][a106_0x368d7c(0x92)]=SDK_EVENTS[a106_0x368d7c(0xec)]+a106_0x368d7c(0xaf),a106_0x502edb[a106_0x368d7c(0xde)][a106_0x368d7c(0xc9)]=SDK_EVENTS[a106_0x368d7c(0xec)]+a106_0x368d7c(0x8b),module[a106_0x368d7c(0xc1)]=a106_0x502edb;
|
|
1
|
+
const a106_0x4655bc=a106_0x3dde;(function(_0x16ef2b,_0x32b58e){const _0x5c83f6=a106_0x3dde,_0x1bcbf4=_0x16ef2b();while(!![]){try{const _0x5b808d=-parseInt(_0x5c83f6(0x240))/0x1+parseInt(_0x5c83f6(0x237))/0x2*(-parseInt(_0x5c83f6(0x228))/0x3)+parseInt(_0x5c83f6(0x24b))/0x4*(-parseInt(_0x5c83f6(0x241))/0x5)+-parseInt(_0x5c83f6(0x212))/0x6+parseInt(_0x5c83f6(0x22a))/0x7+parseInt(_0x5c83f6(0x1d9))/0x8+parseInt(_0x5c83f6(0x244))/0x9;if(_0x5b808d===_0x32b58e)break;else _0x1bcbf4['push'](_0x1bcbf4['shift']());}catch(_0x361e59){_0x1bcbf4['push'](_0x1bcbf4['shift']());}}}(a106_0x38db,0xb3825));const a106_0x4c5408={};function a106_0x3dde(_0x2ccfba,_0x218c10){const _0x38dbf0=a106_0x38db();return a106_0x3dde=function(_0x3ddefb,_0x32f707){_0x3ddefb=_0x3ddefb-0x1cd;let _0x1615cd=_0x38dbf0[_0x3ddefb];return _0x1615cd;},a106_0x3dde(_0x2ccfba,_0x218c10);}function a106_0x38db(){const _0x2502cf=['SDK_AUTOMATION_FRAMEWORK_START','DOWNLOAD','SDK_AUTOMATION_FRAMEWORK_INIT','SDK_CLEANUP','SDK_HOOK',':idle-timeout','SDK_TESTHUB','STOP','sdk:automationFrameworkStop','sdk:cli:download',':driver-performscan','SDK_CONNECT_BIN_SESSION','SDK_SETUP','AFTER_ALL','SDK_CLI_ON_BOOTSTRAP','sdk:percy','TESTHUB_EVENTS',':hub-management','sdk:app-automate',':after-all','sdk:hook','SDK_FIND_NEAREST_HUB',':print-buildlink','SDK_PRE_INITIALIZE','sdk:setup','6894354RuoxIM','HOOK_EVENTS','SDK_AI_SELF_HEAL_STEP','SYNC','sdk:findNearestHub',':quit','SDK_AI_SELF_HEAL_GET_RESULT','SESSION_NAME',':app-upload','POST_EXECUTE',':get','BEFORE_ALL','sdk:proxy-setup','sdk:cli:start','SDK_START_BIN_SESSION','SDK_PRE_TEST',':download','sdk:driver','GET_RESULTS_SUMMARY','SDK_A11Y','SDK_CLI_ON_CONNECT','SDK_CLI_LOG_CREATED_EVENT','2455329rQwlYl','sdk:cli:check-update','600894VOEYTb','START',':ci-artifacts','sdk:pre-test',':post-execute','SDK_POST_TEST',':after','AUTOMATE_EVENTS','SDK_APP_AUTOMATE','SDK_AUTOMATE','SDK_CLI_ENQUEUE_TEST_EVENT','KEEP_ALIVE',':save-results','2jRktFa','sdk:testhub','sdk:a11y',':driver-takeScreenShot','sdk:cli:on-connect','TURBOSCALE_EVENTS','sdk:automate','AFTER_EACH','sdk:startBinSession','273282kzhbrF','35UIGEXL','sdk:onStop','QUIT','20552661vrVtMv','AUTO_CAPTURE',':pre-execute','sdk:cleanup','SDK_ACCESSIBILITY_CONFIG','O11y_EVENTS','sdk:auto-capture','486768cFueRL','PERCY_EVENTS','SDK_ON_STOP','SDK_PERCY','GENERATE_CI_ARTIFACT','PRE_EXECUTE','SDK_OBSERVABILITY_CONFIG','DRIVER_MANAGE',':screenshot-app',':snapshot',':before-all','sdk:driverInit',':stop','EVENTS','DRIVER_EVENT','LOCAL_START','SDK_DRIVER_INIT','11667408aqDqID','IDLE_TIMEOUT','SDK_DRIVER','SDK_PROXY_SETUP','sdk:turboscale','SDK_AUTO_CAPTURE','sdk:automationFrameworkInit','APP_AUOTMATE_EVENTS','sdk:automationFrameworkStart',':session-status',':start','sdk:aiSelfHealGetResult','exports',':sync','sdk:driver:post-initialization','A11Y_EVENTS','SESSION_ANNOTATION','sdk:cli:on-stop',':get-accessibility-results','SDK_CLI_ON_STOP','HUB_MANAGEMENT','SDK_AUTOMATION_FRAMEWORK_STOP','SDK_TURBOSCALE','sdk:testSessionEvent','PRINT_BUILDLINK','BEFORE','SDK_O11Y','sdk:post-test','BEFORE_EACH','GET_RESULTS','sdk:connectBinSession',':driver-manage'];a106_0x38db=function(){return _0x2502cf;};return a106_0x38db();}a106_0x4c5408[a106_0x4655bc(0x205)]=a106_0x4655bc(0x211),a106_0x4c5408[a106_0x4655bc(0x1fc)]=a106_0x4655bc(0x247),a106_0x4c5408[a106_0x4655bc(0x221)]=a106_0x4655bc(0x22d),a106_0x4c5408['SDK_TEST']='sdk:test',a106_0x4c5408[a106_0x4655bc(0x22f)]=a106_0x4655bc(0x1f4),a106_0x4c5408[a106_0x4655bc(0x1fd)]=a106_0x4655bc(0x20d),a106_0x4c5408[a106_0x4655bc(0x1db)]=a106_0x4655bc(0x223),a106_0x4c5408[a106_0x4655bc(0x225)]=a106_0x4655bc(0x239),a106_0x4c5408[a106_0x4655bc(0x1f3)]='sdk:o11y',a106_0x4c5408[a106_0x4655bc(0x1de)]=a106_0x4655bc(0x24a),a106_0x4c5408[a106_0x4655bc(0x1dc)]=a106_0x4655bc(0x21e),a106_0x4c5408['SDK_TESTHUB']=a106_0x4655bc(0x238),a106_0x4c5408[a106_0x4655bc(0x233)]=a106_0x4655bc(0x23d),a106_0x4c5408['SDK_APP_AUTOMATE']=a106_0x4655bc(0x20b),a106_0x4c5408[a106_0x4655bc(0x1ef)]=a106_0x4655bc(0x1dd),a106_0x4c5408[a106_0x4655bc(0x24e)]=a106_0x4655bc(0x208),a106_0x4c5408[a106_0x4655bc(0x210)]='sdk:driver:pre-initialization',a106_0x4c5408['SDK_POST_INITIALIZE']=a106_0x4655bc(0x1e7),a106_0x4c5408['SDK_CLI_START']=a106_0x4655bc(0x21f),a106_0x4c5408['SDK_CLI_DOWNLOAD']=a106_0x4655bc(0x202),a106_0x4c5408['SDK_CLI_CHECK_UPDATE']=a106_0x4655bc(0x229),a106_0x4c5408[a106_0x4655bc(0x207)]='sdk:cli:on-bootstrap',a106_0x4c5408[a106_0x4655bc(0x226)]=a106_0x4655bc(0x23b),a106_0x4c5408[a106_0x4655bc(0x1ec)]=a106_0x4655bc(0x1ea),a106_0x4c5408[a106_0x4655bc(0x220)]=a106_0x4655bc(0x23f),a106_0x4c5408[a106_0x4655bc(0x204)]=a106_0x4655bc(0x1f7),a106_0x4c5408[a106_0x4655bc(0x1d8)]=a106_0x4655bc(0x1d3),a106_0x4c5408[a106_0x4655bc(0x20e)]=a106_0x4655bc(0x216),a106_0x4c5408[a106_0x4655bc(0x1fb)]=a106_0x4655bc(0x1df),a106_0x4c5408[a106_0x4655bc(0x1f9)]=a106_0x4655bc(0x1e1),a106_0x4c5408[a106_0x4655bc(0x248)]='sdk:accessibilityConfig',a106_0x4c5408[a106_0x4655bc(0x1ce)]='sdk:observabilityConfig',a106_0x4c5408[a106_0x4655bc(0x214)]='sdk:aiSelfHealStep',a106_0x4c5408[a106_0x4655bc(0x218)]=a106_0x4655bc(0x1e4),a106_0x4c5408['SDK_TEST_FRAMEWORK_EVENT']='sdk:testFrameworkEvent',a106_0x4c5408['SDK_TEST_SESSION_EVENT']=a106_0x4655bc(0x1f0),a106_0x4c5408[a106_0x4655bc(0x227)]='sdk:cli:logCreatedEvent',a106_0x4c5408[a106_0x4655bc(0x234)]='sdk:cli:enqueueTestEvent',a106_0x4c5408[a106_0x4655bc(0x1ee)]=a106_0x4655bc(0x201),a106_0x4c5408[a106_0x4655bc(0x24d)]=a106_0x4655bc(0x242);const SDK_EVENTS=a106_0x4c5408,a106_0x417564={};a106_0x417564[a106_0x4655bc(0x1d5)]=SDK_EVENTS,a106_0x417564[a106_0x4655bc(0x209)]={},a106_0x417564[a106_0x4655bc(0x231)]={},a106_0x417564[a106_0x4655bc(0x1e8)]={},a106_0x417564[a106_0x4655bc(0x24c)]={},a106_0x417564[a106_0x4655bc(0x249)]={},a106_0x417564[a106_0x4655bc(0x213)]={},a106_0x417564[a106_0x4655bc(0x23c)]={},a106_0x417564[a106_0x4655bc(0x1e0)]={},a106_0x417564[a106_0x4655bc(0x1d6)]={},a106_0x417564[a106_0x4655bc(0x209)]['START']=SDK_EVENTS[a106_0x4655bc(0x1ff)]+a106_0x4655bc(0x1e3),a106_0x417564[a106_0x4655bc(0x209)][a106_0x4655bc(0x200)]=SDK_EVENTS[a106_0x4655bc(0x1ff)]+a106_0x4655bc(0x1d4),a106_0x417564[a106_0x4655bc(0x231)][a106_0x4655bc(0x235)]=SDK_EVENTS[a106_0x4655bc(0x233)]+':keep-alive',a106_0x417564[a106_0x4655bc(0x231)][a106_0x4655bc(0x1ed)]=SDK_EVENTS[a106_0x4655bc(0x233)]+a106_0x4655bc(0x20a),a106_0x417564[a106_0x4655bc(0x231)][a106_0x4655bc(0x1d7)]=SDK_EVENTS[a106_0x4655bc(0x233)]+':local-start',a106_0x417564[a106_0x4655bc(0x231)]['LOCAL_STOP']=SDK_EVENTS[a106_0x4655bc(0x233)]+':local-stop',a106_0x417564[a106_0x4655bc(0x231)][a106_0x4655bc(0x1cf)]=SDK_EVENTS[a106_0x4655bc(0x233)]+a106_0x4655bc(0x1f8),a106_0x417564[a106_0x4655bc(0x231)][a106_0x4655bc(0x219)]=SDK_EVENTS[a106_0x4655bc(0x233)]+':session-name',a106_0x417564[a106_0x4655bc(0x231)]['SESSION_STATUS']=SDK_EVENTS[a106_0x4655bc(0x233)]+a106_0x4655bc(0x1e2),a106_0x417564[a106_0x4655bc(0x231)][a106_0x4655bc(0x1e9)]=SDK_EVENTS[a106_0x4655bc(0x233)]+':session-annotation',a106_0x417564[a106_0x4655bc(0x231)][a106_0x4655bc(0x1da)]=SDK_EVENTS[a106_0x4655bc(0x233)]+a106_0x4655bc(0x1fe),a106_0x417564[a106_0x4655bc(0x231)][a106_0x4655bc(0x24f)]=SDK_EVENTS[a106_0x4655bc(0x233)]+a106_0x4655bc(0x22c),a106_0x417564[a106_0x4655bc(0x231)]['PRINT_BUILDLINK']=SDK_EVENTS[a106_0x4655bc(0x233)]+':print-buildlink',a106_0x417564[a106_0x4655bc(0x1e8)]['PERFORM_SCAN']=SDK_EVENTS[a106_0x4655bc(0x225)]+a106_0x4655bc(0x203),a106_0x417564[a106_0x4655bc(0x1e8)]['SAVE_RESULTS']=SDK_EVENTS[a106_0x4655bc(0x225)]+a106_0x4655bc(0x236),a106_0x417564[a106_0x4655bc(0x1e8)][a106_0x4655bc(0x1f6)]=SDK_EVENTS[a106_0x4655bc(0x225)]+a106_0x4655bc(0x1eb),a106_0x417564[a106_0x4655bc(0x1e8)][a106_0x4655bc(0x224)]=SDK_EVENTS[a106_0x4655bc(0x225)]+':get-accessibility-results-summary',a106_0x417564[a106_0x4655bc(0x24c)][a106_0x4655bc(0x1fa)]=SDK_EVENTS[a106_0x4655bc(0x24e)]+a106_0x4655bc(0x222),a106_0x417564[a106_0x4655bc(0x24c)]['SCREENSHOT']=SDK_EVENTS[a106_0x4655bc(0x24e)]+':screenshot',a106_0x417564[a106_0x4655bc(0x24c)][a106_0x4655bc(0x22b)]=SDK_EVENTS[a106_0x4655bc(0x24e)]+':start',a106_0x417564[a106_0x4655bc(0x24c)][a106_0x4655bc(0x200)]=SDK_EVENTS[a106_0x4655bc(0x24e)]+a106_0x4655bc(0x1d4),a106_0x417564[a106_0x4655bc(0x24c)][a106_0x4655bc(0x245)]=SDK_EVENTS[a106_0x4655bc(0x24e)]+':auto-capture',a106_0x417564[a106_0x4655bc(0x24c)]['SNAPSHOT']=SDK_EVENTS[a106_0x4655bc(0x24e)]+a106_0x4655bc(0x1d1),a106_0x417564[a106_0x4655bc(0x24c)]['SCREENSHOT_APP']=SDK_EVENTS['SDK_PERCY']+a106_0x4655bc(0x1d0),a106_0x417564[a106_0x4655bc(0x249)][a106_0x4655bc(0x215)]=SDK_EVENTS[a106_0x4655bc(0x1f3)]+a106_0x4655bc(0x1e6),a106_0x417564[a106_0x4655bc(0x249)]['TAKE_SCREENSHOT']=SDK_EVENTS[a106_0x4655bc(0x1f3)]+a106_0x4655bc(0x23a),a106_0x417564[a106_0x4655bc(0x249)][a106_0x4655bc(0x1f1)]=SDK_EVENTS[a106_0x4655bc(0x1f3)]+':print-buildlink',a106_0x417564[a106_0x4655bc(0x213)][a106_0x4655bc(0x1f5)]=SDK_EVENTS[a106_0x4655bc(0x1fd)]+':before-each',a106_0x417564[a106_0x4655bc(0x213)][a106_0x4655bc(0x23e)]=SDK_EVENTS['SDK_HOOK']+':after-each',a106_0x417564[a106_0x4655bc(0x213)][a106_0x4655bc(0x206)]=SDK_EVENTS['SDK_HOOK']+a106_0x4655bc(0x20c),a106_0x417564[a106_0x4655bc(0x213)][a106_0x4655bc(0x21d)]=SDK_EVENTS[a106_0x4655bc(0x1fd)]+a106_0x4655bc(0x1d2),a106_0x417564[a106_0x4655bc(0x213)][a106_0x4655bc(0x1f2)]=SDK_EVENTS[a106_0x4655bc(0x1fd)]+':before',a106_0x417564[a106_0x4655bc(0x213)]['AFTER']=SDK_EVENTS['SDK_HOOK']+a106_0x4655bc(0x230),a106_0x417564[a106_0x4655bc(0x23c)][a106_0x4655bc(0x1ed)]=SDK_EVENTS[a106_0x4655bc(0x1ef)]+a106_0x4655bc(0x20a),a106_0x417564[a106_0x4655bc(0x23c)]['PRINT_BUILDLINK']=SDK_EVENTS[a106_0x4655bc(0x1ef)]+a106_0x4655bc(0x20f),a106_0x417564[a106_0x4655bc(0x1e0)]['APP_UPLOAD']=SDK_EVENTS[a106_0x4655bc(0x232)]+a106_0x4655bc(0x21a),a106_0x417564[a106_0x4655bc(0x1d6)][a106_0x4655bc(0x243)]=SDK_EVENTS[a106_0x4655bc(0x1db)]+a106_0x4655bc(0x217),a106_0x417564[a106_0x4655bc(0x1d6)]['GET']=SDK_EVENTS[a106_0x4655bc(0x1db)]+a106_0x4655bc(0x21c),a106_0x417564[a106_0x4655bc(0x1d6)][a106_0x4655bc(0x1cd)]=SDK_EVENTS[a106_0x4655bc(0x1db)]+a106_0x4655bc(0x246),a106_0x417564[a106_0x4655bc(0x1d6)][a106_0x4655bc(0x21b)]=SDK_EVENTS[a106_0x4655bc(0x1db)]+a106_0x4655bc(0x22e),module[a106_0x4655bc(0x1e5)]=a106_0x417564;
|