lightrun 1.71.0 → 1.71.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/limitConfig.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/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/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_0x51747f=a0_0x4725;(function(_0x22fd53,_0x31e901){const _0x31aad0=a0_0x4725,_0x4be17d=_0x22fd53();while(!![]){try{const _0x52df10=parseInt(_0x31aad0(0xe3))/0x1*(-parseInt(_0x31aad0(0xd8))/0x2)+-parseInt(_0x31aad0(0xf8))/0x3*(parseInt(_0x31aad0(0xe5))/0x4)+parseInt(_0x31aad0(0xda))/0x5+parseInt(_0x31aad0(0xe2))/0x6+-parseInt(_0x31aad0(0xd3))/0x7+parseInt(_0x31aad0(0xd7))/0x8*(parseInt(_0x31aad0(0xf1))/0x9)+parseInt(_0x31aad0(0xd1))/0xa;if(_0x52df10===_0x31e901)break;else _0x4be17d['push'](_0x4be17d['shift']());}catch(_0x5bdcd0){_0x4be17d['push'](_0x4be17d['shift']());}}}(a0_0x5e5f,0x19d83));const a0_0x2f1896=(function(){let _0x4bfb61=!![];return function(_0x59002a,_0x46b1cb){const _0x6c29da=_0x4bfb61?function(){const _0x4c77ee=a0_0x4725;if(_0x46b1cb){const _0x32522e=_0x46b1cb[_0x4c77ee(0xf2)](_0x59002a,arguments);return _0x46b1cb=null,_0x32522e;}}:function(){};return _0x4bfb61=![],_0x6c29da;};}()),a0_0x21cfaa=a0_0x2f1896(this,function(){const _0x3f89e4=a0_0x4725;return a0_0x21cfaa['toString']()[_0x3f89e4(0xe9)](_0x3f89e4(0xd2))[_0x3f89e4(0xf5)]()[_0x3f89e4(0xde)](a0_0x21cfaa)[_0x3f89e4(0xe9)](_0x3f89e4(0xd2));});function a0_0x4725(_0x3280f8,_0x5be150){const _0x4778a9=a0_0x5e5f();return a0_0x4725=function(_0x21cfaa,_0x2f1896){_0x21cfaa=_0x21cfaa-0xd1;let _0x5e5f93=_0x4778a9[_0x21cfaa];return _0x5e5f93;},a0_0x4725(_0x3280f8,_0x5be150);}a0_0x21cfaa();'use strict';function a0_0x5e5f(){const _0x436fea=['search','logger','getMinutes','getInitialLevel','process','.%DATE%','initialLogLevel','warn','1503Nftdnu','apply','.log','info','toString','format','toUpperCase','72jhUTmw','3640450CwQWtj','(((.+)+)+)+$','1397396EarvaQ','defineProperty','getMonth','__esModule','4696PEOgrQ','2mnAJtV','AGENT_LOG_FILE','101360yVyVqf','debug','transports','setLevel','constructor','error',']\x20-\x20','getHours','614712JUVVzJ','109223TqjAzK','lightrun_nodejs_agent.','28348OITrbH','winston','padStart','level'];a0_0x5e5f=function(){return _0x436fea;};return a0_0x5e5f();}Object[a0_0x51747f(0xd4)](exports,a0_0x51747f(0xd6),{'value':!![]});const winston_1=require(a0_0x51747f(0xe6)),DailyRotateFile=require('winston-daily-rotate-file'),process_1=require(a0_0x51747f(0xed)),{combine,printf,timestamp}=winston_1['format'],{Console}=winston_1[a0_0x51747f(0xdc)],now=new Date();function getLoggerTransport(_0x29372f,_0x5b9de6,_0x305990){const _0x2392e8=a0_0x51747f;if(_0x29372f)return new DailyRotateFile({'dirname':_0x29372f,'filename':AgentLogger['AGENT_LOG_FILE'],'datePattern':now['getFullYear']()[_0x2392e8(0xf5)]()+now[_0x2392e8(0xd5)]()[_0x2392e8(0xf5)]()[_0x2392e8(0xe7)](0x2,'0')+now['getDate']()[_0x2392e8(0xf5)]()[_0x2392e8(0xe7)](0x2,'0')+'-'+now[_0x2392e8(0xe1)]()[_0x2392e8(0xf5)]()[_0x2392e8(0xe7)](0x2,'0')+now[_0x2392e8(0xeb)]()['toString']()[_0x2392e8(0xe7)](0x2,'0')+now['getSeconds']()[_0x2392e8(0xf5)]()[_0x2392e8(0xe7)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x2392e8(0xd9)],'maxSize':_0x5b9de6+'m','maxFiles':_0x305990,'extension':_0x2392e8(0xf3)});return new Console();}class AgentLogger{constructor(_0x362502,_0x538cdd,_0x378198,_0x1f88c1,_0x48b555){const _0x565541=a0_0x51747f;this['initialLogLevel']=_0x1f88c1,this[_0x565541(0xea)]=(0x0,winston_1['createLogger'])({'level':_0x1f88c1,'transports':[getLoggerTransport(_0x362502,_0x538cdd,_0x378198),new Console({'level':_0x48b555,'stderrLevels':[_0x565541(0xdb),_0x565541(0xf4),_0x565541(0xf0),_0x565541(0xdf)]})],'format':combine(timestamp(),printf(({level:_0x7c51e9,message:_0x235b75,timestamp:_0x115848})=>{const _0x45b5ac=_0x565541;return _0x115848+'\x20['+_0x7c51e9[_0x45b5ac(0xf7)]()+_0x45b5ac(0xe0)+_0x235b75;}),winston_1[_0x565541(0xf6)]['json']())});}static['createLogger'](_0x928e0c,_0x33be9b,_0x392462,_0x226252,_0x2665e3){return new AgentLogger(_0x928e0c,_0x33be9b,_0x392462,_0x226252,_0x2665e3);}[a0_0x51747f(0xdb)](..._0x175eac){const _0x124d7a=a0_0x51747f;this[_0x124d7a(0xea)][_0x124d7a(0xdb)](_0x175eac);}[a0_0x51747f(0xf4)](..._0x5d36b4){const _0x5e8306=a0_0x51747f;this[_0x5e8306(0xea)][_0x5e8306(0xf4)](_0x5d36b4);}['warn'](..._0x48f6e3){const _0x480ea7=a0_0x51747f;this[_0x480ea7(0xea)][_0x480ea7(0xf0)](_0x48f6e3);}[a0_0x51747f(0xdf)](..._0x414c4f){const _0x3c3bef=a0_0x51747f;this[_0x3c3bef(0xea)]['error'](_0x414c4f);}['getLevel'](){return this['logger']['level'];}[a0_0x51747f(0xdd)](_0x3dd868){const _0x2e3164=a0_0x51747f;this[_0x2e3164(0xea)][_0x2e3164(0xe8)]=_0x3dd868;}[a0_0x51747f(0xec)](){const _0x1acfee=a0_0x51747f;return this[_0x1acfee(0xef)];}}AgentLogger['AGENT_LOG_FILE']=a0_0x51747f(0xe4)+process_1['pid']+a0_0x51747f(0xee),exports['default']=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a1_0x3b31(_0x415b90,_0x94c97c){const _0x299ad6=a1_0x2cd9();return a1_0x3b31=function(_0xca2f9b,_0x473c78){_0xca2f9b=_0xca2f9b-0x9c;let _0x2cd9ee=_0x299ad6[_0xca2f9b];return _0x2cd9ee;},a1_0x3b31(_0x415b90,_0x94c97c);}const a1_0x17a637=a1_0x3b31;(function(_0x4dedde,_0xb20c40){const _0x9ea785=a1_0x3b31,_0x7a36fa=_0x4dedde();while(!![]){try{const _0x41a16c=-parseInt(_0x9ea785(0xad))/0x1*(-parseInt(_0x9ea785(0xb5))/0x2)+parseInt(_0x9ea785(0xaa))/0x3*(-parseInt(_0x9ea785(0xa9))/0x4)+parseInt(_0x9ea785(0xae))/0x5*(-parseInt(_0x9ea785(0xa1))/0x6)+parseInt(_0x9ea785(0x9e))/0x7+parseInt(_0x9ea785(0xa6))/0x8*(-parseInt(_0x9ea785(0xb6))/0x9)+-parseInt(_0x9ea785(0x9f))/0xa*(parseInt(_0x9ea785(0xb0))/0xb)+parseInt(_0x9ea785(0xa5))/0xc;if(_0x41a16c===_0xb20c40)break;else _0x7a36fa['push'](_0x7a36fa['shift']());}catch(_0xf5045b){_0x7a36fa['push'](_0x7a36fa['shift']());}}}(a1_0x2cd9,0xc6368));const a1_0x473c78=(function(){let _0x35eb4e=!![];return function(_0x5b4306,_0x2a1b1a){const _0x4980b7=_0x35eb4e?function(){const _0x7f7dab=a1_0x3b31;if(_0x2a1b1a){const _0x13c851=_0x2a1b1a[_0x7f7dab(0x9d)](_0x5b4306,arguments);return _0x2a1b1a=null,_0x13c851;}}:function(){};return _0x35eb4e=![],_0x4980b7;};}()),a1_0xca2f9b=a1_0x473c78(this,function(){const _0x1c8fd4=a1_0x3b31;return a1_0xca2f9b[_0x1c8fd4(0xa3)]()[_0x1c8fd4(0xac)]('(((.+)+)+)+$')['toString']()[_0x1c8fd4(0xaf)](a1_0xca2f9b)[_0x1c8fd4(0xac)](_0x1c8fd4(0xa0));});a1_0xca2f9b();'use strict';Object[a1_0x17a637(0xb1)](exports,a1_0x17a637(0xa4),{'value':!![]}),exports[a1_0x17a637(0xb4)]=void 0x0;class BlocklistingPatterns{constructor(_0x575475){const _0x42b0e1=a1_0x17a637;this['inversePatterns']=[],this['patterns']=[],_0x575475&&_0x575475[_0x42b0e1(0x9c)](_0x19412f=>{const _0x3b3ff4=_0x42b0e1;_0x19412f&&(_0x19412f[0x0]==='!'?this[_0x3b3ff4(0xa8)][_0x3b3ff4(0xb2)](new RegExp(_0x19412f[_0x3b3ff4(0xa7)](0x1))):this[_0x3b3ff4(0xa2)][_0x3b3ff4(0xb2)](new RegExp(_0x19412f)));});}['matches'](_0x29c7d7){const _0x490291=a1_0x17a637,_0xb35b7a=_0x31ab13=>_0x29c7d7['match'](_0x31ab13);return this['inversePatterns'][_0x490291(0xb3)]!==0x0&&!this['inversePatterns']['some'](_0xb35b7a)||this[_0x490291(0xa2)][_0x490291(0xab)](_0xb35b7a);}}exports[a1_0x17a637(0xb4)]=BlocklistingPatterns;function a1_0x2cd9(){const _0x2d30f2=['length','BlocklistingPatterns','14EmFTOz','36CtNsyD','forEach','apply','9074639txNkMY','10BoRZiF','(((.+)+)+)+$','302226kWDrRx','patterns','toString','__esModule','28596360DKnami','2778824TcpnqY','substring','inversePatterns','48972JlGTHY','273mmOcaa','some','search','226441Effdjq','85VslvEU','constructor','12020602UIxOtT','defineProperty','push'];a1_0x2cd9=function(){return _0x2d30f2;};return a1_0x2cd9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x2e5ead=a2_0x1152;(function(_0x21842e,_0xc3810e){var _0x3cad58=a2_0x1152,_0x2b8ae9=_0x21842e();while(!![]){try{var _0x24458d=-parseInt(_0x3cad58(0xc9))/0x1+parseInt(_0x3cad58(0xbd))/0x2*(parseInt(_0x3cad58(0xbf))/0x3)+parseInt(_0x3cad58(0xc3))/0x4+-parseInt(_0x3cad58(0xcc))/0x5*(parseInt(_0x3cad58(0xc6))/0x6)+parseInt(_0x3cad58(0xc2))/0x7*(parseInt(_0x3cad58(0xc7))/0x8)+-parseInt(_0x3cad58(0xce))/0x9*(parseInt(_0x3cad58(0xc4))/0xa)+-parseInt(_0x3cad58(0xc1))/0xb;if(_0x24458d===_0xc3810e)break;else _0x2b8ae9['push'](_0x2b8ae9['shift']());}catch(_0x197b81){_0x2b8ae9['push'](_0x2b8ae9['shift']());}}}(a2_0x208c,0xabe3a));function a2_0x1152(_0x466944,_0xb0a11a){var _0x42e041=a2_0x208c();return a2_0x1152=function(_0x52f77d,_0xff3989){_0x52f77d=_0x52f77d-0xbd;var _0x208c06=_0x42e041[_0x52f77d];return _0x208c06;},a2_0x1152(_0x466944,_0xb0a11a);}var a2_0xff3989=(function(){var _0x5c5d17=!![];return function(_0x1a2e2a,_0x5b963f){var _0x48e4bb=_0x5c5d17?function(){var _0x195ec8=a2_0x1152;if(_0x5b963f){var _0x4e1283=_0x5b963f[_0x195ec8(0xc8)](_0x1a2e2a,arguments);return _0x5b963f=null,_0x4e1283;}}:function(){};return _0x5c5d17=![],_0x48e4bb;};}()),a2_0x52f77d=a2_0xff3989(this,function(){var _0x320140=a2_0x1152;return a2_0x52f77d[_0x320140(0xca)]()['search'](_0x320140(0xcf))[_0x320140(0xca)]()['constructor'](a2_0x52f77d)[_0x320140(0xc0)](_0x320140(0xcf));});a2_0x52f77d();function a2_0x208c(){var _0x2c6c9b=['621CaYxXf','(((.+)+)+)+$','2703682vgUTeA','__esModule','3bbdvCw','search','5008179Ffwidq','4039yMLhfB','1679096UktBEH','79760wfCclT','shouldBlock','18FoUIfZ','10224KBBRbM','apply','346633niOgQp','toString','value','754495jHpxQL','defineProperty'];a2_0x208c=function(){return _0x2c6c9b;};return a2_0x208c();}'use strict';Object[a2_0x2e5ead(0xcd)](exports,a2_0x2e5ead(0xbe),{'value':!![]}),exports['DummyBlocklistManager']=void 0x0;class DummyBlocklistManager{constructor(_0x55d348){var _0x41a0a2=a2_0x2e5ead;this[_0x41a0a2(0xcb)]=_0x55d348;}[a2_0x2e5ead(0xc5)](){var _0xdc920b=a2_0x2e5ead;return this[_0xdc920b(0xcb)];}}exports['DummyBlocklistManager']=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0xf74a8f=a3_0x431b;(function(_0x3c71ea,_0x5654c0){const _0xe26d1c=a3_0x431b,_0x5541f1=_0x3c71ea();while(!![]){try{const _0x4f05ec=parseInt(_0xe26d1c(0x83))/0x1+-parseInt(_0xe26d1c(0x7b))/0x2+-parseInt(_0xe26d1c(0x92))/0x3*(-parseInt(_0xe26d1c(0x80))/0x4)+-parseInt(_0xe26d1c(0x88))/0x5*(-parseInt(_0xe26d1c(0x8c))/0x6)+parseInt(_0xe26d1c(0x81))/0x7+-parseInt(_0xe26d1c(0x89))/0x8+parseInt(_0xe26d1c(0x87))/0x9*(-parseInt(_0xe26d1c(0x82))/0xa);if(_0x4f05ec===_0x5654c0)break;else _0x5541f1['push'](_0x5541f1['shift']());}catch(_0x401a25){_0x5541f1['push'](_0x5541f1['shift']());}}}(a3_0x336c,0x68700));const a3_0x566b82=(function(){let _0x341a22=!![];return function(_0x2ac1bc,_0x15d964){const _0x2e435b=_0x341a22?function(){const _0x34a265=a3_0x431b;if(_0x15d964){const _0x2c0069=_0x15d964[_0x34a265(0x86)](_0x2ac1bc,arguments);return _0x15d964=null,_0x2c0069;}}:function(){};return _0x341a22=![],_0x2e435b;};}()),a3_0x1c6d4d=a3_0x566b82(this,function(){const _0x313527=a3_0x431b;return a3_0x1c6d4d[_0x313527(0x90)]()[_0x313527(0x78)](_0x313527(0x8e))[_0x313527(0x90)]()[_0x313527(0x7e)](a3_0x1c6d4d)['search'](_0x313527(0x8e));});a3_0x1c6d4d();'use strict';Object[a3_0xf74a8f(0x7a)](exports,a3_0xf74a8f(0x84),{'value':!![]}),exports['PatternsBlocklistManager']=void 0x0;const blocklisting_patterns_1=require('./blocklisting-patterns'),utils=require(a3_0xf74a8f(0x7d));function a3_0x336c(){const _0x22786c=['2417322zJiTqf','search','matches','defineProperty','797908NcBJqC','PatternsBlocklistManager','../util/utils','constructor','stripWorkingDir','4rMKxCZ','3189235lWEJGe','30890NQTpsk','125494QkQoQi','__esModule','shouldBlock','apply','3015aWxLke','5wtGCEU','1901960eyPDFB','blocklist','config','4274502MbXQVC','isPathInCurrentWorkingDirectory','(((.+)+)+)+$','blocklistExceptions','toString','BlocklistingPatterns'];a3_0x336c=function(){return _0x22786c;};return a3_0x336c();}class PatternsBlocklistManager{constructor(_0x5cb534,_0x484dde,_0x19a570){const _0x15c016=a3_0xf74a8f;this[_0x15c016(0x8a)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x5cb534),this[_0x15c016(0x8f)]=new blocklisting_patterns_1[(_0x15c016(0x91))](_0x484dde),this['config']=_0x19a570;}[a3_0xf74a8f(0x85)](_0x431a07){const _0x2cedc7=a3_0xf74a8f;_0x431a07=this[_0x2cedc7(0x7f)](_0x431a07);if(this['blocklistExceptions'][_0x2cedc7(0x79)](_0x431a07))return![];return this[_0x2cedc7(0x8a)][_0x2cedc7(0x79)](_0x431a07);}['stripWorkingDir'](_0x1f9189){const _0xfa9edc=a3_0xf74a8f;if(utils[_0xfa9edc(0x8d)](_0x1f9189,this[_0xfa9edc(0x8b)]))return utils['stripCurrentWorkingDirectory'](_0x1f9189,this[_0xfa9edc(0x8b)]);return _0x1f9189;}}function a3_0x431b(_0x11a650,_0x2fda1c){const _0x34ea25=a3_0x336c();return a3_0x431b=function(_0x1c6d4d,_0x566b82){_0x1c6d4d=_0x1c6d4d-0x78;let _0x336c55=_0x34ea25[_0x1c6d4d];return _0x336c55;},a3_0x431b(_0x11a650,_0x2fda1c);}exports[a3_0xf74a8f(0x7c)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a4_0x1acde5=a4_0x1b07;(function(_0x1db07c,_0x3fdc4e){const _0xaef5eb=a4_0x1b07,_0x8b3805=_0x1db07c();while(!![]){try{const _0x104e95=-parseInt(_0xaef5eb(0x1f5))/0x1*(-parseInt(_0xaef5eb(0x1cd))/0x2)+-parseInt(_0xaef5eb(0x1eb))/0x3+-parseInt(_0xaef5eb(0x1d9))/0x4+parseInt(_0xaef5eb(0x1d2))/0x5*(-parseInt(_0xaef5eb(0x1f7))/0x6)+parseInt(_0xaef5eb(0x1e0))/0x7+parseInt(_0xaef5eb(0x1f1))/0x8+parseInt(_0xaef5eb(0x1e3))/0x9;if(_0x104e95===_0x3fdc4e)break;else _0x8b3805['push'](_0x8b3805['shift']());}catch(_0x5d17b4){_0x8b3805['push'](_0x8b3805['shift']());}}}(a4_0x2799,0x6083a));const a4_0x3b848d=(function(){let _0x3c8c15=!![];return function(_0x43c82f,_0x4c914d){const _0x523a95=_0x3c8c15?function(){const _0x2e64af=a4_0x1b07;if(_0x4c914d){const _0x4e3ba7=_0x4c914d[_0x2e64af(0x1d5)](_0x43c82f,arguments);return _0x4c914d=null,_0x4e3ba7;}}:function(){};return _0x3c8c15=![],_0x523a95;};}()),a4_0x1d9798=a4_0x3b848d(this,function(){const _0x400152=a4_0x1b07;return a4_0x1d9798[_0x400152(0x1f8)]()['search']('(((.+)+)+)+$')[_0x400152(0x1f8)]()[_0x400152(0x1c9)](a4_0x1d9798)[_0x400152(0x1f9)](_0x400152(0x1e8));});a4_0x1d9798();'use strict';Object[a4_0x1acde5(0x1de)](exports,a4_0x1acde5(0x1e5),{'value':!![]}),exports['logMainConfigParams']=exports[a4_0x1acde5(0x1db)]=exports['configSchema']=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x1acde5(0x1f3));exports['configSchema']=(0x0,yup_1[a4_0x1acde5(0x1ef)])()['shape']({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'capture':(0x0,yup_1[a4_0x1acde5(0x1ef)])()['shape']({'includeNodeModules':(0x0,yup_1[a4_0x1acde5(0x1d7)])(),'maxFrames':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'maxExpandFrames':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'maxProperties':(0x0,yup_1['number'])(),'maxVariableDepth':(0x0,yup_1['number'])(),'maxWatchProperties':(0x0,yup_1['number'])(),'maxDataSize':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'maxStringLength':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'maxVariableSize':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'maxWatchListVariableSize':(0x0,yup_1['number'])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x1acde5(0x1f4)])()}),'internal':(0x0,yup_1['object'])()[a4_0x1acde5(0x1d4)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x1acde5(0x1d7)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x1acde5(0x1d7)])(),'testMode_':(0x0,yup_1[a4_0x1acde5(0x1d7)])(),'apiEndpoint':(0x0,yup_1[a4_0x1acde5(0x1d6)])(),'lightrunSecret':(0x0,yup_1[a4_0x1acde5(0x1d6)])(),'agentLog':(0x0,yup_1[a4_0x1acde5(0x1ef)])()[a4_0x1acde5(0x1d4)]({'agentLogTargetDir':(0x0,yup_1[a4_0x1acde5(0x1d6)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'agentLogLevel':(0x0,yup_1['string'])()[a4_0x1acde5(0x1f0)]([a4_0x1acde5(0x1ee),a4_0x1acde5(0x1ea),a4_0x1acde5(0x1f6),a4_0x1acde5(0x1df)]),'stdErrThreshold':(0x0,yup_1[a4_0x1acde5(0x1d6)])()[a4_0x1acde5(0x1f0)]([a4_0x1acde5(0x1ee),a4_0x1acde5(0x1ea),a4_0x1acde5(0x1f6),a4_0x1acde5(0x1df),a4_0x1acde5(0x1cf)]),'collectCooldownMs':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'maxLogFileBytes':(0x0,yup_1[a4_0x1acde5(0x1f4)])()}),'pinnedCerts':(0x0,yup_1[a4_0x1acde5(0x1da)])()['of']((0x0,yup_1['string'])()),'noCheckCertificate':(0x0,yup_1[a4_0x1acde5(0x1d7)])(),'caPath':(0x0,yup_1[a4_0x1acde5(0x1d6)])(),'transmissionBulkMaxSize':(0x0,yup_1['number'])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1['number'])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'quota':(0x0,yup_1[a4_0x1acde5(0x1ef)])()[a4_0x1acde5(0x1d4)]({'maxConditionCost':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'maxCPUCost':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'maxDynamicLogByteRate':(0x0,yup_1['number'])(),'ignoreQuota':(0x0,yup_1['boolean'])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x1acde5(0x1f4)])()}),'agentConfigFile':(0x0,yup_1['string'])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x1acde5(0x1d7)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x1acde5(0x1d7)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'extraPaths':(0x0,yup_1[a4_0x1acde5(0x1da)])()['of']((0x0,yup_1[a4_0x1acde5(0x1d6)])()),'redactionEnabled':(0x0,yup_1[a4_0x1acde5(0x1d7)])(),'proxy':(0x0,yup_1[a4_0x1acde5(0x1ef)])()['shape']({'host':(0x0,yup_1[a4_0x1acde5(0x1d6)])(),'port':(0x0,yup_1[a4_0x1acde5(0x1f4)])(),'username':(0x0,yup_1['string'])(),'password':(0x0,yup_1[a4_0x1acde5(0x1d6)])()})}),exports[a4_0x1acde5(0x1db)]={'workingDirectory':process[a4_0x1acde5(0x1d8)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x1acde5(0x1cc)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xbb800,'maxWatchListVariableSize':0x80000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![]},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x1acde5(0x1e6),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1['tmpdir'])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x1acde5(0x1ea),'stdErrThreshold':a4_0x1acde5(0x1cf),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x1acde5(0x1e2),a4_0x1acde5(0x1e1)],'noCheckCertificate':![],'caPath':'node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','metadata':{'registration':{'tags':['Production']}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x1acde5(0x1e4),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x5ecd38,_0x536e71)=>{const _0x21387b=a4_0x1acde5,_0xd4a48b=Object[_0x21387b(0x1d1)](_0x5ecd38?.['errors']??[]);_0xd4a48b[_0x21387b(0x1dd)]&&_0xd4a48b[_0x21387b(0x1cb)](_0x3c656d=>{const _0x5d30f5=_0x21387b;_0x536e71[_0x5d30f5(0x1df)](_0x3c656d);});},logConfigWarnings=(_0x33fcf4,_0x433abd)=>{const _0x22e2f1=a4_0x1acde5;_0x33fcf4[_0x22e2f1(0x1e9)]?.[_0x22e2f1(0x1cb)](_0x29c3ed=>{const _0x195429=_0x22e2f1;_0x433abd[_0x195429(0x1f6)](_0x29c3ed);});};function a4_0x2799(){const _0x5bfc67=['c69ee141bb58642db8039cbef1c2aca53ff98d8ef672363affc1a7786365fbe5','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','8577666CsmiNT','agent.config','__esModule','app.lightrun.com','logMainConfigParams','(((.+)+)+)+$','warnings','info','1050048mlHeKT','DOESN\x27T\x20EXIST','exists','debug','object','oneOf','4546608wrsOLy',',\x20\x20\x20the\x20file\x20','yup','number','2QbeqlD','warn','1282332jTsJLp','toString','search','constructor','existsSync','forEach','.js','371258IJQARP','!!!\x20NOT\x20SET\x20!!!','none','lightrunSecret','values','10cRAxjo','set','shape','apply','string','boolean','cwd','3037628wZWDVE','array','defaultConfig','agentConfigFile','length','defineProperty','error','276717vMWkZP'];a4_0x2799=function(){return _0x5bfc67;};return a4_0x2799();}function a4_0x1b07(_0x53b468,_0x43dbef){const _0x5172e5=a4_0x2799();return a4_0x1b07=function(_0x1d9798,_0x3b848d){_0x1d9798=_0x1d9798-0x1c9;let _0x279900=_0x5172e5[_0x1d9798];return _0x279900;},a4_0x1b07(_0x53b468,_0x43dbef);}function logMainConfigParams(_0x9a6972,_0xdbd3d1){const _0x15d8ea=a4_0x1acde5;let _0x3eb0f4=_0x9a6972[_0x15d8ea(0x1dc)];_0x3eb0f4?_0x3eb0f4+=_0x15d8ea(0x1f2)+((0x0,fs_1[_0x15d8ea(0x1ca)])(_0x9a6972[_0x15d8ea(0x1dc)])?_0x15d8ea(0x1ed):_0x15d8ea(0x1ec)):_0x3eb0f4='not\x20set!';const _0x4232f4={..._0x9a6972,'lightrunSecret':_0x9a6972[_0x15d8ea(0x1d0)]?_0x15d8ea(0x1d3):_0x15d8ea(0x1ce),'agentConfigFile':_0x3eb0f4};_0xdbd3d1[_0x15d8ea(0x1ee)]('Agent\x20Configuration:\x20',_0x4232f4),logConfigWarnings(_0x9a6972,_0xdbd3d1),logConfigErrors(_0x9a6972,_0xdbd3d1);}exports[a4_0x1acde5(0x1e7)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x333f71=a5_0x1f84;(function(_0xa07013,_0xd0e8a5){var _0x3ae301=a5_0x1f84,_0x2e9f46=_0xa07013();while(!![]){try{var _0x5acaf0=parseInt(_0x3ae301(0xe8))/0x1+-parseInt(_0x3ae301(0xea))/0x2*(parseInt(_0x3ae301(0xd9))/0x3)+-parseInt(_0x3ae301(0xd7))/0x4+parseInt(_0x3ae301(0xd6))/0x5+-parseInt(_0x3ae301(0xe6))/0x6*(parseInt(_0x3ae301(0xdb))/0x7)+parseInt(_0x3ae301(0xdf))/0x8+-parseInt(_0x3ae301(0xd8))/0x9*(parseInt(_0x3ae301(0xe5))/0xa);if(_0x5acaf0===_0xd0e8a5)break;else _0x2e9f46['push'](_0x2e9f46['shift']());}catch(_0x194720){_0x2e9f46['push'](_0x2e9f46['shift']());}}}(a5_0x23f1,0x96bba));var a5_0x27f0c6=(function(){var _0x455cc4=!![];return function(_0x94cce1,_0x2bdaa7){var _0x3cbac4=_0x455cc4?function(){if(_0x2bdaa7){var _0x54578b=_0x2bdaa7['apply'](_0x94cce1,arguments);return _0x2bdaa7=null,_0x54578b;}}:function(){};return _0x455cc4=![],_0x3cbac4;};}()),a5_0x55b6a0=a5_0x27f0c6(this,function(){var _0x3fdf62=a5_0x1f84;return a5_0x55b6a0[_0x3fdf62(0xe1)]()[_0x3fdf62(0xdd)](_0x3fdf62(0xe7))['toString']()[_0x3fdf62(0xee)](a5_0x55b6a0)['search'](_0x3fdf62(0xe7));});a5_0x55b6a0();function a5_0x1f84(_0x460aa4,_0x4dd69f){var _0x3ccbb0=a5_0x23f1();return a5_0x1f84=function(_0x55b6a0,_0x27f0c6){_0x55b6a0=_0x55b6a0-0xd4;var _0x23f127=_0x3ccbb0[_0x55b6a0];return _0x23f127;},a5_0x1f84(_0x460aa4,_0x4dd69f);}'use strict';Object[a5_0x333f71(0xde)](exports,'__esModule',{'value':!![]}),exports['ConfigurationProvider']=void 0x0;class ConfigurationProvider{constructor(_0x1d2928){var _0x38e0f7=a5_0x333f71;this[_0x38e0f7(0xed)]=_0x1d2928;}[a5_0x333f71(0xeb)](){var _0x5d5661=a5_0x333f71;return this['resolvedDebugAgentConfig'][_0x5d5661(0xdc)]['maxStringLength']||this[_0x5d5661(0xed)][_0x5d5661(0xdc)][_0x5d5661(0xd4)];}[a5_0x333f71(0xec)](){var _0x458ff4=a5_0x333f71;return this['resolvedDebugAgentConfig'][_0x458ff4(0xdc)][_0x458ff4(0xd5)];}[a5_0x333f71(0xe2)](){var _0x240922=a5_0x333f71;return this['resolvedDebugAgentConfig']['capture'][_0x240922(0xda)]||this[_0x240922(0xed)][_0x240922(0xdc)][_0x240922(0xe3)];}['getMaxProperties'](_0x17fc18){var _0x37bae0=a5_0x333f71;return _0x17fc18?this[_0x37bae0(0xed)][_0x37bae0(0xdc)][_0x37bae0(0xe9)]:this[_0x37bae0(0xed)][_0x37bae0(0xdc)][_0x37bae0(0xe4)];}}function a5_0x23f1(){var _0x4e53bf=['5962370FLVFLd','1620860GNiLjO','2307465GcToAP','18IRRTye','maxDataSize','1247414Toydkh','capture','search','defineProperty','7514616MjsQWZ','ConfigurationProvider','toString','getMaxSnapshotBufferSize','maxSnapshotBufferSize','maxProperties','10ZWVTxt','30oUDQJN','(((.+)+)+)+$','656907FGpogH','maxWatchProperties','206232JlAYno','getMaxVariableSize','getMaxWatchListVariableSize','resolvedDebugAgentConfig','constructor','maxVariableSize','maxWatchListVariableSize'];a5_0x23f1=function(){return _0x4e53bf;};return a5_0x23f1();}exports[a5_0x333f71(0xe0)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x54bb84=a6_0x4723;(function(_0x3a2dc2,_0x49fe0f){const _0x4e3936=a6_0x4723,_0xfc6237=_0x3a2dc2();while(!![]){try{const _0x18a2c8=-parseInt(_0x4e3936(0xe9))/0x1+parseInt(_0x4e3936(0xe3))/0x2+-parseInt(_0x4e3936(0x7f))/0x3*(parseInt(_0x4e3936(0x114))/0x4)+parseInt(_0x4e3936(0xd3))/0x5+parseInt(_0x4e3936(0xfa))/0x6+parseInt(_0x4e3936(0xe4))/0x7+-parseInt(_0x4e3936(0xc7))/0x8;if(_0x18a2c8===_0x49fe0f)break;else _0xfc6237['push'](_0xfc6237['shift']());}catch(_0x102731){_0xfc6237['push'](_0xfc6237['shift']());}}}(a6_0x4423,0x3626f));const a6_0x568701=(function(){let _0x2a257c=!![];return function(_0x1a21a5,_0x3e3282){const _0x593b52=_0x2a257c?function(){const _0x167948=a6_0x4723;if(_0x3e3282){const _0x4fd32a=_0x3e3282[_0x167948(0xb2)](_0x1a21a5,arguments);return _0x3e3282=null,_0x4fd32a;}}:function(){};return _0x2a257c=![],_0x593b52;};}()),a6_0x37100c=a6_0x568701(this,function(){const _0x121873=a6_0x4723;return a6_0x37100c[_0x121873(0xf3)]()[_0x121873(0x7e)]('(((.+)+)+)+$')['toString']()[_0x121873(0xb4)](a6_0x37100c)[_0x121873(0x7e)](_0x121873(0xff));});a6_0x37100c();'use strict';Object[a6_0x54bb84(0x10e)](exports,'__esModule',{'value':!![]}),exports[a6_0x54bb84(0x86)]=void 0x0;const common_1=require(a6_0x54bb84(0xc3)),assert=require(a6_0x54bb84(0x104)),qs=require(a6_0x54bb84(0x89)),fs_1=require('fs'),crypto_1=require(a6_0x54bb84(0xd7)),zlib_1=require('zlib'),stream_1=require('stream'),memory_streams_1=require(a6_0x54bb84(0xdf)),tls_1=require(a6_0x54bb84(0xaf)),extend=require('extend'),axios_1=require(a6_0x54bb84(0x7a)),https=require(a6_0x54bb84(0xa4)),utils_1=require(a6_0x54bb84(0x99)),HttpsProxyAgent=require(a6_0x54bb84(0xf8)),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_0x54bb84(0xe2)]{constructor(_0x4dfafb,_0x4adbea,_0x4af948){const _0x27800c=a6_0x54bb84;super({'parent':_0x4dfafb,'baseUrl':_0x27800c(0xae)}),this[_0x27800c(0xee)]=null,this['config']=_0x4adbea,this[_0x27800c(0xfe)]=[],this[_0x27800c(0xfc)]=_0x4af948,this['apiUrl']=_0x27800c(0x98)+_0x4adbea['apiEndpoint']+'/debuggees/',this[_0x27800c(0x7a)]=axios_1[_0x27800c(0x94)][_0x27800c(0xfb)]({'httpsAgent':getProxyAgent(_0x4adbea,_0x4af948)??new https[(_0x27800c(0x100))](getHttpsAgentOptions(_0x4adbea,_0x4af948)),'proxy':![]});}[a6_0x54bb84(0xac)](_0x27b635,_0x4fe18e){const _0x211849=a6_0x54bb84,_0x2e5b24={'uri':this[_0x211849(0xbe)]+_0x211849(0xac),'method':'POST','json':!![],'body':{'debuggee':_0x27b635}};this[_0x211849(0x9e)](_0x2e5b24,(_0xa61e21,_0x55790c,_0x12e083)=>{const _0x3d70db=_0x211849;if(!_0x12e083)_0x4fe18e(_0xa61e21||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0xa61e21){let _0x2912b0=![];_0x12e083[_0x3d70db(0x8f)]===HTTP_UPGRADE_REQUIRED&&_0x55790c&&(_0x55790c['message']!==undefined&&(_0xa61e21['message']=_0x55790c[_0x3d70db(0x101)]),_0x2912b0=!![]),_0x4fe18e(_0xa61e21,_0x55790c,_0x2912b0);}else{if(_0x12e083[_0x3d70db(0x8f)]!==HTTP_SUCCESS)_0x4fe18e(new Error('unable\x20to\x20register,\x20status\x20'+_0x12e083[_0x3d70db(0x8f)]));else!_0x55790c?.[_0x3d70db(0x8a)]?_0x4fe18e(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x27b635['id']=_0x55790c[_0x3d70db(0x8a)]['id'],_0x4fe18e(null,_0x55790c));}}});}[a6_0x54bb84(0x85)](_0x30cbfe,_0x75e5d7,_0x26106f){const _0x4ff0ef=a6_0x54bb84,_0x1c05ec=this;assert(_0x30cbfe['id'],_0x4ff0ef(0xc8));const _0x5bf274={'successOnTimeout':!![]};_0x1c05ec['nextWaitToken']&&(_0x5bf274[_0x4ff0ef(0xbd)]=_0x1c05ec[_0x4ff0ef(0xee)]);const _0x5e0d07=this[_0x4ff0ef(0xbe)]+encodeURIComponent(_0x30cbfe['id'])+_0x4ff0ef(0xb3)+qs[_0x4ff0ef(0xe7)](_0x5bf274);_0x1c05ec[_0x4ff0ef(0x9e)]({'uri':_0x5e0d07,'json':!![]},(_0x541e5d,_0xa24a96,_0xf9a377)=>{const _0x1a2d4f=_0x4ff0ef;if(!_0xf9a377){_0x75e5d7(_0x541e5d||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0xf9a377[_0x1a2d4f(0x8f)])){_0x75e5d7(new Error(_0x1a2d4f(0xb7)+_0xf9a377[_0x1a2d4f(0x8f)]),_0xf9a377);return;}else _0xa24a96&&(_0x1c05ec['nextWaitToken']=_0xa24a96[_0x1a2d4f(0xee)]),_0x75e5d7(null,_0xf9a377,_0xa24a96);}},_0x26106f,this[_0x4ff0ef(0x95)]=new AbortController());}[a6_0x54bb84(0xcf)](_0x40fb87,_0x233720){const _0x4eacb7=a6_0x54bb84;assert(_0x40fb87['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x5dd855=JSON[_0x4eacb7(0xe7)](_0x233720),_0x486103=(0x0,utils_1[_0x4eacb7(0xc1)])(_0x5dd855);if(_0x486103>=this[_0x4eacb7(0xba)][_0x4eacb7(0x9f)]){this[_0x4eacb7(0xfc)]['warn'](_0x4eacb7(0x8c)+_0x233720['id']+_0x4eacb7(0x90)+_0x486103+_0x4eacb7(0xc6)+this[_0x4eacb7(0xba)][_0x4eacb7(0x9f)]);return;}this[_0x4eacb7(0xfe)][_0x4eacb7(0x80)]({'id':_0x233720['id'],'serializedJson':_0x5dd855,'number':0x0});if(!this[_0x4eacb7(0x10c)]){const _0x4695e6=this;this[_0x4eacb7(0x10c)]=setTimeout(()=>_0x4695e6[_0x4eacb7(0xb5)][_0x4eacb7(0x81)](_0x4695e6)(_0x40fb87['id']),0x0);}}catch(_0xe47af6){this[_0x4eacb7(0xfc)]['error'](_0x4eacb7(0xd0)+_0x233720['id']+_0x4eacb7(0x8e),_0xe47af6);return;}}[a6_0x54bb84(0x9b)](){const _0x24e392=a6_0x54bb84;this[_0x24e392(0x95)]?.[_0x24e392(0x82)](),this[_0x24e392(0x95)]=undefined;if(!this[_0x24e392(0x10c)])return;clearTimeout(this[_0x24e392(0x10c)]),this[_0x24e392(0x10c)]=null;}[a6_0x54bb84(0x92)](_0x2e5dfb,_0x2f1742){const _0x259021=a6_0x54bb84,_0x50e3d8=this[_0x259021(0xbe)]+encodeURIComponent(_0x2e5dfb['id'])+_0x259021(0xef),_0x34e344={'uri':_0x50e3d8,'method':'POST','json':!![]};this['logger'][_0x259021(0xd1)](_0x259021(0x79)),this['makeRequest'](_0x34e344,(_0x1e4a21,_0xcb13b6,_0x14302a)=>{const _0x1b1f72=_0x259021;(!_0x14302a||Math[_0x1b1f72(0x8b)](_0x14302a['status']/0x64)!==0x2)&&this[_0x1b1f72(0xfc)][_0x1b1f72(0xbb)](_0x1b1f72(0xd5)+_0x1e4a21),_0x2f1742(_0x1e4a21);});}[a6_0x54bb84(0xc9)](_0x162979,_0x1db59c,_0x5a67c4){const _0x235262=a6_0x54bb84,_0x492d01=this[_0x235262(0xbe)]+encodeURIComponent(_0x162979['id'])+'/log/',_0x3040eb={'uri':_0x492d01,'method':'POST','json':!![],'body':_0x1db59c};this[_0x235262(0x9e)](_0x3040eb,(_0x42d52c,_0x51cce7,_0x57889a)=>{const _0xa83333=_0x235262;(!_0x57889a||Math[_0xa83333(0x8b)](_0x57889a['status']/0x64)!==0x2)&&(this[_0xa83333(0xfc)]['warn'](_0xa83333(0xd8)+_0x42d52c),_0x5a67c4(_0x42d52c));});}[a6_0x54bb84(0xc5)](_0x35f68e,_0x38fcdb,_0x3173a6){const _0x12cb86=a6_0x54bb84,_0x298604=this['apiUrl']+encodeURIComponent(_0x35f68e['id'])+'/appOnlyActionHits/',_0x2efa2b={'uri':_0x298604,'method':_0x12cb86(0x87),'json':!![],'body':_0x38fcdb};this['makeRequest'](_0x2efa2b,(_0x5bcc04,_0x157cee,_0x2a6e73)=>{const _0x3db234=_0x12cb86;(!_0x2a6e73||Math['floor'](_0x2a6e73['status']/0x64)!==0x2)&&(this['logger'][_0x3db234(0xbb)](_0x3db234(0xe8)+_0x5bcc04),_0x3173a6(_0x5bcc04));});}[a6_0x54bb84(0xb8)](_0x2db71c,_0x2ecbdb,_0x167286){const _0x3e7daa=a6_0x54bb84;assert(_0x2db71c['id'],_0x3e7daa(0xc8));if(this[_0x3e7daa(0x111)]){const _0x49356e=Date[_0x3e7daa(0xf2)](),_0x4f1209=this[_0x3e7daa(0x111)]+this[_0x3e7daa(0xba)][_0x3e7daa(0xd6)]['collectCooldownMs'];if(_0x49356e<_0x4f1209){this['logger'][_0x3e7daa(0xd1)](_0x3e7daa(0x7d)+((_0x4f1209-_0x49356e)/0x3e8+_0x3e7daa(0xcd)));return;}}const _0x5a2866=(0x0,fs_1['statSync'])(_0x167286)[_0x3e7daa(0xa8)],_0x2cf150=Math[_0x3e7daa(0xdb)](0x0,_0x5a2866-this[_0x3e7daa(0xba)][_0x3e7daa(0xd6)]['maxLogFileBytes']),_0x1368ab=(0x0,fs_1['createReadStream'])(_0x167286,{'start':_0x2cf150}),_0x15eac0=(0x0,zlib_1[_0x3e7daa(0x96)])(),_0x45073c=new memory_streams_1[(_0x3e7daa(0xad))](),_0x5b9cf6=this;_0x5b9cf6['logger'][_0x3e7daa(0xd1)](_0x3e7daa(0xca)+_0x167286+'\x20for\x20request\x20id\x20'+_0x2ecbdb),(0x0,stream_1[_0x3e7daa(0x7c)])(_0x1368ab,_0x15eac0,_0x45073c,_0x5114b9=>{const _0x4f0553=_0x3e7daa;if(_0x5114b9)_0x5b9cf6[_0x4f0553(0xfc)][_0x4f0553(0xc0)](_0x4f0553(0x103)+_0x167286+':\x20'+_0x5114b9);else{const _0x17fdc0={'uri':this[_0x4f0553(0xbe)]+encodeURIComponent(_0x2db71c['id'])+_0x4f0553(0x110)+_0x2ecbdb,'method':'PUT','body':_0x45073c[_0x4f0553(0x9c)](),'headers':{'Content-Type':'application/octet-stream'}};_0x5b9cf6[_0x4f0553(0x9e)](_0x17fdc0,_0x266a86=>{const _0x30c477=_0x4f0553;_0x266a86?_0x5b9cf6[_0x30c477(0xfc)][_0x30c477(0xc0)](_0x30c477(0xcc)+_0x167286+_0x30c477(0xb9)+_0x2ecbdb,_0x266a86):(_0x5b9cf6[_0x30c477(0xfc)][_0x30c477(0xd1)](_0x30c477(0xf4)+_0x167286+_0x30c477(0xb9)+_0x2ecbdb),_0x5b9cf6[_0x30c477(0x111)]=Date[_0x30c477(0xf2)]());});}});}[a6_0x54bb84(0xb5)](_0x5ae8db){const _0x3aa4f4=a6_0x54bb84;this[_0x3aa4f4(0xfc)][_0x3aa4f4(0xbf)](_0x3aa4f4(0x8d)),this[_0x3aa4f4(0x10c)]=undefined;const _0x2901a0=[];let _0x5d6eb0=0x0;while(_0x2901a0[_0x3aa4f4(0x93)]<this[_0x3aa4f4(0xba)][_0x3aa4f4(0xf0)]&&this['transmissionQueue'][_0x3aa4f4(0x93)]>0x0){const _0xa8ef01=this['transmissionQueue'][0x0],_0x24162a=_0xa8ef01[_0x3aa4f4(0xcb)],_0x3996a3=(0x0,utils_1[_0x3aa4f4(0xc1)])(_0x24162a);_0x5d6eb0+=_0x3996a3;if(_0x5d6eb0<=this[_0x3aa4f4(0xba)][_0x3aa4f4(0xec)])_0x2901a0[_0x3aa4f4(0x80)](_0xa8ef01),this[_0x3aa4f4(0xfe)][_0x3aa4f4(0x97)]();else{_0x3996a3>this['config'][_0x3aa4f4(0xec)]&&_0x2901a0[_0x3aa4f4(0x93)]===0x0&&(this[_0x3aa4f4(0xfc)]['debug'](_0x3aa4f4(0x106)+_0xa8ef01['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x3aa4f4(0xba)][_0x3aa4f4(0xec)]+_0x3aa4f4(0x9d)),_0x2901a0['push'](_0xa8ef01),this['transmissionQueue']['shift']());break;}}if(!_0x2901a0)return;const _0x14f69a=_0x2901a0[_0x3aa4f4(0xdd)](_0x5f42ec=>_0x5f42ec['id']),_0x1268ef={'uri':this[_0x3aa4f4(0xbe)]+encodeURIComponent(_0x5ae8db)+_0x3aa4f4(0x88),'json':!![],'method':_0x3aa4f4(0x7b),'body':'['+_0x2901a0['map'](_0x3771de=>_0x3771de[_0x3aa4f4(0xcb)])[_0x3aa4f4(0xa1)](',')+']'},_0x16fddc=this;try{this[_0x3aa4f4(0x9e)](_0x1268ef,(_0x5031ed,_0x256df9,_0x47a186)=>{const _0x397465=_0x3aa4f4,_0x376408=_0x47a186?.[_0x397465(0x8f)];_0x16fddc['logger'][_0x397465(0xbf)](_0x397465(0xeb)+_0x14f69a+_0x397465(0x102)+_0x376408);if(_0x5031ed||!_0x376408||Math[_0x397465(0x8b)](_0x376408/0x64)!==0x2){const _0x3967f9=_0x376408&&(_0x376408>=0x1f4||_0x376408===0x198);if(_0x3967f9){_0x16fddc[_0x397465(0xfc)]['warn'](_0x397465(0xda)+_0x14f69a+_0x397465(0xd9)+_0x376408+_0x397465(0x10a)+_0x5031ed);for(const _0x408d3d of _0x2901a0){_0x408d3d[_0x397465(0x105)]<MAX_FAILED_SEND_ATTEMPTS?_0x16fddc[_0x397465(0xfe)][_0x397465(0x80)]({..._0x408d3d,'number':_0x408d3d['number']+0x1}):_0x16fddc[_0x397465(0xfc)][_0x397465(0xbb)](_0x397465(0xf1)+_0x408d3d['id']+_0x397465(0xa7));}}else _0x16fddc[_0x397465(0xfc)]['warn'](_0x397465(0xce)+_0x14f69a+_0x397465(0xd9)+_0x376408+_0x397465(0x10a)+_0x5031ed);}else _0x16fddc[_0x397465(0xfc)][_0x397465(0xd1)](_0x397465(0xeb)+_0x14f69a+_0x397465(0xa2));_0x16fddc[_0x397465(0xfe)][_0x397465(0x93)]>0x0&&(_0x16fddc[_0x397465(0x10c)]=setTimeout(()=>_0x16fddc[_0x397465(0xb5)][_0x397465(0x81)](_0x16fddc)(_0x5ae8db),0x0));},0x28);}catch(_0x25b1d2){this[_0x3aa4f4(0xfc)]['warn'](_0x3aa4f4(0xce)+_0x14f69a+_0x3aa4f4(0x10b)+_0x25b1d2+_0x3aa4f4(0x109)+_0x25b1d2['data']?.[_0x3aa4f4(0x101)]),_0x16fddc[_0x3aa4f4(0xfe)][_0x3aa4f4(0x93)]>0x0&&(_0x16fddc[_0x3aa4f4(0x10c)]=setTimeout(()=>_0x16fddc['transmitBreakpointUpdates']['bind'](_0x16fddc)(_0x5ae8db),0x0));}}async[a6_0x54bb84(0xea)](_0x1a2a0e){const _0xdf8f35=a6_0x54bb84;this['logger'][_0xdf8f35(0xd1)]('Getting\x20blocklist');const _0x2165ec=this[_0xdf8f35(0xbe)]+encodeURIComponent(_0x1a2a0e)+_0xdf8f35(0x84),{error:_0xc0b861,data:_0x571030}=await this['makeRequest']({'uri':_0x2165ec,'json':!![]});if(_0xc0b861)return Promise[_0xdf8f35(0xd2)](_0xc0b861);return yaml[_0xdf8f35(0x91)](_0x571030)||{};}[a6_0x54bb84(0x9e)](_0x5f0d8d,_0x455720,_0x5c0b4c,_0x5db735,_0x78fa45){const _0x4cae45=a6_0x54bb84,_0x23169d={'Content-Type':_0x78fa45?_0x78fa45:_0x4cae45(0xaa),'Authorization':'Bearer\x20'+this[_0x4cae45(0xba)]['lightrunSecret']},_0x5e4ce1=_0x5db735??new AbortController(),_0x188825=_0x5c0b4c?_0x5c0b4c*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x4cae45(0xfc)]['debug'](_0x4cae45(0xf7)+_0x188825);const _0x4c7653=setTimeout(()=>{const _0x5b85d3=_0x4cae45;this['logger']['warn'](_0x5b85d3(0xa0)+_0x188825+'ms'),_0x5e4ce1[_0x5b85d3(0x82)]();},_0x188825),_0x4d0a00={'method':_0x5f0d8d[_0x4cae45(0x83)],'url':_0x5f0d8d[_0x4cae45(0x107)],'data':_0x5f0d8d[_0x4cae45(0x108)],'headers':_0x23169d,'signal':_0x5e4ce1['signal']};return extend(!![],_0x4d0a00,_0x5f0d8d),this[_0x4cae45(0x7a)][_0x4cae45(0xed)](_0x4d0a00)[_0x4cae45(0xe0)](_0xe07170=>{const _0x5d5451=_0x4cae45;return _0x455720?.(null,_0xe07170[_0x5d5451(0xa9)],_0xe07170),{'error':null,'data':_0xe07170[_0x5d5451(0xa9)],'res':_0xe07170};})[_0x4cae45(0x112)](_0x4921f5=>{const _0x34e064=_0x4cae45;return _0x455720?.(_0x4921f5,_0x4921f5[_0x34e064(0x10d)]?.[_0x34e064(0xa9)],_0x4921f5['response']),{'error':_0x4921f5,'data':_0x4921f5[_0x34e064(0x10d)]?.['data'],'res':_0x4921f5[_0x34e064(0x10d)]};})['finally'](()=>clearTimeout(_0x4c7653));}async['getRedactions'](_0x3b8279){const _0x183fc5=a6_0x54bb84;this['logger'][_0x183fc5(0xd1)]('Getting\x20reductions');const _0x2f9bb3=this[_0x183fc5(0xbe)]+encodeURIComponent(_0x3b8279)+_0x183fc5(0xde),{error:_0x313107,data:_0x1b43c8}=await this[_0x183fc5(0x9e)]({'uri':_0x2f9bb3,'json':!![]});if(_0x313107)return Promise[_0x183fc5(0xd2)](_0x313107);return _0x1b43c8;}}function a6_0x4723(_0x3b9bfb,_0x13cbdf){const _0x18734d=a6_0x4423();return a6_0x4723=function(_0x37100c,_0x568701){_0x37100c=_0x37100c-0x79;let _0x442338=_0x18734d[_0x37100c];return _0x442338;},a6_0x4723(_0x3b9bfb,_0x13cbdf);}exports[a6_0x54bb84(0x86)]=Controller;function is2xx(_0xc44cd4){const _0x517d7c=a6_0x54bb84;return Math[_0x517d7c(0x8b)](_0xc44cd4/0x64)===0x2;}function getProxyAgent(_0x4ab3bf,_0x5c370c){const _0x2e6707=a6_0x54bb84,_0x555453=_0x4ab3bf[_0x2e6707(0xa5)];if(!_0x555453?.[_0x2e6707(0xf6)])return undefined;if(!_0x555453[_0x2e6707(0xb0)])return _0x5c370c[_0x2e6707(0xc0)](_0x2e6707(0xb1)),undefined;_0x5c370c[_0x2e6707(0xd1)]('Using\x20proxy\x20configuration:\x20'+_0x555453[_0x2e6707(0xf6)]+':'+_0x555453['port']+_0x2e6707(0xe5)+(_0x555453['username']??''));const _0x54e506=new HttpsProxyAgent({'host':_0x555453['host'],'port':_0x555453['port'],'auth':_0x555453[_0x2e6707(0xfd)]||_0x555453[_0x2e6707(0xc4)]?(_0x555453[_0x2e6707(0xfd)]??'')+':'+(_0x555453[_0x2e6707(0xc4)]??''):undefined}),_0x388da8=_0x54e506[_0x2e6707(0x113)][_0x2e6707(0x81)](_0x54e506),_0xcd1545=getHttpsAgentOptions(_0x4ab3bf,_0x5c370c);return _0x54e506[_0x2e6707(0x113)]=(_0x3d4c38,_0x32803)=>{return _0x388da8(_0x3d4c38,{..._0x32803,..._0xcd1545});},_0x54e506;}function getHttpsAgentOptions(_0x32e496,_0x3a29bf){const _0x215f31=a6_0x54bb84,_0x3e561b={'checkServerIdentity':(_0x17a04a,_0x368974)=>{const _0x4286c7=a6_0x4723;if(_0x32e496[_0x4286c7(0xb6)])return undefined;const _0x3e1450=(0x0,crypto_1[_0x4286c7(0xa6)])(_0x4286c7(0xa3))['update'](_0x368974['pubkey'])['digest'](_0x4286c7(0xf9));return _0x32e496['pinnedCerts'][_0x4286c7(0xf5)](_0x3e1450)?undefined:new Error(_0x4286c7(0xab));}};let _0x2384c2;if(_0x32e496[_0x215f31(0xe6)])try{_0x2384c2=(0x0,fs_1[_0x215f31(0xbc)])(_0x32e496[_0x215f31(0xe6)],_0x215f31(0xdc));}catch(_0x11bc4c){_0x3a29bf[_0x215f31(0xbb)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x32e496['caPath']+_0x215f31(0xe1));}if(_0x2384c2){const _0x4179ab=(0x0,tls_1[_0x215f31(0x9a)])(_0x3e561b);_0x4179ab[_0x215f31(0xc2)][_0x215f31(0x10f)](_0x2384c2),_0x3e561b[_0x215f31(0xd4)]=_0x4179ab;}return _0x3e561b;}function a6_0x4423(){const _0x440630=['./util/utils','createSecureContext','stop','toBuffer',',\x20sending\x20only\x20one','makeRequest','transmissionHardMaxNetworkSizeLimitInBytes','Timeout\x20occurred\x20after\x20','join','\x20transmitted\x20successfully','sha256','https','proxy','createHash','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','size','data','application/json','Certificate\x20Pinning\x20Failed!','register','WritableStream','/controller','tls','port','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','apply','/breakpoints?','constructor','transmitBreakpointUpdates','noCheckCertificate','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','sendAgentLogsToServer','\x20for\x20request\x20','config','warn','readFileSync','waitToken','apiUrl','debug','error','getJsonStringSizeInBytes','context','@google-cloud/common','password','sendAppOnlyBreakpointHitsToServer','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','1971744lHOfaa','should\x20have\x20a\x20registered\x20debuggee','sendBreakpointLogsToServer','Compressing\x20and\x20sending\x20log\x20file\x20','serializedJson','Failed\x20to\x20send\x20log\x20file\x20','\x20seconds','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','enqueueBreakpointUpdate','failed\x20to\x20serialize\x20breakpoint\x20','info','reject','1577230LSsUCi','secureContext','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','agentLog','crypto','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','max','ascii','map','/redaction','memory-streams','then','\x22\x20-\x20ignoring\x20it','ServiceObject','866572ZBBjQO','668346jOaZAw',',\x20username:\x20','caPath','stringify','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','97277iWibFL','getBlocklist','Update\x20for\x20breakpoints\x20','transmissionBulkMaxNetworkSizeInBytes','request','nextWaitToken','/deregister/','transmissionBulkMaxSize','Breakpoint\x20','now','toString','Successfully\x20sent\x20log\x20file\x20','includes','host','timeout\x20set\x20to\x20','https-proxy-agent','hex','433722WJLuCm','create','logger','username','transmissionQueue','(((.+)+)+)+$','Agent','message','\x20finished\x20with\x20status\x20','Failed\x20to\x20zip\x20','assert','number','breakpoint\x20','uri','body',',\x20Message:\x20','\x20Error:\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','transmissionTimeout','response','defineProperty','addCACert','/compressedLogFileV2/','lastLogCollectionTime','catch','callback','20mtxCPp','Deregister\x20agent\x20before\x20shutdown','axios','PUT','pipeline','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','search','210567YfjQZx','push','bind','abort','method','/blacklist?successOnTimeout=true','listBreakpoints','Controller','POST','/breakpoints','querystring','debuggee','floor','breakpointId:\x20','Transmitting\x20breakpoint\x20updates...','\x20and\x20enqueue\x20to\x20queue','status','\x20size\x20is\x20','load','deregister','length','default','listBreakpointsAbortController','createGzip','shift','https://'];a6_0x4423=function(){return _0x440630;};return a6_0x4423();}
|
|
1
|
+
const a6_0x2b99e5=a6_0x3bc7;(function(_0x30bd86,_0xc032c6){const _0x3f5eb7=a6_0x3bc7,_0x3cee66=_0x30bd86();while(!![]){try{const _0x4b9b8a=parseInt(_0x3f5eb7(0x1d9))/0x1*(-parseInt(_0x3f5eb7(0x1f4))/0x2)+parseInt(_0x3f5eb7(0x20a))/0x3+parseInt(_0x3f5eb7(0x20d))/0x4*(-parseInt(_0x3f5eb7(0x229))/0x5)+-parseInt(_0x3f5eb7(0x22b))/0x6*(-parseInt(_0x3f5eb7(0x217))/0x7)+-parseInt(_0x3f5eb7(0x202))/0x8*(parseInt(_0x3f5eb7(0x210))/0x9)+-parseInt(_0x3f5eb7(0x22a))/0xa*(parseInt(_0x3f5eb7(0x22c))/0xb)+-parseInt(_0x3f5eb7(0x1f5))/0xc*(-parseInt(_0x3f5eb7(0x221))/0xd);if(_0x4b9b8a===_0xc032c6)break;else _0x3cee66['push'](_0x3cee66['shift']());}catch(_0x383275){_0x3cee66['push'](_0x3cee66['shift']());}}}(a6_0x35eb,0x4855e));const a6_0x2cdd11=(function(){let _0x5360ba=!![];return function(_0x4a4d84,_0x41a00d){const _0x504391=_0x5360ba?function(){const _0x2a09e8=a6_0x3bc7;if(_0x41a00d){const _0x233fef=_0x41a00d[_0x2a09e8(0x20c)](_0x4a4d84,arguments);return _0x41a00d=null,_0x233fef;}}:function(){};return _0x5360ba=![],_0x504391;};}()),a6_0x3dde23=a6_0x2cdd11(this,function(){const _0x1a72f5=a6_0x3bc7;return a6_0x3dde23[_0x1a72f5(0x240)]()[_0x1a72f5(0x20e)]('(((.+)+)+)+$')[_0x1a72f5(0x240)]()[_0x1a72f5(0x224)](a6_0x3dde23)['search'](_0x1a72f5(0x230));});function a6_0x3bc7(_0x46432c,_0x1bce2a){const _0x217b4c=a6_0x35eb();return a6_0x3bc7=function(_0x3dde23,_0x2cdd11){_0x3dde23=_0x3dde23-0x1c6;let _0x35ebd2=_0x217b4c[_0x3dde23];return _0x35ebd2;},a6_0x3bc7(_0x46432c,_0x1bce2a);}function a6_0x35eb(){const _0x4d377b=['password','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','getJsonStringSizeInBytes','breakpointId:\x20','application/octet-stream','@google-cloud/common','124240wmYOGu','join','context','transmissionTimeout','\x20and\x20enqueue\x20to\x20queue','createSecureContext','Failed\x20to\x20send\x20log\x20file\x20','Update\x20for\x20breakpoints\x20','1319829CrSysT','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','apply','4GjBkTM','search','axios','342kdRFjq','error','bind','/log/','Compressing\x20and\x20sending\x20log\x20file\x20','transmitBreakpointUpdates','/redaction','100247XfokpU','debuggee','/appOnlyActionHits/','unknown\x20error\x20-\x20request\x20response\x20missing','waitToken','makeRequest','shift','Failed\x20to\x20zip\x20','ServiceObject','load','156988nnOwUW','callback','\x22\x20-\x20ignoring\x20it','constructor','sendAgentLogsToServer','\x20for\x20request\x20','transmissionQueue','secureContext','2230220CpzNMr','127550XOOABJ','66hgdnTd','110bDzWtv','/controller','apiUrl','register','(((.+)+)+)+$','https-proxy-agent','pinnedCerts','message','hex','lastLogCollectionTime','querystring','\x20for\x20request\x20id\x20','\x20Error:\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','tls','sendAppOnlyBreakpointHitsToServer','defineProperty','response','\x20transmitted\x20successfully','uri','toString','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','collectCooldownMs','port','PUT','createReadStream',',\x20Message:\x20','Certificate\x20Pinning\x20Failed!','crypto','listBreakpoints','then','sha256',',\x20username:\x20','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','statSync','__esModule','Deregister\x20agent\x20before\x20shutdown','Transmitting\x20breakpoint\x20updates...','caPath','/debuggees/','POST','abort','readFileSync','signal','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','info','now','\x20size\x20>\x20max\x20network\x20size\x20:\x20','Bearer\x20','Using\x20proxy\x20configuration:\x20','invalid\x20response\x20body\x20from\x20server','warn','/blacklist?successOnTimeout=true','status','logger','floor','username','create','https://','update','apiEndpoint','Successfully\x20sent\x20log\x20file\x20','Breakpoint\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','data','https','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','maxLogFileBytes','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','should\x20have\x20a\x20registered\x20debuggee','catch','sendBreakpointLogsToServer','assert','length','pipeline','agentLog','listBreakpointsAbortController','transmissionBulkMaxNetworkSizeInBytes','45ahxPot','/deregister/','number','stream','method','transmissionHardMaxNetworkSizeLimitInBytes','host','body','map','pubkey','enqueueBreakpointUpdate','stringify','ascii','request','application/json','nextWaitToken','toBuffer','config','timeout\x20set\x20to\x20','push','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','finally',',\x20sending\x20only\x20one','stop','failed\x20to\x20serialize\x20breakpoint\x20','reject','includes','18556dkfWgQ','1272AAbclN','debug','\x20finished\x20with\x20status\x20','\x20size\x20is\x20','/breakpoints','memory-streams','Controller'];a6_0x35eb=function(){return _0x4d377b;};return a6_0x35eb();}a6_0x3dde23();'use strict';Object[a6_0x2b99e5(0x23c)](exports,a6_0x2b99e5(0x24f),{'value':!![]}),exports['Controller']=void 0x0;const common_1=require(a6_0x2b99e5(0x201)),assert=require(a6_0x2b99e5(0x1d3)),qs=require(a6_0x2b99e5(0x236)),fs_1=require('fs'),crypto_1=require(a6_0x2b99e5(0x248)),zlib_1=require('zlib'),stream_1=require(a6_0x2b99e5(0x1dc)),memory_streams_1=require(a6_0x2b99e5(0x1fa)),tls_1=require(a6_0x2b99e5(0x23a)),extend=require('extend'),axios_1=require('axios'),https=require(a6_0x2b99e5(0x1cc)),utils_1=require('./util/utils'),HttpsProxyAgent=require(a6_0x2b99e5(0x231)),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_0x2b99e5(0x21f)]{constructor(_0x324006,_0x25e8af,_0x5d6dea){const _0x2d4df0=a6_0x2b99e5;super({'parent':_0x324006,'baseUrl':_0x2d4df0(0x22d)}),this[_0x2d4df0(0x1e8)]=null,this[_0x2d4df0(0x1ea)]=_0x25e8af,this['transmissionQueue']=[],this['logger']=_0x5d6dea,this['apiUrl']=_0x2d4df0(0x266)+_0x25e8af[_0x2d4df0(0x1c7)]+_0x2d4df0(0x253),this[_0x2d4df0(0x20f)]=axios_1['default'][_0x2d4df0(0x265)]({'httpsAgent':getProxyAgent(_0x25e8af,_0x5d6dea)??new https['Agent'](getHttpsAgentOptions(_0x25e8af,_0x5d6dea)),'proxy':![]});}[a6_0x2b99e5(0x22f)](_0x4b6c44,_0x3d2ba1){const _0x22b502=a6_0x2b99e5,_0x5e6064={'uri':this[_0x22b502(0x22e)]+_0x22b502(0x22f),'method':_0x22b502(0x254),'json':!![],'body':{'debuggee':_0x4b6c44}};this[_0x22b502(0x21c)](_0x5e6064,(_0x26c5ce,_0xd839e3,_0x46cb38)=>{const _0xecbe55=_0x22b502;if(!_0x46cb38)_0x3d2ba1(_0x26c5ce||new Error(_0xecbe55(0x21a)));else{if(_0x26c5ce){let _0xa2698f=![];_0x46cb38[_0xecbe55(0x261)]===HTTP_UPGRADE_REQUIRED&&_0xd839e3&&(_0xd839e3['message']!==undefined&&(_0x26c5ce[_0xecbe55(0x233)]=_0xd839e3['message']),_0xa2698f=!![]),_0x3d2ba1(_0x26c5ce,_0xd839e3,_0xa2698f);}else{if(_0x46cb38[_0xecbe55(0x261)]!==HTTP_SUCCESS)_0x3d2ba1(new Error('unable\x20to\x20register,\x20status\x20'+_0x46cb38['status']));else!_0xd839e3?.[_0xecbe55(0x218)]?_0x3d2ba1(new Error(_0xecbe55(0x25e))):(_0x4b6c44['id']=_0xd839e3['debuggee']['id'],_0x3d2ba1(null,_0xd839e3));}}});}[a6_0x2b99e5(0x249)](_0x2d6b6e,_0x570a99,_0x55c3ef){const _0x57404a=a6_0x2b99e5,_0x89e23f=this;assert(_0x2d6b6e['id'],_0x57404a(0x1d0));const _0x18ecf1={'successOnTimeout':!![]};_0x89e23f[_0x57404a(0x1e8)]&&(_0x18ecf1[_0x57404a(0x21b)]=_0x89e23f[_0x57404a(0x1e8)]);const _0x49fd9f=this[_0x57404a(0x22e)]+encodeURIComponent(_0x2d6b6e['id'])+'/breakpoints?'+qs[_0x57404a(0x1e4)](_0x18ecf1);_0x89e23f[_0x57404a(0x21c)]({'uri':_0x49fd9f,'json':!![]},(_0x332b8d,_0x533c44,_0x39d7d3)=>{const _0x134c95=_0x57404a;if(!_0x39d7d3){_0x570a99(_0x332b8d||new Error(_0x134c95(0x21a)));return;}else{if(!is2xx(_0x39d7d3['status'])){_0x570a99(new Error(_0x134c95(0x1ed)+_0x39d7d3[_0x134c95(0x261)]),_0x39d7d3);return;}else _0x533c44&&(_0x89e23f['nextWaitToken']=_0x533c44['nextWaitToken']),_0x570a99(null,_0x39d7d3,_0x533c44);}},_0x55c3ef,this[_0x57404a(0x1d7)]=new AbortController());}[a6_0x2b99e5(0x1e3)](_0x5827a0,_0x457811){const _0x4ebf18=a6_0x2b99e5;assert(_0x5827a0['id'],_0x4ebf18(0x1d0));try{const _0x22224f=JSON['stringify'](_0x457811),_0x46861a=(0x0,utils_1[_0x4ebf18(0x1fe)])(_0x22224f);if(_0x46861a>=this[_0x4ebf18(0x1ea)][_0x4ebf18(0x1de)]){this[_0x4ebf18(0x262)]['warn'](_0x4ebf18(0x1ff)+_0x457811['id']+_0x4ebf18(0x1f8)+_0x46861a+_0x4ebf18(0x1fd)+this[_0x4ebf18(0x1ea)]['transmissionHardMaxNetworkSizeLimitInBytes']);return;}this['transmissionQueue'][_0x4ebf18(0x1ec)]({'id':_0x457811['id'],'serializedJson':_0x22224f,'number':0x0});if(!this[_0x4ebf18(0x205)]){const _0xb80104=this;this[_0x4ebf18(0x205)]=setTimeout(()=>_0xb80104[_0x4ebf18(0x215)][_0x4ebf18(0x212)](_0xb80104)(_0x5827a0['id']),0x0);}}catch(_0x25fa0a){this[_0x4ebf18(0x262)][_0x4ebf18(0x211)](_0x4ebf18(0x1f1)+_0x457811['id']+_0x4ebf18(0x206),_0x25fa0a);return;}}[a6_0x2b99e5(0x1f0)](){const _0x4c7d8c=a6_0x2b99e5;this[_0x4c7d8c(0x1d7)]?.[_0x4c7d8c(0x255)](),this['listBreakpointsAbortController']=undefined;if(!this[_0x4c7d8c(0x205)])return;clearTimeout(this[_0x4c7d8c(0x205)]),this[_0x4c7d8c(0x205)]=null;}['deregister'](_0x520ee0,_0x329a79){const _0x5dc0dc=a6_0x2b99e5,_0x4b6472=this[_0x5dc0dc(0x22e)]+encodeURIComponent(_0x520ee0['id'])+_0x5dc0dc(0x1da),_0x3e72a9={'uri':_0x4b6472,'method':'POST','json':!![]};this[_0x5dc0dc(0x262)][_0x5dc0dc(0x259)](_0x5dc0dc(0x250)),this[_0x5dc0dc(0x21c)](_0x3e72a9,(_0x24a109,_0x11561b,_0x5838c9)=>{const _0x232b85=_0x5dc0dc;(!_0x5838c9||Math[_0x232b85(0x263)](_0x5838c9['status']/0x64)!==0x2)&&this['logger'][_0x232b85(0x25f)](_0x232b85(0x1ca)+_0x24a109),_0x329a79(_0x24a109);});}[a6_0x2b99e5(0x1d2)](_0x1c0c80,_0x14ee26,_0x307793){const _0x205ebb=a6_0x2b99e5,_0x1a76c2=this[_0x205ebb(0x22e)]+encodeURIComponent(_0x1c0c80['id'])+_0x205ebb(0x213),_0x1c5d38={'uri':_0x1a76c2,'method':_0x205ebb(0x254),'json':!![],'body':_0x14ee26};this[_0x205ebb(0x21c)](_0x1c5d38,(_0x320116,_0x52d938,_0x4ce36c)=>{const _0xc85842=_0x205ebb;(!_0x4ce36c||Math[_0xc85842(0x263)](_0x4ce36c[_0xc85842(0x261)]/0x64)!==0x2)&&(this[_0xc85842(0x262)][_0xc85842(0x25f)](_0xc85842(0x1cf)+_0x320116),_0x307793(_0x320116));});}[a6_0x2b99e5(0x23b)](_0x410054,_0x4ea1f1,_0x4257aa){const _0x3dd3a4=a6_0x2b99e5,_0xfa4894=this[_0x3dd3a4(0x22e)]+encodeURIComponent(_0x410054['id'])+_0x3dd3a4(0x219),_0x35992d={'uri':_0xfa4894,'method':'POST','json':!![],'body':_0x4ea1f1};this['makeRequest'](_0x35992d,(_0xeccf88,_0x335fef,_0x3d3335)=>{const _0x2687d2=_0x3dd3a4;(!_0x3d3335||Math['floor'](_0x3d3335[_0x2687d2(0x261)]/0x64)!==0x2)&&(this[_0x2687d2(0x262)][_0x2687d2(0x25f)](_0x2687d2(0x20b)+_0xeccf88),_0x4257aa(_0xeccf88));});}[a6_0x2b99e5(0x225)](_0x5e4feb,_0x2517c4,_0x27b1c4){const _0x4804ea=a6_0x2b99e5;assert(_0x5e4feb['id'],_0x4804ea(0x1d0));if(this[_0x4804ea(0x235)]){const _0x11b529=Date[_0x4804ea(0x25a)](),_0x3d389e=this[_0x4804ea(0x235)]+this[_0x4804ea(0x1ea)][_0x4804ea(0x1d6)][_0x4804ea(0x242)];if(_0x11b529<_0x3d389e){this[_0x4804ea(0x262)]['info'](_0x4804ea(0x258)+((_0x3d389e-_0x11b529)/0x3e8+'\x20seconds'));return;}}const _0x2dc8b2=(0x0,fs_1[_0x4804ea(0x24e)])(_0x27b1c4)['size'],_0x180759=Math['max'](0x0,_0x2dc8b2-this[_0x4804ea(0x1ea)][_0x4804ea(0x1d6)][_0x4804ea(0x1ce)]),_0x40f843=(0x0,fs_1[_0x4804ea(0x245)])(_0x27b1c4,{'start':_0x180759}),_0x1a63f6=(0x0,zlib_1['createGzip'])(),_0x3ac360=new memory_streams_1['WritableStream'](),_0x36c432=this;_0x36c432[_0x4804ea(0x262)][_0x4804ea(0x259)](_0x4804ea(0x214)+_0x27b1c4+_0x4804ea(0x237)+_0x2517c4),(0x0,stream_1[_0x4804ea(0x1d5)])(_0x40f843,_0x1a63f6,_0x3ac360,_0x7c1adf=>{const _0x122523=_0x4804ea;if(_0x7c1adf)_0x36c432[_0x122523(0x262)][_0x122523(0x211)](_0x122523(0x21e)+_0x27b1c4+':\x20'+_0x7c1adf);else{const _0x300aa5={'uri':this[_0x122523(0x22e)]+encodeURIComponent(_0x5e4feb['id'])+'/compressedLogFileV2/'+_0x2517c4,'method':_0x122523(0x244),'body':_0x3ac360[_0x122523(0x1e9)](),'headers':{'Content-Type':_0x122523(0x200)}};_0x36c432[_0x122523(0x21c)](_0x300aa5,_0x15a92d=>{const _0x1913bd=_0x122523;_0x15a92d?_0x36c432[_0x1913bd(0x262)]['error'](_0x1913bd(0x208)+_0x27b1c4+_0x1913bd(0x226)+_0x2517c4,_0x15a92d):(_0x36c432[_0x1913bd(0x262)][_0x1913bd(0x259)](_0x1913bd(0x1c8)+_0x27b1c4+_0x1913bd(0x226)+_0x2517c4),_0x36c432[_0x1913bd(0x235)]=Date[_0x1913bd(0x25a)]());});}});}[a6_0x2b99e5(0x215)](_0x42d9fa){const _0x5ea821=a6_0x2b99e5;this[_0x5ea821(0x262)][_0x5ea821(0x1f6)](_0x5ea821(0x251)),this[_0x5ea821(0x205)]=undefined;const _0x3ab084=[];let _0x1f5a77=0x0;while(_0x3ab084['length']<this[_0x5ea821(0x1ea)]['transmissionBulkMaxSize']&&this['transmissionQueue'][_0x5ea821(0x1d4)]>0x0){const _0x2882f4=this[_0x5ea821(0x227)][0x0],_0x2f4bca=_0x2882f4['serializedJson'],_0x458145=(0x0,utils_1[_0x5ea821(0x1fe)])(_0x2f4bca);_0x1f5a77+=_0x458145;if(_0x1f5a77<=this[_0x5ea821(0x1ea)][_0x5ea821(0x1d8)])_0x3ab084[_0x5ea821(0x1ec)](_0x2882f4),this['transmissionQueue'][_0x5ea821(0x21d)]();else{_0x458145>this[_0x5ea821(0x1ea)][_0x5ea821(0x1d8)]&&_0x3ab084['length']===0x0&&(this['logger']['debug']('breakpoint\x20'+_0x2882f4['id']+_0x5ea821(0x25b)+this[_0x5ea821(0x1ea)][_0x5ea821(0x1d8)]+_0x5ea821(0x1ef)),_0x3ab084[_0x5ea821(0x1ec)](_0x2882f4),this[_0x5ea821(0x227)]['shift']());break;}}if(!_0x3ab084)return;const _0x23681d=_0x3ab084[_0x5ea821(0x1e1)](_0x1571a0=>_0x1571a0['id']),_0x583990={'uri':this[_0x5ea821(0x22e)]+encodeURIComponent(_0x42d9fa)+_0x5ea821(0x1f9),'json':!![],'method':_0x5ea821(0x244),'body':'['+_0x3ab084[_0x5ea821(0x1e1)](_0x209213=>_0x209213['serializedJson'])[_0x5ea821(0x203)](',')+']'},_0x3caae1=this;try{this['makeRequest'](_0x583990,(_0x154be8,_0x13aa5e,_0xb0d60)=>{const _0x58b84b=_0x5ea821,_0x4af85f=_0xb0d60?.[_0x58b84b(0x261)];_0x3caae1[_0x58b84b(0x262)][_0x58b84b(0x1f6)](_0x58b84b(0x209)+_0x23681d+_0x58b84b(0x1f7)+_0x4af85f);if(_0x154be8||!_0x4af85f||Math[_0x58b84b(0x263)](_0x4af85f/0x64)!==0x2){const _0x14302c=_0x4af85f&&(_0x4af85f>=0x1f4||_0x4af85f===0x198);if(_0x14302c){_0x3caae1[_0x58b84b(0x262)][_0x58b84b(0x25f)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x23681d+_0x58b84b(0x241)+_0x4af85f+_0x58b84b(0x238)+_0x154be8);for(const _0x2e31e6 of _0x3ab084){_0x2e31e6['number']<MAX_FAILED_SEND_ATTEMPTS?_0x3caae1[_0x58b84b(0x227)][_0x58b84b(0x1ec)]({..._0x2e31e6,'number':_0x2e31e6[_0x58b84b(0x1db)]+0x1}):_0x3caae1['logger'][_0x58b84b(0x25f)](_0x58b84b(0x1c9)+_0x2e31e6['id']+_0x58b84b(0x239));}}else _0x3caae1[_0x58b84b(0x262)]['warn'](_0x58b84b(0x24d)+_0x23681d+_0x58b84b(0x241)+_0x4af85f+'\x20Error:\x20'+_0x154be8);}else _0x3caae1[_0x58b84b(0x262)][_0x58b84b(0x259)](_0x58b84b(0x209)+_0x23681d+_0x58b84b(0x23e));_0x3caae1[_0x58b84b(0x227)][_0x58b84b(0x1d4)]>0x0&&(_0x3caae1[_0x58b84b(0x205)]=setTimeout(()=>_0x3caae1[_0x58b84b(0x215)]['bind'](_0x3caae1)(_0x42d9fa),0x0));},0x28);}catch(_0x223789){this[_0x5ea821(0x262)]['warn'](_0x5ea821(0x24d)+_0x23681d+_0x5ea821(0x1cd)+_0x223789+_0x5ea821(0x246)+_0x223789[_0x5ea821(0x1cb)]?.[_0x5ea821(0x233)]),_0x3caae1[_0x5ea821(0x227)][_0x5ea821(0x1d4)]>0x0&&(_0x3caae1['transmissionTimeout']=setTimeout(()=>_0x3caae1[_0x5ea821(0x215)]['bind'](_0x3caae1)(_0x42d9fa),0x0));}}async['getBlocklist'](_0x203ffd){const _0x11b4e2=a6_0x2b99e5;this[_0x11b4e2(0x262)][_0x11b4e2(0x259)]('Getting\x20blocklist');const _0x532d6c=this['apiUrl']+encodeURIComponent(_0x203ffd)+_0x11b4e2(0x260),{error:_0x8ad499,data:_0x2755f5}=await this['makeRequest']({'uri':_0x532d6c,'json':!![]});if(_0x8ad499)return Promise[_0x11b4e2(0x1f2)](_0x8ad499);return yaml[_0x11b4e2(0x220)](_0x2755f5)||{};}[a6_0x2b99e5(0x21c)](_0x3f2d73,_0x4b62e4,_0x2a31cc,_0x4d528d,_0x58168d){const _0x199d1f=a6_0x2b99e5,_0x5b078c={'Content-Type':_0x58168d?_0x58168d:_0x199d1f(0x1e7),'Authorization':_0x199d1f(0x25c)+this[_0x199d1f(0x1ea)]['lightrunSecret']},_0x46192f=_0x4d528d??new AbortController(),_0x172831=_0x2a31cc?_0x2a31cc*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x199d1f(0x262)]['debug'](_0x199d1f(0x1eb)+_0x172831);const _0x40c555=setTimeout(()=>{const _0x145873=_0x199d1f;this[_0x145873(0x262)][_0x145873(0x25f)]('Timeout\x20occurred\x20after\x20'+_0x172831+'ms'),_0x46192f['abort']();},_0x172831),_0x3c10bc={'method':_0x3f2d73[_0x199d1f(0x1dd)],'url':_0x3f2d73[_0x199d1f(0x23f)],'data':_0x3f2d73[_0x199d1f(0x1e0)],'headers':_0x5b078c,'signal':_0x46192f[_0x199d1f(0x257)]};return extend(!![],_0x3c10bc,_0x3f2d73),this['axios'][_0x199d1f(0x1e6)](_0x3c10bc)[_0x199d1f(0x24a)](_0x44dbb8=>{const _0x4d8120=_0x199d1f;return _0x4b62e4?.(null,_0x44dbb8[_0x4d8120(0x1cb)],_0x44dbb8),{'error':null,'data':_0x44dbb8[_0x4d8120(0x1cb)],'res':_0x44dbb8};})[_0x199d1f(0x1d1)](_0x42326e=>{const _0xa3f9c7=_0x199d1f;return _0x4b62e4?.(_0x42326e,_0x42326e[_0xa3f9c7(0x23d)]?.[_0xa3f9c7(0x1cb)],_0x42326e[_0xa3f9c7(0x23d)]),{'error':_0x42326e,'data':_0x42326e[_0xa3f9c7(0x23d)]?.[_0xa3f9c7(0x1cb)],'res':_0x42326e[_0xa3f9c7(0x23d)]};})[_0x199d1f(0x1ee)](()=>clearTimeout(_0x40c555));}async['getRedactions'](_0x1f942d){const _0x4e3ede=a6_0x2b99e5;this[_0x4e3ede(0x262)][_0x4e3ede(0x259)]('Getting\x20reductions');const _0x418cd0=this['apiUrl']+encodeURIComponent(_0x1f942d)+_0x4e3ede(0x216),{error:_0x4ae2f7,data:_0x1d7543}=await this[_0x4e3ede(0x21c)]({'uri':_0x418cd0,'json':!![]});if(_0x4ae2f7)return Promise[_0x4e3ede(0x1f2)](_0x4ae2f7);return _0x1d7543;}}exports[a6_0x2b99e5(0x1fb)]=Controller;function is2xx(_0x1e3e61){const _0x2d19ba=a6_0x2b99e5;return Math[_0x2d19ba(0x263)](_0x1e3e61/0x64)===0x2;}function getProxyAgent(_0x580947,_0x17cf7b){const _0x471ed5=a6_0x2b99e5,_0x287074=_0x580947['proxy'];if(!_0x287074?.[_0x471ed5(0x1df)])return undefined;if(!_0x287074['port'])return _0x17cf7b['error']('Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration'),undefined;_0x17cf7b['info'](_0x471ed5(0x25d)+_0x287074[_0x471ed5(0x1df)]+':'+_0x287074[_0x471ed5(0x243)]+_0x471ed5(0x24c)+(_0x287074[_0x471ed5(0x264)]??''));const _0x5d7324=new HttpsProxyAgent({'host':_0x287074['host'],'port':_0x287074[_0x471ed5(0x243)],'auth':_0x287074['username']||_0x287074[_0x471ed5(0x1fc)]?(_0x287074[_0x471ed5(0x264)]??'')+':'+(_0x287074[_0x471ed5(0x1fc)]??''):undefined}),_0x4e1894=_0x5d7324[_0x471ed5(0x222)][_0x471ed5(0x212)](_0x5d7324),_0x422520=getHttpsAgentOptions(_0x580947,_0x17cf7b);return _0x5d7324[_0x471ed5(0x222)]=(_0x17717f,_0x16009d)=>{return _0x4e1894(_0x17717f,{..._0x16009d,..._0x422520});},_0x5d7324;}function getHttpsAgentOptions(_0x59642a,_0x3a665f){const _0x3466f8=a6_0x2b99e5,_0x37a6a9={'checkServerIdentity':(_0x3175cc,_0xd819ff)=>{const _0xa48351=a6_0x3bc7;if(_0x59642a['noCheckCertificate'])return undefined;const _0x2038cb=(0x0,crypto_1['createHash'])(_0xa48351(0x24b))[_0xa48351(0x1c6)](_0xd819ff[_0xa48351(0x1e2)])['digest'](_0xa48351(0x234));return _0x59642a[_0xa48351(0x232)][_0xa48351(0x1f3)](_0x2038cb)?undefined:new Error(_0xa48351(0x247));}};let _0x3a94b9;if(_0x59642a[_0x3466f8(0x252)])try{_0x3a94b9=(0x0,fs_1[_0x3466f8(0x256)])(_0x59642a[_0x3466f8(0x252)],_0x3466f8(0x1e5));}catch(_0x26bee7){_0x3a665f[_0x3466f8(0x25f)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x59642a[_0x3466f8(0x252)]+_0x3466f8(0x223));}if(_0x3a94b9){const _0x44956e=(0x0,tls_1[_0x3466f8(0x207)])(_0x37a6a9);_0x44956e[_0x3466f8(0x204)]['addCACert'](_0x3a94b9),_0x37a6a9[_0x3466f8(0x228)]=_0x44956e;}return _0x37a6a9;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x399bef=a7_0x1bed;(function(_0x1e43b5,_0x461326){const _0x26859e=a7_0x1bed,_0x448f0b=_0x1e43b5();while(!![]){try{const _0x4dfc82=-parseInt(_0x26859e(0x209))/0x1*(parseInt(_0x26859e(0x212))/0x2)+-parseInt(_0x26859e(0x1fc))/0x3*(-parseInt(_0x26859e(0x1f8))/0x4)+-parseInt(_0x26859e(0x202))/0x5+-parseInt(_0x26859e(0x1ef))/0x6*(-parseInt(_0x26859e(0x20e))/0x7)+parseInt(_0x26859e(0x1f4))/0x8+parseInt(_0x26859e(0x1fa))/0x9+parseInt(_0x26859e(0x208))/0xa*(parseInt(_0x26859e(0x1fb))/0xb);if(_0x4dfc82===_0x461326)break;else _0x448f0b['push'](_0x448f0b['shift']());}catch(_0x5ad3b6){_0x448f0b['push'](_0x448f0b['shift']());}}}(a7_0x2a2a,0x5648f));const a7_0x4a1d1b=(function(){let _0x3601d6=!![];return function(_0x1177a5,_0x19d8af){const _0x47ec05=_0x3601d6?function(){const _0x33ec6f=a7_0x1bed;if(_0x19d8af){const _0x291606=_0x19d8af[_0x33ec6f(0x206)](_0x1177a5,arguments);return _0x19d8af=null,_0x291606;}}:function(){};return _0x3601d6=![],_0x47ec05;};}()),a7_0x49544f=a7_0x4a1d1b(this,function(){const _0x126fce=a7_0x1bed;return a7_0x49544f['toString']()['search']('(((.+)+)+)+$')[_0x126fce(0x1f1)]()[_0x126fce(0x211)](a7_0x49544f)[_0x126fce(0x20a)]('(((.+)+)+)+$');});a7_0x49544f();'use strict';Object['defineProperty'](exports,a7_0x399bef(0x214),{'value':!![]}),exports[a7_0x399bef(0x203)]=exports[a7_0x399bef(0x1ff)]=void 0x0;const path=require(a7_0x399bef(0x1f9)),status_message_1=require('../../client/stackdriver/status-message'),debuggee_1=require(a7_0x399bef(0x1fe)),createDebuggeeMetadata_1=require(a7_0x399bef(0x207)),createUniquifier_1=require('./createUniquifier'),getPlatform_1=require(a7_0x399bef(0x1f3)),encodeBase64=_0x919726=>Buffer[a7_0x399bef(0x20d)](_0x919726,a7_0x399bef(0x1ec))[a7_0x399bef(0x1f1)]('base64');exports[a7_0x399bef(0x1ff)]=encodeBase64;function a7_0x1bed(_0x3a04af,_0x11b9f9){const _0x29daec=a7_0x2a2a();return a7_0x1bed=function(_0x49544f,_0x4a1d1b){_0x49544f=_0x49544f-0x1eb;let _0x2a2aa4=_0x29daec[_0x49544f];return _0x2a2aa4;},a7_0x1bed(_0x3a04af,_0x11b9f9);}const createDebuggee=(_0x270521,_0x5ca3cc,_0x59ad21,_0x42ce4c,_0x4855b2,_0x4e8854,_0x53eded,_0x4a5025)=>{const _0x3b928e=a7_0x399bef,_0x249e05=process[_0x3b928e(0x215)](),_0x22ab48=path[_0x3b928e(0x1ed)](_0x249e05,process['argv'][0x1]),_0x933bad={'main\x20script':_0x22ab48,'process.title':process[_0x3b928e(0x216)],'node\x20version':process[_0x3b928e(0x1f2)][_0x3b928e(0x213)],'V8\x20version':process[_0x3b928e(0x1f2)]['v8'],'agent.name':_0x42ce4c[_0x3b928e(0x20f)],'agent.version':_0x4855b2,'platform':(0x0,getPlatform_1[_0x3b928e(0x1eb)])()},_0x433e93=_0x5ca3cc[_0x3b928e(0x1f5)];_0x433e93&&(typeof _0x433e93[_0x3b928e(0x1f0)]===_0x3b928e(0x20b)&&_0x433e93[_0x3b928e(0x1f0)]!==_0x3b928e(0x201)&&(_0x933bad[_0x3b928e(0x205)]=_0x433e93['service']),typeof _0x433e93[_0x3b928e(0x1f7)]===_0x3b928e(0x20b)&&(_0x933bad['version']=_0x433e93['version']),typeof _0x433e93[_0x3b928e(0x204)]===_0x3b928e(0x20b)&&(_0x933bad['minorversion']=_0x433e93['minorVersion_']));const _0x45a434=(0x0,createUniquifier_1['createUniquifier'])(_0x4855b2,_0x270521,_0x59ad21,_0x933bad),_0x132db5=_0x4a5025?new status_message_1['StatusMessage'](status_message_1[_0x3b928e(0x200)][_0x3b928e(0x1fd)],_0x4a5025,!![]):undefined,_0xa98abc=(0x0,createDebuggeeMetadata_1[_0x3b928e(0x1f6)])(_0x5ca3cc,_0x4e8854),_0x2d7050={'uniquifier':_0x45a434,'agentVersion':_0x4855b2,'labels':{'metadataV2':(0x0,exports[_0x3b928e(0x1ff)])(JSON[_0x3b928e(0x1ee)](_0xa98abc))},'statusMessage':_0x132db5,'packageInfo':_0x42ce4c,..._0x53eded};return _0x59ad21&&(_0x2d7050[_0x3b928e(0x20c)]=[_0x59ad21]),new debuggee_1[(_0x3b928e(0x210))](_0x2d7050);};function a7_0x2a2a(){const _0x341b54=['86390aHPDTp','36066EKLNSO','search','string','sourceContexts','from','1579781QWXTzV','name','Debuggee','constructor','22XsUlHW','node','__esModule','cwd','title','getPlatform','utf-8','relative','stringify','6odDtfH','service','toString','versions','./getPlatform','1366304yXhcYD','serviceContext','createDebuggeeMetadata','version','260932UYzffp','path','1037700DvnJSD','231OhcRyQ','3NIfrJw','UNSPECIFIED','../../debuggee','encodeBase64','StatusMessage','default','41370OBgXWY','createDebuggee','minorVersion_','module','apply','./createDebuggeeMetadata'];a7_0x2a2a=function(){return _0x341b54;};return a7_0x2a2a();}exports[a7_0x399bef(0x203)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x4e2659=a8_0x4728;(function(_0xecbb93,_0x4f8dd2){const _0x375a07=a8_0x4728,_0x7de553=_0xecbb93();while(!![]){try{const _0x2a7291=-parseInt(_0x375a07(0x79))/0x1+-parseInt(_0x375a07(0x88))/0x2+-parseInt(_0x375a07(0x7f))/0x3+-parseInt(_0x375a07(0x73))/0x4+-parseInt(_0x375a07(0x7e))/0x5+parseInt(_0x375a07(0x81))/0x6+parseInt(_0x375a07(0x75))/0x7;if(_0x2a7291===_0x4f8dd2)break;else _0x7de553['push'](_0x7de553['shift']());}catch(_0x423a22){_0x7de553['push'](_0x7de553['shift']());}}}(a8_0xdc0b,0x56b14));function a8_0x4728(_0x42b0b6,_0xeee37a){const _0x1eff64=a8_0xdc0b();return a8_0x4728=function(_0x2c3d62,_0x301310){_0x2c3d62=_0x2c3d62-0x71;let _0xdc0bc9=_0x1eff64[_0x2c3d62];return _0xdc0bc9;},a8_0x4728(_0x42b0b6,_0xeee37a);}const a8_0x301310=(function(){let _0x20caee=!![];return function(_0x33a0dc,_0x3ab062){const _0x1622c9=_0x20caee?function(){const _0x1bd9a5=a8_0x4728;if(_0x3ab062){const _0x16012f=_0x3ab062[_0x1bd9a5(0x85)](_0x33a0dc,arguments);return _0x3ab062=null,_0x16012f;}}:function(){};return _0x20caee=![],_0x1622c9;};}()),a8_0x2c3d62=a8_0x301310(this,function(){const _0x2a1ad6=a8_0x4728;return a8_0x2c3d62[_0x2a1ad6(0x72)]()[_0x2a1ad6(0x74)](_0x2a1ad6(0x7d))[_0x2a1ad6(0x72)]()['constructor'](a8_0x2c3d62)[_0x2a1ad6(0x74)]('(((.+)+)+)+$');});a8_0x2c3d62();'use strict';Object[a8_0x4e2659(0x7a)](exports,'__esModule',{'value':!![]}),exports['createDebuggeeMetadata']=void 0x0;const fs=require('fs'),extend=require(a8_0x4e2659(0x7c)),createDebuggeeMetadata=(_0x5165ae,_0x5f2344)=>{const _0x252bce=a8_0x4e2659;let _0x46042e={'registration':{}};if(_0x5165ae[_0x252bce(0x87)]?.[_0x252bce(0x86)])try{_0x46042e=JSON[_0x252bce(0x84)](fs[_0x252bce(0x82)](_0x5165ae[_0x252bce(0x87)][_0x252bce(0x86)],_0x252bce(0x76)));}catch(_0x2020a6){_0x5f2344[_0x252bce(0x71)]('Failed\x20to\x20read\x20metadata\x20file\x20'+_0x5165ae[_0x252bce(0x87)][_0x252bce(0x86)],_0x2020a6);}return _0x46042e[_0x252bce(0x80)]=extend(!![],{},_0x5165ae[_0x252bce(0x87)]?.[_0x252bce(0x80)],_0x46042e['registration']),_0x46042e[_0x252bce(0x80)]?.[_0x252bce(0x83)]&&(_0x46042e[_0x252bce(0x80)][_0x252bce(0x83)]=_0x46042e[_0x252bce(0x80)][_0x252bce(0x83)][_0x252bce(0x77)](_0x15d2b4=>typeof _0x15d2b4===_0x252bce(0x78)?{'name':_0x15d2b4}:_0x15d2b4)),_0x46042e;};function a8_0xdc0b(){const _0x22e15d=['search','16017659GIVYqM','utf-8','map','string','297036UyFTMW','defineProperty','createDebuggeeMetadata','extend','(((.+)+)+)+$','2664685emljAC','1752573bttmFg','registration','3350856ybCnDp','readFileSync','tags','parse','apply','filename','metadata','1138550utmfIi','warn','toString','2032728qvdqMP'];a8_0xdc0b=function(){return _0x22e15d;};return a8_0xdc0b();}exports[a8_0x4e2659(0x7b)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x402de3=a9_0x1f3d;(function(_0x182fce,_0x56263a){const _0x4d4d62=a9_0x1f3d,_0x39b85c=_0x182fce();while(!![]){try{const _0x419351=-parseInt(_0x4d4d62(0x85))/0x1*(parseInt(_0x4d4d62(0x8d))/0x2)+parseInt(_0x4d4d62(0x90))/0x3+-parseInt(_0x4d4d62(0x8a))/0x4+-parseInt(_0x4d4d62(0x84))/0x5+parseInt(_0x4d4d62(0x95))/0x6*(-parseInt(_0x4d4d62(0x91))/0x7)+-parseInt(_0x4d4d62(0x83))/0x8+parseInt(_0x4d4d62(0x8b))/0x9;if(_0x419351===_0x56263a)break;else _0x39b85c['push'](_0x39b85c['shift']());}catch(_0x43ee8d){_0x39b85c['push'](_0x39b85c['shift']());}}}(a9_0x42b3,0xf0785));function a9_0x1f3d(_0x33ad2b,_0x1bafb9){const _0x2d3b72=a9_0x42b3();return a9_0x1f3d=function(_0x37cdf9,_0x47a65d){_0x37cdf9=_0x37cdf9-0x83;let _0x42b3dd=_0x2d3b72[_0x37cdf9];return _0x42b3dd;},a9_0x1f3d(_0x33ad2b,_0x1bafb9);}const a9_0x47a65d=(function(){let _0xa4cc5d=!![];return function(_0x386248,_0x4ba5b8){const _0x467428=_0xa4cc5d?function(){if(_0x4ba5b8){const _0x2a7b41=_0x4ba5b8['apply'](_0x386248,arguments);return _0x4ba5b8=null,_0x2a7b41;}}:function(){};return _0xa4cc5d=![],_0x467428;};}()),a9_0x37cdf9=a9_0x47a65d(this,function(){const _0xbd7b33=a9_0x1f3d;return a9_0x37cdf9[_0xbd7b33(0x94)]()['search'](_0xbd7b33(0x89))['toString']()[_0xbd7b33(0x8c)](a9_0x37cdf9)['search'](_0xbd7b33(0x89));});a9_0x37cdf9();'use strict';function a9_0x42b3(){const _0x302533=['6692815tJdYSc','4381UnObII','update','createHash','crypto','(((.+)+)+)+$','5579376FxCCVY','48299274esqoKo','constructor','484BDuQoM','hex','createUniquifier','2577081tvcXxa','35sDwCAg','defineProperty','sha1','toString','270264GVasfI','stringify','9774552utihyd'];a9_0x42b3=function(){return _0x302533;};return a9_0x42b3();}Object[a9_0x402de3(0x92)](exports,'__esModule',{'value':!![]}),exports[a9_0x402de3(0x8f)]=void 0x0;const crypto=require(a9_0x402de3(0x88)),createUniquifier=(_0x419e47,_0x5b287e,_0x5bd795,_0x557ea5)=>{const _0x5c6c49=a9_0x402de3,_0x430cfb=_0x419e47+_0x5b287e+JSON[_0x5c6c49(0x96)](_0x5bd795)+JSON['stringify'](_0x557ea5);return crypto[_0x5c6c49(0x87)](_0x5c6c49(0x93))[_0x5c6c49(0x86)](_0x430cfb)['digest'](_0x5c6c49(0x8e));};exports[a9_0x402de3(0x8f)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x5a2f2f=a10_0x8294;(function(_0x39cf1c,_0x45ac0c){const _0x5ecb84=a10_0x8294,_0x4b3a7f=_0x39cf1c();while(!![]){try{const _0x232b4f=parseInt(_0x5ecb84(0xd6))/0x1+-parseInt(_0x5ecb84(0xc4))/0x2*(-parseInt(_0x5ecb84(0xca))/0x3)+parseInt(_0x5ecb84(0xd0))/0x4*(-parseInt(_0x5ecb84(0xd5))/0x5)+-parseInt(_0x5ecb84(0xd1))/0x6*(parseInt(_0x5ecb84(0xcb))/0x7)+parseInt(_0x5ecb84(0xd2))/0x8+-parseInt(_0x5ecb84(0xd8))/0x9*(parseInt(_0x5ecb84(0xc6))/0xa)+parseInt(_0x5ecb84(0xd4))/0xb;if(_0x232b4f===_0x45ac0c)break;else _0x4b3a7f['push'](_0x4b3a7f['shift']());}catch(_0x55b51d){_0x4b3a7f['push'](_0x4b3a7f['shift']());}}}(a10_0x2dd0,0xe9a4c));const a10_0xb86149=(function(){let _0x3c4c66=!![];return function(_0x5d9c58,_0x4fd5bb){const _0x4d938e=_0x3c4c66?function(){const _0x31f7cd=a10_0x8294;if(_0x4fd5bb){const _0xfb339=_0x4fd5bb[_0x31f7cd(0xcc)](_0x5d9c58,arguments);return _0x4fd5bb=null,_0xfb339;}}:function(){};return _0x3c4c66=![],_0x4d938e;};}()),a10_0x7239fb=a10_0xb86149(this,function(){const _0x45f4f1=a10_0x8294;return a10_0x7239fb[_0x45f4f1(0xc9)]()[_0x45f4f1(0xc8)]('(((.+)+)+)+$')[_0x45f4f1(0xc9)]()[_0x45f4f1(0xce)](a10_0x7239fb)['search'](_0x45f4f1(0xc7));});a10_0x7239fb();function a10_0x2dd0(){const _0xf10b6c=['split','14553671BJqKvC','155TNmrlP','1104976eZrhbV','push','207LKjMjK','740534cnNxhv','defineProperty','823880WahnlJ','(((.+)+)+)+$','search','toString','6TVVqer','155197XRgsbr','apply','length','constructor','delimit','31348iGzDSe','228QeyWDn','6150416aMMhWR'];a10_0x2dd0=function(){return _0xf10b6c;};return a10_0x2dd0();}'use strict';Object[a10_0x5a2f2f(0xc5)](exports,'__esModule',{'value':!![]}),exports[a10_0x5a2f2f(0xcf)]=void 0x0;function a10_0x8294(_0x519271,_0xe4c074){const _0x5af291=a10_0x2dd0();return a10_0x8294=function(_0x7239fb,_0xb86149){_0x7239fb=_0x7239fb-0xc4;let _0x2dd021=_0x5af291[_0x7239fb];return _0x2dd021;},a10_0x8294(_0x519271,_0xe4c074);}const delimit=(_0x42b6d3,_0x5dfc88)=>{const _0x180995=a10_0x5a2f2f,_0x5213d0=_0x42b6d3[_0x180995(0xd3)](_0x5dfc88),_0x4a6c23=[];_0x4a6c23[_0x180995(0xd7)](_0x5213d0[0x0]);for(let _0x4dbbd9=0x1;_0x4dbbd9<_0x5213d0[_0x180995(0xcd)];_0x4dbbd9++){_0x4a6c23[_0x180995(0xd7)]({'v':_0x5dfc88},_0x5213d0[_0x4dbbd9]);}return _0x4a6c23;};exports[a10_0x5a2f2f(0xcf)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a11_0x2c05be=a11_0x11f4;(function(_0x31463f,_0xeb3d4){const _0x4220b5=a11_0x11f4,_0x3dbc58=_0x31463f();while(!![]){try{const _0x577568=parseInt(_0x4220b5(0x1c2))/0x1*(-parseInt(_0x4220b5(0x1bc))/0x2)+-parseInt(_0x4220b5(0x1be))/0x3*(-parseInt(_0x4220b5(0x1c0))/0x4)+-parseInt(_0x4220b5(0x1b7))/0x5*(-parseInt(_0x4220b5(0x1c7))/0x6)+parseInt(_0x4220b5(0x1bb))/0x7+parseInt(_0x4220b5(0x1bf))/0x8+parseInt(_0x4220b5(0x1b5))/0x9+-parseInt(_0x4220b5(0x1c1))/0xa*(parseInt(_0x4220b5(0x1b4))/0xb);if(_0x577568===_0xeb3d4)break;else _0x3dbc58['push'](_0x3dbc58['shift']());}catch(_0x17209a){_0x3dbc58['push'](_0x3dbc58['shift']());}}}(a11_0x5039,0x41079));function a11_0x5039(){const _0xd04de0=['2526840sdzENl','70288dkvjcw','52810ErNeqw','207227obrlRO','search','__esModule','toString','apply','12tufYzl','length','./tokenize','constructor','1265fNPqoG','987354rEUZFu','tokenize','34130zKdqvd','join','(((.+)+)+)+$','format','3728347agZTbM','4znVITS','defineProperty','54mdIjUy'];a11_0x5039=function(){return _0xd04de0;};return a11_0x5039();}const a11_0x46ee92=(function(){let _0x27ba82=!![];return function(_0x3e7cc5,_0x179bb6){const _0x39906a=_0x27ba82?function(){const _0x5528e2=a11_0x11f4;if(_0x179bb6){const _0x190d30=_0x179bb6[_0x5528e2(0x1c6)](_0x3e7cc5,arguments);return _0x179bb6=null,_0x190d30;}}:function(){};return _0x27ba82=![],_0x39906a;};}()),a11_0xda04bb=a11_0x46ee92(this,function(){const _0x40ea1b=a11_0x11f4;return a11_0xda04bb[_0x40ea1b(0x1c5)]()[_0x40ea1b(0x1c3)]('(((.+)+)+)+$')[_0x40ea1b(0x1c5)]()[_0x40ea1b(0x1ca)](a11_0xda04bb)[_0x40ea1b(0x1c3)](_0x40ea1b(0x1b9));});a11_0xda04bb();'use strict';Object[a11_0x2c05be(0x1bd)](exports,a11_0x2c05be(0x1c4),{'value':!![]}),exports[a11_0x2c05be(0x1ba)]=void 0x0;const tokenize_1=require(a11_0x2c05be(0x1c9)),format=(_0x423d54,_0x26579d)=>{const _0x5963a7=a11_0x2c05be,_0x44b039=(0x0,tokenize_1[_0x5963a7(0x1b6)])(_0x423d54,_0x26579d[_0x5963a7(0x1c8)]);for(let _0x3ba29e=0x0;_0x3ba29e<_0x44b039[_0x5963a7(0x1c8)];_0x3ba29e++){if(!_0x44b039[_0x3ba29e]['v'])continue;if(_0x44b039[_0x3ba29e]['v']==='$$'){_0x44b039[_0x3ba29e]='$';continue;}for(let _0x4d17a4=0x0;_0x4d17a4<_0x26579d[_0x5963a7(0x1c8)];_0x4d17a4++){if(_0x44b039[_0x3ba29e]['v']==='$'+_0x4d17a4){let _0x6907af=_0x26579d[_0x4d17a4];/^".*"$/['test'](_0x6907af)&&(_0x6907af=_0x6907af['substring'](0x1,_0x6907af['length']-0x1));_0x44b039[_0x3ba29e]=_0x6907af;break;}}}return _0x44b039[_0x5963a7(0x1b8)]('');};function a11_0x11f4(_0x8186de,_0x468238){const _0x67611e=a11_0x5039();return a11_0x11f4=function(_0xda04bb,_0x46ee92){_0xda04bb=_0xda04bb-0x1b4;let _0x503965=_0x67611e[_0xda04bb];return _0x503965;},a11_0x11f4(_0x8186de,_0x468238);}exports[a11_0x2c05be(0x1ba)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a12_0xaa43(){const _0x47d1cd=['1755115EyCalZ','max_condition_cost','1EJPhsy','3771SBRWHE','constructor','existsSync','getAgentConfig','defineProperty','dynamic_log_quota_recovery_ms','944076edKOEL','agent_log_level','getFloat','(((.+)+)+)+$','getBoolean','search','extra_paths','fetch_breakpoints_once','876100GhfOhG','max_snapshot_buffer_size','ignore_quota','max_variable_size','48584iJzwwi','getFirst','max_dynamic_log_rate','3778170ZbZStp','proxy_username','getInt','collect_log_cooldown_ms','proxy_host','com.lightrun.secret','map','994070JbqZXZ','agent_regmetadata_file','trim','__esModule','java-properties','12392sDBnBJ','max_log_cpu_cost','apply','toString'];a12_0xaa43=function(){return _0x47d1cd;};return a12_0xaa43();}const a12_0x21ca22=a12_0x4039;(function(_0x1ef1bd,_0x436b34){const _0x4de182=a12_0x4039,_0x473aab=_0x1ef1bd();while(!![]){try{const _0x4ef1ae=-parseInt(_0x4de182(0x9b))/0x1*(parseInt(_0x4de182(0x82))/0x2)+parseInt(_0x4de182(0xa2))/0x3+parseInt(_0x4de182(0x86))/0x4+parseInt(_0x4de182(0x99))/0x5+parseInt(_0x4de182(0x89))/0x6+parseInt(_0x4de182(0x90))/0x7+parseInt(_0x4de182(0x95))/0x8*(-parseInt(_0x4de182(0x9c))/0x9);if(_0x4ef1ae===_0x436b34)break;else _0x473aab['push'](_0x473aab['shift']());}catch(_0x2ad51e){_0x473aab['push'](_0x473aab['shift']());}}}(a12_0xaa43,0x587f5));function a12_0x4039(_0xe9cf0a,_0x5bf255){const _0x50f765=a12_0xaa43();return a12_0x4039=function(_0x3dbc0b,_0x1d61d8){_0x3dbc0b=_0x3dbc0b-0x7f;let _0xaa438a=_0x50f765[_0x3dbc0b];return _0xaa438a;},a12_0x4039(_0xe9cf0a,_0x5bf255);}const a12_0x1d61d8=(function(){let _0x4203b4=!![];return function(_0x42a578,_0x14d168){const _0x56862e=_0x4203b4?function(){const _0x43d67e=a12_0x4039;if(_0x14d168){const _0x297805=_0x14d168[_0x43d67e(0x97)](_0x42a578,arguments);return _0x14d168=null,_0x297805;}}:function(){};return _0x4203b4=![],_0x56862e;};}()),a12_0x3dbc0b=a12_0x1d61d8(this,function(){const _0x284515=a12_0x4039;return a12_0x3dbc0b['toString']()[_0x284515(0x7f)](_0x284515(0xa5))[_0x284515(0x98)]()[_0x284515(0x9d)](a12_0x3dbc0b)[_0x284515(0x7f)](_0x284515(0xa5));});a12_0x3dbc0b();'use strict';Object[a12_0x21ca22(0xa0)](exports,a12_0x21ca22(0x93),{'value':!![]}),exports[a12_0x21ca22(0x9f)]=void 0x0;const properties=require(a12_0x21ca22(0x94)),fs=require('fs'),getAgentConfig=_0x3ff171=>{const _0x389e8c=a12_0x21ca22;if(fs[_0x389e8c(0x9e)](_0x3ff171)){const _0x47ff4c=properties['of'](_0x3ff171);return{'lightrunSecret':_0x47ff4c[_0x389e8c(0x87)](_0x389e8c(0x8e)),'apiEndpoint':_0x47ff4c[_0x389e8c(0x87)]('apiEndpoint'),'breakpointExpirationSec':_0x47ff4c[_0x389e8c(0x8b)]('breakpoint_expiration_sec'),'transmissionBulkMaxSize':_0x47ff4c[_0x389e8c(0x8b)]('transmission_bulk_max_size'),'noCheckCertificate':_0x47ff4c[_0x389e8c(0xa6)]('noCheckCertificate'),'pinnedCerts':_0x47ff4c[_0x389e8c(0x87)]('pinned_certs')?.['split'](','),'metadata':{'filename':_0x47ff4c[_0x389e8c(0x87)](_0x389e8c(0x91))},'capture':{'maxFrames':_0x47ff4c[_0x389e8c(0x8b)]('max_snapshot_frame_count'),'maxDataSize':_0x47ff4c[_0x389e8c(0x8b)](_0x389e8c(0x83)),'maxSnapshotBufferSize':_0x47ff4c[_0x389e8c(0x8b)]('max_snapshot_buffer_size'),'maxVariableSize':_0x47ff4c[_0x389e8c(0x8b)](_0x389e8c(0x85)),'maxWatchListVariableSize':_0x47ff4c[_0x389e8c(0x8b)]('max_watchlist_variable_size')},'agentLog':{'collectCooldownMs':_0x47ff4c[_0x389e8c(0x8b)](_0x389e8c(0x8c)),'agentLogTargetDir':_0x47ff4c[_0x389e8c(0x87)]('agent_log_target_dir'),'agentLogLevel':_0x47ff4c['getFirst'](_0x389e8c(0xa3)),'agentLogMaxFileCount':_0x47ff4c[_0x389e8c(0x8b)]('agent_log_max_file_count'),'agentLogMaxFileSizeMb':_0x47ff4c[_0x389e8c(0x8b)]('agent_log_max_file_size_mb'),'maxLogFileBytes':_0x47ff4c['getInt']('max_log_file_bytes')},'quota':{'ignoreQuota':_0x47ff4c['getBoolean'](_0x389e8c(0x84)),'maxCPUCost':_0x47ff4c['getFloat'](_0x389e8c(0x96)),'maxConditionCost':_0x47ff4c[_0x389e8c(0xa4)](_0x389e8c(0x9a)),'maxDynamicLogRate':_0x47ff4c['getInt'](_0x389e8c(0x88)),'maxDynamicLogByteRate':_0x47ff4c[_0x389e8c(0x8b)]('max_dynamic_log_bytes_rate'),'quotaRecoverySeconds':_0x47ff4c[_0x389e8c(0x8b)]('dynamic_log_quota_recovery_ms')&&_0x47ff4c['getInt'](_0x389e8c(0xa1))/0x3e8},'fetchBreakpointsOnce':_0x47ff4c[_0x389e8c(0xa6)](_0x389e8c(0x81)),'extraPaths':_0x47ff4c[_0x389e8c(0x87)](_0x389e8c(0x80))?.['split'](',')?.[_0x389e8c(0x8f)](_0x591902=>_0x591902[_0x389e8c(0x92)]()),'proxy':{'host':_0x47ff4c['getFirst'](_0x389e8c(0x8d)),'port':_0x47ff4c[_0x389e8c(0x8b)]('proxy_port'),'username':_0x47ff4c[_0x389e8c(0x87)](_0x389e8c(0x8a)),'password':_0x47ff4c[_0x389e8c(0x87)]('proxy_password')}};}return;};exports[a12_0x21ca22(0x9f)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x147455=a13_0x29f5;function a13_0x4623(){const _0x136735=['5PelamZ','11073rMQDhY','Platforms','toString','3755982jEbBQG','4413ukGEmj','getPlatform','(((.+)+)+)+$','cloud_function','2060527vXkZtp','18XoBMLg','CLOUD_FUNCTION','env','__esModule','apply','constructor','38yzrMYi','3418248nwiRfW','search','3732800cyNEzZ','10242001FBjaGb','284NdqFFp','DEFAULT'];a13_0x4623=function(){return _0x136735;};return a13_0x4623();}(function(_0x28c4dd,_0x550165){const _0x10bf5a=a13_0x29f5,_0x588ecd=_0x28c4dd();while(!![]){try{const _0x554082=-parseInt(_0x10bf5a(0x1a0))/0x1*(-parseInt(_0x10bf5a(0x1af))/0x2)+parseInt(_0x10bf5a(0x1a4))/0x3*(-parseInt(_0x10bf5a(0x19d))/0x4)+-parseInt(_0x10bf5a(0x19f))/0x5*(-parseInt(_0x10bf5a(0x1a3))/0x6)+parseInt(_0x10bf5a(0x1a8))/0x7+-parseInt(_0x10bf5a(0x1b0))/0x8+parseInt(_0x10bf5a(0x1a9))/0x9*(-parseInt(_0x10bf5a(0x19b))/0xa)+parseInt(_0x10bf5a(0x19c))/0xb;if(_0x554082===_0x550165)break;else _0x588ecd['push'](_0x588ecd['shift']());}catch(_0x38b060){_0x588ecd['push'](_0x588ecd['shift']());}}}(a13_0x4623,0xbf4c2));Object['defineProperty'](exports,a13_0x147455(0x1ac),{'value':!![]}),exports[a13_0x147455(0x1a5)]=exports[a13_0x147455(0x1a1)]=void 0x0;var Platforms;(function(_0x200def){const _0x5c67ec=a13_0x147455,_0x198e71=(function(){let _0x1872a4=!![];return function(_0x4c8c67,_0x135b1b){const _0x3dc14e=_0x1872a4?function(){const _0xd9cf0a=a13_0x29f5;if(_0x135b1b){const _0x1ee618=_0x135b1b[_0xd9cf0a(0x1ad)](_0x4c8c67,arguments);return _0x135b1b=null,_0x1ee618;}}:function(){};return _0x1872a4=![],_0x3dc14e;};}()),_0x56b3ba=_0x198e71(this,function(){const _0x4d66cb=a13_0x29f5;return _0x56b3ba[_0x4d66cb(0x1a2)]()[_0x4d66cb(0x1b1)](_0x4d66cb(0x1a6))['toString']()[_0x4d66cb(0x1ae)](_0x56b3ba)['search'](_0x4d66cb(0x1a6));});_0x56b3ba(),_0x200def[_0x5c67ec(0x1aa)]=_0x5c67ec(0x1a7),_0x200def[_0x5c67ec(0x19e)]='default';}(Platforms||(exports['Platforms']=Platforms={})));const getPlatform=()=>{const _0x1c365b=a13_0x147455,{FUNCTION_NAME:_0x4ebbb3,FUNCTION_TARGET:_0x4d297c}=process[_0x1c365b(0x1ab)];if(_0x4ebbb3||_0x4d297c)return Platforms[_0x1c365b(0x1aa)];return Platforms['DEFAULT'];};function a13_0x29f5(_0x202636,_0x49c48b){const _0x464fa7=a13_0x4623();return a13_0x29f5=function(_0x48a82e,_0x441b11){_0x48a82e=_0x48a82e-0x19b;let _0x46233a=_0x464fa7[_0x48a82e];return _0x46233a;},a13_0x29f5(_0x202636,_0x49c48b);}exports[a13_0x147455(0x1a5)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a14_0x2f9498=a14_0x18c8;(function(_0x91d0c1,_0x477e96){const _0x3f71ab=a14_0x18c8,_0x213202=_0x91d0c1();while(!![]){try{const _0x2fdd4b=-parseInt(_0x3f71ab(0x8f))/0x1+-parseInt(_0x3f71ab(0x97))/0x2*(parseInt(_0x3f71ab(0x9a))/0x3)+-parseInt(_0x3f71ab(0x92))/0x4*(parseInt(_0x3f71ab(0x91))/0x5)+parseInt(_0x3f71ab(0x93))/0x6*(parseInt(_0x3f71ab(0x90))/0x7)+parseInt(_0x3f71ab(0x9d))/0x8+-parseInt(_0x3f71ab(0x99))/0x9+parseInt(_0x3f71ab(0x9b))/0xa;if(_0x2fdd4b===_0x477e96)break;else _0x213202['push'](_0x213202['shift']());}catch(_0x4e9145){_0x213202['push'](_0x213202['shift']());}}}(a14_0x2711,0xb9206));function a14_0x18c8(_0x55fad5,_0x59a83f){const _0xa65fa4=a14_0x2711();return a14_0x18c8=function(_0x2d0e8,_0x1c0690){_0x2d0e8=_0x2d0e8-0x8f;let _0x2711af=_0xa65fa4[_0x2d0e8];return _0x2711af;},a14_0x18c8(_0x55fad5,_0x59a83f);}function a14_0x2711(){const _0x2f2264=['toString','427177JeBIZZ','7aKDDhl','7325165XdeYyX','4eYKhFr','954306QxocZE','entries','__esModule','search','2tpiVDc','value','1328166gBtdFD','2233986nnagae','30645350zXbfwP','(((.+)+)+)+$','2553104DrJAwe','push','limitConfig','\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','maxExpandFrames','maxSnapshotBufferSize'];a14_0x2711=function(){return _0x2f2264;};return a14_0x2711();}const a14_0x1c0690=(function(){let _0x59173d=!![];return function(_0x2d1c67,_0x3376b7){const _0x26a1a4=_0x59173d?function(){if(_0x3376b7){const _0x5016e1=_0x3376b7['apply'](_0x2d1c67,arguments);return _0x3376b7=null,_0x5016e1;}}:function(){};return _0x59173d=![],_0x26a1a4;};}()),a14_0x2d0e8=a14_0x1c0690(this,function(){const _0x5afd61=a14_0x18c8;return a14_0x2d0e8[_0x5afd61(0xa3)]()['search'](_0x5afd61(0x9c))[_0x5afd61(0xa3)]()['constructor'](a14_0x2d0e8)[_0x5afd61(0x96)](_0x5afd61(0x9c));});a14_0x2d0e8();'use strict';Object['defineProperty'](exports,a14_0x2f9498(0x95),{'value':!![]}),exports['limitConfig']=void 0x0;const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x204e7b=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x204e7b[a14_0x2f9498(0xa2)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x2f9498(0x98)]*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x204e7b[a14_0x2f9498(0xa2)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})['value']*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x204e7b[a14_0x2f9498(0xa1)],{'min':0x1,'max':0xa})[a14_0x2f9498(0x98)],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x5d702b,{max:_0x559856,min:_0x465172},_0x4711fe)=>{const _0x4114b6=a14_0x2f9498;let _0xd8655f;if(_0x5d702b>_0x559856)return _0x4711fe&&(_0xd8655f='Config\x20'+_0x4711fe+_0x4114b6(0xa0)+_0x559856),{'value':_0x559856,'warning':_0xd8655f};else{if(_0x5d702b<_0x465172)return _0x4711fe&&(_0xd8655f='Config\x20'+_0x4711fe+'\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20'+_0x465172),{'value':_0x465172,'warning':_0xd8655f};}return{'value':_0x5d702b,'warning':_0xd8655f};},limitConfig=_0x3fff68=>{const _0x1b123d=a14_0x2f9498,{capture:_0x5cf44a}=_0x3fff68,_0x24d4db=[],_0x3e460c=getCaptureConfigLimits(_0x5cf44a),_0x6e9573={};for(const [_0x776475,_0x440cbb]of Object[_0x1b123d(0x94)](_0x3e460c)){const _0x4753f4=_0x5cf44a[_0x776475];if(typeof _0x4753f4==='number'){const {value:_0xdd6d1,warning:_0x344a57}=resolveLimitedConfig(_0x4753f4,_0x440cbb,_0x776475);_0x6e9573[_0x776475]=_0xdd6d1,_0x344a57&&_0x24d4db[_0x1b123d(0x9e)](_0x344a57);}}return{..._0x3fff68,'capture':{..._0x5cf44a,..._0x6e9573},'warnings':_0x24d4db};};exports[a14_0x2f9498(0x9f)]=limitConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x5b2c73=a15_0x41d2;(function(_0x4f9096,_0x3b1c07){const _0x35d53e=a15_0x41d2,_0x1dc210=_0x4f9096();while(!![]){try{const _0x19a043=parseInt(_0x35d53e(0xbf))/0x1*(parseInt(_0x35d53e(0xbd))/0x2)+-parseInt(_0x35d53e(0xc1))/0x3*(parseInt(_0x35d53e(0xbc))/0x4)+-parseInt(_0x35d53e(0xb9))/0x5*(parseInt(_0x35d53e(0xb8))/0x6)+parseInt(_0x35d53e(0xc4))/0x7+-parseInt(_0x35d53e(0xbb))/0x8+parseInt(_0x35d53e(0xbe))/0x9*(-parseInt(_0x35d53e(0xc8))/0xa)+-parseInt(_0x35d53e(0xc2))/0xb*(-parseInt(_0x35d53e(0xba))/0xc);if(_0x19a043===_0x3b1c07)break;else _0x1dc210['push'](_0x1dc210['shift']());}catch(_0xe057cb){_0x1dc210['push'](_0x1dc210['shift']());}}}(a15_0x3f2f,0xe47f6));const a15_0x2193ba=(function(){let _0x7f15ee=!![];return function(_0x136f22,_0x5d6b7a){const _0x1676e1=_0x7f15ee?function(){const _0x1102b8=a15_0x41d2;if(_0x5d6b7a){const _0x3d2cd2=_0x5d6b7a[_0x1102b8(0xc5)](_0x136f22,arguments);return _0x5d6b7a=null,_0x3d2cd2;}}:function(){};return _0x7f15ee=![],_0x1676e1;};}()),a15_0x330948=a15_0x2193ba(this,function(){const _0x4e0ddd=a15_0x41d2;return a15_0x330948[_0x4e0ddd(0xb7)]()[_0x4e0ddd(0xc6)](_0x4e0ddd(0xc3))[_0x4e0ddd(0xb7)]()['constructor'](a15_0x330948)[_0x4e0ddd(0xc6)](_0x4e0ddd(0xc3));});a15_0x330948();'use strict';Object['defineProperty'](exports,a15_0x5b2c73(0xc0),{'value':!![]}),exports['mapSubtract']=void 0x0;const mapSubtract=(_0x1256a9,_0x4bda64)=>{const _0x287474=a15_0x5b2c73,_0x35638a=[];for(const _0x214e69 in _0x1256a9){!_0x4bda64[_0x214e69]&&_0x35638a[_0x287474(0xb6)](_0x1256a9[_0x214e69]);}return _0x35638a;};function a15_0x41d2(_0xa14367,_0x4f53e2){const _0x24d2e6=a15_0x3f2f();return a15_0x41d2=function(_0x330948,_0x2193ba){_0x330948=_0x330948-0xb6;let _0x3f2fad=_0x24d2e6[_0x330948];return _0x3f2fad;},a15_0x41d2(_0xa14367,_0x4f53e2);}function a15_0x3f2f(){const _0x46c141=['apply','search','mapSubtract','10VJRZBn','push','toString','300VpBGrh','685hfMJPS','17868vsMuvS','11267048JmTxEx','509368NUwIvx','2fwQzpt','11576610OlLTdO','1346243nqCBWh','__esModule','15hqXkBo','19393nzpVsk','(((.+)+)+)+$','2119649Srwzmz'];a15_0x3f2f=function(){return _0x46c141;};return a15_0x3f2f();}exports[a15_0x5b2c73(0xc7)]=mapSubtract;
|