browserstack-node-sdk 1.36.3 → 1.36.5
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/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/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/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/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 a68_0xeacbd7=a68_0x22ef;(function(_0xcb84eb,_0x327bd0){const _0x4fad27=a68_0x22ef,_0x2b0c76=_0xcb84eb();while(!![]){try{const _0x41457e=-parseInt(_0x4fad27(0x1b8))/0x1*(-parseInt(_0x4fad27(0x1ab))/0x2)+-parseInt(_0x4fad27(0x1a7))/0x3*(parseInt(_0x4fad27(0x19f))/0x4)+-parseInt(_0x4fad27(0x1b9))/0x5+-parseInt(_0x4fad27(0x19e))/0x6*(parseInt(_0x4fad27(0x1c1))/0x7)+parseInt(_0x4fad27(0x1b0))/0x8*(-parseInt(_0x4fad27(0x1c3))/0x9)+parseInt(_0x4fad27(0x1af))/0xa+parseInt(_0x4fad27(0x1bb))/0xb;if(_0x41457e===_0x327bd0)break;else _0x2b0c76['push'](_0x2b0c76['shift']());}catch(_0x2fbceb){_0x2b0c76['push'](_0x2b0c76['shift']());}}}(a68_0x309d,0x8f630));const winston=require(a68_0xeacbd7(0x1c0)),path=require(a68_0xeacbd7(0x1b4)),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require('../bin/utils/constants'),fetchLogDir=()=>{const _0x47c635=a68_0xeacbd7;return process[_0x47c635(0x1ad)][_0x47c635(0x1aa)];},logDir=fetchLogDir(),a68_0x1bf5d0={};a68_0x1bf5d0[a68_0xeacbd7(0x1bd)]=a68_0xeacbd7(0x1ba);const transports={'loggerConsole':new winston[(a68_0xeacbd7(0x1b1))][(a68_0xeacbd7(0x1c6))](a68_0x1bf5d0)},a68_0x49bf06={};a68_0x49bf06[a68_0xeacbd7(0x1ae)]=a68_0xeacbd7(0x1c2);const a68_0x25ae4c={};function a68_0x22ef(_0x3c7b3c,_0x23c63b){const _0x309db0=a68_0x309d();return a68_0x22ef=function(_0x22ef23,_0x2283e0){_0x22ef23=_0x22ef23-0x19c;let _0x47561b=_0x309db0[_0x22ef23];return _0x47561b;},a68_0x22ef(_0x3c7b3c,_0x23c63b);}a68_0x25ae4c[a68_0xeacbd7(0x1b7)]=!![];const winstonLoggerParams={'format':winston[a68_0xeacbd7(0x1ae)][a68_0xeacbd7(0x1a3)](winston[a68_0xeacbd7(0x1ae)][a68_0xeacbd7(0x1a8)](a68_0x49bf06),winston[a68_0xeacbd7(0x1ae)][a68_0xeacbd7(0x1c5)](a68_0x25ae4c),winston['format']['printf'](_0x6652fb=>_0x6652fb[a68_0xeacbd7(0x1a8)]+a68_0xeacbd7(0x1b6)+_0x6652fb[a68_0xeacbd7(0x1b7)]+':\x20'+_0x6652fb['message'])),'transports':[transports[a68_0xeacbd7(0x1b2)]]},a68_0x32cbc1={};a68_0x32cbc1[a68_0xeacbd7(0x1ae)]=a68_0xeacbd7(0x1c2);const a68_0x30c052={};a68_0x30c052['level']=!![];const winstonFileLoggerParams={'format':winston[a68_0xeacbd7(0x1ae)]['combine'](winston[a68_0xeacbd7(0x1ae)][a68_0xeacbd7(0x1a8)](a68_0x32cbc1),winston[a68_0xeacbd7(0x1ae)][a68_0xeacbd7(0x1c5)](a68_0x30c052),winston[a68_0xeacbd7(0x1ae)][a68_0xeacbd7(0x1b5)](_0x468ca8=>_0x468ca8[a68_0xeacbd7(0x1b7)]+':\x20'+_0x468ca8[a68_0xeacbd7(0x1ac)])),'transports':[]},initialize=()=>{const _0x2f6157=a68_0xeacbd7,_0x22b5a7={};_0x22b5a7[_0x2f6157(0x1a6)]=_0x2f6157(0x1a9),_0x22b5a7[_0x2f6157(0x1c4)]='silly';const _0xdfa5b7=_0x22b5a7,_0x39fa84=_0xdfa5b7['Mdnij'][_0x2f6157(0x1a5)]('|');let _0x686299=0x0;while(!![]){switch(_0x39fa84[_0x686299++]){case'0':exports[_0x2f6157(0x1b3)]['add'](transports[_0x2f6157(0x1a2)]);continue;case'1':transports[_0x2f6157(0x1bf)]=new winston[(_0x2f6157(0x1b1))][(_0x2f6157(0x1be))]({'filename':path['join'](exports[_0x2f6157(0x1a4)],LOG_FILE_NAME)});continue;case'2':exports[_0x2f6157(0x1a0)][_0x2f6157(0x19d)](transports['debugLoggerFile']);continue;case'3':transports[_0x2f6157(0x1a2)]=new winston[(_0x2f6157(0x1b1))][(_0x2f6157(0x1be))]({'filename':path['join'](exports[_0x2f6157(0x1a4)],DEBUG_LOG_FILE_NAME),'level':_0xdfa5b7[_0x2f6157(0x1c4)]});continue;case'4':exports[_0x2f6157(0x1b3)]['add'](transports[_0x2f6157(0x1bf)]);continue;case'5':exports['winstonLogger'][_0x2f6157(0x19d)](transports[_0x2f6157(0x1bf)]);continue;}break;}};function a68_0x309d(){const _0x42e331=['4578572sSjKlT','winstonLogger','getLogDir','debugLoggerFile','combine','logDir','split','Mdnij','3yyvVLI','timestamp','1|3|5|2|4|0','BROWSERSTACK_INTERNAL_LOG_DIR','2Jbuviq','message','env','format','8722990xUxiiL','40pnUNpn','transports','loggerConsole','fileLogger','path','printf','\x20-\x20','level','911887OuCVvE','1985110vofUAp','console.info','12055318BmZALV','initialize','name','File','loggerFile','winston','34223eRuYWF','YYYY-MM-DD\x20HH:mm:ss','1237662eUFLeI','fJqZf','colorize','Console','createLogger','add','78gOXqmn'];a68_0x309d=function(){return _0x42e331;};return a68_0x309d();}exports[a68_0xeacbd7(0x1a0)]=new winston['createLogger'](winstonLoggerParams),exports[a68_0xeacbd7(0x1b3)]=new winston[(a68_0xeacbd7(0x19c))](winstonFileLoggerParams),exports[a68_0xeacbd7(0x1a4)]=logDir,exports[a68_0xeacbd7(0x1a1)]=()=>{const _0x17da70=a68_0xeacbd7;return exports[_0x17da70(0x1a4)];},exports[a68_0xeacbd7(0x1b1)]=transports,exports[a68_0xeacbd7(0x1bc)]=initialize;logDir&&initialize();
|
package/src/helpers/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a69_0x728500=a69_0x399f;function a69_0x2444(){const _0x18073a=['warn','getGlobal','winstonLogger','COeof','identifier','98216uTqMwq','exports','getCentralUser','./helper','2130032mspDaD','get','length','string','./logger','6040284oxbEWs','pzHPQ','273TIJhth','HQynb','The\x20metadata\x20object\x20is\x20not\x20valid.','6lLTXnM','661971YRjsuV','set','5368795XmUXya','EGoQL','./globals','FiPHS','setGlobal','testMeta-','439997XOlHsQ','10306782zoUkxX','DVwRm','lcnc','YbizG'];a69_0x2444=function(){return _0x18073a;};return a69_0x2444();}function a69_0x399f(_0x170918,_0x16a00d){const _0x24444a=a69_0x2444();return a69_0x399f=function(_0x399f48,_0xcd8ae4){_0x399f48=_0x399f48-0x1d8;let _0x2c59ae=_0x24444a[_0x399f48];return _0x2c59ae;},a69_0x399f(_0x170918,_0x16a00d);}(function(_0x2b3782,_0x13fa65){const _0x108908=a69_0x399f,_0x3fba9c=_0x2b3782();while(!![]){try{const _0x42c128=parseInt(_0x108908(0x1f6))/0x1*(-parseInt(_0x108908(0x1ed))/0x2)+-parseInt(_0x108908(0x1ee))/0x3+-parseInt(_0x108908(0x1e3))/0x4+parseInt(_0x108908(0x1f0))/0x5+parseInt(_0x108908(0x1e8))/0x6+parseInt(_0x108908(0x1ea))/0x7*(-parseInt(_0x108908(0x1df))/0x8)+parseInt(_0x108908(0x1f7))/0x9;if(_0x42c128===_0x13fa65)break;else _0x3fba9c['push'](_0x3fba9c['shift']());}catch(_0xdac08b){_0x3fba9c['push'](_0x3fba9c['shift']());}}}(a69_0x2444,0xa47b0));const globals=require(a69_0x728500(0x1f2)),helper=require(a69_0x728500(0x1e2)),logger=require(a69_0x728500(0x1e7))[a69_0x728500(0x1dc)];module[a69_0x728500(0x1e0)]=class TestMetadata{static[a69_0x728500(0x1ef)](_0xe12f09={}){const _0x1e186b=a69_0x728500,_0x285f19={};_0x285f19[_0x1e186b(0x1dd)]='testRunUUID',_0x285f19['FiPHS']=function(_0x536c80,_0x3a0684){return _0x536c80===_0x3a0684;},_0x285f19[_0x1e186b(0x1eb)]=_0x1e186b(0x1e6),_0x285f19[_0x1e186b(0x1f8)]=function(_0x41855d,_0x189008){return _0x41855d<=_0x189008;},_0x285f19[_0x1e186b(0x1d9)]='testMeta',_0x285f19[_0x1e186b(0x1e9)]=_0x1e186b(0x1ec);const _0x44b632=_0x285f19,_0x39b1d1=globals[_0x1e186b(0x1db)](_0x44b632[_0x1e186b(0x1dd)]),_0x5685d3=_0xe12f09[_0x1e186b(0x1de)];helper['getCentralUser']()[_0x1e186b(0x1d8)]&&(_0x44b632[_0x1e186b(0x1f3)](typeof _0x5685d3,_0x44b632[_0x1e186b(0x1eb)])&&_0x44b632[_0x1e186b(0x1f8)](_0x5685d3[_0x1e186b(0x1e5)],0x28)?_0x39b1d1?globals['setGlobal'](_0x1e186b(0x1f5)+_0x39b1d1,_0xe12f09):globals[_0x1e186b(0x1f4)](_0x44b632[_0x1e186b(0x1d9)],_0xe12f09):logger[_0x1e186b(0x1da)](_0x44b632[_0x1e186b(0x1e9)]));}static[a69_0x728500(0x1e4)](_0x492ab4){const _0x5b7f70=a69_0x728500,_0x88ad7c={};_0x88ad7c[_0x5b7f70(0x1f1)]='testMeta';const _0x29d487=_0x88ad7c;if(helper[_0x5b7f70(0x1e1)]()[_0x5b7f70(0x1d8)])return globals[_0x5b7f70(0x1db)]('testMeta-'+_0x492ab4)||globals[_0x5b7f70(0x1db)](_0x29d487['EGoQL'])||{};return{};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a70_0x48c019=a70_0x81d1;(function(_0x2ad3c7,_0x1335bf){const _0x1bc7b0=a70_0x81d1,_0xf73a19=_0x2ad3c7();while(!![]){try{const _0x2eeb7c=parseInt(_0x1bc7b0(0x206))/0x1*(parseInt(_0x1bc7b0(0x1f8))/0x2)+-parseInt(_0x1bc7b0(0x1f2))/0x3*(-parseInt(_0x1bc7b0(0x1f9))/0x4)+-parseInt(_0x1bc7b0(0x239))/0x5*(parseInt(_0x1bc7b0(0x1fe))/0x6)+-parseInt(_0x1bc7b0(0x1db))/0x7+parseInt(_0x1bc7b0(0x213))/0x8*(-parseInt(_0x1bc7b0(0x22e))/0x9)+-parseInt(_0x1bc7b0(0x229))/0xa*(-parseInt(_0x1bc7b0(0x20b))/0xb)+-parseInt(_0x1bc7b0(0x227))/0xc;if(_0x2eeb7c===_0x1335bf)break;else _0xf73a19['push'](_0xf73a19['shift']());}catch(_0x1ce1f6){_0xf73a19['push'](_0xf73a19['shift']());}}}(a70_0x109e,0x1efbc));const {aiSdkWrapper}=require(a70_0x48c019(0x215)),{commandRepository}=require(a70_0x48c019(0x20f)),PerformanceTester=require(a70_0x48c019(0x1e3)),globals=require('./globals'),logger=require(a70_0x48c019(0x228))[a70_0x48c019(0x235)],helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require(a70_0x48c019(0x1ea));function a70_0x81d1(_0x7a36bf,_0xc226f6){const _0x109e52=a70_0x109e();return a70_0x81d1=function(_0x81d127,_0x549625){_0x81d127=_0x81d127-0x1d9;let _0x34ffd5=_0x109e52[_0x81d127];return _0x34ffd5;},a70_0x81d1(_0x7a36bf,_0xc226f6);}exports[a70_0x48c019(0x236)]=(_0x3921dd,_0x5b55b1)=>{const _0x16b344=a70_0x48c019,_0x16432f={'sgLjU':'aiSdk_defaultLogDataEnabled','UUMpH':function(_0x3863d8,_0x4b640d){return _0x3863d8===_0x4b640d;},'PZtME':_0x16b344(0x1da),'oDqOj':_0x16b344(0x22f),'LoOjV':'aiHeal_isHealingEnabled','rjllN':_0x16b344(0x21d),'hHYkY':function(_0x32f125){return _0x32f125();},'DqOfj':_0x16b344(0x225),'yxFjz':_0x16b344(0x218),'TOhBg':'JavascriptError','IkJpz':function(_0x1c886f,_0x516739){return _0x1c886f===_0x516739;},'dMUgt':_0x16b344(0x238),'nnyDE':function(_0x2510d5,_0x2a9804){return _0x2510d5+_0x2a9804;},'aTonT':function(_0x911713,_0x37e444){return _0x911713+_0x37e444;},'TgPLd':'findElement\x20command\x20failed\x20with\x20cssPath:\x20','WudTu':_0x16b344(0x1ef),'ayQhT':function(_0x4bb18f,_0x4af405){return _0x4bb18f+_0x4af405;},'HsSGi':_0x16b344(0x203),'SaTkK':_0x16b344(0x1df),'YrSpd':function(_0x26e32b){return _0x26e32b();},'mQcMc':function(_0x2e1adc,_0x4f4e04){return _0x2e1adc&&_0x4f4e04;},'hGRjE':function(_0x375341,_0x4b54a1){return _0x375341===_0x4b54a1;},'BXpuy':function(_0x4aa9ff,_0x328c67){return _0x4aa9ff+_0x328c67;},'shcCx':_0x16b344(0x208),'HRiys':'Successfully\x20healed\x20command\x20using\x20new\x20','GFtPl':function(_0x344ef5,_0x216f99){return _0x344ef5===_0x216f99;},'olHXy':_0x16b344(0x1f0),'SaIEx':function(_0x3f5d9f,_0x38b785){return _0x3f5d9f+_0x38b785;},'hEOKs':function(_0x468f9d,_0xe288c1){return _0x468f9d+_0xe288c1;},'myIQW':_0x16b344(0x22b),'FAUkg':_0x16b344(0x1f6),'DhIWS':_0x16b344(0x1e2),'PtUmX':'url','EVxsu':'Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','KFNuj':_0x16b344(0x205),'zULvK':function(_0xf6ff92){return _0xf6ff92();},'Lpsxs':_0x16b344(0x219),'nsgwQ':'browserstack.local','zagKt':_0x16b344(0x21b),'hfevN':_0x16b344(0x1e5)},_0x504a3e=_0x3921dd[_0x16b344(0x1ff)]||(helper[_0x16b344(0x221)](_0x5b55b1,[_0x16432f[_0x16b344(0x209)],_0x16432f[_0x16b344(0x207)]])||helper[_0x16b344(0x221)](_0x5b55b1,[_0x16432f[_0x16b344(0x209)],_0x16432f[_0x16b344(0x1f4)],_0x16432f[_0x16b344(0x23f)]]));if(!globals[_0x16b344(0x23a)](_0x16432f['oDqOj'])&&!globals[_0x16b344(0x23a)](_0x16432f['LoOjV'])&&_0x504a3e)return;_0x3921dd['patchExecute']=!![],_0x3921dd[_0x16b344(0x216)]=_0x3921dd[_0x16b344(0x210)],_0x3921dd['execute']=async _0x52944a=>{const _0x2a6f0c=_0x16b344,_0x5c118f={'RdVyp':_0x16432f['oDqOj'],'GNsWF':_0x16432f[_0x2a6f0c(0x21f)],'buoxh':function(_0x46cd8f){const _0x39681c=_0x2a6f0c;return _0x16432f[_0x39681c(0x200)](_0x46cd8f);}};try{const _0x339c5c={};_0x339c5c[_0x2a6f0c(0x23d)]=_0x52944a['name_'],await PerformanceTester[_0x2a6f0c(0x231)](PerformanceDriverEvents['PRE_EXECUTE'],async()=>{const _0x4d00c6=_0x2a6f0c,_0x43853c={};_0x43853c['nAGjB']=_0x5c118f[_0x4d00c6(0x1d9)];const _0x32c379=_0x43853c;if(!commandRepository[_0x4d00c6(0x212)]()&&globals['getGlobal'](_0x5c118f[_0x4d00c6(0x1d9)])){const _0x8bc95b=PerformanceTester[_0x4d00c6(0x231)](_0x5c118f[_0x4d00c6(0x20e)],async()=>{const _0x53769d=_0x4d00c6;try{commandRepository[_0x53769d(0x230)](!![]),await aiSdkWrapper[_0x53769d(0x202)]((await _0x3921dd[_0x53769d(0x1dd)]())['getId']());const _0x27f336=globals[_0x53769d(0x23a)](_0x32c379[_0x53769d(0x1fd)]);_0x27f336&&commandRepository['setAiSessionTimeStamp']((await _0x3921dd[_0x53769d(0x1dd)]())[_0x53769d(0x1e7)]());}catch(_0x4aac73){logger[_0x53769d(0x1ed)](_0x53769d(0x21e)+_0x4aac73);}});await _0x5c118f[_0x4d00c6(0x233)](_0x8bc95b);}},_0x339c5c)();const _0x5e0776=await _0x3921dd[_0x2a6f0c(0x216)](_0x52944a);return await PerformanceTester[_0x2a6f0c(0x231)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0xa7e7f7=_0x2a6f0c;if(!helper[_0xa7e7f7(0x20a)]()&&(commandRepository[_0xa7e7f7(0x217)]()||globals[_0xa7e7f7(0x23a)](_0x16432f[_0xa7e7f7(0x224)]))&&_0x16432f['UUMpH'](_0x52944a[_0xa7e7f7(0x1e1)],_0x16432f['PZtME'])&&!_0x52944a['skipHealingSuccess']&&globals[_0xa7e7f7(0x23a)](_0x16432f[_0xa7e7f7(0x1e6)])&&globals['getGlobal'](_0x16432f[_0xa7e7f7(0x201)])){const _0x1794b2=new Date(),_0x1f289b=PerformanceTester['measureWrapper'](_0x16432f[_0xa7e7f7(0x234)],async()=>{const _0x57b3ee=_0xa7e7f7;return await aiSdkWrapper[_0x57b3ee(0x1ee)](_0x5b55b1,_0x3921dd,_0x52944a);});await _0x16432f[_0xa7e7f7(0x22a)](_0x1f289b);}},{'command':_0x52944a[_0x2a6f0c(0x1e1)]})(),_0x5e0776;}catch(_0x904cb2){await PerformanceTester[_0x2a6f0c(0x231)](PerformanceDriverEvents[_0x2a6f0c(0x1f7)],async()=>{const _0x36247b=_0x2a6f0c;logger[_0x36247b(0x21a)](_0x16432f[_0x36247b(0x1eb)]);try{if(!helper[_0x36247b(0x20a)]()&&(_0x16432f[_0x36247b(0x240)](_0x904cb2['name'],_0x16432f[_0x36247b(0x20c)])||_0x16432f['UUMpH'](_0x904cb2[_0x36247b(0x214)],_0x16432f['TOhBg']))&&_0x16432f['UUMpH'](_0x52944a[_0x36247b(0x1e1)],_0x16432f[_0x36247b(0x1fa)])&&commandRepository[_0x36247b(0x217)]()&&globals[_0x36247b(0x23a)](_0x16432f[_0x36247b(0x1e6)])&&globals['getGlobal'](_0x16432f['LoOjV'])){_0x16432f[_0x36247b(0x204)](_0x52944a[_0x36247b(0x1e2)][_0x36247b(0x223)],_0x16432f[_0x36247b(0x222)])?logger[_0x36247b(0x226)](_0x16432f[_0x36247b(0x1f1)](_0x16432f[_0x36247b(0x211)](_0x16432f[_0x36247b(0x22c)],_0x52944a[_0x36247b(0x1e2)][_0x36247b(0x237)]),_0x16432f[_0x36247b(0x1fc)])):logger[_0x36247b(0x226)](_0x16432f[_0x36247b(0x1f1)](_0x16432f[_0x36247b(0x1f1)](_0x16432f[_0x36247b(0x23e)](_0x16432f[_0x36247b(0x23e)](_0x16432f['HsSGi'],_0x52944a[_0x36247b(0x1e2)][_0x36247b(0x223)]),':\x20'),_0x52944a[_0x36247b(0x1e2)][_0x36247b(0x237)]),_0x16432f[_0x36247b(0x1fc)]));const _0x4100da=PerformanceTester[_0x36247b(0x231)](_0x16432f['SaTkK'],async()=>{const _0x376cb3=_0x36247b;return await aiSdkWrapper[_0x376cb3(0x21c)](_0x5b55b1,_0x3921dd,_0x52944a);}),_0x545cb3=new Date(),{locatorType:_0x4f6ee6,locatorValue:_0xbbf097,commandHealed:_0x118ad9}=await _0x16432f['YrSpd'](_0x4100da);if(_0x16432f[_0x36247b(0x1e8)](_0x4f6ee6,_0xbbf097)){_0x52944a['parameters_'][_0x36247b(0x223)]=_0x4f6ee6,_0x52944a['parameters_'][_0x36247b(0x237)]=_0xbbf097,_0x52944a[_0x36247b(0x20d)]=!![];const _0x4f748b=_0x3921dd[_0x36247b(0x210)](_0x52944a);return _0x16432f[_0x36247b(0x220)](_0x4f6ee6,_0x16432f[_0x36247b(0x222)])?logger[_0x36247b(0x226)](_0x16432f[_0x36247b(0x1de)](_0x16432f[_0x36247b(0x232)],_0xbbf097)):logger[_0x36247b(0x226)](_0x16432f[_0x36247b(0x211)](_0x16432f[_0x36247b(0x211)](_0x16432f[_0x36247b(0x23e)](_0x16432f['HRiys'],_0x4f6ee6),':\x20'),_0xbbf097)),_0x4f748b;}else!_0x118ad9&&(_0x16432f[_0x36247b(0x1f5)](_0x4f6ee6,_0x16432f[_0x36247b(0x222)])?logger[_0x36247b(0x226)](_0x16432f[_0x36247b(0x23e)](_0x16432f['olHXy'],_0x52944a[_0x36247b(0x1e2)]['value'])):logger[_0x36247b(0x226)](_0x16432f[_0x36247b(0x1e4)](_0x16432f[_0x36247b(0x23e)](_0x16432f[_0x36247b(0x1ec)](_0x16432f[_0x36247b(0x23b)],_0x52944a[_0x36247b(0x1e2)]['using']),':\x20'),_0x52944a[_0x36247b(0x1e2)][_0x36247b(0x237)])));}!_0x504a3e&&_0x16432f[_0x36247b(0x220)](_0x52944a[_0x36247b(0x1e1)],_0x16432f[_0x36247b(0x242)])&&helper[_0x36247b(0x221)](_0x52944a,[_0x16432f[_0x36247b(0x1dc)],_0x16432f['PtUmX']])&&!!constants[_0x36247b(0x23c)][_0x36247b(0x1f3)](_0x517776=>{const _0x51cbae=_0x36247b;return _0x904cb2[_0x51cbae(0x241)]()[_0x51cbae(0x1e0)](_0x517776);})&&helper[_0x36247b(0x1e9)](_0x52944a[_0x36247b(0x1e2)][_0x36247b(0x1fb)],!![]);}catch(_0x292b89){logger[_0x36247b(0x21a)](_0x16432f[_0x36247b(0x22d)],_0x292b89);}},{'success':![],'failure':_0x904cb2})();throw _0x904cb2;}};};function a70_0x109e(){const _0x3a1e35=['EVxsu','18leljxh','aiHeal_isAuthenticated','setTcgTokenStatus','measureWrapper','shcCx','buoxh','rjllN','winstonLogger','overrideExecute','value','css\x20selector','51785LjrZkP','getGlobal','myIQW','NUDGE_LOCAL_ERRORS','command','ayQhT','hfevN','UUMpH','toString','FAUkg','RdVyp','findElement','163457URlveS','DhIWS','getSession','BXpuy','aiHeal:findElementFailure','includes','name_','parameters_','./performance/performance-tester','SaIEx','local','oDqOj','getId','mQcMc','getNudgeLocalNotSetError','./performance/constants','DqOfj','hEOKs','error','handleSuccess',';\x20Trying\x20to\x20heal','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','nnyDE','3GYZYcO','find','zagKt','GFtPl','get','POST_EXECUTE','46oFrOAs','183548bCXPrS','PZtME','url','WudTu','nAGjB','84gRaXSU','patchExecute','zULvK','LoOjV','setTcgToken','findElement\x20command\x20failed\x20with\x20','IkJpz','aiHeal:setToken','8647mXHVhj','nsgwQ','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','Lpsxs','isBrowserstackInfra','70620SpbJqY','yxFjz','skipHealingSuccess','GNsWF','./ai-sdk/autoHealHelper','execute','aTonT','getTcgTokenStatus','102576UwNZEJ','name','./ai-sdk/aiSdkWrapper','initExecute','isSelfHealEnabled','NoSuchElementError','capability','debug','bstack:options','handleFailure','aiHeal:findElementSuccess','Error\x20in\x20handling\x20TCG\x20Auth:\x20','KFNuj','hGRjE','nestedKeyValue','dMUgt','using','sgLjU','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','info','1859844JhjRhh','./logger','360SbbHGt','hHYkY','Healing\x20failed\x20for\x20command\x20using\x20','TgPLd'];a70_0x109e=function(){return _0x3a1e35;};return a70_0x109e();}
|
|
1
|
+
const a70_0x3e53d3=a70_0x4585;function a70_0x4585(_0x3954fb,_0x5777ea){const _0x5b5604=a70_0x5b56();return a70_0x4585=function(_0x458531,_0x292c19){_0x458531=_0x458531-0x8d;let _0x4a14ad=_0x5b5604[_0x458531];return _0x4a14ad;},a70_0x4585(_0x3954fb,_0x5777ea);}function a70_0x5b56(){const _0x3dc2b9=['aiHeal:findElementFailure','ImGpR','PRE_EXECUTE','1341dmBLTs','error','Successfully\x20healed\x20command\x20using\x20new\x20','DdmTP','PXQVG','aiHeal:setToken','uYwlt','overrideExecute',';\x20Trying\x20to\x20heal','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','name','KnGbd','parameters_','handleSuccess','setTcgTokenStatus','url','aiHeal_isHealingEnabled','setAiSessionTimeStamp','680AUeVOH','./ai-sdk/aiSdkWrapper','css\x20selector','NoSuchElementError','pUCyD','local','find','./globals','1454PmuhBo','JavascriptError','282909UaLtkY','aiHeal:findElementSuccess','NUDGE_LOCAL_ERRORS','aiSdk_defaultLogDataEnabled','./performance/constants','16wmzYsq','bOPMG','execute','xWNHU','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','XaWdd','VzRau','toString','GzjaB','kpkqn','373490SKHDKX','18954wHUXry','eembA','./helper','patchExecute','getGlobal','isSelfHealEnabled','isBrowserstackInfra','../bin/utils/constants','1663164inhYMU','measureWrapper','nestedKeyValue','prdfI','RTAXi','name_','getSession','462PuIBzE','./performance/performance-tester','1531418qVtAnI','getTcgTokenStatus','vwjQC','FZtNm','MdSMY','get','896517nknGco','./ai-sdk/autoHealHelper','IzJlY','findElement\x20command\x20failed\x20with\x20cssPath:\x20','command','POST_EXECUTE','findElement','wbJNQ','nVLOT','hEhxi','AUvQL','tmDYr','vvQUZ','siVhc','capability','AtJlA','value','hkWsg','getId','mXmUI','findElement\x20command\x20failed\x20with\x20','using','HoEcD','iojwz','Healing\x20failed\x20for\x20command\x20using\x20','hgcDK','setTcgToken','info','QrXDN','bstack:options','debug'];a70_0x5b56=function(){return _0x3dc2b9;};return a70_0x5b56();}(function(_0x2c2116,_0x47f0c4){const _0x2ab5dc=a70_0x4585,_0x41efdf=_0x2c2116();while(!![]){try{const _0x33a066=parseInt(_0x2ab5dc(0xd5))/0x1+-parseInt(_0x2ab5dc(0xd3))/0x2*(-parseInt(_0x2ab5dc(0xb9))/0x3)+parseInt(_0x2ab5dc(0xed))/0x4+-parseInt(_0x2ab5dc(0xcb))/0x5*(-parseInt(_0x2ab5dc(0xe5))/0x6)+-parseInt(_0x2ab5dc(0x91))/0x7*(-parseInt(_0x2ab5dc(0xda))/0x8)+-parseInt(_0x2ab5dc(0x97))/0x9+-parseInt(_0x2ab5dc(0xe4))/0xa*(parseInt(_0x2ab5dc(0x8f))/0xb);if(_0x33a066===_0x47f0c4)break;else _0x41efdf['push'](_0x41efdf['shift']());}catch(_0x35944d){_0x41efdf['push'](_0x41efdf['shift']());}}}(a70_0x5b56,0x3656a));const {aiSdkWrapper}=require(a70_0x3e53d3(0xcc)),{commandRepository}=require(a70_0x3e53d3(0x98)),PerformanceTester=require(a70_0x3e53d3(0x90)),globals=require(a70_0x3e53d3(0xd2)),logger=require('./logger')['winstonLogger'],helper=require(a70_0x3e53d3(0xe7)),constants=require(a70_0x3e53d3(0xec)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a70_0x3e53d3(0xd9));exports[a70_0x3e53d3(0xc0)]=(_0x247c26,_0x287563)=>{const _0x21337a=a70_0x3e53d3,_0x3afb87={'SpUWV':_0x21337a(0xd8),'ImGpR':function(_0x40643c,_0x1ae9d9){return _0x40643c===_0x1ae9d9;},'bOPMG':_0x21337a(0x9d),'vwjQC':'aiHeal_isAuthenticated','eembA':_0x21337a(0xc9),'XaWdd':_0x21337a(0xd6),'tmDYr':function(_0x4fa40b){return _0x4fa40b();},'wbJNQ':'Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','MdSMY':_0x21337a(0xce),'TvmkM':_0x21337a(0xd4),'mXmUI':function(_0x1ef649,_0x3f7598){return _0x1ef649===_0x3f7598;},'gazEt':_0x21337a(0xcd),'RTAXi':function(_0x5378d8,_0x52d429){return _0x5378d8+_0x52d429;},'prdfI':function(_0x5824a1,_0x2d9e19){return _0x5824a1+_0x2d9e19;},'qABdU':_0x21337a(0x9a),'kpkqn':_0x21337a(0xc1),'YsWel':function(_0x284d06,_0x126ee6){return _0x284d06+_0x126ee6;},'RBcEK':function(_0xfdcd4e,_0x19bba7){return _0xfdcd4e+_0x19bba7;},'eFyYh':function(_0x106f29,_0x360cce){return _0x106f29+_0x360cce;},'hkWsg':_0x21337a(0xab),'siVhc':_0x21337a(0xb6),'AwzjV':function(_0x5756ab,_0x37b4e7){return _0x5756ab&&_0x37b4e7;},'iojwz':function(_0xe1548f,_0x47de69){return _0xe1548f===_0x47de69;},'LRBsp':function(_0x5e8bdc,_0x34fb7b){return _0x5e8bdc+_0x34fb7b;},'uYwlt':_0x21337a(0xde),'FZtNm':function(_0x5d1578,_0x530ff7){return _0x5d1578+_0x530ff7;},'hgcDK':function(_0x1968c7,_0x171ebc){return _0x1968c7+_0x171ebc;},'VzRau':_0x21337a(0xbb),'pUCyD':function(_0x1fcc2a,_0x2e36a2){return _0x1fcc2a+_0x2e36a2;},'ByrFo':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','aKuCj':function(_0x2a3aca,_0x4abc2c){return _0x2a3aca+_0x4abc2c;},'PXQVG':function(_0x46740d,_0x1036da){return _0x46740d+_0x1036da;},'hEhxi':_0x21337a(0xaf),'KnGbd':_0x21337a(0x96),'DdmTP':_0x21337a(0xc5),'AtJlA':_0x21337a(0xc8),'GzjaB':_0x21337a(0xc2),'xWNHU':_0x21337a(0xbe),'Cxuzr':function(_0x2f50b1){return _0x2f50b1();},'nVLOT':_0x21337a(0xa5),'QrXDN':'browserstack.local','HoEcD':_0x21337a(0xb4),'vvQUZ':_0x21337a(0xd0)},_0x5b820d=_0x247c26[_0x21337a(0xe8)]||(helper['nestedKeyValue'](_0x287563,[_0x3afb87['nVLOT'],_0x3afb87[_0x21337a(0xb3)]])||helper[_0x21337a(0xef)](_0x287563,[_0x3afb87[_0x21337a(0x9f)],_0x3afb87[_0x21337a(0xad)],_0x3afb87[_0x21337a(0xa3)]]));if(!globals['getGlobal'](_0x3afb87['vwjQC'])&&!globals[_0x21337a(0xe9)](_0x3afb87[_0x21337a(0xe6)])&&_0x5b820d)return;_0x247c26['patchExecute']=!![],_0x247c26['initExecute']=_0x247c26['execute'],_0x247c26['execute']=async _0x645a2d=>{const _0x7ce99c=_0x21337a,_0x42c06c={'AUvQL':_0x3afb87[_0x7ce99c(0x93)],'XDNcj':_0x3afb87[_0x7ce99c(0xdd)],'IzJlY':function(_0x37d81b){return _0x3afb87['Cxuzr'](_0x37d81b);}};try{const _0x33a573={};_0x33a573[_0x7ce99c(0x9b)]=_0x645a2d[_0x7ce99c(0x8d)],await PerformanceTester[_0x7ce99c(0xee)](PerformanceDriverEvents[_0x7ce99c(0xb8)],async()=>{const _0x57a571=_0x7ce99c;if(!commandRepository[_0x57a571(0x92)]()&&globals['getGlobal'](_0x42c06c['AUvQL'])){const _0x22bac4=PerformanceTester['measureWrapper'](_0x42c06c['XDNcj'],async()=>{const _0x3d8337=_0x57a571;try{commandRepository[_0x3d8337(0xc7)](!![]),await aiSdkWrapper[_0x3d8337(0xb1)]((await _0x247c26[_0x3d8337(0x8e)]())[_0x3d8337(0xa9)]());const _0x38389e=globals[_0x3d8337(0xe9)](_0x42c06c[_0x3d8337(0xa1)]);_0x38389e&&commandRepository[_0x3d8337(0xca)]((await _0x247c26[_0x3d8337(0x8e)]())[_0x3d8337(0xa9)]());}catch(_0x1dfe11){logger[_0x3d8337(0xba)]('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x1dfe11);}});await _0x42c06c[_0x57a571(0x99)](_0x22bac4);}},_0x33a573)();const _0xaca7e3=await _0x247c26['initExecute'](_0x645a2d);return await PerformanceTester[_0x7ce99c(0xee)](PerformanceDriverEvents[_0x7ce99c(0x9c)],async()=>{const _0x2eee32=_0x7ce99c;if(!helper[_0x2eee32(0xeb)]()&&(commandRepository[_0x2eee32(0xea)]()||globals[_0x2eee32(0xe9)](_0x3afb87['SpUWV']))&&_0x3afb87[_0x2eee32(0xb7)](_0x645a2d[_0x2eee32(0x8d)],_0x3afb87[_0x2eee32(0xdb)])&&!_0x645a2d['skipHealingSuccess']&&globals[_0x2eee32(0xe9)](_0x3afb87['vwjQC'])&&globals[_0x2eee32(0xe9)](_0x3afb87[_0x2eee32(0xe6)])){const _0x58499e=new Date(),_0x486bbf=PerformanceTester[_0x2eee32(0xee)](_0x3afb87[_0x2eee32(0xdf)],async()=>{const _0x44031d=_0x2eee32;return await aiSdkWrapper[_0x44031d(0xc6)](_0x287563,_0x247c26,_0x645a2d);});await _0x3afb87['tmDYr'](_0x486bbf);}},{'command':_0x645a2d[_0x7ce99c(0x8d)]})(),_0xaca7e3;}catch(_0x234563){await PerformanceTester[_0x7ce99c(0xee)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x83d737=_0x7ce99c;logger['debug'](_0x3afb87[_0x83d737(0x9e)]);try{if(!helper[_0x83d737(0xeb)]()&&(_0x3afb87[_0x83d737(0xb7)](_0x234563[_0x83d737(0xc3)],_0x3afb87[_0x83d737(0x95)])||_0x3afb87[_0x83d737(0xb7)](_0x234563[_0x83d737(0xc3)],_0x3afb87['TvmkM']))&&_0x3afb87['mXmUI'](_0x645a2d['name_'],_0x3afb87[_0x83d737(0xdb)])&&commandRepository[_0x83d737(0xea)]()&&globals[_0x83d737(0xe9)](_0x3afb87[_0x83d737(0x93)])&&globals[_0x83d737(0xe9)](_0x3afb87[_0x83d737(0xe6)])){_0x3afb87[_0x83d737(0xb7)](_0x645a2d[_0x83d737(0xc5)][_0x83d737(0xac)],_0x3afb87['gazEt'])?logger[_0x83d737(0xb2)](_0x3afb87[_0x83d737(0xf1)](_0x3afb87[_0x83d737(0xf0)](_0x3afb87['qABdU'],_0x645a2d['parameters_'][_0x83d737(0xa7)]),_0x3afb87[_0x83d737(0xe3)])):logger['info'](_0x3afb87['YsWel'](_0x3afb87[_0x83d737(0xf0)](_0x3afb87['RBcEK'](_0x3afb87['eFyYh'](_0x3afb87[_0x83d737(0xa8)],_0x645a2d[_0x83d737(0xc5)][_0x83d737(0xac)]),':\x20'),_0x645a2d['parameters_'][_0x83d737(0xa7)]),_0x3afb87[_0x83d737(0xe3)]));const _0x491d92=PerformanceTester[_0x83d737(0xee)](_0x3afb87[_0x83d737(0xa4)],async()=>{return await aiSdkWrapper['handleFailure'](_0x287563,_0x247c26,_0x645a2d);}),_0x46d3d0=new Date(),{locatorType:_0x46c707,locatorValue:_0x3af8ea,commandHealed:_0x22e189}=await _0x3afb87[_0x83d737(0xa2)](_0x491d92);if(_0x3afb87['AwzjV'](_0x46c707,_0x3af8ea)){_0x645a2d[_0x83d737(0xc5)][_0x83d737(0xac)]=_0x46c707,_0x645a2d[_0x83d737(0xc5)][_0x83d737(0xa7)]=_0x3af8ea,_0x645a2d['skipHealingSuccess']=!![];const _0x141319=_0x247c26[_0x83d737(0xdc)](_0x645a2d);return _0x3afb87['iojwz'](_0x46c707,_0x3afb87['gazEt'])?logger[_0x83d737(0xb2)](_0x3afb87['LRBsp'](_0x3afb87[_0x83d737(0xbf)],_0x3af8ea)):logger[_0x83d737(0xb2)](_0x3afb87[_0x83d737(0x94)](_0x3afb87[_0x83d737(0xb0)](_0x3afb87['RTAXi'](_0x3afb87[_0x83d737(0xe0)],_0x46c707),':\x20'),_0x3af8ea)),_0x141319;}else!_0x22e189&&(_0x3afb87[_0x83d737(0xaa)](_0x46c707,_0x3afb87['gazEt'])?logger['info'](_0x3afb87[_0x83d737(0xcf)](_0x3afb87['ByrFo'],_0x645a2d['parameters_']['value'])):logger[_0x83d737(0xb2)](_0x3afb87['aKuCj'](_0x3afb87[_0x83d737(0xf1)](_0x3afb87[_0x83d737(0xbd)](_0x3afb87[_0x83d737(0xa0)],_0x645a2d[_0x83d737(0xc5)][_0x83d737(0xac)]),':\x20'),_0x645a2d['parameters_'][_0x83d737(0xa7)])));}!_0x5b820d&&_0x3afb87[_0x83d737(0xae)](_0x645a2d[_0x83d737(0x8d)],_0x3afb87[_0x83d737(0xc4)])&&helper[_0x83d737(0xef)](_0x645a2d,[_0x3afb87[_0x83d737(0xbc)],_0x3afb87[_0x83d737(0xa6)]])&&!!constants[_0x83d737(0xd7)][_0x83d737(0xd1)](_0x46111c=>{const _0x2df465=_0x83d737;return _0x234563[_0x2df465(0xe1)]()['includes'](_0x46111c);})&&helper['getNudgeLocalNotSetError'](_0x645a2d[_0x83d737(0xc5)][_0x83d737(0xc8)],!![]);}catch(_0x5d1e07){logger[_0x83d737(0xb5)](_0x3afb87[_0x83d737(0xe2)],_0x5d1e07);}},{'success':![],'failure':_0x234563})();throw _0x234563;}};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a71_0xa264b2=a71_0x1a17;function a71_0x1a17(_0x59d367,_0xa12fb7){const _0x422dd5=a71_0x422d();return a71_0x1a17=function(_0x1a17db,_0x7f4aaa){_0x1a17db=_0x1a17db-0x1ce;let _0x340199=_0x422dd5[_0x1a17db];return _0x340199;},a71_0x1a17(_0x59d367,_0xa12fb7);}function a71_0x422d(){const _0xdc7873=['hbKYo','4cHKnmh','2266WEYfmn','initQuit','tmJJw','14470ofSaGb','7pTirnK','./performance/performance-tester','./performance/constants','end','BS_TESTOPS_ALLOW_SCREENSHOTS','fAhGW','then','env','538767YvytaV','iOapv','toISOString','hUfDF','overrideTakeScreenshot','2116095LotOhK','quitCount_','56vfBzfS','JTqyN','TAKE_SCREENSHOT','patchScreenshot','initScreenshot','1115425hmLBhH','1149842aGQdAc','O11y_EVENTS','overrideQuit','quit','3561618QomPUa','TEST_SCREENSHOT','patchQuit','bs:addLog:','takeScreenshot','227935TDginh'];a71_0x422d=function(){return _0xdc7873;};return a71_0x422d();}(function(_0x13ddb7,_0x31c2b4){const _0x526de3=a71_0x1a17,_0x209f00=_0x13ddb7();while(!![]){try{const _0x570c93=-parseInt(_0x526de3(0x1d0))/0x1+parseInt(_0x526de3(0x1ec))/0x2+-parseInt(_0x526de3(0x1e4))/0x3*(-parseInt(_0x526de3(0x1d2))/0x4)+-parseInt(_0x526de3(0x1eb))/0x5+-parseInt(_0x526de3(0x1f0))/0x6*(parseInt(_0x526de3(0x1d7))/0x7)+parseInt(_0x526de3(0x1e6))/0x8*(parseInt(_0x526de3(0x1df))/0x9)+-parseInt(_0x526de3(0x1d6))/0xa*(parseInt(_0x526de3(0x1d3))/0xb);if(_0x570c93===_0x31c2b4)break;else _0x209f00['push'](_0x209f00['shift']());}catch(_0x379336){_0x209f00['push'](_0x209f00['shift']());}}}(a71_0x422d,0x5710e));const PerformanceTester=require(a71_0xa264b2(0x1d8)),O11yEvents=require(a71_0xa264b2(0x1d9))[a71_0xa264b2(0x1ed)];exports[a71_0xa264b2(0x1e3)]=_0x2dec31=>{const _0x4083ab=a71_0xa264b2,_0x316d59={'bHMzO':_0x4083ab(0x1f1),'tmJJw':function(_0x179343,_0x48f4c2){return _0x179343(_0x48f4c2);},'iOapv':function(_0x24a524,_0x22c7c0){return _0x24a524!==_0x22c7c0;},'OCSSM':'true'};if(_0x316d59[_0x4083ab(0x1e0)](process[_0x4083ab(0x1de)][_0x4083ab(0x1db)],_0x316d59['OCSSM']))return;if(_0x2dec31[_0x4083ab(0x1e9)])return;_0x2dec31[_0x4083ab(0x1e9)]=!![],_0x2dec31['initScreenshot']=_0x2dec31[_0x4083ab(0x1cf)],_0x2dec31[_0x4083ab(0x1cf)]=()=>{return new Promise(function(_0x54f261,_0x2697e8){const _0x334e93=a71_0x1a17,_0x575826={'JTqyN':_0x316d59['bHMzO'],'fAhGW':function(_0x5a38c8,_0x3765fe){const _0x5aa5be=a71_0x1a17;return _0x316d59[_0x5aa5be(0x1d5)](_0x5a38c8,_0x3765fe);}};_0x2dec31[_0x334e93(0x1ea)]()[_0x334e93(0x1dd)](_0x33fd89=>{const _0x3e1eaf=_0x334e93;PerformanceTester['start'](O11yEvents['TAKE_SCREENSHOT']),process['emit'](_0x3e1eaf(0x1ce)+process['pid'],{'timestamp':new Date()[_0x3e1eaf(0x1e1)](),'message':_0x33fd89,'kind':_0x575826[_0x3e1eaf(0x1e7)]}),_0x575826[_0x3e1eaf(0x1dc)](_0x54f261,_0x33fd89),PerformanceTester[_0x3e1eaf(0x1da)](O11yEvents[_0x3e1eaf(0x1e8)]);});});};},exports[a71_0xa264b2(0x1ee)]=(_0xa3ced4,_0xb8750e=null)=>{const _0x582d42=a71_0xa264b2,_0x495090={'hUfDF':function(_0x48f105){return _0x48f105();},'hbKYo':function(_0x576852,_0x5d41f2){return _0x576852>_0x5d41f2;}};if(_0xa3ced4['patchQuit'])return;_0xa3ced4[_0x582d42(0x1f2)]=!![],_0xa3ced4[_0x582d42(0x1d4)]=_0xa3ced4[_0x582d42(0x1ef)],_0xa3ced4['quit']=()=>{const _0x238b8d=_0x582d42;if(_0xb8750e){_0xb8750e[_0x238b8d(0x1e5)]+=0x1;if(_0x495090[_0x238b8d(0x1d1)](_0xb8750e['quitCount_'],0x1))return _0xa3ced4[_0x238b8d(0x1d4)]();}else{_0xa3ced4['quitCount_']+=0x1;if(_0x495090[_0x238b8d(0x1d1)](_0xa3ced4['quitCount_'],0x1))return _0xa3ced4[_0x238b8d(0x1d4)]();}return new Promise(function(_0x1bc94a){const _0x1d47b9=_0x238b8d;_0x495090[_0x1d47b9(0x1e2)](_0x1bc94a);});};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a72_0x10e5(_0x4a5aa2,_0x129b3a){const _0x56bbae=a72_0x56bb();return a72_0x10e5=function(_0x10e52f,_0x13164b){_0x10e52f=_0x10e52f-0x1e5;let _0x5a223e=_0x56bbae[_0x10e52f];return _0x5a223e;},a72_0x10e5(_0x4a5aa2,_0x129b3a);}const a72_0x5488ca=a72_0x10e5;(function(_0x799a6,_0x4f2e65){const _0x186950=a72_0x10e5,_0x52ec48=_0x799a6();while(!![]){try{const _0x56ff33=-parseInt(_0x186950(0x1fe))/0x1*(-parseInt(_0x186950(0x20f))/0x2)+parseInt(_0x186950(0x1ea))/0x3+-parseInt(_0x186950(0x226))/0x4+parseInt(_0x186950(0x1ff))/0x5+-parseInt(_0x186950(0x209))/0x6+-parseInt(_0x186950(0x1ed))/0x7+parseInt(_0x186950(0x1eb))/0x8;if(_0x56ff33===_0x4f2e65)break;else _0x52ec48['push'](_0x52ec48['shift']());}catch(_0x1c251a){_0x52ec48['push'](_0x52ec48['shift']());}}}(a72_0x56bb,0x9e678));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require('child_process'),helper=require(a72_0x5488ca(0x22a)),logger=require(a72_0x5488ca(0x21d))['winstonLogger'],{getLogDir}=require('../logger'),testHubConstants=require(a72_0x5488ca(0x216)),PerformanceTester=require(a72_0x5488ca(0x1f5)),{PERCY_EVENTS:PerformanceEvents}=require(a72_0x5488ca(0x206)),PercyBinary=require(a72_0x5488ca(0x1f6));function a72_0x56bb(){const _0x4b903b=['percy/healthcheck','GET','automate','stderr','1500042VlIUvU','8694728lRVNQQ','error','5463374nzVmdA','Cghoc','Percy\x20config\x20created\x20at\x20','EXdnE','join','end','pipe','RdyMW','../../helpers/performance/performance-tester','./PercyBinary','DkxRm','nodeRequest','debug','QYOVm','&type=','csQod','createWriteStream','313381plOJBi','3544350zCfLVp','healthcheck','token','version','Tcysr','app:exec','exports','../../helpers/performance/constants','AFJNd','pVNnd','1628232bUiHuS','projectName','close','tmpdir','RCHke','qxQOs','4Domhfk','isProcessRunning','DOWNLOAD','percy.log','UkrcF','ordKv','sQUBk','../../helpers/testhub/constants','writeFile',':start','stdout','exec','ENV_VAR','percyOptions','../logger','Percy\x20fetch\x20token\x20success','env','iFDiq','flags','stringify','XrUWv','createPercyConfig','getBinaryPath','4887236WellsV','fetchPercyToken','percy.json','RRHqF','../helper','assign'];a72_0x56bb=function(){return _0x4b903b;};return a72_0x56bb();}class Percy{#logfile=path['join'](getLogDir(),a72_0x5488ca(0x212));#address=process['env']['PERCY_SERVER_ADDRESS']||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#isApp=![];[a72_0x5488ca(0x210)]=![];constructor(_0x14146d){this.#config=_0x14146d,!!_0x14146d['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x29a56e=a72_0x5488ca;if(!this.#binaryPath){const _0x5ae5bb=new PercyBinary();PerformanceTester['start'](PerformanceEvents[_0x29a56e(0x211)]),this.#binaryPath=await _0x5ae5bb[_0x29a56e(0x225)](this.#config),PerformanceTester[_0x29a56e(0x1f2)](PerformanceEvents[_0x29a56e(0x211)]);}return this.#binaryPath;}async #sleep(_0x5f234a){return new Promise(_0x19b518=>setTimeout(_0x19b518,_0x5f234a));}async[a72_0x5488ca(0x200)](){const _0x3294e6=a72_0x5488ca,_0x39e86b={};_0x39e86b['Cghoc']='GET',_0x39e86b[_0x3294e6(0x207)]=_0x3294e6(0x1e6);const _0x549f83=_0x39e86b;try{const _0x430ae1=await helper['nodeRequest'](_0x549f83[_0x3294e6(0x1ee)],_0x549f83[_0x3294e6(0x207)],null,null,this.#address);if(_0x430ae1)return!![];}catch(_0x35b8d6){return![];}}async['start'](){const _0x3c5db4=a72_0x5488ca,_0x2e69e4={'XrUWv':_0x3c5db4(0x204),'cRKIQ':_0x3c5db4(0x21a),'RCHke':function(_0x5be0d3,_0xdc3bda,_0x413a8,_0x16cbfb){return _0x5be0d3(_0xdc3bda,_0x413a8,_0x16cbfb);},'EXdnE':_0x3c5db4(0x20b),'sQUBk':'Percy\x20healthcheck\x20successful'},_0x12af6a=await this.#getBinaryPath(),_0x543b31={};_0x543b31[_0x3c5db4(0x221)]='a';const _0x1d6f53=fs[_0x3c5db4(0x1fd)](this.#logfile,_0x543b31),_0xd9d108=await this[_0x3c5db4(0x227)](),_0x2226db=await this['createPercyConfig']();if(!_0xd9d108)return![];const _0x9b7eed=[(this.#isApp?_0x2e69e4[_0x3c5db4(0x223)]:_0x2e69e4['cRKIQ'])+_0x3c5db4(0x218)];_0x2226db&&_0x9b7eed['push']('-c',_0x2226db);this.#proc=_0x2e69e4[_0x3c5db4(0x20d)](spawn,_0x12af6a,_0x9b7eed,{'env':Object[_0x3c5db4(0x1e5)](process['env'],{'PERCY_TOKEN':_0xd9d108,'TH_BUILD_UUID':process[_0x3c5db4(0x21f)][testHubConstants[_0x3c5db4(0x21b)]['BROWSERSTACK_TESTHUB_UUID']]})}),this.#proc[_0x3c5db4(0x219)][_0x3c5db4(0x1f3)](_0x1d6f53),this.#proc[_0x3c5db4(0x1e9)][_0x3c5db4(0x1f3)](_0x1d6f53),this[_0x3c5db4(0x210)]=!![];var _0x2bb153=this;this.#proc['on'](_0x2e69e4[_0x3c5db4(0x1f0)],function(_0x5f79db){const _0xb0c207=_0x3c5db4;_0x2bb153[_0xb0c207(0x210)]=![];});do{const _0xfd7d11=await this[_0x3c5db4(0x200)]();if(_0xfd7d11)return logger[_0x3c5db4(0x1f9)](_0x2e69e4[_0x3c5db4(0x215)]),!![];await this.#sleep(0x3e8);}while(this[_0x3c5db4(0x210)]);return![];}async['stop'](){const _0x11b1b7=a72_0x5488ca,_0x1587bb={'iFDiq':function(_0x443132,_0x418cb7){return _0x443132(_0x418cb7);},'ordKv':function(_0xd6e270,_0x129db9,_0x4dac70){return _0xd6e270(_0x129db9,_0x4dac70);},'csQod':'exec:stop','Syzkx':_0x11b1b7(0x20b)},_0x1f3fb7=await this.#getBinaryPath();return new Promise((_0x53f227,_0x2cb961)=>{const _0x455be6=_0x11b1b7,_0x201a08={'ogdtv':function(_0x3b2e53,_0x1f7f4c){const _0x24e61f=a72_0x10e5;return _0x1587bb[_0x24e61f(0x220)](_0x3b2e53,_0x1f7f4c);}},_0x48fc5d=_0x1587bb[_0x455be6(0x214)](spawn,_0x1f3fb7,[_0x1587bb[_0x455be6(0x1fc)]]);_0x48fc5d['on'](_0x1587bb['Syzkx'],_0x18afe9=>{const _0x476af6=_0x455be6;this[_0x476af6(0x210)]=![],_0x201a08['ogdtv'](_0x53f227,_0x18afe9);});});}['isRunning'](){const _0x5e4284=a72_0x5488ca;return this[_0x5e4284(0x210)];}async[a72_0x5488ca(0x227)](){const _0x1c93b9=a72_0x5488ca,_0xae558={};_0xae558[_0x1c93b9(0x20e)]='app',_0xae558[_0x1c93b9(0x1fa)]=_0x1c93b9(0x1e8),_0xae558[_0x1c93b9(0x213)]=_0x1c93b9(0x1e7),_0xae558[_0x1c93b9(0x229)]=_0x1c93b9(0x21e);const _0x374da5=_0xae558,_0x441ddc=this.#config[_0x1c93b9(0x20a)];try{const _0xe3aef0=this.#isApp?_0x374da5['qxQOs']:_0x374da5[_0x1c93b9(0x1fa)],_0x35dc41=await helper[_0x1c93b9(0x1f8)](_0x374da5['UkrcF'],'api/app_percy/get_project_token?name='+_0x441ddc+_0x1c93b9(0x1fb)+_0xe3aef0,{},this.#config),_0x453a4c=_0x35dc41['data'];return logger[_0x1c93b9(0x1f9)](_0x374da5[_0x1c93b9(0x229)]),_0x453a4c[_0x1c93b9(0x201)];}catch(_0x1ea528){return logger[_0x1c93b9(0x1ec)]('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x1ea528),null;}}async[a72_0x5488ca(0x224)](){const _0x15c34e=a72_0x5488ca,_0xcdd93a={'RdyMW':function(_0x3fa0f8,_0x11577b){return _0x3fa0f8(_0x11577b);},'eKuyZ':function(_0x45ca08,_0x54d8d2){return _0x45ca08+_0x54d8d2;},'Tcysr':_0x15c34e(0x1ef),'DkxRm':function(_0x2d0945,_0x3ba244){return _0x2d0945(_0x3ba244);},'pVNnd':_0x15c34e(0x228)};if(!this.#config[_0x15c34e(0x21c)])return null;const _0x15cc75=path[_0x15c34e(0x1f1)](os[_0x15c34e(0x20c)](),_0xcdd93a[_0x15c34e(0x208)]),_0x31ca05=this.#config[_0x15c34e(0x21c)];return!_0x31ca05[_0x15c34e(0x202)]&&(_0x31ca05[_0x15c34e(0x202)]='2'),new Promise((_0xca37e,_0x3ad12b)=>{const _0x75fae1=_0x15c34e;fs[_0x75fae1(0x217)](_0x15cc75,JSON[_0x75fae1(0x222)](_0x31ca05),_0x402d08=>{const _0x26859d=_0x75fae1;_0x402d08&&(logger[_0x26859d(0x1ec)]('Error\x20creating\x20percy\x20config:\x20'+_0x402d08),_0xcdd93a[_0x26859d(0x1f4)](_0xca37e,null)),logger[_0x26859d(0x1f9)](_0xcdd93a['eKuyZ'](_0xcdd93a[_0x26859d(0x203)],_0x15cc75)),_0xcdd93a[_0x26859d(0x1f7)](_0xca37e,_0x15cc75);});});}}module[a72_0x5488ca(0x205)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a73_0x297b38=a73_0x15c2;(function(_0x25dccb,_0x55c5a7){const _0x25b0f4=a73_0x15c2,_0x3ca362=_0x25dccb();while(!![]){try{const _0x2fc924=parseInt(_0x25b0f4(0x13c))/0x1+parseInt(_0x25b0f4(0xda))/0x2*(parseInt(_0x25b0f4(0xe7))/0x3)+parseInt(_0x25b0f4(0xec))/0x4*(parseInt(_0x25b0f4(0x15c))/0x5)+parseInt(_0x25b0f4(0xce))/0x6+parseInt(_0x25b0f4(0x107))/0x7*(-parseInt(_0x25b0f4(0x117))/0x8)+parseInt(_0x25b0f4(0x132))/0x9*(-parseInt(_0x25b0f4(0x11d))/0xa)+-parseInt(_0x25b0f4(0x159))/0xb;if(_0x2fc924===_0x55c5a7)break;else _0x3ca362['push'](_0x3ca362['shift']());}catch(_0x196c31){_0x3ca362['push'](_0x3ca362['shift']());}}}(a73_0x377f,0x6afed));const {https}=require(a73_0x297b38(0x102)),url=require(a73_0x297b38(0x11f)),yauzl=require(a73_0x297b38(0x12b)),fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a73_0x297b38(0x11e)),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a73_0x297b38(0x13b))[a73_0x297b38(0xe5)];function a73_0x377f(){const _0x213b35=['lrRsX','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','QUlDT','lazyEntries','mkdirSync','CEgWl','winstonLogger','HRBew','600753ADUEhx','iVMUu','lrWCD','undefined','.browserstack','5552XVBEnk','catch','once','NchKD','crROv','validateBinary','X_OK','zGXRx','statusCode','ruhhL','win32','warn','needsUpdate','readFileSync','UpTwf','percy.exe','Failed\x20to\x20save\x20ETag\x20file:\x20','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','utf8','openReadStream','W_OK','homedir','follow-redirects','jTkge','hfKaH','iktTR','RPMOl','2142133xoyWmJ','tmpdir','nomFx','CYpog','darwin','test','error','end','match','LOGNAME','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','SrKnP','uVVCF','writeFileSync','vJRjI','linux','8Dencem','agent','USER','HOMEDRIVE','percy','/percy-win.zip','662220djRqof','child_process','url','headers','OctYQ','YnWXm','salLx','close','parse','XPMdp','0755','UIqJs','.etag','XhjIu','yauzl','LkArM','EjyEq','clkVe','OEvdN','tOwsm','PnwMA','117rByMrS','Saved\x20new\x20ETag\x20for\x20percy\x20binary','ewYyk','host','BfNVC','binaryPath','extractAndSaveBinary','stdout','/percy-linux.zip','../logger','456584ZrDhhj','USERNAME','readEntry','ztuZV','zzQah','function','Ouvwd','R_OK','fPsEF','trim','pipe','platform','zjdSQ','aJYau','Vzcro','TOowe','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','mcwgZ','oPuoZ','wFzMf','createWriteStream','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','MpUoK','fileName','TguPo','getBinaryPath','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','env','LNAME','4285699vkGsHH','If-None-Match','DsWZl','155mSIDtK','kiFqM','fFJQh','debug','entry','proxyHost','length','bZlVd','data','4164906ZRQRIA','open','useCaCertificate','Aabri','USERPROFILE','.zip','fKDSj','get','Failed\x20to\x20read\x20ETag\x20file:\x20','accessSync','download','mgqIp','8dwAyoS','laQsF','xfXvq','join','HOMEPATH'];a73_0x377f=function(){return _0x213b35;};return a73_0x377f();}function a73_0x15c2(_0x414a18,_0x3d1e1a){const _0x377f5c=a73_0x377f();return a73_0x15c2=function(_0x15c26c,_0x24b0eb){_0x15c26c=_0x15c26c-0xc7;let _0x55e83d=_0x377f5c[_0x15c26c];return _0x55e83d;},a73_0x15c2(_0x414a18,_0x3d1e1a);}class PercyBinary{#hostOS=process[a73_0x297b38(0x147)];#httpPath=null;#binaryName=a73_0x297b38(0x11b);#orderedPaths=[path[a73_0x297b38(0xdd)](this.#homedir(),a73_0x297b38(0xeb)),process['cwd'](),os[a73_0x297b38(0x108)]()];constructor(){const _0x4fea78=a73_0x297b38,_0x236e4d={};_0x236e4d['TguPo']='https://github.com/percy/cli/releases/latest/download',_0x236e4d[_0x4fea78(0x14e)]=function(_0x30715f,_0xb4ea2c){return _0x30715f+_0xb4ea2c;},_0x236e4d[_0x4fea78(0x130)]='/percy-osx.zip',_0x236e4d[_0x4fea78(0xe6)]=_0x4fea78(0x11c),_0x236e4d[_0x4fea78(0xcc)]=_0x4fea78(0xfb),_0x236e4d[_0x4fea78(0x149)]=function(_0x248f17,_0x5c3407){return _0x248f17+_0x5c3407;},_0x236e4d['DsWZl']=_0x4fea78(0x13a);const _0x554444=_0x236e4d,_0x544c43=_0x554444[_0x4fea78(0x154)];if(this.#hostOS[_0x4fea78(0x10f)](/darwin|mac os/i))this.#httpPath=_0x554444['oPuoZ'](_0x544c43,_0x554444['tOwsm']);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x554444[_0x4fea78(0x14e)](_0x544c43,_0x554444[_0x4fea78(0xe6)]),this.#binaryName=_0x554444[_0x4fea78(0xcc)]):this.#httpPath=_0x554444[_0x4fea78(0x149)](_0x544c43,_0x554444[_0x4fea78(0x15b)]);}#getAvailableDirs(){const _0x2d6457=a73_0x297b38,_0x3ed534={};_0x3ed534[_0x2d6457(0x14a)]=function(_0xefb5a5,_0x5664d3){return _0xefb5a5<_0x5664d3;},_0x3ed534[_0x2d6457(0xdc)]='Error\x20trying\x20to\x20download\x20percy\x20binary';const _0x5b5e62=_0x3ed534;for(var _0x24b986=0x0;_0x5b5e62[_0x2d6457(0x14a)](_0x24b986,this.#orderedPaths[_0x2d6457(0xcb)]);_0x24b986++){var _0x502d93=this.#orderedPaths[_0x24b986];if(this.#makePath(_0x502d93))return _0x502d93;}throw new Error(_0x5b5e62['xfXvq']);}#makePath(_0x555718){const _0x291489=a73_0x297b38;try{return _0x555718&&!this.#checkPath(_0x555718)&&fs[_0x291489(0xe3)](_0x555718),!![];}catch{return![];}}#checkPath(_0xaa14fa,_0x5c4db4){const _0x3148c0=a73_0x297b38,_0x12504b={};_0x12504b['NchKD']=function(_0x3d50ae,_0x6de57b){return _0x3d50ae|_0x6de57b;},_0x12504b[_0x3148c0(0x15d)]=function(_0xe0737f,_0x488d9b){return _0xe0737f!==_0x488d9b;},_0x12504b[_0x3148c0(0x12a)]=_0x3148c0(0xea);const _0x1b5cd8=_0x12504b;_0x5c4db4=_0x5c4db4||_0x1b5cd8[_0x3148c0(0xef)](fs[_0x3148c0(0x143)],fs[_0x3148c0(0x100)]);try{return fs[_0x3148c0(0xd7)](_0xaa14fa,_0x5c4db4),!![];}catch(_0x15b73e){if(_0x1b5cd8[_0x3148c0(0x15d)](typeof fs['accessSync'],_0x1b5cd8[_0x3148c0(0x12a)]))return![];try{return fs['statSync'](_0xaa14fa),!![];}catch(_0x4a422c){return![];}}}#getETagPath(_0x6429bc){const _0x33208=a73_0x297b38;return path[_0x33208(0xdd)](_0x6429bc,this.#binaryName+_0x33208(0x129));}#loadETag(_0x415d57){const _0x31eba9=a73_0x297b38,_0x1562ba={};_0x1562ba[_0x31eba9(0x105)]=_0x31eba9(0xfe);const _0x815bb9=_0x1562ba,_0x348d5f=this.#getETagPath(_0x415d57);if(this.#checkPath(_0x348d5f))try{return fs['readFileSync'](_0x348d5f,_0x815bb9['iktTR'])[_0x31eba9(0x145)]();}catch(_0x495f46){logger[_0x31eba9(0xf7)](_0x31eba9(0xd6)+_0x495f46);}return null;}#saveETag(_0x594cea,_0x5226c7){const _0x28daef=a73_0x297b38,_0x3fecec={};_0x3fecec[_0x28daef(0x12f)]=_0x28daef(0x133);const _0x43ff08=_0x3fecec;if(!_0x5226c7)return;try{const _0x3f7546=this.#getETagPath(_0x594cea);fs[_0x28daef(0x114)](_0x3f7546,_0x5226c7),logger['debug'](_0x43ff08[_0x28daef(0x12f)]);}catch(_0x5d89e2){logger[_0x28daef(0xf7)](_0x28daef(0xfc)+_0x5d89e2);}}async #handleBinaryDownload(_0x2194db,_0x4b1f73,_0xe68b13){const _0x2d0202=a73_0x297b38,_0x511798={};_0x511798[_0x2d0202(0xf5)]=_0x2d0202(0x111);const _0x2c0a98=_0x511798,_0x17c2db=await this[_0x2d0202(0xf1)](_0x2194db[_0x2d0202(0x137)]);if(!_0x17c2db){logger[_0x2d0202(0x10d)](_0x2c0a98[_0x2d0202(0xf5)]);const _0x5b44c8=await this[_0x2d0202(0xd8)](_0x4b1f73,_0xe68b13);return _0x5b44c8[_0x2d0202(0x137)];}return _0x2194db['binaryPath'];}async[a73_0x297b38(0x155)](_0x585823){const _0x453c8e=a73_0x297b38,_0x5be104={};_0x5be104['UIqJs']='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x5be104[_0x453c8e(0x140)]=_0x453c8e(0xfd);const _0x5e66a8=_0x5be104,_0x1b1d4d=this.#getAvailableDirs(),_0x577671=path[_0x453c8e(0xdd)](_0x1b1d4d,this.#binaryName);if(this.#checkPath(_0x577671,fs[_0x453c8e(0xf2)])){const _0x1906f7=this.#loadETag(_0x1b1d4d);if(_0x1906f7)try{const _0xce226c=await this[_0x453c8e(0xd8)](_0x585823,_0x1b1d4d,_0x1906f7);if(!_0xce226c[_0x453c8e(0xf8)])return logger['debug'](_0x5e66a8[_0x453c8e(0x128)]),_0x577671;return logger[_0x453c8e(0xc8)](_0x5e66a8[_0x453c8e(0x140)]),await this.#handleBinaryDownload(_0xce226c,_0x585823,_0x1b1d4d);}catch(_0x2b4588){return logger[_0x453c8e(0xf7)](_0x453c8e(0x14c)+_0x2b4588),_0x577671;}}const _0x409a0f=await this[_0x453c8e(0xd8)](_0x585823,_0x1b1d4d);return await this.#handleBinaryDownload(_0x409a0f,_0x585823,_0x1b1d4d);}['download'](_0x1d8d67,_0x26806a,_0x1701d9=null){const _0x8c6cd2=a73_0x297b38,_0x3e97df={'laQsF':function(_0x14b668,_0x5eedf8){return _0x14b668(_0x5eedf8);},'YqrMa':function(_0xb92d5e,_0x2076aa){return _0xb92d5e===_0x2076aa;},'lrWCD':_0x8c6cd2(0x10d),'fPsEF':_0x8c6cd2(0x124),'UpTwf':function(_0x6e731d,_0xdee55d){return _0x6e731d+_0xdee55d;},'ILOZx':_0x8c6cd2(0xd3)};_0x26806a&&!this.#checkPath(_0x26806a)&&fs['mkdirSync'](_0x26806a);const _0x45033c=this.#binaryName,_0x36b46f=path[_0x8c6cd2(0xdd)](_0x26806a,_0x3e97df[_0x8c6cd2(0xfa)](_0x45033c,_0x3e97df['ILOZx'])),_0x338956=fs[_0x8c6cd2(0x150)](_0x36b46f),_0x9b673d=url[_0x8c6cd2(0x125)](this.#httpPath);if(_0x1d8d67[_0x8c6cd2(0xca)]&&_0x1d8d67['proxyPort']){const _0x117d8d={};_0x117d8d[_0x8c6cd2(0x135)]=_0x1d8d67['proxyHost'],_0x117d8d['port']=_0x1d8d67['proxyPort'],_0x9b673d[_0x8c6cd2(0x118)]=new HttpsProxyAgent(_0x117d8d);}if(_0x1d8d67['useCaCertificate'])try{_0x9b673d['ca']=fs[_0x8c6cd2(0xf9)](_0x1d8d67[_0x8c6cd2(0xd0)]);}catch(_0x3a3817){logger[_0x8c6cd2(0x10d)](_0x8c6cd2(0x151)+_0x3a3817);}if(_0x1701d9){const _0x12d99e={};_0x12d99e[_0x8c6cd2(0x15a)]=_0x1701d9,_0x9b673d[_0x8c6cd2(0x120)]=_0x12d99e;}return new Promise((_0x22c15c,_0x477601)=>{const _0x1885f2=_0x8c6cd2,_0x19e400={'MpUoK':function(_0x559b00,_0x21d45b){const _0x20b294=a73_0x15c2;return _0x3e97df[_0x20b294(0xdb)](_0x559b00,_0x21d45b);},'fKDSj':function(_0x1683dd,_0x18313d){return _0x3e97df['YqrMa'](_0x1683dd,_0x18313d);},'LkArM':_0x3e97df[_0x1885f2(0xe9)],'ZACOt':_0x3e97df[_0x1885f2(0x144)]};https[_0x1885f2(0xd5)](_0x9b673d,_0x106f67=>{const _0x1a9008=_0x1885f2,_0x255a98={'fFJQh':function(_0x5f025e,_0x9b18b6){return _0x19e400['MpUoK'](_0x5f025e,_0x9b18b6);}};if(_0x1701d9&&_0x19e400[_0x1a9008(0xd4)](_0x106f67[_0x1a9008(0xf4)],0x130)){const _0x375dbe={};_0x375dbe[_0x1a9008(0xf8)]=![],_0x19e400[_0x1a9008(0x152)](_0x22c15c,_0x375dbe);return;}const _0x41ff09=_0x106f67[_0x1a9008(0x120)]['etag'];_0x41ff09&&this.#saveETag(_0x26806a,_0x41ff09),_0x106f67[_0x1a9008(0x146)](_0x338956),_0x106f67['on'](_0x19e400['LkArM'],function(_0x48c77b){const _0x5b6c85=_0x1a9008;logger[_0x5b6c85(0x10d)]('Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20'+_0x48c77b),_0x255a98['fFJQh'](_0x477601,_0x48c77b);}),_0x338956['on'](_0x19e400[_0x1a9008(0x12c)],function(_0x54eb40){const _0x46ac6f=_0x1a9008;logger[_0x46ac6f(0x10d)](_0x46ac6f(0x156)+_0x54eb40),_0x255a98[_0x46ac6f(0xc7)](_0x477601,_0x54eb40);}),_0x338956['on'](_0x19e400['ZACOt'],()=>{const _0x5f5ba7=_0x1a9008;this[_0x5f5ba7(0x138)](_0x36b46f,_0x26806a)['then'](_0x363729=>_0x22c15c({'needsUpdate':!![],'binaryPath':_0x363729}))[_0x5f5ba7(0xed)](_0x477601);});})['on'](_0x3e97df['lrWCD'],function(_0x5bc4d8){const _0xd78d52=_0x1885f2;logger['error'](_0xd78d52(0xe0)+_0x5bc4d8),_0x19e400[_0xd78d52(0x152)](_0x477601,_0x5bc4d8);});});}[a73_0x297b38(0x138)](_0x13119e,_0x2073d1){const _0x5ce7cd=a73_0x297b38,_0x3029df={'WhVqr':function(_0x1a370d,_0x378555){return _0x1a370d(_0x378555);},'CEgWl':_0x5ce7cd(0x10e),'zGXRx':function(_0x3b144a,_0x3e4277){return _0x3b144a===_0x3e4277;},'mgqIp':function(_0xd31a31,_0x3997f8){return _0xd31a31(_0x3997f8);},'VYSXG':_0x5ce7cd(0xc9),'QUlDT':_0x5ce7cd(0x10d),'vJRjI':_0x5ce7cd(0x127)},_0x5f3587=this.#binaryName,_0x2a24af=path['join'](_0x2073d1,_0x5f3587);return new Promise((_0x70da2e,_0x196873)=>{const _0x124297=_0x5ce7cd,_0xc2a50a={'uVVCF':function(_0x2a2744,_0x585fb6){return _0x3029df['WhVqr'](_0x2a2744,_0x585fb6);},'RPMOl':_0x3029df[_0x124297(0x115)]},_0x2d483f={};_0x2d483f[_0x124297(0xe2)]=!![],yauzl[_0x124297(0xcf)](_0x13119e,_0x2d483f,function(_0x22354a,_0x19183d){const _0x59228a=_0x124297,_0xe440a={'TOowe':function(_0x43c450,_0x34c4a0){return _0x3029df['WhVqr'](_0x43c450,_0x34c4a0);},'SrKnP':_0x3029df[_0x59228a(0xe4)],'XPMdp':function(_0x430ca2,_0x390671){const _0x53c2d1=_0x59228a;return _0x3029df[_0x53c2d1(0xf3)](_0x430ca2,_0x390671);}};_0x22354a&&_0x3029df[_0x59228a(0xd9)](_0x196873,_0x22354a),_0x19183d[_0x59228a(0x13e)](),_0x19183d['on'](_0x3029df['VYSXG'],_0x454dc2=>{const _0xcf3a76=_0x59228a;if(/\/$/[_0xcf3a76(0x10c)](_0x454dc2[_0xcf3a76(0x153)]))_0x19183d['readEntry']();else{const _0x51e9d0=fs[_0xcf3a76(0x150)](path[_0xcf3a76(0xdd)](_0x2073d1,_0x454dc2[_0xcf3a76(0x153)]));_0x19183d[_0xcf3a76(0xff)](_0x454dc2,function(_0x21a565,_0x3e9d82){const _0x28f848=_0xcf3a76;_0x21a565&&_0xe440a[_0x28f848(0x14b)](_0x196873,_0x22354a),_0x3e9d82['on'](_0xe440a[_0x28f848(0x112)],function(){_0x51e9d0['close'](),_0x19183d['readEntry']();}),_0x3e9d82[_0x28f848(0x146)](_0x51e9d0);}),_0xe440a[_0xcf3a76(0x126)](_0x454dc2['fileName'],_0x5f3587)&&_0x19183d[_0xcf3a76(0x124)]();}}),_0x19183d['on'](_0x3029df[_0x59228a(0xe1)],_0x16fabc=>{const _0x901616=_0x59228a;_0xc2a50a[_0x901616(0x113)](_0x196873,_0x16fabc);}),_0x19183d[_0x59228a(0xee)](_0x3029df['CEgWl'],()=>{const _0x416009=_0x59228a;fs['chmod'](_0x2a24af,_0xc2a50a[_0x416009(0x106)],function(_0x1c4a9b){const _0x4dfce4=_0x416009;_0x1c4a9b&&_0xe440a[_0x4dfce4(0x14b)](_0x196873,_0x1c4a9b),_0xe440a[_0x4dfce4(0x14b)](_0x70da2e,_0x2a24af);}),_0x19183d['close']();});});});}async[a73_0x297b38(0xf1)](_0x2b2c85){const _0x1787a9=a73_0x297b38,_0x154be3={'lrRsX':function(_0x3c740d,_0x544225){return _0x3c740d(_0x544225);},'nomFx':function(_0x5e7d16,_0x236fda,_0x3f2409,_0x635730){return _0x5e7d16(_0x236fda,_0x3f2409,_0x635730);},'ewYyk':'--version','salLx':_0x1787a9(0xcd),'OctYQ':_0x1787a9(0x124)},_0x3da7c=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x1bc211,_0x5df283)=>{const _0x10df78=_0x1787a9,_0x56e589={'dCitD':function(_0x52a8b5,_0x41b7ee){const _0x2fd9df=a73_0x15c2;return _0x154be3[_0x2fd9df(0xdf)](_0x52a8b5,_0x41b7ee);},'CYpog':function(_0x4e89a0,_0x4f02d6){const _0x1d11d7=a73_0x15c2;return _0x154be3[_0x1d11d7(0xdf)](_0x4e89a0,_0x4f02d6);}},_0x462b9e={};_0x462b9e['env']=process['env'];const _0x525cae=_0x154be3[_0x10df78(0x109)](spawn,_0x2b2c85,[_0x154be3[_0x10df78(0x134)]],_0x462b9e);_0x525cae[_0x10df78(0x139)]['on'](_0x154be3[_0x10df78(0x123)],_0x1ffb05=>{const _0x1a1de8=_0x10df78;_0x3da7c[_0x1a1de8(0x10c)](_0x1ffb05)&&_0x56e589['dCitD'](_0x1bc211,!![]);}),_0x525cae['on'](_0x154be3[_0x10df78(0x121)],()=>{const _0x630db6=_0x10df78;_0x56e589[_0x630db6(0x10a)](_0x1bc211,![]);});});}#homedir(){const _0x5ab629=a73_0x297b38,_0x53240c={};_0x53240c[_0x5ab629(0x12d)]=function(_0x490260,_0x49ce58){return _0x490260===_0x49ce58;},_0x53240c[_0x5ab629(0x122)]=_0x5ab629(0x141),_0x53240c[_0x5ab629(0x103)]=function(_0x457551,_0x24a5c2){return _0x457551===_0x24a5c2;},_0x53240c[_0x5ab629(0xe8)]=_0x5ab629(0xf6),_0x53240c[_0x5ab629(0x136)]=function(_0x31a454,_0x1d8ad2){return _0x31a454+_0x1d8ad2;},_0x53240c[_0x5ab629(0xd1)]=function(_0x43ed46,_0x54c22b){return _0x43ed46===_0x54c22b;},_0x53240c['WkDMF']=_0x5ab629(0x10b),_0x53240c[_0x5ab629(0x131)]=function(_0x5d4f2f,_0x4be5ec){return _0x5d4f2f+_0x4be5ec;},_0x53240c[_0x5ab629(0x104)]='/Users/',_0x53240c[_0x5ab629(0x148)]=function(_0x3fba56,_0x5e417b){return _0x3fba56===_0x5e417b;},_0x53240c['ztuZV']=_0x5ab629(0x116),_0x53240c[_0x5ab629(0x142)]=function(_0x279f2e,_0x179d0b){return _0x279f2e===_0x179d0b;},_0x53240c[_0x5ab629(0x12e)]='/root',_0x53240c[_0x5ab629(0xf0)]=function(_0x1d0247,_0x36912b){return _0x1d0247+_0x36912b;},_0x53240c[_0x5ab629(0x14f)]='/home/',_0x53240c['mcwgZ']=function(_0x4bc1f0,_0x277f94){return _0x4bc1f0||_0x277f94;};const _0x15304e=_0x53240c;if(_0x15304e[_0x5ab629(0x12d)](typeof os[_0x5ab629(0x101)],_0x15304e[_0x5ab629(0x122)]))return os[_0x5ab629(0x101)]();const _0x3cf0ac=process[_0x5ab629(0x157)],_0x283ee2=_0x3cf0ac['HOME'],_0xb3710c=_0x3cf0ac[_0x5ab629(0x110)]||_0x3cf0ac[_0x5ab629(0x119)]||_0x3cf0ac[_0x5ab629(0x158)]||_0x3cf0ac[_0x5ab629(0x13d)];if(_0x15304e[_0x5ab629(0x103)](process['platform'],_0x15304e['iVMUu']))return _0x3cf0ac[_0x5ab629(0xd2)]||_0x15304e[_0x5ab629(0x136)](_0x3cf0ac[_0x5ab629(0x11a)],_0x3cf0ac[_0x5ab629(0xde)])||_0x283ee2||null;if(_0x15304e['Aabri'](process[_0x5ab629(0x147)],_0x15304e['WkDMF']))return _0x283ee2||(_0xb3710c?_0x15304e['PnwMA'](_0x15304e[_0x5ab629(0x104)],_0xb3710c):null);if(_0x15304e[_0x5ab629(0x148)](process[_0x5ab629(0x147)],_0x15304e[_0x5ab629(0x13f)]))return _0x283ee2||(_0x15304e['Ouvwd'](process['getuid'](),0x0)?_0x15304e['clkVe']:_0xb3710c?_0x15304e[_0x5ab629(0xf0)](_0x15304e[_0x5ab629(0x14f)],_0xb3710c):null);return _0x15304e[_0x5ab629(0x14d)](_0x283ee2,null);}}module['exports']=PercyBinary;
|
|
1
|
+
function a73_0x5edc(){const _0x4b70f3=['path','join','ekJWV','tmpdir','WnaOu','Failed\x20to\x20save\x20ETag\x20file:\x20','HOMEDRIVE','win32','etag','BcjPf','takte','platform','/Users/','stdout','WVJBE','winstonLogger','proxyHost','Lqbhb','ZfYAE','1770438aEORSB','https-proxy-agent','get','QJfGk','ZrcaU','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','.etag','https://github.com/percy/cli/releases/latest/download','mTKKk','hllvS','writeFileSync','FzPUE','HOME','lxxkW','WlgGy','mDAhK','cyTET','../logger','402116ezrnFM','NpQXg','LOGNAME','mkdirSync','wXfEc','Failed\x20to\x20read\x20ETag\x20file:\x20','fileName','extractAndSaveBinary','vzcPq','794560UFyFwj','LNAME','--version','zbKMm','binaryPath','qEpKi','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','0755','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','QuqtP','port','DQWzo','undefined','readEntry','download','KcdPZ','homedir','end','Error\x20trying\x20to\x20download\x20percy\x20binary','chmod','DiSSP','FABgj','getuid','heiyX','.zip','ygbSp','W_OK','pzJBH','test','url','statusCode','Saved\x20new\x20ETag\x20for\x20percy\x20binary','child_process','6MDohXe','proxyPort','statSync','error','EewHO','jPeNT','lazyEntries','cwd','once','rdhNt','kPnGd','846064RWxkAA','/percy-osx.zip','exports','darwin','PGrWJ','BWYpc','WrDlq','agent','uHEgE','2762067Uhsqqu','rwPOi','USERNAME','DVPEB','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','rASum','catch','/percy-win.zip','USER','match','useCaCertificate','R_OK','percy.exe','USERPROFILE','lDMPM','zmbtQ','vmbzS','entry','jAUzw','DTkIH','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','LqGBu','utf8','2019970JcoxQP','bWqqB','warn','accessSync','LLDKk','ySuJh','yauzl','800804sVuwsq','trim','then','validateBinary','QrTWa','pyTEZ','OxXPp','HtPlD','YXWlC','open','close','debug','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','/home/','nJDLu','needsUpdate','env','tnCpk','pipe','isMzO','pNWUQ','dvPjH','KsWrG','HOMEPATH','readFileSync','UEJdy','.browserstack','percy','function','createWriteStream'];a73_0x5edc=function(){return _0x4b70f3;};return a73_0x5edc();}const a73_0x378d89=a73_0x5930;function a73_0x5930(_0x49c55f,_0x430307){const _0x5edc88=a73_0x5edc();return a73_0x5930=function(_0x5930b5,_0x2dd017){_0x5930b5=_0x5930b5-0xcd;let _0x328777=_0x5edc88[_0x5930b5];return _0x328777;},a73_0x5930(_0x49c55f,_0x430307);}(function(_0x360b34,_0x28d4ba){const _0x1d8760=a73_0x5930,_0x495bf5=_0x360b34();while(!![]){try{const _0x461d9b=parseInt(_0x1d8760(0x137))/0x1+parseInt(_0x1d8760(0xf4))/0x2+-parseInt(_0x1d8760(0x125))/0x3+parseInt(_0x1d8760(0x16c))/0x4+-parseInt(_0x1d8760(0xed))/0x5+parseInt(_0x1d8760(0x161))/0x6*(parseInt(_0x1d8760(0xd5))/0x7)+-parseInt(_0x1d8760(0x140))/0x8;if(_0x461d9b===_0x28d4ba)break;else _0x495bf5['push'](_0x495bf5['shift']());}catch(_0x1cbf8b){_0x495bf5['push'](_0x495bf5['shift']());}}}(a73_0x5edc,0x4cf13));const {https}=require('follow-redirects'),url=require(a73_0x378d89(0x15d)),yauzl=require(a73_0x378d89(0xf3)),fs=require('fs'),path=require(a73_0x378d89(0x112)),os=require('os'),{spawn}=require(a73_0x378d89(0x160)),HttpsProxyAgent=require(a73_0x378d89(0x126)),logger=require(a73_0x378d89(0x136))[a73_0x378d89(0x121)];class PercyBinary{#hostOS=process[a73_0x378d89(0x11d)];#httpPath=null;#binaryName=a73_0x378d89(0x10f);#orderedPaths=[path[a73_0x378d89(0x113)](this.#homedir(),a73_0x378d89(0x10e)),process[a73_0x378d89(0x168)](),os[a73_0x378d89(0x115)]()];constructor(){const _0x52c8af=a73_0x378d89,_0x59f334={};_0x59f334[_0x52c8af(0x13f)]=_0x52c8af(0x12c),_0x59f334[_0x52c8af(0xdb)]=function(_0x304108,_0x313cac){return _0x304108+_0x313cac;},_0x59f334[_0x52c8af(0x149)]=_0x52c8af(0xcd),_0x59f334[_0x52c8af(0xf2)]=function(_0x373368,_0xb4fb79){return _0x373368+_0xb4fb79;},_0x59f334['pzJBH']=_0x52c8af(0xdd),_0x59f334['takte']=_0x52c8af(0xe2),_0x59f334[_0x52c8af(0x143)]='/percy-linux.zip';const _0x3de9fc=_0x59f334,_0x3568c5=_0x3de9fc['vzcPq'];if(this.#hostOS[_0x52c8af(0xdf)](/darwin|mac os/i))this.#httpPath=_0x3de9fc['rASum'](_0x3568c5,_0x3de9fc[_0x52c8af(0x149)]);else this.#hostOS[_0x52c8af(0xdf)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x3de9fc[_0x52c8af(0xf2)](_0x3568c5,_0x3de9fc[_0x52c8af(0x15b)]),this.#binaryName=_0x3de9fc[_0x52c8af(0x11c)]):this.#httpPath=_0x3de9fc['rASum'](_0x3568c5,_0x3de9fc['zbKMm']);}#getAvailableDirs(){const _0xf0f5ab=a73_0x378d89,_0x4bd10f={};_0x4bd10f[_0xf0f5ab(0x159)]=function(_0x1c5ada,_0x35cc18){return _0x1c5ada<_0x35cc18;},_0x4bd10f['AaaQn']=_0xf0f5ab(0x152);const _0x5b7652=_0x4bd10f;for(var _0x42ea39=0x0;_0x5b7652['ygbSp'](_0x42ea39,this.#orderedPaths['length']);_0x42ea39++){var _0xdf98b5=this.#orderedPaths[_0x42ea39];if(this.#makePath(_0xdf98b5))return _0xdf98b5;}throw new Error(_0x5b7652['AaaQn']);}#makePath(_0x218ead){try{return _0x218ead&&!this.#checkPath(_0x218ead)&&fs['mkdirSync'](_0x218ead),!![];}catch{return![];}}#checkPath(_0x58935d,_0x270156){const _0x32026d=a73_0x378d89,_0x53939c={};_0x53939c['FzPUE']=function(_0x462328,_0x3425c4){return _0x462328|_0x3425c4;},_0x53939c[_0x32026d(0xd1)]=function(_0x35f7bd,_0x4bf03b){return _0x35f7bd!==_0x4bf03b;},_0x53939c['KcdPZ']=_0x32026d(0x14c);const _0x108018=_0x53939c;_0x270156=_0x270156||_0x108018[_0x32026d(0x130)](fs[_0x32026d(0xe1)],fs[_0x32026d(0x15a)]);try{return fs[_0x32026d(0xf0)](_0x58935d,_0x270156),!![];}catch(_0x180e6a){if(_0x108018['BWYpc'](typeof fs[_0x32026d(0xf0)],_0x108018[_0x32026d(0x14f)]))return![];try{return fs[_0x32026d(0x163)](_0x58935d),!![];}catch(_0x5b6a2c){return![];}}}#getETagPath(_0x327df0){const _0x4414ac=a73_0x378d89;return path[_0x4414ac(0x113)](_0x327df0,this.#binaryName+_0x4414ac(0x12b));}#loadETag(_0x33a609){const _0x10a2df=a73_0x378d89,_0x41ad60={};_0x41ad60[_0x10a2df(0x12d)]=_0x10a2df(0xec);const _0x368c23=_0x41ad60,_0x27d4b2=this.#getETagPath(_0x33a609);if(this.#checkPath(_0x27d4b2))try{return fs[_0x10a2df(0x10c)](_0x27d4b2,_0x368c23[_0x10a2df(0x12d)])[_0x10a2df(0xf5)]();}catch(_0x3ab7d6){logger[_0x10a2df(0xef)](_0x10a2df(0x13c)+_0x3ab7d6);}return null;}#saveETag(_0x56972e,_0x430be2){const _0x70c1ae=a73_0x378d89,_0x57ccf4={};_0x57ccf4[_0x70c1ae(0x133)]=_0x70c1ae(0x15f);const _0xa0e6d3=_0x57ccf4;if(!_0x430be2)return;try{const _0x3bd320=this.#getETagPath(_0x56972e);fs[_0x70c1ae(0x12f)](_0x3bd320,_0x430be2),logger[_0x70c1ae(0xff)](_0xa0e6d3[_0x70c1ae(0x133)]);}catch(_0x3baf72){logger[_0x70c1ae(0xef)](_0x70c1ae(0x117)+_0x3baf72);}}async #handleBinaryDownload(_0x3aea13,_0x4140f7,_0x3d8e1c){const _0x28ca2e=a73_0x378d89,_0x4f9582={};_0x4f9582[_0x28ca2e(0x108)]=_0x28ca2e(0x148);const _0x58e4b8=_0x4f9582,_0x2f42ef=await this[_0x28ca2e(0xf7)](_0x3aea13[_0x28ca2e(0x144)]);if(!_0x2f42ef){logger['error'](_0x58e4b8['pNWUQ']);const _0x5b91bd=await this['download'](_0x4140f7,_0x3d8e1c);return _0x5b91bd[_0x28ca2e(0x144)];}return _0x3aea13[_0x28ca2e(0x144)];}async['getBinaryPath'](_0x142e55){const _0x2df40d=a73_0x378d89,_0x3f862b={};_0x3f862b['HtPlD']=_0x2df40d(0xd9),_0x3f862b[_0x2df40d(0x102)]=_0x2df40d(0xda);const _0x3bd74b=_0x3f862b,_0x31987c=this.#getAvailableDirs(),_0x411a6c=path['join'](_0x31987c,this.#binaryName);if(this.#checkPath(_0x411a6c,fs['X_OK'])){const _0x1871e1=this.#loadETag(_0x31987c);if(_0x1871e1)try{const _0x725926=await this[_0x2df40d(0x14e)](_0x142e55,_0x31987c,_0x1871e1);if(!_0x725926['needsUpdate'])return logger[_0x2df40d(0xff)](_0x3bd74b[_0x2df40d(0xfb)]),_0x411a6c;return logger[_0x2df40d(0xff)](_0x3bd74b[_0x2df40d(0x102)]),await this.#handleBinaryDownload(_0x725926,_0x142e55,_0x31987c);}catch(_0x2f6df9){return logger['warn'](_0x2df40d(0x12a)+_0x2f6df9),_0x411a6c;}}const _0x1793f8=await this[_0x2df40d(0x14e)](_0x142e55,_0x31987c);return await this.#handleBinaryDownload(_0x1793f8,_0x142e55,_0x31987c);}['download'](_0x159e73,_0x3cff25,_0x395149=null){const _0x2e7a1d=a73_0x378d89,_0x3bd604={'isMzO':function(_0x114fbf,_0x3d04fb){return _0x114fbf(_0x3d04fb);},'qEpKi':function(_0x51b58a,_0x4c3529){return _0x51b58a(_0x4c3529);},'FABgj':function(_0x98aa95,_0x3fd545){return _0x98aa95(_0x3fd545);},'ekJWV':function(_0x49cc5a,_0x23bbc3){return _0x49cc5a===_0x23bbc3;},'bWqqB':function(_0x1dc9db,_0x287678){return _0x1dc9db(_0x287678);},'NpQXg':_0x2e7a1d(0x164),'DTkIH':'close','LLDKk':function(_0x570ca3,_0x1001cd){return _0x570ca3+_0x1001cd;},'ZrcaU':_0x2e7a1d(0x158)};_0x3cff25&&!this.#checkPath(_0x3cff25)&&fs[_0x2e7a1d(0x13a)](_0x3cff25);const _0x3dc914=this.#binaryName,_0x4c1330=path[_0x2e7a1d(0x113)](_0x3cff25,_0x3bd604[_0x2e7a1d(0xf1)](_0x3dc914,_0x3bd604[_0x2e7a1d(0x129)])),_0x380c0e=fs['createWriteStream'](_0x4c1330),_0x1fa709=url['parse'](this.#httpPath);if(_0x159e73[_0x2e7a1d(0x122)]&&_0x159e73[_0x2e7a1d(0x162)]){const _0x4d312e={};_0x4d312e['host']=_0x159e73[_0x2e7a1d(0x122)],_0x4d312e[_0x2e7a1d(0x14a)]=_0x159e73[_0x2e7a1d(0x162)],_0x1fa709[_0x2e7a1d(0xd3)]=new HttpsProxyAgent(_0x4d312e);}if(_0x159e73[_0x2e7a1d(0xe0)])try{_0x1fa709['ca']=fs[_0x2e7a1d(0x10c)](_0x159e73[_0x2e7a1d(0xe0)]);}catch(_0x23c131){logger['error'](_0x2e7a1d(0xea)+_0x23c131);}if(_0x395149){const _0x2dee96={};_0x2dee96['If-None-Match']=_0x395149,_0x1fa709['headers']=_0x2dee96;}return new Promise((_0x4dec1b,_0x487523)=>{const _0x54253e=_0x2e7a1d,_0x352d3e={'jAUzw':function(_0x5ca12c,_0x48fce0){const _0x558dfe=a73_0x5930;return _0x3bd604[_0x558dfe(0x145)](_0x5ca12c,_0x48fce0);},'ZfYAE':function(_0x2dd7f5,_0x5b93d7){const _0xc136c7=a73_0x5930;return _0x3bd604[_0xc136c7(0x155)](_0x2dd7f5,_0x5b93d7);},'QJfGk':function(_0x557b25,_0xafd17c){const _0x1103a5=a73_0x5930;return _0x3bd604[_0x1103a5(0x114)](_0x557b25,_0xafd17c);},'Lqbhb':function(_0x458a59,_0x30a04f){const _0x29fe1e=a73_0x5930;return _0x3bd604[_0x29fe1e(0xee)](_0x458a59,_0x30a04f);},'LqGBu':_0x3bd604[_0x54253e(0x138)],'OUgoL':_0x3bd604[_0x54253e(0xe9)]};https[_0x54253e(0x127)](_0x1fa709,_0x2e33c4=>{const _0x53cbc5=_0x54253e,_0x1bb149={'jPeNT':function(_0x423649,_0x4d085c){const _0x295109=a73_0x5930;return _0x352d3e[_0x295109(0x124)](_0x423649,_0x4d085c);}};if(_0x395149&&_0x352d3e[_0x53cbc5(0x128)](_0x2e33c4[_0x53cbc5(0x15e)],0x130)){const _0x527c1b={};_0x527c1b[_0x53cbc5(0x103)]=![],_0x352d3e[_0x53cbc5(0x123)](_0x4dec1b,_0x527c1b);return;}const _0x247901=_0x2e33c4['headers'][_0x53cbc5(0x11a)];_0x247901&&this.#saveETag(_0x3cff25,_0x247901),_0x2e33c4[_0x53cbc5(0x106)](_0x380c0e),_0x2e33c4['on'](_0x352d3e[_0x53cbc5(0xeb)],function(_0x1434a4){const _0x46bf50=_0x53cbc5;logger[_0x46bf50(0x164)](_0x46bf50(0x100)+_0x1434a4),_0x352d3e[_0x46bf50(0xe8)](_0x487523,_0x1434a4);}),_0x380c0e['on'](_0x352d3e[_0x53cbc5(0xeb)],function(_0x577740){const _0x150440=_0x53cbc5;logger[_0x150440(0x164)]('Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'+_0x577740),_0x1bb149[_0x150440(0x166)](_0x487523,_0x577740);}),_0x380c0e['on'](_0x352d3e['OUgoL'],()=>{const _0x114251=_0x53cbc5;this[_0x114251(0x13e)](_0x4c1330,_0x3cff25)[_0x114251(0xf6)](_0x477f9d=>_0x4dec1b({'needsUpdate':!![],'binaryPath':_0x477f9d}))[_0x114251(0xdc)](_0x487523);});})['on'](_0x3bd604['NpQXg'],function(_0x29990e){const _0x33310d=_0x54253e;logger['error'](_0x33310d(0x146)+_0x29990e),_0x3bd604[_0x33310d(0x107)](_0x487523,_0x29990e);});});}[a73_0x378d89(0x13e)](_0x2ce4d4,_0x357785){const _0x5a361e=a73_0x378d89,_0x100877={'cyTET':function(_0x2df1b0,_0x5a9cb8){return _0x2df1b0(_0x5a9cb8);},'EewHO':_0x5a361e(0x151),'DQWzo':function(_0x36501a,_0x1f6ac5){return _0x36501a===_0x1f6ac5;},'BDnEv':function(_0x49c00f,_0x551581){return _0x49c00f(_0x551581);},'tnCpk':function(_0x5efd88,_0x56fdae){return _0x5efd88(_0x56fdae);},'WVJBE':_0x5a361e(0xe7),'pyTEZ':_0x5a361e(0x164),'kPnGd':_0x5a361e(0x147)},_0x4938c2=this.#binaryName,_0x266214=path[_0x5a361e(0x113)](_0x357785,_0x4938c2);return new Promise((_0x33bf38,_0x20820a)=>{const _0x5009be=_0x5a361e,_0x1b02d5={'DgaWx':function(_0x56180a,_0x577212){const _0x35cb79=a73_0x5930;return _0x100877[_0x35cb79(0x135)](_0x56180a,_0x577212);},'rdhNt':_0x100877[_0x5009be(0x16b)]},_0x1d8716={};_0x1d8716[_0x5009be(0x167)]=!![],yauzl[_0x5009be(0xfd)](_0x2ce4d4,_0x1d8716,function(_0x375196,_0x529ef0){const _0x162f75=_0x5009be,_0x22a8b2={'OxXPp':function(_0x18520e,_0x37038d){const _0x198d55=a73_0x5930;return _0x100877[_0x198d55(0x135)](_0x18520e,_0x37038d);},'wZsAW':_0x100877[_0x162f75(0x165)],'PTzWy':function(_0x9b344b,_0x38c2c3){const _0x545596=_0x162f75;return _0x100877[_0x545596(0x14b)](_0x9b344b,_0x38c2c3);},'TxzAf':function(_0x244489,_0xb335d1){return _0x100877['BDnEv'](_0x244489,_0xb335d1);}};_0x375196&&_0x100877[_0x162f75(0x105)](_0x20820a,_0x375196),_0x529ef0[_0x162f75(0x14d)](),_0x529ef0['on'](_0x100877[_0x162f75(0x120)],_0x98b21a=>{const _0x5112f5=_0x162f75,_0x3150da={'YXWlC':function(_0x42d469,_0x826ddb){return _0x22a8b2['OxXPp'](_0x42d469,_0x826ddb);},'zmbtQ':_0x22a8b2['wZsAW']};if(/\/$/[_0x5112f5(0x15c)](_0x98b21a[_0x5112f5(0x13d)]))_0x529ef0['readEntry']();else{const _0x52e7b5=fs[_0x5112f5(0x111)](path['join'](_0x357785,_0x98b21a[_0x5112f5(0x13d)]));_0x529ef0['openReadStream'](_0x98b21a,function(_0xcf63c3,_0x5da334){const _0x195dbb=_0x5112f5;_0xcf63c3&&_0x3150da[_0x195dbb(0xfc)](_0x20820a,_0x375196),_0x5da334['on'](_0x3150da[_0x195dbb(0xe5)],function(){const _0x1e9185=_0x195dbb;_0x52e7b5[_0x1e9185(0xfe)](),_0x529ef0[_0x1e9185(0x14d)]();}),_0x5da334['pipe'](_0x52e7b5);}),_0x22a8b2['PTzWy'](_0x98b21a['fileName'],_0x4938c2)&&_0x529ef0[_0x5112f5(0xfe)]();}}),_0x529ef0['on'](_0x100877[_0x162f75(0xf9)],_0x543e1c=>{_0x1b02d5['DgaWx'](_0x20820a,_0x543e1c);}),_0x529ef0[_0x162f75(0x169)](_0x100877[_0x162f75(0x165)],()=>{const _0x2ab1c3=_0x162f75;fs[_0x2ab1c3(0x153)](_0x266214,_0x1b02d5[_0x2ab1c3(0x16a)],function(_0x34ad0f){const _0x4dd488=_0x2ab1c3;_0x34ad0f&&_0x22a8b2[_0x4dd488(0xfa)](_0x20820a,_0x34ad0f),_0x22a8b2['TxzAf'](_0x33bf38,_0x266214);}),_0x529ef0['close']();});});});}async[a73_0x378d89(0xf7)](_0x1203d2){const _0x4ab97c=a73_0x378d89,_0x2b4c05={'mDAhK':function(_0x73220d,_0x5f1c04){return _0x73220d(_0x5f1c04);},'lxxkW':function(_0x1ea5b0,_0x46601b){return _0x1ea5b0(_0x46601b);},'nfVUC':function(_0xdcc29f,_0x323cfc,_0x280944,_0xa18ff3){return _0xdcc29f(_0x323cfc,_0x280944,_0xa18ff3);},'hllvS':_0x4ab97c(0x142),'KsWrG':'data','PgaNJ':_0x4ab97c(0xfe)},_0x468491=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x14cf81,_0x4a79bd)=>{const _0x8f6164=_0x4ab97c,_0x304624={'uHEgE':function(_0x40f170,_0x2e9496){const _0x53d972=a73_0x5930;return _0x2b4c05[_0x53d972(0x134)](_0x40f170,_0x2e9496);},'wXfEc':function(_0x20fd64,_0x22b56f){const _0x2628c2=a73_0x5930;return _0x2b4c05[_0x2628c2(0x132)](_0x20fd64,_0x22b56f);}},_0x3eb6e2={};_0x3eb6e2[_0x8f6164(0x104)]=process[_0x8f6164(0x104)];const _0x1d7f51=_0x2b4c05['nfVUC'](spawn,_0x1203d2,[_0x2b4c05[_0x8f6164(0x12e)]],_0x3eb6e2);_0x1d7f51[_0x8f6164(0x11f)]['on'](_0x2b4c05[_0x8f6164(0x10a)],_0x4136f6=>{const _0x3b62c1=_0x8f6164;_0x468491['test'](_0x4136f6)&&_0x304624[_0x3b62c1(0xd4)](_0x14cf81,!![]);}),_0x1d7f51['on'](_0x2b4c05['PgaNJ'],()=>{const _0x2bbd2e=_0x8f6164;_0x304624[_0x2bbd2e(0x13b)](_0x14cf81,![]);});});}#homedir(){const _0x20f41e=a73_0x378d89,_0x571ba9={};_0x571ba9[_0x20f41e(0xd2)]=function(_0x261e18,_0x25b13d){return _0x261e18===_0x25b13d;},_0x571ba9[_0x20f41e(0x10d)]=_0x20f41e(0x110),_0x571ba9[_0x20f41e(0xe6)]=function(_0x38162b,_0x1b448a){return _0x38162b===_0x1b448a;},_0x571ba9['heiyX']=_0x20f41e(0x119),_0x571ba9[_0x20f41e(0x154)]=function(_0x481386,_0x21fac0){return _0x481386+_0x21fac0;},_0x571ba9[_0x20f41e(0xf8)]=_0x20f41e(0xcf),_0x571ba9[_0x20f41e(0xe4)]=function(_0x12abf6,_0x3d5839){return _0x12abf6+_0x3d5839;},_0x571ba9['BcjPf']=_0x20f41e(0x11e),_0x571ba9[_0x20f41e(0xd0)]='linux',_0x571ba9[_0x20f41e(0x109)]='/root',_0x571ba9['rwPOi']=function(_0x1380a4,_0x517e18){return _0x1380a4+_0x517e18;},_0x571ba9[_0x20f41e(0x116)]=_0x20f41e(0x101),_0x571ba9[_0x20f41e(0xd8)]=function(_0x5167b8,_0x343a3e){return _0x5167b8||_0x343a3e;};const _0x20f486=_0x571ba9;if(_0x20f486[_0x20f41e(0xd2)](typeof os[_0x20f41e(0x150)],_0x20f486['UEJdy']))return os[_0x20f41e(0x150)]();const _0x598c35=process['env'],_0x444326=_0x598c35[_0x20f41e(0x131)],_0x5a7015=_0x598c35[_0x20f41e(0x139)]||_0x598c35[_0x20f41e(0xde)]||_0x598c35[_0x20f41e(0x141)]||_0x598c35[_0x20f41e(0xd7)];if(_0x20f486[_0x20f41e(0xe6)](process[_0x20f41e(0x11d)],_0x20f486[_0x20f41e(0x157)]))return _0x598c35[_0x20f41e(0xe3)]||_0x20f486[_0x20f41e(0x154)](_0x598c35[_0x20f41e(0x118)],_0x598c35[_0x20f41e(0x10b)])||_0x444326||null;if(_0x20f486[_0x20f41e(0xd2)](process[_0x20f41e(0x11d)],_0x20f486[_0x20f41e(0xf8)]))return _0x444326||(_0x5a7015?_0x20f486[_0x20f41e(0xe4)](_0x20f486[_0x20f41e(0x11b)],_0x5a7015):null);if(_0x20f486['vmbzS'](process[_0x20f41e(0x11d)],_0x20f486['PGrWJ']))return _0x444326||(_0x20f486[_0x20f41e(0xe6)](process[_0x20f41e(0x156)](),0x0)?_0x20f486[_0x20f41e(0x109)]:_0x5a7015?_0x20f486[_0x20f41e(0xd6)](_0x20f486[_0x20f41e(0x116)],_0x5a7015):null);return _0x20f486['DVPEB'](_0x444326,null);}}module[a73_0x378d89(0xce)]=PercyBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a74_0x2f6ec6=a74_0x3535;function a74_0x54ba(){var _0x28d4cd=['257244AbKfou','60UCLnnP','2252136ZLdYCx','11973HdyTZU','9tXbJvi','getName','exports','234SFOnAp','491260mMLvfi','1919511kUtAVE','get','1878793BMNoWr','130gHsvoZ','9670648UCNNwE'];a74_0x54ba=function(){return _0x28d4cd;};return a74_0x54ba();}(function(_0x54bc43,_0x4d1623){var _0x187a8a=a74_0x3535,_0x380fc8=_0x54bc43();while(!![]){try{var _0x17fa39=parseInt(_0x187a8a(0xe5))/0x1*(-parseInt(_0x187a8a(0xe9))/0x2)+-parseInt(_0x187a8a(0xf0))/0x3+parseInt(_0x187a8a(0xea))/0x4*(parseInt(_0x187a8a(0xf1))/0x5)+-parseInt(_0x187a8a(0xe4))/0x6+parseInt(_0x187a8a(0xed))/0x7+-parseInt(_0x187a8a(0xef))/0x8*(parseInt(_0x187a8a(0xe6))/0x9)+parseInt(_0x187a8a(0xee))/0xa*(parseInt(_0x187a8a(0xeb))/0xb);if(_0x17fa39===_0x4d1623)break;else _0x380fc8['push'](_0x380fc8['shift']());}catch(_0x411b0){_0x380fc8['push'](_0x380fc8['shift']());}}}(a74_0x54ba,0xe578c));function a74_0x3535(_0x21cedb,_0x37ac95){var _0x54baca=a74_0x54ba();return a74_0x3535=function(_0x3535be,_0xdac85f){_0x3535be=_0x3535be-0xe4;var _0x32d089=_0x54baca[_0x3535be];return _0x32d089;},a74_0x3535(_0x21cedb,_0x37ac95);}class PercyCaptureMap{#map={};['increment'](_0x1dc3d1,_0x13d6c5){!this.#map[_0x1dc3d1]&&(this.#map[_0x1dc3d1]={}),!this.#map[_0x1dc3d1][_0x13d6c5]&&(this.#map[_0x1dc3d1][_0x13d6c5]=0x0),this.#map[_0x1dc3d1][_0x13d6c5]++;}[a74_0x2f6ec6(0xe7)](_0x45142d,_0x59a0c3){return _0x45142d+'-'+_0x59a0c3+'-'+this['get'](_0x45142d,_0x59a0c3);}[a74_0x2f6ec6(0xec)](_0x32d922,_0xc7def8){if(!this.#map[_0x32d922])return 0x0;if(!this.#map[_0x32d922][_0xc7def8])return 0x0;return this.#map[_0x32d922][_0xc7def8];}}module[a74_0x2f6ec6(0xe8)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a75_0x1cd253=a75_0x2f1e;(function(_0x417058,_0x3e7b23){var _0x8cd4fa=a75_0x2f1e,_0x6ea41a=_0x417058();while(!![]){try{var _0xa85216=-parseInt(_0x8cd4fa(0xae))/0x1+-parseInt(_0x8cd4fa(0xab))/0x2*(-parseInt(_0x8cd4fa(0xb3))/0x3)+parseInt(_0x8cd4fa(0xbb))/0x4+parseInt(_0x8cd4fa(0xaf))/0x5+-parseInt(_0x8cd4fa(0xb6))/0x6+-parseInt(_0x8cd4fa(0xbc))/0x7*(parseInt(_0x8cd4fa(0xb7))/0x8)+parseInt(_0x8cd4fa(0xb0))/0x9*(parseInt(_0x8cd4fa(0xb1))/0xa);if(_0xa85216===_0x3e7b23)break;else _0x6ea41a['push'](_0x6ea41a['shift']());}catch(_0x3905b4){_0x6ea41a['push'](_0x6ea41a['shift']());}}}(a75_0x281e,0xa10a5));var a75_0x268f58={};a75_0x268f58[a75_0x1cd253(0xba)]=[a75_0x1cd253(0xb9)],a75_0x268f58[a75_0x1cd253(0xad)]=[a75_0x1cd253(0xb2),'sendKeys'];var a75_0x44ae5b={};a75_0x44ae5b[a75_0x1cd253(0xba)]=['takeScreenshot'];function a75_0x281e(){var _0x2ebd43=['112168JjEMsH','235778MtdieS','auto','element','1001152ArSPth','3329920DivRsx','9beOVGi','9824770srXxqG','click','21abYLFn','manual','exports','2050014TYpCuO','592neWcwk','testcase','takeScreenshot','driver','2858136XlLNpW'];a75_0x281e=function(){return _0x2ebd43;};return a75_0x281e();}var a75_0x1b0aeb={};function a75_0x2f1e(_0x281f15,_0x35de07){var _0x281eca=a75_0x281e();return a75_0x2f1e=function(_0x2f1ed3,_0x3c8cac){_0x2f1ed3=_0x2f1ed3-0xab;var _0xd02adf=_0x281eca[_0x2f1ed3];return _0xd02adf;},a75_0x2f1e(_0x281f15,_0x35de07);}a75_0x1b0aeb[a75_0x1cd253(0xad)]=[a75_0x1cd253(0xb2)];var a75_0x150721={};a75_0x150721[a75_0x1cd253(0xac)]=a75_0x268f58,a75_0x150721['screenshot']=a75_0x44ae5b,a75_0x150721[a75_0x1cd253(0xb2)]=a75_0x1b0aeb,a75_0x150721[a75_0x1cd253(0xb8)]={},a75_0x150721[a75_0x1cd253(0xb4)]={},module[a75_0x1cd253(0xb5)]=a75_0x150721;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a76_0xee1264=a76_0x312b;(function(_0x36d68e,_0x4c7fc5){const _0x5ee56d=a76_0x312b,_0x29b7c1=_0x36d68e();while(!![]){try{const _0x3b79fc=parseInt(_0x5ee56d(0x18e))/0x1+parseInt(_0x5ee56d(0x1a3))/0x2*(-parseInt(_0x5ee56d(0x1a8))/0x3)+parseInt(_0x5ee56d(0x19e))/0x4*(-parseInt(_0x5ee56d(0x1ae))/0x5)+-parseInt(_0x5ee56d(0x19d))/0x6+parseInt(_0x5ee56d(0x1a6))/0x7+parseInt(_0x5ee56d(0x199))/0x8*(-parseInt(_0x5ee56d(0x1ab))/0x9)+-parseInt(_0x5ee56d(0x196))/0xa*(-parseInt(_0x5ee56d(0x1b0))/0xb);if(_0x3b79fc===_0x4c7fc5)break;else _0x29b7c1['push'](_0x29b7c1['shift']());}catch(_0x13c564){_0x29b7c1['push'](_0x29b7c1['shift']());}}}(a76_0xa2ae,0x1eb6f));const tryRequire=function(_0x4b5d8b,_0x4117dd){const _0xa060f1=a76_0x312b,_0x193033={'LfTGX':function(_0x228722,_0x3f7633){return _0x228722(_0x3f7633);}};try{return _0x193033[_0xa060f1(0x1ad)](require,_0x4b5d8b);}catch{return _0x4117dd;}},percySnapshot=tryRequire(a76_0xee1264(0x1aa),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a76_0xee1264(0x1a2)),{getCurrentTestData}=require(a76_0xee1264(0x19c)),PerformanceTester=require(a76_0xee1264(0x1a5)),{PERCY_EVENTS:PerformanceEvents}=require(a76_0xee1264(0x1ac)),logger=require(a76_0xee1264(0x197))[a76_0xee1264(0x19a)];percySnapshot&&(exports['snapshot']=async function(){const _0x4cbdb0=a76_0xee1264,_0x2a501b={'KusLj':function(_0x3e09cf,_0x1b8c66){return _0x3e09cf!==_0x1b8c66;},'NCcsb':function(_0x3e4cf4,_0x54d232){return _0x3e4cf4>=_0x54d232;},'sRPIN':function(_0x14837b){return _0x14837b();}};if(global[_0x4cbdb0(0x1b3)]&&_0x2a501b[_0x4cbdb0(0x195)](global[_0x4cbdb0(0x1b3)],global[_0x4cbdb0(0x1a9)]))return;const _0x55c906=_0x2a501b[_0x4cbdb0(0x1af)](arguments[_0x4cbdb0(0x191)],0x2)?arguments[0x1]:'',_0x18a67b=_0x2a501b[_0x4cbdb0(0x19f)](getCurrentTestData),_0x40b547={};return _0x40b547[_0x4cbdb0(0x193)]=_0x55c906,_0x40b547[_0x4cbdb0(0x18c)]=_0x18a67b[_0x4cbdb0(0x193)]||'',_0x40b547['thTestCaseExecutionId']=_0x18a67b['uuid']||'',_0x40b547[_0x4cbdb0(0x192)]=global[_0x4cbdb0(0x1b3)],await PerformanceTester['measure'](PerformanceEvents[_0x4cbdb0(0x1a1)],()=>percySnapshot[_0x4cbdb0(0x18f)](null,arguments),_0x40b547);});function a76_0xa2ae(){const _0x518ed2=['HGSZB','249976WHMqZG','winstonLogger','measure','../../helpers/testhub/utils','1142100DqUCoK','104124oZdJqU','sRPIN','SCREENSHOT_APP','SNAPSHOT','@percy/appium-app','4SMThwL','hVhDe','../performance/performance-tester','361697ggpRQu','screenshotApp','290226nuFuor','browserstackPercyBestPlatform','@percy/selenium-webdriver','18FDOrxR','../performance/constants','LfTGX','10duyJqs','NCcsb','5631329cxIzll','SCREENSHOT','mWYoL','browserstackPlatformIndex','testCase','thTestCaseExecutionId','60587pXbuJP','apply','error','length','platformIndex','name','krQHy','KusLj','10VJSQqB','../logger'];a76_0xa2ae=function(){return _0x518ed2;};return a76_0xa2ae();}percyScreenshot?exports['screenshot']=async function(){const _0x372630=a76_0xee1264,_0x4b379b={'oglGo':function(_0x5c66d6,_0x21ed41){return _0x5c66d6>=_0x21ed41;},'mWYoL':function(_0x4618b0){return _0x4618b0();}},_0x5582ce=_0x4b379b['oglGo'](arguments['length'],0x2)?arguments[0x1]:'',_0x172322=_0x4b379b[_0x372630(0x1b2)](getCurrentTestData),_0x5ec7ad={};return _0x5ec7ad[_0x372630(0x193)]=_0x5582ce,_0x5ec7ad[_0x372630(0x18c)]=_0x172322[_0x372630(0x193)]||'',_0x5ec7ad[_0x372630(0x18d)]=_0x172322['uuid']||'',_0x5ec7ad[_0x372630(0x192)]=global[_0x372630(0x1b3)],await PerformanceTester[_0x372630(0x19b)](PerformanceEvents[_0x372630(0x1b1)],()=>percyScreenshot[_0x372630(0x18f)](null,arguments),_0x5ec7ad);}:exports['screenshot']=()=>{const _0xde8532=a76_0xee1264,_0x136408={};_0x136408[_0xde8532(0x1a4)]='Unsupported\x20driver\x20for\x20percy';const _0x77c415=_0x136408;logger[_0xde8532(0x190)](_0x77c415[_0xde8532(0x1a4)]);};function a76_0x312b(_0x241248,_0x3f0605){const _0xa2ae=a76_0xa2ae();return a76_0x312b=function(_0x312b5c,_0x10c913){_0x312b5c=_0x312b5c-0x18c;let _0x4f4d0e=_0xa2ae[_0x312b5c];return _0x4f4d0e;},a76_0x312b(_0x241248,_0x3f0605);}exports[a76_0xee1264(0x1a7)]=async function(){const _0x236af1=a76_0xee1264,_0x194e8f={'HGSZB':function(_0x25502f,_0x486621){return _0x25502f>=_0x486621;},'krQHy':function(_0x3eecae){return _0x3eecae();}},_0x225723=_0x194e8f[_0x236af1(0x198)](arguments[_0x236af1(0x191)],0x2)?arguments[0x1]:'',_0x1a61cf=_0x194e8f[_0x236af1(0x194)](getCurrentTestData),_0x1e06b3={};return _0x1e06b3[_0x236af1(0x193)]=_0x225723,_0x1e06b3['testCase']=_0x1a61cf[_0x236af1(0x193)]||'',_0x1e06b3[_0x236af1(0x18d)]=_0x1a61cf['uuid']||'',_0x1e06b3['platformIndex']=global[_0x236af1(0x1b3)],await PerformanceTester['measure'](PerformanceEvents[_0x236af1(0x1a0)],()=>percyAppScreenshot[_0x236af1(0x18f)](null,arguments),_0x1e06b3);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a77_0x270861=a77_0x11a0;(function(_0x1ae5fc,_0x572cc5){var _0x6baa17=a77_0x11a0,_0x57e884=_0x1ae5fc();while(!![]){try{var _0x5de43a=parseInt(_0x6baa17(0x7e))/0x1*(-parseInt(_0x6baa17(0x7d))/0x2)+-parseInt(_0x6baa17(0x7f))/0x3*(parseInt(_0x6baa17(0x7a))/0x4)+-parseInt(_0x6baa17(0x78))/0x5*(-parseInt(_0x6baa17(0x79))/0x6)+parseInt(_0x6baa17(0x7b))/0x7+-parseInt(_0x6baa17(0x81))/0x8+-parseInt(_0x6baa17(0x7c))/0x9+parseInt(_0x6baa17(0x80))/0xa;if(_0x5de43a===_0x572cc5)break;else _0x57e884['push'](_0x57e884['shift']());}catch(_0x2e0977){_0x57e884['push'](_0x57e884['shift']());}}}(a77_0x1cbe,0x32b4f),module[a77_0x270861(0x82)]=require('./Percy'));function a77_0x11a0(_0x10be2e,_0x27e396){var _0x1cbe8e=a77_0x1cbe();return a77_0x11a0=function(_0x11a02f,_0x444f96){_0x11a02f=_0x11a02f-0x78;var _0x547dd9=_0x1cbe8e[_0x11a02f];return _0x547dd9;},a77_0x11a0(_0x10be2e,_0x27e396);}function a77_0x1cbe(){var _0x239158=['1756popcqD','648417uSPhgC','1342350VsKoNy','2ALTOPM','216861GphnBN','357nsmbLf','2781400lMTLGx','18600ZwnVXb','exports','5SBdIeC','1545006Umvxjp'];a77_0x1cbe=function(){return _0x239158;};return a77_0x1cbe();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78_0x32498a=a78_0x70c4;function a78_0x229c(){const _0x4cfb26=['START','percyCaptureMode','BMoeQ','ZSXLq','xCmJc','winstonLogger','JbhFk','isUndefined','driver','overrideXforPercy','278354zoXNoT','./PercyCaptureModes','STOP','percyAutoCapture','HoWxE','3619424AbjNqw','./PercySDK','browserStackPercyOptions','Error\x20patching\x20','12drzYMN','4043740xKjXUs','percy','reduce','browserstackPercyBestPlatform','then','getDriver','measureWrapper','error','4852950VaNNnA','vbcyW','apply','chrome','stop','6maonDZ','browserstackPercyMap','toLowerCase','3985071HKFjst','browserName','4407809kbqseq','ZJYNY','prototype','../performance/performance-tester','patchDriverPercy','safari','browserstackSessionName','app','forEach','deviceName','edge','auto','../performance/constants','screenshot','4385605HfOZEl','getPercyOptions','getBestPlatformForPercySnapshot','cgaPI','18uyjjwW','element','firefox','YwjYn','browser','44hofIrr','debug','PItuL','patch','./PercyCaptureMap','platforms','../helper','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','\x20for\x20percy\x20'];a78_0x229c=function(){return _0x4cfb26;};return a78_0x229c();}(function(_0x54bcc0,_0x304b65){const _0x390fa0=a78_0x70c4,_0x38b787=_0x54bcc0();while(!![]){try{const _0x25b069=-parseInt(_0x390fa0(0x96))/0x1*(-parseInt(_0x390fa0(0x9f))/0x2)+parseInt(_0x390fa0(0xb0))/0x3+parseInt(_0x390fa0(0xa0))/0x4+-parseInt(_0x390fa0(0xc0))/0x5*(parseInt(_0x390fa0(0xad))/0x6)+parseInt(_0x390fa0(0xb2))/0x7+parseInt(_0x390fa0(0x9b))/0x8*(-parseInt(_0x390fa0(0xc4))/0x9)+parseInt(_0x390fa0(0xa8))/0xa*(-parseInt(_0x390fa0(0x83))/0xb);if(_0x25b069===_0x304b65)break;else _0x38b787['push'](_0x38b787['shift']());}catch(_0x28e759){_0x38b787['push'](_0x38b787['shift']());}}}(a78_0x229c,0xdf9ea));function a78_0x70c4(_0x2adc54,_0x2c7910){const _0x229cc3=a78_0x229c();return a78_0x70c4=function(_0x70c4a7,_0x358ae4){_0x70c4a7=_0x70c4a7-0x7f;let _0x1c9d24=_0x229cc3[_0x70c4a7];return _0x1c9d24;},a78_0x70c4(_0x2adc54,_0x2c7910);}const Percy=require('./Percy'),PercySDK=require(a78_0x32498a(0x9c)),PercyCaptureModes=require(a78_0x32498a(0x97)),PercyCaptureMap=require(a78_0x32498a(0x87)),logger=require('../logger')[a78_0x32498a(0x91)],helper=require(a78_0x32498a(0x89)),PerformanceTester=require(a78_0x32498a(0xb5)),{PERCY_EVENTS:PerformanceEvents}=require(a78_0x32498a(0xbe));exports['startPercy']=PerformanceTester[a78_0x32498a(0xa6)](PerformanceEvents[a78_0x32498a(0x8c)],async _0x1468eb=>{const _0x3ecd00=a78_0x32498a,_0x27b8ef={};_0x27b8ef[_0x3ecd00(0xb3)]='Starting\x20percy';const _0x2febd8=_0x27b8ef;logger['debug'](_0x2febd8[_0x3ecd00(0xb3)]);const _0x596f20=new Percy(_0x1468eb),_0x16b62a=await _0x596f20['start']();if(_0x16b62a)return _0x596f20;return null;}),exports['stopPercy']=PerformanceTester[a78_0x32498a(0xa6)](PerformanceEvents[a78_0x32498a(0x98)],async _0x3e4e26=>{const _0x283d88=a78_0x32498a,_0x4c7d08={};_0x4c7d08[_0x283d88(0x90)]='Stopping\x20percy';const _0x56845b=_0x4c7d08;return logger['debug'](_0x56845b['xCmJc']),_0x3e4e26[_0x283d88(0xac)]();}),exports[a78_0x32498a(0xc2)]=_0x5182ff=>{const _0x2440d3=a78_0x32498a,_0x4db293={};_0x4db293['jUkmx']=function(_0x4e0cf8,_0x24bbe2){return _0x4e0cf8<_0x24bbe2;};const _0x5a6c40=_0x4db293,_0x94835f={};_0x94835f[_0x2440d3(0xab)]=0x0,_0x94835f[_0x2440d3(0x80)]=0x1,_0x94835f[_0x2440d3(0xbc)]=0x2,_0x94835f[_0x2440d3(0xb7)]=0x3;const _0x215ac4=_0x94835f;return _0x5182ff[_0x2440d3(0xa2)]((_0xc4e179,_0x41167b,_0x119fdc)=>{const _0x22a9c2=_0x2440d3,_0x38e5f6=_0x5182ff[_0xc4e179];if(_0x41167b[_0x22a9c2(0xbb)])return _0xc4e179;if(_0x38e5f6[_0x22a9c2(0xbb)])return _0x119fdc;const _0x3ede00=_0x41167b[_0x22a9c2(0x82)]?_0x41167b[_0x22a9c2(0x82)]:_0x41167b[_0x22a9c2(0xb1)];if(_0x3ede00&&_0x5a6c40['jUkmx'](_0x215ac4[_0x3ede00[_0x22a9c2(0xaf)]()],_0x215ac4[_0x3ede00['toLowerCase']()]))return _0x119fdc;return _0xc4e179;},0x0);},exports[a78_0x32498a(0x99)]=PerformanceTester[a78_0x32498a(0xa6)](PerformanceEvents['AUTO_CAPTURE'],async(_0x364355,_0x1766a7,_0x572f38)=>{const _0x1d826b=a78_0x32498a,_0x384142={};_0x384142['jBZup']=_0x1d826b(0x8a);const _0x33ccc5=_0x384142,_0x341c69=_0x364355[_0x1d826b(0xae)];if(helper[_0x1d826b(0x93)](_0x364355['browserstackSessionName'])){logger[_0x1d826b(0x84)](_0x33ccc5['jBZup']);return;}const _0x5cfb35=_0x341c69['getName'](_0x364355['browserstackSessionName'],_0x1766a7);_0x572f38[_0x1d826b(0xb9)]?await PercySDK['screenshotApp'](_0x364355,_0x5cfb35):await PercySDK[_0x1d826b(0xbf)](_0x364355,_0x5cfb35),_0x341c69['increment'](_0x364355['browserstackSessionName'],_0x1766a7);}),exports[a78_0x32498a(0xb6)]=(_0x4f19a0,_0x3f2a93,_0x4c0cf0)=>{const _0x17c424=a78_0x32498a,_0x25975b={};_0x25975b['JbhFk']=_0x17c424(0x9d),_0x25975b['vbcyW']=_0x17c424(0xa1),_0x25975b[_0x17c424(0x81)]=function(_0x291c5d,_0x22120b){return _0x291c5d!==_0x22120b;},_0x25975b[_0x17c424(0x85)]='manual';const _0x47c17d=_0x25975b;if(!helper['nestedKeyValue'](_0x4c0cf0,[_0x47c17d[_0x17c424(0x92)],_0x47c17d[_0x17c424(0xa9)]]))return;if(_0x4c0cf0[_0x17c424(0x9d)][_0x17c424(0xa1)]&&_0x4c0cf0[_0x17c424(0x9d)]['percyCaptureMode']&&_0x47c17d['YwjYn'](_0x4c0cf0[_0x17c424(0x9d)][_0x17c424(0x8d)],_0x47c17d[_0x17c424(0x85)])&&!_0x4f19a0[_0x17c424(0xae)]){global[_0x17c424(0xb8)]&&(_0x4f19a0[_0x17c424(0xb8)]=global[_0x17c424(0xb8)]),_0x4f19a0['browserstackPercyMap']=new PercyCaptureMap();const _0x1290c0=PercyCaptureModes[_0x4c0cf0[_0x17c424(0x9d)][_0x17c424(0x8d)]];_0x1290c0['driver']&&_0x1290c0[_0x17c424(0x94)][_0x17c424(0xba)](_0x5323dc=>this['overrideXforPercy'](_0x4f19a0,_0x5323dc,_0x4c0cf0)),_0x1290c0[_0x17c424(0x7f)]&&_0x1290c0['element'][_0x17c424(0xba)](_0x266da1=>{const _0x348dc2=_0x17c424;if(_0x3f2a93[_0x348dc2(0xb4)][_0x348dc2(0x86)+_0x266da1])return;_0x3f2a93[_0x348dc2(0xb4)]['patch'+_0x266da1]=!![];const _0xf8fa51=_0x3f2a93[_0x348dc2(0xb4)][_0x266da1];_0x3f2a93[_0x348dc2(0xb4)][_0x266da1]=async function(){const _0x5905df=_0x348dc2;let _0x3fb2d0=_0xf8fa51[_0x5905df(0xaa)](this,arguments);_0x3fb2d0&&_0x3fb2d0[_0x5905df(0xa4)]&&(_0x3fb2d0=await _0x3fb2d0);try{const _0xc057d9=this[_0x5905df(0xa5)]();await exports[_0x5905df(0x99)](_0xc057d9,_0x266da1,_0x4c0cf0);}catch(_0x16514b){logger[_0x5905df(0xa7)](_0x5905df(0x9e)+_0x266da1+_0x5905df(0x8b)+_0x16514b);}return _0x3fb2d0;};});}},exports[a78_0x32498a(0x95)]=function(_0x448252,_0x14716c,_0x59f9bf){const _0x22de39=a78_0x32498a,_0x5be1db={};_0x5be1db[_0x22de39(0x8f)]=function(_0x257d40,_0x520a69){return _0x257d40+_0x520a69;},_0x5be1db[_0x22de39(0x9a)]=_0x22de39(0x86),_0x5be1db[_0x22de39(0xc3)]=function(_0x53be97,_0xb6e1f0){return _0x53be97+_0xb6e1f0;},_0x5be1db['Esxki']='init';const _0x14f7bd=_0x5be1db,_0x1e4630=_0x14f7bd['ZSXLq'](_0x14f7bd['HoWxE'],_0x14716c),_0xa2b942=_0x14f7bd['cgaPI'](_0x14f7bd['Esxki'],_0x14716c),_0x2570ce=this;if(_0x448252[_0x1e4630]||!_0x448252[_0x14716c])return;_0x448252[_0x1e4630]=!![],_0x448252[_0xa2b942]=_0x448252[_0x14716c],_0x448252[_0x14716c]=async()=>{const _0x1be76c=_0x22de39;try{await _0x2570ce[_0x1be76c(0x99)](_0x448252,_0x14716c,_0x59f9bf);}catch(_0x3dba53){logger['error'](_0x1be76c(0x9e)+_0x14716c+_0x1be76c(0x8b)+_0x3dba53);}return await _0x448252[_0xa2b942][_0x1be76c(0xaa)](_0x448252,arguments);};},exports[a78_0x32498a(0xc1)]=_0x62c120=>{const _0x19ba97=a78_0x32498a,_0x113895={};_0x113895[_0x19ba97(0x8e)]=_0x19ba97(0xbd);const _0x31691e=_0x113895,_0x473092={};_0x473092[_0x19ba97(0xa1)]=_0x62c120[_0x19ba97(0xa1)],_0x473092['percyCaptureMode']=_0x62c120[_0x19ba97(0x8d)]||_0x31691e[_0x19ba97(0x8e)];const _0x2e689c=_0x473092;_0x62c120[_0x19ba97(0xa1)]&&(_0x2e689c[_0x19ba97(0xa3)]=exports['getBestPlatformForPercySnapshot'](_0x62c120[_0x19ba97(0x88)]));;return _0x2e689c;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79_0x5f1c40=a79_0x2d95;(function(_0x4589ef,_0x2be222){const _0x2226ae=a79_0x2d95,_0x5f10e2=_0x4589ef();while(!![]){try{const _0x5a7fb1=-parseInt(_0x2226ae(0xe8))/0x1*(parseInt(_0x2226ae(0x137))/0x2)+parseInt(_0x2226ae(0xf6))/0x3*(-parseInt(_0x2226ae(0xf7))/0x4)+parseInt(_0x2226ae(0xfe))/0x5*(-parseInt(_0x2226ae(0x115))/0x6)+parseInt(_0x2226ae(0x134))/0x7+-parseInt(_0x2226ae(0x107))/0x8*(-parseInt(_0x2226ae(0x138))/0x9)+-parseInt(_0x2226ae(0x103))/0xa*(-parseInt(_0x2226ae(0x10c))/0xb)+-parseInt(_0x2226ae(0x10d))/0xc;if(_0x5a7fb1===_0x2be222)break;else _0x5f10e2['push'](_0x5f10e2['shift']());}catch(_0x13254f){_0x5f10e2['push'](_0x5f10e2['shift']());}}}(a79_0x12da,0x8da8a));function a79_0x12da(){const _0x5f3ce1=['47wbRFBQ','SESSION_ANNOTATION','SESSION_STATUS',':auto-capture','sdk:automate','sdk:cleanup','LOCAL_START',':save-results',':driver-manage','PERCY_EVENTS','SDK_PRE_TEST','SDK_APP_AUTOMATE',':get-accessibility-results-summary','SDK_PRE_INITIALIZE','1518603PRbcgO','4SYNdPC','SDK_PERCY','PRE_EXECUTE','SDK_TURBOSCALE','AFTER','SDK_A11Y','SAVE_RESULTS','5FhENxQ','exports','KEEP_ALIVE','AFTER_ALL','sdk:proxy-setup','1561100tViRui',':before-each','SCREENSHOT_APP',':after-all','2360CPfQKT',':hub-management',':screenshot-app','SDK_AUTO_CAPTURE',':local-start','66eMFOtc','6636516dnLVQg',':snapshot',':get-accessibility-results',':session-status','sdk:a11y','QUIT','SDK_HOOK','AUTOMATE_EVENTS','6657018XglZEg','AUTO_CAPTURE','DOWNLOAD',':sync','SDK_CLEANUP','SNAPSHOT','GET','TESTHUB_EVENTS','sdk:turboscale','GENERATE_CI_ARTIFACT','sdk:app-automate',':pre-execute','SDK_DRIVER','START','sdk:auto-capture','HUB_MANAGEMENT',':ci-artifacts','sdk:driver:pre-initialization','sdk:test',':local-stop','PRINT_BUILDLINK','sdk:testhub',':after','BEFORE_EACH',':session-annotation','SDK_O11Y','HOOK_EVENTS',':before-all','A11Y_EVENTS','SYNC','AFTER_EACH','6552518EsZyeN','TURBOSCALE_EVENTS',':print-buildlink','5218BcAnVP','30474QOUXZw',':stop','O11y_EVENTS','PERFORM_SCAN','APP_AUOTMATE_EVENTS','sdk:hook','EVENTS','DRIVER_EVENT',':quit',':start',':keep-alive','SDK_TESTHUB','STOP','SDK_PROXY_SETUP','sdk:post-test',':session-name',':driver-takeScreenShot','SDK_AUTOMATE','SDK_POST_INITIALIZE','LOCAL_STOP',':before',':after-each','GET_RESULTS_SUMMARY','SDK_TEST'];a79_0x12da=function(){return _0x5f3ce1;};return a79_0x12da();}const a79_0x404239={};function a79_0x2d95(_0x449c3c,_0xe14e4){const _0x12da4f=a79_0x12da();return a79_0x2d95=function(_0x2d951a,_0x4f1b9c){_0x2d951a=_0x2d951a-0xd6;let _0x14a2c6=_0x12da4f[_0x2d951a];return _0x14a2c6;},a79_0x2d95(_0x449c3c,_0xe14e4);}a79_0x404239['SDK_SETUP']='sdk:setup',a79_0x404239[a79_0x5f1c40(0x119)]=a79_0x5f1c40(0xed),a79_0x404239[a79_0x5f1c40(0xf2)]='sdk:pre-test',a79_0x404239[a79_0x5f1c40(0xe7)]=a79_0x5f1c40(0x127),a79_0x404239['SDK_POST_TEST']=a79_0x5f1c40(0xde),a79_0x404239[a79_0x5f1c40(0x113)]=a79_0x5f1c40(0x13d),a79_0x404239[a79_0x5f1c40(0x121)]='sdk:driver',a79_0x404239['SDK_A11Y']=a79_0x5f1c40(0x111),a79_0x404239[a79_0x5f1c40(0x12e)]='sdk:o11y',a79_0x404239[a79_0x5f1c40(0x10a)]=a79_0x5f1c40(0x123),a79_0x404239[a79_0x5f1c40(0xdd)]=a79_0x5f1c40(0x102),a79_0x404239[a79_0x5f1c40(0xdb)]=a79_0x5f1c40(0x12a),a79_0x404239['SDK_AUTOMATE']=a79_0x5f1c40(0xec),a79_0x404239[a79_0x5f1c40(0xf3)]=a79_0x5f1c40(0x11f),a79_0x404239['SDK_TURBOSCALE']=a79_0x5f1c40(0x11d),a79_0x404239[a79_0x5f1c40(0xf8)]='sdk:percy',a79_0x404239[a79_0x5f1c40(0xf5)]=a79_0x5f1c40(0x126),a79_0x404239[a79_0x5f1c40(0xe2)]='sdk:driver:post-initialization';const SDK_EVENTS=a79_0x404239,a79_0x31bf0b={};a79_0x31bf0b[a79_0x5f1c40(0xd6)]=SDK_EVENTS,a79_0x31bf0b[a79_0x5f1c40(0x11c)]={},a79_0x31bf0b[a79_0x5f1c40(0x114)]={},a79_0x31bf0b[a79_0x5f1c40(0x131)]={},a79_0x31bf0b[a79_0x5f1c40(0xf1)]={},a79_0x31bf0b[a79_0x5f1c40(0x13a)]={},a79_0x31bf0b[a79_0x5f1c40(0x12f)]={},a79_0x31bf0b[a79_0x5f1c40(0x135)]={},a79_0x31bf0b[a79_0x5f1c40(0x13c)]={},a79_0x31bf0b[a79_0x5f1c40(0xd7)]={},a79_0x31bf0b[a79_0x5f1c40(0x11c)]['START']=SDK_EVENTS['SDK_TESTHUB']+a79_0x5f1c40(0xd9),a79_0x31bf0b[a79_0x5f1c40(0x11c)][a79_0x5f1c40(0xdc)]=SDK_EVENTS[a79_0x5f1c40(0xdb)]+a79_0x5f1c40(0x139),a79_0x31bf0b[a79_0x5f1c40(0x114)][a79_0x5f1c40(0x100)]=SDK_EVENTS['SDK_AUTOMATE']+a79_0x5f1c40(0xda),a79_0x31bf0b[a79_0x5f1c40(0x114)][a79_0x5f1c40(0x124)]=SDK_EVENTS[a79_0x5f1c40(0xe1)]+a79_0x5f1c40(0x108),a79_0x31bf0b[a79_0x5f1c40(0x114)][a79_0x5f1c40(0xee)]=SDK_EVENTS[a79_0x5f1c40(0xe1)]+a79_0x5f1c40(0x10b),a79_0x31bf0b[a79_0x5f1c40(0x114)][a79_0x5f1c40(0xe3)]=SDK_EVENTS[a79_0x5f1c40(0xe1)]+a79_0x5f1c40(0x128),a79_0x31bf0b[a79_0x5f1c40(0x114)]['DRIVER_MANAGE']=SDK_EVENTS[a79_0x5f1c40(0xe1)]+a79_0x5f1c40(0xf0),a79_0x31bf0b[a79_0x5f1c40(0x114)]['SESSION_NAME']=SDK_EVENTS[a79_0x5f1c40(0xe1)]+a79_0x5f1c40(0xdf),a79_0x31bf0b[a79_0x5f1c40(0x114)][a79_0x5f1c40(0xea)]=SDK_EVENTS[a79_0x5f1c40(0xe1)]+a79_0x5f1c40(0x110),a79_0x31bf0b[a79_0x5f1c40(0x114)][a79_0x5f1c40(0xe9)]=SDK_EVENTS['SDK_AUTOMATE']+a79_0x5f1c40(0x12d),a79_0x31bf0b[a79_0x5f1c40(0x114)]['IDLE_TIMEOUT']=SDK_EVENTS[a79_0x5f1c40(0xe1)]+':idle-timeout',a79_0x31bf0b[a79_0x5f1c40(0x114)][a79_0x5f1c40(0x11e)]=SDK_EVENTS['SDK_AUTOMATE']+a79_0x5f1c40(0x125),a79_0x31bf0b[a79_0x5f1c40(0x114)][a79_0x5f1c40(0x129)]=SDK_EVENTS[a79_0x5f1c40(0xe1)]+':print-buildlink',a79_0x31bf0b[a79_0x5f1c40(0x131)][a79_0x5f1c40(0x13b)]=SDK_EVENTS[a79_0x5f1c40(0xfc)]+':driver-performscan',a79_0x31bf0b[a79_0x5f1c40(0x131)][a79_0x5f1c40(0xfd)]=SDK_EVENTS[a79_0x5f1c40(0xfc)]+a79_0x5f1c40(0xef),a79_0x31bf0b[a79_0x5f1c40(0x131)]['GET_RESULTS']=SDK_EVENTS[a79_0x5f1c40(0xfc)]+a79_0x5f1c40(0x10f),a79_0x31bf0b[a79_0x5f1c40(0x131)][a79_0x5f1c40(0xe6)]=SDK_EVENTS[a79_0x5f1c40(0xfc)]+a79_0x5f1c40(0xf4),a79_0x31bf0b[a79_0x5f1c40(0xf1)][a79_0x5f1c40(0x117)]=SDK_EVENTS['SDK_PERCY']+':download',a79_0x31bf0b[a79_0x5f1c40(0xf1)]['SCREENSHOT']=SDK_EVENTS[a79_0x5f1c40(0xf8)]+':screenshot',a79_0x31bf0b[a79_0x5f1c40(0xf1)][a79_0x5f1c40(0x122)]=SDK_EVENTS['SDK_PERCY']+a79_0x5f1c40(0xd9),a79_0x31bf0b[a79_0x5f1c40(0xf1)][a79_0x5f1c40(0xdc)]=SDK_EVENTS[a79_0x5f1c40(0xf8)]+a79_0x5f1c40(0x139),a79_0x31bf0b[a79_0x5f1c40(0xf1)][a79_0x5f1c40(0x116)]=SDK_EVENTS['SDK_PERCY']+a79_0x5f1c40(0xeb),a79_0x31bf0b[a79_0x5f1c40(0xf1)][a79_0x5f1c40(0x11a)]=SDK_EVENTS[a79_0x5f1c40(0xf8)]+a79_0x5f1c40(0x10e),a79_0x31bf0b[a79_0x5f1c40(0xf1)][a79_0x5f1c40(0x105)]=SDK_EVENTS['SDK_PERCY']+a79_0x5f1c40(0x109),a79_0x31bf0b[a79_0x5f1c40(0x13a)][a79_0x5f1c40(0x132)]=SDK_EVENTS[a79_0x5f1c40(0x12e)]+a79_0x5f1c40(0x118),a79_0x31bf0b[a79_0x5f1c40(0x13a)]['TAKE_SCREENSHOT']=SDK_EVENTS['SDK_O11Y']+a79_0x5f1c40(0xe0),a79_0x31bf0b[a79_0x5f1c40(0x13a)][a79_0x5f1c40(0x129)]=SDK_EVENTS['SDK_O11Y']+a79_0x5f1c40(0x136),a79_0x31bf0b[a79_0x5f1c40(0x12f)][a79_0x5f1c40(0x12c)]=SDK_EVENTS[a79_0x5f1c40(0x113)]+a79_0x5f1c40(0x104),a79_0x31bf0b[a79_0x5f1c40(0x12f)][a79_0x5f1c40(0x133)]=SDK_EVENTS[a79_0x5f1c40(0x113)]+a79_0x5f1c40(0xe5),a79_0x31bf0b[a79_0x5f1c40(0x12f)][a79_0x5f1c40(0x101)]=SDK_EVENTS[a79_0x5f1c40(0x113)]+a79_0x5f1c40(0x106),a79_0x31bf0b[a79_0x5f1c40(0x12f)]['BEFORE_ALL']=SDK_EVENTS[a79_0x5f1c40(0x113)]+a79_0x5f1c40(0x130),a79_0x31bf0b[a79_0x5f1c40(0x12f)]['BEFORE']=SDK_EVENTS[a79_0x5f1c40(0x113)]+a79_0x5f1c40(0xe4),a79_0x31bf0b[a79_0x5f1c40(0x12f)][a79_0x5f1c40(0xfb)]=SDK_EVENTS[a79_0x5f1c40(0x113)]+a79_0x5f1c40(0x12b),a79_0x31bf0b[a79_0x5f1c40(0x135)][a79_0x5f1c40(0x124)]=SDK_EVENTS[a79_0x5f1c40(0xfa)]+':hub-management',a79_0x31bf0b[a79_0x5f1c40(0x135)][a79_0x5f1c40(0x129)]=SDK_EVENTS[a79_0x5f1c40(0xfa)]+a79_0x5f1c40(0x136),a79_0x31bf0b[a79_0x5f1c40(0x13c)]['APP_UPLOAD']=SDK_EVENTS['SDK_APP_AUTOMATE']+':app-upload',a79_0x31bf0b[a79_0x5f1c40(0xd7)][a79_0x5f1c40(0x112)]=SDK_EVENTS[a79_0x5f1c40(0x121)]+a79_0x5f1c40(0xd8),a79_0x31bf0b[a79_0x5f1c40(0xd7)][a79_0x5f1c40(0x11b)]=SDK_EVENTS[a79_0x5f1c40(0x121)]+':get',a79_0x31bf0b[a79_0x5f1c40(0xd7)][a79_0x5f1c40(0xf9)]=SDK_EVENTS['SDK_DRIVER']+a79_0x5f1c40(0x120),a79_0x31bf0b[a79_0x5f1c40(0xd7)]['POST_EXECUTE']=SDK_EVENTS[a79_0x5f1c40(0x121)]+':post-execute',module[a79_0x5f1c40(0xff)]=a79_0x31bf0b;
|