lightrun 1.70.4 → 1.71.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/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x3bcf2d=a0_0x4d77;(function(_0x65fdac,_0x562985){const _0x1cae71=a0_0x4d77,_0x722cf3=_0x65fdac();while(!![]){try{const _0x3b4387=-parseInt(_0x1cae71(0xae))/0x1*(parseInt(_0x1cae71(0xaf))/0x2)+parseInt(_0x1cae71(0xb7))/0x3+parseInt(_0x1cae71(0xb1))/0x4*(parseInt(_0x1cae71(0xb4))/0x5)+-parseInt(_0x1cae71(0xa5))/0x6*(parseInt(_0x1cae71(0x99))/0x7)+parseInt(_0x1cae71(0xaa))/0x8+parseInt(_0x1cae71(0xa9))/0x9*(-parseInt(_0x1cae71(0xa3))/0xa)+-parseInt(_0x1cae71(0xa7))/0xb*(-parseInt(_0x1cae71(0xbd))/0xc);if(_0x3b4387===_0x562985)break;else _0x722cf3['push'](_0x722cf3['shift']());}catch(_0x47f25d){_0x722cf3['push'](_0x722cf3['shift']());}}}(a0_0x36a0,0x5dc6b));const a0_0x465c28=(function(){let _0x27a504=!![];return function(_0x407a8d,_0x44d309){const _0x50b691=_0x27a504?function(){const _0x5c9659=a0_0x4d77;if(_0x44d309){const _0x3dd59f=_0x44d309[_0x5c9659(0xb2)](_0x407a8d,arguments);return _0x44d309=null,_0x3dd59f;}}:function(){};return _0x27a504=![],_0x50b691;};}()),a0_0x23c7d1=a0_0x465c28(this,function(){const _0x5a2b85=a0_0x4d77;return a0_0x23c7d1[_0x5a2b85(0xa2)]()[_0x5a2b85(0x93)]('(((.+)+)+)+$')[_0x5a2b85(0xa2)]()[_0x5a2b85(0x9c)](a0_0x23c7d1)[_0x5a2b85(0x93)](_0x5a2b85(0xb3));});a0_0x23c7d1();'use strict';Object['defineProperty'](exports,a0_0x3bcf2d(0xb9),{'value':!![]});const winston_1=require(a0_0x3bcf2d(0xab)),DailyRotateFile=require(a0_0x3bcf2d(0x97)),process_1=require(a0_0x3bcf2d(0xbe)),{combine,printf,timestamp}=winston_1[a0_0x3bcf2d(0xb5)],{Console}=winston_1[a0_0x3bcf2d(0xb8)],now=new Date();function a0_0x4d77(_0x35d50e,_0x24b986){const _0x47f823=a0_0x36a0();return a0_0x4d77=function(_0x23c7d1,_0x465c28){_0x23c7d1=_0x23c7d1-0x93;let _0x36a003=_0x47f823[_0x23c7d1];return _0x36a003;},a0_0x4d77(_0x35d50e,_0x24b986);}function getLoggerTransport(_0x559bf0,_0x553c25,_0xf8ab83){const _0x2b3bd2=a0_0x3bcf2d;if(_0x559bf0)return new DailyRotateFile({'dirname':_0x559bf0,'filename':AgentLogger[_0x2b3bd2(0xba)],'datePattern':now[_0x2b3bd2(0x9a)]()['toString']()+now[_0x2b3bd2(0xb0)]()['toString']()['padStart'](0x2,'0')+now[_0x2b3bd2(0x98)]()['toString']()[_0x2b3bd2(0x9f)](0x2,'0')+'-'+now[_0x2b3bd2(0x9d)]()[_0x2b3bd2(0xa2)]()['padStart'](0x2,'0')+now['getMinutes']()[_0x2b3bd2(0xa2)]()[_0x2b3bd2(0x9f)](0x2,'0')+now['getSeconds']()[_0x2b3bd2(0xa2)]()[_0x2b3bd2(0x9f)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x2b3bd2(0xba)],'maxSize':_0x553c25+'m','maxFiles':_0xf8ab83,'extension':_0x2b3bd2(0xa1)});return new Console();}function a0_0x36a0(){const _0x3d3170=['format','logger','588939vQdOGq','transports','__esModule','AGENT_LOG_FILE','info','warn','48NpTxrT','process','initialLogLevel','search','json','toUpperCase','level','winston-daily-rotate-file','getDate','21GuUMLE','getFullYear','createLogger','constructor','getHours','lightrun_nodejs_agent.','padStart','default','.log','toString','10vuVWmz','.%DATE%','390162awmFSA','debug','1141492QvldSS',']\x20-\x20','744489uIBHCc','1086576aakKni','winston','error','getLevel','1597VgqHPz','152DasooR','getMonth','596CWwBcE','apply','(((.+)+)+)+$','1210JslEfq'];a0_0x36a0=function(){return _0x3d3170;};return a0_0x36a0();}class AgentLogger{constructor(_0x338561,_0x277639,_0xea4682,_0x5aa845,_0x52dbd3){const _0x585e81=a0_0x3bcf2d;this[_0x585e81(0xbf)]=_0x5aa845,this['logger']=(0x0,winston_1[_0x585e81(0x9b)])({'level':_0x5aa845,'transports':[getLoggerTransport(_0x338561,_0x277639,_0xea4682),new Console({'level':_0x52dbd3,'stderrLevels':['debug',_0x585e81(0xbb),_0x585e81(0xbc),_0x585e81(0xac)]})],'format':combine(timestamp(),printf(({level:_0x13955a,message:_0x4fcbfc,timestamp:_0x3e2118})=>{const _0x1bac0b=_0x585e81;return _0x3e2118+'\x20['+_0x13955a[_0x1bac0b(0x95)]()+_0x1bac0b(0xa8)+_0x4fcbfc;}),winston_1['format'][_0x585e81(0x94)]())});}static[a0_0x3bcf2d(0x9b)](_0x35c2c3,_0x5f447e,_0x2a2374,_0x47ef31,_0x167ae4){return new AgentLogger(_0x35c2c3,_0x5f447e,_0x2a2374,_0x47ef31,_0x167ae4);}['debug'](..._0x294e10){const _0x465483=a0_0x3bcf2d;this[_0x465483(0xb6)][_0x465483(0xa6)](_0x294e10);}['info'](..._0xb03fa5){const _0x528a70=a0_0x3bcf2d;this[_0x528a70(0xb6)][_0x528a70(0xbb)](_0xb03fa5);}[a0_0x3bcf2d(0xbc)](..._0x38c62a){const _0x39594a=a0_0x3bcf2d;this[_0x39594a(0xb6)]['warn'](_0x38c62a);}[a0_0x3bcf2d(0xac)](..._0x5a7f89){const _0x502ca4=a0_0x3bcf2d;this[_0x502ca4(0xb6)][_0x502ca4(0xac)](_0x5a7f89);}[a0_0x3bcf2d(0xad)](){const _0x3b6898=a0_0x3bcf2d;return this[_0x3b6898(0xb6)][_0x3b6898(0x96)];}['setLevel'](_0x54775f){const _0x47e0f1=a0_0x3bcf2d;this[_0x47e0f1(0xb6)][_0x47e0f1(0x96)]=_0x54775f;}['getInitialLevel'](){return this['initialLogLevel'];}}AgentLogger[a0_0x3bcf2d(0xba)]=a0_0x3bcf2d(0x9e)+process_1['pid']+a0_0x3bcf2d(0xa4),exports[a0_0x3bcf2d(0xa0)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a1_0xbff8(_0x51fbd4,_0x3853b2){const _0x162eba=a1_0x488b();return a1_0xbff8=function(_0x2fbf47,_0x139bb5){_0x2fbf47=_0x2fbf47-0x1cb;let _0x488b2b=_0x162eba[_0x2fbf47];return _0x488b2b;},a1_0xbff8(_0x51fbd4,_0x3853b2);}const a1_0x40e427=a1_0xbff8;(function(_0x4e99d3,_0x48e904){const _0x4a75e0=a1_0xbff8,_0x4bf3c9=_0x4e99d3();while(!![]){try{const _0x33b64b=parseInt(_0x4a75e0(0x1ce))/0x1*(-parseInt(_0x4a75e0(0x1d4))/0x2)+-parseInt(_0x4a75e0(0x1d5))/0x3*(-parseInt(_0x4a75e0(0x1de))/0x4)+-parseInt(_0x4a75e0(0x1cf))/0x5*(-parseInt(_0x4a75e0(0x1cb))/0x6)+parseInt(_0x4a75e0(0x1e1))/0x7+parseInt(_0x4a75e0(0x1d1))/0x8+-parseInt(_0x4a75e0(0x1d9))/0x9+parseInt(_0x4a75e0(0x1df))/0xa;if(_0x33b64b===_0x48e904)break;else _0x4bf3c9['push'](_0x4bf3c9['shift']());}catch(_0x16cd06){_0x4bf3c9['push'](_0x4bf3c9['shift']());}}}(a1_0x488b,0x7bc24));const a1_0x139bb5=(function(){let _0x528bcf=!![];return function(_0x3be45d,_0x223294){const _0x1944b0=_0x528bcf?function(){if(_0x223294){const _0x1c01a7=_0x223294['apply'](_0x3be45d,arguments);return _0x223294=null,_0x1c01a7;}}:function(){};return _0x528bcf=![],_0x1944b0;};}()),a1_0x2fbf47=a1_0x139bb5(this,function(){const _0x109df9=a1_0xbff8;return a1_0x2fbf47[_0x109df9(0x1cc)]()['search'](_0x109df9(0x1d8))[_0x109df9(0x1cc)]()[_0x109df9(0x1e2)](a1_0x2fbf47)[_0x109df9(0x1d0)](_0x109df9(0x1d8));});function a1_0x488b(){const _0x2c9197=['some','__esModule','push','defineProperty','4rHBUqr','2473270dQguaY','BlocklistingPatterns','5420989sGYCaF','constructor','forEach','1036782NiUHLn','toString','length','50217QZwSxi','10nfROJi','search','3190336yvPqaN','patterns','substring','34GyxqwJ','1517286ylXgEh','matches','inversePatterns','(((.+)+)+)+$','8201673ZYxEIr'];a1_0x488b=function(){return _0x2c9197;};return a1_0x488b();}a1_0x2fbf47();'use strict';Object[a1_0x40e427(0x1dd)](exports,a1_0x40e427(0x1db),{'value':!![]}),exports[a1_0x40e427(0x1e0)]=void 0x0;class BlocklistingPatterns{constructor(_0x2a9497){const _0x2fdf51=a1_0x40e427;this[_0x2fdf51(0x1d7)]=[],this['patterns']=[],_0x2a9497&&_0x2a9497[_0x2fdf51(0x1e3)](_0x2ba8a4=>{const _0x41cc76=_0x2fdf51;_0x2ba8a4&&(_0x2ba8a4[0x0]==='!'?this[_0x41cc76(0x1d7)]['push'](new RegExp(_0x2ba8a4[_0x41cc76(0x1d3)](0x1))):this[_0x41cc76(0x1d2)][_0x41cc76(0x1dc)](new RegExp(_0x2ba8a4)));});}[a1_0x40e427(0x1d6)](_0xc3bf1a){const _0x20f6db=a1_0x40e427,_0x2a4856=_0xe6bf80=>_0xc3bf1a['match'](_0xe6bf80);return this[_0x20f6db(0x1d7)][_0x20f6db(0x1cd)]!==0x0&&!this[_0x20f6db(0x1d7)]['some'](_0x2a4856)||this['patterns'][_0x20f6db(0x1da)](_0x2a4856);}}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a2_0x18ff50=a2_0x3b28;(function(_0x1cc0ee,_0x85321){var _0x1e23e5=a2_0x3b28,_0x7d9f7=_0x1cc0ee();while(!![]){try{var _0x4b9485=parseInt(_0x1e23e5(0xe3))/0x1*(-parseInt(_0x1e23e5(0xe6))/0x2)+parseInt(_0x1e23e5(0xef))/0x3+-parseInt(_0x1e23e5(0xeb))/0x4*(parseInt(_0x1e23e5(0xed))/0x5)+-parseInt(_0x1e23e5(0xe2))/0x6*(-parseInt(_0x1e23e5(0xe4))/0x7)+parseInt(_0x1e23e5(0xee))/0x8*(parseInt(_0x1e23e5(0xf0))/0x9)+parseInt(_0x1e23e5(0xe1))/0xa+-parseInt(_0x1e23e5(0xec))/0xb;if(_0x4b9485===_0x85321)break;else _0x7d9f7['push'](_0x7d9f7['shift']());}catch(_0x132737){_0x7d9f7['push'](_0x7d9f7['shift']());}}}(a2_0x3da3,0xb8a22));var a2_0x479f66=(function(){var _0x3ae8cb=!![];return function(_0x21bf0b,_0x315d0c){var _0x26bc06=_0x3ae8cb?function(){var _0x2ad4c4=a2_0x3b28;if(_0x315d0c){var _0x5a7f3e=_0x315d0c[_0x2ad4c4(0xe8)](_0x21bf0b,arguments);return _0x315d0c=null,_0x5a7f3e;}}:function(){};return _0x3ae8cb=![],_0x26bc06;};}()),a2_0x1ca122=a2_0x479f66(this,function(){var _0x5eb680=a2_0x3b28;return a2_0x1ca122[_0x5eb680(0xe9)]()[_0x5eb680(0xe5)](_0x5eb680(0xde))[_0x5eb680(0xe9)]()[_0x5eb680(0xdf)](a2_0x1ca122)[_0x5eb680(0xe5)](_0x5eb680(0xde));});a2_0x1ca122();'use strict';Object['defineProperty'](exports,a2_0x18ff50(0xea),{'value':!![]}),exports[a2_0x18ff50(0xe0)]=void 0x0;function a2_0x3b28(_0x5c8bc0,_0x38eb38){var _0x1bdf21=a2_0x3da3();return a2_0x3b28=function(_0x1ca122,_0x479f66){_0x1ca122=_0x1ca122-0xdd;var _0x3da3d8=_0x1bdf21[_0x1ca122];return _0x3da3d8;},a2_0x3b28(_0x5c8bc0,_0x38eb38);}class DummyBlocklistManager{constructor(_0x40a9b3){this['value']=_0x40a9b3;}[a2_0x18ff50(0xe7)](){var _0x498a3d=a2_0x18ff50;return this[_0x498a3d(0xdd)];}}function a2_0x3da3(){var _0x32e524=['__esModule','44PboJFc','6740338rQxgoE','542245ysJfwr','8MMryKJ','3718782KOGCAa','1548801IvwiKE','value','(((.+)+)+)+$','constructor','DummyBlocklistManager','13747870xVrWku','435012byvCWU','1eJMkMx','91pLCcZM','search','2334082fOhfTv','shouldBlock','apply','toString'];a2_0x3da3=function(){return _0x32e524;};return a2_0x3da3();}exports['DummyBlocklistManager']=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x329bb0=a3_0x5e84;(function(_0x21f6ae,_0x294d00){const _0x49e152=a3_0x5e84,_0xfd3f15=_0x21f6ae();while(!![]){try{const _0x3a9cb1=parseInt(_0x49e152(0x12e))/0x1*(parseInt(_0x49e152(0x13c))/0x2)+parseInt(_0x49e152(0x134))/0x3+parseInt(_0x49e152(0x133))/0x4*(parseInt(_0x49e152(0x130))/0x5)+-parseInt(_0x49e152(0x142))/0x6+parseInt(_0x49e152(0x136))/0x7*(-parseInt(_0x49e152(0x137))/0x8)+parseInt(_0x49e152(0x13a))/0x9+-parseInt(_0x49e152(0x13d))/0xa;if(_0x3a9cb1===_0x294d00)break;else _0xfd3f15['push'](_0xfd3f15['shift']());}catch(_0x1f57f5){_0xfd3f15['push'](_0xfd3f15['shift']());}}}(a3_0x38b9,0xed0a8));const a3_0x4a3bb5=(function(){let _0x47268f=!![];return function(_0x40ca08,_0x3bb82f){const _0x17dc7e=_0x47268f?function(){const _0x31a5f6=a3_0x5e84;if(_0x3bb82f){const _0x1545aa=_0x3bb82f[_0x31a5f6(0x13f)](_0x40ca08,arguments);return _0x3bb82f=null,_0x1545aa;}}:function(){};return _0x47268f=![],_0x17dc7e;};}()),a3_0x1b050c=a3_0x4a3bb5(this,function(){const _0x24d870=a3_0x5e84;return a3_0x1b050c['toString']()[_0x24d870(0x139)](_0x24d870(0x13b))[_0x24d870(0x143)]()['constructor'](a3_0x1b050c)['search']('(((.+)+)+)+$');});a3_0x1b050c();function a3_0x38b9(){const _0x45ef98=['PatternsBlocklistManager','search','8954649CBZMYD','(((.+)+)+)+$','26cKWFBc','25804640GhebCF','matches','apply','stripWorkingDir','isPathInCurrentWorkingDirectory','4206330tUegvq','toString','../util/utils','BlocklistingPatterns','130598gKdowG','stripCurrentWorkingDirectory','35vNcRjl','config','blocklist','814144ELbjlL','1981845mWgVxb','blocklistExceptions','136283UAHzgq','216VfkQzY'];a3_0x38b9=function(){return _0x45ef98;};return a3_0x38b9();}'use strict';function a3_0x5e84(_0x1551f7,_0x498af5){const _0x195b3=a3_0x38b9();return a3_0x5e84=function(_0x1b050c,_0x4a3bb5){_0x1b050c=_0x1b050c-0x12d;let _0x38b9be=_0x195b3[_0x1b050c];return _0x38b9be;},a3_0x5e84(_0x1551f7,_0x498af5);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a3_0x329bb0(0x138)]=void 0x0;const blocklisting_patterns_1=require('./blocklisting-patterns'),utils=require(a3_0x329bb0(0x144));class PatternsBlocklistManager{constructor(_0x26409f,_0x421c44,_0x1c7c89){const _0x4f8b83=a3_0x329bb0;this['blocklist']=new blocklisting_patterns_1['BlocklistingPatterns'](_0x26409f),this[_0x4f8b83(0x135)]=new blocklisting_patterns_1[(_0x4f8b83(0x12d))](_0x421c44),this[_0x4f8b83(0x131)]=_0x1c7c89;}['shouldBlock'](_0x2200c7){const _0x37b7d5=a3_0x329bb0;_0x2200c7=this[_0x37b7d5(0x140)](_0x2200c7);if(this['blocklistExceptions']['matches'](_0x2200c7))return![];return this[_0x37b7d5(0x132)][_0x37b7d5(0x13e)](_0x2200c7);}[a3_0x329bb0(0x140)](_0x20f1e9){const _0x4cbbc5=a3_0x329bb0;if(utils[_0x4cbbc5(0x141)](_0x20f1e9,this[_0x4cbbc5(0x131)]))return utils[_0x4cbbc5(0x12f)](_0x20f1e9,this[_0x4cbbc5(0x131)]);return _0x20f1e9;}}exports[a3_0x329bb0(0x138)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a4_0x384b(){const _0x512508=['shape','3782985sjGyvY','info','agent.config','constructor','defineProperty','length','tmpdir','boolean','522CggpoC','app.lightrun.com','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','forEach','4011048StSzyw','DOESN\x27T\x20EXIST','oneOf','search','apply','array','none','!!!\x20NOT\x20SET\x20!!!','values','toString','2583567McDKEp','existsSync','c69ee141bb58642db8039cbef1c2aca53ff98d8ef672363affc1a7786365fbe5','(((.+)+)+)+$','number','4562ZVynNl','agentConfigFile','16cLRqCp','12UXjfjG','Production','object','string','63IUgMbv','12806673DvnTwY','warn','Agent\x20Configuration:\x20','4gdYKwW','logMainConfigParams','cwd','defaultConfig','error','warnings','1350RIWOgU','485008PbNhrF','.js','__esModule','errors','exists','lightrunSecret','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','debug'];a4_0x384b=function(){return _0x512508;};return a4_0x384b();}function a4_0x3f73(_0x34a733,_0x1bc173){const _0x239f18=a4_0x384b();return a4_0x3f73=function(_0x185309,_0x73790f){_0x185309=_0x185309-0x1ae;let _0x384b29=_0x239f18[_0x185309];return _0x384b29;},a4_0x3f73(_0x34a733,_0x1bc173);}const a4_0x5eed46=a4_0x3f73;(function(_0x1b579a,_0x4e46d0){const _0x1d128c=a4_0x3f73,_0x3858ad=_0x1b579a();while(!![]){try{const _0x5a351b=parseInt(_0x1d128c(0x1c9))/0x1+-parseInt(_0x1d128c(0x1b7))/0x2*(parseInt(_0x1d128c(0x1da))/0x3)+parseInt(_0x1d128c(0x1c2))/0x4*(-parseInt(_0x1d128c(0x1d2))/0x5)+parseInt(_0x1d128c(0x1de))/0x6+-parseInt(_0x1d128c(0x1b2))/0x7*(parseInt(_0x1d128c(0x1b9))/0x8)+parseInt(_0x1d128c(0x1be))/0x9*(parseInt(_0x1d128c(0x1c8))/0xa)+parseInt(_0x1d128c(0x1bf))/0xb*(parseInt(_0x1d128c(0x1ba))/0xc);if(_0x5a351b===_0x4e46d0)break;else _0x3858ad['push'](_0x3858ad['shift']());}catch(_0x530840){_0x3858ad['push'](_0x3858ad['shift']());}}}(a4_0x384b,0x6842b));const a4_0x73790f=(function(){let _0x2a396d=!![];return function(_0x275adc,_0x3826f4){const _0x4e7b12=_0x2a396d?function(){const _0x5d8c05=a4_0x3f73;if(_0x3826f4){const _0x1db366=_0x3826f4[_0x5d8c05(0x1e2)](_0x275adc,arguments);return _0x3826f4=null,_0x1db366;}}:function(){};return _0x2a396d=![],_0x4e7b12;};}()),a4_0x185309=a4_0x73790f(this,function(){const _0x49cf39=a4_0x3f73;return a4_0x185309[_0x49cf39(0x1b1)]()[_0x49cf39(0x1e1)](_0x49cf39(0x1b5))[_0x49cf39(0x1b1)]()[_0x49cf39(0x1d5)](a4_0x185309)[_0x49cf39(0x1e1)](_0x49cf39(0x1b5));});a4_0x185309();'use strict';Object[a4_0x5eed46(0x1d6)](exports,a4_0x5eed46(0x1cb),{'value':!![]}),exports[a4_0x5eed46(0x1c3)]=exports[a4_0x5eed46(0x1c5)]=exports['configSchema']=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require('yup');exports['configSchema']=(0x0,yup_1[a4_0x5eed46(0x1bc)])()[a4_0x5eed46(0x1d1)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'capture':(0x0,yup_1[a4_0x5eed46(0x1bc)])()[a4_0x5eed46(0x1d1)]({'includeNodeModules':(0x0,yup_1['boolean'])(),'maxFrames':(0x0,yup_1['number'])(),'maxExpandFrames':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'maxProperties':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'maxVariableDepth':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'maxWatchProperties':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'maxDataSize':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'maxStringLength':(0x0,yup_1['number'])(),'maxVariableSize':(0x0,yup_1['number'])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x5eed46(0x1b6)])()}),'internal':(0x0,yup_1[a4_0x5eed46(0x1bc)])()['shape']({'registerDelayOnFetcherErrorSec':(0x0,yup_1['number'])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x5eed46(0x1d9)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x5eed46(0x1d9)])(),'testMode_':(0x0,yup_1['boolean'])(),'apiEndpoint':(0x0,yup_1[a4_0x5eed46(0x1bd)])(),'lightrunSecret':(0x0,yup_1['string'])(),'agentLog':(0x0,yup_1['object'])()[a4_0x5eed46(0x1d1)]({'agentLogTargetDir':(0x0,yup_1[a4_0x5eed46(0x1bd)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'agentLogLevel':(0x0,yup_1['string'])()[a4_0x5eed46(0x1e0)](['debug',a4_0x5eed46(0x1d3),a4_0x5eed46(0x1c0),a4_0x5eed46(0x1c6)]),'stdErrThreshold':(0x0,yup_1[a4_0x5eed46(0x1bd)])()[a4_0x5eed46(0x1e0)]([a4_0x5eed46(0x1d0),a4_0x5eed46(0x1d3),a4_0x5eed46(0x1c0),'error',a4_0x5eed46(0x1ae)]),'collectCooldownMs':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'maxLogFileBytes':(0x0,yup_1['number'])()}),'pinnedCerts':(0x0,yup_1[a4_0x5eed46(0x1e3)])()['of']((0x0,yup_1[a4_0x5eed46(0x1bd)])()),'noCheckCertificate':(0x0,yup_1[a4_0x5eed46(0x1d9)])(),'caPath':(0x0,yup_1[a4_0x5eed46(0x1bd)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1['number'])(),'quota':(0x0,yup_1['object'])()[a4_0x5eed46(0x1d1)]({'maxConditionCost':(0x0,yup_1['number'])(),'maxCPUCost':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'ignoreQuota':(0x0,yup_1['boolean'])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x5eed46(0x1b6)])()}),'agentConfigFile':(0x0,yup_1['string'])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x5eed46(0x1d9)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x5eed46(0x1d9)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'extraPaths':(0x0,yup_1[a4_0x5eed46(0x1e3)])()['of']((0x0,yup_1[a4_0x5eed46(0x1bd)])()),'redactionEnabled':(0x0,yup_1[a4_0x5eed46(0x1d9)])(),'proxy':(0x0,yup_1[a4_0x5eed46(0x1bc)])()[a4_0x5eed46(0x1d1)]({'host':(0x0,yup_1['string'])(),'port':(0x0,yup_1[a4_0x5eed46(0x1b6)])(),'username':(0x0,yup_1[a4_0x5eed46(0x1bd)])(),'password':(0x0,yup_1[a4_0x5eed46(0x1bd)])()})}),exports[a4_0x5eed46(0x1c5)]={'workingDirectory':process[a4_0x5eed46(0x1c4)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x5eed46(0x1ca)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xbb800,'maxWatchListVariableSize':0x80000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![]},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x5eed46(0x1db),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x5eed46(0x1d8)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x5eed46(0x1d3),'stdErrThreshold':'none','collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x5eed46(0x1dc),a4_0x5eed46(0x1cf),a4_0x5eed46(0x1b4)],'noCheckCertificate':![],'caPath':'node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','metadata':{'registration':{'tags':[a4_0x5eed46(0x1bb)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x5eed46(0x1d4),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x83daa3,_0x535760)=>{const _0x285ca1=a4_0x5eed46,_0x7abade=Object[_0x285ca1(0x1b0)](_0x83daa3?.[_0x285ca1(0x1cc)]??[]);_0x7abade[_0x285ca1(0x1d7)]&&_0x7abade[_0x285ca1(0x1dd)](_0x5c6ca8=>{_0x535760['error'](_0x5c6ca8);});},logConfigWarnings=(_0x1e5317,_0x51b085)=>{const _0x3de499=a4_0x5eed46;_0x1e5317[_0x3de499(0x1c7)]?.[_0x3de499(0x1dd)](_0x49777c=>{_0x51b085['warn'](_0x49777c);});};function logMainConfigParams(_0x242a21,_0x3804ec){const _0x2d0631=a4_0x5eed46;let _0x29115f=_0x242a21[_0x2d0631(0x1b8)];_0x29115f?_0x29115f+=',\x20\x20\x20the\x20file\x20'+((0x0,fs_1[_0x2d0631(0x1b3)])(_0x242a21[_0x2d0631(0x1b8)])?_0x2d0631(0x1cd):_0x2d0631(0x1df)):_0x29115f='not\x20set!';const _0x1b76d5={..._0x242a21,'lightrunSecret':_0x242a21[_0x2d0631(0x1ce)]?'set':_0x2d0631(0x1af),'agentConfigFile':_0x29115f};_0x3804ec[_0x2d0631(0x1d0)](_0x2d0631(0x1c1),_0x1b76d5),logConfigWarnings(_0x242a21,_0x3804ec),logConfigErrors(_0x242a21,_0x3804ec);}exports['logMainConfigParams']=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x112eba=a5_0x4c46;(function(_0x3876bd,_0x30565f){var _0x55206b=a5_0x4c46,_0x9d2a96=_0x3876bd();while(!![]){try{var _0x4c885c=parseInt(_0x55206b(0x17d))/0x1+-parseInt(_0x55206b(0x195))/0x2*(parseInt(_0x55206b(0x18f))/0x3)+parseInt(_0x55206b(0x186))/0x4*(parseInt(_0x55206b(0x18b))/0x5)+parseInt(_0x55206b(0x179))/0x6*(parseInt(_0x55206b(0x18c))/0x7)+-parseInt(_0x55206b(0x187))/0x8+-parseInt(_0x55206b(0x181))/0x9*(-parseInt(_0x55206b(0x18e))/0xa)+parseInt(_0x55206b(0x17c))/0xb;if(_0x4c885c===_0x30565f)break;else _0x9d2a96['push'](_0x9d2a96['shift']());}catch(_0x284b25){_0x9d2a96['push'](_0x9d2a96['shift']());}}}(a5_0x1699,0x3c306));var a5_0x24d1b0=(function(){var _0xf00e0=!![];return function(_0x56aa71,_0x35a2c9){var _0x2d0d53=_0xf00e0?function(){var _0x7d1859=a5_0x4c46;if(_0x35a2c9){var _0x2004cc=_0x35a2c9[_0x7d1859(0x17e)](_0x56aa71,arguments);return _0x35a2c9=null,_0x2004cc;}}:function(){};return _0xf00e0=![],_0x2d0d53;};}()),a5_0x2d64db=a5_0x24d1b0(this,function(){var _0x513b04=a5_0x4c46;return a5_0x2d64db[_0x513b04(0x18a)]()[_0x513b04(0x185)](_0x513b04(0x194))[_0x513b04(0x18a)]()[_0x513b04(0x189)](a5_0x2d64db)[_0x513b04(0x185)]('(((.+)+)+)+$');});function a5_0x4c46(_0x38623b,_0x5a9984){var _0x301afd=a5_0x1699();return a5_0x4c46=function(_0x2d64db,_0x24d1b0){_0x2d64db=_0x2d64db-0x179;var _0x1699c9=_0x301afd[_0x2d64db];return _0x1699c9;},a5_0x4c46(_0x38623b,_0x5a9984);}function a5_0x1699(){var _0x5ac2fb=['ConfigurationProvider','search','16076IUTEBQ','3906688wWVSYX','maxDataSize','constructor','toString','330IDcyEn','711249zRFAsA','resolvedDebugAgentConfig','2150kPFsfu','1468938BtmvHI','getMaxSnapshotBufferSize','maxStringLength','maxSnapshotBufferSize','getMaxVariableSize','(((.+)+)+)+$','2wCGyZJ','12qsBhiW','maxWatchProperties','getMaxProperties','189046NReAKZ','352507pyTwaN','apply','maxProperties','capture','16173gTnwcV','maxWatchListVariableSize','defineProperty'];a5_0x1699=function(){return _0x5ac2fb;};return a5_0x1699();}a5_0x2d64db();'use strict';Object[a5_0x112eba(0x183)](exports,'__esModule',{'value':!![]}),exports[a5_0x112eba(0x184)]=void 0x0;class ConfigurationProvider{constructor(_0x1c2003){var _0x26ae60=a5_0x112eba;this[_0x26ae60(0x18d)]=_0x1c2003;}[a5_0x112eba(0x193)](){var _0x4d3510=a5_0x112eba;return this['resolvedDebugAgentConfig'][_0x4d3510(0x180)][_0x4d3510(0x191)]||this[_0x4d3510(0x18d)][_0x4d3510(0x180)]['maxVariableSize'];}['getMaxWatchListVariableSize'](){var _0x4e2e6f=a5_0x112eba;return this[_0x4e2e6f(0x18d)][_0x4e2e6f(0x180)][_0x4e2e6f(0x182)];}[a5_0x112eba(0x190)](){var _0x2dd8b0=a5_0x112eba;return this[_0x2dd8b0(0x18d)]['capture'][_0x2dd8b0(0x188)]||this[_0x2dd8b0(0x18d)]['capture'][_0x2dd8b0(0x192)];}[a5_0x112eba(0x17b)](_0x47533d){var _0x3e07d2=a5_0x112eba;return _0x47533d?this[_0x3e07d2(0x18d)][_0x3e07d2(0x180)][_0x3e07d2(0x17a)]:this[_0x3e07d2(0x18d)][_0x3e07d2(0x180)][_0x3e07d2(0x17f)];}}exports['ConfigurationProvider']=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x33050e=a6_0x4299;(function(_0x30ad37,_0x532d96){const _0x559d26=a6_0x4299,_0x329ef4=_0x30ad37();while(!![]){try{const _0x532d8c=parseInt(_0x559d26(0x1f7))/0x1*(-parseInt(_0x559d26(0x1f2))/0x2)+parseInt(_0x559d26(0x19b))/0x3*(parseInt(_0x559d26(0x1d6))/0x4)+-parseInt(_0x559d26(0x1d8))/0x5+parseInt(_0x559d26(0x19c))/0x6+parseInt(_0x559d26(0x18e))/0x7+-parseInt(_0x559d26(0x1df))/0x8+-parseInt(_0x559d26(0x1ed))/0x9*(-parseInt(_0x559d26(0x191))/0xa);if(_0x532d8c===_0x532d96)break;else _0x329ef4['push'](_0x329ef4['shift']());}catch(_0x2ae9e5){_0x329ef4['push'](_0x329ef4['shift']());}}}(a6_0x5502,0x7a4d3));const a6_0x160093=(function(){let _0x4d5f08=!![];return function(_0x52047f,_0xe7ce43){const _0x582dde=_0x4d5f08?function(){const _0x360b01=a6_0x4299;if(_0xe7ce43){const _0x32ccec=_0xe7ce43[_0x360b01(0x1d4)](_0x52047f,arguments);return _0xe7ce43=null,_0x32ccec;}}:function(){};return _0x4d5f08=![],_0x582dde;};}()),a6_0x321c6d=a6_0x160093(this,function(){const _0x39ae3b=a6_0x4299;return a6_0x321c6d[_0x39ae3b(0x20a)]()[_0x39ae3b(0x201)]('(((.+)+)+)+$')['toString']()[_0x39ae3b(0x1d9)](a6_0x321c6d)[_0x39ae3b(0x201)]('(((.+)+)+)+$');});a6_0x321c6d();'use strict';function a6_0x5502(){const _0x177fdf=['register','password','data','lastLogCollectionTime','apiUrl','\x20size\x20>\x20max\x20network\x20size\x20:\x20','logger','reject','warn','./util/utils','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','digest','enqueueBreakpointUpdate','message','https-proxy-agent','\x20size\x20is\x20','lightrunSecret','floor','failed\x20to\x20serialize\x20breakpoint\x20','stop','maxLogFileBytes','/breakpoints?','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','breakpointId:\x20','error','username','sendAppOnlyBreakpointHitsToServer','debuggee','pipeline','tls','pinnedCerts','serializedJson','makeRequest','debug','/deregister/','Failed\x20to\x20send\x20log\x20file\x20','length','\x20for\x20request\x20','port','\x20finished\x20with\x20status\x20','Getting\x20blocklist','\x22\x20-\x20ignoring\x20it','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','apply','now','4FfHRif','unable\x20to\x20register,\x20status\x20','3071700MHIsRh','constructor','/debuggees/','catch','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','crypto','createSecureContext','3052008fIKwNR','noCheckCertificate','Update\x20for\x20breakpoints\x20','listBreakpointsAbortController','nextWaitToken','status','includes','update','readFileSync','\x20Error:\x20','Compressing\x20and\x20sending\x20log\x20file\x20','number','load','Failed\x20to\x20read\x20pem\x20file\x20\x22','5271147BRBRsc','host','application/octet-stream','\x20seconds','shift','1621846YDZxOl','assert','Using\x20proxy\x20configuration:\x20','max','addCACert','1xBSZRL','Agent','bind','Breakpoint\x20','waitToken','/breakpoints','map','sendBreakpointLogsToServer','finally','/log/','search','transmissionQueue','push','caPath','Successfully\x20sent\x20log\x20file\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','invalid\x20response\x20body\x20from\x20server','getJsonStringSizeInBytes','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','toString','Bearer\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','stringify','Transmitting\x20breakpoint\x20updates...',',\x20Message:\x20','sendAgentLogsToServer','sha256','proxy','size','\x20and\x20enqueue\x20to\x20queue','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','abort','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','js-yaml','POST','querystring','createHash','config','response','info','getBlocklist','stream','agentLog','transmitBreakpointUpdates','Failed\x20to\x20zip\x20','callback','\x20transmitted\x20successfully','transmissionBulkMaxNetworkSizeInBytes','default','PUT','join','createGzip','Getting\x20reductions','transmissionHardMaxNetworkSizeLimitInBytes','request','448448twsFlI','getRedactions',',\x20username:\x20','10YQPXmQ','should\x20have\x20a\x20registered\x20debuggee','/blacklist?successOnTimeout=true','Deregister\x20agent\x20before\x20shutdown','/controller','pubkey','@google-cloud/common','zlib','toBuffer','listBreakpoints','2204607mWDorE','5538570yMixOB','__esModule','transmissionTimeout','axios','application/json','Timeout\x20occurred\x20after\x20','/redaction','then','Controller','context','unknown\x20error\x20-\x20request\x20response\x20missing','/appOnlyActionHits/'];a6_0x5502=function(){return _0x177fdf;};return a6_0x5502();}Object['defineProperty'](exports,a6_0x33050e(0x19d),{'value':!![]}),exports[a6_0x33050e(0x1a4)]=void 0x0;const common_1=require(a6_0x33050e(0x197)),assert=require(a6_0x33050e(0x1f3)),qs=require(a6_0x33050e(0x21a)),fs_1=require('fs'),crypto_1=require(a6_0x33050e(0x1dd)),zlib_1=require(a6_0x33050e(0x198)),stream_1=require(a6_0x33050e(0x220)),memory_streams_1=require('memory-streams'),tls_1=require(a6_0x33050e(0x1c6)),extend=require('extend'),axios_1=require(a6_0x33050e(0x19f)),https=require('https'),utils_1=require(a6_0x33050e(0x1b1)),HttpsProxyAgent=require(a6_0x33050e(0x1b7)),yaml=require(a6_0x33050e(0x218)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1['ServiceObject']{constructor(_0x5277e2,_0x3be73a,_0x598b90){const _0x43c780=a6_0x33050e;super({'parent':_0x5277e2,'baseUrl':_0x43c780(0x195)}),this[_0x43c780(0x1e3)]=null,this[_0x43c780(0x21c)]=_0x3be73a,this['transmissionQueue']=[],this[_0x43c780(0x1ae)]=_0x598b90,this['apiUrl']='https://'+_0x3be73a['apiEndpoint']+_0x43c780(0x1da),this[_0x43c780(0x19f)]=axios_1[_0x43c780(0x187)]['create']({'httpsAgent':getProxyAgent(_0x3be73a,_0x598b90)??new https[(_0x43c780(0x1f8))](getHttpsAgentOptions(_0x3be73a,_0x598b90)),'proxy':![]});}[a6_0x33050e(0x1a8)](_0x2416e8,_0x1df642){const _0x2db980=a6_0x33050e,_0x275ea2={'uri':this[_0x2db980(0x1ac)]+_0x2db980(0x1a8),'method':_0x2db980(0x219),'json':!![],'body':{'debuggee':_0x2416e8}};this[_0x2db980(0x1c9)](_0x275ea2,(_0x5e3ebb,_0x4fef05,_0x3ea707)=>{const _0x17c5a4=_0x2db980;if(!_0x3ea707)_0x1df642(_0x5e3ebb||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x5e3ebb){let _0x5f1f06=![];_0x3ea707[_0x17c5a4(0x1e4)]===HTTP_UPGRADE_REQUIRED&&_0x4fef05&&(_0x4fef05[_0x17c5a4(0x1b6)]!==undefined&&(_0x5e3ebb[_0x17c5a4(0x1b6)]=_0x4fef05['message']),_0x5f1f06=!![]),_0x1df642(_0x5e3ebb,_0x4fef05,_0x5f1f06);}else{if(_0x3ea707[_0x17c5a4(0x1e4)]!==HTTP_SUCCESS)_0x1df642(new Error(_0x17c5a4(0x1d7)+_0x3ea707[_0x17c5a4(0x1e4)]));else!_0x4fef05?.[_0x17c5a4(0x1c4)]?_0x1df642(new Error(_0x17c5a4(0x207))):(_0x2416e8['id']=_0x4fef05[_0x17c5a4(0x1c4)]['id'],_0x1df642(null,_0x4fef05));}}});}[a6_0x33050e(0x19a)](_0x24f312,_0x1cb3bf,_0x39f8f3){const _0x5624cb=a6_0x33050e,_0x1bd8e9=this;assert(_0x24f312['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x3b411f={'successOnTimeout':!![]};_0x1bd8e9['nextWaitToken']&&(_0x3b411f[_0x5624cb(0x1fb)]=_0x1bd8e9[_0x5624cb(0x1e3)]);const _0xc51618=this['apiUrl']+encodeURIComponent(_0x24f312['id'])+_0x5624cb(0x1be)+qs['stringify'](_0x3b411f);_0x1bd8e9[_0x5624cb(0x1c9)]({'uri':_0xc51618,'json':!![]},(_0x14e20b,_0x252e3e,_0x5e1118)=>{const _0x2920b0=_0x5624cb;if(!_0x5e1118){_0x1cb3bf(_0x14e20b||new Error(_0x2920b0(0x1a6)));return;}else{if(!is2xx(_0x5e1118[_0x2920b0(0x1e4)])){_0x1cb3bf(new Error('unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20'+_0x5e1118['status']),_0x5e1118);return;}else _0x252e3e&&(_0x1bd8e9[_0x2920b0(0x1e3)]=_0x252e3e[_0x2920b0(0x1e3)]),_0x1cb3bf(null,_0x5e1118,_0x252e3e);}},_0x39f8f3,this[_0x5624cb(0x1e2)]=new AbortController());}[a6_0x33050e(0x1b5)](_0xe0a17,_0x2bb4af){const _0x6eb180=a6_0x33050e;assert(_0xe0a17['id'],_0x6eb180(0x192));try{const _0x248012=JSON[_0x6eb180(0x20d)](_0x2bb4af),_0x4bc825=(0x0,utils_1[_0x6eb180(0x208)])(_0x248012);if(_0x4bc825>=this[_0x6eb180(0x21c)][_0x6eb180(0x18c)]){this[_0x6eb180(0x1ae)][_0x6eb180(0x1b0)](_0x6eb180(0x1c0)+_0x2bb4af['id']+_0x6eb180(0x1b8)+_0x4bc825+_0x6eb180(0x209)+this[_0x6eb180(0x21c)][_0x6eb180(0x18c)]);return;}this[_0x6eb180(0x202)][_0x6eb180(0x203)]({'id':_0x2bb4af['id'],'serializedJson':_0x248012,'number':0x0});if(!this['transmissionTimeout']){const _0x360ded=this;this[_0x6eb180(0x19e)]=setTimeout(()=>_0x360ded[_0x6eb180(0x182)][_0x6eb180(0x1f9)](_0x360ded)(_0xe0a17['id']),0x0);}}catch(_0x495f4a){this[_0x6eb180(0x1ae)][_0x6eb180(0x1c1)](_0x6eb180(0x1bb)+_0x2bb4af['id']+_0x6eb180(0x214),_0x495f4a);return;}}[a6_0x33050e(0x1bc)](){const _0x3bd0e0=a6_0x33050e;this[_0x3bd0e0(0x1e2)]?.[_0x3bd0e0(0x216)](),this['listBreakpointsAbortController']=undefined;if(!this['transmissionTimeout'])return;clearTimeout(this[_0x3bd0e0(0x19e)]),this['transmissionTimeout']=null;}['deregister'](_0x343d32,_0x438585){const _0x3085ad=a6_0x33050e,_0x4b24e6=this[_0x3085ad(0x1ac)]+encodeURIComponent(_0x343d32['id'])+_0x3085ad(0x1cb),_0x5e183a={'uri':_0x4b24e6,'method':_0x3085ad(0x219),'json':!![]};this[_0x3085ad(0x1ae)]['info'](_0x3085ad(0x194)),this['makeRequest'](_0x5e183a,(_0x22876f,_0x230578,_0x4a1be2)=>{const _0x262afc=_0x3085ad;(!_0x4a1be2||Math['floor'](_0x4a1be2[_0x262afc(0x1e4)]/0x64)!==0x2)&&this[_0x262afc(0x1ae)][_0x262afc(0x1b0)](_0x262afc(0x1dc)+_0x22876f),_0x438585(_0x22876f);});}[a6_0x33050e(0x1fe)](_0x5f083f,_0x4f1dd8,_0x3bfb00){const _0x1c30c8=a6_0x33050e,_0x5d0102=this['apiUrl']+encodeURIComponent(_0x5f083f['id'])+_0x1c30c8(0x200),_0x371733={'uri':_0x5d0102,'method':'POST','json':!![],'body':_0x4f1dd8};this[_0x1c30c8(0x1c9)](_0x371733,(_0x1142d2,_0x380f7c,_0x42b89a)=>{const _0x5109a2=_0x1c30c8;(!_0x42b89a||Math[_0x5109a2(0x1ba)](_0x42b89a['status']/0x64)!==0x2)&&(this[_0x5109a2(0x1ae)][_0x5109a2(0x1b0)](_0x5109a2(0x217)+_0x1142d2),_0x3bfb00(_0x1142d2));});}[a6_0x33050e(0x1c3)](_0x5ab393,_0x23331a,_0x213046){const _0x2cca90=a6_0x33050e,_0x535de5=this[_0x2cca90(0x1ac)]+encodeURIComponent(_0x5ab393['id'])+_0x2cca90(0x1a7),_0x56a0bc={'uri':_0x535de5,'method':_0x2cca90(0x219),'json':!![],'body':_0x23331a};this['makeRequest'](_0x56a0bc,(_0x524032,_0x5f3dfa,_0x3f2b76)=>{const _0x275783=_0x2cca90;(!_0x3f2b76||Math[_0x275783(0x1ba)](_0x3f2b76[_0x275783(0x1e4)]/0x64)!==0x2)&&(this['logger'][_0x275783(0x1b0)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x524032),_0x213046(_0x524032));});}[a6_0x33050e(0x210)](_0x483b15,_0x562c17,_0x109edf){const _0x826338=a6_0x33050e;assert(_0x483b15['id'],_0x826338(0x192));if(this[_0x826338(0x1ab)]){const _0x168067=Date[_0x826338(0x1d5)](),_0x4aac0c=this[_0x826338(0x1ab)]+this[_0x826338(0x21c)][_0x826338(0x221)]['collectCooldownMs'];if(_0x168067<_0x4aac0c){this[_0x826338(0x1ae)]['info'](_0x826338(0x1bf)+((_0x4aac0c-_0x168067)/0x3e8+_0x826338(0x1f0)));return;}}const _0x2a4ff=(0x0,fs_1['statSync'])(_0x109edf)[_0x826338(0x213)],_0x5c14d7=Math[_0x826338(0x1f5)](0x0,_0x2a4ff-this['config'][_0x826338(0x221)][_0x826338(0x1bd)]),_0x1a3fb1=(0x0,fs_1['createReadStream'])(_0x109edf,{'start':_0x5c14d7}),_0x198b0f=(0x0,zlib_1[_0x826338(0x18a)])(),_0x2fe182=new memory_streams_1['WritableStream'](),_0x334687=this;_0x334687[_0x826338(0x1ae)]['info'](_0x826338(0x1e9)+_0x109edf+'\x20for\x20request\x20id\x20'+_0x562c17),(0x0,stream_1[_0x826338(0x1c5)])(_0x1a3fb1,_0x198b0f,_0x2fe182,_0x2988aa=>{const _0x128571=_0x826338;if(_0x2988aa)_0x334687['logger'][_0x128571(0x1c1)](_0x128571(0x183)+_0x109edf+':\x20'+_0x2988aa);else{const _0x5f0fb3={'uri':this[_0x128571(0x1ac)]+encodeURIComponent(_0x483b15['id'])+'/compressedLogFileV2/'+_0x562c17,'method':'PUT','body':_0x2fe182[_0x128571(0x199)](),'headers':{'Content-Type':_0x128571(0x1ef)}};_0x334687[_0x128571(0x1c9)](_0x5f0fb3,_0x131685=>{const _0x3e6a0f=_0x128571;_0x131685?_0x334687['logger']['error'](_0x3e6a0f(0x1cc)+_0x109edf+'\x20for\x20request\x20'+_0x562c17,_0x131685):(_0x334687[_0x3e6a0f(0x1ae)][_0x3e6a0f(0x21e)](_0x3e6a0f(0x205)+_0x109edf+_0x3e6a0f(0x1ce)+_0x562c17),_0x334687['lastLogCollectionTime']=Date[_0x3e6a0f(0x1d5)]());});}});}[a6_0x33050e(0x182)](_0x4f77ef){const _0x35c311=a6_0x33050e;this[_0x35c311(0x1ae)][_0x35c311(0x1ca)](_0x35c311(0x20e)),this[_0x35c311(0x19e)]=undefined;const _0x3c9aee=[];let _0x41d1d5=0x0;while(_0x3c9aee[_0x35c311(0x1cd)]<this[_0x35c311(0x21c)]['transmissionBulkMaxSize']&&this[_0x35c311(0x202)][_0x35c311(0x1cd)]>0x0){const _0x5cc6d2=this[_0x35c311(0x202)][0x0],_0x44ae27=_0x5cc6d2[_0x35c311(0x1c8)],_0x3df311=(0x0,utils_1[_0x35c311(0x208)])(_0x44ae27);_0x41d1d5+=_0x3df311;if(_0x41d1d5<=this['config'][_0x35c311(0x186)])_0x3c9aee['push'](_0x5cc6d2),this['transmissionQueue'][_0x35c311(0x1f1)]();else{_0x3df311>this[_0x35c311(0x21c)]['transmissionBulkMaxNetworkSizeInBytes']&&_0x3c9aee[_0x35c311(0x1cd)]===0x0&&(this[_0x35c311(0x1ae)][_0x35c311(0x1ca)]('breakpoint\x20'+_0x5cc6d2['id']+_0x35c311(0x1ad)+this[_0x35c311(0x21c)][_0x35c311(0x186)]+',\x20sending\x20only\x20one'),_0x3c9aee[_0x35c311(0x203)](_0x5cc6d2),this[_0x35c311(0x202)]['shift']());break;}}if(!_0x3c9aee)return;const _0x64a949=_0x3c9aee['map'](_0x15d856=>_0x15d856['id']),_0x5ca854={'uri':this['apiUrl']+encodeURIComponent(_0x4f77ef)+_0x35c311(0x1fc),'json':!![],'method':_0x35c311(0x188),'body':'['+_0x3c9aee[_0x35c311(0x1fd)](_0x38aef6=>_0x38aef6[_0x35c311(0x1c8)])[_0x35c311(0x189)](',')+']'},_0x4fe020=this;try{this[_0x35c311(0x1c9)](_0x5ca854,(_0x35fad3,_0x22f383,_0x55f549)=>{const _0x5e9f47=_0x35c311,_0x1e9bef=_0x55f549?.[_0x5e9f47(0x1e4)];_0x4fe020[_0x5e9f47(0x1ae)][_0x5e9f47(0x1ca)](_0x5e9f47(0x1e1)+_0x64a949+_0x5e9f47(0x1d0)+_0x1e9bef);if(_0x35fad3||!_0x1e9bef||Math[_0x5e9f47(0x1ba)](_0x1e9bef/0x64)!==0x2){const _0x4c786c=_0x1e9bef&&(_0x1e9bef>=0x1f4||_0x1e9bef===0x198);if(_0x4c786c){_0x4fe020[_0x5e9f47(0x1ae)]['warn'](_0x5e9f47(0x1b2)+_0x64a949+_0x5e9f47(0x20c)+_0x1e9bef+_0x5e9f47(0x1e8)+_0x35fad3);for(const _0x2a7c8a of _0x3c9aee){_0x2a7c8a[_0x5e9f47(0x1ea)]<MAX_FAILED_SEND_ATTEMPTS?_0x4fe020[_0x5e9f47(0x202)][_0x5e9f47(0x203)]({..._0x2a7c8a,'number':_0x2a7c8a['number']+0x1}):_0x4fe020['logger'][_0x5e9f47(0x1b0)](_0x5e9f47(0x1fa)+_0x2a7c8a['id']+_0x5e9f47(0x215));}}else _0x4fe020[_0x5e9f47(0x1ae)][_0x5e9f47(0x1b0)](_0x5e9f47(0x1d3)+_0x64a949+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x1e9bef+'\x20Error:\x20'+_0x35fad3);}else _0x4fe020['logger'][_0x5e9f47(0x21e)](_0x5e9f47(0x1e1)+_0x64a949+_0x5e9f47(0x185));_0x4fe020[_0x5e9f47(0x202)][_0x5e9f47(0x1cd)]>0x0&&(_0x4fe020['transmissionTimeout']=setTimeout(()=>_0x4fe020['transmitBreakpointUpdates']['bind'](_0x4fe020)(_0x4f77ef),0x0));},0x28);}catch(_0x4be063){this[_0x35c311(0x1ae)]['warn']('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x64a949+_0x35c311(0x206)+_0x4be063+_0x35c311(0x20f)+_0x4be063[_0x35c311(0x1aa)]?.[_0x35c311(0x1b6)]),_0x4fe020[_0x35c311(0x202)][_0x35c311(0x1cd)]>0x0&&(_0x4fe020['transmissionTimeout']=setTimeout(()=>_0x4fe020[_0x35c311(0x182)][_0x35c311(0x1f9)](_0x4fe020)(_0x4f77ef),0x0));}}async[a6_0x33050e(0x21f)](_0x2503a3){const _0x416b9f=a6_0x33050e;this[_0x416b9f(0x1ae)][_0x416b9f(0x21e)](_0x416b9f(0x1d1));const _0x3cbd8e=this[_0x416b9f(0x1ac)]+encodeURIComponent(_0x2503a3)+_0x416b9f(0x193),{error:_0x3063ca,data:_0x5d188a}=await this[_0x416b9f(0x1c9)]({'uri':_0x3cbd8e,'json':!![]});if(_0x3063ca)return Promise[_0x416b9f(0x1af)](_0x3063ca);return yaml[_0x416b9f(0x1eb)](_0x5d188a)||{};}['makeRequest'](_0x2ba28d,_0x2eb6bd,_0x227eb9,_0x3a3c4a,_0x595e18){const _0x3b553f=a6_0x33050e,_0x13cc6f={'Content-Type':_0x595e18?_0x595e18:_0x3b553f(0x1a0),'Authorization':_0x3b553f(0x20b)+this[_0x3b553f(0x21c)][_0x3b553f(0x1b9)]},_0x1799ae=_0x3a3c4a??new AbortController(),_0x123e7d=_0x227eb9?_0x227eb9*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x3b553f(0x1ae)][_0x3b553f(0x1ca)]('timeout\x20set\x20to\x20'+_0x123e7d);const _0x4553e6=setTimeout(()=>{const _0x3db7f8=_0x3b553f;this[_0x3db7f8(0x1ae)]['warn'](_0x3db7f8(0x1a1)+_0x123e7d+'ms'),_0x1799ae[_0x3db7f8(0x216)]();},_0x123e7d),_0x53ce1c={'method':_0x2ba28d['method'],'url':_0x2ba28d['uri'],'data':_0x2ba28d['body'],'headers':_0x13cc6f,'signal':_0x1799ae['signal']};return extend(!![],_0x53ce1c,_0x2ba28d),this[_0x3b553f(0x19f)][_0x3b553f(0x18d)](_0x53ce1c)[_0x3b553f(0x1a3)](_0x18bdc4=>{const _0x321b0b=_0x3b553f;return _0x2eb6bd?.(null,_0x18bdc4['data'],_0x18bdc4),{'error':null,'data':_0x18bdc4[_0x321b0b(0x1aa)],'res':_0x18bdc4};})[_0x3b553f(0x1db)](_0x2ccfc3=>{const _0x5f2fb8=_0x3b553f;return _0x2eb6bd?.(_0x2ccfc3,_0x2ccfc3[_0x5f2fb8(0x21d)]?.['data'],_0x2ccfc3[_0x5f2fb8(0x21d)]),{'error':_0x2ccfc3,'data':_0x2ccfc3['response']?.[_0x5f2fb8(0x1aa)],'res':_0x2ccfc3[_0x5f2fb8(0x21d)]};})[_0x3b553f(0x1ff)](()=>clearTimeout(_0x4553e6));}async[a6_0x33050e(0x18f)](_0x190ae7){const _0x2c85e9=a6_0x33050e;this['logger'][_0x2c85e9(0x21e)](_0x2c85e9(0x18b));const _0xd152cd=this['apiUrl']+encodeURIComponent(_0x190ae7)+_0x2c85e9(0x1a2),{error:_0x42df68,data:_0x56aa04}=await this['makeRequest']({'uri':_0xd152cd,'json':!![]});if(_0x42df68)return Promise[_0x2c85e9(0x1af)](_0x42df68);return _0x56aa04;}}exports[a6_0x33050e(0x1a4)]=Controller;function is2xx(_0x1b3411){return Math['floor'](_0x1b3411/0x64)===0x2;}function a6_0x4299(_0x30f4f4,_0x3e4e61){const _0x1203ff=a6_0x5502();return a6_0x4299=function(_0x321c6d,_0x160093){_0x321c6d=_0x321c6d-0x182;let _0x55029a=_0x1203ff[_0x321c6d];return _0x55029a;},a6_0x4299(_0x30f4f4,_0x3e4e61);}function getProxyAgent(_0x52e825,_0x52ebf1){const _0x318c03=a6_0x33050e,_0x188b61=_0x52e825[_0x318c03(0x212)];if(!_0x188b61?.[_0x318c03(0x1ee)])return undefined;if(!_0x188b61[_0x318c03(0x1cf)])return _0x52ebf1[_0x318c03(0x1c1)](_0x318c03(0x1b3)),undefined;_0x52ebf1[_0x318c03(0x21e)](_0x318c03(0x1f4)+_0x188b61['host']+':'+_0x188b61[_0x318c03(0x1cf)]+_0x318c03(0x190)+(_0x188b61[_0x318c03(0x1c2)]??''));const _0x2326cc=new HttpsProxyAgent({'host':_0x188b61['host'],'port':_0x188b61[_0x318c03(0x1cf)],'auth':_0x188b61[_0x318c03(0x1c2)]||_0x188b61[_0x318c03(0x1a9)]?(_0x188b61[_0x318c03(0x1c2)]??'')+':'+(_0x188b61[_0x318c03(0x1a9)]??''):undefined}),_0x94fc8c=_0x2326cc[_0x318c03(0x184)][_0x318c03(0x1f9)](_0x2326cc),_0x1369fa=getHttpsAgentOptions(_0x52e825,_0x52ebf1);return _0x2326cc[_0x318c03(0x184)]=(_0x56b49c,_0x5d0342)=>{return _0x94fc8c(_0x56b49c,{..._0x5d0342,..._0x1369fa});},_0x2326cc;}function getHttpsAgentOptions(_0x1b2496,_0x6b7a69){const _0x4f9c30=a6_0x33050e,_0x2017ce={'checkServerIdentity':(_0x2e369f,_0xb9d408)=>{const _0x441608=a6_0x4299;if(_0x1b2496[_0x441608(0x1e0)])return undefined;const _0x17fc5f=(0x0,crypto_1[_0x441608(0x21b)])(_0x441608(0x211))[_0x441608(0x1e6)](_0xb9d408[_0x441608(0x196)])[_0x441608(0x1b4)]('hex');return _0x1b2496[_0x441608(0x1c7)][_0x441608(0x1e5)](_0x17fc5f)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}};let _0xcd37c0;if(_0x1b2496['caPath'])try{_0xcd37c0=(0x0,fs_1[_0x4f9c30(0x1e7)])(_0x1b2496[_0x4f9c30(0x204)],'ascii');}catch(_0x24bcb6){_0x6b7a69[_0x4f9c30(0x1b0)](_0x4f9c30(0x1ec)+_0x1b2496[_0x4f9c30(0x204)]+_0x4f9c30(0x1d2));}if(_0xcd37c0){const _0x15cbda=(0x0,tls_1[_0x4f9c30(0x1de)])(_0x2017ce);_0x15cbda[_0x4f9c30(0x1a5)][_0x4f9c30(0x1f6)](_0xcd37c0),_0x2017ce['secureContext']=_0x15cbda;}return _0x2017ce;}
|
|
1
|
+
const a6_0x54bb84=a6_0x4723;(function(_0x3a2dc2,_0x49fe0f){const _0x4e3936=a6_0x4723,_0xfc6237=_0x3a2dc2();while(!![]){try{const _0x18a2c8=-parseInt(_0x4e3936(0xe9))/0x1+parseInt(_0x4e3936(0xe3))/0x2+-parseInt(_0x4e3936(0x7f))/0x3*(parseInt(_0x4e3936(0x114))/0x4)+parseInt(_0x4e3936(0xd3))/0x5+parseInt(_0x4e3936(0xfa))/0x6+parseInt(_0x4e3936(0xe4))/0x7+-parseInt(_0x4e3936(0xc7))/0x8;if(_0x18a2c8===_0x49fe0f)break;else _0xfc6237['push'](_0xfc6237['shift']());}catch(_0x102731){_0xfc6237['push'](_0xfc6237['shift']());}}}(a6_0x4423,0x3626f));const a6_0x568701=(function(){let _0x2a257c=!![];return function(_0x1a21a5,_0x3e3282){const _0x593b52=_0x2a257c?function(){const _0x167948=a6_0x4723;if(_0x3e3282){const _0x4fd32a=_0x3e3282[_0x167948(0xb2)](_0x1a21a5,arguments);return _0x3e3282=null,_0x4fd32a;}}:function(){};return _0x2a257c=![],_0x593b52;};}()),a6_0x37100c=a6_0x568701(this,function(){const _0x121873=a6_0x4723;return a6_0x37100c[_0x121873(0xf3)]()[_0x121873(0x7e)]('(((.+)+)+)+$')['toString']()[_0x121873(0xb4)](a6_0x37100c)[_0x121873(0x7e)](_0x121873(0xff));});a6_0x37100c();'use strict';Object[a6_0x54bb84(0x10e)](exports,'__esModule',{'value':!![]}),exports[a6_0x54bb84(0x86)]=void 0x0;const common_1=require(a6_0x54bb84(0xc3)),assert=require(a6_0x54bb84(0x104)),qs=require(a6_0x54bb84(0x89)),fs_1=require('fs'),crypto_1=require(a6_0x54bb84(0xd7)),zlib_1=require('zlib'),stream_1=require('stream'),memory_streams_1=require(a6_0x54bb84(0xdf)),tls_1=require(a6_0x54bb84(0xaf)),extend=require('extend'),axios_1=require(a6_0x54bb84(0x7a)),https=require(a6_0x54bb84(0xa4)),utils_1=require(a6_0x54bb84(0x99)),HttpsProxyAgent=require(a6_0x54bb84(0xf8)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x54bb84(0xe2)]{constructor(_0x4dfafb,_0x4adbea,_0x4af948){const _0x27800c=a6_0x54bb84;super({'parent':_0x4dfafb,'baseUrl':_0x27800c(0xae)}),this[_0x27800c(0xee)]=null,this['config']=_0x4adbea,this[_0x27800c(0xfe)]=[],this[_0x27800c(0xfc)]=_0x4af948,this['apiUrl']=_0x27800c(0x98)+_0x4adbea['apiEndpoint']+'/debuggees/',this[_0x27800c(0x7a)]=axios_1[_0x27800c(0x94)][_0x27800c(0xfb)]({'httpsAgent':getProxyAgent(_0x4adbea,_0x4af948)??new https[(_0x27800c(0x100))](getHttpsAgentOptions(_0x4adbea,_0x4af948)),'proxy':![]});}[a6_0x54bb84(0xac)](_0x27b635,_0x4fe18e){const _0x211849=a6_0x54bb84,_0x2e5b24={'uri':this[_0x211849(0xbe)]+_0x211849(0xac),'method':'POST','json':!![],'body':{'debuggee':_0x27b635}};this[_0x211849(0x9e)](_0x2e5b24,(_0xa61e21,_0x55790c,_0x12e083)=>{const _0x3d70db=_0x211849;if(!_0x12e083)_0x4fe18e(_0xa61e21||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0xa61e21){let _0x2912b0=![];_0x12e083[_0x3d70db(0x8f)]===HTTP_UPGRADE_REQUIRED&&_0x55790c&&(_0x55790c['message']!==undefined&&(_0xa61e21['message']=_0x55790c[_0x3d70db(0x101)]),_0x2912b0=!![]),_0x4fe18e(_0xa61e21,_0x55790c,_0x2912b0);}else{if(_0x12e083[_0x3d70db(0x8f)]!==HTTP_SUCCESS)_0x4fe18e(new Error('unable\x20to\x20register,\x20status\x20'+_0x12e083[_0x3d70db(0x8f)]));else!_0x55790c?.[_0x3d70db(0x8a)]?_0x4fe18e(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x27b635['id']=_0x55790c[_0x3d70db(0x8a)]['id'],_0x4fe18e(null,_0x55790c));}}});}[a6_0x54bb84(0x85)](_0x30cbfe,_0x75e5d7,_0x26106f){const _0x4ff0ef=a6_0x54bb84,_0x1c05ec=this;assert(_0x30cbfe['id'],_0x4ff0ef(0xc8));const _0x5bf274={'successOnTimeout':!![]};_0x1c05ec['nextWaitToken']&&(_0x5bf274[_0x4ff0ef(0xbd)]=_0x1c05ec[_0x4ff0ef(0xee)]);const _0x5e0d07=this[_0x4ff0ef(0xbe)]+encodeURIComponent(_0x30cbfe['id'])+_0x4ff0ef(0xb3)+qs[_0x4ff0ef(0xe7)](_0x5bf274);_0x1c05ec[_0x4ff0ef(0x9e)]({'uri':_0x5e0d07,'json':!![]},(_0x541e5d,_0xa24a96,_0xf9a377)=>{const _0x1a2d4f=_0x4ff0ef;if(!_0xf9a377){_0x75e5d7(_0x541e5d||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0xf9a377[_0x1a2d4f(0x8f)])){_0x75e5d7(new Error(_0x1a2d4f(0xb7)+_0xf9a377[_0x1a2d4f(0x8f)]),_0xf9a377);return;}else _0xa24a96&&(_0x1c05ec['nextWaitToken']=_0xa24a96[_0x1a2d4f(0xee)]),_0x75e5d7(null,_0xf9a377,_0xa24a96);}},_0x26106f,this[_0x4ff0ef(0x95)]=new AbortController());}[a6_0x54bb84(0xcf)](_0x40fb87,_0x233720){const _0x4eacb7=a6_0x54bb84;assert(_0x40fb87['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x5dd855=JSON[_0x4eacb7(0xe7)](_0x233720),_0x486103=(0x0,utils_1[_0x4eacb7(0xc1)])(_0x5dd855);if(_0x486103>=this[_0x4eacb7(0xba)][_0x4eacb7(0x9f)]){this[_0x4eacb7(0xfc)]['warn'](_0x4eacb7(0x8c)+_0x233720['id']+_0x4eacb7(0x90)+_0x486103+_0x4eacb7(0xc6)+this[_0x4eacb7(0xba)][_0x4eacb7(0x9f)]);return;}this[_0x4eacb7(0xfe)][_0x4eacb7(0x80)]({'id':_0x233720['id'],'serializedJson':_0x5dd855,'number':0x0});if(!this[_0x4eacb7(0x10c)]){const _0x4695e6=this;this[_0x4eacb7(0x10c)]=setTimeout(()=>_0x4695e6[_0x4eacb7(0xb5)][_0x4eacb7(0x81)](_0x4695e6)(_0x40fb87['id']),0x0);}}catch(_0xe47af6){this[_0x4eacb7(0xfc)]['error'](_0x4eacb7(0xd0)+_0x233720['id']+_0x4eacb7(0x8e),_0xe47af6);return;}}[a6_0x54bb84(0x9b)](){const _0x24e392=a6_0x54bb84;this[_0x24e392(0x95)]?.[_0x24e392(0x82)](),this[_0x24e392(0x95)]=undefined;if(!this[_0x24e392(0x10c)])return;clearTimeout(this[_0x24e392(0x10c)]),this[_0x24e392(0x10c)]=null;}[a6_0x54bb84(0x92)](_0x2e5dfb,_0x2f1742){const _0x259021=a6_0x54bb84,_0x50e3d8=this[_0x259021(0xbe)]+encodeURIComponent(_0x2e5dfb['id'])+_0x259021(0xef),_0x34e344={'uri':_0x50e3d8,'method':'POST','json':!![]};this['logger'][_0x259021(0xd1)](_0x259021(0x79)),this['makeRequest'](_0x34e344,(_0x1e4a21,_0xcb13b6,_0x14302a)=>{const _0x1b1f72=_0x259021;(!_0x14302a||Math[_0x1b1f72(0x8b)](_0x14302a['status']/0x64)!==0x2)&&this[_0x1b1f72(0xfc)][_0x1b1f72(0xbb)](_0x1b1f72(0xd5)+_0x1e4a21),_0x2f1742(_0x1e4a21);});}[a6_0x54bb84(0xc9)](_0x162979,_0x1db59c,_0x5a67c4){const _0x235262=a6_0x54bb84,_0x492d01=this[_0x235262(0xbe)]+encodeURIComponent(_0x162979['id'])+'/log/',_0x3040eb={'uri':_0x492d01,'method':'POST','json':!![],'body':_0x1db59c};this[_0x235262(0x9e)](_0x3040eb,(_0x42d52c,_0x51cce7,_0x57889a)=>{const _0xa83333=_0x235262;(!_0x57889a||Math[_0xa83333(0x8b)](_0x57889a['status']/0x64)!==0x2)&&(this[_0xa83333(0xfc)]['warn'](_0xa83333(0xd8)+_0x42d52c),_0x5a67c4(_0x42d52c));});}[a6_0x54bb84(0xc5)](_0x35f68e,_0x38fcdb,_0x3173a6){const _0x12cb86=a6_0x54bb84,_0x298604=this['apiUrl']+encodeURIComponent(_0x35f68e['id'])+'/appOnlyActionHits/',_0x2efa2b={'uri':_0x298604,'method':_0x12cb86(0x87),'json':!![],'body':_0x38fcdb};this['makeRequest'](_0x2efa2b,(_0x5bcc04,_0x157cee,_0x2a6e73)=>{const _0x3db234=_0x12cb86;(!_0x2a6e73||Math['floor'](_0x2a6e73['status']/0x64)!==0x2)&&(this['logger'][_0x3db234(0xbb)](_0x3db234(0xe8)+_0x5bcc04),_0x3173a6(_0x5bcc04));});}[a6_0x54bb84(0xb8)](_0x2db71c,_0x2ecbdb,_0x167286){const _0x3e7daa=a6_0x54bb84;assert(_0x2db71c['id'],_0x3e7daa(0xc8));if(this[_0x3e7daa(0x111)]){const _0x49356e=Date[_0x3e7daa(0xf2)](),_0x4f1209=this[_0x3e7daa(0x111)]+this[_0x3e7daa(0xba)][_0x3e7daa(0xd6)]['collectCooldownMs'];if(_0x49356e<_0x4f1209){this['logger'][_0x3e7daa(0xd1)](_0x3e7daa(0x7d)+((_0x4f1209-_0x49356e)/0x3e8+_0x3e7daa(0xcd)));return;}}const _0x5a2866=(0x0,fs_1['statSync'])(_0x167286)[_0x3e7daa(0xa8)],_0x2cf150=Math[_0x3e7daa(0xdb)](0x0,_0x5a2866-this[_0x3e7daa(0xba)][_0x3e7daa(0xd6)]['maxLogFileBytes']),_0x1368ab=(0x0,fs_1['createReadStream'])(_0x167286,{'start':_0x2cf150}),_0x15eac0=(0x0,zlib_1[_0x3e7daa(0x96)])(),_0x45073c=new memory_streams_1[(_0x3e7daa(0xad))](),_0x5b9cf6=this;_0x5b9cf6['logger'][_0x3e7daa(0xd1)](_0x3e7daa(0xca)+_0x167286+'\x20for\x20request\x20id\x20'+_0x2ecbdb),(0x0,stream_1[_0x3e7daa(0x7c)])(_0x1368ab,_0x15eac0,_0x45073c,_0x5114b9=>{const _0x4f0553=_0x3e7daa;if(_0x5114b9)_0x5b9cf6[_0x4f0553(0xfc)][_0x4f0553(0xc0)](_0x4f0553(0x103)+_0x167286+':\x20'+_0x5114b9);else{const _0x17fdc0={'uri':this[_0x4f0553(0xbe)]+encodeURIComponent(_0x2db71c['id'])+_0x4f0553(0x110)+_0x2ecbdb,'method':'PUT','body':_0x45073c[_0x4f0553(0x9c)](),'headers':{'Content-Type':'application/octet-stream'}};_0x5b9cf6[_0x4f0553(0x9e)](_0x17fdc0,_0x266a86=>{const _0x30c477=_0x4f0553;_0x266a86?_0x5b9cf6[_0x30c477(0xfc)][_0x30c477(0xc0)](_0x30c477(0xcc)+_0x167286+_0x30c477(0xb9)+_0x2ecbdb,_0x266a86):(_0x5b9cf6[_0x30c477(0xfc)][_0x30c477(0xd1)](_0x30c477(0xf4)+_0x167286+_0x30c477(0xb9)+_0x2ecbdb),_0x5b9cf6[_0x30c477(0x111)]=Date[_0x30c477(0xf2)]());});}});}[a6_0x54bb84(0xb5)](_0x5ae8db){const _0x3aa4f4=a6_0x54bb84;this[_0x3aa4f4(0xfc)][_0x3aa4f4(0xbf)](_0x3aa4f4(0x8d)),this[_0x3aa4f4(0x10c)]=undefined;const _0x2901a0=[];let _0x5d6eb0=0x0;while(_0x2901a0[_0x3aa4f4(0x93)]<this[_0x3aa4f4(0xba)][_0x3aa4f4(0xf0)]&&this['transmissionQueue'][_0x3aa4f4(0x93)]>0x0){const _0xa8ef01=this['transmissionQueue'][0x0],_0x24162a=_0xa8ef01[_0x3aa4f4(0xcb)],_0x3996a3=(0x0,utils_1[_0x3aa4f4(0xc1)])(_0x24162a);_0x5d6eb0+=_0x3996a3;if(_0x5d6eb0<=this[_0x3aa4f4(0xba)][_0x3aa4f4(0xec)])_0x2901a0[_0x3aa4f4(0x80)](_0xa8ef01),this[_0x3aa4f4(0xfe)][_0x3aa4f4(0x97)]();else{_0x3996a3>this['config'][_0x3aa4f4(0xec)]&&_0x2901a0[_0x3aa4f4(0x93)]===0x0&&(this[_0x3aa4f4(0xfc)]['debug'](_0x3aa4f4(0x106)+_0xa8ef01['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x3aa4f4(0xba)][_0x3aa4f4(0xec)]+_0x3aa4f4(0x9d)),_0x2901a0['push'](_0xa8ef01),this['transmissionQueue']['shift']());break;}}if(!_0x2901a0)return;const _0x14f69a=_0x2901a0[_0x3aa4f4(0xdd)](_0x5f42ec=>_0x5f42ec['id']),_0x1268ef={'uri':this[_0x3aa4f4(0xbe)]+encodeURIComponent(_0x5ae8db)+_0x3aa4f4(0x88),'json':!![],'method':_0x3aa4f4(0x7b),'body':'['+_0x2901a0['map'](_0x3771de=>_0x3771de[_0x3aa4f4(0xcb)])[_0x3aa4f4(0xa1)](',')+']'},_0x16fddc=this;try{this[_0x3aa4f4(0x9e)](_0x1268ef,(_0x5031ed,_0x256df9,_0x47a186)=>{const _0x397465=_0x3aa4f4,_0x376408=_0x47a186?.[_0x397465(0x8f)];_0x16fddc['logger'][_0x397465(0xbf)](_0x397465(0xeb)+_0x14f69a+_0x397465(0x102)+_0x376408);if(_0x5031ed||!_0x376408||Math[_0x397465(0x8b)](_0x376408/0x64)!==0x2){const _0x3967f9=_0x376408&&(_0x376408>=0x1f4||_0x376408===0x198);if(_0x3967f9){_0x16fddc[_0x397465(0xfc)]['warn'](_0x397465(0xda)+_0x14f69a+_0x397465(0xd9)+_0x376408+_0x397465(0x10a)+_0x5031ed);for(const _0x408d3d of _0x2901a0){_0x408d3d[_0x397465(0x105)]<MAX_FAILED_SEND_ATTEMPTS?_0x16fddc[_0x397465(0xfe)][_0x397465(0x80)]({..._0x408d3d,'number':_0x408d3d['number']+0x1}):_0x16fddc[_0x397465(0xfc)][_0x397465(0xbb)](_0x397465(0xf1)+_0x408d3d['id']+_0x397465(0xa7));}}else _0x16fddc[_0x397465(0xfc)]['warn'](_0x397465(0xce)+_0x14f69a+_0x397465(0xd9)+_0x376408+_0x397465(0x10a)+_0x5031ed);}else _0x16fddc[_0x397465(0xfc)][_0x397465(0xd1)](_0x397465(0xeb)+_0x14f69a+_0x397465(0xa2));_0x16fddc[_0x397465(0xfe)][_0x397465(0x93)]>0x0&&(_0x16fddc[_0x397465(0x10c)]=setTimeout(()=>_0x16fddc[_0x397465(0xb5)][_0x397465(0x81)](_0x16fddc)(_0x5ae8db),0x0));},0x28);}catch(_0x25b1d2){this[_0x3aa4f4(0xfc)]['warn'](_0x3aa4f4(0xce)+_0x14f69a+_0x3aa4f4(0x10b)+_0x25b1d2+_0x3aa4f4(0x109)+_0x25b1d2['data']?.[_0x3aa4f4(0x101)]),_0x16fddc[_0x3aa4f4(0xfe)][_0x3aa4f4(0x93)]>0x0&&(_0x16fddc[_0x3aa4f4(0x10c)]=setTimeout(()=>_0x16fddc['transmitBreakpointUpdates']['bind'](_0x16fddc)(_0x5ae8db),0x0));}}async[a6_0x54bb84(0xea)](_0x1a2a0e){const _0xdf8f35=a6_0x54bb84;this['logger'][_0xdf8f35(0xd1)]('Getting\x20blocklist');const _0x2165ec=this[_0xdf8f35(0xbe)]+encodeURIComponent(_0x1a2a0e)+_0xdf8f35(0x84),{error:_0xc0b861,data:_0x571030}=await this['makeRequest']({'uri':_0x2165ec,'json':!![]});if(_0xc0b861)return Promise[_0xdf8f35(0xd2)](_0xc0b861);return yaml[_0xdf8f35(0x91)](_0x571030)||{};}[a6_0x54bb84(0x9e)](_0x5f0d8d,_0x455720,_0x5c0b4c,_0x5db735,_0x78fa45){const _0x4cae45=a6_0x54bb84,_0x23169d={'Content-Type':_0x78fa45?_0x78fa45:_0x4cae45(0xaa),'Authorization':'Bearer\x20'+this[_0x4cae45(0xba)]['lightrunSecret']},_0x5e4ce1=_0x5db735??new AbortController(),_0x188825=_0x5c0b4c?_0x5c0b4c*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x4cae45(0xfc)]['debug'](_0x4cae45(0xf7)+_0x188825);const _0x4c7653=setTimeout(()=>{const _0x5b85d3=_0x4cae45;this['logger']['warn'](_0x5b85d3(0xa0)+_0x188825+'ms'),_0x5e4ce1[_0x5b85d3(0x82)]();},_0x188825),_0x4d0a00={'method':_0x5f0d8d[_0x4cae45(0x83)],'url':_0x5f0d8d[_0x4cae45(0x107)],'data':_0x5f0d8d[_0x4cae45(0x108)],'headers':_0x23169d,'signal':_0x5e4ce1['signal']};return extend(!![],_0x4d0a00,_0x5f0d8d),this[_0x4cae45(0x7a)][_0x4cae45(0xed)](_0x4d0a00)[_0x4cae45(0xe0)](_0xe07170=>{const _0x5d5451=_0x4cae45;return _0x455720?.(null,_0xe07170[_0x5d5451(0xa9)],_0xe07170),{'error':null,'data':_0xe07170[_0x5d5451(0xa9)],'res':_0xe07170};})[_0x4cae45(0x112)](_0x4921f5=>{const _0x34e064=_0x4cae45;return _0x455720?.(_0x4921f5,_0x4921f5[_0x34e064(0x10d)]?.[_0x34e064(0xa9)],_0x4921f5['response']),{'error':_0x4921f5,'data':_0x4921f5[_0x34e064(0x10d)]?.['data'],'res':_0x4921f5[_0x34e064(0x10d)]};})['finally'](()=>clearTimeout(_0x4c7653));}async['getRedactions'](_0x3b8279){const _0x183fc5=a6_0x54bb84;this['logger'][_0x183fc5(0xd1)]('Getting\x20reductions');const _0x2f9bb3=this[_0x183fc5(0xbe)]+encodeURIComponent(_0x3b8279)+_0x183fc5(0xde),{error:_0x313107,data:_0x1b43c8}=await this[_0x183fc5(0x9e)]({'uri':_0x2f9bb3,'json':!![]});if(_0x313107)return Promise[_0x183fc5(0xd2)](_0x313107);return _0x1b43c8;}}function a6_0x4723(_0x3b9bfb,_0x13cbdf){const _0x18734d=a6_0x4423();return a6_0x4723=function(_0x37100c,_0x568701){_0x37100c=_0x37100c-0x79;let _0x442338=_0x18734d[_0x37100c];return _0x442338;},a6_0x4723(_0x3b9bfb,_0x13cbdf);}exports[a6_0x54bb84(0x86)]=Controller;function is2xx(_0xc44cd4){const _0x517d7c=a6_0x54bb84;return Math[_0x517d7c(0x8b)](_0xc44cd4/0x64)===0x2;}function getProxyAgent(_0x4ab3bf,_0x5c370c){const _0x2e6707=a6_0x54bb84,_0x555453=_0x4ab3bf[_0x2e6707(0xa5)];if(!_0x555453?.[_0x2e6707(0xf6)])return undefined;if(!_0x555453[_0x2e6707(0xb0)])return _0x5c370c[_0x2e6707(0xc0)](_0x2e6707(0xb1)),undefined;_0x5c370c[_0x2e6707(0xd1)]('Using\x20proxy\x20configuration:\x20'+_0x555453[_0x2e6707(0xf6)]+':'+_0x555453['port']+_0x2e6707(0xe5)+(_0x555453['username']??''));const _0x54e506=new HttpsProxyAgent({'host':_0x555453['host'],'port':_0x555453['port'],'auth':_0x555453[_0x2e6707(0xfd)]||_0x555453[_0x2e6707(0xc4)]?(_0x555453[_0x2e6707(0xfd)]??'')+':'+(_0x555453[_0x2e6707(0xc4)]??''):undefined}),_0x388da8=_0x54e506[_0x2e6707(0x113)][_0x2e6707(0x81)](_0x54e506),_0xcd1545=getHttpsAgentOptions(_0x4ab3bf,_0x5c370c);return _0x54e506[_0x2e6707(0x113)]=(_0x3d4c38,_0x32803)=>{return _0x388da8(_0x3d4c38,{..._0x32803,..._0xcd1545});},_0x54e506;}function getHttpsAgentOptions(_0x32e496,_0x3a29bf){const _0x215f31=a6_0x54bb84,_0x3e561b={'checkServerIdentity':(_0x17a04a,_0x368974)=>{const _0x4286c7=a6_0x4723;if(_0x32e496[_0x4286c7(0xb6)])return undefined;const _0x3e1450=(0x0,crypto_1[_0x4286c7(0xa6)])(_0x4286c7(0xa3))['update'](_0x368974['pubkey'])['digest'](_0x4286c7(0xf9));return _0x32e496['pinnedCerts'][_0x4286c7(0xf5)](_0x3e1450)?undefined:new Error(_0x4286c7(0xab));}};let _0x2384c2;if(_0x32e496[_0x215f31(0xe6)])try{_0x2384c2=(0x0,fs_1[_0x215f31(0xbc)])(_0x32e496[_0x215f31(0xe6)],_0x215f31(0xdc));}catch(_0x11bc4c){_0x3a29bf[_0x215f31(0xbb)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x32e496['caPath']+_0x215f31(0xe1));}if(_0x2384c2){const _0x4179ab=(0x0,tls_1[_0x215f31(0x9a)])(_0x3e561b);_0x4179ab[_0x215f31(0xc2)][_0x215f31(0x10f)](_0x2384c2),_0x3e561b[_0x215f31(0xd4)]=_0x4179ab;}return _0x3e561b;}function a6_0x4423(){const _0x440630=['./util/utils','createSecureContext','stop','toBuffer',',\x20sending\x20only\x20one','makeRequest','transmissionHardMaxNetworkSizeLimitInBytes','Timeout\x20occurred\x20after\x20','join','\x20transmitted\x20successfully','sha256','https','proxy','createHash','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','size','data','application/json','Certificate\x20Pinning\x20Failed!','register','WritableStream','/controller','tls','port','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','apply','/breakpoints?','constructor','transmitBreakpointUpdates','noCheckCertificate','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','sendAgentLogsToServer','\x20for\x20request\x20','config','warn','readFileSync','waitToken','apiUrl','debug','error','getJsonStringSizeInBytes','context','@google-cloud/common','password','sendAppOnlyBreakpointHitsToServer','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','1971744lHOfaa','should\x20have\x20a\x20registered\x20debuggee','sendBreakpointLogsToServer','Compressing\x20and\x20sending\x20log\x20file\x20','serializedJson','Failed\x20to\x20send\x20log\x20file\x20','\x20seconds','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','enqueueBreakpointUpdate','failed\x20to\x20serialize\x20breakpoint\x20','info','reject','1577230LSsUCi','secureContext','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','agentLog','crypto','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','max','ascii','map','/redaction','memory-streams','then','\x22\x20-\x20ignoring\x20it','ServiceObject','866572ZBBjQO','668346jOaZAw',',\x20username:\x20','caPath','stringify','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','97277iWibFL','getBlocklist','Update\x20for\x20breakpoints\x20','transmissionBulkMaxNetworkSizeInBytes','request','nextWaitToken','/deregister/','transmissionBulkMaxSize','Breakpoint\x20','now','toString','Successfully\x20sent\x20log\x20file\x20','includes','host','timeout\x20set\x20to\x20','https-proxy-agent','hex','433722WJLuCm','create','logger','username','transmissionQueue','(((.+)+)+)+$','Agent','message','\x20finished\x20with\x20status\x20','Failed\x20to\x20zip\x20','assert','number','breakpoint\x20','uri','body',',\x20Message:\x20','\x20Error:\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','transmissionTimeout','response','defineProperty','addCACert','/compressedLogFileV2/','lastLogCollectionTime','catch','callback','20mtxCPp','Deregister\x20agent\x20before\x20shutdown','axios','PUT','pipeline','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','search','210567YfjQZx','push','bind','abort','method','/blacklist?successOnTimeout=true','listBreakpoints','Controller','POST','/breakpoints','querystring','debuggee','floor','breakpointId:\x20','Transmitting\x20breakpoint\x20updates...','\x20and\x20enqueue\x20to\x20queue','status','\x20size\x20is\x20','load','deregister','length','default','listBreakpointsAbortController','createGzip','shift','https://'];a6_0x4423=function(){return _0x440630;};return a6_0x4423();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x33aee7=a7_0x433a;function a7_0x433a(_0x7c3fe3,_0x2a362f){const _0x443472=a7_0x411a();return a7_0x433a=function(_0x5e3059,_0x392523){_0x5e3059=_0x5e3059-0x68;let _0x411a4c=_0x443472[_0x5e3059];return _0x411a4c;},a7_0x433a(_0x7c3fe3,_0x2a362f);}(function(_0x4d5954,_0x58b144){const _0xbd07e1=a7_0x433a,_0x19177a=_0x4d5954();while(!![]){try{const _0x465a21=-parseInt(_0xbd07e1(0x90))/0x1*(parseInt(_0xbd07e1(0x8d))/0x2)+-parseInt(_0xbd07e1(0x81))/0x3+parseInt(_0xbd07e1(0x8c))/0x4+parseInt(_0xbd07e1(0x6e))/0x5*(parseInt(_0xbd07e1(0x86))/0x6)+-parseInt(_0xbd07e1(0x8f))/0x7+parseInt(_0xbd07e1(0x73))/0x8*(-parseInt(_0xbd07e1(0x87))/0x9)+parseInt(_0xbd07e1(0x8e))/0xa;if(_0x465a21===_0x58b144)break;else _0x19177a['push'](_0x19177a['shift']());}catch(_0x2e5f84){_0x19177a['push'](_0x19177a['shift']());}}}(a7_0x411a,0xd6dee));const a7_0x392523=(function(){let _0xcdb74d=!![];return function(_0x482c7b,_0x4201c6){const _0x4dd459=_0xcdb74d?function(){const _0x565a9a=a7_0x433a;if(_0x4201c6){const _0x12122a=_0x4201c6[_0x565a9a(0x76)](_0x482c7b,arguments);return _0x4201c6=null,_0x12122a;}}:function(){};return _0xcdb74d=![],_0x4dd459;};}()),a7_0x5e3059=a7_0x392523(this,function(){const _0x3adeac=a7_0x433a;return a7_0x5e3059['toString']()[_0x3adeac(0x7a)](_0x3adeac(0x79))[_0x3adeac(0x93)]()[_0x3adeac(0x78)](a7_0x5e3059)[_0x3adeac(0x7a)]('(((.+)+)+)+$');});a7_0x5e3059();'use strict';Object[a7_0x33aee7(0x7f)](exports,a7_0x33aee7(0x6a),{'value':!![]}),exports['createDebuggee']=exports[a7_0x33aee7(0x6c)]=void 0x0;const path=require('path'),status_message_1=require(a7_0x33aee7(0x92)),debuggee_1=require(a7_0x33aee7(0x8b)),createDebuggeeMetadata_1=require('./createDebuggeeMetadata'),createUniquifier_1=require(a7_0x33aee7(0x7c)),getPlatform_1=require(a7_0x33aee7(0x77)),encodeBase64=_0x4f2ddd=>Buffer[a7_0x33aee7(0x94)](_0x4f2ddd,a7_0x33aee7(0x6b))[a7_0x33aee7(0x93)](a7_0x33aee7(0x85));function a7_0x411a(){const _0x4fad17=['getPlatform','41065CopZXI','versions','createDebuggeeMetadata','minorVersion_','minorversion','465176anxpSx','string','title','apply','./getPlatform','constructor','(((.+)+)+)+$','search','argv','./createUniquifier','cwd','serviceContext','defineProperty','service','4636185EWegEj','relative','stringify','createDebuggee','base64','1194eGpZFL','18XjSJYv','node','Debuggee','StatusMessage','../../debuggee','1211092RNgmjs','263738Epsngj','9543400fRMbyQ','1524824EugKJK','1Iizyko','version','../../client/stackdriver/status-message','toString','from','UNSPECIFIED','name','__esModule','utf-8','encodeBase64'];a7_0x411a=function(){return _0x4fad17;};return a7_0x411a();}exports[a7_0x33aee7(0x6c)]=encodeBase64;const createDebuggee=(_0x5c355,_0x530a6d,_0x2bf320,_0x46109b,_0x1ab556,_0x214ce7,_0x1d03a7,_0x1a67fb)=>{const _0x5497e8=a7_0x33aee7,_0x5481e8=process[_0x5497e8(0x7d)](),_0x3d823a=path[_0x5497e8(0x82)](_0x5481e8,process[_0x5497e8(0x7b)][0x1]),_0x5709e3={'main\x20script':_0x3d823a,'process.title':process[_0x5497e8(0x75)],'node\x20version':process[_0x5497e8(0x6f)][_0x5497e8(0x88)],'V8\x20version':process[_0x5497e8(0x6f)]['v8'],'agent.name':_0x46109b[_0x5497e8(0x69)],'agent.version':_0x1ab556,'platform':(0x0,getPlatform_1[_0x5497e8(0x6d)])()},_0x45e70f=_0x530a6d[_0x5497e8(0x7e)];_0x45e70f&&(typeof _0x45e70f[_0x5497e8(0x80)]===_0x5497e8(0x74)&&_0x45e70f[_0x5497e8(0x80)]!=='default'&&(_0x5709e3['module']=_0x45e70f[_0x5497e8(0x80)]),typeof _0x45e70f[_0x5497e8(0x91)]===_0x5497e8(0x74)&&(_0x5709e3[_0x5497e8(0x91)]=_0x45e70f[_0x5497e8(0x91)]),typeof _0x45e70f[_0x5497e8(0x71)]===_0x5497e8(0x74)&&(_0x5709e3[_0x5497e8(0x72)]=_0x45e70f[_0x5497e8(0x71)]));const _0x51ffb0=(0x0,createUniquifier_1['createUniquifier'])(_0x1ab556,_0x5c355,_0x2bf320,_0x5709e3),_0x26bb3c=_0x1a67fb?new status_message_1[(_0x5497e8(0x8a))](status_message_1[_0x5497e8(0x8a)][_0x5497e8(0x68)],_0x1a67fb,!![]):undefined,_0x2d37a2=(0x0,createDebuggeeMetadata_1[_0x5497e8(0x70)])(_0x530a6d,_0x214ce7),_0x20b36d={'uniquifier':_0x51ffb0,'agentVersion':_0x1ab556,'labels':{'metadataV2':(0x0,exports[_0x5497e8(0x6c)])(JSON[_0x5497e8(0x83)](_0x2d37a2))},'statusMessage':_0x26bb3c,'packageInfo':_0x46109b,..._0x1d03a7};return _0x2bf320&&(_0x20b36d['sourceContexts']=[_0x2bf320]),new debuggee_1[(_0x5497e8(0x89))](_0x20b36d);};exports[a7_0x33aee7(0x84)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x40ce39=a8_0x146b;(function(_0x368781,_0x5a719a){const _0x451de2=a8_0x146b,_0x13d1e9=_0x368781();while(!![]){try{const _0x466dd7=-parseInt(_0x451de2(0x1f5))/0x1*(parseInt(_0x451de2(0x1e3))/0x2)+parseInt(_0x451de2(0x1ed))/0x3*(parseInt(_0x451de2(0x1e4))/0x4)+parseInt(_0x451de2(0x1ea))/0x5+parseInt(_0x451de2(0x1e8))/0x6+parseInt(_0x451de2(0x1e0))/0x7*(-parseInt(_0x451de2(0x1f0))/0x8)+-parseInt(_0x451de2(0x1f2))/0x9+parseInt(_0x451de2(0x1f1))/0xa;if(_0x466dd7===_0x5a719a)break;else _0x13d1e9['push'](_0x13d1e9['shift']());}catch(_0x231354){_0x13d1e9['push'](_0x13d1e9['shift']());}}}(a8_0x5903,0x5e59c));function a8_0x146b(_0x4d5d12,_0x2c8402){const _0x34e33d=a8_0x5903();return a8_0x146b=function(_0x15d500,_0xbfbd9a){_0x15d500=_0x15d500-0x1df;let _0x5903e5=_0x34e33d[_0x15d500];return _0x5903e5;},a8_0x146b(_0x4d5d12,_0x2c8402);}const a8_0xbfbd9a=(function(){let _0x55a101=!![];return function(_0x7540ce,_0x3802cd){const _0x4843af=_0x55a101?function(){const _0x44569b=a8_0x146b;if(_0x3802cd){const _0x175572=_0x3802cd[_0x44569b(0x1f6)](_0x7540ce,arguments);return _0x3802cd=null,_0x175572;}}:function(){};return _0x55a101=![],_0x4843af;};}()),a8_0x15d500=a8_0xbfbd9a(this,function(){const _0x1f9da2=a8_0x146b;return a8_0x15d500['toString']()['search'](_0x1f9da2(0x1e2))[_0x1f9da2(0x1f4)]()[_0x1f9da2(0x1f3)](a8_0x15d500)['search'](_0x1f9da2(0x1e2));});function a8_0x5903(){const _0x427673=['1677995ONdPMC','warn','tags','39tvfwOD','utf-8','filename','32wtIygn','2841210SQzPQT','2680524YpeOLl','constructor','toString','613399NKsVbH','apply','readFileSync','312487UfnENx','metadata','(((.+)+)+)+$','2xFlmAN','155828HYCgXh','Failed\x20to\x20read\x20metadata\x20file\x20','defineProperty','registration','2100588qYUbae','createDebuggeeMetadata'];a8_0x5903=function(){return _0x427673;};return a8_0x5903();}a8_0x15d500();'use strict';Object[a8_0x40ce39(0x1e6)](exports,'__esModule',{'value':!![]}),exports[a8_0x40ce39(0x1e9)]=void 0x0;const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0x175226,_0x13740d)=>{const _0x1c964a=a8_0x40ce39;let _0x33330e={'registration':{}};if(_0x175226['metadata']?.[_0x1c964a(0x1ef)])try{_0x33330e=JSON['parse'](fs[_0x1c964a(0x1df)](_0x175226[_0x1c964a(0x1e1)][_0x1c964a(0x1ef)],_0x1c964a(0x1ee)));}catch(_0xa66557){_0x13740d[_0x1c964a(0x1eb)](_0x1c964a(0x1e5)+_0x175226['metadata']['filename'],_0xa66557);}return _0x33330e[_0x1c964a(0x1e7)]=extend(!![],{},_0x175226['metadata']?.['registration'],_0x33330e[_0x1c964a(0x1e7)]),_0x33330e[_0x1c964a(0x1e7)]?.[_0x1c964a(0x1ec)]&&(_0x33330e[_0x1c964a(0x1e7)][_0x1c964a(0x1ec)]=_0x33330e[_0x1c964a(0x1e7)][_0x1c964a(0x1ec)]['map'](_0x38dca9=>typeof _0x38dca9==='string'?{'name':_0x38dca9}:_0x38dca9)),_0x33330e;};exports[a8_0x40ce39(0x1e9)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x53fefa=a9_0x5c8f;(function(_0x2234bd,_0x4b0a5a){const _0x555ae2=a9_0x5c8f,_0xe91d07=_0x2234bd();while(!![]){try{const _0x89600a=parseInt(_0x555ae2(0x1df))/0x1*(parseInt(_0x555ae2(0x1cf))/0x2)+-parseInt(_0x555ae2(0x1ce))/0x3+parseInt(_0x555ae2(0x1d9))/0x4+-parseInt(_0x555ae2(0x1d4))/0x5+parseInt(_0x555ae2(0x1de))/0x6+parseInt(_0x555ae2(0x1dc))/0x7*(parseInt(_0x555ae2(0x1e0))/0x8)+-parseInt(_0x555ae2(0x1d5))/0x9;if(_0x89600a===_0x4b0a5a)break;else _0xe91d07['push'](_0xe91d07['shift']());}catch(_0x1b8a4d){_0xe91d07['push'](_0xe91d07['shift']());}}}(a9_0x2497,0xbb25c));const a9_0x3dbf43=(function(){let _0x36b58a=!![];return function(_0xd55f51,_0x499024){const _0x57b6ac=_0x36b58a?function(){const _0x4f8e9e=a9_0x5c8f;if(_0x499024){const _0x2cce9e=_0x499024[_0x4f8e9e(0x1d2)](_0xd55f51,arguments);return _0x499024=null,_0x2cce9e;}}:function(){};return _0x36b58a=![],_0x57b6ac;};}()),a9_0x35a804=a9_0x3dbf43(this,function(){const _0x550775=a9_0x5c8f;return a9_0x35a804[_0x550775(0x1dd)]()[_0x550775(0x1d8)](_0x550775(0x1cd))[_0x550775(0x1dd)]()['constructor'](a9_0x35a804)[_0x550775(0x1d8)](_0x550775(0x1cd));});a9_0x35a804();'use strict';function a9_0x5c8f(_0x23849d,_0x372a68){const _0x3b737=a9_0x2497();return a9_0x5c8f=function(_0x35a804,_0x3dbf43){_0x35a804=_0x35a804-0x1cd;let _0x2497d6=_0x3b737[_0x35a804];return _0x2497d6;},a9_0x5c8f(_0x23849d,_0x372a68);}Object[a9_0x53fefa(0x1d6)](exports,a9_0x53fefa(0x1d1),{'value':!![]}),exports[a9_0x53fefa(0x1db)]=void 0x0;const crypto=require(a9_0x53fefa(0x1d7)),createUniquifier=(_0x21be9e,_0x53f9f5,_0x11755d,_0x4d00a3)=>{const _0x53b5fd=a9_0x53fefa,_0x10fd89=_0x21be9e+_0x53f9f5+JSON[_0x53b5fd(0x1e1)](_0x11755d)+JSON[_0x53b5fd(0x1e1)](_0x4d00a3);return crypto[_0x53b5fd(0x1d0)](_0x53b5fd(0x1da))['update'](_0x10fd89)[_0x53b5fd(0x1d3)]('hex');};exports['createUniquifier']=createUniquifier;function a9_0x2497(){const _0xd9336c=['toString','6910872maOoBf','833503hfmVqu','1216SmekMy','stringify','(((.+)+)+)+$','307665YhpRaX','2pcaOXB','createHash','__esModule','apply','digest','4506780OmrMWm','10561986AHbSah','defineProperty','crypto','search','287752pQaGbA','sha1','createUniquifier','40838eUQjNn'];a9_0x2497=function(){return _0xd9336c;};return a9_0x2497();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x4cfdf7=a10_0x2975;function a10_0x919d(){const _0x175d3e=['length','defineProperty','75556FQbFxl','7049656rOncCH','38396VaGkOw','39428uEhRzM','1032922nPolrk','(((.+)+)+)+$','search','9478341mYsRTB','toString','250ROVjqs','3WHUyHL','80kGdimi','push','__esModule','delimit','apply','constructor','7reLBDk','5062986yTyvem','split'];a10_0x919d=function(){return _0x175d3e;};return a10_0x919d();}(function(_0x14efcc,_0x76bd06){const _0x2665b8=a10_0x2975,_0x4b4f38=_0x14efcc();while(!![]){try{const _0x45883e=-parseInt(_0x2665b8(0x1e3))/0x1+-parseInt(_0x2665b8(0x1e5))/0x2*(-parseInt(_0x2665b8(0x1d7))/0x3)+-parseInt(_0x2665b8(0x1e6))/0x4*(-parseInt(_0x2665b8(0x1d8))/0x5)+parseInt(_0x2665b8(0x1df))/0x6+-parseInt(_0x2665b8(0x1de))/0x7*(-parseInt(_0x2665b8(0x1e4))/0x8)+parseInt(_0x2665b8(0x1ea))/0x9+parseInt(_0x2665b8(0x1d6))/0xa*(-parseInt(_0x2665b8(0x1e7))/0xb);if(_0x45883e===_0x76bd06)break;else _0x4b4f38['push'](_0x4b4f38['shift']());}catch(_0x47f803){_0x4b4f38['push'](_0x4b4f38['shift']());}}}(a10_0x919d,0x81e17));function a10_0x2975(_0x11c84e,_0x4e9141){const _0x5c3903=a10_0x919d();return a10_0x2975=function(_0x56a6a9,_0x4cc37c){_0x56a6a9=_0x56a6a9-0x1d5;let _0x919df8=_0x5c3903[_0x56a6a9];return _0x919df8;},a10_0x2975(_0x11c84e,_0x4e9141);}const a10_0x4cc37c=(function(){let _0x585ee3=!![];return function(_0x491748,_0x4d85c7){const _0x583464=_0x585ee3?function(){const _0x1a7c55=a10_0x2975;if(_0x4d85c7){const _0x3b01e4=_0x4d85c7[_0x1a7c55(0x1dc)](_0x491748,arguments);return _0x4d85c7=null,_0x3b01e4;}}:function(){};return _0x585ee3=![],_0x583464;};}()),a10_0x56a6a9=a10_0x4cc37c(this,function(){const _0x586403=a10_0x2975;return a10_0x56a6a9[_0x586403(0x1d5)]()[_0x586403(0x1e9)]('(((.+)+)+)+$')['toString']()[_0x586403(0x1dd)](a10_0x56a6a9)['search'](_0x586403(0x1e8));});a10_0x56a6a9();'use strict';Object[a10_0x4cfdf7(0x1e2)](exports,a10_0x4cfdf7(0x1da),{'value':!![]}),exports['delimit']=void 0x0;const delimit=(_0x19795f,_0x393755)=>{const _0x367454=a10_0x4cfdf7,_0x1c8d6e=_0x19795f[_0x367454(0x1e0)](_0x393755),_0x3e7bc6=[];_0x3e7bc6[_0x367454(0x1d9)](_0x1c8d6e[0x0]);for(let _0x50b0aa=0x1;_0x50b0aa<_0x1c8d6e[_0x367454(0x1e1)];_0x50b0aa++){_0x3e7bc6[_0x367454(0x1d9)]({'v':_0x393755},_0x1c8d6e[_0x50b0aa]);}return _0x3e7bc6;};exports[a10_0x4cfdf7(0x1db)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a11_0x4c0f(){const _0x2c0374=['4455408LlxILu','apply','tokenize','length','toString','substring','search','8030rYVOno','__esModule','11410VVgdZU','constructor','456209rORqbA','393JtfQvr','8892ZDAwPL','(((.+)+)+)+$','test','join','9286JaJNbc','4632CasTZP','53180QMdvYX','format','6848080songta','defineProperty'];a11_0x4c0f=function(){return _0x2c0374;};return a11_0x4c0f();}function a11_0x472a(_0xd2a89a,_0x41f6c7){const _0x13c23f=a11_0x4c0f();return a11_0x472a=function(_0x390851,_0x5be99f){_0x390851=_0x390851-0x185;let _0x4c0fc3=_0x13c23f[_0x390851];return _0x4c0fc3;},a11_0x472a(_0xd2a89a,_0x41f6c7);}const a11_0x25f6e0=a11_0x472a;(function(_0x40cb5b,_0x1a62fc){const _0x36116c=a11_0x472a,_0x57601d=_0x40cb5b();while(!![]){try{const _0x3ed312=-parseInt(_0x36116c(0x196))/0x1+-parseInt(_0x36116c(0x185))/0x2+-parseInt(_0x36116c(0x197))/0x3*(-parseInt(_0x36116c(0x187))/0x4)+-parseInt(_0x36116c(0x189))/0x5+-parseInt(_0x36116c(0x18b))/0x6+-parseInt(_0x36116c(0x194))/0x7*(-parseInt(_0x36116c(0x186))/0x8)+parseInt(_0x36116c(0x198))/0x9*(parseInt(_0x36116c(0x192))/0xa);if(_0x3ed312===_0x1a62fc)break;else _0x57601d['push'](_0x57601d['shift']());}catch(_0x3814ee){_0x57601d['push'](_0x57601d['shift']());}}}(a11_0x4c0f,0xdd20f));const a11_0x5be99f=(function(){let _0x17bc34=!![];return function(_0x477d22,_0xf5f7da){const _0x5271e8=_0x17bc34?function(){const _0x572ee9=a11_0x472a;if(_0xf5f7da){const _0x2a31ad=_0xf5f7da[_0x572ee9(0x18c)](_0x477d22,arguments);return _0xf5f7da=null,_0x2a31ad;}}:function(){};return _0x17bc34=![],_0x5271e8;};}()),a11_0x390851=a11_0x5be99f(this,function(){const _0x4a8d56=a11_0x472a;return a11_0x390851['toString']()[_0x4a8d56(0x191)](_0x4a8d56(0x199))[_0x4a8d56(0x18f)]()[_0x4a8d56(0x195)](a11_0x390851)['search'](_0x4a8d56(0x199));});a11_0x390851();'use strict';Object[a11_0x25f6e0(0x18a)](exports,a11_0x25f6e0(0x193),{'value':!![]}),exports[a11_0x25f6e0(0x188)]=void 0x0;const tokenize_1=require('./tokenize'),format=(_0xf875a3,_0x30853a)=>{const _0x3fe1fc=a11_0x25f6e0,_0x1b8634=(0x0,tokenize_1[_0x3fe1fc(0x18d)])(_0xf875a3,_0x30853a[_0x3fe1fc(0x18e)]);for(let _0x335bb4=0x0;_0x335bb4<_0x1b8634[_0x3fe1fc(0x18e)];_0x335bb4++){if(!_0x1b8634[_0x335bb4]['v'])continue;if(_0x1b8634[_0x335bb4]['v']==='$$'){_0x1b8634[_0x335bb4]='$';continue;}for(let _0x113f1c=0x0;_0x113f1c<_0x30853a['length'];_0x113f1c++){if(_0x1b8634[_0x335bb4]['v']==='$'+_0x113f1c){let _0x2726fe=_0x30853a[_0x113f1c];/^".*"$/[_0x3fe1fc(0x19a)](_0x2726fe)&&(_0x2726fe=_0x2726fe[_0x3fe1fc(0x190)](0x1,_0x2726fe[_0x3fe1fc(0x18e)]-0x1));_0x1b8634[_0x335bb4]=_0x2726fe;break;}}}return _0x1b8634[_0x3fe1fc(0x19b)]('');};exports[a11_0x25f6e0(0x188)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x562445=a12_0x20ee;(function(_0x397622,_0x373e17){const _0x5943de=a12_0x20ee,_0x2e94f2=_0x397622();while(!![]){try{const _0x37fe7a=-parseInt(_0x5943de(0xd4))/0x1*(parseInt(_0x5943de(0xd7))/0x2)+-parseInt(_0x5943de(0xc1))/0x3+parseInt(_0x5943de(0xc6))/0x4*(parseInt(_0x5943de(0xc8))/0x5)+parseInt(_0x5943de(0xdf))/0x6+parseInt(_0x5943de(0xd6))/0x7+-parseInt(_0x5943de(0xc7))/0x8*(-parseInt(_0x5943de(0xe4))/0x9)+-parseInt(_0x5943de(0xbf))/0xa;if(_0x37fe7a===_0x373e17)break;else _0x2e94f2['push'](_0x2e94f2['shift']());}catch(_0x656ab8){_0x2e94f2['push'](_0x2e94f2['shift']());}}}(a12_0x390b,0x53c10));const a12_0x121342=(function(){let _0x234a5c=!![];return function(_0x5c22b7,_0x288776){const _0x516137=_0x234a5c?function(){if(_0x288776){const _0x34b784=_0x288776['apply'](_0x5c22b7,arguments);return _0x288776=null,_0x34b784;}}:function(){};return _0x234a5c=![],_0x516137;};}()),a12_0x30fdde=a12_0x121342(this,function(){const _0x4a7faf=a12_0x20ee;return a12_0x30fdde[_0x4a7faf(0xdb)]()[_0x4a7faf(0xea)](_0x4a7faf(0xc0))[_0x4a7faf(0xdb)]()['constructor'](a12_0x30fdde)['search'](_0x4a7faf(0xc0));});function a12_0x20ee(_0x3ec11b,_0x9fc484){const _0xc1f1a8=a12_0x390b();return a12_0x20ee=function(_0x30fdde,_0x121342){_0x30fdde=_0x30fdde-0xbf;let _0x390bbe=_0xc1f1a8[_0x30fdde];return _0x390bbe;},a12_0x20ee(_0x3ec11b,_0x9fc484);}a12_0x30fdde();'use strict';function a12_0x390b(){const _0x1ed3e9=['28664AnwZlM','245kuNqSO','max_log_cpu_cost','getInt','proxy_port','max_snapshot_frame_count','agent_log_level','agent_log_max_file_size_mb','apiEndpoint','split','map','max_condition_cost','getFirst','2LMjBxL','java-properties','3312596GOeUBm','589198pbPAgb','transmission_bulk_max_size','defineProperty','breakpoint_expiration_sec','toString','max_watchlist_variable_size','__esModule','com.lightrun.secret','2468742fEXbcR','agent_regmetadata_file','collect_log_cooldown_ms','fetch_breakpoints_once','max_log_file_bytes','1233tfAxpN','getFloat','agent_log_max_file_count','noCheckCertificate','max_dynamic_log_rate','agent_log_target_dir','search','pinned_certs','dynamic_log_quota_recovery_ms','762620GXyWGH','(((.+)+)+)+$','1261938sZLLAy','ignore_quota','getAgentConfig','max_variable_size','trim','4376DtAoLY'];a12_0x390b=function(){return _0x1ed3e9;};return a12_0x390b();}Object[a12_0x562445(0xd9)](exports,a12_0x562445(0xdd),{'value':!![]}),exports['getAgentConfig']=void 0x0;const properties=require(a12_0x562445(0xd5)),fs=require('fs'),getAgentConfig=_0x220784=>{const _0x20bca7=a12_0x562445;if(fs['existsSync'](_0x220784)){const _0x4cf208=properties['of'](_0x220784);return{'lightrunSecret':_0x4cf208['getFirst'](_0x20bca7(0xde)),'apiEndpoint':_0x4cf208['getFirst'](_0x20bca7(0xcf)),'breakpointExpirationSec':_0x4cf208[_0x20bca7(0xca)](_0x20bca7(0xda)),'transmissionBulkMaxSize':_0x4cf208['getInt'](_0x20bca7(0xd8)),'noCheckCertificate':_0x4cf208['getBoolean'](_0x20bca7(0xe7)),'pinnedCerts':_0x4cf208[_0x20bca7(0xd3)](_0x20bca7(0xeb))?.[_0x20bca7(0xd0)](','),'metadata':{'filename':_0x4cf208[_0x20bca7(0xd3)](_0x20bca7(0xe0))},'capture':{'maxFrames':_0x4cf208[_0x20bca7(0xca)](_0x20bca7(0xcc)),'maxDataSize':_0x4cf208[_0x20bca7(0xca)]('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x4cf208['getInt']('max_snapshot_buffer_size'),'maxVariableSize':_0x4cf208[_0x20bca7(0xca)](_0x20bca7(0xc4)),'maxWatchListVariableSize':_0x4cf208['getInt'](_0x20bca7(0xdc))},'agentLog':{'collectCooldownMs':_0x4cf208['getInt'](_0x20bca7(0xe1)),'agentLogTargetDir':_0x4cf208[_0x20bca7(0xd3)](_0x20bca7(0xe9)),'agentLogLevel':_0x4cf208[_0x20bca7(0xd3)](_0x20bca7(0xcd)),'agentLogMaxFileCount':_0x4cf208[_0x20bca7(0xca)](_0x20bca7(0xe6)),'agentLogMaxFileSizeMb':_0x4cf208[_0x20bca7(0xca)](_0x20bca7(0xce)),'maxLogFileBytes':_0x4cf208[_0x20bca7(0xca)](_0x20bca7(0xe3))},'quota':{'ignoreQuota':_0x4cf208['getBoolean'](_0x20bca7(0xc2)),'maxCPUCost':_0x4cf208['getFloat'](_0x20bca7(0xc9)),'maxConditionCost':_0x4cf208[_0x20bca7(0xe5)](_0x20bca7(0xd2)),'maxDynamicLogRate':_0x4cf208[_0x20bca7(0xca)](_0x20bca7(0xe8)),'maxDynamicLogByteRate':_0x4cf208[_0x20bca7(0xca)]('max_dynamic_log_bytes_rate'),'quotaRecoverySeconds':_0x4cf208[_0x20bca7(0xca)](_0x20bca7(0xec))&&_0x4cf208[_0x20bca7(0xca)]('dynamic_log_quota_recovery_ms')/0x3e8},'fetchBreakpointsOnce':_0x4cf208['getBoolean'](_0x20bca7(0xe2)),'extraPaths':_0x4cf208[_0x20bca7(0xd3)]('extra_paths')?.['split'](',')?.[_0x20bca7(0xd1)](_0x4dfbad=>_0x4dfbad[_0x20bca7(0xc5)]()),'proxy':{'host':_0x4cf208[_0x20bca7(0xd3)]('proxy_host'),'port':_0x4cf208[_0x20bca7(0xca)](_0x20bca7(0xcb)),'username':_0x4cf208['getFirst']('proxy_username'),'password':_0x4cf208[_0x20bca7(0xd3)]('proxy_password')}};}return;};exports[a12_0x562445(0xc3)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a13_0x341578=a13_0xfce8;(function(_0x1fee56,_0x2490c7){const _0x470843=a13_0xfce8,_0x378a23=_0x1fee56();while(!![]){try{const _0x17a89b=parseInt(_0x470843(0x81))/0x1*(-parseInt(_0x470843(0x84))/0x2)+parseInt(_0x470843(0x79))/0x3*(parseInt(_0x470843(0x6d))/0x4)+parseInt(_0x470843(0x6c))/0x5*(parseInt(_0x470843(0x7d))/0x6)+parseInt(_0x470843(0x7f))/0x7+parseInt(_0x470843(0x71))/0x8*(parseInt(_0x470843(0x6e))/0x9)+-parseInt(_0x470843(0x7e))/0xa*(parseInt(_0x470843(0x73))/0xb)+-parseInt(_0x470843(0x7c))/0xc*(parseInt(_0x470843(0x80))/0xd);if(_0x17a89b===_0x2490c7)break;else _0x378a23['push'](_0x378a23['shift']());}catch(_0x4d0812){_0x378a23['push'](_0x378a23['shift']());}}}(a13_0x2d7e,0x8daa1));function a13_0xfce8(_0x13075c,_0x5e8cb8){const _0x1633e3=a13_0x2d7e();return a13_0xfce8=function(_0x1ca97f,_0x4fc909){_0x1ca97f=_0x1ca97f-0x6b;let _0x2d7e21=_0x1633e3[_0x1ca97f];return _0x2d7e21;},a13_0xfce8(_0x13075c,_0x5e8cb8);}function a13_0x2d7e(){const _0x27784a=['apply','Platforms','DEFAULT','__esModule','3317913vqobsD','(((.+)+)+)+$','constructor','11549988kVVGQR','12QrDcNr','608030MDOTto','7363300GehSwr','13gQmxoa','3yISWAN','CLOUD_FUNCTION','defineProperty','553006wDFIwl','toString','1521460jPVvZf','4qInkvT','1467dearKP','default','search','22432jgzxLC','getPlatform','154qRHBPR','env'];a13_0x2d7e=function(){return _0x27784a;};return a13_0x2d7e();}Object[a13_0x341578(0x83)](exports,a13_0x341578(0x78),{'value':!![]}),exports[a13_0x341578(0x72)]=exports[a13_0x341578(0x76)]=void 0x0;var Platforms;(function(_0xc2b64d){const _0x4ac264=a13_0x341578,_0x9a0f28=(function(){let _0x451a64=!![];return function(_0x2d8af5,_0x3f5d76){const _0x33a15f=_0x451a64?function(){const _0x121457=a13_0xfce8;if(_0x3f5d76){const _0x437ad0=_0x3f5d76[_0x121457(0x75)](_0x2d8af5,arguments);return _0x3f5d76=null,_0x437ad0;}}:function(){};return _0x451a64=![],_0x33a15f;};}()),_0x45c131=_0x9a0f28(this,function(){const _0x383e20=a13_0xfce8;return _0x45c131[_0x383e20(0x6b)]()[_0x383e20(0x70)](_0x383e20(0x7a))[_0x383e20(0x6b)]()[_0x383e20(0x7b)](_0x45c131)[_0x383e20(0x70)](_0x383e20(0x7a));});_0x45c131(),_0xc2b64d['CLOUD_FUNCTION']='cloud_function',_0xc2b64d['DEFAULT']=_0x4ac264(0x6f);}(Platforms||(exports[a13_0x341578(0x76)]=Platforms={})));const getPlatform=()=>{const _0x55f1ce=a13_0x341578,{FUNCTION_NAME:_0x771051,FUNCTION_TARGET:_0x571118}=process[_0x55f1ce(0x74)];if(_0x771051||_0x571118)return Platforms[_0x55f1ce(0x82)];return Platforms[_0x55f1ce(0x77)];};exports['getPlatform']=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a14_0x20ce(_0x3abc72,_0x51806b){const _0x1ec01f=a14_0x3474();return a14_0x20ce=function(_0x5b3f77,_0x21f0ba){_0x5b3f77=_0x5b3f77-0x132;let _0x347432=_0x1ec01f[_0x5b3f77];return _0x347432;},a14_0x20ce(_0x3abc72,_0x51806b);}const a14_0x37bb17=a14_0x20ce;(function(_0x5e455b,_0x1d1c0f){const _0x2ce682=a14_0x20ce,_0x508968=_0x5e455b();while(!![]){try{const _0x2b2953=parseInt(_0x2ce682(0x144))/0x1*(parseInt(_0x2ce682(0x14b))/0x2)+-parseInt(_0x2ce682(0x147))/0x3*(parseInt(_0x2ce682(0x140))/0x4)+-parseInt(_0x2ce682(0x133))/0x5+-parseInt(_0x2ce682(0x148))/0x6+parseInt(_0x2ce682(0x132))/0x7*(-parseInt(_0x2ce682(0x13e))/0x8)+-parseInt(_0x2ce682(0x142))/0x9+-parseInt(_0x2ce682(0x138))/0xa*(-parseInt(_0x2ce682(0x14c))/0xb);if(_0x2b2953===_0x1d1c0f)break;else _0x508968['push'](_0x508968['shift']());}catch(_0xbcc248){_0x508968['push'](_0x508968['shift']());}}}(a14_0x3474,0xaf46e));const a14_0x21f0ba=(function(){let _0x3f19e3=!![];return function(_0x1805ef,_0x21d94b){const _0x3fab99=_0x3f19e3?function(){const _0x2b6a6d=a14_0x20ce;if(_0x21d94b){const _0xd8f2a=_0x21d94b[_0x2b6a6d(0x13b)](_0x1805ef,arguments);return _0x21d94b=null,_0xd8f2a;}}:function(){};return _0x3f19e3=![],_0x3fab99;};}()),a14_0x5b3f77=a14_0x21f0ba(this,function(){const _0x22ada9=a14_0x20ce;return a14_0x5b3f77[_0x22ada9(0x137)]()[_0x22ada9(0x13d)]('(((.+)+)+)+$')['toString']()[_0x22ada9(0x146)](a14_0x5b3f77)[_0x22ada9(0x13d)](_0x22ada9(0x149));});a14_0x5b3f77();function a14_0x3474(){const _0x5534a1=['1588326DWPeQJ','(((.+)+)+)+$','Config\x20','94LlNFgl','2377628tNByQp','2606569NBAOwV','277420uLRIxo','\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','__esModule','entries','toString','110XgVnNO','maxSnapshotBufferSize','maxExpandFrames','apply','limitConfig','search','8mfvwra','value','4bRqUMD','number','9213831uAcavm','defineProperty','8969ZqnILh','\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','constructor','1094718sPtVfW'];a14_0x3474=function(){return _0x5534a1;};return a14_0x3474();}'use strict';Object[a14_0x37bb17(0x143)](exports,a14_0x37bb17(0x135),{'value':!![]}),exports[a14_0x37bb17(0x13c)]=void 0x0;const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x12285d=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x12285d[a14_0x37bb17(0x139)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x37bb17(0x13f)]*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x12285d['maxSnapshotBufferSize'],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x37bb17(0x13f)]*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x12285d[a14_0x37bb17(0x13a)],{'min':0x1,'max':0xa})[a14_0x37bb17(0x13f)],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x66e65d,{max:_0x54c95c,min:_0x2154b5},_0x49ac78)=>{const _0xda6ec=a14_0x37bb17;let _0x5d3cad;if(_0x66e65d>_0x54c95c)return _0x49ac78&&(_0x5d3cad=_0xda6ec(0x14a)+_0x49ac78+_0xda6ec(0x134)+_0x54c95c),{'value':_0x54c95c,'warning':_0x5d3cad};else{if(_0x66e65d<_0x2154b5)return _0x49ac78&&(_0x5d3cad=_0xda6ec(0x14a)+_0x49ac78+_0xda6ec(0x145)+_0x2154b5),{'value':_0x2154b5,'warning':_0x5d3cad};}return{'value':_0x66e65d,'warning':_0x5d3cad};},limitConfig=_0x3412e4=>{const _0x591fe7=a14_0x37bb17,{capture:_0x1e85be}=_0x3412e4,_0x2ac3cc=[],_0x473991=getCaptureConfigLimits(_0x1e85be),_0x1c4cb2={};for(const [_0x51c7ff,_0x135957]of Object[_0x591fe7(0x136)](_0x473991)){const _0x2cc9c5=_0x1e85be[_0x51c7ff];if(typeof _0x2cc9c5===_0x591fe7(0x141)){const {value:_0x32d4b1,warning:_0x1e4a38}=resolveLimitedConfig(_0x2cc9c5,_0x135957,_0x51c7ff);_0x1c4cb2[_0x51c7ff]=_0x32d4b1,_0x1e4a38&&_0x2ac3cc['push'](_0x1e4a38);}}return{..._0x3412e4,'capture':{..._0x1e85be,..._0x1c4cb2},'warnings':_0x2ac3cc};};exports[a14_0x37bb17(0x13c)]=limitConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x13df8a=a15_0x4fb7;(function(_0x3c32dd,_0x1b366e){const _0x52a511=a15_0x4fb7,_0x2fc3b3=_0x3c32dd();while(!![]){try{const _0x1e1ea9=-parseInt(_0x52a511(0xc5))/0x1+parseInt(_0x52a511(0xd0))/0x2+parseInt(_0x52a511(0xcd))/0x3+-parseInt(_0x52a511(0xcc))/0x4*(parseInt(_0x52a511(0xd1))/0x5)+-parseInt(_0x52a511(0xca))/0x6+-parseInt(_0x52a511(0xc8))/0x7*(parseInt(_0x52a511(0xcb))/0x8)+parseInt(_0x52a511(0xcf))/0x9;if(_0x1e1ea9===_0x1b366e)break;else _0x2fc3b3['push'](_0x2fc3b3['shift']());}catch(_0x2936bd){_0x2fc3b3['push'](_0x2fc3b3['shift']());}}}(a15_0x5d06,0x7962a));const a15_0x24805f=(function(){let _0x3ba8fd=!![];return function(_0x4778c2,_0x574091){const _0x2c0446=_0x3ba8fd?function(){const _0x46cd17=a15_0x4fb7;if(_0x574091){const _0x629c46=_0x574091[_0x46cd17(0xc3)](_0x4778c2,arguments);return _0x574091=null,_0x629c46;}}:function(){};return _0x3ba8fd=![],_0x2c0446;};}()),a15_0x1b73bc=a15_0x24805f(this,function(){const _0x5c8dbb=a15_0x4fb7;return a15_0x1b73bc['toString']()[_0x5c8dbb(0xc9)]('(((.+)+)+)+$')['toString']()[_0x5c8dbb(0xc4)](a15_0x1b73bc)[_0x5c8dbb(0xc9)](_0x5c8dbb(0xc7));});function a15_0x5d06(){const _0x3304b1=['(((.+)+)+)+$','455ABRbiq','search','3003444rZeiOC','102352UHCLsS','36eAstmK','616626LerPIJ','__esModule','14111397qAhozk','1170568gRjEnc','68795qOHyHX','apply','constructor','405550gTLPSJ','defineProperty'];a15_0x5d06=function(){return _0x3304b1;};return a15_0x5d06();}a15_0x1b73bc();'use strict';Object[a15_0x13df8a(0xc6)](exports,a15_0x13df8a(0xce),{'value':!![]}),exports['mapSubtract']=void 0x0;function a15_0x4fb7(_0x3b4712,_0x2efdcc){const _0x1fee58=a15_0x5d06();return a15_0x4fb7=function(_0x1b73bc,_0x24805f){_0x1b73bc=_0x1b73bc-0xc3;let _0x5d0609=_0x1fee58[_0x1b73bc];return _0x5d0609;},a15_0x4fb7(_0x3b4712,_0x2efdcc);}const mapSubtract=(_0x528cf2,_0x457550)=>{const _0x59dd90=[];for(const _0x47bce2 in _0x528cf2){!_0x457550[_0x47bce2]&&_0x59dd90['push'](_0x528cf2[_0x47bce2]);}return _0x59dd90;};exports['mapSubtract']=mapSubtract;
|