lightrun 1.79.0 → 1.80.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.d.ts +5 -0
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a15_0x258391=a15_0x46fb;function a15_0x1a53(){const _0x909db4=['search','10033173iiqLhT','push','apply','1757502cOhkSl','9807lHHWly','mapSubtract','2886076HVeqjU','toString','76lUFYmp','(((.+)+)+)+$','constructor','1341641FeEgUs','717360bSHOoR','defineProperty','3294138dWdFjM','__esModule','5uJOyjy'];a15_0x1a53=function(){return _0x909db4;};return a15_0x1a53();}(function(_0xb665c2,_0x2ea5f6){const _0x22b534=a15_0x46fb,_0x158197=_0xb665c2();while(!![]){try{const _0x48c0f9=-parseInt(_0x22b534(0x19b))/0x1*(parseInt(_0x22b534(0x19f))/0x2)+parseInt(_0x22b534(0x19a))/0x3+-parseInt(_0x22b534(0x19d))/0x4*(-parseInt(_0x22b534(0x1a7))/0x5)+parseInt(_0x22b534(0x1a5))/0x6+parseInt(_0x22b534(0x1a2))/0x7+parseInt(_0x22b534(0x1a3))/0x8+-parseInt(_0x22b534(0x197))/0x9;if(_0x48c0f9===_0x2ea5f6)break;else _0x158197['push'](_0x158197['shift']());}catch(_0x17ab72){_0x158197['push'](_0x158197['shift']());}}}(a15_0x1a53,0x9ec06));const a15_0x1791ab=(function(){let _0x1bac1f=!![];return function(_0x338f98,_0x4e1aa0){const _0x42ffdf=_0x1bac1f?function(){const _0x49ba5d=a15_0x46fb;if(_0x4e1aa0){const _0x3da114=_0x4e1aa0[_0x49ba5d(0x199)](_0x338f98,arguments);return _0x4e1aa0=null,_0x3da114;}}:function(){};return _0x1bac1f=![],_0x42ffdf;};}()),a15_0xf1ad6e=a15_0x1791ab(this,function(){const _0xe92d47=a15_0x46fb;return a15_0xf1ad6e['toString']()['search']('(((.+)+)+)+$')[_0xe92d47(0x19e)]()[_0xe92d47(0x1a1)](a15_0xf1ad6e)[_0xe92d47(0x1a8)](_0xe92d47(0x1a0));});a15_0xf1ad6e();function a15_0x46fb(_0x2193c7,_0x517a85){const _0x266f4b=a15_0x1a53();return a15_0x46fb=function(_0xf1ad6e,_0x1791ab){_0xf1ad6e=_0xf1ad6e-0x197;let _0x1a5337=_0x266f4b[_0xf1ad6e];return _0x1a5337;},a15_0x46fb(_0x2193c7,_0x517a85);}'use strict';Object[a15_0x258391(0x1a4)](exports,a15_0x258391(0x1a6),{'value':!![]}),exports[a15_0x258391(0x19c)]=void 0x0;const mapSubtract=(_0xce98bd,_0x909977)=>{const _0x3d0f73=a15_0x258391,_0x2c228a=[];for(const _0x152df5 in _0xce98bd){!_0x909977[_0x152df5]&&_0x2c228a[_0x3d0f73(0x198)](_0xce98bd[_0x152df5]);}return _0x2c228a;};exports[a15_0x258391(0x19c)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a16_0x3a39d3=a16_0x2bce;(function(_0x18b0f9,_0x4a638b){const _0x35049f=a16_0x2bce,_0x4f1f98=_0x18b0f9();while(!![]){try{const _0x3a6d65=parseInt(_0x35049f(0x161))/0x1*(parseInt(_0x35049f(0x14c))/0x2)+-parseInt(_0x35049f(0x176))/0x3*(-parseInt(_0x35049f(0x15c))/0x4)+-parseInt(_0x35049f(0x162))/0x5+-parseInt(_0x35049f(0x15b))/0x6*(-parseInt(_0x35049f(0x177))/0x7)+parseInt(_0x35049f(0x159))/0x8*(parseInt(_0x35049f(0x168))/0x9)+parseInt(_0x35049f(0x185))/0xa*(parseInt(_0x35049f(0x173))/0xb)+-parseInt(_0x35049f(0x175))/0xc*(parseInt(_0x35049f(0x14d))/0xd);if(_0x3a6d65===_0x4a638b)break;else _0x4f1f98['push'](_0x4f1f98['shift']());}catch(_0x347d05){_0x4f1f98['push'](_0x4f1f98['shift']());}}}(a16_0x1c81,0x2a1ef));const a16_0xc3197a=(function(){let _0x463550=!![];return function(_0x10c714,_0x17ad83){const _0x560708=_0x463550?function(){if(_0x17ad83){const _0x1772f2=_0x17ad83['apply'](_0x10c714,arguments);return _0x17ad83=null,_0x1772f2;}}:function(){};return _0x463550=![],_0x560708;};}()),a16_0x5318bd=a16_0xc3197a(this,function(){const _0x247cec=a16_0x2bce;return a16_0x5318bd[_0x247cec(0x171)]()['search']('(((.+)+)+)+$')[_0x247cec(0x171)]()[_0x247cec(0x186)](a16_0x5318bd)[_0x247cec(0x17c)]('(((.+)+)+)+$');});a16_0x5318bd();'use strict';Object[a16_0x3a39d3(0x178)](exports,a16_0x3a39d3(0x17a),{'value':!![]}),exports[a16_0x3a39d3(0x182)]=exports[a16_0x3a39d3(0x163)]=void 0x0;function a16_0x2bce(_0xb08bbb,_0x1beb35){const _0x283d94=a16_0x1c81();return a16_0x2bce=function(_0x5318bd,_0xc3197a){_0x5318bd=_0x5318bd-0x149;let _0x1c81c5=_0x283d94[_0x5318bd];return _0x1c81c5;},a16_0x2bce(_0xb08bbb,_0x1beb35);}function a16_0x1c81(){const _0x2fdb1e=['search','agentLogMaxFileCount','version','./getAgentConfig','../util/utils','filter','normalizeConfig','AGENT_LOG_MAX_FILE_COUNT','unversioned','30ktDwJN','constructor','LIGHTRUN_PROXY_PASSWORD','agentConfigFile','configSchema','metadata','serviceContext','76702LfFoYy','559JOONdn','env','K_REVISION','agentLogLevel','K_SERVICE','split','agentLogMaxFileSizeMb','message','GAE_MINOR_VERSION','GAE_VERSION','forEach','limitConfig','9400PFTmgu','LIGHTRUN_WAIT_FOR_INIT','403482jrmxtv','46588VoRzpo','agentLogTargetDir','agentLog','getBooleanValue','AGENT_LOG_MAX_FILE_SIZE_MB','6rcxUpk','923860JjgzeA','validateConfig','LIGHTRUN_PROXY_HOST','NO_CHECK_CERTIFICATE','FUNCTION_NAME','defaultConfig','1557QcZYnw','LIGHTRUN_PROXY_PORT','GAE_MODULE_VERSION','LIGHTRUN_TAGS','AGENT_LOG_LEVEL','AGENT_LOG_TARGET_DIR','../config','GAE_SERVICE','GAE_DEPLOYMENT_ID','toString','path','266453lNYUGg','LIGHTRUN_STD_ERR_THRESHOLD','120564fRdOuJ','21tVssFZ','21eIzGhK','defineProperty','GAE_MODULE_NAME','__esModule','stdErrThreshold'];a16_0x1c81=function(){return _0x2fdb1e;};return a16_0x1c81();}const extend=require('extend'),config_1=require(a16_0x3a39d3(0x16e)),utils_1=require(a16_0x3a39d3(0x180)),getAgentConfig_1=require(a16_0x3a39d3(0x17f)),limitConfig_1=require('./limitConfig'),validateConfig=_0x5ed545=>{const _0x422daa=a16_0x3a39d3,_0x5ed282={};try{config_1[_0x422daa(0x149)]['validateSync'](_0x5ed545,{'abortEarly':![]});}catch(_0xd3abd){_0xd3abd['inner'][_0x422daa(0x181)](_0x17aaef=>_0x17aaef[_0x422daa(0x172)]&&_0x17aaef[_0x422daa(0x154)])[_0x422daa(0x157)](_0x4fe15d=>{const _0x3d8070=_0x422daa;_0x5ed282[_0x4fe15d[_0x3d8070(0x172)]]=_0x4fe15d['message'];});}return _0x5ed282;};exports[a16_0x3a39d3(0x163)]=validateConfig;const normalizeConfig=_0x5e1257=>{const _0x31b713=a16_0x3a39d3,_0x3a7bb3={'serviceContext':{'service':process['env'][_0x31b713(0x16f)]??process[_0x31b713(0x14e)][_0x31b713(0x179)]??process[_0x31b713(0x14e)][_0x31b713(0x151)],'version':process[_0x31b713(0x14e)][_0x31b713(0x156)]??process[_0x31b713(0x14e)][_0x31b713(0x16a)]??process[_0x31b713(0x14e)][_0x31b713(0x14f)],'minorVersion_':process[_0x31b713(0x14e)][_0x31b713(0x170)]??process['env'][_0x31b713(0x155)]},'metadata':{'filename':process[_0x31b713(0x14e)]['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process[_0x31b713(0x14e)]['LIGHTRUN_SECRET'],'apiEndpoint':process[_0x31b713(0x14e)]['LIGHTRUN_API_ENDPOINT'],'noCheckCertificate':(0x0,utils_1[_0x31b713(0x15f)])(process[_0x31b713(0x14e)][_0x31b713(0x165)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x31b713(0x15f)])(process['env']['FETCH_BREAKPOINTS_ONCE']),'lightrunWaitForInit':(0x0,utils_1[_0x31b713(0x15f)])(process[_0x31b713(0x14e)][_0x31b713(0x15a)]),'lightrunInitWaitTimeMs':process['env']['LIGHTRUN_INIT_WAIT_TIME_MS'],'agentLog':_0x5e1257?.[_0x31b713(0x15e)]??{},'proxy':{'host':process[_0x31b713(0x14e)][_0x31b713(0x164)],'port':parseInt(process[_0x31b713(0x14e)][_0x31b713(0x169)]??'')||undefined,'username':process[_0x31b713(0x14e)]['LIGHTRUN_PROXY_USERNAME'],'password':process[_0x31b713(0x14e)][_0x31b713(0x187)]}};process[_0x31b713(0x14e)][_0x31b713(0x174)]!==undefined&&(_0x3a7bb3['agentLog'][_0x31b713(0x17b)]=process[_0x31b713(0x14e)][_0x31b713(0x174)]);process[_0x31b713(0x14e)][_0x31b713(0x16c)]!==undefined&&(_0x3a7bb3[_0x31b713(0x15e)][_0x31b713(0x150)]=process[_0x31b713(0x14e)]['AGENT_LOG_LEVEL']);process['env'][_0x31b713(0x16d)]!==undefined&&(_0x3a7bb3[_0x31b713(0x15e)][_0x31b713(0x15d)]=process[_0x31b713(0x14e)]['AGENT_LOG_TARGET_DIR']);process[_0x31b713(0x14e)][_0x31b713(0x183)]!==undefined&&(_0x3a7bb3[_0x31b713(0x15e)][_0x31b713(0x17d)]=parseInt(process[_0x31b713(0x14e)][_0x31b713(0x183)]));process[_0x31b713(0x14e)]['AGENT_LOG_MAX_FILE_SIZE_MB']!==undefined&&(_0x3a7bb3[_0x31b713(0x15e)][_0x31b713(0x153)]=parseInt(process['env'][_0x31b713(0x160)]));process[_0x31b713(0x14e)][_0x31b713(0x166)]&&(_0x3a7bb3[_0x31b713(0x14b)]['service']=process[_0x31b713(0x14e)][_0x31b713(0x166)],_0x3a7bb3[_0x31b713(0x14b)][_0x31b713(0x17e)]=_0x31b713(0x184));process['env'][_0x31b713(0x16b)]&&(_0x3a7bb3[_0x31b713(0x14a)]['registration']={'tags':process[_0x31b713(0x14e)][_0x31b713(0x16b)][_0x31b713(0x152)](',')});const _0x49102d=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0x31b713(0x14e)]['LIGHTRUN_AGENT_CONFIG']??_0x5e1257?.[_0x31b713(0x188)]??config_1[_0x31b713(0x167)][_0x31b713(0x188)]),_0xf7bf2e=(0x0,limitConfig_1[_0x31b713(0x158)])(extend(!![],{},config_1[_0x31b713(0x167)],_0x49102d,_0x5e1257,_0x3a7bb3)),_0x447ffe=(0x0,exports[_0x31b713(0x163)])(_0xf7bf2e);return{..._0xf7bf2e,'errors':_0x447ffe};};exports[a16_0x3a39d3(0x182)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x2559aa=a17_0x4454;(function(_0x3ed01a,_0x305571){const _0x205071=a17_0x4454,_0x13ca90=_0x3ed01a();while(!![]){try{const _0x428acd=parseInt(_0x205071(0x1b6))/0x1*(-parseInt(_0x205071(0x1a9))/0x2)+parseInt(_0x205071(0x1ac))/0x3+parseInt(_0x205071(0x1ad))/0x4*(parseInt(_0x205071(0x1b5))/0x5)+-parseInt(_0x205071(0x1ae))/0x6+parseInt(_0x205071(0x1a8))/0x7+parseInt(_0x205071(0x1b0))/0x8+-parseInt(_0x205071(0x1b4))/0x9;if(_0x428acd===_0x305571)break;else _0x13ca90['push'](_0x13ca90['shift']());}catch(_0x439c4f){_0x13ca90['push'](_0x13ca90['shift']());}}}(a17_0x1c90,0x4920b));const a17_0x8da4f4=(function(){let _0x2fdbf1=!![];return function(_0x28a149,_0x1ce3da){const _0x445b4b=_0x2fdbf1?function(){const _0x311453=a17_0x4454;if(_0x1ce3da){const _0xc529d0=_0x1ce3da[_0x311453(0x1b7)](_0x28a149,arguments);return _0x1ce3da=null,_0xc529d0;}}:function(){};return _0x2fdbf1=![],_0x445b4b;};}()),a17_0x3b9697=a17_0x8da4f4(this,function(){const _0x1feac3=a17_0x4454;return a17_0x3b9697['toString']()['search']('(((.+)+)+)+$')[_0x1feac3(0x1a7)]()[_0x1feac3(0x1b1)](a17_0x3b9697)[_0x1feac3(0x1ab)](_0x1feac3(0x1aa));});function a17_0x1c90(){const _0xf704c9=['10948OOLTWo','(((.+)+)+)+$','search','964713RyVJAl','2259568ORfsgq','2990166JetuHu','push','2249216rInrdH','constructor','defineProperty','delimit','3945294wIIDbS','5AdITLa','5gdrFFL','apply','toString','672091KtqgnH'];a17_0x1c90=function(){return _0xf704c9;};return a17_0x1c90();}a17_0x3b9697();'use strict';Object[a17_0x2559aa(0x1b2)](exports,'__esModule',{'value':!![]}),exports['tokenize']=void 0x0;const delimit_1=require('./delimit'),tokenize=(_0x297ccc,_0x2c002c)=>{const _0x14e77b=a17_0x2559aa;let _0x59c9d7=(0x0,delimit_1[_0x14e77b(0x1b3)])(_0x297ccc,'$$');for(let _0x4aba85=_0x2c002c-0x1;_0x4aba85>=0x0;_0x4aba85--){const _0x14e349=[];for(const _0x4a644b of _0x59c9d7){_0x4a644b['v']?_0x14e349[_0x14e77b(0x1af)](_0x4a644b):_0x14e349[_0x14e77b(0x1af)](...(0x0,delimit_1[_0x14e77b(0x1b3)])(_0x4a644b,'$'+_0x4aba85));}_0x59c9d7=_0x14e349;}return _0x59c9d7;};function a17_0x4454(_0x4a8ba7,_0x1f153b){const _0x28ee0a=a17_0x1c90();return a17_0x4454=function(_0x3b9697,_0x8da4f4){_0x3b9697=_0x3b9697-0x1a7;let _0x1c9032=_0x28ee0a[_0x3b9697];return _0x1c9032;},a17_0x4454(_0x4a8ba7,_0x1f153b);}exports['tokenize']=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x524d0d=a18_0x9624;(function(_0x459f2e,_0x562aa6){const _0x59ea10=a18_0x9624,_0x219324=_0x459f2e();while(!![]){try{const _0x17523a=-parseInt(_0x59ea10(0x217))/0x1+parseInt(_0x59ea10(0x268))/0x2+parseInt(_0x59ea10(0x2a5))/0x3+parseInt(_0x59ea10(0x232))/0x4+parseInt(_0x59ea10(0x278))/0x5+-parseInt(_0x59ea10(0x229))/0x6*(parseInt(_0x59ea10(0x285))/0x7)+parseInt(_0x59ea10(0x234))/0x8;if(_0x17523a===_0x562aa6)break;else _0x219324['push'](_0x219324['shift']());}catch(_0x1ccdec){_0x219324['push'](_0x219324['shift']());}}}(a18_0x21b7,0x45b8c));function a18_0x9624(_0x329154,_0x3c886d){const _0x2f6294=a18_0x21b7();return a18_0x9624=function(_0x57779a,_0x332811){_0x57779a=_0x57779a-0x1ef;let _0x21b713=_0x2f6294[_0x57779a];return _0x21b713;},a18_0x9624(_0x329154,_0x3c886d);}const a18_0x332811=(function(){let _0x5962eb=!![];return function(_0x28c221,_0x408b53){const _0x4046cf=_0x5962eb?function(){const _0x15e96d=a18_0x9624;if(_0x408b53){const _0x3129dd=_0x408b53[_0x15e96d(0x216)](_0x28c221,arguments);return _0x408b53=null,_0x3129dd;}}:function(){};return _0x5962eb=![],_0x4046cf;};}()),a18_0x57779a=a18_0x332811(this,function(){const _0x4c3e9b=a18_0x9624;return a18_0x57779a['toString']()['search'](_0x4c3e9b(0x2e2))[_0x4c3e9b(0x2b0)]()['constructor'](a18_0x57779a)[_0x4c3e9b(0x238)](_0x4c3e9b(0x2e2));});a18_0x57779a();'use strict';var __classPrivateFieldSet=this&&this[a18_0x524d0d(0x25e)]||function(_0x4c77c4,_0x1c51df,_0x46b2b5,_0x2f8d5e,_0x1a644a){const _0x3291b5=a18_0x524d0d;if(_0x2f8d5e==='m')throw new TypeError(_0x3291b5(0x2dc));if(_0x2f8d5e==='a'&&!_0x1a644a)throw new TypeError(_0x3291b5(0x22a));if(typeof _0x1c51df===_0x3291b5(0x204)?_0x4c77c4!==_0x1c51df||!_0x1a644a:!_0x1c51df[_0x3291b5(0x262)](_0x4c77c4))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x2f8d5e==='a'?_0x1a644a[_0x3291b5(0x263)](_0x4c77c4,_0x46b2b5):_0x1a644a?_0x1a644a[_0x3291b5(0x2d2)]=_0x46b2b5:_0x1c51df[_0x3291b5(0x22c)](_0x4c77c4,_0x46b2b5),_0x46b2b5;},__classPrivateFieldGet=this&&this[a18_0x524d0d(0x1f3)]||function(_0x1f812a,_0x125a02,_0x1eda70,_0x467e65){const _0x357e80=a18_0x524d0d;if(_0x1eda70==='a'&&!_0x467e65)throw new TypeError(_0x357e80(0x29f));if(typeof _0x125a02===_0x357e80(0x204)?_0x1f812a!==_0x125a02||!_0x467e65:!_0x125a02['has'](_0x1f812a))throw new TypeError(_0x357e80(0x213));return _0x1eda70==='m'?_0x467e65:_0x1eda70==='a'?_0x467e65['call'](_0x1f812a):_0x467e65?_0x467e65['value']:_0x125a02['get'](_0x1f812a);},_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['defineProperty'](exports,a18_0x524d0d(0x24e),{'value':!![]}),exports[a18_0x524d0d(0x2bf)]=exports[a18_0x524d0d(0x26a)]=void 0x0;const assert=require(a18_0x524d0d(0x2b2)),events_1=require(a18_0x524d0d(0x2a0)),extend=require(a18_0x524d0d(0x2f7)),fs=require('fs'),path=require(a18_0x524d0d(0x221)),util=require(a18_0x524d0d(0x289)),status_message_1=require(a18_0x524d0d(0x231)),stackdriver_1=require(a18_0x524d0d(0x287)),agent_logger_1=require(a18_0x524d0d(0x227)),patterns_blocklist_manager_1=require(a18_0x524d0d(0x20d)),config_1=require(a18_0x524d0d(0x1f9)),configuration_provider_1=require(a18_0x524d0d(0x26f)),controller_1=require(a18_0x524d0d(0x237)),createDebuggee_1=require(a18_0x524d0d(0x23d)),format_1=require(a18_0x524d0d(0x201)),mapSubtract_1=require(a18_0x524d0d(0x23b)),normalizeConfig_1=require(a18_0x524d0d(0x2cb)),environment_metadata_1=require(a18_0x524d0d(0x215)),file_index_1=require('./io/file-index'),scanner_1=require(a18_0x524d0d(0x2e0)),SourceMapper=require('./io/sourcemapper'),piping_manager_1=require(a18_0x524d0d(0x272)),quota_manager_1=require('./quota-manager'),redaction_manager_1=require(a18_0x524d0d(0x260)),utils_1=require(a18_0x524d0d(0x29e)),debugapi=require(a18_0x524d0d(0x2fd)),redaction_manager_re2js_1=require(a18_0x524d0d(0x212)),readFilep=util[a18_0x524d0d(0x2c7)](fs['readFile']),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x17bdbe,_0x19a19c)=>{const _0x3f6868=a18_0x524d0d;let _0xadd55b=_0x17bdbe+util['format'](_0x3f6868(0x2a3),_0x19a19c['id'],_0x19a19c[_0x3f6868(0x2ca)],util[_0x3f6868(0x24a)](_0x19a19c[_0x3f6868(0x2f6)]));if(_0x19a19c[_0x3f6868(0x261)]){const _0x429d5d=Number(_0x19a19c[_0x3f6868(0x261)]['seconds']),_0x106321=new Date(_0x429d5d*0x3e8);_0xadd55b+=_0x3f6868(0x2ff)+_0x106321['toString']();}return _0x19a19c[_0x3f6868(0x2e3)]&&(_0xadd55b+=_0x3f6868(0x29a)+util['inspect'](_0x19a19c[_0x3f6868(0x2e3)])),_0x19a19c[_0x3f6868(0x1f5)]&&(_0xadd55b+=_0x3f6868(0x2f8)+util[_0x3f6868(0x24a)](_0x19a19c[_0x3f6868(0x1f5)])),_0xadd55b;},formatBreakpoints=(_0x1b64b4,_0x2008cc)=>_0x1b64b4+Object[a18_0x524d0d(0x203)](_0x2008cc)[a18_0x524d0d(0x2c8)](_0xa6dbf5=>formatBreakpoint('',_0x2008cc[_0xa6dbf5]))[a18_0x524d0d(0x211)]('\x0a');class CachedPromise{constructor(){const _0x1b684e=a18_0x524d0d;this[_0x1b684e(0x288)]=null,this[_0x1b684e(0x20f)]=new Promise(_0x52e1e5=>{const _0x4a1ded=_0x1b684e;this[_0x4a1ded(0x288)]=_0x52e1e5;});}[a18_0x524d0d(0x23a)](){const _0xb7cc15=a18_0x524d0d;return this[_0xb7cc15(0x20f)];}['resolve'](){const _0x510150=a18_0x524d0d;this[_0x510150(0x288)]&&(this['promiseResolve'](),this['promiseResolve']=null);}}function a18_0x21b7(){const _0x42a4aa=['breakpoints_fetched','getProps','./config','setPatterns','\x09Long\x20poll\x20completed.','getRedactions','default','deregister','logMainConfigParams','fromEntries','./debuglet-helpers/format','isFinalState','keys','function','stdErrThreshold','expirationSeconds','UNSPECIFIED','name','.\x20Error:\x20','EnvironmentMetadata','Error\x20processing\x20the\x20sourcemaps.','Active\x20Breakpoints:\x20\x0a','./blocklisting/patterns-blocklist-manager','shouldRedactByName','promise','\x20to\x20','join','./reduction/redaction-manager-re2js','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','prettyError','./environment-metadata','apply','525517yMspEM','debug','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','breakpoints_fetch_registration_required','parameters','debuggee','stop','Scheduling\x20registration\x20in\x20','findFiles','clear','path','ignoreQuota','Failed\x20to\x20','disable','maxRequestRetryDelaySeconds','line','./agent-logger','getSourceContextFromFile','3450rOoKzf','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','js.map','set','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','\x09Got\x20error\x20from\x20server.\x20status:\x20','rejecting\x20breakpoint\x20id\x20','sourceMapDiagnostics','../client/stackdriver/status-message','1660072YgAkUS','quotaCheck','2208280WFmJMy','bind','fromFileStats','./controller','search','resolve','get','./debuglet-helpers/mapSubtract','RedactionManagerRE2JS','./debuglet-helpers/createDebuggee','forEach','Scanner','blacklist_exception','stringify','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','getLevel','\x20accepted\x20by\x20agent','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','format','Unique\x20ID\x20for\x20this\x20Application:\x20','FileIndex','breakpoints_fetch_failed','inspect','type','pid','agentLogTargetDir','__esModule','remotelyDisabled','agentLogMaxFileSizeMb','create','entries','message','removePerBreakpointQuota','internal','info','Result:\x20\x0a','\x20(type:\x20','GAE_MINOR_VERSION','DEBUG','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','\x09remove\x20breakpoint\x20id\x20','__classPrivateFieldSet','remainingHits','./reduction/redaction-manager','createTime','has','call','Expiring\x20breakpoint\x20id\x20','clientConnectionTimeoutInSeconds','config','waitForTransmissionQueueDrain','38406vGuWmE','\x20caseInsensitive:\x20','CachedPromise','push','emit','expirationTime','substring','./configuration-provider','Error\x20scanning\x20the\x20filesystem.','isReady','./piping-manager','\x09successfully\x20added\x20breakpoint\x20id\x20','filter','stopped','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','now','1631910UNJLTk','agentLog','Debuggee\x20is\x20not\x20registered','breakpoint_set','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','registered','agentLogLevel','mapSubtract','kill','registration_failed','removeListener','collectAndSendLog','hash','5943FbDqZY','cwd','../types/stackdriver','promiseResolve','util','breakpoints','javascriptFileExtensions','add','Blacklist:\x20\x0a\x09','fetchBreakpointsOnce','setCustomLogLevel','object','LOG','setLevel','isReadyManager','collectLogRequestId','once','globalPipingStatus','pipeLogs','Fetching\x20breakpoints','enqueueBreakpointUpdate','\x0a\x09condition:\x20','workingDirectory','errors','sendAgentLogsToServer','./util/utils','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','events','wait','status','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','register\x20debuggee','787902LIeDFq','then','Controller','reporting\x20breakpoint\x20','error','waitForBreakpoints','QuotaManager','start','removeBreakpoint','SIGQUIT','GAE-','toString','.\x20message:\x20','assert','Working\x20directory:\x20','register','jsFileIndex','selectFiles','concat','existsSync','values','pipingStatus','logger','Stopping\x20Debuglet','breakpointExpirationSec','name:\x20','Debuglet','Switching\x20globalPiping\x20status\x20from\x20','\x20because\x20','ConfigurationProvider','normalizeConfig','backoff','CAPTURE','isDisabled','promisify','map','extraPaths','action','./debuglet-helpers/normalizeConfig','Found\x20breakpoint\x20with\x20invalid\x20action:','pipingManager','filename','fetcherActive','Disabled\x20by\x20the\x20server','pattern','value','isLambda','quota','NOT_SET','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','Server\x20breakpoints:\x0a','getClientConnectionTimeoutInSeconds','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','waitExpired','ALLOW_EXPRESSIONS_MESSAGE','Private\x20method\x20is\x20not\x20writable','allowExpressions','isRunning','beforeExit','./io/scanner','agentLogMaxFileCount','(((.+)+)+)+$','condition','sep','Debuglet\x20not\x20running','Registering\x20debuggee','length','stringifyBreakpointForInfoLog','createLogger','allowRootAsWorkingDirectory','initError','getInitialLevel','AGENT_LOG_FILE','LOGPOINT:\x20','isRegistered','StatusMessage','getBlocklist','activeBreakpointMap','packageInfo','REDACTED_PLACEHOLDER','re-register\x20debuggee\x20','location','extend','\x0a\x09expressions:\x20','EventEmitter','SIGINT','createPerBreakpointConditionQuota','env','./v8/debugapi','selectStats','\x0a\x09createdTime:\x20','replace','replaceRedactedByValue','...\x20[truncated]','warn','description','listBreakpoints','__classPrivateFieldGet','posix','expressions','sourceContext'];a18_0x21b7=function(){return _0x42a4aa;};return a18_0x21b7();}exports[a18_0x524d0d(0x26a)]=CachedPromise;class IsReadyImpl{constructor(_0x2fa48d){this['debuglet']=_0x2fa48d;}[a18_0x524d0d(0x271)](){const _0x1aeb8e=a18_0x524d0d;return this['debuglet'][_0x1aeb8e(0x271)]();}}class Debuglet extends events_1[a18_0x524d0d(0x2f9)]{constructor(_0x1c11db,_0x36b7b7){const _0x5949fe=a18_0x524d0d;super(),_Debuglet_instances[_0x5949fe(0x28c)](this),_Debuglet_debug[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_v8debug[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout['set'](this,null),this[_0x5949fe(0x293)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_scanner[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_quotaManager[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_blocklistManager[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_redactionManager[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_configProvider[_0x5949fe(0x22c)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this[_0x5949fe(0x266)]=(0x0,normalizeConfig_1[_0x5949fe(0x2c3)])(_0x36b7b7),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x5949fe(0x2c2))](this[_0x5949fe(0x266)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1c11db,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x5949fe(0x2cf)]=![],this[_0x5949fe(0x2bb)]=agent_logger_1[_0x5949fe(0x1fd)][_0x5949fe(0x2e9)](this['config'][_0x5949fe(0x279)][_0x5949fe(0x24d)],this[_0x5949fe(0x266)][_0x5949fe(0x279)][_0x5949fe(0x250)],this[_0x5949fe(0x266)][_0x5949fe(0x279)][_0x5949fe(0x2e1)],this[_0x5949fe(0x266)][_0x5949fe(0x279)]['agentLogLevel'],this['config'][_0x5949fe(0x279)][_0x5949fe(0x205)]),(0x0,config_1[_0x5949fe(0x1ff)])(this[_0x5949fe(0x266)],this[_0x5949fe(0x2bb)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x5949fe(0x20a))](this['logger'])[_0x5949fe(0x1f8)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x5949fe(0x2a7))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x5949fe(0x266)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x5949fe(0x23f))](this[_0x5949fe(0x2bb)]),'f'),this['debuggee']=null,this['activeBreakpointMap']={},__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[(_0x5949fe(0x2ab))](this['logger'],this[_0x5949fe(0x266)]),'f'),this[_0x5949fe(0x2cd)]=new piping_manager_1['PipingManager']('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a18_0x524d0d(0x267)](_0x5349bb){const _0x39d662=a18_0x524d0d;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x39d662(0x267)](_0x5349bb);}[a18_0x524d0d(0x2d8)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x524d0d(0x2aa)](_0x3ac973){const _0x1197ed=a18_0x524d0d,_0x2361c1=0x32;let _0x30af47=null;const _0x2cd7df=()=>_0x30af47=!![],_0x30f685=()=>_0x30af47=![],_0x3c9cf0=_0x51f061=>{if(_0x51f061)return;_0x2cd7df();};let _0x1609d0=![];const _0x3f564d=_0x1b3441=>{const _0x5de8b3=a18_0x9624;_0x1609d0&&_0x30f685(),_0x1609d0=!![],this[_0x5de8b3(0x2b4)]();};this[_0x1197ed(0x295)](_0x1197ed(0x1f7),_0x3c9cf0),this[_0x1197ed(0x295)](_0x1197ed(0x27b),_0x2cd7df);this['config'][_0x1197ed(0x255)]?.[_0x1197ed(0x2d3)]&&(this[_0x1197ed(0x295)](_0x1197ed(0x281),_0x30f685),this[_0x1197ed(0x295)](_0x1197ed(0x249),_0x30f685),this[_0x1197ed(0x295)](_0x1197ed(0x21a),_0x3f564d));if(_0x3ac973){const _0x4a3706=Date[_0x1197ed(0x277)]();while(_0x30af47===null&&Date[_0x1197ed(0x277)]()-_0x4a3706<_0x3ac973){await(0x0,utils_1['waitFor'])(_0x2361c1);}}return this[_0x1197ed(0x282)](_0x1197ed(0x1f7),_0x3c9cf0),this[_0x1197ed(0x282)](_0x1197ed(0x27b),_0x2cd7df),this[_0x1197ed(0x266)][_0x1197ed(0x255)]?.[_0x1197ed(0x2d3)]&&(this[_0x1197ed(0x282)](_0x1197ed(0x281),_0x30f685),this[_0x1197ed(0x282)]('breakpoints_fetch_failed',_0x30f685),this[_0x1197ed(0x282)](_0x1197ed(0x21a),_0x3f564d)),_0x30af47===!![];}[a18_0x524d0d(0x28e)](){const _0x260dff=a18_0x524d0d;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x260dff(0x263)](this,0x0,!![]);}[a18_0x524d0d(0x2ef)](){const _0x2d7f30=a18_0x524d0d;return this[_0x2d7f30(0x21c)]?.['id']!==undefined;}async[a18_0x524d0d(0x21f)](_0x3cf64b,_0x12c15f){const _0x1887bf=a18_0x524d0d,_0x581086=_0x3cf64b[_0x1887bf(0x29b)],_0x1a5d2e=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x581086,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x1887bf(0x263)](_a,_0x3cf64b[_0x1887bf(0x28b)][_0x1887bf(0x2b7)](_0x1887bf(0x22b))),_0x12c15f,_0x3cf64b[_0x1887bf(0x2c9)]),_0x28cb23=_0x1a5d2e[_0x1887bf(0x2fe)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x3cf64b['javascriptFileExtensions'])),_0x42cf46=file_index_1[_0x1887bf(0x248)][_0x1887bf(0x236)](_0x28cb23),_0x58fd0f=_0x1a5d2e[_0x1887bf(0x2b6)](/.js.map$/,process[_0x1887bf(0x286)]()),_0x11fc3f=_0x1a5d2e['errors']();return{'mapFiles':_0x58fd0f,'errors':_0x11fc3f,'jsFileIndex':_0x42cf46,'hash':_0x1a5d2e[_0x1887bf(0x284)]};}async[a18_0x524d0d(0x2ac)](){const _0x3d9e3d=a18_0x524d0d,_0x5f49ad=this['config']['workingDirectory'];if(!this[_0x3d9e3d(0x266)][_0x3d9e3d(0x2ea)]&&path[_0x3d9e3d(0x211)](_0x5f49ad,'..')===_0x5f49ad){const _0xb7db60=_0x3d9e3d(0x219)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+'do\x20this.';this['logger'][_0x3d9e3d(0x2a9)](_0xb7db60),this['emit']('initError',new Error(_0xb7db60));return;}let _0x312f48;process[_0x3d9e3d(0x2fc)]['GAE_MINOR_VERSION']&&(_0x312f48=_0x3d9e3d(0x2af)+process[_0x3d9e3d(0x2fc)][_0x3d9e3d(0x259)]);let _0x3db59d,_0x2c0d79=_0x312f48??'';try{_0x3db59d=await this[_0x3d9e3d(0x21f)](this['config'],_0x312f48),_0x3db59d['errors']['forEach'](this[_0x3d9e3d(0x2bb)]['warn']);}catch(_0x48704e){this[_0x3d9e3d(0x2bb)][_0x3d9e3d(0x2a9)](_0x3d9e3d(0x270),_0x48704e),this[_0x3d9e3d(0x26c)]('initError',_0x48704e);return;}try{const _0x2cf625=await SourceMapper[_0x3d9e3d(0x251)](this['logger'],_0x3db59d['mapFiles'],this['config'][_0x3d9e3d(0x255)]?.[_0x3d9e3d(0x230)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi['create'](this[_0x3d9e3d(0x2bb)],this['config'],_0x3db59d[_0x3d9e3d(0x2b5)],_0x2cf625,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x2c0d79=_0x312f48??_0x3db59d[_0x3d9e3d(0x284)];}catch(_0x832859){this['logger'][_0x3d9e3d(0x2a9)](_0x3d9e3d(0x20b),_0x832859),this[_0x3d9e3d(0x2bb)][_0x3d9e3d(0x256)](JSON['stringify'](_0x832859)),this[_0x3d9e3d(0x26c)](_0x3d9e3d(0x2eb),_0x832859);}this[_0x3d9e3d(0x2bb)][_0x3d9e3d(0x256)](_0x3d9e3d(0x247)+_0x2c0d79);const _0x142cc3=(0x0,utils_1['readFullVersion'])(this['logger'])[_0x3d9e3d(0x300)]('\x0a','');this[_0x3d9e3d(0x2bb)][_0x3d9e3d(0x256)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x142cc3);let _0x51be67;try{_0x51be67=this['config'][_0x3d9e3d(0x1f6)]||await _a['getSourceContextFromFile']();}catch{}this['logger'][_0x3d9e3d(0x256)](_0x3d9e3d(0x245)+process['mainModule']?.[_0x3d9e3d(0x2ce)]),this[_0x3d9e3d(0x2bb)][_0x3d9e3d(0x218)](_0x3d9e3d(0x2b3)+_0x5f49ad),this['logger'][_0x3d9e3d(0x218)]('Starting\x20debuggee'),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x3d9e3d(0x21c)]=(0x0,createDebuggee_1['createDebuggee'])(_0x2c0d79,this['config'],_0x51be67,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x3d9e3d(0x2f3)],_0x142cc3,this['logger'],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x3d9e3d(0x263)](this),this['register'](),this['emit']('started');}['isReady'](){const _0x55113b=a18_0x524d0d;if(Date[_0x55113b(0x277)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x55113b(0x239)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x55113b(0x23a)]()[_0x55113b(0x2a6)](()=>{const _0xc5f445=_0x55113b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xc5f445(0x263)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async[a18_0x524d0d(0x228)](){const _0xe6fbf5=await readFilep('source-context.json','utf8');try{return JSON['parse'](_0xe6fbf5);}catch(_0x19a1b0){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x19a1b0);}}[a18_0x524d0d(0x2b4)](){const _0x271631=a18_0x524d0d;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x271631(0x263)](this,0x0);}[a18_0x524d0d(0x2de)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x524d0d(0x21d)](){const _0xbdc661=a18_0x524d0d;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xbdc661(0x2bb)][_0xbdc661(0x218)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0xbdc661(0x2bb)][_0xbdc661(0x218)](_0xbdc661(0x2bc)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0xbdc661(0x21d)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xbdc661(0x26c)](_0xbdc661(0x275));}['stringifyBreakpointForInfoLog'](_0x3bb287){const _0x481309=a18_0x524d0d;if(!this[_0x481309(0x2bb)]['isAtLeastInfo']())return _0x3bb287['id'];try{const _0x2e1b33=JSON[_0x481309(0x241)](_0x3bb287);if(_0x2e1b33[_0x481309(0x2e7)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x2e1b33;return _0x2e1b33[_0x481309(0x26e)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x481309(0x1ef);}catch(_0x37130d){return this[_0x481309(0x2bb)]['error'](_0x481309(0x27c),_0x37130d),_0x3bb287['id'];}}[a18_0x524d0d(0x28f)](_0x1abe05){const _0x46c578=a18_0x524d0d,_0x47464f=this[_0x46c578(0x2bb)][_0x46c578(0x2ec)]();if(_0x47464f===_0x46c578(0x218))return;switch(_0x1abe05){case _0x46c578(0x25a):this['logger'][_0x46c578(0x243)]()!==_0x46c578(0x218)&&(this[_0x46c578(0x2bb)]['setLevel'](_0x46c578(0x218)),this['logger'][_0x46c578(0x218)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG'));break;case _0x46c578(0x2d5):case undefined:this[_0x46c578(0x2bb)][_0x46c578(0x243)]()==='debug'&&(this[_0x46c578(0x2bb)][_0x46c578(0x292)](_0x47464f),this[_0x46c578(0x2bb)][_0x46c578(0x256)](_0x46c578(0x2d6)+_0x47464f+')'));break;default:this[_0x46c578(0x2bb)][_0x46c578(0x1f0)]('Unknown\x20agentLogLevel\x20'+_0x1abe05);}}}exports[a18_0x524d0d(0x2bf)]=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(_0x5e0f37){const _0x56e873=a18_0x524d0d;return new RegExp(_0x5e0f37[_0x56e873(0x2c8)](_0xd0ea50=>_0xd0ea50+'$')[_0x56e873(0x211)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x85d2a7=a18_0x524d0d,_0xb4d7e7=['SIGTERM',_0x85d2a7(0x2fa),_0x85d2a7(0x2ae)];_0xb4d7e7[_0x85d2a7(0x23e)](_0x28a6ec=>{process['once'](_0x28a6ec,()=>{const _0x1e66a3=a18_0x9624;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1e66a3(0x1fe)](this[_0x1e66a3(0x21c)],()=>{const _0xaa51b8=_0x1e66a3;process[_0xaa51b8(0x280)](process[_0xaa51b8(0x24c)],_0x28a6ec);});});}),process['once'](_0x85d2a7(0x2df),()=>{const _0x1cc766=_0x85d2a7;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x1cc766(0x21c)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x3f05db){const _0x293804=a18_0x524d0d;this[_0x293804(0x2bb)][_0x293804(0x218)](_0x3f05db?_0x293804(0x21e)+_0x3f05db+'s':_0x293804(0x2e6));const _0x541ab9=(_0x43d762,_0x4593d5,_0x100b91=![])=>{const _0x2172dd=_0x293804;this[_0x2172dd(0x26c)](_0x2172dd(0x281));const _0x42928a=this[_0x2172dd(0x21c)]?.['id'],_0x501258=_0x42928a?_0x2172dd(0x2f5)+_0x42928a:_0x2172dd(0x2a4),_0x333e13=_0x2172dd(0x223)+_0x501258+':\x20'+(0x0,utils_1[_0x2172dd(0x214)])(_0x43d762);this['logger'][_0x2172dd(0x2a9)](_0x333e13),_0x4593d5&&!_0x100b91&&this[_0x2172dd(0x2bb)]['error'](_0x2172dd(0x257),_0x4593d5),!this[_0x2172dd(0x266)][_0x2172dd(0x255)]?.[_0x2172dd(0x2d3)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,(0x0,utils_1[_0x2172dd(0x2c4)])(_0x3f05db,this['config'][_0x2172dd(0x255)][_0x2172dd(0x225)]));};setTimeout(()=>{const _0x34f092=_0x293804;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x541ab9(new Error(_0x34f092(0x2e5)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this[_0x34f092(0x21c)],(_0x4c637a,_0x34ef03,_0x2076ac=![])=>{const _0x386f2e=_0x34f092;if(_0x4c637a){_0x541ab9(_0x4c637a,_0x34ef03,_0x2076ac);return;}if(_0x34ef03[_0x386f2e(0x21c)][_0x386f2e(0x2c6)]){_0x541ab9(new Error(_0x386f2e(0x2d0))),this[_0x386f2e(0x26c)](_0x386f2e(0x24f));return;}const _0x302753=_0x34ef03[_0x386f2e(0x21c)]['id'];this[_0x386f2e(0x2bb)][_0x386f2e(0x256)]('Registered\x20as\x20debuggee:\x20'+_0x302753),this[_0x386f2e(0x21c)]['id']=_0x302753;const _0xffb0a9=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x386f2e(0x235)](this)(this[_0x386f2e(0x21c)]['id'])];this[_0x386f2e(0x266)]['redactionEnabled']&&_0xffb0a9[_0x386f2e(0x26b)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x386f2e(0x235)](this)(this['debuggee']['id'])),Promise['all'](_0xffb0a9)[_0x386f2e(0x2a6)](()=>{const _0x3c57bd=_0x386f2e;this['emit'](_0x3c57bd(0x27d),_0x302753),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3c57bd(0x239)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['setBlocklistManager'](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x34ef03?.[_0x3c57bd(0x265)],'f'),!this['fetcherActive']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3c57bd(0x263)](this,0x0,this[_0x3c57bd(0x266)]['fetchBreakpointsOnce'],_0x34ef03?.[_0x3c57bd(0x265)]);},_0xef6cae=>{_0x541ab9(_0xef6cae);});});},_0x3f05db*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x293625,_0x43d030,_0x2384ad){const _0xa19679=a18_0x524d0d;this[_0xa19679(0x2bb)]['debug']('scheduleBreakpointFetch_\x20'+_0x293625+'\x20'+_0x43d030+'\x20'+_0x2384ad),!_0x43d030&&(this[_0xa19679(0x2cf)]=!![]),setTimeout(()=>{const _0x2505af=_0xa19679;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x43d030&&assert(this[_0x2505af(0x2cf)]),this[_0x2505af(0x2bb)][_0x2505af(0x218)](_0x2505af(0x298)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2505af(0x1f2)](this['debuggee'],(_0x38d84e,_0x40d170,_0x32c8b1)=>{const _0xba504f=_0x2505af;if(_0x32c8b1?.[_0xba504f(0x2a2)]===0x194){this[_0xba504f(0x2bb)]['info'](_0xba504f(0x27a)),this[_0xba504f(0x2cf)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0xba504f(0x263)](this);this[_0xba504f(0x266)][_0xba504f(0x255)]?.[_0xba504f(0x2d3)]?this[_0xba504f(0x26c)](_0xba504f(0x21a)):this[_0xba504f(0x2b4)]();return;}if(_0x38d84e){if(this['config'][_0xba504f(0x255)]?.['isLambda'])this['emit']('breakpoints_fetch_failed'),this[_0xba504f(0x2bb)]['error'](_0xba504f(0x242)+_0x32c8b1?.[_0xba504f(0x2a2)]+_0xba504f(0x2b1)+_0x38d84e[_0xba504f(0x253)]);else{const _0x713305=(0x0,utils_1[_0xba504f(0x2c4)])(_0x293625,this[_0xba504f(0x266)]['internal'][_0xba504f(0x225)]);this[_0xba504f(0x2bb)][_0xba504f(0x2a9)](_0xba504f(0x22e)+_0x32c8b1?.[_0xba504f(0x2a2)]+_0xba504f(0x2b1)+_0x38d84e[_0xba504f(0x253)]+'.\x20Retrying\x20in\x20'+_0x713305+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x713305,_0x43d030,_0x2384ad);}return;}this[_0xba504f(0x2bb)][_0xba504f(0x218)]('\x09'+_0x32c8b1[_0xba504f(0x2a2)]+'\x20completed.');if(!_0x40d170){const _0x3220bf=this[_0xba504f(0x266)]['breakpointUpdateIntervalSec'];this[_0xba504f(0x2bb)]['error'](_0xba504f(0x25b)+_0x3220bf+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xba504f(0x263)](this,_0x3220bf,_0x43d030,_0x2384ad);return;}this['setCustomLogLevel'](_0x40d170[_0xba504f(0x27e)]);if(_0x40d170[_0xba504f(0x2da)]){this[_0xba504f(0x2bb)]['info'](_0xba504f(0x1fb)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xba504f(0x263)](this,0x0,_0x43d030,_0x2384ad);return;}if(_0x40d170[_0xba504f(0x297)]&&_0x40d170[_0xba504f(0x297)]!==_0xba504f(0x2d5)){const _0x119fa2=this[_0xba504f(0x2cd)]['globalPipingStatus'];_0x119fa2!==_0x40d170['pipeLogs']&&(this[_0xba504f(0x2bb)][_0xba504f(0x218)](_0xba504f(0x2c0)+_0x119fa2+_0xba504f(0x210)+_0x40d170[_0xba504f(0x297)]),this['pipingManager'][_0xba504f(0x296)]=_0x40d170['pipeLogs']);}if(_0x40d170[_0xba504f(0x283)]&&_0x40d170[_0xba504f(0x294)]!==this[_0xba504f(0x294)]){this['collectLogRequestId']=_0x40d170['collectLogRequestId'];const _0x2318f0=this[_0xba504f(0x266)][_0xba504f(0x279)]['agentLogTargetDir']&&path['join'](this[_0xba504f(0x266)][_0xba504f(0x279)][_0xba504f(0x24d)],agent_logger_1[_0xba504f(0x1fd)][_0xba504f(0x2ed)]);_0x2318f0&&fs[_0xba504f(0x2b8)](_0x2318f0)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xba504f(0x29d)](this['debuggee'],_0x40d170[_0xba504f(0x294)],_0x2318f0)):this[_0xba504f(0x2bb)][_0xba504f(0x256)](_0xba504f(0x22d)+_0x40d170[_0xba504f(0x294)]+_0xba504f(0x2c1)+_0xba504f(0x25c));}const _0x4b1688=(_0x40d170[_0xba504f(0x28a)]||[])[_0xba504f(0x2c8)](_0x3cdbde=>new stackdriver_1['Breakpoint'](_0x3cdbde))[_0xba504f(0x274)](_0x36a109=>{const _0x3d473b=_0xba504f,_0x577732=_0x36a109[_0x3d473b(0x2ca)]??_0x3d473b(0x2c5);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x36a109['id']])return![];if(_0x577732!=='CAPTURE'&&_0x577732!==_0x3d473b(0x291))return this[_0x3d473b(0x2bb)][_0x3d473b(0x1f0)](_0x3d473b(0x2cc),_0x577732),_0x36a109[_0x3d473b(0x2a2)]=new status_message_1[(_0x3d473b(0x2f0))](status_message_1[_0x3d473b(0x2f0)][_0x3d473b(0x207)],utils_1[_0x3d473b(0x29c)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3d473b(0x263)](this,_0x36a109),![];return!![];}),_0x54289e=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0xba504f(0x263)](this);let _0x1e22f4=_0x54289e[_0xba504f(0x2e7)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0xba504f(0x263)](this,_0x54289e),_0x1e22f4=_0x1e22f4||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0xba504f(0x263)](this,_0x4b1688),this['emit'](_0xba504f(0x1f7),_0x4b1688['length']);_0x1e22f4&&this[_0xba504f(0x2bb)][_0xba504f(0x218)](formatBreakpoints(_0xba504f(0x20c),this[_0xba504f(0x2f2)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0xba504f(0x277)](),'f');_0x43d030?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0xba504f(0x239)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x43d030,_0x2384ad);return;},_0x2384ad);},_0x293625*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0xea7fac){const _0x2458fa=a18_0x524d0d,_0x565413=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2458fa(0x263)](this,_0xea7fac);let _0x31cffa=![];return _0xea7fac[_0x2458fa(0x23e)](_0x13ebf6=>{const _0xbde0d1=_0x2458fa;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x13ebf6['id']]&&!this['activeBreakpointMap'][_0x13ebf6['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0xbde0d1(0x263)](this,_0x13ebf6,_0x2ae240=>{_0x2ae240&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x13ebf6,!![],![]);}),_0x31cffa=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xbde0d1(0x2fb)](_0x13ebf6['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['setIgnoreQuota'](_0x13ebf6['id'],_0x13ebf6[_0xbde0d1(0x222)]),this[_0xbde0d1(0x2cd)]['setPipingStatus'](_0x13ebf6['id'],_0x13ebf6[_0xbde0d1(0x2ba)]);}),(0x0,mapSubtract_1[_0x2458fa(0x27f)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x565413)[_0x2458fa(0x23e)](_0x33e09f=>{const {id:_0x1da770}=_0x33e09f;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1da770],_0x31cffa=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x2458fa(0x2f2)],_0x565413)['forEach'](_0x5d1d3b=>{const _0x16c349=_0x2458fa;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x16c349(0x263)](this,_0x5d1d3b,!![]),_0x31cffa=!![];}),_0x31cffa&&this[_0x2458fa(0x2bb)][_0x2458fa(0x218)](formatBreakpoints(_0x2458fa(0x2d7),_0x565413)),_0x31cffa;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x3a6e9b){const _0x4c912c=a18_0x524d0d;return Object[_0x4c912c(0x200)](_0x3a6e9b[_0x4c912c(0x2c8)](_0x450ce7=>[_0x450ce7['id'],_0x450ce7]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x42db4d,_0x2a7eda){const _0x3ca1a6=a18_0x524d0d;this['logger'][_0x3ca1a6(0x256)](_0x3ca1a6(0x25d)+_0x42db4d['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3ca1a6(0x254)](_0x42db4d['id']),this[_0x3ca1a6(0x2cd)][_0x3ca1a6(0x2ad)](_0x42db4d['id']),delete this['activeBreakpointMap'][_0x42db4d['id']],_0x2a7eda&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3ca1a6(0x220)](_0x42db4d,_0xf52fbb=>{const _0x3a6051=_0x3ca1a6;if(_0xf52fbb)this[_0x3a6051(0x2bb)]['error'](_0xf52fbb);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x14d2e6,_0x5dd18f){const _0x310e72=a18_0x524d0d;this[_0x310e72(0x2bb)][_0x310e72(0x256)]('\x09adding\x20breakpoint',this['stringifyBreakpointForInfoLog'](_0x14d2e6));if(!this['config'][_0x310e72(0x2dd)]&&(_0x14d2e6[_0x310e72(0x2e3)]||_0x14d2e6[_0x310e72(0x1f5)])){this[_0x310e72(0x2bb)]['error'](utils_1[_0x310e72(0x29c)][_0x310e72(0x2db)][_0x310e72(0x1f1)]??''),_0x14d2e6['status']=new status_message_1[(_0x310e72(0x2f0))](status_message_1[_0x310e72(0x2f0)][_0x310e72(0x207)],utils_1['errors'][_0x310e72(0x2db)],!![]),setImmediate(()=>{const _0x34b537=_0x310e72;_0x5dd18f(utils_1[_0x34b537(0x29c)][_0x34b537(0x2db)]);});return;}const _0x42bea9=_0x14d2e6[_0x310e72(0x261)]?Number(_0x14d2e6[_0x310e72(0x261)]['seconds']):Date[_0x310e72(0x277)]()/0x3e8,_0x3c6a4f=_0x14d2e6[_0x310e72(0x206)]??this['config'][_0x310e72(0x2bd)];_0x14d2e6[_0x310e72(0x26d)]=_0x42bea9+_0x3c6a4f,_0x14d2e6['location']?.['path']&&(_0x14d2e6['location'][_0x310e72(0x221)]=path['normalize'](_0x14d2e6[_0x310e72(0x2f6)][_0x310e72(0x221)]),path[_0x310e72(0x2e4)]===path[_0x310e72(0x1f4)][_0x310e72(0x2e4)]&&(_0x14d2e6[_0x310e72(0x2f6)][_0x310e72(0x221)]=_0x14d2e6[_0x310e72(0x2f6)][_0x310e72(0x221)]['split']('\x5c')[_0x310e72(0x211)](path[_0x310e72(0x2e4)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x310e72(0x22c)](_0x14d2e6,_0x254b42=>{const _0x9a973b=_0x310e72;if(_0x254b42){_0x5dd18f(_0x254b42);return;}this[_0x9a973b(0x2bb)][_0x9a973b(0x256)](_0x9a973b(0x273)+_0x14d2e6['id']),this[_0x9a973b(0x2f2)][_0x14d2e6['id']]=_0x14d2e6,_0x14d2e6[_0x9a973b(0x2ca)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['log'](_0x14d2e6,(_0x568204,_0x5d0f81)=>{const _0x25b7b1=_0x9a973b,_0x3ed8af=_0x5d0f81['map'](_0x503514=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x503514)),_0x532f55=(0x0,format_1[_0x25b7b1(0x246)])(_0x568204,_0x3ed8af),_0x42c1be=_0x25b7b1(0x2ee)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x25b7b1(0x301)](_0x532f55)??_0x532f55),_0x5f513c=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x25b7b1(0x233)](_0x42c1be,_0x14d2e6['id']);if(_0x5f513c){const _0x20a036=_0x5f513c[_0x25b7b1(0x253)],{isOutOfQuota:_0x2d6f25}=_0x5f513c;let _0x9ba173,_0x1e9280;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['isRedactionActive']()&&!_0x2d6f25&&(_0x9ba173=_0x25b7b1(0x2ee)+_0x568204,_0x1e9280=_0x3ed8af);this[_0x25b7b1(0x2cd)]['addAndPipeLog'](this[_0x25b7b1(0x21c)],_0x14d2e6['id'],_0x20a036,_0x14d2e6['logLevel'],_0x9ba173,_0x1e9280);if(_0x2d6f25)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x25b7b1(0x224)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x25b7b1(0x266)][_0x25b7b1(0x2d4)]['quotaRecoverySeconds']*0x3e8),'f');else _0x20a036?.[_0x25b7b1(0x2e7)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x25b7b1(0x224)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x14d2e6['id']],_0x14b850=>{if(_0x14b850){this['logger']['error'](_0x14b850),_0x5dd18f(_0x14b850);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x9a973b(0x2a1)](_0x14d2e6,_0x1277e4=>{const _0x12cd18=_0x9a973b;if(_0x1277e4){setImmediate(()=>{const _0x343a2d=a18_0x9624;this[_0x343a2d(0x2bb)][_0x343a2d(0x2a9)](_0x1277e4),_0x5dd18f(_0x1277e4);});return;}this[_0x12cd18(0x2bb)][_0x12cd18(0x256)](_0x12cd18(0x2d9)+_0x14d2e6['id'],_0x14d2e6['location']?.[_0x12cd18(0x221)],_0x14d2e6['location']?.[_0x12cd18(0x226)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x14d2e6,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x12cd18(0x25f)](_0x14d2e6['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x9a973b(0x263)](this,_0x14d2e6);}),this[_0x310e72(0x26c)](_0x310e72(0x27b));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x197c5e,_0x471af2,_0x187ad8=!![]){const _0x441358=a18_0x524d0d;if(_0x197c5e[_0x441358(0x2a2)]?.['isError']){let _0xb1a2cb=_0x197c5e['status']?.[_0x441358(0x1f1)]?.[_0x441358(0x246)]||'';_0x197c5e[_0x441358(0x2a2)]?.['description']?.[_0x441358(0x21b)]&&(_0xb1a2cb+=':\x20'+_0x197c5e['status']?.[_0x441358(0x1f1)]?.['parameters'][_0x441358(0x2b0)]()),this[_0x441358(0x2bb)][_0x441358(0x1f0)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x197c5e+_0x441358(0x209)+_0xb1a2cb);}else this['logger'][_0x441358(0x256)](_0x441358(0x276),this[_0x441358(0x2e8)](_0x197c5e));_0x471af2&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x197c5e['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x441358(0x263)](this,_0x197c5e,_0x187ad8)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x441358(0x299)](this[_0x441358(0x21c)],extend(!![],{},_0x197c5e));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x12b4b0){const _0x679f1a=a18_0x524d0d;this[_0x679f1a(0x2bb)][_0x679f1a(0x218)](_0x679f1a(0x2a8)+_0x12b4b0+_0x679f1a(0x244));const _0x541376=extend(!![],{},_0x12b4b0);_0x541376[_0x679f1a(0x202)]=![],_0x541376[_0x679f1a(0x2a2)]=new status_message_1[(_0x679f1a(0x2f0))](status_message_1[_0x679f1a(0x2f0)][_0x679f1a(0x207)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x679f1a(0x299)](this[_0x679f1a(0x21c)],_0x541376);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x5bb569){const _0x349224=a18_0x524d0d;this[_0x349224(0x2bb)][_0x349224(0x256)](_0x349224(0x22f)+_0x5bb569),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5bb569['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x349224(0x21c)],_0x5bb569);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x117570){const _0x1d3b9c=a18_0x524d0d;_0x117570[_0x1d3b9c(0x23e)](_0x5b5b42=>{const _0x3aea99=_0x1d3b9c;this['logger'][_0x3aea99(0x256)](_0x3aea99(0x264)+_0x5b5b42['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5b5b42['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3aea99(0x263)](this,_0x5b5b42,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x4d1879=a18_0x524d0d,_0x57788a=Date['now']()/0x3e8;return Object[_0x4d1879(0x2b9)](this[_0x4d1879(0x2f2)])['filter'](_0x447885=>_0x447885['expirationTime']?_0x447885[_0x4d1879(0x26d)]<_0x57788a:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x460014){const _0x1ece6c=a18_0x524d0d,_0xc40de5=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1ece6c(0x2f1)](_0x460014),_0x249b95=_0xc40de5['blacklist'],_0x5325e0=_0xc40de5[_0x1ece6c(0x240)];_0x249b95?.[_0x1ece6c(0x2e7)]&&this[_0x1ece6c(0x2bb)][_0x1ece6c(0x218)](_0x1ece6c(0x28d),_0x249b95[_0x1ece6c(0x211)]('\x0a\x09')),_0x5325e0?.['length']&&this['logger'][_0x1ece6c(0x218)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x5325e0[_0x1ece6c(0x211)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x249b95,_0x5325e0,this[_0x1ece6c(0x266)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x2c35ff){const _0x3a8fea=a18_0x524d0d,_0xd9be82=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3a8fea(0x1fc)](_0x2c35ff);_0xd9be82?.[_0x3a8fea(0x2e7)]&&this[_0x3a8fea(0x2bb)]['debug']('Redactions:\x20\x0a\x09',_0xd9be82['map'](_0x1d3ec0=>_0x3a8fea(0x2be)+_0x1d3ec0[_0x3a8fea(0x208)]+_0x3a8fea(0x258)+_0x1d3ec0[_0x3a8fea(0x24b)]+'):\x20pattern:\x20'+_0x1d3ec0[_0x3a8fea(0x2d1)]+_0x3a8fea(0x269)+_0x1d3ec0['caseInsensitive'])[_0x3a8fea(0x211)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x3a8fea(0x23c))](this['logger']),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3a8fea(0x1fa)](_0xd9be82);},_Debuglet_stringify=function _Debuglet_stringify(_0x3c7a19){const _0x5182db=a18_0x524d0d;if(!_0x3c7a19)return JSON[_0x5182db(0x241)](_0x3c7a19,(_0x1fb395,_0x15b037)=>_0x15b037===undefined?'undefined':_0x15b037);if(Array['isArray'](_0x3c7a19)){const _0x37074e=_0x3c7a19['map'](_0x262eca=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x5182db(0x263)](this,_0x262eca));return'['+_0x37074e[_0x5182db(0x211)](',\x20')+']';}if(typeof _0x3c7a19===_0x5182db(0x290)){const _0x19f64a=Object[_0x5182db(0x252)](_0x3c7a19)['map'](([_0x4a42a9,_0x5c8090])=>{const _0x2f2245=_0x5182db,_0x38576f=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2f2245(0x20e)](_0x4a42a9)?redaction_manager_1[_0x2f2245(0x2f4)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x2f2245(0x263)](this,_0x5c8090);return JSON[_0x2f2245(0x241)](_0x4a42a9)+':\x20'+_0x38576f;})['join'](',\x20');return'{'+_0x19f64a+'}';}return JSON['stringify'](_0x3c7a19);});
|
|
1
|
+
const a18_0x4cfc35=a18_0x266e;(function(_0x38bbb1,_0x45532a){const _0x5cea8c=a18_0x266e,_0x409270=_0x38bbb1();while(!![]){try{const _0x5d0fc3=-parseInt(_0x5cea8c(0x208))/0x1+parseInt(_0x5cea8c(0x27d))/0x2*(parseInt(_0x5cea8c(0x2fb))/0x3)+parseInt(_0x5cea8c(0x2c2))/0x4*(parseInt(_0x5cea8c(0x2fc))/0x5)+parseInt(_0x5cea8c(0x209))/0x6+parseInt(_0x5cea8c(0x2ed))/0x7*(parseInt(_0x5cea8c(0x2ff))/0x8)+parseInt(_0x5cea8c(0x2fe))/0x9*(parseInt(_0x5cea8c(0x255))/0xa)+-parseInt(_0x5cea8c(0x26f))/0xb;if(_0x5d0fc3===_0x45532a)break;else _0x409270['push'](_0x409270['shift']());}catch(_0x3e941c){_0x409270['push'](_0x409270['shift']());}}}(a18_0x56ed,0x781ce));const a18_0x12433b=(function(){let _0xfda5bc=!![];return function(_0x479c5f,_0x148ce4){const _0xe45c9e=_0xfda5bc?function(){if(_0x148ce4){const _0x2c1572=_0x148ce4['apply'](_0x479c5f,arguments);return _0x148ce4=null,_0x2c1572;}}:function(){};return _0xfda5bc=![],_0xe45c9e;};}()),a18_0x176d19=a18_0x12433b(this,function(){const _0x3b007f=a18_0x266e;return a18_0x176d19[_0x3b007f(0x212)]()[_0x3b007f(0x206)](_0x3b007f(0x1f7))[_0x3b007f(0x212)]()[_0x3b007f(0x264)](a18_0x176d19)[_0x3b007f(0x206)](_0x3b007f(0x1f7));});a18_0x176d19();'use strict';var __classPrivateFieldSet=this&&this[a18_0x4cfc35(0x27f)]||function(_0x59e7a3,_0x5a42c3,_0x191954,_0x3d06ae,_0x5ab5a0){const _0x39b9a0=a18_0x4cfc35;if(_0x3d06ae==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x3d06ae==='a'&&!_0x5ab5a0)throw new TypeError(_0x39b9a0(0x204));if(typeof _0x5a42c3===_0x39b9a0(0x228)?_0x59e7a3!==_0x5a42c3||!_0x5ab5a0:!_0x5a42c3[_0x39b9a0(0x254)](_0x59e7a3))throw new TypeError(_0x39b9a0(0x2f1));return _0x3d06ae==='a'?_0x5ab5a0['call'](_0x59e7a3,_0x191954):_0x5ab5a0?_0x5ab5a0[_0x39b9a0(0x2a6)]=_0x191954:_0x5a42c3[_0x39b9a0(0x20c)](_0x59e7a3,_0x191954),_0x191954;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x5a69ec,_0x3625c1,_0x1a60a6,_0x5a9eb7){const _0x1b1236=a18_0x4cfc35;if(_0x1a60a6==='a'&&!_0x5a9eb7)throw new TypeError(_0x1b1236(0x235));if(typeof _0x3625c1===_0x1b1236(0x228)?_0x5a69ec!==_0x3625c1||!_0x5a9eb7:!_0x3625c1[_0x1b1236(0x254)](_0x5a69ec))throw new TypeError(_0x1b1236(0x272));return _0x1a60a6==='m'?_0x5a9eb7:_0x1a60a6==='a'?_0x5a9eb7[_0x1b1236(0x28e)](_0x5a69ec):_0x5a9eb7?_0x5a9eb7[_0x1b1236(0x2a6)]:_0x3625c1['get'](_0x5a69ec);},_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['defineProperty'](exports,a18_0x4cfc35(0x284),{'value':!![]}),exports[a18_0x4cfc35(0x278)]=exports[a18_0x4cfc35(0x2ac)]=void 0x0;const assert=require(a18_0x4cfc35(0x21c)),events_1=require(a18_0x4cfc35(0x22b)),extend=require(a18_0x4cfc35(0x2ef)),fs=require('fs'),path=require(a18_0x4cfc35(0x303)),util=require(a18_0x4cfc35(0x221)),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a18_0x4cfc35(0x224)),patterns_blocklist_manager_1=require(a18_0x4cfc35(0x20e)),config_1=require(a18_0x4cfc35(0x2fa)),configuration_provider_1=require(a18_0x4cfc35(0x2cd)),controller_1=require(a18_0x4cfc35(0x28f)),createDebuggee_1=require(a18_0x4cfc35(0x2f9)),format_1=require('./debuglet-helpers/format'),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),normalizeConfig_1=require(a18_0x4cfc35(0x2ce)),environment_metadata_1=require(a18_0x4cfc35(0x215)),file_index_1=require(a18_0x4cfc35(0x25e)),scanner_1=require(a18_0x4cfc35(0x270)),SourceMapper=require('./io/sourcemapper'),piping_manager_1=require(a18_0x4cfc35(0x200)),quota_manager_1=require('./quota-manager'),redaction_manager_1=require(a18_0x4cfc35(0x24d)),utils_1=require('./util/utils'),debugapi=require('./v8/debugapi'),redaction_manager_re2js_1=require(a18_0x4cfc35(0x2b0)),readFilep=util[a18_0x4cfc35(0x300)](fs[a18_0x4cfc35(0x231)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x56f66a,_0x24f389)=>{const _0x48a278=a18_0x4cfc35;let _0x1f1e1a=_0x56f66a+util[_0x48a278(0x29e)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x24f389['id'],_0x24f389[_0x48a278(0x276)],util[_0x48a278(0x1fb)](_0x24f389[_0x48a278(0x249)]));if(_0x24f389[_0x48a278(0x1fd)]){const _0x1fe9d4=Number(_0x24f389[_0x48a278(0x1fd)][_0x48a278(0x20b)]),_0x13e790=new Date(_0x1fe9d4*0x3e8);_0x1f1e1a+=_0x48a278(0x2b2)+_0x13e790[_0x48a278(0x212)]();}return _0x24f389['condition']&&(_0x1f1e1a+=_0x48a278(0x227)+util[_0x48a278(0x1fb)](_0x24f389[_0x48a278(0x2ea)])),_0x24f389[_0x48a278(0x257)]&&(_0x1f1e1a+=_0x48a278(0x26e)+util[_0x48a278(0x1fb)](_0x24f389[_0x48a278(0x257)])),_0x1f1e1a;},formatBreakpoints=(_0x2ce2ca,_0x1de153)=>_0x2ce2ca+Object[a18_0x4cfc35(0x2e2)](_0x1de153)[a18_0x4cfc35(0x1fa)](_0x4098b9=>formatBreakpoint('',_0x1de153[_0x4098b9]))[a18_0x4cfc35(0x2dc)]('\x0a');function a18_0x266e(_0x27a2ce,_0x25abd1){const _0x461fe9=a18_0x56ed();return a18_0x266e=function(_0x176d19,_0x12433b){_0x176d19=_0x176d19-0x1f2;let _0x56edf5=_0x461fe9[_0x176d19];return _0x56edf5;},a18_0x266e(_0x27a2ce,_0x25abd1);}class CachedPromise{constructor(){const _0x33cb21=a18_0x4cfc35;this['promiseResolve']=null,this[_0x33cb21(0x244)]=new Promise(_0x3819a4=>{this['promiseResolve']=_0x3819a4;});}[a18_0x4cfc35(0x240)](){const _0x161169=a18_0x4cfc35;return this[_0x161169(0x244)];}[a18_0x4cfc35(0x26d)](){const _0x42045d=a18_0x4cfc35;this[_0x42045d(0x302)]&&(this[_0x42045d(0x302)](),this[_0x42045d(0x302)]=null);}}function a18_0x56ed(){const _0x5fdbc8=['./agent-logger','selectFiles','findFiles','\x0a\x09condition:\x20','function','sourceContext','filter','events','getInitialLevel','description','name:\x20','Starting\x20debuggee','.\x20message:\x20','readFile','Error\x20processing\x20the\x20sourcemaps.','\x20accepted\x20by\x20agent','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','packageInfo','breakpointUpdateIntervalSec','Switching\x20globalPiping\x20status\x20from\x20','entries','StatusMessage','clientConnectionTimeoutInSeconds','ALLOW_EXPRESSIONS_MESSAGE','pipingStatus','Fetching\x20breakpoints','kill','get','fetchBreakpointsOnce','stdErrThreshold','activeBreakpointMap','promise','blacklist','once','log','normalizeConfig','location','split','.\x20Error:\x20','agentLogTargetDir','./reduction/redaction-manager','stringify','registered','\x20to\x20','prettyError','QuotaManager','bind','has','8945480GWoOCz','\x20caseInsensitive:\x20','expressions','UNSPECIFIED','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','Result:\x20\x0a','SIGQUIT','clear','\x20because\x20','./io/file-index','globalPipingStatus','collectLogRequestId','js.map','fromEntries','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','constructor','GAE-','GAE_MINOR_VERSION','debuglet','beforeExit','quotaRecoverySeconds','expirationTime','emit','isRunning','resolve','\x0a\x09expressions:\x20','34555290FReqlU','./io/scanner','fetcherActive','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','posix','Working\x20directory:\x20','replace','action','env','Debuglet','initError','Scheduling\x20registration\x20in\x20','setLevel','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','2tuHpOx','agentLogLevel','__classPrivateFieldSet','stopped','):\x20pattern:\x20','javascriptFileExtensions','getProps','__esModule','fromFileStats','EventEmitter','waitExpired','length','maxRequestRetryDelaySeconds','Blacklist\x20Exceptions:\x20\x0a\x09','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','register','now','call','./controller','expirationSeconds','then','logLevel','Controller','jsFileIndex','.\x20Retrying\x20in\x20','getSourceContextFromFile','start','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','LOGPOINT:\x20','REDACTED_PLACEHOLDER','\x09Got\x20error\x20from\x20server.\x20status:\x20','debug','waitForTransmissionQueueDrain','format','removeListener','ignoreQuota','breakpoints_fetch_registration_required','NOT_SET','rejecting\x20breakpoint\x20id\x20','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','Redactions:\x20\x0a\x09','value','SIGINT','\x09Notifying\x20server\x20about\x20error\x20for\x20','errors','internal','mainModule','CachedPromise','setPipingStatus','cwd','Initializing\x20Node.js\x20agent\x20version:\x20','./reduction/redaction-manager-re2js','selectStats','\x0a\x09createdTime:\x20','isDisabled','\x09successfully\x20added\x20breakpoint\x20id\x20','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','breakpointExpirationSec','waitForBreakpoints','getLevel','\x09remove\x20breakpoint\x20id\x20','Expiring\x20breakpoint\x20id\x20','CAPTURE','all','agentLogMaxFileCount','do\x20this.','mapFiles','breakpoints_fetched','status','508UPawdC','Blacklist:\x20\x0a\x09','createDebuggee','breakpoint_set','error','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','\x20completed.','warn','Found\x20breakpoint\x20with\x20invalid\x20action:','EnvironmentMetadata','line','./configuration-provider','./debuglet-helpers/normalizeConfig','isAtLeastInfo','parameters','pid','Stopping\x20Debuglet','workingDirectory','debuggee','enqueueBreakpointUpdate','logger','unref','setPatterns','isReady','name','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','join','values','pipeLogs','pipingManager','isArray','sep','keys','allowExpressions','normalize','parse','object','info','hash','getClientConnectionTimeoutInSeconds','condition','Malformed\x20source-context.json\x20file:\x20','isError','3861291SXwVxX','LOG','extend','message','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','existsSync','ConfigurationProvider','isLambda','addAndPipeLog','config','source-context.json','push','./debuglet-helpers/createDebuggee','./config','2680527JDamAX','34620tDgPPv','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','9Djnzcu','8pPTvKl','promisify','registration_failed','promiseResolve','path','stop','wait','allowRootAsWorkingDirectory','shouldRedactByName','type','default','(((.+)+)+)+$','FileIndex','createPerBreakpointConditionQuota','map','inspect','createLogger','createTime','Failed\x20to\x20','breakpoints_fetch_failed','./piping-manager','add','forEach','setCustomLogLevel','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','Scanner','search','register\x20debuggee','167013RHIvbx','3488202ictisW','scan','seconds','set','PatternsBlocklistManager','./blocklisting/patterns-blocklist-manager','concat','isRedactionActive','setIgnoreQuota','toString','Registering\x20debuggee','blacklist_exception','./environment-metadata','remainingHits','mapSubtract','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','logMainConfigParams','getBlocklist','listBreakpoints','assert','Debuglet\x20not\x20running','agentLog','AGENT_LOG_FILE','\x20(type:\x20','util','stringifyBreakpointForInfoLog','create'];a18_0x56ed=function(){return _0x5fdbc8;};return a18_0x56ed();}exports[a18_0x4cfc35(0x2ac)]=CachedPromise;class IsReadyImpl{constructor(_0x8afb6c){const _0x4ce349=a18_0x4cfc35;this[_0x4ce349(0x267)]=_0x8afb6c;}[a18_0x4cfc35(0x2d9)](){const _0x39e009=a18_0x4cfc35;return this[_0x39e009(0x267)][_0x39e009(0x2d9)]();}}class Debuglet extends events_1[a18_0x4cfc35(0x286)]{constructor(_0x4fcc3d,_0x34f314){const _0x544f13=a18_0x4cfc35;super(),_Debuglet_instances[_0x544f13(0x201)](this),_Debuglet_debug[_0x544f13(0x20c)](this,void 0x0),_Debuglet_v8debug[_0x544f13(0x20c)](this,void 0x0),_Debuglet_running[_0x544f13(0x20c)](this,void 0x0),_Debuglet_controller[_0x544f13(0x20c)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x544f13(0x20c)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x544f13(0x20c)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x544f13(0x20c)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x544f13(0x20c)](this,void 0x0),_Debuglet_scanner[_0x544f13(0x20c)](this,void 0x0),_Debuglet_quotaManager[_0x544f13(0x20c)](this,void 0x0),_Debuglet_blocklistManager[_0x544f13(0x20c)](this,void 0x0),_Debuglet_redactionManager[_0x544f13(0x20c)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x544f13(0x20c)](this,void 0x0),this[_0x544f13(0x2f6)]=(0x0,normalizeConfig_1[_0x544f13(0x248)])(_0x34f314),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x544f13(0x2f3))](this[_0x544f13(0x2f6)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x4fcc3d,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x544f13(0x2d6)]=agent_logger_1[_0x544f13(0x1f6)][_0x544f13(0x1fc)](this[_0x544f13(0x2f6)]['agentLog']['agentLogTargetDir'],this[_0x544f13(0x2f6)][_0x544f13(0x21e)]['agentLogMaxFileSizeMb'],this['config'][_0x544f13(0x21e)][_0x544f13(0x2bd)],this[_0x544f13(0x2f6)][_0x544f13(0x21e)]['agentLogLevel'],this[_0x544f13(0x2f6)][_0x544f13(0x21e)][_0x544f13(0x242)]),(0x0,config_1[_0x544f13(0x219)])(this[_0x544f13(0x2f6)],this[_0x544f13(0x2d6)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x544f13(0x2cb))](this[_0x544f13(0x2d6)])[_0x544f13(0x283)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x544f13(0x293))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x544f13(0x205))](this['logger']),'f'),this[_0x544f13(0x2d4)]=null,this[_0x544f13(0x243)]={},__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[(_0x544f13(0x252))](this[_0x544f13(0x2d6)],this[_0x544f13(0x2f6)]),'f'),this[_0x544f13(0x2df)]=new piping_manager_1['PipingManager']('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a18_0x4cfc35(0x29d)](_0x409464){const _0x29fc84=a18_0x4cfc35;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x29fc84(0x29d)](_0x409464);}[a18_0x4cfc35(0x2e9)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x4cfc35(0x2b7)](_0x23dc79){const _0x389d0c=a18_0x4cfc35,_0x4e3d72=0x32;let _0x5b87a4=null;const _0x40a7b1=()=>_0x5b87a4=!![],_0x3f2e34=()=>_0x5b87a4=![],_0x46c814=_0x55b50d=>{if(_0x55b50d)return;_0x40a7b1();};let _0xc467e7=![];const _0x41d443=_0x12faea=>{const _0x4245c6=a18_0x266e;_0xc467e7&&_0x3f2e34(),_0xc467e7=!![],this[_0x4245c6(0x28c)]();};this[_0x389d0c(0x246)](_0x389d0c(0x2c0),_0x46c814),this[_0x389d0c(0x246)](_0x389d0c(0x2c5),_0x40a7b1);this[_0x389d0c(0x2f6)][_0x389d0c(0x2aa)]?.[_0x389d0c(0x2f4)]&&(this[_0x389d0c(0x246)]('registration_failed',_0x3f2e34),this[_0x389d0c(0x246)](_0x389d0c(0x1ff),_0x3f2e34),this['once'](_0x389d0c(0x2a1),_0x41d443));if(_0x23dc79){const _0x592bf2=Date[_0x389d0c(0x28d)]();while(_0x5b87a4===null&&Date['now']()-_0x592bf2<_0x23dc79){await(0x0,utils_1['waitFor'])(_0x4e3d72);}}return this[_0x389d0c(0x29f)](_0x389d0c(0x2c0),_0x46c814),this['removeListener'](_0x389d0c(0x2c5),_0x40a7b1),this['config']['internal']?.[_0x389d0c(0x2f4)]&&(this[_0x389d0c(0x29f)]('registration_failed',_0x3f2e34),this[_0x389d0c(0x29f)]('breakpoints_fetch_failed',_0x3f2e34),this[_0x389d0c(0x29f)](_0x389d0c(0x2a1),_0x41d443)),_0x5b87a4===!![];}[a18_0x4cfc35(0x241)](){const _0x257f02=a18_0x4cfc35;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x257f02(0x28e)](this,0x0,!![]);}['isRegistered'](){const _0x37f0a1=a18_0x4cfc35;return this[_0x37f0a1(0x2d4)]?.['id']!==undefined;}async[a18_0x4cfc35(0x226)](_0x47ad99,_0x54f8bf){const _0x2db69e=a18_0x4cfc35,_0x4b72a6=_0x47ad99[_0x2db69e(0x2d3)],_0xda8125=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x2db69e(0x20a)](_0x4b72a6,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2db69e(0x28e)](_a,_0x47ad99[_0x2db69e(0x282)][_0x2db69e(0x20f)](_0x2db69e(0x261))),_0x54f8bf,_0x47ad99['extraPaths']),_0x295b14=_0xda8125[_0x2db69e(0x2b1)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2db69e(0x28e)](_a,_0x47ad99[_0x2db69e(0x282)])),_0x26f1ca=file_index_1[_0x2db69e(0x1f8)][_0x2db69e(0x285)](_0x295b14),_0x3bfc59=_0xda8125[_0x2db69e(0x225)](/.js.map$/,process[_0x2db69e(0x2ae)]()),_0x4b8675=_0xda8125[_0x2db69e(0x2a9)]();return{'mapFiles':_0x3bfc59,'errors':_0x4b8675,'jsFileIndex':_0x26f1ca,'hash':_0xda8125[_0x2db69e(0x2e8)]};}async[a18_0x4cfc35(0x297)](){const _0x2b229b=a18_0x4cfc35,_0x54a8c3=this[_0x2b229b(0x2f6)][_0x2b229b(0x2d3)];if(!this[_0x2b229b(0x2f6)][_0x2b229b(0x1f3)]&&path[_0x2b229b(0x2dc)](_0x54a8c3,'..')===_0x54a8c3){const _0x2b6559=_0x2b229b(0x27c)+_0x2b229b(0x2c7)+_0x2b229b(0x263)+_0x2b229b(0x2be);this[_0x2b229b(0x2d6)][_0x2b229b(0x2c6)](_0x2b6559),this[_0x2b229b(0x26b)](_0x2b229b(0x279),new Error(_0x2b6559));return;}let _0xb66fec;process['env'][_0x2b229b(0x266)]&&(_0xb66fec=_0x2b229b(0x265)+process[_0x2b229b(0x277)][_0x2b229b(0x266)]);let _0x5a0b8e,_0x2f8aa6=_0xb66fec??'';try{_0x5a0b8e=await this[_0x2b229b(0x226)](this[_0x2b229b(0x2f6)],_0xb66fec),_0x5a0b8e[_0x2b229b(0x2a9)][_0x2b229b(0x202)](this[_0x2b229b(0x2d6)][_0x2b229b(0x2c9)]);}catch(_0x2c7ff5){this[_0x2b229b(0x2d6)][_0x2b229b(0x2c6)]('Error\x20scanning\x20the\x20filesystem.',_0x2c7ff5),this[_0x2b229b(0x26b)](_0x2b229b(0x279),_0x2c7ff5);return;}try{const _0x5cbf16=await SourceMapper[_0x2b229b(0x223)](this['logger'],_0x5a0b8e[_0x2b229b(0x2bf)],this['config'][_0x2b229b(0x2aa)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x2b229b(0x223)](this[_0x2b229b(0x2d6)],this[_0x2b229b(0x2f6)],_0x5a0b8e[_0x2b229b(0x294)],_0x5cbf16,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x2f8aa6=_0xb66fec??_0x5a0b8e['hash'];}catch(_0x2f32e2){this['logger']['error'](_0x2b229b(0x232),_0x2f32e2),this['logger'][_0x2b229b(0x2e7)](JSON[_0x2b229b(0x24e)](_0x2f32e2)),this['emit'](_0x2b229b(0x279),_0x2f32e2);}this[_0x2b229b(0x2d6)][_0x2b229b(0x2e7)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x2f8aa6);const _0x652d35=(0x0,utils_1['readFullVersion'])(this[_0x2b229b(0x2d6)])[_0x2b229b(0x275)]('\x0a','');this[_0x2b229b(0x2d6)]['info'](_0x2b229b(0x2af)+_0x652d35);let _0x180e9c;try{_0x180e9c=this[_0x2b229b(0x2f6)][_0x2b229b(0x229)]||await _a[_0x2b229b(0x296)]();}catch{}this[_0x2b229b(0x2d6)]['info'](_0x2b229b(0x28b)+process[_0x2b229b(0x2ab)]?.['filename']),this[_0x2b229b(0x2d6)][_0x2b229b(0x29c)](_0x2b229b(0x274)+_0x54a8c3),this['logger'][_0x2b229b(0x29c)](_0x2b229b(0x22f)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x2b229b(0x2d4)]=(0x0,createDebuggee_1[_0x2b229b(0x2c4)])(_0x2f8aa6,this[_0x2b229b(0x2f6)],_0x180e9c,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x2b229b(0x236)],_0x652d35,this[_0x2b229b(0x2d6)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x2b229b(0x28e)](this),this[_0x2b229b(0x28c)](),this[_0x2b229b(0x26b)]('started');}[a18_0x4cfc35(0x2d9)](){const _0x490ada=a18_0x4cfc35;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x490ada(0x26d)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x490ada(0x240)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x490ada(0x240)]()[_0x490ada(0x291)](()=>{const _0x5c8db9=_0x490ada;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x5c8db9(0x28e)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x490ada(0x240)]();}}static async['getSourceContextFromFile'](){const _0x40e89c=a18_0x4cfc35,_0x50d7c3=await readFilep(_0x40e89c(0x2f7),'utf8');try{return JSON[_0x40e89c(0x2e5)](_0x50d7c3);}catch(_0x4fb8cf){throw new Error(_0x40e89c(0x2eb)+_0x4fb8cf);}}[a18_0x4cfc35(0x28c)](){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);}[a18_0x4cfc35(0x26c)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x4cfc35(0x304)](){const _0x46d534=a18_0x4cfc35;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x46d534(0x2d6)][_0x46d534(0x29c)](_0x46d534(0x2fd));return;}this[_0x46d534(0x2d6)]['debug'](_0x46d534(0x2d2)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x46d534(0x304)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x46d534(0x26b)](_0x46d534(0x280));}[a18_0x4cfc35(0x222)](_0x2d653f){const _0x170cb4=a18_0x4cfc35;if(!this[_0x170cb4(0x2d6)][_0x170cb4(0x2cf)]())return _0x2d653f['id'];try{const _0x29957b=JSON[_0x170cb4(0x24e)](_0x2d653f);if(_0x29957b[_0x170cb4(0x288)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x29957b;return _0x29957b['substring'](0x0,BREAKPOINT_LOG_MAX_CHARS)+'...\x20[truncated]';}catch(_0x1d056f){return this[_0x170cb4(0x2d6)]['error'](_0x170cb4(0x2db),_0x1d056f),_0x2d653f['id'];}}[a18_0x4cfc35(0x203)](_0x546106){const _0x1b11a3=a18_0x4cfc35,_0x58976b=this['logger'][_0x1b11a3(0x22c)]();if(_0x58976b===_0x1b11a3(0x29c))return;switch(_0x546106){case'DEBUG':this[_0x1b11a3(0x2d6)][_0x1b11a3(0x2b8)]()!==_0x1b11a3(0x29c)&&(this[_0x1b11a3(0x2d6)][_0x1b11a3(0x27b)](_0x1b11a3(0x29c)),this[_0x1b11a3(0x2d6)][_0x1b11a3(0x29c)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG'));break;case _0x1b11a3(0x2a2):case undefined:this['logger'][_0x1b11a3(0x2b8)]()===_0x1b11a3(0x29c)&&(this[_0x1b11a3(0x2d6)]['setLevel'](_0x58976b),this[_0x1b11a3(0x2d6)]['info'](_0x1b11a3(0x218)+_0x58976b+')'));break;default:this[_0x1b11a3(0x2d6)][_0x1b11a3(0x2c9)]('Unknown\x20agentLogLevel\x20'+_0x546106);}}}exports['Debuglet']=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(_0xd92d7c){const _0x548a6a=a18_0x4cfc35;return new RegExp(_0xd92d7c[_0x548a6a(0x1fa)](_0x17ac84=>_0x17ac84+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x27444b=a18_0x4cfc35,_0x16a212=['SIGTERM',_0x27444b(0x2a7),_0x27444b(0x25b)];_0x16a212[_0x27444b(0x202)](_0x5e7e65=>{const _0x11aa0e=_0x27444b;process[_0x11aa0e(0x246)](_0x5e7e65,()=>{const _0x485021=_0x11aa0e;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x485021(0x2d4)],()=>{const _0x37ba1c=_0x485021;process[_0x37ba1c(0x23f)](process[_0x37ba1c(0x2d1)],_0x5e7e65);});});}),process['once'](_0x27444b(0x268),()=>{const _0x2fe134=_0x27444b;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x2fe134(0x2d4)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x456d21){const _0x49d163=a18_0x4cfc35;this[_0x49d163(0x2d6)][_0x49d163(0x29c)](_0x456d21?_0x49d163(0x27a)+_0x456d21+'s':_0x49d163(0x213));const _0x53b1b5=(_0x16d4e0,_0x3f71d7,_0x3b0128=![])=>{const _0x5e1862=_0x49d163;this[_0x5e1862(0x26b)](_0x5e1862(0x301));const _0x4e0e31=this[_0x5e1862(0x2d4)]?.['id'],_0x322a5e=_0x4e0e31?'re-register\x20debuggee\x20'+_0x4e0e31:_0x5e1862(0x207),_0x471ee0=_0x5e1862(0x1fe)+_0x322a5e+':\x20'+(0x0,utils_1[_0x5e1862(0x251)])(_0x16d4e0);this['logger'][_0x5e1862(0x2c6)](_0x471ee0),_0x3f71d7&&!_0x3b0128&&this[_0x5e1862(0x2d6)][_0x5e1862(0x2c6)](_0x5e1862(0x25a),_0x3f71d7),!this['config'][_0x5e1862(0x2aa)]?.[_0x5e1862(0x2f4)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x5e1862(0x28e)](this,(0x0,utils_1['backoff'])(_0x456d21,this[_0x5e1862(0x2f6)][_0x5e1862(0x2aa)][_0x5e1862(0x289)]));};setTimeout(()=>{const _0x4c2f58=_0x49d163;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x53b1b5(new Error(_0x4c2f58(0x21d)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this[_0x4c2f58(0x2d4)],(_0x4cc98b,_0x26a47f,_0x22ac25=![])=>{const _0x60af96=_0x4c2f58;if(_0x4cc98b){_0x53b1b5(_0x4cc98b,_0x26a47f,_0x22ac25);return;}if(_0x26a47f[_0x60af96(0x2d4)][_0x60af96(0x2b3)]){_0x53b1b5(new Error('Disabled\x20by\x20the\x20server')),this[_0x60af96(0x26b)]('remotelyDisabled');return;}const _0x5b6708=_0x26a47f[_0x60af96(0x2d4)]['id'];this[_0x60af96(0x2d6)]['info']('Registered\x20as\x20debuggee:\x20'+_0x5b6708),this[_0x60af96(0x2d4)]['id']=_0x5b6708;const _0x2e8fae=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x60af96(0x253)](this)(this[_0x60af96(0x2d4)]['id'])];this['config']['redactionEnabled']&&_0x2e8fae[_0x60af96(0x2f8)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x60af96(0x253)](this)(this[_0x60af96(0x2d4)]['id'])),Promise[_0x60af96(0x2bc)](_0x2e8fae)[_0x60af96(0x291)](()=>{const _0x27ab11=_0x60af96;this[_0x27ab11(0x26b)](_0x27ab11(0x24f),_0x5b6708),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['setBlocklistManager'](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x26a47f?.['clientConnectionTimeoutInSeconds'],'f'),!this[_0x27ab11(0x271)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x27ab11(0x28e)](this,0x0,this['config'][_0x27ab11(0x241)],_0x26a47f?.[_0x27ab11(0x23b)]);},_0x2020df=>{_0x53b1b5(_0x2020df);});});},_0x456d21*0x3e8)[_0x49d163(0x2d7)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0xc1aae9,_0x5987a9,_0x4202de){const _0x39c16e=a18_0x4cfc35;this[_0x39c16e(0x2d6)][_0x39c16e(0x29c)]('scheduleBreakpointFetch_\x20'+_0xc1aae9+'\x20'+_0x5987a9+'\x20'+_0x4202de),!_0x5987a9&&(this['fetcherActive']=!![]),setTimeout(()=>{const _0xc34019=_0x39c16e;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x5987a9&&assert(this[_0xc34019(0x271)]),this[_0xc34019(0x2d6)][_0xc34019(0x29c)](_0xc34019(0x23e)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xc34019(0x21b)](this[_0xc34019(0x2d4)],(_0x2f03ae,_0x4d66a4,_0xa66c80)=>{const _0xbceaeb=_0xc34019;if(_0xa66c80?.[_0xbceaeb(0x2c1)]===0x194){this['logger'][_0xbceaeb(0x2e7)]('Debuggee\x20is\x20not\x20registered'),this[_0xbceaeb(0x271)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0xbceaeb(0x28e)](this);this['config'][_0xbceaeb(0x2aa)]?.[_0xbceaeb(0x2f4)]?this[_0xbceaeb(0x26b)](_0xbceaeb(0x2a1)):this['register']();return;}if(_0x2f03ae){if(this[_0xbceaeb(0x2f6)][_0xbceaeb(0x2aa)]?.[_0xbceaeb(0x2f4)])this[_0xbceaeb(0x26b)](_0xbceaeb(0x1ff)),this['logger'][_0xbceaeb(0x2c6)](_0xbceaeb(0x2b5)+_0xa66c80?.['status']+_0xbceaeb(0x230)+_0x2f03ae[_0xbceaeb(0x2f0)]);else{const _0x1b84d1=(0x0,utils_1['backoff'])(_0xc1aae9,this[_0xbceaeb(0x2f6)][_0xbceaeb(0x2aa)][_0xbceaeb(0x289)]);this['logger'][_0xbceaeb(0x2c6)](_0xbceaeb(0x29b)+_0xa66c80?.[_0xbceaeb(0x2c1)]+_0xbceaeb(0x230)+_0x2f03ae['message']+_0xbceaeb(0x295)+_0x1b84d1+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xbceaeb(0x28e)](this,_0x1b84d1,_0x5987a9,_0x4202de);}return;}this[_0xbceaeb(0x2d6)]['debug']('\x09'+_0xa66c80[_0xbceaeb(0x2c1)]+_0xbceaeb(0x2c8));if(!_0x4d66a4){const _0x3ba71e=this[_0xbceaeb(0x2f6)][_0xbceaeb(0x237)];this[_0xbceaeb(0x2d6)]['error'](_0xbceaeb(0x259)+_0x3ba71e+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xbceaeb(0x28e)](this,_0x3ba71e,_0x5987a9,_0x4202de);return;}this[_0xbceaeb(0x203)](_0x4d66a4[_0xbceaeb(0x27e)]);if(_0x4d66a4[_0xbceaeb(0x287)]){this[_0xbceaeb(0x2d6)][_0xbceaeb(0x2e7)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xbceaeb(0x28e)](this,0x0,_0x5987a9,_0x4202de);return;}if(_0x4d66a4['pipeLogs']&&_0x4d66a4[_0xbceaeb(0x2de)]!==_0xbceaeb(0x2a2)){const _0xa67bae=this['pipingManager'][_0xbceaeb(0x25f)];_0xa67bae!==_0x4d66a4['pipeLogs']&&(this[_0xbceaeb(0x2d6)]['debug'](_0xbceaeb(0x238)+_0xa67bae+_0xbceaeb(0x250)+_0x4d66a4[_0xbceaeb(0x2de)]),this[_0xbceaeb(0x2df)][_0xbceaeb(0x25f)]=_0x4d66a4[_0xbceaeb(0x2de)]);}if(_0x4d66a4['collectAndSendLog']&&_0x4d66a4[_0xbceaeb(0x260)]!==this['collectLogRequestId']){this[_0xbceaeb(0x260)]=_0x4d66a4['collectLogRequestId'];const _0x2dd6a0=this[_0xbceaeb(0x2f6)][_0xbceaeb(0x21e)][_0xbceaeb(0x24c)]&&path[_0xbceaeb(0x2dc)](this['config'][_0xbceaeb(0x21e)][_0xbceaeb(0x24c)],agent_logger_1[_0xbceaeb(0x1f6)][_0xbceaeb(0x21f)]);_0x2dd6a0&&fs[_0xbceaeb(0x2f2)](_0x2dd6a0)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')['sendAgentLogsToServer'](this['debuggee'],_0x4d66a4[_0xbceaeb(0x260)],_0x2dd6a0)):this[_0xbceaeb(0x2d6)][_0xbceaeb(0x2e7)](_0xbceaeb(0x234)+_0x4d66a4[_0xbceaeb(0x260)]+_0xbceaeb(0x25d)+_0xbceaeb(0x298));}const _0x2f3bbd=(_0x4d66a4['breakpoints']||[])[_0xbceaeb(0x1fa)](_0x543c19=>new stackdriver_1['Breakpoint'](_0x543c19))[_0xbceaeb(0x22a)](_0x434a3c=>{const _0x2add02=_0xbceaeb,_0x2aaac8=_0x434a3c[_0x2add02(0x276)]??_0x2add02(0x2bb);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x434a3c['id']])return![];if(_0x2aaac8!=='CAPTURE'&&_0x2aaac8!==_0x2add02(0x2ee))return this[_0x2add02(0x2d6)][_0x2add02(0x2c9)](_0x2add02(0x2ca),_0x2aaac8),_0x434a3c[_0x2add02(0x2c1)]=new status_message_1[(_0x2add02(0x23a))](status_message_1[_0x2add02(0x23a)]['UNSPECIFIED'],utils_1[_0x2add02(0x2a9)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](this,_0x434a3c),![];return!![];}),_0x87a640=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0xbceaeb(0x28e)](this);let _0x1c81c8=_0x87a640[_0xbceaeb(0x288)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0xbceaeb(0x28e)](this,_0x87a640),_0x1c81c8=_0x1c81c8||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0xbceaeb(0x28e)](this,_0x2f3bbd),this[_0xbceaeb(0x26b)]('breakpoints_fetched',_0x2f3bbd[_0xbceaeb(0x288)]);_0x1c81c8&&this['logger'][_0xbceaeb(0x29c)](formatBreakpoints('Active\x20Breakpoints:\x20\x0a',this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0xbceaeb(0x28d)](),'f');_0x5987a9?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0xbceaeb(0x26d)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xbceaeb(0x28e)](this,0x0,_0x5987a9,_0x4202de);return;},_0x4202de);},_0xc1aae9*0x3e8)[_0x39c16e(0x2d7)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0xad5375=a18_0x4cfc35;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0xad5375(0x26d)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x2d6595){const _0x5421f8=a18_0x4cfc35,_0x15fa1=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x5421f8(0x28e)](this,_0x2d6595);let _0x327b13=![];return _0x2d6595[_0x5421f8(0x202)](_0x582200=>{const _0x3ff304=_0x5421f8;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x582200['id']]&&!this[_0x3ff304(0x243)][_0x582200['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x3ff304(0x28e)](this,_0x582200,_0x2605ac=>{_0x2605ac&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x582200,!![],![]);}),_0x327b13=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3ff304(0x1f9)](_0x582200['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3ff304(0x211)](_0x582200['id'],_0x582200[_0x3ff304(0x2a0)]),this[_0x3ff304(0x2df)][_0x3ff304(0x2ad)](_0x582200['id'],_0x582200[_0x3ff304(0x23d)]);}),(0x0,mapSubtract_1[_0x5421f8(0x217)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x15fa1)[_0x5421f8(0x202)](_0x37317a=>{const {id:_0x52b332}=_0x37317a;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x52b332],_0x327b13=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x5421f8(0x243)],_0x15fa1)[_0x5421f8(0x202)](_0x105054=>{const _0x5164db=_0x5421f8;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5164db(0x28e)](this,_0x105054,!![]),_0x327b13=!![];}),_0x327b13&&this['logger'][_0x5421f8(0x29c)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x15fa1)),_0x327b13;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x288776){const _0x431569=a18_0x4cfc35;return Object[_0x431569(0x262)](_0x288776[_0x431569(0x1fa)](_0x3f85ec=>[_0x3f85ec['id'],_0x3f85ec]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x4e0537,_0x3421e4){const _0x4281cb=a18_0x4cfc35;this['logger'][_0x4281cb(0x2e7)](_0x4281cb(0x2b9)+_0x4e0537['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x4e0537['id']),this[_0x4281cb(0x2df)]['removeBreakpoint'](_0x4e0537['id']),delete this['activeBreakpointMap'][_0x4e0537['id']],_0x3421e4&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4281cb(0x25c)](_0x4e0537,_0x350f7c=>{const _0x2378a0=_0x4281cb;if(_0x350f7c)this['logger'][_0x2378a0(0x2c6)](_0x350f7c);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x1c535c,_0x549e2c){const _0x136537=a18_0x4cfc35;this[_0x136537(0x2d6)]['info']('\x09adding\x20breakpoint',this[_0x136537(0x222)](_0x1c535c));if(!this[_0x136537(0x2f6)][_0x136537(0x2e3)]&&(_0x1c535c[_0x136537(0x2ea)]||_0x1c535c[_0x136537(0x257)])){this[_0x136537(0x2d6)][_0x136537(0x2c6)](utils_1[_0x136537(0x2a9)][_0x136537(0x23c)][_0x136537(0x22d)]??''),_0x1c535c[_0x136537(0x2c1)]=new status_message_1[(_0x136537(0x23a))](status_message_1[_0x136537(0x23a)][_0x136537(0x258)],utils_1[_0x136537(0x2a9)][_0x136537(0x23c)],!![]),setImmediate(()=>{const _0x281c3d=_0x136537;_0x549e2c(utils_1[_0x281c3d(0x2a9)]['ALLOW_EXPRESSIONS_MESSAGE']);});return;}const _0x1db7b6=_0x1c535c[_0x136537(0x1fd)]?Number(_0x1c535c[_0x136537(0x1fd)]['seconds']):Date[_0x136537(0x28d)]()/0x3e8,_0x134eba=_0x1c535c[_0x136537(0x290)]??this[_0x136537(0x2f6)][_0x136537(0x2b6)];_0x1c535c[_0x136537(0x26a)]=_0x1db7b6+_0x134eba,_0x1c535c[_0x136537(0x249)]?.[_0x136537(0x303)]&&(_0x1c535c[_0x136537(0x249)]['path']=path[_0x136537(0x2e4)](_0x1c535c[_0x136537(0x249)][_0x136537(0x303)]),path[_0x136537(0x2e1)]===path[_0x136537(0x273)]['sep']&&(_0x1c535c[_0x136537(0x249)]['path']=_0x1c535c[_0x136537(0x249)][_0x136537(0x303)][_0x136537(0x24a)]('\x5c')[_0x136537(0x2dc)](path[_0x136537(0x2e1)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x136537(0x20c)](_0x1c535c,_0x2eac4a=>{const _0x2aff26=_0x136537;if(_0x2eac4a){_0x549e2c(_0x2eac4a);return;}this[_0x2aff26(0x2d6)]['info'](_0x2aff26(0x2b4)+_0x1c535c['id']),this[_0x2aff26(0x243)][_0x1c535c['id']]=_0x1c535c,_0x1c535c[_0x2aff26(0x276)]===_0x2aff26(0x2ee)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x2aff26(0x247)](_0x1c535c,(_0x1da4a0,_0x1c925)=>{const _0x1b0999=_0x2aff26,_0x531900=_0x1c925[_0x1b0999(0x1fa)](_0x27c317=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1b0999(0x28e)](this,_0x27c317)),_0x3deef1=(0x0,format_1[_0x1b0999(0x29e)])(_0x1da4a0,_0x531900),_0x4b1117=_0x1b0999(0x299)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x3deef1)??_0x3deef1),_0x595360=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x4b1117,_0x1c535c['id']);if(_0x595360){const _0x9e375d=_0x595360[_0x1b0999(0x2f0)],{isOutOfQuota:_0xdac75a}=_0x595360;let _0x229f76,_0x870d7e;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1b0999(0x210)]()&&!_0xdac75a&&(_0x229f76=_0x1b0999(0x299)+_0x1da4a0,_0x870d7e=_0x531900);this[_0x1b0999(0x2df)][_0x1b0999(0x2f5)](this[_0x1b0999(0x2d4)],_0x1c535c['id'],_0x9e375d,_0x1c535c[_0x1b0999(0x292)],_0x229f76,_0x870d7e);if(_0xdac75a)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this['config']['quota'][_0x1b0999(0x269)]*0x3e8),'f');else _0x9e375d?.['length']===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1c535c['id']],_0x150204=>{const _0x2e62c8=_0x2aff26;if(_0x150204){this[_0x2e62c8(0x2d6)]['error'](_0x150204),_0x549e2c(_0x150204);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x2aff26(0x1f2)](_0x1c535c,_0x510c9f=>{const _0x5edc5a=_0x2aff26;if(_0x510c9f){setImmediate(()=>{const _0x329001=a18_0x266e;this[_0x329001(0x2d6)][_0x329001(0x2c6)](_0x510c9f),_0x549e2c(_0x510c9f);});return;}this[_0x5edc5a(0x2d6)][_0x5edc5a(0x2e7)](_0x5edc5a(0x2a4)+_0x1c535c['id'],_0x1c535c[_0x5edc5a(0x249)]?.[_0x5edc5a(0x303)],_0x1c535c[_0x5edc5a(0x249)]?.[_0x5edc5a(0x2cc)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x5edc5a(0x28e)](this,_0x1c535c,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x5edc5a(0x216)](_0x1c535c['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x2aff26(0x28e)](this,_0x1c535c);}),this[_0x136537(0x26b)](_0x136537(0x2c5));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x526ff5,_0x67efd9,_0x75db3c=!![]){const _0x12e9c2=a18_0x4cfc35;if(_0x526ff5[_0x12e9c2(0x2c1)]?.[_0x12e9c2(0x2ec)]){let _0x48a009=_0x526ff5[_0x12e9c2(0x2c1)]?.[_0x12e9c2(0x22d)]?.[_0x12e9c2(0x29e)]||'';_0x526ff5[_0x12e9c2(0x2c1)]?.[_0x12e9c2(0x22d)]?.[_0x12e9c2(0x2d0)]&&(_0x48a009+=':\x20'+_0x526ff5[_0x12e9c2(0x2c1)]?.['description']?.[_0x12e9c2(0x2d0)][_0x12e9c2(0x212)]()),this[_0x12e9c2(0x2d6)][_0x12e9c2(0x2c9)](_0x12e9c2(0x2a8)+_0x526ff5+_0x12e9c2(0x24b)+_0x48a009);}else this[_0x12e9c2(0x2d6)][_0x12e9c2(0x2e7)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',this[_0x12e9c2(0x222)](_0x526ff5));_0x67efd9&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x526ff5['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x526ff5,_0x75db3c)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x12e9c2(0x2d5)](this['debuggee'],extend(!![],{},_0x526ff5));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x9b19b1){const _0x96eaf9=a18_0x4cfc35;this[_0x96eaf9(0x2d6)]['debug']('reporting\x20breakpoint\x20'+_0x9b19b1+_0x96eaf9(0x233));const _0x5d42b9=extend(!![],{},_0x9b19b1);_0x5d42b9['isFinalState']=![],_0x5d42b9['status']=new status_message_1['StatusMessage'](status_message_1[_0x96eaf9(0x23a)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x96eaf9(0x2d4)],_0x5d42b9);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x1d2318){const _0x1d1fb4=a18_0x4cfc35;this[_0x1d1fb4(0x2d6)]['info'](_0x1d1fb4(0x2a3)+_0x1d2318),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1d2318['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1d1fb4(0x2d5)](this[_0x1d1fb4(0x2d4)],_0x1d2318);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x46a282){const _0x11a40f=a18_0x4cfc35;_0x46a282[_0x11a40f(0x202)](_0x364471=>{const _0x2d5cfe=_0x11a40f;this['logger'][_0x2d5cfe(0x2e7)](_0x2d5cfe(0x2ba)+_0x364471['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x364471['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x364471,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x20345a=a18_0x4cfc35,_0x537aab=Date[_0x20345a(0x28d)]()/0x3e8;return Object[_0x20345a(0x2dd)](this[_0x20345a(0x243)])[_0x20345a(0x22a)](_0x3dd12b=>_0x3dd12b[_0x20345a(0x26a)]?_0x3dd12b[_0x20345a(0x26a)]<_0x537aab:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x1f5325){const _0x5c780b=a18_0x4cfc35,_0x1355f5=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5c780b(0x21a)](_0x1f5325),_0xcb8ea5=_0x1355f5[_0x5c780b(0x245)],_0x3203cd=_0x1355f5[_0x5c780b(0x214)];_0xcb8ea5?.[_0x5c780b(0x288)]&&this['logger'][_0x5c780b(0x29c)](_0x5c780b(0x2c3),_0xcb8ea5[_0x5c780b(0x2dc)]('\x0a\x09')),_0x3203cd?.[_0x5c780b(0x288)]&&this[_0x5c780b(0x2d6)][_0x5c780b(0x29c)](_0x5c780b(0x28a),_0x3203cd['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x5c780b(0x20d))](_0xcb8ea5,_0x3203cd,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x4453cb){const _0x4b2e99=a18_0x4cfc35,_0x3a702c=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x4453cb);_0x3a702c?.['length']&&this[_0x4b2e99(0x2d6)][_0x4b2e99(0x29c)](_0x4b2e99(0x2a5),_0x3a702c[_0x4b2e99(0x1fa)](_0x3a8cf6=>_0x4b2e99(0x22e)+_0x3a8cf6[_0x4b2e99(0x2da)]+_0x4b2e99(0x220)+_0x3a8cf6[_0x4b2e99(0x1f5)]+_0x4b2e99(0x281)+_0x3a8cf6['pattern']+_0x4b2e99(0x256)+_0x3a8cf6['caseInsensitive'])['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1['RedactionManagerRE2JS'](this[_0x4b2e99(0x2d6)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x4b2e99(0x2d8)](_0x3a702c);},_Debuglet_stringify=function _Debuglet_stringify(_0x15336a){const _0x102786=a18_0x4cfc35;if(!_0x15336a)return JSON[_0x102786(0x24e)](_0x15336a,(_0x3a6a0c,_0x1e4a3e)=>_0x1e4a3e===undefined?'undefined':_0x1e4a3e);if(Array[_0x102786(0x2e0)](_0x15336a)){const _0x48452a=_0x15336a['map'](_0x50abd4=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x102786(0x28e)](this,_0x50abd4));return'['+_0x48452a['join'](',\x20')+']';}if(typeof _0x15336a===_0x102786(0x2e6)){const _0x1ac7ec=Object[_0x102786(0x239)](_0x15336a)[_0x102786(0x1fa)](([_0x1c010a,_0x548c49])=>{const _0x2dccaf=_0x102786,_0x5206fc=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2dccaf(0x1f4)](_0x1c010a)?redaction_manager_1[_0x2dccaf(0x29a)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x2dccaf(0x28e)](this,_0x548c49);return JSON[_0x2dccaf(0x24e)](_0x1c010a)+':\x20'+_0x5206fc;})[_0x102786(0x2dc)](',\x20');return'{'+_0x1ac7ec+'}';}return JSON[_0x102786(0x24e)](_0x15336a);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a19_0x21a5fd=a19_0x4129;(function(_0x4e96e5,_0x3f4c27){const _0x1176ec=a19_0x4129,_0x592bb1=_0x4e96e5();while(!![]){try{const _0xb72260=-parseInt(_0x1176ec(0x13a))/0x1*(-parseInt(_0x1176ec(0x143))/0x2)+parseInt(_0x1176ec(0x153))/0x3+-parseInt(_0x1176ec(0x14e))/0x4+-parseInt(_0x1176ec(0x12a))/0x5+parseInt(_0x1176ec(0x14f))/0x6+parseInt(_0x1176ec(0x151))/0x7*(-parseInt(_0x1176ec(0x167))/0x8)+parseInt(_0x1176ec(0x135))/0x9*(-parseInt(_0x1176ec(0x13f))/0xa);if(_0xb72260===_0x3f4c27)break;else _0x592bb1['push'](_0x592bb1['shift']());}catch(_0x19999d){_0x592bb1['push'](_0x592bb1['shift']());}}}(a19_0x1745,0x490f4));Object[a19_0x21a5fd(0x152)](exports,a19_0x21a5fd(0x12c),{'value':!![]}),exports[a19_0x21a5fd(0x158)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x21a5fd(0x144));var OS;(function(_0x3bda0a){const _0x28a7d0=a19_0x21a5fd,_0x223b65=(function(){let _0x1a8d83=!![];return function(_0x29656d,_0x348015){const _0x27013a=_0x1a8d83?function(){const _0x524f08=a19_0x4129;if(_0x348015){const _0x442687=_0x348015[_0x524f08(0x164)](_0x29656d,arguments);return _0x348015=null,_0x442687;}}:function(){};return _0x1a8d83=![],_0x27013a;};}()),_0x129294=_0x223b65(this,function(){const _0x17050e=a19_0x4129;return _0x129294[_0x17050e(0x142)]()[_0x17050e(0x155)](_0x17050e(0x15f))[_0x17050e(0x142)]()[_0x17050e(0x15b)](_0x129294)[_0x17050e(0x155)](_0x17050e(0x15f));});_0x129294(),_0x3bda0a[_0x28a7d0(0x12b)]=_0x28a7d0(0x16a),_0x3bda0a[_0x28a7d0(0x156)]=_0x28a7d0(0x148),_0x3bda0a[_0x28a7d0(0x13c)]=_0x28a7d0(0x159);}(OS||(OS={})));var ProcArch;function a19_0x4129(_0x40a091,_0x455503){const _0x2a6cbe=a19_0x1745();return a19_0x4129=function(_0x21e41f,_0x40bedf){_0x21e41f=_0x21e41f-0x12a;let _0x174578=_0x2a6cbe[_0x21e41f];return _0x174578;},a19_0x4129(_0x40a091,_0x455503);}(function(_0x207660){const _0x1d2071=a19_0x21a5fd;_0x207660[_0x1d2071(0x14c)]=_0x1d2071(0x14c),_0x207660[_0x1d2071(0x145)]=_0x1d2071(0x145),_0x207660['arm']=_0x1d2071(0x133),_0x207660[_0x1d2071(0x12e)]=_0x1d2071(0x12e);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS['Windows'],'darwin':OS[a19_0x21a5fd(0x13c)]},ArchToProcArchMap={'x32':ProcArch[a19_0x21a5fd(0x145)],'x64':ProcArch[a19_0x21a5fd(0x14c)],'arm':ProcArch[a19_0x21a5fd(0x133)],'arm64':ProcArch[a19_0x21a5fd(0x12e)]};class EnvironmentMetadata{constructor(_0x1c92b1){const _0x10e28d=a19_0x21a5fd;assert(_0x1c92b1!==null),this[_0x10e28d(0x16c)]=_0x1c92b1;}get[a19_0x21a5fd(0x136)](){const _0x19a493=a19_0x21a5fd;try{const _0x8a609a=process[_0x19a493(0x15c)]['node']['match'](/(\d+\.\d+)\..*/);if(_0x8a609a)return _0x8a609a[0x1];}catch(_0x5d98c6){this[_0x19a493(0x16c)][_0x19a493(0x16b)](_0x5d98c6);}return;}get['runtimeEnvironmentInfo'](){const _0x28fb8f=a19_0x21a5fd;return _0x28fb8f(0x162)+process[_0x28fb8f(0x168)]+'\x20on\x20'+(0x0,os_1[_0x28fb8f(0x15d)])()+'\x20'+(0x0,os_1[_0x28fb8f(0x15a)])();}get[a19_0x21a5fd(0x14b)](){const _0x3b7b32=a19_0x21a5fd;return process[_0x3b7b32(0x14b)][_0x3b7b32(0x142)]();}get[a19_0x21a5fd(0x163)](){const _0x445d37=a19_0x21a5fd;return ArchToProcArchMap[process[_0x445d37(0x140)]]||process[_0x445d37(0x140)];}get[a19_0x21a5fd(0x139)](){const _0x2190e2=a19_0x21a5fd;return(0x0,os_1[_0x2190e2(0x14a)])()[_0x2190e2(0x130)];}get[a19_0x21a5fd(0x161)](){const _0x289571=a19_0x21a5fd;return(0x0,os_1[_0x289571(0x15e)])();}get[a19_0x21a5fd(0x157)](){const _0x47eb14=a19_0x21a5fd;return(0x0,os_1[_0x47eb14(0x14d)])();}get[a19_0x21a5fd(0x166)](){return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1['platform'])();}get['osVersion'](){const _0x5e1bcc=a19_0x21a5fd;try{if(this[_0x5e1bcc(0x166)]===OS[_0x5e1bcc(0x12b)])return this[_0x5e1bcc(0x13d)][_0x5e1bcc(0x12d)](_0x5e1bcc(0x154))??(0x0,os_1[_0x5e1bcc(0x15a)])();return(0x0,os_1[_0x5e1bcc(0x15a)])();}catch(_0x1f3a40){this[_0x5e1bcc(0x16c)][_0x5e1bcc(0x16b)](_0x1f3a40);}return;}get[a19_0x21a5fd(0x16e)](){const _0x4f7947=a19_0x21a5fd;return this[_0x4f7947(0x166)]===OS[_0x4f7947(0x12b)]&&this[_0x4f7947(0x13d)][_0x4f7947(0x12d)]('ID')||'';}get[a19_0x21a5fd(0x16d)](){const _0x34224b=a19_0x21a5fd;return this[_0x34224b(0x166)]===OS['Linux']?(0x0,fs_1[_0x34224b(0x147)])(_0x34224b(0x141)):![];}get[a19_0x21a5fd(0x146)](){const _0x5d6bab=a19_0x21a5fd;return!!process[_0x5d6bab(0x134)][_0x5d6bab(0x137)];}get['_osRelease'](){const _0x1d6f9c=a19_0x21a5fd;if(!this[_0x1d6f9c(0x150)]){this[_0x1d6f9c(0x150)]=new Map();try{if(this[_0x1d6f9c(0x166)]===OS[_0x1d6f9c(0x12b)]){const _0x399f18=(0x0,fs_1[_0x1d6f9c(0x165)])('/etc/os-release',_0x1d6f9c(0x131));_0x399f18[_0x1d6f9c(0x138)](/\r?\n/)['forEach'](_0x5d349c=>{const _0x49e814=_0x1d6f9c,[_0x21c2da,_0x2db18e]=_0x5d349c[_0x49e814(0x13b)]()[_0x49e814(0x138)]('=');this['_cachedOsRelease']?.[_0x49e814(0x132)](_0x21c2da,_0x2db18e?.['replace'](/^"|"$/g,'')||'');});}}catch(_0xd41e74){this[_0x1d6f9c(0x16c)][_0x1d6f9c(0x12f)](_0x1d6f9c(0x13e),_0xd41e74);}}return this[_0x1d6f9c(0x150)];}[a19_0x21a5fd(0x169)](){const _0x1ea955=a19_0x21a5fd;return{'runtimeEnvironmentVersion':this[_0x1ea955(0x136)],'runtimeEnvironmentInfo':this[_0x1ea955(0x149)],'pid':this[_0x1ea955(0x14b)],'cpuCoreCount':this[_0x1ea955(0x139)],'systemTotalMemoryBytes':this['systemTotalMemoryBytes'],'host':this[_0x1ea955(0x157)],'agentOS':this[_0x1ea955(0x166)],'osVersion':this[_0x1ea955(0x160)],'linuxDistroName':this[_0x1ea955(0x16e)]||undefined,'isInDocker':this[_0x1ea955(0x16d)],'isInK8s':this[_0x1ea955(0x146)],'procArch':this[_0x1ea955(0x163)]};}}function a19_0x1745(){const _0x333d20=['hostname','1130276oStMMk','1240638rXPiZW','_cachedOsRelease','28QbxJEn','defineProperty','1608294roLrJJ','VERSION_ID','search','Windows','host','EnvironmentMetadata','mac','release','constructor','versions','platform','totalmem','(((.+)+)+)+$','osVersion','systemTotalMemoryBytes','Node.js\x20','procArch','apply','readFileSync','agentOS','155128Bbwatm','version','getProps','linux','error','_logger','isInDocker','linuxDistroName','1086585Ekwxpa','Linux','__esModule','get','arm64','warn','length','utf-8','set','arm','env','9dRGzJP','runtimeEnvironmentVersion','KUBERNETES_SERVICE_HOST','split','cpuCoreCount','139MTRNWe','trim','MacOS','_osRelease','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','333860sJtYVT','arch','/.dockerenv','toString','2406NgdElv','assert','x32','isInK8s','existsSync','windows','runtimeEnvironmentInfo','cpus','pid','x64'];a19_0x1745=function(){return _0x333d20;};return a19_0x1745();}exports[a19_0x21a5fd(0x158)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a20_0x1521f2=a20_0xb36d;(function(_0x2eaa2d,_0x440f91){const _0x4a9ce0=a20_0xb36d,_0x599a2e=_0x2eaa2d();while(!![]){try{const _0x5a18fe=-parseInt(_0x4a9ce0(0x75))/0x1+parseInt(_0x4a9ce0(0x79))/0x2*(-parseInt(_0x4a9ce0(0x7d))/0x3)+-parseInt(_0x4a9ce0(0x6f))/0x4+-parseInt(_0x4a9ce0(0x74))/0x5+-parseInt(_0x4a9ce0(0x78))/0x6*(parseInt(_0x4a9ce0(0x7a))/0x7)+-parseInt(_0x4a9ce0(0x91))/0x8*(-parseInt(_0x4a9ce0(0x7e))/0x9)+parseInt(_0x4a9ce0(0x8d))/0xa;if(_0x5a18fe===_0x440f91)break;else _0x599a2e['push'](_0x599a2e['shift']());}catch(_0x2f0956){_0x599a2e['push'](_0x599a2e['shift']());}}}(a20_0x3c33,0x60ef1));const a20_0x58e3ca=(function(){let _0x371b8e=!![];return function(_0x116352,_0x114e10){const _0x497a5d=_0x371b8e?function(){if(_0x114e10){const _0x191eaf=_0x114e10['apply'](_0x116352,arguments);return _0x114e10=null,_0x191eaf;}}:function(){};return _0x371b8e=![],_0x497a5d;};}()),a20_0x333b7f=a20_0x58e3ca(this,function(){const _0x2c9b70=a20_0xb36d;return a20_0x333b7f[_0x2c9b70(0x71)]()[_0x2c9b70(0x7b)](_0x2c9b70(0x83))[_0x2c9b70(0x71)]()['constructor'](a20_0x333b7f)['search'](_0x2c9b70(0x83));});a20_0x333b7f();'use strict';Object[a20_0x1521f2(0x89)](exports,a20_0x1521f2(0x77),{'value':!![]}),exports[a20_0x1521f2(0x70)]=void 0x0;const path=require('path');class FileIndex{constructor(_0x8d4377){const _0x1b67da=a20_0x1521f2;this[_0x1b67da(0x85)]=_0x8d4377,this[_0x1b67da(0x8c)]=new Map();}static['fromFileStats'](_0x19d586){const _0xb0902=a20_0x1521f2,_0x4f5225=new FileIndex(_0x19d586);return _0x4f5225[_0xb0902(0x93)](Object[_0xb0902(0x80)](_0x19d586)||[]),_0x4f5225;}static[a20_0x1521f2(0x8a)](_0x5e95d9){const _0x39d641=a20_0x1521f2,_0x4bedba=new FileIndex(undefined);return _0x4bedba[_0x39d641(0x93)](_0x5e95d9||[]),_0x4bedba;}get[a20_0x1521f2(0x82)](){return this['_fileStats']??{};}['findShortestFuzzyMatches'](_0x13314f){const _0x9b17cd=a20_0x1521f2,_0x1378b8=this[_0x9b17cd(0x7b)](_0x13314f);if(!_0x1378b8||_0x1378b8[_0x9b17cd(0x81)]===0x0)return[];const _0x39fc23=[..._0x1378b8]['map'](_0xa6b719=>_0xa6b719[_0x9b17cd(0x88)]),_0x14ee4d=Math[_0x9b17cd(0x84)](..._0x39fc23),_0x1da79a=[..._0x1378b8][_0x9b17cd(0x8b)](_0x171452=>_0x171452['length']===_0x14ee4d);return _0x1da79a;}[a20_0x1521f2(0x93)](_0x2f4e74){const _0x317e36=a20_0x1521f2;for(const _0x490b33 of _0x2f4e74){for(const _0x26536f of this[_0x317e36(0x92)](_0x490b33)){let _0x4d31f0=this[_0x317e36(0x8c)][_0x317e36(0x7f)](_0x26536f);_0x4d31f0===undefined&&(_0x4d31f0=new Set(),this[_0x317e36(0x8c)][_0x317e36(0x87)](_0x26536f,_0x4d31f0)),_0x4d31f0[_0x317e36(0x8f)](_0x490b33);}}}[a20_0x1521f2(0x92)](_0x54cf9f){const _0x239ca3=a20_0x1521f2;_0x54cf9f=this[_0x239ca3(0x73)](_0x54cf9f);const _0x39899f=[_0x54cf9f];while(_0x54cf9f['includes'](path[_0x239ca3(0x72)])){_0x54cf9f=_0x54cf9f[_0x239ca3(0x7c)](_0x54cf9f[_0x239ca3(0x8e)](path['sep'])+path['sep'][_0x239ca3(0x88)],_0x54cf9f['length']),_0x39899f[_0x239ca3(0x86)](_0x54cf9f);}return _0x39899f;}[a20_0x1521f2(0x7b)](_0x5c23a0){const _0x5c19c9=a20_0x1521f2;if(!_0x5c23a0)return undefined;_0x5c23a0=this[_0x5c19c9(0x73)](_0x5c23a0);for(const _0x35db76 of this[_0x5c19c9(0x92)](_0x5c23a0)){if(this[_0x5c19c9(0x8c)][_0x5c19c9(0x90)](_0x35db76))return this[_0x5c19c9(0x8c)][_0x5c19c9(0x7f)](_0x35db76);}return undefined;}[a20_0x1521f2(0x73)](_0x14e7cf){const _0x27bc30=a20_0x1521f2;if(_0x14e7cf&&(_0x14e7cf['startsWith']('/')||_0x14e7cf['startsWith']('\x5c')))return _0x14e7cf[_0x27bc30(0x76)](0x1);return _0x14e7cf;}}function a20_0xb36d(_0x369ef0,_0xa8ff64){const _0x1f9894=a20_0x3c33();return a20_0xb36d=function(_0x333b7f,_0x58e3ca){_0x333b7f=_0x333b7f-0x6f;let _0x3c33d5=_0x1f9894[_0x333b7f];return _0x3c33d5;},a20_0xb36d(_0x369ef0,_0xa8ff64);}function a20_0x3c33(){const _0x5b3712=['push','set','length','defineProperty','fromFileList','filter','fileIndex','23944230tkXZvH','indexOf','add','has','8zcOhiO','generateSubPaths','buildIndex','2443144wwFPSg','FileIndex','toString','sep','stripStartingSep','374400tOscEs','793621pYXXzq','substr','__esModule','1330962EjNSZD','821386OCCbDs','21jccyIV','search','substring','3EDNKem','5022711plDxwD','get','keys','size','fileStats','(((.+)+)+)+$','min','_fileStats'];a20_0x3c33=function(){return _0x5b3712;};return a20_0x3c33();}exports[a20_0x1521f2(0x70)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x20d8bb=a21_0x3f28;function a21_0x3f28(_0x479255,_0x4bdabe){const _0x2cbc0b=a21_0x5ef7();return a21_0x3f28=function(_0x341b26,_0x3c221c){_0x341b26=_0x341b26-0x1f0;let _0x5ef7dd=_0x2cbc0b[_0x341b26];return _0x5ef7dd;},a21_0x3f28(_0x479255,_0x4bdabe);}(function(_0x3ae0c0,_0x339121){const _0x58f884=a21_0x3f28,_0x1853e3=_0x3ae0c0();while(!![]){try{const _0x4961c3=parseInt(_0x58f884(0x1f2))/0x1*(-parseInt(_0x58f884(0x204))/0x2)+parseInt(_0x58f884(0x209))/0x3*(-parseInt(_0x58f884(0x1f4))/0x4)+parseInt(_0x58f884(0x205))/0x5+parseInt(_0x58f884(0x1f6))/0x6+parseInt(_0x58f884(0x203))/0x7+parseInt(_0x58f884(0x1fb))/0x8*(parseInt(_0x58f884(0x1f9))/0x9)+-parseInt(_0x58f884(0x1f1))/0xa*(parseInt(_0x58f884(0x201))/0xb);if(_0x4961c3===_0x339121)break;else _0x1853e3['push'](_0x1853e3['shift']());}catch(_0x546958){_0x1853e3['push'](_0x1853e3['shift']());}}}(a21_0x5ef7,0xac42a));const a21_0x3c221c=(function(){let _0x5cd372=!![];return function(_0x15a34b,_0x132482){const _0x208332=_0x5cd372?function(){const _0xff0d5f=a21_0x3f28;if(_0x132482){const _0x5892ef=_0x132482[_0xff0d5f(0x202)](_0x15a34b,arguments);return _0x132482=null,_0x5892ef;}}:function(){};return _0x5cd372=![],_0x208332;};}()),a21_0x341b26=a21_0x3c221c(this,function(){const _0x71fc77=a21_0x3f28;return a21_0x341b26[_0x71fc77(0x20c)]()[_0x71fc77(0x1fe)](_0x71fc77(0x1f7))[_0x71fc77(0x20c)]()[_0x71fc77(0x1f3)](a21_0x341b26)[_0x71fc77(0x1fe)]('(((.+)+)+)+$');});function a21_0x5ef7(){const _0x362029=['test','134313ANAOfd','map','normalize','toString','selectStats','__esModule','filter','41530ZSzQWv','214VLRXPS','constructor','88ImTAnH','stats','1296150aOXUMm','(((.+)+)+)+$','defineProperty','8226NRZjZn','replace','5912onOvXY','keys','forEach','search','errorMap','ScanResultsImpl','2827FOEndf','apply','7612388rRLeNL','5006LPUPko','6572740tWSZCA','errors','selectFiles'];a21_0x5ef7=function(){return _0x362029;};return a21_0x5ef7();}a21_0x341b26();'use strict';Object[a21_0x20d8bb(0x1f8)](exports,a21_0x20d8bb(0x20e),{'value':!![]}),exports[a21_0x20d8bb(0x200)]=void 0x0;const path=require('path');class ScanResultsImpl{constructor(_0x5df590,_0xde1c17,_0xff9451){const _0x32e360=a21_0x20d8bb;this[_0x32e360(0x1f5)]=_0x5df590,this['errorMap']=_0xde1c17,this['hash']=_0xff9451;}[a21_0x20d8bb(0x206)](){const _0x1f40a4=a21_0x20d8bb;return this[_0x1f40a4(0x1ff)];}['all'](){const _0x5b968b=a21_0x20d8bb;return this[_0x5b968b(0x1f5)];}[a21_0x20d8bb(0x20d)](_0x56cbca){const _0x4e2875=a21_0x20d8bb,_0x286ae2={};return Object[_0x4e2875(0x1fc)](this[_0x4e2875(0x1f5)])[_0x4e2875(0x1fd)](_0x91696c=>{const _0x2a6eb7=_0x4e2875;_0x56cbca[_0x2a6eb7(0x208)](_0x91696c)&&(_0x286ae2[_0x91696c]=this['stats'][_0x91696c]);}),_0x286ae2;}[a21_0x20d8bb(0x207)](_0x18e301,_0x528448){const _0x3e5808=a21_0x20d8bb;return _0x528448=path[_0x3e5808(0x20b)](_0x528448+path['sep']),Object[_0x3e5808(0x1fc)](this[_0x3e5808(0x1f5)])[_0x3e5808(0x1f0)](_0x175cf0=>_0x175cf0&&_0x18e301['test'](_0x175cf0))[_0x3e5808(0x20a)](_0x1d2fad=>path['normalize'](_0x1d2fad)[_0x3e5808(0x1fa)](_0x528448,''));}}exports['ScanResultsImpl']=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x5dd7ce=a22_0x31f9;function a22_0x4338(){const _0x40e72a=['end','node_modules','2134286ykrxLH','1206168BjLfPb','SHA1-','Scanner','263106ZMVESX','add','addFilesFromDir','constants','879987evVggv','split','156320wDSzsj','Specified\x20extraPaths\x20does\x20not\x20exist!','37010cNtPoT','accessSync','info','directory','toString','findFiles','path','computeStats','crypto','EMPTY-no-js-files','error','statsForFile','file','length','logger','pipe','createHash','.git','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','test','open','data','28026cBMjdy','digest','R_OK','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','(((.+)+)+)+$','hex','warn','join','hasReadAccess','startsWith','resolve','Indexing\x20files\x20in\x20','findit2','update','./scan-results','push','defineProperty','search','ScanResultsImpl','apply'];a22_0x4338=function(){return _0x40e72a;};return a22_0x4338();}(function(_0x3ae577,_0x3df143){const _0xaf3648=a22_0x31f9,_0x30ec49=_0x3ae577();while(!![]){try{const _0x2e2457=-parseInt(_0xaf3648(0x138))/0x1+-parseInt(_0xaf3648(0x150))/0x2+-parseInt(_0xaf3648(0x136))/0x3+parseInt(_0xaf3648(0x12f))/0x4+-parseInt(_0xaf3648(0x13a))/0x5+parseInt(_0xaf3648(0x132))/0x6+parseInt(_0xaf3648(0x166))/0x7;if(_0x2e2457===_0x3df143)break;else _0x30ec49['push'](_0x30ec49['shift']());}catch(_0x341b49){_0x30ec49['push'](_0x30ec49['shift']());}}}(a22_0x4338,0x2bc1b));const a22_0x167868=(function(){let _0x2f6e24=!![];return function(_0x524912,_0xde12c8){const _0x507720=_0x2f6e24?function(){const _0x1bf2a8=a22_0x31f9;if(_0xde12c8){const _0x51a8ce=_0xde12c8[_0x1bf2a8(0x163)](_0x524912,arguments);return _0xde12c8=null,_0x51a8ce;}}:function(){};return _0x2f6e24=![],_0x507720;};}()),a22_0x4b8b8d=a22_0x167868(this,function(){const _0x52fbe3=a22_0x31f9;return a22_0x4b8b8d['toString']()['search'](_0x52fbe3(0x154))[_0x52fbe3(0x13e)]()['constructor'](a22_0x4b8b8d)[_0x52fbe3(0x161)](_0x52fbe3(0x154));});a22_0x4b8b8d();function a22_0x31f9(_0x593a04,_0x1e5a53){const _0x265937=a22_0x4338();return a22_0x31f9=function(_0x4b8b8d,_0x167868){_0x4b8b8d=_0x4b8b8d-0x12f;let _0x433807=_0x265937[_0x4b8b8d];return _0x433807;},a22_0x31f9(_0x593a04,_0x1e5a53);}'use strict';Object[a22_0x5dd7ce(0x160)](exports,'__esModule',{'value':!![]}),exports[a22_0x5dd7ce(0x131)]=void 0x0;const crypto=require(a22_0x5dd7ce(0x142)),fs=require('fs'),path=require(a22_0x5dd7ce(0x140)),scan_results_1=require(a22_0x5dd7ce(0x15e));class Scanner{constructor(_0x1c582a){const _0x56c642=a22_0x5dd7ce;this[_0x56c642(0x148)]=_0x1c582a;}async['scan'](_0x4e88a4,_0xc8c03b,_0x128533,_0x1875ae){const _0x4fdfe6=a22_0x5dd7ce,_0x5adc18=await this[_0x4fdfe6(0x13f)](_0x4e88a4,_0xc8c03b,_0x1875ae);return this[_0x4fdfe6(0x141)](_0x5adc18,_0x128533);}async['computeStats'](_0x43afe9,_0x1d7c6c){const _0x52c742=a22_0x5dd7ce;if(_0x43afe9[_0x52c742(0x147)]===0x0)return new scan_results_1['ScanResultsImpl']({},new Map(),_0x52c742(0x143));const _0x1ae4a0=[],_0x1824f5={},_0x1a009d=new Map();for(const _0xdbf0c4 of _0x43afe9){try{const _0x411ae5=await this[_0x52c742(0x145)](_0xdbf0c4,!_0x1d7c6c);!_0x1d7c6c&&_0x1ae4a0[_0x52c742(0x15f)](_0x411ae5['hash']),_0x1824f5[_0xdbf0c4]=_0x411ae5;}catch(_0x448f2e){_0x1a009d['set'](_0xdbf0c4,_0x448f2e);}}let _0x3a62a8;if(!_0x1d7c6c){const _0x46cb20=_0x1ae4a0['sort']()[_0x52c742(0x157)](),_0x56d864=crypto['createHash']('sha1')[_0x52c742(0x15d)](_0x46cb20)['digest']('hex');_0x3a62a8=_0x52c742(0x130)+_0x56d864;}else _0x3a62a8=_0x1d7c6c;return new scan_results_1[(_0x52c742(0x162))](_0x1824f5,_0x1a009d,_0x3a62a8);}async[a22_0x5dd7ce(0x13f)](_0xff5b9d,_0x47cbd9,_0x31a777){const _0x59d60d=a22_0x5dd7ce,_0x707ced=new Set();await this[_0x59d60d(0x134)](_0x707ced,_0xff5b9d,_0x47cbd9);for(const _0x3f0999 of _0x31a777??[]){if(_0x3f0999){const _0xfcf2f3=path[_0x59d60d(0x15a)](_0x3f0999);try{await this[_0x59d60d(0x134)](_0x707ced,_0xfcf2f3,_0x47cbd9);}catch(_0xd69a31){this[_0x59d60d(0x148)]['error'](_0x59d60d(0x139),_0xd69a31);}}}return Array['from'](_0x707ced);}static[a22_0x5dd7ce(0x158)](_0x2f8d1d){const _0x196f4f=a22_0x5dd7ce;try{return fs[_0x196f4f(0x13b)](_0x2f8d1d,fs[_0x196f4f(0x135)][_0x196f4f(0x152)]),!![];}catch{return![];}}async[a22_0x5dd7ce(0x134)](_0x12c23a,_0x1d698f,_0x38b0f8){return new Promise((_0x4762db,_0x113b53)=>{const _0x4a7a79=a22_0x31f9;let _0x1270e7;if(!_0x1d698f){_0x113b53(new Error(_0x4a7a79(0x153)));return;}this[_0x4a7a79(0x148)][_0x4a7a79(0x13c)](_0x4a7a79(0x15b)+path[_0x4a7a79(0x15a)](_0x1d698f));const _0x410946=findit(_0x1d698f);_0x410946['on'](_0x4a7a79(0x144),_0x4926a8=>{_0x1270e7=_0x4926a8;return;}),_0x410946['on'](_0x4a7a79(0x13d),(_0x25db4d,_0x127a2d,_0x1cd7e9)=>{const _0x3c5a2f=_0x4a7a79,_0x4aad9d=path['basename'](_0x25db4d);!Scanner[_0x3c5a2f(0x158)](_0x25db4d)&&(this[_0x3c5a2f(0x148)][_0x3c5a2f(0x156)]('can\x27t\x20access\x20path:\x20['+_0x25db4d+_0x3c5a2f(0x14c)),_0x1cd7e9()),(_0x4aad9d===_0x3c5a2f(0x14b)||_0x4aad9d===_0x3c5a2f(0x165))&&(!path[_0x3c5a2f(0x15a)](_0x1d698f)[_0x3c5a2f(0x159)](path[_0x3c5a2f(0x15a)](_0x25db4d))&&_0x1cd7e9());}),_0x410946['on'](_0x4a7a79(0x146),_0x291111=>{const _0x51f00c=_0x4a7a79;_0x38b0f8[_0x51f00c(0x14d)](_0x291111)&&_0x12c23a[_0x51f00c(0x133)](_0x291111);}),_0x410946['on']('end',()=>{_0x1270e7?_0x113b53(_0x1270e7):_0x4762db();});});}async['statsForFile'](_0x96d3dd,_0x44ff22){return new Promise((_0x5de720,_0x9d15eb)=>{const _0x314cba=a22_0x31f9,_0x22147e=fs['createReadStream'](_0x96d3dd);_0x22147e['on']('error',_0x3ac3f3=>{_0x9d15eb(_0x3ac3f3);}),_0x22147e['on'](_0x314cba(0x14e),()=>{const _0x5be5e3=_0x314cba;let _0xd1fbec;_0x44ff22&&(_0xd1fbec=crypto[_0x5be5e3(0x14a)]('sha1'));let _0x46c86a=0x0,_0x29fae4;const _0x461334=_0x22147e[_0x5be5e3(0x149)](split());_0x461334['on']('error',_0x48b176=>{_0x29fae4=_0x48b176;}),_0x461334['on'](_0x5be5e3(0x14f),_0x892945=>{const _0xc1af47=_0x5be5e3;_0x44ff22&&_0xd1fbec[_0xc1af47(0x15d)](_0x892945),_0x46c86a++;}),_0x461334['on'](_0x5be5e3(0x164),()=>{const _0x12dbf8=_0x5be5e3;if(_0x29fae4)_0x9d15eb(_0x29fae4);else{const _0x238ec2=_0x44ff22?_0xd1fbec[_0x12dbf8(0x151)](_0x12dbf8(0x155)):undefined;_0x5de720({'hash':_0x238ec2,'lines':_0x46c86a});}});});});}}exports[a22_0x5dd7ce(0x131)]=Scanner;const findit=require(a22_0x5dd7ce(0x15c)),split=require(a22_0x5dd7ce(0x137));
|