lightrun 1.58.1 → 1.59.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/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x2bfd07=a0_0xd3fa;(function(_0x353e54,_0x3f1ea7){const _0x541d42=a0_0xd3fa,_0x30ca6b=_0x353e54();while(!![]){try{const _0xe5ad7b=-parseInt(_0x541d42(0xe4))/0x1+parseInt(_0x541d42(0x106))/0x2+parseInt(_0x541d42(0xe8))/0x3+parseInt(_0x541d42(0x102))/0x4*(parseInt(_0x541d42(0xf4))/0x5)+-parseInt(_0x541d42(0xfa))/0x6*(parseInt(_0x541d42(0x107))/0x7)+parseInt(_0x541d42(0xe9))/0x8*(-parseInt(_0x541d42(0x109))/0x9)+parseInt(_0x541d42(0x103))/0xa*(-parseInt(_0x541d42(0xef))/0xb);if(_0xe5ad7b===_0x3f1ea7)break;else _0x30ca6b['push'](_0x30ca6b['shift']());}catch(_0x205dee){_0x30ca6b['push'](_0x30ca6b['shift']());}}}(a0_0x3def,0x50a7b));const a0_0x2d2f62=(function(){let _0x39bce3=!![];return function(_0x2cccf1,_0x2495c4){const _0x146d6b=_0x39bce3?function(){const _0x2f6f9f=a0_0xd3fa;if(_0x2495c4){const _0x12bb1a=_0x2495c4[_0x2f6f9f(0xea)](_0x2cccf1,arguments);return _0x2495c4=null,_0x12bb1a;}}:function(){};return _0x39bce3=![],_0x146d6b;};}()),a0_0x2f031f=a0_0x2d2f62(this,function(){const _0x5ab1a7=a0_0xd3fa;return a0_0x2f031f[_0x5ab1a7(0xfc)]()['search'](_0x5ab1a7(0xe1))[_0x5ab1a7(0xfc)]()[_0x5ab1a7(0x10c)](a0_0x2f031f)[_0x5ab1a7(0xe7)](_0x5ab1a7(0xe1));});a0_0x2f031f();'use strict';Object[a0_0x2bfd07(0xfe)](exports,a0_0x2bfd07(0x10b),{'value':!![]});const winston_1=require(a0_0x2bfd07(0xe6)),DailyRotateFile=require(a0_0x2bfd07(0x105)),process_1=require(a0_0x2bfd07(0xf6)),{combine,printf,timestamp}=winston_1[a0_0x2bfd07(0xff)],{Console}=winston_1[a0_0x2bfd07(0xe5)],now=new Date();function a0_0xd3fa(_0x322a61,_0x445f43){const _0x5a1fa4=a0_0x3def();return a0_0xd3fa=function(_0x2f031f,_0x2d2f62){_0x2f031f=_0x2f031f-0xe1;let _0x3def75=_0x5a1fa4[_0x2f031f];return _0x3def75;},a0_0xd3fa(_0x322a61,_0x445f43);}function a0_0x3def(){const _0x2c8e74=['1535jllcuH','debug','process','createLogger','getSeconds','default','66TbbbQI','level','toString','error','defineProperty','format','info','getFullYear','3860Eyydex','916250FbaouV','getHours','winston-daily-rotate-file','1133340DBqYcv','107723WYzbgQ','warn','525843dwVjlU','pid','__esModule','constructor','(((.+)+)+)+$','getMonth','toUpperCase','110325nUbBdS','transports','winston','search','392406dMsJzB','40wJpmGJ','apply','getInitialLevel','padStart','.%DATE%','logger','11JGeLGC','json','AGENT_LOG_FILE',']\x20-\x20','getDate'];a0_0x3def=function(){return _0x2c8e74;};return a0_0x3def();}function getLoggerTransport(_0x4261cd,_0x481c20,_0x3e784d){const _0xa011e5=a0_0x2bfd07;if(_0x4261cd)return new DailyRotateFile({'dirname':_0x4261cd,'filename':AgentLogger[_0xa011e5(0xf1)],'datePattern':now[_0xa011e5(0x101)]()[_0xa011e5(0xfc)]()+now[_0xa011e5(0xe2)]()[_0xa011e5(0xfc)]()[_0xa011e5(0xec)](0x2,'0')+now[_0xa011e5(0xf3)]()['toString']()[_0xa011e5(0xec)](0x2,'0')+'-'+now[_0xa011e5(0x104)]()[_0xa011e5(0xfc)]()[_0xa011e5(0xec)](0x2,'0')+now['getMinutes']()[_0xa011e5(0xfc)]()[_0xa011e5(0xec)](0x2,'0')+now[_0xa011e5(0xf8)]()[_0xa011e5(0xfc)]()['padStart'](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0xa011e5(0xf1)],'maxSize':_0x481c20+'m','maxFiles':_0x3e784d,'extension':'.log'});return new Console();}class AgentLogger{constructor(_0x148d6d,_0x281a31,_0x280e0b,_0xc6a9a1,_0x29d319){const _0x4ea0e0=a0_0x2bfd07;this['initialLogLevel']=_0xc6a9a1,this['logger']=(0x0,winston_1[_0x4ea0e0(0xf7)])({'level':_0xc6a9a1,'transports':[getLoggerTransport(_0x148d6d,_0x281a31,_0x280e0b),new Console({'level':_0x29d319,'stderrLevels':[_0x4ea0e0(0xf5),'info',_0x4ea0e0(0x108),'error']})],'format':combine(timestamp(),printf(({level:_0x26ec8a,message:_0x124291,timestamp:_0x455f7f})=>{const _0x314547=_0x4ea0e0;return _0x455f7f+'\x20['+_0x26ec8a[_0x314547(0xe3)]()+_0x314547(0xf2)+_0x124291;}),winston_1[_0x4ea0e0(0xff)][_0x4ea0e0(0xf0)]())});}static[a0_0x2bfd07(0xf7)](_0x429642,_0xc1241c,_0x792e6f,_0x226ec3,_0x1456cb){return new AgentLogger(_0x429642,_0xc1241c,_0x792e6f,_0x226ec3,_0x1456cb);}[a0_0x2bfd07(0xf5)](..._0x2302de){const _0x350199=a0_0x2bfd07;this['logger'][_0x350199(0xf5)](_0x2302de);}['info'](..._0x225ec7){const _0x33e3c2=a0_0x2bfd07;this['logger'][_0x33e3c2(0x100)](_0x225ec7);}[a0_0x2bfd07(0x108)](..._0x312931){const _0x371d0b=a0_0x2bfd07;this[_0x371d0b(0xee)]['warn'](_0x312931);}['error'](..._0x2d7ee5){const _0x3bbe02=a0_0x2bfd07;this[_0x3bbe02(0xee)][_0x3bbe02(0xfd)](_0x2d7ee5);}['getLevel'](){const _0x1d43a0=a0_0x2bfd07;return this['logger'][_0x1d43a0(0xfb)];}['setLevel'](_0x3ce5ab){const _0x38783c=a0_0x2bfd07;this[_0x38783c(0xee)][_0x38783c(0xfb)]=_0x3ce5ab;}[a0_0x2bfd07(0xeb)](){return this['initialLogLevel'];}}AgentLogger[a0_0x2bfd07(0xf1)]='lightrun_nodejs_agent.'+process_1[a0_0x2bfd07(0x10a)]+a0_0x2bfd07(0xed),exports[a0_0x2bfd07(0xf9)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x1b690e=a1_0x2774;(function(_0x4f1f34,_0x4c39f6){const _0x371f1f=a1_0x2774,_0x3912fc=_0x4f1f34();while(!![]){try{const _0x1907aa=parseInt(_0x371f1f(0x11d))/0x1*(-parseInt(_0x371f1f(0x122))/0x2)+-parseInt(_0x371f1f(0x117))/0x3+parseInt(_0x371f1f(0x11c))/0x4*(parseInt(_0x371f1f(0x11f))/0x5)+parseInt(_0x371f1f(0x12b))/0x6+parseInt(_0x371f1f(0x116))/0x7+parseInt(_0x371f1f(0x119))/0x8+-parseInt(_0x371f1f(0x11e))/0x9*(-parseInt(_0x371f1f(0x129))/0xa);if(_0x1907aa===_0x4c39f6)break;else _0x3912fc['push'](_0x3912fc['shift']());}catch(_0x2ab093){_0x3912fc['push'](_0x3912fc['shift']());}}}(a1_0x1059,0x587c8));const a1_0xdb2f51=(function(){let _0x16c60b=!![];return function(_0x2cde35,_0x575ceb){const _0x3dc931=_0x16c60b?function(){const _0x4e008f=a1_0x2774;if(_0x575ceb){const _0x544186=_0x575ceb[_0x4e008f(0x11b)](_0x2cde35,arguments);return _0x575ceb=null,_0x544186;}}:function(){};return _0x16c60b=![],_0x3dc931;};}()),a1_0x1a1c8c=a1_0xdb2f51(this,function(){const _0x4d559e=a1_0x2774;return a1_0x1a1c8c[_0x4d559e(0x126)]()['search']('(((.+)+)+)+$')[_0x4d559e(0x126)]()['constructor'](a1_0x1a1c8c)['search'](_0x4d559e(0x128));});a1_0x1a1c8c();function a1_0x2774(_0x155a8d,_0x196d25){const _0xd7f255=a1_0x1059();return a1_0x2774=function(_0x1a1c8c,_0xdb2f51){_0x1a1c8c=_0x1a1c8c-0x116;let _0x105958=_0xd7f255[_0x1a1c8c];return _0x105958;},a1_0x2774(_0x155a8d,_0x196d25);}'use strict';Object['defineProperty'](exports,a1_0x1b690e(0x124),{'value':!![]}),exports[a1_0x1b690e(0x123)]=void 0x0;class BlocklistingPatterns{constructor(_0x4c9d57){const _0x2e0593=a1_0x1b690e;this['inversePatterns']=[],this[_0x2e0593(0x127)]=[],_0x4c9d57&&_0x4c9d57[_0x2e0593(0x120)](_0x4d0c91=>{const _0x456aef=_0x2e0593;_0x4d0c91&&(_0x4d0c91[0x0]==='!'?this[_0x456aef(0x12a)][_0x456aef(0x121)](new RegExp(_0x4d0c91['substring'](0x1))):this[_0x456aef(0x127)]['push'](new RegExp(_0x4d0c91)));});}[a1_0x1b690e(0x125)](_0x110e66){const _0x539cc3=a1_0x1b690e,_0x3ee4bd=_0x105a96=>_0x110e66[_0x539cc3(0x11a)](_0x105a96);return this[_0x539cc3(0x12a)]['length']!==0x0&&!this[_0x539cc3(0x12a)][_0x539cc3(0x118)](_0x3ee4bd)||this[_0x539cc3(0x127)][_0x539cc3(0x118)](_0x3ee4bd);}}function a1_0x1059(){const _0x565702=['95896MNxbNk','209ZORcxv','99YuUTHp','20IzEshZ','forEach','push','1942BhSxjR','BlocklistingPatterns','__esModule','matches','toString','patterns','(((.+)+)+)+$','631160rjRhjx','inversePatterns','1326072KXoEeI','572320lqZwpb','1630590nGFLsx','some','127720gsCRPn','match','apply'];a1_0x1059=function(){return _0x565702;};return a1_0x1059();}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a2_0x5c8b(_0x254b6e,_0x3e44f6){var _0x529238=a2_0x1dca();return a2_0x5c8b=function(_0x1866b7,_0x5a9384){_0x1866b7=_0x1866b7-0x1cb;var _0x1dca88=_0x529238[_0x1866b7];return _0x1dca88;},a2_0x5c8b(_0x254b6e,_0x3e44f6);}var a2_0x5d89bf=a2_0x5c8b;(function(_0x352a8a,_0x361141){var _0x23980b=a2_0x5c8b,_0x2c1eb8=_0x352a8a();while(!![]){try{var _0x54c657=-parseInt(_0x23980b(0x1d2))/0x1+-parseInt(_0x23980b(0x1cb))/0x2+-parseInt(_0x23980b(0x1db))/0x3+parseInt(_0x23980b(0x1d9))/0x4*(parseInt(_0x23980b(0x1d5))/0x5)+-parseInt(_0x23980b(0x1d6))/0x6+parseInt(_0x23980b(0x1cf))/0x7*(parseInt(_0x23980b(0x1d3))/0x8)+-parseInt(_0x23980b(0x1da))/0x9*(-parseInt(_0x23980b(0x1d7))/0xa);if(_0x54c657===_0x361141)break;else _0x2c1eb8['push'](_0x2c1eb8['shift']());}catch(_0x1cbe79){_0x2c1eb8['push'](_0x2c1eb8['shift']());}}}(a2_0x1dca,0xcc6f4));function a2_0x1dca(){var _0x4beeac=['value','__esModule','search','14gtamhX','apply','constructor','1337945SLBAeg','4755568OujTqB','DummyBlocklistManager','2825ltRtNM','2739432myuOra','5075060KeukNm','(((.+)+)+)+$','5384DcaNHb','36wuSIHI','1545609VDtmvi','1664644YfDVqK'];a2_0x1dca=function(){return _0x4beeac;};return a2_0x1dca();}var a2_0x5a9384=(function(){var _0x2388dc=!![];return function(_0x6ecbc8,_0x33406d){var _0x238661=_0x2388dc?function(){var _0x59f2fc=a2_0x5c8b;if(_0x33406d){var _0x113726=_0x33406d[_0x59f2fc(0x1d0)](_0x6ecbc8,arguments);return _0x33406d=null,_0x113726;}}:function(){};return _0x2388dc=![],_0x238661;};}()),a2_0x1866b7=a2_0x5a9384(this,function(){var _0x1955cc=a2_0x5c8b;return a2_0x1866b7['toString']()[_0x1955cc(0x1ce)](_0x1955cc(0x1d8))['toString']()[_0x1955cc(0x1d1)](a2_0x1866b7)[_0x1955cc(0x1ce)](_0x1955cc(0x1d8));});a2_0x1866b7();'use strict';Object['defineProperty'](exports,a2_0x5d89bf(0x1cd),{'value':!![]}),exports[a2_0x5d89bf(0x1d4)]=void 0x0;class DummyBlocklistManager{constructor(_0x51a708){var _0x9cae5d=a2_0x5d89bf;this[_0x9cae5d(0x1cc)]=_0x51a708;}['shouldBlock'](){var _0x48724e=a2_0x5d89bf;return this[_0x48724e(0x1cc)];}}exports[a2_0x5d89bf(0x1d4)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a3_0x4250(_0x11b9d8,_0x19bbbe){const _0x2ab0a0=a3_0x2730();return a3_0x4250=function(_0x5e42b5,_0x25f13b){_0x5e42b5=_0x5e42b5-0x1dd;let _0x273026=_0x2ab0a0[_0x5e42b5];return _0x273026;},a3_0x4250(_0x11b9d8,_0x19bbbe);}const a3_0x3f102b=a3_0x4250;(function(_0x16c179,_0x5f6c19){const _0x23a236=a3_0x4250,_0xf497d7=_0x16c179();while(!![]){try{const _0x234b66=-parseInt(_0x23a236(0x1ee))/0x1+-parseInt(_0x23a236(0x1ec))/0x2*(parseInt(_0x23a236(0x1e3))/0x3)+parseInt(_0x23a236(0x1e7))/0x4*(parseInt(_0x23a236(0x1e2))/0x5)+-parseInt(_0x23a236(0x1f5))/0x6+parseInt(_0x23a236(0x1e9))/0x7*(parseInt(_0x23a236(0x1ed))/0x8)+-parseInt(_0x23a236(0x1f0))/0x9+parseInt(_0x23a236(0x1e8))/0xa*(parseInt(_0x23a236(0x1e0))/0xb);if(_0x234b66===_0x5f6c19)break;else _0xf497d7['push'](_0xf497d7['shift']());}catch(_0x36fc0e){_0xf497d7['push'](_0xf497d7['shift']());}}}(a3_0x2730,0xe140f));function a3_0x2730(){const _0x2d6ae2=['636968xlaonm','blocklistExceptions','2282067HscGlv','PatternsBlocklistManager','isPathInCurrentWorkingDirectory','matches','constructor','2862912zGhYnS','blocklist','apply','config','3982242MahZZc','stripCurrentWorkingDirectory','29245ZxtYIX','3fVyaGU','../util/utils','__esModule','toString','112iWyrTO','30GvZXQq','27321dGqMuw','search','BlocklistingPatterns','1111686ZwUkIu','3272tFlZiG'];a3_0x2730=function(){return _0x2d6ae2;};return a3_0x2730();}const a3_0x25f13b=(function(){let _0xe1318d=!![];return function(_0x51bcf1,_0x180115){const _0x13a664=_0xe1318d?function(){const _0x4be67e=a3_0x4250;if(_0x180115){const _0x1c96d6=_0x180115[_0x4be67e(0x1de)](_0x51bcf1,arguments);return _0x180115=null,_0x1c96d6;}}:function(){};return _0xe1318d=![],_0x13a664;};}()),a3_0x5e42b5=a3_0x25f13b(this,function(){const _0x5a5d80=a3_0x4250;return a3_0x5e42b5[_0x5a5d80(0x1e6)]()['search']('(((.+)+)+)+$')[_0x5a5d80(0x1e6)]()[_0x5a5d80(0x1f4)](a3_0x5e42b5)[_0x5a5d80(0x1ea)]('(((.+)+)+)+$');});a3_0x5e42b5();'use strict';Object['defineProperty'](exports,a3_0x3f102b(0x1e5),{'value':!![]}),exports[a3_0x3f102b(0x1f1)]=void 0x0;const blocklisting_patterns_1=require('./blocklisting-patterns'),utils=require(a3_0x3f102b(0x1e4));class PatternsBlocklistManager{constructor(_0x1e2987,_0xa69a65,_0x270d8b){const _0x2bfa40=a3_0x3f102b;this[_0x2bfa40(0x1dd)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x1e2987),this[_0x2bfa40(0x1ef)]=new blocklisting_patterns_1[(_0x2bfa40(0x1eb))](_0xa69a65),this[_0x2bfa40(0x1df)]=_0x270d8b;}['shouldBlock'](_0x227abe){const _0x2b7f0e=a3_0x3f102b;_0x227abe=this['stripWorkingDir'](_0x227abe);if(this[_0x2b7f0e(0x1ef)][_0x2b7f0e(0x1f3)](_0x227abe))return![];return this[_0x2b7f0e(0x1dd)][_0x2b7f0e(0x1f3)](_0x227abe);}['stripWorkingDir'](_0x12c76d){const _0x2a4efc=a3_0x3f102b;if(utils[_0x2a4efc(0x1f2)](_0x12c76d,this[_0x2a4efc(0x1df)]))return utils[_0x2a4efc(0x1e1)](_0x12c76d,this[_0x2a4efc(0x1df)]);return _0x12c76d;}}exports[a3_0x3f102b(0x1f1)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x49dac3=a4_0x4518;(function(_0x267bbc,_0x3b6b01){const _0x550afa=a4_0x4518,_0xa01e64=_0x267bbc();while(!![]){try{const _0x137edc=-parseInt(_0x550afa(0x150))/0x1*(-parseInt(_0x550afa(0x139))/0x2)+parseInt(_0x550afa(0x137))/0x3+parseInt(_0x550afa(0x15a))/0x4*(parseInt(_0x550afa(0x14b))/0x5)+parseInt(_0x550afa(0x166))/0x6*(-parseInt(_0x550afa(0x167))/0x7)+parseInt(_0x550afa(0x15b))/0x8*(parseInt(_0x550afa(0x154))/0x9)+parseInt(_0x550afa(0x161))/0xa*(-parseInt(_0x550afa(0x140))/0xb)+parseInt(_0x550afa(0x168))/0xc;if(_0x137edc===_0x3b6b01)break;else _0xa01e64['push'](_0xa01e64['shift']());}catch(_0x2ef584){_0xa01e64['push'](_0xa01e64['shift']());}}}(a4_0x13da,0x713a4));const a4_0x4baf25=(function(){let _0x2600a5=!![];return function(_0x46d4c6,_0xfdc3d){const _0x1e0d80=_0x2600a5?function(){const _0x49e17a=a4_0x4518;if(_0xfdc3d){const _0x3315ed=_0xfdc3d[_0x49e17a(0x143)](_0x46d4c6,arguments);return _0xfdc3d=null,_0x3315ed;}}:function(){};return _0x2600a5=![],_0x1e0d80;};}()),a4_0xc7505a=a4_0x4baf25(this,function(){const _0x5df2fa=a4_0x4518;return a4_0xc7505a['toString']()[_0x5df2fa(0x14c)](_0x5df2fa(0x14e))['toString']()[_0x5df2fa(0x15e)](a4_0xc7505a)[_0x5df2fa(0x14c)]('(((.+)+)+)+$');});a4_0xc7505a();'use strict';Object[a4_0x49dac3(0x148)](exports,a4_0x49dac3(0x13d),{'value':!![]}),exports[a4_0x49dac3(0x146)]=exports[a4_0x49dac3(0x13f)]=exports[a4_0x49dac3(0x156)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x49dac3(0x163));function a4_0x13da(){const _0x37300b=['__esModule','set','defaultConfig','460680sOLkjW','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','agentConfigFile','apply','boolean','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','logMainConfigParams','info','defineProperty','errors','number','5bMKVJD','search','warn','(((.+)+)+)+$','oneOf','142388gnqbaH','lightrunSecret','length','warnings','18837itKlIA','not\x20set!','configSchema','DOESN\x27T\x20EXIST','shape','debug','3001876jgoGGa','856aAvgIH','array','none','constructor','!!!\x20NOT\x20SET\x20!!!','string','120yvqYql','forEach','yup','error','cwd','6ixxDeN','3366076yWSLgn','2786520mFPvNb','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','agent.config','294570pwbJct','exists','2fArdeE','.js','object','tmpdir'];a4_0x13da=function(){return _0x37300b;};return a4_0x13da();}exports['configSchema']=(0x0,yup_1[a4_0x49dac3(0x13b)])()[a4_0x49dac3(0x158)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'breakpointExpirationSec':(0x0,yup_1['number'])(),'expressionsEvalTimeoutMillis':(0x0,yup_1['number'])(),'capture':(0x0,yup_1[a4_0x49dac3(0x13b)])()['shape']({'includeNodeModules':(0x0,yup_1[a4_0x49dac3(0x144)])(),'maxFrames':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'maxExpandFrames':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'maxProperties':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'maxVariableDepth':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'maxWatchProperties':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'maxDataSize':(0x0,yup_1['number'])(),'maxStringLength':(0x0,yup_1['number'])(),'maxVariableSize':(0x0,yup_1['number'])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x49dac3(0x14a)])()}),'internal':(0x0,yup_1['object'])()['shape']({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x49dac3(0x144)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x49dac3(0x144)])(),'testMode_':(0x0,yup_1[a4_0x49dac3(0x144)])(),'apiEndpoint':(0x0,yup_1['string'])(),'lightrunSecret':(0x0,yup_1[a4_0x49dac3(0x160)])(),'agentLog':(0x0,yup_1[a4_0x49dac3(0x13b)])()[a4_0x49dac3(0x158)]({'agentLogTargetDir':(0x0,yup_1[a4_0x49dac3(0x160)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'agentLogMaxFileCount':(0x0,yup_1['number'])(),'agentLogLevel':(0x0,yup_1[a4_0x49dac3(0x160)])()['oneOf']([a4_0x49dac3(0x159),'info','warn',a4_0x49dac3(0x164)]),'stdErrThreshold':(0x0,yup_1[a4_0x49dac3(0x160)])()[a4_0x49dac3(0x14f)](['debug',a4_0x49dac3(0x147),a4_0x49dac3(0x14d),a4_0x49dac3(0x164),a4_0x49dac3(0x15d)]),'collectCooldownMs':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'maxLogFileBytes':(0x0,yup_1['number'])()}),'pinnedCerts':(0x0,yup_1[a4_0x49dac3(0x15c)])()['of']((0x0,yup_1['string'])()),'noCheckCertificate':(0x0,yup_1[a4_0x49dac3(0x144)])(),'caPath':(0x0,yup_1[a4_0x49dac3(0x160)])(),'transmissionBulkMaxSize':(0x0,yup_1['number'])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1['number'])(),'quota':(0x0,yup_1[a4_0x49dac3(0x13b)])()['shape']({'maxConditionCost':(0x0,yup_1['number'])(),'maxCPUCost':(0x0,yup_1['number'])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'ignoreQuota':(0x0,yup_1['boolean'])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x49dac3(0x14a)])()}),'agentConfigFile':(0x0,yup_1[a4_0x49dac3(0x160)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x49dac3(0x144)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x49dac3(0x144)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'extraPaths':(0x0,yup_1[a4_0x49dac3(0x15c)])()['of']((0x0,yup_1['string'])()),'redactionEnabled':(0x0,yup_1['boolean'])(),'proxy':(0x0,yup_1['object'])()[a4_0x49dac3(0x158)]({'host':(0x0,yup_1[a4_0x49dac3(0x160)])(),'port':(0x0,yup_1[a4_0x49dac3(0x14a)])(),'username':(0x0,yup_1[a4_0x49dac3(0x160)])(),'password':(0x0,yup_1[a4_0x49dac3(0x160)])()})}),exports[a4_0x49dac3(0x13f)]={'workingDirectory':process[a4_0x49dac3(0x165)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x49dac3(0x13a)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xbb800,'maxWatchListVariableSize':0x80000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![]},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':'app.lightrun.com','lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x49dac3(0x13c)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x49dac3(0x147),'stdErrThreshold':a4_0x49dac3(0x15d),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x49dac3(0x141),a4_0x49dac3(0x145)],'noCheckCertificate':![],'caPath':a4_0x49dac3(0x135),'metadata':{'registration':{'tags':['Production']}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x49dac3(0x136),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x4ce60f,_0xf92c9f)=>{const _0x5dabba=a4_0x49dac3,_0xab0318=Object['values'](_0x4ce60f?.[_0x5dabba(0x149)]??[]);_0xab0318[_0x5dabba(0x152)]&&_0xab0318[_0x5dabba(0x162)](_0x5680a1=>{const _0x39eea5=_0x5dabba;_0xf92c9f[_0x39eea5(0x164)](_0x5680a1);});},logConfigWarnings=(_0x4acb4f,_0xc880b9)=>{const _0x1c8d63=a4_0x49dac3;_0x4acb4f[_0x1c8d63(0x153)]?.['forEach'](_0x26a2b3=>{const _0x42b996=_0x1c8d63;_0xc880b9[_0x42b996(0x14d)](_0x26a2b3);});};function logMainConfigParams(_0x5a48fa,_0x3eb9e9){const _0x55cbe0=a4_0x49dac3;let _0x39f6a9=_0x5a48fa[_0x55cbe0(0x142)];_0x39f6a9?_0x39f6a9+=',\x20\x20\x20the\x20file\x20'+((0x0,fs_1['existsSync'])(_0x5a48fa[_0x55cbe0(0x142)])?_0x55cbe0(0x138):_0x55cbe0(0x157)):_0x39f6a9=_0x55cbe0(0x155);const _0x3db3da={..._0x5a48fa,'lightrunSecret':_0x5a48fa[_0x55cbe0(0x151)]?_0x55cbe0(0x13e):_0x55cbe0(0x15f),'agentConfigFile':_0x39f6a9};_0x3eb9e9['debug']('Agent\x20Configuration:\x20',_0x3db3da),logConfigWarnings(_0x5a48fa,_0x3eb9e9),logConfigErrors(_0x5a48fa,_0x3eb9e9);}function a4_0x4518(_0x199a26,_0x4d2937){const _0x2649de=a4_0x13da();return a4_0x4518=function(_0xc7505a,_0x4baf25){_0xc7505a=_0xc7505a-0x135;let _0x13da73=_0x2649de[_0xc7505a];return _0x13da73;},a4_0x4518(_0x199a26,_0x4d2937);}exports[a4_0x49dac3(0x146)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x3ce152=a5_0x1b9b;function a5_0x1b9b(_0x67ec44,_0x4b851f){var _0x3bf59f=a5_0x25f0();return a5_0x1b9b=function(_0x497aef,_0xf56896){_0x497aef=_0x497aef-0x1b0;var _0x25f0c4=_0x3bf59f[_0x497aef];return _0x25f0c4;},a5_0x1b9b(_0x67ec44,_0x4b851f);}(function(_0x18b14a,_0x33c66e){var _0x26c076=a5_0x1b9b,_0xe08392=_0x18b14a();while(!![]){try{var _0x5d2a87=parseInt(_0x26c076(0x1bb))/0x1+parseInt(_0x26c076(0x1b9))/0x2+parseInt(_0x26c076(0x1c0))/0x3*(parseInt(_0x26c076(0x1b1))/0x4)+parseInt(_0x26c076(0x1bd))/0x5*(parseInt(_0x26c076(0x1c1))/0x6)+parseInt(_0x26c076(0x1b7))/0x7+-parseInt(_0x26c076(0x1bf))/0x8+-parseInt(_0x26c076(0x1b8))/0x9;if(_0x5d2a87===_0x33c66e)break;else _0xe08392['push'](_0xe08392['shift']());}catch(_0x41e13b){_0xe08392['push'](_0xe08392['shift']());}}}(a5_0x25f0,0x877ce));var a5_0xf56896=(function(){var _0x24ff2a=!![];return function(_0x336c7d,_0x5ac0fb){var _0x5cb5c6=_0x24ff2a?function(){if(_0x5ac0fb){var _0x130a29=_0x5ac0fb['apply'](_0x336c7d,arguments);return _0x5ac0fb=null,_0x130a29;}}:function(){};return _0x24ff2a=![],_0x5cb5c6;};}()),a5_0x497aef=a5_0xf56896(this,function(){var _0x52b2ac=a5_0x1b9b;return a5_0x497aef['toString']()['search'](_0x52b2ac(0x1b2))[_0x52b2ac(0x1b6)]()[_0x52b2ac(0x1bc)](a5_0x497aef)['search'](_0x52b2ac(0x1b2));});function a5_0x25f0(){var _0x35300c=['15614550bEINyK','1047914TTGvGb','maxProperties','510944NBeMwd','constructor','85JFPFCs','getMaxWatchListVariableSize','7733496GbGjhX','42mjgkIi','106494YyrDlO','__esModule','maxStringLength','capture','getMaxSnapshotBufferSize','resolvedDebugAgentConfig','239524EGFjKC','(((.+)+)+)+$','getMaxProperties','defineProperty','ConfigurationProvider','toString','7571389YmwAcn'];a5_0x25f0=function(){return _0x35300c;};return a5_0x25f0();}a5_0x497aef();'use strict';Object[a5_0x3ce152(0x1b4)](exports,a5_0x3ce152(0x1c2),{'value':!![]}),exports['ConfigurationProvider']=void 0x0;class ConfigurationProvider{constructor(_0x27e499){var _0x260a54=a5_0x3ce152;this[_0x260a54(0x1b0)]=_0x27e499;}['getMaxVariableSize'](){var _0x510ca1=a5_0x3ce152;return this[_0x510ca1(0x1b0)][_0x510ca1(0x1c4)][_0x510ca1(0x1c3)]||this[_0x510ca1(0x1b0)]['capture']['maxVariableSize'];}[a5_0x3ce152(0x1be)](){var _0x3a92a0=a5_0x3ce152;return this['resolvedDebugAgentConfig'][_0x3a92a0(0x1c4)]['maxWatchListVariableSize'];}[a5_0x3ce152(0x1c5)](){var _0x5dcafe=a5_0x3ce152;return this[_0x5dcafe(0x1b0)][_0x5dcafe(0x1c4)]['maxDataSize']||this[_0x5dcafe(0x1b0)][_0x5dcafe(0x1c4)]['maxSnapshotBufferSize'];}[a5_0x3ce152(0x1b3)](_0x36a319){var _0x5e68b4=a5_0x3ce152;return _0x36a319?this[_0x5e68b4(0x1b0)][_0x5e68b4(0x1c4)]['maxWatchProperties']:this[_0x5e68b4(0x1b0)][_0x5e68b4(0x1c4)][_0x5e68b4(0x1ba)];}}exports[a5_0x3ce152(0x1b5)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x37150a=a6_0x5c3c;(function(_0x1c968f,_0x36ee04){const _0x197038=a6_0x5c3c,_0x2d2c53=_0x1c968f();while(!![]){try{const _0xe4d292=parseInt(_0x197038(0x1a4))/0x1+parseInt(_0x197038(0x18e))/0x2*(parseInt(_0x197038(0x180))/0x3)+-parseInt(_0x197038(0x1d2))/0x4+-parseInt(_0x197038(0x165))/0x5*(-parseInt(_0x197038(0x1b2))/0x6)+-parseInt(_0x197038(0x15f))/0x7*(parseInt(_0x197038(0x1d0))/0x8)+-parseInt(_0x197038(0x1c9))/0x9*(-parseInt(_0x197038(0x18a))/0xa)+-parseInt(_0x197038(0x16b))/0xb*(parseInt(_0x197038(0x199))/0xc);if(_0xe4d292===_0x36ee04)break;else _0x2d2c53['push'](_0x2d2c53['shift']());}catch(_0x377684){_0x2d2c53['push'](_0x2d2c53['shift']());}}}(a6_0x3351,0x37cde));const a6_0x5dd33a=(function(){let _0x49ab1c=!![];return function(_0x8599aa,_0x316c99){const _0xdabc52=_0x49ab1c?function(){if(_0x316c99){const _0x59e6ff=_0x316c99['apply'](_0x8599aa,arguments);return _0x316c99=null,_0x59e6ff;}}:function(){};return _0x49ab1c=![],_0xdabc52;};}()),a6_0x2b6a1d=a6_0x5dd33a(this,function(){const _0xb626db=a6_0x5c3c;return a6_0x2b6a1d['toString']()['search'](_0xb626db(0x1e0))['toString']()['constructor'](a6_0x2b6a1d)['search'](_0xb626db(0x1e0));});a6_0x2b6a1d();'use strict';Object[a6_0x37150a(0x19c)](exports,a6_0x37150a(0x1e6),{'value':!![]}),exports[a6_0x37150a(0x193)]=void 0x0;const common_1=require(a6_0x37150a(0x1e8)),assert=require(a6_0x37150a(0x175)),qs=require(a6_0x37150a(0x16f)),fs_1=require('fs'),crypto_1=require(a6_0x37150a(0x1de)),zlib_1=require(a6_0x37150a(0x187)),stream_1=require('stream'),memory_streams_1=require('memory-streams'),tls_1=require('tls'),extend=require(a6_0x37150a(0x16c)),axios_1=require(a6_0x37150a(0x1ea)),https=require('https'),utils_1=require(a6_0x37150a(0x1a1)),HttpsProxyAgent=require(a6_0x37150a(0x1dc)),yaml=require(a6_0x37150a(0x1ba)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x37150a(0x1b8)]{constructor(_0x4e6172,_0x3bb0a7,_0xddd73e){const _0x21b58a=a6_0x37150a;super({'parent':_0x4e6172,'baseUrl':_0x21b58a(0x1ae)}),this[_0x21b58a(0x17f)]=null,this[_0x21b58a(0x1e3)]=_0x3bb0a7,this[_0x21b58a(0x1b4)]=[],this[_0x21b58a(0x194)]=_0xddd73e,this[_0x21b58a(0x1a8)]=_0x21b58a(0x1a9)+_0x3bb0a7[_0x21b58a(0x1ef)]+_0x21b58a(0x170),this[_0x21b58a(0x1ea)]=axios_1[_0x21b58a(0x186)][_0x21b58a(0x1d3)]({'httpsAgent':getProxyAgent(_0x3bb0a7,_0xddd73e)??new https[(_0x21b58a(0x1d8))](getHttpsAgentOptions(_0x3bb0a7,_0xddd73e)),'proxy':![]});}['register'](_0x31123d,_0x40209e){const _0x4f9f28=a6_0x37150a,_0x5ac29e={'uri':this[_0x4f9f28(0x1a8)]+_0x4f9f28(0x197),'method':_0x4f9f28(0x15d),'json':!![],'body':{'debuggee':_0x31123d}};this[_0x4f9f28(0x1af)](_0x5ac29e,(_0xd51757,_0x1653e3,_0x49e08e)=>{const _0x40e144=_0x4f9f28;if(!_0x49e08e)_0x40209e(_0xd51757||new Error(_0x40e144(0x1c5)));else{if(_0xd51757){let _0x51addd=![];_0x49e08e[_0x40e144(0x18c)]===HTTP_UPGRADE_REQUIRED&&_0x1653e3&&(_0x1653e3[_0x40e144(0x173)]!==undefined&&(_0xd51757[_0x40e144(0x173)]=_0x1653e3[_0x40e144(0x173)]),_0x31123d['id']=_0x1653e3['debuggee']['id'],_0x51addd=!![]),_0x40209e(_0xd51757,_0x1653e3,_0x51addd);}else{if(_0x49e08e['status']!==HTTP_SUCCESS)_0x40209e(new Error('unable\x20to\x20register,\x20status\x20'+_0x49e08e[_0x40e144(0x18c)]));else!_0x1653e3?.[_0x40e144(0x18b)]?_0x40209e(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x31123d['id']=_0x1653e3[_0x40e144(0x18b)]['id'],_0x40209e(null,_0x1653e3));}}});}[a6_0x37150a(0x15b)](_0x15a8ba,_0x2d3043,_0x5ee291){const _0x4941dc=a6_0x37150a,_0x49c316=this;assert(_0x15a8ba['id'],_0x4941dc(0x17b));const _0x4be61a={'successOnTimeout':!![]};_0x49c316[_0x4941dc(0x17f)]&&(_0x4be61a[_0x4941dc(0x1cd)]=_0x49c316[_0x4941dc(0x17f)]);const _0x2e1128=this['apiUrl']+encodeURIComponent(_0x15a8ba['id'])+_0x4941dc(0x190)+qs['stringify'](_0x4be61a);_0x49c316[_0x4941dc(0x1af)]({'uri':_0x2e1128,'json':!![]},(_0x524d23,_0x2304e8,_0x4745b3)=>{const _0x2ad1dc=_0x4941dc;if(!_0x4745b3){_0x2d3043(_0x524d23||new Error(_0x2ad1dc(0x1c5)));return;}else{if(!is2xx(_0x4745b3[_0x2ad1dc(0x18c)])){_0x2d3043(new Error(_0x2ad1dc(0x1e4)+_0x4745b3[_0x2ad1dc(0x18c)]),_0x4745b3);return;}else _0x2304e8&&(_0x49c316['nextWaitToken']=_0x2304e8['nextWaitToken']),_0x2d3043(null,_0x4745b3,_0x2304e8);}},_0x5ee291);}[a6_0x37150a(0x162)](_0x5b4428,_0x15ec06){const _0x3e0231=a6_0x37150a;assert(_0x5b4428['id'],_0x3e0231(0x17b));try{const _0x53e491=JSON['stringify'](_0x15ec06),_0x13db12=(0x0,utils_1[_0x3e0231(0x1bb)])(_0x53e491);if(_0x13db12>=this[_0x3e0231(0x1e3)][_0x3e0231(0x1db)]){this[_0x3e0231(0x194)][_0x3e0231(0x171)](_0x3e0231(0x17c)+_0x15ec06['id']+_0x3e0231(0x19a)+_0x13db12+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0x3e0231(0x1e3)][_0x3e0231(0x1db)]);return;}this[_0x3e0231(0x1b4)][_0x3e0231(0x182)]({'id':_0x15ec06['id'],'serializedJson':_0x53e491,'number':0x0});if(!this[_0x3e0231(0x1a6)]){const _0x55aed1=this;this[_0x3e0231(0x1a6)]=setTimeout(()=>_0x55aed1['transmitBreakpointUpdates'][_0x3e0231(0x188)](_0x55aed1)(_0x5b4428['id']),0x0);}}catch(_0x360b53){this[_0x3e0231(0x194)][_0x3e0231(0x183)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x15ec06['id']+_0x3e0231(0x1eb),_0x360b53);return;}}['clearTransmissionTimeout'](){const _0x45b0d3=a6_0x37150a;if(!this['transmissionTimeout'])return;clearTimeout(this[_0x45b0d3(0x1a6)]),this['transmissionTimeout']=null;}[a6_0x37150a(0x176)](_0x501fda,_0x4fd3df){const _0x4f3c64=a6_0x37150a,_0x3bf09e=this['apiUrl']+encodeURIComponent(_0x501fda['id'])+_0x4f3c64(0x1dd),_0x1967b7={'uri':_0x3bf09e,'method':_0x4f3c64(0x15d),'json':!![]};this['logger'][_0x4f3c64(0x1b9)](_0x4f3c64(0x169)),this[_0x4f3c64(0x1af)](_0x1967b7,(_0x2b2cfc,_0x3f5565,_0x21c061)=>{const _0x3ba66c=_0x4f3c64;(!_0x21c061||Math[_0x3ba66c(0x1c8)](_0x21c061['status']/0x64)!==0x2)&&this['logger']['warn']('Failed\x20to\x20deregister\x20agent,\x20Error:\x20'+_0x2b2cfc),_0x4fd3df(_0x2b2cfc);});}[a6_0x37150a(0x1d5)](_0x15c0bd,_0x3de464,_0x40a534){const _0x163d78=a6_0x37150a,_0x496f60=this[_0x163d78(0x1a8)]+encodeURIComponent(_0x15c0bd['id'])+'/log/',_0x5ef521={'uri':_0x496f60,'method':'POST','json':!![],'body':_0x3de464};this[_0x163d78(0x1af)](_0x5ef521,(_0x4c62d0,_0x3e3a6e,_0x339bf6)=>{const _0x4ba68f=_0x163d78;(!_0x339bf6||Math[_0x4ba68f(0x1c8)](_0x339bf6[_0x4ba68f(0x18c)]/0x64)!==0x2)&&(this['logger'][_0x4ba68f(0x171)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x4c62d0),_0x40a534(_0x4c62d0));});}[a6_0x37150a(0x1c2)](_0x350f3a,_0x335b49,_0x1040f2){const _0x98e2ce=a6_0x37150a,_0x46e40f=this[_0x98e2ce(0x1a8)]+encodeURIComponent(_0x350f3a['id'])+_0x98e2ce(0x1be),_0x557114={'uri':_0x46e40f,'method':_0x98e2ce(0x15d),'json':!![],'body':_0x335b49};this[_0x98e2ce(0x1af)](_0x557114,(_0x2652d6,_0x413aff,_0x309d17)=>{const _0x342c23=_0x98e2ce;(!_0x309d17||Math[_0x342c23(0x1c8)](_0x309d17[_0x342c23(0x18c)]/0x64)!==0x2)&&(this['logger']['warn'](_0x342c23(0x196)+_0x2652d6),_0x1040f2(_0x2652d6));});}[a6_0x37150a(0x179)](_0x31c90f,_0x225f93,_0xd72720){const _0x1842ba=a6_0x37150a;assert(_0x31c90f['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this[_0x1842ba(0x1bd)]){const _0x5d00d0=Date[_0x1842ba(0x1c4)](),_0x486839=this[_0x1842ba(0x1bd)]+this[_0x1842ba(0x1e3)]['agentLog'][_0x1842ba(0x1ee)];if(_0x5d00d0<_0x486839){this['logger']['info'](_0x1842ba(0x1c1)+((_0x486839-_0x5d00d0)/0x3e8+_0x1842ba(0x16e)));return;}}const _0x33701a=(0x0,fs_1[_0x1842ba(0x1ca)])(_0xd72720)[_0x1842ba(0x1e5)],_0x495d69=Math[_0x1842ba(0x17a)](0x0,_0x33701a-this[_0x1842ba(0x1e3)]['agentLog']['maxLogFileBytes']),_0x250822=(0x0,fs_1[_0x1842ba(0x1ed)])(_0xd72720,{'start':_0x495d69}),_0x372953=(0x0,zlib_1[_0x1842ba(0x18f)])(),_0x24e9f7=new memory_streams_1[(_0x1842ba(0x1aa))](),_0x29bc26=this;_0x29bc26['logger'][_0x1842ba(0x1b9)](_0x1842ba(0x1ac)+_0xd72720+_0x1842ba(0x1e1)+_0x225f93),(0x0,stream_1[_0x1842ba(0x1c6)])(_0x250822,_0x372953,_0x24e9f7,_0x23f869=>{const _0x3d082a=_0x1842ba;if(_0x23f869)_0x29bc26[_0x3d082a(0x194)][_0x3d082a(0x183)](_0x3d082a(0x19d)+_0xd72720+':\x20'+_0x23f869);else{const _0x1b8bd7={'uri':this['apiUrl']+encodeURIComponent(_0x31c90f['id'])+'/compressedLogFileV2/'+_0x225f93,'method':_0x3d082a(0x19f),'body':_0x24e9f7[_0x3d082a(0x19b)](),'headers':{'Content-Type':_0x3d082a(0x1e9)}};_0x29bc26[_0x3d082a(0x1af)](_0x1b8bd7,_0x4300e2=>{const _0x5a6dec=_0x3d082a;_0x4300e2?_0x29bc26[_0x5a6dec(0x194)]['error'](_0x5a6dec(0x1c7)+_0xd72720+_0x5a6dec(0x167)+_0x225f93,_0x4300e2):(_0x29bc26['logger'][_0x5a6dec(0x1b9)]('Successfully\x20sent\x20log\x20file\x20'+_0xd72720+_0x5a6dec(0x167)+_0x225f93),_0x29bc26[_0x5a6dec(0x1bd)]=Date[_0x5a6dec(0x1c4)]());});}});}[a6_0x37150a(0x1da)](_0x4c933c){const _0x433b31=a6_0x37150a;this[_0x433b31(0x194)]['debug']('Transmitting\x20breakpoint\x20updates...'),this['transmissionTimeout']=undefined;const _0x1ba342=[];let _0x4da329=0x0;while(_0x1ba342[_0x433b31(0x168)]<this[_0x433b31(0x1e3)]['transmissionBulkMaxSize']&&this[_0x433b31(0x1b4)][_0x433b31(0x168)]>0x0){const _0x5986a1=this[_0x433b31(0x1b4)][0x0],_0x51949e=_0x5986a1['serializedJson'],_0x5f398c=(0x0,utils_1[_0x433b31(0x1bb)])(_0x51949e);_0x4da329+=_0x5f398c;if(_0x4da329<=this[_0x433b31(0x1e3)]['transmissionBulkMaxNetworkSizeInBytes'])_0x1ba342[_0x433b31(0x182)](_0x5986a1),this[_0x433b31(0x1b4)]['shift']();else{_0x5f398c>this['config'][_0x433b31(0x174)]&&_0x1ba342[_0x433b31(0x168)]===0x0&&(this[_0x433b31(0x194)]['debug'](_0x433b31(0x16a)+_0x5986a1['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this['config'][_0x433b31(0x174)]+_0x433b31(0x1b5)),_0x1ba342[_0x433b31(0x182)](_0x5986a1),this[_0x433b31(0x1b4)][_0x433b31(0x1bc)]());break;}}if(!_0x1ba342)return;const _0x448148=_0x1ba342['map'](_0x5ae2eb=>_0x5ae2eb['id']),_0x1bc94d={'uri':this[_0x433b31(0x1a8)]+encodeURIComponent(_0x4c933c)+_0x433b31(0x1cc),'json':!![],'method':_0x433b31(0x19f),'body':'['+_0x1ba342['map'](_0x1e950a=>_0x1e950a['serializedJson'])['join'](',')+']'},_0x38a63e=this;try{this[_0x433b31(0x1af)](_0x1bc94d,(_0x30eae1,_0x44a82b,_0x34c30a)=>{const _0x54b041=_0x433b31,_0x3fb4bf=_0x34c30a?.[_0x54b041(0x18c)];_0x38a63e[_0x54b041(0x194)][_0x54b041(0x1d1)](_0x54b041(0x1ce)+_0x448148+_0x54b041(0x1ad)+_0x3fb4bf);if(_0x30eae1||!_0x3fb4bf||Math[_0x54b041(0x1c8)](_0x3fb4bf/0x64)!==0x2){const _0x4055e2=_0x3fb4bf&&(_0x3fb4bf>=0x1f4||_0x3fb4bf===0x198);if(_0x4055e2){_0x38a63e[_0x54b041(0x194)]['warn'](_0x54b041(0x192)+_0x448148+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x3fb4bf+_0x54b041(0x1df)+_0x30eae1);for(const _0xf70613 of _0x1ba342){_0xf70613[_0x54b041(0x177)]<MAX_FAILED_SEND_ATTEMPTS?_0x38a63e[_0x54b041(0x1b4)]['push']({..._0xf70613,'number':_0xf70613[_0x54b041(0x177)]+0x1}):_0x38a63e[_0x54b041(0x194)]['warn'](_0x54b041(0x1a2)+_0xf70613['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x38a63e['logger'][_0x54b041(0x171)](_0x54b041(0x191)+_0x448148+_0x54b041(0x15e)+_0x3fb4bf+_0x54b041(0x1df)+_0x30eae1);}else _0x38a63e[_0x54b041(0x194)][_0x54b041(0x1b9)](_0x54b041(0x1ce)+_0x448148+_0x54b041(0x189));_0x38a63e['transmissionQueue'][_0x54b041(0x168)]>0x0&&(_0x38a63e[_0x54b041(0x1a6)]=setTimeout(()=>_0x38a63e[_0x54b041(0x1da)][_0x54b041(0x188)](_0x38a63e)(_0x4c933c),0x0));},0x28);}catch(_0x2e2e20){this[_0x433b31(0x194)][_0x433b31(0x171)](_0x433b31(0x191)+_0x448148+_0x433b31(0x1a5)+_0x2e2e20+_0x433b31(0x1a7)+_0x2e2e20[_0x433b31(0x1d6)]?.[_0x433b31(0x173)]),_0x38a63e[_0x433b31(0x1b4)][_0x433b31(0x168)]>0x0&&(_0x38a63e[_0x433b31(0x1a6)]=setTimeout(()=>_0x38a63e[_0x433b31(0x1da)][_0x433b31(0x188)](_0x38a63e)(_0x4c933c),0x0));}}async['getBlocklist'](_0x1ebf83){const _0x59447c=a6_0x37150a;this[_0x59447c(0x194)][_0x59447c(0x1b9)](_0x59447c(0x161));const _0x94f365=this[_0x59447c(0x1a8)]+encodeURIComponent(_0x1ebf83)+_0x59447c(0x1b6),{error:_0x1b3b2b,data:_0x360cc8}=await this[_0x59447c(0x1af)]({'uri':_0x94f365,'json':!![]});if(_0x1b3b2b)return Promise['reject'](_0x1b3b2b);return yaml[_0x59447c(0x1ec)](_0x360cc8)||{};}[a6_0x37150a(0x1af)](_0x3a8a82,_0x542bf9,_0x21816f,_0x304ff4){const _0x288c8a=a6_0x37150a,_0x46b01c={'Content-Type':_0x304ff4?_0x304ff4:_0x288c8a(0x181),'Authorization':'Bearer\x20'+this['config'][_0x288c8a(0x16d)]},_0x4dd6cb=axios_1[_0x288c8a(0x186)][_0x288c8a(0x1d7)][_0x288c8a(0x19e)](),_0xcb963b=_0x21816f?_0x21816f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x288c8a(0x194)][_0x288c8a(0x1d1)](_0x288c8a(0x178)+_0xcb963b);const _0x4506e9=setTimeout(()=>{const _0x286f9f=_0x288c8a;this['logger']['warn'](_0x286f9f(0x18d)+_0xcb963b+'ms'),_0x4dd6cb[_0x286f9f(0x166)]();},_0xcb963b),_0x1f7421={'method':_0x3a8a82[_0x288c8a(0x1b7)],'url':_0x3a8a82[_0x288c8a(0x1e7)],'data':_0x3a8a82[_0x288c8a(0x198)],'headers':_0x46b01c,'cancelToken':_0x4dd6cb[_0x288c8a(0x1d9)]};return extend(!![],_0x1f7421,_0x3a8a82),this[_0x288c8a(0x1ea)][_0x288c8a(0x1a0)](_0x1f7421)['then'](_0x13e3dc=>{const _0x4afc39=_0x288c8a;return _0x542bf9?.(null,_0x13e3dc['data'],_0x13e3dc),{'error':null,'data':_0x13e3dc[_0x4afc39(0x1d6)],'res':_0x13e3dc};})['catch'](_0x1db560=>{const _0x374c17=_0x288c8a;return _0x542bf9?.(_0x1db560,_0x1db560[_0x374c17(0x1b3)]?.[_0x374c17(0x1d6)],_0x1db560[_0x374c17(0x1b3)]),{'error':_0x1db560,'data':_0x1db560[_0x374c17(0x1b3)]?.['data'],'res':_0x1db560[_0x374c17(0x1b3)]};})['finally'](()=>clearTimeout(_0x4506e9));}async[a6_0x37150a(0x17e)](_0x1f4294){const _0x495b03=a6_0x37150a;this[_0x495b03(0x194)]['info'](_0x495b03(0x1ab));const _0x3ce297=this['apiUrl']+encodeURIComponent(_0x1f4294)+_0x495b03(0x1cb),{error:_0x59bde5,data:_0x4ad6a9}=await this[_0x495b03(0x1af)]({'uri':_0x3ce297,'json':!![]});if(_0x59bde5)return Promise['reject'](_0x59bde5);return _0x4ad6a9;}}exports[a6_0x37150a(0x193)]=Controller;function is2xx(_0x139147){const _0x38980d=a6_0x37150a;return Math[_0x38980d(0x1c8)](_0x139147/0x64)===0x2;}function a6_0x3351(){const _0x35fe1f=['707Psrtpl','createHash','Getting\x20blocklist','enqueueBreakpointUpdate','password','update','60RbclBG','cancel','\x20for\x20request\x20','length','Deregister\x20agent\x20before\x20shutdown','breakpoint\x20','407iIMtXB','extend','lightrunSecret','\x20seconds','querystring','/debuggees/','warn','pinnedCerts','message','transmissionBulkMaxNetworkSizeInBytes','assert','deregister','number','timeout\x20set\x20to\x20','sendAgentLogsToServer','max','should\x20have\x20a\x20registered\x20debuggee','breakpointId:\x20','createSecureContext','getRedactions','nextWaitToken','30zWhmGh','application/json','push','error','readFileSync','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','default','zlib','bind','\x20transmitted\x20successfully','31550ExGRDq','debuggee','status','Timeout\x20occurred\x20after\x20','26148RqWvZc','createGzip','/breakpoints?','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','Controller','logger','context','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','register','body','222204sgYDvJ','\x20size\x20is\x20','toBuffer','defineProperty','Failed\x20to\x20zip\x20','source','PUT','request','./util/utils','Breakpoint\x20','hex','374666tqsiqr','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','transmissionTimeout',',\x20Message:\x20','apiUrl','https://','WritableStream','Getting\x20reductions','Compressing\x20and\x20sending\x20log\x20file\x20','\x20finished\x20with\x20status\x20','/controller','makeRequest','sha256','host','74376JtFFrO','response','transmissionQueue',',\x20sending\x20only\x20one','/blacklist?successOnTimeout=true','method','ServiceObject','info','js-yaml','getJsonStringSizeInBytes','shift','lastLogCollectionTime','/appOnlyActionHits/','secureContext','Failed\x20to\x20read\x20pem\x20file\x20\x22','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','sendAppOnlyBreakpointHitsToServer','caPath','now','unknown\x20error\x20-\x20request\x20response\x20missing','pipeline','Failed\x20to\x20send\x20log\x20file\x20','floor','1143cwctJc','statSync','/redaction','/breakpoints','waitToken','Update\x20for\x20breakpoints\x20','includes','2008XQOqNU','debug','463156IRJaII','create','callback','sendBreakpointLogsToServer','data','CancelToken','Agent','token','transmitBreakpointUpdates','transmissionHardMaxNetworkSizeLimitInBytes','https-proxy-agent','/deregister/','crypto','\x20Error:\x20','(((.+)+)+)+$','\x20for\x20request\x20id\x20','ascii','config','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','size','__esModule','uri','@google-cloud/common','application/octet-stream','axios','\x20and\x20enqueue\x20to\x20queue','load','createReadStream','collectCooldownMs','apiEndpoint','username','Using\x20proxy\x20configuration:\x20','\x22\x20-\x20ignoring\x20it','addCACert','listBreakpoints','port','POST','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'];a6_0x3351=function(){return _0x35fe1f;};return a6_0x3351();}function getProxyAgent(_0x3b95f6,_0x207126){const _0x516905=a6_0x37150a,_0x4fd987=_0x3b95f6['proxy'];if(!_0x4fd987?.['host'])return undefined;if(!_0x4fd987[_0x516905(0x15c)])return _0x207126[_0x516905(0x183)](_0x516905(0x185)),undefined;_0x207126['info'](_0x516905(0x1f1)+_0x4fd987['host']+':'+_0x4fd987[_0x516905(0x15c)]+',\x20username:\x20'+(_0x4fd987['username']??''));const _0x4f08ec=new HttpsProxyAgent({'host':_0x4fd987[_0x516905(0x1b1)],'port':_0x4fd987[_0x516905(0x15c)],'auth':_0x4fd987[_0x516905(0x1f0)]||_0x4fd987[_0x516905(0x163)]?(_0x4fd987[_0x516905(0x1f0)]??'')+':'+(_0x4fd987[_0x516905(0x163)]??''):undefined}),_0x3b238f=_0x4f08ec['callback']['bind'](_0x4f08ec),_0xbc137a=getHttpsAgentOptions(_0x3b95f6,_0x207126);return _0x4f08ec[_0x516905(0x1d4)]=(_0xf99efd,_0x1d2f11)=>{return _0x3b238f(_0xf99efd,{..._0x1d2f11,..._0xbc137a});},_0x4f08ec;}function a6_0x5c3c(_0x34148b,_0x42a8e2){const _0x145185=a6_0x3351();return a6_0x5c3c=function(_0x2b6a1d,_0x5dd33a){_0x2b6a1d=_0x2b6a1d-0x15a;let _0x33517b=_0x145185[_0x2b6a1d];return _0x33517b;},a6_0x5c3c(_0x34148b,_0x42a8e2);}function getHttpsAgentOptions(_0x596f53,_0x4d7162){const _0x36a680=a6_0x37150a,_0xb38ecf={'checkServerIdentity':(_0xa87714,_0xa4673a)=>{const _0x4aca21=a6_0x5c3c;if(_0x596f53['noCheckCertificate'])return undefined;const _0x4e32ad=(0x0,crypto_1[_0x4aca21(0x160)])(_0x4aca21(0x1b0))[_0x4aca21(0x164)](_0xa4673a['pubkey'])['digest'](_0x4aca21(0x1a3));return _0x596f53[_0x4aca21(0x172)][_0x4aca21(0x1cf)](_0x4e32ad)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}};let _0x4293b5;if(_0x596f53[_0x36a680(0x1c3)])try{_0x4293b5=(0x0,fs_1[_0x36a680(0x184)])(_0x596f53['caPath'],_0x36a680(0x1e2));}catch(_0x479623){_0x4d7162[_0x36a680(0x171)](_0x36a680(0x1c0)+_0x596f53[_0x36a680(0x1c3)]+_0x36a680(0x1f2));}if(_0x4293b5){const _0x1ea342=(0x0,tls_1[_0x36a680(0x17d)])(_0xb38ecf);_0x1ea342[_0x36a680(0x195)][_0x36a680(0x15a)](_0x4293b5),_0xb38ecf[_0x36a680(0x1bf)]=_0x1ea342;}return _0xb38ecf;}
|
|
1
|
+
const a6_0xaedb9=a6_0x39ce;(function(_0x23e3d9,_0x165e6f){const _0x573363=a6_0x39ce,_0x1f302b=_0x23e3d9();while(!![]){try{const _0x493447=-parseInt(_0x573363(0x1b4))/0x1+-parseInt(_0x573363(0x156))/0x2*(parseInt(_0x573363(0x191))/0x3)+-parseInt(_0x573363(0x1a0))/0x4*(parseInt(_0x573363(0x15b))/0x5)+parseInt(_0x573363(0x150))/0x6*(-parseInt(_0x573363(0x1df))/0x7)+parseInt(_0x573363(0x1ac))/0x8*(-parseInt(_0x573363(0x1e7))/0x9)+parseInt(_0x573363(0x173))/0xa+parseInt(_0x573363(0x1de))/0xb;if(_0x493447===_0x165e6f)break;else _0x1f302b['push'](_0x1f302b['shift']());}catch(_0x18cbcc){_0x1f302b['push'](_0x1f302b['shift']());}}}(a6_0x1caf,0xdec25));const a6_0x48f571=(function(){let _0x54c831=!![];return function(_0x4a0194,_0x468265){const _0x52491a=_0x54c831?function(){const _0x5829c9=a6_0x39ce;if(_0x468265){const _0x464315=_0x468265[_0x5829c9(0x1e8)](_0x4a0194,arguments);return _0x468265=null,_0x464315;}}:function(){};return _0x54c831=![],_0x52491a;};}()),a6_0x7767d5=a6_0x48f571(this,function(){const _0xd14e54=a6_0x39ce;return a6_0x7767d5[_0xd14e54(0x1a4)]()[_0xd14e54(0x17a)](_0xd14e54(0x179))[_0xd14e54(0x1a4)]()['constructor'](a6_0x7767d5)[_0xd14e54(0x17a)](_0xd14e54(0x179));});a6_0x7767d5();function a6_0x1caf(){const _0xdcf211=['unable\x20to\x20register,\x20status\x20','hex','crypto','clearTransmissionTimeout','112246aghzzJ','pubkey','pipeline','Certificate\x20Pinning\x20Failed!','sendAppOnlyBreakpointHitsToServer','4434835iZqWNc','\x20seconds','password','application/octet-stream','catch','ascii','Bearer\x20','breakpoint\x20','data','apiEndpoint','POST','error','length','tls','__esModule','getBlocklist','toBuffer','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','Successfully\x20sent\x20log\x20file\x20','logger','/appOnlyActionHits/','/controller','nextWaitToken','sendBreakpointLogsToServer','8333940xhgCuO','Update\x20for\x20breakpoints\x20','lastLogCollectionTime',',\x20username:\x20','map','update','(((.+)+)+)+$','search','response','CancelToken','https://','cancel','zlib','\x20Error:\x20','info','/breakpoints?','finally','then','push','createSecureContext','register','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','method','host','statSync','ServiceObject','readFileSync','Using\x20proxy\x20configuration:\x20','makeRequest','max','15pZfseC','reject','extend','transmitBreakpointUpdates','Compressing\x20and\x20sending\x20log\x20file\x20','./util/utils','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','number','waitToken','\x20and\x20enqueue\x20to\x20queue','https-proxy-agent','Getting\x20blocklist','getJsonStringSizeInBytes','failed\x20to\x20serialize\x20breakpoint\x20','transmissionTimeout','8TdVivl','js-yaml','defineProperty','memory-streams','toString','Timeout\x20occurred\x20after\x20','sha256','https','\x20for\x20request\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','7662696XDrBCa','debuggee','apiUrl','Failed\x20to\x20send\x20log\x20file\x20','body','/compressedLogFileV2/','application/json','secureContext','730026oeofvx','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','agentLog','username','message','WritableStream','Deregister\x20agent\x20before\x20shutdown','axios','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','uri','callback','source','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','port','\x22\x20-\x20ignoring\x20it','transmissionHardMaxNetworkSizeLimitInBytes','status','bind','/blacklist?successOnTimeout=true','Breakpoint\x20','transmissionBulkMaxNetworkSizeInBytes','debug','token','noCheckCertificate','transmissionQueue','context','/debuggees/','caPath','should\x20have\x20a\x20registered\x20debuggee','transmissionBulkMaxSize','load','deregister','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','assert','pinnedCerts','breakpointId:\x20','@google-cloud/common','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','create','warn','\x20finished\x20with\x20status\x20','createReadStream','44050402dPIXdR','7AUKLSQ','config','createHash','default','listBreakpoints','serializedJson','shift','Controller','9ADDNLe','apply','floor','sendAgentLogsToServer','Getting\x20reductions','/log/','PUT','getRedactions','querystring','1098858lClHfq','createGzip'];a6_0x1caf=function(){return _0xdcf211;};return a6_0x1caf();}'use strict';function a6_0x39ce(_0x12843d,_0xc4f69b){const _0x4c0e72=a6_0x1caf();return a6_0x39ce=function(_0x7767d5,_0x48f571){_0x7767d5=_0x7767d5-0x14b;let _0x1caf26=_0x4c0e72[_0x7767d5];return _0x1caf26;},a6_0x39ce(_0x12843d,_0xc4f69b);}Object[a6_0xaedb9(0x1a2)](exports,a6_0xaedb9(0x169),{'value':!![]}),exports['Controller']=void 0x0;const common_1=require(a6_0xaedb9(0x1d8)),assert=require(a6_0xaedb9(0x1d5)),qs=require(a6_0xaedb9(0x14f)),fs_1=require('fs'),crypto_1=require(a6_0xaedb9(0x154)),zlib_1=require(a6_0xaedb9(0x17f)),stream_1=require('stream'),memory_streams_1=require(a6_0xaedb9(0x1a3)),tls_1=require(a6_0xaedb9(0x168)),extend=require(a6_0xaedb9(0x193)),axios_1=require(a6_0xaedb9(0x1bb)),https=require(a6_0xaedb9(0x1a7)),utils_1=require(a6_0xaedb9(0x196)),HttpsProxyAgent=require(a6_0xaedb9(0x19b)),yaml=require(a6_0xaedb9(0x1a1)),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_0xaedb9(0x18c)]{constructor(_0x2ca1e0,_0x1d659b,_0x1c7cf6){const _0x292a1b=a6_0xaedb9;super({'parent':_0x2ca1e0,'baseUrl':_0x292a1b(0x170)}),this[_0x292a1b(0x171)]=null,this['config']=_0x1d659b,this['transmissionQueue']=[],this[_0x292a1b(0x16e)]=_0x1c7cf6,this[_0x292a1b(0x1ae)]=_0x292a1b(0x17d)+_0x1d659b[_0x292a1b(0x164)]+_0x292a1b(0x1ce),this[_0x292a1b(0x1bb)]=axios_1[_0x292a1b(0x1e2)][_0x292a1b(0x1da)]({'httpsAgent':getProxyAgent(_0x1d659b,_0x1c7cf6)??new https['Agent'](getHttpsAgentOptions(_0x1d659b,_0x1c7cf6)),'proxy':![]});}[a6_0xaedb9(0x187)](_0x34f1a7,_0x46a17f){const _0x5a01aa=a6_0xaedb9,_0x5430ba={'uri':this['apiUrl']+_0x5a01aa(0x187),'method':_0x5a01aa(0x165),'json':!![],'body':{'debuggee':_0x34f1a7}};this['makeRequest'](_0x5430ba,(_0x474f0f,_0x49072c,_0x5d31ba)=>{const _0x429e66=_0x5a01aa;if(!_0x5d31ba)_0x46a17f(_0x474f0f||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x474f0f){let _0x15df43=![];_0x5d31ba['status']===HTTP_UPGRADE_REQUIRED&&_0x49072c&&(_0x49072c[_0x429e66(0x1b8)]!==undefined&&(_0x474f0f['message']=_0x49072c[_0x429e66(0x1b8)]),_0x34f1a7['id']=_0x49072c[_0x429e66(0x1ad)]['id'],_0x15df43=!![]),_0x46a17f(_0x474f0f,_0x49072c,_0x15df43);}else{if(_0x5d31ba[_0x429e66(0x1c4)]!==HTTP_SUCCESS)_0x46a17f(new Error(_0x429e66(0x152)+_0x5d31ba[_0x429e66(0x1c4)]));else!_0x49072c?.[_0x429e66(0x1ad)]?_0x46a17f(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x34f1a7['id']=_0x49072c[_0x429e66(0x1ad)]['id'],_0x46a17f(null,_0x49072c));}}});}[a6_0xaedb9(0x1e3)](_0x1d02a0,_0x53d8c9,_0x405fc5){const _0x68cebc=a6_0xaedb9,_0x620cb4=this;assert(_0x1d02a0['id'],_0x68cebc(0x1d0));const _0x36fe00={'successOnTimeout':!![]};_0x620cb4['nextWaitToken']&&(_0x36fe00[_0x68cebc(0x199)]=_0x620cb4[_0x68cebc(0x171)]);const _0x2376dd=this[_0x68cebc(0x1ae)]+encodeURIComponent(_0x1d02a0['id'])+_0x68cebc(0x182)+qs['stringify'](_0x36fe00);_0x620cb4[_0x68cebc(0x18f)]({'uri':_0x2376dd,'json':!![]},(_0x4a7552,_0x439e25,_0x21cc05)=>{const _0x309de6=_0x68cebc;if(!_0x21cc05){_0x53d8c9(_0x4a7552||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0x21cc05['status'])){_0x53d8c9(new Error(_0x309de6(0x197)+_0x21cc05[_0x309de6(0x1c4)]),_0x21cc05);return;}else _0x439e25&&(_0x620cb4[_0x309de6(0x171)]=_0x439e25[_0x309de6(0x171)]),_0x53d8c9(null,_0x21cc05,_0x439e25);}},_0x405fc5);}['enqueueBreakpointUpdate'](_0x7a599e,_0x4c4705){const _0x297373=a6_0xaedb9;assert(_0x7a599e['id'],_0x297373(0x1d0));try{const _0x38b881=JSON['stringify'](_0x4c4705),_0xec11c7=(0x0,utils_1[_0x297373(0x19d)])(_0x38b881);if(_0xec11c7>=this['config']['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x297373(0x16e)][_0x297373(0x1db)](_0x297373(0x1d7)+_0x4c4705['id']+'\x20size\x20is\x20'+_0xec11c7+_0x297373(0x1c0)+this[_0x297373(0x1e0)][_0x297373(0x1c3)]);return;}this[_0x297373(0x1cc)][_0x297373(0x185)]({'id':_0x4c4705['id'],'serializedJson':_0x38b881,'number':0x0});if(!this[_0x297373(0x19f)]){const _0x374d0b=this;this[_0x297373(0x19f)]=setTimeout(()=>_0x374d0b[_0x297373(0x194)]['bind'](_0x374d0b)(_0x7a599e['id']),0x0);}}catch(_0x5f5281){this[_0x297373(0x16e)]['error'](_0x297373(0x19e)+_0x4c4705['id']+_0x297373(0x19a),_0x5f5281);return;}}[a6_0xaedb9(0x155)](){const _0x1dbe83=a6_0xaedb9;if(!this[_0x1dbe83(0x19f)])return;clearTimeout(this[_0x1dbe83(0x19f)]),this[_0x1dbe83(0x19f)]=null;}[a6_0xaedb9(0x1d3)](_0x5d37e2,_0x15c971){const _0x48a3f6=a6_0xaedb9,_0x52083f=this[_0x48a3f6(0x1ae)]+encodeURIComponent(_0x5d37e2['id'])+'/deregister/',_0x1c86ab={'uri':_0x52083f,'method':_0x48a3f6(0x165),'json':!![]};this[_0x48a3f6(0x16e)][_0x48a3f6(0x181)](_0x48a3f6(0x1ba)),this[_0x48a3f6(0x18f)](_0x1c86ab,(_0x2a8c2c,_0x2a13ab,_0x246988)=>{const _0x22813a=_0x48a3f6;(!_0x246988||Math['floor'](_0x246988[_0x22813a(0x1c4)]/0x64)!==0x2)&&this[_0x22813a(0x16e)][_0x22813a(0x1db)](_0x22813a(0x1aa)+_0x2a8c2c),_0x15c971(_0x2a8c2c);});}[a6_0xaedb9(0x172)](_0x15d990,_0x4c25f5,_0x2d595b){const _0x4c63a1=a6_0xaedb9,_0x13e75d=this['apiUrl']+encodeURIComponent(_0x15d990['id'])+_0x4c63a1(0x14c),_0x31c05a={'uri':_0x13e75d,'method':_0x4c63a1(0x165),'json':!![],'body':_0x4c25f5};this[_0x4c63a1(0x18f)](_0x31c05a,(_0x5b9993,_0x57c024,_0x3a37c5)=>{const _0x389313=_0x4c63a1;(!_0x3a37c5||Math['floor'](_0x3a37c5[_0x389313(0x1c4)]/0x64)!==0x2)&&(this['logger']['warn'](_0x389313(0x1bc)+_0x5b9993),_0x2d595b(_0x5b9993));});}[a6_0xaedb9(0x15a)](_0x3fd0c4,_0x4dab74,_0x327152){const _0xf8ab24=a6_0xaedb9,_0xf0415=this[_0xf8ab24(0x1ae)]+encodeURIComponent(_0x3fd0c4['id'])+_0xf8ab24(0x16f),_0xe5671d={'uri':_0xf0415,'method':'POST','json':!![],'body':_0x4dab74};this['makeRequest'](_0xe5671d,(_0x1ed840,_0x65e551,_0x4415a9)=>{const _0x5df75d=_0xf8ab24;(!_0x4415a9||Math['floor'](_0x4415a9[_0x5df75d(0x1c4)]/0x64)!==0x2)&&(this[_0x5df75d(0x16e)][_0x5df75d(0x1db)](_0x5df75d(0x1d9)+_0x1ed840),_0x327152(_0x1ed840));});}[a6_0xaedb9(0x1ea)](_0x5deb63,_0x5052d6,_0xcae29e){const _0x4ad976=a6_0xaedb9;assert(_0x5deb63['id'],_0x4ad976(0x1d0));if(this[_0x4ad976(0x175)]){const _0x9dd91d=Date['now'](),_0x2504d2=this[_0x4ad976(0x175)]+this['config'][_0x4ad976(0x1b6)]['collectCooldownMs'];if(_0x9dd91d<_0x2504d2){this[_0x4ad976(0x16e)][_0x4ad976(0x181)](_0x4ad976(0x1b5)+((_0x2504d2-_0x9dd91d)/0x3e8+_0x4ad976(0x15c)));return;}}const _0x44d1ca=(0x0,fs_1[_0x4ad976(0x18b)])(_0xcae29e)['size'],_0x4bf2a6=Math[_0x4ad976(0x190)](0x0,_0x44d1ca-this[_0x4ad976(0x1e0)]['agentLog']['maxLogFileBytes']),_0x152fbb=(0x0,fs_1[_0x4ad976(0x1dd)])(_0xcae29e,{'start':_0x4bf2a6}),_0xd0af6c=(0x0,zlib_1[_0x4ad976(0x151)])(),_0x531a14=new memory_streams_1[(_0x4ad976(0x1b9))](),_0x3751c1=this;_0x3751c1[_0x4ad976(0x16e)][_0x4ad976(0x181)](_0x4ad976(0x195)+_0xcae29e+'\x20for\x20request\x20id\x20'+_0x5052d6),(0x0,stream_1[_0x4ad976(0x158)])(_0x152fbb,_0xd0af6c,_0x531a14,_0x2b4268=>{const _0x326d84=_0x4ad976;if(_0x2b4268)_0x3751c1[_0x326d84(0x16e)][_0x326d84(0x166)]('Failed\x20to\x20zip\x20'+_0xcae29e+':\x20'+_0x2b4268);else{const _0xdbdf77={'uri':this[_0x326d84(0x1ae)]+encodeURIComponent(_0x5deb63['id'])+_0x326d84(0x1b1)+_0x5052d6,'method':_0x326d84(0x14d),'body':_0x531a14[_0x326d84(0x16b)](),'headers':{'Content-Type':_0x326d84(0x15e)}};_0x3751c1[_0x326d84(0x18f)](_0xdbdf77,_0x3bab50=>{const _0x190938=_0x326d84;_0x3bab50?_0x3751c1[_0x190938(0x16e)][_0x190938(0x166)](_0x190938(0x1af)+_0xcae29e+_0x190938(0x1a8)+_0x5052d6,_0x3bab50):(_0x3751c1[_0x190938(0x16e)][_0x190938(0x181)](_0x190938(0x16d)+_0xcae29e+_0x190938(0x1a8)+_0x5052d6),_0x3751c1[_0x190938(0x175)]=Date['now']());});}});}[a6_0xaedb9(0x194)](_0x3285fe){const _0x115073=a6_0xaedb9;this[_0x115073(0x16e)]['debug']('Transmitting\x20breakpoint\x20updates...'),this['transmissionTimeout']=undefined;const _0x417fe9=[];let _0x856f65=0x0;while(_0x417fe9[_0x115073(0x167)]<this[_0x115073(0x1e0)][_0x115073(0x1d1)]&&this[_0x115073(0x1cc)][_0x115073(0x167)]>0x0){const _0x469fdd=this[_0x115073(0x1cc)][0x0],_0x3a48d1=_0x469fdd[_0x115073(0x1e4)],_0x23dc71=(0x0,utils_1[_0x115073(0x19d)])(_0x3a48d1);_0x856f65+=_0x23dc71;if(_0x856f65<=this[_0x115073(0x1e0)][_0x115073(0x1c8)])_0x417fe9[_0x115073(0x185)](_0x469fdd),this[_0x115073(0x1cc)][_0x115073(0x1e5)]();else{_0x23dc71>this[_0x115073(0x1e0)][_0x115073(0x1c8)]&&_0x417fe9['length']===0x0&&(this[_0x115073(0x16e)][_0x115073(0x1c9)](_0x115073(0x162)+_0x469fdd['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x115073(0x1e0)]['transmissionBulkMaxNetworkSizeInBytes']+',\x20sending\x20only\x20one'),_0x417fe9[_0x115073(0x185)](_0x469fdd),this[_0x115073(0x1cc)][_0x115073(0x1e5)]());break;}}if(!_0x417fe9)return;const _0x1fb02e=_0x417fe9[_0x115073(0x177)](_0x1ac745=>_0x1ac745['id']),_0x26a032={'uri':this[_0x115073(0x1ae)]+encodeURIComponent(_0x3285fe)+'/breakpoints','json':!![],'method':_0x115073(0x14d),'body':'['+_0x417fe9[_0x115073(0x177)](_0x44f15c=>_0x44f15c[_0x115073(0x1e4)])['join'](',')+']'},_0x977883=this;try{this[_0x115073(0x18f)](_0x26a032,(_0xaf9cd4,_0x37bc85,_0x12603d)=>{const _0xda20f4=_0x115073,_0x139169=_0x12603d?.[_0xda20f4(0x1c4)];_0x977883[_0xda20f4(0x16e)]['debug'](_0xda20f4(0x174)+_0x1fb02e+_0xda20f4(0x1dc)+_0x139169);if(_0xaf9cd4||!_0x139169||Math[_0xda20f4(0x1e9)](_0x139169/0x64)!==0x2){const _0x1f12ff=_0x139169&&(_0x139169>=0x1f4||_0x139169===0x198);if(_0x1f12ff){_0x977883['logger'][_0xda20f4(0x1db)](_0xda20f4(0x1ab)+_0x1fb02e+_0xda20f4(0x1d4)+_0x139169+_0xda20f4(0x180)+_0xaf9cd4);for(const _0x4d0279 of _0x417fe9){_0x4d0279[_0xda20f4(0x198)]<MAX_FAILED_SEND_ATTEMPTS?_0x977883['transmissionQueue'][_0xda20f4(0x185)]({..._0x4d0279,'number':_0x4d0279[_0xda20f4(0x198)]+0x1}):_0x977883[_0xda20f4(0x16e)][_0xda20f4(0x1db)](_0xda20f4(0x1c7)+_0x4d0279['id']+_0xda20f4(0x1a9));}}else _0x977883[_0xda20f4(0x16e)][_0xda20f4(0x1db)](_0xda20f4(0x16c)+_0x1fb02e+_0xda20f4(0x1d4)+_0x139169+_0xda20f4(0x180)+_0xaf9cd4);}else _0x977883[_0xda20f4(0x16e)][_0xda20f4(0x181)](_0xda20f4(0x174)+_0x1fb02e+'\x20transmitted\x20successfully');_0x977883[_0xda20f4(0x1cc)][_0xda20f4(0x167)]>0x0&&(_0x977883[_0xda20f4(0x19f)]=setTimeout(()=>_0x977883[_0xda20f4(0x194)][_0xda20f4(0x1c5)](_0x977883)(_0x3285fe),0x0));},0x28);}catch(_0x4b1678){this[_0x115073(0x16e)][_0x115073(0x1db)](_0x115073(0x16c)+_0x1fb02e+_0x115073(0x188)+_0x4b1678+',\x20Message:\x20'+_0x4b1678[_0x115073(0x163)]?.[_0x115073(0x1b8)]),_0x977883[_0x115073(0x1cc)][_0x115073(0x167)]>0x0&&(_0x977883['transmissionTimeout']=setTimeout(()=>_0x977883[_0x115073(0x194)]['bind'](_0x977883)(_0x3285fe),0x0));}}async[a6_0xaedb9(0x16a)](_0x433f29){const _0x4ada8c=a6_0xaedb9;this['logger']['info'](_0x4ada8c(0x19c));const _0x64fe1e=this[_0x4ada8c(0x1ae)]+encodeURIComponent(_0x433f29)+_0x4ada8c(0x1c6),{error:_0x6a77a9,data:_0x2692d2}=await this[_0x4ada8c(0x18f)]({'uri':_0x64fe1e,'json':!![]});if(_0x6a77a9)return Promise[_0x4ada8c(0x192)](_0x6a77a9);return yaml[_0x4ada8c(0x1d2)](_0x2692d2)||{};}[a6_0xaedb9(0x18f)](_0x507739,_0x2d3319,_0x12afe0,_0x58b6d0){const _0x6c2252=a6_0xaedb9,_0x5aa41c={'Content-Type':_0x58b6d0?_0x58b6d0:_0x6c2252(0x1b2),'Authorization':_0x6c2252(0x161)+this['config']['lightrunSecret']},_0x316a26=axios_1[_0x6c2252(0x1e2)][_0x6c2252(0x17c)][_0x6c2252(0x1bf)](),_0x476508=_0x12afe0?_0x12afe0*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x6c2252(0x16e)]['debug']('timeout\x20set\x20to\x20'+_0x476508);const _0x79e2d=setTimeout(()=>{const _0x55e9a6=_0x6c2252;this[_0x55e9a6(0x16e)][_0x55e9a6(0x1db)](_0x55e9a6(0x1a5)+_0x476508+'ms'),_0x316a26[_0x55e9a6(0x17e)]();},_0x476508),_0x4189ae={'method':_0x507739[_0x6c2252(0x189)],'url':_0x507739[_0x6c2252(0x1bd)],'data':_0x507739[_0x6c2252(0x1b0)],'headers':_0x5aa41c,'cancelToken':_0x316a26[_0x6c2252(0x1ca)]};return extend(!![],_0x4189ae,_0x507739),this[_0x6c2252(0x1bb)]['request'](_0x4189ae)[_0x6c2252(0x184)](_0x1a04f2=>{const _0x4dbe85=_0x6c2252;return _0x2d3319?.(null,_0x1a04f2[_0x4dbe85(0x163)],_0x1a04f2),{'error':null,'data':_0x1a04f2[_0x4dbe85(0x163)],'res':_0x1a04f2};})[_0x6c2252(0x15f)](_0x3ec56d=>{const _0x5f726b=_0x6c2252;return _0x2d3319?.(_0x3ec56d,_0x3ec56d[_0x5f726b(0x17b)]?.[_0x5f726b(0x163)],_0x3ec56d[_0x5f726b(0x17b)]),{'error':_0x3ec56d,'data':_0x3ec56d['response']?.[_0x5f726b(0x163)],'res':_0x3ec56d[_0x5f726b(0x17b)]};})[_0x6c2252(0x183)](()=>clearTimeout(_0x79e2d));}async[a6_0xaedb9(0x14e)](_0x154e4d){const _0x1e69f8=a6_0xaedb9;this[_0x1e69f8(0x16e)]['info'](_0x1e69f8(0x14b));const _0x6892ef=this['apiUrl']+encodeURIComponent(_0x154e4d)+'/redaction',{error:_0x4e52cf,data:_0x9d1837}=await this[_0x1e69f8(0x18f)]({'uri':_0x6892ef,'json':!![]});if(_0x4e52cf)return Promise['reject'](_0x4e52cf);return _0x9d1837;}}exports[a6_0xaedb9(0x1e6)]=Controller;function is2xx(_0x13a4b3){const _0x2b6eab=a6_0xaedb9;return Math[_0x2b6eab(0x1e9)](_0x13a4b3/0x64)===0x2;}function getProxyAgent(_0x242177,_0x2f429f){const _0x42fcdb=a6_0xaedb9,_0x2184c4=_0x242177['proxy'];if(!_0x2184c4?.[_0x42fcdb(0x18a)])return undefined;if(!_0x2184c4['port'])return _0x2f429f[_0x42fcdb(0x166)]('Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration'),undefined;_0x2f429f[_0x42fcdb(0x181)](_0x42fcdb(0x18e)+_0x2184c4[_0x42fcdb(0x18a)]+':'+_0x2184c4[_0x42fcdb(0x1c1)]+_0x42fcdb(0x176)+(_0x2184c4['username']??''));const _0x3b1c1e=new HttpsProxyAgent({'host':_0x2184c4[_0x42fcdb(0x18a)],'port':_0x2184c4[_0x42fcdb(0x1c1)],'auth':_0x2184c4[_0x42fcdb(0x1b7)]||_0x2184c4[_0x42fcdb(0x15d)]?(_0x2184c4[_0x42fcdb(0x1b7)]??'')+':'+(_0x2184c4['password']??''):undefined}),_0x200de0=_0x3b1c1e[_0x42fcdb(0x1be)][_0x42fcdb(0x1c5)](_0x3b1c1e),_0x42f11b=getHttpsAgentOptions(_0x242177,_0x2f429f);return _0x3b1c1e[_0x42fcdb(0x1be)]=(_0x459633,_0x23efba)=>{return _0x200de0(_0x459633,{..._0x23efba,..._0x42f11b});},_0x3b1c1e;}function getHttpsAgentOptions(_0x4aecc5,_0x2dce1a){const _0x594c8a=a6_0xaedb9,_0x353a44={'checkServerIdentity':(_0x2dd13b,_0x584caf)=>{const _0x5cac23=a6_0x39ce;if(_0x4aecc5[_0x5cac23(0x1cb)])return undefined;const _0x1f3b9d=(0x0,crypto_1[_0x5cac23(0x1e1)])(_0x5cac23(0x1a6))[_0x5cac23(0x178)](_0x584caf[_0x5cac23(0x157)])['digest'](_0x5cac23(0x153));return _0x4aecc5[_0x5cac23(0x1d6)]['includes'](_0x1f3b9d)?undefined:new Error(_0x5cac23(0x159));}};let _0x3db970;if(_0x4aecc5[_0x594c8a(0x1cf)])try{_0x3db970=(0x0,fs_1[_0x594c8a(0x18d)])(_0x4aecc5['caPath'],_0x594c8a(0x160));}catch(_0xf03e0d){_0x2dce1a[_0x594c8a(0x1db)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x4aecc5[_0x594c8a(0x1cf)]+_0x594c8a(0x1c2));}if(_0x3db970){const _0x5d8244=(0x0,tls_1[_0x594c8a(0x186)])(_0x353a44);_0x5d8244[_0x594c8a(0x1cd)]['addCACert'](_0x3db970),_0x353a44[_0x594c8a(0x1b3)]=_0x5d8244;}return _0x353a44;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x208411=a7_0x46c7;function a7_0x5975(){const _0x3a6409=['default','5IEEKcm','./getPlatform','module','3196848lMDOZx','createDebuggee','3077238IFkTyX','search','version','21yEftXv','string','serviceContext','minorVersion_','(((.+)+)+)+$','name','9uxDFCL','base64','relative','../../client/stackdriver/status-message','2jZaEmY','./createUniquifier','Debuggee','service','createUniquifier','1106505JVtnKT','sourceContexts','__esModule','StatusMessage','../../debuggee','from','41204526ZvZayX','2628888EBKgIJ','6640650CEImXl','5859472NoaCja','toString','utf-8','UNSPECIFIED','versions'];a7_0x5975=function(){return _0x3a6409;};return a7_0x5975();}(function(_0x5a4faf,_0x554622){const _0x2a79c7=a7_0x46c7,_0x4802dc=_0x5a4faf();while(!![]){try{const _0x252d5c=parseInt(_0x2a79c7(0x1d6))/0x1*(parseInt(_0x2a79c7(0x1f7))/0x2)+parseInt(_0x2a79c7(0x1ea))/0x3+-parseInt(_0x2a79c7(0x1df))/0x4*(-parseInt(_0x2a79c7(0x1e5))/0x5)+parseInt(_0x2a79c7(0x1dd))/0x6*(parseInt(_0x2a79c7(0x1ed))/0x7)+parseInt(_0x2a79c7(0x1e8))/0x8*(parseInt(_0x2a79c7(0x1f3))/0x9)+-parseInt(_0x2a79c7(0x1de))/0xa+-parseInt(_0x2a79c7(0x1dc))/0xb;if(_0x252d5c===_0x554622)break;else _0x4802dc['push'](_0x4802dc['shift']());}catch(_0x266efb){_0x4802dc['push'](_0x4802dc['shift']());}}}(a7_0x5975,0xdc076));function a7_0x46c7(_0x2ff754,_0x17db34){const _0x4d4339=a7_0x5975();return a7_0x46c7=function(_0x5058c8,_0x4eca0c){_0x5058c8=_0x5058c8-0x1d2;let _0x5975b2=_0x4d4339[_0x5058c8];return _0x5975b2;},a7_0x46c7(_0x2ff754,_0x17db34);}const a7_0x4eca0c=(function(){let _0x4ac730=!![];return function(_0xe9533e,_0x186912){const _0x8768f1=_0x4ac730?function(){if(_0x186912){const _0x16bbd0=_0x186912['apply'](_0xe9533e,arguments);return _0x186912=null,_0x16bbd0;}}:function(){};return _0x4ac730=![],_0x8768f1;};}()),a7_0x5058c8=a7_0x4eca0c(this,function(){const _0x3181e9=a7_0x46c7;return a7_0x5058c8['toString']()[_0x3181e9(0x1eb)](_0x3181e9(0x1f1))['toString']()['constructor'](a7_0x5058c8)[_0x3181e9(0x1eb)](_0x3181e9(0x1f1));});a7_0x5058c8();'use strict';Object['defineProperty'](exports,a7_0x208411(0x1d8),{'value':!![]}),exports['createDebuggee']=exports['encodeBase64']=void 0x0;const path=require('path'),status_message_1=require(a7_0x208411(0x1f6)),debuggee_1=require(a7_0x208411(0x1da)),createDebuggeeMetadata_1=require('./createDebuggeeMetadata'),createUniquifier_1=require(a7_0x208411(0x1d2)),getPlatform_1=require(a7_0x208411(0x1e6)),encodeBase64=_0x4192a2=>Buffer[a7_0x208411(0x1db)](_0x4192a2,a7_0x208411(0x1e1))[a7_0x208411(0x1e0)](a7_0x208411(0x1f4));exports['encodeBase64']=encodeBase64;const createDebuggee=(_0x445aac,_0x151243,_0x4dfe1d,_0x375b29,_0x3bbb50,_0x1e346f,_0x3f9380,_0x5ba975)=>{const _0x184fd7=a7_0x208411,_0x585c64=process['cwd'](),_0x27d06f=path[_0x184fd7(0x1f5)](_0x585c64,process['argv'][0x1]),_0x3c0010={'main\x20script':_0x27d06f,'process.title':process['title'],'node\x20version':process[_0x184fd7(0x1e3)]['node'],'V8\x20version':process[_0x184fd7(0x1e3)]['v8'],'agent.name':_0x375b29[_0x184fd7(0x1f2)],'agent.version':_0x3bbb50,'platform':(0x0,getPlatform_1['getPlatform'])()},_0x533a7d=_0x151243[_0x184fd7(0x1ef)];_0x533a7d&&(typeof _0x533a7d[_0x184fd7(0x1d4)]==='string'&&_0x533a7d[_0x184fd7(0x1d4)]!==_0x184fd7(0x1e4)&&(_0x3c0010[_0x184fd7(0x1e7)]=_0x533a7d['service']),typeof _0x533a7d[_0x184fd7(0x1ec)]==='string'&&(_0x3c0010[_0x184fd7(0x1ec)]=_0x533a7d[_0x184fd7(0x1ec)]),typeof _0x533a7d[_0x184fd7(0x1f0)]===_0x184fd7(0x1ee)&&(_0x3c0010['minorversion']=_0x533a7d[_0x184fd7(0x1f0)]));const _0x46329f=(0x0,createUniquifier_1[_0x184fd7(0x1d5)])(_0x3bbb50,_0x445aac,_0x4dfe1d,_0x3c0010),_0x3a9abd=_0x5ba975?new status_message_1[(_0x184fd7(0x1d9))](status_message_1['StatusMessage'][_0x184fd7(0x1e2)],_0x5ba975,!![]):undefined,_0x2d2581=(0x0,createDebuggeeMetadata_1['createDebuggeeMetadata'])(_0x151243,_0x1e346f),_0x325b49={'uniquifier':_0x46329f,'agentVersion':_0x3bbb50,'labels':{'metadataV2':(0x0,exports['encodeBase64'])(JSON['stringify'](_0x2d2581))},'statusMessage':_0x3a9abd,'packageInfo':_0x375b29,..._0x3f9380};return _0x4dfe1d&&(_0x325b49[_0x184fd7(0x1d7)]=[_0x4dfe1d]),new debuggee_1[(_0x184fd7(0x1d3))](_0x325b49);};exports[a7_0x208411(0x1e9)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x43a2cb=a8_0x46d9;(function(_0x54c9fe,_0x4df986){const _0x3e27f4=a8_0x46d9,_0x2e7d24=_0x54c9fe();while(!![]){try{const _0x482ffe=-parseInt(_0x3e27f4(0x1f8))/0x1+-parseInt(_0x3e27f4(0x1ed))/0x2*(-parseInt(_0x3e27f4(0x1f5))/0x3)+parseInt(_0x3e27f4(0x1e7))/0x4+parseInt(_0x3e27f4(0x1f7))/0x5*(-parseInt(_0x3e27f4(0x1f1))/0x6)+parseInt(_0x3e27f4(0x1e6))/0x7+-parseInt(_0x3e27f4(0x1f0))/0x8+parseInt(_0x3e27f4(0x1ef))/0x9;if(_0x482ffe===_0x4df986)break;else _0x2e7d24['push'](_0x2e7d24['shift']());}catch(_0x141407){_0x2e7d24['push'](_0x2e7d24['shift']());}}}(a8_0x12a2,0x8eb8a));const a8_0x92ab0c=(function(){let _0x33c5cf=!![];return function(_0x499e01,_0x37b49c){const _0x448313=_0x33c5cf?function(){const _0x3e98c2=a8_0x46d9;if(_0x37b49c){const _0x45ebb2=_0x37b49c[_0x3e98c2(0x1f3)](_0x499e01,arguments);return _0x37b49c=null,_0x45ebb2;}}:function(){};return _0x33c5cf=![],_0x448313;};}()),a8_0x240070=a8_0x92ab0c(this,function(){const _0x457628=a8_0x46d9;return a8_0x240070[_0x457628(0x1f4)]()[_0x457628(0x1e4)](_0x457628(0x1ee))[_0x457628(0x1f4)]()['constructor'](a8_0x240070)[_0x457628(0x1e4)]('(((.+)+)+)+$');});function a8_0x12a2(){const _0xd13f7a=['531327qGJkFr','tags','string','Failed\x20to\x20read\x20metadata\x20file\x20','map','parse','search','readFileSync','166383WYUrSR','2119352BKbxIp','metadata','registration','defineProperty','extend','createDebuggeeMetadata','7606tXkiMl','(((.+)+)+)+$','10551564XkYlJN','4403592INRKDT','235968yYgFeU','utf-8','apply','toString','15gwrYEY','filename','10GaAlOq'];a8_0x12a2=function(){return _0xd13f7a;};return a8_0x12a2();}a8_0x240070();function a8_0x46d9(_0x215ecd,_0x53a289){const _0x1ee8d9=a8_0x12a2();return a8_0x46d9=function(_0x240070,_0x92ab0c){_0x240070=_0x240070-0x1e0;let _0x12a292=_0x1ee8d9[_0x240070];return _0x12a292;},a8_0x46d9(_0x215ecd,_0x53a289);}'use strict';Object[a8_0x43a2cb(0x1ea)](exports,'__esModule',{'value':!![]}),exports[a8_0x43a2cb(0x1ec)]=void 0x0;const fs=require('fs'),extend=require(a8_0x43a2cb(0x1eb)),createDebuggeeMetadata=(_0x52d494,_0x14c82b)=>{const _0x9c003=a8_0x43a2cb;let _0x5b5a50={'registration':{}};if(_0x52d494[_0x9c003(0x1e8)]?.[_0x9c003(0x1f6)])try{_0x5b5a50=JSON[_0x9c003(0x1e3)](fs[_0x9c003(0x1e5)](_0x52d494[_0x9c003(0x1e8)]['filename'],_0x9c003(0x1f2)));}catch(_0x3a868b){_0x14c82b['warn'](_0x9c003(0x1e1)+_0x52d494[_0x9c003(0x1e8)][_0x9c003(0x1f6)],_0x3a868b);}return _0x5b5a50[_0x9c003(0x1e9)]=extend(!![],{},_0x52d494['metadata']?.[_0x9c003(0x1e9)],_0x5b5a50['registration']),_0x5b5a50[_0x9c003(0x1e9)]?.[_0x9c003(0x1f9)]&&(_0x5b5a50[_0x9c003(0x1e9)][_0x9c003(0x1f9)]=_0x5b5a50[_0x9c003(0x1e9)][_0x9c003(0x1f9)][_0x9c003(0x1e2)](_0x3dbde6=>typeof _0x3dbde6===_0x9c003(0x1e0)?{'name':_0x3dbde6}:_0x3dbde6)),_0x5b5a50;};exports[a8_0x43a2cb(0x1ec)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x52aad5=a9_0x100b;function a9_0x3fde(){const _0x1907eb=['7MnsWns','toString','1853975lDCPDe','createHash','451773cWzTVp','sha1','(((.+)+)+)+$','search','constructor','__esModule','createUniquifier','8pLCSNp','crypto','11fHUgCi','46334dXUXSi','24ADWFLB','5880352mrWMsd','update','stringify','820272JNSCeE','1476730CFTffo','99549ptVRbw','defineProperty'];a9_0x3fde=function(){return _0x1907eb;};return a9_0x3fde();}function a9_0x100b(_0x340bec,_0x5ef853){const _0x1abefe=a9_0x3fde();return a9_0x100b=function(_0x3593b9,_0xe4f592){_0x3593b9=_0x3593b9-0x65;let _0x3fde7c=_0x1abefe[_0x3593b9];return _0x3fde7c;},a9_0x100b(_0x340bec,_0x5ef853);}(function(_0x6755dd,_0x11a051){const _0x10f8df=a9_0x100b,_0x2b6471=_0x6755dd();while(!![]){try{const _0x1b77be=-parseInt(_0x10f8df(0x75))/0x1*(-parseInt(_0x10f8df(0x76))/0x2)+-parseInt(_0x10f8df(0x6b))/0x3+-parseInt(_0x10f8df(0x72))/0x4*(parseInt(_0x10f8df(0x69))/0x5)+-parseInt(_0x10f8df(0x7a))/0x6*(parseInt(_0x10f8df(0x67))/0x7)+parseInt(_0x10f8df(0x77))/0x8+-parseInt(_0x10f8df(0x65))/0x9+parseInt(_0x10f8df(0x7b))/0xa*(parseInt(_0x10f8df(0x74))/0xb);if(_0x1b77be===_0x11a051)break;else _0x2b6471['push'](_0x2b6471['shift']());}catch(_0x40b5e5){_0x2b6471['push'](_0x2b6471['shift']());}}}(a9_0x3fde,0x615b3));const a9_0xe4f592=(function(){let _0x2a4403=!![];return function(_0x140a51,_0x288d82){const _0x4c823d=_0x2a4403?function(){if(_0x288d82){const _0x17c15a=_0x288d82['apply'](_0x140a51,arguments);return _0x288d82=null,_0x17c15a;}}:function(){};return _0x2a4403=![],_0x4c823d;};}()),a9_0x3593b9=a9_0xe4f592(this,function(){const _0xdebd24=a9_0x100b;return a9_0x3593b9[_0xdebd24(0x68)]()[_0xdebd24(0x6e)](_0xdebd24(0x6d))[_0xdebd24(0x68)]()[_0xdebd24(0x6f)](a9_0x3593b9)[_0xdebd24(0x6e)](_0xdebd24(0x6d));});a9_0x3593b9();'use strict';Object[a9_0x52aad5(0x66)](exports,a9_0x52aad5(0x70),{'value':!![]}),exports[a9_0x52aad5(0x71)]=void 0x0;const crypto=require(a9_0x52aad5(0x73)),createUniquifier=(_0x189ff2,_0x5b34db,_0x47123a,_0x39eb61)=>{const _0x1853ca=a9_0x52aad5,_0x34d4ca=_0x189ff2+_0x5b34db+JSON[_0x1853ca(0x79)](_0x47123a)+JSON[_0x1853ca(0x79)](_0x39eb61);return crypto[_0x1853ca(0x6a)](_0x1853ca(0x6c))[_0x1853ca(0x78)](_0x34d4ca)['digest']('hex');};exports[a9_0x52aad5(0x71)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x46f4a1=a10_0x1389;(function(_0x11158c,_0x27ac69){const _0x5dd2f4=a10_0x1389,_0x22996a=_0x11158c();while(!![]){try{const _0x35e46c=parseInt(_0x5dd2f4(0x136))/0x1+parseInt(_0x5dd2f4(0x13c))/0x2+-parseInt(_0x5dd2f4(0x137))/0x3+parseInt(_0x5dd2f4(0x132))/0x4*(-parseInt(_0x5dd2f4(0x131))/0x5)+parseInt(_0x5dd2f4(0x139))/0x6*(-parseInt(_0x5dd2f4(0x13b))/0x7)+parseInt(_0x5dd2f4(0x135))/0x8+-parseInt(_0x5dd2f4(0x134))/0x9*(-parseInt(_0x5dd2f4(0x12f))/0xa);if(_0x35e46c===_0x27ac69)break;else _0x22996a['push'](_0x22996a['shift']());}catch(_0x1431ea){_0x22996a['push'](_0x22996a['shift']());}}}(a10_0x5777,0x7c29b));function a10_0x5777(){const _0x718ab4=['18487ofThed','430192UQXTtg','apply','(((.+)+)+)+$','constructor','length','search','delimit','470hEcZOy','push','88030hGcsOM','40YlSgTz','toString','153477TOFioM','5306816BmQRKo','63186pBMmzb','2216799YuDpab','split','726Uapoby','__esModule'];a10_0x5777=function(){return _0x718ab4;};return a10_0x5777();}const a10_0x45488b=(function(){let _0xcd276d=!![];return function(_0x3ef714,_0x1f0ec1){const _0x34eb88=_0xcd276d?function(){const _0x32f5f5=a10_0x1389;if(_0x1f0ec1){const _0x59e10b=_0x1f0ec1[_0x32f5f5(0x13d)](_0x3ef714,arguments);return _0x1f0ec1=null,_0x59e10b;}}:function(){};return _0xcd276d=![],_0x34eb88;};}()),a10_0x6c486=a10_0x45488b(this,function(){const _0x13993d=a10_0x1389;return a10_0x6c486[_0x13993d(0x133)]()[_0x13993d(0x141)](_0x13993d(0x13e))[_0x13993d(0x133)]()[_0x13993d(0x13f)](a10_0x6c486)['search'](_0x13993d(0x13e));});a10_0x6c486();'use strict';Object['defineProperty'](exports,a10_0x46f4a1(0x13a),{'value':!![]}),exports['delimit']=void 0x0;const delimit=(_0x5d3edf,_0xe80703)=>{const _0x3174b0=a10_0x46f4a1,_0x34f1e5=_0x5d3edf[_0x3174b0(0x138)](_0xe80703),_0x49a3ac=[];_0x49a3ac['push'](_0x34f1e5[0x0]);for(let _0x512c59=0x1;_0x512c59<_0x34f1e5[_0x3174b0(0x140)];_0x512c59++){_0x49a3ac[_0x3174b0(0x130)]({'v':_0xe80703},_0x34f1e5[_0x512c59]);}return _0x49a3ac;};function a10_0x1389(_0x4ae7b0,_0x4237bb){const _0x2b036e=a10_0x5777();return a10_0x1389=function(_0x6c486,_0x45488b){_0x6c486=_0x6c486-0x12f;let _0x577754=_0x2b036e[_0x6c486];return _0x577754;},a10_0x1389(_0x4ae7b0,_0x4237bb);}exports[a10_0x46f4a1(0x142)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x14f41d=a11_0x3474;(function(_0x1ebf02,_0x339db0){const _0x2831d7=a11_0x3474,_0x2a1e67=_0x1ebf02();while(!![]){try{const _0x2d5222=parseInt(_0x2831d7(0x88))/0x1+parseInt(_0x2831d7(0x8f))/0x2*(-parseInt(_0x2831d7(0x90))/0x3)+parseInt(_0x2831d7(0x80))/0x4+parseInt(_0x2831d7(0x7c))/0x5+-parseInt(_0x2831d7(0x8d))/0x6*(-parseInt(_0x2831d7(0x7b))/0x7)+-parseInt(_0x2831d7(0x81))/0x8*(-parseInt(_0x2831d7(0x86))/0x9)+-parseInt(_0x2831d7(0x87))/0xa;if(_0x2d5222===_0x339db0)break;else _0x2a1e67['push'](_0x2a1e67['shift']());}catch(_0x46f2c2){_0x2a1e67['push'](_0x2a1e67['shift']());}}}(a11_0x4784,0x74347));const a11_0x47f135=(function(){let _0x225cbb=!![];return function(_0x4f1287,_0x31568b){const _0x389b6f=_0x225cbb?function(){const _0x48e0eb=a11_0x3474;if(_0x31568b){const _0x529ccb=_0x31568b[_0x48e0eb(0x85)](_0x4f1287,arguments);return _0x31568b=null,_0x529ccb;}}:function(){};return _0x225cbb=![],_0x389b6f;};}()),a11_0x2b18ab=a11_0x47f135(this,function(){const _0x1b2aae=a11_0x3474;return a11_0x2b18ab[_0x1b2aae(0x8c)]()[_0x1b2aae(0x7d)]('(((.+)+)+)+$')[_0x1b2aae(0x8c)]()[_0x1b2aae(0x82)](a11_0x2b18ab)[_0x1b2aae(0x7d)](_0x1b2aae(0x8a));});a11_0x2b18ab();function a11_0x3474(_0x506461,_0x2221bb){const _0x553e3e=a11_0x4784();return a11_0x3474=function(_0x2b18ab,_0x47f135){_0x2b18ab=_0x2b18ab-0x7b;let _0x478401=_0x553e3e[_0x2b18ab];return _0x478401;},a11_0x3474(_0x506461,_0x2221bb);}function a11_0x4784(){const _0x469e60=['33LwTBXi','9254BsDhyw','3482705UBNIlJ','search','format','length','246020btZWSc','8yDcpwU','constructor','test','tokenize','apply','7866774Txuspe','23772860ynoNpn','781830qVTLcY','substring','(((.+)+)+)+$','./tokenize','toString','2154Yhzufm','__esModule','6418EPbItz'];a11_0x4784=function(){return _0x469e60;};return a11_0x4784();}'use strict';Object['defineProperty'](exports,a11_0x14f41d(0x8e),{'value':!![]}),exports['format']=void 0x0;const tokenize_1=require(a11_0x14f41d(0x8b)),format=(_0xe8981a,_0x2eaee1)=>{const _0x5d712e=a11_0x14f41d,_0x1d54f6=(0x0,tokenize_1[_0x5d712e(0x84)])(_0xe8981a,_0x2eaee1[_0x5d712e(0x7f)]);for(let _0x3dc166=0x0;_0x3dc166<_0x1d54f6[_0x5d712e(0x7f)];_0x3dc166++){if(!_0x1d54f6[_0x3dc166]['v'])continue;if(_0x1d54f6[_0x3dc166]['v']==='$$'){_0x1d54f6[_0x3dc166]='$';continue;}for(let _0x99814d=0x0;_0x99814d<_0x2eaee1[_0x5d712e(0x7f)];_0x99814d++){if(_0x1d54f6[_0x3dc166]['v']==='$'+_0x99814d){let _0x2b5de1=_0x2eaee1[_0x99814d];/^".*"$/[_0x5d712e(0x83)](_0x2b5de1)&&(_0x2b5de1=_0x2b5de1[_0x5d712e(0x89)](0x1,_0x2b5de1[_0x5d712e(0x7f)]-0x1));_0x1d54f6[_0x3dc166]=_0x2b5de1;break;}}}return _0x1d54f6['join']('');};exports[a11_0x14f41d(0x7e)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x539f87=a12_0x3f10;(function(_0x22e18e,_0x17c0b8){const _0x1ed189=a12_0x3f10,_0x2c0827=_0x22e18e();while(!![]){try{const _0x5800a9=parseInt(_0x1ed189(0xd4))/0x1+-parseInt(_0x1ed189(0xba))/0x2*(parseInt(_0x1ed189(0xda))/0x3)+-parseInt(_0x1ed189(0xc8))/0x4+-parseInt(_0x1ed189(0xbb))/0x5*(parseInt(_0x1ed189(0xc4))/0x6)+-parseInt(_0x1ed189(0xd5))/0x7+-parseInt(_0x1ed189(0xbd))/0x8+-parseInt(_0x1ed189(0xd8))/0x9*(-parseInt(_0x1ed189(0xc9))/0xa);if(_0x5800a9===_0x17c0b8)break;else _0x2c0827['push'](_0x2c0827['shift']());}catch(_0x260123){_0x2c0827['push'](_0x2c0827['shift']());}}}(a12_0x2b94,0x68f1c));const a12_0x119a90=(function(){let _0x2b2dd1=!![];return function(_0x39d2c2,_0x4d4492){const _0x39bcf3=_0x2b2dd1?function(){if(_0x4d4492){const _0x8bc192=_0x4d4492['apply'](_0x39d2c2,arguments);return _0x4d4492=null,_0x8bc192;}}:function(){};return _0x2b2dd1=![],_0x39bcf3;};}()),a12_0x55a10e=a12_0x119a90(this,function(){const _0x208a9e=a12_0x3f10;return a12_0x55a10e[_0x208a9e(0xb9)]()[_0x208a9e(0xd9)]('(((.+)+)+)+$')[_0x208a9e(0xb9)]()[_0x208a9e(0xbe)](a12_0x55a10e)[_0x208a9e(0xd9)](_0x208a9e(0xd2));});a12_0x55a10e();function a12_0x3f10(_0x3d3a03,_0xa2d52e){const _0x424d86=a12_0x2b94();return a12_0x3f10=function(_0x55a10e,_0x119a90){_0x55a10e=_0x55a10e-0xb3;let _0x2b9487=_0x424d86[_0x55a10e];return _0x2b9487;},a12_0x3f10(_0x3d3a03,_0xa2d52e);}'use strict';Object[a12_0x539f87(0xc3)](exports,'__esModule',{'value':!![]}),exports['getAgentConfig']=void 0x0;const properties=require(a12_0x539f87(0xc6)),fs=require('fs'),getAgentConfig=_0x4c1e36=>{const _0x1e8aa0=a12_0x539f87;if(fs[_0x1e8aa0(0xcd)](_0x4c1e36)){const _0x9305ea=properties['of'](_0x4c1e36);return{'lightrunSecret':_0x9305ea[_0x1e8aa0(0xce)](_0x1e8aa0(0xd7)),'apiEndpoint':_0x9305ea['getFirst'](_0x1e8aa0(0xb3)),'breakpointExpirationSec':_0x9305ea[_0x1e8aa0(0xbc)]('breakpoint_expiration_sec'),'transmissionBulkMaxSize':_0x9305ea[_0x1e8aa0(0xbc)](_0x1e8aa0(0xc1)),'noCheckCertificate':_0x9305ea[_0x1e8aa0(0xb5)]('noCheckCertificate'),'pinnedCerts':_0x9305ea[_0x1e8aa0(0xce)]('pinned_certs')?.[_0x1e8aa0(0xbf)](','),'metadata':{'filename':_0x9305ea['getFirst']('agent_regmetadata_file')},'capture':{'maxFrames':_0x9305ea['getInt'](_0x1e8aa0(0xb7)),'maxDataSize':_0x9305ea[_0x1e8aa0(0xbc)]('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x9305ea['getInt'](_0x1e8aa0(0xc7)),'maxVariableSize':_0x9305ea['getInt']('max_variable_size'),'maxWatchListVariableSize':_0x9305ea[_0x1e8aa0(0xbc)]('max_watchlist_variable_size')},'agentLog':{'collectCooldownMs':_0x9305ea[_0x1e8aa0(0xbc)]('collect_log_cooldown_ms'),'agentLogTargetDir':_0x9305ea[_0x1e8aa0(0xce)](_0x1e8aa0(0xd0)),'agentLogLevel':_0x9305ea['getFirst'](_0x1e8aa0(0xc0)),'agentLogMaxFileCount':_0x9305ea[_0x1e8aa0(0xbc)](_0x1e8aa0(0xcf)),'agentLogMaxFileSizeMb':_0x9305ea['getInt'](_0x1e8aa0(0xcc)),'maxLogFileBytes':_0x9305ea[_0x1e8aa0(0xbc)]('max_log_file_bytes')},'quota':{'ignoreQuota':_0x9305ea[_0x1e8aa0(0xb5)](_0x1e8aa0(0xcb)),'maxCPUCost':_0x9305ea['getFloat']('max_log_cpu_cost'),'maxConditionCost':_0x9305ea[_0x1e8aa0(0xd3)](_0x1e8aa0(0xd1)),'maxDynamicLogRate':_0x9305ea[_0x1e8aa0(0xbc)]('max_dynamic_log_rate'),'maxDynamicLogByteRate':_0x9305ea['getInt'](_0x1e8aa0(0xdb)),'quotaRecoverySeconds':_0x9305ea['getInt']('dynamic_log_quota_recovery_ms')&&_0x9305ea[_0x1e8aa0(0xbc)]('dynamic_log_quota_recovery_ms')/0x3e8},'fetchBreakpointsOnce':_0x9305ea[_0x1e8aa0(0xb5)](_0x1e8aa0(0xca)),'extraPaths':_0x9305ea[_0x1e8aa0(0xce)](_0x1e8aa0(0xc2))?.[_0x1e8aa0(0xbf)](',')?.['map'](_0x1d3509=>_0x1d3509[_0x1e8aa0(0xb6)]()),'proxy':{'host':_0x9305ea[_0x1e8aa0(0xce)](_0x1e8aa0(0xc5)),'port':_0x9305ea['getInt'](_0x1e8aa0(0xb8)),'username':_0x9305ea[_0x1e8aa0(0xce)]('proxy_username'),'password':_0x9305ea[_0x1e8aa0(0xce)](_0x1e8aa0(0xb4))}};}return;};exports[a12_0x539f87(0xd6)]=getAgentConfig;function a12_0x2b94(){const _0x27af81=['agent_log_level','transmission_bulk_max_size','extra_paths','defineProperty','126AYLNlv','proxy_host','java-properties','max_snapshot_buffer_size','850064gHmEZA','15338310ESYMGC','fetch_breakpoints_once','ignore_quota','agent_log_max_file_size_mb','existsSync','getFirst','agent_log_max_file_count','agent_log_target_dir','max_condition_cost','(((.+)+)+)+$','getFloat','800149SjGfTC','3233139OijvsZ','getAgentConfig','com.lightrun.secret','9aMPjce','search','103881skvcgf','max_dynamic_log_bytes_rate','apiEndpoint','proxy_password','getBoolean','trim','max_snapshot_frame_count','proxy_port','toString','26gClYms','13055EZTTRh','getInt','5798024cqhnQn','constructor','split'];a12_0x2b94=function(){return _0x27af81;};return a12_0x2b94();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a13_0x46e1(_0x9de223,_0x11cd31){const _0x470e73=a13_0x30d4();return a13_0x46e1=function(_0x1ae7a5,_0x1ad58b){_0x1ae7a5=_0x1ae7a5-0xe6;let _0x30d4bc=_0x470e73[_0x1ae7a5];return _0x30d4bc;},a13_0x46e1(_0x9de223,_0x11cd31);}const a13_0x1b337a=a13_0x46e1;(function(_0xa28949,_0x8989ef){const _0x383d00=a13_0x46e1,_0x3dbc2a=_0xa28949();while(!![]){try{const _0x1ea52c=-parseInt(_0x383d00(0xfa))/0x1*(parseInt(_0x383d00(0xf9))/0x2)+parseInt(_0x383d00(0xef))/0x3*(parseInt(_0x383d00(0xf3))/0x4)+parseInt(_0x383d00(0xeb))/0x5*(parseInt(_0x383d00(0xfe))/0x6)+-parseInt(_0x383d00(0xe8))/0x7*(-parseInt(_0x383d00(0xf0))/0x8)+-parseInt(_0x383d00(0xfb))/0x9*(parseInt(_0x383d00(0xed))/0xa)+parseInt(_0x383d00(0xf6))/0xb+-parseInt(_0x383d00(0xff))/0xc*(parseInt(_0x383d00(0xf7))/0xd);if(_0x1ea52c===_0x8989ef)break;else _0x3dbc2a['push'](_0x3dbc2a['shift']());}catch(_0xbb129c){_0x3dbc2a['push'](_0x3dbc2a['shift']());}}}(a13_0x30d4,0xd9a59));function a13_0x30d4(){const _0x2a850e=['132TWMoAN','constructor','CLOUD_FUNCTION','425243tBZWCX','DEFAULT','env','1644245gUNvvi','getPlatform','10KaWdnD','defineProperty','49443uTSFpH','48OGdcCY','default','apply','136nxtGKb','search','Platforms','19096891uqBCfV','21151alguno','toString','2765870QiupUA','1SrtXKK','6277185sUEMPe','(((.+)+)+)+$','cloud_function','6VasImV'];a13_0x30d4=function(){return _0x2a850e;};return a13_0x30d4();}Object[a13_0x1b337a(0xee)](exports,'__esModule',{'value':!![]}),exports[a13_0x1b337a(0xec)]=exports[a13_0x1b337a(0xf5)]=void 0x0;var Platforms;(function(_0x51f3ef){const _0x28769c=a13_0x1b337a,_0x2fe1d3=(function(){let _0x3ceb94=!![];return function(_0x46c6c0,_0x3609e7){const _0x21bc75=_0x3ceb94?function(){const _0xa13d48=a13_0x46e1;if(_0x3609e7){const _0x24177a=_0x3609e7[_0xa13d48(0xf2)](_0x46c6c0,arguments);return _0x3609e7=null,_0x24177a;}}:function(){};return _0x3ceb94=![],_0x21bc75;};}()),_0xffbcf1=_0x2fe1d3(this,function(){const _0x590bfc=a13_0x46e1;return _0xffbcf1[_0x590bfc(0xf8)]()[_0x590bfc(0xf4)](_0x590bfc(0xfc))[_0x590bfc(0xf8)]()[_0x590bfc(0xe6)](_0xffbcf1)[_0x590bfc(0xf4)](_0x590bfc(0xfc));});_0xffbcf1(),_0x51f3ef[_0x28769c(0xe7)]=_0x28769c(0xfd),_0x51f3ef[_0x28769c(0xe9)]=_0x28769c(0xf1);}(Platforms||(exports[a13_0x1b337a(0xf5)]=Platforms={})));const getPlatform=()=>{const _0x1716cb=a13_0x1b337a,{FUNCTION_NAME:_0x3a5339,FUNCTION_TARGET:_0x59e56e}=process[_0x1716cb(0xea)];if(_0x3a5339||_0x59e56e)return Platforms[_0x1716cb(0xe7)];return Platforms[_0x1716cb(0xe9)];};exports[a13_0x1b337a(0xec)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x2fbcd6=a14_0x2ffb;function a14_0x2ffb(_0x4df8af,_0x4557d6){const _0x5548de=a14_0x379c();return a14_0x2ffb=function(_0x8e3bc6,_0x4b11dd){_0x8e3bc6=_0x8e3bc6-0x13b;let _0x379c8d=_0x5548de[_0x8e3bc6];return _0x379c8d;},a14_0x2ffb(_0x4df8af,_0x4557d6);}(function(_0x201717,_0x650236){const _0x1ad0ef=a14_0x2ffb,_0x4ea8fd=_0x201717();while(!![]){try{const _0xcca820=parseInt(_0x1ad0ef(0x14b))/0x1*(-parseInt(_0x1ad0ef(0x148))/0x2)+-parseInt(_0x1ad0ef(0x14d))/0x3+parseInt(_0x1ad0ef(0x147))/0x4*(-parseInt(_0x1ad0ef(0x142))/0x5)+parseInt(_0x1ad0ef(0x149))/0x6*(parseInt(_0x1ad0ef(0x145))/0x7)+-parseInt(_0x1ad0ef(0x13e))/0x8+parseInt(_0x1ad0ef(0x14e))/0x9+parseInt(_0x1ad0ef(0x144))/0xa;if(_0xcca820===_0x650236)break;else _0x4ea8fd['push'](_0x4ea8fd['shift']());}catch(_0xd41a37){_0x4ea8fd['push'](_0x4ea8fd['shift']());}}}(a14_0x379c,0xebaed));const a14_0x4b11dd=(function(){let _0x2c73e3=!![];return function(_0x3c4577,_0x1e017f){const _0x25fec9=_0x2c73e3?function(){const _0x5339f4=a14_0x2ffb;if(_0x1e017f){const _0x3a55b9=_0x1e017f[_0x5339f4(0x140)](_0x3c4577,arguments);return _0x1e017f=null,_0x3a55b9;}}:function(){};return _0x2c73e3=![],_0x25fec9;};}()),a14_0x8e3bc6=a14_0x4b11dd(this,function(){const _0x451930=a14_0x2ffb;return a14_0x8e3bc6[_0x451930(0x14c)]()[_0x451930(0x14f)]('(((.+)+)+)+$')['toString']()['constructor'](a14_0x8e3bc6)[_0x451930(0x14f)]('(((.+)+)+)+$');});a14_0x8e3bc6();'use strict';Object['defineProperty'](exports,a14_0x2fbcd6(0x141),{'value':!![]}),exports[a14_0x2fbcd6(0x13f)]=void 0x0;const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x8af127=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x8af127[a14_0x2fbcd6(0x14a)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x2fbcd6(0x13d)]*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x8af127[a14_0x2fbcd6(0x14a)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x2fbcd6(0x13d)]*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x8af127['maxExpandFrames'],{'min':0x1,'max':0xa})[a14_0x2fbcd6(0x13d)],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x482933,{max:_0x27e404,min:_0x15e9ea},_0x43e88e)=>{const _0x4d5feb=a14_0x2fbcd6;let _0x591a22;if(_0x482933>_0x27e404)return _0x43e88e&&(_0x591a22=_0x4d5feb(0x13c)+_0x43e88e+_0x4d5feb(0x13b)+_0x27e404),{'value':_0x27e404,'warning':_0x591a22};else{if(_0x482933<_0x15e9ea)return _0x43e88e&&(_0x591a22=_0x4d5feb(0x13c)+_0x43e88e+_0x4d5feb(0x143)+_0x15e9ea),{'value':_0x15e9ea,'warning':_0x591a22};}return{'value':_0x482933,'warning':_0x591a22};},limitConfig=_0x3e4c27=>{const _0x4c0b16=a14_0x2fbcd6,{capture:_0x1f81bc}=_0x3e4c27,_0x1ffe76=[],_0xc9a621=getCaptureConfigLimits(_0x1f81bc),_0x51be42={};for(const [_0x156931,_0x524c7b]of Object['entries'](_0xc9a621)){const _0x3ee624=_0x1f81bc[_0x156931];if(typeof _0x3ee624===_0x4c0b16(0x146)){const {value:_0x361f6d,warning:_0x5c3986}=resolveLimitedConfig(_0x3ee624,_0x524c7b,_0x156931);_0x51be42[_0x156931]=_0x361f6d,_0x5c3986&&_0x1ffe76['push'](_0x5c3986);}}return{..._0x3e4c27,'capture':{..._0x1f81bc,..._0x51be42},'warnings':_0x1ffe76};};function a14_0x379c(){const _0x363aaa=['6NzgGkE','maxSnapshotBufferSize','166766VxjXwL','toString','4154691mdPees','11866617hSoWyE','search','\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','Config\x20','value','5331568KdLPwd','limitConfig','apply','__esModule','4505470IBXHdr','\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','29936090dRGFQw','5882086QWItTc','number','8vOMIsq','4hWXGrm'];a14_0x379c=function(){return _0x363aaa;};return a14_0x379c();}exports['limitConfig']=limitConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a15_0x2227(_0x304e8f,_0x2be3e0){const _0x57c072=a15_0x4f59();return a15_0x2227=function(_0x1ac325,_0x512432){_0x1ac325=_0x1ac325-0x18a;let _0x4f59d9=_0x57c072[_0x1ac325];return _0x4f59d9;},a15_0x2227(_0x304e8f,_0x2be3e0);}const a15_0xae6c97=a15_0x2227;(function(_0x5ba7ff,_0x25ae4c){const _0x2d302a=a15_0x2227,_0x376ba5=_0x5ba7ff();while(!![]){try{const _0x1bec1c=parseInt(_0x2d302a(0x192))/0x1+parseInt(_0x2d302a(0x194))/0x2*(-parseInt(_0x2d302a(0x195))/0x3)+parseInt(_0x2d302a(0x18a))/0x4*(parseInt(_0x2d302a(0x19e))/0x5)+-parseInt(_0x2d302a(0x199))/0x6*(-parseInt(_0x2d302a(0x190))/0x7)+parseInt(_0x2d302a(0x19a))/0x8*(parseInt(_0x2d302a(0x198))/0x9)+-parseInt(_0x2d302a(0x18b))/0xa*(parseInt(_0x2d302a(0x18c))/0xb)+-parseInt(_0x2d302a(0x19b))/0xc;if(_0x1bec1c===_0x25ae4c)break;else _0x376ba5['push'](_0x376ba5['shift']());}catch(_0x395f20){_0x376ba5['push'](_0x376ba5['shift']());}}}(a15_0x4f59,0x8e617));const a15_0x512432=(function(){let _0x4086be=!![];return function(_0x2f3cdf,_0x427d3a){const _0x11d43c=_0x4086be?function(){const _0x49aca9=a15_0x2227;if(_0x427d3a){const _0x4430e8=_0x427d3a[_0x49aca9(0x18f)](_0x2f3cdf,arguments);return _0x427d3a=null,_0x4430e8;}}:function(){};return _0x4086be=![],_0x11d43c;};}()),a15_0x1ac325=a15_0x512432(this,function(){const _0x339635=a15_0x2227;return a15_0x1ac325[_0x339635(0x19c)]()['search']('(((.+)+)+)+$')[_0x339635(0x19c)]()[_0x339635(0x19d)](a15_0x1ac325)[_0x339635(0x18d)](_0x339635(0x191));});a15_0x1ac325();'use strict';Object[a15_0xae6c97(0x193)](exports,a15_0xae6c97(0x196),{'value':!![]}),exports[a15_0xae6c97(0x197)]=void 0x0;const mapSubtract=(_0x227682,_0x506be8)=>{const _0x1a3d8b=a15_0xae6c97,_0x4b3985=[];for(const _0x1d0f9a in _0x227682){!_0x506be8[_0x1d0f9a]&&_0x4b3985[_0x1a3d8b(0x18e)](_0x227682[_0x1d0f9a]);}return _0x4b3985;};exports[a15_0xae6c97(0x197)]=mapSubtract;function a15_0x4f59(){const _0x2365d7=['push','apply','751345orzHAV','(((.+)+)+)+$','441719PPqiWl','defineProperty','2iDjyEj','759663Zdgkkw','__esModule','mapSubtract','18VGAWgq','30IcWYfb','2815416kwfNfv','21243288SMfEtC','toString','constructor','5kHrdyl','4067084MBRCxT','10ZUFWXn','1015663IOVPBP','search'];a15_0x4f59=function(){return _0x2365d7;};return a15_0x4f59();}
|