lightrun 1.43.0 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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.d.ts +5 -0
- 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
|
+
function a0_0x1944(_0x36e243,_0x23bb95){const _0x1d24be=a0_0x349d();return a0_0x1944=function(_0x598bb5,_0x3416ad){_0x598bb5=_0x598bb5-0xa7;let _0x349dda=_0x1d24be[_0x598bb5];return _0x349dda;},a0_0x1944(_0x36e243,_0x23bb95);}const a0_0x18c3e2=a0_0x1944;(function(_0x113fe9,_0xd0c416){const _0x5769f7=a0_0x1944,_0x2b076c=_0x113fe9();while(!![]){try{const _0x15b7c9=parseInt(_0x5769f7(0xb3))/0x1*(parseInt(_0x5769f7(0xa8))/0x2)+-parseInt(_0x5769f7(0xbf))/0x3*(parseInt(_0x5769f7(0xaf))/0x4)+-parseInt(_0x5769f7(0xc4))/0x5+parseInt(_0x5769f7(0xcb))/0x6*(-parseInt(_0x5769f7(0xb1))/0x7)+parseInt(_0x5769f7(0xc0))/0x8+parseInt(_0x5769f7(0xc8))/0x9+parseInt(_0x5769f7(0xb7))/0xa;if(_0x15b7c9===_0xd0c416)break;else _0x2b076c['push'](_0x2b076c['shift']());}catch(_0x1ad0eb){_0x2b076c['push'](_0x2b076c['shift']());}}}(a0_0x349d,0x9e73c));const a0_0x3416ad=(function(){let _0x443792=!![];return function(_0x22e9d5,_0xfea98a){const _0x4e95bd=_0x443792?function(){if(_0xfea98a){const _0xda9778=_0xfea98a['apply'](_0x22e9d5,arguments);return _0xfea98a=null,_0xda9778;}}:function(){};return _0x443792=![],_0x4e95bd;};}()),a0_0x598bb5=a0_0x3416ad(this,function(){const _0x5f5321=a0_0x1944;return a0_0x598bb5[_0x5f5321(0xa9)]()[_0x5f5321(0xa7)](_0x5f5321(0xab))[_0x5f5321(0xa9)]()[_0x5f5321(0xc3)](a0_0x598bb5)[_0x5f5321(0xa7)]('(((.+)+)+)+$');});a0_0x598bb5();'use strict';Object['defineProperty'](exports,a0_0x18c3e2(0xc2),{'value':!![]});const winston_1=require(a0_0x18c3e2(0xac)),DailyRotateFile=require(a0_0x18c3e2(0xad)),process_1=require('process'),{combine,printf,timestamp}=winston_1[a0_0x18c3e2(0xbe)],{Console}=winston_1['transports'],now=new Date();function getLoggerTransport(_0x572823,_0x454405,_0x13aff6){const _0x37197c=a0_0x18c3e2;if(_0x572823)return new DailyRotateFile({'dirname':_0x572823,'filename':AgentLogger[_0x37197c(0xae)],'datePattern':now[_0x37197c(0xb5)]()[_0x37197c(0xa9)]()+now[_0x37197c(0xc6)]()[_0x37197c(0xa9)]()[_0x37197c(0xb2)](0x2,'0')+now[_0x37197c(0xbd)]()[_0x37197c(0xa9)]()['padStart'](0x2,'0')+'-'+now['getHours']()[_0x37197c(0xa9)]()[_0x37197c(0xb2)](0x2,'0')+now[_0x37197c(0xc7)]()[_0x37197c(0xa9)]()[_0x37197c(0xb2)](0x2,'0')+now[_0x37197c(0xc1)]()[_0x37197c(0xa9)]()[_0x37197c(0xb2)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x37197c(0xae)],'maxSize':_0x454405+'m','maxFiles':_0x13aff6,'extension':_0x37197c(0xb6)});return new Console();}class AgentLogger{constructor(_0x290e3c,_0x2002b5,_0x46d824,_0xed21c1,_0x55d77b){const _0x243ebf=a0_0x18c3e2;this['logger']=(0x0,winston_1['createLogger'])({'level':_0xed21c1,'transports':[getLoggerTransport(_0x290e3c,_0x2002b5,_0x46d824),new Console({'level':_0x55d77b,'stderrLevels':[_0x243ebf(0xbb),_0x243ebf(0xb0),_0x243ebf(0xc5),_0x243ebf(0xb4)]})],'format':combine(timestamp(),printf(({level:_0xda7f20,message:_0x2b0850,timestamp:_0x37c030})=>{const _0x3011d1=_0x243ebf;return _0x37c030+'\x20['+_0xda7f20[_0x3011d1(0xaa)]()+']\x20-\x20'+_0x2b0850;}),winston_1['format'][_0x243ebf(0xba)]())});}static['createLogger'](_0x25381d,_0x3ab953,_0x564105,_0x3b33e2,_0xa25b14){return new AgentLogger(_0x25381d,_0x3ab953,_0x564105,_0x3b33e2,_0xa25b14);}[a0_0x18c3e2(0xbb)](..._0x36c1d3){this['logger']['debug'](_0x36c1d3);}['info'](..._0x75b06f){const _0x1f5188=a0_0x18c3e2;this['logger'][_0x1f5188(0xb0)](_0x75b06f);}[a0_0x18c3e2(0xc5)](..._0x5b41b6){const _0x16290b=a0_0x18c3e2;this[_0x16290b(0xc9)][_0x16290b(0xc5)](_0x5b41b6);}[a0_0x18c3e2(0xb4)](..._0x4556b7){const _0x3920ce=a0_0x18c3e2;this['logger'][_0x3920ce(0xb4)](_0x4556b7);}}function a0_0x349d(){const _0x394c44=['2705960xIJSYM','getSeconds','__esModule','constructor','3693030VLWIwi','warn','getMonth','getMinutes','7302384ZMPpbx','logger','.%DATE%','5163234mqsmcn','search','426848wyFKvp','toString','toUpperCase','(((.+)+)+)+$','winston','winston-daily-rotate-file','AGENT_LOG_FILE','12UegIym','info','7pGCWOh','padStart','1ZhWple','error','getFullYear','.log','14267820KMqUwY','default','pid','json','debug','lightrun_nodejs_agent.','getDate','format','541662zgmwCf'];a0_0x349d=function(){return _0x394c44;};return a0_0x349d();}AgentLogger[a0_0x18c3e2(0xae)]=a0_0x18c3e2(0xbc)+process_1[a0_0x18c3e2(0xb9)]+a0_0x18c3e2(0xca),exports[a0_0x18c3e2(0xb8)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a1_0xd5ce(_0x249190,_0x4a793b){const _0x2d724f=a1_0x2fe3();return a1_0xd5ce=function(_0x2df89a,_0x22c046){_0x2df89a=_0x2df89a-0x158;let _0x2fe37e=_0x2d724f[_0x2df89a];return _0x2fe37e;},a1_0xd5ce(_0x249190,_0x4a793b);}const a1_0x413e24=a1_0xd5ce;(function(_0x19a30a,_0x58fdca){const _0x51b8a5=a1_0xd5ce,_0x7bd339=_0x19a30a();while(!![]){try{const _0x26894b=-parseInt(_0x51b8a5(0x16c))/0x1*(-parseInt(_0x51b8a5(0x16a))/0x2)+parseInt(_0x51b8a5(0x16f))/0x3+parseInt(_0x51b8a5(0x162))/0x4+parseInt(_0x51b8a5(0x160))/0x5*(parseInt(_0x51b8a5(0x16b))/0x6)+parseInt(_0x51b8a5(0x169))/0x7*(-parseInt(_0x51b8a5(0x161))/0x8)+parseInt(_0x51b8a5(0x172))/0x9*(-parseInt(_0x51b8a5(0x15d))/0xa)+-parseInt(_0x51b8a5(0x15e))/0xb;if(_0x26894b===_0x58fdca)break;else _0x7bd339['push'](_0x7bd339['shift']());}catch(_0x34afab){_0x7bd339['push'](_0x7bd339['shift']());}}}(a1_0x2fe3,0x3aa50));const a1_0x22c046=(function(){let _0x40745c=!![];return function(_0x29ba07,_0xc8e584){const _0x5a46d3=_0x40745c?function(){const _0x10efd4=a1_0xd5ce;if(_0xc8e584){const _0x58c017=_0xc8e584[_0x10efd4(0x16e)](_0x29ba07,arguments);return _0xc8e584=null,_0x58c017;}}:function(){};return _0x40745c=![],_0x5a46d3;};}()),a1_0x2df89a=a1_0x22c046(this,function(){const _0x368321=a1_0xd5ce;return a1_0x2df89a[_0x368321(0x15a)]()['search']('(((.+)+)+)+$')[_0x368321(0x15a)]()[_0x368321(0x15c)](a1_0x2df89a)[_0x368321(0x15b)](_0x368321(0x16d));});a1_0x2df89a();function a1_0x2fe3(){const _0x20d42a=['push','match','64589QXBKra','366806UTMMeQ','1020wiZODQ','2buAfwv','(((.+)+)+)+$','apply','1311147RYfuRJ','matches','defineProperty','180XeIxtv','length','substring','toString','search','constructor','86610lrLkdy','5065170NBJzMZ','patterns','8135SJbCic','208fDRXlx','133420fmlqRD','inversePatterns','forEach','some','BlocklistingPatterns'];a1_0x2fe3=function(){return _0x20d42a;};return a1_0x2fe3();}'use strict';Object[a1_0x413e24(0x171)](exports,'__esModule',{'value':!![]}),exports[a1_0x413e24(0x166)]=void 0x0;class BlocklistingPatterns{constructor(_0x1223dc){const _0x123282=a1_0x413e24;this[_0x123282(0x163)]=[],this['patterns']=[],_0x1223dc&&_0x1223dc[_0x123282(0x164)](_0x2e80d2=>{const _0x5b4401=_0x123282;_0x2e80d2&&(_0x2e80d2[0x0]==='!'?this['inversePatterns'][_0x5b4401(0x167)](new RegExp(_0x2e80d2[_0x5b4401(0x159)](0x1))):this[_0x5b4401(0x15f)][_0x5b4401(0x167)](new RegExp(_0x2e80d2)));});}[a1_0x413e24(0x170)](_0x3324f3){const _0x592cc7=a1_0x413e24,_0x15e6d5=_0x1acf75=>_0x3324f3[_0x592cc7(0x168)](_0x1acf75);return this[_0x592cc7(0x163)][_0x592cc7(0x158)]!==0x0&&!this['inversePatterns']['some'](_0x15e6d5)||this[_0x592cc7(0x15f)][_0x592cc7(0x165)](_0x15e6d5);}}exports[a1_0x413e24(0x166)]=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a2_0x207e(){var _0x32bccf=['search','1458393cGDtCO','20XtSgew','1917837UmzefP','shouldBlock','7uXllSu','DummyBlocklistManager','32021hgccgm','1118598gUPHsT','toString','2utOgYT','805PSFDPz','defineProperty','732zpubVQ','(((.+)+)+)+$','14788GwnPTv','constructor','415760EwMrVJ','__esModule','5413872WzcYWN','value'];a2_0x207e=function(){return _0x32bccf;};return a2_0x207e();}var a2_0x1427c2=a2_0x5e3e;(function(_0x1aaa77,_0x12b3a7){var _0x379bef=a2_0x5e3e,_0x517ff5=_0x1aaa77();while(!![]){try{var _0x30aa97=-parseInt(_0x379bef(0x12c))/0x1+parseInt(_0x379bef(0x125))/0x2*(parseInt(_0x379bef(0x11c))/0x3)+-parseInt(_0x379bef(0x12a))/0x4*(-parseInt(_0x379bef(0x126))/0x5)+parseInt(_0x379bef(0x123))/0x6*(-parseInt(_0x379bef(0x120))/0x7)+-parseInt(_0x379bef(0x12e))/0x8+parseInt(_0x379bef(0x11e))/0x9*(parseInt(_0x379bef(0x11d))/0xa)+-parseInt(_0x379bef(0x122))/0xb*(-parseInt(_0x379bef(0x128))/0xc);if(_0x30aa97===_0x12b3a7)break;else _0x517ff5['push'](_0x517ff5['shift']());}catch(_0xca7d11){_0x517ff5['push'](_0x517ff5['shift']());}}}(a2_0x207e,0x632a2));var a2_0x434a85=(function(){var _0x28ac1e=!![];return function(_0x37d033,_0x19e450){var _0x3a8347=_0x28ac1e?function(){if(_0x19e450){var _0xf35f7f=_0x19e450['apply'](_0x37d033,arguments);return _0x19e450=null,_0xf35f7f;}}:function(){};return _0x28ac1e=![],_0x3a8347;};}()),a2_0x3fdf51=a2_0x434a85(this,function(){var _0x39460e=a2_0x5e3e;return a2_0x3fdf51[_0x39460e(0x124)]()[_0x39460e(0x130)](_0x39460e(0x129))[_0x39460e(0x124)]()[_0x39460e(0x12b)](a2_0x3fdf51)[_0x39460e(0x130)](_0x39460e(0x129));});a2_0x3fdf51();'use strict';Object[a2_0x1427c2(0x127)](exports,a2_0x1427c2(0x12d),{'value':!![]}),exports[a2_0x1427c2(0x121)]=void 0x0;class DummyBlocklistManager{constructor(_0x9cf5e7){var _0x1126f8=a2_0x1427c2;this[_0x1126f8(0x12f)]=_0x9cf5e7;}[a2_0x1427c2(0x11f)](){return this['value'];}}function a2_0x5e3e(_0x4202eb,_0x3c258a){var _0x1741d0=a2_0x207e();return a2_0x5e3e=function(_0x3fdf51,_0x434a85){_0x3fdf51=_0x3fdf51-0x11c;var _0x207e2b=_0x1741d0[_0x3fdf51];return _0x207e2b;},a2_0x5e3e(_0x4202eb,_0x3c258a);}exports[a2_0x1427c2(0x121)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x410914=a3_0x447a;(function(_0x31565a,_0x1a7bc0){const _0x5c7689=a3_0x447a,_0x316757=_0x31565a();while(!![]){try{const _0x1b2e74=-parseInt(_0x5c7689(0x15d))/0x1*(-parseInt(_0x5c7689(0x159))/0x2)+-parseInt(_0x5c7689(0x151))/0x3*(parseInt(_0x5c7689(0x144))/0x4)+parseInt(_0x5c7689(0x155))/0x5+-parseInt(_0x5c7689(0x14d))/0x6+-parseInt(_0x5c7689(0x154))/0x7*(-parseInt(_0x5c7689(0x157))/0x8)+-parseInt(_0x5c7689(0x15e))/0x9*(-parseInt(_0x5c7689(0x143))/0xa)+-parseInt(_0x5c7689(0x158))/0xb;if(_0x1b2e74===_0x1a7bc0)break;else _0x316757['push'](_0x316757['shift']());}catch(_0x56d696){_0x316757['push'](_0x316757['shift']());}}}(a3_0x510a,0x8d510));const a3_0x11c7f8=(function(){let _0x3cbecf=!![];return function(_0x46752c,_0x19a2d2){const _0x129fc1=_0x3cbecf?function(){const _0x3014aa=a3_0x447a;if(_0x19a2d2){const _0x171e63=_0x19a2d2[_0x3014aa(0x15b)](_0x46752c,arguments);return _0x19a2d2=null,_0x171e63;}}:function(){};return _0x3cbecf=![],_0x129fc1;};}()),a3_0x20c9c7=a3_0x11c7f8(this,function(){const _0x529fa1=a3_0x447a;return a3_0x20c9c7[_0x529fa1(0x14f)]()[_0x529fa1(0x14b)](_0x529fa1(0x14c))['toString']()['constructor'](a3_0x20c9c7)[_0x529fa1(0x14b)]('(((.+)+)+)+$');});a3_0x20c9c7();'use strict';Object[a3_0x410914(0x150)](exports,a3_0x410914(0x156),{'value':!![]}),exports[a3_0x410914(0x15c)]=void 0x0;function a3_0x447a(_0x29a169,_0x5d918e){const _0x563ee2=a3_0x510a();return a3_0x447a=function(_0x20c9c7,_0x11c7f8){_0x20c9c7=_0x20c9c7-0x143;let _0x510a1f=_0x563ee2[_0x20c9c7];return _0x510a1f;},a3_0x447a(_0x29a169,_0x5d918e);}const blocklisting_patterns_1=require(a3_0x410914(0x14e)),utils=require(a3_0x410914(0x149));class PatternsBlocklistManager{constructor(_0x6882b9,_0x8ea15,_0xf71abc){const _0x5e3d3e=a3_0x410914;this[_0x5e3d3e(0x15a)]=new blocklisting_patterns_1[(_0x5e3d3e(0x148))](_0x6882b9),this[_0x5e3d3e(0x145)]=new blocklisting_patterns_1[(_0x5e3d3e(0x148))](_0x8ea15),this[_0x5e3d3e(0x14a)]=_0xf71abc;}['shouldBlock'](_0x107ecd){const _0x4a2498=a3_0x410914;_0x107ecd=this['stripWorkingDir'](_0x107ecd);if(this[_0x4a2498(0x145)][_0x4a2498(0x147)](_0x107ecd))return![];return this[_0x4a2498(0x15a)][_0x4a2498(0x147)](_0x107ecd);}[a3_0x410914(0x146)](_0x1b0ad6){const _0x39a9cf=a3_0x410914;if(utils[_0x39a9cf(0x153)](_0x1b0ad6,this[_0x39a9cf(0x14a)]))return utils[_0x39a9cf(0x152)](_0x1b0ad6,this[_0x39a9cf(0x14a)]);return _0x1b0ad6;}}function a3_0x510a(){const _0x523532=['blocklist','apply','PatternsBlocklistManager','370663OkCLiU','9zlvRlb','10303420oGlvSh','18328PbExmW','blocklistExceptions','stripWorkingDir','matches','BlocklistingPatterns','../util/utils','config','search','(((.+)+)+)+$','4130298NFIUbz','./blocklisting-patterns','toString','defineProperty','9wrXCSR','stripCurrentWorkingDirectory','isPathInCurrentWorkingDirectory','48937bTsbrB','4020930YqDmaY','__esModule','568NcuHWJ','15626501dcvuar','2LbmyIt'];a3_0x510a=function(){return _0x523532;};return a3_0x510a();}exports[a3_0x410914(0x15c)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x4469e8=a4_0x1ae2;(function(_0x167cb6,_0x36f565){const _0xe652e6=a4_0x1ae2,_0x239ba9=_0x167cb6();while(!![]){try{const _0x3fe22d=parseInt(_0xe652e6(0x1a6))/0x1*(parseInt(_0xe652e6(0x1ac))/0x2)+-parseInt(_0xe652e6(0x1a5))/0x3+parseInt(_0xe652e6(0x19b))/0x4*(parseInt(_0xe652e6(0x199))/0x5)+parseInt(_0xe652e6(0x198))/0x6*(parseInt(_0xe652e6(0x18e))/0x7)+parseInt(_0xe652e6(0x19d))/0x8*(parseInt(_0xe652e6(0x18b))/0x9)+-parseInt(_0xe652e6(0x1b2))/0xa+-parseInt(_0xe652e6(0x1ae))/0xb*(-parseInt(_0xe652e6(0x1af))/0xc);if(_0x3fe22d===_0x36f565)break;else _0x239ba9['push'](_0x239ba9['shift']());}catch(_0x52db66){_0x239ba9['push'](_0x239ba9['shift']());}}}(a4_0x5ebb,0x9afa9));const a4_0x1e7c8d=(function(){let _0x19ec18=!![];return function(_0xe718cc,_0xe6a52d){const _0x20f063=_0x19ec18?function(){const _0x5f47c0=a4_0x1ae2;if(_0xe6a52d){const _0x4f5dc1=_0xe6a52d[_0x5f47c0(0x190)](_0xe718cc,arguments);return _0xe6a52d=null,_0x4f5dc1;}}:function(){};return _0x19ec18=![],_0x20f063;};}()),a4_0x4f3849=a4_0x1e7c8d(this,function(){const _0x38a5ba=a4_0x1ae2;return a4_0x4f3849[_0x38a5ba(0x18f)]()[_0x38a5ba(0x1a7)](_0x38a5ba(0x19e))[_0x38a5ba(0x18f)]()[_0x38a5ba(0x188)](a4_0x4f3849)[_0x38a5ba(0x1a7)]('(((.+)+)+)+$');});a4_0x4f3849();'use strict';function a4_0x1ae2(_0x43702d,_0x5249d6){const _0x2983f5=a4_0x5ebb();return a4_0x1ae2=function(_0x4f3849,_0x1e7c8d){_0x4f3849=_0x4f3849-0x188;let _0x5ebba4=_0x2983f5[_0x4f3849];return _0x5ebba4;},a4_0x1ae2(_0x43702d,_0x5249d6);}Object[a4_0x4469e8(0x191)](exports,'__esModule',{'value':!![]}),exports[a4_0x4469e8(0x1a8)]=exports['defaultConfig']=void 0x0;const os_1=require('os'),fs_1=require('fs');exports['defaultConfig']={'workingDirectory':process[a4_0x4469e8(0x1b0)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x4469e8(0x18a)],'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_0x4469e8(0x1a2),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x4469e8(0x19c)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x4469e8(0x197),'stdErrThreshold':a4_0x4469e8(0x196),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x4469e8(0x1ab),a4_0x4469e8(0x1a9)],'noCheckCertificate':![],'caPath':a4_0x4469e8(0x192),'metadata':{'registration':{'tags':[a4_0x4469e8(0x189)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x4469e8(0x1ad),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x4b0e3b,_0x142dfc)=>{const _0x45ee02=a4_0x4469e8;var _0x174105;const _0x51aff5=Object['values']((_0x174105=_0x4b0e3b===null||_0x4b0e3b===void 0x0?void 0x0:_0x4b0e3b['errors'])!==null&&_0x174105!==void 0x0?_0x174105:[]);_0x51aff5[_0x45ee02(0x18d)]&&_0x51aff5[_0x45ee02(0x193)](_0x413098=>{const _0x2ec242=_0x45ee02;_0x142dfc[_0x2ec242(0x19a)](_0x413098);});};function a4_0x5ebb(){const _0x82ce0a=['toString','apply','defineProperty','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','forEach','existsSync','exists','none','info','1051074PCEMKw','5eGLFSI','error','3213456uzhPGk','tmpdir','8KUsCNV','(((.+)+)+)+$',',\x20\x20\x20the\x20file\x20','Agent\x20Configuration:\x20','set','app.lightrun.com','agentConfigFile','debug','1710363QduWLI','1542jijRlY','search','logMainConfigParams','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','!!!\x20NOT\x20SET\x20!!!','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','1498AHMKdP','agent.config','30833ErvLYm','84qVgYcl','cwd','lightrunSecret','10844810gvqOPY','constructor','Production','.js','1226457PPzTnA','DOESN\x27T\x20EXIST','length','7plDUoU'];a4_0x5ebb=function(){return _0x82ce0a;};return a4_0x5ebb();}function logMainConfigParams(_0x406745,_0x57e494){const _0x40b72=a4_0x4469e8;let _0x25fcb2=_0x406745[_0x40b72(0x1a3)];_0x25fcb2?_0x25fcb2+=_0x40b72(0x19f)+((0x0,fs_1[_0x40b72(0x194)])(_0x406745['agentConfigFile'])?_0x40b72(0x195):_0x40b72(0x18c)):_0x25fcb2='not\x20set!';const _0x33b1c9={..._0x406745,'lightrunSecret':_0x406745[_0x40b72(0x1b1)]?_0x40b72(0x1a1):_0x40b72(0x1aa),'agentConfigFile':_0x25fcb2};_0x57e494[_0x40b72(0x1a4)](_0x40b72(0x1a0),_0x33b1c9),logConfigErrors(_0x406745,_0x57e494);}exports[a4_0x4469e8(0x1a8)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a5_0x439c(){var _0x2533bd=['maxWatchListVariableSize','apply','40vewxxx','1TzHZqQ','capture','maxStringLength','3058845GPbSQE','toString','16407qFyjvi','constructor','maxVariableSize','maxWatchProperties','17802642XwiSFO','(((.+)+)+)+$','getMaxSnapshotBufferSize','ConfigurationProvider','search','__esModule','944820xaaBNS','356788zvRfWq','getMaxWatchListVariableSize','maxProperties','resolvedDebugAgentConfig','14kenpaz','2442568xvUCrf','3950SMWmbG','2673128nhUkqQ'];a5_0x439c=function(){return _0x2533bd;};return a5_0x439c();}var a5_0x56a894=a5_0x3e62;function a5_0x3e62(_0x5a21fc,_0x283f48){var _0x5e8f26=a5_0x439c();return a5_0x3e62=function(_0x4f9306,_0x281afc){_0x4f9306=_0x4f9306-0xcf;var _0x439cde=_0x5e8f26[_0x4f9306];return _0x439cde;},a5_0x3e62(_0x5a21fc,_0x283f48);}(function(_0x343789,_0x57507e){var _0x302693=a5_0x3e62,_0xe0012a=_0x343789();while(!![]){try{var _0x525b7f=parseInt(_0x302693(0xd7))/0x1*(parseInt(_0x302693(0xe7))/0x2)+parseInt(_0x302693(0xda))/0x3+-parseInt(_0x302693(0xd3))/0x4+-parseInt(_0x302693(0xd6))/0x5*(parseInt(_0x302693(0xe6))/0x6)+parseInt(_0x302693(0xd0))/0x7*(parseInt(_0x302693(0xd1))/0x8)+-parseInt(_0x302693(0xdc))/0x9*(parseInt(_0x302693(0xd2))/0xa)+parseInt(_0x302693(0xe0))/0xb;if(_0x525b7f===_0x57507e)break;else _0xe0012a['push'](_0xe0012a['shift']());}catch(_0x58aedf){_0xe0012a['push'](_0xe0012a['shift']());}}}(a5_0x439c,0xbe2c2));var a5_0x281afc=(function(){var _0x571731=!![];return function(_0x1ca248,_0x2f453f){var _0x501efd=_0x571731?function(){var _0x4f3608=a5_0x3e62;if(_0x2f453f){var _0xe8e720=_0x2f453f[_0x4f3608(0xd5)](_0x1ca248,arguments);return _0x2f453f=null,_0xe8e720;}}:function(){};return _0x571731=![],_0x501efd;};}()),a5_0x4f9306=a5_0x281afc(this,function(){var _0x3ab3e6=a5_0x3e62;return a5_0x4f9306[_0x3ab3e6(0xdb)]()[_0x3ab3e6(0xe4)](_0x3ab3e6(0xe1))['toString']()[_0x3ab3e6(0xdd)](a5_0x4f9306)['search']('(((.+)+)+)+$');});a5_0x4f9306();'use strict';Object['defineProperty'](exports,a5_0x56a894(0xe5),{'value':!![]}),exports[a5_0x56a894(0xe3)]=void 0x0;class ConfigurationProvider{constructor(_0x564987){var _0x1fb030=a5_0x56a894;this[_0x1fb030(0xcf)]=_0x564987;}['getMaxVariableSize'](){var _0x50c997=a5_0x56a894;return this[_0x50c997(0xcf)]['capture'][_0x50c997(0xd9)]||this[_0x50c997(0xcf)]['capture'][_0x50c997(0xde)];}[a5_0x56a894(0xe8)](){var _0x823526=a5_0x56a894;return this[_0x823526(0xcf)][_0x823526(0xd8)][_0x823526(0xd4)];}[a5_0x56a894(0xe2)](){var _0x29f53e=a5_0x56a894;return this[_0x29f53e(0xcf)][_0x29f53e(0xd8)]['maxDataSize']||this['resolvedDebugAgentConfig']['capture']['maxSnapshotBufferSize'];}['getMaxProperties'](_0x1fd222){var _0x57620b=a5_0x56a894;return _0x1fd222?this[_0x57620b(0xcf)][_0x57620b(0xd8)][_0x57620b(0xdf)]:this['resolvedDebugAgentConfig'][_0x57620b(0xd8)][_0x57620b(0xe9)];}}exports[a5_0x56a894(0xe3)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0xf3858f=a6_0x15f8;(function(_0x1870f8,_0x53134d){const _0x787303=a6_0x15f8,_0x4622e7=_0x1870f8();while(!![]){try{const _0x127f58=-parseInt(_0x787303(0x189))/0x1+parseInt(_0x787303(0x1a4))/0x2*(parseInt(_0x787303(0x15a))/0x3)+parseInt(_0x787303(0x17a))/0x4+-parseInt(_0x787303(0x1cf))/0x5+parseInt(_0x787303(0x1b6))/0x6*(parseInt(_0x787303(0x1a7))/0x7)+parseInt(_0x787303(0x179))/0x8*(-parseInt(_0x787303(0x1ca))/0x9)+parseInt(_0x787303(0x147))/0xa;if(_0x127f58===_0x53134d)break;else _0x4622e7['push'](_0x4622e7['shift']());}catch(_0x45e1af){_0x4622e7['push'](_0x4622e7['shift']());}}}(a6_0x23b9,0x55b9e));function a6_0x15f8(_0x406c25,_0x43661a){const _0x3bf951=a6_0x23b9();return a6_0x15f8=function(_0x56e7d2,_0x1d4d73){_0x56e7d2=_0x56e7d2-0x142;let _0x23b933=_0x3bf951[_0x56e7d2];return _0x23b933;},a6_0x15f8(_0x406c25,_0x43661a);}const a6_0x1d4d73=(function(){let _0x582071=!![];return function(_0x389e36,_0x318ea8){const _0x397531=_0x582071?function(){if(_0x318ea8){const _0x404f6b=_0x318ea8['apply'](_0x389e36,arguments);return _0x318ea8=null,_0x404f6b;}}:function(){};return _0x582071=![],_0x397531;};}()),a6_0x56e7d2=a6_0x1d4d73(this,function(){const _0x23de02=a6_0x15f8;return a6_0x56e7d2[_0x23de02(0x178)]()[_0x23de02(0x160)](_0x23de02(0x1b5))[_0x23de02(0x178)]()[_0x23de02(0x150)](a6_0x56e7d2)[_0x23de02(0x160)](_0x23de02(0x1b5));});function a6_0x23b9(){const _0x559ddf=['.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','\x20Error:\x20','size','search','config',',\x20Message:\x20','selfSignedCA','data','Update\x20for\x20breakpoints\x20','error','createGzip','/controller','querystring','Bearer\x20','Getting\x20blocklist','extend','apiEndpoint','axios','floor','/debuggees/','default','deregister','pinnedCerts','enqueueBreakpointUpdate','js-yaml','tls','debuggee','toString','1361480EmKSAc','465304xKLJvu','/compressedLogFile/','finally','@google-cloud/common','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','bind','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','digest','request','unable\x20to\x20register,\x20status\x20','/blacklist?successOnTimeout=true','Successfully\x20sent\x20log\x20file\x20','sendBreakpointLogsToServer','zlib','source','405711WxXkmA','sha256','POST','nextWaitToken','Failed\x20to\x20read\x20pem\x20file\x20\x22','makeRequest','createHash','includes','ascii','assert','number','getJsonStringSizeInBytes','transmissionBulkMaxSize','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','pipeline','status','message','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','/deregister/','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','\x20size\x20is\x20','cancel','noCheckCertificate','sendAppOnlyBreakpointHitsToServer','then','lightrunSecret','catch','1302398VRrabu','Certificate\x20Pinning\x20Failed!','stream','1456021osesYr','unknown\x20error\x20-\x20request\x20response\x20missing','length','debug','ServiceObject','apiUrl','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','clearTransmissionTimeout','\x20for\x20request\x20','Timeout\x20occurred\x20after\x20','transmitBreakpointUpdates','\x20transmitted\x20successfully','/redaction','getBlocklist','(((.+)+)+)+$','6HXazxE','transmissionTimeout','getRedactions','./util/utils','https://','invalid\x20response\x20body\x20from\x20server','reject','uri','warn','Controller','Transmitting\x20breakpoint\x20updates...','Failed\x20to\x20zip\x20','register','addCACert','\x20for\x20request\x20id\x20','\x22\x20-\x20ignoring\x20it','join','context','breakpoint\x20','/breakpoints','18Qbgblf','transmissionBulkMaxNetworkSizeInBytes','should\x20have\x20a\x20registered\x20debuggee','token','response','3214930qyWWIR','transmissionQueue','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','map','createReadStream','lastLogCollectionTime','readFileSync','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','logger','/breakpoints?','\x20size\x20>\x20max\x20network\x20size\x20:\x20','breakpointId:\x20','7646730FhIcgP','/log/','serializedJson','pubkey','https','caPath','defineProperty','WritableStream','application/json','constructor','push','stringify','transmissionHardMaxNetworkSizeLimitInBytes','memory-streams','Getting\x20reductions','Deregister\x20agent\x20before\x20shutdown','load','info','timeout\x20set\x20to\x20','3fHrrGC','\x20seconds','agentLog'];a6_0x23b9=function(){return _0x559ddf;};return a6_0x23b9();}a6_0x56e7d2();'use strict';Object[a6_0xf3858f(0x14d)](exports,'__esModule',{'value':!![]}),exports['Controller']=void 0x0;const common_1=require(a6_0xf3858f(0x17d)),assert=require(a6_0xf3858f(0x192)),qs=require(a6_0xf3858f(0x169)),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0xf3858f(0x187)),stream_1=require(a6_0xf3858f(0x1a6)),memory_streams_1=require(a6_0xf3858f(0x154)),tls_1=require(a6_0xf3858f(0x176)),extend=require(a6_0xf3858f(0x16c)),axios_1=require(a6_0xf3858f(0x16e)),https=require(a6_0xf3858f(0x14b)),utils_1=require(a6_0xf3858f(0x1b9)),yaml=require(a6_0xf3858f(0x175)),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_0xf3858f(0x1ab)]{constructor(_0x39aef9,_0x146315,_0x220bf9){const _0x37ca23=a6_0xf3858f;super({'parent':_0x39aef9,'baseUrl':_0x37ca23(0x168)}),this[_0x37ca23(0x18c)]=null,this[_0x37ca23(0x161)]=_0x146315,this['transmissionQueue']=[],this['logger']=_0x220bf9;if(_0x146315[_0x37ca23(0x14c)])try{this[_0x37ca23(0x163)]=(0x0,fs_1[_0x37ca23(0x1d5)])(_0x146315[_0x37ca23(0x14c)],_0x37ca23(0x191));}catch(_0x531730){_0x220bf9['warn'](_0x37ca23(0x18d)+_0x146315[_0x37ca23(0x14c)]+_0x37ca23(0x1c5));}this['apiUrl']=_0x37ca23(0x1ba)+_0x146315[_0x37ca23(0x16d)]+_0x37ca23(0x170);}[a6_0xf3858f(0x1c2)](_0x2bbc00,_0x6a7c8e){const _0x1bdfb8=a6_0xf3858f,_0x2e646a={'uri':this[_0x1bdfb8(0x1ac)]+'register','method':_0x1bdfb8(0x18b),'json':!![],'body':{'debuggee':_0x2bbc00}};this[_0x1bdfb8(0x18e)](_0x2e646a,(_0x442f3b,_0x7fb4c2,_0x4c6422)=>{const _0x21be0e=_0x1bdfb8;if(!_0x4c6422)_0x6a7c8e(_0x442f3b||new Error(_0x21be0e(0x1a8)));else{if(_0x442f3b){let _0x3dd13b=![];_0x4c6422[_0x21be0e(0x198)]===HTTP_UPGRADE_REQUIRED&&_0x7fb4c2&&(_0x7fb4c2[_0x21be0e(0x199)]!==undefined&&(_0x442f3b[_0x21be0e(0x199)]=_0x7fb4c2[_0x21be0e(0x199)]),_0x2bbc00['id']=_0x7fb4c2[_0x21be0e(0x177)]['id'],_0x3dd13b=!![]),_0x6a7c8e(_0x442f3b,_0x7fb4c2,_0x3dd13b);}else{if(_0x4c6422['status']!==HTTP_SUCCESS)_0x6a7c8e(new Error(_0x21be0e(0x183)+_0x4c6422[_0x21be0e(0x198)]));else!(_0x7fb4c2===null||_0x7fb4c2===void 0x0?void 0x0:_0x7fb4c2['debuggee'])?_0x6a7c8e(new Error(_0x21be0e(0x1bb))):(_0x2bbc00['id']=_0x7fb4c2[_0x21be0e(0x177)]['id'],_0x6a7c8e(null,_0x7fb4c2));}}});}['listBreakpoints'](_0x59906c,_0x3d5b9b,_0x4b251b){const _0x5602bf=a6_0xf3858f,_0x2ba44f=this;assert(_0x59906c['id'],_0x5602bf(0x1cc));const _0x529890={'successOnTimeout':!![]};_0x2ba44f['nextWaitToken']&&(_0x529890['waitToken']=_0x2ba44f[_0x5602bf(0x18c)]);const _0x324dd7=this['apiUrl']+encodeURIComponent(_0x59906c['id'])+_0x5602bf(0x144)+qs[_0x5602bf(0x152)](_0x529890);_0x2ba44f[_0x5602bf(0x18e)]({'uri':_0x324dd7,'json':!![]},(_0x2dfc91,_0x25517b,_0x461a5b)=>{const _0x5cf2ac=_0x5602bf;if(!_0x461a5b){_0x3d5b9b(_0x2dfc91||new Error(_0x5cf2ac(0x1a8)));return;}else{if(!is2xx(_0x461a5b['status'])){_0x3d5b9b(new Error(_0x5cf2ac(0x142)+_0x461a5b['status']),_0x461a5b);return;}else _0x25517b&&(_0x2ba44f[_0x5cf2ac(0x18c)]=_0x25517b[_0x5cf2ac(0x18c)]),_0x3d5b9b(null,_0x461a5b,_0x25517b);}},_0x4b251b);}[a6_0xf3858f(0x174)](_0x3ffce0,_0x2ae4cc){const _0x1ce44c=a6_0xf3858f;assert(_0x3ffce0['id'],_0x1ce44c(0x1cc));try{const _0x5def72=JSON['stringify'](_0x2ae4cc),_0x35af62=(0x0,utils_1[_0x1ce44c(0x194)])(_0x5def72);if(_0x35af62>=this['config'][_0x1ce44c(0x153)]){this[_0x1ce44c(0x143)][_0x1ce44c(0x1be)](_0x1ce44c(0x146)+_0x2ae4cc['id']+_0x1ce44c(0x19d)+_0x35af62+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0x1ce44c(0x161)][_0x1ce44c(0x153)]);return;}this[_0x1ce44c(0x1d0)]['push']({'id':_0x2ae4cc['id'],'serializedJson':_0x5def72,'number':0x0});if(!this['transmissionTimeout']){const _0x36547a=this;this[_0x1ce44c(0x1b7)]=setTimeout(()=>_0x36547a[_0x1ce44c(0x1b1)][_0x1ce44c(0x17f)](_0x36547a)(_0x3ffce0['id']),0x0);}}catch(_0x253530){this['logger'][_0x1ce44c(0x166)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x2ae4cc['id']+'\x20and\x20enqueue\x20to\x20queue',_0x253530);return;}}[a6_0xf3858f(0x1ae)](){const _0x4ef53e=a6_0xf3858f;if(!this[_0x4ef53e(0x1b7)])return;clearTimeout(this['transmissionTimeout']),this[_0x4ef53e(0x1b7)]=null;}[a6_0xf3858f(0x172)](_0xb97261,_0x113f25){const _0x1034a8=a6_0xf3858f,_0x43b153=this[_0x1034a8(0x1ac)]+encodeURIComponent(_0xb97261['id'])+_0x1034a8(0x19b),_0x3b5797={'uri':_0x43b153,'method':_0x1034a8(0x18b),'json':!![]};this[_0x1034a8(0x143)][_0x1034a8(0x158)](_0x1034a8(0x156)),this[_0x1034a8(0x18e)](_0x3b5797,(_0x999148,_0x8ff8cd,_0x5abd85)=>{const _0x2e6a68=_0x1034a8;(!_0x5abd85||Math[_0x2e6a68(0x16f)](_0x5abd85['status']/0x64)!==0x2)&&this[_0x2e6a68(0x143)]['warn'](_0x2e6a68(0x17e)+_0x999148),_0x113f25(_0x999148);});}[a6_0xf3858f(0x186)](_0x28da69,_0x3058e5,_0xe57300){const _0x3849b8=a6_0xf3858f,_0x1ae53e=this['apiUrl']+encodeURIComponent(_0x28da69['id'])+_0x3849b8(0x148),_0x220235={'uri':_0x1ae53e,'method':_0x3849b8(0x18b),'json':!![],'body':_0x3058e5};this[_0x3849b8(0x18e)](_0x220235,(_0x4355e1,_0x10aca6,_0x24b0b4)=>{const _0x2e5e6f=_0x3849b8;(!_0x24b0b4||Math[_0x2e5e6f(0x16f)](_0x24b0b4[_0x2e5e6f(0x198)]/0x64)!==0x2)&&(this[_0x2e5e6f(0x143)][_0x2e5e6f(0x1be)](_0x2e5e6f(0x196)+_0x4355e1),_0xe57300(_0x4355e1));});}[a6_0xf3858f(0x1a0)](_0x564b23,_0x436e14,_0x483ac1){const _0x513be8=a6_0xf3858f,_0x544b1e=this[_0x513be8(0x1ac)]+encodeURIComponent(_0x564b23['id'])+'/appOnlyActionHits/',_0x1af39a={'uri':_0x544b1e,'method':_0x513be8(0x18b),'json':!![],'body':_0x436e14};this[_0x513be8(0x18e)](_0x1af39a,(_0x44d0b0,_0x2971f0,_0x265b16)=>{const _0x4be96f=_0x513be8;(!_0x265b16||Math[_0x4be96f(0x16f)](_0x265b16['status']/0x64)!==0x2)&&(this['logger'][_0x4be96f(0x1be)](_0x4be96f(0x1d1)+_0x44d0b0),_0x483ac1(_0x44d0b0));});}['sendAgentLogsToServer'](_0x26af1b,_0x3522ad,_0x3e8df2){const _0x56a89e=a6_0xf3858f;assert(_0x26af1b['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this[_0x56a89e(0x1d4)]){const _0x24350c=Date['now'](),_0xb39947=this[_0x56a89e(0x1d4)]+this[_0x56a89e(0x161)][_0x56a89e(0x15c)]['collectCooldownMs'];if(_0x24350c<_0xb39947){this[_0x56a89e(0x143)]['info'](_0x56a89e(0x1ad)+((_0xb39947-_0x24350c)/0x3e8+_0x56a89e(0x15b)));return;}}const _0x3e9b3a=(0x0,fs_1['statSync'])(_0x3e8df2)[_0x56a89e(0x15f)],_0x7365e2=Math['max'](0x0,_0x3e9b3a-this[_0x56a89e(0x161)]['agentLog']['maxLogFileBytes']),_0x246ae0=(0x0,fs_1[_0x56a89e(0x1d3)])(_0x3e8df2,{'start':_0x7365e2}),_0x5037d5=(0x0,zlib_1[_0x56a89e(0x167)])(),_0x1889d5=new memory_streams_1[(_0x56a89e(0x14e))](),_0x41b57b=this;_0x41b57b['logger'][_0x56a89e(0x158)]('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x3e8df2+_0x56a89e(0x1c4)+_0x3522ad),(0x0,stream_1[_0x56a89e(0x197)])(_0x246ae0,_0x5037d5,_0x1889d5,_0x3e23c4=>{const _0x9f3ead=_0x56a89e;if(_0x3e23c4)_0x41b57b[_0x9f3ead(0x143)][_0x9f3ead(0x166)](_0x9f3ead(0x1c1)+_0x3e8df2+':\x20'+_0x3e23c4);else{const _0x582751={'uri':this[_0x9f3ead(0x1ac)]+encodeURIComponent(_0x26af1b['id'])+_0x9f3ead(0x17b)+_0x3522ad,'method':'PUT','body':_0x1889d5['toBuffer']()};_0x41b57b[_0x9f3ead(0x18e)](_0x582751,_0x24633c=>{const _0x5e27bb=_0x9f3ead;_0x24633c?_0x41b57b[_0x5e27bb(0x143)][_0x5e27bb(0x166)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x3e8df2+_0x5e27bb(0x1af)+_0x3522ad,_0x24633c):(_0x41b57b[_0x5e27bb(0x143)][_0x5e27bb(0x158)](_0x5e27bb(0x185)+_0x3e8df2+_0x5e27bb(0x1af)+_0x3522ad),_0x41b57b[_0x5e27bb(0x1d4)]=Date['now']());});}});}[a6_0xf3858f(0x1b1)](_0x53c3cf){const _0x529808=a6_0xf3858f;var _0x225ba2;this['logger'][_0x529808(0x1aa)](_0x529808(0x1c0)),this[_0x529808(0x1b7)]=undefined;const _0x1dce5a=[];let _0x1d4390=0x0;while(_0x1dce5a['length']<this[_0x529808(0x161)][_0x529808(0x195)]&&this[_0x529808(0x1d0)]['length']>0x0){const _0x5235b8=this[_0x529808(0x1d0)][0x0],_0x1d48bd=_0x5235b8[_0x529808(0x149)],_0x2b3e09=(0x0,utils_1[_0x529808(0x194)])(_0x1d48bd);_0x1d4390+=_0x2b3e09;if(_0x1d4390<=this['config'][_0x529808(0x1cb)])_0x1dce5a[_0x529808(0x151)](_0x5235b8),this[_0x529808(0x1d0)]['shift']();else{_0x2b3e09>this[_0x529808(0x161)]['transmissionBulkMaxNetworkSizeInBytes']&&_0x1dce5a['length']===0x0&&(this['logger'][_0x529808(0x1aa)](_0x529808(0x1c8)+_0x5235b8['id']+_0x529808(0x145)+this['config'][_0x529808(0x1cb)]+',\x20sending\x20only\x20one'),_0x1dce5a[_0x529808(0x151)](_0x5235b8),this[_0x529808(0x1d0)]['shift']());break;}}if(!_0x1dce5a)return;const _0x167d2b=_0x1dce5a[_0x529808(0x1d2)](_0xf2dd1e=>_0xf2dd1e['id']),_0x29e77d={'uri':this[_0x529808(0x1ac)]+encodeURIComponent(_0x53c3cf)+_0x529808(0x1c9),'json':!![],'method':'PUT','body':'['+_0x1dce5a[_0x529808(0x1d2)](_0x4bf211=>_0x4bf211[_0x529808(0x149)])[_0x529808(0x1c6)](',')+']'},_0x44c9f4=this;try{this['makeRequest'](_0x29e77d,(_0x2661fd,_0x356a29,_0x42d5f3)=>{const _0x342ff8=_0x529808,_0xa7390d=_0x42d5f3===null||_0x42d5f3===void 0x0?void 0x0:_0x42d5f3[_0x342ff8(0x198)];_0x44c9f4['logger'][_0x342ff8(0x1aa)](_0x342ff8(0x165)+_0x167d2b+'\x20finished\x20with\x20status\x20'+_0xa7390d);if(_0x2661fd||!_0xa7390d||Math['floor'](_0xa7390d/0x64)!==0x2){const _0x20eb29=_0xa7390d&&(_0xa7390d>=0x1f4||_0xa7390d===0x198);if(_0x20eb29){_0x44c9f4[_0x342ff8(0x143)][_0x342ff8(0x1be)](_0x342ff8(0x19a)+_0x167d2b+_0x342ff8(0x180)+_0xa7390d+_0x342ff8(0x15e)+_0x2661fd);for(const _0x43d1a5 of _0x1dce5a){_0x43d1a5[_0x342ff8(0x193)]<MAX_FAILED_SEND_ATTEMPTS?_0x44c9f4['transmissionQueue']['push']({..._0x43d1a5,'number':_0x43d1a5['number']+0x1}):_0x44c9f4[_0x342ff8(0x143)][_0x342ff8(0x1be)]('Breakpoint\x20'+_0x43d1a5['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x44c9f4[_0x342ff8(0x143)][_0x342ff8(0x1be)](_0x342ff8(0x19c)+_0x167d2b+_0x342ff8(0x180)+_0xa7390d+'\x20Error:\x20'+_0x2661fd);}else _0x44c9f4[_0x342ff8(0x143)]['info'](_0x342ff8(0x165)+_0x167d2b+_0x342ff8(0x1b2));_0x44c9f4[_0x342ff8(0x1d0)]['length']>0x0&&(_0x44c9f4['transmissionTimeout']=setTimeout(()=>_0x44c9f4[_0x342ff8(0x1b1)][_0x342ff8(0x17f)](_0x44c9f4)(_0x53c3cf),0x0));},0x28);}catch(_0x46db9f){this['logger'][_0x529808(0x1be)](_0x529808(0x19c)+_0x167d2b+_0x529808(0x15d)+_0x46db9f+_0x529808(0x162)+((_0x225ba2=_0x46db9f['data'])===null||_0x225ba2===void 0x0?void 0x0:_0x225ba2[_0x529808(0x199)])),_0x44c9f4[_0x529808(0x1d0)][_0x529808(0x1a9)]>0x0&&(_0x44c9f4[_0x529808(0x1b7)]=setTimeout(()=>_0x44c9f4[_0x529808(0x1b1)][_0x529808(0x17f)](_0x44c9f4)(_0x53c3cf),0x0));}}async[a6_0xf3858f(0x1b4)](_0x384327){const _0x2007af=a6_0xf3858f;this['logger'][_0x2007af(0x158)](_0x2007af(0x16b));const _0x4caf5c=this[_0x2007af(0x1ac)]+encodeURIComponent(_0x384327)+_0x2007af(0x184),{error:_0x174c24,data:_0x3a9c90}=await this['makeRequest']({'uri':_0x4caf5c,'json':!![]});if(_0x174c24)return Promise[_0x2007af(0x1bc)](_0x174c24);return yaml[_0x2007af(0x157)](_0x3a9c90)||{};}['makeRequest'](_0xad017f,_0x548ee7,_0x2bda6f,_0x455a3c){const _0x2ffb2c=a6_0xf3858f,_0x1e9b37={'Content-Type':_0x455a3c?_0x455a3c:_0x2ffb2c(0x14f),'Authorization':_0x2ffb2c(0x16a)+this[_0x2ffb2c(0x161)][_0x2ffb2c(0x1a2)]},_0x529902={'checkServerIdentity':(_0x3616e4,_0xb7488c)=>this['verifyCertificate'](_0x3616e4,_0xb7488c,this[_0x2ffb2c(0x161)])};if(this[_0x2ffb2c(0x163)]){const _0x3eef2f=(0x0,tls_1['createSecureContext'])(_0x529902);_0x3eef2f[_0x2ffb2c(0x1c7)][_0x2ffb2c(0x1c3)](this[_0x2ffb2c(0x163)]),_0x529902['secureContext']=_0x3eef2f;}const _0x3da8f5=axios_1[_0x2ffb2c(0x171)]['CancelToken'][_0x2ffb2c(0x188)](),_0x5e4350=_0x2bda6f?_0x2bda6f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x2ffb2c(0x143)][_0x2ffb2c(0x1aa)](_0x2ffb2c(0x159)+_0x5e4350);const _0x6057c2=setTimeout(()=>{const _0x336d1e=_0x2ffb2c;this[_0x336d1e(0x143)]['warn'](_0x336d1e(0x1b0)+_0x5e4350+'ms'),_0x3da8f5[_0x336d1e(0x19e)]();},_0x5e4350),_0x272be3={'method':_0xad017f['method'],'httpsAgent':new https['Agent'](_0x529902),'url':_0xad017f[_0x2ffb2c(0x1bd)],'data':_0xad017f['body'],'headers':_0x1e9b37,'cancelToken':_0x3da8f5[_0x2ffb2c(0x1cd)]};return extend(!![],_0x272be3,_0xad017f),axios_1['default'][_0x2ffb2c(0x182)](_0x272be3)[_0x2ffb2c(0x1a1)](_0x13c4d2=>{const _0x3f5603=_0x2ffb2c;return _0x548ee7===null||_0x548ee7===void 0x0?void 0x0:_0x548ee7(null,_0x13c4d2[_0x3f5603(0x164)],_0x13c4d2),{'error':null,'data':_0x13c4d2['data'],'res':_0x13c4d2};})[_0x2ffb2c(0x1a3)](_0x19a128=>{const _0x47e0c2=_0x2ffb2c;var _0x429c73,_0x508f22;return _0x548ee7===null||_0x548ee7===void 0x0?void 0x0:_0x548ee7(_0x19a128,(_0x429c73=_0x19a128[_0x47e0c2(0x1ce)])===null||_0x429c73===void 0x0?void 0x0:_0x429c73[_0x47e0c2(0x164)],_0x19a128[_0x47e0c2(0x1ce)]),{'error':_0x19a128,'data':(_0x508f22=_0x19a128[_0x47e0c2(0x1ce)])===null||_0x508f22===void 0x0?void 0x0:_0x508f22[_0x47e0c2(0x164)],'res':_0x19a128[_0x47e0c2(0x1ce)]};})[_0x2ffb2c(0x17c)](()=>clearTimeout(_0x6057c2));}['verifyCertificate'](_0xffc6c2,_0x155631,_0x1b3ebe){const _0x28d738=a6_0xf3858f;if(_0x1b3ebe[_0x28d738(0x19f)])return undefined;const _0x539e81=(0x0,crypto_1[_0x28d738(0x18f)])(_0x28d738(0x18a))['update'](_0x155631[_0x28d738(0x14a)])[_0x28d738(0x181)]('hex');return _0x1b3ebe[_0x28d738(0x173)][_0x28d738(0x190)](_0x539e81)?undefined:new Error(_0x28d738(0x1a5));}async[a6_0xf3858f(0x1b8)](_0x31c535){const _0x1b1954=a6_0xf3858f;this[_0x1b1954(0x143)]['info'](_0x1b1954(0x155));const _0x3a1e6e=this[_0x1b1954(0x1ac)]+encodeURIComponent(_0x31c535)+_0x1b1954(0x1b3),{error:_0x5e33d1,data:_0x2adac0}=await this[_0x1b1954(0x18e)]({'uri':_0x3a1e6e,'json':!![]});if(_0x5e33d1)return Promise[_0x1b1954(0x1bc)](_0x5e33d1);return _0x2adac0;}}exports[a6_0xf3858f(0x1bf)]=Controller;function is2xx(_0x5199d2){const _0x58c382=a6_0xf3858f;return Math[_0x58c382(0x16f)](_0x5199d2/0x64)===0x2;}
|
|
1
|
+
const a6_0x52c3df=a6_0x131b;function a6_0x284d(){const _0x3ece19=['sendBreakpointLogsToServer','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','token','update','473577hVxECU','apiEndpoint','verifyCertificate','join','register','logger','deregister','https','PUT','sendAgentLogsToServer','/controller','timeout\x20set\x20to\x20','transmissionTimeout','6854806rWanKn','CancelToken','clearTransmissionTimeout','423945VNLTpB','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Bearer\x20','method','lastLogCollectionTime','push','createHash','transmissionQueue','context','serializedJson','invalid\x20response\x20body\x20from\x20server','Successfully\x20sent\x20log\x20file\x20','@google-cloud/common','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','statSync','./util/utils','transmitBreakpointUpdates','(((.+)+)+)+$','Timeout\x20occurred\x20after\x20','application/json','maxLogFileBytes','unable\x20to\x20register,\x20status\x20','\x20seconds','pubkey','Getting\x20reductions','https://','Update\x20for\x20breakpoints\x20','Getting\x20blocklist','/blacklist?successOnTimeout=true','POST','transmissionBulkMaxNetworkSizeInBytes','/log/','\x20and\x20enqueue\x20to\x20queue','reject','unknown\x20error\x20-\x20request\x20response\x20missing','selfSignedCA','12520uzDOaq','number','Controller',',\x20Message:\x20','agentLog','9266778ulERlU','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','createGzip','includes','debug','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','\x20for\x20request\x20','waitToken','2830382rRBLiy','__esModule','now','Certificate\x20Pinning\x20Failed!','sendAppOnlyBreakpointHitsToServer','/appOnlyActionHits/','\x20Error:\x20','cancel','then','debuggee','extend','Deregister\x20agent\x20before\x20shutdown','getRedactions','enqueueBreakpointUpdate','finally','data','breakpointId:\x20','toBuffer','floor','Agent','600lvCueA','29764460uGayCV','status','error','getBlocklist','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','map','WritableStream','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','config','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','length','memory-streams','\x20transmitted\x20successfully','warn','source','apiUrl','info','transmissionBulkMaxSize','assert','lightrunSecret','tls','listBreakpoints','Breakpoint\x20','\x20finished\x20with\x20status\x20',',\x20sending\x20only\x20one','makeRequest','breakpoint\x20','16FBdihp','message','response','zlib','readFileSync','ServiceObject','Transmitting\x20breakpoint\x20updates...','max','toString','should\x20have\x20a\x20registered\x20debuggee','/deregister/','nextWaitToken','caPath','search','5lNEZqV','stream','Failed\x20to\x20zip\x20','\x22\x20-\x20ignoring\x20it','default','\x20for\x20request\x20id\x20','/debuggees/','defineProperty','/redaction','sha256'];a6_0x284d=function(){return _0x3ece19;};return a6_0x284d();}(function(_0x21f167,_0xd0fe33){const _0x57e9f5=a6_0x131b,_0x44a172=_0x21f167();while(!![]){try{const _0x1b08e9=parseInt(_0x57e9f5(0x225))/0x1+-parseInt(_0x57e9f5(0x267))/0x2+parseInt(_0x57e9f5(0x1ed))/0x3*(-parseInt(_0x57e9f5(0x25a))/0x4)+-parseInt(_0x57e9f5(0x217))/0x5*(parseInt(_0x57e9f5(0x25f))/0x6)+parseInt(_0x57e9f5(0x232))/0x7+-parseInt(_0x57e9f5(0x209))/0x8*(-parseInt(_0x57e9f5(0x235))/0x9)+parseInt(_0x57e9f5(0x1ee))/0xa;if(_0x1b08e9===_0xd0fe33)break;else _0x44a172['push'](_0x44a172['shift']());}catch(_0x201f4b){_0x44a172['push'](_0x44a172['shift']());}}}(a6_0x284d,0xe4f6d));function a6_0x131b(_0x5392ef,_0x415d13){const _0x14a852=a6_0x284d();return a6_0x131b=function(_0x24c6f1,_0x3d052b){_0x24c6f1=_0x24c6f1-0x1db;let _0x284d6b=_0x14a852[_0x24c6f1];return _0x284d6b;},a6_0x131b(_0x5392ef,_0x415d13);}const a6_0x3d052b=(function(){let _0x77ea39=!![];return function(_0x22a82d,_0x3b3b4c){const _0x4c275b=_0x77ea39?function(){if(_0x3b3b4c){const _0x8876bb=_0x3b3b4c['apply'](_0x22a82d,arguments);return _0x3b3b4c=null,_0x8876bb;}}:function(){};return _0x77ea39=![],_0x4c275b;};}()),a6_0x24c6f1=a6_0x3d052b(this,function(){const _0x8265a5=a6_0x131b;return a6_0x24c6f1['toString']()[_0x8265a5(0x216)](_0x8265a5(0x247))[_0x8265a5(0x211)]()['constructor'](a6_0x24c6f1)['search'](_0x8265a5(0x247));});a6_0x24c6f1();'use strict';Object[a6_0x52c3df(0x21e)](exports,a6_0x52c3df(0x268),{'value':!![]}),exports[a6_0x52c3df(0x25c)]=void 0x0;const common_1=require(a6_0x52c3df(0x242)),assert=require(a6_0x52c3df(0x200)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x52c3df(0x20c)),stream_1=require(a6_0x52c3df(0x218)),memory_streams_1=require(a6_0x52c3df(0x1f9)),tls_1=require(a6_0x52c3df(0x202)),extend=require(a6_0x52c3df(0x1e3)),axios_1=require('axios'),https=require(a6_0x52c3df(0x22c)),utils_1=require(a6_0x52c3df(0x245)),yaml=require('js-yaml'),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_0x52c3df(0x20e)]{constructor(_0x1d76ab,_0x463569,_0x586803){const _0x1b65cf=a6_0x52c3df;super({'parent':_0x1d76ab,'baseUrl':_0x1b65cf(0x22f)}),this[_0x1b65cf(0x214)]=null,this[_0x1b65cf(0x1f6)]=_0x463569,this[_0x1b65cf(0x23d)]=[],this[_0x1b65cf(0x22a)]=_0x586803;if(_0x463569[_0x1b65cf(0x215)])try{this[_0x1b65cf(0x259)]=(0x0,fs_1[_0x1b65cf(0x20d)])(_0x463569[_0x1b65cf(0x215)],'ascii');}catch(_0x1be7ee){_0x586803[_0x1b65cf(0x1fb)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x463569[_0x1b65cf(0x215)]+_0x1b65cf(0x21a));}this[_0x1b65cf(0x1fd)]=_0x1b65cf(0x24f)+_0x463569[_0x1b65cf(0x226)]+_0x1b65cf(0x21d);}['register'](_0x3d2e92,_0x1de670){const _0x2247f1=a6_0x52c3df,_0x201373={'uri':this['apiUrl']+_0x2247f1(0x229),'method':_0x2247f1(0x253),'json':!![],'body':{'debuggee':_0x3d2e92}};this[_0x2247f1(0x207)](_0x201373,(_0x3657c1,_0x26533d,_0x1a60d5)=>{const _0x282c8c=_0x2247f1;if(!_0x1a60d5)_0x1de670(_0x3657c1||new Error(_0x282c8c(0x258)));else{if(_0x3657c1){let _0x4339e8=![];_0x1a60d5['status']===HTTP_UPGRADE_REQUIRED&&_0x26533d&&(_0x26533d['message']!==undefined&&(_0x3657c1[_0x282c8c(0x20a)]=_0x26533d['message']),_0x3d2e92['id']=_0x26533d[_0x282c8c(0x1e2)]['id'],_0x4339e8=!![]),_0x1de670(_0x3657c1,_0x26533d,_0x4339e8);}else{if(_0x1a60d5[_0x282c8c(0x1ef)]!==HTTP_SUCCESS)_0x1de670(new Error(_0x282c8c(0x24b)+_0x1a60d5[_0x282c8c(0x1ef)]));else!(_0x26533d===null||_0x26533d===void 0x0?void 0x0:_0x26533d[_0x282c8c(0x1e2)])?_0x1de670(new Error(_0x282c8c(0x240))):(_0x3d2e92['id']=_0x26533d[_0x282c8c(0x1e2)]['id'],_0x1de670(null,_0x26533d));}}});}[a6_0x52c3df(0x203)](_0x5e02e4,_0x2d2468,_0x484e59){const _0x28166=a6_0x52c3df,_0x136cbd=this;assert(_0x5e02e4['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x54ef58={'successOnTimeout':!![]};_0x136cbd[_0x28166(0x214)]&&(_0x54ef58[_0x28166(0x266)]=_0x136cbd['nextWaitToken']);const _0x1952a1=this[_0x28166(0x1fd)]+encodeURIComponent(_0x5e02e4['id'])+'/breakpoints?'+qs['stringify'](_0x54ef58);_0x136cbd[_0x28166(0x207)]({'uri':_0x1952a1,'json':!![]},(_0xd55ced,_0x213fd9,_0x2c33c1)=>{const _0x588828=_0x28166;if(!_0x2c33c1){_0x2d2468(_0xd55ced||new Error(_0x588828(0x258)));return;}else{if(!is2xx(_0x2c33c1[_0x588828(0x1ef)])){_0x2d2468(new Error(_0x588828(0x1f7)+_0x2c33c1[_0x588828(0x1ef)]),_0x2c33c1);return;}else _0x213fd9&&(_0x136cbd[_0x588828(0x214)]=_0x213fd9[_0x588828(0x214)]),_0x2d2468(null,_0x2c33c1,_0x213fd9);}},_0x484e59);}[a6_0x52c3df(0x1e6)](_0x4b2e04,_0x9282a3){const _0x3c9676=a6_0x52c3df;assert(_0x4b2e04['id'],_0x3c9676(0x212));try{const _0x45f70d=JSON['stringify'](_0x9282a3),_0x1e8f29=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x45f70d);if(_0x1e8f29>=this[_0x3c9676(0x1f6)]['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x3c9676(0x22a)][_0x3c9676(0x1fb)](_0x3c9676(0x1e9)+_0x9282a3['id']+'\x20size\x20is\x20'+_0x1e8f29+_0x3c9676(0x260)+this[_0x3c9676(0x1f6)]['transmissionHardMaxNetworkSizeLimitInBytes']);return;}this['transmissionQueue'][_0x3c9676(0x23b)]({'id':_0x9282a3['id'],'serializedJson':_0x45f70d,'number':0x0});if(!this[_0x3c9676(0x231)]){const _0x3423ec=this;this[_0x3c9676(0x231)]=setTimeout(()=>_0x3423ec['transmitBreakpointUpdates']['bind'](_0x3423ec)(_0x4b2e04['id']),0x0);}}catch(_0x148d8d){this[_0x3c9676(0x22a)][_0x3c9676(0x1f0)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x9282a3['id']+_0x3c9676(0x256),_0x148d8d);return;}}[a6_0x52c3df(0x234)](){const _0x41162a=a6_0x52c3df;if(!this[_0x41162a(0x231)])return;clearTimeout(this[_0x41162a(0x231)]),this[_0x41162a(0x231)]=null;}[a6_0x52c3df(0x22b)](_0x3d2490,_0x305743){const _0x11a226=a6_0x52c3df,_0x40cc52=this[_0x11a226(0x1fd)]+encodeURIComponent(_0x3d2490['id'])+_0x11a226(0x213),_0x4282bd={'uri':_0x40cc52,'method':_0x11a226(0x253),'json':!![]};this[_0x11a226(0x22a)][_0x11a226(0x1fe)](_0x11a226(0x1e4)),this[_0x11a226(0x207)](_0x4282bd,(_0x4cef80,_0x1071a0,_0x328de1)=>{const _0x2bddd8=_0x11a226;(!_0x328de1||Math[_0x2bddd8(0x1eb)](_0x328de1['status']/0x64)!==0x2)&&this[_0x2bddd8(0x22a)]['warn'](_0x2bddd8(0x264)+_0x4cef80),_0x305743(_0x4cef80);});}[a6_0x52c3df(0x221)](_0x1a7615,_0x12409e,_0x26b1cd){const _0x4f8d25=a6_0x52c3df,_0x13fa6c=this[_0x4f8d25(0x1fd)]+encodeURIComponent(_0x1a7615['id'])+_0x4f8d25(0x255),_0x3b6754={'uri':_0x13fa6c,'method':_0x4f8d25(0x253),'json':!![],'body':_0x12409e};this[_0x4f8d25(0x207)](_0x3b6754,(_0x1bca24,_0x43648f,_0x2edf4f)=>{const _0x4a5f21=_0x4f8d25;(!_0x2edf4f||Math['floor'](_0x2edf4f[_0x4a5f21(0x1ef)]/0x64)!==0x2)&&(this[_0x4a5f21(0x22a)]['warn'](_0x4a5f21(0x1f5)+_0x1bca24),_0x26b1cd(_0x1bca24));});}[a6_0x52c3df(0x1dd)](_0x296a2f,_0x2feaad,_0x5e31a2){const _0x2bf2b5=a6_0x52c3df,_0x174871=this[_0x2bf2b5(0x1fd)]+encodeURIComponent(_0x296a2f['id'])+_0x2bf2b5(0x1de),_0x4cbb56={'uri':_0x174871,'method':_0x2bf2b5(0x253),'json':!![],'body':_0x2feaad};this[_0x2bf2b5(0x207)](_0x4cbb56,(_0x4e89e7,_0x22259b,_0x34d341)=>{const _0x18fd3d=_0x2bf2b5;(!_0x34d341||Math[_0x18fd3d(0x1eb)](_0x34d341['status']/0x64)!==0x2)&&(this[_0x18fd3d(0x22a)][_0x18fd3d(0x1fb)](_0x18fd3d(0x1f2)+_0x4e89e7),_0x5e31a2(_0x4e89e7));});}[a6_0x52c3df(0x22e)](_0x52f35d,_0x48b7d5,_0x4595ef){const _0x56ecc5=a6_0x52c3df;assert(_0x52f35d['id'],_0x56ecc5(0x212));if(this[_0x56ecc5(0x23a)]){const _0xdf6e17=Date[_0x56ecc5(0x1db)](),_0x455d2a=this[_0x56ecc5(0x23a)]+this['config'][_0x56ecc5(0x25e)]['collectCooldownMs'];if(_0xdf6e17<_0x455d2a){this['logger']['info'](_0x56ecc5(0x236)+((_0x455d2a-_0xdf6e17)/0x3e8+_0x56ecc5(0x24c)));return;}}const _0x3d7b85=(0x0,fs_1[_0x56ecc5(0x244)])(_0x4595ef)['size'],_0x2af2f3=Math[_0x56ecc5(0x210)](0x0,_0x3d7b85-this[_0x56ecc5(0x1f6)][_0x56ecc5(0x25e)][_0x56ecc5(0x24a)]),_0x357cd2=(0x0,fs_1['createReadStream'])(_0x4595ef,{'start':_0x2af2f3}),_0x569ad3=(0x0,zlib_1[_0x56ecc5(0x261)])(),_0xb32f41=new memory_streams_1[(_0x56ecc5(0x1f4))](),_0x4c5330=this;_0x4c5330[_0x56ecc5(0x22a)][_0x56ecc5(0x1fe)]('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x4595ef+_0x56ecc5(0x21c)+_0x48b7d5),(0x0,stream_1['pipeline'])(_0x357cd2,_0x569ad3,_0xb32f41,_0x2c2797=>{const _0x3562b5=_0x56ecc5;if(_0x2c2797)_0x4c5330['logger']['error'](_0x3562b5(0x219)+_0x4595ef+':\x20'+_0x2c2797);else{const _0x4ceeea={'uri':this[_0x3562b5(0x1fd)]+encodeURIComponent(_0x52f35d['id'])+'/compressedLogFile/'+_0x48b7d5,'method':_0x3562b5(0x22d),'body':_0xb32f41[_0x3562b5(0x1ea)]()};_0x4c5330['makeRequest'](_0x4ceeea,_0x19d65e=>{const _0x53fcad=_0x3562b5;_0x19d65e?_0x4c5330[_0x53fcad(0x22a)][_0x53fcad(0x1f0)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x4595ef+_0x53fcad(0x265)+_0x48b7d5,_0x19d65e):(_0x4c5330[_0x53fcad(0x22a)][_0x53fcad(0x1fe)](_0x53fcad(0x241)+_0x4595ef+'\x20for\x20request\x20'+_0x48b7d5),_0x4c5330[_0x53fcad(0x23a)]=Date[_0x53fcad(0x1db)]());});}});}[a6_0x52c3df(0x246)](_0x5b8427){const _0x2b770d=a6_0x52c3df;var _0x3eaf74;this[_0x2b770d(0x22a)][_0x2b770d(0x263)](_0x2b770d(0x20f)),this[_0x2b770d(0x231)]=undefined;const _0x4ade8b=[];let _0x1235f4=0x0;while(_0x4ade8b[_0x2b770d(0x1f8)]<this[_0x2b770d(0x1f6)][_0x2b770d(0x1ff)]&&this[_0x2b770d(0x23d)][_0x2b770d(0x1f8)]>0x0){const _0x1d7c6c=this[_0x2b770d(0x23d)][0x0],_0x59e6bb=_0x1d7c6c[_0x2b770d(0x23f)],_0x11854a=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x59e6bb);_0x1235f4+=_0x11854a;if(_0x1235f4<=this[_0x2b770d(0x1f6)][_0x2b770d(0x254)])_0x4ade8b[_0x2b770d(0x23b)](_0x1d7c6c),this['transmissionQueue']['shift']();else{_0x11854a>this[_0x2b770d(0x1f6)][_0x2b770d(0x254)]&&_0x4ade8b['length']===0x0&&(this['logger'][_0x2b770d(0x263)](_0x2b770d(0x208)+_0x1d7c6c['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x2b770d(0x1f6)]['transmissionBulkMaxNetworkSizeInBytes']+_0x2b770d(0x206)),_0x4ade8b[_0x2b770d(0x23b)](_0x1d7c6c),this[_0x2b770d(0x23d)]['shift']());break;}}if(!_0x4ade8b)return;const _0x2f9fe8=_0x4ade8b[_0x2b770d(0x1f3)](_0x4f06a3=>_0x4f06a3['id']),_0x3a877c={'uri':this[_0x2b770d(0x1fd)]+encodeURIComponent(_0x5b8427)+'/breakpoints','json':!![],'method':_0x2b770d(0x22d),'body':'['+_0x4ade8b[_0x2b770d(0x1f3)](_0x3ce104=>_0x3ce104[_0x2b770d(0x23f)])[_0x2b770d(0x228)](',')+']'},_0x47034f=this;try{this[_0x2b770d(0x207)](_0x3a877c,(_0x17b172,_0x46fbc1,_0x4dc81a)=>{const _0x4efa1b=_0x2b770d,_0x2f34aa=_0x4dc81a===null||_0x4dc81a===void 0x0?void 0x0:_0x4dc81a[_0x4efa1b(0x1ef)];_0x47034f[_0x4efa1b(0x22a)]['debug'](_0x4efa1b(0x250)+_0x2f9fe8+_0x4efa1b(0x205)+_0x2f34aa);if(_0x17b172||!_0x2f34aa||Math['floor'](_0x2f34aa/0x64)!==0x2){const _0xea54c6=_0x2f34aa&&(_0x2f34aa>=0x1f4||_0x2f34aa===0x198);if(_0xea54c6){_0x47034f['logger'][_0x4efa1b(0x1fb)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x2f9fe8+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x2f34aa+_0x4efa1b(0x1df)+_0x17b172);for(const _0x1f8d0f of _0x4ade8b){_0x1f8d0f[_0x4efa1b(0x25b)]<MAX_FAILED_SEND_ATTEMPTS?_0x47034f[_0x4efa1b(0x23d)]['push']({..._0x1f8d0f,'number':_0x1f8d0f[_0x4efa1b(0x25b)]+0x1}):_0x47034f['logger'][_0x4efa1b(0x1fb)](_0x4efa1b(0x204)+_0x1f8d0f['id']+_0x4efa1b(0x243));}}else _0x47034f[_0x4efa1b(0x22a)][_0x4efa1b(0x1fb)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x2f9fe8+_0x4efa1b(0x222)+_0x2f34aa+_0x4efa1b(0x1df)+_0x17b172);}else _0x47034f[_0x4efa1b(0x22a)]['info']('Update\x20for\x20breakpoints\x20'+_0x2f9fe8+_0x4efa1b(0x1fa));_0x47034f[_0x4efa1b(0x23d)][_0x4efa1b(0x1f8)]>0x0&&(_0x47034f['transmissionTimeout']=setTimeout(()=>_0x47034f[_0x4efa1b(0x246)]['bind'](_0x47034f)(_0x5b8427),0x0));},0x28);}catch(_0x227733){this[_0x2b770d(0x22a)][_0x2b770d(0x1fb)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x2f9fe8+_0x2b770d(0x237)+_0x227733+_0x2b770d(0x25d)+((_0x3eaf74=_0x227733[_0x2b770d(0x1e8)])===null||_0x3eaf74===void 0x0?void 0x0:_0x3eaf74[_0x2b770d(0x20a)])),_0x47034f['transmissionQueue'][_0x2b770d(0x1f8)]>0x0&&(_0x47034f[_0x2b770d(0x231)]=setTimeout(()=>_0x47034f['transmitBreakpointUpdates']['bind'](_0x47034f)(_0x5b8427),0x0));}}async[a6_0x52c3df(0x1f1)](_0x196096){const _0x3c4723=a6_0x52c3df;this[_0x3c4723(0x22a)][_0x3c4723(0x1fe)](_0x3c4723(0x251));const _0xcb3515=this[_0x3c4723(0x1fd)]+encodeURIComponent(_0x196096)+_0x3c4723(0x252),{error:_0x482352,data:_0x28d11f}=await this[_0x3c4723(0x207)]({'uri':_0xcb3515,'json':!![]});if(_0x482352)return Promise[_0x3c4723(0x257)](_0x482352);return yaml['load'](_0x28d11f)||{};}[a6_0x52c3df(0x207)](_0x37abd2,_0x27b886,_0x55d58f,_0x5c73a5){const _0x15aa5f=a6_0x52c3df,_0x68e902={'Content-Type':_0x5c73a5?_0x5c73a5:_0x15aa5f(0x249),'Authorization':_0x15aa5f(0x238)+this[_0x15aa5f(0x1f6)][_0x15aa5f(0x201)]},_0x202be2={'checkServerIdentity':(_0x947668,_0x3dfc96)=>this['verifyCertificate'](_0x947668,_0x3dfc96,this['config'])};if(this[_0x15aa5f(0x259)]){const _0x343523=(0x0,tls_1['createSecureContext'])(_0x202be2);_0x343523[_0x15aa5f(0x23e)]['addCACert'](this[_0x15aa5f(0x259)]),_0x202be2['secureContext']=_0x343523;}const _0x230b1a=axios_1[_0x15aa5f(0x21b)][_0x15aa5f(0x233)][_0x15aa5f(0x1fc)](),_0x2a48b2=_0x55d58f?_0x55d58f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x15aa5f(0x22a)][_0x15aa5f(0x263)](_0x15aa5f(0x230)+_0x2a48b2);const _0x4b0904=setTimeout(()=>{const _0xb78de3=_0x15aa5f;this['logger'][_0xb78de3(0x1fb)](_0xb78de3(0x248)+_0x2a48b2+'ms'),_0x230b1a[_0xb78de3(0x1e0)]();},_0x2a48b2),_0x59b771={'method':_0x37abd2[_0x15aa5f(0x239)],'httpsAgent':new https[(_0x15aa5f(0x1ec))](_0x202be2),'url':_0x37abd2['uri'],'data':_0x37abd2['body'],'headers':_0x68e902,'cancelToken':_0x230b1a[_0x15aa5f(0x223)]};return extend(!![],_0x59b771,_0x37abd2),axios_1[_0x15aa5f(0x21b)]['request'](_0x59b771)[_0x15aa5f(0x1e1)](_0x4459c9=>{const _0xb14916=_0x15aa5f;return _0x27b886===null||_0x27b886===void 0x0?void 0x0:_0x27b886(null,_0x4459c9[_0xb14916(0x1e8)],_0x4459c9),{'error':null,'data':_0x4459c9[_0xb14916(0x1e8)],'res':_0x4459c9};})['catch'](_0x192e8b=>{const _0xa044fb=_0x15aa5f;var _0x34a3fa,_0x3fe45e;return _0x27b886===null||_0x27b886===void 0x0?void 0x0:_0x27b886(_0x192e8b,(_0x34a3fa=_0x192e8b['response'])===null||_0x34a3fa===void 0x0?void 0x0:_0x34a3fa['data'],_0x192e8b['response']),{'error':_0x192e8b,'data':(_0x3fe45e=_0x192e8b[_0xa044fb(0x20b)])===null||_0x3fe45e===void 0x0?void 0x0:_0x3fe45e['data'],'res':_0x192e8b[_0xa044fb(0x20b)]};})[_0x15aa5f(0x1e7)](()=>clearTimeout(_0x4b0904));}[a6_0x52c3df(0x227)](_0x59d1bf,_0x13738b,_0x305642){const _0x4edbba=a6_0x52c3df;if(_0x305642['noCheckCertificate'])return undefined;const _0x43345e=(0x0,crypto_1[_0x4edbba(0x23c)])(_0x4edbba(0x220))[_0x4edbba(0x224)](_0x13738b[_0x4edbba(0x24d)])['digest']('hex');return _0x305642['pinnedCerts'][_0x4edbba(0x262)](_0x43345e)?undefined:new Error(_0x4edbba(0x1dc));}async[a6_0x52c3df(0x1e5)](_0x5f2e4d){const _0x1c5024=a6_0x52c3df;this[_0x1c5024(0x22a)][_0x1c5024(0x1fe)](_0x1c5024(0x24e));const _0x37ae1d=this[_0x1c5024(0x1fd)]+encodeURIComponent(_0x5f2e4d)+_0x1c5024(0x21f),{error:_0x5d86cd,data:_0x4ba504}=await this['makeRequest']({'uri':_0x37ae1d,'json':!![]});if(_0x5d86cd)return Promise[_0x1c5024(0x257)](_0x5d86cd);return _0x4ba504;}}exports[a6_0x52c3df(0x25c)]=Controller;function is2xx(_0x2fed9a){return Math['floor'](_0x2fed9a/0x64)===0x2;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x534155=a7_0x3fd8;(function(_0x1449b3,_0x42cdb1){const _0x36d17e=a7_0x3fd8,_0x33ad6d=_0x1449b3();while(!![]){try{const _0x41d3ba=-parseInt(_0x36d17e(0x118))/0x1+-parseInt(_0x36d17e(0x114))/0x2*(parseInt(_0x36d17e(0x104))/0x3)+parseInt(_0x36d17e(0x117))/0x4*(-parseInt(_0x36d17e(0x10c))/0x5)+-parseInt(_0x36d17e(0xfb))/0x6+-parseInt(_0x36d17e(0xff))/0x7*(parseInt(_0x36d17e(0x10b))/0x8)+-parseInt(_0x36d17e(0x112))/0x9+parseInt(_0x36d17e(0xf5))/0xa;if(_0x41d3ba===_0x42cdb1)break;else _0x33ad6d['push'](_0x33ad6d['shift']());}catch(_0x259e82){_0x33ad6d['push'](_0x33ad6d['shift']());}}}(a7_0x3737,0x83efd));const a7_0x3da516=(function(){let _0x37c897=!![];return function(_0x24b6e5,_0xab3474){const _0x48b078=_0x37c897?function(){const _0x49651a=a7_0x3fd8;if(_0xab3474){const _0x1fddce=_0xab3474[_0x49651a(0x10e)](_0x24b6e5,arguments);return _0xab3474=null,_0x1fddce;}}:function(){};return _0x37c897=![],_0x48b078;};}()),a7_0x2d5f41=a7_0x3da516(this,function(){const _0xc3f51b=a7_0x3fd8;return a7_0x2d5f41[_0xc3f51b(0x111)]()[_0xc3f51b(0xfe)](_0xc3f51b(0x102))[_0xc3f51b(0x111)]()[_0xc3f51b(0x10a)](a7_0x2d5f41)['search'](_0xc3f51b(0x102));});function a7_0x3fd8(_0x34817c,_0x320355){const _0x47703a=a7_0x3737();return a7_0x3fd8=function(_0x2d5f41,_0x3da516){_0x2d5f41=_0x2d5f41-0xf5;let _0x3737fb=_0x47703a[_0x2d5f41];return _0x3737fb;},a7_0x3fd8(_0x34817c,_0x320355);}function a7_0x3737(){const _0x317756=['(((.+)+)+)+$','./createUniquifier','153garDmt','./getPlatform','cwd','createDebuggeeMetadata','versions','minorVersion_','constructor','69848xTXtAo','256375JVzHOb','createDebuggee','apply','node','service','toString','3404673DvflGk','__esModule','28612SIAWjw','minorversion','name','12kMFHbn','948686DmYGrH','37288830qGXcra','string','version','path','../../client/stackdriver/status-message','default','996438BCMZeM','createUniquifier','defineProperty','search','651wDkhHc','serviceContext','sourceContexts'];a7_0x3737=function(){return _0x317756;};return a7_0x3737();}a7_0x2d5f41();'use strict';Object[a7_0x534155(0xfd)](exports,a7_0x534155(0x113),{'value':!![]}),exports[a7_0x534155(0x10d)]=void 0x0;const path=require(a7_0x534155(0xf8)),status_message_1=require(a7_0x534155(0xf9)),debuggee_1=require('../../debuggee'),createDebuggeeMetadata_1=require('./createDebuggeeMetadata'),createUniquifier_1=require(a7_0x534155(0x103)),getPlatform_1=require(a7_0x534155(0x105)),createDebuggee=(_0x55c6f2,_0x1b2a17,_0x21afc3,_0x1654d2,_0x471934,_0x2b3d09,_0x494ebc,_0x5aeccd)=>{const _0x5435f5=a7_0x534155,_0x1a01d9=process[_0x5435f5(0x106)](),_0xac6dab=path['relative'](_0x1a01d9,process['argv'][0x1]),_0x24af56={'main\x20script':_0xac6dab,'process.title':process['title'],'node\x20version':process[_0x5435f5(0x108)][_0x5435f5(0x10f)],'V8\x20version':process[_0x5435f5(0x108)]['v8'],'agent.name':_0x1654d2[_0x5435f5(0x116)],'agent.version':_0x471934,'platform':(0x0,getPlatform_1['getPlatform'])()},_0x1ef65e=_0x1b2a17[_0x5435f5(0x100)];_0x1ef65e&&(typeof _0x1ef65e[_0x5435f5(0x110)]===_0x5435f5(0xf6)&&_0x1ef65e[_0x5435f5(0x110)]!==_0x5435f5(0xfa)&&(_0x24af56['module']=_0x1ef65e['service']),typeof _0x1ef65e[_0x5435f5(0xf7)]===_0x5435f5(0xf6)&&(_0x24af56[_0x5435f5(0xf7)]=_0x1ef65e['version']),typeof _0x1ef65e[_0x5435f5(0x109)]==='string'&&(_0x24af56[_0x5435f5(0x115)]=_0x1ef65e[_0x5435f5(0x109)]));const _0x241559=(0x0,createUniquifier_1[_0x5435f5(0xfc)])(_0x471934,_0x55c6f2,_0x21afc3,_0x24af56),_0x4c0eee=_0x5aeccd?new status_message_1['StatusMessage'](status_message_1['StatusMessage']['UNSPECIFIED'],_0x5aeccd,!![]):undefined,_0x15953d=(0x0,createDebuggeeMetadata_1[_0x5435f5(0x107)])(_0x1b2a17,_0x2b3d09),_0x37134b={'uniquifier':_0x241559,'agentVersion':_0x471934,'labels':{'metadata':JSON['stringify'](_0x15953d)},'statusMessage':_0x4c0eee,'packageInfo':_0x1654d2,..._0x494ebc};return _0x21afc3&&(_0x37134b[_0x5435f5(0x101)]=[_0x21afc3]),new debuggee_1['Debuggee'](_0x37134b);};exports[a7_0x534155(0x10d)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x433a1e=a8_0x1877;(function(_0x53df5b,_0xe0c460){const _0x2148ee=a8_0x1877,_0x5d73d6=_0x53df5b();while(!![]){try{const _0x50e12f=-parseInt(_0x2148ee(0x92))/0x1+parseInt(_0x2148ee(0x84))/0x2*(parseInt(_0x2148ee(0x8e))/0x3)+-parseInt(_0x2148ee(0x7f))/0x4+parseInt(_0x2148ee(0x82))/0x5*(-parseInt(_0x2148ee(0x8f))/0x6)+-parseInt(_0x2148ee(0x85))/0x7+parseInt(_0x2148ee(0x80))/0x8+-parseInt(_0x2148ee(0x7e))/0x9*(-parseInt(_0x2148ee(0x8c))/0xa);if(_0x50e12f===_0xe0c460)break;else _0x5d73d6['push'](_0x5d73d6['shift']());}catch(_0x467011){_0x5d73d6['push'](_0x5d73d6['shift']());}}}(a8_0x4f63,0xdba19));const a8_0x181a8e=(function(){let _0x570487=!![];return function(_0x3230f2,_0x50ae9e){const _0x5b938c=_0x570487?function(){const _0x56279a=a8_0x1877;if(_0x50ae9e){const _0x164122=_0x50ae9e[_0x56279a(0x7b)](_0x3230f2,arguments);return _0x50ae9e=null,_0x164122;}}:function(){};return _0x570487=![],_0x5b938c;};}()),a8_0x2d0fe4=a8_0x181a8e(this,function(){const _0x46c55c=a8_0x1877;return a8_0x2d0fe4[_0x46c55c(0x81)]()['search']('(((.+)+)+)+$')[_0x46c55c(0x81)]()['constructor'](a8_0x2d0fe4)['search'](_0x46c55c(0x8d));});a8_0x2d0fe4();'use strict';Object[a8_0x433a1e(0x7c)](exports,'__esModule',{'value':!![]}),exports[a8_0x433a1e(0x8a)]=void 0x0;const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0x583fde,_0x33f76e)=>{const _0x21bf1c=a8_0x433a1e;var _0x534717,_0x18853d,_0x46e604;let _0x1d4f8b={'registration':{}};if((_0x534717=_0x583fde[_0x21bf1c(0x87)])===null||_0x534717===void 0x0?void 0x0:_0x534717[_0x21bf1c(0x8b)])try{_0x1d4f8b=JSON[_0x21bf1c(0x88)](fs[_0x21bf1c(0x90)](_0x583fde[_0x21bf1c(0x87)][_0x21bf1c(0x8b)],_0x21bf1c(0x91)));}catch(_0x232780){_0x33f76e['warn'](_0x21bf1c(0x89)+_0x583fde[_0x21bf1c(0x87)][_0x21bf1c(0x8b)],_0x232780);}return _0x1d4f8b[_0x21bf1c(0x7d)]=extend(!![],{},(_0x18853d=_0x583fde['metadata'])===null||_0x18853d===void 0x0?void 0x0:_0x18853d[_0x21bf1c(0x7d)],_0x1d4f8b['registration']),((_0x46e604=_0x1d4f8b['registration'])===null||_0x46e604===void 0x0?void 0x0:_0x46e604[_0x21bf1c(0x86)])&&(_0x1d4f8b['registration'][_0x21bf1c(0x86)]=_0x1d4f8b['registration']['tags']['map'](_0x55e1d4=>typeof _0x55e1d4===_0x21bf1c(0x83)?{'name':_0x55e1d4}:_0x55e1d4)),_0x1d4f8b;};function a8_0x1877(_0x44275f,_0x33b7e8){const _0x256ee6=a8_0x4f63();return a8_0x1877=function(_0x2d0fe4,_0x181a8e){_0x2d0fe4=_0x2d0fe4-0x7b;let _0x4f6371=_0x256ee6[_0x2d0fe4];return _0x4f6371;},a8_0x1877(_0x44275f,_0x33b7e8);}exports['createDebuggeeMetadata']=createDebuggeeMetadata;function a8_0x4f63(){const _0xd88e17=['(((.+)+)+)+$','6gJpqcu','12NPwtLk','readFileSync','utf-8','822042prUmKs','apply','defineProperty','registration','437751NXQSau','2559544EwamvZ','9637376GIjatT','toString','2916460SbXMhe','string','1132292UUeavK','173726lUElDg','tags','metadata','parse','Failed\x20to\x20read\x20metadata\x20file\x20','createDebuggeeMetadata','filename','250owMIha'];a8_0x4f63=function(){return _0xd88e17;};return a8_0x4f63();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a9_0x2a0ede=a9_0x346d;function a9_0x346d(_0x169973,_0x158692){const _0x37f764=a9_0x2cd7();return a9_0x346d=function(_0x5d27fd,_0x19012d){_0x5d27fd=_0x5d27fd-0x1f4;let _0x2cd7a7=_0x37f764[_0x5d27fd];return _0x2cd7a7;},a9_0x346d(_0x169973,_0x158692);}(function(_0x132e5f,_0x3c73fc){const _0x5b40c8=a9_0x346d,_0x1ceb58=_0x132e5f();while(!![]){try{const _0x172e15=parseInt(_0x5b40c8(0x202))/0x1*(-parseInt(_0x5b40c8(0x1fb))/0x2)+parseInt(_0x5b40c8(0x1f4))/0x3+-parseInt(_0x5b40c8(0x201))/0x4+-parseInt(_0x5b40c8(0x206))/0x5+-parseInt(_0x5b40c8(0x1f6))/0x6+-parseInt(_0x5b40c8(0x204))/0x7*(parseInt(_0x5b40c8(0x203))/0x8)+parseInt(_0x5b40c8(0x1f9))/0x9;if(_0x172e15===_0x3c73fc)break;else _0x1ceb58['push'](_0x1ceb58['shift']());}catch(_0x4b508f){_0x1ceb58['push'](_0x1ceb58['shift']());}}}(a9_0x2cd7,0x8da19));const a9_0x19012d=(function(){let _0x238c06=!![];return function(_0x1d44c0,_0x31b973){const _0x2071ca=_0x238c06?function(){if(_0x31b973){const _0x32e060=_0x31b973['apply'](_0x1d44c0,arguments);return _0x31b973=null,_0x32e060;}}:function(){};return _0x238c06=![],_0x2071ca;};}()),a9_0x5d27fd=a9_0x19012d(this,function(){const _0x191e9c=a9_0x346d;return a9_0x5d27fd[_0x191e9c(0x1f5)]()[_0x191e9c(0x1fe)]('(((.+)+)+)+$')[_0x191e9c(0x1f5)]()[_0x191e9c(0x1ff)](a9_0x5d27fd)[_0x191e9c(0x1fe)]('(((.+)+)+)+$');});a9_0x5d27fd();'use strict';Object['defineProperty'](exports,a9_0x2a0ede(0x1fc),{'value':!![]}),exports[a9_0x2a0ede(0x205)]=void 0x0;function a9_0x2cd7(){const _0x21d4f6=['createUniquifier','4051145ynxFYh','304074iJyvXf','toString','1122480QozxTb','update','createHash','35285157ZgsQFj','digest','2094270LwcgGk','__esModule','hex','search','constructor','sha1','2998636wZkoYZ','1OBQDfo','110248KUVbjx','329AgtxSw'];a9_0x2cd7=function(){return _0x21d4f6;};return a9_0x2cd7();}const crypto=require('crypto'),createUniquifier=(_0x4cdd34,_0x56d3a1,_0x26c13a,_0x28f558)=>{const _0x589a71=a9_0x2a0ede,_0x116af6=_0x4cdd34+_0x56d3a1+JSON['stringify'](_0x26c13a)+JSON['stringify'](_0x28f558);return crypto[_0x589a71(0x1f8)](_0x589a71(0x200))[_0x589a71(0x1f7)](_0x116af6)[_0x589a71(0x1fa)](_0x589a71(0x1fd));};exports[a9_0x2a0ede(0x205)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x453c93=a10_0xdde9;(function(_0x2429d2,_0x38e11d){const _0x47eec0=a10_0xdde9,_0x51808f=_0x2429d2();while(!![]){try{const _0x546a36=parseInt(_0x47eec0(0x1ee))/0x1+-parseInt(_0x47eec0(0x1f1))/0x2*(parseInt(_0x47eec0(0x1e9))/0x3)+parseInt(_0x47eec0(0x1fa))/0x4*(-parseInt(_0x47eec0(0x1f0))/0x5)+parseInt(_0x47eec0(0x1ed))/0x6+-parseInt(_0x47eec0(0x1f6))/0x7*(-parseInt(_0x47eec0(0x1f8))/0x8)+parseInt(_0x47eec0(0x1ea))/0x9+-parseInt(_0x47eec0(0x1f2))/0xa;if(_0x546a36===_0x38e11d)break;else _0x51808f['push'](_0x51808f['shift']());}catch(_0x5244d3){_0x51808f['push'](_0x51808f['shift']());}}}(a10_0xb841,0x45262));const a10_0x31b51e=(function(){let _0x495583=!![];return function(_0x4de761,_0x5910bc){const _0x43ba68=_0x495583?function(){const _0x32c90a=a10_0xdde9;if(_0x5910bc){const _0x954ea=_0x5910bc[_0x32c90a(0x1eb)](_0x4de761,arguments);return _0x5910bc=null,_0x954ea;}}:function(){};return _0x495583=![],_0x43ba68;};}()),a10_0xcc6419=a10_0x31b51e(this,function(){const _0x3ec0f2=a10_0xdde9;return a10_0xcc6419[_0x3ec0f2(0x1f3)]()[_0x3ec0f2(0x1f9)](_0x3ec0f2(0x1f4))[_0x3ec0f2(0x1f3)]()[_0x3ec0f2(0x1ef)](a10_0xcc6419)['search'](_0x3ec0f2(0x1f4));});a10_0xcc6419();'use strict';function a10_0xb841(){const _0x3dfe53=['__esModule','49JpMLkZ','defineProperty','599656uvqqCm','search','4tZrNpH','delimit','length','65715GgtQCC','2221344BTGFWE','apply','push','1262004SudFXc','425830EWdsYw','constructor','1661065poJNjl','38aiLPuk','3760370lYBRey','toString','(((.+)+)+)+$'];a10_0xb841=function(){return _0x3dfe53;};return a10_0xb841();}Object[a10_0x453c93(0x1f7)](exports,a10_0x453c93(0x1f5),{'value':!![]}),exports[a10_0x453c93(0x1fb)]=void 0x0;function a10_0xdde9(_0x323649,_0x23fd07){const _0x4170aa=a10_0xb841();return a10_0xdde9=function(_0xcc6419,_0x31b51e){_0xcc6419=_0xcc6419-0x1e8;let _0xb8413d=_0x4170aa[_0xcc6419];return _0xb8413d;},a10_0xdde9(_0x323649,_0x23fd07);}const delimit=(_0x5d9027,_0x44a289)=>{const _0x5cf975=a10_0x453c93,_0x2086bf=_0x5d9027['split'](_0x44a289),_0x36ffeb=[];_0x36ffeb['push'](_0x2086bf[0x0]);for(let _0x55bd59=0x1;_0x55bd59<_0x2086bf[_0x5cf975(0x1e8)];_0x55bd59++){_0x36ffeb[_0x5cf975(0x1ec)]({'v':_0x44a289},_0x2086bf[_0x55bd59]);}return _0x36ffeb;};exports[a10_0x453c93(0x1fb)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x4df826=a11_0x522e;(function(_0x35f843,_0xee6e93){const _0x9a0be8=a11_0x522e,_0x38e9ef=_0x35f843();while(!![]){try{const _0x5b2fe4=-parseInt(_0x9a0be8(0xdd))/0x1*(parseInt(_0x9a0be8(0xd2))/0x2)+parseInt(_0x9a0be8(0xdb))/0x3*(parseInt(_0x9a0be8(0xd1))/0x4)+-parseInt(_0x9a0be8(0xe1))/0x5+-parseInt(_0x9a0be8(0xe2))/0x6*(parseInt(_0x9a0be8(0xdf))/0x7)+parseInt(_0x9a0be8(0xd4))/0x8+-parseInt(_0x9a0be8(0xd8))/0x9*(-parseInt(_0x9a0be8(0xd9))/0xa)+-parseInt(_0x9a0be8(0xd3))/0xb*(-parseInt(_0x9a0be8(0xd0))/0xc);if(_0x5b2fe4===_0xee6e93)break;else _0x38e9ef['push'](_0x38e9ef['shift']());}catch(_0x37d660){_0x38e9ef['push'](_0x38e9ef['shift']());}}}(a11_0x4b6f,0x27500));const a11_0x146393=(function(){let _0x46e763=!![];return function(_0xa771bf,_0x130334){const _0x5768fb=_0x46e763?function(){const _0x3c7015=a11_0x522e;if(_0x130334){const _0x2246e6=_0x130334[_0x3c7015(0xe6)](_0xa771bf,arguments);return _0x130334=null,_0x2246e6;}}:function(){};return _0x46e763=![],_0x5768fb;};}()),a11_0x346c6f=a11_0x146393(this,function(){const _0x2e2a7d=a11_0x522e;return a11_0x346c6f[_0x2e2a7d(0xe3)]()[_0x2e2a7d(0xd7)]('(((.+)+)+)+$')[_0x2e2a7d(0xe3)]()[_0x2e2a7d(0xe4)](a11_0x346c6f)[_0x2e2a7d(0xd7)](_0x2e2a7d(0xda));});a11_0x346c6f();'use strict';function a11_0x522e(_0x4f9331,_0x1f273f){const _0x363fdf=a11_0x4b6f();return a11_0x522e=function(_0x346c6f,_0x146393){_0x346c6f=_0x346c6f-0xd0;let _0x4b6fd5=_0x363fdf[_0x346c6f];return _0x4b6fd5;},a11_0x522e(_0x4f9331,_0x1f273f);}Object[a11_0x4df826(0xe5)](exports,a11_0x4df826(0xdc),{'value':!![]}),exports[a11_0x4df826(0xde)]=void 0x0;function a11_0x4b6f(){const _0x52b9bf=['246940cKXAoi','4SwTYzd','575179KQzGQD','637504yAveHV','length','substring','search','125739MReNYh','120UnySWF','(((.+)+)+)+$','6uBDNSD','__esModule','112909yIYPsI','format','7MoakCE','tokenize','742895yTNAVJ','1208472QCFTao','toString','constructor','defineProperty','apply','84lmVtVs'];a11_0x4b6f=function(){return _0x52b9bf;};return a11_0x4b6f();}const tokenize_1=require('./tokenize'),format=(_0x59c42d,_0x36a727)=>{const _0x4d07fc=a11_0x4df826,_0x9c41e=(0x0,tokenize_1[_0x4d07fc(0xe0)])(_0x59c42d,_0x36a727[_0x4d07fc(0xd5)]);for(let _0x1e3c95=0x0;_0x1e3c95<_0x9c41e[_0x4d07fc(0xd5)];_0x1e3c95++){if(!_0x9c41e[_0x1e3c95]['v'])continue;if(_0x9c41e[_0x1e3c95]['v']==='$$'){_0x9c41e[_0x1e3c95]='$';continue;}for(let _0x5878eb=0x0;_0x5878eb<_0x36a727[_0x4d07fc(0xd5)];_0x5878eb++){if(_0x9c41e[_0x1e3c95]['v']==='$'+_0x5878eb){let _0x47f578=_0x36a727[_0x5878eb];/^".*"$/['test'](_0x47f578)&&(_0x47f578=_0x47f578[_0x4d07fc(0xd6)](0x1,_0x47f578[_0x4d07fc(0xd5)]-0x1));_0x9c41e[_0x1e3c95]=_0x47f578;break;}}}return _0x9c41e['join']('');};exports[a11_0x4df826(0xde)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a12_0x301953=a12_0x2ad1;(function(_0x41326b,_0x31d0bc){const _0x502982=a12_0x2ad1,_0x154c10=_0x41326b();while(!![]){try{const _0x2df614=-parseInt(_0x502982(0x14d))/0x1*(-parseInt(_0x502982(0x13f))/0x2)+parseInt(_0x502982(0x130))/0x3+parseInt(_0x502982(0x147))/0x4*(parseInt(_0x502982(0x140))/0x5)+-parseInt(_0x502982(0x152))/0x6+-parseInt(_0x502982(0x151))/0x7*(parseInt(_0x502982(0x132))/0x8)+-parseInt(_0x502982(0x141))/0x9*(-parseInt(_0x502982(0x139))/0xa)+-parseInt(_0x502982(0x14b))/0xb*(parseInt(_0x502982(0x13e))/0xc);if(_0x2df614===_0x31d0bc)break;else _0x154c10['push'](_0x154c10['shift']());}catch(_0x50322c){_0x154c10['push'](_0x154c10['shift']());}}}(a12_0x112e,0x936dc));const a12_0x4b777f=(function(){let _0x4944d7=!![];return function(_0x3e6715,_0x1b712c){const _0x4f3ce5=_0x4944d7?function(){if(_0x1b712c){const _0xe3e1ae=_0x1b712c['apply'](_0x3e6715,arguments);return _0x1b712c=null,_0xe3e1ae;}}:function(){};return _0x4944d7=![],_0x4f3ce5;};}()),a12_0x568b83=a12_0x4b777f(this,function(){const _0x23784b=a12_0x2ad1;return a12_0x568b83[_0x23784b(0x150)]()['search'](_0x23784b(0x133))[_0x23784b(0x150)]()[_0x23784b(0x137)](a12_0x568b83)['search'](_0x23784b(0x133));});a12_0x568b83();function a12_0x112e(){const _0xd28382=['3111212UEaosI','fetch_breakpoints_once','ignore_quota','dynamic_log_quota_recovery_ms','42999PqgjJg','collect_log_cooldown_ms','2400LciUln','max_watchlist_variable_size','breakpoint_expiration_sec','toString','5687689PnQaWG','4034304fblPds','apiEndpoint','getBoolean','\x20in\x20config.\x20Expected\x20float,\x20value:\x20','trim','existsSync','max_snapshot_buffer_size','max_dynamic_log_rate','getAgentConfig','agent_log_max_file_size_mb','max_variable_size','java-properties','isNaN','1516887QlbPcb','extra_paths','8QDEYKn','(((.+)+)+)+$','getFloat','map','max_condition_cost','constructor','getFirst','60ZEGfTy','get','max_log_file_bytes','\x20in\x20config.\x20Expected\x20int,\x20value:\x20','Wrong\x20value\x20type\x20for\x20','1500SNFQvk','676UjWHKH','5wwCrRf','724158WoClkG','noCheckCertificate','agent_log_target_dir','agent_log_level','split','pinned_certs'];a12_0x112e=function(){return _0xd28382;};return a12_0x112e();}function a12_0x2ad1(_0x1f604d,_0x5dd08d){const _0x406812=a12_0x112e();return a12_0x2ad1=function(_0x568b83,_0x4b777f){_0x568b83=_0x568b83-0x130;let _0x112e9a=_0x406812[_0x568b83];return _0x112e9a;},a12_0x2ad1(_0x1f604d,_0x5dd08d);}'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['getAgentConfig']=void 0x0;const properties=require(a12_0x301953(0x15d)),fs=require('fs'),getInt=(_0x2317cc,_0x3da943,_0xaf41e5)=>{const _0x30427f=a12_0x301953,_0x22389b=_0x2317cc['getInt'](_0x3da943);return Number[_0x30427f(0x15e)](_0x22389b)&&(_0xaf41e5[_0x3da943]=_0x30427f(0x13d)+_0x3da943+_0x30427f(0x13c)+_0x2317cc['get'](_0x3da943)),_0x22389b;},getFloat=(_0x44d368,_0x2c30f6,_0xd890ad)=>{const _0x2da1bd=a12_0x301953,_0x1baaf9=_0x44d368[_0x2da1bd(0x134)](_0x2c30f6);return Number['isNaN'](_0x1baaf9)&&(_0xd890ad[_0x2c30f6]=_0x2da1bd(0x13d)+_0x2c30f6+_0x2da1bd(0x155)+_0x44d368[_0x2da1bd(0x13a)](_0x2c30f6)),_0x1baaf9;},getAgentConfig=_0x356e3b=>{const _0x97f140=a12_0x301953;var _0x1d5539,_0x5f162c,_0x47ae7e;if(fs[_0x97f140(0x157)](_0x356e3b)){const _0x49f0e5=properties['of'](_0x356e3b),_0x5617fd={};return{'lightrunSecret':_0x49f0e5[_0x97f140(0x138)]('com.lightrun.secret'),'apiEndpoint':_0x49f0e5[_0x97f140(0x138)](_0x97f140(0x153)),'breakpointExpirationSec':getInt(_0x49f0e5,_0x97f140(0x14f),_0x5617fd),'transmissionBulkMaxSize':getInt(_0x49f0e5,'transmission_bulk_max_size',_0x5617fd),'noCheckCertificate':_0x49f0e5[_0x97f140(0x154)](_0x97f140(0x142)),'pinnedCerts':(_0x1d5539=_0x49f0e5['getFirst'](_0x97f140(0x146)))===null||_0x1d5539===void 0x0?void 0x0:_0x1d5539[_0x97f140(0x145)](','),'metadata':{'filename':_0x49f0e5[_0x97f140(0x138)]('agent_regmetadata_file')},'capture':{'maxFrames':getInt(_0x49f0e5,'max_snapshot_frame_count',_0x5617fd),'maxDataSize':getInt(_0x49f0e5,_0x97f140(0x158),_0x5617fd),'maxSnapshotBufferSize':getInt(_0x49f0e5,'max_snapshot_buffer_size',_0x5617fd),'maxVariableSize':getInt(_0x49f0e5,_0x97f140(0x15c),_0x5617fd),'maxWatchListVariableSize':getInt(_0x49f0e5,_0x97f140(0x14e),_0x5617fd)},'agentLog':{'collectCooldownMs':getInt(_0x49f0e5,_0x97f140(0x14c),_0x5617fd),'agentLogTargetDir':_0x49f0e5[_0x97f140(0x138)](_0x97f140(0x143)),'agentLogLevel':_0x49f0e5[_0x97f140(0x138)](_0x97f140(0x144)),'agentLogMaxFileCount':getInt(_0x49f0e5,'agent_log_max_file_count',_0x5617fd),'agentLogMaxFileSizeMb':getInt(_0x49f0e5,_0x97f140(0x15b),_0x5617fd),'maxLogFileBytes':getInt(_0x49f0e5,_0x97f140(0x13b),_0x5617fd)},'quota':{'ignoreQuota':_0x49f0e5[_0x97f140(0x154)](_0x97f140(0x149)),'maxCPUCost':getFloat(_0x49f0e5,'max_log_cpu_cost',_0x5617fd),'maxConditionCost':_0x49f0e5[_0x97f140(0x134)](_0x97f140(0x136)),'maxDynamicLogRate':getInt(_0x49f0e5,_0x97f140(0x159),_0x5617fd),'maxDynamicLogByteRate':getInt(_0x49f0e5,'max_dynamic_log_bytes_rate',_0x5617fd),'quotaRecoverySeconds':getInt(_0x49f0e5,_0x97f140(0x14a),_0x5617fd)&&getInt(_0x49f0e5,_0x97f140(0x14a),_0x5617fd)/0x3e8},'fetchBreakpointsOnce':_0x49f0e5['getBoolean'](_0x97f140(0x148)),'extraPaths':(_0x47ae7e=(_0x5f162c=_0x49f0e5['getFirst'](_0x97f140(0x131)))===null||_0x5f162c===void 0x0?void 0x0:_0x5f162c['split'](','))===null||_0x47ae7e===void 0x0?void 0x0:_0x47ae7e[_0x97f140(0x135)](_0x36cb41=>_0x36cb41[_0x97f140(0x156)]()),'errors':_0x5617fd};}return;};exports[a12_0x301953(0x15a)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a13_0x7476(_0x3660a2,_0x50c8d5){const _0x260a19=a13_0x210f();return a13_0x7476=function(_0x48e86f,_0x5017d0){_0x48e86f=_0x48e86f-0xd8;let _0x210f5c=_0x260a19[_0x48e86f];return _0x210f5c;},a13_0x7476(_0x3660a2,_0x50c8d5);}const a13_0x405241=a13_0x7476;(function(_0x2810ae,_0x55b74a){const _0x372b27=a13_0x7476,_0x270447=_0x2810ae();while(!![]){try{const _0x511472=parseInt(_0x372b27(0xe3))/0x1*(-parseInt(_0x372b27(0xe1))/0x2)+-parseInt(_0x372b27(0xec))/0x3*(-parseInt(_0x372b27(0xea))/0x4)+parseInt(_0x372b27(0xd9))/0x5+-parseInt(_0x372b27(0xe0))/0x6+parseInt(_0x372b27(0xdd))/0x7*(-parseInt(_0x372b27(0xe6))/0x8)+-parseInt(_0x372b27(0xeb))/0x9*(-parseInt(_0x372b27(0xda))/0xa)+parseInt(_0x372b27(0xde))/0xb;if(_0x511472===_0x55b74a)break;else _0x270447['push'](_0x270447['shift']());}catch(_0x164ade){_0x270447['push'](_0x270447['shift']());}}}(a13_0x210f,0xb9af8));Object[a13_0x405241(0xe7)](exports,a13_0x405241(0xe8),{'value':!![]}),exports[a13_0x405241(0xdf)]=exports['Platforms']=void 0x0;function a13_0x210f(){const _0x1ded57=['(((.+)+)+)+$','840bUscLt','2495306euNKiU','getPlatform','5209590rHwtue','4YTxZOi','default','297083lLicsj','CLOUD_FUNCTION','cloud_function','91624duHQaT','defineProperty','__esModule','toString','3924468DZTDhF','1953PSYImr','3NVDiLV','Platforms','search','DEFAULT','5086525JctpFB','63230cQHKPV','env'];a13_0x210f=function(){return _0x1ded57;};return a13_0x210f();}var Platforms;(function(_0x34a30e){const _0x7e5045=a13_0x405241,_0x52d182=(function(){let _0x3092d5=!![];return function(_0x28e722,_0x25f790){const _0x3a0702=_0x3092d5?function(){if(_0x25f790){const _0x2ae011=_0x25f790['apply'](_0x28e722,arguments);return _0x25f790=null,_0x2ae011;}}:function(){};return _0x3092d5=![],_0x3a0702;};}()),_0x1bc95a=_0x52d182(this,function(){const _0x40bfe5=a13_0x7476;return _0x1bc95a[_0x40bfe5(0xe9)]()['search']('(((.+)+)+)+$')[_0x40bfe5(0xe9)]()['constructor'](_0x1bc95a)[_0x40bfe5(0xee)](_0x40bfe5(0xdc));});_0x1bc95a(),_0x34a30e[_0x7e5045(0xe4)]=_0x7e5045(0xe5),_0x34a30e['DEFAULT']=_0x7e5045(0xe2);}(Platforms=exports[a13_0x405241(0xed)]||(exports[a13_0x405241(0xed)]={})));const getPlatform=()=>{const _0x167685=a13_0x405241,{FUNCTION_NAME:_0x171e48,FUNCTION_TARGET:_0x199303}=process[_0x167685(0xdb)];if(_0x171e48||_0x199303)return Platforms[_0x167685(0xe4)];return Platforms[_0x167685(0xd8)];};exports['getPlatform']=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x39c5cd=a14_0xf6f3;(function(_0x508f7a,_0x571915){const _0x348cbe=a14_0xf6f3,_0x42dcfb=_0x508f7a();while(!![]){try{const _0x344c4e=parseInt(_0x348cbe(0x19e))/0x1*(-parseInt(_0x348cbe(0x19d))/0x2)+-parseInt(_0x348cbe(0x1a8))/0x3+-parseInt(_0x348cbe(0x19a))/0x4*(parseInt(_0x348cbe(0x1a9))/0x5)+-parseInt(_0x348cbe(0x19b))/0x6+parseInt(_0x348cbe(0x1a7))/0x7+parseInt(_0x348cbe(0x1aa))/0x8+-parseInt(_0x348cbe(0x19f))/0x9*(-parseInt(_0x348cbe(0x1a6))/0xa);if(_0x344c4e===_0x571915)break;else _0x42dcfb['push'](_0x42dcfb['shift']());}catch(_0x52a703){_0x42dcfb['push'](_0x42dcfb['shift']());}}}(a14_0x1963,0x1bc4a));const a14_0x5c3d6a=(function(){let _0x216622=!![];return function(_0x349f2c,_0x385561){const _0x4c2d2d=_0x216622?function(){const _0x19f6e8=a14_0xf6f3;if(_0x385561){const _0x4e631d=_0x385561[_0x19f6e8(0x1a3)](_0x349f2c,arguments);return _0x385561=null,_0x4e631d;}}:function(){};return _0x216622=![],_0x4c2d2d;};}()),a14_0x47df64=a14_0x5c3d6a(this,function(){const _0x5be20d=a14_0xf6f3;return a14_0x47df64[_0x5be20d(0x19c)]()[_0x5be20d(0x1a2)](_0x5be20d(0x1a0))[_0x5be20d(0x19c)]()['constructor'](a14_0x47df64)[_0x5be20d(0x1a2)](_0x5be20d(0x1a0));});function a14_0xf6f3(_0x3f3841,_0x22b0fb){const _0x3c157a=a14_0x1963();return a14_0xf6f3=function(_0x47df64,_0x5c3d6a){_0x47df64=_0x47df64-0x19a;let _0x1963ab=_0x3c157a[_0x47df64];return _0x1963ab;},a14_0xf6f3(_0x3f3841,_0x22b0fb);}a14_0x47df64();'use strict';Object['defineProperty'](exports,a14_0x39c5cd(0x1a1),{'value':!![]}),exports[a14_0x39c5cd(0x1a4)]=void 0x0;function a14_0x1963(){const _0x2fcb19=['1760nsEXLj','590360pbaTfU','1588aoAkem','448566uaZwBw','toString','140EkQKos','2866IWuMzV','314298szmJZs','(((.+)+)+)+$','__esModule','search','apply','mapSubtract','push','110jVPZZi','1391579VXPMnz','383613KvhMqX'];a14_0x1963=function(){return _0x2fcb19;};return a14_0x1963();}const mapSubtract=(_0x3986a4,_0x1d4811)=>{const _0x2b2369=a14_0x39c5cd,_0x5ad5c3=[];for(const _0x1806dd in _0x3986a4){!_0x1d4811[_0x1806dd]&&_0x5ad5c3[_0x2b2369(0x1a5)](_0x3986a4[_0x1806dd]);}return _0x5ad5c3;};exports[a14_0x39c5cd(0x1a4)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x362d93=a15_0x365a;(function(_0x5652b6,_0xf7f815){const _0x3ecec4=a15_0x365a,_0x347455=_0x5652b6();while(!![]){try{const _0x1dad32=parseInt(_0x3ecec4(0x15b))/0x1+parseInt(_0x3ecec4(0x167))/0x2+-parseInt(_0x3ecec4(0x181))/0x3*(-parseInt(_0x3ecec4(0x159))/0x4)+-parseInt(_0x3ecec4(0x178))/0x5*(-parseInt(_0x3ecec4(0x15a))/0x6)+-parseInt(_0x3ecec4(0x18f))/0x7+parseInt(_0x3ecec4(0x182))/0x8+parseInt(_0x3ecec4(0x184))/0x9*(-parseInt(_0x3ecec4(0x18c))/0xa);if(_0x1dad32===_0xf7f815)break;else _0x347455['push'](_0x347455['shift']());}catch(_0x37f79a){_0x347455['push'](_0x347455['shift']());}}}(a15_0x4b67,0x33001));const a15_0x24c1f8=(function(){let _0x5ec6d6=!![];return function(_0xf46701,_0x43fce7){const _0x5588df=_0x5ec6d6?function(){if(_0x43fce7){const _0x15c1ab=_0x43fce7['apply'](_0xf46701,arguments);return _0x43fce7=null,_0x15c1ab;}}:function(){};return _0x5ec6d6=![],_0x5588df;};}()),a15_0x4a4ed2=a15_0x24c1f8(this,function(){const _0x50e2a5=a15_0x365a;return a15_0x4a4ed2['toString']()[_0x50e2a5(0x161)](_0x50e2a5(0x172))[_0x50e2a5(0x187)]()[_0x50e2a5(0x15d)](a15_0x4a4ed2)[_0x50e2a5(0x161)](_0x50e2a5(0x172));});a15_0x4a4ed2();'use strict';Object['defineProperty'](exports,a15_0x362d93(0x169),{'value':!![]}),exports[a15_0x362d93(0x168)]=void 0x0;const extend=require(a15_0x362d93(0x180)),config_1=require(a15_0x362d93(0x17a)),utils_1=require(a15_0x362d93(0x15e)),getAgentConfig_1=require(a15_0x362d93(0x18e)),normalizeConfig=_0x374dea=>{const _0x25c394=a15_0x362d93,_0x1331aa={'serviceContext':{'service':process[_0x25c394(0x15c)][_0x25c394(0x17f)]||process[_0x25c394(0x15c)][_0x25c394(0x189)]||process[_0x25c394(0x15c)]['K_SERVICE'],'version':process['env'][_0x25c394(0x16a)]||process['env'][_0x25c394(0x171)]||process['env'][_0x25c394(0x17b)],'minorVersion_':process['env'][_0x25c394(0x15f)]||process['env'][_0x25c394(0x173)]},'metadata':{'filename':process[_0x25c394(0x15c)]['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process['env'][_0x25c394(0x18b)],'apiEndpoint':process[_0x25c394(0x15c)][_0x25c394(0x17e)],'noCheckCertificate':(0x0,utils_1[_0x25c394(0x163)])(process[_0x25c394(0x15c)][_0x25c394(0x183)]),'fetchBreakpointsOnce':(0x0,utils_1['getBooleanValue'])(process[_0x25c394(0x15c)][_0x25c394(0x160)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x25c394(0x15c)][_0x25c394(0x176)]),'lightrunInitWaitTimeMs':process[_0x25c394(0x15c)][_0x25c394(0x174)],'agentLog':(_0x374dea===null||_0x374dea===void 0x0?void 0x0:_0x374dea[_0x25c394(0x17c)])||{}};process['env'][_0x25c394(0x16d)]!==undefined&&(_0x1331aa[_0x25c394(0x17c)][_0x25c394(0x18a)]=process[_0x25c394(0x15c)][_0x25c394(0x16d)]);process[_0x25c394(0x15c)]['AGENT_LOG_LEVEL']!==undefined&&(_0x1331aa[_0x25c394(0x17c)][_0x25c394(0x17d)]=process[_0x25c394(0x15c)][_0x25c394(0x185)]);process[_0x25c394(0x15c)][_0x25c394(0x165)]!==undefined&&(_0x1331aa['agentLog'][_0x25c394(0x175)]=process['env'][_0x25c394(0x165)]);process['env'][_0x25c394(0x188)]!==undefined&&(_0x1331aa['agentLog'][_0x25c394(0x18d)]=parseInt(process[_0x25c394(0x15c)][_0x25c394(0x188)]));process[_0x25c394(0x15c)]['AGENT_LOG_MAX_FILE_SIZE_MB']!==undefined&&(_0x1331aa[_0x25c394(0x17c)]['agentLogMaxFileSizeMb']=parseInt(process[_0x25c394(0x15c)][_0x25c394(0x16f)]));process[_0x25c394(0x15c)][_0x25c394(0x179)]&&(_0x1331aa[_0x25c394(0x16e)][_0x25c394(0x186)]=process[_0x25c394(0x15c)][_0x25c394(0x179)],_0x1331aa['serviceContext'][_0x25c394(0x16c)]=_0x25c394(0x162));process[_0x25c394(0x15c)][_0x25c394(0x158)]&&(_0x1331aa[_0x25c394(0x166)][_0x25c394(0x170)]={'tags':process['env'][_0x25c394(0x158)][_0x25c394(0x177)](',')});const _0x966556=(0x0,getAgentConfig_1['getAgentConfig'])(process['env']['LIGHTRUN_AGENT_CONFIG']||(_0x374dea===null||_0x374dea===void 0x0?void 0x0:_0x374dea[_0x25c394(0x164)])||config_1[_0x25c394(0x16b)]['agentConfigFile']);return extend(!![],{},config_1['defaultConfig'],_0x966556,_0x374dea,_0x1331aa);};exports[a15_0x362d93(0x168)]=normalizeConfig;function a15_0x365a(_0x2f4ff1,_0x10a688){const _0x23b384=a15_0x4b67();return a15_0x365a=function(_0x4a4ed2,_0x24c1f8){_0x4a4ed2=_0x4a4ed2-0x158;let _0x4b6768=_0x23b384[_0x4a4ed2];return _0x4b6768;},a15_0x365a(_0x2f4ff1,_0x10a688);}function a15_0x4b67(){const _0x135f2a=['AGENT_LOG_MAX_FILE_SIZE_MB','registration','GAE_MODULE_VERSION','(((.+)+)+)+$','GAE_MINOR_VERSION','LIGHTRUN_INIT_WAIT_TIME_MS','agentLogTargetDir','LIGHTRUN_WAIT_FOR_INIT','split','25yLejvV','FUNCTION_NAME','../config','K_REVISION','agentLog','agentLogLevel','LIGHTRUN_API_ENDPOINT','GAE_SERVICE','extend','7023FVoExK','1653816vEZFmG','NO_CHECK_CERTIFICATE','5102181qTSbOQ','AGENT_LOG_LEVEL','service','toString','AGENT_LOG_MAX_FILE_COUNT','GAE_MODULE_NAME','stdErrThreshold','LIGHTRUN_SECRET','10LfYMcD','agentLogMaxFileCount','./getAgentConfig','2384151iAklDk','LIGHTRUN_TAGS','8ZWWJmP','460482hVsUfP','160454UoBtnU','env','constructor','../util/utils','GAE_DEPLOYMENT_ID','FETCH_BREAKPOINTS_ONCE','search','unversioned','getBooleanValue','agentConfigFile','AGENT_LOG_TARGET_DIR','metadata','721602wUqBNS','normalizeConfig','__esModule','GAE_VERSION','defaultConfig','version','LIGHTRUN_STD_ERR_THRESHOLD','serviceContext'];a15_0x4b67=function(){return _0x135f2a;};return a15_0x4b67();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a16_0x41f7(_0x4b651d,_0x4068d7){const _0x249070=a16_0x436f();return a16_0x41f7=function(_0x509b3d,_0x3e022e){_0x509b3d=_0x509b3d-0x192;let _0x436f9c=_0x249070[_0x509b3d];return _0x436f9c;},a16_0x41f7(_0x4b651d,_0x4068d7);}const a16_0x5e29a8=a16_0x41f7;(function(_0x420a29,_0x1a9905){const _0x32d96e=a16_0x41f7,_0x16f891=_0x420a29();while(!![]){try{const _0x7195ce=parseInt(_0x32d96e(0x1a6))/0x1+-parseInt(_0x32d96e(0x1a0))/0x2*(parseInt(_0x32d96e(0x199))/0x3)+parseInt(_0x32d96e(0x193))/0x4*(parseInt(_0x32d96e(0x19b))/0x5)+-parseInt(_0x32d96e(0x1a5))/0x6*(parseInt(_0x32d96e(0x198))/0x7)+-parseInt(_0x32d96e(0x196))/0x8+parseInt(_0x32d96e(0x1a3))/0x9*(parseInt(_0x32d96e(0x194))/0xa)+parseInt(_0x32d96e(0x195))/0xb;if(_0x7195ce===_0x1a9905)break;else _0x16f891['push'](_0x16f891['shift']());}catch(_0x6d2fd2){_0x16f891['push'](_0x16f891['shift']());}}}(a16_0x436f,0xe7c7b));const a16_0x3e022e=(function(){let _0x9794c6=!![];return function(_0x39f4c6,_0x55ceb3){const _0x30d082=_0x9794c6?function(){const _0x2661bf=a16_0x41f7;if(_0x55ceb3){const _0x146f05=_0x55ceb3[_0x2661bf(0x1a2)](_0x39f4c6,arguments);return _0x55ceb3=null,_0x146f05;}}:function(){};return _0x9794c6=![],_0x30d082;};}()),a16_0x509b3d=a16_0x3e022e(this,function(){const _0x11175d=a16_0x41f7;return a16_0x509b3d[_0x11175d(0x19c)]()[_0x11175d(0x19d)](_0x11175d(0x19a))[_0x11175d(0x19c)]()[_0x11175d(0x19e)](a16_0x509b3d)[_0x11175d(0x19d)](_0x11175d(0x19a));});a16_0x509b3d();function a16_0x436f(){const _0x1c838d=['4837uqFBtZ','21kmRBKe','(((.+)+)+)+$','650065JmqoIf','toString','search','constructor','__esModule','8914uYGZeM','./delimit','apply','17007183VpFBwq','tokenize','11532Dygrob','969667neNPbb','length','4CAIPky','10IiESCy','7888837gdXqsS','11182896tATuNn','push'];a16_0x436f=function(){return _0x1c838d;};return a16_0x436f();}'use strict';Object['defineProperty'](exports,a16_0x5e29a8(0x19f),{'value':!![]}),exports[a16_0x5e29a8(0x1a4)]=void 0x0;const delimit_1=require(a16_0x5e29a8(0x1a1)),tokenize=(_0x2b7aec,_0x3b95e4)=>{const _0x52ad9c=a16_0x5e29a8;let _0x3a7383=(0x0,delimit_1['delimit'])(_0x2b7aec,'$$');for(let _0x4fbff3=_0x3b95e4-0x1;_0x4fbff3>=0x0;_0x4fbff3--){const _0x985702=[];for(let _0x2b58c6=0x0;_0x2b58c6<_0x3a7383[_0x52ad9c(0x192)];_0x2b58c6++){_0x3a7383[_0x2b58c6]['v']?_0x985702['push'](_0x3a7383[_0x2b58c6]):_0x985702[_0x52ad9c(0x197)](...(0x0,delimit_1['delimit'])(_0x3a7383[_0x2b58c6],'$'+_0x4fbff3));}_0x3a7383=_0x985702;}return _0x3a7383;};exports[a16_0x5e29a8(0x1a4)]=tokenize;
|