browserstack-node-sdk 1.32.5 → 1.32.7
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/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/templates/azureresources/akscluster.json +57 -3
- package/ats/src/templates/azureresources/storageaccount.json +8 -8
- 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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.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 +58 -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.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/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/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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.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/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-tester.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/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 a59_0x56df9c=a59_0x3d7a;(function(_0x3e08a1,_0x5b9460){const _0x9ed2b0=a59_0x3d7a,_0x36cb84=_0x3e08a1();while(!![]){try{const _0x3fdb82=parseInt(_0x9ed2b0(0x1a1))/0x1*(parseInt(_0x9ed2b0(0x1ad))/0x2)+-parseInt(_0x9ed2b0(0x1ab))/0x3+parseInt(_0x9ed2b0(0x1a9))/0x4*(-parseInt(_0x9ed2b0(0x1a3))/0x5)+-parseInt(_0x9ed2b0(0x1af))/0x6*(-parseInt(_0x9ed2b0(0x1a7))/0x7)+-parseInt(_0x9ed2b0(0x1bd))/0x8*(-parseInt(_0x9ed2b0(0x1a8))/0x9)+-parseInt(_0x9ed2b0(0x1a4))/0xa+-parseInt(_0x9ed2b0(0x1a0))/0xb*(-parseInt(_0x9ed2b0(0x19c))/0xc);if(_0x3fdb82===_0x5b9460)break;else _0x36cb84['push'](_0x36cb84['shift']());}catch(_0x109b0a){_0x36cb84['push'](_0x36cb84['shift']());}}}(a59_0x527d,0xebaef));const winston=require(a59_0x56df9c(0x1ae)),os=require('os'),fs=require('fs'),path=require('path'),logDir='log';!fs['existsSync'](logDir)&&fs[a59_0x56df9c(0x1ba)](logDir);const a59_0x1f101f={};a59_0x1f101f[a59_0x56df9c(0x1a5)]='console.info';const transports={'loggerConsole':new winston[(a59_0x56df9c(0x1bc))][(a59_0x56df9c(0x19f))](a59_0x1f101f),'loggerFile':new winston['transports'][(a59_0x56df9c(0x1a2))]({'filename':path[a59_0x56df9c(0x1b9)](logDir,a59_0x56df9c(0x1b2))}),'debugLoggerFile':new winston[(a59_0x56df9c(0x1bc))][(a59_0x56df9c(0x1a2))]({'filename':path[a59_0x56df9c(0x1b9)](os['tmpdir'](),'/usage-debug.log'),'level':a59_0x56df9c(0x1b3)})},a59_0x298764={};function a59_0x3d7a(_0x2d5750,_0x313484){const _0x527d42=a59_0x527d();return a59_0x3d7a=function(_0x3d7a75,_0x272dc7){_0x3d7a75=_0x3d7a75-0x19c;let _0x10308a=_0x527d42[_0x3d7a75];return _0x10308a;},a59_0x3d7a(_0x2d5750,_0x313484);}a59_0x298764[a59_0x56df9c(0x1be)]=a59_0x56df9c(0x1b4);const a59_0x58fa2e={};function a59_0x527d(){const _0x51fabb=['3157389VimzQf','fileLogger','332DVIgCL','winston','2178714VvLKsh','loggerConsole','level','/usage.log','debug','YYYY-MM-DD\x20HH:mm:ss','timestamp','message','printf','logDir','join','mkdirSync','winstonLogger','transports','1176688MoLmpl','format','32244aATtUi','combine','createLogger','Console','3751bairwJ','11519QnzYdO','File','20IpitSl','14409260yVqmJh','name','debugLoggerFile','7DhLtbU','90vdSIea','1203652wGGJvc','loggerFile'];a59_0x527d=function(){return _0x51fabb;};return a59_0x527d();}a59_0x58fa2e[a59_0x56df9c(0x1b1)]=!![];const winstonLoggerParams={'format':winston['format'][a59_0x56df9c(0x19d)](winston[a59_0x56df9c(0x1be)]['timestamp'](a59_0x298764),winston[a59_0x56df9c(0x1be)]['colorize'](a59_0x58fa2e),winston['format'][a59_0x56df9c(0x1b7)](_0x59e6fa=>_0x59e6fa[a59_0x56df9c(0x1b5)]+'\x20-\x20'+_0x59e6fa['level']+':\x20'+_0x59e6fa[a59_0x56df9c(0x1b6)])),'transports':[transports[a59_0x56df9c(0x1b0)],transports[a59_0x56df9c(0x1aa)],transports[a59_0x56df9c(0x1a6)]]},a59_0x1a9254={};a59_0x1a9254[a59_0x56df9c(0x1bc)]=[transports[a59_0x56df9c(0x1aa)]];const winstonFileLoggerParams=a59_0x1a9254;exports[a59_0x56df9c(0x1bb)]=new winston['createLogger'](winstonLoggerParams),exports[a59_0x56df9c(0x1ac)]=new winston[(a59_0x56df9c(0x19e))](winstonFileLoggerParams),exports[a59_0x56df9c(0x1b8)]=logDir,exports[a59_0x56df9c(0x1bc)]=transports;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a60_0x2c54(_0x4beb0a,_0x51a7d6){var _0x45f650=a60_0x45f6();return a60_0x2c54=function(_0x2c54f2,_0x36d76f){_0x2c54f2=_0x2c54f2-0xd2;var _0x171adc=_0x45f650[_0x2c54f2];return _0x171adc;},a60_0x2c54(_0x4beb0a,_0x51a7d6);}var a60_0x4b0896=a60_0x2c54;(function(_0x870864,_0x5ddb3c){var _0x1baf85=a60_0x2c54,_0x2c44dd=_0x870864();while(!![]){try{var _0x50d767=parseInt(_0x1baf85(0xef))/0x1+parseInt(_0x1baf85(0xd4))/0x2+parseInt(_0x1baf85(0xdf))/0x3*(parseInt(_0x1baf85(0xd8))/0x4)+-parseInt(_0x1baf85(0xf6))/0x5+parseInt(_0x1baf85(0xf3))/0x6+parseInt(_0x1baf85(0xee))/0x7+-parseInt(_0x1baf85(0xea))/0x8*(parseInt(_0x1baf85(0xd5))/0x9);if(_0x50d767===_0x5ddb3c)break;else _0x2c44dd['push'](_0x2c44dd['shift']());}catch(_0x1f4bd6){_0x2c44dd['push'](_0x2c44dd['shift']());}}}(a60_0x45f6,0x193ee),exports[a60_0x4b0896(0xf1)]=_0x37caef=>{var _0x489627=a60_0x4b0896,_0x39c93d={'wjuNv':_0x489627(0xe5),'PWyOs':function(_0x28bb37,_0x62288a){return _0x28bb37!==_0x62288a;},'MdODt':_0x489627(0xe4),'IOYnJ':_0x489627(0xd3),'lPcaA':function(_0x41cf3b,_0x3562ef){return _0x41cf3b(_0x3562ef);}},_0x37e535=_0x39c93d[_0x489627(0xf7)][_0x489627(0xe6)]('|'),_0x36e6e4=0x0;while(!![]){switch(_0x37e535[_0x36e6e4++]){case'0':_0x37caef['patchScreenshot']=!![];continue;case'1':if(_0x39c93d[_0x489627(0xe8)](process[_0x489627(0xe0)]['BS_TESTOPS_ALLOW_SCREENSHOTS'],_0x39c93d[_0x489627(0xd9)]))return;continue;case'2':if(_0x37caef[_0x489627(0xf5)])return;continue;case'3':_0x37caef[_0x489627(0xf4)]=()=>{var _0x471632=_0x489627,_0x3eb134={'hLLbD':_0x3f20ec[_0x471632(0xf2)],'SKEEe':function(_0x2706df,_0x1c0111){var _0x478539=_0x471632;return _0x3f20ec[_0x478539(0xdb)](_0x2706df,_0x1c0111);}};return new Promise(function(_0x116347,_0x19b526){var _0x13767e=_0x471632;_0x37caef[_0x13767e(0xe3)]()[_0x13767e(0xde)](_0x2d709c=>{var _0x2eedc3=_0x13767e;process[_0x2eedc3(0xeb)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x2eedc3(0xd6)](),'message':_0x2d709c,'kind':_0x3eb134['hLLbD']}),_0x3eb134[_0x2eedc3(0xe7)](_0x116347,_0x2d709c);});});};continue;case'4':var _0x3f20ec={'HpYcx':_0x39c93d[_0x489627(0xe9)],'icHDP':function(_0x28642b,_0x772b38){var _0xfc1443=_0x489627;return _0x39c93d[_0xfc1443(0xdc)](_0x28642b,_0x772b38);}};continue;case'5':_0x37caef[_0x489627(0xe3)]=_0x37caef['takeScreenshot'];continue;}break;}},exports['overrideQuit']=(_0x1f2791,_0xff6ed1=null)=>{var _0x475198=a60_0x4b0896,_0x5d485e={'tButu':_0x475198(0xd7),'BxKcm':function(_0x29cef2){return _0x29cef2();},'MQGQe':function(_0x58c17c,_0x152fc8){return _0x58c17c>_0x152fc8;}},_0x23bdfe=_0x5d485e[_0x475198(0xd2)][_0x475198(0xe6)]('|'),_0x58afe6=0x0;while(!![]){switch(_0x23bdfe[_0x58afe6++]){case'0':_0x1f2791[_0x475198(0xf0)]=_0x1f2791[_0x475198(0xec)];continue;case'1':_0x1f2791[_0x475198(0xe1)]=!![];continue;case'2':_0x1f2791['quit']=()=>{var _0x18d227=_0x475198;if(_0xff6ed1){_0xff6ed1[_0x18d227(0xed)]+=0x1;if(_0x89f925[_0x18d227(0xda)](_0xff6ed1[_0x18d227(0xed)],0x1))return _0x1f2791[_0x18d227(0xf0)]();}else{_0x1f2791[_0x18d227(0xed)]+=0x1;if(_0x89f925[_0x18d227(0xda)](_0x1f2791[_0x18d227(0xed)],0x1))return _0x1f2791[_0x18d227(0xf0)]();}return new Promise(function(_0xb0364b){var _0x5e962b=_0x18d227;_0x89f925[_0x5e962b(0xe2)](_0xb0364b);});};continue;case'3':if(_0x1f2791['patchQuit'])return;continue;case'4':var _0x89f925={'VaNUJ':function(_0x3f40c1){return _0x5d485e['BxKcm'](_0x3f40c1);},'YiXyn':function(_0x40fc9d,_0x4c9920){var _0x25c5d0=_0x475198;return _0x5d485e[_0x25c5d0(0xdd)](_0x40fc9d,_0x4c9920);}};continue;}break;}});function a60_0x45f6(){var _0x2592e3=['YiXyn','icHDP','lPcaA','MQGQe','then','6PNIzEw','env','patchQuit','VaNUJ','initScreenshot','true','4|1|2|0|5|3','split','SKEEe','PWyOs','IOYnJ','232HpENvg','emit','quit','quitCount_','1319213TazWOl','141721YBLPgv','initQuit','overrideTakeScreenshot','HpYcx','561180NJeIXk','takeScreenshot','patchScreenshot','599585nZPgWc','wjuNv','tButu','TEST_SCREENSHOT','42592Jkuade','96561rUNmbl','toISOString','4|3|1|0|2','178916hZkvJn','MdODt'];a60_0x45f6=function(){return _0x2592e3;};return a60_0x45f6();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a61_0x346ac2=a61_0x9a83;(function(_0x5a4141,_0x10b556){const _0x3de31a=a61_0x9a83,_0xb5c202=_0x5a4141();while(!![]){try{const _0x2500d0=parseInt(_0x3de31a(0x1e4))/0x1+-parseInt(_0x3de31a(0x1e3))/0x2+parseInt(_0x3de31a(0x1ab))/0x3+-parseInt(_0x3de31a(0x1ba))/0x4+parseInt(_0x3de31a(0x1f9))/0x5*(-parseInt(_0x3de31a(0x1bb))/0x6)+parseInt(_0x3de31a(0x1c4))/0x7+parseInt(_0x3de31a(0x1e8))/0x8*(parseInt(_0x3de31a(0x1a5))/0x9);if(_0x2500d0===_0x10b556)break;else _0xb5c202['push'](_0xb5c202['shift']());}catch(_0x183dea){_0xb5c202['push'](_0xb5c202['shift']());}}}(a61_0x3097,0xce422));const fs=require('fs'),path=require(a61_0x346ac2(0x183)),os=require('os'),{spawn}=require('child_process'),helper=require(a61_0x346ac2(0x187)),logger=require(a61_0x346ac2(0x18e))[a61_0x346ac2(0x1d0)],{logDir}=require(a61_0x346ac2(0x18e)),PercyBinary=require('./PercyBinary');function a61_0x9a83(_0x1a1a91,_0x4dc821){const _0x3097ba=a61_0x3097();return a61_0x9a83=function(_0x9a837f,_0x12be4e){_0x9a837f=_0x9a837f-0x178;let _0x39ca59=_0x3097ba[_0x9a837f];return _0x39ca59;},a61_0x9a83(_0x1a1a91,_0x4dc821);}class Percy{#logfile=path['join'](logDir,'percy.log');#address=process[a61_0x346ac2(0x1cd)][a61_0x346ac2(0x1ce)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#isApp=![];['isProcessRunning']=![];constructor(_0x18f221){const _0x5d2549=a61_0x346ac2,_0x1fe646={'BoXgv':function(_0x22b375,_0x3898c5){return _0x22b375(_0x3898c5);},'vgTYC':function(_0x1679eb,_0x4b49f5){return _0x1679eb+_0x4b49f5;},'NfCzz':_0x5d2549(0x1c5),'ACfJj':function(_0x8ff919,_0x20cf21){return _0x8ff919(_0x20cf21);},'eEYlX':function(_0x24fc74,_0x5a70b6){return _0x24fc74!==_0x5a70b6;},'AZqUf':_0x5d2549(0x1d4)};this.#config=_0x18f221,!!_0x18f221[_0x5d2549(0x191)]&&(_0x1fe646[_0x5d2549(0x1c3)](_0x1fe646['AZqUf'],_0x1fe646[_0x5d2549(0x1b0)])?_0x48b47a['writeFile'](_0x6d35c6,_0x9c898b[_0x5d2549(0x198)](_0x35685b),_0x5ef0a6=>{const _0x1e52f7=_0x5d2549;_0x5ef0a6&&(_0x45a8b5[_0x1e52f7(0x1a1)]('Error\x20creating\x20percy\x20config:\x20'+_0x5ef0a6),_0x1fe646['BoXgv'](_0x30e2fc,null)),_0x456439[_0x1e52f7(0x19f)](_0x1fe646[_0x1e52f7(0x1bd)](_0x1fe646[_0x1e52f7(0x18c)],_0x5a78c2)),_0x1fe646[_0x1e52f7(0x1d5)](_0x3633a4,_0x44b318);}):this.#isApp=!![]);}async #getBinaryPath(){const _0x444557=a61_0x346ac2,_0x4e9f69={'AftZT':function(_0x57cd3d,_0x26ddf3){return _0x57cd3d(_0x26ddf3);},'kwQCx':function(_0x4bdeaa,_0x4607a6){return _0x4bdeaa!==_0x4607a6;},'Azdzd':_0x444557(0x1a7),'ELAuJ':'umdRe'};if(!this.#binaryPath){if(_0x4e9f69[_0x444557(0x1a0)](_0x4e9f69[_0x444557(0x17b)],_0x4e9f69[_0x444557(0x1ec)])){const _0x2bf109=new PercyBinary();this.#binaryPath=await _0x2bf109[_0x444557(0x1e7)](this.#config);}else this[_0x444557(0x193)]=![],_0x4e9f69[_0x444557(0x1db)](_0x2d3ba5,_0x1d1865);}return this.#binaryPath;}async #sleep(_0x4852a0){return new Promise(_0x2c42fb=>setTimeout(_0x2c42fb,_0x4852a0));}async[a61_0x346ac2(0x1aa)](){const _0x32e850=a61_0x346ac2,_0x59d218={'qLjtE':function(_0x12e399,_0x8737e7){return _0x12e399(_0x8737e7);},'vhxHE':function(_0x4a9574,_0x406155,_0x1bebf8){return _0x4a9574(_0x406155,_0x1bebf8);},'xMIsU':'exec:stop','SPamm':_0x32e850(0x1be),'lCHbd':function(_0x353fbb,_0x29949a){return _0x353fbb!==_0x29949a;},'sSnbn':_0x32e850(0x17f),'srSUH':_0x32e850(0x1b4),'mrnGt':_0x32e850(0x1c7),'Akjqq':function(_0x573ce3,_0x2ec282){return _0x573ce3!==_0x2ec282;},'vRwFR':'mvoQW','WnIHm':'tMKIe','hlwEe':function(_0x22fd08,_0x258a76){return _0x22fd08===_0x258a76;},'RUFWW':_0x32e850(0x1c6),'thSAd':_0x32e850(0x1b2)};try{if(_0x59d218['lCHbd'](_0x59d218[_0x32e850(0x196)],_0x59d218[_0x32e850(0x196)]))return null;else{const _0x96b31d=await helper['nodeRequest'](_0x59d218[_0x32e850(0x1ef)],_0x59d218[_0x32e850(0x19a)],null,null,this.#address);if(_0x96b31d){if(_0x59d218[_0x32e850(0x1a4)](_0x59d218[_0x32e850(0x1a9)],_0x59d218[_0x32e850(0x1e5)]))return!![];else _0x3b006a[_0x32e850(0x1a1)]('Error\x20creating\x20percy\x20config:\x20'+_0x83e605),_0x59d218[_0x32e850(0x1a8)](_0x3cb060,null);}}}catch(_0x28a3fb){if(_0x59d218['hlwEe'](_0x59d218[_0x32e850(0x1b5)],_0x59d218[_0x32e850(0x199)])){const _0x1387cb=_0x59d218['vhxHE'](_0x298958,_0x2ee3ae,[_0x59d218[_0x32e850(0x17c)]]);_0x1387cb['on'](_0x59d218[_0x32e850(0x1f5)],_0x582e13=>{const _0x1ce38c=_0x32e850;this['isProcessRunning']=![],_0x59d218[_0x1ce38c(0x1a8)](_0x57e51b,_0x582e13);});}else return![];}}async[a61_0x346ac2(0x18a)](){const _0x4936ee=a61_0x346ac2,_0x3eac69={'WeaiV':function(_0x301a3e,_0x7bc920){return _0x301a3e===_0x7bc920;},'ZJPlg':'ZpjFN','Gjuyp':_0x4936ee(0x19e),'jUBDq':function(_0x1e268b,_0x3b4866){return _0x1e268b===_0x3b4866;},'jTnYI':_0x4936ee(0x190),'rCTyu':_0x4936ee(0x1f7),'UfqAM':_0x4936ee(0x1b6),'QISME':_0x4936ee(0x1f4),'Vtlvq':function(_0x33899d,_0x14d908){return _0x33899d!==_0x14d908;},'ugwGW':_0x4936ee(0x195),'LgAuZ':_0x4936ee(0x1ee),'gZSNO':function(_0x1c365a,_0x4e5ae3,_0x2cb899,_0x25ba61){return _0x1c365a(_0x4e5ae3,_0x2cb899,_0x25ba61);},'EDhRh':'close','GMfJK':function(_0x2a80fa,_0x50bd6c){return _0x2a80fa!==_0x50bd6c;},'jQiIM':'kGXyA','qQVJp':'fvDiH','pNuPt':function(_0x3c3173,_0x1009b4){return _0x3c3173===_0x1009b4;},'nYDGl':_0x4936ee(0x1c2),'FFNxR':'Percy\x20healthcheck\x20successful'},_0x5dce11=await this.#getBinaryPath(),_0xe95903={};_0xe95903[_0x4936ee(0x19b)]='a';const _0x14caeb=fs[_0x4936ee(0x1c8)](this.#logfile,_0xe95903),_0x2096a1=await this['fetchPercyToken'](),_0x4d9629=await this['createPercyConfig']();if(!_0x2096a1)return _0x3eac69['jUBDq'](_0x3eac69['jTnYI'],_0x3eac69[_0x4936ee(0x1de)])?![]:![];const _0x4dc8be=[(this.#isApp?_0x3eac69['UfqAM']:_0x3eac69[_0x4936ee(0x178)])+_0x4936ee(0x17d)];if(_0x4d9629){if(_0x3eac69[_0x4936ee(0x1bf)](_0x3eac69[_0x4936ee(0x1b7)],_0x3eac69[_0x4936ee(0x1f0)]))_0x4dc8be[_0x4936ee(0x194)]('-c',_0x4d9629);else return![];}const _0x2fe9e3={};_0x2fe9e3['PERCY_TOKEN']=_0x2096a1,this.#proc=_0x3eac69[_0x4936ee(0x185)](spawn,_0x5dce11,_0x4dc8be,{'env':Object['assign'](process[_0x4936ee(0x1cd)],_0x2fe9e3)}),this.#proc[_0x4936ee(0x1ca)][_0x4936ee(0x1c0)](_0x14caeb),this.#proc[_0x4936ee(0x1f8)]['pipe'](_0x14caeb),this[_0x4936ee(0x193)]=!![];var _0x3b9934=this;this.#proc['on'](_0x3eac69[_0x4936ee(0x1f1)],function(_0x10523f){const _0xa61644=_0x4936ee;_0x3eac69[_0xa61644(0x1f2)](_0x3eac69[_0xa61644(0x1d7)],_0x3eac69['Gjuyp'])?_0x2b1fce['isProcessRunning']=![]:_0x3b9934['isProcessRunning']=![];});do{if(_0x3eac69['GMfJK'](_0x3eac69[_0x4936ee(0x1d1)],_0x3eac69['qQVJp'])){const _0x53a828=await this[_0x4936ee(0x1aa)]();if(_0x53a828){if(_0x3eac69['pNuPt'](_0x3eac69[_0x4936ee(0x1ed)],_0x3eac69[_0x4936ee(0x1ed)]))return logger[_0x4936ee(0x19f)](_0x3eac69[_0x4936ee(0x1ae)]),!![];else _0x439d7d[_0x4936ee(0x194)]('-c',_0x54316e);}await this.#sleep(0x3e8);}else _0x22083d['version']='2';}while(this['isProcessRunning']);return![];}async[a61_0x346ac2(0x1dd)](){const _0x42bff0=a61_0x346ac2,_0x1377bd={'zfYAH':function(_0x17e981,_0x5abe21){return _0x17e981(_0x5abe21);},'QQtKX':function(_0x51a8f4,_0x472fb6){return _0x51a8f4+_0x472fb6;},'PXvEE':_0x42bff0(0x1c5),'Rwrww':function(_0x335508,_0x46a50b){return _0x335508(_0x46a50b);},'KpvYk':function(_0x1688a1,_0x22eeaf){return _0x1688a1!==_0x22eeaf;},'NICkV':_0x42bff0(0x186),'OvpVg':_0x42bff0(0x1a3),'xXncW':function(_0x3fd0f8,_0x1676f2){return _0x3fd0f8(_0x1676f2);},'ZMawx':function(_0x2a44b2,_0x3d0502){return _0x2a44b2!==_0x3d0502;},'uomFj':_0x42bff0(0x1fc),'VwVLa':function(_0xde855c,_0xa64187,_0x5ad8b1){return _0xde855c(_0xa64187,_0x5ad8b1);},'qcaNy':_0x42bff0(0x18b),'rSNqu':_0x42bff0(0x1be)},_0x4b1783=await this.#getBinaryPath();return new Promise((_0x3f6a32,_0x4fcc18)=>{const _0x19e1c3=_0x42bff0,_0x5eeb80={'WUGsE':function(_0xca207a,_0xca55ed){const _0x330e52=a61_0x9a83;return _0x1377bd[_0x330e52(0x17a)](_0xca207a,_0xca55ed);},'VvvUt':_0x1377bd[_0x19e1c3(0x1e0)],'wKDHo':_0x1377bd[_0x19e1c3(0x1dc)],'LQDZO':function(_0x48e26a,_0x2e8504){const _0x202888=_0x19e1c3;return _0x1377bd[_0x202888(0x1b1)](_0x48e26a,_0x2e8504);}};if(_0x1377bd[_0x19e1c3(0x19c)](_0x1377bd['uomFj'],_0x1377bd['uomFj']))_0x2b08c9&&(_0x425a02['error'](_0x19e1c3(0x1f3)+_0x44a052),_0x1377bd[_0x19e1c3(0x1b8)](_0x975eaa,null)),_0x21903a[_0x19e1c3(0x19f)](_0x1377bd[_0x19e1c3(0x1ad)](_0x1377bd['PXvEE'],_0xbb54bd)),_0x1377bd[_0x19e1c3(0x18f)](_0x2ca0be,_0x24341c);else{const _0x145586=_0x1377bd[_0x19e1c3(0x179)](spawn,_0x4b1783,[_0x1377bd['qcaNy']]);_0x145586['on'](_0x1377bd[_0x19e1c3(0x1d9)],_0x13831d=>{const _0x4381d7=_0x19e1c3;if(_0x5eeb80['WUGsE'](_0x5eeb80[_0x4381d7(0x1b9)],_0x5eeb80['wKDHo']))this['isProcessRunning']=![],_0x5eeb80[_0x4381d7(0x18d)](_0x3f6a32,_0x13831d);else return!![];});}});}[a61_0x346ac2(0x1e1)](){const _0x4651ce=a61_0x346ac2;return this[_0x4651ce(0x193)];}async[a61_0x346ac2(0x19d)](){const _0x2f5367=a61_0x346ac2,_0x1ec914={};_0x1ec914[_0x2f5367(0x1c9)]=function(_0x32a730,_0x55feee){return _0x32a730!==_0x55feee;},_0x1ec914[_0x2f5367(0x1e6)]=_0x2f5367(0x1af),_0x1ec914[_0x2f5367(0x1ea)]=_0x2f5367(0x191),_0x1ec914['NuExQ']=_0x2f5367(0x197),_0x1ec914[_0x2f5367(0x1a6)]='GET',_0x1ec914[_0x2f5367(0x1a2)]='Percy\x20fetch\x20token\x20success',_0x1ec914['XQqWQ']=function(_0x1b6873,_0xed6baf){return _0x1b6873!==_0xed6baf;},_0x1ec914[_0x2f5367(0x1b3)]=_0x2f5367(0x1e9);const _0x54f999=_0x1ec914,_0x3546f3=this.#config[_0x2f5367(0x1eb)];try{if(_0x54f999[_0x2f5367(0x1c9)](_0x54f999['ntRnP'],_0x54f999[_0x2f5367(0x1e6)]))return this[_0x2f5367(0x193)];else{const _0x308aa2=this.#isApp?_0x54f999[_0x2f5367(0x1ea)]:_0x54f999[_0x2f5367(0x1cf)],_0xd4b49b=await helper[_0x2f5367(0x1cb)](_0x54f999[_0x2f5367(0x1a6)],_0x2f5367(0x1f6)+_0x3546f3+_0x2f5367(0x1d3)+_0x308aa2,{},this.#config),_0x19750b=_0xd4b49b[_0x2f5367(0x1cc)];return logger[_0x2f5367(0x19f)](_0x54f999['FfBMP']),_0x19750b[_0x2f5367(0x182)];}}catch(_0x209828){return _0x54f999[_0x2f5367(0x1d6)](_0x54f999[_0x2f5367(0x1b3)],_0x54f999[_0x2f5367(0x1b3)])?(_0x3d122e[_0x2f5367(0x1a1)]('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x43b712),null):(logger[_0x2f5367(0x1a1)](_0x2f5367(0x1ac)+_0x209828),null);}}async['createPercyConfig'](){const _0x2a69d6=a61_0x346ac2,_0x4f37e8={'Fnocu':_0x2a69d6(0x188),'gDchV':function(_0x3d75a3,_0x23342f){return _0x3d75a3(_0x23342f);},'PKXuq':function(_0x31842b,_0x9ded75){return _0x31842b+_0x9ded75;},'hGIpz':_0x2a69d6(0x1c5),'HtxfW':function(_0x58e02a,_0x15f8a4){return _0x58e02a!==_0x15f8a4;},'wiTuq':'lNqaA','budqw':'percy.json','NQDnV':_0x2a69d6(0x192),'JlHxw':_0x2a69d6(0x1fb)};if(!this.#config['percyOptions'])return _0x4f37e8[_0x2a69d6(0x1d2)](_0x4f37e8[_0x2a69d6(0x1d8)],_0x4f37e8[_0x2a69d6(0x1d8)])?(_0x54e179[_0x2a69d6(0x19f)](_0x4f37e8[_0x2a69d6(0x1df)]),!![]):null;const _0x3c1470=path[_0x2a69d6(0x184)](os[_0x2a69d6(0x180)](),_0x4f37e8[_0x2a69d6(0x17e)]),_0xc085da=this.#config[_0x2a69d6(0x1fa)];if(!_0xc085da[_0x2a69d6(0x1e2)]){if(_0x4f37e8[_0x2a69d6(0x1d2)](_0x4f37e8['NQDnV'],_0x4f37e8[_0x2a69d6(0x181)]))_0xc085da['version']='2';else return new _0x2bb876(_0x5b3467=>_0x57aa89(_0x5b3467,_0x523ced));}return new Promise((_0xb412af,_0x2648b8)=>{const _0x13e3c5=_0x2a69d6;fs[_0x13e3c5(0x1c1)](_0x3c1470,JSON[_0x13e3c5(0x198)](_0xc085da),_0xbc2c78=>{const _0xe02f7a=_0x13e3c5;_0xbc2c78&&(logger['error'](_0xe02f7a(0x1f3)+_0xbc2c78),_0x4f37e8['gDchV'](_0xb412af,null)),logger[_0xe02f7a(0x19f)](_0x4f37e8[_0xe02f7a(0x1da)](_0x4f37e8[_0xe02f7a(0x1bc)],_0x3c1470)),_0x4f37e8['gDchV'](_0xb412af,_0x3c1470);});});}}function a61_0x3097(){const _0x4427a6=['../helper','Percy\x20healthcheck\x20successful','exports','start','exec:stop','NfCzz','LQDZO','../logger','Rwrww','RHLaA','app','bOJIC','isProcessRunning','push','njGTw','sSnbn','automate','stringify','thSAd','mrnGt','flags','ZMawx','fetchPercyToken','WWyPB','debug','kwQCx','error','FfBMP','NNSsh','Akjqq','18MDpqVN','nsTbZ','aWRre','qLjtE','vRwFR','healthcheck','843657qPRQAw','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','QQtKX','FFNxR','zYqeS','AZqUf','xXncW','eBhaY','YKhFe','GET','RUFWW','app:exec','ugwGW','zfYAH','VvvUt','2095492iFlDsH','4890816JFSQzX','hGIpz','vgTYC','close','Vtlvq','pipe','writeFile','FWctI','eEYlX','9117332jHUGjO','Percy\x20config\x20created\x20at\x20','EsjLu','percy/healthcheck','createWriteStream','vMMtx','stdout','nodeRequest','data','env','PERCY_SERVER_ADDRESS','NuExQ','winstonLogger','jQiIM','HtxfW','&type=','UVKAQ','ACfJj','XQqWQ','ZJPlg','wiTuq','rSNqu','PKXuq','AftZT','OvpVg','stop','rCTyu','Fnocu','NICkV','isRunning','version','1968796CyJDoc','167978PDlxkk','WnIHm','ntRnP','getBinaryPath','5666272jYiHmj','csPeu','AnkcF','projectName','ELAuJ','nYDGl','IwxPc','srSUH','LgAuZ','EDhRh','WeaiV','Error\x20creating\x20percy\x20config:\x20','exec','SPamm','api/app_percy/get_project_token?name=','crEGr','stderr','5wwMBeW','percyOptions','ZJudN','VLeTl','QISME','VwVLa','KpvYk','Azdzd','xMIsU',':start','budqw','NVeVH','tmpdir','JlHxw','token','path','join','gZSNO','tGRuT'];a61_0x3097=function(){return _0x4427a6;};return a61_0x3097();}module[a61_0x346ac2(0x189)]=Percy;
|
|
1
|
+
function a61_0x53a8(_0x565142,_0x16aba8){const _0x3cfbde=a61_0x3cfb();return a61_0x53a8=function(_0x53a825,_0x5c763f){_0x53a825=_0x53a825-0x113;let _0x47214a=_0x3cfbde[_0x53a825];return _0x47214a;},a61_0x53a8(_0x565142,_0x16aba8);}const a61_0x278058=a61_0x53a8;(function(_0x195757,_0x52fe08){const _0x28f797=a61_0x53a8,_0x4cdd90=_0x195757();while(!![]){try{const _0x4cb0de=-parseInt(_0x28f797(0x11d))/0x1+-parseInt(_0x28f797(0x118))/0x2*(-parseInt(_0x28f797(0x155))/0x3)+-parseInt(_0x28f797(0x156))/0x4*(-parseInt(_0x28f797(0x117))/0x5)+parseInt(_0x28f797(0x13d))/0x6+parseInt(_0x28f797(0x127))/0x7+-parseInt(_0x28f797(0x14e))/0x8+parseInt(_0x28f797(0x13b))/0x9;if(_0x4cb0de===_0x52fe08)break;else _0x4cdd90['push'](_0x4cdd90['shift']());}catch(_0x40ce3f){_0x4cdd90['push'](_0x4cdd90['shift']());}}}(a61_0x3cfb,0xe13b3));const fs=require('fs'),path=require(a61_0x278058(0x14f)),os=require('os'),{spawn}=require(a61_0x278058(0x143)),helper=require(a61_0x278058(0x12f)),logger=require(a61_0x278058(0x129))[a61_0x278058(0x130)],{logDir}=require(a61_0x278058(0x129)),PercyBinary=require(a61_0x278058(0x138));class Percy{#logfile=path[a61_0x278058(0x12c)](logDir,a61_0x278058(0x158));#address=process[a61_0x278058(0x140)][a61_0x278058(0x115)]||a61_0x278058(0x149);#binaryPath=null;#config=null;#proc=null;#isApp=![];[a61_0x278058(0x133)]=![];constructor(_0x3729b4){const _0xc70bc0=a61_0x278058;this.#config=_0x3729b4,!!_0x3729b4[_0xc70bc0(0x121)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x5d40f0=a61_0x278058;if(!this.#binaryPath){const _0x55115e=new PercyBinary();this.#binaryPath=await _0x55115e[_0x5d40f0(0x153)](this.#config);}return this.#binaryPath;}async #sleep(_0x523298){return new Promise(_0x42380d=>setTimeout(_0x42380d,_0x523298));}async[a61_0x278058(0x151)](){const _0x24f023=a61_0x278058,_0x11915f={};_0x11915f[_0x24f023(0x11e)]=_0x24f023(0x119),_0x11915f['yyfri']='percy/healthcheck';const _0x42b8e1=_0x11915f;try{const _0x450708=await helper[_0x24f023(0x14c)](_0x42b8e1[_0x24f023(0x11e)],_0x42b8e1[_0x24f023(0x128)],null,null,this.#address);if(_0x450708)return!![];}catch(_0x19ea5b){return![];}}async[a61_0x278058(0x116)](){const _0xf5b8e7=a61_0x278058,_0x5524e4={'KyOAR':'app:exec','YRfgO':_0xf5b8e7(0x12a),'xteYS':function(_0x56db3d,_0x489acd,_0x145e7e,_0x64ce68){return _0x56db3d(_0x489acd,_0x145e7e,_0x64ce68);},'iXUWd':'close','unKTP':_0xf5b8e7(0x120)},_0x5a4313=await this.#getBinaryPath(),_0x38fbaf={};_0x38fbaf[_0xf5b8e7(0x13e)]='a';const _0x2c565d=fs[_0xf5b8e7(0x139)](this.#logfile,_0x38fbaf),_0x311dbe=await this['fetchPercyToken'](),_0x13048d=await this[_0xf5b8e7(0x147)]();if(!_0x311dbe)return![];const _0x2f1295=[(this.#isApp?_0x5524e4['KyOAR']:_0x5524e4[_0xf5b8e7(0x124)])+_0xf5b8e7(0x137)];_0x13048d&&_0x2f1295[_0xf5b8e7(0x114)]('-c',_0x13048d);const _0x369bbe={};_0x369bbe[_0xf5b8e7(0x154)]=_0x311dbe,this.#proc=_0x5524e4['xteYS'](spawn,_0x5a4313,_0x2f1295,{'env':Object[_0xf5b8e7(0x144)](process['env'],_0x369bbe)}),this.#proc[_0xf5b8e7(0x12e)]['pipe'](_0x2c565d),this.#proc[_0xf5b8e7(0x150)][_0xf5b8e7(0x122)](_0x2c565d),this[_0xf5b8e7(0x133)]=!![];var _0x394eba=this;this.#proc['on'](_0x5524e4['iXUWd'],function(_0x821846){const _0x27e33c=_0xf5b8e7;_0x394eba[_0x27e33c(0x133)]=![];});do{const _0x1fcc77=await this['healthcheck']();if(_0x1fcc77)return logger[_0xf5b8e7(0x142)](_0x5524e4[_0xf5b8e7(0x14a)]),!![];await this.#sleep(0x3e8);}while(this[_0xf5b8e7(0x133)]);return![];}async[a61_0x278058(0x11a)](){const _0xc4e0c6=a61_0x278058,_0x30caec={'ioGjM':function(_0x49fe74,_0x59fefe){return _0x49fe74(_0x59fefe);},'QJuDi':function(_0x3ccac5,_0x4db903,_0x1f8baa){return _0x3ccac5(_0x4db903,_0x1f8baa);},'JNUnF':_0xc4e0c6(0x11f),'JIlFX':'close'},_0x448a57=await this.#getBinaryPath();return new Promise((_0x592223,_0x4288db)=>{const _0x18ec4a=_0xc4e0c6,_0x32b463=_0x30caec['QJuDi'](spawn,_0x448a57,[_0x30caec['JNUnF']]);_0x32b463['on'](_0x30caec[_0x18ec4a(0x14b)],_0x3c2d93=>{const _0x2ee2f5=_0x18ec4a;this['isProcessRunning']=![],_0x30caec[_0x2ee2f5(0x131)](_0x592223,_0x3c2d93);});});}[a61_0x278058(0x125)](){const _0x410797=a61_0x278058;return this[_0x410797(0x133)];}async[a61_0x278058(0x145)](){const _0x15d153=a61_0x278058,_0x35abd8={};_0x35abd8[_0x15d153(0x13f)]='app',_0x35abd8[_0x15d153(0x13a)]='automate',_0x35abd8[_0x15d153(0x136)]='GET',_0x35abd8[_0x15d153(0x135)]=_0x15d153(0x12b);const _0x4ef42a=_0x35abd8,_0x121249=this.#config['projectName'];try{const _0x1a92ac=this.#isApp?_0x4ef42a[_0x15d153(0x13f)]:_0x4ef42a[_0x15d153(0x13a)],_0x56ec1b=await helper['nodeRequest'](_0x4ef42a['rdzOR'],_0x15d153(0x132)+_0x121249+_0x15d153(0x14d)+_0x1a92ac,{},this.#config),_0x24bacf=_0x56ec1b[_0x15d153(0x146)];return logger[_0x15d153(0x142)](_0x4ef42a[_0x15d153(0x135)]),_0x24bacf[_0x15d153(0x123)];}catch(_0x5c3378){return logger['error'](_0x15d153(0x11c)+_0x5c3378),null;}}async[a61_0x278058(0x147)](){const _0x2e430e=a61_0x278058,_0xf34f12={'LhHFc':function(_0x144971,_0x17c207){return _0x144971(_0x17c207);},'RdrJv':function(_0x21215f,_0x4a52f9){return _0x21215f+_0x4a52f9;},'gcIua':'Percy\x20config\x20created\x20at\x20','NRKpb':_0x2e430e(0x134)};if(!this.#config[_0x2e430e(0x126)])return null;const _0x522b34=path[_0x2e430e(0x12c)](os[_0x2e430e(0x13c)](),_0xf34f12[_0x2e430e(0x148)]),_0x391bd9=this.#config[_0x2e430e(0x126)];return!_0x391bd9[_0x2e430e(0x157)]&&(_0x391bd9[_0x2e430e(0x157)]='2'),new Promise((_0x21d4d2,_0x4d56a7)=>{fs['writeFile'](_0x522b34,JSON['stringify'](_0x391bd9),_0x39b0aa=>{const _0x3417ec=a61_0x53a8;_0x39b0aa&&(logger['error'](_0x3417ec(0x152)+_0x39b0aa),_0xf34f12[_0x3417ec(0x141)](_0x21d4d2,null)),logger['debug'](_0xf34f12[_0x3417ec(0x12d)](_0xf34f12[_0x3417ec(0x11b)],_0x522b34)),_0xf34f12[_0x3417ec(0x141)](_0x21d4d2,_0x522b34);});});}}function a61_0x3cfb(){const _0x1d8c12=['unKTP','JIlFX','nodeRequest','&type=','11455760Yttlpu','path','stderr','healthcheck','Error\x20creating\x20percy\x20config:\x20','getBinaryPath','PERCY_TOKEN','15yZuAUg','4WthPnN','version','percy.log','exports','push','PERCY_SERVER_ADDRESS','start','1956915dvwhyV','709066KXcWhM','GET','stop','gcIua','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','1325458zLKUme','MEqRI','exec:stop','Percy\x20healthcheck\x20successful','app','pipe','token','YRfgO','isRunning','percyOptions','5984251DltwTO','yyfri','../logger','exec','Percy\x20fetch\x20token\x20success','join','RdrJv','stdout','../helper','winstonLogger','ioGjM','api/app_percy/get_project_token?name=','isProcessRunning','percy.json','NHJRE','rdzOR',':start','./PercyBinary','createWriteStream','WaWTy','2561940VPVPaU','tmpdir','2258244ffqnsS','flags','QiqFw','env','LhHFc','debug','child_process','assign','fetchPercyToken','data','createPercyConfig','NRKpb','http://localhost:5338'];a61_0x3cfb=function(){return _0x1d8c12;};return a61_0x3cfb();}module[a61_0x278058(0x113)]=Percy;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a62_0x541215=a62_0x2602;(function(_0x2608ab,_0x54c973){const _0x419a96=a62_0x2602,_0x408fd3=_0x2608ab();while(!![]){try{const _0x499646=-parseInt(_0x419a96(0x181))/0x1*(parseInt(_0x419a96(0x16d))/0x2)+-parseInt(_0x419a96(0x1e3))/0x3*(parseInt(_0x419a96(0x190))/0x4)+-parseInt(_0x419a96(0x1fd))/0x5+-parseInt(_0x419a96(0x1d6))/0x6+parseInt(_0x419a96(0x1eb))/0x7+parseInt(_0x419a96(0x130))/0x8+parseInt(_0x419a96(0x1d8))/0x9;if(_0x499646===_0x54c973)break;else _0x408fd3['push'](_0x408fd3['shift']());}catch(_0x192cfd){_0x408fd3['push'](_0x408fd3['shift']());}}}(a62_0x1ff3,0xb322f));const {https}=require(a62_0x541215(0x1d0)),url=require(a62_0x541215(0x1de)),yauzl=require('yauzl'),fs=require('fs'),path=require(a62_0x541215(0x131)),os=require('os'),{spawn}=require(a62_0x541215(0xf2)),HttpsProxyAgent=require(a62_0x541215(0x156)),logger=require(a62_0x541215(0x10d))[a62_0x541215(0x195)];function a62_0x2602(_0x1c4c66,_0x40afd7){const _0x1ff319=a62_0x1ff3();return a62_0x2602=function(_0x260243,_0x554fed){_0x260243=_0x260243-0xe8;let _0x1ec9c6=_0x1ff319[_0x260243];return _0x1ec9c6;},a62_0x2602(_0x1c4c66,_0x40afd7);}class PercyBinary{#hostOS=process[a62_0x541215(0xe9)];#httpPath=null;#binaryName=a62_0x541215(0x157);#orderedPaths=[path['join'](this.#homedir(),'.browserstack'),process[a62_0x541215(0x17d)](),os['tmpdir']()];constructor(){const _0xd5f217=a62_0x541215,_0xfddf4e={'rniOk':function(_0x44c6aa,_0x3bda7f){return _0x44c6aa(_0x3bda7f);},'pWfJX':_0xd5f217(0x103),'cjxcu':function(_0x411eb8,_0x25fc6c){return _0x411eb8===_0x25fc6c;},'hcveO':_0xd5f217(0x1a8),'jWZuC':_0xd5f217(0x13b),'ZMNpP':function(_0x14ef62,_0x2da8f9){return _0x14ef62+_0x2da8f9;},'sikaT':_0xd5f217(0x165),'inSjH':_0xd5f217(0x105),'wnBHS':_0xd5f217(0x1c3),'BGCtV':'percy.exe','SVJRJ':_0xd5f217(0x179),'THAkb':function(_0x56f5cb,_0x1b6aa9){return _0x56f5cb+_0x1b6aa9;},'noGmJ':'/percy-linux.zip'},_0x2d5790=_0xfddf4e[_0xd5f217(0xee)];if(this.#hostOS['match'](/darwin|mac os/i)){if(_0xfddf4e['cjxcu'](_0xfddf4e[_0xd5f217(0x15f)],_0xfddf4e[_0xd5f217(0x122)]))return _0x31b760['accessSync'](_0x3a5a04,_0x4d1700),!![];else this.#httpPath=_0xfddf4e[_0xd5f217(0x159)](_0x2d5790,_0xfddf4e[_0xd5f217(0x14e)]);}else{if(this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i))_0xfddf4e[_0xd5f217(0x148)](_0xfddf4e['inSjH'],_0xfddf4e['inSjH'])?(this.#httpPath=_0xfddf4e[_0xd5f217(0x159)](_0x2d5790,_0xfddf4e[_0xd5f217(0x20e)]),this.#binaryName=_0xfddf4e[_0xd5f217(0x1cf)]):_0xfddf4e[_0xd5f217(0x17c)](_0x336e0e,_0x14cab4);else{if(_0xfddf4e[_0xd5f217(0x148)](_0xfddf4e[_0xd5f217(0x14b)],_0xfddf4e['SVJRJ']))this.#httpPath=_0xfddf4e[_0xd5f217(0x132)](_0x2d5790,_0xfddf4e[_0xd5f217(0x14f)]);else{const _0x587678={};_0x587678[_0xd5f217(0x194)]=_0x5625c2[_0xd5f217(0x196)],_0x587678[_0xd5f217(0x117)]=_0x4e85d6[_0xd5f217(0x1b9)],_0x16b2f3[_0xd5f217(0x12b)]=new _0x153b74(_0x587678);}}}}#getAvailableDirs(){const _0x459202=a62_0x541215,_0x3d763d={'zMinr':function(_0x1a27dc,_0x44fccd){return _0x1a27dc(_0x44fccd);},'bejOu':function(_0x30469a,_0xcea230){return _0x30469a<_0xcea230;},'Ichra':function(_0x21d76d,_0x532ccc){return _0x21d76d!==_0x532ccc;},'DXrpT':_0x459202(0x12e),'hQZpL':_0x459202(0x17a),'oyxPd':function(_0x661796,_0x37bfb0){return _0x661796===_0x37bfb0;},'TAORE':'PXWQr','dClxd':_0x459202(0x1f7),'rtFai':_0x459202(0x1b4)};for(var _0x1c8791=0x0;_0x3d763d['bejOu'](_0x1c8791,this.#orderedPaths['length']);_0x1c8791++){if(_0x3d763d[_0x459202(0x182)](_0x3d763d['DXrpT'],_0x3d763d['hQZpL'])){var _0x36eb70=this.#orderedPaths[_0x1c8791];if(this.#makePath(_0x36eb70))return _0x3d763d[_0x459202(0x1c6)](_0x3d763d['TAORE'],_0x3d763d[_0x459202(0x218)])?![]:_0x36eb70;}else _0x3d763d[_0x459202(0xf8)](_0x4c1c9e,_0x2a0de0);}throw new Error(_0x3d763d[_0x459202(0x11f)]);}#makePath(_0x108b2b){const _0x5bf9f8=a62_0x541215,_0x1bb030={'QaVey':function(_0x1b9be9,_0x21cae6){return _0x1b9be9!==_0x21cae6;},'JXrYt':_0x5bf9f8(0x1f6),'dDCAn':function(_0x3a916c,_0x40b0ce){return _0x3a916c(_0x40b0ce);},'jCeqm':function(_0x226569,_0x68074c){return _0x226569===_0x68074c;},'SLIAI':_0x5bf9f8(0x11d),'dgivZ':_0x5bf9f8(0x1d5),'Abagh':function(_0x4abeed,_0x5b5d8b){return _0x4abeed!==_0x5b5d8b;},'qBTzR':'mRSwS','FyxpA':_0x5bf9f8(0x125),'PMYdS':function(_0x2e94f4,_0x4fa1ef){return _0x2e94f4!==_0x4fa1ef;},'tBrTN':_0x5bf9f8(0x1bf)};try{if(_0x1bb030[_0x5bf9f8(0x1ab)](_0x1bb030[_0x5bf9f8(0x167)],_0x1bb030[_0x5bf9f8(0x16c)])){if(_0x1bb030[_0x5bf9f8(0x20c)](typeof _0x160f7e[_0x5bf9f8(0x21d)],_0x1bb030[_0x5bf9f8(0x1b5)]))return![];try{return _0x208563['statSync'](_0x3e7091),!![];}catch(_0x18700f){return![];}}else{if(!this.#checkPath(_0x108b2b)){if(_0x1bb030['Abagh'](_0x1bb030['qBTzR'],_0x1bb030[_0x5bf9f8(0x21f)]))fs[_0x5bf9f8(0x173)](_0x108b2b);else return![];}return!![];}}catch{if(_0x1bb030[_0x5bf9f8(0x1db)](_0x1bb030[_0x5bf9f8(0x15c)],_0x1bb030[_0x5bf9f8(0x15c)]))_0x50e36c&&_0x1bb030[_0x5bf9f8(0x211)](_0x3302b7,_0x5c7972),_0x1bb030['dDCAn'](_0x23750c,_0x29ec3a);else return![];}}#checkPath(_0x3be1b7,_0x1dafbf){const _0x390882=a62_0x541215,_0x530f3a={'sVoiM':_0x390882(0x202),'izZyU':function(_0x101173,_0x3e3268){return _0x101173(_0x3e3268);},'ojLaB':function(_0x245205,_0x1a2d0e){return _0x245205(_0x1a2d0e);},'xyoic':function(_0xc22e2a,_0x2e4901){return _0xc22e2a|_0x2e4901;},'UYJzr':function(_0x5a9a45,_0x58569d){return _0x5a9a45===_0x58569d;},'qFEHs':'PSsXp','ByPbw':_0x390882(0x166),'uenPn':_0x390882(0x1e6),'thZUj':function(_0x34362c,_0x1cffc8){return _0x34362c!==_0x1cffc8;},'vYKUE':_0x390882(0x1f6),'FvEAR':_0x390882(0x14c),'BdRpC':_0x390882(0x18e),'EeKmY':function(_0x3ca3c7,_0x71fc2d){return _0x3ca3c7!==_0x71fc2d;},'vxOUT':_0x390882(0x1ed),'RjYRt':_0x390882(0x1a6)};_0x1dafbf=_0x1dafbf||_0x530f3a[_0x390882(0xeb)](fs[_0x390882(0x13f)],fs['W_OK']);try{return _0x530f3a[_0x390882(0x199)](_0x530f3a[_0x390882(0x1d9)],_0x530f3a[_0x390882(0x160)])?![]:(fs['accessSync'](_0x3be1b7,_0x1dafbf),!![]);}catch(_0x1d6592){if(_0x530f3a[_0x390882(0x199)](_0x530f3a[_0x390882(0x15a)],_0x530f3a[_0x390882(0x15a)])){if(_0x530f3a['thZUj'](typeof fs[_0x390882(0x21d)],_0x530f3a[_0x390882(0x162)])){if(_0x530f3a[_0x390882(0x199)](_0x530f3a[_0x390882(0x1b2)],_0x530f3a['BdRpC']))_0x4c5b7f[_0x390882(0x1ca)](_0x530f3a[_0x390882(0x118)],_0x50b6cd),_0x530f3a[_0x390882(0x186)](_0x28ef5d,_0xf19031);else return![];}try{if(_0x530f3a['EeKmY'](_0x530f3a['vxOUT'],_0x530f3a[_0x390882(0x1e9)]))_0x933b67['mkdirSync'](_0x46a184);else return fs[_0x390882(0x215)](_0x3be1b7),!![];}catch(_0x20770f){if(_0x530f3a['EeKmY'](_0x530f3a[_0x390882(0x207)],_0x530f3a[_0x390882(0x207)]))_0x242fc3[_0x390882(0x184)](),_0x465cb4['readEntry']();else return![];}}else _0x530f3a['ojLaB'](_0x2cf0d1,_0x361dc5);}}async[a62_0x541215(0xfb)](_0x187465){const _0x29e62e=a62_0x541215,_0x26355d={'oUaqI':function(_0x5f0032,_0x447ea6){return _0x5f0032===_0x447ea6;},'pdvtS':_0x29e62e(0x15b),'wKBrk':function(_0x11a64e,_0x43314d){return _0x11a64e+_0x43314d;},'JMUWV':_0x29e62e(0x201),'EBykP':_0x29e62e(0xf9),'GVwHR':function(_0x27e6f2,_0x13dd39){return _0x27e6f2(_0x13dd39);},'aNOQT':function(_0x7d29b1,_0x366231){return _0x7d29b1===_0x366231;},'UlZJO':_0x29e62e(0x1e1),'OsNhv':_0x29e62e(0x13a),'AFcXs':function(_0x37d8a9,_0x4395f1){return _0x37d8a9!==_0x4395f1;},'JZHYW':_0x29e62e(0x223),'nYRSV':_0x29e62e(0x10c)};var _0x56b0f3=this.#getAvailableDirs(),_0x1e6851=path[_0x29e62e(0x1ae)](_0x56b0f3,this.#binaryName);if(this.#checkPath(_0x1e6851,fs[_0x29e62e(0xf6)]))return _0x26355d[_0x29e62e(0x168)](_0x26355d[_0x29e62e(0x20f)],_0x26355d['OsNhv'])?_0x40731f||(_0x26355d[_0x29e62e(0x1cd)](_0x4c417a[_0x29e62e(0x197)](),0x0)?_0x26355d['pdvtS']:_0x28d794?_0x26355d[_0x29e62e(0x114)](_0x26355d[_0x29e62e(0x19e)],_0x202196):null):_0x1e6851;const _0x14b3c8=await this['download'](_0x187465,_0x56b0f3),_0x1ae1d4=await this['validateBinary'](_0x14b3c8);if(!_0x1ae1d4){if(_0x26355d[_0x29e62e(0x1d4)](_0x26355d[_0x29e62e(0x1ad)],_0x26355d[_0x29e62e(0x1ad)]))_0x3dd524[_0x29e62e(0x1ca)](_0x26355d[_0x29e62e(0x1a1)],_0x4b5d9e),_0x26355d[_0x29e62e(0x208)](_0x26f9f2,_0x59cf66);else return logger[_0x29e62e(0x1ca)](_0x26355d[_0x29e62e(0x136)]),await this[_0x29e62e(0x11a)](_0x187465,_0x56b0f3);}return _0x14b3c8;}async[a62_0x541215(0x1c7)](_0x1e0dd9){const _0x3e3e08=a62_0x541215,_0x3e4114={'jlJal':function(_0x180657,_0x5a5ba7){return _0x180657!==_0x5a5ba7;},'Sstnv':_0x3e3e08(0x1f3),'NMYHP':function(_0x300d28,_0x447aba){return _0x300d28===_0x447aba;},'CatHn':_0x3e3e08(0x143),'vgZur':function(_0x564ad6,_0x5bb83a){return _0x564ad6(_0x5bb83a);},'mDpwN':function(_0x1acfa8,_0x5b8287){return _0x1acfa8(_0x5b8287);},'ayCxZ':'0755','edujL':_0x3e3e08(0xef),'UXgwT':_0x3e3e08(0x1ef),'XBtas':_0x3e3e08(0x18d),'holKi':function(_0xc4aae4,_0x4ddc16,_0x44855e){return _0xc4aae4(_0x4ddc16,_0x44855e);},'gcEDT':_0x3e3e08(0x164),'djQaW':'data','dwsFy':_0x3e3e08(0x184)},_0x23c4c2=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x26ce10,_0x16eb75)=>{const _0x310d9b=_0x3e3e08,_0x3f3425={'JoVDw':function(_0x34ebb9,_0x4a3899){const _0xe149b9=a62_0x2602;return _0x3e4114[_0xe149b9(0x16f)](_0x34ebb9,_0x4a3899);},'yiFwo':_0x3e4114[_0x310d9b(0x193)],'JbALt':function(_0x1db453,_0x5cfb8b){const _0x7a871=_0x310d9b;return _0x3e4114[_0x7a871(0x1a7)](_0x1db453,_0x5cfb8b);},'YzXKf':_0x3e4114['edujL']};if(_0x3e4114[_0x310d9b(0x1a7)](_0x3e4114[_0x310d9b(0x19f)],_0x3e4114[_0x310d9b(0x1e2)]))_0x2359ba['ca']=_0x292963[_0x310d9b(0x100)](_0x41c560['useCaCertificate']);else{const _0xcaaef0=_0x3e4114[_0x310d9b(0x145)](spawn,_0x1e0dd9,[_0x3e4114[_0x310d9b(0x210)]]);_0xcaaef0[_0x310d9b(0x144)]['on'](_0x3e4114['djQaW'],_0x5085ef=>{const _0x97d5b=_0x310d9b;if(_0x3e4114[_0x97d5b(0x1ee)](_0x3e4114[_0x97d5b(0x1b7)],_0x3e4114[_0x97d5b(0x1b7)]))return _0x1fb4b2[_0x97d5b(0x215)](_0x3ff80c),!![];else _0x23c4c2[_0x97d5b(0x220)](_0x5085ef)&&(_0x3e4114[_0x97d5b(0x1a7)](_0x3e4114['CatHn'],_0x3e4114['CatHn'])?_0x3e4114[_0x97d5b(0x123)](_0x26ce10,!![]):_0x1a3c13[_0x97d5b(0x1a0)]());}),_0xcaaef0['on'](_0x3e4114[_0x310d9b(0x110)],()=>{const _0x3fd2e2=_0x310d9b;if(_0x3f3425[_0x3fd2e2(0x1af)](_0x3f3425[_0x3fd2e2(0x106)],_0x3f3425[_0x3fd2e2(0x106)]))_0x3f3425['JoVDw'](_0x26ce10,![]);else{const _0x1b5ac8={'eswUG':function(_0x29a0cb,_0x2e175f){const _0x4525ea=_0x3fd2e2;return _0x3f3425[_0x4525ea(0xff)](_0x29a0cb,_0x2e175f);}};_0x6a5d77[_0x3fd2e2(0x21a)](_0x3f6094,_0x3f3425[_0x3fd2e2(0x200)],function(_0x5169b5){const _0x15fca7=_0x3fd2e2;_0x5169b5&&_0x1b5ac8[_0x15fca7(0x21b)](_0x1a3494,_0x5169b5),_0x1b5ac8['eswUG'](_0x214759,_0x6ef1a5);}),_0x5d66f9[_0x3fd2e2(0x184)]();}});}});}[a62_0x541215(0x11a)](_0x208159,_0x5a26e0){const _0x27a9a2=a62_0x541215,_0x427c9a={'GNaMC':function(_0x550d1a,_0x56b9f9){return _0x550d1a(_0x56b9f9);},'PLnnV':function(_0x1a896a,_0x4a3edb){return _0x1a896a+_0x4a3edb;},'CTmEx':function(_0x209408,_0x12ae03){return _0x209408+_0x12ae03;},'baIRc':_0x27a9a2(0x15d),'lHQLZ':_0x27a9a2(0x13d),'qGLeo':function(_0x164aa1,_0x1c7bdc){return _0x164aa1!==_0x1c7bdc;},'leciY':'XvZCm','KqKXn':'VpKro','cAZhq':_0x27a9a2(0x1c0),'FMqxm':_0x27a9a2(0x14a),'aKmDa':_0x27a9a2(0x226),'nIMiv':_0x27a9a2(0xf9),'HFEyE':function(_0x180d2a,_0x54f3bb,_0x5b9f70){return _0x180d2a(_0x54f3bb,_0x5b9f70);},'NYpcL':_0x27a9a2(0x164),'JjyEN':_0x27a9a2(0x1f8),'KHOst':'close','UJYPg':_0x27a9a2(0x135),'jrorm':'iGUeE','mWFQd':_0x27a9a2(0x1fb),'luJex':_0x27a9a2(0x1ca),'HJFqQ':_0x27a9a2(0x1be),'aDKUq':function(_0x18aa08,_0x5b3485){return _0x18aa08(_0x5b3485);},'wgzki':_0x27a9a2(0x120),'IjcHF':function(_0x1fbcaf,_0x2841f1){return _0x1fbcaf===_0x2841f1;},'QYxTx':_0x27a9a2(0x1a4),'uStFQ':_0x27a9a2(0x224),'QunUd':_0x27a9a2(0x128),'CWtuk':'GsfWl','GmOQH':_0x27a9a2(0x1b3),'fClgb':'SaCXt','HlmHU':_0x27a9a2(0xed),'tPIuj':_0x27a9a2(0x102),'IlmRe':function(_0x1ac191,_0x3cf00c){return _0x1ac191===_0x3cf00c;},'pXYDZ':'NoDLo','nrwiV':_0x27a9a2(0x139),'UCMpv':'Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','hlXrp':_0x27a9a2(0x18c),'GZcDA':'oywFy','FDEls':function(_0x37b761,_0x1ba1db){return _0x37b761+_0x1ba1db;},'mGYSc':_0x27a9a2(0x217),'CcuCq':function(_0x7bbbf4,_0x2659a7){return _0x7bbbf4!==_0x2659a7;},'Iikqn':_0x27a9a2(0x1b1),'olHxO':_0x27a9a2(0x19b),'YVDTC':_0x27a9a2(0x146),'HfSzv':_0x27a9a2(0x169),'mIObT':function(_0x307520,_0x2f8114){return _0x307520===_0x2f8114;},'VgcKM':_0x27a9a2(0x18f)};!this.#checkPath(_0x5a26e0)&&(_0x427c9a['qGLeo'](_0x427c9a['hlXrp'],_0x427c9a[_0x27a9a2(0x1b6)])?fs[_0x27a9a2(0x173)](_0x5a26e0):_0x427c9a['GNaMC'](_0x223bc9,![]));const _0xb3e769=this.#binaryName,_0x105b49=path[_0x27a9a2(0x1ae)](_0x5a26e0,_0x427c9a[_0x27a9a2(0x12c)](_0xb3e769,_0x427c9a[_0x27a9a2(0x10e)])),_0x5723a6=path[_0x27a9a2(0x1ae)](_0x5a26e0,_0xb3e769),_0x3a138a=fs['createWriteStream'](_0x105b49),_0x67a3ad=url['parse'](this.#httpPath);if(_0x208159[_0x27a9a2(0x196)]&&_0x208159[_0x27a9a2(0x1b9)]){if(_0x427c9a[_0x27a9a2(0x17e)](_0x427c9a[_0x27a9a2(0x11c)],_0x427c9a['Iikqn']))_0x54613d[_0x27a9a2(0x184)]();else{const _0x424877={};_0x424877[_0x27a9a2(0x194)]=_0x208159[_0x27a9a2(0x196)],_0x424877[_0x27a9a2(0x117)]=_0x208159['proxyPort'],_0x67a3ad[_0x27a9a2(0x12b)]=new HttpsProxyAgent(_0x424877);}}if(_0x208159['useCaCertificate']){if(_0x427c9a['CcuCq'](_0x427c9a['olHxO'],_0x427c9a[_0x27a9a2(0x1dd)]))try{if(_0x427c9a[_0x27a9a2(0x203)](_0x427c9a[_0x27a9a2(0x12f)],_0x427c9a[_0x27a9a2(0x12f)]))_0x67a3ad['ca']=fs[_0x27a9a2(0x100)](_0x208159[_0x27a9a2(0x177)]);else return _0x48569b[_0x27a9a2(0xfc)]||_0x427c9a[_0x27a9a2(0xf5)](_0x9fcc10['HOMEDRIVE'],_0x146412[_0x27a9a2(0xf0)])||_0x20b318||null;}catch(_0x19f6b6){if(_0x427c9a[_0x27a9a2(0x1b8)](_0x427c9a['VgcKM'],_0x427c9a[_0x27a9a2(0x1f1)]))logger[_0x27a9a2(0x1ca)](_0x427c9a[_0x27a9a2(0xf3)],_0x19f6b6);else return _0x523d95||(_0x321dd2?_0x427c9a['CTmEx'](_0x427c9a[_0x27a9a2(0x1f5)],_0x580f8):null);}else _0x19c721['test'](_0x43f9a4)&&_0x427c9a[_0x27a9a2(0x1a9)](_0x3297fd,!![]);}return new Promise((_0x155c21,_0x2b9386)=>{const _0x451c04=_0x27a9a2,_0x295036={'bPodJ':_0x427c9a[_0x451c04(0xf3)],'istyB':function(_0x1084b8,_0x5dd1bb){return _0x427c9a['qGLeo'](_0x1084b8,_0x5dd1bb);},'IFjJr':_0x427c9a['leciY'],'JOSzd':_0x427c9a[_0x451c04(0x1c4)],'bgotk':_0x427c9a['cAZhq'],'AeNRF':function(_0xa6fc65,_0x4020d7){const _0x1a0d1c=_0x451c04;return _0x427c9a[_0x1a0d1c(0x1a9)](_0xa6fc65,_0x4020d7);},'cuuPg':_0x427c9a[_0x451c04(0x1fa)],'FJeYx':_0x427c9a[_0x451c04(0x137)],'ecMey':_0x427c9a[_0x451c04(0x216)],'sXZqR':function(_0x5a275d,_0x3277fb,_0x5718fe){const _0x384933=_0x451c04;return _0x427c9a[_0x384933(0x212)](_0x5a275d,_0x3277fb,_0x5718fe);},'ZjfNc':_0x427c9a[_0x451c04(0x191)],'rNWvT':_0x427c9a[_0x451c04(0x154)],'asMPc':_0x427c9a[_0x451c04(0x1bc)],'szUtc':_0x427c9a['UJYPg'],'yAlJN':_0x427c9a[_0x451c04(0x126)],'EsRNW':_0x427c9a[_0x451c04(0x21e)],'MPEen':_0x427c9a[_0x451c04(0x109)],'GRrqG':_0x427c9a[_0x451c04(0x121)],'aATrB':function(_0x3d3d2b,_0x508517){const _0x2d3f57=_0x451c04;return _0x427c9a[_0x2d3f57(0x19a)](_0x3d3d2b,_0x508517);},'HvjIK':_0x427c9a[_0x451c04(0x170)],'pfDUM':function(_0x41e3ea,_0x5a15d3){const _0x5de9da=_0x451c04;return _0x427c9a[_0x5de9da(0x18b)](_0x41e3ea,_0x5a15d3);},'jHHNH':_0x427c9a['QYxTx'],'DBfSL':_0x427c9a[_0x451c04(0x147)],'ojujl':_0x427c9a[_0x451c04(0x134)],'chNlY':_0x427c9a[_0x451c04(0x204)],'deWls':_0x427c9a[_0x451c04(0x1c9)],'aIFIw':_0x427c9a['fClgb'],'Cdkys':_0x427c9a[_0x451c04(0x124)],'CzBng':_0x427c9a[_0x451c04(0x198)],'ejrqW':function(_0x450c30,_0x1d0cc9){const _0x24ad75=_0x451c04;return _0x427c9a[_0x24ad75(0x203)](_0x450c30,_0x1d0cc9);},'abOGg':function(_0x5151d5,_0x2977bd){const _0x14d42a=_0x451c04;return _0x427c9a[_0x14d42a(0x203)](_0x5151d5,_0x2977bd);},'CFKDm':_0x427c9a[_0x451c04(0x140)],'wVHgW':_0x427c9a[_0x451c04(0x11b)],'mJUMq':_0x427c9a[_0x451c04(0x205)]};https['get'](_0x67a3ad,function(_0x56838c){const _0x483ea5=_0x451c04,_0x1d1b07={'agOre':_0x295036[_0x483ea5(0x17f)],'NhkzZ':function(_0x20604d,_0xdd747b){const _0x111084=_0x483ea5;return _0x295036[_0x111084(0x1fc)](_0x20604d,_0xdd747b);},'GgPSj':_0x295036['cuuPg'],'tHzUN':_0x295036[_0x483ea5(0x185)],'CEYCY':_0x295036['ecMey'],'OoKCf':function(_0x574d8b,_0x16cd8b){const _0x7cea1d=_0x483ea5;return _0x295036[_0x7cea1d(0x1f0)](_0x574d8b,_0x16cd8b);},'qtlIP':function(_0x1748cb,_0x4be3e0,_0x59a802){const _0x88c811=_0x483ea5;return _0x295036[_0x88c811(0x129)](_0x1748cb,_0x4be3e0,_0x59a802);},'BADJI':_0x295036[_0x483ea5(0x116)],'IsyKB':_0x295036[_0x483ea5(0x183)],'HZQsp':_0x295036[_0x483ea5(0x206)],'MJpTR':_0x295036['szUtc'],'TZKgR':function(_0x54013f,_0x86c73a){const _0x49c763=_0x483ea5;return _0x295036[_0x49c763(0x1fc)](_0x54013f,_0x86c73a);},'hYMGL':_0x295036[_0x483ea5(0x178)],'IiSET':function(_0x2f184a,_0xcc5697){const _0x2f195c=_0x483ea5;return _0x295036[_0x2f195c(0x1f0)](_0x2f184a,_0xcc5697);},'qZvjM':_0x295036[_0x483ea5(0xf7)],'cNfdF':_0x295036[_0x483ea5(0x1e4)],'OSmqF':_0x295036[_0x483ea5(0x225)],'KiENS':function(_0x54ccbc,_0x1ea5c8){return _0x295036['aATrB'](_0x54ccbc,_0x1ea5c8);},'AJVhk':_0x295036[_0x483ea5(0x107)],'WJyrB':function(_0x3b6939,_0x3cd5c0){const _0x22fe84=_0x483ea5;return _0x295036[_0x22fe84(0x1cc)](_0x3b6939,_0x3cd5c0);},'MwPrJ':_0x295036[_0x483ea5(0x12d)],'CbQLr':_0x295036[_0x483ea5(0x153)],'zxQzW':_0x295036['ojujl'],'DNNut':_0x295036['chNlY'],'ajbhj':_0x295036['deWls'],'aAvCu':_0x295036['aIFIw'],'yYVVb':_0x295036['Cdkys'],'VOowG':_0x295036['CzBng'],'JdjoM':function(_0x176089,_0x2aed19){const _0x248a6f=_0x483ea5;return _0x295036[_0x248a6f(0x163)](_0x176089,_0x2aed19);},'eqtLo':function(_0x31d6c0,_0x1ebac1){const _0x3c0587=_0x483ea5;return _0x295036[_0x3c0587(0x10a)](_0x31d6c0,_0x1ebac1);},'ekKiT':_0x295036[_0x483ea5(0x1aa)],'QbtgS':_0x295036[_0x483ea5(0x1e5)],'ePQRU':_0x295036['wVHgW'],'sqplf':function(_0x1d0c8e,_0x2ee683){const _0x55986d=_0x483ea5;return _0x295036[_0x55986d(0x1f0)](_0x1d0c8e,_0x2ee683);}};_0x56838c[_0x483ea5(0x192)](_0x3a138a),_0x56838c['on'](_0x295036[_0x483ea5(0x1e4)],function(_0x47619f){const _0x3f8304=_0x483ea5,_0x6aba73={};_0x6aba73['kyiiK']=_0x295036[_0x3f8304(0x17f)];const _0x1210a0=_0x6aba73;if(_0x295036[_0x3f8304(0x1fc)](_0x295036[_0x3f8304(0x141)],_0x295036[_0x3f8304(0x1d1)]))logger[_0x3f8304(0x1ca)](_0x295036[_0x3f8304(0x1e5)],_0x47619f),_0x295036[_0x3f8304(0x1f0)](_0x2b9386,_0x47619f);else try{_0x449908['ca']=_0x471667[_0x3f8304(0x100)](_0x1b48f2[_0x3f8304(0x177)]);}catch(_0x5a3546){_0x5e1faa[_0x3f8304(0x1ca)](_0x1210a0[_0x3f8304(0x14d)],_0x5a3546);}}),_0x3a138a['on'](_0x295036[_0x483ea5(0x1e4)],function(_0xe487af){const _0xf0f8ee=_0x483ea5;_0x1d1b07[_0xf0f8ee(0x1e8)](_0x1d1b07[_0xf0f8ee(0x158)],_0x1d1b07[_0xf0f8ee(0x1ea)])?(logger[_0xf0f8ee(0x1ca)](_0x1d1b07[_0xf0f8ee(0x13e)],_0xe487af),_0x1d1b07['OoKCf'](_0x2b9386,_0xe487af)):_0x52acd8[_0xf0f8ee(0x1ca)](_0x1d1b07[_0xf0f8ee(0x155)],_0x1254fa);}),_0x3a138a['on'](_0x295036[_0x483ea5(0x206)],function(){const _0x5aa3e6=_0x483ea5,_0x339c72={'jYwRY':function(_0x3bbc1c,_0x3c03a8){return _0x1d1b07['KiENS'](_0x3bbc1c,_0x3c03a8);},'kbOeV':function(_0x4cd63c,_0x2947e8){const _0x44f356=a62_0x2602;return _0x1d1b07[_0x44f356(0x1e0)](_0x4cd63c,_0x2947e8);},'xxQmX':_0x1d1b07[_0x5aa3e6(0x1ba)],'IzTqD':function(_0x2409a1,_0x1d9048){return _0x1d1b07['WJyrB'](_0x2409a1,_0x1d9048);},'cVwXH':_0x1d1b07[_0x5aa3e6(0x104)],'pfeBJ':_0x1d1b07[_0x5aa3e6(0x11e)],'nKCbn':_0x1d1b07[_0x5aa3e6(0x15e)],'WZBVD':function(_0x395871,_0x318a84){const _0x10f5a6=_0x5aa3e6;return _0x1d1b07[_0x10f5a6(0x1c1)](_0x395871,_0x318a84);},'DRzRk':_0x1d1b07[_0x5aa3e6(0x16a)],'gaDfo':_0x1d1b07['DNNut'],'vuVpu':_0x1d1b07[_0x5aa3e6(0x19c)],'TrYST':_0x1d1b07[_0x5aa3e6(0x180)],'dAOfC':_0x1d1b07[_0x5aa3e6(0xe8)],'ZZrZa':_0x1d1b07[_0x5aa3e6(0x127)],'NLNKT':function(_0x9895e5,_0x2dd59){return _0x1d1b07['JdjoM'](_0x9895e5,_0x2dd59);},'MVcDm':function(_0x9a9679,_0x31ac2d){const _0x1e9d2b=_0x5aa3e6;return _0x1d1b07[_0x1e9d2b(0x1dc)](_0x9a9679,_0x31ac2d);},'hdCjT':_0x1d1b07[_0x5aa3e6(0x152)],'mAtIs':_0x1d1b07[_0x5aa3e6(0x1da)],'SfjHN':function(_0x178c89,_0x10c937){const _0x22f158=_0x5aa3e6;return _0x1d1b07[_0x22f158(0x1dc)](_0x178c89,_0x10c937);},'OAjwv':_0x1d1b07[_0x5aa3e6(0x133)],'QTTSm':function(_0x4428d1,_0x467b2e){return _0x1d1b07['sqplf'](_0x4428d1,_0x467b2e);}},_0x5039d3={};_0x5039d3['lazyEntries']=!![],yauzl['open'](_0x105b49,_0x5039d3,function(_0x160787,_0x10a1a2){const _0x18775b=_0x5aa3e6,_0x33bdf3={'pIsQy':function(_0x21a34c,_0x4185e0,_0x45eb93){const _0x34d6d5=a62_0x2602;return _0x1d1b07[_0x34d6d5(0x20a)](_0x21a34c,_0x4185e0,_0x45eb93);},'thOUA':_0x1d1b07[_0x18775b(0x209)],'QlPaK':_0x1d1b07[_0x18775b(0x1fe)],'rtGRw':_0x1d1b07['HZQsp'],'ieipo':function(_0x2b7215,_0x276b7a){const _0x5d57c6=_0x18775b;return _0x1d1b07[_0x5d57c6(0x214)](_0x2b7215,_0x276b7a);},'pMctg':_0x1d1b07[_0x18775b(0x112)]};_0x160787&&(_0x1d1b07[_0x18775b(0x1e0)](_0x1d1b07['hYMGL'],_0x1d1b07[_0x18775b(0x150)])?_0x3dab6[_0x18775b(0x173)](_0x29f698):_0x1d1b07[_0x18775b(0x1c1)](_0x2b9386,_0x160787)),_0x10a1a2['readEntry'](),_0x10a1a2['on'](_0x1d1b07[_0x18775b(0x189)],_0x3c978e=>{const _0x5b5ec0=_0x18775b,_0x2ba5a5={'fpCtu':function(_0x6b446c,_0x4fb80d){const _0x4f8844=a62_0x2602;return _0x339c72[_0x4f8844(0x16b)](_0x6b446c,_0x4fb80d);},'QOmIx':function(_0x2c6d7e,_0x9b2d91){return _0x339c72['jYwRY'](_0x2c6d7e,_0x9b2d91);},'GfVeV':function(_0x33c739,_0x477a78){const _0x1c6441=a62_0x2602;return _0x339c72[_0x1c6441(0xfa)](_0x33c739,_0x477a78);},'GupYA':_0x339c72[_0x5b5ec0(0x149)],'yFipU':function(_0xb732fe,_0x1dad8b){const _0x4e126f=_0x5b5ec0;return _0x339c72[_0x4e126f(0x1c5)](_0xb732fe,_0x1dad8b);},'dYVmb':_0x339c72[_0x5b5ec0(0x142)],'wVCJT':_0x339c72[_0x5b5ec0(0x1cb)],'eyNhj':_0x339c72[_0x5b5ec0(0x1ce)],'dKFDF':function(_0x176b15,_0x1a4eb0){const _0x4e4cfc=_0x5b5ec0;return _0x339c72[_0x4e4cfc(0x174)](_0x176b15,_0x1a4eb0);},'kSAld':_0x339c72['DRzRk']};if(_0x339c72[_0x5b5ec0(0xfa)](_0x339c72[_0x5b5ec0(0x138)],_0x339c72[_0x5b5ec0(0x151)])){if(/\/$/[_0x5b5ec0(0x220)](_0x3c978e[_0x5b5ec0(0x188)])){if(_0x339c72[_0x5b5ec0(0x1c5)](_0x339c72[_0x5b5ec0(0x1b0)],_0x339c72[_0x5b5ec0(0x1b0)]))_0x10a1a2[_0x5b5ec0(0x1a0)]();else{const _0x4c79d0=_0x33bdf3[_0x5b5ec0(0x219)](_0x4dbf73,_0x5a36c2,[_0x33bdf3[_0x5b5ec0(0x17b)]]);_0x4c79d0[_0x5b5ec0(0x144)]['on'](_0x33bdf3[_0x5b5ec0(0x1a5)],_0x43011c=>{const _0xa42da9=_0x5b5ec0;_0x2cdf19[_0xa42da9(0x220)](_0x43011c)&&_0x2ba5a5[_0xa42da9(0x171)](_0x293818,!![]);}),_0x4c79d0['on'](_0x33bdf3[_0x5b5ec0(0x113)],()=>{const _0x557e07=_0x5b5ec0;_0x2ba5a5[_0x557e07(0x115)](_0x2a2e55,![]);});}}else{if(_0x339c72['kbOeV'](_0x339c72[_0x5b5ec0(0x21c)],_0x339c72[_0x5b5ec0(0x222)])){const _0x4e8010=fs[_0x5b5ec0(0x1bd)](path[_0x5b5ec0(0x1ae)](_0x5a26e0,_0x3c978e[_0x5b5ec0(0x188)]));_0x10a1a2['openReadStream'](_0x3c978e,function(_0x596605,_0x3b81b2){const _0x3ad862=_0x5b5ec0;if(_0x2ba5a5['yFipU'](_0x2ba5a5[_0x3ad862(0x1ec)],_0x2ba5a5['wVCJT']))return _0x336cff;else{if(_0x596605){if(_0x2ba5a5[_0x3ad862(0x1a3)](_0x2ba5a5[_0x3ad862(0x1c2)],_0x2ba5a5[_0x3ad862(0x1c2)]))_0x2ba5a5[_0x3ad862(0x1f4)](_0x2b9386,_0x160787);else return _0x19e496[_0x3ad862(0x161)]();}_0x3b81b2['on'](_0x2ba5a5[_0x3ad862(0x221)],function(){const _0x54f427=_0x3ad862;if(_0x2ba5a5[_0x54f427(0x10f)](_0x2ba5a5[_0x54f427(0xea)],_0x2ba5a5[_0x54f427(0xea)]))return _0x3933b9;else _0x4e8010[_0x54f427(0x184)](),_0x10a1a2[_0x54f427(0x1a0)]();}),_0x3b81b2[_0x3ad862(0x192)](_0x4e8010);}}),_0x339c72[_0x5b5ec0(0x176)](_0x3c978e['fileName'],_0xb3e769)&&(_0x339c72[_0x5b5ec0(0x1bb)](_0x339c72[_0x5b5ec0(0xec)],_0x339c72[_0x5b5ec0(0xec)])?_0x10a1a2['close']():(_0x2f554c&&_0x2ba5a5[_0x5b5ec0(0x115)](_0x4af0e2,_0x1e6ff4),_0x49d2c9['on'](_0x2ba5a5[_0x5b5ec0(0x221)],function(){const _0x422d55=_0x5b5ec0;_0x338698['close'](),_0x4e327b[_0x422d55(0x1a0)]();}),_0x34c4ec['pipe'](_0x3171ff)));}else _0x33bdf3[_0x5b5ec0(0xf1)](_0x48ea67,_0x7182bd);}}else _0x33bdf3['ieipo'](_0x3f8809,!![]);}),_0x10a1a2['on'](_0x1d1b07[_0x18775b(0x18a)],_0x70c4a1=>{const _0x472a2c=_0x18775b,_0x197d2e={'wPARH':_0x339c72[_0x472a2c(0xfd)],'bebzM':function(_0x4b1f02,_0x2210c4){return _0x339c72['WZBVD'](_0x4b1f02,_0x2210c4);}};_0x339c72[_0x472a2c(0x1f2)](_0x339c72[_0x472a2c(0x20d)],_0x339c72[_0x472a2c(0x20d)])?_0x339c72[_0x472a2c(0x213)](_0x2b9386,_0x70c4a1):(_0x32cf86['error'](_0x197d2e['wPARH'],_0x5c6e57),_0x197d2e[_0x472a2c(0x1df)](_0x394e94,_0x1529e8));}),_0x10a1a2[_0x18775b(0x19d)](_0x1d1b07[_0x18775b(0x16a)],()=>{const _0x44fb19=_0x18775b;fs['chmod'](_0x5723a6,_0x33bdf3['pMctg'],function(_0x3720af){const _0x28114f=a62_0x2602;_0x3720af&&_0x33bdf3[_0x28114f(0xf1)](_0x2b9386,_0x3720af),_0x33bdf3[_0x28114f(0xf1)](_0x155c21,_0x5723a6);}),_0x10a1a2[_0x44fb19(0x184)]();});});});})['on'](_0x427c9a[_0x451c04(0x109)],function(_0x23d20c){const _0x5d2f34=_0x451c04;logger[_0x5d2f34(0x1ca)](_0x295036[_0x5d2f34(0x1ff)],_0x23d20c),_0x295036[_0x5d2f34(0x1a2)](_0x2b9386,_0x23d20c);});});}#homedir(){const _0x396372=a62_0x541215,_0x354de8={};_0x354de8[_0x396372(0x1e7)]=function(_0x37fe5d,_0x1fec82){return _0x37fe5d===_0x1fec82;},_0x354de8[_0x396372(0x20b)]=_0x396372(0xfe),_0x354de8[_0x396372(0x1d7)]=_0x396372(0x10b),_0x354de8[_0x396372(0x175)]=function(_0x234c3c,_0x75e52a){return _0x234c3c+_0x75e52a;},_0x354de8[_0x396372(0x1d3)]=function(_0x343b2c,_0x589d60){return _0x343b2c===_0x589d60;},_0x354de8[_0x396372(0x13c)]='darwin',_0x354de8['eakZq']=function(_0xc38d85,_0x5b8143){return _0xc38d85+_0x5b8143;},_0x354de8[_0x396372(0x119)]='/Users/',_0x354de8[_0x396372(0x1f9)]='linux',_0x354de8[_0x396372(0x1ac)]=function(_0x45311c,_0x443da6){return _0x45311c===_0x443da6;},_0x354de8[_0x396372(0x1d2)]=_0x396372(0x15b),_0x354de8[_0x396372(0x172)]=_0x396372(0x201),_0x354de8[_0x396372(0xf4)]=function(_0x4d397e,_0x1af09f){return _0x4d397e||_0x1af09f;};const _0x4d8f24=_0x354de8;if(_0x4d8f24[_0x396372(0x1e7)](typeof os[_0x396372(0x161)],_0x4d8f24[_0x396372(0x20b)]))return os['homedir']();const _0xcacf2f=process[_0x396372(0x16e)],_0x1bcceb=_0xcacf2f[_0x396372(0x101)],_0x1b4ad5=_0xcacf2f[_0x396372(0x12a)]||_0xcacf2f[_0x396372(0x111)]||_0xcacf2f[_0x396372(0x187)]||_0xcacf2f[_0x396372(0x108)];if(_0x4d8f24['nwtGi'](process[_0x396372(0xe9)],_0x4d8f24[_0x396372(0x1d7)]))return _0xcacf2f[_0x396372(0xfc)]||_0x4d8f24[_0x396372(0x175)](_0xcacf2f['HOMEDRIVE'],_0xcacf2f[_0x396372(0xf0)])||_0x1bcceb||null;if(_0x4d8f24[_0x396372(0x1d3)](process['platform'],_0x4d8f24['OMIFU']))return _0x1bcceb||(_0x1b4ad5?_0x4d8f24['eakZq'](_0x4d8f24[_0x396372(0x119)],_0x1b4ad5):null);if(_0x4d8f24[_0x396372(0x1d3)](process[_0x396372(0xe9)],_0x4d8f24[_0x396372(0x1f9)]))return _0x1bcceb||(_0x4d8f24['PrWzF'](process['getuid'](),0x0)?_0x4d8f24[_0x396372(0x1d2)]:_0x1b4ad5?_0x4d8f24[_0x396372(0x175)](_0x4d8f24[_0x396372(0x172)],_0x1b4ad5):null);return _0x4d8f24[_0x396372(0xf4)](_0x1bcceb,null);}}function a62_0x1ff3(){const _0x555c52=['/percy-osx.zip','qwRpi','SLIAI','aNOQT','ZSAMm','OSmqF','jYwRY','dgivZ','21032WnAvoz','env','mDpwN','wgzki','fpCtu','ELcna','mkdirSync','WZBVD','zWmnn','NLNKT','useCaCertificate','yAlJN','wvOtR','qfyCc','thOUA','rniOk','cwd','CcuCq','bPodJ','aAvCu','66OcwXDz','Ichra','rNWvT','close','FJeYx','izZyU','LNAME','fileName','qZvjM','cNfdF','IjcHF','BJeei','uftqy','zRuVC','GLHhY','4tqDwhL','NYpcL','pipe','ayCxZ','host','winstonLogger','proxyHost','getuid','tPIuj','UYJzr','aDKUq','qkxqI','ajbhj','once','JMUWV','UXgwT','readEntry','EBykP','aATrB','yFipU','rbZoh','QlPaK','ARqXe','NMYHP','SLXeB','GNaMC','CFKDm','jCeqm','PrWzF','JZHYW','join','JbALt','TrYST','Qicuo','FvEAR','AmtSU','Error\x20trying\x20to\x20download\x20percy\x20binary','JXrYt','GZcDA','Sstnv','mIObT','proxyPort','AJVhk','MVcDm','KHOst','createWriteStream','end','TWQkc','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','IiSET','eyNhj','/percy-win.zip','KqKXn','IzTqD','oyxPd','validateBinary','exports','GmOQH','error','pfeBJ','pfDUM','oUaqI','nKCbn','BGCtV','follow-redirects','JOSzd','kUNmT','mXOuG','AFcXs','rNwWS','4191678nGJNWW','SKvaA','15394626ghDdtl','qFEHs','QbtgS','PMYdS','eqtLo','YVDTC','url','bebzM','TZKgR','uImvK','XBtas','1311666nGWvsj','MPEen','bgotk','TPedQ','nwtGi','NhkzZ','vxOUT','tHzUN','4375959dUNVEf','dYVmb','TVrhq','jlJal','ytSeL','AeNRF','VgcKM','SfjHN','nYUWq','dKFDF','baIRc','undefined','nkWsI','data','mrMdw','FMqxm','entry','istyB','110955cHyLJb','IsyKB','mJUMq','yiFwo','/home/','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','IlmRe','CWtuk','UCMpv','asMPc','RjYRt','GVwHR','BADJI','qtlIP','VcpNd','QaVey','OAjwv','wnBHS','UlZJO','gcEDT','dDCAn','HFEyE','QTTSm','OoKCf','statSync','nIMiv','.zip','dClxd','pIsQy','chmod','eswUG','dAOfC','accessSync','mWFQd','FyxpA','test','kSAld','ZZrZa','dbXiF','uixcH','GRrqG','LVTnD','yYVVb','platform','GupYA','xyoic','hdCjT','lMiWH','pWfJX','LpOiY','HOMEPATH','ieipo','child_process','lHQLZ','buaCi','PLnnV','X_OK','EsRNW','zMinr','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','kbOeV','getBinaryPath','USERPROFILE','mAtIs','function','JoVDw','readFileSync','HOME','tUVSQ','https://github.com/percy/cli/releases/latest/download','MwPrJ','lFjOU','YzXKf','HvjIK','USERNAME','luJex','abOGg','win32','Corrupt\x20percy\x20binary,\x20retrying','../logger','mGYSc','GfVeV','dwsFy','USER','MJpTR','rtGRw','wKBrk','QOmIx','ZjfNc','port','sVoiM','RqPhL','download','nrwiV','Iikqn','YzrLq','CbQLr','rtFai','WjGcU','HJFqQ','jWZuC','vgZur','HlmHU','zZFUH','jrorm','VOowG','wKJCE','sXZqR','LOGNAME','agent','FDEls','jHHNH','EFikj','HfSzv','2001392TKQaji','path','THAkb','ePQRU','QunUd','0755','nYRSV','aKmDa','gaDfo','VRWfY','qcTTk','xwgRL','OMIFU','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file','CEYCY','R_OK','pXYDZ','IFjJr','cVwXH','PYuNi','stdout','holKi','wGQxV','uStFQ','cjxcu','xxQmX','keepb','SVJRJ','ajBGE','kyiiK','sikaT','noGmJ','hYMGL','vuVpu','ekKiT','DBfSL','JjyEN','agOre','https-proxy-agent','percy','GgPSj','ZMNpP','uenPn','/root','tBrTN','/Users/','zxQzW','hcveO','ByPbw','homedir','vYKUE','ejrqW','--version'];a62_0x1ff3=function(){return _0x555c52;};return a62_0x1ff3();}module[a62_0x541215(0x1c8)]=PercyBinary;
|
|
1
|
+
function a62_0x32de(_0x55424a,_0x37fd00){const _0x474528=a62_0x4745();return a62_0x32de=function(_0x32dee5,_0x37e50d){_0x32dee5=_0x32dee5-0x6c;let _0x59d4e1=_0x474528[_0x32dee5];return _0x59d4e1;},a62_0x32de(_0x55424a,_0x37fd00);}const a62_0x3b882c=a62_0x32de;(function(_0x1e9600,_0xf7a57d){const _0x2fe7eb=a62_0x32de,_0x8c33d6=_0x1e9600();while(!![]){try{const _0x2973d8=parseInt(_0x2fe7eb(0xb3))/0x1+-parseInt(_0x2fe7eb(0xa0))/0x2*(parseInt(_0x2fe7eb(0x93))/0x3)+-parseInt(_0x2fe7eb(0xf0))/0x4+parseInt(_0x2fe7eb(0xdf))/0x5+-parseInt(_0x2fe7eb(0xbb))/0x6+-parseInt(_0x2fe7eb(0xb8))/0x7+parseInt(_0x2fe7eb(0x94))/0x8;if(_0x2973d8===_0xf7a57d)break;else _0x8c33d6['push'](_0x8c33d6['shift']());}catch(_0x1b36ab){_0x8c33d6['push'](_0x8c33d6['shift']());}}}(a62_0x4745,0x35cd2));const {https}=require('follow-redirects'),url=require(a62_0x3b882c(0xcb)),yauzl=require(a62_0x3b882c(0xa5)),fs=require('fs'),path=require(a62_0x3b882c(0xcf)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a62_0x3b882c(0x7b))[a62_0x3b882c(0xd9)];class PercyBinary{#hostOS=process[a62_0x3b882c(0xd2)];#httpPath=null;#binaryName=a62_0x3b882c(0xa9);#orderedPaths=[path['join'](this.#homedir(),a62_0x3b882c(0x88)),process[a62_0x3b882c(0xa4)](),os['tmpdir']()];constructor(){const _0x15f8da=a62_0x3b882c,_0x15bd70={};_0x15bd70[_0x15f8da(0xc2)]=_0x15f8da(0xcd),_0x15bd70['vqyfx']=function(_0x530fc9,_0x3d23e4){return _0x530fc9+_0x3d23e4;},_0x15bd70[_0x15f8da(0x98)]=_0x15f8da(0xa3),_0x15bd70[_0x15f8da(0xaa)]=function(_0x1da448,_0x27e3a8){return _0x1da448+_0x27e3a8;},_0x15bd70['bEKui']='/percy-win.zip',_0x15bd70[_0x15f8da(0xb9)]=_0x15f8da(0x82),_0x15bd70[_0x15f8da(0xca)]='/percy-linux.zip';const _0x279d71=_0x15bd70,_0x5b5dd9=_0x279d71['CyjWL'];if(this.#hostOS['match'](/darwin|mac os/i))this.#httpPath=_0x279d71[_0x15f8da(0x84)](_0x5b5dd9,_0x279d71[_0x15f8da(0x98)]);else this.#hostOS[_0x15f8da(0x97)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x279d71[_0x15f8da(0xaa)](_0x5b5dd9,_0x279d71['bEKui']),this.#binaryName=_0x279d71[_0x15f8da(0xb9)]):this.#httpPath=_0x279d71[_0x15f8da(0xaa)](_0x5b5dd9,_0x279d71[_0x15f8da(0xca)]);}#getAvailableDirs(){const _0x2decd7=a62_0x3b882c,_0x4a165b={};_0x4a165b[_0x2decd7(0x8d)]=function(_0x42eed9,_0x510113){return _0x42eed9<_0x510113;},_0x4a165b['BzPDV']=_0x2decd7(0x7d);const _0x5142ec=_0x4a165b;for(var _0x26ed25=0x0;_0x5142ec['TQClt'](_0x26ed25,this.#orderedPaths[_0x2decd7(0xc8)]);_0x26ed25++){var _0x5f4923=this.#orderedPaths[_0x26ed25];if(this.#makePath(_0x5f4923))return _0x5f4923;}throw new Error(_0x5142ec[_0x2decd7(0x9e)]);}#makePath(_0x50287e){const _0x194d2c=a62_0x3b882c;try{return!this.#checkPath(_0x50287e)&&fs[_0x194d2c(0x8f)](_0x50287e),!![];}catch{return![];}}#checkPath(_0x1c3f94,_0x38f7b9){const _0x194586=a62_0x3b882c,_0xd0c0dc={};_0xd0c0dc[_0x194586(0xad)]=function(_0x3b16fc,_0x2998df){return _0x3b16fc|_0x2998df;},_0xd0c0dc[_0x194586(0xb6)]=function(_0x1e275e,_0x3438e7){return _0x1e275e!==_0x3438e7;},_0xd0c0dc['rEdmC']='undefined';const _0x2a697d=_0xd0c0dc;_0x38f7b9=_0x38f7b9||_0x2a697d['pQxSn'](fs[_0x194586(0x6c)],fs[_0x194586(0xeb)]);try{return fs[_0x194586(0xf1)](_0x1c3f94,_0x38f7b9),!![];}catch(_0x2afe48){if(_0x2a697d[_0x194586(0xb6)](typeof fs[_0x194586(0xf1)],_0x2a697d[_0x194586(0xdd)]))return![];try{return fs[_0x194586(0xe7)](_0x1c3f94),!![];}catch(_0x4731e0){return![];}}}async[a62_0x3b882c(0x95)](_0x214b39){const _0x435f2f=a62_0x3b882c,_0x82a9e9={};_0x82a9e9[_0x435f2f(0x81)]='Corrupt\x20percy\x20binary,\x20retrying';const _0x13718a=_0x82a9e9;var _0x31f100=this.#getAvailableDirs(),_0x3f4ca5=path[_0x435f2f(0x8c)](_0x31f100,this.#binaryName);if(this.#checkPath(_0x3f4ca5,fs[_0x435f2f(0x86)]))return _0x3f4ca5;const _0x4f26e9=await this[_0x435f2f(0xd4)](_0x214b39,_0x31f100),_0x59cee9=await this[_0x435f2f(0xc5)](_0x4f26e9);if(!_0x59cee9)return logger[_0x435f2f(0xce)](_0x13718a[_0x435f2f(0x81)]),await this[_0x435f2f(0xd4)](_0x214b39,_0x31f100);return _0x4f26e9;}async[a62_0x3b882c(0xc5)](_0x76f13d){const _0x2430f8=a62_0x3b882c,_0x37c984={'JQlSJ':function(_0x2d42ae,_0x1c6cad){return _0x2d42ae(_0x1c6cad);},'JawQZ':function(_0x29846d,_0x343756){return _0x29846d(_0x343756);},'GvlKx':function(_0x8cb485,_0x473474,_0x4f4068){return _0x8cb485(_0x473474,_0x4f4068);},'WwWvu':_0x2430f8(0xc1),'FTkxG':_0x2430f8(0xde),'bQAzl':_0x2430f8(0xd3)},_0x545bca=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0xc8379b,_0x564eee)=>{const _0x246df4=_0x2430f8,_0x2000b0=_0x37c984[_0x246df4(0xda)](spawn,_0x76f13d,[_0x37c984[_0x246df4(0xa7)]]);_0x2000b0[_0x246df4(0xc4)]['on'](_0x37c984['FTkxG'],_0x238088=>{const _0x4a61e1=_0x246df4;_0x545bca[_0x4a61e1(0x89)](_0x238088)&&_0x37c984['JQlSJ'](_0xc8379b,!![]);}),_0x2000b0['on'](_0x37c984[_0x246df4(0xec)],()=>{const _0x1219d0=_0x246df4;_0x37c984[_0x1219d0(0x87)](_0xc8379b,![]);});});}[a62_0x3b882c(0xd4)](_0x112790,_0x58fb04){const _0x4074d7=a62_0x3b882c,_0x2cdb92={'eVJgc':_0x4074d7(0x77),'jhmcm':function(_0x2f1b0f,_0x5be247){return _0x2f1b0f(_0x5be247);},'vNGof':_0x4074d7(0x99),'XioTP':_0x4074d7(0x91),'irGnE':_0x4074d7(0xaf),'nWpPL':_0x4074d7(0xe0),'MKlLZ':function(_0x57da99,_0x170de4){return _0x57da99(_0x170de4);},'CDPgq':_0x4074d7(0xa6),'szwsp':_0x4074d7(0xce),'zemaB':function(_0x5aec13,_0x665817){return _0x5aec13===_0x665817;},'gZqXg':function(_0x15cf48,_0xb8ce4f){return _0x15cf48(_0xb8ce4f);},'iFWEC':'close','RYwTZ':function(_0x4896c2,_0x38d868){return _0x4896c2+_0x38d868;},'EgAkq':_0x4074d7(0xb7),'wHYRh':'Percy\x20download\x20failed\x20to\x20read\x20cert\x20file'};!this.#checkPath(_0x58fb04)&&fs['mkdirSync'](_0x58fb04);const _0x1d576e=this.#binaryName,_0x443655=path[_0x4074d7(0x8c)](_0x58fb04,_0x2cdb92[_0x4074d7(0xe5)](_0x1d576e,_0x2cdb92['EgAkq'])),_0x17cb17=path[_0x4074d7(0x8c)](_0x58fb04,_0x1d576e),_0x4ac21f=fs[_0x4074d7(0xac)](_0x443655),_0xc28360=url[_0x4074d7(0x80)](this.#httpPath);if(_0x112790[_0x4074d7(0xb0)]&&_0x112790[_0x4074d7(0x9f)]){const _0x449f3e={};_0x449f3e[_0x4074d7(0xed)]=_0x112790['proxyHost'],_0x449f3e[_0x4074d7(0xae)]=_0x112790[_0x4074d7(0x9f)],_0xc28360[_0x4074d7(0xe6)]=new HttpsProxyAgent(_0x449f3e);}if(_0x112790[_0x4074d7(0xb2)])try{_0xc28360['ca']=fs['readFileSync'](_0x112790[_0x4074d7(0xb2)]);}catch(_0x13022b){logger[_0x4074d7(0xce)](_0x2cdb92[_0x4074d7(0xe3)],_0x13022b);}return new Promise((_0x344dda,_0x12ef19)=>{const _0x593482=_0x4074d7,_0x3077ba={'AdhUX':_0x2cdb92[_0x593482(0x7f)],'hxmnr':function(_0x3fa30b,_0x4119f1){const _0x33dc19=_0x593482;return _0x2cdb92[_0x33dc19(0xdc)](_0x3fa30b,_0x4119f1);},'aIDDX':_0x2cdb92[_0x593482(0xbc)],'IVfwy':_0x2cdb92[_0x593482(0x9b)],'xwlXX':_0x2cdb92[_0x593482(0x92)],'HJtCf':function(_0x4c86dc,_0x3b7c3b){const _0x54ac18=_0x593482;return _0x2cdb92[_0x54ac18(0xa2)](_0x4c86dc,_0x3b7c3b);},'DFYJp':_0x2cdb92['CDPgq'],'jzVkT':_0x2cdb92['szwsp'],'YRNoN':function(_0x331859,_0x3d16c2){const _0x253628=_0x593482;return _0x2cdb92[_0x253628(0xa1)](_0x331859,_0x3d16c2);},'EmpGS':function(_0x3a450b,_0x45cb9d){const _0x4afd91=_0x593482;return _0x2cdb92[_0x4afd91(0xab)](_0x3a450b,_0x45cb9d);},'ytUbD':_0x2cdb92['iFWEC']};https[_0x593482(0xc0)](_0xc28360,function(_0x18a79e){const _0x2d2d6a=_0x593482,_0xaa73b6={'wNMOd':function(_0x1618bd,_0xceac99){return _0x3077ba['hxmnr'](_0x1618bd,_0xceac99);},'mNAXZ':_0x3077ba['IVfwy'],'oWqRf':function(_0xaa115a,_0x24180a){const _0x35ab23=a62_0x32de;return _0x3077ba[_0x35ab23(0xe4)](_0xaa115a,_0x24180a);},'MzQwr':_0x3077ba[_0x2d2d6a(0x72)],'xraKx':function(_0x59dcde,_0x4e73bb){const _0x42a376=_0x2d2d6a;return _0x3077ba[_0x42a376(0xee)](_0x59dcde,_0x4e73bb);},'ayztp':_0x3077ba[_0x2d2d6a(0xd5)],'ElZHM':_0x3077ba[_0x2d2d6a(0xc7)],'uhlvj':function(_0x34daba,_0x27aade){const _0xe9dd45=_0x2d2d6a;return _0x3077ba[_0xe9dd45(0x8e)](_0x34daba,_0x27aade);},'UOcIA':function(_0x5c1119,_0x236fc6){const _0xb4b1d4=_0x2d2d6a;return _0x3077ba[_0xb4b1d4(0xbd)](_0x5c1119,_0x236fc6);}};_0x18a79e['pipe'](_0x4ac21f),_0x18a79e['on'](_0x3077ba[_0x2d2d6a(0xc7)],function(_0x4a306f){const _0x2e278a=_0x2d2d6a;logger[_0x2e278a(0xce)](_0x3077ba['AdhUX'],_0x4a306f),_0x3077ba[_0x2e278a(0xe4)](_0x12ef19,_0x4a306f);}),_0x4ac21f['on'](_0x3077ba['jzVkT'],function(_0x251fcf){const _0x2ea911=_0x2d2d6a;logger['error'](_0x3077ba[_0x2ea911(0x75)],_0x251fcf),_0x3077ba[_0x2ea911(0xe4)](_0x12ef19,_0x251fcf);}),_0x4ac21f['on'](_0x3077ba[_0x2d2d6a(0x6d)],function(){const _0x5af51b=_0x2d2d6a,_0x838a4f={'TFFOx':function(_0x43ea90,_0x570e69){const _0x151948=a62_0x32de;return _0xaa73b6[_0x151948(0x7a)](_0x43ea90,_0x570e69);},'rBPsV':function(_0x3f1675,_0x2d74d4){const _0x5717ac=a62_0x32de;return _0xaa73b6[_0x5717ac(0xb1)](_0x3f1675,_0x2d74d4);}},_0xce2ab2={};_0xce2ab2['lazyEntries']=!![],yauzl[_0x5af51b(0x70)](_0x443655,_0xce2ab2,function(_0x13dc5f,_0x4e128f){const _0x4edcb6=_0x5af51b,_0x359a0d={'mgjvi':function(_0x22894a,_0xe4165c){const _0x397dce=a62_0x32de;return _0xaa73b6[_0x397dce(0xe2)](_0x22894a,_0xe4165c);},'yWrjA':_0xaa73b6['mNAXZ'],'oFIhq':function(_0x47aaa2,_0x419503){return _0xaa73b6['oWqRf'](_0x47aaa2,_0x419503);},'jgQmV':_0xaa73b6[_0x4edcb6(0x9d)]};_0x13dc5f&&_0xaa73b6['xraKx'](_0x12ef19,_0x13dc5f),_0x4e128f[_0x4edcb6(0x8a)](),_0x4e128f['on'](_0xaa73b6['ayztp'],_0x2c6634=>{const _0x5e98bb=_0x4edcb6;if(/\/$/['test'](_0x2c6634[_0x5e98bb(0xc6)]))_0x4e128f[_0x5e98bb(0x8a)]();else{const _0xbef081=fs[_0x5e98bb(0xac)](path[_0x5e98bb(0x8c)](_0x58fb04,_0x2c6634['fileName']));_0x4e128f[_0x5e98bb(0xba)](_0x2c6634,function(_0x2d2fc0,_0xb7e707){const _0x2c06ae=_0x5e98bb;_0x2d2fc0&&_0x359a0d[_0x2c06ae(0xe1)](_0x12ef19,_0x13dc5f),_0xb7e707['on'](_0x359a0d[_0x2c06ae(0xd0)],function(){const _0x4b3cef=_0x2c06ae;_0xbef081[_0x4b3cef(0xd3)](),_0x4e128f[_0x4b3cef(0x8a)]();}),_0xb7e707['pipe'](_0xbef081);}),_0x838a4f['TFFOx'](_0x2c6634[_0x5e98bb(0xc6)],_0x1d576e)&&_0x4e128f[_0x5e98bb(0xd3)]();}}),_0x4e128f['on'](_0xaa73b6[_0x4edcb6(0x71)],_0x1bb346=>{const _0x1285bf=_0x4edcb6;_0x838a4f[_0x1285bf(0x73)](_0x12ef19,_0x1bb346);}),_0x4e128f[_0x4edcb6(0xb5)](_0xaa73b6[_0x4edcb6(0x9a)],()=>{const _0x4964fc=_0x4edcb6;fs['chmod'](_0x17cb17,_0x359a0d[_0x4964fc(0xc3)],function(_0x208f76){const _0x357a42=_0x4964fc;_0x208f76&&_0x359a0d['oFIhq'](_0x12ef19,_0x208f76),_0x359a0d[_0x357a42(0xd7)](_0x344dda,_0x17cb17);}),_0x4e128f[_0x4964fc(0xd3)]();});});});})['on'](_0x2cdb92[_0x593482(0xd6)],function(_0x1830dd){const _0x17a021=_0x593482;logger[_0x17a021(0xce)](_0x2cdb92[_0x17a021(0xcc)],_0x1830dd),_0x2cdb92[_0x17a021(0xdc)](_0x12ef19,_0x1830dd);});});}#homedir(){const _0x23c31f=a62_0x3b882c,_0x3e4f3d={};_0x3e4f3d[_0x23c31f(0x7c)]=function(_0x14f6a7,_0x1b04e1){return _0x14f6a7===_0x1b04e1;},_0x3e4f3d[_0x23c31f(0xdb)]='function',_0x3e4f3d[_0x23c31f(0x9c)]=function(_0x23956b,_0x220ee2){return _0x23956b===_0x220ee2;},_0x3e4f3d[_0x23c31f(0x6f)]=_0x23c31f(0xe9),_0x3e4f3d[_0x23c31f(0xc9)]=function(_0x11a81d,_0x3b82c7){return _0x11a81d+_0x3b82c7;},_0x3e4f3d[_0x23c31f(0x6e)]=_0x23c31f(0x83),_0x3e4f3d[_0x23c31f(0xd8)]=_0x23c31f(0xb4),_0x3e4f3d[_0x23c31f(0xd1)]=_0x23c31f(0x76),_0x3e4f3d['vROUU']=function(_0x4d882f,_0x471047){return _0x4d882f===_0x471047;},_0x3e4f3d[_0x23c31f(0x74)]=_0x23c31f(0xea),_0x3e4f3d[_0x23c31f(0xe8)]=function(_0x4a06f4,_0x9e6861){return _0x4a06f4+_0x9e6861;},_0x3e4f3d[_0x23c31f(0x85)]=_0x23c31f(0xbf),_0x3e4f3d['uruOx']=function(_0x146276,_0x4207c4){return _0x146276||_0x4207c4;};const _0x4cb9b0=_0x3e4f3d;if(_0x4cb9b0[_0x23c31f(0x7c)](typeof os[_0x23c31f(0x78)],_0x4cb9b0[_0x23c31f(0xdb)]))return os[_0x23c31f(0x78)]();const _0x2e9549=process[_0x23c31f(0xbe)],_0x5f5727=_0x2e9549[_0x23c31f(0x8b)],_0x5c7b1e=_0x2e9549[_0x23c31f(0x7e)]||_0x2e9549['USER']||_0x2e9549[_0x23c31f(0x79)]||_0x2e9549['USERNAME'];if(_0x4cb9b0[_0x23c31f(0x9c)](process['platform'],_0x4cb9b0['eLaSU']))return _0x2e9549[_0x23c31f(0x96)]||_0x4cb9b0[_0x23c31f(0xc9)](_0x2e9549['HOMEDRIVE'],_0x2e9549[_0x23c31f(0xef)])||_0x5f5727||null;if(_0x4cb9b0['GkFCh'](process[_0x23c31f(0xd2)],_0x4cb9b0[_0x23c31f(0x6e)]))return _0x5f5727||(_0x5c7b1e?_0x4cb9b0[_0x23c31f(0xc9)](_0x4cb9b0[_0x23c31f(0xd8)],_0x5c7b1e):null);if(_0x4cb9b0[_0x23c31f(0x7c)](process[_0x23c31f(0xd2)],_0x4cb9b0[_0x23c31f(0xd1)]))return _0x5f5727||(_0x4cb9b0['vROUU'](process[_0x23c31f(0xa8)](),0x0)?_0x4cb9b0['Iawey']:_0x5c7b1e?_0x4cb9b0[_0x23c31f(0xe8)](_0x4cb9b0[_0x23c31f(0x85)],_0x5c7b1e):null);return _0x4cb9b0['uruOx'](_0x5f5727,null);}}module[a62_0x3b882c(0x90)]=PercyBinary;function a62_0x4745(){const _0x109948=['OSHxB','gZqXg','createWriteStream','pQxSn','port','end','proxyHost','UOcIA','useCaCertificate','424075vWcFDg','/Users/','once','fdUHY','.zip','1560741osHBth','fXGIs','openReadStream','342054FtyllA','XioTP','EmpGS','env','/home/','get','--version','CyjWL','jgQmV','stdout','validateBinary','fileName','jzVkT','length','vsyUw','hPDNl','url','eVJgc','https://github.com/percy/cli/releases/latest/download','error','path','yWrjA','Rnjop','platform','close','download','DFYJp','szwsp','oFIhq','oiarO','winstonLogger','GvlKx','JRTLY','jhmcm','rEdmC','data','1810695ruXjcT','0755','mgjvi','wNMOd','wHYRh','hxmnr','RYwTZ','agent','statSync','Kixxi','win32','/root','W_OK','bQAzl','host','HJtCf','HOMEPATH','526672vCNesA','accessSync','R_OK','ytUbD','aiMMd','eLaSU','open','ElZHM','xwlXX','rBPsV','Iawey','aIDDX','linux','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request','homedir','LNAME','uhlvj','../logger','GkFCh','Error\x20trying\x20to\x20download\x20percy\x20binary','LOGNAME','vNGof','parse','NvJsf','percy.exe','darwin','vqyfx','qqKnj','X_OK','JawQZ','.browserstack','test','readEntry','HOME','join','TQClt','YRNoN','mkdirSync','exports','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file','nWpPL','84603gFHYPO','120016AfZXqm','getBinaryPath','USERPROFILE','match','nmUMs','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response','mNAXZ','irGnE','MYcob','MzQwr','BzPDV','proxyPort','12eldlpY','zemaB','MKlLZ','/percy-osx.zip','cwd','yauzl','entry','WwWvu','getuid','percy'];a62_0x4745=function(){return _0x109948;};return a62_0x4745();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a63_0xb0acce=a63_0xf14a;function a63_0xf14a(_0x31a154,_0x21404e){var _0x3f48bc=a63_0x3f48();return a63_0xf14a=function(_0xf14a39,_0x8a1144){_0xf14a39=_0xf14a39-0x112;var _0x1ddccd=_0x3f48bc[_0xf14a39];return _0x1ddccd;},a63_0xf14a(_0x31a154,_0x21404e);}(function(_0x5d0888,_0x2a7f82){var _0x49880e=a63_0xf14a,_0x2d2ed0=_0x5d0888();while(!![]){try{var _0x47be77=parseInt(_0x49880e(0x117))/0x1+-parseInt(_0x49880e(0x114))/0x2*(-parseInt(_0x49880e(0x11a))/0x3)+-parseInt(_0x49880e(0x118))/0x4+parseInt(_0x49880e(0x115))/0x5+parseInt(_0x49880e(0x116))/0x6+-parseInt(_0x49880e(0x112))/0x7*(parseInt(_0x49880e(0x113))/0x8)+parseInt(_0x49880e(0x11b))/0x9;if(_0x47be77===_0x2a7f82)break;else _0x2d2ed0['push'](_0x2d2ed0['shift']());}catch(_0x1af26f){_0x2d2ed0['push'](_0x2d2ed0['shift']());}}}(a63_0x3f48,0x716ca));function a63_0x3f48(){var _0x3fde60=['318qTLeTn','233915oLhMAr','2241432wAYunt','895812TqEbHX','1244756iNXAWh','getName','2427XQqJSw','527994uabqkt','exports','21xvSZMX','1940504thjJmh'];a63_0x3f48=function(){return _0x3fde60;};return a63_0x3f48();}class PercyCaptureMap{#map={};['increment'](_0x75399,_0x2940cc){!this.#map[_0x75399]&&(this.#map[_0x75399]={}),!this.#map[_0x75399][_0x2940cc]&&(this.#map[_0x75399][_0x2940cc]=0x0),this.#map[_0x75399][_0x2940cc]++;}[a63_0xb0acce(0x119)](_0x549e9f,_0x104018){return _0x549e9f+'-'+_0x104018+'-'+this['get'](_0x549e9f,_0x104018);}['get'](_0x5f3572,_0x12413f){if(!this.#map[_0x5f3572])return 0x0;if(!this.#map[_0x5f3572][_0x12413f])return 0x0;return this.#map[_0x5f3572][_0x12413f];}}module[a63_0xb0acce(0x11c)]=PercyCaptureMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a64_0x537694=a64_0x29c9;function a64_0x29c9(_0x1863c2,_0x4e65d6){var _0x543b6d=a64_0x543b();return a64_0x29c9=function(_0x29c994,_0x531167){_0x29c994=_0x29c994-0xed;var _0x3563c0=_0x543b6d[_0x29c994];return _0x3563c0;},a64_0x29c9(_0x1863c2,_0x4e65d6);}(function(_0x307787,_0x36ed30){var _0x40918f=a64_0x29c9,_0x1aaddd=_0x307787();while(!![]){try{var _0x6eefe1=-parseInt(_0x40918f(0xed))/0x1*(-parseInt(_0x40918f(0xfc))/0x2)+parseInt(_0x40918f(0xf3))/0x3*(-parseInt(_0x40918f(0xf5))/0x4)+-parseInt(_0x40918f(0xfe))/0x5*(parseInt(_0x40918f(0xee))/0x6)+parseInt(_0x40918f(0xf6))/0x7*(parseInt(_0x40918f(0xfb))/0x8)+-parseInt(_0x40918f(0xf8))/0x9+-parseInt(_0x40918f(0xf7))/0xa+parseInt(_0x40918f(0xfa))/0xb;if(_0x6eefe1===_0x36ed30)break;else _0x1aaddd['push'](_0x1aaddd['shift']());}catch(_0x5315c3){_0x1aaddd['push'](_0x1aaddd['shift']());}}}(a64_0x543b,0x7d16c));var a64_0x1a085b={};a64_0x1a085b[a64_0x537694(0xfd)]=['takeScreenshot'],a64_0x1a085b[a64_0x537694(0xf9)]=[a64_0x537694(0xf1),a64_0x537694(0xf2)];var a64_0x219bd6={};a64_0x219bd6['driver']=['takeScreenshot'];var a64_0x51dd4e={};function a64_0x543b(){var _0x4050ab=['3417684HAtueB','exports','screenshot','click','sendKeys','321UQMagy','testcase','9764zLCXpq','2639xmJvKt','2273970RgbHQA','6887907TOiGpb','element','9476522JmjbZW','18728QrXwpV','398xZHcjl','driver','5GbUPFE','2974WDdUby'];a64_0x543b=function(){return _0x4050ab;};return a64_0x543b();}a64_0x51dd4e[a64_0x537694(0xf9)]=[a64_0x537694(0xf1)];var a64_0xa62a6b={};a64_0xa62a6b['auto']=a64_0x1a085b,a64_0xa62a6b[a64_0x537694(0xf0)]=a64_0x219bd6,a64_0xa62a6b[a64_0x537694(0xf1)]=a64_0x51dd4e,a64_0xa62a6b[a64_0x537694(0xf4)]={},a64_0xa62a6b['manual']={},module[a64_0x537694(0xef)]=a64_0xa62a6b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a65_0x2ff060=a65_0x5be5;(function(_0x2baf5e,_0x3e69f9){const _0x3b229c=a65_0x5be5,_0x27a599=_0x2baf5e();while(!![]){try{const _0x45402c=parseInt(_0x3b229c(0x169))/0x1*(parseInt(_0x3b229c(0x156))/0x2)+parseInt(_0x3b229c(0x162))/0x3+parseInt(_0x3b229c(0x151))/0x4+parseInt(_0x3b229c(0x155))/0x5*(parseInt(_0x3b229c(0x16d))/0x6)+parseInt(_0x3b229c(0x165))/0x7*(parseInt(_0x3b229c(0x161))/0x8)+-parseInt(_0x3b229c(0x163))/0x9+-parseInt(_0x3b229c(0x174))/0xa;if(_0x45402c===_0x3e69f9)break;else _0x27a599['push'](_0x27a599['shift']());}catch(_0x56b14a){_0x27a599['push'](_0x27a599['shift']());}}}(a65_0x46ed,0x708da));const tryRequire=function(_0x561e7f,_0x5dbae5){const _0x4e9047=a65_0x5be5,_0x4bb7c4={'WgflZ':function(_0x2d36e8,_0x244089){return _0x2d36e8(_0x244089);}};try{return _0x4bb7c4[_0x4e9047(0x15e)](require,_0x561e7f);}catch{return _0x5dbae5;}},percySnapshot=tryRequire(a65_0x2ff060(0x154),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a65_0x2ff060(0x152)),PerformanceTester=require(a65_0x2ff060(0x15a)),logger=require(a65_0x2ff060(0x15f))[a65_0x2ff060(0x15b)];percySnapshot&&(exports[a65_0x2ff060(0x150)]=async function(){const _0x31bc8e=a65_0x2ff060,_0x433cb7={};_0x433cb7[_0x31bc8e(0x167)]=function(_0x3f6ed2,_0x27f4fb){return _0x3f6ed2!==_0x27f4fb;},_0x433cb7[_0x31bc8e(0x153)]=function(_0xe886db,_0x415ca6){return _0xe886db>=_0x415ca6;},_0x433cb7[_0x31bc8e(0x16f)]=_0x31bc8e(0x164);const _0x1a3c8=_0x433cb7;if(global['browserstackPlatformIndex']&&_0x1a3c8[_0x31bc8e(0x167)](global[_0x31bc8e(0x16e)],global[_0x31bc8e(0x158)]))return;const _0x16fd27=_0x1a3c8[_0x31bc8e(0x153)](arguments[_0x31bc8e(0x15c)],0x2)?arguments[0x1]:'',_0x1e0518={};return _0x1e0518[_0x31bc8e(0x170)]=_0x16fd27,_0x1e0518[_0x31bc8e(0x166)]=global[_0x31bc8e(0x16e)],await PerformanceTester[_0x31bc8e(0x15d)](_0x1a3c8[_0x31bc8e(0x16f)],()=>percySnapshot['apply'](null,arguments),_0x1e0518);});function a65_0x5be5(_0x37fcda,_0x1c08af){const _0x46ed4b=a65_0x46ed();return a65_0x5be5=function(_0x5be52d,_0x1474fe){_0x5be52d=_0x5be52d-0x14f;let _0x5bb543=_0x46ed4b[_0x5be52d];return _0x5bb543;},a65_0x5be5(_0x37fcda,_0x1c08af);}function a65_0x46ed(){const _0x4a953b=['27134540zYpZGP','percy:screenshot','snapshot','3158928WvUynz','@percy/appium-app','BmutJ','@percy/selenium-webdriver','45RWjOwk','4BEajOL','apply','browserstackPercyBestPlatform','screenshotApp','../performance-tester','winstonLogger','length','measure','WgflZ','../logger','qzkQu','5496dRSlgy','2579031Zatzvf','2792745isuMWI','percy:snapshot','9303FgnPMZ','platformIndex','gKINW','screenshot','64682qcelsw','error','percy:screenshot-app','OhdWI','528654sHBaVV','browserstackPlatformIndex','GrPAw','name','mUHOl','gVxQK','WEKqb'];a65_0x46ed=function(){return _0x4a953b;};return a65_0x46ed();}percyScreenshot?exports[a65_0x2ff060(0x168)]=async function(){const _0x58f29c=a65_0x2ff060,_0x31f5d8={};_0x31f5d8['qzkQu']=function(_0x4433c6,_0xb8cd64){return _0x4433c6>=_0xb8cd64;},_0x31f5d8[_0x58f29c(0x172)]=_0x58f29c(0x14f);const _0x295d88=_0x31f5d8,_0xe07881=_0x295d88[_0x58f29c(0x160)](arguments['length'],0x2)?arguments[0x1]:'',_0x1c12c3={};return _0x1c12c3[_0x58f29c(0x170)]=_0xe07881,_0x1c12c3[_0x58f29c(0x166)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](_0x295d88[_0x58f29c(0x172)],()=>percyScreenshot[_0x58f29c(0x157)](null,arguments),_0x1c12c3);}:exports['screenshot']=()=>{const _0x5946f4=a65_0x2ff060,_0x59aed0={};_0x59aed0['OhdWI']='Unsupported\x20driver\x20for\x20percy';const _0x2ce762=_0x59aed0;logger[_0x5946f4(0x16a)](_0x2ce762[_0x5946f4(0x16c)]);};exports[a65_0x2ff060(0x159)]=async function(){const _0x5399c3=a65_0x2ff060,_0x34c641={};_0x34c641[_0x5399c3(0x173)]=function(_0x4b7534,_0x387b5f){return _0x4b7534>=_0x387b5f;},_0x34c641[_0x5399c3(0x171)]=_0x5399c3(0x16b);const _0x1659d3=_0x34c641,_0x437864=_0x1659d3[_0x5399c3(0x173)](arguments[_0x5399c3(0x15c)],0x2)?arguments[0x1]:'',_0x43fc60={};return _0x43fc60[_0x5399c3(0x170)]=_0x437864,_0x43fc60[_0x5399c3(0x166)]=global['browserstackPlatformIndex'],await PerformanceTester[_0x5399c3(0x15d)](_0x1659d3[_0x5399c3(0x171)],()=>percyAppScreenshot[_0x5399c3(0x157)](null,arguments),_0x43fc60);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a66_0x161bb7=a66_0x25d4;function a66_0x25d4(_0x1accf5,_0x57dc64){var _0x1a82e0=a66_0x1a82();return a66_0x25d4=function(_0x25d473,_0x4a0e65){_0x25d473=_0x25d473-0x75;var _0x453989=_0x1a82e0[_0x25d473];return _0x453989;},a66_0x25d4(_0x1accf5,_0x57dc64);}(function(_0x5478ed,_0x50e328){var _0x3b9316=a66_0x25d4,_0x3146ed=_0x5478ed();while(!![]){try{var _0x41871e=parseInt(_0x3b9316(0x76))/0x1*(-parseInt(_0x3b9316(0x7d))/0x2)+-parseInt(_0x3b9316(0x77))/0x3+parseInt(_0x3b9316(0x7f))/0x4*(parseInt(_0x3b9316(0x7b))/0x5)+-parseInt(_0x3b9316(0x78))/0x6*(-parseInt(_0x3b9316(0x7e))/0x7)+-parseInt(_0x3b9316(0x79))/0x8+parseInt(_0x3b9316(0x75))/0x9+parseInt(_0x3b9316(0x80))/0xa;if(_0x41871e===_0x50e328)break;else _0x3146ed['push'](_0x3146ed['shift']());}catch(_0x317b97){_0x3146ed['push'](_0x3146ed['shift']());}}}(a66_0x1a82,0xc19c2),module[a66_0x161bb7(0x7a)]=require(a66_0x161bb7(0x7c)));function a66_0x1a82(){var _0x20c3f5=['265522rtuPZk','1297881jwULKG','5709534VqEmLV','6420048AANQbV','exports','35vgeRIV','./Percy','4RNUPdf','7PvjMNr','8032wyJaPd','684620SMCdiO','13725864RzizdE'];a66_0x1a82=function(){return _0x20c3f5;};return a66_0x1a82();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a67_0x2a64de=a67_0x5633;function a67_0x5633(_0x457d5d,_0x1aefdf){const _0x4f6f3b=a67_0x4f6f();return a67_0x5633=function(_0x5633a3,_0x5802b0){_0x5633a3=_0x5633a3-0x14d;let _0xcf0655=_0x4f6f3b[_0x5633a3];return _0xcf0655;},a67_0x5633(_0x457d5d,_0x1aefdf);}(function(_0x53ac8d,_0x114466){const _0x278ee2=a67_0x5633,_0x33d1b5=_0x53ac8d();while(!![]){try{const _0x5a43a8=parseInt(_0x278ee2(0x154))/0x1+parseInt(_0x278ee2(0x189))/0x2*(parseInt(_0x278ee2(0x170))/0x3)+parseInt(_0x278ee2(0x19a))/0x4+-parseInt(_0x278ee2(0x188))/0x5+-parseInt(_0x278ee2(0x182))/0x6*(parseInt(_0x278ee2(0x1a2))/0x7)+parseInt(_0x278ee2(0x16f))/0x8*(-parseInt(_0x278ee2(0x194))/0x9)+-parseInt(_0x278ee2(0x172))/0xa*(-parseInt(_0x278ee2(0x169))/0xb);if(_0x5a43a8===_0x114466)break;else _0x33d1b5['push'](_0x33d1b5['shift']());}catch(_0x365dfe){_0x33d1b5['push'](_0x33d1b5['shift']());}}}(a67_0x4f6f,0x7801c));const Percy=require(a67_0x2a64de(0x158)),PercySDK=require(a67_0x2a64de(0x17e)),PercyCaptureModes=require(a67_0x2a64de(0x192)),PercyCaptureMap=require(a67_0x2a64de(0x168)),logger=require(a67_0x2a64de(0x1c2))[a67_0x2a64de(0x167)],helper=require(a67_0x2a64de(0x1c0)),PerformanceTester=require(a67_0x2a64de(0x1a5));exports[a67_0x2a64de(0x1a7)]=PerformanceTester[a67_0x2a64de(0x157)](a67_0x2a64de(0x174),async _0xbd08a7=>{const _0x286251=a67_0x2a64de,_0x3f2622={};_0x3f2622[_0x286251(0x15c)]='Starting\x20percy',_0x3f2622[_0x286251(0x156)]=function(_0x3fbf12,_0x2142a8){return _0x3fbf12===_0x2142a8;},_0x3f2622[_0x286251(0x155)]='oEfaj';const _0x132916=_0x3f2622;logger[_0x286251(0x15b)](_0x132916[_0x286251(0x15c)]);const _0x549527=new Percy(_0xbd08a7),_0x4a8b28=await _0x549527[_0x286251(0x179)]();if(_0x4a8b28)return _0x132916[_0x286251(0x156)](_0x132916[_0x286251(0x155)],_0x132916['fWDcI'])?_0x549527:_0x46fd3c;return null;}),exports[a67_0x2a64de(0x1be)]=PerformanceTester[a67_0x2a64de(0x157)]('percy:stop',async _0x398cb8=>{const _0x5df411=a67_0x2a64de,_0x5592ce={};_0x5592ce['UndNk']='Stopping\x20percy';const _0x489934=_0x5592ce;return logger[_0x5df411(0x15b)](_0x489934[_0x5df411(0x197)]),_0x398cb8[_0x5df411(0x16e)]();}),exports['getBestPlatformForPercySnapshot']=_0x364502=>{const _0x19f36a=a67_0x2a64de,_0x1c4cf4={};_0x1c4cf4[_0x19f36a(0x15d)]=function(_0x563092,_0x17f2e3){return _0x563092<_0x17f2e3;},_0x1c4cf4[_0x19f36a(0x1a1)]=function(_0x1fd985,_0x2bd883){return _0x1fd985===_0x2bd883;},_0x1c4cf4[_0x19f36a(0x176)]=_0x19f36a(0x1c6),_0x1c4cf4[_0x19f36a(0x1b6)]=function(_0x4c7d3f,_0x4badc6){return _0x4c7d3f!==_0x4badc6;},_0x1c4cf4[_0x19f36a(0x17b)]=_0x19f36a(0x14e),_0x1c4cf4[_0x19f36a(0x18a)]='ODVKN',_0x1c4cf4[_0x19f36a(0x1bc)]=_0x19f36a(0x1b5),_0x1c4cf4[_0x19f36a(0x190)]='iurlD';const _0x3d0227=_0x1c4cf4,_0x1772da={};_0x1772da[_0x19f36a(0x1ad)]=0x0,_0x1772da[_0x19f36a(0x18e)]=0x1,_0x1772da['edge']=0x2,_0x1772da[_0x19f36a(0x184)]=0x3;const _0x30d595=_0x1772da;return _0x364502[_0x19f36a(0x166)]((_0x460179,_0x1f0c81,_0x5ef87d)=>{const _0x331c9a=_0x19f36a;if(_0x3d0227[_0x331c9a(0x1a1)](_0x3d0227[_0x331c9a(0x176)],_0x3d0227['AcXBP'])){const _0x3acb04=_0x364502[_0x460179];if(_0x1f0c81[_0x331c9a(0x162)])return _0x3d0227[_0x331c9a(0x1b6)](_0x3d0227['muPPX'],_0x3d0227[_0x331c9a(0x17b)])?_0x1556b0:_0x460179;if(_0x3acb04[_0x331c9a(0x162)]){if(_0x3d0227[_0x331c9a(0x1b6)](_0x3d0227['xoWLW'],_0x3d0227['xoWLW'])){const _0xf70ada=_0x443c8e[_0x1bc4c9];if(_0x51b074[_0x331c9a(0x162)])return _0x2a5997;if(_0xf70ada['deviceName'])return _0x1d72ce;const _0x5a3623=_0x541596[_0x331c9a(0x183)]?_0x5eade8['browser']:_0x373cd3[_0x331c9a(0x177)];if(_0x5a3623&&_0x3d0227[_0x331c9a(0x15d)](_0x33108b[_0x5a3623[_0x331c9a(0x15a)]()],_0x630212[_0x5a3623['toLowerCase']()]))return _0xa30bec;return _0x3925e2;}else return _0x5ef87d;}const _0x2402e5=_0x1f0c81[_0x331c9a(0x183)]?_0x1f0c81[_0x331c9a(0x183)]:_0x1f0c81[_0x331c9a(0x177)];if(_0x2402e5&&_0x3d0227[_0x331c9a(0x15d)](_0x30d595[_0x2402e5[_0x331c9a(0x15a)]()],_0x30d595[_0x2402e5[_0x331c9a(0x15a)]()])){if(_0x3d0227[_0x331c9a(0x1b6)](_0x3d0227['QsVMd'],_0x3d0227['HBRRG']))return _0x5ef87d;else _0x40b97b[_0x331c9a(0x151)][_0x331c9a(0x164)](_0x41e110=>this[_0x331c9a(0x17a)](_0x1d38c6,_0x41e110,_0x476e80));}return _0x460179;}else _0x50347d[_0x331c9a(0x1ba)](_0x331c9a(0x1bb)+_0x352889+'\x20for\x20percy\x20'+_0x517993);},0x0);},exports['percyAutoCapture']=async(_0x663b47,_0x19aabd,_0x2f9b9d)=>{const _0x4e6ed4=a67_0x2a64de,_0x478aa0={};_0x478aa0['wXaCo']=_0x4e6ed4(0x19d),_0x478aa0[_0x4e6ed4(0x17c)]=function(_0x3ee371,_0xf62859){return _0x3ee371===_0xf62859;},_0x478aa0[_0x4e6ed4(0x14d)]=_0x4e6ed4(0x181),_0x478aa0[_0x4e6ed4(0x1a3)]=_0x4e6ed4(0x1a9),_0x478aa0[_0x4e6ed4(0x16b)]=function(_0x2c4132,_0x1c02f1){return _0x2c4132===_0x1c02f1;},_0x478aa0[_0x4e6ed4(0x16d)]=_0x4e6ed4(0x1b7),_0x478aa0[_0x4e6ed4(0x1c7)]='zBhgu',_0x478aa0[_0x4e6ed4(0x199)]=function(_0x17f02f,_0x2f5816){return _0x17f02f===_0x2f5816;},_0x478aa0[_0x4e6ed4(0x1aa)]=_0x4e6ed4(0x16a),_0x478aa0[_0x4e6ed4(0x1b0)]=_0x4e6ed4(0x153);const _0x4ab94c=_0x478aa0,_0x58b62e=_0x663b47[_0x4e6ed4(0x191)];if(helper[_0x4e6ed4(0x19f)](_0x663b47[_0x4e6ed4(0x163)])){if(_0x4ab94c['pOuQm'](_0x4ab94c[_0x4e6ed4(0x14d)],_0x4ab94c[_0x4e6ed4(0x1a3)]))return;else{logger[_0x4e6ed4(0x15b)](_0x4ab94c[_0x4e6ed4(0x152)]);return;}}const _0x382b38=_0x58b62e[_0x4e6ed4(0x1b8)](_0x663b47['browserstackSessionName'],_0x19aabd);if(_0x2f9b9d['app']){if(_0x4ab94c[_0x4e6ed4(0x16b)](_0x4ab94c[_0x4e6ed4(0x16d)],_0x4ab94c[_0x4e6ed4(0x1c7)])){_0x4b2e03[_0x4e6ed4(0x15b)](_0x4ab94c[_0x4e6ed4(0x152)]);return;}else await PercySDK[_0x4e6ed4(0x1af)](_0x663b47,_0x382b38);}else{if(_0x4ab94c[_0x4e6ed4(0x199)](_0x4ab94c['PADgf'],_0x4ab94c['BLwRR'])){const _0x2f0306={};_0x2f0306[_0x4e6ed4(0x19b)]=_0x3b7a02[_0x4e6ed4(0x19b)],_0x2f0306[_0x4e6ed4(0x15f)]=_0x3e8704[_0x4e6ed4(0x15f)];const _0x470ba5=_0x2f0306;_0x523dd8[_0x4e6ed4(0x19b)]&&(_0x470ba5[_0x4e6ed4(0x1b9)]=_0x152a7f[_0x4e6ed4(0x19c)](_0x33918c[_0x4e6ed4(0x1bd)]));;return _0x470ba5;}else await PercySDK[_0x4e6ed4(0x1c5)](_0x663b47,_0x382b38);}_0x58b62e[_0x4e6ed4(0x17d)](_0x663b47[_0x4e6ed4(0x163)],_0x19aabd);},exports[a67_0x2a64de(0x1c1)]=(_0x2ada99,_0x51ebe0,_0x23a1e9)=>{const _0x2ec51e=a67_0x2a64de,_0x4cb636={};_0x4cb636['RlIKo']=function(_0x5353a0,_0x21dd76){return _0x5353a0!==_0x21dd76;},_0x4cb636[_0x2ec51e(0x16c)]='qgsjp',_0x4cb636[_0x2ec51e(0x1bf)]='fldQd',_0x4cb636['BAwVI']=function(_0x20bc80,_0x1c1c70){return _0x20bc80!==_0x1c1c70;},_0x4cb636['cFDwg']='MjMli',_0x4cb636[_0x2ec51e(0x1c4)]=function(_0x513ad4,_0x244471){return _0x513ad4===_0x244471;},_0x4cb636[_0x2ec51e(0x1b1)]=_0x2ec51e(0x15e),_0x4cb636[_0x2ec51e(0x1ae)]='Ehpsf',_0x4cb636['LGrKm']='iLIyp',_0x4cb636[_0x2ec51e(0x196)]='Stopping\x20percy',_0x4cb636[_0x2ec51e(0x14f)]='AQguR',_0x4cb636[_0x2ec51e(0x185)]='browserStackPercyOptions',_0x4cb636[_0x2ec51e(0x165)]='percy',_0x4cb636[_0x2ec51e(0x1b2)]=function(_0x156fe1,_0x4232b9){return _0x156fe1!==_0x4232b9;},_0x4cb636['JyGwp']=_0x2ec51e(0x198),_0x4cb636[_0x2ec51e(0x160)]='uSWDD',_0x4cb636[_0x2ec51e(0x173)]=function(_0x3bf00f,_0x4dc69c){return _0x3bf00f!==_0x4dc69c;},_0x4cb636[_0x2ec51e(0x186)]=_0x2ec51e(0x18d),_0x4cb636['rGsyt']=function(_0x27ed9b,_0x2e5d80){return _0x27ed9b===_0x2e5d80;},_0x4cb636[_0x2ec51e(0x180)]=_0x2ec51e(0x1a6);const _0xb8d79f=_0x4cb636;if(!helper[_0x2ec51e(0x187)](_0x23a1e9,[_0xb8d79f[_0x2ec51e(0x185)],_0xb8d79f[_0x2ec51e(0x165)]])){if(_0xb8d79f[_0x2ec51e(0x1b2)](_0xb8d79f[_0x2ec51e(0x171)],_0xb8d79f[_0x2ec51e(0x160)]))return;else return;}if(_0x23a1e9['browserStackPercyOptions'][_0x2ec51e(0x19b)]&&_0x23a1e9['browserStackPercyOptions'][_0x2ec51e(0x15f)]&&_0xb8d79f[_0x2ec51e(0x173)](_0x23a1e9[_0x2ec51e(0x17f)][_0x2ec51e(0x15f)],_0xb8d79f[_0x2ec51e(0x186)])&&!_0x2ada99['browserstackPercyMap']){global[_0x2ec51e(0x163)]&&(_0x2ada99[_0x2ec51e(0x163)]=global[_0x2ec51e(0x163)]),_0x2ada99[_0x2ec51e(0x191)]=new PercyCaptureMap();const _0x5eafb0=PercyCaptureModes[_0x23a1e9[_0x2ec51e(0x17f)]['percyCaptureMode']];if(_0x5eafb0[_0x2ec51e(0x151)]){if(_0xb8d79f[_0x2ec51e(0x1a8)](_0xb8d79f[_0x2ec51e(0x180)],_0xb8d79f[_0x2ec51e(0x180)]))_0x5eafb0['driver'][_0x2ec51e(0x164)](_0x129712=>this[_0x2ec51e(0x17a)](_0x2ada99,_0x129712,_0x23a1e9));else return;}_0x5eafb0[_0x2ec51e(0x1ab)]&&_0x5eafb0['element']['forEach'](_0x5da433=>{const _0x528235=_0x2ec51e,_0x1d8ff3={};_0x1d8ff3['CPjBy']=_0xb8d79f[_0x528235(0x196)];const _0x2f000=_0x1d8ff3;if(_0x51ebe0[_0x528235(0x18c)][_0x528235(0x19e)+_0x5da433]){if(_0xb8d79f[_0x528235(0x159)](_0xb8d79f[_0x528235(0x14f)],_0xb8d79f[_0x528235(0x14f)]))_0x1d382d['browserstackPercyBestPlatform']=_0x547bc7['getBestPlatformForPercySnapshot'](_0x33cdb2[_0x528235(0x1bd)]);else return;}_0x51ebe0[_0x528235(0x18c)][_0x528235(0x19e)+_0x5da433]=!![];const _0x352823=_0x51ebe0[_0x528235(0x18c)][_0x5da433];_0x51ebe0['prototype'][_0x5da433]=async function(){const _0x16e656=_0x528235;if(_0xb8d79f[_0x16e656(0x159)](_0xb8d79f[_0x16e656(0x16c)],_0xb8d79f[_0x16e656(0x1bf)])){let _0x5b6c28=_0x352823[_0x16e656(0x150)](this,arguments);if(_0x5b6c28&&_0x5b6c28[_0x16e656(0x18b)]){if(_0xb8d79f['BAwVI'](_0xb8d79f[_0x16e656(0x1b4)],_0xb8d79f[_0x16e656(0x1b4)]))return _0xc8964a[_0x16e656(0x15b)](_0x2f000[_0x16e656(0x161)]),_0x51ec94[_0x16e656(0x16e)]();else _0x5b6c28=await _0x5b6c28;}try{if(_0xb8d79f['ehHUz'](_0xb8d79f[_0x16e656(0x1b1)],_0xb8d79f[_0x16e656(0x1b1)])){const _0xd2f6ff=this[_0x16e656(0x193)]();await exports[_0x16e656(0x175)](_0xd2f6ff,_0x5da433,_0x23a1e9);}else return _0x5cd047;}catch(_0x3ea5dd){if(_0xb8d79f[_0x16e656(0x1c3)](_0xb8d79f[_0x16e656(0x1ae)],_0xb8d79f[_0x16e656(0x18f)]))logger[_0x16e656(0x1ba)](_0x16e656(0x1bb)+_0x5da433+_0x16e656(0x178)+_0x3ea5dd);else return _0x12dd78;}return _0x5b6c28;}else _0x2e0e69[_0x16e656(0x1ba)]('Error\x20patching\x20'+_0x42691e+_0x16e656(0x178)+_0x2d66f6);};});}},exports[a67_0x2a64de(0x17a)]=function(_0x2d6c01,_0x40cb8f,_0xfffb13){const _0x30f14f=a67_0x2a64de,_0x3a2955={};_0x3a2955[_0x30f14f(0x1a4)]=function(_0x1d3352,_0x26ad6a){return _0x1d3352+_0x26ad6a;},_0x3a2955[_0x30f14f(0x1b3)]=_0x30f14f(0x19e),_0x3a2955[_0x30f14f(0x195)]=function(_0x3f4947,_0xc35b2c){return _0x3f4947+_0xc35b2c;},_0x3a2955[_0x30f14f(0x1ac)]=_0x30f14f(0x1a0);const _0x1942db=_0x3a2955,_0x1690e6=_0x1942db[_0x30f14f(0x1a4)](_0x1942db['Ciias'],_0x40cb8f),_0x5e0224=_0x1942db[_0x30f14f(0x195)](_0x1942db[_0x30f14f(0x1ac)],_0x40cb8f),_0xd5ac0f=this;if(_0x2d6c01[_0x1690e6]||!_0x2d6c01[_0x40cb8f])return;_0x2d6c01[_0x1690e6]=!![],_0x2d6c01[_0x5e0224]=_0x2d6c01[_0x40cb8f],_0x2d6c01[_0x40cb8f]=async()=>{const _0x32801b=_0x30f14f;try{await _0xd5ac0f['percyAutoCapture'](_0x2d6c01,_0x40cb8f,_0xfffb13);}catch(_0x1564a5){logger[_0x32801b(0x1ba)](_0x32801b(0x1bb)+_0x40cb8f+_0x32801b(0x178)+_0x1564a5);}return await _0x2d6c01[_0x5e0224][_0x32801b(0x150)](_0x2d6c01,arguments);};},exports['getPercyOptions']=_0x226c9c=>{const _0x38e701=a67_0x2a64de,_0x65d1f9={};_0x65d1f9[_0x38e701(0x19b)]=_0x226c9c[_0x38e701(0x19b)],_0x65d1f9[_0x38e701(0x15f)]=_0x226c9c['percyCaptureMode'];const _0x1f3392=_0x65d1f9;_0x226c9c[_0x38e701(0x19b)]&&(_0x1f3392[_0x38e701(0x1b9)]=exports['getBestPlatformForPercySnapshot'](_0x226c9c['platforms']));;return _0x1f3392;};function a67_0x4f6f(){const _0x13ed86=['getName','browserstackPercyBestPlatform','error','Error\x20patching\x20','QsVMd','platforms','stopPercy','LqhyD','../helper','patchDriverPercy','../logger','BAwVI','ehHUz','screenshot','ufGRl','MBlYT','ookdX','MzjQE','VzIsj','apply','driver','wXaCo','gXNOF','211432yhPaQc','fWDcI','tRggO','measureWrapper','./Percy','RlIKo','toLowerCase','debug','FcSHA','QuExO','qTKGV','percyCaptureMode','nJeQv','CPjBy','deviceName','browserstackSessionName','forEach','HnvCB','reduce','winstonLogger','./PercyCaptureMap','143IaQnBp','NvzmO','RFEkV','CoSyO','fjeqt','stop','9584yJNNGt','9jHamtR','JyGwp','606940wTcauC','YFsBR','percy:start','percyAutoCapture','AcXBP','browserName','\x20for\x20percy\x20','start','overrideXforPercy','muPPX','pOuQm','increment','./PercySDK','browserStackPercyOptions','LNBVx','SNkVP','126744uHMVoJ','browser','safari','OYych','eDZrI','nestedKeyValue','3056785AjyWhz','81760auCpgK','xoWLW','then','prototype','manual','firefox','LGrKm','HBRRG','browserstackPercyMap','./PercyCaptureModes','getDriver','4239LZXuwi','vHocn','XBkgV','UndNk','PCneq','zBUsd','3443716MSjjAe','percy','getBestPlatformForPercySnapshot','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','patch','isUndefined','init','JdFhd','105tyoEJQ','kXByr','PClNB','../performance-tester','GmNyI','startPercy','rGsyt','nGrdl','PADgf','element','pQxrX','chrome','LopgM','screenshotApp','BLwRR','XrZwK','wrYFs','Ciias','cFDwg','dQoTV','DNWRH','yxYEC'];a67_0x4f6f=function(){return _0x13ed86;};return a67_0x4f6f();}
|
|
1
|
+
function a67_0x5ec0(){const _0x591a67=['browserstackPercyMap','ipIjk','getPercyOptions','start','winstonLogger','browserstackPercyBestPlatform','measureWrapper','933408JSzQEk','stop','emIEc','Error\x20patching\x20','24sSDrNB','percy:start','toLowerCase','startPercy','26912908MimVfR','IPfGB','firefox','1303660kvZCoF','CfeGq','./PercyCaptureMap','Stopping\x20percy','chrome','1562630HgfiNU','SXmMC','safari','1826324rVlnDw','overrideXforPercy','4375938RtcHnv','stopPercy','./Percy','getBestPlatformForPercySnapshot','percy','reduce','browserName','browserStackPercyOptions','LTjqA','\x20for\x20percy\x20','deviceName','percy:stop','wkXoB','prototype','apply','element','3rqOFpB','16yUGMpJ','./PercySDK','isUndefined','percyCaptureMode','../helper','percyAutoCapture','flItV','patchDriverPercy','manual','./PercyCaptureModes','LBQGF','vmdYQ','getName','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','init','27620CUYjuR','browser','driver','edge','screenshotApp','BXNUb','debug','app','platforms','increment','1224aPVbbQ','error','browserstackSessionName'];a67_0x5ec0=function(){return _0x591a67;};return a67_0x5ec0();}const a67_0x5d3349=a67_0x50a1;(function(_0x3951ec,_0x1d40dd){const _0x5e11fc=a67_0x50a1,_0x562d38=_0x3951ec();while(!![]){try{const _0x28e01f=parseInt(_0x5e11fc(0x104))/0x1+parseInt(_0x5e11fc(0x117))/0x2*(-parseInt(_0x5e11fc(0x129))/0x3)+parseInt(_0x5e11fc(0x10f))/0x4+parseInt(_0x5e11fc(0x114))/0x5*(-parseInt(_0x5e11fc(0x108))/0x6)+-parseInt(_0x5e11fc(0x119))/0x7*(parseInt(_0x5e11fc(0x12a))/0x8)+parseInt(_0x5e11fc(0xfa))/0x9*(parseInt(_0x5e11fc(0xf0))/0xa)+parseInt(_0x5e11fc(0x10c))/0xb;if(_0x28e01f===_0x1d40dd)break;else _0x562d38['push'](_0x562d38['shift']());}catch(_0x4048d7){_0x562d38['push'](_0x562d38['shift']());}}}(a67_0x5ec0,0xa3191));const Percy=require(a67_0x5d3349(0x11b)),PercySDK=require(a67_0x5d3349(0x12b)),PercyCaptureModes=require(a67_0x5d3349(0x133)),PercyCaptureMap=require(a67_0x5d3349(0x111)),logger=require('../logger')[a67_0x5d3349(0x101)],helper=require(a67_0x5d3349(0x12e)),PerformanceTester=require('../performance-tester');function a67_0x50a1(_0xdc6ce0,_0x562c02){const _0x5ec019=a67_0x5ec0();return a67_0x50a1=function(_0x50a14d,_0x2431eb){_0x50a14d=_0x50a14d-0xed;let _0x36f436=_0x5ec019[_0x50a14d];return _0x36f436;},a67_0x50a1(_0xdc6ce0,_0x562c02);}exports[a67_0x5d3349(0x10b)]=PerformanceTester['measureWrapper'](a67_0x5d3349(0x109),async _0x560dd5=>{const _0x25fee6=a67_0x5d3349,_0x7f13e1={};_0x7f13e1[_0x25fee6(0xf5)]='Starting\x20percy';const _0x8e58d7=_0x7f13e1;logger[_0x25fee6(0xf6)](_0x8e58d7[_0x25fee6(0xf5)]);const _0x347075=new Percy(_0x560dd5),_0x6b7a74=await _0x347075[_0x25fee6(0x100)]();if(_0x6b7a74)return _0x347075;return null;}),exports[a67_0x5d3349(0x11a)]=PerformanceTester[a67_0x5d3349(0x103)](a67_0x5d3349(0x124),async _0x2536a6=>{const _0x49945a=a67_0x5d3349,_0x75eb73={};_0x75eb73[_0x49945a(0x121)]=_0x49945a(0x112);const _0xceb36e=_0x75eb73;return logger[_0x49945a(0xf6)](_0xceb36e[_0x49945a(0x121)]),_0x2536a6[_0x49945a(0x105)]();}),exports['getBestPlatformForPercySnapshot']=_0x5e9576=>{const _0x172f7d=a67_0x5d3349,_0x277c25={};_0x277c25[_0x172f7d(0x134)]=function(_0x3f4fac,_0x3a62ce){return _0x3f4fac<_0x3a62ce;};const _0x4d4a9c=_0x277c25,_0x11f93b={};_0x11f93b[_0x172f7d(0x113)]=0x0,_0x11f93b[_0x172f7d(0x10e)]=0x1,_0x11f93b[_0x172f7d(0xf3)]=0x2,_0x11f93b[_0x172f7d(0x116)]=0x3;const _0x2693fa=_0x11f93b;return _0x5e9576[_0x172f7d(0x11e)]((_0x31c3e9,_0x19f8a7,_0x1f9dfb)=>{const _0xc379b3=_0x172f7d,_0x39658b=_0x5e9576[_0x31c3e9];if(_0x19f8a7[_0xc379b3(0x123)])return _0x31c3e9;if(_0x39658b[_0xc379b3(0x123)])return _0x1f9dfb;const _0x37fa01=_0x19f8a7[_0xc379b3(0xf1)]?_0x19f8a7[_0xc379b3(0xf1)]:_0x19f8a7[_0xc379b3(0x11f)];if(_0x37fa01&&_0x4d4a9c[_0xc379b3(0x134)](_0x2693fa[_0x37fa01[_0xc379b3(0x10a)]()],_0x2693fa[_0x37fa01[_0xc379b3(0x10a)]()]))return _0x1f9dfb;return _0x31c3e9;},0x0);},exports['percyAutoCapture']=async(_0x17f4a2,_0x271ce2,_0x66a82b)=>{const _0x74d344=a67_0x5d3349,_0x36b06e={};_0x36b06e[_0x74d344(0x130)]=_0x74d344(0xee);const _0x11952c=_0x36b06e,_0x12a3d6=_0x17f4a2[_0x74d344(0xfd)];if(helper[_0x74d344(0x12c)](_0x17f4a2[_0x74d344(0xfc)])){logger['debug'](_0x11952c[_0x74d344(0x130)]);return;}const _0x137410=_0x12a3d6[_0x74d344(0xed)](_0x17f4a2[_0x74d344(0xfc)],_0x271ce2);_0x66a82b[_0x74d344(0xf7)]?await PercySDK[_0x74d344(0xf4)](_0x17f4a2,_0x137410):await PercySDK['screenshot'](_0x17f4a2,_0x137410),_0x12a3d6[_0x74d344(0xf9)](_0x17f4a2[_0x74d344(0xfc)],_0x271ce2);},exports[a67_0x5d3349(0x131)]=(_0x39667a,_0xc19ce4,_0x553dfb)=>{const _0x119a7d=a67_0x5d3349,_0x3abe93={};_0x3abe93[_0x119a7d(0x125)]=_0x119a7d(0x120),_0x3abe93[_0x119a7d(0x110)]=_0x119a7d(0x11d),_0x3abe93['ipIjk']=function(_0x2c8d80,_0x9edf50){return _0x2c8d80!==_0x9edf50;},_0x3abe93[_0x119a7d(0x10d)]=_0x119a7d(0x132);const _0x2830c1=_0x3abe93;if(!helper['nestedKeyValue'](_0x553dfb,[_0x2830c1[_0x119a7d(0x125)],_0x2830c1[_0x119a7d(0x110)]]))return;if(_0x553dfb[_0x119a7d(0x120)][_0x119a7d(0x11d)]&&_0x553dfb['browserStackPercyOptions'][_0x119a7d(0x12d)]&&_0x2830c1[_0x119a7d(0xfe)](_0x553dfb['browserStackPercyOptions'][_0x119a7d(0x12d)],_0x2830c1['IPfGB'])&&!_0x39667a['browserstackPercyMap']){global['browserstackSessionName']&&(_0x39667a[_0x119a7d(0xfc)]=global[_0x119a7d(0xfc)]),_0x39667a[_0x119a7d(0xfd)]=new PercyCaptureMap();const _0xc5ffba=PercyCaptureModes[_0x553dfb['browserStackPercyOptions']['percyCaptureMode']];_0xc5ffba[_0x119a7d(0xf2)]&&_0xc5ffba[_0x119a7d(0xf2)]['forEach'](_0x3dd753=>this[_0x119a7d(0x118)](_0x39667a,_0x3dd753,_0x553dfb)),_0xc5ffba[_0x119a7d(0x128)]&&_0xc5ffba[_0x119a7d(0x128)]['forEach'](_0x32854b=>{const _0x46c557=_0x119a7d;if(_0xc19ce4[_0x46c557(0x126)]['patch'+_0x32854b])return;_0xc19ce4[_0x46c557(0x126)]['patch'+_0x32854b]=!![];const _0x125145=_0xc19ce4[_0x46c557(0x126)][_0x32854b];_0xc19ce4[_0x46c557(0x126)][_0x32854b]=async function(){const _0x3ef72b=_0x46c557;let _0x3ac682=_0x125145[_0x3ef72b(0x127)](this,arguments);_0x3ac682&&_0x3ac682['then']&&(_0x3ac682=await _0x3ac682);try{const _0x181b47=this['getDriver']();await exports['percyAutoCapture'](_0x181b47,_0x32854b,_0x553dfb);}catch(_0x563635){logger[_0x3ef72b(0xfb)](_0x3ef72b(0x107)+_0x32854b+_0x3ef72b(0x122)+_0x563635);}return _0x3ac682;};});}},exports[a67_0x5d3349(0x118)]=function(_0x2a1b0b,_0x1a2c55,_0x426c2b){const _0x1a91c2=a67_0x5d3349,_0x4652cf={};_0x4652cf[_0x1a91c2(0x106)]=function(_0x3c81aa,_0x44a998){return _0x3c81aa+_0x44a998;},_0x4652cf[_0x1a91c2(0x115)]='patch',_0x4652cf[_0x1a91c2(0x135)]=_0x1a91c2(0xef);const _0xddd19b=_0x4652cf,_0x376acf=_0xddd19b[_0x1a91c2(0x106)](_0xddd19b[_0x1a91c2(0x115)],_0x1a2c55),_0x48e20e=_0xddd19b[_0x1a91c2(0x106)](_0xddd19b[_0x1a91c2(0x135)],_0x1a2c55),_0x26004c=this;if(_0x2a1b0b[_0x376acf]||!_0x2a1b0b[_0x1a2c55])return;_0x2a1b0b[_0x376acf]=!![],_0x2a1b0b[_0x48e20e]=_0x2a1b0b[_0x1a2c55],_0x2a1b0b[_0x1a2c55]=async()=>{const _0x3146c0=_0x1a91c2;try{await _0x26004c[_0x3146c0(0x12f)](_0x2a1b0b,_0x1a2c55,_0x426c2b);}catch(_0x5b771b){logger[_0x3146c0(0xfb)](_0x3146c0(0x107)+_0x1a2c55+_0x3146c0(0x122)+_0x5b771b);}return await _0x2a1b0b[_0x48e20e][_0x3146c0(0x127)](_0x2a1b0b,arguments);};},exports[a67_0x5d3349(0xff)]=_0xd9a444=>{const _0x2957ec=a67_0x5d3349,_0x459309={};_0x459309['percy']=_0xd9a444[_0x2957ec(0x11d)],_0x459309[_0x2957ec(0x12d)]=_0xd9a444[_0x2957ec(0x12d)];const _0x1afafd=_0x459309;_0xd9a444[_0x2957ec(0x11d)]&&(_0x1afafd[_0x2957ec(0x102)]=exports[_0x2957ec(0x11c)](_0xd9a444[_0x2957ec(0xf8)]));;return _0x1afafd;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a68_0x52b5(_0x3488ab,_0x132a9a){const _0x1a8073=a68_0x1a80();return a68_0x52b5=function(_0x52b5b8,_0xfb8f5c){_0x52b5b8=_0x52b5b8-0x1cf;let _0x15dad4=_0x1a8073[_0x52b5b8];return _0x15dad4;},a68_0x52b5(_0x3488ab,_0x132a9a);}const a68_0x5cadbc=a68_0x52b5;(function(_0x242b51,_0x5f132c){const _0x3853c2=a68_0x52b5,_0x4577f5=_0x242b51();while(!![]){try{const _0x345c14=-parseInt(_0x3853c2(0x294))/0x1+parseInt(_0x3853c2(0x251))/0x2+parseInt(_0x3853c2(0x300))/0x3+-parseInt(_0x3853c2(0x20a))/0x4*(parseInt(_0x3853c2(0x2f1))/0x5)+-parseInt(_0x3853c2(0x2a1))/0x6+-parseInt(_0x3853c2(0x2e2))/0x7+parseInt(_0x3853c2(0x1ff))/0x8;if(_0x345c14===_0x5f132c)break;else _0x4577f5['push'](_0x4577f5['shift']());}catch(_0x1c81e7){_0x4577f5['push'](_0x4577f5['shift']());}}}(a68_0x1a80,0xa32af));const fs=require('fs'),{performance,PerformanceObserver}=require(a68_0x5cadbc(0x1e8)),{sleep,debug}=require(a68_0x5cadbc(0x286)),path=require('path'),logger=require(a68_0x5cadbc(0x1d3))[a68_0x5cadbc(0x2cd)];function a68_0x1a80(){const _0x84199a=['DngKb','btnoW','./test-observability/utils','LaIFr','calculateTimeFromEvents','nHbus','DLqAq','env','tcqeT','yIoMQ','Rizin','entryTypes','performance-own.html','SOGKo','oZene','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','803691ZTYUPX','KucAv','shXGu','measures','jODVY','TIHWF','HOdKL','pafaF','iVmuD','QrLkw','ccJNZ','_events','HWdrU','499614rPyqqI','ExiOl','htYmI','kmCSa','wekkd','Error\x20in\x20writing\x20html\x20','jpClh','_measureEvents','SkObl','push','iDNxH','QtGga','lqXjN','hQAmq','VsGKB','ftUgZ','fbDpz','-start','nhWzw','<tr><td>','Lpysf','then','FXCfL','buffered','rJccU','<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>','WaOkA','YajeW','TGiNP','fynyx','bAlHO','ePXWz','svBNn','finally','FmIka','kAGHT','YJNWR','NpPYs','WDdVz','code','WlENN','map','started','TtuBk','winstonLogger','XonzF','cgDlk','kabam','hcyjc','nrByQ','LnCDT','UBwMN','dvNOm','stopAndGenerate','QkNJe','wcbjs','QEXiO','concat','ppYTB','iJlhg','readFileSync','RkZnn','esCWb','BROWSERSTACK_SDK_INSTRUMENTATION','CsMbO','3895899XdwvMj','calculateTimesFromMultipleFiles','errors','uQbyB','TgETl','name','iJhIs','NrGKo','xEBRy','iuPVN','bzGZM','ZrxVb','pushErrors','false','xWfFh','10efBPLQ','dvjZP','duration','yWwsG','CxbHK','isEnabled','message','finalize','measureWrapper','tRdYr','JTFkf','LEkIb','MOaXl','performance-report.json','ClpcC','1641390uWimhL','WRucs','finalizeErrors','HsZdW','ymIex','jGHJy','yEiMN','zwinS','XVrxv','koduT','Performance\x20report\x20is\x20at\x20','UqTOq','OoEuO','DbVOH','aHnwx','oKefm','scohS','./logger','ELtLa','obSrd','PZRgL','uBCZB','GoShq','EboFC','</tbody></table></body></html>','bsMZN','gcVyE','values','existsSync','forEach','BVWjF','match','xJnWM','MpmWr','appendFileSync','-end','GURPB','OSmkd','perf_hooks','EillL','getCleanedPerfEvents','entryType','nmygU','nmLDm','XycnZ','pushPerfMeasures','aPVAt','YsndB','XZVng','GmpLK','errorFile','nNDxu','nZfYZ','writeFileSync','PaHtL','MRGrO','wWcCl','kHRzX','KrnwY','Soxst','\x20for\x20all\x20processes\x20is\x20','10724040lgftGE','raMIm','nDYkE','reduce','Error\x20stopping\x20monitoring','mZTpn','tyEgn','vTLpq','EJqFb','NjLjE','XCABk','1572888dSxpoO','FPhlq','_observer','SVgsP','ZnPpl','unlinkSync','slice','FoDpn','hZQTC','UzbZV','GJqwx','JZixI','Yjqtq','jUgcZ','Tsjam','kgyLU','agVKl','EivFl','AorNR','join','qPJcm','IvOiZ','GRfkH','jsonReportFileName','kJtSP','RDvyt','ZzVZo','length','xCHSj','AtRrl','_errorEvents','XJxPu','OjgNt','HZUfJ','ivUJb','EfKbD','gfcIG','nyKUb','debug','XxdLN','vZwPa','observe','JgKEV','entries','toString','lRdoN','EBbVQ','BNkwh','writeFile','QbgZd','wLFbf','VvRnk','mMGdv','EuLGW','lJHtr','JMzlp','function','JpxzC','sbiVq','Error\x20in\x20doing\x20csv\x20operations:\x20','vXZZW','getEventsFromJSON','</td></tr>','disconnect','BDaQO','parse','pNmcj','nOhKv','yXfCe','Gbqbu','HBScR','2021322sqPJSq','apply','errorReportFileName','</td><td>','dtrQC','oLWVr','laMdZ','stack','Yvqda','qyJGA','startMonitoring','GLVLk','catch','error-report.json','uaoOb','getPerformance','nNwtP','EpaCO','meta','finalizePerfMeasures','EMypB','QSFHM','eHlth','LxzUQ','qXqfW','Uoayk','<h1>Performance\x20Report</h1>','EJJkF','CzPVH','YyTVv','xuUlo','DFfLP','stringify','drgjY','jfNEc','generateJSON','MkZng','exports','jEmzZ','yqEuU','QryhU','nCXzc','SltYQ','measure','ZkwUp','getEntries','VjWEs','sGeTn','mark','SfzqX','sGfJA'];a68_0x1a80=function(){return _0x84199a;};return a68_0x1a80();}class PerformanceTester{static [a68_0x5cadbc(0x20c)];static ['_events']=[];static ['_measureEvents']=[];static ['_errorEvents']=[];static [a68_0x5cadbc(0x2cb)]=![];static [a68_0x5cadbc(0x221)]=a68_0x5cadbc(0x2fe);static ['errorReportFileName']='error-report.json';static[a68_0x5cadbc(0x25b)](_0x393aa4=a68_0x5cadbc(0x2fe),_0x451f57=a68_0x5cadbc(0x25e)){const _0x206083=a68_0x5cadbc,_0x166a56={};_0x166a56[_0x206083(0x2b3)]=function(_0x12624e,_0x3320b0){return _0x12624e/_0x3320b0;},_0x166a56[_0x206083(0x29a)]=function(_0x51facd,_0x1d3537){return _0x51facd+_0x1d3537;},_0x166a56['fByZw']=function(_0x418be3,_0x4598a9){return _0x418be3*_0x4598a9;},_0x166a56[_0x206083(0x208)]=function(_0x31616e,_0x4b5c5b){return _0x31616e!==_0x4b5c5b;},_0x166a56[_0x206083(0x207)]='twPZq',_0x166a56[_0x206083(0x2c0)]=function(_0x40da02,_0x971541){return _0x40da02===_0x971541;},_0x166a56[_0x206083(0x2ab)]=_0x206083(0x27c),_0x166a56[_0x206083(0x1fc)]=function(_0x27ee55,_0xae9bff){return _0x27ee55!==_0xae9bff;},_0x166a56[_0x206083(0x237)]='KhCgM',_0x166a56[_0x206083(0x20e)]=_0x206083(0x280),_0x166a56['EivFl']=function(_0x3fb7e8,_0x3421bc){return _0x3fb7e8===_0x3421bc;},_0x166a56[_0x206083(0x1d5)]=_0x206083(0x25a),_0x166a56[_0x206083(0x26c)]=_0x206083(0x2d8),_0x166a56['nZfYZ']=function(_0x1d3fbb,_0x4905aa){return _0x1d3fbb!==_0x4905aa;},_0x166a56['JTFkf']=_0x206083(0x2f4),_0x166a56[_0x206083(0x27a)]=_0x206083(0x2af),_0x166a56[_0x206083(0x27f)]=_0x206083(0x242);const _0x495cd8=_0x166a56;if(this[_0x206083(0x2cb)]||!this[_0x206083(0x2f6)]()){if(_0x495cd8[_0x206083(0x1f6)](_0x495cd8[_0x206083(0x2fb)],_0x495cd8[_0x206083(0x27a)]))return;else{const _0xe8b7ee=_0x312844[_0x206083(0x2e7)][_0x206083(0x1e1)](_0x4be5ae),_0x919da6={};_0x919da6['name']=_0x3b5843[_0x206083(0x2e7)],_0x919da6['duration']=_0x5d1ace['duration']||0x0;const _0x297c3f=_0x919da6;_0xe8b7ee&&(_0x297c3f[_0x206083(0x2e7)]=_0xe8b7ee[0x1],_0x297c3f['meta']=_0xa1924b[_0x206083(0x24b)](_0xe8b7ee[0x2]));if(_0x1f14cc[_0x297c3f[_0x206083(0x2e7)]]){const _0xc0123b=_0x2fdbe3[_0x297c3f[_0x206083(0x2e7)]],_0x3b418e=_0x5b0803[_0x297c3f[_0x206083(0x2e7)]];_0x927e16[_0x297c3f[_0x206083(0x2e7)]][_0x206083(0x2f3)]=_0x495cd8[_0x206083(0x2b3)](_0x495cd8['HOdKL'](_0x495cd8['fByZw'](_0xc0123b[_0x206083(0x2f3)],_0x3b418e),_0x297c3f['duration']),_0x495cd8['HOdKL'](0x1,_0x3b418e)),_0x2f2c4e[_0x297c3f[_0x206083(0x2e7)]]++;}else _0x4a6696[_0x297c3f[_0x206083(0x2e7)]]=_0x297c3f,_0x3d4fd6[_0x297c3f[_0x206083(0x2e7)]]=0x1;}}this[_0x206083(0x20c)]=new PerformanceObserver(_0x1a4317=>{const _0x1209aa=_0x206083,_0x422da6={'yoYFp':function(_0x2c5aed,_0x5892f8){const _0x55b6a8=a68_0x52b5;return _0x495cd8[_0x55b6a8(0x21b)](_0x2c5aed,_0x5892f8);},'YEcVF':function(_0x5567b2,_0x2a576d){const _0x4fba52=a68_0x52b5;return _0x495cd8[_0x4fba52(0x29a)](_0x5567b2,_0x2a576d);}};if(_0x495cd8[_0x1209aa(0x21b)](_0x495cd8[_0x1209aa(0x1d5)],_0x495cd8[_0x1209aa(0x26c)]))return[];else _0x1a4317[_0x1209aa(0x27e)]()['forEach'](_0x529bd5=>{const _0x594c2f=_0x1209aa;if(_0x495cd8[_0x594c2f(0x208)](_0x495cd8[_0x594c2f(0x207)],_0x495cd8['EJqFb']))return;else{if(_0x495cd8[_0x594c2f(0x2c0)](_0x529bd5[_0x594c2f(0x1eb)],_0x495cd8[_0x594c2f(0x2ab)]))_0x495cd8[_0x594c2f(0x1fc)](_0x495cd8[_0x594c2f(0x237)],_0x495cd8[_0x594c2f(0x237)])?_0x9bd875[_0x25b0a8[_0x594c2f(0x2e7)]]=0x0:this[_0x594c2f(0x2a8)][_0x594c2f(0x2aa)](_0x529bd5);else{if(_0x495cd8[_0x594c2f(0x2c0)](_0x495cd8[_0x594c2f(0x20e)],_0x495cd8[_0x594c2f(0x20e)]))this['_events']['push'](_0x529bd5);else{if(_0x422da6['yoYFp'](this['_errorEvents'][_0x594c2f(0x225)],0x0))return;const _0x31c6af=_0x50333d[_0x594c2f(0x271)](this[_0x594c2f(0x228)]),_0x133541=_0x422da6['YEcVF'](_0x31c6af[_0x594c2f(0x210)](0x1,-0x1),',');_0x43d800[_0x594c2f(0x1e4)](this[_0x594c2f(0x1f4)],_0x133541);}}}});});const _0x4b92b8={};_0x4b92b8[_0x206083(0x2b8)]=!![],_0x4b92b8[_0x206083(0x28f)]=[_0x495cd8[_0x206083(0x27f)],_0x495cd8['iDNxH']],this[_0x206083(0x20c)][_0x206083(0x233)](_0x4b92b8),this['started']=!![],this['jsonReportFileName']=_0x393aa4,this[_0x206083(0x253)]=_0x451f57;}static[a68_0x5cadbc(0x260)](){return performance;}static['calculateTimeFromEvents'](_0x4d0be2,_0x18565f){const _0x51e35a=a68_0x5cadbc,_0x226025={};_0x226025[_0x51e35a(0x2b9)]=function(_0x25e0c4,_0x40bed1){return _0x25e0c4===_0x40bed1;},_0x226025[_0x51e35a(0x201)]='cFXNH',_0x226025[_0x51e35a(0x30b)]=_0x51e35a(0x2e1),_0x226025[_0x51e35a(0x307)]=_0x51e35a(0x226),_0x226025['EfKbD']='vboYQ',_0x226025[_0x51e35a(0x2c6)]=_0x51e35a(0x23c),_0x226025[_0x51e35a(0x2ff)]=function(_0x1e8ff5,_0xb0ea51){return _0x1e8ff5+_0xb0ea51;},_0x226025[_0x51e35a(0x2b0)]=function(_0x38c646,_0x390692){return _0x38c646||_0x390692;},_0x226025['scohS']=function(_0x71cf3d,_0x29eea7){return _0x71cf3d===_0x29eea7;},_0x226025[_0x51e35a(0x268)]=_0x51e35a(0x278);const _0x12b34f=_0x226025,_0x2242ba={};if(!_0x4d0be2||_0x12b34f[_0x51e35a(0x1d2)](_0x4d0be2[_0x51e35a(0x225)],0x0)){if(_0x12b34f[_0x51e35a(0x1d2)](_0x12b34f[_0x51e35a(0x268)],_0x12b34f[_0x51e35a(0x268)]))return;else{const _0x4eeb6f=this;return function(){const _0x3dd5b8=_0x51e35a,_0x51e49e=[_0x4b3ac6,_0x3b6c30,null][_0x3dd5b8(0x2da)](arguments);return _0x4eeb6f['measure'][_0x3dd5b8(0x252)](_0x4eeb6f,_0x51e49e);};}}_0x4d0be2['map'](_0x426ff4=>{const _0x3f1e06=_0x51e35a;if(_0x12b34f[_0x3f1e06(0x2b9)](_0x12b34f[_0x3f1e06(0x201)],_0x12b34f[_0x3f1e06(0x30b)]))return this[_0x3f1e06(0x288)](this['_events'],_0x240136);else{if(!_0x2242ba[_0x426ff4['name']]){if(_0x12b34f[_0x3f1e06(0x2b9)](_0x12b34f[_0x3f1e06(0x307)],_0x12b34f['zwinS']))_0x2242ba[_0x426ff4[_0x3f1e06(0x2e7)]]=0x0;else return;}_0x2242ba[_0x426ff4['name']]+=_0x426ff4[_0x3f1e06(0x2f3)];}});const _0x1525f7=_0x18565f[_0x51e35a(0x202)]((_0x43c8d7,_0x52321e)=>{const _0x10f84a=_0x51e35a;return _0x12b34f['rJccU'](_0x12b34f[_0x10f84a(0x22d)],_0x12b34f[_0x10f84a(0x2c6)])?this[_0x10f84a(0x2a8)]:_0x12b34f['ClpcC'](_0x2242ba[_0x52321e],_0x12b34f[_0x10f84a(0x2b0)](_0x43c8d7,0x0));},0x0);return _0x1525f7;}static async[a68_0x5cadbc(0x2e3)](_0x4fe6fc,_0x3b1d9d){const _0x4bd02a=a68_0x5cadbc,_0x445698={'yEiMN':function(_0x131bad,_0x58ead2){return _0x131bad===_0x58ead2;},'jfNEc':function(_0x3cf6d4,_0x46db37){return _0x3cf6d4>_0x46db37;},'ELtLa':function(_0xcbeece,_0x4033de){return _0xcbeece===_0x4033de;},'sGfJA':_0x4bd02a(0x27c),'drgjY':'Error\x20stopping\x20monitoring','XonzF':_0x4bd02a(0x27d),'HsZdW':function(_0xa8365f,_0x56d67c){return _0xa8365f===_0x56d67c;},'CzPVH':_0x4bd02a(0x205),'yIoMQ':_0x4bd02a(0x1e0),'Gbqbu':function(_0x8704ff,_0x4b46db){return _0x8704ff(_0x4b46db);},'kmCSa':function(_0x39a15f,_0x565c26){return _0x39a15f(_0x565c26);},'GRfkH':function(_0x452386,_0x1ae478){return _0x452386===_0x1ae478;},'VvRnk':_0x4bd02a(0x24e),'vWxmE':function(_0x2c267e,_0x4f7797){return _0x2c267e+_0x4f7797;},'tRdYr':function(_0x17bef9,_0x47bc14){return _0x17bef9||_0x47bc14;},'JpxzC':function(_0x7afb00,_0x36fbdb){return _0x7afb00===_0x36fbdb;},'jODVY':_0x4bd02a(0x200),'kAGHT':function(_0x5c5f11,_0x211ccb){return _0x5c5f11!==_0x211ccb;},'kabam':_0x4bd02a(0x2a0),'tcqeT':_0x4bd02a(0x209),'bAvHm':_0x4bd02a(0x2ec),'RMNNC':_0x4bd02a(0x267),'Soxst':function(_0x2c34ed,_0x4d56ba){return _0x2c34ed!==_0x4d56ba;},'ExiOl':_0x4bd02a(0x213)};if(!_0x4fe6fc||_0x445698[_0x4bd02a(0x243)](_0x4fe6fc[_0x4bd02a(0x225)],0x0)){if(_0x445698[_0x4bd02a(0x306)](_0x445698['jODVY'],_0x445698[_0x4bd02a(0x298)]))return 0x0;else{if(!this[_0x4bd02a(0x2cb)]||_0x445698[_0x4bd02a(0x306)](this[_0x4bd02a(0x2a8)][_0x4bd02a(0x225)],0x0))return[];if(!_0x4c5660[_0x4bd02a(0x1de)](this[_0x4bd02a(0x221)]))return this[_0x4bd02a(0x2a8)];let _0x2e84cf=_0x8fce35['readFileSync'](this[_0x4bd02a(0x221)])[_0x4bd02a(0x236)]();_0x2e84cf='['+_0x2e84cf[_0x4bd02a(0x210)](0x0,-0x1)+']';let _0x2d3892=_0x282072[_0x4bd02a(0x24b)](_0x2e84cf);return _0x445698[_0x4bd02a(0x273)](this[_0x4bd02a(0x2a8)][_0x4bd02a(0x225)],0x0)&&(_0x2d3892=_0x2d3892[_0x4bd02a(0x2da)](this[_0x4bd02a(0x1ea)]())),this[_0x4bd02a(0x20c)]['disconnect'](),_0x55d659[_0x4bd02a(0x20f)](this['jsonReportFileName']),_0x2d3892;}}const _0xca43bb=[];for(const _0xec8e6 of _0x4fe6fc){if(_0x445698[_0x4bd02a(0x2c4)](_0x445698[_0x4bd02a(0x2d0)],_0x445698[_0x4bd02a(0x28c)])){const _0x15735a=path['join']('.',_0xec8e6);try{if(_0x445698['kAGHT'](_0x445698['bAvHm'],_0x445698['RMNNC'])){const _0x37ee49=this['getEventsFromJSON'](_0x15735a);_0x37ee49[_0x4bd02a(0x2ca)](_0x33e9fb=>{const _0x4c31dc=_0x4bd02a,_0x886212={};_0x886212[_0x4c31dc(0x2d4)]=_0x445698[_0x4c31dc(0x272)];const _0x7aa764=_0x886212;if(_0x445698[_0x4c31dc(0x1d4)](_0x445698['XonzF'],_0x445698[_0x4c31dc(0x2ce)])){if(!_0xca43bb[_0x33e9fb[_0x4c31dc(0x2e7)]]){if(_0x445698[_0x4c31dc(0x303)](_0x445698[_0x4c31dc(0x26d)],_0x445698[_0x4c31dc(0x28d)])){const _0x6b37a1={'EillL':function(_0x14605a,_0x5455ab){const _0x2e2a60=_0x4c31dc;return _0x445698[_0x2e2a60(0x1d4)](_0x14605a,_0x5455ab);},'btnoW':_0x445698[_0x4c31dc(0x283)]};_0x3804a9[_0x4c31dc(0x27e)]()[_0x4c31dc(0x1df)](_0x14737a=>{const _0x5db85f=_0x4c31dc;_0x6b37a1[_0x5db85f(0x1e9)](_0x14737a[_0x5db85f(0x1eb)],_0x6b37a1[_0x5db85f(0x285)])?this[_0x5db85f(0x2a8)][_0x5db85f(0x2aa)](_0x14737a):this[_0x5db85f(0x29f)][_0x5db85f(0x2aa)](_0x14737a);});}else _0xca43bb[_0x33e9fb[_0x4c31dc(0x2e7)]]=0x0;}_0xca43bb[_0x33e9fb[_0x4c31dc(0x2e7)]]+=_0x33e9fb[_0x4c31dc(0x2f3)];}else try{if(!this[_0x4c31dc(0x2f6)]())return;this['_observer'][_0x4c31dc(0x249)](),this[_0x4c31dc(0x1ef)](),this[_0x4c31dc(0x2ee)]();}catch{_0x1651b9['debug'](_0x7aa764[_0x4c31dc(0x2d4)]);}});}else return;}catch(_0x26d305){if(_0x445698[_0x4bd02a(0x1fd)](_0x445698['ExiOl'],_0x445698[_0x4bd02a(0x2a2)])){const _0x1c0186={};return _0x1c0186['name']=_0xa191a6,_0x1c0186['duration']=_0x2a5b19,_0x1c0186;}else _0x445698['kmCSa'](debug,_0x4bd02a(0x245)+_0x26d305[_0x4bd02a(0x236)]());}}else{if(_0x4eb4ef){_0x445698[_0x4bd02a(0x24f)](_0x32d4d5,_0x4bd02a(0x2a6)+_0x5a2363[_0x4bd02a(0x236)]());return;}_0x445698[_0x4bd02a(0x2a4)](_0x1c6ee5,'Performance\x20report\x20is\x20at\x20'+_0x5b3c4c);}}const _0x52f200=_0x3b1d9d[_0x4bd02a(0x202)]((_0x263753,_0x5a25f0)=>{const _0x9e8d84=_0x4bd02a;if(_0x445698[_0x9e8d84(0x220)](_0x445698[_0x9e8d84(0x23d)],_0x445698['VvRnk']))return _0x445698['vWxmE'](_0xca43bb[_0x5a25f0],_0x445698[_0x9e8d84(0x2fa)](_0x263753,0x0));else return;},0x0);return _0x445698[_0x4bd02a(0x2a4)](debug,'Time\x20for\x20'+_0x3b1d9d+_0x4bd02a(0x1fe)+_0x52f200),_0x52f200;}static[a68_0x5cadbc(0x247)](_0x3564a5){const _0x40afd1=a68_0x5cadbc,_0x25cb34={};_0x25cb34['mMGdv']=function(_0xeddccf,_0xf37322){return _0xeddccf!==_0xf37322;},_0x25cb34[_0x40afd1(0x2fd)]='KchAL',_0x25cb34[_0x40afd1(0x282)]='xqVqm';const _0x30ef25=_0x25cb34;if(!fs[_0x40afd1(0x1de)](_0x3564a5)){if(_0x30ef25[_0x40afd1(0x23e)](_0x30ef25[_0x40afd1(0x2fd)],_0x30ef25[_0x40afd1(0x282)]))return[];else this[_0x40afd1(0x29f)][_0x40afd1(0x2aa)](_0x142e8d);}return JSON['parse'](fs['readFileSync'](_0x3564a5)[_0x40afd1(0x236)]());}static async[a68_0x5cadbc(0x2d6)](_0x3aeef0=a68_0x5cadbc(0x290),_0x2b487e=null){const _0x188cf1=a68_0x5cadbc,_0x4c9fee={'eKeiK':function(_0x5baef4,_0x21317a){return _0x5baef4===_0x21317a;},'wDgMu':_0x188cf1(0x2ef),'abnvB':function(_0x32ed2d,_0x5ac4f2){return _0x32ed2d!==_0x5ac4f2;},'qPJcm':'XtoBk','fGjLn':function(_0x2a48a2,_0x5780e3){return _0x2a48a2!==_0x5780e3;},'nFNDX':_0x188cf1(0x2a3),'yrEjA':_0x188cf1(0x24d),'bAlHO':function(_0x4c255f,_0x56e4f5){return _0x4c255f(_0x56e4f5);},'TIHWF':function(_0x41b18d,_0x500988){return _0x41b18d===_0x500988;},'Yjqtq':_0x188cf1(0x2cc),'TgETl':function(_0x55f97c,_0xee4040){return _0x55f97c(_0xee4040);},'fynyx':function(_0x865668,_0x4cbb00){return _0x865668===_0x4cbb00;},'DbVOH':_0x188cf1(0x1ee)};if(!this[_0x188cf1(0x2cb)]){if(_0x4c9fee[_0x188cf1(0x299)](_0x4c9fee[_0x188cf1(0x216)],_0x4c9fee[_0x188cf1(0x216)]))return;else _0x4a526b=_0x55bba8[_0x188cf1(0x2da)](this[_0x188cf1(0x228)]);}await _0x4c9fee[_0x188cf1(0x2e6)](sleep,0x1e),this[_0x188cf1(0x20c)][_0x188cf1(0x249)](),this[_0x188cf1(0x2cb)]=![],this[_0x188cf1(0x274)](this['_events']);const _0x42983f=this['generateHTMLReport'](this[_0x188cf1(0x29f)]),_0x3d8355=path[_0x188cf1(0x21d)](process['cwd'](),_0x3aeef0);fs[_0x188cf1(0x23a)](_0x3d8355,_0x42983f,_0x491aa1=>{const _0x5cf3b4=_0x188cf1;if(_0x4c9fee['abnvB'](_0x4c9fee['qPJcm'],_0x4c9fee[_0x5cf3b4(0x21e)])){if(!this['isEnabled']())return;this[_0x5cf3b4(0x20c)][_0x5cf3b4(0x249)](),this[_0x5cf3b4(0x1ef)](),this[_0x5cf3b4(0x2ee)]();}else{if(_0x491aa1){if(_0x4c9fee['fGjLn'](_0x4c9fee['nFNDX'],_0x4c9fee['yrEjA'])){_0x4c9fee[_0x5cf3b4(0x2bf)](debug,_0x5cf3b4(0x2a6)+_0x491aa1[_0x5cf3b4(0x236)]());return;}else return!_0x4c9fee['eKeiK'](_0x18a60c['env'][_0x5cf3b4(0x2e0)],_0x4c9fee['wDgMu']);}_0x4c9fee['bAlHO'](debug,_0x5cf3b4(0x30a)+_0x3d8355);}});if(_0x2b487e){if(_0x4c9fee[_0x188cf1(0x2be)](_0x4c9fee[_0x188cf1(0x1cf)],_0x4c9fee[_0x188cf1(0x1cf)]))return this[_0x188cf1(0x288)](this[_0x188cf1(0x29f)],_0x2b487e);else{const _0x1b365c=this[_0x188cf1(0x264)](),_0x26440a=this['finalizeErrors']();if(!this[_0x188cf1(0x2f6)]()){const _0x231ba5={};return _0x231ba5[_0x188cf1(0x297)]=[],_0x231ba5[_0x188cf1(0x2e4)]=[],_0x231ba5;}const _0x5b2e38={};return _0x5b2e38[_0x188cf1(0x297)]=_0x1b365c,_0x5b2e38[_0x188cf1(0x2e4)]=_0x26440a,_0x5b2e38;}}}static['generateHTMLReport'](_0x1b5af1){const _0x254ea2=a68_0x5cadbc,_0x57a3e4={};_0x57a3e4[_0x254ea2(0x29b)]=function(_0x5885e5,_0xfe6cfe){return _0x5885e5===_0xfe6cfe;},_0x57a3e4[_0x254ea2(0x256)]=_0x254ea2(0x24c),_0x57a3e4[_0x254ea2(0x217)]='GtadK',_0x57a3e4[_0x254ea2(0x1e7)]='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x57a3e4[_0x254ea2(0x22e)]=_0x254ea2(0x26b),_0x57a3e4[_0x254ea2(0x2ed)]=_0x254ea2(0x293),_0x57a3e4[_0x254ea2(0x284)]=_0x254ea2(0x1da);const _0x163eb2=_0x57a3e4;let _0x5d3d26=_0x163eb2[_0x254ea2(0x1e7)];return _0x5d3d26+=_0x163eb2[_0x254ea2(0x22e)],_0x5d3d26+=_0x163eb2[_0x254ea2(0x2ed)],_0x1b5af1[_0x254ea2(0x1df)](_0x5cfca7=>{const _0x266156=_0x254ea2;if(_0x163eb2['pafaF'](_0x163eb2[_0x266156(0x256)],_0x163eb2[_0x266156(0x217)]))return[];else _0x5d3d26+=_0x266156(0x2b4)+_0x5cfca7[_0x266156(0x2e7)]+'</td><td>'+_0x5cfca7['duration']+'</td></tr>';}),_0x5d3d26+=_0x163eb2[_0x254ea2(0x284)],_0x5d3d26;}static['generateJSON'](_0x463757){const _0x4e12b1=a68_0x5cadbc,_0x5e3325={};_0x5e3325[_0x4e12b1(0x2cf)]=function(_0x32744c,_0x523d93){return _0x32744c===_0x523d93;},_0x5e3325[_0x4e12b1(0x1e6)]=_0x4e12b1(0x2bd),_0x5e3325['XZVng']=function(_0x4301f8,_0x1643c9){return _0x4301f8!==_0x1643c9;},_0x5e3325[_0x4e12b1(0x222)]=_0x4e12b1(0x1fb),_0x5e3325[_0x4e12b1(0x2d3)]='tXslS',_0x5e3325[_0x4e12b1(0x1f8)]=_0x4e12b1(0x2e9),_0x5e3325[_0x4e12b1(0x2d2)]=function(_0x29ded9,_0x21bc4c){return _0x29ded9===_0x21bc4c;},_0x5e3325[_0x4e12b1(0x23b)]=_0x4e12b1(0x2a5),_0x5e3325[_0x4e12b1(0x26e)]=_0x4e12b1(0x2b7);const _0x16ad95=_0x5e3325;if(!this['jsonReportFileName']){if(_0x16ad95['nrByQ'](_0x16ad95[_0x4e12b1(0x23b)],_0x16ad95[_0x4e12b1(0x26e)]))return;else return;}const _0x5a6c97={};_0x463757[_0x4e12b1(0x2ca)](_0xe48cc3=>{const _0x49c7cb=_0x4e12b1;if(_0x16ad95[_0x49c7cb(0x2cf)](_0x16ad95[_0x49c7cb(0x1e6)],_0x16ad95['GURPB'])){if(!_0x5a6c97[_0xe48cc3[_0x49c7cb(0x2e7)]]){if(_0x16ad95[_0x49c7cb(0x1f2)](_0x16ad95[_0x49c7cb(0x222)],_0x16ad95[_0x49c7cb(0x2d3)]))_0x5a6c97[_0xe48cc3[_0x49c7cb(0x2e7)]]=0x0;else{if(!this[_0x49c7cb(0x2f6)]())return;this[_0x49c7cb(0x228)][_0x49c7cb(0x2aa)]({'message':_0x254662[_0x49c7cb(0x2f7)],'trace':_0x3ea570[_0x49c7cb(0x258)],'code':_0x2c212e[_0x49c7cb(0x2c8)]||null,'time':new _0x89c305()});}}_0x5a6c97[_0xe48cc3[_0x49c7cb(0x2e7)]]+=_0xe48cc3[_0x49c7cb(0x2f3)];}else _0x5d0276[_0x49c7cb(0x2e7)]=_0x4e9c14[0x1],_0x1bd39c[_0x49c7cb(0x263)]=_0x322d2b[_0x49c7cb(0x24b)](_0x466744[0x2]);});const _0xefa753=Object[_0x4e12b1(0x235)](_0x5a6c97)[_0x4e12b1(0x2ca)](([_0x587c19,_0x290f0b])=>{const _0x298103=_0x4e12b1;if(_0x16ad95[_0x298103(0x2cf)](_0x16ad95[_0x298103(0x1f8)],_0x16ad95[_0x298103(0x1f8)])){const _0x19db1f={};return _0x19db1f[_0x298103(0x2e7)]=_0x587c19,_0x19db1f['duration']=_0x290f0b,_0x19db1f;}else return 0x0;});fs[_0x4e12b1(0x1f7)](this['jsonReportFileName'],JSON[_0x4e12b1(0x271)](_0xefa753));}static[a68_0x5cadbc(0x2f6)](){const _0x473a30=a68_0x5cadbc,_0x20173e={};_0x20173e['XxdLN']=function(_0x3bda94,_0x17210b){return _0x3bda94===_0x17210b;},_0x20173e[_0x473a30(0x2ea)]='false';const _0x49ec9f=_0x20173e;return!_0x49ec9f[_0x473a30(0x231)](process[_0x473a30(0x28b)]['BROWSERSTACK_SDK_INSTRUMENTATION'],_0x49ec9f['xEBRy']);}static['measure'](_0x34d4bc,_0x5343d5,_0x596bc2=null,_0x50f3b7=null){const _0x3c9610=a68_0x5cadbc,_0x5eb446={'gPDDH':function(_0x3e2a52,_0x391209){return _0x3e2a52===_0x391209;},'xJnWM':'ZaGnl','iVmuD':_0x3c9610(0x1e3),'SltYQ':_0x3c9610(0x244),'AtRrl':_0x3c9610(0x223),'AorNR':function(_0x49a333,_0x301957){return _0x49a333(_0x301957);},'ccJNZ':function(_0x219d9b,_0x5ed1d5){return _0x219d9b!==_0x5ed1d5;},'Uoayk':_0x3c9610(0x2a7),'iuPVN':function(_0x2ad217,_0x2752d8){return _0x2ad217===_0x2752d8;},'esCWb':_0x3c9610(0x2c3),'QryhU':function(_0x5a6b0d,_0x4e8080){return _0x5a6b0d===_0x4e8080;},'dvNOm':_0x3c9610(0x239),'oKefm':'nxDlv','Rizin':function(_0x420953,_0x45a129){return _0x420953+_0x45a129;},'FPhlq':_0x3c9610(0x2b2),'aHnwx':_0x3c9610(0x1e5),'LaIFr':function(_0x14263e,_0x1462d5){return _0x14263e instanceof _0x1462d5;},'HZUfJ':_0x3c9610(0x1d8),'iJlhg':function(_0x18d8d0,_0x1403bc){return _0x18d8d0===_0x1403bc;},'nmygU':'sdcsH','YajeW':_0x3c9610(0x291)};try{if(_0x5eb446[_0x3c9610(0x29e)](_0x5eb446[_0x3c9610(0x26a)],_0x5eb446[_0x3c9610(0x26a)]))return new _0x3e34a4((_0x282c63,_0x4c49b0)=>{_0x25c2bb['then'](_0x132406=>_0x282c63(_0x132406))['catch'](_0x3298ef=>_0x4c49b0(_0x3298ef))['finally'](()=>{const _0xfe8d0d=a68_0x52b5;_0x32a15a[_0xfe8d0d(0x281)](_0x1352bf),_0x27cf2c[_0xfe8d0d(0x27c)](_0x4b4235,_0x8e7c1a,_0xfc8f3);});});else{if(this['started']&&this['isEnabled']()){if(_0x5eb446[_0x3c9610(0x2eb)](_0x5eb446[_0x3c9610(0x2df)],_0x5eb446[_0x3c9610(0x2df)])){let _0x4ae293=_0x34d4bc;_0x596bc2&&(_0x5eb446[_0x3c9610(0x279)](_0x5eb446[_0x3c9610(0x2d5)],_0x5eb446[_0x3c9610(0x1d1)])?this[_0x3c9610(0x2a8)][_0x3c9610(0x2aa)](_0xaf818f):_0x4ae293=_0x34d4bc+'['+JSON[_0x3c9610(0x271)](_0x596bc2)+']');const _0xa4becb=_0x5eb446[_0x3c9610(0x28e)](_0x4ae293,_0x5eb446[_0x3c9610(0x20b)]),_0x11832d=_0x5eb446[_0x3c9610(0x28e)](_0x4ae293,_0x5eb446[_0x3c9610(0x1d0)]);performance[_0x3c9610(0x281)](_0xa4becb);const _0x5a753c=_0x5343d5[_0x3c9610(0x252)](null,_0x50f3b7);if(_0x5eb446[_0x3c9610(0x287)](_0x5a753c,Promise)){if(_0x5eb446['ccJNZ'](_0x5eb446['HZUfJ'],_0x5eb446[_0x3c9610(0x22b)]))_0x30e2dd[_0x3c9610(0x2b6)](_0x4298a4=>_0x135818(_0x4298a4))[_0x3c9610(0x25d)](_0x7e95a8=>_0x12f292(_0x7e95a8))[_0x3c9610(0x2c2)](()=>{const _0x2b9361=_0x3c9610;_0x4d57fd['mark'](_0x32892a),_0x8c36ed[_0x2b9361(0x27c)](_0xdb0ee2,_0xecc570,_0x17765a);});else return new Promise((_0x13c722,_0x294e77)=>{const _0x2e020a=_0x3c9610,_0x4dbe0c={'MRGrO':function(_0x446e80,_0x190b54){return _0x5eb446['gPDDH'](_0x446e80,_0x190b54);},'SkObl':_0x5eb446[_0x2e020a(0x1e2)],'xuUlo':_0x5eb446[_0x2e020a(0x29c)]};_0x5eb446['gPDDH'](_0x5eb446[_0x2e020a(0x27b)],_0x5eb446[_0x2e020a(0x227)])?_0x30dc34[_0x1a4583[_0x2e020a(0x2e7)]]=0x0:_0x5a753c['then'](_0x14c933=>_0x13c722(_0x14c933))[_0x2e020a(0x25d)](_0x1c5c0c=>_0x294e77(_0x1c5c0c))['finally'](()=>{const _0x11de98=_0x2e020a;if(_0x4dbe0c[_0x11de98(0x1f9)](_0x4dbe0c[_0x11de98(0x2a9)],_0x4dbe0c[_0x11de98(0x26f)]))return;else performance[_0x11de98(0x281)](_0x11832d),performance['measure'](_0x4ae293,_0xa4becb,_0x11832d);});});};return performance[_0x3c9610(0x281)](_0x11832d),performance[_0x3c9610(0x27c)](_0x4ae293,_0xa4becb,_0x11832d),_0x5a753c;}else{_0x5eb446[_0x3c9610(0x21c)](_0x186045,_0x3c9610(0x2a6)+_0x4ec1df['toString']());return;}};return _0x5343d5[_0x3c9610(0x252)](null,_0x50f3b7);}}catch(_0x256a98){if(_0x5eb446[_0x3c9610(0x2dc)](_0x5eb446[_0x3c9610(0x1ec)],_0x5eb446[_0x3c9610(0x2bc)]))_0x5eb446[_0x3c9610(0x21c)](_0x2d2422,_0x3c9610(0x245)+_0x2e6c46['toString']());else return _0x5343d5[_0x3c9610(0x252)](null,_0x50f3b7);}}static[a68_0x5cadbc(0x2f9)](_0x19ea48,_0x3c5fec){const _0xea2030=a68_0x5cadbc,_0x7c0445={};_0x7c0445[_0xea2030(0x270)]=function(_0x22533b,_0x385825){return _0x22533b===_0x385825;},_0x7c0445[_0xea2030(0x1d9)]=_0xea2030(0x301),_0x7c0445[_0xea2030(0x2e8)]='NLWDr';const _0x2a9974=_0x7c0445,_0x115834=this;return function(){const _0x37320d=_0xea2030;if(_0x2a9974[_0x37320d(0x270)](_0x2a9974[_0x37320d(0x1d9)],_0x2a9974[_0x37320d(0x2e8)]))_0x4a9c6c+=_0x37320d(0x2b4)+_0x3195ef['name']+'</td><td>'+_0x549450[_0x37320d(0x2f3)]+_0x37320d(0x248);else{const _0x33ee86=[_0x19ea48,_0x3c5fec,null][_0x37320d(0x2da)](arguments);return _0x115834[_0x37320d(0x27c)][_0x37320d(0x252)](_0x115834,_0x33ee86);}};}static[a68_0x5cadbc(0x1ea)](){const _0xe91d3a=a68_0x5cadbc,_0x14927a={};_0x14927a[_0xe91d3a(0x2db)]=function(_0x1fd0ea,_0x372809){return _0x1fd0ea===_0x372809;},_0x14927a[_0xe91d3a(0x2d1)]=function(_0x5b0b13,_0x4bf916){return _0x5b0b13+_0x4bf916;},_0x14927a[_0xe91d3a(0x289)]=_0xe91d3a(0x2ba),_0x14927a[_0xe91d3a(0x275)]='<h1>Performance\x20Report</h1>',_0x14927a['QtGga']=_0xe91d3a(0x293),_0x14927a[_0xe91d3a(0x266)]=_0xe91d3a(0x1da),_0x14927a[_0xe91d3a(0x30c)]=function(_0x103873,_0x27695e){return _0x103873/_0x27695e;},_0x14927a[_0xe91d3a(0x277)]=function(_0x33e031,_0x4df3ed){return _0x33e031+_0x4df3ed;},_0x14927a[_0xe91d3a(0x257)]=function(_0x3b5d0a,_0x3ebd7f){return _0x3b5d0a*_0x3ebd7f;},_0x14927a[_0xe91d3a(0x265)]=function(_0x28fbe2,_0x2756f8){return _0x28fbe2+_0x2756f8;},_0x14927a[_0xe91d3a(0x259)]=function(_0x9de0d6,_0x4fd4ac){return _0x9de0d6!==_0x4fd4ac;},_0x14927a['EuLGW']=_0xe91d3a(0x309),_0x14927a['oLzwn']=_0xe91d3a(0x1ed),_0x14927a[_0xe91d3a(0x22f)]='DYFei',_0x14927a['agVKl']='LtSHH',_0x14927a['OjgNt']=_0xe91d3a(0x2c1),_0x14927a['Lpysf']=_0xe91d3a(0x255),_0x14927a[_0xe91d3a(0x269)]=function(_0x419c54,_0x218b80){return _0x419c54/_0x218b80;},_0x14927a[_0xe91d3a(0x212)]=function(_0x3f1203,_0x108b2f){return _0x3f1203+_0x108b2f;},_0x14927a[_0xe91d3a(0x261)]=function(_0x28d59e,_0x30836e){return _0x28d59e!==_0x30836e;},_0x14927a[_0xe91d3a(0x262)]=_0xe91d3a(0x2f2);const _0x576d58=_0x14927a,_0xfd3559=/(^.*)\[(.*)\]$/,_0x5054cc={},_0x274b9a={};for(const _0x3ae571 of this['_measureEvents']){if(_0x576d58['Yvqda'](_0x576d58[_0xe91d3a(0x23f)],_0x576d58['oLzwn'])){const _0x8ce958=_0x3ae571['name']['match'](_0xfd3559),_0x21229f={};_0x21229f['name']=_0x3ae571['name'],_0x21229f[_0xe91d3a(0x2f3)]=_0x3ae571[_0xe91d3a(0x2f3)]||0x0;const _0x397d2b=_0x21229f;if(_0x8ce958){if(_0x576d58[_0xe91d3a(0x2db)](_0x576d58[_0xe91d3a(0x22f)],_0x576d58[_0xe91d3a(0x21a)])){if(_0x576d58[_0xe91d3a(0x2db)](this[_0xe91d3a(0x2a8)]['length'],0x0))return;const _0x20f318=this[_0xe91d3a(0x1ea)](),_0x17efdf=_0xe2072c['stringify'](_0x20f318),_0x1ae3ec=_0x576d58['hcyjc'](_0x17efdf['slice'](0x1,-0x1),',');_0x476446[_0xe91d3a(0x1e4)](this['jsonReportFileName'],_0x1ae3ec);}else _0x397d2b['name']=_0x8ce958[0x1],_0x397d2b['meta']=JSON[_0xe91d3a(0x24b)](_0x8ce958[0x2]);}if(_0x5054cc[_0x397d2b[_0xe91d3a(0x2e7)]]){if(_0x576d58['Yvqda'](_0x576d58[_0xe91d3a(0x22a)],_0x576d58[_0xe91d3a(0x2b5)])){const _0x30e4a4=_0x5054cc[_0x397d2b[_0xe91d3a(0x2e7)]],_0xd0afb6=_0x274b9a[_0x397d2b[_0xe91d3a(0x2e7)]];_0x5054cc[_0x397d2b[_0xe91d3a(0x2e7)]][_0xe91d3a(0x2f3)]=_0x576d58['qXqfW'](_0x576d58[_0xe91d3a(0x265)](_0x576d58[_0xe91d3a(0x257)](_0x30e4a4[_0xe91d3a(0x2f3)],_0xd0afb6),_0x397d2b[_0xe91d3a(0x2f3)]),_0x576d58[_0xe91d3a(0x212)](0x1,_0xd0afb6)),_0x274b9a[_0x397d2b[_0xe91d3a(0x2e7)]]++;}else{let _0x3a9493=_0x576d58[_0xe91d3a(0x289)];return _0x3a9493+=_0x576d58['MkZng'],_0x3a9493+=_0x576d58[_0xe91d3a(0x2ac)],_0x3ea003[_0xe91d3a(0x1df)](_0x1119ae=>{const _0x1c8652=_0xe91d3a;_0x3a9493+='<tr><td>'+_0x1119ae[_0x1c8652(0x2e7)]+_0x1c8652(0x254)+_0x1119ae['duration']+'</td></tr>';}),_0x3a9493+=_0x576d58[_0xe91d3a(0x266)],_0x3a9493;}}else{if(_0x576d58[_0xe91d3a(0x261)](_0x576d58[_0xe91d3a(0x262)],_0x576d58[_0xe91d3a(0x262)])){const _0x33c5d2=_0x48504e[_0x61da3e[_0xe91d3a(0x2e7)]],_0x5a4d26=_0x4f9ba3[_0x9eaa3e[_0xe91d3a(0x2e7)]];_0x2f8b6f[_0x5aea0e['name']][_0xe91d3a(0x2f3)]=_0x576d58[_0xe91d3a(0x30c)](_0x576d58[_0xe91d3a(0x277)](_0x576d58[_0xe91d3a(0x257)](_0x33c5d2['duration'],_0x5a4d26),_0x4d9c4a[_0xe91d3a(0x2f3)]),_0x576d58[_0xe91d3a(0x265)](0x1,_0x5a4d26)),_0x3f1596[_0x1c2fe2[_0xe91d3a(0x2e7)]]++;}else _0x5054cc[_0x397d2b[_0xe91d3a(0x2e7)]]=_0x397d2b,_0x274b9a[_0x397d2b[_0xe91d3a(0x2e7)]]=0x1;}}else!_0x43f4ba[_0x205509[_0xe91d3a(0x2e7)]]&&(_0x345460[_0x1cdbc4[_0xe91d3a(0x2e7)]]=0x0),_0x2d2836[_0x328002[_0xe91d3a(0x2e7)]]+=_0x3d7142[_0xe91d3a(0x2f3)];}return Object[_0xe91d3a(0x1dd)](_0x5054cc);}static[a68_0x5cadbc(0x1ef)](){const _0x4252aa=a68_0x5cadbc,_0x3e3219={};_0x3e3219[_0x4252aa(0x1d7)]=function(_0x44cab8,_0x29cb30){return _0x44cab8===_0x29cb30;},_0x3e3219[_0x4252aa(0x211)]=function(_0xedb1e,_0x1b7396){return _0xedb1e!==_0x1b7396;},_0x3e3219['kgyLU']=_0x4252aa(0x1dc),_0x3e3219[_0x4252aa(0x224)]='qxNgv',_0x3e3219[_0x4252aa(0x218)]=function(_0x1bd465,_0x5b009d){return _0x1bd465+_0x5b009d;};const _0x168d36=_0x3e3219;if(_0x168d36['uBCZB'](this[_0x4252aa(0x2a8)]['length'],0x0)){if(_0x168d36[_0x4252aa(0x211)](_0x168d36[_0x4252aa(0x219)],_0x168d36[_0x4252aa(0x224)]))return;else return;}const _0x644d4b=this[_0x4252aa(0x1ea)](),_0x27a5c2=JSON[_0x4252aa(0x271)](_0x644d4b),_0xda0a67=_0x168d36[_0x4252aa(0x218)](_0x27a5c2[_0x4252aa(0x210)](0x1,-0x1),',');fs[_0x4252aa(0x1e4)](this['jsonReportFileName'],_0xda0a67);}static[a68_0x5cadbc(0x264)](){const _0x21c524=a68_0x5cadbc,_0x519c70={};_0x519c70[_0x21c524(0x2c7)]=function(_0x4bc783,_0xe7b54a){return _0x4bc783===_0xe7b54a;},_0x519c70[_0x21c524(0x304)]='measure',_0x519c70[_0x21c524(0x1f3)]=function(_0x2a0e22,_0x3a861b){return _0x2a0e22!==_0x3a861b;},_0x519c70[_0x21c524(0x2d9)]=_0x21c524(0x305),_0x519c70[_0x21c524(0x240)]=function(_0x15f755,_0x4c4e5c){return _0x15f755===_0x4c4e5c;},_0x519c70[_0x21c524(0x21f)]='aHIXv',_0x519c70[_0x21c524(0x1db)]=_0x21c524(0x2e5),_0x519c70[_0x21c524(0x2de)]=function(_0x222100,_0x45b913){return _0x222100>_0x45b913;},_0x519c70['YsndB']=function(_0x287f89,_0x4509f2){return _0x287f89===_0x4509f2;},_0x519c70[_0x21c524(0x2b1)]=_0x21c524(0x29d);const _0xfcb093=_0x519c70;if(!this['started']||_0xfcb093[_0x21c524(0x2c7)](this[_0x21c524(0x2a8)][_0x21c524(0x225)],0x0)){if(_0xfcb093[_0x21c524(0x1f3)](_0xfcb093[_0x21c524(0x2d9)],_0xfcb093['QEXiO']))_0x1fc51a[_0x1afe04[_0x21c524(0x2e7)]]=_0x598980,_0x2f97a0[_0x846a7f['name']]=0x1;else return[];}if(!fs['existsSync'](this[_0x21c524(0x221)])){if(_0xfcb093[_0x21c524(0x240)](_0xfcb093[_0x21c524(0x21f)],_0xfcb093['bsMZN']))!_0x1b967e[_0x13c087[_0x21c524(0x2e7)]]&&(_0x5ea4e5[_0x1bb13e[_0x21c524(0x2e7)]]=0x0),_0x405d5a[_0x151728[_0x21c524(0x2e7)]]+=_0x296e2c['duration'];else return this[_0x21c524(0x2a8)];}let _0x1ecf85=fs[_0x21c524(0x2dd)](this[_0x21c524(0x221)])[_0x21c524(0x236)]();_0x1ecf85='['+_0x1ecf85['slice'](0x0,-0x1)+']';let _0x57b27f=JSON[_0x21c524(0x24b)](_0x1ecf85);return _0xfcb093[_0x21c524(0x2de)](this[_0x21c524(0x2a8)][_0x21c524(0x225)],0x0)&&(_0xfcb093[_0x21c524(0x1f1)](_0xfcb093[_0x21c524(0x2b1)],_0xfcb093[_0x21c524(0x2b1)])?_0x57b27f=_0x57b27f[_0x21c524(0x2da)](this[_0x21c524(0x1ea)]()):_0xfcb093[_0x21c524(0x2c7)](_0x17cfd5[_0x21c524(0x1eb)],_0xfcb093['ymIex'])?this['_measureEvents'][_0x21c524(0x2aa)](_0x4ca8fd):this[_0x21c524(0x29f)][_0x21c524(0x2aa)](_0x25d141)),this[_0x21c524(0x20c)]['disconnect'](),fs[_0x21c524(0x20f)](this[_0x21c524(0x221)]),_0x57b27f;}static[a68_0x5cadbc(0x2ee)](){const _0x3de8de=a68_0x5cadbc,_0x51e1de={};_0x51e1de['vZwPa']=function(_0x3b56d7,_0x5e63b8){return _0x3b56d7>_0x5e63b8;},_0x51e1de[_0x3de8de(0x24a)]=function(_0x23c3f5,_0xc94e47){return _0x23c3f5===_0xc94e47;},_0x51e1de[_0x3de8de(0x246)]=function(_0x1fdbcb,_0x42c3ee){return _0x1fdbcb!==_0x42c3ee;},_0x51e1de[_0x3de8de(0x295)]='qLtmZ',_0x51e1de['shXGu']=function(_0x565ffd,_0x4e6fc3){return _0x565ffd+_0x4e6fc3;};const _0x30c810=_0x51e1de;if(_0x30c810[_0x3de8de(0x24a)](this[_0x3de8de(0x228)][_0x3de8de(0x225)],0x0)){if(_0x30c810['vXZZW'](_0x30c810['KucAv'],_0x30c810[_0x3de8de(0x295)])){if(!_0x184e34[_0x3de8de(0x1de)](this[_0x3de8de(0x253)]))return this['_errorEvents'];let _0x387558=_0x34b50e['readFileSync'](this[_0x3de8de(0x253)])['toString']();_0x387558='['+_0x387558[_0x3de8de(0x210)](0x0,-0x1)+']';let _0x8ce28a=_0x36a911['parse'](_0x387558);return _0x30c810[_0x3de8de(0x232)](this['_errorEvents'][_0x3de8de(0x225)],0x0)&&(_0x8ce28a=_0x8ce28a[_0x3de8de(0x2da)](this['_errorEvents'])),_0xe2a4d4[_0x3de8de(0x20f)](this[_0x3de8de(0x253)]),_0x8ce28a;}else return;}const _0x479c9f=JSON[_0x3de8de(0x271)](this[_0x3de8de(0x228)]),_0x36f921=_0x30c810[_0x3de8de(0x296)](_0x479c9f[_0x3de8de(0x210)](0x1,-0x1),',');fs[_0x3de8de(0x1e4)](this[_0x3de8de(0x1f4)],_0x36f921);}static['finalizeErrors'](){const _0x564833=a68_0x5cadbc,_0x15a6b4={};_0x15a6b4[_0x564833(0x206)]=function(_0x522a3c,_0x2ecdc8){return _0x522a3c+_0x2ecdc8;},_0x15a6b4[_0x564833(0x1f0)]=function(_0x2df3fb,_0x506256){return _0x2df3fb||_0x506256;},_0x15a6b4[_0x564833(0x238)]=function(_0x24d0ea,_0x5dff76){return _0x24d0ea===_0x5dff76;},_0x15a6b4['JZixI']=_0x564833(0x292),_0x15a6b4['XVrxv']=function(_0x14ad31,_0x49b43f){return _0x14ad31>_0x49b43f;},_0x15a6b4[_0x564833(0x1fa)]=_0x564833(0x234);const _0x6af356=_0x15a6b4;if(!fs[_0x564833(0x1de)](this['errorReportFileName']))return _0x6af356[_0x564833(0x238)](_0x6af356[_0x564833(0x215)],_0x6af356[_0x564833(0x215)])?this[_0x564833(0x228)]:_0x6af356[_0x564833(0x206)](_0x1b817d[_0x51b3ad],_0x6af356[_0x564833(0x1f0)](_0x1adb6b,0x0));let _0x4e1c0e=fs[_0x564833(0x2dd)](this['errorReportFileName'])['toString']();_0x4e1c0e='['+_0x4e1c0e[_0x564833(0x210)](0x0,-0x1)+']';let _0x20f84b=JSON[_0x564833(0x24b)](_0x4e1c0e);if(_0x6af356[_0x564833(0x308)](this[_0x564833(0x228)][_0x564833(0x225)],0x0)){if(_0x6af356['EBbVQ'](_0x6af356['wWcCl'],_0x6af356[_0x564833(0x1fa)]))_0x20f84b=_0x20f84b[_0x564833(0x2da)](this['_errorEvents']);else{const _0x42c8b3=[_0x122570,_0x55333a,null][_0x564833(0x2da)](arguments);return _0x460b34['measure']['apply'](_0x511814,_0x42c8b3);}}return fs['unlinkSync'](this[_0x564833(0x253)]),_0x20f84b;}static['captureError'](_0x372586){const _0x2848af=a68_0x5cadbc,_0x2f311e={};_0x2f311e[_0x2848af(0x2f5)]=function(_0x57acb4,_0x359f25){return _0x57acb4===_0x359f25;},_0x2f311e[_0x2848af(0x229)]='TFBwK';const _0x44ed7a=_0x2f311e;if(!this[_0x2848af(0x2f6)]()){if(_0x44ed7a[_0x2848af(0x2f5)](_0x44ed7a['XJxPu'],_0x44ed7a[_0x2848af(0x229)]))return;else{const _0x2364cd={};return _0x2364cd[_0x2848af(0x297)]=[],_0x2364cd['errors']=[],_0x2364cd;}}this[_0x2848af(0x228)][_0x2848af(0x2aa)]({'message':_0x372586['message'],'trace':_0x372586[_0x2848af(0x258)],'code':_0x372586['code']||null,'time':new Date()});}static['stopMonitoring'](){const _0x3e0100=a68_0x5cadbc,_0x48c8d7={};_0x48c8d7[_0x3e0100(0x1f5)]=function(_0x2e60bc,_0x3b6b7c){return _0x2e60bc===_0x3b6b7c;},_0x48c8d7[_0x3e0100(0x2d7)]=_0x3e0100(0x204),_0x48c8d7[_0x3e0100(0x20d)]=_0x3e0100(0x2ae),_0x48c8d7[_0x3e0100(0x1d6)]=function(_0x4ae3aa,_0x397f6d){return _0x4ae3aa===_0x397f6d;},_0x48c8d7[_0x3e0100(0x22c)]=_0x3e0100(0x25c),_0x48c8d7['SDgks']=_0x3e0100(0x2bb),_0x48c8d7['TzSmb']=function(_0x12f605,_0x3c856b){return _0x12f605===_0x3c856b;},_0x48c8d7[_0x3e0100(0x2c5)]=_0x3e0100(0x25f),_0x48c8d7[_0x3e0100(0x2ad)]=_0x3e0100(0x2fc),_0x48c8d7[_0x3e0100(0x2c9)]=_0x3e0100(0x203);const _0x40bf7b=_0x48c8d7;try{if(_0x40bf7b[_0x3e0100(0x1f5)](_0x40bf7b[_0x3e0100(0x2d7)],_0x40bf7b['SVgsP']))return this[_0x3e0100(0x228)];else{if(!this[_0x3e0100(0x2f6)]()){if(_0x40bf7b[_0x3e0100(0x1d6)](_0x40bf7b[_0x3e0100(0x22c)],_0x40bf7b['SDgks']))return _0x4333eb[_0x3e0100(0x252)](null,_0x3e0fb5);else return;}this['_observer'][_0x3e0100(0x249)](),this[_0x3e0100(0x1ef)](),this['pushErrors']();}}catch{_0x40bf7b['TzSmb'](_0x40bf7b[_0x3e0100(0x2c5)],_0x40bf7b[_0x3e0100(0x2ad)])?(!_0x3cd319[_0x4f291b[_0x3e0100(0x2e7)]]&&(_0x676505[_0x42cb19[_0x3e0100(0x2e7)]]=0x0),_0x34d89e[_0x266910['name']]+=_0x54babc['duration']):logger[_0x3e0100(0x230)](_0x40bf7b['WlENN']);}}static[a68_0x5cadbc(0x2f8)](){const _0x1d65b4=a68_0x5cadbc,_0x5e8677={};_0x5e8677[_0x1d65b4(0x2f0)]=function(_0x5a83bb,_0xccf8ee){return _0x5a83bb!==_0xccf8ee;},_0x5e8677[_0x1d65b4(0x250)]=_0x1d65b4(0x241),_0x5e8677[_0x1d65b4(0x28a)]=_0x1d65b4(0x214);const _0x45886b=_0x5e8677,_0x4d8598=this['finalizePerfMeasures'](),_0x5e9366=this[_0x1d65b4(0x302)]();if(!this['isEnabled']()){if(_0x45886b[_0x1d65b4(0x2f0)](_0x45886b['HBScR'],_0x45886b[_0x1d65b4(0x28a)])){const _0xba0c9c={};return _0xba0c9c[_0x1d65b4(0x297)]=[],_0xba0c9c[_0x1d65b4(0x2e4)]=[],_0xba0c9c;}else return;}const _0x30de32={};return _0x30de32[_0x1d65b4(0x297)]=_0x4d8598,_0x30de32[_0x1d65b4(0x2e4)]=_0x5e9366,_0x30de32;}}module[a68_0x5cadbc(0x276)]=PerformanceTester;
|
|
1
|
+
function a68_0x4f0e(_0x1e3015,_0x2b1d01){const _0x34b0fb=a68_0x34b0();return a68_0x4f0e=function(_0x4f0e8d,_0xccb121){_0x4f0e8d=_0x4f0e8d-0x10d;let _0x531d5e=_0x34b0fb[_0x4f0e8d];return _0x531d5e;},a68_0x4f0e(_0x1e3015,_0x2b1d01);}const a68_0xdbb385=a68_0x4f0e;(function(_0x32676b,_0x33ec07){const _0x5f1f3f=a68_0x4f0e,_0x2430d4=_0x32676b();while(!![]){try{const _0x35ed10=parseInt(_0x5f1f3f(0x154))/0x1*(-parseInt(_0x5f1f3f(0x137))/0x2)+-parseInt(_0x5f1f3f(0x157))/0x3+parseInt(_0x5f1f3f(0x120))/0x4*(parseInt(_0x5f1f3f(0x133))/0x5)+-parseInt(_0x5f1f3f(0x155))/0x6*(parseInt(_0x5f1f3f(0x184))/0x7)+parseInt(_0x5f1f3f(0x135))/0x8*(parseInt(_0x5f1f3f(0x113))/0x9)+parseInt(_0x5f1f3f(0x14c))/0xa+parseInt(_0x5f1f3f(0x178))/0xb;if(_0x35ed10===_0x33ec07)break;else _0x2430d4['push'](_0x2430d4['shift']());}catch(_0x284055){_0x2430d4['push'](_0x2430d4['shift']());}}}(a68_0x34b0,0x998cc));const fs=require('fs'),{performance,PerformanceObserver}=require('perf_hooks'),{sleep,debug}=require(a68_0xdbb385(0x122)),path=require(a68_0xdbb385(0x17e)),logger=require(a68_0xdbb385(0x118))['winstonLogger'];function a68_0x34b0(){const _0xddeca8=['errors','7zUBmjO','ADxPp','tWajZ','function','observe','EQfHB','qeojs','DRAvx','performance-own.html','PBsTd','finalize','9624357oTAJgO','writeFileSync','values','mark','FVYPj','./logger','PKnuE','startMonitoring','_observer','parse','entries','push','IBuHr','4332ZrGmuS','getPerformance','./test-observability/utils','measures','krLmK','duration','CfWXN','generateJSON','abguG','nbHUf','match','toString','length','kUlDV','finally','error-report.json','_events','Error\x20in\x20writing\x20html\x20','duhCb','790qqvbQj','entryType','8vgwOaR','getEventsFromJSON','30TpPAqZ','cwd','calculateTimesFromMultipleFiles','entryTypes','Error\x20in\x20doing\x20csv\x20operations:\x20','appendFileSync','map','stopAndGenerate','slice','QFfBH','CmKqC','unlinkSync','mZIZX','errorFile','RMMVF','VxwqV','errorReportFileName','\x20for\x20all\x20processes\x20is\x20','<table><thead><tr><th>Function\x20Name</th><th>Duration\x20(ms)</th></tr></thead><tbody>','disconnect','started','8033230oILKVO','Error\x20stopping\x20monitoring','isEnabled','writeFile','</td></tr>','apply','Performance\x20report\x20is\x20at\x20','then','80643fikciv','3677772cwlBUp','reduce','2709330atjlkt','cwEBS','HkSYQ','join','LQBVe','WXBBq','false','BROWSERSTACK_SDK_INSTRUMENTATION','yjaXA','stringify','BaiZQ','finalizeErrors','message','</td><td>','SZdDj','captureError','stopMonitoring','jsonReportFileName','performance-report.json','existsSync','stack','getCleanedPerfEvents','pushErrors','-start','OidMb','ajOyI','getEntries','name','calculateTimeFromEvents','-end','_errorEvents','generateHTMLReport','_measureEvents','14419317YylyZq','measure','meta','</tbody></table></body></html>','forEach','GdlKR','path','pushPerfMeasures','buffered','readFileSync','concat'];a68_0x34b0=function(){return _0xddeca8;};return a68_0x34b0();}class PerformanceTester{static [a68_0xdbb385(0x11b)];static [a68_0xdbb385(0x130)]=[];static [a68_0xdbb385(0x177)]=[];static [a68_0xdbb385(0x175)]=[];static [a68_0xdbb385(0x14b)]=![];static [a68_0xdbb385(0x168)]=a68_0xdbb385(0x169);static [a68_0xdbb385(0x147)]='error-report.json';static[a68_0xdbb385(0x11a)](_0x1c7706=a68_0xdbb385(0x169),_0xd10ed3=a68_0xdbb385(0x12f)){const _0x1436ad=a68_0xdbb385,_0x57750e={};_0x57750e[_0x1436ad(0x185)]=function(_0xfb42cf,_0x24fb7c){return _0xfb42cf===_0x24fb7c;},_0x57750e[_0x1436ad(0x170)]=_0x1436ad(0x179),_0x57750e['DRAvx']=_0x1436ad(0x187);const _0x5c629e=_0x57750e;if(this[_0x1436ad(0x14b)]||!this[_0x1436ad(0x14e)]())return;this[_0x1436ad(0x11b)]=new PerformanceObserver(_0x5076fa=>{const _0x337b53=_0x1436ad,_0xb574b0={'QFfBH':function(_0x233973,_0x3ba878){const _0x573c62=a68_0x4f0e;return _0x5c629e[_0x573c62(0x185)](_0x233973,_0x3ba878);},'qeojs':_0x5c629e[_0x337b53(0x170)]};_0x5076fa[_0x337b53(0x171)]()[_0x337b53(0x17c)](_0x2d7fad=>{const _0x78e026=_0x337b53;_0xb574b0[_0x78e026(0x140)](_0x2d7fad[_0x78e026(0x134)],_0xb574b0[_0x78e026(0x10e)])?this[_0x78e026(0x177)][_0x78e026(0x11e)](_0x2d7fad):this[_0x78e026(0x130)][_0x78e026(0x11e)](_0x2d7fad);});});const _0x145aa3={};_0x145aa3[_0x1436ad(0x180)]=!![],_0x145aa3[_0x1436ad(0x13a)]=[_0x5c629e[_0x1436ad(0x10f)],_0x5c629e['ajOyI']],this[_0x1436ad(0x11b)][_0x1436ad(0x188)](_0x145aa3),this[_0x1436ad(0x14b)]=!![],this[_0x1436ad(0x168)]=_0x1c7706,this[_0x1436ad(0x147)]=_0xd10ed3;}static[a68_0xdbb385(0x121)](){return performance;}static['calculateTimeFromEvents'](_0x160d75,_0x5a2c6d){const _0xc7bd16=a68_0xdbb385,_0x290504={};_0x290504['oxLOD']=function(_0x516e45,_0x326478){return _0x516e45+_0x326478;},_0x290504['OidMb']=function(_0x9b576a,_0x304d84){return _0x9b576a||_0x304d84;},_0x290504[_0xc7bd16(0x146)]=function(_0xaf545e,_0x48e871){return _0xaf545e===_0x48e871;};const _0xe233f1=_0x290504,_0x3b0910={};if(!_0x160d75||_0xe233f1[_0xc7bd16(0x146)](_0x160d75[_0xc7bd16(0x12c)],0x0))return;_0x160d75['map'](_0x474bdb=>{const _0x42cfdd=_0xc7bd16;!_0x3b0910[_0x474bdb[_0x42cfdd(0x172)]]&&(_0x3b0910[_0x474bdb[_0x42cfdd(0x172)]]=0x0),_0x3b0910[_0x474bdb[_0x42cfdd(0x172)]]+=_0x474bdb['duration'];});const _0x4fa622=_0x5a2c6d[_0xc7bd16(0x156)]((_0x5636e2,_0x57b66a)=>{const _0x1fad73=_0xc7bd16;return _0xe233f1['oxLOD'](_0x3b0910[_0x57b66a],_0xe233f1[_0x1fad73(0x16f)](_0x5636e2,0x0));},0x0);return _0x4fa622;}static async[a68_0xdbb385(0x139)](_0x5987fe,_0x83967){const _0xd708d4=a68_0xdbb385,_0x3e6e35={'NcuKr':function(_0xaa0959,_0x619c0c){return _0xaa0959+_0x619c0c;},'FpTHw':function(_0x3dfe30,_0x5b3a82){return _0x3dfe30||_0x5b3a82;},'krLmK':function(_0x43db2e,_0x135da0){return _0x43db2e===_0x135da0;},'LQBVe':function(_0x5d1554,_0x16659d){return _0x5d1554(_0x16659d);},'kUlDV':function(_0x121c2d,_0x24074f){return _0x121c2d(_0x24074f);}};if(!_0x5987fe||_0x3e6e35[_0xd708d4(0x124)](_0x5987fe[_0xd708d4(0x12c)],0x0))return 0x0;const _0x44f273=[];for(const _0x2bd3f8 of _0x5987fe){const _0x59ec76=path[_0xd708d4(0x15a)]('.',_0x2bd3f8);try{const _0x426ae9=this[_0xd708d4(0x136)](_0x59ec76);_0x426ae9[_0xd708d4(0x13d)](_0x3a160f=>{const _0x39b0cb=_0xd708d4;!_0x44f273[_0x3a160f[_0x39b0cb(0x172)]]&&(_0x44f273[_0x3a160f[_0x39b0cb(0x172)]]=0x0),_0x44f273[_0x3a160f[_0x39b0cb(0x172)]]+=_0x3a160f[_0x39b0cb(0x125)];});}catch(_0xb4ab75){_0x3e6e35[_0xd708d4(0x15b)](debug,_0xd708d4(0x13b)+_0xb4ab75['toString']());}}const _0x5ad293=_0x83967[_0xd708d4(0x156)]((_0x2db4f2,_0x1263fe)=>{return _0x3e6e35['NcuKr'](_0x44f273[_0x1263fe],_0x3e6e35['FpTHw'](_0x2db4f2,0x0));},0x0);return _0x3e6e35[_0xd708d4(0x12d)](debug,'Time\x20for\x20'+_0x83967+_0xd708d4(0x148)+_0x5ad293),_0x5ad293;}static[a68_0xdbb385(0x136)](_0x326b7f){const _0xa7277e=a68_0xdbb385;if(!fs[_0xa7277e(0x16a)](_0x326b7f))return[];return JSON['parse'](fs[_0xa7277e(0x181)](_0x326b7f)['toString']());}static async[a68_0xdbb385(0x13e)](_0x3b51c9=a68_0xdbb385(0x110),_0x425678=null){const _0x45503d=a68_0xdbb385,_0x516837={'CmKqC':function(_0x5a6af8,_0x48dd3c){return _0x5a6af8(_0x48dd3c);},'yjaXA':function(_0xa4c3e1,_0x45fa78){return _0xa4c3e1(_0x45fa78);}};if(!this[_0x45503d(0x14b)])return;await _0x516837[_0x45503d(0x15f)](sleep,0x1e),this[_0x45503d(0x11b)][_0x45503d(0x14a)](),this[_0x45503d(0x14b)]=![],this[_0x45503d(0x127)](this[_0x45503d(0x130)]);const _0x39ad5f=this[_0x45503d(0x176)](this[_0x45503d(0x130)]),_0x4932fb=path[_0x45503d(0x15a)](process[_0x45503d(0x138)](),_0x3b51c9);fs[_0x45503d(0x14f)](_0x4932fb,_0x39ad5f,_0x5ed8b2=>{const _0x2ceb25=_0x45503d;if(_0x5ed8b2){_0x516837[_0x2ceb25(0x141)](debug,_0x2ceb25(0x131)+_0x5ed8b2[_0x2ceb25(0x12b)]());return;}_0x516837[_0x2ceb25(0x15f)](debug,_0x2ceb25(0x152)+_0x4932fb);});if(_0x425678)return this[_0x45503d(0x173)](this[_0x45503d(0x130)],_0x425678);}static[a68_0xdbb385(0x176)](_0x2889cd){const _0x33e037=a68_0xdbb385,_0x517631={};_0x517631[_0x33e037(0x143)]='<!DOCTYPE\x20html><html><head><title>Performance\x20Report</title></head><body>',_0x517631['BaiZQ']='<h1>Performance\x20Report</h1>',_0x517631['HkSYQ']=_0x33e037(0x149),_0x517631['nELVq']=_0x33e037(0x17b);const _0x59d5eb=_0x517631;let _0x2e83e0=_0x59d5eb[_0x33e037(0x143)];return _0x2e83e0+=_0x59d5eb[_0x33e037(0x161)],_0x2e83e0+=_0x59d5eb[_0x33e037(0x159)],_0x2889cd['forEach'](_0x10b956=>{const _0x5d4315=_0x33e037;_0x2e83e0+='<tr><td>'+_0x10b956[_0x5d4315(0x172)]+_0x5d4315(0x164)+_0x10b956[_0x5d4315(0x125)]+_0x5d4315(0x150);}),_0x2e83e0+=_0x59d5eb['nELVq'],_0x2e83e0;}static[a68_0xdbb385(0x127)](_0x132987){const _0x48c271=a68_0xdbb385;if(!this['jsonReportFileName'])return;const _0x427d6d={};_0x132987[_0x48c271(0x13d)](_0x27d06c=>{const _0x13aca6=_0x48c271;!_0x427d6d[_0x27d06c[_0x13aca6(0x172)]]&&(_0x427d6d[_0x27d06c[_0x13aca6(0x172)]]=0x0),_0x427d6d[_0x27d06c[_0x13aca6(0x172)]]+=_0x27d06c['duration'];});const _0x59b06c=Object[_0x48c271(0x11d)](_0x427d6d)[_0x48c271(0x13d)](([_0x198f1b,_0x47844c])=>{const _0x299286=_0x48c271,_0x3e766c={};return _0x3e766c[_0x299286(0x172)]=_0x198f1b,_0x3e766c[_0x299286(0x125)]=_0x47844c,_0x3e766c;});fs[_0x48c271(0x114)](this[_0x48c271(0x168)],JSON[_0x48c271(0x160)](_0x59b06c));}static[a68_0xdbb385(0x14e)](){const _0x5a3fe1=a68_0xdbb385,_0x19a744={};_0x19a744[_0x5a3fe1(0x126)]=function(_0x13628c,_0x508565){return _0x13628c===_0x508565;},_0x19a744[_0x5a3fe1(0x129)]=_0x5a3fe1(0x15d);const _0x33a01f=_0x19a744;return!_0x33a01f[_0x5a3fe1(0x126)](process['env'][_0x5a3fe1(0x15e)],_0x33a01f[_0x5a3fe1(0x129)]);}static[a68_0xdbb385(0x179)](_0x137197,_0x43e40a,_0x1f754c=null,_0x5ca188=null){const _0x67bba6=a68_0xdbb385,_0x55321e={};_0x55321e[_0x67bba6(0x132)]=function(_0x22f69b,_0x4ac16c){return _0x22f69b+_0x4ac16c;},_0x55321e['opmUZ']=_0x67bba6(0x16e),_0x55321e['cwEBS']=_0x67bba6(0x174),_0x55321e['WXBBq']=function(_0x419a04,_0x30152d){return _0x419a04 instanceof _0x30152d;};const _0xa70926=_0x55321e;try{if(this[_0x67bba6(0x14b)]&&this[_0x67bba6(0x14e)]()){let _0x277374=_0x137197;_0x1f754c&&(_0x277374=_0x137197+'['+JSON[_0x67bba6(0x160)](_0x1f754c)+']');const _0x22c579=_0xa70926[_0x67bba6(0x132)](_0x277374,_0xa70926['opmUZ']),_0x541752=_0xa70926[_0x67bba6(0x132)](_0x277374,_0xa70926[_0x67bba6(0x158)]);performance[_0x67bba6(0x116)](_0x22c579);const _0x1451db=_0x43e40a[_0x67bba6(0x151)](null,_0x5ca188);if(_0xa70926[_0x67bba6(0x15c)](_0x1451db,Promise))return new Promise((_0x2e31e9,_0x5370a3)=>{const _0xefbff1=_0x67bba6;_0x1451db[_0xefbff1(0x153)](_0x2caec4=>_0x2e31e9(_0x2caec4))['catch'](_0x3bba47=>_0x5370a3(_0x3bba47))[_0xefbff1(0x12e)](()=>{const _0xe9be93=_0xefbff1;performance[_0xe9be93(0x116)](_0x541752),performance[_0xe9be93(0x179)](_0x277374,_0x22c579,_0x541752);});});;return performance[_0x67bba6(0x116)](_0x541752),performance[_0x67bba6(0x179)](_0x277374,_0x22c579,_0x541752),_0x1451db;};return _0x43e40a['apply'](null,_0x5ca188);}catch(_0x510e4a){return _0x43e40a[_0x67bba6(0x151)](null,_0x5ca188);}}static['measureWrapper'](_0x359995,_0x168b34){const _0x249985=this;return function(){const _0x7a4694=a68_0x4f0e,_0x37b899=[_0x359995,_0x168b34,null][_0x7a4694(0x182)](arguments);return _0x249985[_0x7a4694(0x179)][_0x7a4694(0x151)](_0x249985,_0x37b899);};}static[a68_0xdbb385(0x16c)](){const _0x4cb8bd=a68_0xdbb385,_0x3cf4ce={};_0x3cf4ce[_0x4cb8bd(0x117)]=function(_0x160c9d,_0x4c2282){return _0x160c9d/_0x4c2282;},_0x3cf4ce[_0x4cb8bd(0x119)]=function(_0x2d19ab,_0x189ee5){return _0x2d19ab+_0x189ee5;},_0x3cf4ce['IBuHr']=function(_0x4fe65a,_0x300ce4){return _0x4fe65a*_0x300ce4;};const _0x2b25ae=_0x3cf4ce,_0x49fccb=/(^.*)\[(.*)\]$/,_0x5035ed={},_0x3f8cc0={};for(const _0x3bab10 of this[_0x4cb8bd(0x177)]){const _0x11d8ff=_0x3bab10[_0x4cb8bd(0x172)][_0x4cb8bd(0x12a)](_0x49fccb),_0x2a53e3={};_0x2a53e3[_0x4cb8bd(0x172)]=_0x3bab10['name'],_0x2a53e3['duration']=_0x3bab10[_0x4cb8bd(0x125)]||0x0;const _0x1ec8de=_0x2a53e3;_0x11d8ff&&(_0x1ec8de['name']=_0x11d8ff[0x1],_0x1ec8de[_0x4cb8bd(0x17a)]=JSON[_0x4cb8bd(0x11c)](_0x11d8ff[0x2]));if(_0x5035ed[_0x1ec8de[_0x4cb8bd(0x172)]]){const _0x429047=_0x5035ed[_0x1ec8de['name']],_0x5e6de1=_0x3f8cc0[_0x1ec8de[_0x4cb8bd(0x172)]];_0x5035ed[_0x1ec8de[_0x4cb8bd(0x172)]][_0x4cb8bd(0x125)]=_0x2b25ae['FVYPj'](_0x2b25ae[_0x4cb8bd(0x119)](_0x2b25ae[_0x4cb8bd(0x11f)](_0x429047[_0x4cb8bd(0x125)],_0x5e6de1),_0x1ec8de[_0x4cb8bd(0x125)]),_0x2b25ae[_0x4cb8bd(0x119)](0x1,_0x5e6de1)),_0x3f8cc0[_0x1ec8de[_0x4cb8bd(0x172)]]++;}else _0x5035ed[_0x1ec8de['name']]=_0x1ec8de,_0x3f8cc0[_0x1ec8de[_0x4cb8bd(0x172)]]=0x1;}return Object[_0x4cb8bd(0x115)](_0x5035ed);}static[a68_0xdbb385(0x17f)](){const _0x514cd1=a68_0xdbb385,_0x572985={};_0x572985[_0x514cd1(0x17d)]=function(_0x26df98,_0x4eb31c){return _0x26df98===_0x4eb31c;},_0x572985[_0x514cd1(0x128)]=function(_0x5b6a6f,_0x20f003){return _0x5b6a6f+_0x20f003;};const _0x283c07=_0x572985;if(_0x283c07['GdlKR'](this[_0x514cd1(0x177)][_0x514cd1(0x12c)],0x0))return;const _0x5b327c=this[_0x514cd1(0x16c)](),_0x4cb2fb=JSON[_0x514cd1(0x160)](_0x5b327c),_0x25e6f0=_0x283c07[_0x514cd1(0x128)](_0x4cb2fb[_0x514cd1(0x13f)](0x1,-0x1),',');fs[_0x514cd1(0x13c)](this[_0x514cd1(0x168)],_0x25e6f0);}static['finalizePerfMeasures'](){const _0x1feeb3=a68_0xdbb385,_0x2f6a60={};_0x2f6a60[_0x1feeb3(0x165)]=function(_0xd63d47,_0x59721a){return _0xd63d47===_0x59721a;},_0x2f6a60[_0x1feeb3(0x186)]=function(_0x466197,_0x211e6f){return _0x466197>_0x211e6f;};const _0x111c4c=_0x2f6a60;if(!this[_0x1feeb3(0x14b)]||_0x111c4c[_0x1feeb3(0x165)](this[_0x1feeb3(0x177)][_0x1feeb3(0x12c)],0x0))return[];if(!fs['existsSync'](this['jsonReportFileName']))return this[_0x1feeb3(0x177)];let _0x200c2c=fs[_0x1feeb3(0x181)](this[_0x1feeb3(0x168)])[_0x1feeb3(0x12b)]();_0x200c2c='['+_0x200c2c[_0x1feeb3(0x13f)](0x0,-0x1)+']';let _0x84b51e=JSON[_0x1feeb3(0x11c)](_0x200c2c);return _0x111c4c[_0x1feeb3(0x186)](this['_measureEvents']['length'],0x0)&&(_0x84b51e=_0x84b51e['concat'](this[_0x1feeb3(0x16c)]())),this[_0x1feeb3(0x11b)][_0x1feeb3(0x14a)](),fs[_0x1feeb3(0x142)](this['jsonReportFileName']),_0x84b51e;}static[a68_0xdbb385(0x16d)](){const _0x40e459=a68_0xdbb385,_0x7a32bb={};_0x7a32bb[_0x40e459(0x145)]=function(_0x3ae92f,_0x1987c2){return _0x3ae92f===_0x1987c2;},_0x7a32bb[_0x40e459(0x10d)]=function(_0x38959b,_0x10a685){return _0x38959b+_0x10a685;};const _0x3ff3eb=_0x7a32bb;if(_0x3ff3eb['RMMVF'](this[_0x40e459(0x175)]['length'],0x0))return;const _0x224d86=JSON[_0x40e459(0x160)](this[_0x40e459(0x175)]),_0x3c9b71=_0x3ff3eb[_0x40e459(0x10d)](_0x224d86[_0x40e459(0x13f)](0x1,-0x1),',');fs[_0x40e459(0x13c)](this[_0x40e459(0x144)],_0x3c9b71);}static[a68_0xdbb385(0x162)](){const _0x167f9c=a68_0xdbb385,_0x2b73d9={};_0x2b73d9['HxhFY']=function(_0x78415e,_0x1c8ccf){return _0x78415e>_0x1c8ccf;};const _0x29acc9=_0x2b73d9;if(!fs[_0x167f9c(0x16a)](this[_0x167f9c(0x147)]))return this[_0x167f9c(0x175)];let _0xa5cf0a=fs[_0x167f9c(0x181)](this[_0x167f9c(0x147)])[_0x167f9c(0x12b)]();_0xa5cf0a='['+_0xa5cf0a[_0x167f9c(0x13f)](0x0,-0x1)+']';let _0x4a77a8=JSON[_0x167f9c(0x11c)](_0xa5cf0a);return _0x29acc9['HxhFY'](this[_0x167f9c(0x175)][_0x167f9c(0x12c)],0x0)&&(_0x4a77a8=_0x4a77a8[_0x167f9c(0x182)](this[_0x167f9c(0x175)])),fs['unlinkSync'](this[_0x167f9c(0x147)]),_0x4a77a8;}static[a68_0xdbb385(0x166)](_0x4673dd){const _0x1f5fc6=a68_0xdbb385;if(!this[_0x1f5fc6(0x14e)]())return;this['_errorEvents'][_0x1f5fc6(0x11e)]({'message':_0x4673dd[_0x1f5fc6(0x163)],'trace':_0x4673dd[_0x1f5fc6(0x16b)],'code':_0x4673dd['code']||null,'time':new Date()});}static[a68_0xdbb385(0x167)](){const _0x4a3086=a68_0xdbb385,_0x317c09={};_0x317c09['PBsTd']=_0x4a3086(0x14d);const _0x339a7a=_0x317c09;try{if(!this[_0x4a3086(0x14e)]())return;this[_0x4a3086(0x11b)][_0x4a3086(0x14a)](),this['pushPerfMeasures'](),this[_0x4a3086(0x16d)]();}catch{logger['debug'](_0x339a7a[_0x4a3086(0x111)]);}}static[a68_0xdbb385(0x112)](){const _0x3cfe44=a68_0xdbb385,_0x3f4190=this['finalizePerfMeasures'](),_0x8659df=this[_0x3cfe44(0x162)]();if(!this['isEnabled']()){const _0x2a1ee1={};return _0x2a1ee1['measures']=[],_0x2a1ee1[_0x3cfe44(0x183)]=[],_0x2a1ee1;}const _0x212bad={};return _0x212bad[_0x3cfe44(0x123)]=_0x3f4190,_0x212bad[_0x3cfe44(0x183)]=_0x8659df,_0x212bad;}}module['exports']=PerformanceTester;
|