lightrun 1.39.1 → 1.39.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x2aa3ef=a0_0x343b;(function(_0x32e0e4,_0x1fd9e3){const _0x34a175=a0_0x343b,_0x421c00=_0x32e0e4();while(!![]){try{const _0xeddea0=parseInt(_0x34a175(0x1d1))/0x1+-parseInt(_0x34a175(0x1db))/0x2+-parseInt(_0x34a175(0x1e5))/0x3*(parseInt(_0x34a175(0x1d4))/0x4)+parseInt(_0x34a175(0x1e2))/0x5+-parseInt(_0x34a175(0x1f3))/0x6+parseInt(_0x34a175(0x1e8))/0x7+parseInt(_0x34a175(0x1e1))/0x8*(parseInt(_0x34a175(0x1ea))/0x9);if(_0xeddea0===_0x1fd9e3)break;else _0x421c00['push'](_0x421c00['shift']());}catch(_0x1dae88){_0x421c00['push'](_0x421c00['shift']());}}}(a0_0x2ad2,0xef623));function a0_0x2ad2(){const _0x11a6fc=['warn','451598PJbVOY','process','9XLOGrK','error','winston-daily-rotate-file','__esModule','search','getMinutes','apply','toUpperCase','info','10441644rNyZnv','format','(((.+)+)+)+$','logger','debug','AGENT_LOG_FILE','1233141chGeJb',']\x20-\x20','json','4THTPfG','padStart','getDate','getHours','getFullYear','.log','constructor','1306088EsTEqo','getMonth','defineProperty','transports','getSeconds','.%DATE%','21655504XNOwop','5730605PYjffc','lightrun_nodejs_agent.','toString','5330643iCpbRm','createLogger'];a0_0x2ad2=function(){return _0x11a6fc;};return a0_0x2ad2();}const a0_0x11c243=(function(){let _0x4242d2=!![];return function(_0x753894,_0x4e4695){const _0x5ac867=_0x4242d2?function(){const _0x331d20=a0_0x343b;if(_0x4e4695){const _0x18d13d=_0x4e4695[_0x331d20(0x1f0)](_0x753894,arguments);return _0x4e4695=null,_0x18d13d;}}:function(){};return _0x4242d2=![],_0x5ac867;};}()),a0_0x47df66=a0_0x11c243(this,function(){const _0x75bea3=a0_0x343b;return a0_0x47df66['toString']()['search'](_0x75bea3(0x1f5))[_0x75bea3(0x1e4)]()[_0x75bea3(0x1da)](a0_0x47df66)[_0x75bea3(0x1ee)]('(((.+)+)+)+$');});a0_0x47df66();'use strict';Object[a0_0x2aa3ef(0x1dd)](exports,a0_0x2aa3ef(0x1ed),{'value':!![]});function a0_0x343b(_0x350351,_0x5b3151){const _0x12346c=a0_0x2ad2();return a0_0x343b=function(_0x47df66,_0x11c243){_0x47df66=_0x47df66-0x1cf;let _0x2ad227=_0x12346c[_0x47df66];return _0x2ad227;},a0_0x343b(_0x350351,_0x5b3151);}const winston_1=require('winston'),DailyRotateFile=require(a0_0x2aa3ef(0x1ec)),process_1=require(a0_0x2aa3ef(0x1e9)),{combine,printf,timestamp}=winston_1[a0_0x2aa3ef(0x1f4)],{Console}=winston_1[a0_0x2aa3ef(0x1de)],now=new Date();function getLoggerTransport(_0x7deb2e,_0x4c0821,_0x3e610b){const _0x33094=a0_0x2aa3ef;if(_0x7deb2e)return new DailyRotateFile({'dirname':_0x7deb2e,'filename':AgentLogger[_0x33094(0x1d0)],'datePattern':now[_0x33094(0x1d8)]()[_0x33094(0x1e4)]()+now[_0x33094(0x1dc)]()['toString']()[_0x33094(0x1d5)](0x2,'0')+now[_0x33094(0x1d6)]()['toString']()[_0x33094(0x1d5)](0x2,'0')+'-'+now[_0x33094(0x1d7)]()[_0x33094(0x1e4)]()['padStart'](0x2,'0')+now[_0x33094(0x1ef)]()[_0x33094(0x1e4)]()[_0x33094(0x1d5)](0x2,'0')+now[_0x33094(0x1df)]()[_0x33094(0x1e4)]()[_0x33094(0x1d5)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x33094(0x1d0)],'maxSize':_0x4c0821+'m','maxFiles':_0x3e610b,'extension':_0x33094(0x1d9)});return new Console();}class AgentLogger{constructor(_0x3d1b26,_0x4c45d6,_0xe2ff46,_0xc94419,_0x4e776a){const _0x5708ab=a0_0x2aa3ef;this[_0x5708ab(0x1f6)]=(0x0,winston_1[_0x5708ab(0x1e6)])({'level':_0xc94419,'transports':[getLoggerTransport(_0x3d1b26,_0x4c45d6,_0xe2ff46),new Console({'level':_0x4e776a,'stderrLevels':[_0x5708ab(0x1cf),_0x5708ab(0x1f2),'warn',_0x5708ab(0x1eb)]})],'format':combine(timestamp(),printf(({level:_0x3018a8,message:_0x323d99,timestamp:_0x34987d})=>{const _0x47a311=_0x5708ab;return _0x34987d+'\x20['+_0x3018a8[_0x47a311(0x1f1)]()+_0x47a311(0x1d2)+_0x323d99;}),winston_1[_0x5708ab(0x1f4)][_0x5708ab(0x1d3)]())});}static[a0_0x2aa3ef(0x1e6)](_0xc0ebc1,_0x2522ce,_0x3ba04e,_0x147cf6,_0x4902b1){return new AgentLogger(_0xc0ebc1,_0x2522ce,_0x3ba04e,_0x147cf6,_0x4902b1);}['debug'](..._0x3851d6){const _0xdec41c=a0_0x2aa3ef;this[_0xdec41c(0x1f6)]['debug'](_0x3851d6);}['info'](..._0x69e3b0){const _0x5a03ba=a0_0x2aa3ef;this[_0x5a03ba(0x1f6)][_0x5a03ba(0x1f2)](_0x69e3b0);}[a0_0x2aa3ef(0x1e7)](..._0x14b684){const _0x10e82e=a0_0x2aa3ef;this[_0x10e82e(0x1f6)][_0x10e82e(0x1e7)](_0x14b684);}[a0_0x2aa3ef(0x1eb)](..._0x470139){const _0x3fa10b=a0_0x2aa3ef;this[_0x3fa10b(0x1f6)][_0x3fa10b(0x1eb)](_0x470139);}}AgentLogger[a0_0x2aa3ef(0x1d0)]=a0_0x2aa3ef(0x1e3)+process_1['pid']+a0_0x2aa3ef(0x1e0),exports['default']=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a1_0x5d5a(_0xf8b09b,_0x612ca5){const _0x3affab=a1_0x107b();return a1_0x5d5a=function(_0x197c69,_0x39cd73){_0x197c69=_0x197c69-0x12f;let _0x107b27=_0x3affab[_0x197c69];return _0x107b27;},a1_0x5d5a(_0xf8b09b,_0x612ca5);}function a1_0x107b(){const _0x76f5d2=['356120JmthEZ','some','forEach','7348125XbUryO','length','BlocklistingPatterns','apply','inversePatterns','90214wbdmdM','6tyoJnE','match','5468292jGaZvK','33jJJoDC','550224dikftX','__esModule','substring','14517320Jmeici','patterns','toString','11407048SEzwIZ','7yTNyYz'];a1_0x107b=function(){return _0x76f5d2;};return a1_0x107b();}const a1_0x5c2ccf=a1_0x5d5a;(function(_0x3e0f87,_0x58844e){const _0xd3a09c=a1_0x5d5a,_0xd08669=_0x3e0f87();while(!![]){try{const _0x4b0c7c=-parseInt(_0xd3a09c(0x132))/0x1+parseInt(_0xd3a09c(0x142))/0x2*(parseInt(_0xd3a09c(0x131))/0x3)+-parseInt(_0xd3a09c(0x13a))/0x4+parseInt(_0xd3a09c(0x13d))/0x5*(parseInt(_0xd3a09c(0x143))/0x6)+parseInt(_0xd3a09c(0x139))/0x7*(-parseInt(_0xd3a09c(0x138))/0x8)+-parseInt(_0xd3a09c(0x130))/0x9+parseInt(_0xd3a09c(0x135))/0xa;if(_0x4b0c7c===_0x58844e)break;else _0xd08669['push'](_0xd08669['shift']());}catch(_0x1016f1){_0xd08669['push'](_0xd08669['shift']());}}}(a1_0x107b,0xb5d6b));const a1_0x39cd73=(function(){let _0x535ad0=!![];return function(_0xcd6de4,_0x3fdda0){const _0x2de094=_0x535ad0?function(){const _0xc73389=a1_0x5d5a;if(_0x3fdda0){const _0x40a7f5=_0x3fdda0[_0xc73389(0x140)](_0xcd6de4,arguments);return _0x3fdda0=null,_0x40a7f5;}}:function(){};return _0x535ad0=![],_0x2de094;};}()),a1_0x197c69=a1_0x39cd73(this,function(){const _0x4d5ca1=a1_0x5d5a;return a1_0x197c69['toString']()['search']('(((.+)+)+)+$')[_0x4d5ca1(0x137)]()['constructor'](a1_0x197c69)['search']('(((.+)+)+)+$');});a1_0x197c69();'use strict';Object['defineProperty'](exports,a1_0x5c2ccf(0x133),{'value':!![]}),exports[a1_0x5c2ccf(0x13f)]=void 0x0;class BlocklistingPatterns{constructor(_0x50c445){const _0x31c498=a1_0x5c2ccf;this[_0x31c498(0x141)]=[],this['patterns']=[],_0x50c445&&_0x50c445[_0x31c498(0x13c)](_0x27f05e=>{const _0x201564=_0x31c498;_0x27f05e&&(_0x27f05e[0x0]==='!'?this[_0x201564(0x141)]['push'](new RegExp(_0x27f05e[_0x201564(0x134)](0x1))):this[_0x201564(0x136)]['push'](new RegExp(_0x27f05e)));});}['matches'](_0x37a520){const _0x457693=a1_0x5c2ccf,_0x1ecb3e=_0x2136cc=>_0x37a520[_0x457693(0x12f)](_0x2136cc);return this['inversePatterns'][_0x457693(0x13e)]!==0x0&&!this['inversePatterns'][_0x457693(0x13b)](_0x1ecb3e)||this['patterns'][_0x457693(0x13b)](_0x1ecb3e);}}exports[a1_0x5c2ccf(0x13f)]=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a2_0x208ae8=a2_0x1f73;(function(_0x43aea6,_0x3571eb){var _0xc32a9a=a2_0x1f73,_0x25e321=_0x43aea6();while(!![]){try{var _0x273bd9=parseInt(_0xc32a9a(0x1c4))/0x1+-parseInt(_0xc32a9a(0x1ca))/0x2*(-parseInt(_0xc32a9a(0x1c3))/0x3)+parseInt(_0xc32a9a(0x1ce))/0x4*(parseInt(_0xc32a9a(0x1c1))/0x5)+parseInt(_0xc32a9a(0x1c8))/0x6+-parseInt(_0xc32a9a(0x1d0))/0x7*(-parseInt(_0xc32a9a(0x1cf))/0x8)+parseInt(_0xc32a9a(0x1c5))/0x9*(-parseInt(_0xc32a9a(0x1d1))/0xa)+-parseInt(_0xc32a9a(0x1cb))/0xb;if(_0x273bd9===_0x3571eb)break;else _0x25e321['push'](_0x25e321['shift']());}catch(_0x51f1c9){_0x25e321['push'](_0x25e321['shift']());}}}(a2_0x3250,0xdfd38));var a2_0x92c5f8=(function(){var _0x3c9ab6=!![];return function(_0x3c058c,_0x1d8b35){var _0x15beb1=_0x3c9ab6?function(){if(_0x1d8b35){var _0x20ce95=_0x1d8b35['apply'](_0x3c058c,arguments);return _0x1d8b35=null,_0x20ce95;}}:function(){};return _0x3c9ab6=![],_0x15beb1;};}()),a2_0x54a332=a2_0x92c5f8(this,function(){var _0x186118=a2_0x1f73;return a2_0x54a332[_0x186118(0x1c9)]()[_0x186118(0x1c7)]('(((.+)+)+)+$')['toString']()[_0x186118(0x1cd)](a2_0x54a332)[_0x186118(0x1c7)]('(((.+)+)+)+$');});a2_0x54a332();'use strict';function a2_0x3250(){var _0x4ba372=['11320695LgVMMY','value','search','1812792YMVtRk','toString','4mjMplf','38941254lMQoXR','defineProperty','constructor','1433540sEXYQn','161800RXtzqj','266ARNxmp','10hUnyXn','DummyBlocklistManager','shouldBlock','25GsbHaq','__esModule','2731371PZClvu','1031240uxufQO'];a2_0x3250=function(){return _0x4ba372;};return a2_0x3250();}function a2_0x1f73(_0x4c2fb,_0x8112e8){var _0x3d2aa5=a2_0x3250();return a2_0x1f73=function(_0x54a332,_0x92c5f8){_0x54a332=_0x54a332-0x1bf;var _0x325069=_0x3d2aa5[_0x54a332];return _0x325069;},a2_0x1f73(_0x4c2fb,_0x8112e8);}Object[a2_0x208ae8(0x1cc)](exports,a2_0x208ae8(0x1c2),{'value':!![]}),exports[a2_0x208ae8(0x1bf)]=void 0x0;class DummyBlocklistManager{constructor(_0x16fc81){var _0x4fd450=a2_0x208ae8;this[_0x4fd450(0x1c6)]=_0x16fc81;}[a2_0x208ae8(0x1c0)](){var _0x2f5eb7=a2_0x208ae8;return this[_0x2f5eb7(0x1c6)];}}exports[a2_0x208ae8(0x1bf)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x28a716=a3_0x1d9e;(function(_0xb2c164,_0x34f2c2){const _0x267888=a3_0x1d9e,_0x4c74d5=_0xb2c164();while(!![]){try{const _0x74191f=-parseInt(_0x267888(0xd5))/0x1+-parseInt(_0x267888(0xc3))/0x2*(parseInt(_0x267888(0xcd))/0x3)+parseInt(_0x267888(0xd2))/0x4+-parseInt(_0x267888(0xc6))/0x5+parseInt(_0x267888(0xca))/0x6*(parseInt(_0x267888(0xce))/0x7)+parseInt(_0x267888(0xdb))/0x8+-parseInt(_0x267888(0xc5))/0x9*(-parseInt(_0x267888(0xd9))/0xa);if(_0x74191f===_0x34f2c2)break;else _0x4c74d5['push'](_0x4c74d5['shift']());}catch(_0x34d2b3){_0x4c74d5['push'](_0x4c74d5['shift']());}}}(a3_0x1986,0x78475));function a3_0x1986(){const _0x355776=['1603MbKTLE','shouldBlock','stripWorkingDir','config','1098064SZkyhP','constructor','PatternsBlocklistManager','859605SdGCkm','search','./blocklisting-patterns','blocklist','42310YaeYkJ','matches','4032472oZrQGX','toString','4aqSBoo','defineProperty','1773oplvXj','1300345RhXUuY','(((.+)+)+)+$','blocklistExceptions','BlocklistingPatterns','9318nIioBl','stripCurrentWorkingDirectory','__esModule','533076BJmnFn'];a3_0x1986=function(){return _0x355776;};return a3_0x1986();}const a3_0x9c521f=(function(){let _0x310c47=!![];return function(_0x32de7e,_0x37c0f5){const _0x180e1e=_0x310c47?function(){if(_0x37c0f5){const _0x51f2e7=_0x37c0f5['apply'](_0x32de7e,arguments);return _0x37c0f5=null,_0x51f2e7;}}:function(){};return _0x310c47=![],_0x180e1e;};}()),a3_0x4607a5=a3_0x9c521f(this,function(){const _0x42b83a=a3_0x1d9e;return a3_0x4607a5[_0x42b83a(0xc2)]()[_0x42b83a(0xd6)](_0x42b83a(0xc7))[_0x42b83a(0xc2)]()[_0x42b83a(0xd3)](a3_0x4607a5)[_0x42b83a(0xd6)]('(((.+)+)+)+$');});a3_0x4607a5();'use strict';Object[a3_0x28a716(0xc4)](exports,a3_0x28a716(0xcc),{'value':!![]}),exports[a3_0x28a716(0xd4)]=void 0x0;const blocklisting_patterns_1=require(a3_0x28a716(0xd7)),utils=require('../util/utils');function a3_0x1d9e(_0x8a5f,_0x28e604){const _0x445d66=a3_0x1986();return a3_0x1d9e=function(_0x4607a5,_0x9c521f){_0x4607a5=_0x4607a5-0xc2;let _0x198678=_0x445d66[_0x4607a5];return _0x198678;},a3_0x1d9e(_0x8a5f,_0x28e604);}class PatternsBlocklistManager{constructor(_0x277df2,_0x5a857c,_0x239992){const _0x467b03=a3_0x28a716;this['blocklist']=new blocklisting_patterns_1[(_0x467b03(0xc9))](_0x277df2),this[_0x467b03(0xc8)]=new blocklisting_patterns_1[(_0x467b03(0xc9))](_0x5a857c),this[_0x467b03(0xd1)]=_0x239992;}[a3_0x28a716(0xcf)](_0x239269){const _0x51c7d6=a3_0x28a716;_0x239269=this[_0x51c7d6(0xd0)](_0x239269);if(this[_0x51c7d6(0xc8)]['matches'](_0x239269))return![];return this[_0x51c7d6(0xd8)][_0x51c7d6(0xda)](_0x239269);}['stripWorkingDir'](_0x23ec3d){const _0xb4c54d=a3_0x28a716;if(utils['isPathInCurrentWorkingDirectory'](_0x23ec3d,this[_0xb4c54d(0xd1)]))return utils[_0xb4c54d(0xcb)](_0x23ec3d,this[_0xb4c54d(0xd1)]);return _0x23ec3d;}}exports[a3_0x28a716(0xd4)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x4b3432=a4_0x1d12;(function(_0x3fd522,_0x5b7628){const _0x2d4f89=a4_0x1d12,_0x443370=_0x3fd522();while(!![]){try{const _0x491ac4=-parseInt(_0x2d4f89(0x147))/0x1+parseInt(_0x2d4f89(0x144))/0x2+parseInt(_0x2d4f89(0x142))/0x3+-parseInt(_0x2d4f89(0x148))/0x4*(-parseInt(_0x2d4f89(0x155))/0x5)+parseInt(_0x2d4f89(0x152))/0x6*(parseInt(_0x2d4f89(0x146))/0x7)+-parseInt(_0x2d4f89(0x156))/0x8+-parseInt(_0x2d4f89(0x13d))/0x9;if(_0x491ac4===_0x5b7628)break;else _0x443370['push'](_0x443370['shift']());}catch(_0x291cc1){_0x443370['push'](_0x443370['shift']());}}}(a4_0x66e5,0x278b9));const a4_0x1e54ab=(function(){let _0x17d5d6=!![];return function(_0x410ac2,_0x404662){const _0x2f298c=_0x17d5d6?function(){const _0x3b6323=a4_0x1d12;if(_0x404662){const _0x24734f=_0x404662[_0x3b6323(0x141)](_0x410ac2,arguments);return _0x404662=null,_0x24734f;}}:function(){};return _0x17d5d6=![],_0x2f298c;};}()),a4_0x387cab=a4_0x1e54ab(this,function(){const _0x19b07d=a4_0x1d12;return a4_0x387cab['toString']()['search'](_0x19b07d(0x157))[_0x19b07d(0x14d)]()[_0x19b07d(0x14b)](a4_0x387cab)[_0x19b07d(0x158)](_0x19b07d(0x157));});a4_0x387cab();function a4_0x66e5(){const _0x4d9ed2=['set','1050785VxRDEb','2051000tFPcjI','(((.+)+)+)+$','search','tmpdir','logMainConfigParams','not\x20set!','defineProperty','defaultConfig','lightrunSecret','3855474KOoowD','agentConfigFile','none','exists','apply','900744TYoZIb','!!!\x20NOT\x20SET\x20!!!','334096gKEwCU','__esModule','7alaZXI','27525tqLEah','4VnjaHd','DOESN\x27T\x20EXIST','existsSync','constructor','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','toString','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','.js','info',',\x20\x20\x20the\x20file\x20','1180860IIBQvP','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12'];a4_0x66e5=function(){return _0x4d9ed2;};return a4_0x66e5();}'use strict';Object[a4_0x4b3432(0x15c)](exports,a4_0x4b3432(0x145),{'value':!![]}),exports[a4_0x4b3432(0x15a)]=exports['defaultConfig']=void 0x0;const os_1=require('os'),fs_1=require('fs');exports[a4_0x4b3432(0x15d)]={'workingDirectory':process['cwd'](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x4b3432(0x14f)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x14,'maxWatchProperties':0x400,'maxVariableDepth':0x32,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x8000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':'app.lightrun.com','lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x4b3432(0x159)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x4b3432(0x150),'stdErrThreshold':a4_0x4b3432(0x13f),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x4b3432(0x14c),a4_0x4b3432(0x153)],'noCheckCertificate':![],'caPath':a4_0x4b3432(0x14e),'metadata':{'registration':{'tags':['Production']}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':'agent.config','resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};function logMainConfigParams(_0x2968b4,_0x178b7c){const _0x102b11=a4_0x4b3432;let _0x48e2f2=_0x2968b4[_0x102b11(0x13e)];_0x48e2f2?_0x48e2f2+=_0x102b11(0x151)+((0x0,fs_1[_0x102b11(0x14a)])(_0x2968b4[_0x102b11(0x13e)])?_0x102b11(0x140):_0x102b11(0x149)):_0x48e2f2=_0x102b11(0x15b);const _0x149416={..._0x2968b4,'lightrunSecret':_0x2968b4[_0x102b11(0x15e)]?_0x102b11(0x154):_0x102b11(0x143),'agentConfigFile':_0x48e2f2};_0x178b7c['debug']('Agent\x20Configuration:\x20',_0x149416);}function a4_0x1d12(_0x4d9f48,_0x83307d){const _0x4155de=a4_0x66e5();return a4_0x1d12=function(_0x387cab,_0x1e54ab){_0x387cab=_0x387cab-0x13d;let _0x66e5f3=_0x4155de[_0x387cab];return _0x66e5f3;},a4_0x1d12(_0x4d9f48,_0x83307d);}exports[a4_0x4b3432(0x15a)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x3bf3e0=a5_0x26be;(function(_0x15f3ef,_0xe9eef1){var _0x308cda=a5_0x26be,_0x25ae24=_0x15f3ef();while(!![]){try{var _0x50a17c=parseInt(_0x308cda(0x201))/0x1*(-parseInt(_0x308cda(0x202))/0x2)+parseInt(_0x308cda(0x1f0))/0x3+-parseInt(_0x308cda(0x20b))/0x4*(-parseInt(_0x308cda(0x1fa))/0x5)+parseInt(_0x308cda(0x204))/0x6*(parseInt(_0x308cda(0x20f))/0x7)+parseInt(_0x308cda(0x20a))/0x8*(parseInt(_0x308cda(0x1f1))/0x9)+-parseInt(_0x308cda(0x200))/0xa+-parseInt(_0x308cda(0x20e))/0xb;if(_0x50a17c===_0xe9eef1)break;else _0x25ae24['push'](_0x25ae24['shift']());}catch(_0x4acf9c){_0x25ae24['push'](_0x25ae24['shift']());}}}(a5_0x13b6,0x2b187));function a5_0x13b6(){var _0x39f0fd=['maxWatchProperties','maxProperties','apply','getMaxProperties','5HzGEcn','resolvedDebugAgentConfig','getMaxWatchListVariableSize','__esModule','maxVariableSize','constructor','1478070QgwskP','9YvlWNg','45204GlgrUL','(((.+)+)+)+$','144mApvUo','maxStringLength','capture','maxWatchListVariableSize','getMaxVariableSize','ConfigurationProvider','11104pbtVxW','732516ttXcxD','search','toString','5375502IKfjTg','94948SsMpjM','1015275QHNzbe','1098RskSXR','maxDataSize','maxSnapshotBufferSize','getMaxSnapshotBufferSize','defineProperty'];a5_0x13b6=function(){return _0x39f0fd;};return a5_0x13b6();}var a5_0x476570=(function(){var _0x4e5132=!![];return function(_0xb806f5,_0x2b56bf){var _0x5321c9=_0x4e5132?function(){var _0x18084d=a5_0x26be;if(_0x2b56bf){var _0x1b9f14=_0x2b56bf[_0x18084d(0x1f8)](_0xb806f5,arguments);return _0x2b56bf=null,_0x1b9f14;}}:function(){};return _0x4e5132=![],_0x5321c9;};}()),a5_0xf7119a=a5_0x476570(this,function(){var _0x569e79=a5_0x26be;return a5_0xf7119a[_0x569e79(0x20d)]()[_0x569e79(0x20c)]('(((.+)+)+)+$')['toString']()[_0x569e79(0x1ff)](a5_0xf7119a)['search'](_0x569e79(0x203));});a5_0xf7119a();'use strict';Object[a5_0x3bf3e0(0x1f5)](exports,a5_0x3bf3e0(0x1fd),{'value':!![]}),exports['ConfigurationProvider']=void 0x0;class ConfigurationProvider{constructor(_0x2a5642){this['resolvedDebugAgentConfig']=_0x2a5642;}[a5_0x3bf3e0(0x208)](){var _0x4395e2=a5_0x3bf3e0;return this[_0x4395e2(0x1fb)]['capture'][_0x4395e2(0x205)]||this['resolvedDebugAgentConfig'][_0x4395e2(0x206)][_0x4395e2(0x1fe)];}[a5_0x3bf3e0(0x1fc)](){var _0x664d10=a5_0x3bf3e0;return this[_0x664d10(0x1fb)]['capture'][_0x664d10(0x207)];}[a5_0x3bf3e0(0x1f4)](){var _0x29770a=a5_0x3bf3e0;return this[_0x29770a(0x1fb)][_0x29770a(0x206)][_0x29770a(0x1f2)]||this['resolvedDebugAgentConfig'][_0x29770a(0x206)][_0x29770a(0x1f3)];}[a5_0x3bf3e0(0x1f9)](_0x131a21){var _0x519c21=a5_0x3bf3e0;return _0x131a21?this[_0x519c21(0x1fb)]['capture'][_0x519c21(0x1f6)]:this[_0x519c21(0x1fb)][_0x519c21(0x206)][_0x519c21(0x1f7)];}}function a5_0x26be(_0x43af74,_0x1e1bda){var _0x28af63=a5_0x13b6();return a5_0x26be=function(_0xf7119a,_0x476570){_0xf7119a=_0xf7119a-0x1f0;var _0x13b668=_0x28af63[_0xf7119a];return _0x13b668;},a5_0x26be(_0x43af74,_0x1e1bda);}exports[a5_0x3bf3e0(0x209)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x51bf82=a6_0x2b98;(function(_0x578737,_0x54573b){const _0x36c825=a6_0x2b98,_0x3e21a2=_0x578737();while(!![]){try{const _0x48e719=-parseInt(_0x36c825(0xd6))/0x1+parseInt(_0x36c825(0xe3))/0x2+-parseInt(_0x36c825(0xff))/0x3+parseInt(_0x36c825(0x136))/0x4*(-parseInt(_0x36c825(0xf0))/0x5)+-parseInt(_0x36c825(0x12e))/0x6*(-parseInt(_0x36c825(0x131))/0x7)+-parseInt(_0x36c825(0xba))/0x8*(-parseInt(_0x36c825(0x123))/0x9)+parseInt(_0x36c825(0x11b))/0xa;if(_0x48e719===_0x54573b)break;else _0x3e21a2['push'](_0x3e21a2['shift']());}catch(_0x55ec1a){_0x3e21a2['push'](_0x3e21a2['shift']());}}}(a6_0x56dd,0x8bf32));const a6_0x5a4f0a=(function(){let _0xb38299=!![];return function(_0xd3a23f,_0x165195){const _0x415323=_0xb38299?function(){const _0x2251b6=a6_0x2b98;if(_0x165195){const _0x6b9bf5=_0x165195[_0x2251b6(0xc5)](_0xd3a23f,arguments);return _0x165195=null,_0x6b9bf5;}}:function(){};return _0xb38299=![],_0x415323;};}()),a6_0xfbb76c=a6_0x5a4f0a(this,function(){const _0x1c48fb=a6_0x2b98;return a6_0xfbb76c[_0x1c48fb(0xdd)]()['search'](_0x1c48fb(0xe9))[_0x1c48fb(0xdd)]()[_0x1c48fb(0x12a)](a6_0xfbb76c)[_0x1c48fb(0x101)](_0x1c48fb(0xe9));});function a6_0x2b98(_0x3b1305,_0x5f0f59){const _0x4cf912=a6_0x56dd();return a6_0x2b98=function(_0xfbb76c,_0x5a4f0a){_0xfbb76c=_0xfbb76c-0xad;let _0x56ddf1=_0x4cf912[_0xfbb76c];return _0x56ddf1;},a6_0x2b98(_0x3b1305,_0x5f0f59);}a6_0xfbb76c();'use strict';Object['defineProperty'](exports,a6_0x51bf82(0xeb),{'value':!![]}),exports[a6_0x51bf82(0xfb)]=void 0x0;const common_1=require('@google-cloud/common'),assert=require(a6_0x51bf82(0x124)),qs=require(a6_0x51bf82(0x13a)),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x51bf82(0xe6)),stream_1=require('stream'),memory_streams_1=require('memory-streams'),tls_1=require('tls'),extend=require(a6_0x51bf82(0xe2)),axios_1=require(a6_0x51bf82(0x122)),https=require(a6_0x51bf82(0xe1)),utils_1=require(a6_0x51bf82(0xb5)),yaml=require(a6_0x51bf82(0xcf)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;function a6_0x56dd(){const _0x118a16=['Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','Deregister\x20agent\x20before\x20shutdown','response','350634uWXEpb','max','search','transmissionBulkMaxSize','breakpointId:\x20','apiEndpoint','finally','default','map','now','unknown\x20error\x20-\x20request\x20response\x20missing','/debuggees/','ascii','getBlocklist','Agent','transmissionTimeout','readFileSync','token','transmissionHardMaxNetworkSizeLimitInBytes','createReadStream','debuggee','sha256','context','warn','collectCooldownMs','Update\x20for\x20breakpoints\x20','listBreakpoints','then','5213940SWTJcb','floor','toBuffer','\x20size\x20>\x20max\x20network\x20size\x20:\x20','length','getRedactions','info','axios','6938199DwEcdc','assert','waitToken','number','\x22\x20-\x20ignoring\x20it','sendBreakpointLogsToServer','catch','constructor','invalid\x20response\x20body\x20from\x20server','join','transmitBreakpointUpdates','600yAUsMY','Failed\x20to\x20send\x20log\x20file\x20','push','46865aNkByY','Getting\x20reductions','message','https://','/compressedLogFile/','8CmZNPD','/breakpoints','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','verifyCertificate','querystring','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','statSync','sendAppOnlyBreakpointHitsToServer','register','ServiceObject','shift','POST','\x20Error:\x20','data','./util/utils','caPath','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','serializedJson','digest','8lNpUDw','Failed\x20to\x20zip\x20','source','timeout\x20set\x20to\x20','\x20size\x20is\x20','transmissionBulkMaxNetworkSizeInBytes','PUT',',\x20Message:\x20','/blacklist?successOnTimeout=true','\x20transmitted\x20successfully','should\x20have\x20a\x20registered\x20debuggee','apply','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Bearer\x20','application/json','pinnedCerts','pipeline','maxLogFileBytes','includes','nextWaitToken','reject','js-yaml','lastLogCollectionTime','makeRequest','method','bind','/log/','transmissionQueue','423811DgKuKt','agentLog','status','Getting\x20blocklist','getJsonStringSizeInBytes','WritableStream','stringify','toString','apiUrl','/breakpoints?','Breakpoint\x20','https','extend','501800ubKlMX','config','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','zlib','debug','/deregister/','(((.+)+)+)+$','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','__esModule','createGzip','size','selfSignedCA','pubkey','2746955kLYqGM','\x20seconds','breakpoint\x20','/controller',',\x20sending\x20only\x20one','\x20and\x20enqueue\x20to\x20queue','Successfully\x20sent\x20log\x20file\x20','error','logger','secureContext','\x20for\x20request\x20','Controller'];a6_0x56dd=function(){return _0x118a16;};return a6_0x56dd();}class Controller extends common_1[a6_0x51bf82(0xb0)]{constructor(_0x4786c9,_0x1a436e,_0xc65144){const _0x3f14d4=a6_0x51bf82;super({'parent':_0x4786c9,'baseUrl':_0x3f14d4(0xf3)}),this[_0x3f14d4(0xcd)]=null,this[_0x3f14d4(0xe4)]=_0x1a436e,this['transmissionQueue']=[],this[_0x3f14d4(0xf8)]=_0xc65144;if(_0x1a436e['caPath'])try{this[_0x3f14d4(0xee)]=(0x0,fs_1[_0x3f14d4(0x10f)])(_0x1a436e['caPath'],_0x3f14d4(0x10b));}catch(_0x37b49d){_0xc65144[_0x3f14d4(0x116)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x1a436e[_0x3f14d4(0xb6)]+_0x3f14d4(0x127));}this['apiUrl']=_0x3f14d4(0x134)+_0x1a436e[_0x3f14d4(0x104)]+_0x3f14d4(0x10a);}[a6_0x51bf82(0xaf)](_0x132c99,_0x12e285){const _0x1f3a16=a6_0x51bf82,_0x1b4483={'uri':this[_0x1f3a16(0xde)]+'register','method':_0x1f3a16(0xb2),'json':!![],'body':{'debuggee':_0x132c99}};this[_0x1f3a16(0xd1)](_0x1b4483,(_0x5a6821,_0x22e0dc,_0x2c38f6)=>{const _0x2f7563=_0x1f3a16;if(!_0x2c38f6)_0x12e285(_0x5a6821||new Error(_0x2f7563(0x109)));else{if(_0x5a6821){let _0x15cdda=![];_0x2c38f6[_0x2f7563(0xd8)]===HTTP_UPGRADE_REQUIRED&&_0x22e0dc&&(_0x22e0dc[_0x2f7563(0x133)]!==undefined&&(_0x5a6821['message']=_0x22e0dc[_0x2f7563(0x133)]),_0x132c99['id']=_0x22e0dc[_0x2f7563(0x113)]['id'],_0x15cdda=!![]),_0x12e285(_0x5a6821,_0x22e0dc,_0x15cdda);}else{if(_0x2c38f6['status']!==HTTP_SUCCESS)_0x12e285(new Error('unable\x20to\x20register,\x20status\x20'+_0x2c38f6[_0x2f7563(0xd8)]));else!(_0x22e0dc===null||_0x22e0dc===void 0x0?void 0x0:_0x22e0dc['debuggee'])?_0x12e285(new Error(_0x2f7563(0x12b))):(_0x132c99['id']=_0x22e0dc[_0x2f7563(0x113)]['id'],_0x12e285(null,_0x22e0dc));}}});}[a6_0x51bf82(0x119)](_0x206a9c,_0x2b81b6,_0x270ad3){const _0x5271ec=a6_0x51bf82,_0x35f33f=this;assert(_0x206a9c['id'],_0x5271ec(0xc4));const _0x353029={'successOnTimeout':!![]};_0x35f33f['nextWaitToken']&&(_0x353029[_0x5271ec(0x125)]=_0x35f33f[_0x5271ec(0xcd)]);const _0x22f12b=this['apiUrl']+encodeURIComponent(_0x206a9c['id'])+_0x5271ec(0xdf)+qs[_0x5271ec(0xdc)](_0x353029);_0x35f33f[_0x5271ec(0xd1)]({'uri':_0x22f12b,'json':!![]},(_0x4ce3e3,_0x332e5b,_0x3cadc0)=>{const _0x183ac7=_0x5271ec;if(!_0x3cadc0){_0x2b81b6(_0x4ce3e3||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0x3cadc0[_0x183ac7(0xd8)])){_0x2b81b6(new Error('unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20'+_0x3cadc0[_0x183ac7(0xd8)]),_0x3cadc0);return;}else _0x332e5b&&(_0x35f33f[_0x183ac7(0xcd)]=_0x332e5b['nextWaitToken']),_0x2b81b6(null,_0x3cadc0,_0x332e5b);}},_0x270ad3);}['enqueueBreakpointUpdate'](_0x21fe82,_0x1960d6){const _0x401f35=a6_0x51bf82;assert(_0x21fe82['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0xd93546=JSON[_0x401f35(0xdc)](_0x1960d6),_0x42cc49=(0x0,utils_1[_0x401f35(0xda)])(_0xd93546);if(_0x42cc49>=this[_0x401f35(0xe4)][_0x401f35(0x111)]){this[_0x401f35(0xf8)][_0x401f35(0x116)](_0x401f35(0x103)+_0x1960d6['id']+_0x401f35(0xbe)+_0x42cc49+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0x401f35(0xe4)][_0x401f35(0x111)]);return;}this[_0x401f35(0xd5)][_0x401f35(0x130)]({'id':_0x1960d6['id'],'serializedJson':_0xd93546,'number':0x0});if(!this[_0x401f35(0x10e)]){const _0x148312=this;this[_0x401f35(0x10e)]=setTimeout(()=>_0x148312['transmitBreakpointUpdates'][_0x401f35(0xd3)](_0x148312)(_0x21fe82['id']),0x0);}}catch(_0x4b1935){this[_0x401f35(0xf8)][_0x401f35(0xf7)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x1960d6['id']+_0x401f35(0xf5),_0x4b1935);return;}}['clearTransmissionTimeout'](){const _0x4105fb=a6_0x51bf82;if(!this[_0x4105fb(0x10e)])return;clearTimeout(this[_0x4105fb(0x10e)]),this[_0x4105fb(0x10e)]=null;}['deregister'](_0x31918b,_0x376804){const _0x58d574=a6_0x51bf82,_0x303337=this[_0x58d574(0xde)]+encodeURIComponent(_0x31918b['id'])+_0x58d574(0xe8),_0xfd4faa={'uri':_0x303337,'method':'POST','json':!![]};this[_0x58d574(0xf8)][_0x58d574(0x121)](_0x58d574(0xfd)),this[_0x58d574(0xd1)](_0xfd4faa,(_0x45abd4,_0x48f5a1,_0x24d4fc)=>{const _0x594d31=_0x58d574;(!_0x24d4fc||Math[_0x594d31(0x11c)](_0x24d4fc[_0x594d31(0xd8)]/0x64)!==0x2)&&this[_0x594d31(0xf8)][_0x594d31(0x116)](_0x594d31(0xea)+_0x45abd4),_0x376804(_0x45abd4);});}[a6_0x51bf82(0x128)](_0x25e115,_0x2af1be,_0xe51b3f){const _0x28bcf5=a6_0x51bf82,_0x52b7ca=this['apiUrl']+encodeURIComponent(_0x25e115['id'])+_0x28bcf5(0xd4),_0x544b85={'uri':_0x52b7ca,'method':_0x28bcf5(0xb2),'json':!![],'body':_0x2af1be};this[_0x28bcf5(0xd1)](_0x544b85,(_0x34723a,_0x3df81f,_0x85d788)=>{const _0x4e3747=_0x28bcf5;(!_0x85d788||Math['floor'](_0x85d788['status']/0x64)!==0x2)&&(this['logger'][_0x4e3747(0x116)](_0x4e3747(0xc6)+_0x34723a),_0xe51b3f(_0x34723a));});}[a6_0x51bf82(0xae)](_0x33f2ff,_0x58524c,_0xe1333e){const _0x3f587a=a6_0x51bf82,_0x6ab301=this[_0x3f587a(0xde)]+encodeURIComponent(_0x33f2ff['id'])+'/appOnlyActionHits/',_0x4a1c3a={'uri':_0x6ab301,'method':_0x3f587a(0xb2),'json':!![],'body':_0x58524c};this['makeRequest'](_0x4a1c3a,(_0x247684,_0x59b273,_0x52fa5e)=>{const _0x248ac2=_0x3f587a;(!_0x52fa5e||Math[_0x248ac2(0x11c)](_0x52fa5e[_0x248ac2(0xd8)]/0x64)!==0x2)&&(this['logger'][_0x248ac2(0x116)](_0x248ac2(0xb7)+_0x247684),_0xe1333e(_0x247684));});}['sendAgentLogsToServer'](_0x4920eb,_0x2cdd2,_0x3fcb52){const _0x20ed68=a6_0x51bf82;assert(_0x4920eb['id'],_0x20ed68(0xc4));if(this['lastLogCollectionTime']){const _0x4c9918=Date[_0x20ed68(0x108)](),_0x60f713=this[_0x20ed68(0xd0)]+this[_0x20ed68(0xe4)][_0x20ed68(0xd7)][_0x20ed68(0x117)];if(_0x4c9918<_0x60f713){this[_0x20ed68(0xf8)][_0x20ed68(0x121)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x60f713-_0x4c9918)/0x3e8+_0x20ed68(0xf1)));return;}}const _0x337b2a=(0x0,fs_1[_0x20ed68(0xad)])(_0x3fcb52)[_0x20ed68(0xed)],_0x39d227=Math[_0x20ed68(0x100)](0x0,_0x337b2a-this[_0x20ed68(0xe4)][_0x20ed68(0xd7)][_0x20ed68(0xcb)]),_0x8ff3b1=(0x0,fs_1[_0x20ed68(0x112)])(_0x3fcb52,{'start':_0x39d227}),_0x2ae1ff=(0x0,zlib_1[_0x20ed68(0xec)])(),_0x3def75=new memory_streams_1[(_0x20ed68(0xdb))](),_0x371dc0=this;_0x371dc0[_0x20ed68(0xf8)][_0x20ed68(0x121)]('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x3fcb52+'\x20for\x20request\x20id\x20'+_0x2cdd2),(0x0,stream_1[_0x20ed68(0xca)])(_0x8ff3b1,_0x2ae1ff,_0x3def75,_0x2d7156=>{const _0x3f8be2=_0x20ed68;if(_0x2d7156)_0x371dc0['logger'][_0x3f8be2(0xf7)](_0x3f8be2(0xbb)+_0x3fcb52+':\x20'+_0x2d7156);else{const _0x41c94f={'uri':this[_0x3f8be2(0xde)]+encodeURIComponent(_0x4920eb['id'])+_0x3f8be2(0x135)+_0x2cdd2,'method':_0x3f8be2(0xc0),'body':_0x3def75[_0x3f8be2(0x11d)]()};_0x371dc0[_0x3f8be2(0xd1)](_0x41c94f,_0x3379c5=>{const _0x568cbf=_0x3f8be2;_0x3379c5?_0x371dc0[_0x568cbf(0xf8)][_0x568cbf(0xf7)](_0x568cbf(0x12f)+_0x3fcb52+_0x568cbf(0xfa)+_0x2cdd2,_0x3379c5):(_0x371dc0[_0x568cbf(0xf8)][_0x568cbf(0x121)](_0x568cbf(0xf6)+_0x3fcb52+_0x568cbf(0xfa)+_0x2cdd2),_0x371dc0[_0x568cbf(0xd0)]=Date[_0x568cbf(0x108)]());});}});}[a6_0x51bf82(0x12d)](_0x56e175){const _0x2228bd=a6_0x51bf82;var _0x5c083b;this[_0x2228bd(0xf8)][_0x2228bd(0xe7)]('Transmitting\x20breakpoint\x20updates...'),this[_0x2228bd(0x10e)]=undefined;const _0x178407=[];let _0x2c26b0=0x0;while(_0x178407['length']<this[_0x2228bd(0xe4)][_0x2228bd(0x102)]&&this[_0x2228bd(0xd5)]['length']>0x0){const _0x68a1=this[_0x2228bd(0xd5)][0x0],_0x6a4884=_0x68a1[_0x2228bd(0xb8)],_0x5cb39e=(0x0,utils_1[_0x2228bd(0xda)])(_0x6a4884);_0x2c26b0+=_0x5cb39e;if(_0x2c26b0<=this['config'][_0x2228bd(0xbf)])_0x178407[_0x2228bd(0x130)](_0x68a1),this[_0x2228bd(0xd5)][_0x2228bd(0xb1)]();else{_0x5cb39e>this['config'][_0x2228bd(0xbf)]&&_0x178407[_0x2228bd(0x11f)]===0x0&&(this[_0x2228bd(0xf8)][_0x2228bd(0xe7)](_0x2228bd(0xf2)+_0x68a1['id']+_0x2228bd(0x11e)+this[_0x2228bd(0xe4)][_0x2228bd(0xbf)]+_0x2228bd(0xf4)),_0x178407['push'](_0x68a1),this['transmissionQueue'][_0x2228bd(0xb1)]());break;}}if(!_0x178407)return;const _0x1cb308=_0x178407[_0x2228bd(0x107)](_0x68db44=>_0x68db44['id']),_0x5932a2={'uri':this['apiUrl']+encodeURIComponent(_0x56e175)+_0x2228bd(0x137),'json':!![],'method':_0x2228bd(0xc0),'body':'['+_0x178407['map'](_0x455853=>_0x455853[_0x2228bd(0xb8)])[_0x2228bd(0x12c)](',')+']'},_0x418189=this;try{this[_0x2228bd(0xd1)](_0x5932a2,(_0x14aff9,_0x2b32b8,_0x3e9fd1)=>{const _0xd9ba4a=_0x2228bd,_0x247174=_0x3e9fd1===null||_0x3e9fd1===void 0x0?void 0x0:_0x3e9fd1[_0xd9ba4a(0xd8)];_0x418189[_0xd9ba4a(0xf8)][_0xd9ba4a(0xe7)](_0xd9ba4a(0x118)+_0x1cb308+'\x20finished\x20with\x20status\x20'+_0x247174);if(_0x14aff9||!_0x247174||Math[_0xd9ba4a(0x11c)](_0x247174/0x64)!==0x2){const _0x4eadfe=_0x247174&&(_0x247174>=0x1f4||_0x247174===0x198);if(_0x4eadfe){_0x418189[_0xd9ba4a(0xf8)][_0xd9ba4a(0x116)](_0xd9ba4a(0xfc)+_0x1cb308+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x247174+_0xd9ba4a(0xb3)+_0x14aff9);for(const _0x4d9908 of _0x178407){_0x4d9908[_0xd9ba4a(0x126)]<MAX_FAILED_SEND_ATTEMPTS?_0x418189[_0xd9ba4a(0xd5)][_0xd9ba4a(0x130)]({..._0x4d9908,'number':_0x4d9908['number']+0x1}):_0x418189[_0xd9ba4a(0xf8)]['warn'](_0xd9ba4a(0xe0)+_0x4d9908['id']+_0xd9ba4a(0xe5));}}else _0x418189[_0xd9ba4a(0xf8)][_0xd9ba4a(0x116)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x1cb308+_0xd9ba4a(0x138)+_0x247174+_0xd9ba4a(0xb3)+_0x14aff9);}else _0x418189[_0xd9ba4a(0xf8)][_0xd9ba4a(0x121)]('Update\x20for\x20breakpoints\x20'+_0x1cb308+_0xd9ba4a(0xc3));_0x418189[_0xd9ba4a(0xd5)][_0xd9ba4a(0x11f)]>0x0&&(_0x418189['transmissionTimeout']=setTimeout(()=>_0x418189[_0xd9ba4a(0x12d)][_0xd9ba4a(0xd3)](_0x418189)(_0x56e175),0x0));},0x28);}catch(_0x682eab){this['logger']['warn']('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x1cb308+_0x2228bd(0x13b)+_0x682eab+_0x2228bd(0xc1)+((_0x5c083b=_0x682eab[_0x2228bd(0xb4)])===null||_0x5c083b===void 0x0?void 0x0:_0x5c083b[_0x2228bd(0x133)])),_0x418189[_0x2228bd(0xd5)][_0x2228bd(0x11f)]>0x0&&(_0x418189[_0x2228bd(0x10e)]=setTimeout(()=>_0x418189[_0x2228bd(0x12d)][_0x2228bd(0xd3)](_0x418189)(_0x56e175),0x0));}}async[a6_0x51bf82(0x10c)](_0x1d1fd8){const _0x488690=a6_0x51bf82;this[_0x488690(0xf8)][_0x488690(0x121)](_0x488690(0xd9));const _0x4e83ff=this['apiUrl']+encodeURIComponent(_0x1d1fd8)+_0x488690(0xc2),{error:_0x124b02,data:_0x4fc25a}=await this['makeRequest']({'uri':_0x4e83ff,'json':!![]});if(_0x124b02)return Promise['reject'](_0x124b02);return yaml['load'](_0x4fc25a)||{};}[a6_0x51bf82(0xd1)](_0x3cbdf7,_0x2f60b2,_0x2808fe,_0x456561){const _0x5c3d9b=a6_0x51bf82,_0x18aedd={'Content-Type':_0x456561?_0x456561:_0x5c3d9b(0xc8),'Authorization':_0x5c3d9b(0xc7)+this[_0x5c3d9b(0xe4)]['lightrunSecret']},_0x1d3419={'checkServerIdentity':(_0x5a83ab,_0x32f05e)=>this[_0x5c3d9b(0x139)](_0x5a83ab,_0x32f05e,this[_0x5c3d9b(0xe4)])};if(this[_0x5c3d9b(0xee)]){const _0x16e512=(0x0,tls_1['createSecureContext'])(_0x1d3419);_0x16e512[_0x5c3d9b(0x115)]['addCACert'](this[_0x5c3d9b(0xee)]),_0x1d3419[_0x5c3d9b(0xf9)]=_0x16e512;}const _0x18b341=axios_1[_0x5c3d9b(0x106)]['CancelToken'][_0x5c3d9b(0xbc)](),_0x3ba4e4=_0x2808fe?_0x2808fe*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x5c3d9b(0xf8)][_0x5c3d9b(0xe7)](_0x5c3d9b(0xbd)+_0x3ba4e4);const _0x486f40=setTimeout(()=>{const _0x176e4b=_0x5c3d9b;this[_0x176e4b(0xf8)][_0x176e4b(0x116)]('Timeout\x20occurred\x20after\x20'+_0x3ba4e4+'ms'),_0x18b341['cancel']();},_0x3ba4e4),_0x2a460e={'method':_0x3cbdf7[_0x5c3d9b(0xd2)],'httpsAgent':new https[(_0x5c3d9b(0x10d))](_0x1d3419),'url':_0x3cbdf7['uri'],'data':_0x3cbdf7['body'],'headers':_0x18aedd,'cancelToken':_0x18b341[_0x5c3d9b(0x110)]};return extend(!![],_0x2a460e,_0x3cbdf7),axios_1[_0x5c3d9b(0x106)]['request'](_0x2a460e)[_0x5c3d9b(0x11a)](_0x71d218=>{const _0x57600b=_0x5c3d9b;return _0x2f60b2===null||_0x2f60b2===void 0x0?void 0x0:_0x2f60b2(null,_0x71d218['data'],_0x71d218),{'error':null,'data':_0x71d218[_0x57600b(0xb4)],'res':_0x71d218};})[_0x5c3d9b(0x129)](_0x210ccf=>{const _0x9c9351=_0x5c3d9b;var _0x44f2d3,_0x449054;return _0x2f60b2===null||_0x2f60b2===void 0x0?void 0x0:_0x2f60b2(_0x210ccf,(_0x44f2d3=_0x210ccf[_0x9c9351(0xfe)])===null||_0x44f2d3===void 0x0?void 0x0:_0x44f2d3[_0x9c9351(0xb4)],_0x210ccf[_0x9c9351(0xfe)]),{'error':_0x210ccf,'data':(_0x449054=_0x210ccf[_0x9c9351(0xfe)])===null||_0x449054===void 0x0?void 0x0:_0x449054['data'],'res':_0x210ccf[_0x9c9351(0xfe)]};})[_0x5c3d9b(0x105)](()=>clearTimeout(_0x486f40));}[a6_0x51bf82(0x139)](_0x3c6188,_0x34b1ed,_0x54ba56){const _0xe59664=a6_0x51bf82;if(_0x54ba56['noCheckCertificate'])return undefined;const _0x8c76f9=(0x0,crypto_1['createHash'])(_0xe59664(0x114))['update'](_0x34b1ed[_0xe59664(0xef)])[_0xe59664(0xb9)]('hex');return _0x54ba56[_0xe59664(0xc9)][_0xe59664(0xcc)](_0x8c76f9)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}async[a6_0x51bf82(0x120)](_0x1893a6){const _0x4a47eb=a6_0x51bf82;this[_0x4a47eb(0xf8)][_0x4a47eb(0x121)](_0x4a47eb(0x132));const _0x43bdbe=this[_0x4a47eb(0xde)]+encodeURIComponent(_0x1893a6)+'/redaction',{error:_0x2b12e9,data:_0x32b219}=await this[_0x4a47eb(0xd1)]({'uri':_0x43bdbe,'json':!![]});if(_0x2b12e9)return Promise[_0x4a47eb(0xce)](_0x2b12e9);return _0x32b219;}}exports[a6_0x51bf82(0xfb)]=Controller;function is2xx(_0x2ac902){return Math['floor'](_0x2ac902/0x64)===0x2;}
|
|
1
|
+
function a6_0x5792(_0x44a40a,_0xf81ef6){const _0x458432=a6_0x834b();return a6_0x5792=function(_0x2eb7ca,_0x414ab9){_0x2eb7ca=_0x2eb7ca-0x175;let _0x834b64=_0x458432[_0x2eb7ca];return _0x834b64;},a6_0x5792(_0x44a40a,_0xf81ef6);}const a6_0x5e56ec=a6_0x5792;(function(_0x16043f,_0xb27008){const _0x22db6a=a6_0x5792,_0x595a58=_0x16043f();while(!![]){try{const _0x50ec84=parseInt(_0x22db6a(0x1c3))/0x1+-parseInt(_0x22db6a(0x183))/0x2+-parseInt(_0x22db6a(0x177))/0x3+parseInt(_0x22db6a(0x1f7))/0x4*(-parseInt(_0x22db6a(0x1ad))/0x5)+parseInt(_0x22db6a(0x1e3))/0x6+parseInt(_0x22db6a(0x19f))/0x7*(-parseInt(_0x22db6a(0x176))/0x8)+parseInt(_0x22db6a(0x182))/0x9;if(_0x50ec84===_0xb27008)break;else _0x595a58['push'](_0x595a58['shift']());}catch(_0x1864e4){_0x595a58['push'](_0x595a58['shift']());}}}(a6_0x834b,0x88d71));const a6_0x414ab9=(function(){let _0x43c9c2=!![];return function(_0x7c47f7,_0x29e5e0){const _0x23608c=_0x43c9c2?function(){if(_0x29e5e0){const _0x7bdd4d=_0x29e5e0['apply'](_0x7c47f7,arguments);return _0x29e5e0=null,_0x7bdd4d;}}:function(){};return _0x43c9c2=![],_0x23608c;};}()),a6_0x2eb7ca=a6_0x414ab9(this,function(){const _0x1a6c33=a6_0x5792;return a6_0x2eb7ca[_0x1a6c33(0x1ed)]()['search'](_0x1a6c33(0x1fa))[_0x1a6c33(0x1ed)]()[_0x1a6c33(0x1d8)](a6_0x2eb7ca)[_0x1a6c33(0x1b2)]('(((.+)+)+)+$');});a6_0x2eb7ca();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a6_0x5e56ec(0x1b6)]=void 0x0;function a6_0x834b(){const _0x3bce8d=['readFileSync','(((.+)+)+)+$','https://','now','/appOnlyActionHits/','should\x20have\x20a\x20registered\x20debuggee','caPath','map','8ffXbDG','750810OBFYCD','selfSignedCA','/log/','lastLogCollectionTime','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','error','info','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','Getting\x20reductions','warn','request','22136139suIzpC','1415120LfwaVt',',\x20sending\x20only\x20one','transmissionBulkMaxNetworkSizeInBytes','ServiceObject','Compressing\x20and\x20sending\x20log\x20file\x20','Bearer\x20','@google-cloud/common','Agent','memory-streams','Getting\x20blocklist','status','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','breakpoint\x20','transmissionHardMaxNetworkSizeLimitInBytes','number','/breakpoints','nextWaitToken','getBlocklist','data','lightrunSecret','agentLog','pinnedCerts','size','apiUrl','unable\x20to\x20register,\x20status\x20','cancel','default','push','5589178oPDkyN','/blacklist?successOnTimeout=true','\x20and\x20enqueue\x20to\x20queue','/deregister/','getRedactions','serializedJson','transmissionTimeout','createHash','response','transmissionQueue','extend','addCACert','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','Timeout\x20occurred\x20after\x20','10CiMYNM','shift','secureContext','unknown\x20error\x20-\x20request\x20response\x20missing','makeRequest','search','\x22\x20-\x20ignoring\x20it','catch','\x20size\x20is\x20','Controller','noCheckCertificate','method','crypto','Failed\x20to\x20zip\x20','verifyCertificate','querystring','apiEndpoint','timeout\x20set\x20to\x20','\x20Error:\x20','transmissionBulkMaxSize','/compressedLogFile/','register','214975qTgZtn','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','/breakpoints?','ascii','listBreakpoints','toBuffer','\x20seconds','invalid\x20response\x20body\x20from\x20server','Transmitting\x20breakpoint\x20updates...','uri','\x20for\x20request\x20id\x20','enqueueBreakpointUpdate','Failed\x20to\x20read\x20pem\x20file\x20\x22','includes','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','waitToken','reject','Update\x20for\x20breakpoints\x20','CancelToken','debuggee','PUT','constructor','tls','transmitBreakpointUpdates','sendAgentLogsToServer','debug','bind','logger','sendBreakpointLogsToServer','message','source','context','2312586GNdfsn','config','/debuggees/','\x20size\x20>\x20max\x20network\x20size\x20:\x20','POST','getJsonStringSizeInBytes','axios','/controller','length','stringify','toString','Successfully\x20sent\x20log\x20file\x20','hex','floor','maxLogFileBytes','\x20for\x20request\x20','then','finally','max','body','1486392oyiRGP','Deregister\x20agent\x20before\x20shutdown'];a6_0x834b=function(){return _0x3bce8d;};return a6_0x834b();}const common_1=require(a6_0x5e56ec(0x189)),assert=require('assert'),qs=require(a6_0x5e56ec(0x1bc)),fs_1=require('fs'),crypto_1=require(a6_0x5e56ec(0x1b9)),zlib_1=require('zlib'),stream_1=require('stream'),memory_streams_1=require(a6_0x5e56ec(0x18b)),tls_1=require(a6_0x5e56ec(0x1d9)),extend=require(a6_0x5e56ec(0x1a9)),axios_1=require(a6_0x5e56ec(0x1e9)),https=require('https'),utils_1=require('./util/utils'),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x5e56ec(0x186)]{constructor(_0x1ce879,_0x51d0ae,_0x39949d){const _0x1c89e7=a6_0x5e56ec;super({'parent':_0x1ce879,'baseUrl':_0x1c89e7(0x1ea)}),this[_0x1c89e7(0x193)]=null,this[_0x1c89e7(0x1e4)]=_0x51d0ae,this['transmissionQueue']=[],this['logger']=_0x39949d;if(_0x51d0ae[_0x1c89e7(0x1ff)])try{this[_0x1c89e7(0x178)]=(0x0,fs_1[_0x1c89e7(0x1f9)])(_0x51d0ae[_0x1c89e7(0x1ff)],_0x1c89e7(0x1c6));}catch(_0x38b4ad){_0x39949d[_0x1c89e7(0x180)](_0x1c89e7(0x1cf)+_0x51d0ae[_0x1c89e7(0x1ff)]+_0x1c89e7(0x1b3));}this['apiUrl']=_0x1c89e7(0x1fb)+_0x51d0ae[_0x1c89e7(0x1bd)]+_0x1c89e7(0x1e5);}['register'](_0x3947a9,_0x42fe76){const _0x335551=a6_0x5e56ec,_0x5c0481={'uri':this[_0x335551(0x19a)]+_0x335551(0x1c2),'method':_0x335551(0x1e7),'json':!![],'body':{'debuggee':_0x3947a9}};this[_0x335551(0x1b1)](_0x5c0481,(_0x134464,_0x344164,_0x336b11)=>{const _0x4c80e9=_0x335551;if(!_0x336b11)_0x42fe76(_0x134464||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x134464){let _0x410ffb=![];_0x336b11['status']===HTTP_UPGRADE_REQUIRED&&_0x344164&&(_0x344164[_0x4c80e9(0x1e0)]!==undefined&&(_0x134464[_0x4c80e9(0x1e0)]=_0x344164['message']),_0x3947a9['id']=_0x344164[_0x4c80e9(0x1d6)]['id'],_0x410ffb=!![]),_0x42fe76(_0x134464,_0x344164,_0x410ffb);}else{if(_0x336b11[_0x4c80e9(0x18d)]!==HTTP_SUCCESS)_0x42fe76(new Error(_0x4c80e9(0x19b)+_0x336b11[_0x4c80e9(0x18d)]));else!(_0x344164===null||_0x344164===void 0x0?void 0x0:_0x344164[_0x4c80e9(0x1d6)])?_0x42fe76(new Error(_0x4c80e9(0x1ca))):(_0x3947a9['id']=_0x344164[_0x4c80e9(0x1d6)]['id'],_0x42fe76(null,_0x344164));}}});}[a6_0x5e56ec(0x1c7)](_0x35c08a,_0x4dde09,_0x3f4ca1){const _0x36fdba=a6_0x5e56ec,_0x12a04b=this;assert(_0x35c08a['id'],_0x36fdba(0x1fe));const _0x58a46b={'successOnTimeout':!![]};_0x12a04b[_0x36fdba(0x193)]&&(_0x58a46b[_0x36fdba(0x1d2)]=_0x12a04b[_0x36fdba(0x193)]);const _0x3df76f=this[_0x36fdba(0x19a)]+encodeURIComponent(_0x35c08a['id'])+_0x36fdba(0x1c5)+qs[_0x36fdba(0x1ec)](_0x58a46b);_0x12a04b[_0x36fdba(0x1b1)]({'uri':_0x3df76f,'json':!![]},(_0x48b309,_0x30f540,_0x1b8f08)=>{const _0x38ed95=_0x36fdba;if(!_0x1b8f08){_0x4dde09(_0x48b309||new Error(_0x38ed95(0x1b0)));return;}else{if(!is2xx(_0x1b8f08['status'])){_0x4dde09(new Error('unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20'+_0x1b8f08['status']),_0x1b8f08);return;}else _0x30f540&&(_0x12a04b[_0x38ed95(0x193)]=_0x30f540[_0x38ed95(0x193)]),_0x4dde09(null,_0x1b8f08,_0x30f540);}},_0x3f4ca1);}[a6_0x5e56ec(0x1ce)](_0x2638fb,_0x4e4288){const _0x51bc45=a6_0x5e56ec;assert(_0x2638fb['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x1e8aef=JSON['stringify'](_0x4e4288),_0x5e6f57=(0x0,utils_1[_0x51bc45(0x1e8)])(_0x1e8aef);if(_0x5e6f57>=this[_0x51bc45(0x1e4)][_0x51bc45(0x190)]){this[_0x51bc45(0x1de)][_0x51bc45(0x180)]('breakpointId:\x20'+_0x4e4288['id']+_0x51bc45(0x1b5)+_0x5e6f57+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0x51bc45(0x1e4)][_0x51bc45(0x190)]);return;}this[_0x51bc45(0x1a8)][_0x51bc45(0x19e)]({'id':_0x4e4288['id'],'serializedJson':_0x1e8aef,'number':0x0});if(!this['transmissionTimeout']){const _0x39e86a=this;this[_0x51bc45(0x1a5)]=setTimeout(()=>_0x39e86a[_0x51bc45(0x1da)]['bind'](_0x39e86a)(_0x2638fb['id']),0x0);}}catch(_0x37d5ac){this[_0x51bc45(0x1de)][_0x51bc45(0x17c)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x4e4288['id']+_0x51bc45(0x1a1),_0x37d5ac);return;}}['clearTransmissionTimeout'](){const _0xbeff94=a6_0x5e56ec;if(!this[_0xbeff94(0x1a5)])return;clearTimeout(this['transmissionTimeout']),this['transmissionTimeout']=null;}['deregister'](_0x2d8a84,_0x3cd447){const _0x4cb51f=a6_0x5e56ec,_0xb6ff27=this[_0x4cb51f(0x19a)]+encodeURIComponent(_0x2d8a84['id'])+_0x4cb51f(0x1a2),_0x254ef1={'uri':_0xb6ff27,'method':_0x4cb51f(0x1e7),'json':!![]};this[_0x4cb51f(0x1de)][_0x4cb51f(0x17d)](_0x4cb51f(0x1f8)),this[_0x4cb51f(0x1b1)](_0x254ef1,(_0x1cae86,_0x2185e9,_0x5e6558)=>{const _0x28b900=_0x4cb51f;(!_0x5e6558||Math['floor'](_0x5e6558[_0x28b900(0x18d)]/0x64)!==0x2)&&this[_0x28b900(0x1de)][_0x28b900(0x180)](_0x28b900(0x1c4)+_0x1cae86),_0x3cd447(_0x1cae86);});}[a6_0x5e56ec(0x1df)](_0x3bbada,_0x18dd91,_0x208439){const _0x48fe9a=a6_0x5e56ec,_0x22f8d7=this[_0x48fe9a(0x19a)]+encodeURIComponent(_0x3bbada['id'])+_0x48fe9a(0x179),_0x15703d={'uri':_0x22f8d7,'method':_0x48fe9a(0x1e7),'json':!![],'body':_0x18dd91};this[_0x48fe9a(0x1b1)](_0x15703d,(_0xfe21f,_0x400528,_0x5a642b)=>{const _0x1cfd96=_0x48fe9a;(!_0x5a642b||Math[_0x1cfd96(0x1f0)](_0x5a642b[_0x1cfd96(0x18d)]/0x64)!==0x2)&&(this[_0x1cfd96(0x1de)][_0x1cfd96(0x180)](_0x1cfd96(0x18e)+_0xfe21f),_0x208439(_0xfe21f));});}['sendAppOnlyBreakpointHitsToServer'](_0x36ef81,_0x283203,_0x401159){const _0x24a21c=a6_0x5e56ec,_0x976fcd=this['apiUrl']+encodeURIComponent(_0x36ef81['id'])+_0x24a21c(0x1fd),_0x1b3838={'uri':_0x976fcd,'method':'POST','json':!![],'body':_0x283203};this[_0x24a21c(0x1b1)](_0x1b3838,(_0x2f3248,_0x456e44,_0x140ffb)=>{const _0x1d43a7=_0x24a21c;(!_0x140ffb||Math['floor'](_0x140ffb[_0x1d43a7(0x18d)]/0x64)!==0x2)&&(this[_0x1d43a7(0x1de)][_0x1d43a7(0x180)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x2f3248),_0x401159(_0x2f3248));});}[a6_0x5e56ec(0x1db)](_0x23c954,_0x1de404,_0x591c4c){const _0x6817dd=a6_0x5e56ec;assert(_0x23c954['id'],_0x6817dd(0x1fe));if(this[_0x6817dd(0x17a)]){const _0x20f28b=Date[_0x6817dd(0x1fc)](),_0xd160a5=this[_0x6817dd(0x17a)]+this[_0x6817dd(0x1e4)][_0x6817dd(0x197)]['collectCooldownMs'];if(_0x20f28b<_0xd160a5){this[_0x6817dd(0x1de)]['info'](_0x6817dd(0x1d1)+((_0xd160a5-_0x20f28b)/0x3e8+_0x6817dd(0x1c9)));return;}}const _0x11ed1d=(0x0,fs_1['statSync'])(_0x591c4c)[_0x6817dd(0x199)],_0x55e2bf=Math[_0x6817dd(0x1f5)](0x0,_0x11ed1d-this[_0x6817dd(0x1e4)][_0x6817dd(0x197)][_0x6817dd(0x1f1)]),_0x106070=(0x0,fs_1['createReadStream'])(_0x591c4c,{'start':_0x55e2bf}),_0x195b55=(0x0,zlib_1['createGzip'])(),_0x4d0348=new memory_streams_1['WritableStream'](),_0x2d798e=this;_0x2d798e[_0x6817dd(0x1de)][_0x6817dd(0x17d)](_0x6817dd(0x187)+_0x591c4c+_0x6817dd(0x1cd)+_0x1de404),(0x0,stream_1['pipeline'])(_0x106070,_0x195b55,_0x4d0348,_0x4506d3=>{const _0x55991c=_0x6817dd;if(_0x4506d3)_0x2d798e[_0x55991c(0x1de)]['error'](_0x55991c(0x1ba)+_0x591c4c+':\x20'+_0x4506d3);else{const _0x10d835={'uri':this[_0x55991c(0x19a)]+encodeURIComponent(_0x23c954['id'])+_0x55991c(0x1c1)+_0x1de404,'method':_0x55991c(0x1d7),'body':_0x4d0348[_0x55991c(0x1c8)]()};_0x2d798e[_0x55991c(0x1b1)](_0x10d835,_0x1fab7=>{const _0x32420e=_0x55991c;_0x1fab7?_0x2d798e[_0x32420e(0x1de)][_0x32420e(0x17c)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x591c4c+_0x32420e(0x1f2)+_0x1de404,_0x1fab7):(_0x2d798e['logger'][_0x32420e(0x17d)](_0x32420e(0x1ee)+_0x591c4c+'\x20for\x20request\x20'+_0x1de404),_0x2d798e[_0x32420e(0x17a)]=Date[_0x32420e(0x1fc)]());});}});}[a6_0x5e56ec(0x1da)](_0x264156){const _0x436c2b=a6_0x5e56ec;var _0x1e8cf7;this[_0x436c2b(0x1de)][_0x436c2b(0x1dc)](_0x436c2b(0x1cb)),this['transmissionTimeout']=undefined;const _0x2845b4=[];let _0x559982=0x0;while(_0x2845b4[_0x436c2b(0x1eb)]<this[_0x436c2b(0x1e4)][_0x436c2b(0x1c0)]&&this[_0x436c2b(0x1a8)][_0x436c2b(0x1eb)]>0x0){const _0x2fcb45=this['transmissionQueue'][0x0],_0x360b7e=_0x2fcb45['serializedJson'],_0x28b5e1=(0x0,utils_1[_0x436c2b(0x1e8)])(_0x360b7e);_0x559982+=_0x28b5e1;if(_0x559982<=this['config'][_0x436c2b(0x185)])_0x2845b4[_0x436c2b(0x19e)](_0x2fcb45),this[_0x436c2b(0x1a8)]['shift']();else{_0x28b5e1>this[_0x436c2b(0x1e4)][_0x436c2b(0x185)]&&_0x2845b4[_0x436c2b(0x1eb)]===0x0&&(this['logger'][_0x436c2b(0x1dc)](_0x436c2b(0x18f)+_0x2fcb45['id']+_0x436c2b(0x1e6)+this[_0x436c2b(0x1e4)][_0x436c2b(0x185)]+_0x436c2b(0x184)),_0x2845b4[_0x436c2b(0x19e)](_0x2fcb45),this[_0x436c2b(0x1a8)][_0x436c2b(0x1ae)]());break;}}if(!_0x2845b4)return;const _0x45a1c7=_0x2845b4[_0x436c2b(0x175)](_0x3a745f=>_0x3a745f['id']),_0x4feb8d={'uri':this[_0x436c2b(0x19a)]+encodeURIComponent(_0x264156)+_0x436c2b(0x192),'json':!![],'method':'PUT','body':'['+_0x2845b4[_0x436c2b(0x175)](_0x4f8c5b=>_0x4f8c5b[_0x436c2b(0x1a4)])['join'](',')+']'},_0x4c5da3=this;try{this['makeRequest'](_0x4feb8d,(_0x181e00,_0x578c2a,_0x4e7b8b)=>{const _0x198f71=_0x436c2b,_0x1e8db0=_0x4e7b8b===null||_0x4e7b8b===void 0x0?void 0x0:_0x4e7b8b[_0x198f71(0x18d)];_0x4c5da3[_0x198f71(0x1de)]['debug'](_0x198f71(0x1d4)+_0x45a1c7+'\x20finished\x20with\x20status\x20'+_0x1e8db0);if(_0x181e00||!_0x1e8db0||Math[_0x198f71(0x1f0)](_0x1e8db0/0x64)!==0x2){const _0x2bd43f=_0x1e8db0&&(_0x1e8db0>=0x1f4||_0x1e8db0===0x198);if(_0x2bd43f){_0x4c5da3['logger']['warn']('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x45a1c7+_0x198f71(0x17e)+_0x1e8db0+_0x198f71(0x1bf)+_0x181e00);for(const _0x9faf92 of _0x2845b4){_0x9faf92[_0x198f71(0x191)]<MAX_FAILED_SEND_ATTEMPTS?_0x4c5da3[_0x198f71(0x1a8)][_0x198f71(0x19e)]({..._0x9faf92,'number':_0x9faf92[_0x198f71(0x191)]+0x1}):_0x4c5da3[_0x198f71(0x1de)][_0x198f71(0x180)]('Breakpoint\x20'+_0x9faf92['id']+_0x198f71(0x1ab));}}else _0x4c5da3['logger'][_0x198f71(0x180)](_0x198f71(0x17b)+_0x45a1c7+_0x198f71(0x17e)+_0x1e8db0+_0x198f71(0x1bf)+_0x181e00);}else _0x4c5da3['logger'][_0x198f71(0x17d)](_0x198f71(0x1d4)+_0x45a1c7+'\x20transmitted\x20successfully');_0x4c5da3['transmissionQueue'][_0x198f71(0x1eb)]>0x0&&(_0x4c5da3[_0x198f71(0x1a5)]=setTimeout(()=>_0x4c5da3[_0x198f71(0x1da)]['bind'](_0x4c5da3)(_0x264156),0x0));},0x28);}catch(_0x2f5467){this[_0x436c2b(0x1de)][_0x436c2b(0x180)](_0x436c2b(0x17b)+_0x45a1c7+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x2f5467+',\x20Message:\x20'+((_0x1e8cf7=_0x2f5467['data'])===null||_0x1e8cf7===void 0x0?void 0x0:_0x1e8cf7[_0x436c2b(0x1e0)])),_0x4c5da3['transmissionQueue']['length']>0x0&&(_0x4c5da3[_0x436c2b(0x1a5)]=setTimeout(()=>_0x4c5da3[_0x436c2b(0x1da)][_0x436c2b(0x1dd)](_0x4c5da3)(_0x264156),0x0));}}async[a6_0x5e56ec(0x194)](_0x1f2e1e){const _0x337cc0=a6_0x5e56ec;this['logger'][_0x337cc0(0x17d)](_0x337cc0(0x18c));const _0x4b23ba=this[_0x337cc0(0x19a)]+encodeURIComponent(_0x1f2e1e)+_0x337cc0(0x1a0),{error:_0x9b614f,data:_0x2b3bcf}=await this[_0x337cc0(0x1b1)]({'uri':_0x4b23ba,'json':!![]});if(_0x9b614f)return Promise[_0x337cc0(0x1d3)](_0x9b614f);return yaml['load'](_0x2b3bcf)||{};}[a6_0x5e56ec(0x1b1)](_0x4c034f,_0x5c2c65,_0x1d00df,_0x1dd5fb){const _0x49a290=a6_0x5e56ec,_0x4a29cd={'Content-Type':_0x1dd5fb?_0x1dd5fb:'application/json','Authorization':_0x49a290(0x188)+this['config'][_0x49a290(0x196)]},_0x567f02={'checkServerIdentity':(_0x4ed00a,_0x2633f2)=>this['verifyCertificate'](_0x4ed00a,_0x2633f2,this['config'])};if(this['selfSignedCA']){const _0x408284=(0x0,tls_1['createSecureContext'])(_0x567f02);_0x408284[_0x49a290(0x1e2)][_0x49a290(0x1aa)](this[_0x49a290(0x178)]),_0x567f02[_0x49a290(0x1af)]=_0x408284;}const _0x24901c=axios_1[_0x49a290(0x19d)][_0x49a290(0x1d5)][_0x49a290(0x1e1)](),_0x367d5a=_0x1d00df?_0x1d00df*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x49a290(0x1de)][_0x49a290(0x1dc)](_0x49a290(0x1be)+_0x367d5a);const _0x2a1a03=setTimeout(()=>{const _0x120fb2=_0x49a290;this[_0x120fb2(0x1de)][_0x120fb2(0x180)](_0x120fb2(0x1ac)+_0x367d5a+'ms'),_0x24901c[_0x120fb2(0x19c)]();},_0x367d5a),_0x27fbe8={'method':_0x4c034f[_0x49a290(0x1b8)],'httpsAgent':new https[(_0x49a290(0x18a))](_0x567f02),'url':_0x4c034f[_0x49a290(0x1cc)],'data':_0x4c034f[_0x49a290(0x1f6)],'headers':_0x4a29cd,'cancelToken':_0x24901c['token']};return extend(!![],_0x27fbe8,_0x4c034f),axios_1[_0x49a290(0x19d)][_0x49a290(0x181)](_0x27fbe8)[_0x49a290(0x1f3)](_0x3b5372=>{const _0x1db71b=_0x49a290;return _0x5c2c65===null||_0x5c2c65===void 0x0?void 0x0:_0x5c2c65(null,_0x3b5372[_0x1db71b(0x195)],_0x3b5372),{'error':null,'data':_0x3b5372[_0x1db71b(0x195)],'res':_0x3b5372};})[_0x49a290(0x1b4)](_0x9221c8=>{const _0x1a0bad=_0x49a290;var _0x140825,_0x4c3395;return _0x5c2c65===null||_0x5c2c65===void 0x0?void 0x0:_0x5c2c65(_0x9221c8,(_0x140825=_0x9221c8['response'])===null||_0x140825===void 0x0?void 0x0:_0x140825[_0x1a0bad(0x195)],_0x9221c8[_0x1a0bad(0x1a7)]),{'error':_0x9221c8,'data':(_0x4c3395=_0x9221c8['response'])===null||_0x4c3395===void 0x0?void 0x0:_0x4c3395[_0x1a0bad(0x195)],'res':_0x9221c8[_0x1a0bad(0x1a7)]};})[_0x49a290(0x1f4)](()=>clearTimeout(_0x2a1a03));}[a6_0x5e56ec(0x1bb)](_0x68a6a8,_0x404bad,_0x278f9e){const _0x195a28=a6_0x5e56ec;if(_0x278f9e[_0x195a28(0x1b7)])return undefined;const _0x36ebfe=(0x0,crypto_1[_0x195a28(0x1a6)])('sha256')['update'](_0x404bad['pubkey'])['digest'](_0x195a28(0x1ef));return _0x278f9e[_0x195a28(0x198)][_0x195a28(0x1d0)](_0x36ebfe)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}async[a6_0x5e56ec(0x1a3)](_0x1b095f){const _0x5ece50=a6_0x5e56ec;this[_0x5ece50(0x1de)][_0x5ece50(0x17d)](_0x5ece50(0x17f));const _0x566a9f=this[_0x5ece50(0x19a)]+encodeURIComponent(_0x1b095f)+'/redaction',{error:_0x296f47,data:_0x10d390}=await this[_0x5ece50(0x1b1)]({'uri':_0x566a9f,'json':!![]});if(_0x296f47)return Promise[_0x5ece50(0x1d3)](_0x296f47);return _0x10d390;}}exports[a6_0x5e56ec(0x1b6)]=Controller;function is2xx(_0x3a79c3){const _0x25d01e=a6_0x5e56ec;return Math[_0x25d01e(0x1f0)](_0x3a79c3/0x64)===0x2;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0xa63f56=a7_0x25a3;(function(_0x2b8c6e,_0x5c1a40){const _0x421c3e=a7_0x25a3,_0x23e90c=_0x2b8c6e();while(!![]){try{const _0x3ad0ce=-parseInt(_0x421c3e(0x141))/0x1*(parseInt(_0x421c3e(0x14f))/0x2)+-parseInt(_0x421c3e(0x13f))/0x3*(parseInt(_0x421c3e(0x137))/0x4)+-parseInt(_0x421c3e(0x134))/0x5+-parseInt(_0x421c3e(0x147))/0x6+parseInt(_0x421c3e(0x14e))/0x7*(parseInt(_0x421c3e(0x13b))/0x8)+parseInt(_0x421c3e(0x133))/0x9+-parseInt(_0x421c3e(0x149))/0xa*(-parseInt(_0x421c3e(0x13c))/0xb);if(_0x3ad0ce===_0x5c1a40)break;else _0x23e90c['push'](_0x23e90c['shift']());}catch(_0x586607){_0x23e90c['push'](_0x23e90c['shift']());}}}(a7_0x36ed,0xd71d4));function a7_0x25a3(_0xe5bc78,_0x29baf3){const _0x20b219=a7_0x36ed();return a7_0x25a3=function(_0x15be19,_0xcbbdbd){_0x15be19=_0x15be19-0x12b;let _0x36ede6=_0x20b219[_0x15be19];return _0x36ede6;},a7_0x25a3(_0xe5bc78,_0x29baf3);}const a7_0xcbbdbd=(function(){let _0x4922d0=!![];return function(_0x3a7832,_0x513abf){const _0xd2acd1=_0x4922d0?function(){const _0x468f46=a7_0x25a3;if(_0x513abf){const _0x5b998d=_0x513abf[_0x468f46(0x14b)](_0x3a7832,arguments);return _0x513abf=null,_0x5b998d;}}:function(){};return _0x4922d0=![],_0xd2acd1;};}()),a7_0x15be19=a7_0xcbbdbd(this,function(){const _0x451d67=a7_0x25a3;return a7_0x15be19['toString']()['search']('(((.+)+)+)+$')[_0x451d67(0x135)]()[_0x451d67(0x143)](a7_0x15be19)['search'](_0x451d67(0x131));});a7_0x15be19();'use strict';function a7_0x36ed(){const _0x387aab=['toString','string','4999408shgFJB','default','name','UNSPECIFIED','294968pfuNRz','11mNegmd','relative','minorversion','3jEBUrq','versions','42iICvuj','cwd','constructor','title','version','minorVersion_','3516300hCmwrP','defineProperty','29913250TdPunE','serviceContext','apply','StatusMessage','./createDebuggeeMetadata','28iDeXAp','43718ljrltq','service','../../debuggee','createDebuggee','createDebuggeeMetadata','node','Debuggee','argv','(((.+)+)+)+$','module','13487067rtzcjU','5011420rUKkVD'];a7_0x36ed=function(){return _0x387aab;};return a7_0x36ed();}Object[a7_0xa63f56(0x148)](exports,'__esModule',{'value':!![]}),exports[a7_0xa63f56(0x12c)]=void 0x0;const path=require('path'),status_message_1=require('../../client/stackdriver/status-message'),debuggee_1=require(a7_0xa63f56(0x12b)),createDebuggeeMetadata_1=require(a7_0xa63f56(0x14d)),createUniquifier_1=require('./createUniquifier'),getPlatform_1=require('./getPlatform'),createDebuggee=(_0x5d10a3,_0x408280,_0x22d581,_0x59fad9,_0xfdae7a,_0x223f6e,_0x4912e0,_0x2dbd99)=>{const _0x2e4b49=a7_0xa63f56,_0x10477c=process[_0x2e4b49(0x142)](),_0x42ad11=path[_0x2e4b49(0x13d)](_0x10477c,process[_0x2e4b49(0x130)][0x1]),_0x12478d={'main\x20script':_0x42ad11,'process.title':process[_0x2e4b49(0x144)],'node\x20version':process[_0x2e4b49(0x140)][_0x2e4b49(0x12e)],'V8\x20version':process[_0x2e4b49(0x140)]['v8'],'agent.name':_0x59fad9[_0x2e4b49(0x139)],'agent.version':_0xfdae7a,'platform':(0x0,getPlatform_1['getPlatform'])()},_0x5c617a=_0x408280[_0x2e4b49(0x14a)];_0x5c617a&&(typeof _0x5c617a['service']===_0x2e4b49(0x136)&&_0x5c617a[_0x2e4b49(0x150)]!==_0x2e4b49(0x138)&&(_0x12478d[_0x2e4b49(0x132)]=_0x5c617a['service']),typeof _0x5c617a[_0x2e4b49(0x145)]===_0x2e4b49(0x136)&&(_0x12478d[_0x2e4b49(0x145)]=_0x5c617a[_0x2e4b49(0x145)]),typeof _0x5c617a[_0x2e4b49(0x146)]===_0x2e4b49(0x136)&&(_0x12478d[_0x2e4b49(0x13e)]=_0x5c617a[_0x2e4b49(0x146)]));const _0x1bb3d1=(0x0,createUniquifier_1['createUniquifier'])(_0xfdae7a,_0x5d10a3,_0x22d581,_0x12478d),_0xce742=_0x2dbd99?new status_message_1[(_0x2e4b49(0x14c))](status_message_1[_0x2e4b49(0x14c)][_0x2e4b49(0x13a)],_0x2dbd99,!![]):undefined,_0x417d4e=(0x0,createDebuggeeMetadata_1[_0x2e4b49(0x12d)])(_0x408280,_0x223f6e),_0x5ed84d={'uniquifier':_0x1bb3d1,'agentVersion':_0xfdae7a,'labels':{'metadata':JSON['stringify'](_0x417d4e)},'statusMessage':_0xce742,'packageInfo':_0x59fad9,..._0x4912e0};return _0x22d581&&(_0x5ed84d['sourceContexts']=[_0x22d581]),new debuggee_1[(_0x2e4b49(0x12f))](_0x5ed84d);};exports[a7_0xa63f56(0x12c)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x3d99f7=a8_0x3003;(function(_0x5f2977,_0x5c0ed0){const _0x41d32a=a8_0x3003,_0x3d4aec=_0x5f2977();while(!![]){try{const _0x3933b2=-parseInt(_0x41d32a(0x168))/0x1+parseInt(_0x41d32a(0x180))/0x2+parseInt(_0x41d32a(0x16b))/0x3*(parseInt(_0x41d32a(0x17a))/0x4)+-parseInt(_0x41d32a(0x170))/0x5*(parseInt(_0x41d32a(0x171))/0x6)+parseInt(_0x41d32a(0x175))/0x7+-parseInt(_0x41d32a(0x174))/0x8*(-parseInt(_0x41d32a(0x16e))/0x9)+parseInt(_0x41d32a(0x17e))/0xa*(-parseInt(_0x41d32a(0x176))/0xb);if(_0x3933b2===_0x5c0ed0)break;else _0x3d4aec['push'](_0x3d4aec['shift']());}catch(_0x17578d){_0x3d4aec['push'](_0x3d4aec['shift']());}}}(a8_0x28ac,0x38745));const a8_0x2a8aa4=(function(){let _0x1a76b4=!![];return function(_0xb13bf0,_0x1eac6e){const _0xc6fb73=_0x1a76b4?function(){const _0x49397a=a8_0x3003;if(_0x1eac6e){const _0x4f144b=_0x1eac6e[_0x49397a(0x16d)](_0xb13bf0,arguments);return _0x1eac6e=null,_0x4f144b;}}:function(){};return _0x1a76b4=![],_0xc6fb73;};}()),a8_0x2014e5=a8_0x2a8aa4(this,function(){const _0x4b0052=a8_0x3003;return a8_0x2014e5[_0x4b0052(0x167)]()['search'](_0x4b0052(0x17b))[_0x4b0052(0x167)]()[_0x4b0052(0x177)](a8_0x2014e5)[_0x4b0052(0x16c)]('(((.+)+)+)+$');});a8_0x2014e5();function a8_0x3003(_0x20c578,_0x5f1143){const _0x5c75d5=a8_0x28ac();return a8_0x3003=function(_0x2014e5,_0x2a8aa4){_0x2014e5=_0x2014e5-0x167;let _0x28ac89=_0x5c75d5[_0x2014e5];return _0x28ac89;},a8_0x3003(_0x20c578,_0x5f1143);}'use strict';Object['defineProperty'](exports,a8_0x3d99f7(0x178),{'value':!![]}),exports[a8_0x3d99f7(0x17d)]=void 0x0;const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0x51a127,_0x46f26b)=>{const _0x484677=a8_0x3d99f7;var _0x315d49,_0x4a94d1,_0xb1dfd8;let _0x26c190={'registration':{}};if((_0x315d49=_0x51a127[_0x484677(0x17f)])===null||_0x315d49===void 0x0?void 0x0:_0x315d49['filename'])try{_0x26c190=JSON[_0x484677(0x16f)](fs[_0x484677(0x179)](_0x51a127[_0x484677(0x17f)]['filename'],_0x484677(0x17c)));}catch(_0x26cc8f){_0x46f26b['warn'](_0x484677(0x181)+_0x51a127[_0x484677(0x17f)]['filename'],_0x26cc8f);}return _0x26c190['registration']=extend(!![],{},(_0x4a94d1=_0x51a127[_0x484677(0x17f)])===null||_0x4a94d1===void 0x0?void 0x0:_0x4a94d1[_0x484677(0x173)],_0x26c190['registration']),((_0xb1dfd8=_0x26c190[_0x484677(0x173)])===null||_0xb1dfd8===void 0x0?void 0x0:_0xb1dfd8['tags'])&&(_0x26c190[_0x484677(0x173)]['tags']=_0x26c190['registration'][_0x484677(0x16a)][_0x484677(0x172)](_0x3df22f=>typeof _0x3df22f===_0x484677(0x169)?{'name':_0x3df22f}:_0x3df22f)),_0x26c190;};function a8_0x28ac(){const _0x34e94f=['3NbyMct','search','apply','3748941IkxXzS','parse','2220eGrMXG','2238wSMgJF','map','registration','8XLuhFD','2982126oRXZns','1199oauPOz','constructor','__esModule','readFileSync','1475556VBJUyt','(((.+)+)+)+$','utf-8','createDebuggeeMetadata','78740FFMmxH','metadata','263462ecNeOs','Failed\x20to\x20read\x20metadata\x20file\x20','toString','88072RBkumM','string','tags'];a8_0x28ac=function(){return _0x34e94f;};return a8_0x28ac();}exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x41ca94=a9_0x456c;(function(_0xcef2ff,_0x10a137){const _0x5649a7=a9_0x456c,_0x52f071=_0xcef2ff();while(!![]){try{const _0x118b21=-parseInt(_0x5649a7(0x73))/0x1+parseInt(_0x5649a7(0x70))/0x2+-parseInt(_0x5649a7(0x77))/0x3+parseInt(_0x5649a7(0x6c))/0x4*(-parseInt(_0x5649a7(0x79))/0x5)+parseInt(_0x5649a7(0x71))/0x6*(-parseInt(_0x5649a7(0x74))/0x7)+parseInt(_0x5649a7(0x75))/0x8+-parseInt(_0x5649a7(0x6d))/0x9*(-parseInt(_0x5649a7(0x7f))/0xa);if(_0x118b21===_0x10a137)break;else _0x52f071['push'](_0x52f071['shift']());}catch(_0x411d78){_0x52f071['push'](_0x52f071['shift']());}}}(a9_0x21bc,0x91d81));const a9_0x4f3b88=(function(){let _0x406c64=!![];return function(_0x2ab5f2,_0x26c56f){const _0x5b1047=_0x406c64?function(){const _0x2851a3=a9_0x456c;if(_0x26c56f){const _0x606771=_0x26c56f[_0x2851a3(0x6f)](_0x2ab5f2,arguments);return _0x26c56f=null,_0x606771;}}:function(){};return _0x406c64=![],_0x5b1047;};}()),a9_0x4245b0=a9_0x4f3b88(this,function(){const _0x31112c=a9_0x456c;return a9_0x4245b0['toString']()[_0x31112c(0x78)](_0x31112c(0x80))['toString']()[_0x31112c(0x7b)](a9_0x4245b0)[_0x31112c(0x78)](_0x31112c(0x80));});a9_0x4245b0();'use strict';Object['defineProperty'](exports,a9_0x41ca94(0x7c),{'value':!![]}),exports[a9_0x41ca94(0x81)]=void 0x0;const crypto=require(a9_0x41ca94(0x7e)),createUniquifier=(_0x5b007f,_0x5e855c,_0x5cee33,_0xe6fef1)=>{const _0x1d1b6f=a9_0x41ca94,_0x5563ae=_0x5b007f+_0x5e855c+JSON[_0x1d1b6f(0x7d)](_0x5cee33)+JSON[_0x1d1b6f(0x7d)](_0xe6fef1);return crypto[_0x1d1b6f(0x6e)](_0x1d1b6f(0x72))[_0x1d1b6f(0x7a)](_0x5563ae)[_0x1d1b6f(0x76)]('hex');};function a9_0x456c(_0x41db29,_0x387a99){const _0x9a994f=a9_0x21bc();return a9_0x456c=function(_0x4245b0,_0x4f3b88){_0x4245b0=_0x4245b0-0x6c;let _0x21bc6a=_0x9a994f[_0x4245b0];return _0x21bc6a;},a9_0x456c(_0x41db29,_0x387a99);}exports[a9_0x41ca94(0x81)]=createUniquifier;function a9_0x21bc(){const _0x884c14=['update','constructor','__esModule','stringify','crypto','4020SiHsvl','(((.+)+)+)+$','createUniquifier','96164iYNhkf','51822NmARJp','createHash','apply','927280sOusHg','6wrHVmW','sha1','1065253bwCUIx','727727HWlFqt','1764952RjLGTT','digest','307371VJDXpM','search','235xIRSoe'];a9_0x21bc=function(){return _0x884c14;};return a9_0x21bc();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a10_0x529ad3=a10_0x3dd8;(function(_0x365864,_0x5ac446){const _0x3e0ff4=a10_0x3dd8,_0x38fc3a=_0x365864();while(!![]){try{const _0x109d99=-parseInt(_0x3e0ff4(0x71))/0x1*(-parseInt(_0x3e0ff4(0x72))/0x2)+-parseInt(_0x3e0ff4(0x7d))/0x3*(parseInt(_0x3e0ff4(0x6a))/0x4)+parseInt(_0x3e0ff4(0x75))/0x5*(-parseInt(_0x3e0ff4(0x77))/0x6)+-parseInt(_0x3e0ff4(0x7b))/0x7+-parseInt(_0x3e0ff4(0x6f))/0x8*(parseInt(_0x3e0ff4(0x70))/0x9)+parseInt(_0x3e0ff4(0x78))/0xa+parseInt(_0x3e0ff4(0x7f))/0xb*(parseInt(_0x3e0ff4(0x74))/0xc);if(_0x109d99===_0x5ac446)break;else _0x38fc3a['push'](_0x38fc3a['shift']());}catch(_0x3fa410){_0x38fc3a['push'](_0x38fc3a['shift']());}}}(a10_0x5511,0x1975b));const a10_0x3410ce=(function(){let _0x4b0431=!![];return function(_0x2e62d6,_0x6bf6f0){const _0x529cef=_0x4b0431?function(){const _0x388127=a10_0x3dd8;if(_0x6bf6f0){const _0x5cecf3=_0x6bf6f0[_0x388127(0x79)](_0x2e62d6,arguments);return _0x6bf6f0=null,_0x5cecf3;}}:function(){};return _0x4b0431=![],_0x529cef;};}()),a10_0x129efd=a10_0x3410ce(this,function(){const _0x5f2374=a10_0x3dd8;return a10_0x129efd['toString']()[_0x5f2374(0x6e)](_0x5f2374(0x6d))[_0x5f2374(0x80)]()[_0x5f2374(0x6c)](a10_0x129efd)[_0x5f2374(0x6e)]('(((.+)+)+)+$');});function a10_0x3dd8(_0x2c7029,_0x51684f){const _0x16c7f6=a10_0x5511();return a10_0x3dd8=function(_0x129efd,_0x3410ce){_0x129efd=_0x129efd-0x6a;let _0x551187=_0x16c7f6[_0x129efd];return _0x551187;},a10_0x3dd8(_0x2c7029,_0x51684f);}a10_0x129efd();'use strict';function a10_0x5511(){const _0x4936d4=['3734PHAgnz','split','1282524CSzNrH','40545wPutfv','length','132bLiaYh','747110PJabMj','apply','push','580748TWluZs','delimit','111sSjyQd','__esModule','22WPHaOx','toString','140fMRNsa','defineProperty','constructor','(((.+)+)+)+$','search','1560lpmbqy','4995ElLVRw','100WpbkzY'];a10_0x5511=function(){return _0x4936d4;};return a10_0x5511();}Object[a10_0x529ad3(0x6b)](exports,a10_0x529ad3(0x7e),{'value':!![]}),exports[a10_0x529ad3(0x7c)]=void 0x0;const delimit=(_0x19abe3,_0x359d7a)=>{const _0x5dfcdd=a10_0x529ad3,_0x1bb37c=_0x19abe3[_0x5dfcdd(0x73)](_0x359d7a),_0x52c2c=[];_0x52c2c[_0x5dfcdd(0x7a)](_0x1bb37c[0x0]);for(let _0x3ee399=0x1;_0x3ee399<_0x1bb37c[_0x5dfcdd(0x76)];_0x3ee399++){_0x52c2c[_0x5dfcdd(0x7a)]({'v':_0x359d7a},_0x1bb37c[_0x3ee399]);}return _0x52c2c;};exports[a10_0x529ad3(0x7c)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x23fff0=a11_0x15a0;function a11_0x1efe(){const _0x5c9adf=['8ZeqFCT','144XnFbiU','(((.+)+)+)+$','96453zzyxqz','1886480oirRlE','170169bzOizX','defineProperty','test','search','__esModule','908988fVSuoh','2808216dBGkpx','join','toString','166GGjrJB','constructor','length','substring','./tokenize','5599190TQGbMD','apply','4378vJiSrm'];a11_0x1efe=function(){return _0x5c9adf;};return a11_0x1efe();}(function(_0x3284d4,_0x14f550){const _0x657b01=a11_0x15a0,_0x485afe=_0x3284d4();while(!![]){try{const _0x3eb619=parseInt(_0x657b01(0x1a4))/0x1*(parseInt(_0x657b01(0x19d))/0x2)+parseInt(_0x657b01(0x1aa))/0x3+parseInt(_0x657b01(0x1af))/0x4+-parseInt(_0x657b01(0x1a9))/0x5+parseInt(_0x657b01(0x1a6))/0x6*(parseInt(_0x657b01(0x1a8))/0x7)+-parseInt(_0x657b01(0x1a5))/0x8*(-parseInt(_0x657b01(0x19a))/0x9)+-parseInt(_0x657b01(0x1a2))/0xa;if(_0x3eb619===_0x14f550)break;else _0x485afe['push'](_0x485afe['shift']());}catch(_0x173542){_0x485afe['push'](_0x485afe['shift']());}}}(a11_0x1efe,0x56251));const a11_0x40fe17=(function(){let _0x4952b7=!![];return function(_0x55f6f8,_0x172cd3){const _0xf047f9=_0x4952b7?function(){const _0xeddb40=a11_0x15a0;if(_0x172cd3){const _0x4a9095=_0x172cd3[_0xeddb40(0x1a3)](_0x55f6f8,arguments);return _0x172cd3=null,_0x4a9095;}}:function(){};return _0x4952b7=![],_0xf047f9;};}()),a11_0x579bd9=a11_0x40fe17(this,function(){const _0x2e1b8e=a11_0x15a0;return a11_0x579bd9[_0x2e1b8e(0x19c)]()['search'](_0x2e1b8e(0x1a7))[_0x2e1b8e(0x19c)]()[_0x2e1b8e(0x19e)](a11_0x579bd9)[_0x2e1b8e(0x1ad)](_0x2e1b8e(0x1a7));});a11_0x579bd9();'use strict';Object[a11_0x23fff0(0x1ab)](exports,a11_0x23fff0(0x1ae),{'value':!![]}),exports['format']=void 0x0;const tokenize_1=require(a11_0x23fff0(0x1a1)),format=(_0x10c3ea,_0x258a89)=>{const _0x50ee41=a11_0x23fff0,_0x36cfcd=(0x0,tokenize_1['tokenize'])(_0x10c3ea,_0x258a89[_0x50ee41(0x19f)]);for(let _0x4d452e=0x0;_0x4d452e<_0x36cfcd['length'];_0x4d452e++){if(!_0x36cfcd[_0x4d452e]['v'])continue;if(_0x36cfcd[_0x4d452e]['v']==='$$'){_0x36cfcd[_0x4d452e]='$';continue;}for(let _0x4554dd=0x0;_0x4554dd<_0x258a89['length'];_0x4554dd++){if(_0x36cfcd[_0x4d452e]['v']==='$'+_0x4554dd){let _0x12f01e=_0x258a89[_0x4554dd];/^".*"$/[_0x50ee41(0x1ac)](_0x12f01e)&&(_0x12f01e=_0x12f01e[_0x50ee41(0x1a0)](0x1,_0x12f01e[_0x50ee41(0x19f)]-0x1));_0x36cfcd[_0x4d452e]=_0x12f01e;break;}}}return _0x36cfcd[_0x50ee41(0x19b)]('');};function a11_0x15a0(_0x5cf5fe,_0x497abe){const _0x35ef65=a11_0x1efe();return a11_0x15a0=function(_0x579bd9,_0x40fe17){_0x579bd9=_0x579bd9-0x19a;let _0x1efeac=_0x35ef65[_0x579bd9];return _0x1efeac;},a11_0x15a0(_0x5cf5fe,_0x497abe);}exports['format']=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x48d9de=a12_0x5791;function a12_0x5791(_0x3cfd58,_0x55c743){const _0x424c26=a12_0x501f();return a12_0x5791=function(_0x536ae9,_0x36846e){_0x536ae9=_0x536ae9-0x110;let _0x501fea=_0x424c26[_0x536ae9];return _0x501fea;},a12_0x5791(_0x3cfd58,_0x55c743);}(function(_0x62374,_0x41a802){const _0x29a81f=a12_0x5791,_0x59eb25=_0x62374();while(!![]){try{const _0x5e3256=parseInt(_0x29a81f(0x130))/0x1*(-parseInt(_0x29a81f(0x12f))/0x2)+parseInt(_0x29a81f(0x110))/0x3+-parseInt(_0x29a81f(0x138))/0x4+-parseInt(_0x29a81f(0x122))/0x5+-parseInt(_0x29a81f(0x137))/0x6*(-parseInt(_0x29a81f(0x128))/0x7)+-parseInt(_0x29a81f(0x11b))/0x8*(-parseInt(_0x29a81f(0x127))/0x9)+parseInt(_0x29a81f(0x12a))/0xa;if(_0x5e3256===_0x41a802)break;else _0x59eb25['push'](_0x59eb25['shift']());}catch(_0xc0de48){_0x59eb25['push'](_0x59eb25['shift']());}}}(a12_0x501f,0xbcf08));const a12_0x36846e=(function(){let _0x36864d=!![];return function(_0x41d051,_0x4b2c43){const _0x5b1109=_0x36864d?function(){if(_0x4b2c43){const _0x49b28e=_0x4b2c43['apply'](_0x41d051,arguments);return _0x4b2c43=null,_0x49b28e;}}:function(){};return _0x36864d=![],_0x5b1109;};}()),a12_0x536ae9=a12_0x36846e(this,function(){const _0x14f19e=a12_0x5791;return a12_0x536ae9[_0x14f19e(0x131)]()['search'](_0x14f19e(0x126))[_0x14f19e(0x131)]()[_0x14f19e(0x124)](a12_0x536ae9)[_0x14f19e(0x12c)]('(((.+)+)+)+$');});a12_0x536ae9();'use strict';function a12_0x501f(){const _0x30d53b=['noCheckCertificate','702777jkzwQH','getBoolean','max_condition_cost','defineProperty','collect_log_cooldown_ms','max_log_file_bytes','max_variable_size','agent_log_max_file_count','breakpoint_expiration_sec','max_snapshot_buffer_size','max_dynamic_log_bytes_rate','1643944gRnwxv','max_snapshot_frame_count','agent_log_max_file_size_mb','max_dynamic_log_rate','getAgentConfig','__esModule','agent_log_level','1783105nAHTnb','agent_regmetadata_file','constructor','fetch_breakpoints_once','(((.+)+)+)+$','18sosrcI','4462045tMshRb','dynamic_log_quota_recovery_ms','15377990bMUBSK','getInt','search','getFloat','max_watchlist_variable_size','14JGtMBg','26184tXbLMM','toString','trim','extra_paths','com.lightrun.secret','apiEndpoint','map','6IATwHy','6026696gGfQnN','ignore_quota','max_log_cpu_cost','transmission_bulk_max_size','split','pinned_certs','getFirst'];a12_0x501f=function(){return _0x30d53b;};return a12_0x501f();}Object[a12_0x48d9de(0x113)](exports,a12_0x48d9de(0x120),{'value':!![]}),exports[a12_0x48d9de(0x11f)]=void 0x0;const properties=require('java-properties'),fs=require('fs'),getAgentConfig=_0x4c4b64=>{const _0x14ae41=a12_0x48d9de;var _0x14c897,_0x3426d9,_0x3443ec;if(fs['existsSync'](_0x4c4b64)){const _0x19f5cc=properties['of'](_0x4c4b64);return{'lightrunSecret':_0x19f5cc[_0x14ae41(0x13e)](_0x14ae41(0x134)),'apiEndpoint':_0x19f5cc[_0x14ae41(0x13e)](_0x14ae41(0x135)),'breakpointExpirationSec':_0x19f5cc['getInt'](_0x14ae41(0x118)),'transmissionBulkMaxSize':_0x19f5cc[_0x14ae41(0x12b)](_0x14ae41(0x13b)),'noCheckCertificate':_0x19f5cc[_0x14ae41(0x111)](_0x14ae41(0x13f)),'pinnedCerts':(_0x14c897=_0x19f5cc[_0x14ae41(0x13e)](_0x14ae41(0x13d)))===null||_0x14c897===void 0x0?void 0x0:_0x14c897[_0x14ae41(0x13c)](','),'metadata':{'filename':_0x19f5cc[_0x14ae41(0x13e)](_0x14ae41(0x123))},'capture':{'maxFrames':_0x19f5cc[_0x14ae41(0x12b)](_0x14ae41(0x11c)),'maxDataSize':_0x19f5cc[_0x14ae41(0x12b)](_0x14ae41(0x119)),'maxSnapshotBufferSize':_0x19f5cc[_0x14ae41(0x12b)]('max_snapshot_buffer_size'),'maxVariableSize':_0x19f5cc['getInt'](_0x14ae41(0x116)),'maxWatchListVariableSize':_0x19f5cc[_0x14ae41(0x12b)](_0x14ae41(0x12e))},'agentLog':{'collectCooldownMs':_0x19f5cc[_0x14ae41(0x12b)](_0x14ae41(0x114)),'agentLogTargetDir':_0x19f5cc[_0x14ae41(0x13e)]('agent_log_target_dir'),'agentLogLevel':_0x19f5cc[_0x14ae41(0x13e)](_0x14ae41(0x121)),'agentLogMaxFileCount':_0x19f5cc['getInt'](_0x14ae41(0x117)),'agentLogMaxFileSizeMb':_0x19f5cc[_0x14ae41(0x12b)](_0x14ae41(0x11d)),'maxLogFileBytes':_0x19f5cc[_0x14ae41(0x12b)](_0x14ae41(0x115))},'quota':{'ignoreQuota':_0x19f5cc['getBoolean'](_0x14ae41(0x139)),'maxCPUCost':_0x19f5cc[_0x14ae41(0x12d)](_0x14ae41(0x13a)),'maxConditionCost':_0x19f5cc[_0x14ae41(0x12d)](_0x14ae41(0x112)),'maxDynamicLogRate':_0x19f5cc[_0x14ae41(0x12b)](_0x14ae41(0x11e)),'maxDynamicLogByteRate':_0x19f5cc[_0x14ae41(0x12b)](_0x14ae41(0x11a)),'quotaRecoverySeconds':_0x19f5cc[_0x14ae41(0x12b)](_0x14ae41(0x129))&&_0x19f5cc['getInt'](_0x14ae41(0x129))/0x3e8},'fetchBreakpointsOnce':_0x19f5cc[_0x14ae41(0x111)](_0x14ae41(0x125)),'extraPaths':(_0x3443ec=(_0x3426d9=_0x19f5cc['getFirst'](_0x14ae41(0x133)))===null||_0x3426d9===void 0x0?void 0x0:_0x3426d9[_0x14ae41(0x13c)](','))===null||_0x3443ec===void 0x0?void 0x0:_0x3443ec[_0x14ae41(0x136)](_0x2d0d12=>_0x2d0d12[_0x14ae41(0x132)]())};}return;};exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x2ef5f3=a13_0x4880;(function(_0x44a322,_0x23fa27){const _0x30e2ac=a13_0x4880,_0x47a272=_0x44a322();while(!![]){try{const _0x51e0bf=-parseInt(_0x30e2ac(0xff))/0x1+parseInt(_0x30e2ac(0xfe))/0x2+parseInt(_0x30e2ac(0xfb))/0x3*(-parseInt(_0x30e2ac(0x104))/0x4)+parseInt(_0x30e2ac(0x100))/0x5*(-parseInt(_0x30e2ac(0xfc))/0x6)+-parseInt(_0x30e2ac(0xfd))/0x7+parseInt(_0x30e2ac(0xf8))/0x8+parseInt(_0x30e2ac(0xf9))/0x9;if(_0x51e0bf===_0x23fa27)break;else _0x47a272['push'](_0x47a272['shift']());}catch(_0x1afc5f){_0x47a272['push'](_0x47a272['shift']());}}}(a13_0x46e5,0xd60d6));Object[a13_0x2ef5f3(0xf4)](exports,a13_0x2ef5f3(0xf6),{'value':!![]}),exports[a13_0x2ef5f3(0x101)]=exports[a13_0x2ef5f3(0x105)]=void 0x0;function a13_0x46e5(){const _0x9371fc=['__esModule','toString','4907752bvArxW','32838984VwNKnE','cloud_function','3rrlfDg','5948874iRNamH','7328335VCDrrL','1770306XXEpVL','1008357nrEwjl','5jMrUVL','getPlatform','search','DEFAULT','4895596zxhYkc','Platforms','apply','constructor','CLOUD_FUNCTION','default','defineProperty','(((.+)+)+)+$'];a13_0x46e5=function(){return _0x9371fc;};return a13_0x46e5();}function a13_0x4880(_0x450f46,_0x578bb9){const _0x6472cf=a13_0x46e5();return a13_0x4880=function(_0x557159,_0x17edb7){_0x557159=_0x557159-0xf0;let _0x46e59d=_0x6472cf[_0x557159];return _0x46e59d;},a13_0x4880(_0x450f46,_0x578bb9);}var Platforms;(function(_0x1c7284){const _0x357482=a13_0x2ef5f3,_0x3a2d56=(function(){let _0x3b8678=!![];return function(_0xf6850b,_0x1a9434){const _0x28797c=_0x3b8678?function(){const _0x311a6d=a13_0x4880;if(_0x1a9434){const _0x4afdcf=_0x1a9434[_0x311a6d(0xf0)](_0xf6850b,arguments);return _0x1a9434=null,_0x4afdcf;}}:function(){};return _0x3b8678=![],_0x28797c;};}()),_0x37966a=_0x3a2d56(this,function(){const _0x38599c=a13_0x4880;return _0x37966a[_0x38599c(0xf7)]()[_0x38599c(0x102)](_0x38599c(0xf5))['toString']()[_0x38599c(0xf1)](_0x37966a)['search'](_0x38599c(0xf5));});_0x37966a(),_0x1c7284['CLOUD_FUNCTION']=_0x357482(0xfa),_0x1c7284[_0x357482(0x103)]=_0x357482(0xf3);}(Platforms=exports[a13_0x2ef5f3(0x105)]||(exports[a13_0x2ef5f3(0x105)]={})));const getPlatform=()=>{const _0x126a88=a13_0x2ef5f3,{FUNCTION_NAME:_0x2a74e6,FUNCTION_TARGET:_0x27a04b}=process['env'];if(_0x2a74e6||_0x27a04b)return Platforms[_0x126a88(0xf2)];return Platforms[_0x126a88(0x103)];};exports[a13_0x2ef5f3(0x101)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x17c9f7=a14_0xaf76;(function(_0x3e378d,_0x33a0ac){const _0x4b9b80=a14_0xaf76,_0x26c639=_0x3e378d();while(!![]){try{const _0x5d3bb1=parseInt(_0x4b9b80(0x101))/0x1*(-parseInt(_0x4b9b80(0x108))/0x2)+parseInt(_0x4b9b80(0x106))/0x3*(-parseInt(_0x4b9b80(0xf9))/0x4)+-parseInt(_0x4b9b80(0x10a))/0x5*(-parseInt(_0x4b9b80(0x105))/0x6)+-parseInt(_0x4b9b80(0x104))/0x7*(-parseInt(_0x4b9b80(0x103))/0x8)+parseInt(_0x4b9b80(0x100))/0x9*(parseInt(_0x4b9b80(0x109))/0xa)+parseInt(_0x4b9b80(0xfc))/0xb+parseInt(_0x4b9b80(0xfa))/0xc*(parseInt(_0x4b9b80(0xfe))/0xd);if(_0x5d3bb1===_0x33a0ac)break;else _0x26c639['push'](_0x26c639['shift']());}catch(_0x497be2){_0x26c639['push'](_0x26c639['shift']());}}}(a14_0x1840,0xd9c20));const a14_0x384aff=(function(){let _0xf0b70b=!![];return function(_0x475fc4,_0x10dda2){const _0x2e9c65=_0xf0b70b?function(){const _0x383a6b=a14_0xaf76;if(_0x10dda2){const _0x19500c=_0x10dda2[_0x383a6b(0xfb)](_0x475fc4,arguments);return _0x10dda2=null,_0x19500c;}}:function(){};return _0xf0b70b=![],_0x2e9c65;};}()),a14_0x2ceeb0=a14_0x384aff(this,function(){const _0xe32577=a14_0xaf76;return a14_0x2ceeb0[_0xe32577(0xfd)]()['search'](_0xe32577(0xff))[_0xe32577(0xfd)]()['constructor'](a14_0x2ceeb0)[_0xe32577(0x102)](_0xe32577(0xff));});function a14_0x1840(){const _0x1b8112=['9487150nRuqAg','2125EjiEDA','mapSubtract','158584dEGYDa','192mSzHOk','apply','9145851sHKBPR','toString','213915ZOTjOf','(((.+)+)+)+$','9hHNeSf','7inexje','search','8416ogGmeX','6244qLBBkm','4434DYuAUG','66whByTF','__esModule','437642kjfOPS'];a14_0x1840=function(){return _0x1b8112;};return a14_0x1840();}function a14_0xaf76(_0x2cf3ed,_0x140dec){const _0x28301c=a14_0x1840();return a14_0xaf76=function(_0x2ceeb0,_0x384aff){_0x2ceeb0=_0x2ceeb0-0xf8;let _0x18400a=_0x28301c[_0x2ceeb0];return _0x18400a;},a14_0xaf76(_0x2cf3ed,_0x140dec);}a14_0x2ceeb0();'use strict';Object['defineProperty'](exports,a14_0x17c9f7(0x107),{'value':!![]}),exports[a14_0x17c9f7(0xf8)]=void 0x0;const mapSubtract=(_0x4bb720,_0x2cb284)=>{const _0x24ce78=[];for(const _0x42bbea in _0x4bb720){!_0x2cb284[_0x42bbea]&&_0x24ce78['push'](_0x4bb720[_0x42bbea]);}return _0x24ce78;};exports[a14_0x17c9f7(0xf8)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0xa9c9a7=a15_0x50f2;(function(_0x37374b,_0x4bc762){const _0x4bd8ef=a15_0x50f2,_0xcd1eab=_0x37374b();while(!![]){try{const _0xb58911=-parseInt(_0x4bd8ef(0x1c6))/0x1+-parseInt(_0x4bd8ef(0x1e0))/0x2+-parseInt(_0x4bd8ef(0x1e3))/0x3*(-parseInt(_0x4bd8ef(0x1b6))/0x4)+parseInt(_0x4bd8ef(0x1b5))/0x5*(parseInt(_0x4bd8ef(0x1e1))/0x6)+parseInt(_0x4bd8ef(0x1b3))/0x7+-parseInt(_0x4bd8ef(0x1de))/0x8*(-parseInt(_0x4bd8ef(0x1bf))/0x9)+-parseInt(_0x4bd8ef(0x1c7))/0xa;if(_0xb58911===_0x4bc762)break;else _0xcd1eab['push'](_0xcd1eab['shift']());}catch(_0x7eaa79){_0xcd1eab['push'](_0xcd1eab['shift']());}}}(a15_0x14af,0xa2c84));function a15_0x50f2(_0x3d93c8,_0x4f4d5c){const _0x329af9=a15_0x14af();return a15_0x50f2=function(_0x35eabe,_0x3e731e){_0x35eabe=_0x35eabe-0x1b1;let _0x14af82=_0x329af9[_0x35eabe];return _0x14af82;},a15_0x50f2(_0x3d93c8,_0x4f4d5c);}const a15_0x3e731e=(function(){let _0x39f37b=!![];return function(_0x2d3005,_0x15d1c0){const _0x24c7a4=_0x39f37b?function(){const _0xae034e=a15_0x50f2;if(_0x15d1c0){const _0x37bc92=_0x15d1c0[_0xae034e(0x1c1)](_0x2d3005,arguments);return _0x15d1c0=null,_0x37bc92;}}:function(){};return _0x39f37b=![],_0x24c7a4;};}()),a15_0x35eabe=a15_0x3e731e(this,function(){const _0x5ce2e7=a15_0x50f2;return a15_0x35eabe[_0x5ce2e7(0x1ce)]()['search'](_0x5ce2e7(0x1d6))['toString']()[_0x5ce2e7(0x1c2)](a15_0x35eabe)['search'](_0x5ce2e7(0x1d6));});a15_0x35eabe();function a15_0x14af(){const _0x26e3e9=['1247571XhJbLB','GAE_SERVICE','AGENT_LOG_MAX_FILE_SIZE_MB','LIGHTRUN_API_ENDPOINT','getAgentConfig','extend','1474865kyEwaL','env','118830wYxAGu','8ZTZdCW','defaultConfig','agentLogMaxFileSizeMb','unversioned','FUNCTION_NAME','defineProperty','agentLogLevel','FETCH_BREAKPOINTS_ONCE','AGENT_LOG_MAX_FILE_COUNT','4773924OphXTK','GAE_MINOR_VERSION','apply','constructor','agentLogMaxFileCount','agentLogTargetDir','LIGHTRUN_INIT_WAIT_TIME_MS','66715pcLaFR','11249250zgJkis','service','LIGHTRUN_AGENT_CONFIG','LIGHTRUN_WAIT_FOR_INIT','stdErrThreshold','serviceContext','GAE_DEPLOYMENT_ID','toString','registration','agentConfigFile','LIGHTRUN_TAGS','GAE_MODULE_VERSION','AGENT_LOG_TARGET_DIR','getBooleanValue','LIGHTRUN_STD_ERR_THRESHOLD','(((.+)+)+)+$','normalizeConfig','../util/utils','LIGHTRUN_SECRET','agentLog','STD_ERR_THRESHOLD','AGENT_LOG_LEVEL','LIGHTRUN_METADATA_FILE','16WctHnN','./getAgentConfig','1630538AbbviQ','144NDtcRx','GAE_VERSION'];a15_0x14af=function(){return _0x26e3e9;};return a15_0x14af();}'use strict';Object[a15_0xa9c9a7(0x1bb)](exports,'__esModule',{'value':!![]}),exports[a15_0xa9c9a7(0x1d7)]=void 0x0;const extend=require(a15_0xa9c9a7(0x1b2)),config_1=require('../config'),utils_1=require(a15_0xa9c9a7(0x1d8)),getAgentConfig_1=require(a15_0xa9c9a7(0x1df)),normalizeConfig=_0x54ae48=>{const _0x2c89a5=a15_0xa9c9a7,_0x1f0fa3={'serviceContext':{'service':process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1e4)]||process[_0x2c89a5(0x1b4)]['GAE_MODULE_NAME']||process[_0x2c89a5(0x1b4)]['K_SERVICE'],'version':process['env'][_0x2c89a5(0x1e2)]||process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1d2)]||process['env']['K_REVISION'],'minorVersion_':process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1cd)]||process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1c0)]},'metadata':{'filename':process['env'][_0x2c89a5(0x1dd)],'registration':{}},'lightrunSecret':process['env'][_0x2c89a5(0x1d9)],'apiEndpoint':process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1e6)],'noCheckCertificate':(0x0,utils_1[_0x2c89a5(0x1d4)])(process[_0x2c89a5(0x1b4)]['NO_CHECK_CERTIFICATE']),'fetchBreakpointsOnce':(0x0,utils_1[_0x2c89a5(0x1d4)])(process['env'][_0x2c89a5(0x1bd)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1ca)]),'lightrunInitWaitTimeMs':process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1c5)],'agentLog':(_0x54ae48===null||_0x54ae48===void 0x0?void 0x0:_0x54ae48[_0x2c89a5(0x1da)])||{}};process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1d5)]!==undefined&&(_0x1f0fa3[_0x2c89a5(0x1da)][_0x2c89a5(0x1cb)]=process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1db)]);process['env']['AGENT_LOG_LEVEL']!==undefined&&(_0x1f0fa3[_0x2c89a5(0x1da)][_0x2c89a5(0x1bc)]=process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1dc)]);process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1d3)]!==undefined&&(_0x1f0fa3[_0x2c89a5(0x1da)][_0x2c89a5(0x1c4)]=process['env'][_0x2c89a5(0x1d3)]);process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1be)]!==undefined&&(_0x1f0fa3['agentLog'][_0x2c89a5(0x1c3)]=parseInt(process[_0x2c89a5(0x1b4)]['AGENT_LOG_MAX_FILE_COUNT']));process['env'][_0x2c89a5(0x1e5)]!==undefined&&(_0x1f0fa3['agentLog'][_0x2c89a5(0x1b8)]=parseInt(process['env'][_0x2c89a5(0x1e5)]));process[_0x2c89a5(0x1b4)][_0x2c89a5(0x1ba)]&&(_0x1f0fa3[_0x2c89a5(0x1cc)][_0x2c89a5(0x1c8)]=process[_0x2c89a5(0x1b4)]['FUNCTION_NAME'],_0x1f0fa3['serviceContext']['version']=_0x2c89a5(0x1b9));process['env'][_0x2c89a5(0x1d1)]&&(_0x1f0fa3['metadata'][_0x2c89a5(0x1cf)]={'tags':process[_0x2c89a5(0x1b4)]['LIGHTRUN_TAGS']['split'](',')});const _0x13ee1b=(0x0,getAgentConfig_1[_0x2c89a5(0x1b1)])(process['env'][_0x2c89a5(0x1c9)]||(_0x54ae48===null||_0x54ae48===void 0x0?void 0x0:_0x54ae48[_0x2c89a5(0x1d0)])||config_1['defaultConfig'][_0x2c89a5(0x1d0)]);return extend(!![],{},config_1[_0x2c89a5(0x1b7)],_0x13ee1b,_0x54ae48,_0x1f0fa3);};exports[a15_0xa9c9a7(0x1d7)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x1b67bc=a16_0x2816;(function(_0xef37a2,_0x5499d9){const _0x523f68=a16_0x2816,_0x585d6a=_0xef37a2();while(!![]){try{const _0x1a22e7=parseInt(_0x523f68(0x141))/0x1*(-parseInt(_0x523f68(0x133))/0x2)+parseInt(_0x523f68(0x144))/0x3*(parseInt(_0x523f68(0x13b))/0x4)+parseInt(_0x523f68(0x148))/0x5+parseInt(_0x523f68(0x13e))/0x6+parseInt(_0x523f68(0x146))/0x7*(parseInt(_0x523f68(0x139))/0x8)+-parseInt(_0x523f68(0x142))/0x9*(-parseInt(_0x523f68(0x13c))/0xa)+parseInt(_0x523f68(0x145))/0xb*(-parseInt(_0x523f68(0x140))/0xc);if(_0x1a22e7===_0x5499d9)break;else _0x585d6a['push'](_0x585d6a['shift']());}catch(_0xe35334){_0x585d6a['push'](_0x585d6a['shift']());}}}(a16_0x52e8,0x5eaef));const a16_0x52bfa7=(function(){let _0xad15ce=!![];return function(_0x16208d,_0x271257){const _0x109ae0=_0xad15ce?function(){if(_0x271257){const _0x5d634c=_0x271257['apply'](_0x16208d,arguments);return _0x271257=null,_0x5d634c;}}:function(){};return _0xad15ce=![],_0x109ae0;};}()),a16_0x536f44=a16_0x52bfa7(this,function(){const _0x2d3a43=a16_0x2816;return a16_0x536f44['toString']()[_0x2d3a43(0x13f)](_0x2d3a43(0x138))[_0x2d3a43(0x134)]()['constructor'](a16_0x536f44)[_0x2d3a43(0x13f)]('(((.+)+)+)+$');});a16_0x536f44();function a16_0x52e8(){const _0x2c13fd=['2360TmGhmJ','length','80232ratZPL','10RZgBpe','./delimit','1079292QXcsJd','search','408YHjQeq','13835JLYUdE','3846951ZMPfZA','__esModule','66ddbFzO','188023rWRAlH','12523qZJFxK','defineProperty','836965neFqQO','112nkDyiM','toString','delimit','tokenize','push','(((.+)+)+)+$'];a16_0x52e8=function(){return _0x2c13fd;};return a16_0x52e8();}function a16_0x2816(_0x4caa43,_0x4d9ef0){const _0x5ae407=a16_0x52e8();return a16_0x2816=function(_0x536f44,_0x52bfa7){_0x536f44=_0x536f44-0x133;let _0x52e809=_0x5ae407[_0x536f44];return _0x52e809;},a16_0x2816(_0x4caa43,_0x4d9ef0);}'use strict';Object[a16_0x1b67bc(0x147)](exports,a16_0x1b67bc(0x143),{'value':!![]}),exports[a16_0x1b67bc(0x136)]=void 0x0;const delimit_1=require(a16_0x1b67bc(0x13d)),tokenize=(_0xa60bb8,_0x1d06a5)=>{const _0x1674a6=a16_0x1b67bc;let _0x2e0a97=(0x0,delimit_1[_0x1674a6(0x135)])(_0xa60bb8,'$$');for(let _0x466d7c=_0x1d06a5-0x1;_0x466d7c>=0x0;_0x466d7c--){const _0x548887=[];for(let _0x418950=0x0;_0x418950<_0x2e0a97[_0x1674a6(0x13a)];_0x418950++){_0x2e0a97[_0x418950]['v']?_0x548887[_0x1674a6(0x137)](_0x2e0a97[_0x418950]):_0x548887['push'](...(0x0,delimit_1['delimit'])(_0x2e0a97[_0x418950],'$'+_0x466d7c));}_0x2e0a97=_0x548887;}return _0x2e0a97;};exports['tokenize']=tokenize;
|