lightrun 1.81.0 → 1.83.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/serverless.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 +9 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x5623e8=a15_0x4647;(function(_0x55af91,_0xfd2e06){const _0x426686=a15_0x4647,_0x4e33fb=_0x55af91();while(!![]){try{const _0x1b30cd=-parseInt(_0x426686(0xaa))/0x1+parseInt(_0x426686(0xa7))/0x2+-parseInt(_0x426686(0xab))/0x3*(parseInt(_0x426686(0xa6))/0x4)+parseInt(_0x426686(0x9b))/0x5+-parseInt(_0x426686(0x9d))/0x6*(parseInt(_0x426686(0x9e))/0x7)+-parseInt(_0x426686(0xa9))/0x8*(-parseInt(_0x426686(0xa0))/0x9)+parseInt(_0x426686(0xa1))/0xa;if(_0x1b30cd===_0xfd2e06)break;else _0x4e33fb['push'](_0x4e33fb['shift']());}catch(_0x322663){_0x4e33fb['push'](_0x4e33fb['shift']());}}}(a15_0x495a,0x413de));const a15_0x33d1e2=(function(){let _0x2c77ed=!![];return function(_0x52b441,_0x14a6c9){const _0x285d46=_0x2c77ed?function(){const _0x30d67a=a15_0x4647;if(_0x14a6c9){const _0x38638e=_0x14a6c9[_0x30d67a(0x9f)](_0x52b441,arguments);return _0x14a6c9=null,_0x38638e;}}:function(){};return _0x2c77ed=![],_0x285d46;};}()),a15_0x174388=a15_0x33d1e2(this,function(){const _0x164a0c=a15_0x4647;return a15_0x174388[_0x164a0c(0x9a)]()['search'](_0x164a0c(0xa4))['toString']()[_0x164a0c(0xa5)](a15_0x174388)[_0x164a0c(0xa3)](_0x164a0c(0xa4));});a15_0x174388();'use strict';function a15_0x4647(_0x533545,_0x4002ce){const _0x5253d4=a15_0x495a();return a15_0x4647=function(_0x174388,_0x33d1e2){_0x174388=_0x174388-0x9a;let _0x495a7c=_0x5253d4[_0x174388];return _0x495a7c;},a15_0x4647(_0x533545,_0x4002ce);}Object['defineProperty'](exports,a15_0x5623e8(0xa8),{'value':!![]}),exports[a15_0x5623e8(0xa2)]=void 0x0;function a15_0x495a(){const _0x3e6dbb=['toString','1854890IWhaFe','push','2543082wKeeQc','7RWstuy','apply','27YtMSTp','543670dfBYeh','mapSubtract','search','(((.+)+)+)+$','constructor','36lLImKw','142904kVmyJK','__esModule','1193480CzVqnj','21336FvRJmF','77313wMMxXA'];a15_0x495a=function(){return _0x3e6dbb;};return a15_0x495a();}const mapSubtract=(_0x3deae3,_0x5779b0)=>{const _0xe550f3=a15_0x5623e8,_0x4cb1ef=[];for(const _0x183e1a in _0x3deae3){!_0x5779b0[_0x183e1a]&&_0x4cb1ef[_0xe550f3(0x9c)](_0x3deae3[_0x183e1a]);}return _0x4cb1ef;};exports[a15_0x5623e8(0xa2)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x3b9255=a16_0x429d;(function(_0x1d22f8,_0x11b999){const _0x4de4f4=a16_0x429d,_0x58cd44=_0x1d22f8();while(!![]){try{const _0x4e7f3a=-parseInt(_0x4de4f4(0x213))/0x1+-parseInt(_0x4de4f4(0x212))/0x2*(parseInt(_0x4de4f4(0x20f))/0x3)+-parseInt(_0x4de4f4(0x1db))/0x4+-parseInt(_0x4de4f4(0x1dc))/0x5+parseInt(_0x4de4f4(0x1f9))/0x6*(parseInt(_0x4de4f4(0x1eb))/0x7)+parseInt(_0x4de4f4(0x1d4))/0x8*(-parseInt(_0x4de4f4(0x1d8))/0x9)+-parseInt(_0x4de4f4(0x207))/0xa*(-parseInt(_0x4de4f4(0x1d3))/0xb);if(_0x4e7f3a===_0x11b999)break;else _0x58cd44['push'](_0x58cd44['shift']());}catch(_0x2cefda){_0x58cd44['push'](_0x58cd44['shift']());}}}(a16_0x1863,0xac5f2));const a16_0x57ae82=(function(){let _0xa57648=!![];return function(_0x4096b8,_0x52bac1){const _0x3ce5a4=_0xa57648?function(){const _0x4cc759=a16_0x429d;if(_0x52bac1){const _0x16aeb7=_0x52bac1[_0x4cc759(0x203)](_0x4096b8,arguments);return _0x52bac1=null,_0x16aeb7;}}:function(){};return _0xa57648=![],_0x3ce5a4;};}()),a16_0x58f2b4=a16_0x57ae82(this,function(){const _0x5d7a55=a16_0x429d;return a16_0x58f2b4['toString']()['search'](_0x5d7a55(0x214))[_0x5d7a55(0x1f7)]()[_0x5d7a55(0x1ee)](a16_0x58f2b4)[_0x5d7a55(0x210)](_0x5d7a55(0x214));});a16_0x58f2b4();'use strict';Object[a16_0x3b9255(0x1dd)](exports,'__esModule',{'value':!![]}),exports[a16_0x3b9255(0x1d1)]=exports['validateConfig']=void 0x0;const extend=require(a16_0x3b9255(0x1f5)),config_1=require(a16_0x3b9255(0x1ed)),utils_1=require(a16_0x3b9255(0x1f0)),getAgentConfig_1=require(a16_0x3b9255(0x1d5)),limitConfig_1=require(a16_0x3b9255(0x208)),validateConfig=_0x188989=>{const _0x5894d3=a16_0x3b9255,_0x48768c={};try{config_1[_0x5894d3(0x1d2)][_0x5894d3(0x1fd)](_0x188989,{'abortEarly':![]});}catch(_0x241659){_0x241659[_0x5894d3(0x1f6)][_0x5894d3(0x1f1)](_0x477e78=>_0x477e78['path']&&_0x477e78['message'])[_0x5894d3(0x1d6)](_0x1779e9=>{const _0x3a2020=_0x5894d3;_0x48768c[_0x1779e9[_0x3a2020(0x1e2)]]=_0x1779e9[_0x3a2020(0x20e)];});}return _0x48768c;};exports['validateConfig']=validateConfig;function a16_0x429d(_0x4d4e89,_0x5b74fe){const _0x5f2aa5=a16_0x1863();return a16_0x429d=function(_0x58f2b4,_0x57ae82){_0x58f2b4=_0x58f2b4-0x1d1;let _0x186399=_0x5f2aa5[_0x58f2b4];return _0x186399;},a16_0x429d(_0x4d4e89,_0x5b74fe);}const normalizeConfig=_0x4101a8=>{const _0x4dbc9d=a16_0x3b9255,_0x1b1f83={'serviceContext':{'service':process['env'][_0x4dbc9d(0x1fb)]??process['env']['GAE_MODULE_NAME']??process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x1ea)],'version':process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x209)]??process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x1de)]??process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x1e1)],'minorVersion_':process['env'][_0x4dbc9d(0x1e3)]??process[_0x4dbc9d(0x20a)]['GAE_MINOR_VERSION']},'metadata':{'filename':process[_0x4dbc9d(0x20a)]['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x1fc)],'apiEndpoint':process['env'][_0x4dbc9d(0x1da)],'noCheckCertificate':(0x0,utils_1['getBooleanValue'])(process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x1e5)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x4dbc9d(0x206)])(process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x20c)]),'lightrunWaitForInit':(0x0,utils_1[_0x4dbc9d(0x206)])(process['env']['LIGHTRUN_WAIT_FOR_INIT']),'lightrunInitWaitTimeMs':process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x1df)],'agentLog':_0x4101a8?.[_0x4dbc9d(0x1e7)]??{},'proxy':{'host':process[_0x4dbc9d(0x20a)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process['env'][_0x4dbc9d(0x1f2)]??'')||undefined,'username':process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x20d)],'password':process[_0x4dbc9d(0x20a)]['LIGHTRUN_PROXY_PASSWORD']}};process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x204)]!==undefined&&(_0x1b1f83[_0x4dbc9d(0x1e7)][_0x4dbc9d(0x1e4)]=process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x204)]);process[_0x4dbc9d(0x20a)]['AGENT_LOG_LEVEL']!==undefined&&(_0x1b1f83[_0x4dbc9d(0x1e7)][_0x4dbc9d(0x1ec)]=process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x205)]);process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x200)]!==undefined&&(_0x1b1f83[_0x4dbc9d(0x1e7)][_0x4dbc9d(0x1d9)]=process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x200)]);process['env']['AGENT_LOG_MAX_FILE_COUNT']!==undefined&&(_0x1b1f83['agentLog'][_0x4dbc9d(0x202)]=parseInt(process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x1f8)]));process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x1f4)]!==undefined&&(_0x1b1f83[_0x4dbc9d(0x1e7)][_0x4dbc9d(0x211)]=parseInt(process['env'][_0x4dbc9d(0x1f4)]));process[_0x4dbc9d(0x20a)]['FUNCTION_NAME']&&(_0x1b1f83[_0x4dbc9d(0x201)][_0x4dbc9d(0x1ff)]=process[_0x4dbc9d(0x20a)][_0x4dbc9d(0x1d7)],_0x1b1f83['serviceContext'][_0x4dbc9d(0x1f3)]='unversioned');process['env'][_0x4dbc9d(0x1fe)]&&(_0x1b1f83[_0x4dbc9d(0x1e0)]['registration']={'tags':process[_0x4dbc9d(0x20a)]['LIGHTRUN_TAGS'][_0x4dbc9d(0x1e9)](',')});const _0x47ef99=(0x0,getAgentConfig_1[_0x4dbc9d(0x20b)])(process[_0x4dbc9d(0x20a)]['LIGHTRUN_AGENT_CONFIG']??_0x4101a8?.['agentConfigFile']??config_1[_0x4dbc9d(0x1e8)][_0x4dbc9d(0x1e6)]),_0x4719c3=(0x0,limitConfig_1[_0x4dbc9d(0x1fa)])(extend(!![],{},config_1[_0x4dbc9d(0x1e8)],_0x47ef99,_0x4101a8,_0x1b1f83)),_0x3bea04=(0x0,exports[_0x4dbc9d(0x1ef)])(_0x4719c3);return{..._0x4719c3,'errors':_0x3bea04};};exports['normalizeConfig']=normalizeConfig;function a16_0x1863(){const _0xa023db=['toString','AGENT_LOG_MAX_FILE_COUNT','6PslOXl','limitConfig','GAE_SERVICE','LIGHTRUN_SECRET','validateSync','LIGHTRUN_TAGS','service','AGENT_LOG_TARGET_DIR','serviceContext','agentLogMaxFileCount','apply','LIGHTRUN_STD_ERR_THRESHOLD','AGENT_LOG_LEVEL','getBooleanValue','250ndotDK','./limitConfig','GAE_VERSION','env','getAgentConfig','FETCH_BREAKPOINTS_ONCE','LIGHTRUN_PROXY_USERNAME','message','6SwFmQX','search','agentLogMaxFileSizeMb','915202JuTsYm','88112cDmYmC','(((.+)+)+)+$','normalizeConfig','configSchema','1017192azhRGk','592AhNTUb','./getAgentConfig','forEach','FUNCTION_NAME','52263qlRFGg','agentLogTargetDir','LIGHTRUN_API_ENDPOINT','1794928HqJPQq','4186205ATzhtl','defineProperty','GAE_MODULE_VERSION','LIGHTRUN_INIT_WAIT_TIME_MS','metadata','K_REVISION','path','GAE_DEPLOYMENT_ID','stdErrThreshold','NO_CHECK_CERTIFICATE','agentConfigFile','agentLog','defaultConfig','split','K_SERVICE','7792673XXsrfs','agentLogLevel','../config','constructor','validateConfig','../util/utils','filter','LIGHTRUN_PROXY_PORT','version','AGENT_LOG_MAX_FILE_SIZE_MB','extend','inner'];a16_0x1863=function(){return _0xa023db;};return a16_0x1863();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x384444=a17_0x538a;(function(_0x2f57af,_0x714f50){const _0x4310aa=a17_0x538a,_0x40606b=_0x2f57af();while(!![]){try{const _0x4ebc8c=parseInt(_0x4310aa(0x8a))/0x1*(parseInt(_0x4310aa(0x87))/0x2)+parseInt(_0x4310aa(0x92))/0x3*(parseInt(_0x4310aa(0x7f))/0x4)+parseInt(_0x4310aa(0x8b))/0x5+-parseInt(_0x4310aa(0x8e))/0x6+-parseInt(_0x4310aa(0x81))/0x7*(parseInt(_0x4310aa(0x82))/0x8)+-parseInt(_0x4310aa(0x88))/0x9+parseInt(_0x4310aa(0x8d))/0xa*(parseInt(_0x4310aa(0x85))/0xb);if(_0x4ebc8c===_0x714f50)break;else _0x40606b['push'](_0x40606b['shift']());}catch(_0xd0cad4){_0x40606b['push'](_0x40606b['shift']());}}}(a17_0x2cdc,0x72295));const a17_0x26705a=(function(){let _0x540d41=!![];return function(_0x485b07,_0x2d6113){const _0x2f4ae7=_0x540d41?function(){if(_0x2d6113){const _0x39b629=_0x2d6113['apply'](_0x485b07,arguments);return _0x2d6113=null,_0x39b629;}}:function(){};return _0x540d41=![],_0x2f4ae7;};}()),a17_0x292d64=a17_0x26705a(this,function(){const _0x3b6e3c=a17_0x538a;return a17_0x292d64[_0x3b6e3c(0x8f)]()[_0x3b6e3c(0x8c)](_0x3b6e3c(0x89))[_0x3b6e3c(0x8f)]()[_0x3b6e3c(0x86)](a17_0x292d64)['search']('(((.+)+)+)+$');});a17_0x292d64();'use strict';Object[a17_0x384444(0x90)](exports,a17_0x384444(0x83),{'value':!![]}),exports[a17_0x384444(0x80)]=void 0x0;const delimit_1=require('./delimit'),tokenize=(_0x5e6e6c,_0xf8b492)=>{const _0x14be92=a17_0x384444;let _0x496d27=(0x0,delimit_1[_0x14be92(0x91)])(_0x5e6e6c,'$$');for(let _0x5caceb=_0xf8b492-0x1;_0x5caceb>=0x0;_0x5caceb--){const _0x4aaadc=[];for(const _0xd52c80 of _0x496d27){_0xd52c80['v']?_0x4aaadc['push'](_0xd52c80):_0x4aaadc[_0x14be92(0x84)](...(0x0,delimit_1[_0x14be92(0x91)])(_0xd52c80,'$'+_0x5caceb));}_0x496d27=_0x4aaadc;}return _0x496d27;};function a17_0x538a(_0x2937e3,_0x422558){const _0x16d108=a17_0x2cdc();return a17_0x538a=function(_0x292d64,_0x26705a){_0x292d64=_0x292d64-0x7f;let _0x2cdc88=_0x16d108[_0x292d64];return _0x2cdc88;},a17_0x538a(_0x2937e3,_0x422558);}function a17_0x2cdc(){const _0x51f36b=['17510EskWGK','2203362SxBvKG','toString','defineProperty','delimit','23967VjetpU','44cnBYFm','tokenize','87031eycqoz','168UEOAwL','__esModule','push','2321bPTiDO','constructor','2djFiMi','4775121LguwLl','(((.+)+)+)+$','894694bgjwHs','1372300KeNspj','search'];a17_0x2cdc=function(){return _0x51f36b;};return a17_0x2cdc();}exports[a17_0x384444(0x80)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x3555c1=a18_0x641b;(function(_0x1c278d,_0xc6b221){const _0x57b0be=a18_0x641b,_0x5b1a20=_0x1c278d();while(!![]){try{const _0x4f3265=-parseInt(_0x57b0be(0x20d))/0x1+parseInt(_0x57b0be(0x13c))/0x2+-parseInt(_0x57b0be(0x1e7))/0x3*(parseInt(_0x57b0be(0x17e))/0x4)+parseInt(_0x57b0be(0x1af))/0x5+parseInt(_0x57b0be(0x1e5))/0x6+parseInt(_0x57b0be(0x19c))/0x7+-parseInt(_0x57b0be(0x1e6))/0x8;if(_0x4f3265===_0xc6b221)break;else _0x5b1a20['push'](_0x5b1a20['shift']());}catch(_0x415828){_0x5b1a20['push'](_0x5b1a20['shift']());}}}(a18_0x17ed,0xa52b8));const a18_0x434eee=(function(){let _0x2a7a5c=!![];return function(_0x154f1f,_0x440597){const _0x17cf32=_0x2a7a5c?function(){const _0x32e7d3=a18_0x641b;if(_0x440597){const _0x1b6996=_0x440597[_0x32e7d3(0x147)](_0x154f1f,arguments);return _0x440597=null,_0x1b6996;}}:function(){};return _0x2a7a5c=![],_0x17cf32;};}()),a18_0x1afce2=a18_0x434eee(this,function(){const _0x45d5bd=a18_0x641b;return a18_0x1afce2[_0x45d5bd(0x1ae)]()[_0x45d5bd(0x1a2)](_0x45d5bd(0x238))[_0x45d5bd(0x1ae)]()['constructor'](a18_0x1afce2)[_0x45d5bd(0x1a2)]('(((.+)+)+)+$');});function a18_0x641b(_0x340d04,_0x5ae174){const _0x43f331=a18_0x17ed();return a18_0x641b=function(_0x1afce2,_0x434eee){_0x1afce2=_0x1afce2-0x12c;let _0x17ed05=_0x43f331[_0x1afce2];return _0x17ed05;},a18_0x641b(_0x340d04,_0x5ae174);}a18_0x1afce2();'use strict';var __classPrivateFieldSet=this&&this[a18_0x3555c1(0x1c5)]||function(_0xeff4b5,_0xa122df,_0x55596a,_0x4e1583,_0x547cde){const _0x1f3642=a18_0x3555c1;if(_0x4e1583==='m')throw new TypeError(_0x1f3642(0x188));if(_0x4e1583==='a'&&!_0x547cde)throw new TypeError(_0x1f3642(0x1c7));if(typeof _0xa122df==='function'?_0xeff4b5!==_0xa122df||!_0x547cde:!_0xa122df[_0x1f3642(0x1fc)](_0xeff4b5))throw new TypeError(_0x1f3642(0x17b));return _0x4e1583==='a'?_0x547cde[_0x1f3642(0x1ef)](_0xeff4b5,_0x55596a):_0x547cde?_0x547cde[_0x1f3642(0x1d9)]=_0x55596a:_0xa122df[_0x1f3642(0x169)](_0xeff4b5,_0x55596a),_0x55596a;},__classPrivateFieldGet=this&&this[a18_0x3555c1(0x1bf)]||function(_0x4b54c7,_0x44c5e0,_0xb150df,_0x597013){const _0x206d90=a18_0x3555c1;if(_0xb150df==='a'&&!_0x597013)throw new TypeError(_0x206d90(0x1a7));if(typeof _0x44c5e0===_0x206d90(0x1b6)?_0x4b54c7!==_0x44c5e0||!_0x597013:!_0x44c5e0[_0x206d90(0x1fc)](_0x4b54c7))throw new TypeError(_0x206d90(0x1ea));return _0xb150df==='m'?_0x597013:_0xb150df==='a'?_0x597013[_0x206d90(0x1ef)](_0x4b54c7):_0x597013?_0x597013[_0x206d90(0x1d9)]:_0x44c5e0[_0x206d90(0x206)](_0x4b54c7);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;function a18_0x17ed(){const _0x4b47b5=['./util/utils','started','./quota-manager','blacklist_exception','has','PatternsBlocklistManager','selectStats','../types/stackdriver','assert','promise','wait','seconds','Unique\x20ID\x20for\x20this\x20Application:\x20','maxRequestRetryDelaySeconds','get','fromFileStats','Breakpoint','./debuglet-helpers/mapSubtract','Controller','filter','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','1096494kTgzVW','scheduleBreakpointFetch_\x20','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','add','config','AGENT_LOG_FILE','emit','extraPaths','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','Registering\x20debuggee','quota','fetchBreakpointsOnce','clientConnectionTimeoutInSeconds','promisify','name','packageInfo','action','fetcherActive','isReady','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','forEach','enable','removePerBreakpointQuota','./controller','Found\x20breakpoint\x20with\x20invalid\x20action:','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','fromEntries','location','Registered\x20as\x20debuggee:\x20','disable','./io/scanner','globalPipingStatus','GAE_MINOR_VERSION','./configuration-provider','ConfigurationProvider','mapFiles','.\x20Error:\x20','Unknown\x20agentLogLevel\x20','\x20accepted\x20by\x20agent','jsFileIndex','normalizeConfig','stdErrThreshold','(((.+)+)+)+$','Debuggee\x20is\x20not\x20registered','promiseResolve','):\x20pattern:\x20','ALLOW_EXPRESSIONS_MESSAGE','agentLogTargetDir','StatusMessage','\x20completed.','sep','.\x20message:\x20','NOT_SET','prettyError','./debuglet-helpers/createDebuggee','setIgnoreQuota','CachedPromise','.\x20Retrying\x20in\x20','scan','caseInsensitive','keys','setCustomLogLevel','parameters','./piping-manager','pattern','agentLogLevel','unref','collectLogRequestId','2340320Zhqeit','activeBreakpointMap','join','PipingManager','source-context.json','readFile','blacklist','push','Starting\x20debuggee','Blacklist\x20Exceptions:\x20\x0a\x09','removeListener','apply','replace','mainModule','warn','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','\x20(type:\x20','Error\x20scanning\x20the\x20filesystem.','./debuglet-helpers/format','selectFiles','./io/file-index','initError','then','sourceMapDiagnostics','LOGPOINT:\x20','concat','bind','extend','SIGINT','create','setBlocklistManager','Server\x20breakpoints:\x0a','isRedactionActive','breakpoint_set','replaceRedactedByValue','./blocklisting/patterns-blocklist-manager','breakpoints_fetch_failed','filename','BREAKPOINT_ACTION_MESSAGE','allowExpressions','remainingHits','register\x20debuggee','stringify','split','Fetching\x20breakpoints','set','__esModule','isError','agentLog','info','all','expressions','length','ignoreQuota','hash','stopped','setPatterns','stop','createDebuggee','waitFor','EventEmitter','message','internal','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','values','isArray','7672MEsUuk','../client/stackdriver/status-message','EnvironmentMetadata','debug','expirationTime','./debuglet-helpers/normalizeConfig','javascriptFileExtensions','\x09remove\x20breakpoint\x20id\x20','createLogger','isRegistered','Private\x20method\x20is\x20not\x20writable','register','createTime','now','pipingStatus','beforeExit','do\x20this.','./environment-metadata','getRedactions','getLevel','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','breakpointUpdateIntervalSec','status','substring','QuotaManager','pipingManager','resolve','\x09Got\x20error\x20from\x20server.\x20status:\x20','type','breakpoints_fetch_registration_required','5486817knfPdt','\x09Long\x20poll\x20completed.','Switching\x20globalPiping\x20status\x20from\x20','Working\x20directory:\x20','map','quotaCheck','search','isLambda','findFiles','mapSubtract','quotaRecoverySeconds','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','DEBUG','Initializing\x20Node.js\x20agent\x20version:\x20','existsSync','util','logger','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','toString','5335475pWZkhR','waitExpired','description','deregister','breakpoints','\x20caseInsensitive:\x20','pipeLogs','function','listBreakpoints','getBlocklist','debuggee','enqueueBreakpointUpdate','Debuglet','getInitialLevel','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','REDACTED_PLACEHOLDER','__classPrivateFieldGet','Malformed\x20source-context.json\x20file:\x20','GAE-','Expiring\x20breakpoint\x20id\x20','env','Result:\x20\x0a','__classPrivateFieldSet','UNSPECIFIED','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','sendAgentLogsToServer','agentLogMaxFileCount','Redactions:\x20\x0a\x09','Blacklist:\x20\x0a\x09','FileIndex','inspect','addAndPipeLog','getProps','errors','debuglet','./io/sourcemapper','stringifyBreakpointForInfoLog','\x0a\x09createdTime:\x20','format','readFullVersion','\x09Notifying\x20server\x20about\x20error\x20for\x20','value','\x09successfully\x20added\x20breakpoint\x20id\x20','sourceContext','./reduction/redaction-manager','Active\x20Breakpoints:\x20\x0a','default','js.map','path','isDisabled','condition','\x0a\x09condition:\x20','entries','581130aeQPRv','10636536Rszwwc','24fZLTIz','\x20to\x20','setPipingStatus','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','kill','setLevel','error','rejecting\x20breakpoint\x20id\x20','call','breakpoints_fetched','\x20because\x20','SIGTERM','getSourceContextFromFile','once','parse','registration_failed','workingDirectory'];a18_0x17ed=function(){return _0x4b47b5;};return a18_0x17ed();}Object['defineProperty'](exports,a18_0x3555c1(0x16a),{'value':!![]}),exports[a18_0x3555c1(0x1bb)]=exports[a18_0x3555c1(0x130)]=void 0x0;const assert=require(a18_0x3555c1(0x200)),events_1=require('events'),extend=require(a18_0x3555c1(0x157)),fs=require('fs'),path=require('path'),util=require(a18_0x3555c1(0x1ab)),status_message_1=require(a18_0x3555c1(0x17f)),stackdriver_1=require(a18_0x3555c1(0x1ff)),agent_logger_1=require('./agent-logger'),patterns_blocklist_manager_1=require(a18_0x3555c1(0x15f)),config_1=require('./config'),configuration_provider_1=require(a18_0x3555c1(0x22f)),controller_1=require(a18_0x3555c1(0x225)),createDebuggee_1=require(a18_0x3555c1(0x12e)),format_1=require(a18_0x3555c1(0x14e)),mapSubtract_1=require(a18_0x3555c1(0x209)),normalizeConfig_1=require(a18_0x3555c1(0x183)),environment_metadata_1=require(a18_0x3555c1(0x18f)),file_index_1=require(a18_0x3555c1(0x150)),scanner_1=require(a18_0x3555c1(0x22c)),SourceMapper=require(a18_0x3555c1(0x1d3)),piping_manager_1=require(a18_0x3555c1(0x137)),quota_manager_1=require(a18_0x3555c1(0x1fa)),redaction_manager_1=require(a18_0x3555c1(0x1dc)),utils_1=require(a18_0x3555c1(0x1f8)),debugapi=require('./v8/debugapi'),redaction_manager_re2js_1=require('./reduction/redaction-manager-re2js'),readFilep=util[a18_0x3555c1(0x21b)](fs[a18_0x3555c1(0x141)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x2cdeb6,_0x20a8ba)=>{const _0x4a5138=a18_0x3555c1;let _0x4a562b=_0x2cdeb6+util['format'](_0x4a5138(0x227),_0x20a8ba['id'],_0x20a8ba[_0x4a5138(0x21e)],util[_0x4a5138(0x1ce)](_0x20a8ba[_0x4a5138(0x229)]));if(_0x20a8ba['createTime']){const _0xb6a3c4=Number(_0x20a8ba['createTime']['seconds']),_0x1af16c=new Date(_0xb6a3c4*0x3e8);_0x4a562b+=_0x4a5138(0x1d5)+_0x1af16c[_0x4a5138(0x1ae)]();}return _0x20a8ba[_0x4a5138(0x1e2)]&&(_0x4a562b+=_0x4a5138(0x1e3)+util['inspect'](_0x20a8ba['condition'])),_0x20a8ba[_0x4a5138(0x16f)]&&(_0x4a562b+='\x0a\x09expressions:\x20'+util['inspect'](_0x20a8ba[_0x4a5138(0x16f)])),_0x4a562b;},formatBreakpoints=(_0x157d00,_0x53cde)=>_0x157d00+Object[a18_0x3555c1(0x134)](_0x53cde)['map'](_0x20eed7=>formatBreakpoint('',_0x53cde[_0x20eed7]))['join']('\x0a');class CachedPromise{constructor(){const _0x9f321=a18_0x3555c1;this[_0x9f321(0x23a)]=null,this['promise']=new Promise(_0x2dbd78=>{this['promiseResolve']=_0x2dbd78;});}[a18_0x3555c1(0x206)](){const _0x444643=a18_0x3555c1;return this[_0x444643(0x201)];}['resolve'](){const _0x5d4b9d=a18_0x3555c1;this[_0x5d4b9d(0x23a)]&&(this[_0x5d4b9d(0x23a)](),this['promiseResolve']=null);}}exports[a18_0x3555c1(0x130)]=CachedPromise;class IsReadyImpl{constructor(_0xa4593c){this['debuglet']=_0xa4593c;}['isReady'](){const _0x36b622=a18_0x3555c1;return this[_0x36b622(0x1d2)]['isReady']();}}class Debuglet extends events_1[a18_0x3555c1(0x178)]{constructor(_0x36ce82,_0x55b5d3){const _0x52c756=a18_0x3555c1;super(),_Debuglet_instances[_0x52c756(0x211)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x52c756(0x169)](this,void 0x0),_Debuglet_running[_0x52c756(0x169)](this,void 0x0),_Debuglet_controller[_0x52c756(0x169)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x52c756(0x169)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x52c756(0x169)](this,void 0x0),_Debuglet_breakpointFetched[_0x52c756(0x169)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x52c756(0x169)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x52c756(0x169)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x52c756(0x169)](this,void 0x0),_Debuglet_scanner[_0x52c756(0x169)](this,void 0x0),_Debuglet_quotaManager[_0x52c756(0x169)](this,void 0x0),_Debuglet_blocklistManager[_0x52c756(0x169)](this,void 0x0),_Debuglet_redactionManager[_0x52c756(0x169)](this,void 0x0),_Debuglet_configProvider[_0x52c756(0x169)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this[_0x52c756(0x212)]=(0x0,normalizeConfig_1[_0x52c756(0x236)])(_0x55b5d3),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x52c756(0x230))](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x36ce82,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x52c756(0x1ac)]=agent_logger_1[_0x52c756(0x1de)][_0x52c756(0x186)](this['config']['agentLog'][_0x52c756(0x23d)],this['config'][_0x52c756(0x16c)]['agentLogMaxFileSizeMb'],this['config'][_0x52c756(0x16c)][_0x52c756(0x1ca)],this[_0x52c756(0x212)][_0x52c756(0x16c)][_0x52c756(0x139)],this[_0x52c756(0x212)]['agentLog'][_0x52c756(0x237)]),(0x0,config_1['logMainConfigParams'])(this[_0x52c756(0x212)],this[_0x52c756(0x1ac)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x52c756(0x180))](this[_0x52c756(0x1ac)])[_0x52c756(0x1d0)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x52c756(0x20a))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x52c756(0x212)],this[_0x52c756(0x1ac)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this['logger']),'f'),this['debuggee']=null,this[_0x52c756(0x13d)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x52c756(0x196))](this[_0x52c756(0x1ac)],this['config']),'f'),this[_0x52c756(0x197)]=new piping_manager_1[(_0x52c756(0x13f))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x52c756(0x212)]);}async['waitForTransmissionQueueDrain'](_0x4c7d7e){return __classPrivateFieldGet(this,_Debuglet_controller,'f')['waitForTransmissionQueueDrain'](_0x4c7d7e);}['getClientConnectionTimeoutInSeconds'](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async['waitForBreakpoints'](_0xadca9c){const _0x448e54=a18_0x3555c1,_0x453654=0x32;let _0x2f2605=null;const _0x306be8=()=>_0x2f2605=!![],_0x47314a=()=>_0x2f2605=![],_0x70ea4b=_0x14e463=>{if(_0x14e463)return;_0x306be8();};let _0x4dfccf=![];const _0x226e14=_0x3f6211=>{const _0x278be4=a18_0x641b;_0x4dfccf&&_0x47314a(),_0x4dfccf=!![],this[_0x278be4(0x189)]();};this[_0x448e54(0x1f4)](_0x448e54(0x1f0),_0x70ea4b),this['once'](_0x448e54(0x15d),_0x306be8);this[_0x448e54(0x212)]['internal']?.[_0x448e54(0x1a3)]&&(this['once']('registration_failed',_0x47314a),this['once'](_0x448e54(0x160),_0x47314a),this[_0x448e54(0x1f4)](_0x448e54(0x19b),_0x226e14));if(_0xadca9c){const _0x464d18=Date[_0x448e54(0x18b)]();while(_0x2f2605===null&&Date['now']()-_0x464d18<_0xadca9c){await(0x0,utils_1[_0x448e54(0x177)])(_0x453654);}}return this['removeListener']('breakpoints_fetched',_0x70ea4b),this['removeListener'](_0x448e54(0x15d),_0x306be8),this[_0x448e54(0x212)]['internal']?.[_0x448e54(0x1a3)]&&(this[_0x448e54(0x146)](_0x448e54(0x1f6),_0x47314a),this[_0x448e54(0x146)](_0x448e54(0x160),_0x47314a),this[_0x448e54(0x146)](_0x448e54(0x19b),_0x226e14)),_0x2f2605===!![];}[a18_0x3555c1(0x219)](){const _0x344aad=a18_0x3555c1;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x344aad(0x1ef)](this,0x0,!![]);}[a18_0x3555c1(0x187)](){const _0x369b40=a18_0x3555c1;return this[_0x369b40(0x1b9)]?.['id']!==undefined;}async[a18_0x3555c1(0x1a4)](_0x37b8d8,_0x2a872b){const _0x46d0ee=a18_0x3555c1,_0x4b0d44=_0x37b8d8[_0x46d0ee(0x1f7)],_0x91996d=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x46d0ee(0x132)](_0x4b0d44,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x46d0ee(0x1ef)](_a,_0x37b8d8[_0x46d0ee(0x184)][_0x46d0ee(0x155)](_0x46d0ee(0x1df))),_0x2a872b,_0x37b8d8[_0x46d0ee(0x215)]),_0x1e1633=_0x91996d[_0x46d0ee(0x1fe)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x46d0ee(0x1ef)](_a,_0x37b8d8[_0x46d0ee(0x184)])),_0x14093e=file_index_1[_0x46d0ee(0x1cd)][_0x46d0ee(0x207)](_0x1e1633),_0x340d63=_0x91996d[_0x46d0ee(0x14f)](/.js.map$/,process['cwd']()),_0x5b631f=_0x91996d['errors']();return{'mapFiles':_0x340d63,'errors':_0x5b631f,'jsFileIndex':_0x14093e,'hash':_0x91996d[_0x46d0ee(0x172)]};}async['start'](){const _0x4734aa=a18_0x3555c1,_0x4e4273=this[_0x4734aa(0x212)][_0x4734aa(0x1f7)];if(!this[_0x4734aa(0x212)]['allowRootAsWorkingDirectory']&&path['join'](_0x4e4273,'..')===_0x4e4273){const _0x1dc856=_0x4734aa(0x1c8)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x4734aa(0x1ad)+_0x4734aa(0x18e);this[_0x4734aa(0x1ac)][_0x4734aa(0x1ed)](_0x1dc856),this['emit'](_0x4734aa(0x151),new Error(_0x1dc856));return;}let _0x26a48b;process[_0x4734aa(0x1c3)][_0x4734aa(0x22e)]&&(_0x26a48b=_0x4734aa(0x1c1)+process[_0x4734aa(0x1c3)][_0x4734aa(0x22e)]);let _0x2928e1,_0xd0b2d0=_0x26a48b??'';try{_0x2928e1=await this['findFiles'](this[_0x4734aa(0x212)],_0x26a48b),_0x2928e1[_0x4734aa(0x1d1)]['forEach'](this['logger'][_0x4734aa(0x14a)]);}catch(_0x1fada2){this['logger']['error'](_0x4734aa(0x14d),_0x1fada2),this[_0x4734aa(0x214)](_0x4734aa(0x151),_0x1fada2);return;}try{const _0x242795=await SourceMapper[_0x4734aa(0x159)](this[_0x4734aa(0x1ac)],_0x2928e1[_0x4734aa(0x231)],this['config']['internal']?.[_0x4734aa(0x153)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x4734aa(0x159)](this[_0x4734aa(0x1ac)],this[_0x4734aa(0x212)],_0x2928e1[_0x4734aa(0x235)],_0x242795,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0xd0b2d0=_0x26a48b??_0x2928e1[_0x4734aa(0x172)];}catch(_0x4333ba){this['logger'][_0x4734aa(0x1ed)]('Error\x20processing\x20the\x20sourcemaps.',_0x4333ba),this['logger'][_0x4734aa(0x16d)](JSON[_0x4734aa(0x166)](_0x4333ba)),this[_0x4734aa(0x214)](_0x4734aa(0x151),_0x4333ba);}this[_0x4734aa(0x1ac)][_0x4734aa(0x16d)](_0x4734aa(0x204)+_0xd0b2d0);const _0x22a163=(0x0,utils_1[_0x4734aa(0x1d7)])(this['logger'])[_0x4734aa(0x148)]('\x0a','');this['logger'][_0x4734aa(0x16d)](_0x4734aa(0x1a9)+_0x22a163);let _0x241ea7;try{_0x241ea7=this[_0x4734aa(0x212)][_0x4734aa(0x1db)]||await _a[_0x4734aa(0x1f3)]();}catch{}this['logger']['info'](_0x4734aa(0x1bd)+process[_0x4734aa(0x149)]?.[_0x4734aa(0x161)]),this[_0x4734aa(0x1ac)][_0x4734aa(0x181)](_0x4734aa(0x19f)+_0x4e4273),this[_0x4734aa(0x1ac)][_0x4734aa(0x181)](_0x4734aa(0x144)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x4734aa(0x1b9)]=(0x0,createDebuggee_1[_0x4734aa(0x176)])(_0xd0b2d0,this['config'],_0x241ea7,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x4734aa(0x21d)],_0x22a163,this[_0x4734aa(0x1ac)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](this),this[_0x4734aa(0x189)](),this['emit'](_0x4734aa(0x1f9));}[a18_0x3555c1(0x220)](){const _0x3ebd62=a18_0x3555c1;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x3ebd62(0x198)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3ebd62(0x206)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3ebd62(0x206)]()[_0x3ebd62(0x152)](()=>{const _0x16c311=_0x3ebd62;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x16c311(0x1ef)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3ebd62(0x206)]();}}static async[a18_0x3555c1(0x1f3)](){const _0x31b00f=a18_0x3555c1,_0x4a6eb9=await readFilep(_0x31b00f(0x140),'utf8');try{return JSON[_0x31b00f(0x1f5)](_0x4a6eb9);}catch(_0x40aff7){throw new Error(_0x31b00f(0x1c0)+_0x40aff7);}}[a18_0x3555c1(0x189)](){const _0x255658=a18_0x3555c1;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x255658(0x1ef)](this,0x0);}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x3555c1(0x175)](){const _0x4fa880=a18_0x3555c1;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x4fa880(0x1ac)]['debug'](_0x4fa880(0x221));return;}this['logger']['debug']('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x4fa880(0x175)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x4fa880(0x214)](_0x4fa880(0x173));}[a18_0x3555c1(0x1d4)](_0xdffe8){const _0x459852=a18_0x3555c1;if(!this[_0x459852(0x1ac)]['isAtLeastInfo']())return _0xdffe8['id'];try{const _0x570c05=JSON['stringify'](_0xdffe8);if(_0x570c05[_0x459852(0x170)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x570c05;return _0x570c05[_0x459852(0x195)](0x0,BREAKPOINT_LOG_MAX_CHARS)+'...\x20[truncated]';}catch(_0x13e967){return this[_0x459852(0x1ac)][_0x459852(0x1ed)](_0x459852(0x192),_0x13e967),_0xdffe8['id'];}}[a18_0x3555c1(0x135)](_0x2c0b79){const _0x23a119=a18_0x3555c1,_0x1fb9d3=this[_0x23a119(0x1ac)][_0x23a119(0x1bc)]();if(_0x1fb9d3===_0x23a119(0x181))return;switch(_0x2c0b79){case _0x23a119(0x1a8):this[_0x23a119(0x1ac)][_0x23a119(0x191)]()!==_0x23a119(0x181)&&(this[_0x23a119(0x1ac)][_0x23a119(0x1ec)]('debug'),this[_0x23a119(0x1ac)][_0x23a119(0x181)](_0x23a119(0x14b)));break;case _0x23a119(0x12c):case undefined:this['logger']['getLevel']()===_0x23a119(0x181)&&(this[_0x23a119(0x1ac)][_0x23a119(0x1ec)](_0x1fb9d3),this['logger'][_0x23a119(0x16d)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20('+_0x1fb9d3+')'));break;default:this[_0x23a119(0x1ac)][_0x23a119(0x14a)](_0x23a119(0x233)+_0x2c0b79);}}}exports[a18_0x3555c1(0x1bb)]=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x5e9df1){const _0x39ec42=a18_0x3555c1;return new RegExp(_0x5e9df1[_0x39ec42(0x1a0)](_0x3772c1=>_0x3772c1+'$')[_0x39ec42(0x13e)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x465342=a18_0x3555c1,_0x1fc221=[_0x465342(0x1f2),_0x465342(0x158),'SIGQUIT'];_0x1fc221[_0x465342(0x222)](_0x5cb3ad=>{const _0x55eb67=_0x465342;process[_0x55eb67(0x1f4)](_0x5cb3ad,()=>{const _0x47d698=_0x55eb67;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x47d698(0x1b2)](this[_0x47d698(0x1b9)],()=>{const _0x13fcf9=_0x47d698;process[_0x13fcf9(0x1eb)](process['pid'],_0x5cb3ad);});});}),process['once'](_0x465342(0x18d),()=>{const _0x5be3dc=_0x465342;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5be3dc(0x1b2)](this[_0x5be3dc(0x1b9)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x47a40e){const _0x5a794a=a18_0x3555c1;this[_0x5a794a(0x1ac)][_0x5a794a(0x181)](_0x47a40e?'Scheduling\x20registration\x20in\x20'+_0x47a40e+'s':_0x5a794a(0x217));const _0x12f4dd=(_0x2d4d3f,_0x206c31,_0xea7998=![])=>{const _0x1fed08=_0x5a794a;this['emit']('registration_failed');const _0x456c15=this[_0x1fed08(0x1b9)]?.['id'],_0x206235=_0x456c15?'re-register\x20debuggee\x20'+_0x456c15:_0x1fed08(0x165),_0x300e03='Failed\x20to\x20'+_0x206235+':\x20'+(0x0,utils_1[_0x1fed08(0x12d)])(_0x2d4d3f);this[_0x1fed08(0x1ac)][_0x1fed08(0x1ed)](_0x300e03),_0x206c31&&!_0xea7998&&this['logger']['error'](_0x1fed08(0x1c4),_0x206c31),!this['config'][_0x1fed08(0x17a)]?.[_0x1fed08(0x1a3)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1fed08(0x1ef)](this,(0x0,utils_1['backoff'])(_0x47a40e,this[_0x1fed08(0x212)][_0x1fed08(0x17a)]['maxRequestRetryDelaySeconds']));};setTimeout(()=>{const _0x5bb680=_0x5a794a;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x12f4dd(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5bb680(0x189)](this[_0x5bb680(0x1b9)],(_0x3867fb,_0x589ba8,_0xa81393=![])=>{const _0x260fb7=_0x5bb680;if(_0x3867fb){_0x12f4dd(_0x3867fb,_0x589ba8,_0xa81393);return;}if(_0x589ba8['debuggee'][_0x260fb7(0x1e1)]){_0x12f4dd(new Error('Disabled\x20by\x20the\x20server')),this[_0x260fb7(0x214)]('remotelyDisabled');return;}const _0x413b03=_0x589ba8[_0x260fb7(0x1b9)]['id'];this['logger'][_0x260fb7(0x16d)](_0x260fb7(0x22a)+_0x413b03),this[_0x260fb7(0x1b9)]['id']=_0x413b03;const _0x27e8ba=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x260fb7(0x156)](this)(this[_0x260fb7(0x1b9)]['id'])];this['config']['redactionEnabled']&&_0x27e8ba[_0x260fb7(0x143)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x260fb7(0x156)](this)(this[_0x260fb7(0x1b9)]['id'])),Promise[_0x260fb7(0x16e)](_0x27e8ba)[_0x260fb7(0x152)](()=>{const _0x3baff8=_0x260fb7;this['emit']('registered',_0x413b03),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3baff8(0x198)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x3baff8(0x15a)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x589ba8?.[_0x3baff8(0x21a)],'f'),!this[_0x3baff8(0x21f)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3baff8(0x1ef)](this,0x0,this['config'][_0x3baff8(0x219)],_0x589ba8?.[_0x3baff8(0x21a)]);},_0x50079a=>{_0x12f4dd(_0x50079a);});});},_0x47a40e*0x3e8)[_0x5a794a(0x13a)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x2bf5b2,_0x13806f,_0x305228){const _0x49eea4=a18_0x3555c1;this[_0x49eea4(0x1ac)][_0x49eea4(0x181)](_0x49eea4(0x20e)+_0x2bf5b2+'\x20'+_0x13806f+'\x20'+_0x305228),!_0x13806f&&(this['fetcherActive']=!![]),setTimeout(()=>{const _0x79ae53=_0x49eea4;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x13806f&&assert(this[_0x79ae53(0x21f)]),this['logger'][_0x79ae53(0x181)](_0x79ae53(0x168)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x79ae53(0x1b7)](this['debuggee'],(_0x27a92a,_0x6df78c,_0x296cfc)=>{const _0x4e16d0=_0x79ae53;if(_0x296cfc?.[_0x4e16d0(0x194)]===0x194){this[_0x4e16d0(0x1ac)][_0x4e16d0(0x16d)](_0x4e16d0(0x239)),this['fetcherActive']=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x4e16d0(0x1ef)](this);this[_0x4e16d0(0x212)][_0x4e16d0(0x17a)]?.[_0x4e16d0(0x1a3)]?this[_0x4e16d0(0x214)](_0x4e16d0(0x19b)):this[_0x4e16d0(0x189)]();return;}if(_0x27a92a){if(this['config'][_0x4e16d0(0x17a)]?.['isLambda'])this['emit']('breakpoints_fetch_failed'),this[_0x4e16d0(0x1ac)][_0x4e16d0(0x1ed)]('\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20'+_0x296cfc?.['status']+'.\x20message:\x20'+_0x27a92a[_0x4e16d0(0x179)]);else{const _0x38eb9d=(0x0,utils_1['backoff'])(_0x2bf5b2,this[_0x4e16d0(0x212)][_0x4e16d0(0x17a)][_0x4e16d0(0x205)]);this[_0x4e16d0(0x1ac)][_0x4e16d0(0x1ed)](_0x4e16d0(0x199)+_0x296cfc?.[_0x4e16d0(0x194)]+_0x4e16d0(0x241)+_0x27a92a[_0x4e16d0(0x179)]+_0x4e16d0(0x131)+_0x38eb9d+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x38eb9d,_0x13806f,_0x305228);}return;}this[_0x4e16d0(0x1ac)][_0x4e16d0(0x181)]('\x09'+_0x296cfc[_0x4e16d0(0x194)]+_0x4e16d0(0x23f));if(!_0x6df78c){const _0x5d0ae9=this[_0x4e16d0(0x212)][_0x4e16d0(0x193)];this[_0x4e16d0(0x1ac)][_0x4e16d0(0x1ed)](_0x4e16d0(0x20c)+_0x5d0ae9+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4e16d0(0x1ef)](this,_0x5d0ae9,_0x13806f,_0x305228);return;}this[_0x4e16d0(0x135)](_0x6df78c['agentLogLevel']);if(_0x6df78c[_0x4e16d0(0x1b0)]){this[_0x4e16d0(0x1ac)]['info'](_0x4e16d0(0x19d)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x13806f,_0x305228);return;}if(_0x6df78c[_0x4e16d0(0x1b5)]&&_0x6df78c[_0x4e16d0(0x1b5)]!==_0x4e16d0(0x12c)){const _0x7f29db=this[_0x4e16d0(0x197)][_0x4e16d0(0x22d)];_0x7f29db!==_0x6df78c[_0x4e16d0(0x1b5)]&&(this[_0x4e16d0(0x1ac)]['debug'](_0x4e16d0(0x19e)+_0x7f29db+_0x4e16d0(0x1e8)+_0x6df78c['pipeLogs']),this[_0x4e16d0(0x197)][_0x4e16d0(0x22d)]=_0x6df78c[_0x4e16d0(0x1b5)]);}if(_0x6df78c['collectAndSendLog']&&_0x6df78c['collectLogRequestId']!==this[_0x4e16d0(0x13b)]){this[_0x4e16d0(0x13b)]=_0x6df78c[_0x4e16d0(0x13b)];const _0x28756c=this[_0x4e16d0(0x212)][_0x4e16d0(0x16c)][_0x4e16d0(0x23d)]&&path['join'](this[_0x4e16d0(0x212)]['agentLog'][_0x4e16d0(0x23d)],agent_logger_1[_0x4e16d0(0x1de)][_0x4e16d0(0x213)]);_0x28756c&&fs[_0x4e16d0(0x1aa)](_0x28756c)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4e16d0(0x1c9)](this[_0x4e16d0(0x1b9)],_0x6df78c[_0x4e16d0(0x13b)],_0x28756c)):this[_0x4e16d0(0x1ac)][_0x4e16d0(0x16d)](_0x4e16d0(0x20f)+_0x6df78c[_0x4e16d0(0x13b)]+_0x4e16d0(0x1f1)+_0x4e16d0(0x210));}const _0x453194=(_0x6df78c[_0x4e16d0(0x1b3)]||[])[_0x4e16d0(0x1a0)](_0x865bde=>new stackdriver_1[(_0x4e16d0(0x208))](_0x865bde))[_0x4e16d0(0x20b)](_0x9003d=>{const _0x103f52=_0x4e16d0,_0x3e5723=_0x9003d[_0x103f52(0x21e)]??'CAPTURE';if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x9003d['id']])return![];if(_0x3e5723!=='CAPTURE'&&_0x3e5723!=='LOG')return this[_0x103f52(0x1ac)]['warn'](_0x103f52(0x226),_0x3e5723),_0x9003d[_0x103f52(0x194)]=new status_message_1[(_0x103f52(0x23e))](status_message_1['StatusMessage'][_0x103f52(0x1c6)],utils_1[_0x103f52(0x1d1)][_0x103f52(0x162)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](this,_0x9003d),![];return!![];}),_0xb5865a=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](this);let _0x29249e=_0xb5865a[_0x4e16d0(0x170)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x4e16d0(0x1ef)](this,_0xb5865a),_0x29249e=_0x29249e||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x4e16d0(0x1ef)](this,_0x453194),this[_0x4e16d0(0x214)](_0x4e16d0(0x1f0),_0x453194[_0x4e16d0(0x170)]);_0x29249e&&this['logger'][_0x4e16d0(0x181)](formatBreakpoints(_0x4e16d0(0x1dd),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x4e16d0(0x18b)](),'f');_0x13806f?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4e16d0(0x198)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x13806f,_0x305228);return;},_0x305228);},_0x2bf5b2*0x3e8)[_0x49eea4(0x13a)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x4269bd=a18_0x3555c1;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4269bd(0x198)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x230658){const _0x269245=a18_0x3555c1,_0x7be54f=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)['call'](this,_0x230658);let _0x2ac139=![];return _0x230658[_0x269245(0x222)](_0x19a6f7=>{const _0x1a360b=_0x269245;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x19a6f7['id']]&&!this[_0x1a360b(0x13d)][_0x19a6f7['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](this,_0x19a6f7,_0x57b00b=>{const _0x1895cd=_0x1a360b;_0x57b00b&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1895cd(0x1ef)](this,_0x19a6f7,!![],![]);}),_0x2ac139=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x19a6f7['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1a360b(0x12f)](_0x19a6f7['id'],_0x19a6f7[_0x1a360b(0x171)]),this[_0x1a360b(0x197)][_0x1a360b(0x1e9)](_0x19a6f7['id'],_0x19a6f7[_0x1a360b(0x18c)]);}),(0x0,mapSubtract_1[_0x269245(0x1a5)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x7be54f)['forEach'](_0x126222=>{const {id:_0x1b4fdb}=_0x126222;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1b4fdb],_0x2ac139=!![];}),(0x0,mapSubtract_1[_0x269245(0x1a5)])(this[_0x269245(0x13d)],_0x7be54f)[_0x269245(0x222)](_0x46d740=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x46d740,!![]),_0x2ac139=!![];}),_0x2ac139&&this[_0x269245(0x1ac)]['debug'](formatBreakpoints(_0x269245(0x15b),_0x7be54f)),_0x2ac139;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x4f6ae2){const _0x54feea=a18_0x3555c1;return Object[_0x54feea(0x228)](_0x4f6ae2[_0x54feea(0x1a0)](_0x1d60f3=>[_0x1d60f3['id'],_0x1d60f3]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x209202,_0x35c8fd){const _0x53d270=a18_0x3555c1;this[_0x53d270(0x1ac)][_0x53d270(0x16d)](_0x53d270(0x185)+_0x209202['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x53d270(0x224)](_0x209202['id']),this[_0x53d270(0x197)]['removeBreakpoint'](_0x209202['id']),delete this[_0x53d270(0x13d)][_0x209202['id']],_0x35c8fd&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x209202,_0x37796a=>{const _0x492cf8=_0x53d270;if(_0x37796a)this[_0x492cf8(0x1ac)][_0x492cf8(0x1ed)](_0x37796a);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x369d9a,_0x22daf7){const _0x2f9921=a18_0x3555c1;this['logger'][_0x2f9921(0x16d)]('\x09adding\x20breakpoint',this[_0x2f9921(0x1d4)](_0x369d9a));if(!this[_0x2f9921(0x212)][_0x2f9921(0x163)]&&(_0x369d9a[_0x2f9921(0x1e2)]||_0x369d9a['expressions'])){this['logger'][_0x2f9921(0x1ed)](utils_1[_0x2f9921(0x1d1)][_0x2f9921(0x23c)][_0x2f9921(0x1b1)]??''),_0x369d9a[_0x2f9921(0x194)]=new status_message_1['StatusMessage'](status_message_1[_0x2f9921(0x23e)]['UNSPECIFIED'],utils_1['errors'][_0x2f9921(0x23c)],!![]),setImmediate(()=>{const _0x1093d6=_0x2f9921;_0x22daf7(utils_1['errors'][_0x1093d6(0x23c)]);});return;}const _0x13c8ea=_0x369d9a[_0x2f9921(0x18a)]?Number(_0x369d9a[_0x2f9921(0x18a)][_0x2f9921(0x203)]):Date[_0x2f9921(0x18b)]()/0x3e8,_0x5b0fee=_0x369d9a['expirationSeconds']??this[_0x2f9921(0x212)]['breakpointExpirationSec'];_0x369d9a['expirationTime']=_0x13c8ea+_0x5b0fee,_0x369d9a['location']?.[_0x2f9921(0x1e0)]&&(_0x369d9a[_0x2f9921(0x229)][_0x2f9921(0x1e0)]=path['normalize'](_0x369d9a[_0x2f9921(0x229)][_0x2f9921(0x1e0)]),path[_0x2f9921(0x240)]===path['posix'][_0x2f9921(0x240)]&&(_0x369d9a[_0x2f9921(0x229)][_0x2f9921(0x1e0)]=_0x369d9a[_0x2f9921(0x229)][_0x2f9921(0x1e0)][_0x2f9921(0x167)]('\x5c')[_0x2f9921(0x13e)](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x2f9921(0x169)](_0x369d9a,_0x5c0900=>{const _0x21c73b=_0x2f9921;if(_0x5c0900){_0x22daf7(_0x5c0900);return;}this[_0x21c73b(0x1ac)][_0x21c73b(0x16d)](_0x21c73b(0x1da)+_0x369d9a['id']),this[_0x21c73b(0x13d)][_0x369d9a['id']]=_0x369d9a,_0x369d9a[_0x21c73b(0x21e)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['log'](_0x369d9a,(_0x304aff,_0x3ec54f)=>{const _0x3269ef=_0x21c73b,_0x25a294=_0x3ec54f[_0x3269ef(0x1a0)](_0x2fa019=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3269ef(0x1ef)](this,_0x2fa019)),_0x325acf=(0x0,format_1[_0x3269ef(0x1d6)])(_0x304aff,_0x25a294),_0x4da348='LOGPOINT:\x20'+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3269ef(0x15e)](_0x325acf)??_0x325acf),_0x25a3b4=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3269ef(0x1a1)](_0x4da348,_0x369d9a['id']);if(_0x25a3b4){const _0x73ec83=_0x25a3b4['message'],{isOutOfQuota:_0x5adfb8}=_0x25a3b4;let _0x46f64a,_0x5f5c4e;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3269ef(0x15c)]()&&!_0x5adfb8&&(_0x46f64a=_0x3269ef(0x154)+_0x304aff,_0x5f5c4e=_0x25a294);this[_0x3269ef(0x197)][_0x3269ef(0x1cf)](this[_0x3269ef(0x1b9)],_0x369d9a['id'],_0x73ec83,_0x369d9a['logLevel'],_0x46f64a,_0x5f5c4e);if(_0x5adfb8)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x3269ef(0x22b)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x17336d=_0x3269ef;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x17336d(0x223)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x3269ef(0x212)][_0x3269ef(0x218)][_0x3269ef(0x1a6)]*0x3e8),'f');else _0x73ec83?.[_0x3269ef(0x170)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x369d9a['id']],_0x2b4f00=>{const _0x113dad=_0x21c73b;if(_0x2b4f00){this[_0x113dad(0x1ac)][_0x113dad(0x1ed)](_0x2b4f00),_0x22daf7(_0x2b4f00);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x21c73b(0x202)](_0x369d9a,_0x3c2dde=>{const _0x31d0be=_0x21c73b;if(_0x3c2dde){setImmediate(()=>{const _0x1e3aca=a18_0x641b;this['logger'][_0x1e3aca(0x1ed)](_0x3c2dde),_0x22daf7(_0x3c2dde);});return;}this['logger'][_0x31d0be(0x16d)](_0x31d0be(0x216)+_0x369d9a['id'],_0x369d9a[_0x31d0be(0x229)]?.['path'],_0x369d9a[_0x31d0be(0x229)]?.['line']),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x31d0be(0x1ef)](this,_0x369d9a,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x31d0be(0x164)](_0x369d9a['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x21c73b(0x1ef)](this,_0x369d9a);}),this[_0x2f9921(0x214)](_0x2f9921(0x15d));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x28d395,_0x5ce5d7,_0x2081d4=!![]){const _0x130d93=a18_0x3555c1;if(_0x28d395[_0x130d93(0x194)]?.[_0x130d93(0x16b)]){let _0x5dc840=_0x28d395['status']?.[_0x130d93(0x1b1)]?.[_0x130d93(0x1d6)]||'';_0x28d395[_0x130d93(0x194)]?.[_0x130d93(0x1b1)]?.[_0x130d93(0x136)]&&(_0x5dc840+=':\x20'+_0x28d395[_0x130d93(0x194)]?.[_0x130d93(0x1b1)]?.[_0x130d93(0x136)][_0x130d93(0x1ae)]()),this[_0x130d93(0x1ac)][_0x130d93(0x14a)](_0x130d93(0x1d8)+_0x28d395+_0x130d93(0x232)+_0x5dc840);}else this[_0x130d93(0x1ac)][_0x130d93(0x16d)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',this[_0x130d93(0x1d4)](_0x28d395));_0x5ce5d7&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x28d395['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x130d93(0x1ef)](this,_0x28d395,_0x2081d4)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x130d93(0x1ba)](this[_0x130d93(0x1b9)],extend(!![],{},_0x28d395));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x1daa97){const _0xb326e7=a18_0x3555c1;this[_0xb326e7(0x1ac)][_0xb326e7(0x181)]('reporting\x20breakpoint\x20'+_0x1daa97+_0xb326e7(0x234));const _0x3ce286=extend(!![],{},_0x1daa97);_0x3ce286['isFinalState']=![],_0x3ce286[_0xb326e7(0x194)]=new status_message_1[(_0xb326e7(0x23e))](status_message_1[_0xb326e7(0x23e)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0xb326e7(0x1b9)],_0x3ce286);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x423e6a){const _0x5deecc=a18_0x3555c1;this[_0x5deecc(0x1ac)][_0x5deecc(0x16d)](_0x5deecc(0x1ee)+_0x423e6a),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x423e6a['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5deecc(0x1ba)](this[_0x5deecc(0x1b9)],_0x423e6a);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x1997fb){const _0x328cd1=a18_0x3555c1;_0x1997fb[_0x328cd1(0x222)](_0x51d94a=>{const _0xd2be7b=_0x328cd1;this[_0xd2be7b(0x1ac)]['info'](_0xd2be7b(0x1c2)+_0x51d94a['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x51d94a['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x51d94a,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x53a16a=a18_0x3555c1,_0x34b83f=Date[_0x53a16a(0x18b)]()/0x3e8;return Object[_0x53a16a(0x17c)](this[_0x53a16a(0x13d)])[_0x53a16a(0x20b)](_0x1fa270=>_0x1fa270[_0x53a16a(0x182)]?_0x1fa270['expirationTime']<_0x34b83f:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x36124c){const _0x98446e=a18_0x3555c1,_0x13e130=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x98446e(0x1b8)](_0x36124c),_0x1597b7=_0x13e130[_0x98446e(0x142)],_0x4bf131=_0x13e130[_0x98446e(0x1fb)];_0x1597b7?.[_0x98446e(0x170)]&&this[_0x98446e(0x1ac)][_0x98446e(0x181)](_0x98446e(0x1cc),_0x1597b7['join']('\x0a\x09')),_0x4bf131?.[_0x98446e(0x170)]&&this['logger'][_0x98446e(0x181)](_0x98446e(0x145),_0x4bf131[_0x98446e(0x13e)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x98446e(0x1fd))](_0x1597b7,_0x4bf131,this[_0x98446e(0x212)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x369bc1){const _0x128585=a18_0x3555c1,_0x420909=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x128585(0x190)](_0x369bc1);_0x420909?.['length']&&this[_0x128585(0x1ac)]['debug'](_0x128585(0x1cb),_0x420909[_0x128585(0x1a0)](_0xbe972=>'name:\x20'+_0xbe972[_0x128585(0x21c)]+_0x128585(0x14c)+_0xbe972[_0x128585(0x19a)]+_0x128585(0x23b)+_0xbe972[_0x128585(0x138)]+_0x128585(0x1b4)+_0xbe972[_0x128585(0x133)])['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1['RedactionManagerRE2JS'](this[_0x128585(0x1ac)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x128585(0x174)](_0x420909);},_Debuglet_stringify=function _Debuglet_stringify(_0x5ccf35){const _0x48d86c=a18_0x3555c1;if(!_0x5ccf35)return JSON[_0x48d86c(0x166)](_0x5ccf35,(_0x398e2b,_0x327390)=>_0x327390===undefined?'undefined':_0x327390);if(Array[_0x48d86c(0x17d)](_0x5ccf35)){const _0x5d317b=_0x5ccf35['map'](_0x5bd08a=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x48d86c(0x1ef)](this,_0x5bd08a));return'['+_0x5d317b[_0x48d86c(0x13e)](',\x20')+']';}if(typeof _0x5ccf35==='object'){const _0x5d2110=Object[_0x48d86c(0x1e4)](_0x5ccf35)[_0x48d86c(0x1a0)](([_0x15014a,_0x2a9be6])=>{const _0xecddbe=_0x48d86c,_0x47eafb=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x15014a)?redaction_manager_1[_0xecddbe(0x1be)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0xecddbe(0x1ef)](this,_0x2a9be6);return JSON[_0xecddbe(0x166)](_0x15014a)+':\x20'+_0x47eafb;})[_0x48d86c(0x13e)](',\x20');return'{'+_0x5d2110+'}';}return JSON[_0x48d86c(0x166)](_0x5ccf35);});
|
|
1
|
+
const a18_0x2b1000=a18_0x1ea4;function a18_0x225d(){const _0x43f0bd=['CAPTURE','map','disable','source-context.json','\x09adding\x20breakpoint','isDisabled','Initializing\x20Node.js\x20agent\x20version:\x20','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','logger','386639wmbLkl','fromFileStats','action','Unknown\x20agentLogLevel\x20','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','./config','PatternsBlocklistManager','hash','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','packageInfo','\x09remove\x20breakpoint\x20id\x20','./io/sourcemapper','filename','\x09Long\x20poll\x20completed.','allowRootAsWorkingDirectory','RedactionManagerRE2JS','enable','apply','./io/file-index','agentLogLevel','posix','collectAndSendLog','../client/stackdriver/status-message','debug','isFinalState','.\x20message:\x20','logLevel','unref','CachedPromise','isRegistered','resolve','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','Found\x20breakpoint\x20with\x20invalid\x20action:','expressions','breakpointExpirationSec','stringify','blacklist','APP_ONLY','stdErrThreshold','has','search','waitForBreakpoints','breakpoint_set','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','\x09successfully\x20added\x20breakpoint\x20id\x20','stringifyBreakpointForInfoLog','bind','getSourceContextFromFile','mainModule','.\x20Retrying\x20in\x20','name','readFile','./reduction/redaction-manager-re2js','defineProperty','breakpoints_fetch_registration_required','agentLogTargetDir','92464tOyEwy','existsSync','\x09Got\x20error\x20from\x20server.\x20status:\x20','Registering\x20debuggee','Debuggee\x20is\x20not\x20registered','breakpoints','function','fetcherActive','isArray','./quota-manager','forEach','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','isAtLeastInfo','mapFiles','allowExpressions','GAE_MINOR_VERSION','error','\x20(type:\x20','parse','createPerBreakpointConditionQuota','expirationTime','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','normalizeConfig','199644PVeshI','registered','call','clear','stopped','1902cMBExn','findFiles','javascriptFileExtensions','caseInsensitive','extraPaths','(((.+)+)+)+$','warn','./debuglet-helpers/mapSubtract','split','UNSPECIFIED','__classPrivateFieldGet','inspect','7645EvAtzv','./io/scanner','SIGQUIT','jsFileIndex','createDebuggee','Scheduling\x20registration\x20in\x20','REDACTED_PLACEHOLDER','./reduction/redaction-manager','./configuration-provider','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','30HWneuR','toString','clientConnectionTimeoutInSeconds','readFullVersion','sep','203HApnNu','Blacklist:\x20\x0a\x09','value','do\x20this.','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','get','parameters','initError','cwd','waitExpired','info','deregister','Error\x20processing\x20the\x20sourcemaps.','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','removeBreakpoint','values','setIgnoreQuota','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','Working\x20directory:\x20','replaceRedactedByValue','Failed\x20to\x20','1903557oJhead','breakpointUpdateIntervalSec','debuglet','isError','default','listBreakpoints','internal','NOT_SET','./util/utils','setPipingStatus','backoff','promise','concat','scheduleBreakpointFetch_\x20','breakpoints_fetched','getInitialLevel','Malformed\x20source-context.json\x20file:\x20','./agent-logger','2728935VzCxut','name:\x20','agentLog','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','\x20completed.','createTime','Private\x20method\x20is\x20not\x20writable','format','Stopping\x20Debuglet','\x20because\x20','globalPipingStatus','PipingManager','./environment-metadata','blacklist_exception','prettyError','message','now','quota','length','getLevel','stop','fetchBreakpointsOnce','activeBreakpointMap','1174104STFCzV','env','Result:\x20\x0a','Breakpoint','fromEntries','kill','undefined','agentLogMaxFileSizeMb','Starting\x20debuggee','removeListener','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','reporting\x20breakpoint\x20','waitForTransmissionQueueDrain','log','replace','then','DEBUG','isReady','path','join','beforeExit','./debuglet-helpers/normalizeConfig','isLambda','once','description','create','seconds','emit','./blocklisting/patterns-blocklist-manager','sendAgentLogsToServer','isRunning','maxRequestRetryDelaySeconds','):\x20pattern:\x20','...\x20[truncated]','LOGPOINT:\x20','Blacklist\x20Exceptions:\x20\x0a\x09','remotelyDisabled','location','Error\x20scanning\x20the\x20filesystem.','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','\x0a\x09condition:\x20','EnvironmentMetadata','isRedactionActive','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','errors','add','condition','setBlocklistManager','Debuglet','collectLogRequestId','./debuglet-helpers/createDebuggee','.\x20Error:\x20','shouldRedactByName','constructor','pipingManager','Controller','all','promiseResolve','./piping-manager','Active\x20Breakpoints:\x20\x0a','breakpoints_fetch_failed','Redactions:\x20\x0a\x09','re-register\x20debuggee\x20','debuggee','Scanner','logMainConfigParams','enqueueBreakpointUpdate','getProps','status','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','getClientConnectionTimeoutInSeconds','Server\x20breakpoints:\x0a','isReadyManager','\x20to\x20','StatusMessage','register','Debuglet\x20not\x20running','register\x20debuggee','Disabled\x20by\x20the\x20server','normalize','pipeLogs','started','extend','ALLOW_EXPRESSIONS_MESSAGE','setPatterns','quotaRecoverySeconds','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','sourceMapDiagnostics','LOG','substring','config','QuotaManager','registration_failed','setLevel','EventEmitter','filter','SIGINT','setCustomLogLevel','waitFor','promisify','./v8/debugapi','type','Unique\x20ID\x20for\x20this\x20Application:\x20','set','events'];a18_0x225d=function(){return _0x43f0bd;};return a18_0x225d();}(function(_0x29be4b,_0xec2b1f){const _0x28534e=a18_0x1ea4,_0xd0ed5d=_0x29be4b();while(!![]){try{const _0x2f3fef=parseInt(_0x28534e(0x13d))/0x1+parseInt(_0x28534e(0x18c))/0x2+-parseInt(_0x28534e(0xa2))/0x3+-parseInt(_0x28534e(0xcb))/0x4+-parseInt(_0x28534e(0x19d))/0x5*(parseInt(_0x28534e(0x191))/0x6)+parseInt(_0x28534e(0x1ac))/0x7*(parseInt(_0x28534e(0x175))/0x8)+-parseInt(_0x28534e(0xb4))/0x9*(-parseInt(_0x28534e(0x1a7))/0xa);if(_0x2f3fef===_0xec2b1f)break;else _0xd0ed5d['push'](_0xd0ed5d['shift']());}catch(_0x3c6dbd){_0xd0ed5d['push'](_0xd0ed5d['shift']());}}}(a18_0x225d,0x4dc56));const a18_0x17d9df=(function(){let _0x68f933=!![];return function(_0x418324,_0x2ab422){const _0x114b94=_0x68f933?function(){const _0x3b15fe=a18_0x1ea4;if(_0x2ab422){const _0x16e5de=_0x2ab422[_0x3b15fe(0x14e)](_0x418324,arguments);return _0x2ab422=null,_0x16e5de;}}:function(){};return _0x68f933=![],_0x114b94;};}()),a18_0x5616ff=a18_0x17d9df(this,function(){const _0x58114=a18_0x1ea4;return a18_0x5616ff['toString']()[_0x58114(0x165)](_0x58114(0x196))[_0x58114(0x1a8)]()[_0x58114(0x100)](a18_0x5616ff)[_0x58114(0x165)](_0x58114(0x196));});a18_0x5616ff();'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x165d9f,_0x55a636,_0x33a108,_0x435ee1,_0x231db0){const _0x22da77=a18_0x1ea4;if(_0x435ee1==='m')throw new TypeError(_0x22da77(0xba));if(_0x435ee1==='a'&&!_0x231db0)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x55a636===_0x22da77(0x17b)?_0x165d9f!==_0x55a636||!_0x231db0:!_0x55a636[_0x22da77(0x164)](_0x165d9f))throw new TypeError(_0x22da77(0xf6));return _0x435ee1==='a'?_0x231db0['call'](_0x165d9f,_0x33a108):_0x231db0?_0x231db0[_0x22da77(0x1ae)]=_0x33a108:_0x55a636['set'](_0x165d9f,_0x33a108),_0x33a108;},__classPrivateFieldGet=this&&this[a18_0x2b1000(0x19b)]||function(_0x7e7aaa,_0x3cef22,_0xa43e44,_0x400616){const _0x503631=a18_0x2b1000;if(_0xa43e44==='a'&&!_0x400616)throw new TypeError(_0x503631(0x110));if(typeof _0x3cef22===_0x503631(0x17b)?_0x7e7aaa!==_0x3cef22||!_0x400616:!_0x3cef22['has'](_0x7e7aaa))throw new TypeError(_0x503631(0x1bd));return _0xa43e44==='m'?_0x400616:_0xa43e44==='a'?_0x400616['call'](_0x7e7aaa):_0x400616?_0x400616[_0x503631(0x1ae)]:_0x3cef22[_0x503631(0x1b1)](_0x7e7aaa);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x2b1000(0x172)](exports,'__esModule',{'value':!![]}),exports['Debuglet']=exports[a18_0x2b1000(0x159)]=void 0x0;const assert=require('assert'),events_1=require(a18_0x2b1000(0x133)),extend=require(a18_0x2b1000(0x11d)),fs=require('fs'),path=require(a18_0x2b1000(0xdd)),util=require('util'),status_message_1=require(a18_0x2b1000(0x153)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a18_0x2b1000(0xb3)),patterns_blocklist_manager_1=require(a18_0x2b1000(0xe7)),config_1=require(a18_0x2b1000(0x142)),configuration_provider_1=require(a18_0x2b1000(0x1a5)),controller_1=require('./controller'),createDebuggee_1=require(a18_0x2b1000(0xfd)),format_1=require('./debuglet-helpers/format'),mapSubtract_1=require(a18_0x2b1000(0x198)),normalizeConfig_1=require(a18_0x2b1000(0xe0)),environment_metadata_1=require(a18_0x2b1000(0xc0)),file_index_1=require(a18_0x2b1000(0x14f)),scanner_1=require(a18_0x2b1000(0x19e)),SourceMapper=require(a18_0x2b1000(0x148)),piping_manager_1=require(a18_0x2b1000(0x105)),quota_manager_1=require(a18_0x2b1000(0x17e)),redaction_manager_1=require(a18_0x2b1000(0x1a4)),utils_1=require(a18_0x2b1000(0xaa)),debugapi=require(a18_0x2b1000(0x12f)),redaction_manager_re2js_1=require(a18_0x2b1000(0x171)),readFilep=util[a18_0x2b1000(0x12e)](fs[a18_0x2b1000(0x170)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x1c13d5,_0x4ec313)=>{const _0x4d555b=a18_0x2b1000;let _0x73c855=_0x1c13d5+util[_0x4d555b(0xbb)](_0x4d555b(0xb7),_0x4ec313['id'],_0x4ec313[_0x4d555b(0x13f)],util['inspect'](_0x4ec313[_0x4d555b(0xf0)]));if(_0x4ec313[_0x4d555b(0xb9)]){const _0x460ffc=Number(_0x4ec313[_0x4d555b(0xb9)][_0x4d555b(0xe5)]),_0x24f659=new Date(_0x460ffc*0x3e8);_0x73c855+='\x0a\x09createdTime:\x20'+_0x24f659['toString']();}return _0x4ec313[_0x4d555b(0xf9)]&&(_0x73c855+=_0x4d555b(0xf3)+util[_0x4d555b(0x19c)](_0x4ec313[_0x4d555b(0xf9)])),_0x4ec313['expressions']&&(_0x73c855+='\x0a\x09expressions:\x20'+util['inspect'](_0x4ec313[_0x4d555b(0x15e)])),_0x73c855;},formatBreakpoints=(_0x46f792,_0x3b5851)=>_0x46f792+Object['keys'](_0x3b5851)[a18_0x2b1000(0x135)](_0x17981b=>formatBreakpoint('',_0x3b5851[_0x17981b]))[a18_0x2b1000(0xde)]('\x0a');function a18_0x1ea4(_0x177a42,_0xd83eca){const _0x5c5af7=a18_0x225d();return a18_0x1ea4=function(_0x5616ff,_0x17d9df){_0x5616ff=_0x5616ff-0x9f;let _0x225d3d=_0x5c5af7[_0x5616ff];return _0x225d3d;},a18_0x1ea4(_0x177a42,_0xd83eca);}class CachedPromise{constructor(){const _0x307b6a=a18_0x2b1000;this[_0x307b6a(0x104)]=null,this[_0x307b6a(0xad)]=new Promise(_0x366834=>{const _0x2772bd=_0x307b6a;this[_0x2772bd(0x104)]=_0x366834;});}['get'](){return this['promise'];}['resolve'](){const _0x2b4249=a18_0x2b1000;this[_0x2b4249(0x104)]&&(this['promiseResolve'](),this[_0x2b4249(0x104)]=null);}}exports[a18_0x2b1000(0x159)]=CachedPromise;class IsReadyImpl{constructor(_0x3d99d6){const _0x15b3a5=a18_0x2b1000;this[_0x15b3a5(0xa4)]=_0x3d99d6;}['isReady'](){const _0x311d20=a18_0x2b1000;return this[_0x311d20(0xa4)][_0x311d20(0xdc)]();}}class Debuglet extends events_1[a18_0x2b1000(0x129)]{constructor(_0x167aad,_0x7b4ac3){const _0x443781=a18_0x2b1000;super(),_Debuglet_instances[_0x443781(0xf8)](this),_Debuglet_debug[_0x443781(0x132)](this,void 0x0),_Debuglet_v8debug[_0x443781(0x132)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller[_0x443781(0x132)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x443781(0x132)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered[_0x443781(0x132)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x443781(0x132)](this,null),this[_0x443781(0x113)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x443781(0x132)](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager[_0x443781(0x132)](this,void 0x0),_Debuglet_blocklistManager[_0x443781(0x132)](this,void 0x0),_Debuglet_redactionManager[_0x443781(0x132)](this,void 0x0),_Debuglet_configProvider[_0x443781(0x132)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x443781(0x132)](this,void 0x0),this[_0x443781(0x125)]=(0x0,normalizeConfig_1[_0x443781(0x18b)])(_0x7b4ac3),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x167aad,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x443781(0x17c)]=![],this[_0x443781(0x13c)]=agent_logger_1[_0x443781(0xa6)]['createLogger'](this['config'][_0x443781(0xb6)][_0x443781(0x174)],this[_0x443781(0x125)][_0x443781(0xb6)][_0x443781(0xd2)],this[_0x443781(0x125)][_0x443781(0xb6)]['agentLogMaxFileCount'],this[_0x443781(0x125)][_0x443781(0xb6)][_0x443781(0x150)],this[_0x443781(0x125)][_0x443781(0xb6)][_0x443781(0x163)]),(0x0,config_1[_0x443781(0x10c)])(this[_0x443781(0x125)],this[_0x443781(0x13c)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x443781(0xf4))](this[_0x443781(0x13c)])[_0x443781(0x10e)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x443781(0x102))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x443781(0x125)],this[_0x443781(0x13c)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x443781(0x10b))](this[_0x443781(0x13c)]),'f'),this[_0x443781(0x10a)]=null,this[_0x443781(0xca)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x443781(0x126))](this['logger'],this[_0x443781(0x125)]),'f'),this[_0x443781(0x101)]=new piping_manager_1[(_0x443781(0xbf))](_0x443781(0x162),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x443781(0x125)]);}async[a18_0x2b1000(0xd7)](_0x35d763){const _0x5899e8=a18_0x2b1000;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5899e8(0xd7)](_0x35d763);}[a18_0x2b1000(0x111)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x2b1000(0x166)](_0x1d78c5){const _0x587d33=a18_0x2b1000,_0x24d75c=0x32;let _0x3e07d2=null;const _0x232d34=()=>_0x3e07d2=!![],_0x40d4ba=()=>_0x3e07d2=![],_0x299ae6=_0x4d0823=>{if(_0x4d0823)return;_0x232d34();};let _0x919133=![];const _0x5d75ae=_0x3673a4=>{const _0x45ed22=a18_0x1ea4;_0x919133&&_0x40d4ba(),_0x919133=!![],this[_0x45ed22(0x116)]();};this['once'](_0x587d33(0xb0),_0x299ae6),this[_0x587d33(0xe2)](_0x587d33(0x167),_0x232d34);this['config'][_0x587d33(0xa8)]?.[_0x587d33(0xe1)]&&(this[_0x587d33(0xe2)]('registration_failed',_0x40d4ba),this[_0x587d33(0xe2)](_0x587d33(0x107),_0x40d4ba),this[_0x587d33(0xe2)](_0x587d33(0x173),_0x5d75ae));if(_0x1d78c5){const _0x189f00=Date[_0x587d33(0xc4)]();while(_0x3e07d2===null&&Date[_0x587d33(0xc4)]()-_0x189f00<_0x1d78c5){await(0x0,utils_1[_0x587d33(0x12d)])(_0x24d75c);}}return this['removeListener'](_0x587d33(0xb0),_0x299ae6),this[_0x587d33(0xd4)](_0x587d33(0x167),_0x232d34),this[_0x587d33(0x125)]['internal']?.[_0x587d33(0xe1)]&&(this[_0x587d33(0xd4)](_0x587d33(0x127),_0x40d4ba),this[_0x587d33(0xd4)](_0x587d33(0x107),_0x40d4ba),this[_0x587d33(0xd4)](_0x587d33(0x173),_0x5d75ae)),_0x3e07d2===!![];}[a18_0x2b1000(0xc9)](){const _0x2cf0c8=a18_0x2b1000;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2cf0c8(0x18e)](this,0x0,!![]);}[a18_0x2b1000(0x15a)](){const _0x11acfb=a18_0x2b1000;return this[_0x11acfb(0x10a)]?.['id']!==undefined;}async[a18_0x2b1000(0x192)](_0x1f9924,_0x3be38a){const _0x20fe31=a18_0x2b1000,_0xbc62c4=_0x1f9924['workingDirectory'],_0x34ec5d=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0xbc62c4,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x20fe31(0x18e)](_a,_0x1f9924[_0x20fe31(0x193)][_0x20fe31(0xae)]('js.map')),_0x3be38a,_0x1f9924[_0x20fe31(0x195)]),_0x229f46=_0x34ec5d['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x20fe31(0x18e)](_a,_0x1f9924[_0x20fe31(0x193)])),_0x472435=file_index_1['FileIndex'][_0x20fe31(0x13e)](_0x229f46),_0x2b2605=_0x34ec5d['selectFiles'](/.js.map$/,process[_0x20fe31(0x1b4)]()),_0x3fc095=_0x34ec5d['errors']();return{'mapFiles':_0x2b2605,'errors':_0x3fc095,'jsFileIndex':_0x472435,'hash':_0x34ec5d[_0x20fe31(0x144)]};}async['start'](){const _0x175b5b=a18_0x2b1000,_0x5a8370=this[_0x175b5b(0x125)]['workingDirectory'];if(!this[_0x175b5b(0x125)][_0x175b5b(0x14b)]&&path[_0x175b5b(0xde)](_0x5a8370,'..')===_0x5a8370){const _0xe1a8d0=_0x175b5b(0x168)+_0x175b5b(0x141)+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+_0x175b5b(0x1af);this[_0x175b5b(0x13c)][_0x175b5b(0x185)](_0xe1a8d0),this[_0x175b5b(0xe6)](_0x175b5b(0x1b3),new Error(_0xe1a8d0));return;}let _0x539220;process[_0x175b5b(0xcc)][_0x175b5b(0x184)]&&(_0x539220='GAE-'+process[_0x175b5b(0xcc)][_0x175b5b(0x184)]);let _0x316251,_0x3e3239=_0x539220??'';try{_0x316251=await this['findFiles'](this['config'],_0x539220),_0x316251['errors'][_0x175b5b(0x17f)](this['logger'][_0x175b5b(0x197)]);}catch(_0xc1d67c){this[_0x175b5b(0x13c)]['error'](_0x175b5b(0xf1),_0xc1d67c),this[_0x175b5b(0xe6)]('initError',_0xc1d67c);return;}try{const _0x245bc4=await SourceMapper[_0x175b5b(0xe4)](this['logger'],_0x316251[_0x175b5b(0x182)],this['config'][_0x175b5b(0xa8)]?.[_0x175b5b(0x122)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x175b5b(0xe4)](this[_0x175b5b(0x13c)],this['config'],_0x316251[_0x175b5b(0x1a0)],_0x245bc4,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x3e3239=_0x539220??_0x316251[_0x175b5b(0x144)];}catch(_0x4758c4){this[_0x175b5b(0x13c)][_0x175b5b(0x185)](_0x175b5b(0x1b8),_0x4758c4),this['logger'][_0x175b5b(0x1b6)](JSON[_0x175b5b(0x160)](_0x4758c4)),this[_0x175b5b(0xe6)](_0x175b5b(0x1b3),_0x4758c4);}this[_0x175b5b(0x13c)][_0x175b5b(0x1b6)](_0x175b5b(0x131)+_0x3e3239);const _0x39c46c=(0x0,utils_1[_0x175b5b(0x1aa)])(this[_0x175b5b(0x13c)])[_0x175b5b(0xd9)]('\x0a','');this[_0x175b5b(0x13c)][_0x175b5b(0x1b6)](_0x175b5b(0x13a)+_0x39c46c);let _0x4737e1;try{_0x4737e1=this[_0x175b5b(0x125)]['sourceContext']||await _a[_0x175b5b(0x16c)]();}catch{}this['logger'][_0x175b5b(0x1b6)](_0x175b5b(0x15c)+process[_0x175b5b(0x16d)]?.[_0x175b5b(0x149)]),this['logger'][_0x175b5b(0x154)](_0x175b5b(0x9f)+_0x5a8370),this[_0x175b5b(0x13c)]['debug'](_0x175b5b(0xd3)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x175b5b(0x10a)]=(0x0,createDebuggee_1[_0x175b5b(0x1a1)])(_0x3e3239,this[_0x175b5b(0x125)],_0x4737e1,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x175b5b(0x146)],_0x39c46c,this[_0x175b5b(0x13c)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x175b5b(0x18e)](this),this[_0x175b5b(0x116)](),this[_0x175b5b(0xe6)](_0x175b5b(0x11c));}[a18_0x2b1000(0xdc)](){const _0x358545=a18_0x2b1000;if(Date[_0x358545(0xc4)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x358545(0x15b)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x358545(0x1b1)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x358545(0x1b1)]()[_0x358545(0xda)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async['getSourceContextFromFile'](){const _0x5da5a8=a18_0x2b1000,_0x7b8eae=await readFilep(_0x5da5a8(0x137),'utf8');try{return JSON[_0x5da5a8(0x187)](_0x7b8eae);}catch(_0x43517d){throw new Error(_0x5da5a8(0xb2)+_0x43517d);}}[a18_0x2b1000(0x116)](){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);}[a18_0x2b1000(0xe9)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x2b1000(0xc8)](){const _0x405f43=a18_0x2b1000;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this['logger'][_0x405f43(0x154)](_0x405f43(0x18a));return;}this[_0x405f43(0x13c)][_0x405f43(0x154)](_0x405f43(0xbc)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x405f43(0xc8)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x405f43(0xe6)](_0x405f43(0x190));}['stringifyBreakpointForInfoLog'](_0x446f83){const _0x53b076=a18_0x2b1000;if(!this[_0x53b076(0x13c)][_0x53b076(0x181)]())return _0x446f83['id'];try{const _0x472daa=JSON[_0x53b076(0x160)](_0x446f83);if(_0x472daa['length']<=BREAKPOINT_LOG_MAX_CHARS)return _0x472daa;return _0x472daa[_0x53b076(0x124)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x53b076(0xec);}catch(_0x2deb36){return this[_0x53b076(0x13c)][_0x53b076(0x185)](_0x53b076(0x180),_0x2deb36),_0x446f83['id'];}}[a18_0x2b1000(0x12c)](_0x24d081){const _0x3d4027=a18_0x2b1000,_0x4a2287=this[_0x3d4027(0x13c)][_0x3d4027(0xb1)]();if(_0x4a2287==='debug')return;switch(_0x24d081){case _0x3d4027(0xdb):this[_0x3d4027(0x13c)][_0x3d4027(0xc7)]()!=='debug'&&(this[_0x3d4027(0x13c)][_0x3d4027(0x128)](_0x3d4027(0x154)),this[_0x3d4027(0x13c)][_0x3d4027(0x154)](_0x3d4027(0x1a6)));break;case _0x3d4027(0xa9):case undefined:this[_0x3d4027(0x13c)][_0x3d4027(0xc7)]()===_0x3d4027(0x154)&&(this['logger'][_0x3d4027(0x128)](_0x4a2287),this[_0x3d4027(0x13c)][_0x3d4027(0x1b6)](_0x3d4027(0xd5)+_0x4a2287+')'));break;default:this[_0x3d4027(0x13c)][_0x3d4027(0x197)](_0x3d4027(0x140)+_0x24d081);}}}exports[a18_0x2b1000(0xfb)]=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x170d0f){const _0x1ab86f=a18_0x2b1000;return new RegExp(_0x170d0f[_0x1ab86f(0x135)](_0x3ac88e=>_0x3ac88e+'$')[_0x1ab86f(0xde)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0xdd1229=a18_0x2b1000,_0x65a9ca=['SIGTERM',_0xdd1229(0x12b),_0xdd1229(0x19f)];_0x65a9ca[_0xdd1229(0x17f)](_0x5d5d5c=>{const _0x32cf18=_0xdd1229;process[_0x32cf18(0xe2)](_0x5d5d5c,()=>{const _0x5ee0df=_0x32cf18;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x5ee0df(0x10a)],()=>{const _0x3ad094=_0x5ee0df;process[_0x3ad094(0xd0)](process['pid'],_0x5d5d5c);});});}),process[_0xdd1229(0xe2)](_0xdd1229(0xdf),()=>{const _0x16e049=_0xdd1229;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x16e049(0x1b7)](this[_0x16e049(0x10a)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xf4afce){const _0x477b43=a18_0x2b1000;this[_0x477b43(0x13c)][_0x477b43(0x154)](_0xf4afce?_0x477b43(0x1a2)+_0xf4afce+'s':_0x477b43(0x178));const _0x3ac249=(_0x36a83c,_0x63eefb,_0x434c86=![])=>{const _0x1fb002=_0x477b43;this[_0x1fb002(0xe6)](_0x1fb002(0x127));const _0x483752=this['debuggee']?.['id'],_0x437ee1=_0x483752?_0x1fb002(0x109)+_0x483752:_0x1fb002(0x118),_0xfcc895=_0x1fb002(0xa1)+_0x437ee1+':\x20'+(0x0,utils_1[_0x1fb002(0xc2)])(_0x36a83c);this[_0x1fb002(0x13c)]['error'](_0xfcc895),_0x63eefb&&!_0x434c86&&this['logger'][_0x1fb002(0x185)](_0x1fb002(0xcd),_0x63eefb),!this['config'][_0x1fb002(0xa8)]?.[_0x1fb002(0xe1)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1fb002(0x18e)](this,(0x0,utils_1[_0x1fb002(0xac)])(_0xf4afce,this[_0x1fb002(0x125)][_0x1fb002(0xa8)][_0x1fb002(0xea)]));};setTimeout(()=>{const _0x4e6d01=_0x477b43;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x3ac249(new Error(_0x4e6d01(0x117)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4e6d01(0x116)](this[_0x4e6d01(0x10a)],(_0xa12550,_0x2ba682,_0x14e3ba=![])=>{const _0x4fd075=_0x4e6d01;if(_0xa12550){_0x3ac249(_0xa12550,_0x2ba682,_0x14e3ba);return;}if(_0x2ba682[_0x4fd075(0x10a)][_0x4fd075(0x139)]){_0x3ac249(new Error(_0x4fd075(0x119))),this['emit'](_0x4fd075(0xef));return;}const _0x1a8568=_0x2ba682[_0x4fd075(0x10a)]['id'];this['logger'][_0x4fd075(0x1b6)]('Registered\x20as\x20debuggee:\x20'+_0x1a8568),this[_0x4fd075(0x10a)]['id']=_0x1a8568;const _0x80fb54=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x4fd075(0x16b)](this)(this[_0x4fd075(0x10a)]['id'])];this[_0x4fd075(0x125)]['redactionEnabled']&&_0x80fb54['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](this)(this['debuggee']['id'])),Promise[_0x4fd075(0x103)](_0x80fb54)[_0x4fd075(0xda)](()=>{const _0x42b244=_0x4fd075;this['emit'](_0x42b244(0x18d),_0x1a8568),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x42b244(0xfa)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x2ba682?.[_0x42b244(0x1a9)],'f'),!this[_0x42b244(0x17c)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x42b244(0x18e)](this,0x0,this[_0x42b244(0x125)]['fetchBreakpointsOnce'],_0x2ba682?.[_0x42b244(0x1a9)]);},_0x34e2ff=>{_0x3ac249(_0x34e2ff);});});},_0xf4afce*0x3e8)[_0x477b43(0x158)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x20b0bf,_0x3dcd0c,_0x4310f3){const _0x6ac704=a18_0x2b1000;this['logger'][_0x6ac704(0x154)](_0x6ac704(0xaf)+_0x20b0bf+'\x20'+_0x3dcd0c+'\x20'+_0x4310f3),!_0x3dcd0c&&(this['fetcherActive']=!![]),setTimeout(()=>{const _0x1f1d64=_0x6ac704;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x3dcd0c&&assert(this[_0x1f1d64(0x17c)]),this['logger']['debug']('Fetching\x20breakpoints'),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1f1d64(0xa7)](this[_0x1f1d64(0x10a)],(_0x2fe9a7,_0x46d9e6,_0x448d0a)=>{const _0x1ac42e=_0x1f1d64;if(_0x448d0a?.[_0x1ac42e(0x10f)]===0x194){this[_0x1ac42e(0x13c)][_0x1ac42e(0x1b6)](_0x1ac42e(0x179)),this[_0x1ac42e(0x17c)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x1ac42e(0x18e)](this);this[_0x1ac42e(0x125)][_0x1ac42e(0xa8)]?.['isLambda']?this[_0x1ac42e(0xe6)](_0x1ac42e(0x173)):this[_0x1ac42e(0x116)]();return;}if(_0x2fe9a7){if(this[_0x1ac42e(0x125)][_0x1ac42e(0xa8)]?.[_0x1ac42e(0xe1)])this['emit']('breakpoints_fetch_failed'),this[_0x1ac42e(0x13c)]['error'](_0x1ac42e(0x1b9)+_0x448d0a?.[_0x1ac42e(0x10f)]+_0x1ac42e(0x156)+_0x2fe9a7[_0x1ac42e(0xc3)]);else{const _0x555d76=(0x0,utils_1['backoff'])(_0x20b0bf,this[_0x1ac42e(0x125)]['internal'][_0x1ac42e(0xea)]);this[_0x1ac42e(0x13c)][_0x1ac42e(0x185)](_0x1ac42e(0x177)+_0x448d0a?.['status']+'.\x20message:\x20'+_0x2fe9a7[_0x1ac42e(0xc3)]+_0x1ac42e(0x16e)+_0x555d76+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1ac42e(0x18e)](this,_0x555d76,_0x3dcd0c,_0x4310f3);}return;}this['logger'][_0x1ac42e(0x154)]('\x09'+_0x448d0a['status']+_0x1ac42e(0xb8));if(!_0x46d9e6){const _0x8b3e76=this['config'][_0x1ac42e(0xa3)];this['logger']['error'](_0x1ac42e(0x121)+_0x8b3e76+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1ac42e(0x18e)](this,_0x8b3e76,_0x3dcd0c,_0x4310f3);return;}this['setCustomLogLevel'](_0x46d9e6[_0x1ac42e(0x150)]);if(_0x46d9e6[_0x1ac42e(0x1b5)]){this['logger'][_0x1ac42e(0x1b6)](_0x1ac42e(0x14a)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1ac42e(0x18e)](this,0x0,_0x3dcd0c,_0x4310f3);return;}if(_0x46d9e6[_0x1ac42e(0x11b)]&&_0x46d9e6['pipeLogs']!=='NOT_SET'){const _0x44ce3f=this[_0x1ac42e(0x101)][_0x1ac42e(0xbe)];_0x44ce3f!==_0x46d9e6[_0x1ac42e(0x11b)]&&(this[_0x1ac42e(0x13c)][_0x1ac42e(0x154)]('Switching\x20globalPiping\x20status\x20from\x20'+_0x44ce3f+_0x1ac42e(0x114)+_0x46d9e6[_0x1ac42e(0x11b)]),this[_0x1ac42e(0x101)][_0x1ac42e(0xbe)]=_0x46d9e6[_0x1ac42e(0x11b)]);}if(_0x46d9e6[_0x1ac42e(0x152)]&&_0x46d9e6[_0x1ac42e(0xfc)]!==this['collectLogRequestId']){this[_0x1ac42e(0xfc)]=_0x46d9e6[_0x1ac42e(0xfc)];const _0x38caf7=this[_0x1ac42e(0x125)][_0x1ac42e(0xb6)]['agentLogTargetDir']&&path['join'](this[_0x1ac42e(0x125)][_0x1ac42e(0xb6)][_0x1ac42e(0x174)],agent_logger_1[_0x1ac42e(0xa6)]['AGENT_LOG_FILE']);_0x38caf7&&fs[_0x1ac42e(0x176)](_0x38caf7)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1ac42e(0xe8)](this[_0x1ac42e(0x10a)],_0x46d9e6['collectLogRequestId'],_0x38caf7)):this[_0x1ac42e(0x13c)][_0x1ac42e(0x1b6)](_0x1ac42e(0xf2)+_0x46d9e6[_0x1ac42e(0xfc)]+_0x1ac42e(0xbd)+_0x1ac42e(0x13b));}const _0x4979ab=(_0x46d9e6[_0x1ac42e(0x17a)]||[])[_0x1ac42e(0x135)](_0x268971=>new stackdriver_1[(_0x1ac42e(0xce))](_0x268971))[_0x1ac42e(0x12a)](_0x734b4a=>{const _0x43afa8=_0x1ac42e,_0x1738cb=_0x734b4a['action']??_0x43afa8(0x134);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x734b4a['id']])return![];if(_0x1738cb!==_0x43afa8(0x134)&&_0x1738cb!=='LOG')return this[_0x43afa8(0x13c)][_0x43afa8(0x197)](_0x43afa8(0x15d),_0x1738cb),_0x734b4a[_0x43afa8(0x10f)]=new status_message_1[(_0x43afa8(0x115))](status_message_1[_0x43afa8(0x115)][_0x43afa8(0x19a)],utils_1[_0x43afa8(0xf7)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x43afa8(0x18e)](this,_0x734b4a),![];return!![];}),_0x218c40=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x1ac42e(0x18e)](this);let _0x489101=_0x218c40[_0x1ac42e(0xc6)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x1ac42e(0x18e)](this,_0x218c40),_0x489101=_0x489101||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x1ac42e(0x18e)](this,_0x4979ab),this[_0x1ac42e(0xe6)]('breakpoints_fetched',_0x4979ab[_0x1ac42e(0xc6)]);_0x489101&&this['logger'][_0x1ac42e(0x154)](formatBreakpoints(_0x1ac42e(0x106),this[_0x1ac42e(0xca)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date['now'](),'f');_0x3dcd0c?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x1ac42e(0x15b)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1ac42e(0x18e)](this,0x0,_0x3dcd0c,_0x4310f3);return;},_0x4310f3);},_0x20b0bf*0x3e8)[_0x6ac704(0x158)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x29bc09=a18_0x2b1000;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x29bc09(0x15b)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x1c8d66){const _0x1ce01d=a18_0x2b1000,_0x5b22fc=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x1ce01d(0x18e)](this,_0x1c8d66);let _0x3a04fe=![];return _0x1c8d66[_0x1ce01d(0x17f)](_0x1bf725=>{const _0x223238=_0x1ce01d;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1bf725['id']]&&!this[_0x223238(0xca)][_0x1bf725['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x223238(0x18e)](this,_0x1bf725,_0x90f596=>{const _0x4cd489=_0x223238;_0x90f596&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x4cd489(0x18e)](this,_0x1bf725,!![],![]);}),_0x3a04fe=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x223238(0x188)](_0x1bf725['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x223238(0x1bc)](_0x1bf725['id'],_0x1bf725['ignoreQuota']),this['pipingManager'][_0x223238(0xab)](_0x1bf725['id'],_0x1bf725['pipingStatus']);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x5b22fc)[_0x1ce01d(0x17f)](_0x4593bd=>{const {id:_0x140de8}=_0x4593bd;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x140de8],_0x3a04fe=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x1ce01d(0xca)],_0x5b22fc)[_0x1ce01d(0x17f)](_0x56701d=>{const _0x462d11=_0x1ce01d;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x462d11(0x18e)](this,_0x56701d,!![]),_0x3a04fe=!![];}),_0x3a04fe&&this[_0x1ce01d(0x13c)][_0x1ce01d(0x154)](formatBreakpoints(_0x1ce01d(0x112),_0x5b22fc)),_0x3a04fe;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x296fa8){const _0x392463=a18_0x2b1000;return Object[_0x392463(0xcf)](_0x296fa8[_0x392463(0x135)](_0x537be5=>[_0x537be5['id'],_0x537be5]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x2c7482,_0xb1ea55){const _0x400b3f=a18_0x2b1000;this[_0x400b3f(0x13c)][_0x400b3f(0x1b6)](_0x400b3f(0x147)+_0x2c7482['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x2c7482['id']),this[_0x400b3f(0x101)][_0x400b3f(0x1ba)](_0x2c7482['id']),delete this[_0x400b3f(0xca)][_0x2c7482['id']],_0xb1ea55&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x400b3f(0x18f)](_0x2c7482,_0x2d8423=>{const _0x4655bf=_0x400b3f;if(_0x2d8423)this[_0x4655bf(0x13c)][_0x4655bf(0x185)](_0x2d8423);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x338242,_0x2e6b32){const _0x150e25=a18_0x2b1000;this[_0x150e25(0x13c)][_0x150e25(0x1b6)](_0x150e25(0x138),this[_0x150e25(0x16a)](_0x338242));if(!this[_0x150e25(0x125)][_0x150e25(0x183)]&&(_0x338242[_0x150e25(0xf9)]||_0x338242[_0x150e25(0x15e)])){this[_0x150e25(0x13c)]['error'](utils_1[_0x150e25(0xf7)][_0x150e25(0x11e)][_0x150e25(0xe3)]??''),_0x338242[_0x150e25(0x10f)]=new status_message_1[(_0x150e25(0x115))](status_message_1[_0x150e25(0x115)][_0x150e25(0x19a)],utils_1[_0x150e25(0xf7)][_0x150e25(0x11e)],!![]),setImmediate(()=>{const _0x2f04a5=_0x150e25;_0x2e6b32(utils_1['errors'][_0x2f04a5(0x11e)]);});return;}const _0x2174d7=_0x338242[_0x150e25(0xb9)]?Number(_0x338242[_0x150e25(0xb9)][_0x150e25(0xe5)]):Date[_0x150e25(0xc4)]()/0x3e8,_0x4cf0f6=_0x338242['expirationSeconds']??this[_0x150e25(0x125)][_0x150e25(0x15f)];_0x338242[_0x150e25(0x189)]=_0x2174d7+_0x4cf0f6,_0x338242[_0x150e25(0xf0)]?.['path']&&(_0x338242['location'][_0x150e25(0xdd)]=path[_0x150e25(0x11a)](_0x338242[_0x150e25(0xf0)]['path']),path[_0x150e25(0x1ab)]===path[_0x150e25(0x151)][_0x150e25(0x1ab)]&&(_0x338242['location']['path']=_0x338242[_0x150e25(0xf0)]['path'][_0x150e25(0x199)]('\x5c')[_0x150e25(0xde)](path[_0x150e25(0x1ab)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x150e25(0x132)](_0x338242,_0x44385e=>{const _0x5cbc8b=_0x150e25;if(_0x44385e){_0x2e6b32(_0x44385e);return;}this[_0x5cbc8b(0x13c)][_0x5cbc8b(0x1b6)](_0x5cbc8b(0x169)+_0x338242['id']),this[_0x5cbc8b(0xca)][_0x338242['id']]=_0x338242,_0x338242[_0x5cbc8b(0x13f)]===_0x5cbc8b(0x123)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x5cbc8b(0xd8)](_0x338242,(_0x35f12a,_0x1237f6)=>{const _0x95d932=_0x5cbc8b,_0x1b5b98=_0x1237f6[_0x95d932(0x135)](_0x30592e=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x95d932(0x18e)](this,_0x30592e)),_0x463d86=(0x0,format_1[_0x95d932(0xbb)])(_0x35f12a,_0x1b5b98),_0x34320f=_0x95d932(0xed)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x95d932(0xa0)](_0x463d86)??_0x463d86),_0x371afa=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x34320f,_0x338242['id']);if(_0x371afa){const _0x5ce3ea=_0x371afa['message'],{isOutOfQuota:_0x38d2c8}=_0x371afa;let _0x5bd504,_0x383666;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x95d932(0xf5)]()&&!_0x38d2c8&&(_0x5bd504=_0x95d932(0xed)+_0x35f12a,_0x383666=_0x1b5b98);this[_0x95d932(0x101)]['addAndPipeLog'](this[_0x95d932(0x10a)],_0x338242['id'],_0x5ce3ea,_0x338242[_0x95d932(0x157)],_0x5bd504,_0x383666);if(_0x38d2c8)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x95d932(0x136)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x2303ee=_0x95d932;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x2303ee(0x14d)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x95d932(0x125)][_0x95d932(0xc5)][_0x95d932(0x120)]*0x3e8),'f');else _0x5ce3ea?.[_0x95d932(0xc6)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x95d932(0x136)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x338242['id']],_0xb7093=>{const _0x5017d3=_0x5cbc8b;if(_0xb7093){this[_0x5017d3(0x13c)]['error'](_0xb7093),_0x2e6b32(_0xb7093);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['wait'](_0x338242,_0x4787ac=>{const _0x560051=_0x5cbc8b;if(_0x4787ac){setImmediate(()=>{const _0x571d37=a18_0x1ea4;this[_0x571d37(0x13c)][_0x571d37(0x185)](_0x4787ac),_0x2e6b32(_0x4787ac);});return;}this[_0x560051(0x13c)][_0x560051(0x1b6)](_0x560051(0x1b0)+_0x338242['id'],_0x338242[_0x560051(0xf0)]?.[_0x560051(0xdd)],_0x338242[_0x560051(0xf0)]?.['line']),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x560051(0x18e)](this,_0x338242,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['remainingHits'](_0x338242['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x5cbc8b(0x18e)](this,_0x338242);}),this['emit']('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x86751f,_0x1253b8,_0x4b2525=!![]){const _0x3c9b6d=a18_0x2b1000;if(_0x86751f['status']?.[_0x3c9b6d(0xa5)]){let _0x20af20=_0x86751f[_0x3c9b6d(0x10f)]?.[_0x3c9b6d(0xe3)]?.[_0x3c9b6d(0xbb)]||'';_0x86751f[_0x3c9b6d(0x10f)]?.[_0x3c9b6d(0xe3)]?.['parameters']&&(_0x20af20+=':\x20'+_0x86751f['status']?.[_0x3c9b6d(0xe3)]?.[_0x3c9b6d(0x1b2)][_0x3c9b6d(0x1a8)]()),this[_0x3c9b6d(0x13c)]['warn']('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x86751f+_0x3c9b6d(0xfe)+_0x20af20);}else this[_0x3c9b6d(0x13c)][_0x3c9b6d(0x1b6)](_0x3c9b6d(0x145),this[_0x3c9b6d(0x16a)](_0x86751f));_0x1253b8&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x86751f['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3c9b6d(0x18e)](this,_0x86751f,_0x4b2525)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3c9b6d(0x10d)](this['debuggee'],extend(!![],{},_0x86751f));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x57bf24){const _0xc67d1a=a18_0x2b1000;this['logger'][_0xc67d1a(0x154)](_0xc67d1a(0xd6)+_0x57bf24+'\x20accepted\x20by\x20agent');const _0x2bb2a6=extend(!![],{},_0x57bf24);_0x2bb2a6[_0xc67d1a(0x155)]=![],_0x2bb2a6['status']=new status_message_1[(_0xc67d1a(0x115))](status_message_1['StatusMessage'][_0xc67d1a(0x19a)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xc67d1a(0x10d)](this['debuggee'],_0x2bb2a6);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x1b76c8){const _0x1b72db=a18_0x2b1000;this[_0x1b72db(0x13c)][_0x1b72db(0x1b6)]('rejecting\x20breakpoint\x20id\x20'+_0x1b76c8),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1b76c8['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1b72db(0x10d)](this[_0x1b72db(0x10a)],_0x1b76c8);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x14d803){const _0x46752e=a18_0x2b1000;_0x14d803[_0x46752e(0x17f)](_0x5802a9=>{const _0x101974=_0x46752e;this[_0x101974(0x13c)][_0x101974(0x1b6)]('Expiring\x20breakpoint\x20id\x20'+_0x5802a9['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5802a9['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x101974(0x18e)](this,_0x5802a9,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x1e68f7=a18_0x2b1000,_0x1489c6=Date[_0x1e68f7(0xc4)]()/0x3e8;return Object[_0x1e68f7(0x1bb)](this['activeBreakpointMap'])['filter'](_0x36d63b=>_0x36d63b['expirationTime']?_0x36d63b['expirationTime']<_0x1489c6:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x13dfaa){const _0xe1a15a=a18_0x2b1000,_0x3271c3=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x13dfaa),_0x4902f6=_0x3271c3[_0xe1a15a(0x161)],_0x310371=_0x3271c3[_0xe1a15a(0xc1)];_0x4902f6?.[_0xe1a15a(0xc6)]&&this['logger'][_0xe1a15a(0x154)](_0xe1a15a(0x1ad),_0x4902f6[_0xe1a15a(0xde)]('\x0a\x09')),_0x310371?.[_0xe1a15a(0xc6)]&&this[_0xe1a15a(0x13c)][_0xe1a15a(0x154)](_0xe1a15a(0xee),_0x310371[_0xe1a15a(0xde)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0xe1a15a(0x143))](_0x4902f6,_0x310371,this[_0xe1a15a(0x125)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x2b15ad){const _0x2a933e=a18_0x2b1000,_0x37964d=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x2b15ad);_0x37964d?.['length']&&this[_0x2a933e(0x13c)][_0x2a933e(0x154)](_0x2a933e(0x108),_0x37964d['map'](_0x5d30e1=>_0x2a933e(0xb5)+_0x5d30e1[_0x2a933e(0x16f)]+_0x2a933e(0x186)+_0x5d30e1[_0x2a933e(0x130)]+_0x2a933e(0xeb)+_0x5d30e1['pattern']+'\x20caseInsensitive:\x20'+_0x5d30e1[_0x2a933e(0x194)])['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x2a933e(0x14c))](this[_0x2a933e(0x13c)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2a933e(0x11f)](_0x37964d);},_Debuglet_stringify=function _Debuglet_stringify(_0x400b6a){const _0x127a42=a18_0x2b1000;if(!_0x400b6a)return JSON['stringify'](_0x400b6a,(_0x3a7b9e,_0x353127)=>_0x353127===undefined?_0x127a42(0xd1):_0x353127);if(Array[_0x127a42(0x17d)](_0x400b6a)){const _0x334644=_0x400b6a[_0x127a42(0x135)](_0x4d727f=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x127a42(0x18e)](this,_0x4d727f));return'['+_0x334644[_0x127a42(0xde)](',\x20')+']';}if(typeof _0x400b6a==='object'){const _0x536df3=Object['entries'](_0x400b6a)[_0x127a42(0x135)](([_0x4a6ad7,_0x52fc8a])=>{const _0x2a0ed0=_0x127a42,_0x37ec89=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2a0ed0(0xff)](_0x4a6ad7)?redaction_manager_1[_0x2a0ed0(0x1a3)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x2a0ed0(0x18e)](this,_0x52fc8a);return JSON[_0x2a0ed0(0x160)](_0x4a6ad7)+':\x20'+_0x37ec89;})[_0x127a42(0xde)](',\x20');return'{'+_0x536df3+'}';}return JSON['stringify'](_0x400b6a);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a19_0x4876bc=a19_0x5972;(function(_0x157dce,_0x2cac38){const _0x55e863=a19_0x5972,_0x144ef0=_0x157dce();while(!![]){try{const _0x2c378e=parseInt(_0x55e863(0x153))/0x1+parseInt(_0x55e863(0x146))/0x2*(parseInt(_0x55e863(0x12a))/0x3)+-parseInt(_0x55e863(0x139))/0x4+-parseInt(_0x55e863(0x143))/0x5*(parseInt(_0x55e863(0x13a))/0x6)+-parseInt(_0x55e863(0x14d))/0x7*(-parseInt(_0x55e863(0x123))/0x8)+-parseInt(_0x55e863(0x117))/0x9*(parseInt(_0x55e863(0x149))/0xa)+-parseInt(_0x55e863(0x11c))/0xb*(parseInt(_0x55e863(0x133))/0xc);if(_0x2c378e===_0x2cac38)break;else _0x144ef0['push'](_0x144ef0['shift']());}catch(_0x40321c){_0x144ef0['push'](_0x144ef0['shift']());}}}(a19_0x54a1,0x2736a));Object[a19_0x4876bc(0x12e)](exports,'__esModule',{'value':!![]}),exports[a19_0x4876bc(0x138)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x4876bc(0x11e));var OS;(function(_0x12388c){const _0x7857fd=a19_0x4876bc,_0x574aea=(function(){let _0x483a85=!![];return function(_0x1bca24,_0x54a243){const _0x4096db=_0x483a85?function(){const _0x1d31d4=a19_0x5972;if(_0x54a243){const _0x2a2698=_0x54a243[_0x1d31d4(0x14b)](_0x1bca24,arguments);return _0x54a243=null,_0x2a2698;}}:function(){};return _0x483a85=![],_0x4096db;};}()),_0x432f46=_0x574aea(this,function(){const _0x23efb0=a19_0x5972;return _0x432f46[_0x23efb0(0x156)]()[_0x23efb0(0x11b)](_0x23efb0(0x127))[_0x23efb0(0x156)]()['constructor'](_0x432f46)[_0x23efb0(0x11b)]('(((.+)+)+)+$');});_0x432f46(),_0x12388c[_0x7857fd(0x130)]='linux',_0x12388c[_0x7857fd(0x122)]=_0x7857fd(0x13c),_0x12388c[_0x7857fd(0x158)]='mac';}(OS||(OS={})));var ProcArch;function a19_0x5972(_0x13b97e,_0x35eca0){const _0x166425=a19_0x54a1();return a19_0x5972=function(_0x2002ef,_0x5a400e){_0x2002ef=_0x2002ef-0x116;let _0x54a1ca=_0x166425[_0x2002ef];return _0x54a1ca;},a19_0x5972(_0x13b97e,_0x35eca0);}(function(_0x564f80){const _0x56b2de=a19_0x4876bc;_0x564f80[_0x56b2de(0x150)]=_0x56b2de(0x150),_0x564f80['x32']='x32',_0x564f80['arm']='arm',_0x564f80[_0x56b2de(0x12f)]='arm64';}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x4876bc(0x130)],'win32':OS[a19_0x4876bc(0x122)],'darwin':OS[a19_0x4876bc(0x158)]},ArchToProcArchMap={'x32':ProcArch[a19_0x4876bc(0x151)],'x64':ProcArch['x64'],'arm':ProcArch[a19_0x4876bc(0x148)],'arm64':ProcArch['arm64']};function a19_0x54a1(){const _0x206941=['match','2fJuKhb','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','arm','2691390eAbWsm','hostname','apply','node','1705585LiPzYa','error','VERSION_ID','x64','x32','runtimeEnvironmentInfo','269800uMYSkk','runtimeEnvironmentVersion','warn','toString','cpuCoreCount','MacOS','release','9LKSgpR','version','utf-8','\x20on\x20','search','11JPHMQL','getProps','assert','Node.js\x20','env','arch','Windows','8BksfyW','/etc/os-release','_osRelease','procArch','(((.+)+)+)+$','trim','_logger','925857EnULrv','linuxDistroName','host','isInDocker','defineProperty','arm64','Linux','cpus','isInK8s','1225344TikXWs','osVersion','split','totalmem','systemTotalMemoryBytes','EnvironmentMetadata','918092rMTvpr','182046WXnhNX','readFileSync','windows','KUBERNETES_SERVICE_HOST','platform','get','replace','agentOS','_cachedOsRelease','10bjSxgG','pid'];a19_0x54a1=function(){return _0x206941;};return a19_0x54a1();}class EnvironmentMetadata{constructor(_0x2a0c0c){assert(_0x2a0c0c!==null),this['_logger']=_0x2a0c0c;}get[a19_0x4876bc(0x154)](){const _0x4be30e=a19_0x4876bc;try{const _0x3a6c16=process['versions'][_0x4be30e(0x14c)][_0x4be30e(0x145)](/(\d+\.\d+)\..*/);if(_0x3a6c16)return _0x3a6c16[0x1];}catch(_0x26b051){this[_0x4be30e(0x129)]['error'](_0x26b051);}return;}get['runtimeEnvironmentInfo'](){const _0x3c4d10=a19_0x4876bc;return _0x3c4d10(0x11f)+process[_0x3c4d10(0x118)]+_0x3c4d10(0x11a)+(0x0,os_1[_0x3c4d10(0x13e)])()+'\x20'+(0x0,os_1[_0x3c4d10(0x116)])();}get[a19_0x4876bc(0x144)](){const _0x44ec0b=a19_0x4876bc;return process[_0x44ec0b(0x144)]['toString']();}get[a19_0x4876bc(0x126)](){const _0x554771=a19_0x4876bc;return ArchToProcArchMap[process[_0x554771(0x121)]]||process['arch'];}get['cpuCoreCount'](){const _0x29d058=a19_0x4876bc;return(0x0,os_1[_0x29d058(0x131)])()['length'];}get[a19_0x4876bc(0x137)](){const _0x430ef6=a19_0x4876bc;return(0x0,os_1[_0x430ef6(0x136)])();}get['host'](){const _0x53aaf9=a19_0x4876bc;return(0x0,os_1[_0x53aaf9(0x14a)])();}get[a19_0x4876bc(0x141)](){const _0x4e10d3=a19_0x4876bc;return PlatformToOsMap[(0x0,os_1[_0x4e10d3(0x13e)])()]||(0x0,os_1[_0x4e10d3(0x13e)])();}get['osVersion'](){const _0x22cf2d=a19_0x4876bc;try{if(this[_0x22cf2d(0x141)]===OS[_0x22cf2d(0x130)])return this['_osRelease']['get'](_0x22cf2d(0x14f))??(0x0,os_1[_0x22cf2d(0x116)])();return(0x0,os_1['release'])();}catch(_0x49d6cb){this[_0x22cf2d(0x129)][_0x22cf2d(0x14e)](_0x49d6cb);}return;}get[a19_0x4876bc(0x12b)](){const _0x2d57e9=a19_0x4876bc;return this['agentOS']===OS[_0x2d57e9(0x130)]&&this[_0x2d57e9(0x125)][_0x2d57e9(0x13f)]('ID')||'';}get[a19_0x4876bc(0x12d)](){const _0x33614e=a19_0x4876bc;return this['agentOS']===OS[_0x33614e(0x130)]?(0x0,fs_1['existsSync'])('/.dockerenv'):![];}get[a19_0x4876bc(0x132)](){const _0x763f60=a19_0x4876bc;return!!process[_0x763f60(0x120)][_0x763f60(0x13d)];}get[a19_0x4876bc(0x125)](){const _0x15e3c6=a19_0x4876bc;if(!this['_cachedOsRelease']){this[_0x15e3c6(0x142)]=new Map();try{if(this[_0x15e3c6(0x141)]===OS['Linux']){const _0x3162a0=(0x0,fs_1[_0x15e3c6(0x13b)])(_0x15e3c6(0x124),_0x15e3c6(0x119));_0x3162a0[_0x15e3c6(0x135)](/\r?\n/)['forEach'](_0x45a85a=>{const _0x753a9=_0x15e3c6,[_0x15db8b,_0x374e2c]=_0x45a85a[_0x753a9(0x128)]()[_0x753a9(0x135)]('=');this['_cachedOsRelease']?.['set'](_0x15db8b,_0x374e2c?.[_0x753a9(0x140)](/^"|"$/g,'')||'');});}}catch(_0x1dcb58){this['_logger'][_0x15e3c6(0x155)](_0x15e3c6(0x147),_0x1dcb58);}}return this[_0x15e3c6(0x142)];}[a19_0x4876bc(0x11d)](){const _0xbb7bde=a19_0x4876bc;return{'runtimeEnvironmentVersion':this[_0xbb7bde(0x154)],'runtimeEnvironmentInfo':this[_0xbb7bde(0x152)],'pid':this['pid'],'cpuCoreCount':this[_0xbb7bde(0x157)],'systemTotalMemoryBytes':this['systemTotalMemoryBytes'],'host':this[_0xbb7bde(0x12c)],'agentOS':this[_0xbb7bde(0x141)],'osVersion':this[_0xbb7bde(0x134)],'linuxDistroName':this[_0xbb7bde(0x12b)]||undefined,'isInDocker':this[_0xbb7bde(0x12d)],'isInK8s':this[_0xbb7bde(0x132)],'procArch':this['procArch']};}}exports[a19_0x4876bc(0x138)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x525d8d=a20_0x2ab7;(function(_0x11dec0,_0x21d150){const _0xaf0c9=a20_0x2ab7,_0x373a58=_0x11dec0();while(!![]){try{const _0xdec213=-parseInt(_0xaf0c9(0x174))/0x1*(-parseInt(_0xaf0c9(0x165))/0x2)+-parseInt(_0xaf0c9(0x17e))/0x3*(-parseInt(_0xaf0c9(0x17b))/0x4)+parseInt(_0xaf0c9(0x163))/0x5*(-parseInt(_0xaf0c9(0x17d))/0x6)+-parseInt(_0xaf0c9(0x170))/0x7*(-parseInt(_0xaf0c9(0x181))/0x8)+-parseInt(_0xaf0c9(0x175))/0x9+-parseInt(_0xaf0c9(0x166))/0xa*(-parseInt(_0xaf0c9(0x168))/0xb)+-parseInt(_0xaf0c9(0x184))/0xc;if(_0xdec213===_0x21d150)break;else _0x373a58['push'](_0x373a58['shift']());}catch(_0x90a877){_0x373a58['push'](_0x373a58['shift']());}}}(a20_0x29d7,0x2084a));const a20_0x52f1ed=(function(){let _0xd4f846=!![];return function(_0x5de8ca,_0x385e84){const _0x5f0e50=_0xd4f846?function(){const _0x5ae225=a20_0x2ab7;if(_0x385e84){const _0x33a31d=_0x385e84[_0x5ae225(0x161)](_0x5de8ca,arguments);return _0x385e84=null,_0x33a31d;}}:function(){};return _0xd4f846=![],_0x5f0e50;};}()),a20_0x13c0f5=a20_0x52f1ed(this,function(){const _0x10acc0=a20_0x2ab7;return a20_0x13c0f5[_0x10acc0(0x160)]()[_0x10acc0(0x182)](_0x10acc0(0x16e))['toString']()[_0x10acc0(0x17f)](a20_0x13c0f5)[_0x10acc0(0x182)]('(((.+)+)+)+$');});a20_0x13c0f5();'use strict';Object[a20_0x525d8d(0x186)](exports,a20_0x525d8d(0x169),{'value':!![]}),exports[a20_0x525d8d(0x176)]=void 0x0;function a20_0x2ab7(_0x348d66,_0x41c03f){const _0x29caa7=a20_0x29d7();return a20_0x2ab7=function(_0x13c0f5,_0x52f1ed){_0x13c0f5=_0x13c0f5-0x160;let _0x29d7e9=_0x29caa7[_0x13c0f5];return _0x29d7e9;},a20_0x2ab7(_0x348d66,_0x41c03f);}const path=require('path');class FileIndex{constructor(_0x2a1929){const _0x6b7c5f=a20_0x525d8d;this[_0x6b7c5f(0x177)]=_0x2a1929,this['fileIndex']=new Map();}static['fromFileStats'](_0x523043){const _0x3d34ad=a20_0x525d8d,_0x42b0af=new FileIndex(_0x523043);return _0x42b0af['buildIndex'](Object[_0x3d34ad(0x183)](_0x523043)||[]),_0x42b0af;}static[a20_0x525d8d(0x17a)](_0x3adeac){const _0x15f889=a20_0x525d8d,_0x295ea2=new FileIndex(undefined);return _0x295ea2[_0x15f889(0x180)](_0x3adeac||[]),_0x295ea2;}get[a20_0x525d8d(0x16b)](){const _0x25a2f7=a20_0x525d8d;return this[_0x25a2f7(0x177)]??{};}['findShortestFuzzyMatches'](_0x50d545){const _0x3a9c8a=a20_0x525d8d,_0x2f5e88=this[_0x3a9c8a(0x182)](_0x50d545);if(!_0x2f5e88||_0x2f5e88['size']===0x0)return[];const _0x139abb=[..._0x2f5e88][_0x3a9c8a(0x17c)](_0x1bdeaf=>_0x1bdeaf[_0x3a9c8a(0x185)]),_0x4fa6a3=Math[_0x3a9c8a(0x167)](..._0x139abb),_0x99d8c8=[..._0x2f5e88][_0x3a9c8a(0x172)](_0x3bfdf2=>_0x3bfdf2[_0x3a9c8a(0x185)]===_0x4fa6a3);return _0x99d8c8;}[a20_0x525d8d(0x180)](_0x148522){const _0x2e8349=a20_0x525d8d;for(const _0x47b89a of _0x148522){for(const _0x965ee6 of this['generateSubPaths'](_0x47b89a)){let _0x5cfbbf=this['fileIndex']['get'](_0x965ee6);_0x5cfbbf===undefined&&(_0x5cfbbf=new Set(),this['fileIndex'][_0x2e8349(0x16d)](_0x965ee6,_0x5cfbbf)),_0x5cfbbf[_0x2e8349(0x16f)](_0x47b89a);}}}[a20_0x525d8d(0x179)](_0x54c30){const _0x2afe93=a20_0x525d8d;_0x54c30=this['stripStartingSep'](_0x54c30);const _0x4bd338=[_0x54c30];while(_0x54c30[_0x2afe93(0x162)](path['sep'])){_0x54c30=_0x54c30[_0x2afe93(0x16c)](_0x54c30[_0x2afe93(0x173)](path[_0x2afe93(0x178)])+path[_0x2afe93(0x178)]['length'],_0x54c30[_0x2afe93(0x185)]),_0x4bd338[_0x2afe93(0x187)](_0x54c30);}return _0x4bd338;}['search'](_0x31e850){const _0x379a21=a20_0x525d8d;if(!_0x31e850)return undefined;_0x31e850=this[_0x379a21(0x16a)](_0x31e850);for(const _0x17ae6a of this[_0x379a21(0x179)](_0x31e850)){if(this[_0x379a21(0x164)]['has'](_0x17ae6a))return this[_0x379a21(0x164)][_0x379a21(0x171)](_0x17ae6a);}return undefined;}[a20_0x525d8d(0x16a)](_0x5d797a){if(_0x5d797a&&(_0x5d797a['startsWith']('/')||_0x5d797a['startsWith']('\x5c')))return _0x5d797a['substr'](0x1);return _0x5d797a;}}exports[a20_0x525d8d(0x176)]=FileIndex;function a20_0x29d7(){const _0x456291=['fileStats','substring','set','(((.+)+)+)+$','add','114583RFntxW','get','filter','indexOf','78785MDgpHZ','1265157nBqoZq','FileIndex','_fileStats','sep','generateSubPaths','fromFileList','140rWZjug','map','6SyPXUE','11022ccKNJs','constructor','buildIndex','120UMGsbC','search','keys','1104876UDEDBa','length','defineProperty','push','toString','apply','includes','1096025Lhhfpg','fileIndex','4zIzLTQ','5500uTaSxH','min','1067tmnscR','__esModule','stripStartingSep'];a20_0x29d7=function(){return _0x456291;};return a20_0x29d7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x3bc66a=a21_0x3abd;(function(_0x4a9bda,_0x4d12e6){const _0x281533=a21_0x3abd,_0x33364c=_0x4a9bda();while(!![]){try{const _0x39462b=parseInt(_0x281533(0x10d))/0x1+parseInt(_0x281533(0xf9))/0x2*(-parseInt(_0x281533(0x101))/0x3)+parseInt(_0x281533(0x109))/0x4*(parseInt(_0x281533(0xfa))/0x5)+-parseInt(_0x281533(0x110))/0x6*(parseInt(_0x281533(0x111))/0x7)+parseInt(_0x281533(0xf8))/0x8+parseInt(_0x281533(0xfe))/0x9*(-parseInt(_0x281533(0x10a))/0xa)+parseInt(_0x281533(0xf7))/0xb;if(_0x39462b===_0x4d12e6)break;else _0x33364c['push'](_0x33364c['shift']());}catch(_0x3ab2b8){_0x33364c['push'](_0x33364c['shift']());}}}(a21_0x1cb4,0xd838e));const a21_0x1f2205=(function(){let _0x54cd66=!![];return function(_0x3898c8,_0x2f5afe){const _0x124d9d=_0x54cd66?function(){const _0x4183a7=a21_0x3abd;if(_0x2f5afe){const _0x3457d4=_0x2f5afe[_0x4183a7(0x112)](_0x3898c8,arguments);return _0x2f5afe=null,_0x3457d4;}}:function(){};return _0x54cd66=![],_0x124d9d;};}()),a21_0x477860=a21_0x1f2205(this,function(){const _0x236ac1=a21_0x3abd;return a21_0x477860['toString']()[_0x236ac1(0x108)](_0x236ac1(0xf4))[_0x236ac1(0x113)]()[_0x236ac1(0x10e)](a21_0x477860)[_0x236ac1(0x108)](_0x236ac1(0xf4));});a21_0x477860();'use strict';Object[a21_0x3bc66a(0xfb)](exports,a21_0x3bc66a(0x10f),{'value':!![]}),exports[a21_0x3bc66a(0xf3)]=void 0x0;const path=require(a21_0x3bc66a(0x100));function a21_0x3abd(_0x4b7e5f,_0x23b030){const _0x35fecd=a21_0x1cb4();return a21_0x3abd=function(_0x477860,_0x1f2205){_0x477860=_0x477860-0xf3;let _0x1cb4a3=_0x35fecd[_0x477860];return _0x1cb4a3;},a21_0x3abd(_0x4b7e5f,_0x23b030);}function a21_0x1cb4(){const _0x4ab146=['all','hash','normalize','search','324172FTvyml','4405160KbCasQ','selectStats','forEach','1622502ZgesqH','constructor','__esModule','6paiTdt','7015519BlRvUP','apply','toString','ScanResultsImpl','(((.+)+)+)+$','map','replace','656590VmTAXk','11825744UhroIm','104FrUBJL','75AyuQYs','defineProperty','test','errorMap','36jNSMug','errors','path','41892VgXMZn','keys','stats','filter'];a21_0x1cb4=function(){return _0x4ab146;};return a21_0x1cb4();}class ScanResultsImpl{constructor(_0x58f29a,_0x2b5c98,_0xd302c9){const _0x1f9cc9=a21_0x3bc66a;this[_0x1f9cc9(0x103)]=_0x58f29a,this[_0x1f9cc9(0xfd)]=_0x2b5c98,this[_0x1f9cc9(0x106)]=_0xd302c9;}[a21_0x3bc66a(0xff)](){return this['errorMap'];}[a21_0x3bc66a(0x105)](){return this['stats'];}[a21_0x3bc66a(0x10b)](_0x2a7cf6){const _0x1e033a=a21_0x3bc66a,_0x368ea5={};return Object[_0x1e033a(0x102)](this[_0x1e033a(0x103)])[_0x1e033a(0x10c)](_0x3c6c06=>{const _0x5412a8=_0x1e033a;_0x2a7cf6[_0x5412a8(0xfc)](_0x3c6c06)&&(_0x368ea5[_0x3c6c06]=this[_0x5412a8(0x103)][_0x3c6c06]);}),_0x368ea5;}['selectFiles'](_0x344530,_0x4e246b){const _0x2d349f=a21_0x3bc66a;return _0x4e246b=path['normalize'](_0x4e246b+path['sep']),Object[_0x2d349f(0x102)](this[_0x2d349f(0x103)])[_0x2d349f(0x104)](_0x52543e=>_0x52543e&&_0x344530[_0x2d349f(0xfc)](_0x52543e))[_0x2d349f(0xf5)](_0x2f8ed6=>path[_0x2d349f(0x107)](_0x2f8ed6)[_0x2d349f(0xf6)](_0x4e246b,''));}}exports[a21_0x3bc66a(0xf3)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x39ffe8=a22_0x1079;(function(_0x27f3ae,_0x1ba224){const _0x48f4cc=a22_0x1079,_0x1eccc2=_0x27f3ae();while(!![]){try{const _0x2a5112=-parseInt(_0x48f4cc(0x15d))/0x1*(parseInt(_0x48f4cc(0x177))/0x2)+-parseInt(_0x48f4cc(0x17e))/0x3+parseInt(_0x48f4cc(0x159))/0x4*(parseInt(_0x48f4cc(0x16f))/0x5)+-parseInt(_0x48f4cc(0x169))/0x6+-parseInt(_0x48f4cc(0x146))/0x7*(-parseInt(_0x48f4cc(0x145))/0x8)+parseInt(_0x48f4cc(0x176))/0x9*(parseInt(_0x48f4cc(0x157))/0xa)+-parseInt(_0x48f4cc(0x14b))/0xb;if(_0x2a5112===_0x1ba224)break;else _0x1eccc2['push'](_0x1eccc2['shift']());}catch(_0x1c03e8){_0x1eccc2['push'](_0x1eccc2['shift']());}}}(a22_0x55d2,0x218be));function a22_0x55d2(){const _0x701155=['join','4shdgth','from','info','apply','2462Arejgx','.git','accessSync','directory','computeStats','logger','error','sha1','node_modules','hasReadAccess','createReadStream','data','698148AcpzVD','set','addFilesFromDir','push','add','Specified\x20extraPaths\x20does\x20not\x20exist!','870650FvKbcw','__esModule','constants','findit2','R_OK','hex','update','249822TErwvZ','18kRrGWu','path','length','warn','scan','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','730884lMdLrA','open','constructor','file','end','16DlFThr','591535giSoIs','createHash','hash','test','can\x27t\x20access\x20path:\x20[','502194xuxLPr','sort','resolve','basename','startsWith','search','defineProperty','statsForFile','split','(((.+)+)+)+$','findFiles','ScanResultsImpl','80XGAGuY'];a22_0x55d2=function(){return _0x701155;};return a22_0x55d2();}const a22_0x8d0586=(function(){let _0x3d12c7=!![];return function(_0x513a51,_0xe28f98){const _0x1430de=_0x3d12c7?function(){const _0xfd0e66=a22_0x1079;if(_0xe28f98){const _0x3e7b7d=_0xe28f98[_0xfd0e66(0x15c)](_0x513a51,arguments);return _0xe28f98=null,_0x3e7b7d;}}:function(){};return _0x3d12c7=![],_0x1430de;};}()),a22_0x2f0e9d=a22_0x8d0586(this,function(){const _0x18bdea=a22_0x1079;return a22_0x2f0e9d['toString']()[_0x18bdea(0x150)]('(((.+)+)+)+$')['toString']()[_0x18bdea(0x142)](a22_0x2f0e9d)[_0x18bdea(0x150)](_0x18bdea(0x154));});a22_0x2f0e9d();'use strict';Object[a22_0x39ffe8(0x151)](exports,a22_0x39ffe8(0x170),{'value':!![]}),exports['Scanner']=void 0x0;function a22_0x1079(_0x3bb562,_0x45a323){const _0x59535b=a22_0x55d2();return a22_0x1079=function(_0x2f0e9d,_0x8d0586){_0x2f0e9d=_0x2f0e9d-0x142;let _0x55d25c=_0x59535b[_0x2f0e9d];return _0x55d25c;},a22_0x1079(_0x3bb562,_0x45a323);}const crypto=require('crypto'),fs=require('fs'),path=require(a22_0x39ffe8(0x178)),scan_results_1=require('./scan-results');class Scanner{constructor(_0x2bd59f){const _0x328f04=a22_0x39ffe8;this[_0x328f04(0x162)]=_0x2bd59f;}async[a22_0x39ffe8(0x17b)](_0x34b2f3,_0x238005,_0x43f2cc,_0x559a50){const _0x31abb7=a22_0x39ffe8,_0x4958a4=await this[_0x31abb7(0x155)](_0x34b2f3,_0x238005,_0x559a50);return this[_0x31abb7(0x161)](_0x4958a4,_0x43f2cc);}async[a22_0x39ffe8(0x161)](_0x183a7f,_0x5129a1){const _0x351784=a22_0x39ffe8;if(_0x183a7f[_0x351784(0x179)]===0x0)return new scan_results_1['ScanResultsImpl']({},new Map(),'EMPTY-no-js-files');const _0x3d96af=[],_0x3d7b0e={},_0x5d96e2=new Map();for(const _0x1f1a52 of _0x183a7f){try{const _0x127a45=await this[_0x351784(0x152)](_0x1f1a52,!_0x5129a1);!_0x5129a1&&_0x3d96af[_0x351784(0x16c)](_0x127a45[_0x351784(0x148)]),_0x3d7b0e[_0x1f1a52]=_0x127a45;}catch(_0x2bfd50){_0x5d96e2[_0x351784(0x16a)](_0x1f1a52,_0x2bfd50);}}let _0x5dee62;if(!_0x5129a1){const _0x2ad92c=_0x3d96af[_0x351784(0x14c)]()[_0x351784(0x158)](),_0x35ac9f=crypto['createHash'](_0x351784(0x164))[_0x351784(0x175)](_0x2ad92c)['digest'](_0x351784(0x174));_0x5dee62='SHA1-'+_0x35ac9f;}else _0x5dee62=_0x5129a1;return new scan_results_1[(_0x351784(0x156))](_0x3d7b0e,_0x5d96e2,_0x5dee62);}async[a22_0x39ffe8(0x155)](_0x5e1b45,_0x239d78,_0x4f06c3){const _0x167018=a22_0x39ffe8,_0x332af1=new Set();await this['addFilesFromDir'](_0x332af1,_0x5e1b45,_0x239d78);for(const _0x48b5b6 of _0x4f06c3??[]){if(_0x48b5b6){const _0xcf496=path[_0x167018(0x14d)](_0x48b5b6);try{await this[_0x167018(0x16b)](_0x332af1,_0xcf496,_0x239d78);}catch(_0x2ccc78){this[_0x167018(0x162)]['error'](_0x167018(0x16e),_0x2ccc78);}}}return Array[_0x167018(0x15a)](_0x332af1);}static[a22_0x39ffe8(0x166)](_0x5263ba){const _0xf973f5=a22_0x39ffe8;try{return fs[_0xf973f5(0x15f)](_0x5263ba,fs[_0xf973f5(0x171)][_0xf973f5(0x173)]),!![];}catch{return![];}}async['addFilesFromDir'](_0x56f521,_0x8f0481,_0x59f202){return new Promise((_0x18055c,_0x30672f)=>{const _0x324fa3=a22_0x1079;let _0x12498f;if(!_0x8f0481){_0x30672f(new Error(_0x324fa3(0x17d)));return;}this[_0x324fa3(0x162)][_0x324fa3(0x15b)]('Indexing\x20files\x20in\x20'+path[_0x324fa3(0x14d)](_0x8f0481));const _0x4efa50=findit(_0x8f0481);_0x4efa50['on']('error',_0xe828a=>{_0x12498f=_0xe828a;return;}),_0x4efa50['on'](_0x324fa3(0x160),(_0x34bae3,_0x18eb25,_0x22c3dc)=>{const _0x3e9897=_0x324fa3,_0x283c13=path[_0x3e9897(0x14e)](_0x34bae3);!Scanner['hasReadAccess'](_0x34bae3)&&(this['logger'][_0x3e9897(0x17a)](_0x3e9897(0x14a)+_0x34bae3+_0x3e9897(0x17c)),_0x22c3dc()),(_0x283c13===_0x3e9897(0x15e)||_0x283c13===_0x3e9897(0x165))&&(!path['resolve'](_0x8f0481)[_0x3e9897(0x14f)](path[_0x3e9897(0x14d)](_0x34bae3))&&_0x22c3dc());}),_0x4efa50['on'](_0x324fa3(0x143),_0x10f46e=>{const _0x319354=_0x324fa3;_0x59f202[_0x319354(0x149)](_0x10f46e)&&_0x56f521[_0x319354(0x16d)](_0x10f46e);}),_0x4efa50['on'](_0x324fa3(0x144),()=>{_0x12498f?_0x30672f(_0x12498f):_0x18055c();});});}async[a22_0x39ffe8(0x152)](_0x27658e,_0x5e0171){return new Promise((_0x30add,_0x5aadf7)=>{const _0x1fab99=a22_0x1079,_0x272e3d=fs[_0x1fab99(0x167)](_0x27658e);_0x272e3d['on'](_0x1fab99(0x163),_0x24fbfc=>{_0x5aadf7(_0x24fbfc);}),_0x272e3d['on'](_0x1fab99(0x17f),()=>{const _0x422116=_0x1fab99;let _0x3cf221;_0x5e0171&&(_0x3cf221=crypto[_0x422116(0x147)](_0x422116(0x164)));let _0x4d7614=0x0,_0x4e42d9;const _0x303f6f=_0x272e3d['pipe'](split());_0x303f6f['on'](_0x422116(0x163),_0x47919c=>{_0x4e42d9=_0x47919c;}),_0x303f6f['on'](_0x422116(0x168),_0x7beb96=>{const _0x52aacb=_0x422116;_0x5e0171&&_0x3cf221[_0x52aacb(0x175)](_0x7beb96),_0x4d7614++;}),_0x303f6f['on']('end',()=>{const _0x50a5bd=_0x422116;if(_0x4e42d9)_0x5aadf7(_0x4e42d9);else{const _0x43fbc6=_0x5e0171?_0x3cf221['digest'](_0x50a5bd(0x174)):undefined;_0x30add({'hash':_0x43fbc6,'lines':_0x4d7614});}});});});}}exports['Scanner']=Scanner;const findit=require(a22_0x39ffe8(0x172)),split=require(a22_0x39ffe8(0x153));
|