lightrun 1.44.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.d.ts +9 -0
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +4 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a0_0x32ead2=a0_0x2ac1;(function(_0x45e82c,_0x38e320){const _0x99fedd=a0_0x2ac1,_0x1f50ef=_0x45e82c();while(!![]){try{const _0x511115=-parseInt(_0x99fedd(0xfa))/0x1+-parseInt(_0x99fedd(0x114))/0x2+-parseInt(_0x99fedd(0x11a))/0x3+-parseInt(_0x99fedd(0x11c))/0x4+-parseInt(_0x99fedd(0xfb))/0x5*(parseInt(_0x99fedd(0x119))/0x6)+parseInt(_0x99fedd(0x109))/0x7+-parseInt(_0x99fedd(0x107))/0x8*(-parseInt(_0x99fedd(0x10e))/0x9);if(_0x511115===_0x38e320)break;else _0x1f50ef['push'](_0x1f50ef['shift']());}catch(_0x448ea7){_0x1f50ef['push'](_0x1f50ef['shift']());}}}(a0_0x291f,0xa03ff));const a0_0x57ce83=(function(){let _0x2fabdb=!![];return function(_0x2cfb0e,_0x2467d4){const _0x42b2d7=_0x2fabdb?function(){const _0x33c74e=a0_0x2ac1;if(_0x2467d4){const _0x22f2f9=_0x2467d4[_0x33c74e(0x106)](_0x2cfb0e,arguments);return _0x2467d4=null,_0x22f2f9;}}:function(){};return _0x2fabdb=![],_0x42b2d7;};}()),a0_0xa8d8c7=a0_0x57ce83(this,function(){const _0x1a3dde=a0_0x2ac1;return a0_0xa8d8c7['toString']()[_0x1a3dde(0x11e)]('(((.+)+)+)+$')[_0x1a3dde(0x11b)]()['constructor'](a0_0xa8d8c7)['search'](_0x1a3dde(0x111));});a0_0xa8d8c7();'use strict';Object[a0_0x32ead2(0x103)](exports,a0_0x32ead2(0xfc),{'value':!![]});const winston_1=require(a0_0x32ead2(0x102)),DailyRotateFile=require('winston-daily-rotate-file'),process_1=require('process'),{combine,printf,timestamp}=winston_1[a0_0x32ead2(0x108)],{Console}=winston_1[a0_0x32ead2(0x104)],now=new Date();function a0_0x2ac1(_0x4bb6af,_0x31ec2b){const _0x403529=a0_0x291f();return a0_0x2ac1=function(_0xa8d8c7,_0x57ce83){_0xa8d8c7=_0xa8d8c7-0xf9;let _0x291fb1=_0x403529[_0xa8d8c7];return _0x291fb1;},a0_0x2ac1(_0x4bb6af,_0x31ec2b);}function getLoggerTransport(_0x44b8d2,_0x5171b8,_0x428424){const _0x25514a=a0_0x32ead2;if(_0x44b8d2)return new DailyRotateFile({'dirname':_0x44b8d2,'filename':AgentLogger[_0x25514a(0x10f)],'datePattern':now[_0x25514a(0xf9)]()['toString']()+now[_0x25514a(0x110)]()['toString']()['padStart'](0x2,'0')+now[_0x25514a(0x100)]()['toString']()[_0x25514a(0xff)](0x2,'0')+'-'+now[_0x25514a(0x116)]()[_0x25514a(0x11b)]()[_0x25514a(0xff)](0x2,'0')+now[_0x25514a(0x10d)]()[_0x25514a(0x11b)]()[_0x25514a(0xff)](0x2,'0')+now[_0x25514a(0x10c)]()[_0x25514a(0x11b)]()['padStart'](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x25514a(0x10f)],'maxSize':_0x5171b8+'m','maxFiles':_0x428424,'extension':_0x25514a(0x105)});return new Console();}class AgentLogger{constructor(_0x406b0f,_0x2b8a93,_0x1b3c99,_0x465054,_0x5b30e0){const _0x2f92b1=a0_0x32ead2;this[_0x2f92b1(0x11d)]=(0x0,winston_1[_0x2f92b1(0xfd)])({'level':_0x465054,'transports':[getLoggerTransport(_0x406b0f,_0x2b8a93,_0x1b3c99),new Console({'level':_0x5b30e0,'stderrLevels':[_0x2f92b1(0x118),_0x2f92b1(0x112),_0x2f92b1(0x10a),_0x2f92b1(0x11f)]})],'format':combine(timestamp(),printf(({level:_0x1cf0f6,message:_0x48fe96,timestamp:_0x1cf79e})=>{const _0x33f618=_0x2f92b1;return _0x1cf79e+'\x20['+_0x1cf0f6[_0x33f618(0x101)]()+_0x33f618(0x113)+_0x48fe96;}),winston_1[_0x2f92b1(0x108)][_0x2f92b1(0xfe)]())});}static[a0_0x32ead2(0xfd)](_0x15b32b,_0x2693ea,_0x4696c8,_0xd54864,_0x30972a){return new AgentLogger(_0x15b32b,_0x2693ea,_0x4696c8,_0xd54864,_0x30972a);}[a0_0x32ead2(0x118)](..._0x1888a8){const _0x1df1a7=a0_0x32ead2;this[_0x1df1a7(0x11d)][_0x1df1a7(0x118)](_0x1888a8);}[a0_0x32ead2(0x112)](..._0x5771c1){const _0x3e6ad5=a0_0x32ead2;this['logger'][_0x3e6ad5(0x112)](_0x5771c1);}['warn'](..._0x460c8c){const _0x202182=a0_0x32ead2;this[_0x202182(0x11d)][_0x202182(0x10a)](_0x460c8c);}[a0_0x32ead2(0x11f)](..._0xb70589){const _0x6620e=a0_0x32ead2;this[_0x6620e(0x11d)][_0x6620e(0x11f)](_0xb70589);}}function a0_0x291f(){const _0x5e3b51=['createLogger','json','padStart','getDate','toUpperCase','winston','defineProperty','transports','.log','apply','2216HwCRzo','format','889679ZlGVRY','warn','.%DATE%','getSeconds','getMinutes','96372Hklrcq','AGENT_LOG_FILE','getMonth','(((.+)+)+)+$','info',']\x20-\x20','2554572gmaJZN','pid','getHours','default','debug','5994XEjsWl','209250fUVUBw','toString','4212608KRAUYS','logger','search','error','getFullYear','11667iHeClW','125ucwFis','__esModule'];a0_0x291f=function(){return _0x5e3b51;};return a0_0x291f();}AgentLogger[a0_0x32ead2(0x10f)]='lightrun_nodejs_agent.'+process_1[a0_0x32ead2(0x115)]+a0_0x32ead2(0x10b),exports[a0_0x32ead2(0x117)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a1_0x54ab3c=a1_0x401b;function a1_0x401b(_0x3a8d32,_0x2b5f69){const _0x4ad4f0=a1_0x198f();return a1_0x401b=function(_0x32990a,_0x126021){_0x32990a=_0x32990a-0x8e;let _0x198f02=_0x4ad4f0[_0x32990a];return _0x198f02;},a1_0x401b(_0x3a8d32,_0x2b5f69);}(function(_0x49b9be,_0x25d487){const _0x4dd8ae=a1_0x401b,_0x544454=_0x49b9be();while(!![]){try{const _0x3c0f7d=parseInt(_0x4dd8ae(0x9a))/0x1+parseInt(_0x4dd8ae(0x9f))/0x2+-parseInt(_0x4dd8ae(0x9e))/0x3+-parseInt(_0x4dd8ae(0x90))/0x4+-parseInt(_0x4dd8ae(0x9c))/0x5+parseInt(_0x4dd8ae(0x99))/0x6+parseInt(_0x4dd8ae(0x8f))/0x7;if(_0x3c0f7d===_0x25d487)break;else _0x544454['push'](_0x544454['shift']());}catch(_0x19b3c6){_0x544454['push'](_0x544454['shift']());}}}(a1_0x198f,0x66f81));const a1_0x126021=(function(){let _0x2e2c3c=!![];return function(_0x2d3911,_0x41fc3f){const _0x55827a=_0x2e2c3c?function(){const _0xedace7=a1_0x401b;if(_0x41fc3f){const _0x15bec4=_0x41fc3f[_0xedace7(0xa0)](_0x2d3911,arguments);return _0x41fc3f=null,_0x15bec4;}}:function(){};return _0x2e2c3c=![],_0x55827a;};}()),a1_0x32990a=a1_0x126021(this,function(){const _0x32e946=a1_0x401b;return a1_0x32990a[_0x32e946(0x98)]()['search']('(((.+)+)+)+$')[_0x32e946(0x98)]()['constructor'](a1_0x32990a)[_0x32e946(0x9d)]('(((.+)+)+)+$');});a1_0x32990a();'use strict';Object[a1_0x54ab3c(0x93)](exports,a1_0x54ab3c(0x9b),{'value':!![]}),exports[a1_0x54ab3c(0x95)]=void 0x0;class BlocklistingPatterns{constructor(_0x28c35e){const _0x27cb38=a1_0x54ab3c;this[_0x27cb38(0x94)]=[],this[_0x27cb38(0x91)]=[],_0x28c35e&&_0x28c35e[_0x27cb38(0x96)](_0x5367d6=>{const _0x3e9e38=_0x27cb38;_0x5367d6&&(_0x5367d6[0x0]==='!'?this['inversePatterns'][_0x3e9e38(0x8e)](new RegExp(_0x5367d6[_0x3e9e38(0x92)](0x1))):this[_0x3e9e38(0x91)][_0x3e9e38(0x8e)](new RegExp(_0x5367d6)));});}['matches'](_0x32b8a3){const _0x562fa1=a1_0x54ab3c,_0xe81e03=_0x2ed8f2=>_0x32b8a3[_0x562fa1(0x97)](_0x2ed8f2);return this[_0x562fa1(0x94)]['length']!==0x0&&!this[_0x562fa1(0x94)][_0x562fa1(0xa1)](_0xe81e03)||this['patterns'][_0x562fa1(0xa1)](_0xe81e03);}}exports['BlocklistingPatterns']=BlocklistingPatterns;function a1_0x198f(){const _0x50f15b=['3486558whUedv','585384WnubBF','__esModule','2136935pQoJTF','search','1190091ALsaUy','638644nMqUVf','apply','some','push','289121IbrfOm','1125028odVLxV','patterns','substring','defineProperty','inversePatterns','BlocklistingPatterns','forEach','match','toString'];a1_0x198f=function(){return _0x50f15b;};return a1_0x198f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a2_0x4342b3=a2_0x2bb2;function a2_0x34ad(){var _0x275eae=['shouldBlock','4842BVKLqL','17gkmkkd','value','502338bggEeB','158032swtvpV','defineProperty','search','1248057EfffzC','35dLMtap','DummyBlocklistManager','459492cwMHRU','5bpOPAB','constructor','407YJAByN','apply','140320DPQNeU','toString','(((.+)+)+)+$','1140030XpMIMY'];a2_0x34ad=function(){return _0x275eae;};return a2_0x34ad();}function a2_0x2bb2(_0x507727,_0x46ed0a){var _0x938624=a2_0x34ad();return a2_0x2bb2=function(_0x5e6d22,_0x294d49){_0x5e6d22=_0x5e6d22-0xfb;var _0x34ade3=_0x938624[_0x5e6d22];return _0x34ade3;},a2_0x2bb2(_0x507727,_0x46ed0a);}(function(_0x579967,_0xc2c86c){var _0x397232=a2_0x2bb2,_0x26ed81=_0x579967();while(!![]){try{var _0x43dee2=parseInt(_0x397232(0x108))/0x1*(parseInt(_0x397232(0x107))/0x2)+parseInt(_0x397232(0x10a))/0x3+-parseInt(_0x397232(0xfd))/0x4*(parseInt(_0x397232(0xfe))/0x5)+-parseInt(_0x397232(0x105))/0x6+-parseInt(_0x397232(0xfb))/0x7*(parseInt(_0x397232(0x10b))/0x8)+-parseInt(_0x397232(0x10e))/0x9+parseInt(_0x397232(0x102))/0xa*(parseInt(_0x397232(0x100))/0xb);if(_0x43dee2===_0xc2c86c)break;else _0x26ed81['push'](_0x26ed81['shift']());}catch(_0x7bbfe4){_0x26ed81['push'](_0x26ed81['shift']());}}}(a2_0x34ad,0x2d47a));var a2_0x294d49=(function(){var _0x5a38f4=!![];return function(_0x7ffe04,_0x19d708){var _0x56ba81=_0x5a38f4?function(){var _0x42c5fb=a2_0x2bb2;if(_0x19d708){var _0x3f94b5=_0x19d708[_0x42c5fb(0x101)](_0x7ffe04,arguments);return _0x19d708=null,_0x3f94b5;}}:function(){};return _0x5a38f4=![],_0x56ba81;};}()),a2_0x5e6d22=a2_0x294d49(this,function(){var _0x395f2e=a2_0x2bb2;return a2_0x5e6d22[_0x395f2e(0x103)]()[_0x395f2e(0x10d)](_0x395f2e(0x104))['toString']()[_0x395f2e(0xff)](a2_0x5e6d22)[_0x395f2e(0x10d)](_0x395f2e(0x104));});a2_0x5e6d22();'use strict';Object[a2_0x4342b3(0x10c)](exports,'__esModule',{'value':!![]}),exports[a2_0x4342b3(0xfc)]=void 0x0;class DummyBlocklistManager{constructor(_0x423dee){this['value']=_0x423dee;}[a2_0x4342b3(0x106)](){var _0xb90235=a2_0x4342b3;return this[_0xb90235(0x109)];}}exports[a2_0x4342b3(0xfc)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x5db457=a3_0x5e2b;function a3_0x3c09(){const _0x2d1eb7=['isPathInCurrentWorkingDirectory','PatternsBlocklistManager','config','blocklistExceptions','toString','(((.+)+)+)+$','10711gxwGJx','search','63UISEZM','blocklist','shouldBlock','__esModule','1259132IfrRrE','./blocklisting-patterns','4992984zhQdjx','699208FWdRJj','defineProperty','stripWorkingDir','matches','2583771RYrhPg','../util/utils','22hBVjwO','constructor','25RQjcac','5804440qgbtZC','6271930ITMusk','274uoxETn','BlocklistingPatterns'];a3_0x3c09=function(){return _0x2d1eb7;};return a3_0x3c09();}(function(_0x1fa536,_0x2793ea){const _0x303d3c=a3_0x5e2b,_0x53d227=_0x1fa536();while(!![]){try{const _0x11fd56=-parseInt(_0x303d3c(0x1d2))/0x1*(-parseInt(_0x303d3c(0x1ca))/0x2)+parseInt(_0x303d3c(0x1df))/0x3+-parseInt(_0x303d3c(0x1d8))/0x4*(parseInt(_0x303d3c(0x1c7))/0x5)+-parseInt(_0x303d3c(0x1da))/0x6+-parseInt(_0x303d3c(0x1c9))/0x7+parseInt(_0x303d3c(0x1db))/0x8*(parseInt(_0x303d3c(0x1d4))/0x9)+parseInt(_0x303d3c(0x1c8))/0xa*(parseInt(_0x303d3c(0x1c5))/0xb);if(_0x11fd56===_0x2793ea)break;else _0x53d227['push'](_0x53d227['shift']());}catch(_0x17808c){_0x53d227['push'](_0x53d227['shift']());}}}(a3_0x3c09,0xc323a));const a3_0x37c783=(function(){let _0x26c98b=!![];return function(_0x1b5d54,_0x2eacc1){const _0x3170d7=_0x26c98b?function(){if(_0x2eacc1){const _0xb6cd26=_0x2eacc1['apply'](_0x1b5d54,arguments);return _0x2eacc1=null,_0xb6cd26;}}:function(){};return _0x26c98b=![],_0x3170d7;};}()),a3_0x54fa25=a3_0x37c783(this,function(){const _0x4f96cd=a3_0x5e2b;return a3_0x54fa25['toString']()[_0x4f96cd(0x1d3)](_0x4f96cd(0x1d1))[_0x4f96cd(0x1d0)]()[_0x4f96cd(0x1c6)](a3_0x54fa25)[_0x4f96cd(0x1d3)](_0x4f96cd(0x1d1));});a3_0x54fa25();'use strict';function a3_0x5e2b(_0x194b45,_0x26ed52){const _0x3196e9=a3_0x3c09();return a3_0x5e2b=function(_0x54fa25,_0x37c783){_0x54fa25=_0x54fa25-0x1c4;let _0x3c0924=_0x3196e9[_0x54fa25];return _0x3c0924;},a3_0x5e2b(_0x194b45,_0x26ed52);}Object[a3_0x5db457(0x1dc)](exports,a3_0x5db457(0x1d7),{'value':!![]}),exports[a3_0x5db457(0x1cd)]=void 0x0;const blocklisting_patterns_1=require(a3_0x5db457(0x1d9)),utils=require(a3_0x5db457(0x1c4));class PatternsBlocklistManager{constructor(_0x58ce87,_0x22fdc4,_0x50cd6a){const _0x4e836e=a3_0x5db457;this['blocklist']=new blocklisting_patterns_1['BlocklistingPatterns'](_0x58ce87),this['blocklistExceptions']=new blocklisting_patterns_1[(_0x4e836e(0x1cb))](_0x22fdc4),this[_0x4e836e(0x1ce)]=_0x50cd6a;}[a3_0x5db457(0x1d6)](_0x33eea2){const _0x3dbeb9=a3_0x5db457;_0x33eea2=this[_0x3dbeb9(0x1dd)](_0x33eea2);if(this[_0x3dbeb9(0x1cf)][_0x3dbeb9(0x1de)](_0x33eea2))return![];return this[_0x3dbeb9(0x1d5)][_0x3dbeb9(0x1de)](_0x33eea2);}[a3_0x5db457(0x1dd)](_0x59c5df){const _0x4e4f83=a3_0x5db457;if(utils[_0x4e4f83(0x1cc)](_0x59c5df,this[_0x4e4f83(0x1ce)]))return utils['stripCurrentWorkingDirectory'](_0x59c5df,this['config']);return _0x59c5df;}}exports[a3_0x5db457(0x1cd)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x58bd10=a4_0x2ec0;(function(_0x4893db,_0x4b1275){const _0x404c51=a4_0x2ec0,_0x1a24d7=_0x4893db();while(!![]){try{const _0x266886=parseInt(_0x404c51(0x20c))/0x1+-parseInt(_0x404c51(0x200))/0x2+parseInt(_0x404c51(0x1f5))/0x3+-parseInt(_0x404c51(0x1ec))/0x4*(-parseInt(_0x404c51(0x202))/0x5)+parseInt(_0x404c51(0x1ea))/0x6+-parseInt(_0x404c51(0x1e6))/0x7+parseInt(_0x404c51(0x201))/0x8;if(_0x266886===_0x4b1275)break;else _0x1a24d7['push'](_0x1a24d7['shift']());}catch(_0x21cde6){_0x1a24d7['push'](_0x1a24d7['shift']());}}}(a4_0x13d6,0xe0852));const a4_0x5c63fb=(function(){let _0x1dd189=!![];return function(_0x5bdfd5,_0x243ae3){const _0x4a8a85=_0x1dd189?function(){const _0x1fc111=a4_0x2ec0;if(_0x243ae3){const _0xcdbba5=_0x243ae3[_0x1fc111(0x1f2)](_0x5bdfd5,arguments);return _0x243ae3=null,_0xcdbba5;}}:function(){};return _0x1dd189=![],_0x4a8a85;};}()),a4_0x5e7758=a4_0x5c63fb(this,function(){const _0x23d751=a4_0x2ec0;return a4_0x5e7758[_0x23d751(0x203)]()[_0x23d751(0x1e7)]('(((.+)+)+)+$')[_0x23d751(0x203)]()[_0x23d751(0x20a)](a4_0x5e7758)[_0x23d751(0x1e7)](_0x23d751(0x1e5));});function a4_0x13d6(){const _0x49eb51=['agentConfigFile','(((.+)+)+)+$','8131242ZvbFqn','search','error','Agent\x20Configuration:\x20','2877882ezkCkd','yup','24enRbJK','exists','length','defineProperty','lightrunSecret','app.lightrun.com','apply','info','configSchema','5187792UNUTtp','defaultConfig','DOESN\x27T\x20EXIST','existsSync','__esModule','not\x20set!','debug','tmpdir','!!!\x20NOT\x20SET\x20!!!','oneOf','Production','3325420PYgrVO','3131544gNXJzl','22595ZcpmVC','toString','logMainConfigParams','object','none','warn','.js','string','constructor','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','1116482utdOpT','number','shape','boolean','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12'];a4_0x13d6=function(){return _0x49eb51;};return a4_0x13d6();}a4_0x5e7758();'use strict';function a4_0x2ec0(_0x114f79,_0x10f19f){const _0x9afc7b=a4_0x13d6();return a4_0x2ec0=function(_0x5e7758,_0x5c63fb){_0x5e7758=_0x5e7758-0x1e5;let _0x13d6e7=_0x9afc7b[_0x5e7758];return _0x13d6e7;},a4_0x2ec0(_0x114f79,_0x10f19f);}Object[a4_0x58bd10(0x1ef)](exports,a4_0x58bd10(0x1f9),{'value':!![]}),exports[a4_0x58bd10(0x204)]=exports[a4_0x58bd10(0x1f6)]=exports[a4_0x58bd10(0x1f4)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x58bd10(0x1eb));exports['configSchema']=(0x0,yup_1[a4_0x58bd10(0x205)])()[a4_0x58bd10(0x20e)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'capture':(0x0,yup_1['object'])()[a4_0x58bd10(0x20e)]({'includeNodeModules':(0x0,yup_1[a4_0x58bd10(0x20f)])(),'maxFrames':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxExpandFrames':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxProperties':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxVariableDepth':(0x0,yup_1['number'])(),'maxWatchProperties':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxDataSize':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxStringLength':(0x0,yup_1['number'])(),'maxVariableSize':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x58bd10(0x20d)])()}),'internal':(0x0,yup_1[a4_0x58bd10(0x205)])()['shape']({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1['number'])()}),'forceNewAgent_':(0x0,yup_1[a4_0x58bd10(0x20f)])(),'testMode_':(0x0,yup_1[a4_0x58bd10(0x20f)])(),'apiEndpoint':(0x0,yup_1[a4_0x58bd10(0x209)])(),'lightrunSecret':(0x0,yup_1['string'])(),'agentLog':(0x0,yup_1[a4_0x58bd10(0x205)])()[a4_0x58bd10(0x20e)]({'agentLogTargetDir':(0x0,yup_1['string'])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'agentLogLevel':(0x0,yup_1[a4_0x58bd10(0x209)])()[a4_0x58bd10(0x1fe)]([a4_0x58bd10(0x1fb),'info',a4_0x58bd10(0x207),'error']),'stdErrThreshold':(0x0,yup_1[a4_0x58bd10(0x209)])()[a4_0x58bd10(0x1fe)]([a4_0x58bd10(0x1fb),a4_0x58bd10(0x1f3),a4_0x58bd10(0x207),a4_0x58bd10(0x1e8),a4_0x58bd10(0x206)]),'collectCooldownMs':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxLogFileBytes':(0x0,yup_1[a4_0x58bd10(0x20d)])()}),'pinnedCerts':(0x0,yup_1['array'])()['of']((0x0,yup_1['string'])()),'noCheckCertificate':(0x0,yup_1[a4_0x58bd10(0x20f)])(),'caPath':(0x0,yup_1[a4_0x58bd10(0x209)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1['number'])(),'quota':(0x0,yup_1[a4_0x58bd10(0x205)])()['shape']({'maxConditionCost':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxCPUCost':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'maxDynamicLogByteRate':(0x0,yup_1['number'])(),'ignoreQuota':(0x0,yup_1['boolean'])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x58bd10(0x20d)])()}),'agentConfigFile':(0x0,yup_1[a4_0x58bd10(0x209)])(),'fetchBreakpointsOnce':(0x0,yup_1['boolean'])(),'resetV8DebuggerThreshold':(0x0,yup_1['number'])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x58bd10(0x20f)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'extraPaths':(0x0,yup_1['array'])()['of']((0x0,yup_1['string'])()),'redactionEnabled':(0x0,yup_1['boolean'])(),'proxy':(0x0,yup_1[a4_0x58bd10(0x205)])()['shape']({'host':(0x0,yup_1[a4_0x58bd10(0x209)])(),'port':(0x0,yup_1[a4_0x58bd10(0x20d)])(),'username':(0x0,yup_1[a4_0x58bd10(0x209)])(),'password':(0x0,yup_1[a4_0x58bd10(0x209)])()})}),exports[a4_0x58bd10(0x1f6)]={'workingDirectory':process['cwd'](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x58bd10(0x208)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x14,'maxWatchProperties':0x400,'maxVariableDepth':0x32,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x8000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x58bd10(0x1f1),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x58bd10(0x1fc)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x58bd10(0x1f3),'stdErrThreshold':a4_0x58bd10(0x206),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':['515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2',a4_0x58bd10(0x210)],'noCheckCertificate':![],'caPath':a4_0x58bd10(0x20b),'metadata':{'registration':{'tags':[a4_0x58bd10(0x1ff)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':'agent.config','resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x45d905,_0x3b4bae)=>{const _0x51aba3=a4_0x58bd10;var _0x25ed40;const _0x4cb2b2=Object['values']((_0x25ed40=_0x45d905===null||_0x45d905===void 0x0?void 0x0:_0x45d905['errors'])!==null&&_0x25ed40!==void 0x0?_0x25ed40:[]);_0x4cb2b2[_0x51aba3(0x1ee)]&&_0x4cb2b2['forEach'](_0x478fd3=>{_0x3b4bae['error'](_0x478fd3);});};function logMainConfigParams(_0x31cf42,_0x59b1bb){const _0x199ebd=a4_0x58bd10;let _0x4ae4b9=_0x31cf42[_0x199ebd(0x211)];_0x4ae4b9?_0x4ae4b9+=',\x20\x20\x20the\x20file\x20'+((0x0,fs_1[_0x199ebd(0x1f8)])(_0x31cf42[_0x199ebd(0x211)])?_0x199ebd(0x1ed):_0x199ebd(0x1f7)):_0x4ae4b9=_0x199ebd(0x1fa);const _0x571911={..._0x31cf42,'lightrunSecret':_0x31cf42[_0x199ebd(0x1f0)]?'set':_0x199ebd(0x1fd),'agentConfigFile':_0x4ae4b9};_0x59b1bb['debug'](_0x199ebd(0x1e9),_0x571911),logConfigErrors(_0x31cf42,_0x59b1bb);}exports[a4_0x58bd10(0x204)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a5_0x2a6084=a5_0x1c3d;(function(_0x541815,_0x5190d5){var _0x429d02=a5_0x1c3d,_0x252bac=_0x541815();while(!![]){try{var _0x1988d1=-parseInt(_0x429d02(0x1c9))/0x1+-parseInt(_0x429d02(0x1be))/0x2*(parseInt(_0x429d02(0x1af))/0x3)+-parseInt(_0x429d02(0x1ba))/0x4+parseInt(_0x429d02(0x1c0))/0x5+-parseInt(_0x429d02(0x1c7))/0x6*(-parseInt(_0x429d02(0x1b1))/0x7)+parseInt(_0x429d02(0x1b7))/0x8*(parseInt(_0x429d02(0x1b2))/0x9)+-parseInt(_0x429d02(0x1b5))/0xa*(parseInt(_0x429d02(0x1b9))/0xb);if(_0x1988d1===_0x5190d5)break;else _0x252bac['push'](_0x252bac['shift']());}catch(_0x4a76c2){_0x252bac['push'](_0x252bac['shift']());}}}(a5_0x26ff,0xf1668));function a5_0x26ff(){var _0x398b40=['567492eXRWDh','defineProperty','getMaxWatchListVariableSize','maxProperties','2509534nlsGIS','capture','7615155lSgDgC','search','getMaxSnapshotBufferSize','ConfigurationProvider','maxSnapshotBufferSize','constructor','maxVariableSize','11784mzhcuA','(((.+)+)+)+$','759445vdHhyS','maxDataSize','maxWatchListVariableSize','3fVqkUj','getMaxVariableSize','5453ncSQmN','17649FRXIam','__esModule','apply','30hRVJYQ','toString','5336YqDRbc','resolvedDebugAgentConfig','4459081FlxoIm'];a5_0x26ff=function(){return _0x398b40;};return a5_0x26ff();}var a5_0x2d67b2=(function(){var _0x8e4613=!![];return function(_0x55ea94,_0x408e6e){var _0x4e84cd=_0x8e4613?function(){var _0x23b263=a5_0x1c3d;if(_0x408e6e){var _0x3f83e6=_0x408e6e[_0x23b263(0x1b4)](_0x55ea94,arguments);return _0x408e6e=null,_0x3f83e6;}}:function(){};return _0x8e4613=![],_0x4e84cd;};}()),a5_0xbb87e2=a5_0x2d67b2(this,function(){var _0x55f5cb=a5_0x1c3d;return a5_0xbb87e2[_0x55f5cb(0x1b6)]()[_0x55f5cb(0x1c1)](_0x55f5cb(0x1c8))[_0x55f5cb(0x1b6)]()[_0x55f5cb(0x1c5)](a5_0xbb87e2)[_0x55f5cb(0x1c1)](_0x55f5cb(0x1c8));});a5_0xbb87e2();'use strict';function a5_0x1c3d(_0x1e5f43,_0x9a68dd){var _0xf6c507=a5_0x26ff();return a5_0x1c3d=function(_0xbb87e2,_0x2d67b2){_0xbb87e2=_0xbb87e2-0x1ad;var _0x26ff21=_0xf6c507[_0xbb87e2];return _0x26ff21;},a5_0x1c3d(_0x1e5f43,_0x9a68dd);}Object[a5_0x2a6084(0x1bb)](exports,a5_0x2a6084(0x1b3),{'value':!![]}),exports[a5_0x2a6084(0x1c3)]=void 0x0;class ConfigurationProvider{constructor(_0x16f27c){var _0x220f2d=a5_0x2a6084;this[_0x220f2d(0x1b8)]=_0x16f27c;}[a5_0x2a6084(0x1b0)](){var _0x43ccaa=a5_0x2a6084;return this['resolvedDebugAgentConfig']['capture']['maxStringLength']||this[_0x43ccaa(0x1b8)][_0x43ccaa(0x1bf)][_0x43ccaa(0x1c6)];}[a5_0x2a6084(0x1bc)](){var _0x2e6443=a5_0x2a6084;return this['resolvedDebugAgentConfig'][_0x2e6443(0x1bf)][_0x2e6443(0x1ae)];}[a5_0x2a6084(0x1c2)](){var _0x1d9c4b=a5_0x2a6084;return this[_0x1d9c4b(0x1b8)][_0x1d9c4b(0x1bf)][_0x1d9c4b(0x1ad)]||this['resolvedDebugAgentConfig'][_0x1d9c4b(0x1bf)][_0x1d9c4b(0x1c4)];}['getMaxProperties'](_0x4b357e){var _0x5663a2=a5_0x2a6084;return _0x4b357e?this['resolvedDebugAgentConfig'][_0x5663a2(0x1bf)]['maxWatchProperties']:this['resolvedDebugAgentConfig'][_0x5663a2(0x1bf)][_0x5663a2(0x1bd)];}}exports[a5_0x2a6084(0x1c3)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x52c3df=a6_0x131b;function a6_0x284d(){const _0x3ece19=['sendBreakpointLogsToServer','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','token','update','473577hVxECU','apiEndpoint','verifyCertificate','join','register','logger','deregister','https','PUT','sendAgentLogsToServer','/controller','timeout\x20set\x20to\x20','transmissionTimeout','6854806rWanKn','CancelToken','clearTransmissionTimeout','423945VNLTpB','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Bearer\x20','method','lastLogCollectionTime','push','createHash','transmissionQueue','context','serializedJson','invalid\x20response\x20body\x20from\x20server','Successfully\x20sent\x20log\x20file\x20','@google-cloud/common','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','statSync','./util/utils','transmitBreakpointUpdates','(((.+)+)+)+$','Timeout\x20occurred\x20after\x20','application/json','maxLogFileBytes','unable\x20to\x20register,\x20status\x20','\x20seconds','pubkey','Getting\x20reductions','https://','Update\x20for\x20breakpoints\x20','Getting\x20blocklist','/blacklist?successOnTimeout=true','POST','transmissionBulkMaxNetworkSizeInBytes','/log/','\x20and\x20enqueue\x20to\x20queue','reject','unknown\x20error\x20-\x20request\x20response\x20missing','selfSignedCA','12520uzDOaq','number','Controller',',\x20Message:\x20','agentLog','9266778ulERlU','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','createGzip','includes','debug','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','\x20for\x20request\x20','waitToken','2830382rRBLiy','__esModule','now','Certificate\x20Pinning\x20Failed!','sendAppOnlyBreakpointHitsToServer','/appOnlyActionHits/','\x20Error:\x20','cancel','then','debuggee','extend','Deregister\x20agent\x20before\x20shutdown','getRedactions','enqueueBreakpointUpdate','finally','data','breakpointId:\x20','toBuffer','floor','Agent','600lvCueA','29764460uGayCV','status','error','getBlocklist','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','map','WritableStream','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','config','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','length','memory-streams','\x20transmitted\x20successfully','warn','source','apiUrl','info','transmissionBulkMaxSize','assert','lightrunSecret','tls','listBreakpoints','Breakpoint\x20','\x20finished\x20with\x20status\x20',',\x20sending\x20only\x20one','makeRequest','breakpoint\x20','16FBdihp','message','response','zlib','readFileSync','ServiceObject','Transmitting\x20breakpoint\x20updates...','max','toString','should\x20have\x20a\x20registered\x20debuggee','/deregister/','nextWaitToken','caPath','search','5lNEZqV','stream','Failed\x20to\x20zip\x20','\x22\x20-\x20ignoring\x20it','default','\x20for\x20request\x20id\x20','/debuggees/','defineProperty','/redaction','sha256'];a6_0x284d=function(){return _0x3ece19;};return a6_0x284d();}(function(_0x21f167,_0xd0fe33){const _0x57e9f5=a6_0x131b,_0x44a172=_0x21f167();while(!![]){try{const _0x1b08e9=parseInt(_0x57e9f5(0x225))/0x1+-parseInt(_0x57e9f5(0x267))/0x2+parseInt(_0x57e9f5(0x1ed))/0x3*(-parseInt(_0x57e9f5(0x25a))/0x4)+-parseInt(_0x57e9f5(0x217))/0x5*(parseInt(_0x57e9f5(0x25f))/0x6)+parseInt(_0x57e9f5(0x232))/0x7+-parseInt(_0x57e9f5(0x209))/0x8*(-parseInt(_0x57e9f5(0x235))/0x9)+parseInt(_0x57e9f5(0x1ee))/0xa;if(_0x1b08e9===_0xd0fe33)break;else _0x44a172['push'](_0x44a172['shift']());}catch(_0x201f4b){_0x44a172['push'](_0x44a172['shift']());}}}(a6_0x284d,0xe4f6d));function a6_0x131b(_0x5392ef,_0x415d13){const _0x14a852=a6_0x284d();return a6_0x131b=function(_0x24c6f1,_0x3d052b){_0x24c6f1=_0x24c6f1-0x1db;let _0x284d6b=_0x14a852[_0x24c6f1];return _0x284d6b;},a6_0x131b(_0x5392ef,_0x415d13);}const a6_0x3d052b=(function(){let _0x77ea39=!![];return function(_0x22a82d,_0x3b3b4c){const _0x4c275b=_0x77ea39?function(){if(_0x3b3b4c){const _0x8876bb=_0x3b3b4c['apply'](_0x22a82d,arguments);return _0x3b3b4c=null,_0x8876bb;}}:function(){};return _0x77ea39=![],_0x4c275b;};}()),a6_0x24c6f1=a6_0x3d052b(this,function(){const _0x8265a5=a6_0x131b;return a6_0x24c6f1['toString']()[_0x8265a5(0x216)](_0x8265a5(0x247))[_0x8265a5(0x211)]()['constructor'](a6_0x24c6f1)['search'](_0x8265a5(0x247));});a6_0x24c6f1();'use strict';Object[a6_0x52c3df(0x21e)](exports,a6_0x52c3df(0x268),{'value':!![]}),exports[a6_0x52c3df(0x25c)]=void 0x0;const common_1=require(a6_0x52c3df(0x242)),assert=require(a6_0x52c3df(0x200)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x52c3df(0x20c)),stream_1=require(a6_0x52c3df(0x218)),memory_streams_1=require(a6_0x52c3df(0x1f9)),tls_1=require(a6_0x52c3df(0x202)),extend=require(a6_0x52c3df(0x1e3)),axios_1=require('axios'),https=require(a6_0x52c3df(0x22c)),utils_1=require(a6_0x52c3df(0x245)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x52c3df(0x20e)]{constructor(_0x1d76ab,_0x463569,_0x586803){const _0x1b65cf=a6_0x52c3df;super({'parent':_0x1d76ab,'baseUrl':_0x1b65cf(0x22f)}),this[_0x1b65cf(0x214)]=null,this[_0x1b65cf(0x1f6)]=_0x463569,this[_0x1b65cf(0x23d)]=[],this[_0x1b65cf(0x22a)]=_0x586803;if(_0x463569[_0x1b65cf(0x215)])try{this[_0x1b65cf(0x259)]=(0x0,fs_1[_0x1b65cf(0x20d)])(_0x463569[_0x1b65cf(0x215)],'ascii');}catch(_0x1be7ee){_0x586803[_0x1b65cf(0x1fb)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x463569[_0x1b65cf(0x215)]+_0x1b65cf(0x21a));}this[_0x1b65cf(0x1fd)]=_0x1b65cf(0x24f)+_0x463569[_0x1b65cf(0x226)]+_0x1b65cf(0x21d);}['register'](_0x3d2e92,_0x1de670){const _0x2247f1=a6_0x52c3df,_0x201373={'uri':this['apiUrl']+_0x2247f1(0x229),'method':_0x2247f1(0x253),'json':!![],'body':{'debuggee':_0x3d2e92}};this[_0x2247f1(0x207)](_0x201373,(_0x3657c1,_0x26533d,_0x1a60d5)=>{const _0x282c8c=_0x2247f1;if(!_0x1a60d5)_0x1de670(_0x3657c1||new Error(_0x282c8c(0x258)));else{if(_0x3657c1){let _0x4339e8=![];_0x1a60d5['status']===HTTP_UPGRADE_REQUIRED&&_0x26533d&&(_0x26533d['message']!==undefined&&(_0x3657c1[_0x282c8c(0x20a)]=_0x26533d['message']),_0x3d2e92['id']=_0x26533d[_0x282c8c(0x1e2)]['id'],_0x4339e8=!![]),_0x1de670(_0x3657c1,_0x26533d,_0x4339e8);}else{if(_0x1a60d5[_0x282c8c(0x1ef)]!==HTTP_SUCCESS)_0x1de670(new Error(_0x282c8c(0x24b)+_0x1a60d5[_0x282c8c(0x1ef)]));else!(_0x26533d===null||_0x26533d===void 0x0?void 0x0:_0x26533d[_0x282c8c(0x1e2)])?_0x1de670(new Error(_0x282c8c(0x240))):(_0x3d2e92['id']=_0x26533d[_0x282c8c(0x1e2)]['id'],_0x1de670(null,_0x26533d));}}});}[a6_0x52c3df(0x203)](_0x5e02e4,_0x2d2468,_0x484e59){const _0x28166=a6_0x52c3df,_0x136cbd=this;assert(_0x5e02e4['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x54ef58={'successOnTimeout':!![]};_0x136cbd[_0x28166(0x214)]&&(_0x54ef58[_0x28166(0x266)]=_0x136cbd['nextWaitToken']);const _0x1952a1=this[_0x28166(0x1fd)]+encodeURIComponent(_0x5e02e4['id'])+'/breakpoints?'+qs['stringify'](_0x54ef58);_0x136cbd[_0x28166(0x207)]({'uri':_0x1952a1,'json':!![]},(_0xd55ced,_0x213fd9,_0x2c33c1)=>{const _0x588828=_0x28166;if(!_0x2c33c1){_0x2d2468(_0xd55ced||new Error(_0x588828(0x258)));return;}else{if(!is2xx(_0x2c33c1[_0x588828(0x1ef)])){_0x2d2468(new Error(_0x588828(0x1f7)+_0x2c33c1[_0x588828(0x1ef)]),_0x2c33c1);return;}else _0x213fd9&&(_0x136cbd[_0x588828(0x214)]=_0x213fd9[_0x588828(0x214)]),_0x2d2468(null,_0x2c33c1,_0x213fd9);}},_0x484e59);}[a6_0x52c3df(0x1e6)](_0x4b2e04,_0x9282a3){const _0x3c9676=a6_0x52c3df;assert(_0x4b2e04['id'],_0x3c9676(0x212));try{const _0x45f70d=JSON['stringify'](_0x9282a3),_0x1e8f29=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x45f70d);if(_0x1e8f29>=this[_0x3c9676(0x1f6)]['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x3c9676(0x22a)][_0x3c9676(0x1fb)](_0x3c9676(0x1e9)+_0x9282a3['id']+'\x20size\x20is\x20'+_0x1e8f29+_0x3c9676(0x260)+this[_0x3c9676(0x1f6)]['transmissionHardMaxNetworkSizeLimitInBytes']);return;}this['transmissionQueue'][_0x3c9676(0x23b)]({'id':_0x9282a3['id'],'serializedJson':_0x45f70d,'number':0x0});if(!this[_0x3c9676(0x231)]){const _0x3423ec=this;this[_0x3c9676(0x231)]=setTimeout(()=>_0x3423ec['transmitBreakpointUpdates']['bind'](_0x3423ec)(_0x4b2e04['id']),0x0);}}catch(_0x148d8d){this[_0x3c9676(0x22a)][_0x3c9676(0x1f0)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x9282a3['id']+_0x3c9676(0x256),_0x148d8d);return;}}[a6_0x52c3df(0x234)](){const _0x41162a=a6_0x52c3df;if(!this[_0x41162a(0x231)])return;clearTimeout(this[_0x41162a(0x231)]),this[_0x41162a(0x231)]=null;}[a6_0x52c3df(0x22b)](_0x3d2490,_0x305743){const _0x11a226=a6_0x52c3df,_0x40cc52=this[_0x11a226(0x1fd)]+encodeURIComponent(_0x3d2490['id'])+_0x11a226(0x213),_0x4282bd={'uri':_0x40cc52,'method':_0x11a226(0x253),'json':!![]};this[_0x11a226(0x22a)][_0x11a226(0x1fe)](_0x11a226(0x1e4)),this[_0x11a226(0x207)](_0x4282bd,(_0x4cef80,_0x1071a0,_0x328de1)=>{const _0x2bddd8=_0x11a226;(!_0x328de1||Math[_0x2bddd8(0x1eb)](_0x328de1['status']/0x64)!==0x2)&&this[_0x2bddd8(0x22a)]['warn'](_0x2bddd8(0x264)+_0x4cef80),_0x305743(_0x4cef80);});}[a6_0x52c3df(0x221)](_0x1a7615,_0x12409e,_0x26b1cd){const _0x4f8d25=a6_0x52c3df,_0x13fa6c=this[_0x4f8d25(0x1fd)]+encodeURIComponent(_0x1a7615['id'])+_0x4f8d25(0x255),_0x3b6754={'uri':_0x13fa6c,'method':_0x4f8d25(0x253),'json':!![],'body':_0x12409e};this[_0x4f8d25(0x207)](_0x3b6754,(_0x1bca24,_0x43648f,_0x2edf4f)=>{const _0x4a5f21=_0x4f8d25;(!_0x2edf4f||Math['floor'](_0x2edf4f[_0x4a5f21(0x1ef)]/0x64)!==0x2)&&(this[_0x4a5f21(0x22a)]['warn'](_0x4a5f21(0x1f5)+_0x1bca24),_0x26b1cd(_0x1bca24));});}[a6_0x52c3df(0x1dd)](_0x296a2f,_0x2feaad,_0x5e31a2){const _0x2bf2b5=a6_0x52c3df,_0x174871=this[_0x2bf2b5(0x1fd)]+encodeURIComponent(_0x296a2f['id'])+_0x2bf2b5(0x1de),_0x4cbb56={'uri':_0x174871,'method':_0x2bf2b5(0x253),'json':!![],'body':_0x2feaad};this[_0x2bf2b5(0x207)](_0x4cbb56,(_0x4e89e7,_0x22259b,_0x34d341)=>{const _0x18fd3d=_0x2bf2b5;(!_0x34d341||Math[_0x18fd3d(0x1eb)](_0x34d341['status']/0x64)!==0x2)&&(this[_0x18fd3d(0x22a)][_0x18fd3d(0x1fb)](_0x18fd3d(0x1f2)+_0x4e89e7),_0x5e31a2(_0x4e89e7));});}[a6_0x52c3df(0x22e)](_0x52f35d,_0x48b7d5,_0x4595ef){const _0x56ecc5=a6_0x52c3df;assert(_0x52f35d['id'],_0x56ecc5(0x212));if(this[_0x56ecc5(0x23a)]){const _0xdf6e17=Date[_0x56ecc5(0x1db)](),_0x455d2a=this[_0x56ecc5(0x23a)]+this['config'][_0x56ecc5(0x25e)]['collectCooldownMs'];if(_0xdf6e17<_0x455d2a){this['logger']['info'](_0x56ecc5(0x236)+((_0x455d2a-_0xdf6e17)/0x3e8+_0x56ecc5(0x24c)));return;}}const _0x3d7b85=(0x0,fs_1[_0x56ecc5(0x244)])(_0x4595ef)['size'],_0x2af2f3=Math[_0x56ecc5(0x210)](0x0,_0x3d7b85-this[_0x56ecc5(0x1f6)][_0x56ecc5(0x25e)][_0x56ecc5(0x24a)]),_0x357cd2=(0x0,fs_1['createReadStream'])(_0x4595ef,{'start':_0x2af2f3}),_0x569ad3=(0x0,zlib_1[_0x56ecc5(0x261)])(),_0xb32f41=new memory_streams_1[(_0x56ecc5(0x1f4))](),_0x4c5330=this;_0x4c5330[_0x56ecc5(0x22a)][_0x56ecc5(0x1fe)]('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x4595ef+_0x56ecc5(0x21c)+_0x48b7d5),(0x0,stream_1['pipeline'])(_0x357cd2,_0x569ad3,_0xb32f41,_0x2c2797=>{const _0x3562b5=_0x56ecc5;if(_0x2c2797)_0x4c5330['logger']['error'](_0x3562b5(0x219)+_0x4595ef+':\x20'+_0x2c2797);else{const _0x4ceeea={'uri':this[_0x3562b5(0x1fd)]+encodeURIComponent(_0x52f35d['id'])+'/compressedLogFile/'+_0x48b7d5,'method':_0x3562b5(0x22d),'body':_0xb32f41[_0x3562b5(0x1ea)]()};_0x4c5330['makeRequest'](_0x4ceeea,_0x19d65e=>{const _0x53fcad=_0x3562b5;_0x19d65e?_0x4c5330[_0x53fcad(0x22a)][_0x53fcad(0x1f0)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x4595ef+_0x53fcad(0x265)+_0x48b7d5,_0x19d65e):(_0x4c5330[_0x53fcad(0x22a)][_0x53fcad(0x1fe)](_0x53fcad(0x241)+_0x4595ef+'\x20for\x20request\x20'+_0x48b7d5),_0x4c5330[_0x53fcad(0x23a)]=Date[_0x53fcad(0x1db)]());});}});}[a6_0x52c3df(0x246)](_0x5b8427){const _0x2b770d=a6_0x52c3df;var _0x3eaf74;this[_0x2b770d(0x22a)][_0x2b770d(0x263)](_0x2b770d(0x20f)),this[_0x2b770d(0x231)]=undefined;const _0x4ade8b=[];let _0x1235f4=0x0;while(_0x4ade8b[_0x2b770d(0x1f8)]<this[_0x2b770d(0x1f6)][_0x2b770d(0x1ff)]&&this[_0x2b770d(0x23d)][_0x2b770d(0x1f8)]>0x0){const _0x1d7c6c=this[_0x2b770d(0x23d)][0x0],_0x59e6bb=_0x1d7c6c[_0x2b770d(0x23f)],_0x11854a=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x59e6bb);_0x1235f4+=_0x11854a;if(_0x1235f4<=this[_0x2b770d(0x1f6)][_0x2b770d(0x254)])_0x4ade8b[_0x2b770d(0x23b)](_0x1d7c6c),this['transmissionQueue']['shift']();else{_0x11854a>this[_0x2b770d(0x1f6)][_0x2b770d(0x254)]&&_0x4ade8b['length']===0x0&&(this['logger'][_0x2b770d(0x263)](_0x2b770d(0x208)+_0x1d7c6c['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x2b770d(0x1f6)]['transmissionBulkMaxNetworkSizeInBytes']+_0x2b770d(0x206)),_0x4ade8b[_0x2b770d(0x23b)](_0x1d7c6c),this[_0x2b770d(0x23d)]['shift']());break;}}if(!_0x4ade8b)return;const _0x2f9fe8=_0x4ade8b[_0x2b770d(0x1f3)](_0x4f06a3=>_0x4f06a3['id']),_0x3a877c={'uri':this[_0x2b770d(0x1fd)]+encodeURIComponent(_0x5b8427)+'/breakpoints','json':!![],'method':_0x2b770d(0x22d),'body':'['+_0x4ade8b[_0x2b770d(0x1f3)](_0x3ce104=>_0x3ce104[_0x2b770d(0x23f)])[_0x2b770d(0x228)](',')+']'},_0x47034f=this;try{this[_0x2b770d(0x207)](_0x3a877c,(_0x17b172,_0x46fbc1,_0x4dc81a)=>{const _0x4efa1b=_0x2b770d,_0x2f34aa=_0x4dc81a===null||_0x4dc81a===void 0x0?void 0x0:_0x4dc81a[_0x4efa1b(0x1ef)];_0x47034f[_0x4efa1b(0x22a)]['debug'](_0x4efa1b(0x250)+_0x2f9fe8+_0x4efa1b(0x205)+_0x2f34aa);if(_0x17b172||!_0x2f34aa||Math['floor'](_0x2f34aa/0x64)!==0x2){const _0xea54c6=_0x2f34aa&&(_0x2f34aa>=0x1f4||_0x2f34aa===0x198);if(_0xea54c6){_0x47034f['logger'][_0x4efa1b(0x1fb)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x2f9fe8+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x2f34aa+_0x4efa1b(0x1df)+_0x17b172);for(const _0x1f8d0f of _0x4ade8b){_0x1f8d0f[_0x4efa1b(0x25b)]<MAX_FAILED_SEND_ATTEMPTS?_0x47034f[_0x4efa1b(0x23d)]['push']({..._0x1f8d0f,'number':_0x1f8d0f[_0x4efa1b(0x25b)]+0x1}):_0x47034f['logger'][_0x4efa1b(0x1fb)](_0x4efa1b(0x204)+_0x1f8d0f['id']+_0x4efa1b(0x243));}}else _0x47034f[_0x4efa1b(0x22a)][_0x4efa1b(0x1fb)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x2f9fe8+_0x4efa1b(0x222)+_0x2f34aa+_0x4efa1b(0x1df)+_0x17b172);}else _0x47034f[_0x4efa1b(0x22a)]['info']('Update\x20for\x20breakpoints\x20'+_0x2f9fe8+_0x4efa1b(0x1fa));_0x47034f[_0x4efa1b(0x23d)][_0x4efa1b(0x1f8)]>0x0&&(_0x47034f['transmissionTimeout']=setTimeout(()=>_0x47034f[_0x4efa1b(0x246)]['bind'](_0x47034f)(_0x5b8427),0x0));},0x28);}catch(_0x227733){this[_0x2b770d(0x22a)][_0x2b770d(0x1fb)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x2f9fe8+_0x2b770d(0x237)+_0x227733+_0x2b770d(0x25d)+((_0x3eaf74=_0x227733[_0x2b770d(0x1e8)])===null||_0x3eaf74===void 0x0?void 0x0:_0x3eaf74[_0x2b770d(0x20a)])),_0x47034f['transmissionQueue'][_0x2b770d(0x1f8)]>0x0&&(_0x47034f[_0x2b770d(0x231)]=setTimeout(()=>_0x47034f['transmitBreakpointUpdates']['bind'](_0x47034f)(_0x5b8427),0x0));}}async[a6_0x52c3df(0x1f1)](_0x196096){const _0x3c4723=a6_0x52c3df;this[_0x3c4723(0x22a)][_0x3c4723(0x1fe)](_0x3c4723(0x251));const _0xcb3515=this[_0x3c4723(0x1fd)]+encodeURIComponent(_0x196096)+_0x3c4723(0x252),{error:_0x482352,data:_0x28d11f}=await this[_0x3c4723(0x207)]({'uri':_0xcb3515,'json':!![]});if(_0x482352)return Promise[_0x3c4723(0x257)](_0x482352);return yaml['load'](_0x28d11f)||{};}[a6_0x52c3df(0x207)](_0x37abd2,_0x27b886,_0x55d58f,_0x5c73a5){const _0x15aa5f=a6_0x52c3df,_0x68e902={'Content-Type':_0x5c73a5?_0x5c73a5:_0x15aa5f(0x249),'Authorization':_0x15aa5f(0x238)+this[_0x15aa5f(0x1f6)][_0x15aa5f(0x201)]},_0x202be2={'checkServerIdentity':(_0x947668,_0x3dfc96)=>this['verifyCertificate'](_0x947668,_0x3dfc96,this['config'])};if(this[_0x15aa5f(0x259)]){const _0x343523=(0x0,tls_1['createSecureContext'])(_0x202be2);_0x343523[_0x15aa5f(0x23e)]['addCACert'](this[_0x15aa5f(0x259)]),_0x202be2['secureContext']=_0x343523;}const _0x230b1a=axios_1[_0x15aa5f(0x21b)][_0x15aa5f(0x233)][_0x15aa5f(0x1fc)](),_0x2a48b2=_0x55d58f?_0x55d58f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x15aa5f(0x22a)][_0x15aa5f(0x263)](_0x15aa5f(0x230)+_0x2a48b2);const _0x4b0904=setTimeout(()=>{const _0xb78de3=_0x15aa5f;this['logger'][_0xb78de3(0x1fb)](_0xb78de3(0x248)+_0x2a48b2+'ms'),_0x230b1a[_0xb78de3(0x1e0)]();},_0x2a48b2),_0x59b771={'method':_0x37abd2[_0x15aa5f(0x239)],'httpsAgent':new https[(_0x15aa5f(0x1ec))](_0x202be2),'url':_0x37abd2['uri'],'data':_0x37abd2['body'],'headers':_0x68e902,'cancelToken':_0x230b1a[_0x15aa5f(0x223)]};return extend(!![],_0x59b771,_0x37abd2),axios_1[_0x15aa5f(0x21b)]['request'](_0x59b771)[_0x15aa5f(0x1e1)](_0x4459c9=>{const _0xb14916=_0x15aa5f;return _0x27b886===null||_0x27b886===void 0x0?void 0x0:_0x27b886(null,_0x4459c9[_0xb14916(0x1e8)],_0x4459c9),{'error':null,'data':_0x4459c9[_0xb14916(0x1e8)],'res':_0x4459c9};})['catch'](_0x192e8b=>{const _0xa044fb=_0x15aa5f;var _0x34a3fa,_0x3fe45e;return _0x27b886===null||_0x27b886===void 0x0?void 0x0:_0x27b886(_0x192e8b,(_0x34a3fa=_0x192e8b['response'])===null||_0x34a3fa===void 0x0?void 0x0:_0x34a3fa['data'],_0x192e8b['response']),{'error':_0x192e8b,'data':(_0x3fe45e=_0x192e8b[_0xa044fb(0x20b)])===null||_0x3fe45e===void 0x0?void 0x0:_0x3fe45e['data'],'res':_0x192e8b[_0xa044fb(0x20b)]};})[_0x15aa5f(0x1e7)](()=>clearTimeout(_0x4b0904));}[a6_0x52c3df(0x227)](_0x59d1bf,_0x13738b,_0x305642){const _0x4edbba=a6_0x52c3df;if(_0x305642['noCheckCertificate'])return undefined;const _0x43345e=(0x0,crypto_1[_0x4edbba(0x23c)])(_0x4edbba(0x220))[_0x4edbba(0x224)](_0x13738b[_0x4edbba(0x24d)])['digest']('hex');return _0x305642['pinnedCerts'][_0x4edbba(0x262)](_0x43345e)?undefined:new Error(_0x4edbba(0x1dc));}async[a6_0x52c3df(0x1e5)](_0x5f2e4d){const _0x1c5024=a6_0x52c3df;this[_0x1c5024(0x22a)][_0x1c5024(0x1fe)](_0x1c5024(0x24e));const _0x37ae1d=this[_0x1c5024(0x1fd)]+encodeURIComponent(_0x5f2e4d)+_0x1c5024(0x21f),{error:_0x5d86cd,data:_0x4ba504}=await this['makeRequest']({'uri':_0x37ae1d,'json':!![]});if(_0x5d86cd)return Promise[_0x1c5024(0x257)](_0x5d86cd);return _0x4ba504;}}exports[a6_0x52c3df(0x25c)]=Controller;function is2xx(_0x2fed9a){return Math['floor'](_0x2fed9a/0x64)===0x2;}
|
|
1
|
+
const a6_0x5d3d4b=a6_0x3843;(function(_0x3b80ef,_0xdd039d){const _0x222647=a6_0x3843,_0x2e1cd4=_0x3b80ef();while(!![]){try{const _0x3f01bb=-parseInt(_0x222647(0x173))/0x1+-parseInt(_0x222647(0x116))/0x2+-parseInt(_0x222647(0x15a))/0x3+parseInt(_0x222647(0x135))/0x4+parseInt(_0x222647(0x137))/0x5+-parseInt(_0x222647(0x17c))/0x6+parseInt(_0x222647(0x1a2))/0x7*(parseInt(_0x222647(0x170))/0x8);if(_0x3f01bb===_0xdd039d)break;else _0x2e1cd4['push'](_0x2e1cd4['shift']());}catch(_0x4071bb){_0x2e1cd4['push'](_0x2e1cd4['shift']());}}}(a6_0x52fb,0x89d99));const a6_0x2f61c4=(function(){let _0x551fdd=!![];return function(_0x2f6fe9,_0x1107ab){const _0x9b359f=_0x551fdd?function(){const _0x381dfe=a6_0x3843;if(_0x1107ab){const _0x41a044=_0x1107ab[_0x381dfe(0x115)](_0x2f6fe9,arguments);return _0x1107ab=null,_0x41a044;}}:function(){};return _0x551fdd=![],_0x9b359f;};}()),a6_0x252df7=a6_0x2f61c4(this,function(){const _0x21b171=a6_0x3843;return a6_0x252df7[_0x21b171(0x176)]()[_0x21b171(0x136)](_0x21b171(0x123))[_0x21b171(0x176)]()[_0x21b171(0x15d)](a6_0x252df7)['search'](_0x21b171(0x123));});a6_0x252df7();'use strict';function a6_0x3843(_0x494725,_0x3e07d8){const _0x1d3dc6=a6_0x52fb();return a6_0x3843=function(_0x252df7,_0x2f61c4){_0x252df7=_0x252df7-0x114;let _0x52fbcb=_0x1d3dc6[_0x252df7];return _0x52fbcb;},a6_0x3843(_0x494725,_0x3e07d8);}function a6_0x52fb(){const _0x37aa77=['caPath','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration',',\x20username:\x20','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','getRedactions','password','info','max','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','pubkey','reject','port','181260acThfB','search','703110fmKHJi','ascii','sha256','\x20Error:\x20','@google-cloud/common','transmitBreakpointUpdates','sendAppOnlyBreakpointHitsToServer','axios','floor','finally','transmissionBulkMaxSize','Transmitting\x20breakpoint\x20updates...','method','transmissionTimeout',',\x20sending\x20only\x20one','number','unable\x20to\x20register,\x20status\x20','__esModule','transmissionQueue','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','/log/','\x20for\x20request\x20','./util/utils','Breakpoint\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','/redaction','/blacklist?successOnTimeout=true','Successfully\x20sent\x20log\x20file\x20','transmissionHardMaxNetworkSizeLimitInBytes','secureContext','should\x20have\x20a\x20registered\x20debuggee','/deregister/','debug','readFileSync','noCheckCertificate','3289275tHKynf','ServiceObject','createSecureContext','constructor','data','Certificate\x20Pinning\x20Failed!','maxLogFileBytes','Controller','username','/breakpoints','enqueueBreakpointUpdate','logger','warn','config','makeRequest','proxy','agentLog','host','collectCooldownMs','load',',\x20Message:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','6056uUswMI','\x20seconds','\x20transmitted\x20successfully','452006ERoPLp','update','uri','toString','response','hex','waitToken','body','\x20finished\x20with\x20status\x20','5796564gEwgOb','https://','extend','unknown\x20error\x20-\x20request\x20response\x20missing','bind','length','stream','Using\x20proxy\x20configuration:\x20','WritableStream','clearTransmissionTimeout','POST','assert','stringify','/debuggees/','now','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','defineProperty','then','Update\x20for\x20breakpoints\x20','timeout\x20set\x20to\x20','deregister','\x20size\x20is\x20','Getting\x20blocklist','getJsonStringSizeInBytes','nextWaitToken','/breakpoints?','message','context','transmissionBulkMaxNetworkSizeInBytes','default','Deregister\x20agent\x20before\x20shutdown','application/json','lightrunSecret','/appOnlyActionHits/','invalid\x20response\x20body\x20from\x20server','breakpointId:\x20','statSync','includes','29617djAlsS','apiEndpoint','shift','createGzip','serializedJson','querystring','sendBreakpointLogsToServer','join','js-yaml','Failed\x20to\x20zip\x20','tls','push','Failed\x20to\x20send\x20log\x20file\x20','debuggee','apply','619292EtLIdx','lastLogCollectionTime','/compressedLogFile/','zlib','PUT','status','catch','https-proxy-agent','apiUrl','Bearer\x20','register','Getting\x20reductions','createHash','(((.+)+)+)+$','error','create','token','pipeline','callback'];a6_0x52fb=function(){return _0x37aa77;};return a6_0x52fb();}Object[a6_0x5d3d4b(0x18c)](exports,a6_0x5d3d4b(0x148),{'value':!![]}),exports[a6_0x5d3d4b(0x161)]=void 0x0;const common_1=require(a6_0x5d3d4b(0x13b)),assert=require(a6_0x5d3d4b(0x187)),qs=require(a6_0x5d3d4b(0x1a7)),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x5d3d4b(0x119)),stream_1=require(a6_0x5d3d4b(0x182)),memory_streams_1=require('memory-streams'),tls_1=require(a6_0x5d3d4b(0x1ac)),extend=require(a6_0x5d3d4b(0x17e)),axios_1=require(a6_0x5d3d4b(0x13e)),https=require('https'),utils_1=require(a6_0x5d3d4b(0x14d)),HttpsProxyAgent=require(a6_0x5d3d4b(0x11d)),yaml=require(a6_0x5d3d4b(0x1aa)),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_0x5d3d4b(0x15b)]{constructor(_0x301d55,_0x40ad2e,_0x397276){const _0x2518eb=a6_0x5d3d4b;var _0x55e4a1;super({'parent':_0x301d55,'baseUrl':'/controller'}),this[_0x2518eb(0x194)]=null,this[_0x2518eb(0x167)]=_0x40ad2e,this[_0x2518eb(0x149)]=[],this[_0x2518eb(0x165)]=_0x397276,this[_0x2518eb(0x11e)]=_0x2518eb(0x17d)+_0x40ad2e[_0x2518eb(0x1a3)]+_0x2518eb(0x189),this['axios']=axios_1[_0x2518eb(0x199)][_0x2518eb(0x125)]({'httpsAgent':(_0x55e4a1=getProxyAgent(_0x40ad2e,_0x397276))!==null&&_0x55e4a1!==void 0x0?_0x55e4a1:new https['Agent'](getHttpsAgentOptions(_0x40ad2e,_0x397276)),'proxy':![]});}[a6_0x5d3d4b(0x120)](_0x4152e7,_0x20da3c){const _0x28b430=a6_0x5d3d4b,_0x2c3503={'uri':this[_0x28b430(0x11e)]+_0x28b430(0x120),'method':_0x28b430(0x186),'json':!![],'body':{'debuggee':_0x4152e7}};this['makeRequest'](_0x2c3503,(_0x1c46a8,_0x379671,_0x3c5b7d)=>{const _0x5b7219=_0x28b430;if(!_0x3c5b7d)_0x20da3c(_0x1c46a8||new Error(_0x5b7219(0x17f)));else{if(_0x1c46a8){let _0x51bb85=![];_0x3c5b7d[_0x5b7219(0x11b)]===HTTP_UPGRADE_REQUIRED&&_0x379671&&(_0x379671['message']!==undefined&&(_0x1c46a8[_0x5b7219(0x196)]=_0x379671[_0x5b7219(0x196)]),_0x4152e7['id']=_0x379671[_0x5b7219(0x114)]['id'],_0x51bb85=!![]),_0x20da3c(_0x1c46a8,_0x379671,_0x51bb85);}else{if(_0x3c5b7d[_0x5b7219(0x11b)]!==HTTP_SUCCESS)_0x20da3c(new Error(_0x5b7219(0x147)+_0x3c5b7d[_0x5b7219(0x11b)]));else!(_0x379671===null||_0x379671===void 0x0?void 0x0:_0x379671[_0x5b7219(0x114)])?_0x20da3c(new Error(_0x5b7219(0x19e))):(_0x4152e7['id']=_0x379671[_0x5b7219(0x114)]['id'],_0x20da3c(null,_0x379671));}}});}['listBreakpoints'](_0x4c8720,_0x1880b7,_0x213cf1){const _0x474121=a6_0x5d3d4b,_0x4dd9a2=this;assert(_0x4c8720['id'],_0x474121(0x155));const _0x4e0138={'successOnTimeout':!![]};_0x4dd9a2['nextWaitToken']&&(_0x4e0138[_0x474121(0x179)]=_0x4dd9a2[_0x474121(0x194)]);const _0x397feb=this[_0x474121(0x11e)]+encodeURIComponent(_0x4c8720['id'])+_0x474121(0x195)+qs[_0x474121(0x188)](_0x4e0138);_0x4dd9a2[_0x474121(0x168)]({'uri':_0x397feb,'json':!![]},(_0x5a8cec,_0x339255,_0x4015c8)=>{const _0x256528=_0x474121;if(!_0x4015c8){_0x1880b7(_0x5a8cec||new Error(_0x256528(0x17f)));return;}else{if(!is2xx(_0x4015c8[_0x256528(0x11b)])){_0x1880b7(new Error('unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20'+_0x4015c8['status']),_0x4015c8);return;}else _0x339255&&(_0x4dd9a2[_0x256528(0x194)]=_0x339255[_0x256528(0x194)]),_0x1880b7(null,_0x4015c8,_0x339255);}},_0x213cf1);}[a6_0x5d3d4b(0x164)](_0x2d1327,_0x1c20a2){const _0x405796=a6_0x5d3d4b;assert(_0x2d1327['id'],_0x405796(0x155));try{const _0x2e4336=JSON[_0x405796(0x188)](_0x1c20a2),_0x1c70bd=(0x0,utils_1[_0x405796(0x193)])(_0x2e4336);if(_0x1c70bd>=this[_0x405796(0x167)]['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x405796(0x165)][_0x405796(0x166)](_0x405796(0x19f)+_0x1c20a2['id']+_0x405796(0x191)+_0x1c70bd+_0x405796(0x131)+this[_0x405796(0x167)][_0x405796(0x153)]);return;}this[_0x405796(0x149)][_0x405796(0x1ad)]({'id':_0x1c20a2['id'],'serializedJson':_0x2e4336,'number':0x0});if(!this[_0x405796(0x144)]){const _0x5b144f=this;this[_0x405796(0x144)]=setTimeout(()=>_0x5b144f['transmitBreakpointUpdates'][_0x405796(0x180)](_0x5b144f)(_0x2d1327['id']),0x0);}}catch(_0x3645d4){this[_0x405796(0x165)][_0x405796(0x124)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x1c20a2['id']+'\x20and\x20enqueue\x20to\x20queue',_0x3645d4);return;}}[a6_0x5d3d4b(0x185)](){const _0x1e9988=a6_0x5d3d4b;if(!this[_0x1e9988(0x144)])return;clearTimeout(this[_0x1e9988(0x144)]),this[_0x1e9988(0x144)]=null;}[a6_0x5d3d4b(0x190)](_0xd3f61,_0x5878cf){const _0x49e2cb=a6_0x5d3d4b,_0xa304f=this[_0x49e2cb(0x11e)]+encodeURIComponent(_0xd3f61['id'])+_0x49e2cb(0x156),_0x990483={'uri':_0xa304f,'method':_0x49e2cb(0x186),'json':!![]};this['logger'][_0x49e2cb(0x12f)](_0x49e2cb(0x19a)),this[_0x49e2cb(0x168)](_0x990483,(_0x5ce200,_0x9d248c,_0x240104)=>{const _0x494111=_0x49e2cb;(!_0x240104||Math[_0x494111(0x13f)](_0x240104['status']/0x64)!==0x2)&&this[_0x494111(0x165)][_0x494111(0x166)]('Failed\x20to\x20deregister\x20agent,\x20Error:\x20'+_0x5ce200),_0x5878cf(_0x5ce200);});}[a6_0x5d3d4b(0x1a8)](_0x23d87d,_0xc0e0ff,_0x1c774a){const _0x3ab729=a6_0x5d3d4b,_0x15a874=this[_0x3ab729(0x11e)]+encodeURIComponent(_0x23d87d['id'])+_0x3ab729(0x14b),_0x5ee062={'uri':_0x15a874,'method':'POST','json':!![],'body':_0xc0e0ff};this['makeRequest'](_0x5ee062,(_0x10a41e,_0x2dbddc,_0x39329c)=>{const _0x3bcc7c=_0x3ab729;(!_0x39329c||Math[_0x3bcc7c(0x13f)](_0x39329c['status']/0x64)!==0x2)&&(this['logger'][_0x3bcc7c(0x166)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x10a41e),_0x1c774a(_0x10a41e));});}[a6_0x5d3d4b(0x13d)](_0x1324af,_0x213e5a,_0x51e33d){const _0x18658d=a6_0x5d3d4b,_0x33f8fa=this[_0x18658d(0x11e)]+encodeURIComponent(_0x1324af['id'])+_0x18658d(0x19d),_0x57e6fd={'uri':_0x33f8fa,'method':_0x18658d(0x186),'json':!![],'body':_0x213e5a};this[_0x18658d(0x168)](_0x57e6fd,(_0x2cdc3c,_0x3e7207,_0x39906f)=>{const _0x3eebc5=_0x18658d;(!_0x39906f||Math[_0x3eebc5(0x13f)](_0x39906f[_0x3eebc5(0x11b)]/0x64)!==0x2)&&(this[_0x3eebc5(0x165)][_0x3eebc5(0x166)](_0x3eebc5(0x12c)+_0x2cdc3c),_0x51e33d(_0x2cdc3c));});}['sendAgentLogsToServer'](_0xa0d1e,_0xab0daf,_0x257569){const _0x5bdd04=a6_0x5d3d4b;assert(_0xa0d1e['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this[_0x5bdd04(0x117)]){const _0x4c56e2=Date[_0x5bdd04(0x18a)](),_0x46b1d4=this[_0x5bdd04(0x117)]+this[_0x5bdd04(0x167)]['agentLog'][_0x5bdd04(0x16c)];if(_0x4c56e2<_0x46b1d4){this[_0x5bdd04(0x165)][_0x5bdd04(0x12f)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x46b1d4-_0x4c56e2)/0x3e8+_0x5bdd04(0x171)));return;}}const _0x4a1f8c=(0x0,fs_1[_0x5bdd04(0x1a0)])(_0x257569)['size'],_0x187b2f=Math[_0x5bdd04(0x130)](0x0,_0x4a1f8c-this[_0x5bdd04(0x167)][_0x5bdd04(0x16a)][_0x5bdd04(0x160)]),_0x5077a1=(0x0,fs_1['createReadStream'])(_0x257569,{'start':_0x187b2f}),_0x21d18a=(0x0,zlib_1[_0x5bdd04(0x1a5)])(),_0x189342=new memory_streams_1[(_0x5bdd04(0x184))](),_0x9028f5=this;_0x9028f5[_0x5bdd04(0x165)][_0x5bdd04(0x12f)]('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x257569+'\x20for\x20request\x20id\x20'+_0xab0daf),(0x0,stream_1[_0x5bdd04(0x127)])(_0x5077a1,_0x21d18a,_0x189342,_0x1e2adc=>{const _0x2d4f62=_0x5bdd04;if(_0x1e2adc)_0x9028f5['logger']['error'](_0x2d4f62(0x1ab)+_0x257569+':\x20'+_0x1e2adc);else{const _0x32485b={'uri':this['apiUrl']+encodeURIComponent(_0xa0d1e['id'])+_0x2d4f62(0x118)+_0xab0daf,'method':_0x2d4f62(0x11a),'body':_0x189342['toBuffer']()};_0x9028f5[_0x2d4f62(0x168)](_0x32485b,_0x1620b6=>{const _0x5b2619=_0x2d4f62;_0x1620b6?_0x9028f5[_0x5b2619(0x165)][_0x5b2619(0x124)](_0x5b2619(0x1ae)+_0x257569+_0x5b2619(0x14c)+_0xab0daf,_0x1620b6):(_0x9028f5[_0x5b2619(0x165)]['info'](_0x5b2619(0x152)+_0x257569+_0x5b2619(0x14c)+_0xab0daf),_0x9028f5['lastLogCollectionTime']=Date['now']());});}});}['transmitBreakpointUpdates'](_0x5bd3eb){const _0x2d654a=a6_0x5d3d4b;var _0x39c542;this[_0x2d654a(0x165)]['debug'](_0x2d654a(0x142)),this['transmissionTimeout']=undefined;const _0x4cc64a=[];let _0x34850e=0x0;while(_0x4cc64a[_0x2d654a(0x181)]<this[_0x2d654a(0x167)][_0x2d654a(0x141)]&&this['transmissionQueue']['length']>0x0){const _0x809fa9=this['transmissionQueue'][0x0],_0x465d09=_0x809fa9[_0x2d654a(0x1a6)],_0x3fccc2=(0x0,utils_1[_0x2d654a(0x193)])(_0x465d09);_0x34850e+=_0x3fccc2;if(_0x34850e<=this[_0x2d654a(0x167)][_0x2d654a(0x198)])_0x4cc64a['push'](_0x809fa9),this[_0x2d654a(0x149)][_0x2d654a(0x1a4)]();else{_0x3fccc2>this[_0x2d654a(0x167)][_0x2d654a(0x198)]&&_0x4cc64a[_0x2d654a(0x181)]===0x0&&(this['logger'][_0x2d654a(0x157)]('breakpoint\x20'+_0x809fa9['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x2d654a(0x167)][_0x2d654a(0x198)]+_0x2d654a(0x145)),_0x4cc64a[_0x2d654a(0x1ad)](_0x809fa9),this[_0x2d654a(0x149)][_0x2d654a(0x1a4)]());break;}}if(!_0x4cc64a)return;const _0x215ec0=_0x4cc64a['map'](_0x2ad2a6=>_0x2ad2a6['id']),_0x1bf299={'uri':this['apiUrl']+encodeURIComponent(_0x5bd3eb)+_0x2d654a(0x163),'json':!![],'method':'PUT','body':'['+_0x4cc64a['map'](_0x5e4bd1=>_0x5e4bd1[_0x2d654a(0x1a6)])[_0x2d654a(0x1a9)](',')+']'},_0x37abce=this;try{this['makeRequest'](_0x1bf299,(_0x19bed0,_0xcc618b,_0x5dc455)=>{const _0x339444=_0x2d654a,_0xcbdfb8=_0x5dc455===null||_0x5dc455===void 0x0?void 0x0:_0x5dc455[_0x339444(0x11b)];_0x37abce['logger'][_0x339444(0x157)]('Update\x20for\x20breakpoints\x20'+_0x215ec0+_0x339444(0x17b)+_0xcbdfb8);if(_0x19bed0||!_0xcbdfb8||Math[_0x339444(0x13f)](_0xcbdfb8/0x64)!==0x2){const _0x1485c8=_0xcbdfb8&&(_0xcbdfb8>=0x1f4||_0xcbdfb8===0x198);if(_0x1485c8){_0x37abce[_0x339444(0x165)][_0x339444(0x166)](_0x339444(0x16f)+_0x215ec0+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0xcbdfb8+_0x339444(0x13a)+_0x19bed0);for(const _0x5e8723 of _0x4cc64a){_0x5e8723[_0x339444(0x146)]<MAX_FAILED_SEND_ATTEMPTS?_0x37abce[_0x339444(0x149)][_0x339444(0x1ad)]({..._0x5e8723,'number':_0x5e8723[_0x339444(0x146)]+0x1}):_0x37abce['logger'][_0x339444(0x166)](_0x339444(0x14e)+_0x5e8723['id']+_0x339444(0x14f));}}else _0x37abce['logger'][_0x339444(0x166)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x215ec0+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0xcbdfb8+_0x339444(0x13a)+_0x19bed0);}else _0x37abce[_0x339444(0x165)][_0x339444(0x12f)](_0x339444(0x18e)+_0x215ec0+_0x339444(0x172));_0x37abce[_0x339444(0x149)][_0x339444(0x181)]>0x0&&(_0x37abce['transmissionTimeout']=setTimeout(()=>_0x37abce[_0x339444(0x13c)][_0x339444(0x180)](_0x37abce)(_0x5bd3eb),0x0));},0x28);}catch(_0x1f104d){this[_0x2d654a(0x165)][_0x2d654a(0x166)](_0x2d654a(0x14a)+_0x215ec0+_0x2d654a(0x18b)+_0x1f104d+_0x2d654a(0x16e)+((_0x39c542=_0x1f104d[_0x2d654a(0x15e)])===null||_0x39c542===void 0x0?void 0x0:_0x39c542[_0x2d654a(0x196)])),_0x37abce[_0x2d654a(0x149)][_0x2d654a(0x181)]>0x0&&(_0x37abce['transmissionTimeout']=setTimeout(()=>_0x37abce['transmitBreakpointUpdates']['bind'](_0x37abce)(_0x5bd3eb),0x0));}}async['getBlocklist'](_0x28d24a){const _0x3cc984=a6_0x5d3d4b;this[_0x3cc984(0x165)][_0x3cc984(0x12f)](_0x3cc984(0x192));const _0x6c9ee7=this[_0x3cc984(0x11e)]+encodeURIComponent(_0x28d24a)+_0x3cc984(0x151),{error:_0x40200c,data:_0x54d09f}=await this['makeRequest']({'uri':_0x6c9ee7,'json':!![]});if(_0x40200c)return Promise[_0x3cc984(0x133)](_0x40200c);return yaml[_0x3cc984(0x16d)](_0x54d09f)||{};}[a6_0x5d3d4b(0x168)](_0x3a830c,_0x5bf1fb,_0x4b285f,_0x11248d){const _0x5e6b2d=a6_0x5d3d4b,_0x14afe3={'Content-Type':_0x11248d?_0x11248d:_0x5e6b2d(0x19b),'Authorization':_0x5e6b2d(0x11f)+this['config'][_0x5e6b2d(0x19c)]},_0x35f681=axios_1[_0x5e6b2d(0x199)]['CancelToken']['source'](),_0x124a48=_0x4b285f?_0x4b285f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x5e6b2d(0x165)][_0x5e6b2d(0x157)](_0x5e6b2d(0x18f)+_0x124a48);const _0x1c326d=setTimeout(()=>{const _0x1b0786=_0x5e6b2d;this[_0x1b0786(0x165)][_0x1b0786(0x166)]('Timeout\x20occurred\x20after\x20'+_0x124a48+'ms'),_0x35f681['cancel']();},_0x124a48),_0x55820e={'method':_0x3a830c[_0x5e6b2d(0x143)],'url':_0x3a830c[_0x5e6b2d(0x175)],'data':_0x3a830c[_0x5e6b2d(0x17a)],'headers':_0x14afe3,'cancelToken':_0x35f681[_0x5e6b2d(0x126)]};return extend(!![],_0x55820e,_0x3a830c),this[_0x5e6b2d(0x13e)]['request'](_0x55820e)[_0x5e6b2d(0x18d)](_0x164fb3=>{const _0x19f53a=_0x5e6b2d;return _0x5bf1fb===null||_0x5bf1fb===void 0x0?void 0x0:_0x5bf1fb(null,_0x164fb3[_0x19f53a(0x15e)],_0x164fb3),{'error':null,'data':_0x164fb3[_0x19f53a(0x15e)],'res':_0x164fb3};})[_0x5e6b2d(0x11c)](_0x30abf3=>{const _0x24160a=_0x5e6b2d;var _0x5a5c43,_0x2f170d;return _0x5bf1fb===null||_0x5bf1fb===void 0x0?void 0x0:_0x5bf1fb(_0x30abf3,(_0x5a5c43=_0x30abf3[_0x24160a(0x177)])===null||_0x5a5c43===void 0x0?void 0x0:_0x5a5c43[_0x24160a(0x15e)],_0x30abf3[_0x24160a(0x177)]),{'error':_0x30abf3,'data':(_0x2f170d=_0x30abf3['response'])===null||_0x2f170d===void 0x0?void 0x0:_0x2f170d[_0x24160a(0x15e)],'res':_0x30abf3[_0x24160a(0x177)]};})[_0x5e6b2d(0x140)](()=>clearTimeout(_0x1c326d));}async[a6_0x5d3d4b(0x12d)](_0x32144e){const _0x40c690=a6_0x5d3d4b;this[_0x40c690(0x165)][_0x40c690(0x12f)](_0x40c690(0x121));const _0x5c56a7=this['apiUrl']+encodeURIComponent(_0x32144e)+_0x40c690(0x150),{error:_0x5c2adb,data:_0x5df3af}=await this[_0x40c690(0x168)]({'uri':_0x5c56a7,'json':!![]});if(_0x5c2adb)return Promise[_0x40c690(0x133)](_0x5c2adb);return _0x5df3af;}}exports[a6_0x5d3d4b(0x161)]=Controller;function is2xx(_0x3e16b4){const _0x15752c=a6_0x5d3d4b;return Math[_0x15752c(0x13f)](_0x3e16b4/0x64)===0x2;}function getProxyAgent(_0x4701f8,_0x30b7cb){const _0x31ba3f=a6_0x5d3d4b;var _0x4cec50,_0x1e7616,_0x2b5c7f;const _0x2f29a7=_0x4701f8[_0x31ba3f(0x169)];if(!(_0x2f29a7===null||_0x2f29a7===void 0x0?void 0x0:_0x2f29a7[_0x31ba3f(0x16b)]))return undefined;if(!_0x2f29a7[_0x31ba3f(0x134)])return _0x30b7cb['error'](_0x31ba3f(0x12a)),undefined;_0x30b7cb['info'](_0x31ba3f(0x183)+_0x2f29a7[_0x31ba3f(0x16b)]+':'+_0x2f29a7[_0x31ba3f(0x134)]+_0x31ba3f(0x12b)+((_0x4cec50=_0x2f29a7[_0x31ba3f(0x162)])!==null&&_0x4cec50!==void 0x0?_0x4cec50:''));const _0x3fe63a=new HttpsProxyAgent({'host':_0x2f29a7[_0x31ba3f(0x16b)],'port':_0x2f29a7[_0x31ba3f(0x134)],'auth':_0x2f29a7['username']||_0x2f29a7[_0x31ba3f(0x12e)]?((_0x1e7616=_0x2f29a7['username'])!==null&&_0x1e7616!==void 0x0?_0x1e7616:'')+':'+((_0x2b5c7f=_0x2f29a7[_0x31ba3f(0x12e)])!==null&&_0x2b5c7f!==void 0x0?_0x2b5c7f:''):undefined}),_0x579ea8=_0x3fe63a[_0x31ba3f(0x128)][_0x31ba3f(0x180)](_0x3fe63a),_0x19db5e=getHttpsAgentOptions(_0x4701f8,_0x30b7cb);return _0x3fe63a[_0x31ba3f(0x128)]=(_0x1b651e,_0x19802a)=>{return _0x579ea8(_0x1b651e,{..._0x19802a,..._0x19db5e});},_0x3fe63a;}function getHttpsAgentOptions(_0x2e2e2b,_0x48b29d){const _0x875c12=a6_0x5d3d4b,_0x381b6a={'checkServerIdentity':(_0x4d13f3,_0x3103d9)=>{const _0x5cf232=a6_0x3843;if(_0x2e2e2b[_0x5cf232(0x159)])return undefined;const _0x45c230=(0x0,crypto_1[_0x5cf232(0x122)])(_0x5cf232(0x139))[_0x5cf232(0x174)](_0x3103d9[_0x5cf232(0x132)])['digest'](_0x5cf232(0x178));return _0x2e2e2b['pinnedCerts'][_0x5cf232(0x1a1)](_0x45c230)?undefined:new Error(_0x5cf232(0x15f));}};let _0x476e1d;if(_0x2e2e2b['caPath'])try{_0x476e1d=(0x0,fs_1[_0x875c12(0x158)])(_0x2e2e2b[_0x875c12(0x129)],_0x875c12(0x138));}catch(_0x4880b1){_0x48b29d['warn']('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x2e2e2b[_0x875c12(0x129)]+'\x22\x20-\x20ignoring\x20it');}if(_0x476e1d){const _0x32a530=(0x0,tls_1[_0x875c12(0x15c)])(_0x381b6a);_0x32a530[_0x875c12(0x197)]['addCACert'](_0x476e1d),_0x381b6a[_0x875c12(0x154)]=_0x32a530;}return _0x381b6a;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x190116=a7_0x524b;(function(_0xa16084,_0x2da512){const _0x5be242=a7_0x524b,_0x26a0fd=_0xa16084();while(!![]){try{const _0x10b477=-parseInt(_0x5be242(0x1b1))/0x1*(-parseInt(_0x5be242(0x1be))/0x2)+-parseInt(_0x5be242(0x1ba))/0x3+-parseInt(_0x5be242(0x1ab))/0x4+parseInt(_0x5be242(0x1bc))/0x5+parseInt(_0x5be242(0x1ac))/0x6+parseInt(_0x5be242(0x1a2))/0x7+-parseInt(_0x5be242(0x1b0))/0x8;if(_0x10b477===_0x2da512)break;else _0x26a0fd['push'](_0x26a0fd['shift']());}catch(_0x23d802){_0x26a0fd['push'](_0x26a0fd['shift']());}}}(a7_0x2c65,0xe1772));const a7_0x10d1a6=(function(){let _0x1390c6=!![];return function(_0x341e47,_0x2b30ba){const _0x28d083=_0x1390c6?function(){if(_0x2b30ba){const _0xcf552c=_0x2b30ba['apply'](_0x341e47,arguments);return _0x2b30ba=null,_0xcf552c;}}:function(){};return _0x1390c6=![],_0x28d083;};}()),a7_0xa3d36c=a7_0x10d1a6(this,function(){const _0x91725=a7_0x524b;return a7_0xa3d36c['toString']()['search'](_0x91725(0x1b3))['toString']()[_0x91725(0x1a7)](a7_0xa3d36c)[_0x91725(0x1c1)](_0x91725(0x1b3));});a7_0xa3d36c();'use strict';function a7_0x2c65(){const _0x346c69=['relative','1321890GjQRCD','sourceContexts','7815495lymTuM','./createDebuggeeMetadata','34226IHnnIh','versions','defineProperty','search','version','cwd','11151119sZttzJ','string','../../client/stackdriver/status-message','default','Debuggee','constructor','argv','./getPlatform','createUniquifier','2939980wodORb','6496050tqivfp','stringify','createDebuggeeMetadata','StatusMessage','26974368Gfdaqt','72OLniuq','createDebuggee','(((.+)+)+)+$','title','minorVersion_','module','service','name'];a7_0x2c65=function(){return _0x346c69;};return a7_0x2c65();}Object[a7_0x190116(0x1c0)](exports,'__esModule',{'value':!![]}),exports[a7_0x190116(0x1b2)]=void 0x0;function a7_0x524b(_0x39ec4d,_0x1f5dd6){const _0x3a78be=a7_0x2c65();return a7_0x524b=function(_0xa3d36c,_0x10d1a6){_0xa3d36c=_0xa3d36c-0x1a1;let _0x2c6532=_0x3a78be[_0xa3d36c];return _0x2c6532;},a7_0x524b(_0x39ec4d,_0x1f5dd6);}const path=require('path'),status_message_1=require(a7_0x190116(0x1a4)),debuggee_1=require('../../debuggee'),createDebuggeeMetadata_1=require(a7_0x190116(0x1bd)),createUniquifier_1=require('./createUniquifier'),getPlatform_1=require(a7_0x190116(0x1a9)),createDebuggee=(_0x4ac200,_0x1072c6,_0x3fec5a,_0x2051b6,_0x3193e1,_0x58c2c8,_0x5ab4af,_0x338f20)=>{const _0x1844cd=a7_0x190116,_0x46801e=process[_0x1844cd(0x1a1)](),_0x4e9b26=path[_0x1844cd(0x1b9)](_0x46801e,process[_0x1844cd(0x1a8)][0x1]),_0x9a6159={'main\x20script':_0x4e9b26,'process.title':process[_0x1844cd(0x1b4)],'node\x20version':process[_0x1844cd(0x1bf)]['node'],'V8\x20version':process['versions']['v8'],'agent.name':_0x2051b6[_0x1844cd(0x1b8)],'agent.version':_0x3193e1,'platform':(0x0,getPlatform_1['getPlatform'])()},_0x2c2cbf=_0x1072c6['serviceContext'];_0x2c2cbf&&(typeof _0x2c2cbf['service']===_0x1844cd(0x1a3)&&_0x2c2cbf[_0x1844cd(0x1b7)]!==_0x1844cd(0x1a5)&&(_0x9a6159[_0x1844cd(0x1b6)]=_0x2c2cbf[_0x1844cd(0x1b7)]),typeof _0x2c2cbf['version']===_0x1844cd(0x1a3)&&(_0x9a6159[_0x1844cd(0x1c2)]=_0x2c2cbf['version']),typeof _0x2c2cbf[_0x1844cd(0x1b5)]===_0x1844cd(0x1a3)&&(_0x9a6159['minorversion']=_0x2c2cbf[_0x1844cd(0x1b5)]));const _0x9e7956=(0x0,createUniquifier_1[_0x1844cd(0x1aa)])(_0x3193e1,_0x4ac200,_0x3fec5a,_0x9a6159),_0x10b9cd=_0x338f20?new status_message_1[(_0x1844cd(0x1af))](status_message_1['StatusMessage']['UNSPECIFIED'],_0x338f20,!![]):undefined,_0x3e66f6=(0x0,createDebuggeeMetadata_1[_0x1844cd(0x1ae)])(_0x1072c6,_0x58c2c8),_0x27f713={'uniquifier':_0x9e7956,'agentVersion':_0x3193e1,'labels':{'metadata':JSON[_0x1844cd(0x1ad)](_0x3e66f6)},'statusMessage':_0x10b9cd,'packageInfo':_0x2051b6,..._0x5ab4af};return _0x3fec5a&&(_0x27f713[_0x1844cd(0x1bb)]=[_0x3fec5a]),new debuggee_1[(_0x1844cd(0x1a6))](_0x27f713);};exports[a7_0x190116(0x1b2)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x5a7aa0=a8_0x16e9;function a8_0x16e9(_0x50eefe,_0x4c9048){const _0x3b196f=a8_0x3899();return a8_0x16e9=function(_0xee9685,_0x5c5d3b){_0xee9685=_0xee9685-0x1e6;let _0x38990e=_0x3b196f[_0xee9685];return _0x38990e;},a8_0x16e9(_0x50eefe,_0x4c9048);}(function(_0x3dd43d,_0xc109c8){const _0x1924da=a8_0x16e9,_0x2d60f8=_0x3dd43d();while(!![]){try{const _0x51ae56=-parseInt(_0x1924da(0x1f8))/0x1+-parseInt(_0x1924da(0x1f7))/0x2+parseInt(_0x1924da(0x1f3))/0x3+parseInt(_0x1924da(0x1f1))/0x4*(-parseInt(_0x1924da(0x1f6))/0x5)+-parseInt(_0x1924da(0x1f9))/0x6+-parseInt(_0x1924da(0x1f5))/0x7+parseInt(_0x1924da(0x1fd))/0x8*(parseInt(_0x1924da(0x1e9))/0x9);if(_0x51ae56===_0xc109c8)break;else _0x2d60f8['push'](_0x2d60f8['shift']());}catch(_0x378eda){_0x2d60f8['push'](_0x2d60f8['shift']());}}}(a8_0x3899,0xc86e5));function a8_0x3899(){const _0x411895=['(((.+)+)+)+$','308210DoRzaN','5777650ykPnqV','169528ssvbxj','909314VthQlW','6548988hbPKpY','defineProperty','registration','tags','8VqDkBd','warn','string','toString','constructor','parse','filename','31406913fnCjvU','readFileSync','apply','metadata','extend','map','__esModule','search','4BjvfrK','createDebuggeeMetadata','1849332DHmceW'];a8_0x3899=function(){return _0x411895;};return a8_0x3899();}const a8_0x5c5d3b=(function(){let _0xffc402=!![];return function(_0xc288a0,_0x511559){const _0x20f2ce=_0xffc402?function(){const _0x4a6602=a8_0x16e9;if(_0x511559){const _0x7d8e73=_0x511559[_0x4a6602(0x1eb)](_0xc288a0,arguments);return _0x511559=null,_0x7d8e73;}}:function(){};return _0xffc402=![],_0x20f2ce;};}()),a8_0xee9685=a8_0x5c5d3b(this,function(){const _0x49b9fd=a8_0x16e9;return a8_0xee9685[_0x49b9fd(0x200)]()[_0x49b9fd(0x1f0)](_0x49b9fd(0x1f4))['toString']()[_0x49b9fd(0x1e6)](a8_0xee9685)[_0x49b9fd(0x1f0)](_0x49b9fd(0x1f4));});a8_0xee9685();'use strict';Object[a8_0x5a7aa0(0x1fa)](exports,a8_0x5a7aa0(0x1ef),{'value':!![]}),exports[a8_0x5a7aa0(0x1f2)]=void 0x0;const fs=require('fs'),extend=require(a8_0x5a7aa0(0x1ed)),createDebuggeeMetadata=(_0x292214,_0x1da3c8)=>{const _0x1c26b5=a8_0x5a7aa0;var _0x4592d8,_0x552bbe,_0x45df26;let _0x161fa7={'registration':{}};if((_0x4592d8=_0x292214[_0x1c26b5(0x1ec)])===null||_0x4592d8===void 0x0?void 0x0:_0x4592d8[_0x1c26b5(0x1e8)])try{_0x161fa7=JSON[_0x1c26b5(0x1e7)](fs[_0x1c26b5(0x1ea)](_0x292214[_0x1c26b5(0x1ec)][_0x1c26b5(0x1e8)],'utf-8'));}catch(_0x164318){_0x1da3c8[_0x1c26b5(0x1fe)]('Failed\x20to\x20read\x20metadata\x20file\x20'+_0x292214[_0x1c26b5(0x1ec)][_0x1c26b5(0x1e8)],_0x164318);}return _0x161fa7[_0x1c26b5(0x1fb)]=extend(!![],{},(_0x552bbe=_0x292214[_0x1c26b5(0x1ec)])===null||_0x552bbe===void 0x0?void 0x0:_0x552bbe['registration'],_0x161fa7[_0x1c26b5(0x1fb)]),((_0x45df26=_0x161fa7[_0x1c26b5(0x1fb)])===null||_0x45df26===void 0x0?void 0x0:_0x45df26['tags'])&&(_0x161fa7[_0x1c26b5(0x1fb)][_0x1c26b5(0x1fc)]=_0x161fa7['registration']['tags'][_0x1c26b5(0x1ee)](_0x209d24=>typeof _0x209d24===_0x1c26b5(0x1ff)?{'name':_0x209d24}:_0x209d24)),_0x161fa7;};exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x449067=a9_0x5b8c;(function(_0x19eeb3,_0x118d4a){const _0x5e2211=a9_0x5b8c,_0xfbb2ef=_0x19eeb3();while(!![]){try{const _0x34f5f9=-parseInt(_0x5e2211(0x177))/0x1*(-parseInt(_0x5e2211(0x171))/0x2)+-parseInt(_0x5e2211(0x16f))/0x3+parseInt(_0x5e2211(0x17c))/0x4+parseInt(_0x5e2211(0x17e))/0x5+-parseInt(_0x5e2211(0x170))/0x6*(-parseInt(_0x5e2211(0x174))/0x7)+parseInt(_0x5e2211(0x16a))/0x8*(-parseInt(_0x5e2211(0x17d))/0x9)+-parseInt(_0x5e2211(0x17a))/0xa;if(_0x34f5f9===_0x118d4a)break;else _0xfbb2ef['push'](_0xfbb2ef['shift']());}catch(_0x3bd98c){_0xfbb2ef['push'](_0xfbb2ef['shift']());}}}(a9_0x2a21,0x83199));const a9_0x5bd774=(function(){let _0x1e750c=!![];return function(_0x3f9238,_0x467407){const _0xf32bb7=_0x1e750c?function(){const _0x2a8d3a=a9_0x5b8c;if(_0x467407){const _0x10eeb1=_0x467407[_0x2a8d3a(0x178)](_0x3f9238,arguments);return _0x467407=null,_0x10eeb1;}}:function(){};return _0x1e750c=![],_0xf32bb7;};}()),a9_0x20ab43=a9_0x5bd774(this,function(){const _0x90b90a=a9_0x5b8c;return a9_0x20ab43[_0x90b90a(0x16d)]()[_0x90b90a(0x16b)](_0x90b90a(0x176))[_0x90b90a(0x16d)]()[_0x90b90a(0x172)](a9_0x20ab43)['search'](_0x90b90a(0x176));});a9_0x20ab43();function a9_0x2a21(){const _0x4a4346=['(((.+)+)+)+$','40823kinVPj','apply','hex','3610000XTWXaC','update','1417928GNvpEo','208341vcmgmd','1691215pweVpX','createUniquifier','136EbQDtc','search','stringify','toString','digest','2345340BLKWcz','24PDjLdx','38ULMgRd','constructor','defineProperty','1058638jFDwxR','sha1'];a9_0x2a21=function(){return _0x4a4346;};return a9_0x2a21();}'use strict';Object[a9_0x449067(0x173)](exports,'__esModule',{'value':!![]}),exports[a9_0x449067(0x169)]=void 0x0;function a9_0x5b8c(_0x5a9137,_0x3908a1){const _0x47ecc8=a9_0x2a21();return a9_0x5b8c=function(_0x20ab43,_0x5bd774){_0x20ab43=_0x20ab43-0x169;let _0x2a213f=_0x47ecc8[_0x20ab43];return _0x2a213f;},a9_0x5b8c(_0x5a9137,_0x3908a1);}const crypto=require('crypto'),createUniquifier=(_0x4761b8,_0x1d81e5,_0x5aa622,_0x526713)=>{const _0x4d4663=a9_0x449067,_0x535775=_0x4761b8+_0x1d81e5+JSON['stringify'](_0x5aa622)+JSON[_0x4d4663(0x16c)](_0x526713);return crypto['createHash'](_0x4d4663(0x175))[_0x4d4663(0x17b)](_0x535775)[_0x4d4663(0x16e)](_0x4d4663(0x179));};exports['createUniquifier']=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x45d114=a10_0x5f12;function a10_0x5084(){const _0x2aa86e=['40674cndlYo','length','constructor','push','1128198ZUufkL','toString','apply','55Kqdiio','11969037SjlSFF','search','split','defineProperty','7qaXemw','24135199PfZOzu','377960KbzRNp','delimit','10UJOzYx','8330792mFSfqs','118ntEMCM','7409292QfrYiC'];a10_0x5084=function(){return _0x2aa86e;};return a10_0x5084();}(function(_0x51318f,_0x41b5d5){const _0xf5c930=a10_0x5f12,_0x254632=_0x51318f();while(!![]){try{const _0x2b3f72=-parseInt(_0xf5c930(0x124))/0x1+parseInt(_0xf5c930(0x11e))/0x2*(-parseInt(_0xf5c930(0x120))/0x3)+-parseInt(_0xf5c930(0x11a))/0x4*(parseInt(_0xf5c930(0x127))/0x5)+parseInt(_0xf5c930(0x11f))/0x6+-parseInt(_0xf5c930(0x12c))/0x7*(parseInt(_0xf5c930(0x11d))/0x8)+parseInt(_0xf5c930(0x128))/0x9+-parseInt(_0xf5c930(0x11c))/0xa*(-parseInt(_0xf5c930(0x119))/0xb);if(_0x2b3f72===_0x41b5d5)break;else _0x254632['push'](_0x254632['shift']());}catch(_0x42171d){_0x254632['push'](_0x254632['shift']());}}}(a10_0x5084,0xb71c9));const a10_0x299205=(function(){let _0x5bb75e=!![];return function(_0x5048fc,_0x5eb002){const _0x3c3a5b=_0x5bb75e?function(){const _0x267530=a10_0x5f12;if(_0x5eb002){const _0x5cf13b=_0x5eb002[_0x267530(0x126)](_0x5048fc,arguments);return _0x5eb002=null,_0x5cf13b;}}:function(){};return _0x5bb75e=![],_0x3c3a5b;};}()),a10_0x359746=a10_0x299205(this,function(){const _0x572659=a10_0x5f12;return a10_0x359746[_0x572659(0x125)]()[_0x572659(0x129)]('(((.+)+)+)+$')[_0x572659(0x125)]()[_0x572659(0x122)](a10_0x359746)[_0x572659(0x129)]('(((.+)+)+)+$');});a10_0x359746();function a10_0x5f12(_0x1f6dce,_0x148904){const _0x1fd36d=a10_0x5084();return a10_0x5f12=function(_0x359746,_0x299205){_0x359746=_0x359746-0x119;let _0x508498=_0x1fd36d[_0x359746];return _0x508498;},a10_0x5f12(_0x1f6dce,_0x148904);}'use strict';Object[a10_0x45d114(0x12b)](exports,'__esModule',{'value':!![]}),exports[a10_0x45d114(0x11b)]=void 0x0;const delimit=(_0x5d3ed9,_0x852836)=>{const _0x520fc8=a10_0x45d114,_0x4fac67=_0x5d3ed9[_0x520fc8(0x12a)](_0x852836),_0x16ec1f=[];_0x16ec1f[_0x520fc8(0x123)](_0x4fac67[0x0]);for(let _0x444419=0x1;_0x444419<_0x4fac67[_0x520fc8(0x121)];_0x444419++){_0x16ec1f['push']({'v':_0x852836},_0x4fac67[_0x444419]);}return _0x16ec1f;};exports['delimit']=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x11cc13=a11_0x50a6;function a11_0x244c(){const _0xffa746=['1853148MkEBEr','length','toString','constructor','./tokenize','2bPtrey','3112200GVXLWV','3386061AUSVSb','test','8542086NbwCyj','21863600cCjfHr','format','863504FePnEN','3678368ApBasm','tokenize'];a11_0x244c=function(){return _0xffa746;};return a11_0x244c();}(function(_0x4d9926,_0x4aca7c){const _0x48da17=a11_0x50a6,_0x17739c=_0x4d9926();while(!![]){try{const _0x29421d=-parseInt(_0x48da17(0xed))/0x1*(-parseInt(_0x48da17(0xe5))/0x2)+parseInt(_0x48da17(0xe8))/0x3+-parseInt(_0x48da17(0xe6))/0x4+-parseInt(_0x48da17(0xee))/0x5+-parseInt(_0x48da17(0xe2))/0x6+-parseInt(_0x48da17(0xe0))/0x7+parseInt(_0x48da17(0xe3))/0x8;if(_0x29421d===_0x4aca7c)break;else _0x17739c['push'](_0x17739c['shift']());}catch(_0x323686){_0x17739c['push'](_0x17739c['shift']());}}}(a11_0x244c,0xbab3e));const a11_0x5ec4b7=(function(){let _0x45456f=!![];return function(_0x8c93ac,_0x416388){const _0x3810a8=_0x45456f?function(){if(_0x416388){const _0x1b31c7=_0x416388['apply'](_0x8c93ac,arguments);return _0x416388=null,_0x1b31c7;}}:function(){};return _0x45456f=![],_0x3810a8;};}()),a11_0x225d59=a11_0x5ec4b7(this,function(){const _0x2491c1=a11_0x50a6;return a11_0x225d59[_0x2491c1(0xea)]()['search']('(((.+)+)+)+$')[_0x2491c1(0xea)]()[_0x2491c1(0xeb)](a11_0x225d59)['search']('(((.+)+)+)+$');});function a11_0x50a6(_0x202ee8,_0x420b29){const _0x219b4f=a11_0x244c();return a11_0x50a6=function(_0x225d59,_0x5ec4b7){_0x225d59=_0x225d59-0xe0;let _0x244c4c=_0x219b4f[_0x225d59];return _0x244c4c;},a11_0x50a6(_0x202ee8,_0x420b29);}a11_0x225d59();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a11_0x11cc13(0xe4)]=void 0x0;const tokenize_1=require(a11_0x11cc13(0xec)),format=(_0x387b83,_0x65ece3)=>{const _0x435fa2=a11_0x11cc13,_0x39539b=(0x0,tokenize_1[_0x435fa2(0xe7)])(_0x387b83,_0x65ece3['length']);for(let _0x27c89f=0x0;_0x27c89f<_0x39539b[_0x435fa2(0xe9)];_0x27c89f++){if(!_0x39539b[_0x27c89f]['v'])continue;if(_0x39539b[_0x27c89f]['v']==='$$'){_0x39539b[_0x27c89f]='$';continue;}for(let _0x5e0461=0x0;_0x5e0461<_0x65ece3[_0x435fa2(0xe9)];_0x5e0461++){if(_0x39539b[_0x27c89f]['v']==='$'+_0x5e0461){let _0x3b6c41=_0x65ece3[_0x5e0461];/^".*"$/[_0x435fa2(0xe1)](_0x3b6c41)&&(_0x3b6c41=_0x3b6c41['substring'](0x1,_0x3b6c41[_0x435fa2(0xe9)]-0x1));_0x39539b[_0x27c89f]=_0x3b6c41;break;}}}return _0x39539b['join']('');};exports['format']=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0xd788aa=a12_0x5d67;(function(_0xae17fe,_0x5be139){const _0x8aa4b5=a12_0x5d67,_0x183e3b=_0xae17fe();while(!![]){try{const _0x1ca18c=-parseInt(_0x8aa4b5(0x140))/0x1+parseInt(_0x8aa4b5(0x155))/0x2*(-parseInt(_0x8aa4b5(0x158))/0x3)+parseInt(_0x8aa4b5(0x15a))/0x4+-parseInt(_0x8aa4b5(0x141))/0x5*(-parseInt(_0x8aa4b5(0x144))/0x6)+parseInt(_0x8aa4b5(0x15c))/0x7+-parseInt(_0x8aa4b5(0x13c))/0x8+parseInt(_0x8aa4b5(0x13f))/0x9;if(_0x1ca18c===_0x5be139)break;else _0x183e3b['push'](_0x183e3b['shift']());}catch(_0x3e96ce){_0x183e3b['push'](_0x183e3b['shift']());}}}(a12_0x30b4,0xe47fe));const a12_0x5133ac=(function(){let _0xc226d6=!![];return function(_0x39b254,_0x22071a){const _0x5eac35=_0xc226d6?function(){const _0x1d4d58=a12_0x5d67;if(_0x22071a){const _0x497aca=_0x22071a[_0x1d4d58(0x15d)](_0x39b254,arguments);return _0x22071a=null,_0x497aca;}}:function(){};return _0xc226d6=![],_0x5eac35;};}()),a12_0x489a35=a12_0x5133ac(this,function(){const _0x4e0712=a12_0x5d67;return a12_0x489a35[_0x4e0712(0x139)]()[_0x4e0712(0x14b)](_0x4e0712(0x147))[_0x4e0712(0x139)]()['constructor'](a12_0x489a35)[_0x4e0712(0x14b)](_0x4e0712(0x147));});function a12_0x5d67(_0x59a5e3,_0x26e44d){const _0x29fde2=a12_0x30b4();return a12_0x5d67=function(_0x489a35,_0x5133ac){_0x489a35=_0x489a35-0x137;let _0x30b4b5=_0x29fde2[_0x489a35];return _0x30b4b5;},a12_0x5d67(_0x59a5e3,_0x26e44d);}function a12_0x30b4(){const _0x1e9cb6=['max_variable_size','(((.+)+)+)+$','proxy_host','max_snapshot_buffer_size','ignore_quota','search','existsSync','agent_log_max_file_count','getFloat','map','getInt','agent_log_target_dir','dynamic_log_quota_recovery_ms','agent_log_level','transmission_bulk_max_size','58450quuSOG','max_watchlist_variable_size','split','147HgZVvL','agent_regmetadata_file','6078080erFYSP','collect_log_cooldown_ms','12008255IzebBx','apply','agent_log_max_file_size_mb','max_log_cpu_cost','proxy_username','getAgentConfig','fetch_breakpoints_once','toString','max_snapshot_frame_count','getFirst','8588096bATRrI','pinned_certs','__esModule','400968nGEeBy','1519280WsAvPg','24295KhwwlR','apiEndpoint','getBoolean','2076hJHkle','noCheckCertificate'];a12_0x30b4=function(){return _0x1e9cb6;};return a12_0x30b4();}a12_0x489a35();'use strict';Object['defineProperty'](exports,a12_0xd788aa(0x13e),{'value':!![]}),exports[a12_0xd788aa(0x137)]=void 0x0;const properties=require('java-properties'),fs=require('fs'),getAgentConfig=_0x3ffee3=>{const _0x484bc9=a12_0xd788aa;var _0x50afc6,_0x203af0,_0x160110;if(fs[_0x484bc9(0x14c)](_0x3ffee3)){const _0x331137=properties['of'](_0x3ffee3);return{'lightrunSecret':_0x331137['getFirst']('com.lightrun.secret'),'apiEndpoint':_0x331137[_0x484bc9(0x13b)](_0x484bc9(0x142)),'breakpointExpirationSec':_0x331137[_0x484bc9(0x150)]('breakpoint_expiration_sec'),'transmissionBulkMaxSize':_0x331137['getInt'](_0x484bc9(0x154)),'noCheckCertificate':_0x331137['getBoolean'](_0x484bc9(0x145)),'pinnedCerts':(_0x50afc6=_0x331137[_0x484bc9(0x13b)](_0x484bc9(0x13d)))===null||_0x50afc6===void 0x0?void 0x0:_0x50afc6[_0x484bc9(0x157)](','),'metadata':{'filename':_0x331137[_0x484bc9(0x13b)](_0x484bc9(0x159))},'capture':{'maxFrames':_0x331137[_0x484bc9(0x150)](_0x484bc9(0x13a)),'maxDataSize':_0x331137[_0x484bc9(0x150)]('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x331137[_0x484bc9(0x150)](_0x484bc9(0x149)),'maxVariableSize':_0x331137[_0x484bc9(0x150)](_0x484bc9(0x146)),'maxWatchListVariableSize':_0x331137[_0x484bc9(0x150)](_0x484bc9(0x156))},'agentLog':{'collectCooldownMs':_0x331137[_0x484bc9(0x150)](_0x484bc9(0x15b)),'agentLogTargetDir':_0x331137[_0x484bc9(0x13b)](_0x484bc9(0x151)),'agentLogLevel':_0x331137['getFirst'](_0x484bc9(0x153)),'agentLogMaxFileCount':_0x331137['getInt'](_0x484bc9(0x14d)),'agentLogMaxFileSizeMb':_0x331137[_0x484bc9(0x150)](_0x484bc9(0x15e)),'maxLogFileBytes':_0x331137['getInt']('max_log_file_bytes')},'quota':{'ignoreQuota':_0x331137[_0x484bc9(0x143)](_0x484bc9(0x14a)),'maxCPUCost':_0x331137[_0x484bc9(0x14e)](_0x484bc9(0x15f)),'maxConditionCost':_0x331137[_0x484bc9(0x14e)]('max_condition_cost'),'maxDynamicLogRate':_0x331137['getInt']('max_dynamic_log_rate'),'maxDynamicLogByteRate':_0x331137[_0x484bc9(0x150)]('max_dynamic_log_bytes_rate'),'quotaRecoverySeconds':_0x331137[_0x484bc9(0x150)](_0x484bc9(0x152))&&_0x331137[_0x484bc9(0x150)](_0x484bc9(0x152))/0x3e8},'fetchBreakpointsOnce':_0x331137[_0x484bc9(0x143)](_0x484bc9(0x138)),'extraPaths':(_0x160110=(_0x203af0=_0x331137[_0x484bc9(0x13b)]('extra_paths'))===null||_0x203af0===void 0x0?void 0x0:_0x203af0[_0x484bc9(0x157)](','))===null||_0x160110===void 0x0?void 0x0:_0x160110[_0x484bc9(0x14f)](_0x4668c6=>_0x4668c6['trim']()),'proxy':{'host':_0x331137[_0x484bc9(0x13b)](_0x484bc9(0x148)),'port':_0x331137['getInt']('proxy_port'),'username':_0x331137[_0x484bc9(0x13b)](_0x484bc9(0x160)),'password':_0x331137[_0x484bc9(0x13b)]('proxy_password')}};}return;};exports[a12_0xd788aa(0x137)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a13_0x1b5cda=a13_0x2cff;(function(_0x8b784b,_0x51b837){const _0x36c235=a13_0x2cff,_0x11c252=_0x8b784b();while(!![]){try{const _0x185d9a=parseInt(_0x36c235(0x187))/0x1+parseInt(_0x36c235(0x18e))/0x2+parseInt(_0x36c235(0x182))/0x3+-parseInt(_0x36c235(0x188))/0x4*(parseInt(_0x36c235(0x190))/0x5)+-parseInt(_0x36c235(0x189))/0x6*(parseInt(_0x36c235(0x18d))/0x7)+parseInt(_0x36c235(0x184))/0x8*(-parseInt(_0x36c235(0x185))/0x9)+-parseInt(_0x36c235(0x18a))/0xa*(parseInt(_0x36c235(0x191))/0xb);if(_0x185d9a===_0x51b837)break;else _0x11c252['push'](_0x11c252['shift']());}catch(_0x670b82){_0x11c252['push'](_0x11c252['shift']());}}}(a13_0x1077,0x87a73));function a13_0x2cff(_0x15fd47,_0x5e2b6a){const _0x181466=a13_0x1077();return a13_0x2cff=function(_0x10ac9f,_0x42e13e){_0x10ac9f=_0x10ac9f-0x17e;let _0x1077e5=_0x181466[_0x10ac9f];return _0x1077e5;},a13_0x2cff(_0x15fd47,_0x5e2b6a);}Object[a13_0x1b5cda(0x17f)](exports,'__esModule',{'value':!![]}),exports[a13_0x1b5cda(0x186)]=exports[a13_0x1b5cda(0x18f)]=void 0x0;var Platforms;(function(_0x5c1b74){const _0x5bcf51=a13_0x1b5cda,_0x3633f9=(function(){let _0x2bb838=!![];return function(_0x279b9e,_0x27ccd1){const _0x3eaf33=_0x2bb838?function(){const _0x31f5dd=a13_0x2cff;if(_0x27ccd1){const _0x44bb9d=_0x27ccd1[_0x31f5dd(0x183)](_0x279b9e,arguments);return _0x27ccd1=null,_0x44bb9d;}}:function(){};return _0x2bb838=![],_0x3eaf33;};}()),_0x1adf80=_0x3633f9(this,function(){const _0x53da28=a13_0x2cff;return _0x1adf80[_0x53da28(0x17e)]()[_0x53da28(0x18c)](_0x53da28(0x18b))['toString']()[_0x53da28(0x192)](_0x1adf80)[_0x53da28(0x18c)](_0x53da28(0x18b));});_0x1adf80(),_0x5c1b74['CLOUD_FUNCTION']='cloud_function',_0x5c1b74[_0x5bcf51(0x180)]='default';}(Platforms=exports[a13_0x1b5cda(0x18f)]||(exports[a13_0x1b5cda(0x18f)]={})));const getPlatform=()=>{const _0x49e88a=a13_0x1b5cda,{FUNCTION_NAME:_0xa47b0a,FUNCTION_TARGET:_0x3b7ce8}=process[_0x49e88a(0x181)];if(_0xa47b0a||_0x3b7ce8)return Platforms['CLOUD_FUNCTION'];return Platforms[_0x49e88a(0x180)];};exports[a13_0x1b5cda(0x186)]=getPlatform;function a13_0x1077(){const _0x4b5455=['1790874nvVrqp','Platforms','60155mPhCEF','416834JZNjXl','constructor','toString','defineProperty','DEFAULT','env','1601079fzfPMq','apply','64LmGMgn','448515ifVtir','getPlatform','235995dtPvpG','16aMHUlo','168fyNfNz','10xgFmiI','(((.+)+)+)+$','search','156198hKtaLv'];a13_0x1077=function(){return _0x4b5455;};return a13_0x1077();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a14_0x38f7(){const _0x1c4b66=['2zHhEVF','push','40VyGNhO','mapSubtract','542807rwhnag','toString','11061083CzoiuI','91IkNyLQ','3380540rwIUJZ','396177fEfooV','20gimdty','search','(((.+)+)+)+$','6389394KQUXec','768088hpgtiY','2263068MqKINx','constructor'];a14_0x38f7=function(){return _0x1c4b66;};return a14_0x38f7();}const a14_0x422f37=a14_0x5833;(function(_0x4cfe74,_0x1ec9d1){const _0x1afc0a=a14_0x5833,_0x414784=_0x4cfe74();while(!![]){try{const _0xfa7adb=parseInt(_0x1afc0a(0x144))/0x1*(parseInt(_0x1afc0a(0x140))/0x2)+-parseInt(_0x1afc0a(0x149))/0x3*(parseInt(_0x1afc0a(0x14a))/0x4)+-parseInt(_0x1afc0a(0x148))/0x5+-parseInt(_0x1afc0a(0x14d))/0x6+parseInt(_0x1afc0a(0x147))/0x7*(-parseInt(_0x1afc0a(0x13d))/0x8)+-parseInt(_0x1afc0a(0x13e))/0x9+-parseInt(_0x1afc0a(0x142))/0xa*(-parseInt(_0x1afc0a(0x146))/0xb);if(_0xfa7adb===_0x1ec9d1)break;else _0x414784['push'](_0x414784['shift']());}catch(_0xf62950){_0x414784['push'](_0x414784['shift']());}}}(a14_0x38f7,0xa223a));function a14_0x5833(_0x536442,_0x380da2){const _0x54b04a=a14_0x38f7();return a14_0x5833=function(_0x5bf95f,_0xf0b721){_0x5bf95f=_0x5bf95f-0x13d;let _0x38f773=_0x54b04a[_0x5bf95f];return _0x38f773;},a14_0x5833(_0x536442,_0x380da2);}const a14_0xf0b721=(function(){let _0x5c40d1=!![];return function(_0x325e30,_0x20073a){const _0x10b64d=_0x5c40d1?function(){if(_0x20073a){const _0x1b9460=_0x20073a['apply'](_0x325e30,arguments);return _0x20073a=null,_0x1b9460;}}:function(){};return _0x5c40d1=![],_0x10b64d;};}()),a14_0x5bf95f=a14_0xf0b721(this,function(){const _0x736ec3=a14_0x5833;return a14_0x5bf95f[_0x736ec3(0x145)]()[_0x736ec3(0x14b)]('(((.+)+)+)+$')[_0x736ec3(0x145)]()[_0x736ec3(0x13f)](a14_0x5bf95f)[_0x736ec3(0x14b)](_0x736ec3(0x14c));});a14_0x5bf95f();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a14_0x422f37(0x143)]=void 0x0;const mapSubtract=(_0x3ded48,_0x35360f)=>{const _0x24ee0b=a14_0x422f37,_0x1aeaff=[];for(const _0x3ee89b in _0x3ded48){!_0x35360f[_0x3ee89b]&&_0x1aeaff[_0x24ee0b(0x141)](_0x3ded48[_0x3ee89b]);}return _0x1aeaff;};exports[a14_0x422f37(0x143)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x2fc97f=a15_0x59ad;(function(_0xadeeb7,_0x5010ec){const _0x46bef7=a15_0x59ad,_0x506d93=_0xadeeb7();while(!![]){try{const _0xe4d05a=-parseInt(_0x46bef7(0x94))/0x1+parseInt(_0x46bef7(0xbd))/0x2*(parseInt(_0x46bef7(0xa1))/0x3)+parseInt(_0x46bef7(0xcd))/0x4+parseInt(_0x46bef7(0x93))/0x5+-parseInt(_0x46bef7(0xa0))/0x6*(parseInt(_0x46bef7(0xb6))/0x7)+-parseInt(_0x46bef7(0xac))/0x8*(-parseInt(_0x46bef7(0xd1))/0x9)+parseInt(_0x46bef7(0x97))/0xa*(-parseInt(_0x46bef7(0xb1))/0xb);if(_0xe4d05a===_0x5010ec)break;else _0x506d93['push'](_0x506d93['shift']());}catch(_0xaba9d2){_0x506d93['push'](_0x506d93['shift']());}}}(a15_0x3529,0x6af96));const a15_0x6081f7=(function(){let _0x486f4d=!![];return function(_0x34476e,_0x32d9c0){const _0x5d73dd=_0x486f4d?function(){const _0x674347=a15_0x59ad;if(_0x32d9c0){const _0x21930f=_0x32d9c0[_0x674347(0xb8)](_0x34476e,arguments);return _0x32d9c0=null,_0x21930f;}}:function(){};return _0x486f4d=![],_0x5d73dd;};}()),a15_0x12f1c5=a15_0x6081f7(this,function(){const _0x35747f=a15_0x59ad;return a15_0x12f1c5[_0x35747f(0xc5)]()[_0x35747f(0xa2)](_0x35747f(0xc0))[_0x35747f(0xc5)]()[_0x35747f(0x91)](a15_0x12f1c5)[_0x35747f(0xa2)]('(((.+)+)+)+$');});a15_0x12f1c5();'use strict';function a15_0x3529(){const _0x1df511=['NO_CHECK_CERTIFICATE','K_REVISION','split','getBooleanValue','serviceContext','2026960GuQQVX','AGENT_LOG_LEVEL','GAE_MODULE_NAME','./getAgentConfig','4021290fgUMhN','../util/utils','stdErrThreshold','GAE_DEPLOYMENT_ID','service','AGENT_LOG_MAX_FILE_SIZE_MB','constructor','GAE_MINOR_VERSION','4181195MrSHJA','624602cBuAfH','FUNCTION_NAME','LIGHTRUN_METADATA_FILE','10IRriHi','normalizeConfig','GAE_VERSION','FETCH_BREAKPOINTS_ONCE','agentLogMaxFileCount','K_SERVICE','agentLogLevel','agentLog','forEach','2090178SKlUuW','1122qJhKmF','search','path','LIGHTRUN_WAIT_FOR_INIT','LIGHTRUN_PROXY_USERNAME','LIGHTRUN_STD_ERR_THRESHOLD','agentLogMaxFileSizeMb','getAgentConfig','LIGHTRUN_TAGS','AGENT_LOG_MAX_FILE_COUNT','filter','8aGXWzb','LIGHTRUN_PROXY_PORT','defaultConfig','LIGHTRUN_SECRET','LIGHTRUN_AGENT_CONFIG','7228309qdiGFL','AGENT_LOG_TARGET_DIR','registration','validateConfig','agentLogTargetDir','14tJWgPZ','configSchema','apply','unversioned','defineProperty','GAE_MODULE_VERSION','agentConfigFile','3352JAJndG','LIGHTRUN_API_ENDPOINT','env','(((.+)+)+)+$','validateSync','metadata','extend','../config','toString','message','__esModule'];a15_0x3529=function(){return _0x1df511;};return a15_0x3529();}Object[a15_0x2fc97f(0xba)](exports,a15_0x2fc97f(0xc7),{'value':!![]}),exports['normalizeConfig']=exports[a15_0x2fc97f(0xb4)]=void 0x0;const extend=require(a15_0x2fc97f(0xc3)),config_1=require(a15_0x2fc97f(0xc4)),utils_1=require(a15_0x2fc97f(0xd2)),getAgentConfig_1=require(a15_0x2fc97f(0xd0)),validateConfig=_0x1e139f=>{const _0x59fa2f=a15_0x2fc97f,_0x45115b={};try{config_1[_0x59fa2f(0xb7)][_0x59fa2f(0xc1)](_0x1e139f,{'abortEarly':![]});}catch(_0x3dfd58){_0x3dfd58['inner'][_0x59fa2f(0xab)](_0x1a78fc=>_0x1a78fc[_0x59fa2f(0xa3)]&&_0x1a78fc[_0x59fa2f(0xc6)])[_0x59fa2f(0x9f)](_0x179310=>{const _0x4325f6=_0x59fa2f;_0x45115b[_0x179310[_0x4325f6(0xa3)]]=_0x179310[_0x4325f6(0xc6)];});}return _0x45115b;};exports[a15_0x2fc97f(0xb4)]=validateConfig;const normalizeConfig=_0x2f9e07=>{const _0x13975b=a15_0x2fc97f,_0x51c92a={'serviceContext':{'service':process[_0x13975b(0xbf)]['GAE_SERVICE']||process[_0x13975b(0xbf)][_0x13975b(0xcf)]||process[_0x13975b(0xbf)][_0x13975b(0x9c)],'version':process[_0x13975b(0xbf)][_0x13975b(0x99)]||process['env'][_0x13975b(0xbb)]||process[_0x13975b(0xbf)][_0x13975b(0xc9)],'minorVersion_':process[_0x13975b(0xbf)][_0x13975b(0xd4)]||process['env'][_0x13975b(0x92)]},'metadata':{'filename':process[_0x13975b(0xbf)][_0x13975b(0x96)],'registration':{}},'lightrunSecret':process['env'][_0x13975b(0xaf)],'apiEndpoint':process[_0x13975b(0xbf)][_0x13975b(0xbe)],'noCheckCertificate':(0x0,utils_1[_0x13975b(0xcb)])(process[_0x13975b(0xbf)][_0x13975b(0xc8)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x13975b(0xcb)])(process[_0x13975b(0xbf)][_0x13975b(0x9a)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x13975b(0xbf)][_0x13975b(0xa4)]),'lightrunInitWaitTimeMs':process[_0x13975b(0xbf)]['LIGHTRUN_INIT_WAIT_TIME_MS'],'agentLog':(_0x2f9e07===null||_0x2f9e07===void 0x0?void 0x0:_0x2f9e07[_0x13975b(0x9e)])||{},'proxy':{'host':process[_0x13975b(0xbf)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process['env'][_0x13975b(0xad)]||'')||undefined,'username':process[_0x13975b(0xbf)][_0x13975b(0xa5)],'password':process[_0x13975b(0xbf)]['LIGHTRUN_PROXY_PASSWORD']}};process['env'][_0x13975b(0xa6)]!==undefined&&(_0x51c92a[_0x13975b(0x9e)][_0x13975b(0xd3)]=process[_0x13975b(0xbf)][_0x13975b(0xa6)]);process['env'][_0x13975b(0xce)]!==undefined&&(_0x51c92a[_0x13975b(0x9e)][_0x13975b(0x9d)]=process[_0x13975b(0xbf)][_0x13975b(0xce)]);process[_0x13975b(0xbf)][_0x13975b(0xb2)]!==undefined&&(_0x51c92a[_0x13975b(0x9e)][_0x13975b(0xb5)]=process[_0x13975b(0xbf)][_0x13975b(0xb2)]);process['env'][_0x13975b(0xaa)]!==undefined&&(_0x51c92a[_0x13975b(0x9e)][_0x13975b(0x9b)]=parseInt(process[_0x13975b(0xbf)]['AGENT_LOG_MAX_FILE_COUNT']));process[_0x13975b(0xbf)]['AGENT_LOG_MAX_FILE_SIZE_MB']!==undefined&&(_0x51c92a['agentLog'][_0x13975b(0xa7)]=parseInt(process['env'][_0x13975b(0xd6)]));process[_0x13975b(0xbf)][_0x13975b(0x95)]&&(_0x51c92a['serviceContext'][_0x13975b(0xd5)]=process[_0x13975b(0xbf)]['FUNCTION_NAME'],_0x51c92a[_0x13975b(0xcc)]['version']=_0x13975b(0xb9));process['env']['LIGHTRUN_TAGS']&&(_0x51c92a[_0x13975b(0xc2)][_0x13975b(0xb3)]={'tags':process[_0x13975b(0xbf)][_0x13975b(0xa9)][_0x13975b(0xca)](',')});const _0x4e2416=(0x0,getAgentConfig_1[_0x13975b(0xa8)])(process[_0x13975b(0xbf)][_0x13975b(0xb0)]||(_0x2f9e07===null||_0x2f9e07===void 0x0?void 0x0:_0x2f9e07[_0x13975b(0xbc)])||config_1[_0x13975b(0xae)][_0x13975b(0xbc)]),_0xafb51b=extend(!![],{},config_1[_0x13975b(0xae)],_0x4e2416,_0x2f9e07,_0x51c92a),_0x372564=(0x0,exports[_0x13975b(0xb4)])(_0xafb51b);return{..._0xafb51b,'errors':_0x372564};};function a15_0x59ad(_0x1b7a68,_0x445db1){const _0x4e45dd=a15_0x3529();return a15_0x59ad=function(_0x12f1c5,_0x6081f7){_0x12f1c5=_0x12f1c5-0x91;let _0x3529ee=_0x4e45dd[_0x12f1c5];return _0x3529ee;},a15_0x59ad(_0x1b7a68,_0x445db1);}exports[a15_0x2fc97f(0x98)]=normalizeConfig;
|