lightrun 1.51.0 → 1.51.1
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/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x41effb=a0_0x3000;(function(_0x56bdab,_0x33a655){const _0x56b0fb=a0_0x3000,_0x18d2b5=_0x56bdab();while(!![]){try{const _0x27afaf=parseInt(_0x56b0fb(0x184))/0x1+parseInt(_0x56b0fb(0x169))/0x2*(-parseInt(_0x56b0fb(0x183))/0x3)+-parseInt(_0x56b0fb(0x17a))/0x4+parseInt(_0x56b0fb(0x18b))/0x5*(parseInt(_0x56b0fb(0x182))/0x6)+parseInt(_0x56b0fb(0x178))/0x7+-parseInt(_0x56b0fb(0x185))/0x8+parseInt(_0x56b0fb(0x173))/0x9;if(_0x27afaf===_0x33a655)break;else _0x18d2b5['push'](_0x18d2b5['shift']());}catch(_0x386448){_0x18d2b5['push'](_0x18d2b5['shift']());}}}(a0_0x1cc5,0x81c00));function a0_0x1cc5(){const _0x55b597=['apply','info','winston-daily-rotate-file','winston','debug','5809581xSCNNQ','defineProperty','getHours','warn','getDate','41489iGUaEP','search','1199772DoMdKT','padStart','error','getMinutes','json','logger','pid','transports','42eHefGz','471LGxbhc','403858QPpXCK','3763104cCxzDn','lightrun_nodejs_agent.','process','default','toUpperCase','.%DATE%','727585Lkdtrt','constructor','getSeconds','9836vNpmFk','AGENT_LOG_FILE','format','getMonth','toString'];a0_0x1cc5=function(){return _0x55b597;};return a0_0x1cc5();}const a0_0x85d22b=(function(){let _0x3ad85d=!![];return function(_0x2ccab3,_0x18d15f){const _0x23bf9=_0x3ad85d?function(){const _0x4333eb=a0_0x3000;if(_0x18d15f){const _0x1afb8b=_0x18d15f[_0x4333eb(0x16e)](_0x2ccab3,arguments);return _0x18d15f=null,_0x1afb8b;}}:function(){};return _0x3ad85d=![],_0x23bf9;};}()),a0_0x20ee4b=a0_0x85d22b(this,function(){const _0x1b51f9=a0_0x3000;return a0_0x20ee4b[_0x1b51f9(0x16d)]()[_0x1b51f9(0x179)]('(((.+)+)+)+$')[_0x1b51f9(0x16d)]()[_0x1b51f9(0x18c)](a0_0x20ee4b)[_0x1b51f9(0x179)]('(((.+)+)+)+$');});a0_0x20ee4b();function a0_0x3000(_0x1113df,_0x512864){const _0x1f8b58=a0_0x1cc5();return a0_0x3000=function(_0x20ee4b,_0x85d22b){_0x20ee4b=_0x20ee4b-0x168;let _0x1cc59b=_0x1f8b58[_0x20ee4b];return _0x1cc59b;},a0_0x3000(_0x1113df,_0x512864);}'use strict';Object[a0_0x41effb(0x174)](exports,'__esModule',{'value':!![]});const winston_1=require(a0_0x41effb(0x171)),DailyRotateFile=require(a0_0x41effb(0x170)),process_1=require(a0_0x41effb(0x187)),{combine,printf,timestamp}=winston_1[a0_0x41effb(0x16b)],{Console}=winston_1[a0_0x41effb(0x181)],now=new Date();function getLoggerTransport(_0x544207,_0x5655a8,_0x583e73){const _0x403e87=a0_0x41effb;if(_0x544207)return new DailyRotateFile({'dirname':_0x544207,'filename':AgentLogger['AGENT_LOG_FILE'],'datePattern':now['getFullYear']()[_0x403e87(0x16d)]()+now[_0x403e87(0x16c)]()[_0x403e87(0x16d)]()[_0x403e87(0x17b)](0x2,'0')+now[_0x403e87(0x177)]()[_0x403e87(0x16d)]()[_0x403e87(0x17b)](0x2,'0')+'-'+now[_0x403e87(0x175)]()['toString']()['padStart'](0x2,'0')+now[_0x403e87(0x17d)]()['toString']()[_0x403e87(0x17b)](0x2,'0')+now[_0x403e87(0x168)]()['toString']()[_0x403e87(0x17b)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x403e87(0x16a)],'maxSize':_0x5655a8+'m','maxFiles':_0x583e73,'extension':'.log'});return new Console();}class AgentLogger{constructor(_0x430372,_0x1e2f3c,_0x30b3fd,_0x562ab3,_0x4b8f0a){const _0x5a011=a0_0x41effb;this['logger']=(0x0,winston_1['createLogger'])({'level':_0x562ab3,'transports':[getLoggerTransport(_0x430372,_0x1e2f3c,_0x30b3fd),new Console({'level':_0x4b8f0a,'stderrLevels':[_0x5a011(0x172),'info',_0x5a011(0x176),_0x5a011(0x17c)]})],'format':combine(timestamp(),printf(({level:_0x54a1f8,message:_0x38c08c,timestamp:_0xb22ca3})=>{const _0x49a1cf=_0x5a011;return _0xb22ca3+'\x20['+_0x54a1f8[_0x49a1cf(0x189)]()+']\x20-\x20'+_0x38c08c;}),winston_1['format'][_0x5a011(0x17e)]())});}static['createLogger'](_0x1ae437,_0x8bc8f4,_0x32df3d,_0x494658,_0x18cdec){return new AgentLogger(_0x1ae437,_0x8bc8f4,_0x32df3d,_0x494658,_0x18cdec);}[a0_0x41effb(0x172)](..._0x545817){const _0x1c6e38=a0_0x41effb;this[_0x1c6e38(0x17f)]['debug'](_0x545817);}[a0_0x41effb(0x16f)](..._0x372912){const _0x597b1e=a0_0x41effb;this[_0x597b1e(0x17f)]['info'](_0x372912);}[a0_0x41effb(0x176)](..._0x5337a9){this['logger']['warn'](_0x5337a9);}[a0_0x41effb(0x17c)](..._0x5c6e88){this['logger']['error'](_0x5c6e88);}}AgentLogger[a0_0x41effb(0x16a)]=a0_0x41effb(0x186)+process_1[a0_0x41effb(0x180)]+a0_0x41effb(0x18a),exports[a0_0x41effb(0x188)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x3c35c3=a1_0x6ab3;(function(_0x44cbf3,_0x5ca65d){const _0x3e0b0b=a1_0x6ab3,_0x5a22a1=_0x44cbf3();while(!![]){try{const _0x5be925=parseInt(_0x3e0b0b(0xa4))/0x1+parseInt(_0x3e0b0b(0xae))/0x2+parseInt(_0x3e0b0b(0xaa))/0x3*(-parseInt(_0x3e0b0b(0xa5))/0x4)+-parseInt(_0x3e0b0b(0xa3))/0x5+parseInt(_0x3e0b0b(0xa2))/0x6*(-parseInt(_0x3e0b0b(0x99))/0x7)+parseInt(_0x3e0b0b(0x9b))/0x8+parseInt(_0x3e0b0b(0xaf))/0x9;if(_0x5be925===_0x5ca65d)break;else _0x5a22a1['push'](_0x5a22a1['shift']());}catch(_0x5257eb){_0x5a22a1['push'](_0x5a22a1['shift']());}}}(a1_0x2ec8,0xc0537));const a1_0x44c956=(function(){let _0x246452=!![];return function(_0x489293,_0x213758){const _0x300760=_0x246452?function(){const _0x454b43=a1_0x6ab3;if(_0x213758){const _0x33b932=_0x213758[_0x454b43(0xac)](_0x489293,arguments);return _0x213758=null,_0x33b932;}}:function(){};return _0x246452=![],_0x300760;};}()),a1_0x1efad6=a1_0x44c956(this,function(){const _0xb49df4=a1_0x6ab3;return a1_0x1efad6[_0xb49df4(0xa1)]()[_0xb49df4(0xa0)]('(((.+)+)+)+$')[_0xb49df4(0xa1)]()[_0xb49df4(0x9c)](a1_0x1efad6)['search'](_0xb49df4(0x98));});a1_0x1efad6();'use strict';Object[a1_0x3c35c3(0x9d)](exports,'__esModule',{'value':!![]}),exports[a1_0x3c35c3(0xa8)]=void 0x0;function a1_0x6ab3(_0x34c677,_0x42bfb8){const _0x296b42=a1_0x2ec8();return a1_0x6ab3=function(_0x1efad6,_0x44c956){_0x1efad6=_0x1efad6-0x98;let _0x2ec84e=_0x296b42[_0x1efad6];return _0x2ec84e;},a1_0x6ab3(_0x34c677,_0x42bfb8);}class BlocklistingPatterns{constructor(_0x2980c7){const _0x5d91c1=a1_0x3c35c3;this[_0x5d91c1(0xa6)]=[],this['patterns']=[],_0x2980c7&&_0x2980c7[_0x5d91c1(0xab)](_0x367414=>{const _0x2d069c=_0x5d91c1;_0x367414&&(_0x367414[0x0]==='!'?this[_0x2d069c(0xa6)]['push'](new RegExp(_0x367414['substring'](0x1))):this[_0x2d069c(0x9e)][_0x2d069c(0xa7)](new RegExp(_0x367414)));});}[a1_0x3c35c3(0xad)](_0x10248a){const _0x157cd9=a1_0x3c35c3,_0xdf5316=_0x79e2a2=>_0x10248a[_0x157cd9(0x9f)](_0x79e2a2);return this[_0x157cd9(0xa6)][_0x157cd9(0x9a)]!==0x0&&!this[_0x157cd9(0xa6)][_0x157cd9(0xa9)](_0xdf5316)||this[_0x157cd9(0x9e)][_0x157cd9(0xa9)](_0xdf5316);}}function a1_0x2ec8(){const _0x443948=['4590016YJomwQ','constructor','defineProperty','patterns','match','search','toString','168264GOmfKB','6284835qPXXAT','925422HYsMrZ','122024FXJIUA','inversePatterns','push','BlocklistingPatterns','some','24qURjyx','forEach','apply','matches','351620CQNuCK','12843666kcyLOB','(((.+)+)+)+$','203szGoYr','length'];a1_0x2ec8=function(){return _0x443948;};return a1_0x2ec8();}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x5a80b3=a2_0x2936;(function(_0x1bb6da,_0x3d8874){var _0x4e4394=a2_0x2936,_0xa557dc=_0x1bb6da();while(!![]){try{var _0x141174=parseInt(_0x4e4394(0x106))/0x1+-parseInt(_0x4e4394(0x10c))/0x2*(parseInt(_0x4e4394(0x101))/0x3)+parseInt(_0x4e4394(0x107))/0x4*(parseInt(_0x4e4394(0xfb))/0x5)+parseInt(_0x4e4394(0x104))/0x6+parseInt(_0x4e4394(0xff))/0x7*(parseInt(_0x4e4394(0xfe))/0x8)+-parseInt(_0x4e4394(0xfc))/0x9*(-parseInt(_0x4e4394(0x10b))/0xa)+-parseInt(_0x4e4394(0xfa))/0xb;if(_0x141174===_0x3d8874)break;else _0xa557dc['push'](_0xa557dc['shift']());}catch(_0x37850e){_0xa557dc['push'](_0xa557dc['shift']());}}}(a2_0xd132,0x56ed3));function a2_0xd132(){var _0xb58a7f=['415szunrW','1294101waOITw','constructor','1968568GFCXvj','14TgGQRk','toString','798TWrORH','defineProperty','__esModule','2579004bjaWTO','search','33624ZoMIXu','6644ZxyiRJ','apply','value','DummyBlocklistManager','10iDBwYb','3778SuMjUj','(((.+)+)+)+$','4165997CTgpMH'];a2_0xd132=function(){return _0xb58a7f;};return a2_0xd132();}var a2_0x4010ac=(function(){var _0x44935d=!![];return function(_0x2ad6cc,_0x3f7ee3){var _0x5e69d7=_0x44935d?function(){var _0x407798=a2_0x2936;if(_0x3f7ee3){var _0x4c9d31=_0x3f7ee3[_0x407798(0x108)](_0x2ad6cc,arguments);return _0x3f7ee3=null,_0x4c9d31;}}:function(){};return _0x44935d=![],_0x5e69d7;};}()),a2_0x34b116=a2_0x4010ac(this,function(){var _0x2fbd2e=a2_0x2936;return a2_0x34b116[_0x2fbd2e(0x100)]()[_0x2fbd2e(0x105)](_0x2fbd2e(0xf9))['toString']()[_0x2fbd2e(0xfd)](a2_0x34b116)['search'](_0x2fbd2e(0xf9));});a2_0x34b116();function a2_0x2936(_0x1c8995,_0x6166dd){var _0x180ef6=a2_0xd132();return a2_0x2936=function(_0x34b116,_0x4010ac){_0x34b116=_0x34b116-0xf9;var _0xd13214=_0x180ef6[_0x34b116];return _0xd13214;},a2_0x2936(_0x1c8995,_0x6166dd);}'use strict';Object[a2_0x5a80b3(0x102)](exports,a2_0x5a80b3(0x103),{'value':!![]}),exports[a2_0x5a80b3(0x10a)]=void 0x0;class DummyBlocklistManager{constructor(_0x4217f1){var _0x27d61e=a2_0x5a80b3;this[_0x27d61e(0x109)]=_0x4217f1;}['shouldBlock'](){return this['value'];}}exports['DummyBlocklistManager']=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x2392da=a3_0x2086;(function(_0x571a4a,_0x5176c0){const _0x144662=a3_0x2086,_0x186c68=_0x571a4a();while(!![]){try{const _0x5b065a=-parseInt(_0x144662(0x154))/0x1+-parseInt(_0x144662(0x14b))/0x2*(-parseInt(_0x144662(0x163))/0x3)+-parseInt(_0x144662(0x156))/0x4*(parseInt(_0x144662(0x161))/0x5)+-parseInt(_0x144662(0x14c))/0x6*(-parseInt(_0x144662(0x167))/0x7)+-parseInt(_0x144662(0x160))/0x8*(-parseInt(_0x144662(0x15c))/0x9)+-parseInt(_0x144662(0x15a))/0xa*(parseInt(_0x144662(0x15f))/0xb)+parseInt(_0x144662(0x15b))/0xc*(parseInt(_0x144662(0x151))/0xd);if(_0x5b065a===_0x5176c0)break;else _0x186c68['push'](_0x186c68['shift']());}catch(_0x5e9856){_0x186c68['push'](_0x186c68['shift']());}}}(a3_0x514c,0x7e6d3));const a3_0x1bb477=(function(){let _0xe6cc83=!![];return function(_0x26a4d8,_0x34e94a){const _0x30cab0=_0xe6cc83?function(){const _0x3a6900=a3_0x2086;if(_0x34e94a){const _0x3ce541=_0x34e94a[_0x3a6900(0x152)](_0x26a4d8,arguments);return _0x34e94a=null,_0x3ce541;}}:function(){};return _0xe6cc83=![],_0x30cab0;};}()),a3_0x1cf085=a3_0x1bb477(this,function(){const _0x2c864a=a3_0x2086;return a3_0x1cf085[_0x2c864a(0x14d)]()[_0x2c864a(0x158)]('(((.+)+)+)+$')['toString']()['constructor'](a3_0x1cf085)[_0x2c864a(0x158)](_0x2c864a(0x159));});function a3_0x2086(_0x3df26e,_0x4a5e78){const _0x52e7e6=a3_0x514c();return a3_0x2086=function(_0x1cf085,_0x1bb477){_0x1cf085=_0x1cf085-0x14b;let _0x514c82=_0x52e7e6[_0x1cf085];return _0x514c82;},a3_0x2086(_0x3df26e,_0x4a5e78);}a3_0x1cf085();'use strict';Object[a3_0x2392da(0x164)](exports,a3_0x2392da(0x155),{'value':!![]}),exports[a3_0x2392da(0x162)]=void 0x0;const blocklisting_patterns_1=require(a3_0x2392da(0x14e)),utils=require(a3_0x2392da(0x165));class PatternsBlocklistManager{constructor(_0x3566fd,_0x2dcb62,_0x26b509){const _0x17b25b=a3_0x2392da;this[_0x17b25b(0x166)]=new blocklisting_patterns_1[(_0x17b25b(0x14f))](_0x3566fd),this[_0x17b25b(0x15d)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x2dcb62),this[_0x17b25b(0x153)]=_0x26b509;}[a3_0x2392da(0x150)](_0x39e605){const _0x564174=a3_0x2392da;_0x39e605=this[_0x564174(0x157)](_0x39e605);if(this['blocklistExceptions']['matches'](_0x39e605))return![];return this['blocklist'][_0x564174(0x168)](_0x39e605);}['stripWorkingDir'](_0x4ebd51){const _0x42a6e3=a3_0x2392da;if(utils[_0x42a6e3(0x15e)](_0x4ebd51,this[_0x42a6e3(0x153)]))return utils[_0x42a6e3(0x169)](_0x4ebd51,this[_0x42a6e3(0x153)]);return _0x4ebd51;}}exports[a3_0x2392da(0x162)]=PatternsBlocklistManager;function a3_0x514c(){const _0x10501a=['12140MOjeXM','stripWorkingDir','search','(((.+)+)+)+$','150QVMbKM','2007420CaGhkg','63IXAjMq','blocklistExceptions','isPathInCurrentWorkingDirectory','344707ntklSt','467336sRcNnn','595xuTMuI','PatternsBlocklistManager','276015EgZMXN','defineProperty','../util/utils','blocklist','1090439qfnURB','matches','stripCurrentWorkingDirectory','2sFjSCD','12wNKZWE','toString','./blocklisting-patterns','BlocklistingPatterns','shouldBlock','117kIivHG','apply','config','968980gKFyoe','__esModule'];a3_0x514c=function(){return _0x10501a;};return a3_0x514c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x239361=a4_0x4b6b;(function(_0x48117f,_0x21fae1){const _0x51508b=a4_0x4b6b,_0x166f1e=_0x48117f();while(!![]){try{const _0x25b408=-parseInt(_0x51508b(0x1b0))/0x1+parseInt(_0x51508b(0x19d))/0x2*(parseInt(_0x51508b(0x191))/0x3)+-parseInt(_0x51508b(0x18e))/0x4*(parseInt(_0x51508b(0x1b8))/0x5)+parseInt(_0x51508b(0x18f))/0x6*(parseInt(_0x51508b(0x1a5))/0x7)+-parseInt(_0x51508b(0x1aa))/0x8+parseInt(_0x51508b(0x1b1))/0x9*(-parseInt(_0x51508b(0x1b4))/0xa)+-parseInt(_0x51508b(0x193))/0xb*(-parseInt(_0x51508b(0x1a4))/0xc);if(_0x25b408===_0x21fae1)break;else _0x166f1e['push'](_0x166f1e['shift']());}catch(_0x2de89c){_0x166f1e['push'](_0x166f1e['shift']());}}}(a4_0x5e59,0x730ef));const a4_0xac8a37=(function(){let _0x229551=!![];return function(_0x59228d,_0x5041df){const _0x5b25c2=_0x229551?function(){const _0x4bb4eb=a4_0x4b6b;if(_0x5041df){const _0x4c2606=_0x5041df[_0x4bb4eb(0x1a7)](_0x59228d,arguments);return _0x5041df=null,_0x4c2606;}}:function(){};return _0x229551=![],_0x5b25c2;};}()),a4_0x5cfb1c=a4_0xac8a37(this,function(){const _0x19f726=a4_0x4b6b;return a4_0x5cfb1c[_0x19f726(0x1a6)]()[_0x19f726(0x1b7)](_0x19f726(0x1af))[_0x19f726(0x1a6)]()[_0x19f726(0x190)](a4_0x5cfb1c)[_0x19f726(0x1b7)](_0x19f726(0x1af));});a4_0x5cfb1c();'use strict';function a4_0x5e59(){const _0x378b48=['search','220gkbMUk','cwd','length','none','Agent\x20Configuration:\x20','oneOf','yup','error','number','44260MnaftT','18KHdqWu','constructor','123AHNzzG','object','77dqCiSn','defaultConfig','.js',',\x20\x20\x20the\x20file\x20','tmpdir','exists','agentConfigFile','array','lightrunSecret','set','13074nMowOE','defineProperty','configSchema','not\x20set!','logMainConfigParams','shape','existsSync','2436960WzhAAT','574721dUmTUL','toString','apply','DOESN\x27T\x20EXIST','app.lightrun.com','5076368EWVGeV','boolean','errors','debug','warn','(((.+)+)+)+$','29621XNcohl','141111RFTJSu','string','info','200kVzOLS','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12'];a4_0x5e59=function(){return _0x378b48;};return a4_0x5e59();}Object[a4_0x239361(0x19e)](exports,'__esModule',{'value':!![]}),exports['logMainConfigParams']=exports[a4_0x239361(0x194)]=exports[a4_0x239361(0x19f)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x239361(0x18b));exports[a4_0x239361(0x19f)]=(0x0,yup_1[a4_0x239361(0x192)])()[a4_0x239361(0x1a2)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x239361(0x18d)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x239361(0x18d)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1['number'])(),'capture':(0x0,yup_1['object'])()[a4_0x239361(0x1a2)]({'includeNodeModules':(0x0,yup_1[a4_0x239361(0x1ab)])(),'maxFrames':(0x0,yup_1[a4_0x239361(0x18d)])(),'maxExpandFrames':(0x0,yup_1[a4_0x239361(0x18d)])(),'maxProperties':(0x0,yup_1['number'])(),'maxVariableDepth':(0x0,yup_1[a4_0x239361(0x18d)])(),'maxWatchProperties':(0x0,yup_1[a4_0x239361(0x18d)])(),'maxDataSize':(0x0,yup_1['number'])(),'maxStringLength':(0x0,yup_1[a4_0x239361(0x18d)])(),'maxVariableSize':(0x0,yup_1[a4_0x239361(0x18d)])(),'maxWatchListVariableSize':(0x0,yup_1['number'])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x239361(0x18d)])()}),'internal':(0x0,yup_1['object'])()['shape']({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x239361(0x18d)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x239361(0x18d)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x239361(0x1ab)])(),'testMode_':(0x0,yup_1[a4_0x239361(0x1ab)])(),'apiEndpoint':(0x0,yup_1[a4_0x239361(0x1b2)])(),'lightrunSecret':(0x0,yup_1[a4_0x239361(0x1b2)])(),'agentLog':(0x0,yup_1['object'])()[a4_0x239361(0x1a2)]({'agentLogTargetDir':(0x0,yup_1['string'])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x239361(0x18d)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x239361(0x18d)])(),'agentLogLevel':(0x0,yup_1['string'])()[a4_0x239361(0x18a)](['debug',a4_0x239361(0x1b3),a4_0x239361(0x1ae),a4_0x239361(0x18c)]),'stdErrThreshold':(0x0,yup_1[a4_0x239361(0x1b2)])()[a4_0x239361(0x18a)]([a4_0x239361(0x1ad),a4_0x239361(0x1b3),a4_0x239361(0x1ae),a4_0x239361(0x18c),a4_0x239361(0x1bb)]),'collectCooldownMs':(0x0,yup_1[a4_0x239361(0x18d)])(),'maxLogFileBytes':(0x0,yup_1[a4_0x239361(0x18d)])()}),'pinnedCerts':(0x0,yup_1[a4_0x239361(0x19a)])()['of']((0x0,yup_1[a4_0x239361(0x1b2)])()),'noCheckCertificate':(0x0,yup_1['boolean'])(),'caPath':(0x0,yup_1[a4_0x239361(0x1b2)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x239361(0x18d)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x239361(0x18d)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1['number'])(),'quota':(0x0,yup_1[a4_0x239361(0x192)])()['shape']({'maxConditionCost':(0x0,yup_1[a4_0x239361(0x18d)])(),'maxCPUCost':(0x0,yup_1[a4_0x239361(0x18d)])(),'maxDynamicLogRate':(0x0,yup_1['number'])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x239361(0x18d)])(),'ignoreQuota':(0x0,yup_1[a4_0x239361(0x1ab)])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x239361(0x18d)])()}),'agentConfigFile':(0x0,yup_1[a4_0x239361(0x1b2)])(),'fetchBreakpointsOnce':(0x0,yup_1['boolean'])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x239361(0x18d)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x239361(0x1ab)])(),'lightrunInitWaitTimeMs':(0x0,yup_1['number'])(),'extraPaths':(0x0,yup_1[a4_0x239361(0x19a)])()['of']((0x0,yup_1[a4_0x239361(0x1b2)])()),'redactionEnabled':(0x0,yup_1['boolean'])(),'proxy':(0x0,yup_1[a4_0x239361(0x192)])()[a4_0x239361(0x1a2)]({'host':(0x0,yup_1[a4_0x239361(0x1b2)])(),'port':(0x0,yup_1[a4_0x239361(0x18d)])(),'username':(0x0,yup_1['string'])(),'password':(0x0,yup_1[a4_0x239361(0x1b2)])()})}),exports[a4_0x239361(0x194)]={'workingDirectory':process[a4_0x239361(0x1b9)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x239361(0x195)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x14,'maxWatchProperties':0x400,'maxVariableDepth':0x32,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x8000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x239361(0x1a9),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x239361(0x197)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':'info','stdErrThreshold':a4_0x239361(0x1bb),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':['515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2',a4_0x239361(0x1b6)],'noCheckCertificate':![],'caPath':a4_0x239361(0x1b5),'metadata':{'registration':{'tags':['Production']}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':'agent.config','resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x128761,_0x1c0bc4)=>{const _0x2b5ef2=a4_0x239361,_0x59de75=Object['values'](_0x128761?.[_0x2b5ef2(0x1ac)]??[]);_0x59de75[_0x2b5ef2(0x1ba)]&&_0x59de75['forEach'](_0x194030=>{const _0x21fc27=_0x2b5ef2;_0x1c0bc4[_0x21fc27(0x18c)](_0x194030);});};function logMainConfigParams(_0x1625a7,_0x19d479){const _0x420b2a=a4_0x239361;let _0x3a550e=_0x1625a7['agentConfigFile'];_0x3a550e?_0x3a550e+=_0x420b2a(0x196)+((0x0,fs_1[_0x420b2a(0x1a3)])(_0x1625a7[_0x420b2a(0x199)])?_0x420b2a(0x198):_0x420b2a(0x1a8)):_0x3a550e=_0x420b2a(0x1a0);const _0xb1cf07={..._0x1625a7,'lightrunSecret':_0x1625a7[_0x420b2a(0x19b)]?_0x420b2a(0x19c):'!!!\x20NOT\x20SET\x20!!!','agentConfigFile':_0x3a550e};_0x19d479[_0x420b2a(0x1ad)](_0x420b2a(0x189),_0xb1cf07),logConfigErrors(_0x1625a7,_0x19d479);}function a4_0x4b6b(_0x46099b,_0x22600d){const _0x4612cd=a4_0x5e59();return a4_0x4b6b=function(_0x5cfb1c,_0xac8a37){_0x5cfb1c=_0x5cfb1c-0x189;let _0x5e59cf=_0x4612cd[_0x5cfb1c];return _0x5e59cf;},a4_0x4b6b(_0x46099b,_0x22600d);}exports[a4_0x239361(0x1a1)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a5_0x2d59(){var _0x1b9b12=['2211559AcCreR','capture','640161klaqOZ','3vyNOXh','resolvedDebugAgentConfig','toString','ConfigurationProvider','588832ldVgFY','constructor','2573840ryTcyX','maxWatchListVariableSize','defineProperty','8yWafsm','228ysAejq','29025JBcZPm','457292EYxisf','__esModule','maxSnapshotBufferSize','(((.+)+)+)+$','maxProperties','getMaxProperties','search','132722iFwNAw','maxVariableSize','getMaxVariableSize','getMaxSnapshotBufferSize','maxStringLength'];a5_0x2d59=function(){return _0x1b9b12;};return a5_0x2d59();}var a5_0x42dc54=a5_0x4463;(function(_0x5bc17d,_0x2fa867){var _0x24c31b=a5_0x4463,_0x3aa95b=_0x5bc17d();while(!![]){try{var _0x474531=parseInt(_0x24c31b(0x142))/0x1+parseInt(_0x24c31b(0x14e))/0x2*(-parseInt(_0x24c31b(0x14a))/0x3)+parseInt(_0x24c31b(0x13b))/0x4+-parseInt(_0x24c31b(0x13a))/0x5*(-parseInt(_0x24c31b(0x154))/0x6)+parseInt(_0x24c31b(0x147))/0x7*(parseInt(_0x24c31b(0x153))/0x8)+-parseInt(_0x24c31b(0x149))/0x9+-parseInt(_0x24c31b(0x150))/0xa;if(_0x474531===_0x2fa867)break;else _0x3aa95b['push'](_0x3aa95b['shift']());}catch(_0x1cf513){_0x3aa95b['push'](_0x3aa95b['shift']());}}}(a5_0x2d59,0x27383));var a5_0x2333fc=(function(){var _0x24625f=!![];return function(_0x1ece48,_0x5ed4b6){var _0x5876cc=_0x24625f?function(){if(_0x5ed4b6){var _0x8c7ce=_0x5ed4b6['apply'](_0x1ece48,arguments);return _0x5ed4b6=null,_0x8c7ce;}}:function(){};return _0x24625f=![],_0x5876cc;};}()),a5_0x45d170=a5_0x2333fc(this,function(){var _0x224ee6=a5_0x4463;return a5_0x45d170[_0x224ee6(0x14c)]()[_0x224ee6(0x141)](_0x224ee6(0x13e))[_0x224ee6(0x14c)]()[_0x224ee6(0x14f)](a5_0x45d170)[_0x224ee6(0x141)](_0x224ee6(0x13e));});a5_0x45d170();'use strict';function a5_0x4463(_0x5e244b,_0x309744){var _0x3a91d0=a5_0x2d59();return a5_0x4463=function(_0x45d170,_0x2333fc){_0x45d170=_0x45d170-0x13a;var _0x2d594c=_0x3a91d0[_0x45d170];return _0x2d594c;},a5_0x4463(_0x5e244b,_0x309744);}Object[a5_0x42dc54(0x152)](exports,a5_0x42dc54(0x13c),{'value':!![]}),exports[a5_0x42dc54(0x14d)]=void 0x0;class ConfigurationProvider{constructor(_0x44e5f9){this['resolvedDebugAgentConfig']=_0x44e5f9;}[a5_0x42dc54(0x144)](){var _0x5864ae=a5_0x42dc54;return this[_0x5864ae(0x14b)]['capture'][_0x5864ae(0x146)]||this[_0x5864ae(0x14b)][_0x5864ae(0x148)][_0x5864ae(0x143)];}['getMaxWatchListVariableSize'](){var _0x3434b3=a5_0x42dc54;return this['resolvedDebugAgentConfig'][_0x3434b3(0x148)][_0x3434b3(0x151)];}[a5_0x42dc54(0x145)](){var _0xd17289=a5_0x42dc54;return this['resolvedDebugAgentConfig']['capture']['maxDataSize']||this[_0xd17289(0x14b)]['capture'][_0xd17289(0x13d)];}[a5_0x42dc54(0x140)](_0x5bd93a){var _0x45dd66=a5_0x42dc54;return _0x5bd93a?this[_0x45dd66(0x14b)][_0x45dd66(0x148)]['maxWatchProperties']:this[_0x45dd66(0x14b)]['capture'][_0x45dd66(0x13f)];}}exports[a5_0x42dc54(0x14d)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x38dfb2=a6_0x23ed;(function(_0x28fdc9,_0x3b4ee5){const _0xe3f4f7=a6_0x23ed,_0x37109b=_0x28fdc9();while(!![]){try{const _0x5246a1=parseInt(_0xe3f4f7(0x1cd))/0x1+parseInt(_0xe3f4f7(0x1b4))/0x2+parseInt(_0xe3f4f7(0x1ba))/0x3*(parseInt(_0xe3f4f7(0x1bc))/0x4)+parseInt(_0xe3f4f7(0x1c0))/0x5*(-parseInt(_0xe3f4f7(0x186))/0x6)+-parseInt(_0xe3f4f7(0x195))/0x7+parseInt(_0xe3f4f7(0x159))/0x8+-parseInt(_0xe3f4f7(0x1a4))/0x9;if(_0x5246a1===_0x3b4ee5)break;else _0x37109b['push'](_0x37109b['shift']());}catch(_0x35ff2e){_0x37109b['push'](_0x37109b['shift']());}}}(a6_0x38c1,0xc4168));const a6_0x2676b0=(function(){let _0x3f0272=!![];return function(_0x214d91,_0x4f0829){const _0x4870ab=_0x3f0272?function(){const _0xc64eb0=a6_0x23ed;if(_0x4f0829){const _0x245405=_0x4f0829[_0xc64eb0(0x1cc)](_0x214d91,arguments);return _0x4f0829=null,_0x245405;}}:function(){};return _0x3f0272=![],_0x4870ab;};}()),a6_0x51c78b=a6_0x2676b0(this,function(){const _0x4bdd93=a6_0x23ed;return a6_0x51c78b[_0x4bdd93(0x1b5)]()[_0x4bdd93(0x196)](_0x4bdd93(0x1d0))[_0x4bdd93(0x1b5)]()[_0x4bdd93(0x19a)](a6_0x51c78b)[_0x4bdd93(0x196)](_0x4bdd93(0x1d0));});function a6_0x23ed(_0x538192,_0x16b78d){const _0x3f1da8=a6_0x38c1();return a6_0x23ed=function(_0x51c78b,_0x2676b0){_0x51c78b=_0x51c78b-0x158;let _0x38c1e7=_0x3f1da8[_0x51c78b];return _0x38c1e7;},a6_0x23ed(_0x538192,_0x16b78d);}a6_0x51c78b();'use strict';Object[a6_0x38dfb2(0x188)](exports,a6_0x38dfb2(0x177),{'value':!![]}),exports[a6_0x38dfb2(0x179)]=void 0x0;const common_1=require(a6_0x38dfb2(0x1ae)),assert=require(a6_0x38dfb2(0x19f)),qs=require(a6_0x38dfb2(0x1c7)),fs_1=require('fs'),crypto_1=require(a6_0x38dfb2(0x1e5)),zlib_1=require(a6_0x38dfb2(0x197)),stream_1=require(a6_0x38dfb2(0x1b2)),memory_streams_1=require('memory-streams'),tls_1=require('tls'),extend=require('extend'),axios_1=require(a6_0x38dfb2(0x166)),https=require(a6_0x38dfb2(0x198)),utils_1=require(a6_0x38dfb2(0x1ab)),HttpsProxyAgent=require(a6_0x38dfb2(0x17c)),yaml=require(a6_0x38dfb2(0x1bf)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x38dfb2(0x1cf)]{constructor(_0x5ca756,_0x1e824f,_0x8fd1cc){const _0x1ba578=a6_0x38dfb2;super({'parent':_0x5ca756,'baseUrl':'/controller'}),this[_0x1ba578(0x1b6)]=null,this[_0x1ba578(0x172)]=_0x1e824f,this[_0x1ba578(0x189)]=[],this[_0x1ba578(0x18c)]=_0x8fd1cc,this[_0x1ba578(0x1a5)]='https://'+_0x1e824f['apiEndpoint']+_0x1ba578(0x17a),this[_0x1ba578(0x166)]=axios_1[_0x1ba578(0x1d2)]['create']({'httpsAgent':getProxyAgent(_0x1e824f,_0x8fd1cc)??new https['Agent'](getHttpsAgentOptions(_0x1e824f,_0x8fd1cc)),'proxy':![]});}['register'](_0x2fb964,_0x34fd7e){const _0x9b63ef=a6_0x38dfb2,_0x4da7f5={'uri':this[_0x9b63ef(0x1a5)]+_0x9b63ef(0x1eb),'method':_0x9b63ef(0x1c4),'json':!![],'body':{'debuggee':_0x2fb964}};this[_0x9b63ef(0x1ec)](_0x4da7f5,(_0x30e884,_0x4996e6,_0x4a3c30)=>{const _0x337033=_0x9b63ef;if(!_0x4a3c30)_0x34fd7e(_0x30e884||new Error(_0x337033(0x181)));else{if(_0x30e884){let _0x116b3e=![];_0x4a3c30[_0x337033(0x15e)]===HTTP_UPGRADE_REQUIRED&&_0x4996e6&&(_0x4996e6[_0x337033(0x191)]!==undefined&&(_0x30e884[_0x337033(0x191)]=_0x4996e6['message']),_0x2fb964['id']=_0x4996e6[_0x337033(0x1aa)]['id'],_0x116b3e=!![]),_0x34fd7e(_0x30e884,_0x4996e6,_0x116b3e);}else{if(_0x4a3c30['status']!==HTTP_SUCCESS)_0x34fd7e(new Error(_0x337033(0x1b7)+_0x4a3c30['status']));else!_0x4996e6?.[_0x337033(0x1aa)]?_0x34fd7e(new Error(_0x337033(0x1be))):(_0x2fb964['id']=_0x4996e6['debuggee']['id'],_0x34fd7e(null,_0x4996e6));}}});}[a6_0x38dfb2(0x1e7)](_0x5982d9,_0x17807a,_0x227bd8){const _0x4e2ae2=a6_0x38dfb2,_0x3734c9=this;assert(_0x5982d9['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x255d13={'successOnTimeout':!![]};_0x3734c9[_0x4e2ae2(0x1b6)]&&(_0x255d13['waitToken']=_0x3734c9[_0x4e2ae2(0x1b6)]);const _0x5e0d03=this[_0x4e2ae2(0x1a5)]+encodeURIComponent(_0x5982d9['id'])+_0x4e2ae2(0x173)+qs[_0x4e2ae2(0x168)](_0x255d13);_0x3734c9[_0x4e2ae2(0x1ec)]({'uri':_0x5e0d03,'json':!![]},(_0x5e388b,_0x53c60c,_0x518cde)=>{const _0x76e316=_0x4e2ae2;if(!_0x518cde){_0x17807a(_0x5e388b||new Error(_0x76e316(0x181)));return;}else{if(!is2xx(_0x518cde['status'])){_0x17807a(new Error(_0x76e316(0x1a9)+_0x518cde[_0x76e316(0x15e)]),_0x518cde);return;}else _0x53c60c&&(_0x3734c9[_0x76e316(0x1b6)]=_0x53c60c['nextWaitToken']),_0x17807a(null,_0x518cde,_0x53c60c);}},_0x227bd8);}[a6_0x38dfb2(0x1bd)](_0x372f10,_0x3ae674){const _0x5dece8=a6_0x38dfb2;assert(_0x372f10['id'],_0x5dece8(0x1e8));try{const _0x27cff6=JSON[_0x5dece8(0x168)](_0x3ae674),_0x195a89=(0x0,utils_1[_0x5dece8(0x1b1)])(_0x27cff6);if(_0x195a89>=this[_0x5dece8(0x172)]['transmissionHardMaxNetworkSizeLimitInBytes']){this['logger'][_0x5dece8(0x1a7)](_0x5dece8(0x1d7)+_0x3ae674['id']+'\x20size\x20is\x20'+_0x195a89+_0x5dece8(0x1c6)+this['config'][_0x5dece8(0x1c2)]);return;}this[_0x5dece8(0x189)]['push']({'id':_0x3ae674['id'],'serializedJson':_0x27cff6,'number':0x0});if(!this[_0x5dece8(0x184)]){const _0x5dcea5=this;this['transmissionTimeout']=setTimeout(()=>_0x5dcea5['transmitBreakpointUpdates'][_0x5dece8(0x1cb)](_0x5dcea5)(_0x372f10['id']),0x0);}}catch(_0x1d4212){this[_0x5dece8(0x18c)][_0x5dece8(0x1e0)](_0x5dece8(0x1d3)+_0x3ae674['id']+'\x20and\x20enqueue\x20to\x20queue',_0x1d4212);return;}}[a6_0x38dfb2(0x1a1)](){const _0x389917=a6_0x38dfb2;if(!this[_0x389917(0x184)])return;clearTimeout(this['transmissionTimeout']),this[_0x389917(0x184)]=null;}[a6_0x38dfb2(0x19b)](_0x53b192,_0x25789e){const _0x3d0419=a6_0x38dfb2,_0x56a847=this[_0x3d0419(0x1a5)]+encodeURIComponent(_0x53b192['id'])+_0x3d0419(0x16c),_0x680590={'uri':_0x56a847,'method':'POST','json':!![]};this[_0x3d0419(0x18c)][_0x3d0419(0x187)](_0x3d0419(0x16f)),this[_0x3d0419(0x1ec)](_0x680590,(_0x29f722,_0x5b18d5,_0x463397)=>{const _0x16bc22=_0x3d0419;(!_0x463397||Math['floor'](_0x463397['status']/0x64)!==0x2)&&this[_0x16bc22(0x18c)][_0x16bc22(0x1a7)](_0x16bc22(0x1ad)+_0x29f722),_0x25789e(_0x29f722);});}[a6_0x38dfb2(0x1c8)](_0x859313,_0x6b56f6,_0x121d3b){const _0x4ff70b=a6_0x38dfb2,_0x1d83ca=this['apiUrl']+encodeURIComponent(_0x859313['id'])+_0x4ff70b(0x18d),_0xe479d0={'uri':_0x1d83ca,'method':_0x4ff70b(0x1c4),'json':!![],'body':_0x6b56f6};this['makeRequest'](_0xe479d0,(_0x224aa5,_0x20c30d,_0x237ba7)=>{const _0x197e31=_0x4ff70b;(!_0x237ba7||Math[_0x197e31(0x1a6)](_0x237ba7['status']/0x64)!==0x2)&&(this[_0x197e31(0x18c)][_0x197e31(0x1a7)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x224aa5),_0x121d3b(_0x224aa5));});}[a6_0x38dfb2(0x160)](_0x102b17,_0xf7dbbd,_0x556a6f){const _0x2dac68=a6_0x38dfb2,_0x580c2f=this['apiUrl']+encodeURIComponent(_0x102b17['id'])+_0x2dac68(0x180),_0x5820e8={'uri':_0x580c2f,'method':_0x2dac68(0x1c4),'json':!![],'body':_0xf7dbbd};this[_0x2dac68(0x1ec)](_0x5820e8,(_0x1bc3a9,_0x4f4a97,_0x365424)=>{const _0x7959d8=_0x2dac68;(!_0x365424||Math['floor'](_0x365424[_0x7959d8(0x15e)]/0x64)!==0x2)&&(this[_0x7959d8(0x18c)][_0x7959d8(0x1a7)](_0x7959d8(0x17d)+_0x1bc3a9),_0x556a6f(_0x1bc3a9));});}[a6_0x38dfb2(0x1e4)](_0x3c7ad3,_0x5d0a51,_0x584aa3){const _0xe901f6=a6_0x38dfb2;assert(_0x3c7ad3['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this['lastLogCollectionTime']){const _0x11a8d6=Date[_0xe901f6(0x182)](),_0x207c81=this[_0xe901f6(0x1ac)]+this['config'][_0xe901f6(0x19d)]['collectCooldownMs'];if(_0x11a8d6<_0x207c81){this['logger'][_0xe901f6(0x187)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x207c81-_0x11a8d6)/0x3e8+'\x20seconds'));return;}}const _0x3a5b5d=(0x0,fs_1[_0xe901f6(0x18a)])(_0x584aa3)[_0xe901f6(0x175)],_0x16d508=Math[_0xe901f6(0x174)](0x0,_0x3a5b5d-this[_0xe901f6(0x172)][_0xe901f6(0x19d)][_0xe901f6(0x1ea)]),_0x597fbd=(0x0,fs_1[_0xe901f6(0x170)])(_0x584aa3,{'start':_0x16d508}),_0x336a1c=(0x0,zlib_1[_0xe901f6(0x1dd)])(),_0x4fd616=new memory_streams_1['WritableStream'](),_0x599299=this;_0x599299[_0xe901f6(0x18c)][_0xe901f6(0x187)](_0xe901f6(0x15b)+_0x584aa3+_0xe901f6(0x1ee)+_0x5d0a51),(0x0,stream_1[_0xe901f6(0x178)])(_0x597fbd,_0x336a1c,_0x4fd616,_0x4d3e35=>{const _0x402bca=_0xe901f6;if(_0x4d3e35)_0x599299[_0x402bca(0x18c)][_0x402bca(0x1e0)]('Failed\x20to\x20zip\x20'+_0x584aa3+':\x20'+_0x4d3e35);else{const _0x347afb={'uri':this['apiUrl']+encodeURIComponent(_0x3c7ad3['id'])+_0x402bca(0x1b8)+_0x5d0a51,'method':_0x402bca(0x171),'body':_0x4fd616[_0x402bca(0x1e2)]()};_0x599299[_0x402bca(0x1ec)](_0x347afb,_0x5a199b=>{const _0x42d982=_0x402bca;_0x5a199b?_0x599299[_0x42d982(0x18c)][_0x42d982(0x1e0)](_0x42d982(0x1d1)+_0x584aa3+_0x42d982(0x169)+_0x5d0a51,_0x5a199b):(_0x599299[_0x42d982(0x18c)][_0x42d982(0x187)]('Successfully\x20sent\x20log\x20file\x20'+_0x584aa3+'\x20for\x20request\x20'+_0x5d0a51),_0x599299[_0x42d982(0x1ac)]=Date[_0x42d982(0x182)]());});}});}[a6_0x38dfb2(0x18e)](_0x42d0a9){const _0x41fd59=a6_0x38dfb2;this[_0x41fd59(0x18c)][_0x41fd59(0x158)](_0x41fd59(0x15d)),this['transmissionTimeout']=undefined;const _0x1833ad=[];let _0x46276b=0x0;while(_0x1833ad[_0x41fd59(0x192)]<this['config'][_0x41fd59(0x1a2)]&&this[_0x41fd59(0x189)][_0x41fd59(0x192)]>0x0){const _0x24ebfb=this[_0x41fd59(0x189)][0x0],_0x2e13d2=_0x24ebfb[_0x41fd59(0x1ce)],_0x1164bf=(0x0,utils_1[_0x41fd59(0x1b1)])(_0x2e13d2);_0x46276b+=_0x1164bf;if(_0x46276b<=this['config'][_0x41fd59(0x1de)])_0x1833ad[_0x41fd59(0x165)](_0x24ebfb),this[_0x41fd59(0x189)]['shift']();else{_0x1164bf>this[_0x41fd59(0x172)][_0x41fd59(0x1de)]&&_0x1833ad['length']===0x0&&(this[_0x41fd59(0x18c)][_0x41fd59(0x158)]('breakpoint\x20'+_0x24ebfb['id']+_0x41fd59(0x1b0)+this[_0x41fd59(0x172)][_0x41fd59(0x1de)]+',\x20sending\x20only\x20one'),_0x1833ad[_0x41fd59(0x165)](_0x24ebfb),this[_0x41fd59(0x189)][_0x41fd59(0x1ef)]());break;}}if(!_0x1833ad)return;const _0x3f8e34=_0x1833ad[_0x41fd59(0x161)](_0x1caf43=>_0x1caf43['id']),_0x5a6fd2={'uri':this[_0x41fd59(0x1a5)]+encodeURIComponent(_0x42d0a9)+_0x41fd59(0x1e9),'json':!![],'method':_0x41fd59(0x171),'body':'['+_0x1833ad[_0x41fd59(0x161)](_0x489269=>_0x489269[_0x41fd59(0x1ce)])[_0x41fd59(0x1a8)](',')+']'},_0x38b6ca=this;try{this[_0x41fd59(0x1ec)](_0x5a6fd2,(_0x1bf1e3,_0x143516,_0x454e52)=>{const _0x148d18=_0x41fd59,_0x808ece=_0x454e52?.['status'];_0x38b6ca[_0x148d18(0x18c)][_0x148d18(0x158)](_0x148d18(0x1ed)+_0x3f8e34+_0x148d18(0x176)+_0x808ece);if(_0x1bf1e3||!_0x808ece||Math[_0x148d18(0x1a6)](_0x808ece/0x64)!==0x2){const _0x5c11aa=_0x808ece&&(_0x808ece>=0x1f4||_0x808ece===0x198);if(_0x5c11aa){_0x38b6ca[_0x148d18(0x18c)][_0x148d18(0x1a7)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x3f8e34+_0x148d18(0x18f)+_0x808ece+'\x20Error:\x20'+_0x1bf1e3);for(const _0x589acc of _0x1833ad){_0x589acc['number']<MAX_FAILED_SEND_ATTEMPTS?_0x38b6ca['transmissionQueue']['push']({..._0x589acc,'number':_0x589acc['number']+0x1}):_0x38b6ca[_0x148d18(0x18c)][_0x148d18(0x1a7)](_0x148d18(0x16d)+_0x589acc['id']+_0x148d18(0x17b));}}else _0x38b6ca[_0x148d18(0x18c)][_0x148d18(0x1a7)](_0x148d18(0x1c9)+_0x3f8e34+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x808ece+'\x20Error:\x20'+_0x1bf1e3);}else _0x38b6ca[_0x148d18(0x18c)][_0x148d18(0x187)](_0x148d18(0x1ed)+_0x3f8e34+_0x148d18(0x190));_0x38b6ca[_0x148d18(0x189)]['length']>0x0&&(_0x38b6ca[_0x148d18(0x184)]=setTimeout(()=>_0x38b6ca[_0x148d18(0x18e)]['bind'](_0x38b6ca)(_0x42d0a9),0x0));},0x28);}catch(_0x22701a){this[_0x41fd59(0x18c)][_0x41fd59(0x1a7)](_0x41fd59(0x1c9)+_0x3f8e34+_0x41fd59(0x162)+_0x22701a+_0x41fd59(0x1e6)+_0x22701a[_0x41fd59(0x1c3)]?.['message']),_0x38b6ca['transmissionQueue']['length']>0x0&&(_0x38b6ca['transmissionTimeout']=setTimeout(()=>_0x38b6ca[_0x41fd59(0x18e)][_0x41fd59(0x1cb)](_0x38b6ca)(_0x42d0a9),0x0));}}async[a6_0x38dfb2(0x1f0)](_0x3db278){const _0x50025e=a6_0x38dfb2;this[_0x50025e(0x18c)][_0x50025e(0x187)](_0x50025e(0x1f1));const _0x1fdc31=this['apiUrl']+encodeURIComponent(_0x3db278)+_0x50025e(0x193),{error:_0x3bc78b,data:_0x28d7e1}=await this[_0x50025e(0x1ec)]({'uri':_0x1fdc31,'json':!![]});if(_0x3bc78b)return Promise['reject'](_0x3bc78b);return yaml[_0x50025e(0x1da)](_0x28d7e1)||{};}['makeRequest'](_0x5f464e,_0x12c90d,_0x19ee52,_0x30eeca){const _0x1d0a47=a6_0x38dfb2,_0x45a015={'Content-Type':_0x30eeca?_0x30eeca:_0x1d0a47(0x1a0),'Authorization':_0x1d0a47(0x1dc)+this[_0x1d0a47(0x172)][_0x1d0a47(0x17e)]},_0x21740f=axios_1[_0x1d0a47(0x1d2)][_0x1d0a47(0x17f)][_0x1d0a47(0x15f)](),_0xa744e4=_0x19ee52?_0x19ee52*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x1d0a47(0x18c)]['debug']('timeout\x20set\x20to\x20'+_0xa744e4);const _0x1c5774=setTimeout(()=>{const _0x54142e=_0x1d0a47;this[_0x54142e(0x18c)][_0x54142e(0x1a7)](_0x54142e(0x1b3)+_0xa744e4+'ms'),_0x21740f['cancel']();},_0xa744e4),_0x18b153={'method':_0x5f464e['method'],'url':_0x5f464e[_0x1d0a47(0x1df)],'data':_0x5f464e[_0x1d0a47(0x167)],'headers':_0x45a015,'cancelToken':_0x21740f[_0x1d0a47(0x18b)]};return extend(!![],_0x18b153,_0x5f464e),this[_0x1d0a47(0x166)][_0x1d0a47(0x1d4)](_0x18b153)[_0x1d0a47(0x1a3)](_0x1e82e3=>{const _0xd64793=_0x1d0a47;return _0x12c90d?.(null,_0x1e82e3[_0xd64793(0x1c3)],_0x1e82e3),{'error':null,'data':_0x1e82e3['data'],'res':_0x1e82e3};})['catch'](_0x5150d5=>{const _0x11dbab=_0x1d0a47;return _0x12c90d?.(_0x5150d5,_0x5150d5['response']?.['data'],_0x5150d5[_0x11dbab(0x1bb)]),{'error':_0x5150d5,'data':_0x5150d5['response']?.[_0x11dbab(0x1c3)],'res':_0x5150d5[_0x11dbab(0x1bb)]};})[_0x1d0a47(0x1db)](()=>clearTimeout(_0x1c5774));}async[a6_0x38dfb2(0x19e)](_0x17eed4){const _0x34f5da=a6_0x38dfb2;this['logger'][_0x34f5da(0x187)]('Getting\x20reductions');const _0x162704=this[_0x34f5da(0x1a5)]+encodeURIComponent(_0x17eed4)+_0x34f5da(0x16e),{error:_0x2db204,data:_0x426e57}=await this[_0x34f5da(0x1ec)]({'uri':_0x162704,'json':!![]});if(_0x2db204)return Promise[_0x34f5da(0x15c)](_0x2db204);return _0x426e57;}}exports[a6_0x38dfb2(0x179)]=Controller;function a6_0x38c1(){const _0xc3e600=['breakpointId:\x20','port','proxy','load','finally','Bearer\x20','createGzip','transmissionBulkMaxNetworkSizeInBytes','uri','error','Using\x20proxy\x20configuration:\x20','toBuffer','update','sendAgentLogsToServer','crypto',',\x20Message:\x20','listBreakpoints','should\x20have\x20a\x20registered\x20debuggee','/breakpoints','maxLogFileBytes','register','makeRequest','Update\x20for\x20breakpoints\x20','\x20for\x20request\x20id\x20','shift','getBlocklist','Getting\x20blocklist','debug','5927336VLtJcL','addCACert','Compressing\x20and\x20sending\x20log\x20file\x20','reject','Transmitting\x20breakpoint\x20updates...','status','source','sendAppOnlyBreakpointHitsToServer','map','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','createHash','\x22\x20-\x20ignoring\x20it','push','axios','body','stringify','\x20for\x20request\x20','secureContext',',\x20username:\x20','/deregister/','Breakpoint\x20','/redaction','Deregister\x20agent\x20before\x20shutdown','createReadStream','PUT','config','/breakpoints?','max','size','\x20finished\x20with\x20status\x20','__esModule','pipeline','Controller','/debuggees/','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','https-proxy-agent','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','lightrunSecret','CancelToken','/appOnlyActionHits/','unknown\x20error\x20-\x20request\x20response\x20missing','now','digest','transmissionTimeout','createSecureContext','24dwWPAi','info','defineProperty','transmissionQueue','statSync','token','logger','/log/','transmitBreakpointUpdates','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','\x20transmitted\x20successfully','message','length','/blacklist?successOnTimeout=true','caPath','9923179MdPNgs','search','zlib','https','password','constructor','deregister','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','agentLog','getRedactions','assert','application/json','clearTransmissionTimeout','transmissionBulkMaxSize','then','2046159bvTAVv','apiUrl','floor','warn','join','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','debuggee','./util/utils','lastLogCollectionTime','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','@google-cloud/common','Failed\x20to\x20read\x20pem\x20file\x20\x22','\x20size\x20>\x20max\x20network\x20size\x20:\x20','getJsonStringSizeInBytes','stream','Timeout\x20occurred\x20after\x20','1390382RCHFWb','toString','nextWaitToken','unable\x20to\x20register,\x20status\x20','/compressedLogFile/','pubkey','3575259OLbdpC','response','4rZRHOX','enqueueBreakpointUpdate','invalid\x20response\x20body\x20from\x20server','js-yaml','1506700pzCWCg','callback','transmissionHardMaxNetworkSizeLimitInBytes','data','POST','host','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','querystring','sendBreakpointLogsToServer','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','hex','bind','apply','1025623WjihZW','serializedJson','ServiceObject','(((.+)+)+)+$','Failed\x20to\x20send\x20log\x20file\x20','default','failed\x20to\x20serialize\x20breakpoint\x20','request','Certificate\x20Pinning\x20Failed!','sha256'];a6_0x38c1=function(){return _0xc3e600;};return a6_0x38c1();}function is2xx(_0x223ba8){const _0x54483e=a6_0x38dfb2;return Math[_0x54483e(0x1a6)](_0x223ba8/0x64)===0x2;}function getProxyAgent(_0x4b586b,_0x4c4d6d){const _0xb27f5f=a6_0x38dfb2,_0x4cc331=_0x4b586b[_0xb27f5f(0x1d9)];if(!_0x4cc331?.[_0xb27f5f(0x1c5)])return undefined;if(!_0x4cc331[_0xb27f5f(0x1d8)])return _0x4c4d6d[_0xb27f5f(0x1e0)](_0xb27f5f(0x19c)),undefined;_0x4c4d6d['info'](_0xb27f5f(0x1e1)+_0x4cc331['host']+':'+_0x4cc331['port']+_0xb27f5f(0x16b)+(_0x4cc331['username']??''));const _0x3901be=new HttpsProxyAgent({'host':_0x4cc331[_0xb27f5f(0x1c5)],'port':_0x4cc331[_0xb27f5f(0x1d8)],'auth':_0x4cc331['username']||_0x4cc331['password']?(_0x4cc331['username']??'')+':'+(_0x4cc331[_0xb27f5f(0x199)]??''):undefined}),_0x16e14b=_0x3901be['callback']['bind'](_0x3901be),_0x3655a0=getHttpsAgentOptions(_0x4b586b,_0x4c4d6d);return _0x3901be[_0xb27f5f(0x1c1)]=(_0x434d7f,_0x53640a)=>{return _0x16e14b(_0x434d7f,{..._0x53640a,..._0x3655a0});},_0x3901be;}function getHttpsAgentOptions(_0x3ee72b,_0x4c7540){const _0x439d52=a6_0x38dfb2,_0x19b1e4={'checkServerIdentity':(_0x21fd1d,_0x1eee82)=>{const _0x107321=a6_0x23ed;if(_0x3ee72b['noCheckCertificate'])return undefined;const _0x404952=(0x0,crypto_1[_0x107321(0x163)])(_0x107321(0x1d6))[_0x107321(0x1e3)](_0x1eee82[_0x107321(0x1b9)])[_0x107321(0x183)](_0x107321(0x1ca));return _0x3ee72b['pinnedCerts']['includes'](_0x404952)?undefined:new Error(_0x107321(0x1d5));}};let _0x16c540;if(_0x3ee72b[_0x439d52(0x194)])try{_0x16c540=(0x0,fs_1['readFileSync'])(_0x3ee72b[_0x439d52(0x194)],'ascii');}catch(_0x3d8af6){_0x4c7540[_0x439d52(0x1a7)](_0x439d52(0x1af)+_0x3ee72b[_0x439d52(0x194)]+_0x439d52(0x164));}if(_0x16c540){const _0x55b845=(0x0,tls_1[_0x439d52(0x185)])(_0x19b1e4);_0x55b845['context'][_0x439d52(0x15a)](_0x16c540),_0x19b1e4[_0x439d52(0x16a)]=_0x55b845;}return _0x19b1e4;}
|
|
1
|
+
function a6_0x3a02(){const _0xc9e403=['clearTransmissionTimeout','Agent','bind','sendAgentLogsToServer','response','js-yaml','transmissionBulkMaxNetworkSizeInBytes','uri','https','transmissionHardMaxNetworkSizeLimitInBytes','makeRequest','source','/appOnlyActionHits/','(((.+)+)+)+$','pipeline','\x20size\x20>\x20max\x20network\x20size\x20:\x20','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','Update\x20for\x20breakpoints\x20','host','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','callback','application/json','status','caPath','addCACert','serializedJson','transmitBreakpointUpdates','./util/utils','constructor','shift',',\x20Message:\x20','collectCooldownMs','querystring','Controller','/breakpoints','axios','info','data','8172156pATzUu','error','debug','sendBreakpointLogsToServer','stringify','https-proxy-agent','toBuffer','now','/log/','enqueueBreakpointUpdate','88oRaEqJ','Timeout\x20occurred\x20after\x20','/redaction','Breakpoint\x20','debuggee','username','\x22\x20-\x20ignoring\x20it','Failed\x20to\x20zip\x20','length','update','deregister','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','failed\x20to\x20serialize\x20breakpoint\x20',',\x20sending\x20only\x20one','push','/deregister/','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','crypto','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','waitToken','invalid\x20response\x20body\x20from\x20server','Getting\x20blocklist','digest','transmissionBulkMaxSize','config',',\x20username:\x20','reject','unknown\x20error\x20-\x20request\x20response\x20missing','64803lxdTxc','Using\x20proxy\x20configuration:\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','logger','1118959bfCYaH','Certificate\x20Pinning\x20Failed!','/controller','/blacklist?successOnTimeout=true','21778432MHNHFN','getRedactions','agentLog','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','map','size','token','\x20size\x20is\x20','POST','transmissionTimeout','timeout\x20set\x20to\x20','ServiceObject','readFileSync','password','should\x20have\x20a\x20registered\x20debuggee','Failed\x20to\x20read\x20pem\x20file\x20\x22','6334490KkotTh','maxLogFileBytes','apiUrl','lastLogCollectionTime','\x20finished\x20with\x20status\x20','https://','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','createSecureContext','breakpointId:\x20','createHash','register','create','548436IMajnL','/breakpoints?','transmissionQueue','@google-cloud/common','method','stream','\x20for\x20request\x20','Failed\x20to\x20send\x20log\x20file\x20','Transmitting\x20breakpoint\x20updates...','/compressedLogFile/','assert','apply','CancelToken','floor','number','\x20Error:\x20','ascii','breakpoint\x20','unable\x20to\x20register,\x20status\x20','request','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Compressing\x20and\x20sending\x20log\x20file\x20','nextWaitToken','sha256','createGzip','memory-streams','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','Successfully\x20sent\x20log\x20file\x20','extend','max','search','context','warn','port','message','finally','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','default','includes','defineProperty','\x20seconds','WritableStream','createReadStream','5342820MvOVPV','PUT'];a6_0x3a02=function(){return _0xc9e403;};return a6_0x3a02();}const a6_0x5380f5=a6_0x5436;(function(_0x3322ac,_0x2e24c4){const _0x497a4f=a6_0x5436,_0x17627b=_0x3322ac();while(!![]){try{const _0x56072b=parseInt(_0x497a4f(0x167))/0x1+parseInt(_0x497a4f(0x147))/0x2*(-parseInt(_0x497a4f(0x163))/0x3)+-parseInt(_0x497a4f(0x187))/0x4+parseInt(_0x497a4f(0x17b))/0x5+parseInt(_0x497a4f(0x13d))/0x6+parseInt(_0x497a4f(0x1b3))/0x7+-parseInt(_0x497a4f(0x16b))/0x8;if(_0x56072b===_0x2e24c4)break;else _0x17627b['push'](_0x17627b['shift']());}catch(_0x190ee4){_0x17627b['push'](_0x17627b['shift']());}}}(a6_0x3a02,0xab366));const a6_0x58026d=(function(){let _0x3ba20f=!![];return function(_0x581de3,_0x4ea2c0){const _0x1f9b10=_0x3ba20f?function(){const _0xa18920=a6_0x5436;if(_0x4ea2c0){const _0x5eed90=_0x4ea2c0[_0xa18920(0x192)](_0x581de3,arguments);return _0x4ea2c0=null,_0x5eed90;}}:function(){};return _0x3ba20f=![],_0x1f9b10;};}()),a6_0x4061e5=a6_0x58026d(this,function(){const _0x3ca0f9=a6_0x5436;return a6_0x4061e5['toString']()[_0x3ca0f9(0x1a5)](_0x3ca0f9(0x124))['toString']()[_0x3ca0f9(0x133)](a6_0x4061e5)[_0x3ca0f9(0x1a5)](_0x3ca0f9(0x124));});a6_0x4061e5();function a6_0x5436(_0x35b164,_0x30ab72){const _0x903d77=a6_0x3a02();return a6_0x5436=function(_0x4061e5,_0x58026d){_0x4061e5=_0x4061e5-0x123;let _0x3a023b=_0x903d77[_0x4061e5];return _0x3a023b;},a6_0x5436(_0x35b164,_0x30ab72);}'use strict';Object[a6_0x5380f5(0x1af)](exports,'__esModule',{'value':!![]}),exports[a6_0x5380f5(0x138)]=void 0x0;const common_1=require(a6_0x5380f5(0x18a)),assert=require(a6_0x5380f5(0x191)),qs=require(a6_0x5380f5(0x137)),fs_1=require('fs'),crypto_1=require(a6_0x5380f5(0x158)),zlib_1=require('zlib'),stream_1=require(a6_0x5380f5(0x18c)),memory_streams_1=require(a6_0x5380f5(0x1a0)),tls_1=require('tls'),extend=require(a6_0x5380f5(0x1a3)),axios_1=require('axios'),https=require(a6_0x5380f5(0x1bd)),utils_1=require(a6_0x5380f5(0x132)),HttpsProxyAgent=require(a6_0x5380f5(0x142)),yaml=require(a6_0x5380f5(0x1ba)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x5380f5(0x176)]{constructor(_0x296815,_0x248bab,_0x395261){const _0x3fe7fa=a6_0x5380f5;super({'parent':_0x296815,'baseUrl':_0x3fe7fa(0x169)}),this['nextWaitToken']=null,this[_0x3fe7fa(0x15f)]=_0x248bab,this[_0x3fe7fa(0x189)]=[],this[_0x3fe7fa(0x166)]=_0x395261,this[_0x3fe7fa(0x17d)]=_0x3fe7fa(0x180)+_0x248bab['apiEndpoint']+'/debuggees/',this[_0x3fe7fa(0x13a)]=axios_1[_0x3fe7fa(0x1ad)][_0x3fe7fa(0x186)]({'httpsAgent':getProxyAgent(_0x248bab,_0x395261)??new https[(_0x3fe7fa(0x1b6))](getHttpsAgentOptions(_0x248bab,_0x395261)),'proxy':![]});}['register'](_0x378e15,_0x26cff1){const _0x2ed66b=a6_0x5380f5,_0x4bcb4e={'uri':this['apiUrl']+_0x2ed66b(0x185),'method':_0x2ed66b(0x173),'json':!![],'body':{'debuggee':_0x378e15}};this[_0x2ed66b(0x1bf)](_0x4bcb4e,(_0x3c0148,_0x37e58a,_0x2e1092)=>{const _0x32aa50=_0x2ed66b;if(!_0x2e1092)_0x26cff1(_0x3c0148||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x3c0148){let _0x1da257=![];_0x2e1092['status']===HTTP_UPGRADE_REQUIRED&&_0x37e58a&&(_0x37e58a[_0x32aa50(0x1a9)]!==undefined&&(_0x3c0148[_0x32aa50(0x1a9)]=_0x37e58a[_0x32aa50(0x1a9)]),_0x378e15['id']=_0x37e58a[_0x32aa50(0x14b)]['id'],_0x1da257=!![]),_0x26cff1(_0x3c0148,_0x37e58a,_0x1da257);}else{if(_0x2e1092['status']!==HTTP_SUCCESS)_0x26cff1(new Error(_0x32aa50(0x199)+_0x2e1092[_0x32aa50(0x12d)]));else!_0x37e58a?.[_0x32aa50(0x14b)]?_0x26cff1(new Error(_0x32aa50(0x15b))):(_0x378e15['id']=_0x37e58a[_0x32aa50(0x14b)]['id'],_0x26cff1(null,_0x37e58a));}}});}['listBreakpoints'](_0x5c59ce,_0x158508,_0x2c9e20){const _0xe41682=a6_0x5380f5,_0x5cc547=this;assert(_0x5c59ce['id'],_0xe41682(0x179));const _0x55d947={'successOnTimeout':!![]};_0x5cc547[_0xe41682(0x19d)]&&(_0x55d947[_0xe41682(0x15a)]=_0x5cc547[_0xe41682(0x19d)]);const _0x2ec7ac=this['apiUrl']+encodeURIComponent(_0x5c59ce['id'])+_0xe41682(0x188)+qs[_0xe41682(0x141)](_0x55d947);_0x5cc547['makeRequest']({'uri':_0x2ec7ac,'json':!![]},(_0x2a4153,_0x53fbb6,_0x143ef1)=>{const _0x53ae24=_0xe41682;if(!_0x143ef1){_0x158508(_0x2a4153||new Error(_0x53ae24(0x162)));return;}else{if(!is2xx(_0x143ef1[_0x53ae24(0x12d)])){_0x158508(new Error(_0x53ae24(0x1a1)+_0x143ef1[_0x53ae24(0x12d)]),_0x143ef1);return;}else _0x53fbb6&&(_0x5cc547['nextWaitToken']=_0x53fbb6[_0x53ae24(0x19d)]),_0x158508(null,_0x143ef1,_0x53fbb6);}},_0x2c9e20);}[a6_0x5380f5(0x146)](_0x15d936,_0x11c9e3){const _0x4ec991=a6_0x5380f5;assert(_0x15d936['id'],_0x4ec991(0x179));try{const _0xba932=JSON['stringify'](_0x11c9e3),_0x16b4ff=(0x0,utils_1['getJsonStringSizeInBytes'])(_0xba932);if(_0x16b4ff>=this[_0x4ec991(0x15f)]['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x4ec991(0x166)]['warn'](_0x4ec991(0x183)+_0x11c9e3['id']+_0x4ec991(0x172)+_0x16b4ff+_0x4ec991(0x16e)+this[_0x4ec991(0x15f)][_0x4ec991(0x1be)]);return;}this[_0x4ec991(0x189)][_0x4ec991(0x155)]({'id':_0x11c9e3['id'],'serializedJson':_0xba932,'number':0x0});if(!this[_0x4ec991(0x174)]){const _0x5aaead=this;this['transmissionTimeout']=setTimeout(()=>_0x5aaead[_0x4ec991(0x131)][_0x4ec991(0x1b7)](_0x5aaead)(_0x15d936['id']),0x0);}}catch(_0x3cf4c5){this[_0x4ec991(0x166)][_0x4ec991(0x13e)](_0x4ec991(0x153)+_0x11c9e3['id']+'\x20and\x20enqueue\x20to\x20queue',_0x3cf4c5);return;}}[a6_0x5380f5(0x1b5)](){const _0x448ef1=a6_0x5380f5;if(!this[_0x448ef1(0x174)])return;clearTimeout(this[_0x448ef1(0x174)]),this['transmissionTimeout']=null;}[a6_0x5380f5(0x151)](_0x18b247,_0x286628){const _0xc6f491=a6_0x5380f5,_0x1a0ad4=this['apiUrl']+encodeURIComponent(_0x18b247['id'])+_0xc6f491(0x156),_0x17ea80={'uri':_0x1a0ad4,'method':_0xc6f491(0x173),'json':!![]};this['logger'][_0xc6f491(0x13b)]('Deregister\x20agent\x20before\x20shutdown'),this['makeRequest'](_0x17ea80,(_0x109eb0,_0xf2c2dc,_0x34f058)=>{const _0x5d8954=_0xc6f491;(!_0x34f058||Math['floor'](_0x34f058[_0x5d8954(0x12d)]/0x64)!==0x2)&&this['logger'][_0x5d8954(0x1a7)](_0x5d8954(0x1ac)+_0x109eb0),_0x286628(_0x109eb0);});}[a6_0x5380f5(0x140)](_0x2be784,_0x1df51a,_0x82bd5c){const _0xe43160=a6_0x5380f5,_0x5b4a7e=this[_0xe43160(0x17d)]+encodeURIComponent(_0x2be784['id'])+_0xe43160(0x145),_0x393deb={'uri':_0x5b4a7e,'method':_0xe43160(0x173),'json':!![],'body':_0x1df51a};this['makeRequest'](_0x393deb,(_0xe0e29f,_0x5bc9f4,_0x3853db)=>{const _0x3b5a30=_0xe43160;(!_0x3853db||Math['floor'](_0x3853db[_0x3b5a30(0x12d)]/0x64)!==0x2)&&(this['logger'][_0x3b5a30(0x1a7)](_0x3b5a30(0x181)+_0xe0e29f),_0x82bd5c(_0xe0e29f));});}['sendAppOnlyBreakpointHitsToServer'](_0x20349c,_0x47cd20,_0x11a876){const _0x464214=a6_0x5380f5,_0x33657b=this[_0x464214(0x17d)]+encodeURIComponent(_0x20349c['id'])+_0x464214(0x123),_0x55912c={'uri':_0x33657b,'method':_0x464214(0x173),'json':!![],'body':_0x47cd20};this[_0x464214(0x1bf)](_0x55912c,(_0x396b27,_0x223fe5,_0x43bb91)=>{const _0x480dd4=_0x464214;(!_0x43bb91||Math[_0x480dd4(0x194)](_0x43bb91[_0x480dd4(0x12d)]/0x64)!==0x2)&&(this['logger'][_0x480dd4(0x1a7)](_0x480dd4(0x1ab)+_0x396b27),_0x11a876(_0x396b27));});}[a6_0x5380f5(0x1b8)](_0x55e715,_0x140685,_0x3641f5){const _0x405d58=a6_0x5380f5;assert(_0x55e715['id'],_0x405d58(0x179));if(this[_0x405d58(0x17e)]){const _0x357709=Date['now'](),_0x1719c9=this[_0x405d58(0x17e)]+this['config'][_0x405d58(0x16d)][_0x405d58(0x136)];if(_0x357709<_0x1719c9){this[_0x405d58(0x166)][_0x405d58(0x13b)](_0x405d58(0x127)+((_0x1719c9-_0x357709)/0x3e8+_0x405d58(0x1b0)));return;}}const _0x348456=(0x0,fs_1['statSync'])(_0x3641f5)[_0x405d58(0x170)],_0x4851c8=Math[_0x405d58(0x1a4)](0x0,_0x348456-this[_0x405d58(0x15f)]['agentLog'][_0x405d58(0x17c)]),_0x4f022f=(0x0,fs_1[_0x405d58(0x1b2)])(_0x3641f5,{'start':_0x4851c8}),_0x2676fc=(0x0,zlib_1[_0x405d58(0x19f)])(),_0x31c06b=new memory_streams_1[(_0x405d58(0x1b1))](),_0x35fe1d=this;_0x35fe1d[_0x405d58(0x166)][_0x405d58(0x13b)](_0x405d58(0x19c)+_0x3641f5+'\x20for\x20request\x20id\x20'+_0x140685),(0x0,stream_1[_0x405d58(0x125)])(_0x4f022f,_0x2676fc,_0x31c06b,_0x7be948=>{const _0x564513=_0x405d58;if(_0x7be948)_0x35fe1d['logger'][_0x564513(0x13e)](_0x564513(0x14e)+_0x3641f5+':\x20'+_0x7be948);else{const _0x31b327={'uri':this[_0x564513(0x17d)]+encodeURIComponent(_0x55e715['id'])+_0x564513(0x190)+_0x140685,'method':_0x564513(0x1b4),'body':_0x31c06b[_0x564513(0x143)]()};_0x35fe1d['makeRequest'](_0x31b327,_0x1fe9a1=>{const _0x257da9=_0x564513;_0x1fe9a1?_0x35fe1d['logger'][_0x257da9(0x13e)](_0x257da9(0x18e)+_0x3641f5+_0x257da9(0x18d)+_0x140685,_0x1fe9a1):(_0x35fe1d['logger'][_0x257da9(0x13b)](_0x257da9(0x1a2)+_0x3641f5+_0x257da9(0x18d)+_0x140685),_0x35fe1d['lastLogCollectionTime']=Date[_0x257da9(0x144)]());});}});}[a6_0x5380f5(0x131)](_0x516156){const _0x1747e5=a6_0x5380f5;this['logger'][_0x1747e5(0x13f)](_0x1747e5(0x18f)),this[_0x1747e5(0x174)]=undefined;const _0x855900=[];let _0x3372af=0x0;while(_0x855900[_0x1747e5(0x14f)]<this[_0x1747e5(0x15f)][_0x1747e5(0x15e)]&&this[_0x1747e5(0x189)]['length']>0x0){const _0x3ad670=this[_0x1747e5(0x189)][0x0],_0x26ad62=_0x3ad670[_0x1747e5(0x130)],_0x205699=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x26ad62);_0x3372af+=_0x205699;if(_0x3372af<=this['config']['transmissionBulkMaxNetworkSizeInBytes'])_0x855900[_0x1747e5(0x155)](_0x3ad670),this[_0x1747e5(0x189)][_0x1747e5(0x134)]();else{_0x205699>this[_0x1747e5(0x15f)][_0x1747e5(0x1bb)]&&_0x855900['length']===0x0&&(this[_0x1747e5(0x166)][_0x1747e5(0x13f)](_0x1747e5(0x198)+_0x3ad670['id']+_0x1747e5(0x126)+this[_0x1747e5(0x15f)]['transmissionBulkMaxNetworkSizeInBytes']+_0x1747e5(0x154)),_0x855900[_0x1747e5(0x155)](_0x3ad670),this[_0x1747e5(0x189)]['shift']());break;}}if(!_0x855900)return;const _0x4e3bd0=_0x855900[_0x1747e5(0x16f)](_0x19b786=>_0x19b786['id']),_0x45c735={'uri':this[_0x1747e5(0x17d)]+encodeURIComponent(_0x516156)+_0x1747e5(0x139),'json':!![],'method':_0x1747e5(0x1b4),'body':'['+_0x855900[_0x1747e5(0x16f)](_0x183e00=>_0x183e00['serializedJson'])['join'](',')+']'},_0x3351fb=this;try{this[_0x1747e5(0x1bf)](_0x45c735,(_0x1a15a3,_0x509194,_0x59f745)=>{const _0x4d27b4=_0x1747e5,_0x38ef5e=_0x59f745?.[_0x4d27b4(0x12d)];_0x3351fb['logger']['debug'](_0x4d27b4(0x128)+_0x4e3bd0+_0x4d27b4(0x17f)+_0x38ef5e);if(_0x1a15a3||!_0x38ef5e||Math[_0x4d27b4(0x194)](_0x38ef5e/0x64)!==0x2){const _0x3d149d=_0x38ef5e&&(_0x38ef5e>=0x1f4||_0x38ef5e===0x198);if(_0x3d149d){_0x3351fb[_0x4d27b4(0x166)][_0x4d27b4(0x1a7)](_0x4d27b4(0x12a)+_0x4e3bd0+_0x4d27b4(0x165)+_0x38ef5e+_0x4d27b4(0x196)+_0x1a15a3);for(const _0x4cb5a3 of _0x855900){_0x4cb5a3[_0x4d27b4(0x195)]<MAX_FAILED_SEND_ATTEMPTS?_0x3351fb[_0x4d27b4(0x189)][_0x4d27b4(0x155)]({..._0x4cb5a3,'number':_0x4cb5a3[_0x4d27b4(0x195)]+0x1}):_0x3351fb[_0x4d27b4(0x166)]['warn'](_0x4d27b4(0x14a)+_0x4cb5a3['id']+_0x4d27b4(0x152));}}else _0x3351fb['logger']['warn'](_0x4d27b4(0x157)+_0x4e3bd0+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x38ef5e+_0x4d27b4(0x196)+_0x1a15a3);}else _0x3351fb['logger']['info'](_0x4d27b4(0x128)+_0x4e3bd0+'\x20transmitted\x20successfully');_0x3351fb[_0x4d27b4(0x189)][_0x4d27b4(0x14f)]>0x0&&(_0x3351fb[_0x4d27b4(0x174)]=setTimeout(()=>_0x3351fb[_0x4d27b4(0x131)]['bind'](_0x3351fb)(_0x516156),0x0));},0x28);}catch(_0x3ab284){this['logger'][_0x1747e5(0x1a7)](_0x1747e5(0x157)+_0x4e3bd0+_0x1747e5(0x19b)+_0x3ab284+_0x1747e5(0x135)+_0x3ab284[_0x1747e5(0x13c)]?.[_0x1747e5(0x1a9)]),_0x3351fb[_0x1747e5(0x189)][_0x1747e5(0x14f)]>0x0&&(_0x3351fb[_0x1747e5(0x174)]=setTimeout(()=>_0x3351fb[_0x1747e5(0x131)][_0x1747e5(0x1b7)](_0x3351fb)(_0x516156),0x0));}}async['getBlocklist'](_0x45e9f3){const _0x569ada=a6_0x5380f5;this[_0x569ada(0x166)][_0x569ada(0x13b)](_0x569ada(0x15c));const _0x448797=this[_0x569ada(0x17d)]+encodeURIComponent(_0x45e9f3)+_0x569ada(0x16a),{error:_0x591600,data:_0x53014c}=await this[_0x569ada(0x1bf)]({'uri':_0x448797,'json':!![]});if(_0x591600)return Promise[_0x569ada(0x161)](_0x591600);return yaml['load'](_0x53014c)||{};}[a6_0x5380f5(0x1bf)](_0x5d62f6,_0x4a8244,_0xd1fc59,_0x1bba28){const _0x4585fa=a6_0x5380f5,_0x1c91b2={'Content-Type':_0x1bba28?_0x1bba28:_0x4585fa(0x12c),'Authorization':'Bearer\x20'+this[_0x4585fa(0x15f)]['lightrunSecret']},_0x4b647a=axios_1[_0x4585fa(0x1ad)][_0x4585fa(0x193)][_0x4585fa(0x1c0)](),_0x5281bf=_0xd1fc59?_0xd1fc59*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x4585fa(0x166)][_0x4585fa(0x13f)](_0x4585fa(0x175)+_0x5281bf);const _0x544e40=setTimeout(()=>{const _0x3fe402=_0x4585fa;this[_0x3fe402(0x166)][_0x3fe402(0x1a7)](_0x3fe402(0x148)+_0x5281bf+'ms'),_0x4b647a['cancel']();},_0x5281bf),_0x82bb7a={'method':_0x5d62f6[_0x4585fa(0x18b)],'url':_0x5d62f6[_0x4585fa(0x1bc)],'data':_0x5d62f6['body'],'headers':_0x1c91b2,'cancelToken':_0x4b647a[_0x4585fa(0x171)]};return extend(!![],_0x82bb7a,_0x5d62f6),this[_0x4585fa(0x13a)][_0x4585fa(0x19a)](_0x82bb7a)['then'](_0x59a107=>{const _0x2ddcbb=_0x4585fa;return _0x4a8244?.(null,_0x59a107[_0x2ddcbb(0x13c)],_0x59a107),{'error':null,'data':_0x59a107['data'],'res':_0x59a107};})['catch'](_0xaad276=>{const _0xa09c66=_0x4585fa;return _0x4a8244?.(_0xaad276,_0xaad276[_0xa09c66(0x1b9)]?.[_0xa09c66(0x13c)],_0xaad276[_0xa09c66(0x1b9)]),{'error':_0xaad276,'data':_0xaad276[_0xa09c66(0x1b9)]?.[_0xa09c66(0x13c)],'res':_0xaad276[_0xa09c66(0x1b9)]};})[_0x4585fa(0x1aa)](()=>clearTimeout(_0x544e40));}async[a6_0x5380f5(0x16c)](_0x5b74b9){const _0x808f8d=a6_0x5380f5;this['logger']['info']('Getting\x20reductions');const _0x3ee8c0=this[_0x808f8d(0x17d)]+encodeURIComponent(_0x5b74b9)+_0x808f8d(0x149),{error:_0x15190f,data:_0x412b1e}=await this[_0x808f8d(0x1bf)]({'uri':_0x3ee8c0,'json':!![]});if(_0x15190f)return Promise[_0x808f8d(0x161)](_0x15190f);return _0x412b1e;}}exports[a6_0x5380f5(0x138)]=Controller;function is2xx(_0x3986b4){const _0x4e79c0=a6_0x5380f5;return Math[_0x4e79c0(0x194)](_0x3986b4/0x64)===0x2;}function getProxyAgent(_0x26fd75,_0x3a5cb7){const _0x338ba9=a6_0x5380f5,_0x2bf3bb=_0x26fd75['proxy'];if(!_0x2bf3bb?.[_0x338ba9(0x129)])return undefined;if(!_0x2bf3bb[_0x338ba9(0x1a8)])return _0x3a5cb7[_0x338ba9(0x13e)](_0x338ba9(0x159)),undefined;_0x3a5cb7[_0x338ba9(0x13b)](_0x338ba9(0x164)+_0x2bf3bb[_0x338ba9(0x129)]+':'+_0x2bf3bb[_0x338ba9(0x1a8)]+_0x338ba9(0x160)+(_0x2bf3bb[_0x338ba9(0x14c)]??''));const _0x439e23=new HttpsProxyAgent({'host':_0x2bf3bb['host'],'port':_0x2bf3bb['port'],'auth':_0x2bf3bb[_0x338ba9(0x14c)]||_0x2bf3bb['password']?(_0x2bf3bb[_0x338ba9(0x14c)]??'')+':'+(_0x2bf3bb[_0x338ba9(0x178)]??''):undefined}),_0x507e02=_0x439e23[_0x338ba9(0x12b)][_0x338ba9(0x1b7)](_0x439e23),_0x56ccef=getHttpsAgentOptions(_0x26fd75,_0x3a5cb7);return _0x439e23[_0x338ba9(0x12b)]=(_0x3b7a9d,_0x2a3021)=>{return _0x507e02(_0x3b7a9d,{..._0x2a3021,..._0x56ccef});},_0x439e23;}function getHttpsAgentOptions(_0x3a750c,_0x5b970f){const _0xcda192=a6_0x5380f5,_0x1aeb41={'checkServerIdentity':(_0x389ebf,_0x40759e)=>{const _0x97c63b=a6_0x5436;if(_0x3a750c['noCheckCertificate'])return undefined;const _0x4f3236=(0x0,crypto_1[_0x97c63b(0x184)])(_0x97c63b(0x19e))[_0x97c63b(0x150)](_0x40759e['pubkey'])[_0x97c63b(0x15d)]('hex');return _0x3a750c['pinnedCerts'][_0x97c63b(0x1ae)](_0x4f3236)?undefined:new Error(_0x97c63b(0x168));}};let _0x3e3748;if(_0x3a750c[_0xcda192(0x12e)])try{_0x3e3748=(0x0,fs_1[_0xcda192(0x177)])(_0x3a750c['caPath'],_0xcda192(0x197));}catch(_0x423aaa){_0x5b970f[_0xcda192(0x1a7)](_0xcda192(0x17a)+_0x3a750c[_0xcda192(0x12e)]+_0xcda192(0x14d));}if(_0x3e3748){const _0x1cba43=(0x0,tls_1[_0xcda192(0x182)])(_0x1aeb41);_0x1cba43[_0xcda192(0x1a6)][_0xcda192(0x12f)](_0x3e3748),_0x1aeb41['secureContext']=_0x1cba43;}return _0x1aeb41;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a7_0x36d2(){const _0xfc6e86=['minorversion','2704608yTiEmx','path','defineProperty','(((.+)+)+)+$','Debuggee','292453eDULwT','argv','versions','minorVersion_','serviceContext','893770HjhzvF','apply','createDebuggeeMetadata','createUniquifier','sourceContexts','search','toString','./createUniquifier','3139555znzPhZ','6vPEHWo','../../client/stackdriver/status-message','service','version','module','__esModule','string','178752xLxEaL','1198512BSvpkE','getPlatform','69cCcSHB','1796LttYji','relative','../../debuggee','StatusMessage'];a7_0x36d2=function(){return _0xfc6e86;};return a7_0x36d2();}const a7_0x1381ce=a7_0x26fc;(function(_0x499437,_0x320940){const _0x34965a=a7_0x26fc,_0x55f642=_0x499437();while(!![]){try{const _0x5c5d19=-parseInt(_0x34965a(0x1f0))/0x1+parseInt(_0x34965a(0x1f5))/0x2+-parseInt(_0x34965a(0x208))/0x3*(parseInt(_0x34965a(0x209))/0x4)+parseInt(_0x34965a(0x1fd))/0x5*(parseInt(_0x34965a(0x1fe))/0x6)+parseInt(_0x34965a(0x205))/0x7+-parseInt(_0x34965a(0x206))/0x8+-parseInt(_0x34965a(0x1eb))/0x9;if(_0x5c5d19===_0x320940)break;else _0x55f642['push'](_0x55f642['shift']());}catch(_0x57ad86){_0x55f642['push'](_0x55f642['shift']());}}}(a7_0x36d2,0x54c5a));const a7_0x40599a=(function(){let _0x511b5a=!![];return function(_0x14ad08,_0x5a20c6){const _0x51268d=_0x511b5a?function(){const _0x40bf4e=a7_0x26fc;if(_0x5a20c6){const _0x225f3a=_0x5a20c6[_0x40bf4e(0x1f6)](_0x14ad08,arguments);return _0x5a20c6=null,_0x225f3a;}}:function(){};return _0x511b5a=![],_0x51268d;};}()),a7_0x60808e=a7_0x40599a(this,function(){const _0x3d149e=a7_0x26fc;return a7_0x60808e['toString']()[_0x3d149e(0x1fa)](_0x3d149e(0x1ee))[_0x3d149e(0x1fb)]()['constructor'](a7_0x60808e)['search'](_0x3d149e(0x1ee));});a7_0x60808e();'use strict';function a7_0x26fc(_0x167779,_0x44c17c){const _0x31e88f=a7_0x36d2();return a7_0x26fc=function(_0x60808e,_0x40599a){_0x60808e=_0x60808e-0x1e9;let _0x36d27a=_0x31e88f[_0x60808e];return _0x36d27a;},a7_0x26fc(_0x167779,_0x44c17c);}Object[a7_0x1381ce(0x1ed)](exports,a7_0x1381ce(0x203),{'value':!![]}),exports['createDebuggee']=void 0x0;const path=require(a7_0x1381ce(0x1ec)),status_message_1=require(a7_0x1381ce(0x1ff)),debuggee_1=require(a7_0x1381ce(0x20b)),createDebuggeeMetadata_1=require('./createDebuggeeMetadata'),createUniquifier_1=require(a7_0x1381ce(0x1fc)),getPlatform_1=require('./getPlatform'),createDebuggee=(_0x32fdcd,_0x506f63,_0x41949c,_0x4c3e47,_0x151bed,_0x2516eb,_0x438371,_0x2750e5)=>{const _0x8e2ee8=a7_0x1381ce,_0x2cd214=process['cwd'](),_0x17d177=path[_0x8e2ee8(0x20a)](_0x2cd214,process[_0x8e2ee8(0x1f1)][0x1]),_0x461a04={'main\x20script':_0x17d177,'process.title':process['title'],'node\x20version':process['versions']['node'],'V8\x20version':process[_0x8e2ee8(0x1f2)]['v8'],'agent.name':_0x4c3e47['name'],'agent.version':_0x151bed,'platform':(0x0,getPlatform_1[_0x8e2ee8(0x207)])()},_0x458f8e=_0x506f63[_0x8e2ee8(0x1f4)];_0x458f8e&&(typeof _0x458f8e[_0x8e2ee8(0x200)]==='string'&&_0x458f8e[_0x8e2ee8(0x200)]!=='default'&&(_0x461a04[_0x8e2ee8(0x202)]=_0x458f8e[_0x8e2ee8(0x200)]),typeof _0x458f8e[_0x8e2ee8(0x201)]===_0x8e2ee8(0x204)&&(_0x461a04[_0x8e2ee8(0x201)]=_0x458f8e[_0x8e2ee8(0x201)]),typeof _0x458f8e[_0x8e2ee8(0x1f3)]===_0x8e2ee8(0x204)&&(_0x461a04[_0x8e2ee8(0x1ea)]=_0x458f8e[_0x8e2ee8(0x1f3)]));const _0x3cd57c=(0x0,createUniquifier_1[_0x8e2ee8(0x1f8)])(_0x151bed,_0x32fdcd,_0x41949c,_0x461a04),_0x1f1472=_0x2750e5?new status_message_1[(_0x8e2ee8(0x1e9))](status_message_1['StatusMessage']['UNSPECIFIED'],_0x2750e5,!![]):undefined,_0x177f3a=(0x0,createDebuggeeMetadata_1[_0x8e2ee8(0x1f7)])(_0x506f63,_0x2516eb),_0x5274d7={'uniquifier':_0x3cd57c,'agentVersion':_0x151bed,'labels':{'metadata':JSON['stringify'](_0x177f3a)},'statusMessage':_0x1f1472,'packageInfo':_0x4c3e47,..._0x438371};return _0x41949c&&(_0x5274d7[_0x8e2ee8(0x1f9)]=[_0x41949c]),new debuggee_1[(_0x8e2ee8(0x1ef))](_0x5274d7);};exports['createDebuggee']=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a8_0x142b(_0x38aa3f,_0x476610){const _0x1cc098=a8_0x25a7();return a8_0x142b=function(_0x5471a6,_0x1be33b){_0x5471a6=_0x5471a6-0xcf;let _0x25a7dd=_0x1cc098[_0x5471a6];return _0x25a7dd;},a8_0x142b(_0x38aa3f,_0x476610);}const a8_0x33a314=a8_0x142b;(function(_0x361e13,_0x5be265){const _0x11f4aa=a8_0x142b,_0x557195=_0x361e13();while(!![]){try{const _0x23922a=-parseInt(_0x11f4aa(0xd1))/0x1*(-parseInt(_0x11f4aa(0xda))/0x2)+-parseInt(_0x11f4aa(0xd4))/0x3*(parseInt(_0x11f4aa(0xe3))/0x4)+-parseInt(_0x11f4aa(0xd7))/0x5+-parseInt(_0x11f4aa(0xe1))/0x6+parseInt(_0x11f4aa(0xe8))/0x7*(parseInt(_0x11f4aa(0xdc))/0x8)+parseInt(_0x11f4aa(0xd9))/0x9*(-parseInt(_0x11f4aa(0xcf))/0xa)+parseInt(_0x11f4aa(0xd6))/0xb;if(_0x23922a===_0x5be265)break;else _0x557195['push'](_0x557195['shift']());}catch(_0x526330){_0x557195['push'](_0x557195['shift']());}}}(a8_0x25a7,0x5cf16));const a8_0x1be33b=(function(){let _0x985fda=!![];return function(_0x52dde5,_0x4c5731){const _0x8f3bb8=_0x985fda?function(){if(_0x4c5731){const _0x190065=_0x4c5731['apply'](_0x52dde5,arguments);return _0x4c5731=null,_0x190065;}}:function(){};return _0x985fda=![],_0x8f3bb8;};}()),a8_0x5471a6=a8_0x1be33b(this,function(){const _0x2ec57e=a8_0x142b;return a8_0x5471a6[_0x2ec57e(0xde)]()[_0x2ec57e(0xdb)](_0x2ec57e(0xe0))[_0x2ec57e(0xde)]()[_0x2ec57e(0xd5)](a8_0x5471a6)['search'](_0x2ec57e(0xe0));});a8_0x5471a6();function a8_0x25a7(){const _0x1e331d=['10454lOSzFJ','search','136zrqyyz','metadata','toString','string','(((.+)+)+)+$','39858DJBmWC','registration','40BLlyjv','map','createDebuggeeMetadata','utf-8','warn','235151LQbtWr','defineProperty','parse','84190CzZseY','tags','53obAHcI','__esModule','filename','45120bfrHYz','constructor','5770908tRVFCU','3711970lqVLYs','Failed\x20to\x20read\x20metadata\x20file\x20','99aDUTWl'];a8_0x25a7=function(){return _0x1e331d;};return a8_0x25a7();}'use strict';Object[a8_0x33a314(0xe9)](exports,a8_0x33a314(0xd2),{'value':!![]}),exports[a8_0x33a314(0xe5)]=void 0x0;const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0x2e80a9,_0x1313ae)=>{const _0x5a1f84=a8_0x33a314;let _0x250c0d={'registration':{}};if(_0x2e80a9[_0x5a1f84(0xdd)]?.[_0x5a1f84(0xd3)])try{_0x250c0d=JSON[_0x5a1f84(0xea)](fs['readFileSync'](_0x2e80a9[_0x5a1f84(0xdd)]['filename'],_0x5a1f84(0xe6)));}catch(_0x2edcda){_0x1313ae[_0x5a1f84(0xe7)](_0x5a1f84(0xd8)+_0x2e80a9['metadata'][_0x5a1f84(0xd3)],_0x2edcda);}return _0x250c0d[_0x5a1f84(0xe2)]=extend(!![],{},_0x2e80a9[_0x5a1f84(0xdd)]?.[_0x5a1f84(0xe2)],_0x250c0d[_0x5a1f84(0xe2)]),_0x250c0d[_0x5a1f84(0xe2)]?.[_0x5a1f84(0xd0)]&&(_0x250c0d[_0x5a1f84(0xe2)]['tags']=_0x250c0d[_0x5a1f84(0xe2)]['tags'][_0x5a1f84(0xe4)](_0x22e176=>typeof _0x22e176===_0x5a1f84(0xdf)?{'name':_0x22e176}:_0x22e176)),_0x250c0d;};exports[a8_0x33a314(0xe5)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a9_0x22e7(){const _0x1336d0=['apply','921644qjxdqV','4117099xZYsrF','update','(((.+)+)+)+$','toString','__esModule','10TSFcNh','24WEOUGN','sha1','538602VztmRV','createHash','stringify','24755YTYJmx','997308lWCdmU','search','38193qyNAoQ','digest','304GbtUfO','defineProperty','hex','2729096TYRYqD'];a9_0x22e7=function(){return _0x1336d0;};return a9_0x22e7();}const a9_0x1f5260=a9_0x1782;(function(_0x44e23c,_0x307661){const _0x43e791=a9_0x1782,_0x485812=_0x44e23c();while(!![]){try{const _0x403902=-parseInt(_0x43e791(0xf7))/0x1+parseInt(_0x43e791(0xee))/0x2+-parseInt(_0x43e791(0xe7))/0x3*(-parseInt(_0x43e791(0xe9))/0x4)+parseInt(_0x43e791(0xfa))/0x5*(-parseInt(_0x43e791(0xf5))/0x6)+-parseInt(_0x43e791(0xef))/0x7+parseInt(_0x43e791(0xec))/0x8+-parseInt(_0x43e791(0xfb))/0x9*(parseInt(_0x43e791(0xf4))/0xa);if(_0x403902===_0x307661)break;else _0x485812['push'](_0x485812['shift']());}catch(_0x34f1f5){_0x485812['push'](_0x485812['shift']());}}}(a9_0x22e7,0x7d08c));const a9_0x4be5dc=(function(){let _0x45087f=!![];return function(_0x4f51c1,_0x39da15){const _0x5f45a1=_0x45087f?function(){const _0x2b9db3=a9_0x1782;if(_0x39da15){const _0x5751dc=_0x39da15[_0x2b9db3(0xed)](_0x4f51c1,arguments);return _0x39da15=null,_0x5751dc;}}:function(){};return _0x45087f=![],_0x5f45a1;};}()),a9_0x251bec=a9_0x4be5dc(this,function(){const _0x48d901=a9_0x1782;return a9_0x251bec[_0x48d901(0xf2)]()[_0x48d901(0xe6)](_0x48d901(0xf1))[_0x48d901(0xf2)]()['constructor'](a9_0x251bec)[_0x48d901(0xe6)]('(((.+)+)+)+$');});a9_0x251bec();'use strict';function a9_0x1782(_0x3c3a7c,_0x2581d9){const _0x5ea844=a9_0x22e7();return a9_0x1782=function(_0x251bec,_0x4be5dc){_0x251bec=_0x251bec-0xe6;let _0x22e7b6=_0x5ea844[_0x251bec];return _0x22e7b6;},a9_0x1782(_0x3c3a7c,_0x2581d9);}Object[a9_0x1f5260(0xea)](exports,a9_0x1f5260(0xf3),{'value':!![]}),exports['createUniquifier']=void 0x0;const crypto=require('crypto'),createUniquifier=(_0x4b56ba,_0x22468d,_0x40246c,_0x653500)=>{const _0x11b78d=a9_0x1f5260,_0x329748=_0x4b56ba+_0x22468d+JSON[_0x11b78d(0xf9)](_0x40246c)+JSON[_0x11b78d(0xf9)](_0x653500);return crypto[_0x11b78d(0xf8)](_0x11b78d(0xf6))[_0x11b78d(0xf0)](_0x329748)[_0x11b78d(0xe8)](_0x11b78d(0xeb));};exports['createUniquifier']=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x3f7523=a10_0x23f4;(function(_0x3867b5,_0x21abb5){const _0x34e5c5=a10_0x23f4,_0x3f4b04=_0x3867b5();while(!![]){try{const _0x170b88=parseInt(_0x34e5c5(0x1b5))/0x1+parseInt(_0x34e5c5(0x1aa))/0x2+-parseInt(_0x34e5c5(0x1b0))/0x3*(parseInt(_0x34e5c5(0x1ae))/0x4)+-parseInt(_0x34e5c5(0x1b7))/0x5*(-parseInt(_0x34e5c5(0x1b4))/0x6)+parseInt(_0x34e5c5(0x1ad))/0x7+parseInt(_0x34e5c5(0x1b6))/0x8*(-parseInt(_0x34e5c5(0x1ac))/0x9)+-parseInt(_0x34e5c5(0x1b1))/0xa;if(_0x170b88===_0x21abb5)break;else _0x3f4b04['push'](_0x3f4b04['shift']());}catch(_0x16dd1b){_0x3f4b04['push'](_0x3f4b04['shift']());}}}(a10_0x319d,0xdd8ce));const a10_0x395721=(function(){let _0x1a6b03=!![];return function(_0x2a583a,_0x380003){const _0x22199d=_0x1a6b03?function(){const _0x278e7f=a10_0x23f4;if(_0x380003){const _0x209fa9=_0x380003[_0x278e7f(0x1af)](_0x2a583a,arguments);return _0x380003=null,_0x209fa9;}}:function(){};return _0x1a6b03=![],_0x22199d;};}()),a10_0x323e10=a10_0x395721(this,function(){const _0x2e25ff=a10_0x23f4;return a10_0x323e10[_0x2e25ff(0x1a9)]()[_0x2e25ff(0x1a8)]('(((.+)+)+)+$')[_0x2e25ff(0x1a9)]()['constructor'](a10_0x323e10)[_0x2e25ff(0x1a8)](_0x2e25ff(0x1ab));});a10_0x323e10();'use strict';function a10_0x319d(){const _0x22dcf3=['toString','35420wLfYIJ','(((.+)+)+)+$','37494DBCfcW','11155060obgrRs','4rCMFrp','apply','4860474ygxJvg','7113040SCCzGF','split','push','6HIDAcW','479604hxmljO','912wCarov','8114810tCocET','delimit','search'];a10_0x319d=function(){return _0x22dcf3;};return a10_0x319d();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a10_0x3f7523(0x1a7)]=void 0x0;const delimit=(_0x546590,_0x21048f)=>{const _0x35080e=a10_0x3f7523,_0x3426e0=_0x546590[_0x35080e(0x1b2)](_0x21048f),_0x119205=[];_0x119205[_0x35080e(0x1b3)](_0x3426e0[0x0]);for(let _0x4b7769=0x1;_0x4b7769<_0x3426e0['length'];_0x4b7769++){_0x119205[_0x35080e(0x1b3)]({'v':_0x21048f},_0x3426e0[_0x4b7769]);}return _0x119205;};function a10_0x23f4(_0xe047b8,_0x17ddc1){const _0x515dec=a10_0x319d();return a10_0x23f4=function(_0x323e10,_0x395721){_0x323e10=_0x323e10-0x1a7;let _0x319d90=_0x515dec[_0x323e10];return _0x319d90;},a10_0x23f4(_0xe047b8,_0x17ddc1);}exports[a10_0x3f7523(0x1a7)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a11_0x4d4c(_0x4fe14d,_0x476361){const _0x2086b0=a11_0x7285();return a11_0x4d4c=function(_0x3c375b,_0x3a1ae1){_0x3c375b=_0x3c375b-0x16b;let _0x7285b=_0x2086b0[_0x3c375b];return _0x7285b;},a11_0x4d4c(_0x4fe14d,_0x476361);}const a11_0x29f9c2=a11_0x4d4c;(function(_0x48dc66,_0x3e2b9f){const _0x115d22=a11_0x4d4c,_0x303384=_0x48dc66();while(!![]){try{const _0x152126=-parseInt(_0x115d22(0x172))/0x1+parseInt(_0x115d22(0x176))/0x2+-parseInt(_0x115d22(0x174))/0x3+-parseInt(_0x115d22(0x178))/0x4+-parseInt(_0x115d22(0x16b))/0x5+parseInt(_0x115d22(0x16f))/0x6*(parseInt(_0x115d22(0x17b))/0x7)+-parseInt(_0x115d22(0x173))/0x8*(-parseInt(_0x115d22(0x180))/0x9);if(_0x152126===_0x3e2b9f)break;else _0x303384['push'](_0x303384['shift']());}catch(_0x1a0437){_0x303384['push'](_0x303384['shift']());}}}(a11_0x7285,0x67f15));const a11_0x3a1ae1=(function(){let _0x300133=!![];return function(_0x5e19fa,_0x22befc){const _0x530d38=_0x300133?function(){const _0x207992=a11_0x4d4c;if(_0x22befc){const _0x18d2a3=_0x22befc[_0x207992(0x16c)](_0x5e19fa,arguments);return _0x22befc=null,_0x18d2a3;}}:function(){};return _0x300133=![],_0x530d38;};}()),a11_0x3c375b=a11_0x3a1ae1(this,function(){const _0x371674=a11_0x4d4c;return a11_0x3c375b[_0x371674(0x179)]()[_0x371674(0x17a)](_0x371674(0x16e))['toString']()[_0x371674(0x175)](a11_0x3c375b)[_0x371674(0x17a)](_0x371674(0x16e));});a11_0x3c375b();'use strict';Object[a11_0x29f9c2(0x177)](exports,a11_0x29f9c2(0x16d),{'value':!![]}),exports['format']=void 0x0;function a11_0x7285(){const _0x3b9241=['join','727422wkqXVo','1175896yMAjiS','1336650MLJAMo','constructor','1047962yNsYaW','defineProperty','3173460ZobFDB','toString','search','469TWLyFl','length','./tokenize','format','test','99nijYLw','2425745hMTzSA','apply','__esModule','(((.+)+)+)+$','65946IEsSOa','substring'];a11_0x7285=function(){return _0x3b9241;};return a11_0x7285();}const tokenize_1=require(a11_0x29f9c2(0x17d)),format=(_0x652082,_0x3a2beb)=>{const _0x214812=a11_0x29f9c2,_0x5b2358=(0x0,tokenize_1['tokenize'])(_0x652082,_0x3a2beb[_0x214812(0x17c)]);for(let _0x3e2af2=0x0;_0x3e2af2<_0x5b2358[_0x214812(0x17c)];_0x3e2af2++){if(!_0x5b2358[_0x3e2af2]['v'])continue;if(_0x5b2358[_0x3e2af2]['v']==='$$'){_0x5b2358[_0x3e2af2]='$';continue;}for(let _0xbccde7=0x0;_0xbccde7<_0x3a2beb[_0x214812(0x17c)];_0xbccde7++){if(_0x5b2358[_0x3e2af2]['v']==='$'+_0xbccde7){let _0x36c1d1=_0x3a2beb[_0xbccde7];/^".*"$/[_0x214812(0x17f)](_0x36c1d1)&&(_0x36c1d1=_0x36c1d1[_0x214812(0x170)](0x1,_0x36c1d1[_0x214812(0x17c)]-0x1));_0x5b2358[_0x3e2af2]=_0x36c1d1;break;}}}return _0x5b2358[_0x214812(0x171)]('');};exports[a11_0x29f9c2(0x17e)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a12_0xf57c(){const _0x48cb40=['490145ojpCjg','getFirst','search','proxy_username','max_dynamic_log_bytes_rate','java-properties','8ToYYoF','agent_log_target_dir','2830950tKdSri','max_snapshot_buffer_size','getFloat','fetch_breakpoints_once','map','agent_regmetadata_file','pinned_certs','transmission_bulk_max_size','__esModule','max_log_cpu_cost','extra_paths','noCheckCertificate','25558esFbyh','existsSync','(((.+)+)+)+$','max_dynamic_log_rate','proxy_password','proxy_port','trim','ignore_quota','collect_log_cooldown_ms','defineProperty','com.lightrun.secret','getInt','getAgentConfig','1805648lYRFNF','3298106OsMOrP','max_watchlist_variable_size','breakpoint_expiration_sec','26063064bngwEz','max_log_file_bytes','split','max_snapshot_frame_count','max_condition_cost','1968072xcNbCR','getBoolean','toString','47FWgfSW','agent_log_max_file_size_mb'];a12_0xf57c=function(){return _0x48cb40;};return a12_0xf57c();}const a12_0x475a6a=a12_0x469a;(function(_0xd1aaf1,_0xbf993){const _0x4e27a6=a12_0x469a,_0x4aa6c4=_0xd1aaf1();while(!![]){try{const _0x205214=parseInt(_0x4e27a6(0x164))/0x1*(-parseInt(_0x4e27a6(0x17a))/0x2)+-parseInt(_0x4e27a6(0x161))/0x3+-parseInt(_0x4e27a6(0x187))/0x4+parseInt(_0x4e27a6(0x166))/0x5+-parseInt(_0x4e27a6(0x16e))/0x6+-parseInt(_0x4e27a6(0x188))/0x7*(parseInt(_0x4e27a6(0x16c))/0x8)+parseInt(_0x4e27a6(0x15c))/0x9;if(_0x205214===_0xbf993)break;else _0x4aa6c4['push'](_0x4aa6c4['shift']());}catch(_0x1c3f1d){_0x4aa6c4['push'](_0x4aa6c4['shift']());}}}(a12_0xf57c,0x53b6d));const a12_0x3260f8=(function(){let _0x2973c6=!![];return function(_0x2350dc,_0x57e852){const _0x5c25cb=_0x2973c6?function(){if(_0x57e852){const _0x47680d=_0x57e852['apply'](_0x2350dc,arguments);return _0x57e852=null,_0x47680d;}}:function(){};return _0x2973c6=![],_0x5c25cb;};}()),a12_0x20ce50=a12_0x3260f8(this,function(){const _0x75d54d=a12_0x469a;return a12_0x20ce50['toString']()[_0x75d54d(0x168)](_0x75d54d(0x17c))[_0x75d54d(0x163)]()['constructor'](a12_0x20ce50)['search'](_0x75d54d(0x17c));});function a12_0x469a(_0x2a3441,_0x35567f){const _0x145f2a=a12_0xf57c();return a12_0x469a=function(_0x20ce50,_0x3260f8){_0x20ce50=_0x20ce50-0x15c;let _0xf57c13=_0x145f2a[_0x20ce50];return _0xf57c13;},a12_0x469a(_0x2a3441,_0x35567f);}a12_0x20ce50();'use strict';Object[a12_0x475a6a(0x183)](exports,a12_0x475a6a(0x176),{'value':!![]}),exports[a12_0x475a6a(0x186)]=void 0x0;const properties=require(a12_0x475a6a(0x16b)),fs=require('fs'),getAgentConfig=_0x43d649=>{const _0x59b654=a12_0x475a6a;if(fs[_0x59b654(0x17b)](_0x43d649)){const _0x434985=properties['of'](_0x43d649);return{'lightrunSecret':_0x434985[_0x59b654(0x167)](_0x59b654(0x184)),'apiEndpoint':_0x434985['getFirst']('apiEndpoint'),'breakpointExpirationSec':_0x434985[_0x59b654(0x185)](_0x59b654(0x18a)),'transmissionBulkMaxSize':_0x434985[_0x59b654(0x185)](_0x59b654(0x175)),'noCheckCertificate':_0x434985[_0x59b654(0x162)](_0x59b654(0x179)),'pinnedCerts':_0x434985['getFirst'](_0x59b654(0x174))?.[_0x59b654(0x15e)](','),'metadata':{'filename':_0x434985['getFirst'](_0x59b654(0x173))},'capture':{'maxFrames':_0x434985[_0x59b654(0x185)](_0x59b654(0x15f)),'maxDataSize':_0x434985['getInt'](_0x59b654(0x16f)),'maxSnapshotBufferSize':_0x434985['getInt'](_0x59b654(0x16f)),'maxVariableSize':_0x434985[_0x59b654(0x185)]('max_variable_size'),'maxWatchListVariableSize':_0x434985['getInt'](_0x59b654(0x189))},'agentLog':{'collectCooldownMs':_0x434985[_0x59b654(0x185)](_0x59b654(0x182)),'agentLogTargetDir':_0x434985['getFirst'](_0x59b654(0x16d)),'agentLogLevel':_0x434985['getFirst']('agent_log_level'),'agentLogMaxFileCount':_0x434985[_0x59b654(0x185)]('agent_log_max_file_count'),'agentLogMaxFileSizeMb':_0x434985[_0x59b654(0x185)](_0x59b654(0x165)),'maxLogFileBytes':_0x434985[_0x59b654(0x185)](_0x59b654(0x15d))},'quota':{'ignoreQuota':_0x434985['getBoolean'](_0x59b654(0x181)),'maxCPUCost':_0x434985[_0x59b654(0x170)](_0x59b654(0x177)),'maxConditionCost':_0x434985[_0x59b654(0x170)](_0x59b654(0x160)),'maxDynamicLogRate':_0x434985[_0x59b654(0x185)](_0x59b654(0x17d)),'maxDynamicLogByteRate':_0x434985['getInt'](_0x59b654(0x16a)),'quotaRecoverySeconds':_0x434985[_0x59b654(0x185)]('dynamic_log_quota_recovery_ms')&&_0x434985[_0x59b654(0x185)]('dynamic_log_quota_recovery_ms')/0x3e8},'fetchBreakpointsOnce':_0x434985['getBoolean'](_0x59b654(0x171)),'extraPaths':_0x434985[_0x59b654(0x167)](_0x59b654(0x178))?.[_0x59b654(0x15e)](',')?.[_0x59b654(0x172)](_0x14da21=>_0x14da21[_0x59b654(0x180)]()),'proxy':{'host':_0x434985[_0x59b654(0x167)]('proxy_host'),'port':_0x434985[_0x59b654(0x185)](_0x59b654(0x17f)),'username':_0x434985[_0x59b654(0x167)](_0x59b654(0x169)),'password':_0x434985[_0x59b654(0x167)](_0x59b654(0x17e))}};}return;};exports[a12_0x475a6a(0x186)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a13_0x5b41(_0xf022d0,_0x52b98e){const _0x47d8b0=a13_0x2195();return a13_0x5b41=function(_0x1c0198,_0x277a96){_0x1c0198=_0x1c0198-0x143;let _0x2195da=_0x47d8b0[_0x1c0198];return _0x2195da;},a13_0x5b41(_0xf022d0,_0x52b98e);}const a13_0x103013=a13_0x5b41;(function(_0x3ed9b7,_0x52b718){const _0x49c684=a13_0x5b41,_0x566355=_0x3ed9b7();while(!![]){try{const _0x5b7d51=parseInt(_0x49c684(0x152))/0x1+parseInt(_0x49c684(0x156))/0x2+-parseInt(_0x49c684(0x148))/0x3*(-parseInt(_0x49c684(0x150))/0x4)+-parseInt(_0x49c684(0x153))/0x5+parseInt(_0x49c684(0x146))/0x6+parseInt(_0x49c684(0x149))/0x7+-parseInt(_0x49c684(0x14e))/0x8;if(_0x5b7d51===_0x52b718)break;else _0x566355['push'](_0x566355['shift']());}catch(_0x1e236e){_0x566355['push'](_0x566355['shift']());}}}(a13_0x2195,0x2cc92));Object['defineProperty'](exports,a13_0x103013(0x145),{'value':!![]}),exports[a13_0x103013(0x14b)]=exports[a13_0x103013(0x144)]=void 0x0;var Platforms;(function(_0x28616e){const _0x3f241a=a13_0x103013,_0x13d87c=(function(){let _0x4eb67c=!![];return function(_0x139028,_0x1bcad5){const _0x1b1f5e=_0x4eb67c?function(){if(_0x1bcad5){const _0x328472=_0x1bcad5['apply'](_0x139028,arguments);return _0x1bcad5=null,_0x328472;}}:function(){};return _0x4eb67c=![],_0x1b1f5e;};}()),_0x44677f=_0x13d87c(this,function(){const _0x1aa519=a13_0x5b41;return _0x44677f['toString']()[_0x1aa519(0x147)]('(((.+)+)+)+$')[_0x1aa519(0x154)]()[_0x1aa519(0x155)](_0x44677f)[_0x1aa519(0x147)](_0x1aa519(0x14d));});_0x44677f(),_0x28616e[_0x3f241a(0x14f)]=_0x3f241a(0x151),_0x28616e['DEFAULT']=_0x3f241a(0x143);}(Platforms||(exports[a13_0x103013(0x144)]=Platforms={})));const getPlatform=()=>{const _0x272f11=a13_0x103013,{FUNCTION_NAME:_0x34197b,FUNCTION_TARGET:_0x1ec102}=process[_0x272f11(0x14c)];if(_0x34197b||_0x1ec102)return Platforms[_0x272f11(0x14f)];return Platforms[_0x272f11(0x14a)];};exports[a13_0x103013(0x14b)]=getPlatform;function a13_0x2195(){const _0x49c93f=['50617QefvOo','3720DiuQrt','toString','constructor','611232LoACIT','default','Platforms','__esModule','1719402LMRyPB','search','17223BPpmfc','410991lidvoa','DEFAULT','getPlatform','env','(((.+)+)+)+$','4184544aMtMKr','CLOUD_FUNCTION','4CEqnko','cloud_function'];a13_0x2195=function(){return _0x49c93f;};return a13_0x2195();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x5f04cc=a14_0x4c8a;(function(_0xcda4bd,_0x655e6){const _0x74d144=a14_0x4c8a,_0x205c2c=_0xcda4bd();while(!![]){try{const _0x3a14e0=parseInt(_0x74d144(0x1c0))/0x1*(parseInt(_0x74d144(0x1bb))/0x2)+-parseInt(_0x74d144(0x1b6))/0x3*(parseInt(_0x74d144(0x1c6))/0x4)+-parseInt(_0x74d144(0x1bf))/0x5+parseInt(_0x74d144(0x1b8))/0x6*(-parseInt(_0x74d144(0x1bc))/0x7)+-parseInt(_0x74d144(0x1ba))/0x8*(-parseInt(_0x74d144(0x1b7))/0x9)+parseInt(_0x74d144(0x1b9))/0xa+parseInt(_0x74d144(0x1c2))/0xb;if(_0x3a14e0===_0x655e6)break;else _0x205c2c['push'](_0x205c2c['shift']());}catch(_0x54783b){_0x205c2c['push'](_0x205c2c['shift']());}}}(a14_0x5076,0x3afcb));function a14_0x4c8a(_0x2b94a6,_0x36b98f){const _0x48ce0a=a14_0x5076();return a14_0x4c8a=function(_0x12a587,_0x4e313c){_0x12a587=_0x12a587-0x1b6;let _0x5076cd=_0x48ce0a[_0x12a587];return _0x5076cd;},a14_0x4c8a(_0x2b94a6,_0x36b98f);}const a14_0x4e313c=(function(){let _0xf5a89f=!![];return function(_0x54bf47,_0x3a4354){const _0x2c5ed4=_0xf5a89f?function(){const _0x2bf586=a14_0x4c8a;if(_0x3a4354){const _0x2f2593=_0x3a4354[_0x2bf586(0x1be)](_0x54bf47,arguments);return _0x3a4354=null,_0x2f2593;}}:function(){};return _0xf5a89f=![],_0x2c5ed4;};}()),a14_0x12a587=a14_0x4e313c(this,function(){const _0x27a82d=a14_0x4c8a;return a14_0x12a587[_0x27a82d(0x1c7)]()[_0x27a82d(0x1c3)]('(((.+)+)+)+$')['toString']()['constructor'](a14_0x12a587)['search'](_0x27a82d(0x1c1));});a14_0x12a587();function a14_0x5076(){const _0x134c5e=['68ZdHBgv','63fDwUpq','push','apply','742570JgbSrs','1639fSUOiY','(((.+)+)+)+$','1413247rNPNnX','search','__esModule','mapSubtract','624604LdOHkE','toString','6EiktwD','693819axhNWw','79770DWURvc','4066060JykSSj','24TSGuqQ'];a14_0x5076=function(){return _0x134c5e;};return a14_0x5076();}'use strict';Object['defineProperty'](exports,a14_0x5f04cc(0x1c4),{'value':!![]}),exports[a14_0x5f04cc(0x1c5)]=void 0x0;const mapSubtract=(_0x246d03,_0x46b7dd)=>{const _0x2d2424=a14_0x5f04cc,_0x56d7ad=[];for(const _0x4f9c96 in _0x246d03){!_0x46b7dd[_0x4f9c96]&&_0x56d7ad[_0x2d2424(0x1bd)](_0x246d03[_0x4f9c96]);}return _0x56d7ad;};exports['mapSubtract']=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x110312=a15_0x4c82;(function(_0x323e83,_0x517ecd){const _0x16ff7c=a15_0x4c82,_0x24e774=_0x323e83();while(!![]){try{const _0xc93820=parseInt(_0x16ff7c(0x11c))/0x1*(-parseInt(_0x16ff7c(0x13d))/0x2)+-parseInt(_0x16ff7c(0x129))/0x3+-parseInt(_0x16ff7c(0x107))/0x4*(parseInt(_0x16ff7c(0x105))/0x5)+-parseInt(_0x16ff7c(0x10b))/0x6+-parseInt(_0x16ff7c(0x106))/0x7*(-parseInt(_0x16ff7c(0x108))/0x8)+-parseInt(_0x16ff7c(0x121))/0x9*(parseInt(_0x16ff7c(0x11d))/0xa)+parseInt(_0x16ff7c(0x139))/0xb;if(_0xc93820===_0x517ecd)break;else _0x24e774['push'](_0x24e774['shift']());}catch(_0x49fbc2){_0x24e774['push'](_0x24e774['shift']());}}}(a15_0x5730,0x60484));const a15_0x128c16=(function(){let _0x426ae7=!![];return function(_0x1520e6,_0x3fe8b7){const _0x1bbf3e=_0x426ae7?function(){if(_0x3fe8b7){const _0x52a1af=_0x3fe8b7['apply'](_0x1520e6,arguments);return _0x3fe8b7=null,_0x52a1af;}}:function(){};return _0x426ae7=![],_0x1bbf3e;};}()),a15_0x57eb91=a15_0x128c16(this,function(){const _0x56946c=a15_0x4c82;return a15_0x57eb91[_0x56946c(0x117)]()['search']('(((.+)+)+)+$')[_0x56946c(0x117)]()['constructor'](a15_0x57eb91)[_0x56946c(0x11a)](_0x56946c(0x112));});a15_0x57eb91();'use strict';function a15_0x4c82(_0x16b38e,_0x1c3cde){const _0x292613=a15_0x5730();return a15_0x4c82=function(_0x57eb91,_0x128c16){_0x57eb91=_0x57eb91-0x102;let _0x573003=_0x292613[_0x57eb91];return _0x573003;},a15_0x4c82(_0x16b38e,_0x1c3cde);}Object[a15_0x110312(0x128)](exports,'__esModule',{'value':!![]}),exports['normalizeConfig']=exports[a15_0x110312(0x142)]=void 0x0;const extend=require('extend'),config_1=require(a15_0x110312(0x13f)),utils_1=require(a15_0x110312(0x126)),getAgentConfig_1=require(a15_0x110312(0x127)),validateConfig=_0x4158cb=>{const _0x4bbae9=a15_0x110312,_0x4c74f5={};try{config_1[_0x4bbae9(0x12e)][_0x4bbae9(0x118)](_0x4158cb,{'abortEarly':![]});}catch(_0x19e357){_0x19e357[_0x4bbae9(0x132)][_0x4bbae9(0x138)](_0x472317=>_0x472317['path']&&_0x472317[_0x4bbae9(0x125)])[_0x4bbae9(0x13b)](_0x2da0bb=>{_0x4c74f5[_0x2da0bb['path']]=_0x2da0bb['message'];});}return _0x4c74f5;};exports[a15_0x110312(0x142)]=validateConfig;const normalizeConfig=_0x24a3af=>{const _0x2c1276=a15_0x110312,_0x201d46={'serviceContext':{'service':process[_0x2c1276(0x122)][_0x2c1276(0x13e)]||process[_0x2c1276(0x122)][_0x2c1276(0x119)]||process[_0x2c1276(0x122)][_0x2c1276(0x115)],'version':process[_0x2c1276(0x122)][_0x2c1276(0x10d)]||process[_0x2c1276(0x122)][_0x2c1276(0x12c)]||process[_0x2c1276(0x122)][_0x2c1276(0x137)],'minorVersion_':process[_0x2c1276(0x122)][_0x2c1276(0x130)]||process[_0x2c1276(0x122)][_0x2c1276(0x124)]},'metadata':{'filename':process['env']['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process[_0x2c1276(0x122)][_0x2c1276(0x12a)],'apiEndpoint':process[_0x2c1276(0x122)][_0x2c1276(0x12b)],'noCheckCertificate':(0x0,utils_1[_0x2c1276(0x10f)])(process[_0x2c1276(0x122)]['NO_CHECK_CERTIFICATE']),'fetchBreakpointsOnce':(0x0,utils_1[_0x2c1276(0x10f)])(process['env']['FETCH_BREAKPOINTS_ONCE']),'lightrunWaitForInit':(0x0,utils_1[_0x2c1276(0x10f)])(process['env'][_0x2c1276(0x134)]),'lightrunInitWaitTimeMs':process[_0x2c1276(0x122)][_0x2c1276(0x12d)],'agentLog':_0x24a3af?.[_0x2c1276(0x113)]||{},'proxy':{'host':process['env'][_0x2c1276(0x136)],'port':parseInt(process['env'][_0x2c1276(0x12f)]||'')||undefined,'username':process['env'][_0x2c1276(0x10c)],'password':process['env']['LIGHTRUN_PROXY_PASSWORD']}};process[_0x2c1276(0x122)][_0x2c1276(0x140)]!==undefined&&(_0x201d46['agentLog'][_0x2c1276(0x104)]=process[_0x2c1276(0x122)]['LIGHTRUN_STD_ERR_THRESHOLD']);process[_0x2c1276(0x122)][_0x2c1276(0x10a)]!==undefined&&(_0x201d46[_0x2c1276(0x113)]['agentLogLevel']=process[_0x2c1276(0x122)][_0x2c1276(0x10a)]);process[_0x2c1276(0x122)]['AGENT_LOG_TARGET_DIR']!==undefined&&(_0x201d46[_0x2c1276(0x113)][_0x2c1276(0x141)]=process[_0x2c1276(0x122)][_0x2c1276(0x114)]);process['env']['AGENT_LOG_MAX_FILE_COUNT']!==undefined&&(_0x201d46['agentLog'][_0x2c1276(0x11e)]=parseInt(process[_0x2c1276(0x122)][_0x2c1276(0x103)]));process['env'][_0x2c1276(0x102)]!==undefined&&(_0x201d46[_0x2c1276(0x113)][_0x2c1276(0x131)]=parseInt(process[_0x2c1276(0x122)][_0x2c1276(0x102)]));process['env']['FUNCTION_NAME']&&(_0x201d46[_0x2c1276(0x11b)]['service']=process[_0x2c1276(0x122)][_0x2c1276(0x120)],_0x201d46[_0x2c1276(0x11b)][_0x2c1276(0x10e)]=_0x2c1276(0x11f));process[_0x2c1276(0x122)][_0x2c1276(0x135)]&&(_0x201d46[_0x2c1276(0x110)][_0x2c1276(0x123)]={'tags':process[_0x2c1276(0x122)][_0x2c1276(0x135)][_0x2c1276(0x13c)](',')});const _0x213fb2=(0x0,getAgentConfig_1[_0x2c1276(0x133)])(process['env'][_0x2c1276(0x116)]||_0x24a3af?.['agentConfigFile']||config_1[_0x2c1276(0x13a)][_0x2c1276(0x109)]),_0x1bb88c=extend(!![],{},config_1['defaultConfig'],_0x213fb2,_0x24a3af,_0x201d46),_0x3b5746=(0x0,exports[_0x2c1276(0x142)])(_0x1bb88c);return{..._0x1bb88c,'errors':_0x3b5746};};function a15_0x5730(){const _0x24a2db=['GAE_MODULE_NAME','search','serviceContext','7402IaOFgf','130phAeku','agentLogMaxFileCount','unversioned','FUNCTION_NAME','150021glzPAP','env','registration','GAE_MINOR_VERSION','message','../util/utils','./getAgentConfig','defineProperty','2069910znBHJV','LIGHTRUN_SECRET','LIGHTRUN_API_ENDPOINT','GAE_MODULE_VERSION','LIGHTRUN_INIT_WAIT_TIME_MS','configSchema','LIGHTRUN_PROXY_PORT','GAE_DEPLOYMENT_ID','agentLogMaxFileSizeMb','inner','getAgentConfig','LIGHTRUN_WAIT_FOR_INIT','LIGHTRUN_TAGS','LIGHTRUN_PROXY_HOST','K_REVISION','filter','26849504hgynqK','defaultConfig','forEach','split','170HCAEUq','GAE_SERVICE','../config','LIGHTRUN_STD_ERR_THRESHOLD','agentLogTargetDir','validateConfig','AGENT_LOG_MAX_FILE_SIZE_MB','AGENT_LOG_MAX_FILE_COUNT','stdErrThreshold','60HPDFIt','14uHPJop','146352liLptj','670000VhKJPQ','agentConfigFile','AGENT_LOG_LEVEL','1434594EXblbA','LIGHTRUN_PROXY_USERNAME','GAE_VERSION','version','getBooleanValue','metadata','normalizeConfig','(((.+)+)+)+$','agentLog','AGENT_LOG_TARGET_DIR','K_SERVICE','LIGHTRUN_AGENT_CONFIG','toString','validateSync'];a15_0x5730=function(){return _0x24a2db;};return a15_0x5730();}exports[a15_0x110312(0x111)]=normalizeConfig;
|