lightrun 1.67.0 → 1.67.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a16_0x5c3c93=a16_0x5684;(function(_0xcfe267,_0x39ed49){const _0x484c38=a16_0x5684,_0x279bd1=_0xcfe267();while(!![]){try{const _0x5e0a34=-parseInt(_0x484c38(0x131))/0x1+-parseInt(_0x484c38(0x126))/0x2*(parseInt(_0x484c38(0x13d))/0x3)+-parseInt(_0x484c38(0x11d))/0x4+-parseInt(_0x484c38(0x12a))/0x5+-parseInt(_0x484c38(0x104))/0x6*(parseInt(_0x484c38(0x12f))/0x7)+parseInt(_0x484c38(0x107))/0x8*(parseInt(_0x484c38(0x12e))/0x9)+parseInt(_0x484c38(0x13e))/0xa*(parseInt(_0x484c38(0x11c))/0xb);if(_0x5e0a34===_0x39ed49)break;else _0x279bd1['push'](_0x279bd1['shift']());}catch(_0x1b83e2){_0x279bd1['push'](_0x279bd1['shift']());}}}(a16_0x47de,0x22477));const a16_0x56f318=(function(){let _0x5a212a=!![];return function(_0x4d5dfc,_0x1627c3){const _0x260425=_0x5a212a?function(){const _0x58552b=a16_0x5684;if(_0x1627c3){const _0x104913=_0x1627c3[_0x58552b(0x128)](_0x4d5dfc,arguments);return _0x1627c3=null,_0x104913;}}:function(){};return _0x5a212a=![],_0x260425;};}()),a16_0x7cec61=a16_0x56f318(this,function(){const _0x245bb2=a16_0x5684;return a16_0x7cec61[_0x245bb2(0x141)]()[_0x245bb2(0x125)](_0x245bb2(0x11e))[_0x245bb2(0x141)]()['constructor'](a16_0x7cec61)[_0x245bb2(0x125)](_0x245bb2(0x11e));});a16_0x7cec61();'use strict';Object[a16_0x5c3c93(0x123)](exports,a16_0x5c3c93(0x10d),{'value':!![]}),exports[a16_0x5c3c93(0x118)]=exports[a16_0x5c3c93(0x142)]=void 0x0;const extend=require(a16_0x5c3c93(0x140)),config_1=require(a16_0x5c3c93(0x110)),utils_1=require(a16_0x5c3c93(0x121)),getAgentConfig_1=require(a16_0x5c3c93(0x101)),limitConfig_1=require(a16_0x5c3c93(0x134)),validateConfig=_0x58a0e4=>{const _0x2676ba=a16_0x5c3c93,_0x4198b0={};try{config_1[_0x2676ba(0x112)][_0x2676ba(0x124)](_0x58a0e4,{'abortEarly':![]});}catch(_0x400d38){_0x400d38[_0x2676ba(0x10e)][_0x2676ba(0x13b)](_0x15f72c=>_0x15f72c['path']&&_0x15f72c[_0x2676ba(0x105)])[_0x2676ba(0x100)](_0x4bce72=>{const _0x5b311b=_0x2676ba;_0x4198b0[_0x4bce72['path']]=_0x4bce72[_0x5b311b(0x105)];});}return _0x4198b0;};function a16_0x5684(_0x73a6fc,_0x4047a4){const _0xf0e88c=a16_0x47de();return a16_0x5684=function(_0x7cec61,_0x56f318){_0x7cec61=_0x7cec61-0xff;let _0x47de31=_0xf0e88c[_0x7cec61];return _0x47de31;},a16_0x5684(_0x73a6fc,_0x4047a4);}exports['validateConfig']=validateConfig;const normalizeConfig=_0x1a89db=>{const _0x3ed640=a16_0x5c3c93,_0x4fde83={'serviceContext':{'service':process[_0x3ed640(0x13f)]['GAE_SERVICE']||process[_0x3ed640(0x13f)][_0x3ed640(0x117)]||process['env'][_0x3ed640(0x133)],'version':process[_0x3ed640(0x13f)][_0x3ed640(0x109)]||process[_0x3ed640(0x13f)]['GAE_MODULE_VERSION']||process[_0x3ed640(0x13f)][_0x3ed640(0x103)],'minorVersion_':process[_0x3ed640(0x13f)][_0x3ed640(0x130)]||process[_0x3ed640(0x13f)]['GAE_MINOR_VERSION']},'metadata':{'filename':process['env']['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process[_0x3ed640(0x13f)][_0x3ed640(0x12d)],'apiEndpoint':process[_0x3ed640(0x13f)][_0x3ed640(0x132)],'noCheckCertificate':(0x0,utils_1[_0x3ed640(0x10a)])(process[_0x3ed640(0x13f)][_0x3ed640(0x10f)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x3ed640(0x10a)])(process[_0x3ed640(0x13f)][_0x3ed640(0x114)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x3ed640(0x13f)][_0x3ed640(0x119)]),'lightrunInitWaitTimeMs':process[_0x3ed640(0x13f)]['LIGHTRUN_INIT_WAIT_TIME_MS'],'agentLog':_0x1a89db?.[_0x3ed640(0xff)]||{},'proxy':{'host':process[_0x3ed640(0x13f)][_0x3ed640(0x135)],'port':parseInt(process['env'][_0x3ed640(0x13a)]||'')||undefined,'username':process['env'][_0x3ed640(0x111)],'password':process[_0x3ed640(0x13f)][_0x3ed640(0x138)]}};process[_0x3ed640(0x13f)][_0x3ed640(0x136)]!==undefined&&(_0x4fde83['agentLog'][_0x3ed640(0x10c)]=process[_0x3ed640(0x13f)][_0x3ed640(0x136)]);process[_0x3ed640(0x13f)][_0x3ed640(0x11a)]!==undefined&&(_0x4fde83[_0x3ed640(0xff)]['agentLogLevel']=process[_0x3ed640(0x13f)][_0x3ed640(0x11a)]);process[_0x3ed640(0x13f)][_0x3ed640(0x102)]!==undefined&&(_0x4fde83[_0x3ed640(0xff)][_0x3ed640(0x12b)]=process[_0x3ed640(0x13f)][_0x3ed640(0x102)]);process[_0x3ed640(0x13f)][_0x3ed640(0x11b)]!==undefined&&(_0x4fde83['agentLog']['agentLogMaxFileCount']=parseInt(process[_0x3ed640(0x13f)][_0x3ed640(0x11b)]));process[_0x3ed640(0x13f)][_0x3ed640(0x13c)]!==undefined&&(_0x4fde83[_0x3ed640(0xff)][_0x3ed640(0x143)]=parseInt(process[_0x3ed640(0x13f)]['AGENT_LOG_MAX_FILE_SIZE_MB']));process[_0x3ed640(0x13f)][_0x3ed640(0x116)]&&(_0x4fde83[_0x3ed640(0x115)][_0x3ed640(0x11f)]=process[_0x3ed640(0x13f)][_0x3ed640(0x116)],_0x4fde83[_0x3ed640(0x115)][_0x3ed640(0x12c)]=_0x3ed640(0x10b));process[_0x3ed640(0x13f)]['LIGHTRUN_TAGS']&&(_0x4fde83[_0x3ed640(0x122)][_0x3ed640(0x139)]={'tags':process[_0x3ed640(0x13f)][_0x3ed640(0x113)][_0x3ed640(0x106)](',')});const _0x450e3f=(0x0,getAgentConfig_1[_0x3ed640(0x108)])(process[_0x3ed640(0x13f)][_0x3ed640(0x127)]||_0x1a89db?.[_0x3ed640(0x129)]||config_1[_0x3ed640(0x120)][_0x3ed640(0x129)]),_0x3f5901=(0x0,limitConfig_1[_0x3ed640(0x137)])(extend(!![],{},config_1[_0x3ed640(0x120)],_0x450e3f,_0x1a89db,_0x4fde83)),_0x58d413=(0x0,exports[_0x3ed640(0x142)])(_0x3f5901);return{..._0x3f5901,'errors':_0x58d413};};function a16_0x47de(){const _0x5a8024=['message','split','16nWkuDg','getAgentConfig','GAE_VERSION','getBooleanValue','unversioned','stdErrThreshold','__esModule','inner','NO_CHECK_CERTIFICATE','../config','LIGHTRUN_PROXY_USERNAME','configSchema','LIGHTRUN_TAGS','FETCH_BREAKPOINTS_ONCE','serviceContext','FUNCTION_NAME','GAE_MODULE_NAME','normalizeConfig','LIGHTRUN_WAIT_FOR_INIT','AGENT_LOG_LEVEL','AGENT_LOG_MAX_FILE_COUNT','121LwzKvT','828808jTETnt','(((.+)+)+)+$','service','defaultConfig','../util/utils','metadata','defineProperty','validateSync','search','14466xtiSuI','LIGHTRUN_AGENT_CONFIG','apply','agentConfigFile','930040QrdBYS','agentLogTargetDir','version','LIGHTRUN_SECRET','507897IpsEdG','28gvRWxU','GAE_DEPLOYMENT_ID','219064PpXFaC','LIGHTRUN_API_ENDPOINT','K_SERVICE','./limitConfig','LIGHTRUN_PROXY_HOST','LIGHTRUN_STD_ERR_THRESHOLD','limitConfig','LIGHTRUN_PROXY_PASSWORD','registration','LIGHTRUN_PROXY_PORT','filter','AGENT_LOG_MAX_FILE_SIZE_MB','114MtYRUa','885070wQBxKG','env','extend','toString','validateConfig','agentLogMaxFileSizeMb','agentLog','forEach','./getAgentConfig','AGENT_LOG_TARGET_DIR','K_REVISION','88362MzoNTf'];a16_0x47de=function(){return _0x5a8024;};return a16_0x47de();}exports[a16_0x5c3c93(0x118)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a17_0x53440f=a17_0x2208;(function(_0x509e04,_0x2111a4){const _0x3c0d21=a17_0x2208,_0x157308=_0x509e04();while(!![]){try{const _0x28cec4=parseInt(_0x3c0d21(0xac))/0x1+parseInt(_0x3c0d21(0x9d))/0x2*(-parseInt(_0x3c0d21(0xa9))/0x3)+parseInt(_0x3c0d21(0xa8))/0x4*(-parseInt(_0x3c0d21(0x9f))/0x5)+-parseInt(_0x3c0d21(0x9a))/0x6*(-parseInt(_0x3c0d21(0xa0))/0x7)+-parseInt(_0x3c0d21(0xa2))/0x8+-parseInt(_0x3c0d21(0x9c))/0x9+parseInt(_0x3c0d21(0xaa))/0xa;if(_0x28cec4===_0x2111a4)break;else _0x157308['push'](_0x157308['shift']());}catch(_0x1ddad0){_0x157308['push'](_0x157308['shift']());}}}(a17_0x4346,0xb88ce));const a17_0x126ddf=(function(){let _0x54c308=!![];return function(_0x1361d9,_0x435059){const _0x285b06=_0x54c308?function(){const _0x365c14=a17_0x2208;if(_0x435059){const _0x438c5a=_0x435059[_0x365c14(0xa7)](_0x1361d9,arguments);return _0x435059=null,_0x438c5a;}}:function(){};return _0x54c308=![],_0x285b06;};}()),a17_0x62a38c=a17_0x126ddf(this,function(){const _0x2265f7=a17_0x2208;return a17_0x62a38c[_0x2265f7(0xa4)]()['search'](_0x2265f7(0xa3))['toString']()[_0x2265f7(0x9b)](a17_0x62a38c)[_0x2265f7(0x99)]('(((.+)+)+)+$');});a17_0x62a38c();function a17_0x2208(_0x198e8d,_0x3a4866){const _0x1e911f=a17_0x4346();return a17_0x2208=function(_0x62a38c,_0x126ddf){_0x62a38c=_0x62a38c-0x98;let _0x434693=_0x1e911f[_0x62a38c];return _0x434693;},a17_0x2208(_0x198e8d,_0x3a4866);}'use strict';Object[a17_0x53440f(0x98)](exports,a17_0x53440f(0xab),{'value':!![]}),exports[a17_0x53440f(0xa5)]=void 0x0;const delimit_1=require(a17_0x53440f(0xa1)),tokenize=(_0x5c1c33,_0x390fe0)=>{const _0xe26058=a17_0x53440f;let _0x330524=(0x0,delimit_1[_0xe26058(0xa6)])(_0x5c1c33,'$$');for(let _0x485b7e=_0x390fe0-0x1;_0x485b7e>=0x0;_0x485b7e--){const _0x367b04=[];for(let _0x1e48d6=0x0;_0x1e48d6<_0x330524[_0xe26058(0xad)];_0x1e48d6++){_0x330524[_0x1e48d6]['v']?_0x367b04[_0xe26058(0x9e)](_0x330524[_0x1e48d6]):_0x367b04[_0xe26058(0x9e)](...(0x0,delimit_1[_0xe26058(0xa6)])(_0x330524[_0x1e48d6],'$'+_0x485b7e));}_0x330524=_0x367b04;}return _0x330524;};exports['tokenize']=tokenize;function a17_0x4346(){const _0x450820=['push','10qofbdZ','7bxrhlx','./delimit','8359784fvVbff','(((.+)+)+)+$','toString','tokenize','delimit','apply','400944mSViZe','2611302LrKSjY','13079880FeTvxS','__esModule','1142773DqDEtZ','length','defineProperty','search','5920230smoPJZ','constructor','5091021DPLOYo','2EwHGtL'];a17_0x4346=function(){return _0x450820;};return a17_0x4346();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x40d671=a18_0x5cd5;function a18_0x5cd5(_0x209855,_0x29b602){const _0x3163b7=a18_0xa3b8();return a18_0x5cd5=function(_0x5dd682,_0x1a0536){_0x5dd682=_0x5dd682-0x156;let _0xa3b835=_0x3163b7[_0x5dd682];return _0xa3b835;},a18_0x5cd5(_0x209855,_0x29b602);}(function(_0x504c48,_0x494aa3){const _0x1590a7=a18_0x5cd5,_0x3839df=_0x504c48();while(!![]){try{const _0x187bfe=parseInt(_0x1590a7(0x25c))/0x1*(-parseInt(_0x1590a7(0x182))/0x2)+-parseInt(_0x1590a7(0x22d))/0x3*(-parseInt(_0x1590a7(0x256))/0x4)+parseInt(_0x1590a7(0x1d9))/0x5+-parseInt(_0x1590a7(0x177))/0x6+-parseInt(_0x1590a7(0x178))/0x7*(-parseInt(_0x1590a7(0x1a6))/0x8)+-parseInt(_0x1590a7(0x24a))/0x9+parseInt(_0x1590a7(0x1df))/0xa;if(_0x187bfe===_0x494aa3)break;else _0x3839df['push'](_0x3839df['shift']());}catch(_0x28499e){_0x3839df['push'](_0x3839df['shift']());}}}(a18_0xa3b8,0xe47d1));function a18_0xa3b8(){const _0x18cf77=['waitExpired','GAE_MINOR_VERSION','default','removeBreakpoint','UNSPECIFIED','log','Debuggee\x20is\x20not\x20registered','remotelyDisabled','./blocklisting/patterns-blocklist-manager','PipingManager','setCustomLogLevel','once','parse','call','Disabled\x20by\x20the\x20server','Registered\x20as\x20debuggee:\x20','pipeLogs','Result:\x20\x0a','Breakpoint','quotaCheck','prettyError','getRedactions','setLevel','./controller','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','parameters','util','(((.+)+)+)+$','Scheduling\x20registration\x20in\x20','quota','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','debuglet','Controller','posix','isRunning','enqueueBreakpointUpdate','collectLogRequestId','./debuglet-helpers/format','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','normalize','maxRequestRetryDelaySeconds','Unknown\x20agentLogLevel\x20','ignoreQuota','message','path','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','reporting\x20breakpoint\x20','filter','sep','Stopping\x20Debuglet','sourceContext','getProps','expressions','status','5.2\x20||\x20<4','backoff','has','./quota-manager','QuotaManager','forEach','findFiles','mapFiles','caseInsensitive','constructor','315UZzjgx','join','agentLogLevel','FileIndex','__esModule','Malformed\x20source-context.json\x20file:\x20','javascriptFileExtensions','CAPTURE','Blacklist\x20Exceptions:\x20\x0a\x09','fetchBreakpointsOnce','\x09remove\x20breakpoint','scan','./config','location','./environment-metadata','source-context.json','EnvironmentMetadata','breakpoints_fetched','logger','./io/file-index','errors','isRedactionActive','Fetching\x20breakpoints','replace','\x0a\x09expressions:\x20','warn','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','version','breakpoint_set','14830821qmGxhG','SIGINT','rejecting\x20breakpoint','setPatterns','):\x20pattern:\x20','fetcherActive','function','logLevel','blacklist_exception','./util/utils','Error\x20scanning\x20the\x20filesystem.','promisify','2364OdBGeG','createPerBreakpointConditionQuota','unref','length','enable','satisfies','3IjrZBG','agentLogMaxFileCount','stdErrThreshold','normalizeConfig','\x09Long\x20poll\x20completed.','\x0a\x09createdTime:\x20','toString','isFinalState','isOutOfQuota','\x20to\x20','\x0a\x09condition:\x20','agentLogMaxFileSizeMb','clientConnectionTimeoutInSeconds','disable','start','env','EventEmitter','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','clear','isError','AGENT_LOG_FILE','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','redactionEnabled','logMainConfigParams','map','isDisabled','emit','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','PatternsBlocklistManager','wait','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','get','./debuglet-helpers/mapSubtract','isReadyManager','selectStats','register','format','3878880MBQUcO','4727576DzObeD','undefined','setIgnoreQuota','.\x20Retrying\x20in\x20','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','Expiring\x20breakpoint','filename','quotaRecoverySeconds','replaceRedactedByValue','.\x20Error:\x20','361528RODaNI','stop','debuggee','expirationTime','search','getSourceContextFromFile','collectAndSendLog','kill','push','breakpointUpdateIntervalSec','Working\x20directory:\x20','ConfigurationProvider','addAndPipeLog','../client/stackdriver/status-message','apply','.\x20message:\x20','activeBreakpointMap','set','Registering\x20debuggee','expirationSeconds','now','breakpoints','Switching\x20globalPiping\x20status\x20from\x20','Debuglet','Initializing\x20Node.js\x20agent\x20version:\x20','removePerBreakpointQuota','stringify','>=12','LOG','mapSubtract','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','info','agentLog','getLevel','bind','config','8bKwHRt','\x09Got\x20error\x20from\x20server.\x20status:\x20','NODE_VERSION_MESSAGE','REDACTED_PLACEHOLDER','./reduction/redaction-manager','started','utf8','extend','BREAKPOINT_ACTION_MESSAGE','create','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','Starting\x20debuggee','Breakpoint\x20hit!:\x20','allowRootAsWorkingDirectory','Redactions:\x20\x0a\x09','seconds','error','action','defineProperty','\x20(type:\x20','type','./reduction/redaction-manager-re2js','SIGQUIT','existsSync','\x09adding\x20breakpoint','extraPaths','split','GAE-','debug','registered','createLogger','resolve','then','internal','pipingManager','condition','Scanner','hash','keys','setBlocklistManager','value','LOGPOINT:\x20','isArray','ALLOW_EXPRESSIONS_MESSAGE','agentLogTargetDir','CachedPromise','StatusMessage','./io/scanner','initError','description','./configuration-provider','5558910iPAMEw','SIGTERM','packageInfo','createTime','sendAgentLogsToServer','isReady','19233250ZlYVJi','stopped','promiseResolve','selectFiles','./io/sourcemapper','\x20because\x20','deregister','assert','Found\x20breakpoint\x20with\x20invalid\x20action:','inspect','promise','readFile','workingDirectory','pipingStatus'];a18_0xa3b8=function(){return _0x18cf77;};return a18_0xa3b8();}const a18_0x1a0536=(function(){let _0x108926=!![];return function(_0xc71d1,_0x80892b){const _0x156244=_0x108926?function(){const _0x1c8e11=a18_0x5cd5;if(_0x80892b){const _0x407fcf=_0x80892b[_0x1c8e11(0x190)](_0xc71d1,arguments);return _0x80892b=null,_0x407fcf;}}:function(){};return _0x108926=![],_0x156244;};}()),a18_0x5dd682=a18_0x1a0536(this,function(){const _0x3ac91d=a18_0x5cd5;return a18_0x5dd682[_0x3ac91d(0x158)]()[_0x3ac91d(0x186)](_0x3ac91d(0x208))['toString']()[_0x3ac91d(0x22c)](a18_0x5dd682)[_0x3ac91d(0x186)](_0x3ac91d(0x208));});a18_0x5dd682();'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x217f15,_0x451480,_0xd70d8c,_0x10de6f,_0x256dc2){const _0x185394=a18_0x5cd5;if(_0x10de6f==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x10de6f==='a'&&!_0x256dc2)throw new TypeError(_0x185394(0x16d));if(typeof _0x451480===_0x185394(0x250)?_0x217f15!==_0x451480||!_0x256dc2:!_0x451480[_0x185394(0x225)](_0x217f15))throw new TypeError(_0x185394(0x213));return _0x10de6f==='a'?_0x256dc2[_0x185394(0x1fa)](_0x217f15,_0xd70d8c):_0x256dc2?_0x256dc2['value']=_0xd70d8c:_0x451480[_0x185394(0x193)](_0x217f15,_0xd70d8c),_0xd70d8c;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x523885,_0x133277,_0x442efe,_0x5efb45){const _0x2faaed=a18_0x5cd5;if(_0x442efe==='a'&&!_0x5efb45)throw new TypeError(_0x2faaed(0x21a));if(typeof _0x133277===_0x2faaed(0x250)?_0x523885!==_0x133277||!_0x5efb45:!_0x133277['has'](_0x523885))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x442efe==='m'?_0x5efb45:_0x442efe==='a'?_0x5efb45[_0x2faaed(0x1fa)](_0x523885):_0x5efb45?_0x5efb45[_0x2faaed(0x1ce)]:_0x133277['get'](_0x523885);},_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_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x40d671(0x1b8)](exports,a18_0x40d671(0x231),{'value':!![]}),exports[a18_0x40d671(0x199)]=exports[a18_0x40d671(0x1d3)]=void 0x0;const assert=require(a18_0x40d671(0x1e6)),events_1=require('events'),extend=require(a18_0x40d671(0x1ad)),fs=require('fs'),path=require(a18_0x40d671(0x219)),util=require(a18_0x40d671(0x207)),status_message_1=require(a18_0x40d671(0x18f)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require('./agent-logger'),config_1=require(a18_0x40d671(0x239)),controller_1=require(a18_0x40d671(0x204)),SourceMapper=require(a18_0x40d671(0x1e3)),debugapi=require('./v8/debugapi'),piping_manager_1=require('./piping-manager'),quota_manager_1=require(a18_0x40d671(0x226)),patterns_blocklist_manager_1=require(a18_0x40d671(0x1f5)),scanner_1=require(a18_0x40d671(0x1d5)),environment_metadata_1=require(a18_0x40d671(0x23b)),file_index_1=require(a18_0x40d671(0x240)),utils_1=require(a18_0x40d671(0x253)),redaction_manager_1=require(a18_0x40d671(0x1aa)),configuration_provider_1=require(a18_0x40d671(0x1d8)),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),mapSubtract_1=require(a18_0x40d671(0x172)),format_1=require(a18_0x40d671(0x212)),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),readFilep=util[a18_0x40d671(0x255)](fs[a18_0x40d671(0x1ea)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x2b5431,_0x5e7094)=>{const _0x4af0d6=a18_0x40d671;let _0x369a50=_0x2b5431+util[_0x4af0d6(0x176)](_0x4af0d6(0x170),_0x5e7094['id'],_0x5e7094[_0x4af0d6(0x1b7)],util[_0x4af0d6(0x1e8)](_0x5e7094['location']));if(_0x5e7094[_0x4af0d6(0x1dc)]){const _0x5a2462=Number(_0x5e7094[_0x4af0d6(0x1dc)][_0x4af0d6(0x1b5)]),_0x3ec64e=new Date(_0x5a2462*0x3e8);_0x369a50+=_0x4af0d6(0x157)+_0x3ec64e['toString']();}return _0x5e7094[_0x4af0d6(0x1c9)]&&(_0x369a50+=_0x4af0d6(0x15c)+util[_0x4af0d6(0x1e8)](_0x5e7094[_0x4af0d6(0x1c9)])),_0x5e7094[_0x4af0d6(0x221)]&&(_0x369a50+=_0x4af0d6(0x245)+util[_0x4af0d6(0x1e8)](_0x5e7094['expressions'])),_0x369a50;},formatBreakpoints=(_0x40af94,_0x33cbf3)=>{const _0x76e666=a18_0x40d671;return _0x40af94+Object[_0x76e666(0x1cc)](_0x33cbf3)[_0x76e666(0x16a)](_0x4e8301=>{return formatBreakpoint('',_0x33cbf3[_0x4e8301]);})[_0x76e666(0x22e)]('\x0a');};class CachedPromise{constructor(){const _0x40123d=a18_0x40d671;this['promiseResolve']=null,this[_0x40123d(0x1e9)]=new Promise(_0x52a3b2=>{const _0x543f69=_0x40123d;this[_0x543f69(0x1e1)]=_0x52a3b2;});}['get'](){const _0x3bd64c=a18_0x40d671;return this[_0x3bd64c(0x1e9)];}['resolve'](){const _0x50881c=a18_0x40d671;this[_0x50881c(0x1e1)]&&(this[_0x50881c(0x1e1)](),this['promiseResolve']=null);}}exports['CachedPromise']=CachedPromise;class IsReadyImpl{constructor(_0x46a9db){const _0x41bab3=a18_0x40d671;this[_0x41bab3(0x20c)]=_0x46a9db;}['isReady'](){const _0x3fdb5f=a18_0x40d671;return this['debuglet'][_0x3fdb5f(0x1de)]();}}class Debuglet extends events_1[a18_0x40d671(0x162)]{constructor(_0x6516bb,_0x4abe71){const _0x390afd=a18_0x40d671;super(),_Debuglet_instances['add'](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x390afd(0x193)](this,void 0x0),_Debuglet_running[_0x390afd(0x193)](this,void 0x0),_Debuglet_controller[_0x390afd(0x193)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x390afd(0x193)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x390afd(0x193)](this,void 0x0),_Debuglet_breakpointFetched[_0x390afd(0x193)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x390afd(0x193)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x390afd(0x193)](this,null),this[_0x390afd(0x173)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x390afd(0x193)](this,void 0x0),_Debuglet_quotaManager[_0x390afd(0x193)](this,void 0x0),_Debuglet_blocklistManager[_0x390afd(0x193)](this,void 0x0),_Debuglet_redactionManager[_0x390afd(0x193)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x390afd(0x25f)])(_0x4abe71),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x390afd(0x18d))](this[_0x390afd(0x1a5)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x6516bb,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x390afd(0x24f)]=![],this[_0x390afd(0x23f)]=agent_logger_1[_0x390afd(0x1ef)][_0x390afd(0x1c4)](this[_0x390afd(0x1a5)]['agentLog']['agentLogTargetDir'],this[_0x390afd(0x1a5)][_0x390afd(0x1a2)][_0x390afd(0x15d)],this['config'][_0x390afd(0x1a2)][_0x390afd(0x25d)],this[_0x390afd(0x1a5)][_0x390afd(0x1a2)][_0x390afd(0x22f)],this['config'][_0x390afd(0x1a2)][_0x390afd(0x25e)]),(0x0,config_1[_0x390afd(0x169)])(this['config'],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x390afd(0x23d))](this['logger'])[_0x390afd(0x220)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x390afd(0x20d))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x390afd(0x23f)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x390afd(0x1ca))](this[_0x390afd(0x23f)]),'f'),this[_0x390afd(0x184)]=null,this[_0x390afd(0x192)]={},__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[(_0x390afd(0x227))](this['logger'],this[_0x390afd(0x1a5)]),'f'),this['pipingManager']=new piping_manager_1[(_0x390afd(0x1f6))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x390afd(0x1a5)]);}async[a18_0x40d671(0x229)](_0x41cfe4,_0x573584){const _0x473910=a18_0x40d671,_0x89d1af=_0x41cfe4[_0x473910(0x1eb)],_0x17ff0c=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x473910(0x238)](_0x89d1af,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x41cfe4[_0x473910(0x233)]['concat']('js.map')),_0x573584,_0x41cfe4[_0x473910(0x1bf)]),_0x2d5749=_0x17ff0c[_0x473910(0x174)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x473910(0x1fa)](_a,_0x41cfe4[_0x473910(0x233)])),_0x4faab3=file_index_1[_0x473910(0x230)]['fromFileStats'](_0x2d5749),_0x280438=_0x17ff0c[_0x473910(0x1e2)](/.js.map$/,process['cwd']()),_0x5973ab=_0x17ff0c['errors']();return{'mapFiles':_0x280438,'errors':_0x5973ab,'jsFileIndex':_0x4faab3,'hash':_0x17ff0c[_0x473910(0x1cb)]};}async[a18_0x40d671(0x160)](){const _0x5cf993=a18_0x40d671,_0x134efa=this,_0x2ae680=_0x134efa[_0x5cf993(0x1a5)]['workingDirectory'];if(!_0x134efa[_0x5cf993(0x1a5)][_0x5cf993(0x1b3)]&&path[_0x5cf993(0x22e)](_0x2ae680,'..')===_0x2ae680){const _0x5b8a83='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x5cf993(0x1b0)+'do\x20this.';_0x134efa[_0x5cf993(0x23f)][_0x5cf993(0x1b6)](_0x5b8a83),_0x134efa[_0x5cf993(0x16c)]('initError',new Error(_0x5b8a83));return;}let _0x2f1a89;process[_0x5cf993(0x161)][_0x5cf993(0x1ee)]&&(_0x2f1a89=_0x5cf993(0x1c1)+process['env'][_0x5cf993(0x1ee)]);let _0x5c0038,_0x46fda2=_0x2f1a89||'';try{_0x5c0038=await this[_0x5cf993(0x229)](_0x134efa['config'],_0x2f1a89),_0x5c0038[_0x5cf993(0x241)][_0x5cf993(0x228)](_0x134efa['logger'][_0x5cf993(0x246)]);}catch(_0x2aba05){_0x134efa[_0x5cf993(0x23f)][_0x5cf993(0x1b6)](_0x5cf993(0x254),_0x2aba05),_0x134efa[_0x5cf993(0x16c)](_0x5cf993(0x1d6),_0x2aba05);return;}try{const _0x2f8da8=await SourceMapper[_0x5cf993(0x1af)](_0x134efa[_0x5cf993(0x23f)],_0x5c0038[_0x5cf993(0x22a)],_0x134efa[_0x5cf993(0x1a5)][_0x5cf993(0x1c7)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(_0x134efa,_Debuglet_v8debug,debugapi[_0x5cf993(0x1af)](_0x134efa[_0x5cf993(0x23f)],_0x134efa[_0x5cf993(0x1a5)],_0x5c0038['jsFileIndex'],_0x2f8da8,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x46fda2=_0x2f1a89||_0x5c0038[_0x5cf993(0x1cb)];}catch(_0x56d561){_0x134efa[_0x5cf993(0x23f)]['error']('Error\x20processing\x20the\x20sourcemaps.',_0x56d561),_0x134efa[_0x5cf993(0x23f)]['info'](JSON[_0x5cf993(0x19c)](_0x56d561)),_0x134efa[_0x5cf993(0x16c)](_0x5cf993(0x1d6),_0x56d561);}_0x134efa[_0x5cf993(0x23f)][_0x5cf993(0x1a1)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x46fda2);const _0x2c5cb9=(0x0,utils_1['readFullVersion'])(_0x134efa[_0x5cf993(0x23f)])[_0x5cf993(0x244)]('\x0a','');_0x134efa[_0x5cf993(0x23f)][_0x5cf993(0x1a1)](_0x5cf993(0x19a)+_0x2c5cb9);let _0x2ed8ef;try{_0x2ed8ef=_0x134efa['config'][_0x5cf993(0x21f)]||await _a[_0x5cf993(0x187)]();}catch(_0x24303d){}_0x134efa[_0x5cf993(0x23f)][_0x5cf993(0x1a1)](_0x5cf993(0x247)+process['mainModule']?.[_0x5cf993(0x17e)]),_0x134efa[_0x5cf993(0x23f)]['debug'](_0x5cf993(0x18c)+_0x2ae680),_0x134efa[_0x5cf993(0x23f)]['debug'](_0x5cf993(0x1b1)),__classPrivateFieldSet(_0x134efa,_Debuglet_running,!![],'f'),_0x134efa[_0x5cf993(0x184)]=(0x0,createDebuggee_1['createDebuggee'])(_0x46fda2,_0x134efa[_0x5cf993(0x1a5)],_0x2ed8ef,__classPrivateFieldGet(_0x134efa,_Debuglet_debug,'f')[_0x5cf993(0x1db)],_0x2c5cb9,_0x134efa[_0x5cf993(0x23f)],__classPrivateFieldGet(_0x134efa,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x134efa,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x5cf993(0x1fa)](_0x134efa),__classPrivateFieldGet(_0x134efa,_Debuglet_instances,'m',_Debuglet_register_)[_0x5cf993(0x1fa)](_0x134efa),_0x134efa['emit'](_0x5cf993(0x1ab));}['isReady'](){const _0x3ca5b7=a18_0x40d671;if(Date[_0x3ca5b7(0x196)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3ca5b7(0x171)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3ca5b7(0x171)]()[_0x3ca5b7(0x1c6)](()=>{const _0xd5b089=_0x3ca5b7;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xd5b089(0x1fa)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3ca5b7(0x171)]();}}static async[a18_0x40d671(0x187)](){const _0xd7d59b=a18_0x40d671,_0xa3ad02=await readFilep(_0xd7d59b(0x23c),_0xd7d59b(0x1ac));try{return JSON[_0xd7d59b(0x1f9)](_0xa3ad02);}catch(_0xec0d9d){throw new Error(_0xd7d59b(0x232)+_0xec0d9d);}}[a18_0x40d671(0x20f)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x40d671(0x183)](){const _0x6f6331=a18_0x40d671;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this['logger'][_0x6f6331(0x1c2)](_0x6f6331(0x17c));return;}this[_0x6f6331(0x23f)][_0x6f6331(0x1c2)](_0x6f6331(0x21e)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['stop'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x6f6331(0x16c)](_0x6f6331(0x1e0));}[a18_0x40d671(0x1f7)](_0x3cc481){const _0x58ae5b=a18_0x40d671,_0x44305b=this['logger']['getInitialLevel']();if(_0x44305b===_0x58ae5b(0x1c2))return;switch(_0x3cc481){case'DEBUG':this[_0x58ae5b(0x23f)][_0x58ae5b(0x1a3)]()!=='debug'&&(this[_0x58ae5b(0x23f)][_0x58ae5b(0x203)]('debug'),this[_0x58ae5b(0x23f)][_0x58ae5b(0x1c2)](_0x58ae5b(0x163)));break;case'NOT_SET':case undefined:this[_0x58ae5b(0x23f)][_0x58ae5b(0x1a3)]()===_0x58ae5b(0x1c2)&&(this[_0x58ae5b(0x23f)][_0x58ae5b(0x203)](_0x44305b),this[_0x58ae5b(0x23f)][_0x58ae5b(0x1a1)](_0x58ae5b(0x20b)+_0x44305b+')'));break;default:this[_0x58ae5b(0x23f)]['warn'](_0x58ae5b(0x216)+_0x3cc481);}}}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_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x215cda){const _0x5af6b6=a18_0x40d671;return new RegExp(_0x215cda['map'](_0x77e503=>_0x77e503+'$')[_0x5af6b6(0x22e)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0xc6c1b=a18_0x40d671,_0x37ca47=[_0xc6c1b(0x1da),_0xc6c1b(0x24b),_0xc6c1b(0x1bc)];_0x37ca47[_0xc6c1b(0x228)](_0x3b83f2=>{process['once'](_0x3b83f2,()=>{const _0x1a7da7=a18_0x5cd5;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1a7da7(0x1e5)](this['debuggee'],()=>{const _0x51130e=_0x1a7da7;process[_0x51130e(0x189)](process['pid'],_0x3b83f2);});});}),process[_0xc6c1b(0x1f8)]('beforeExit',()=>{const _0x2fb0fa=_0xc6c1b;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x2fb0fa(0x184)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x4b94a9=a18_0x40d671;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x4b94a9(0x1fa)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x43cd03){const _0xfef206=a18_0x40d671,_0x944b9=this;_0x944b9['logger'][_0xfef206(0x1c2)](_0x43cd03?_0xfef206(0x209)+_0x43cd03+'s':_0xfef206(0x194));function _0x56fb56(_0x33a48d,_0x503cad,_0x17c431=![]){const _0x293383=_0xfef206,_0xb9d3a2=_0x944b9[_0x293383(0x184)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x944b9[_0x293383(0x184)]?.['id']+':\x20'+(0x0,utils_1[_0x293383(0x201)])(_0x33a48d):'Failed\x20to\x20register\x20debuggee:\x20'+(0x0,utils_1[_0x293383(0x201)])(_0x33a48d);_0x944b9['logger'][_0x293383(0x1b6)](_0xb9d3a2),_0x503cad&&!_0x17c431&&_0x944b9[_0x293383(0x23f)][_0x293383(0x1b6)](_0x293383(0x1fe),_0x503cad),__classPrivateFieldGet(_0x944b9,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x293383(0x1fa)](_0x944b9,(0x0,utils_1[_0x293383(0x224)])(_0x43cd03,_0x944b9[_0x293383(0x1a5)][_0x293383(0x1c7)][_0x293383(0x215)]));}setTimeout(()=>{const _0x40d92f=_0xfef206;if(!__classPrivateFieldGet(_0x944b9,_Debuglet_running,'f')){_0x56fb56(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(_0x944b9,_Debuglet_controller,'f')[_0x40d92f(0x175)](_0x944b9[_0x40d92f(0x184)],(_0x215ef0,_0x3f71d0,_0x383523=![])=>{const _0x22dee8=_0x40d92f;if(_0x215ef0){_0x56fb56(_0x215ef0,_0x3f71d0,_0x383523);return;}if(_0x3f71d0['debuggee'][_0x22dee8(0x16b)]){_0x56fb56(new Error(_0x22dee8(0x1fb))),_0x944b9[_0x22dee8(0x16c)](_0x22dee8(0x1f4));return;}const _0x5aec14=_0x3f71d0[_0x22dee8(0x184)]['id'];_0x944b9[_0x22dee8(0x23f)]['info'](_0x22dee8(0x1fc)+_0x5aec14),_0x944b9['debuggee']['id']=_0x5aec14;const _0x1e02fd=[__classPrivateFieldGet(_0x944b9,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x22dee8(0x1a4)](_0x944b9)(_0x944b9[_0x22dee8(0x184)]['id'])];_0x944b9[_0x22dee8(0x1a5)][_0x22dee8(0x168)]&&_0x1e02fd['push'](__classPrivateFieldGet(_0x944b9,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x22dee8(0x1a4)](_0x944b9)(_0x944b9[_0x22dee8(0x184)]['id'])),Promise['all'](_0x1e02fd)[_0x22dee8(0x1c6)](()=>{const _0x4f58aa=_0x22dee8;_0x944b9[_0x4f58aa(0x16c)](_0x4f58aa(0x1c3),_0x5aec14),__classPrivateFieldGet(_0x944b9,_Debuglet_debuggeeRegistered,'f')[_0x4f58aa(0x1c5)](),__classPrivateFieldGet(_0x944b9,_Debuglet_v8debug,'f')?.[_0x4f58aa(0x1cd)](__classPrivateFieldGet(_0x944b9,_Debuglet_blocklistManager,'f')),!_0x944b9[_0x4f58aa(0x24f)]&&__classPrivateFieldGet(_0x944b9,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x944b9,0x0,this[_0x4f58aa(0x1a5)][_0x4f58aa(0x236)],_0x3f71d0?.[_0x4f58aa(0x15e)]);},_0x100387=>{_0x56fb56(_0x100387);});});},_0x43cd03*0x3e8)[_0xfef206(0x258)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x2a979f,_0x326ce2,_0x5a6480){const _0x3f243f=a18_0x40d671,_0x17286e=this;!_0x326ce2&&(_0x17286e[_0x3f243f(0x24f)]=!![]),setTimeout(()=>{const _0x2ec8a1=_0x3f243f;if(!__classPrivateFieldGet(_0x17286e,_Debuglet_running,'f'))return;!_0x326ce2&&assert(_0x17286e[_0x2ec8a1(0x24f)]),_0x17286e[_0x2ec8a1(0x23f)][_0x2ec8a1(0x1c2)](_0x2ec8a1(0x243)),__classPrivateFieldGet(_0x17286e,_Debuglet_controller,'f')['listBreakpoints'](_0x17286e['debuggee'],(_0x17994a,_0x3ea9af,_0x5f5151)=>{const _0x3a71fb=_0x2ec8a1;if(_0x3ea9af?.[_0x3a71fb(0x222)]===0x194){_0x17286e[_0x3a71fb(0x23f)]['info'](_0x3a71fb(0x1f3)),_0x17286e[_0x3a71fb(0x24f)]=![],__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x3a71fb(0x1fa)](_0x17286e),__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_register_)[_0x3a71fb(0x1fa)](_0x17286e);return;}if(_0x17994a){const _0x2488e4=(0x0,utils_1[_0x3a71fb(0x224)])(_0x2a979f,_0x17286e[_0x3a71fb(0x1a5)][_0x3a71fb(0x1c7)][_0x3a71fb(0x215)]);_0x17286e['logger'][_0x3a71fb(0x1b6)](_0x3a71fb(0x1a7)+_0x3ea9af?.['status']+_0x3a71fb(0x191)+_0x17994a['message']+_0x3a71fb(0x17b)+_0x2488e4+'s'),__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x17286e,_0x2488e4,_0x326ce2,_0x5a6480);return;}_0x17286e[_0x3a71fb(0x23f)][_0x3a71fb(0x1c2)]('\x09'+_0x3ea9af[_0x3a71fb(0x222)]+'\x20completed.');if(!_0x5f5151){const _0x4d07ff=_0x17286e[_0x3a71fb(0x1a5)][_0x3a71fb(0x18b)];_0x17286e['logger'][_0x3a71fb(0x1b6)](_0x3a71fb(0x1a0)+_0x4d07ff+'s'),__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3a71fb(0x1fa)](_0x17286e,_0x4d07ff,_0x326ce2,_0x5a6480);return;}this[_0x3a71fb(0x1f7)](_0x5f5151[_0x3a71fb(0x22f)]);if(_0x5f5151[_0x3a71fb(0x1ed)]){_0x17286e[_0x3a71fb(0x23f)][_0x3a71fb(0x1a1)](_0x3a71fb(0x156)),__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3a71fb(0x1fa)](_0x17286e,0x0,_0x326ce2,_0x5a6480);return;}if(_0x5f5151[_0x3a71fb(0x1fd)]&&_0x5f5151[_0x3a71fb(0x1fd)]!=='NOT_SET'){const _0x5c0fbf=this[_0x3a71fb(0x1c8)]['globalPipingStatus'];_0x5c0fbf!==_0x5f5151['pipeLogs']&&(this[_0x3a71fb(0x23f)][_0x3a71fb(0x1c2)](_0x3a71fb(0x198)+_0x5c0fbf+_0x3a71fb(0x15b)+_0x5f5151['pipeLogs']),this['pipingManager']['globalPipingStatus']=_0x5f5151[_0x3a71fb(0x1fd)]);}if(_0x5f5151[_0x3a71fb(0x188)]&&_0x5f5151[_0x3a71fb(0x211)]!==_0x17286e[_0x3a71fb(0x211)]){_0x17286e['collectLogRequestId']=_0x5f5151[_0x3a71fb(0x211)];const _0x897d70=_0x17286e[_0x3a71fb(0x1a5)][_0x3a71fb(0x1a2)][_0x3a71fb(0x1d2)]&&path[_0x3a71fb(0x22e)](_0x17286e[_0x3a71fb(0x1a5)]['agentLog'][_0x3a71fb(0x1d2)],agent_logger_1['default'][_0x3a71fb(0x166)]);_0x897d70&&fs[_0x3a71fb(0x1bd)](_0x897d70)?setTimeout(()=>__classPrivateFieldGet(_0x17286e,_Debuglet_controller,'f')[_0x3a71fb(0x1dd)](_0x17286e[_0x3a71fb(0x184)],_0x5f5151['collectLogRequestId'],_0x897d70)):_0x17286e[_0x3a71fb(0x23f)][_0x3a71fb(0x1a1)](_0x3a71fb(0x205)+_0x5f5151[_0x3a71fb(0x211)]+_0x3a71fb(0x1e4)+_0x3a71fb(0x167));}const _0x158948=(_0x5f5151[_0x3a71fb(0x197)]||[])[_0x3a71fb(0x16a)](_0x546343=>new stackdriver_1[(_0x3a71fb(0x1ff))](_0x546343))[_0x3a71fb(0x21c)](_0x4e93f4=>{const _0x3a7c29=_0x3a71fb,_0xa8a9a0=_0x4e93f4['action']||'CAPTURE';if(__classPrivateFieldGet(_0x17286e,_Debuglet_completedBreakpointMap,'f')[_0x4e93f4['id']])return![];if(_0xa8a9a0!==_0x3a7c29(0x234)&&_0xa8a9a0!==_0x3a7c29(0x19e))return _0x17286e[_0x3a7c29(0x23f)][_0x3a7c29(0x246)](_0x3a7c29(0x1e7),_0xa8a9a0),_0x4e93f4[_0x3a7c29(0x222)]=new status_message_1['StatusMessage'](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0x3a7c29(0x241)][_0x3a7c29(0x1ae)],!![]),__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3a7c29(0x1fa)](_0x17286e,_0x4e93f4),![];return!![];}),_0x2d65da=__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x3a71fb(0x1fa)](_0x17286e);let _0x5b8d0e=_0x2d65da[_0x3a71fb(0x259)]>0x0;__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x17286e,_0x2d65da),_0x5b8d0e=_0x5b8d0e||__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x3a71fb(0x1fa)](_0x17286e,_0x158948),_0x17286e[_0x3a71fb(0x16c)](_0x3a71fb(0x23e),_0x158948['length']);_0x5b8d0e&&_0x17286e[_0x3a71fb(0x23f)][_0x3a71fb(0x1c2)](formatBreakpoints('Active\x20Breakpoints:\x20\x0a',_0x17286e[_0x3a71fb(0x192)]));__classPrivateFieldSet(_0x17286e,_Debuglet_breakpointFetchedTimestamp,Date['now'](),'f');_0x326ce2?__classPrivateFieldGet(_0x17286e,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x17286e,_Debuglet_breakpointFetched,'f')[_0x3a71fb(0x1c5)](),__classPrivateFieldSet(_0x17286e,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3a71fb(0x1fa)](_0x17286e,0x0,_0x326ce2,_0x5a6480);return;},_0x5a6480);},_0x2a979f*0x3e8)[_0x3f243f(0x258)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x17065c=a18_0x40d671;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x17065c(0x1c5)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x7e40f7){const _0x369d2d=a18_0x40d671,_0x47b61b=this,_0x153c37=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x369d2d(0x1fa)](this,_0x7e40f7);let _0x5b51e1=![];return _0x7e40f7[_0x369d2d(0x228)](_0x3b0279=>{const _0x5ea5ca=_0x369d2d;!__classPrivateFieldGet(_0x47b61b,_Debuglet_completedBreakpointMap,'f')[_0x3b0279['id']]&&!_0x47b61b[_0x5ea5ca(0x192)][_0x3b0279['id']]&&(__classPrivateFieldGet(_0x47b61b,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x5ea5ca(0x1fa)](_0x47b61b,_0x3b0279,_0x5dd95b=>{const _0x45fadb=_0x5ea5ca;_0x5dd95b&&__classPrivateFieldGet(_0x47b61b,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x45fadb(0x1fa)](_0x47b61b,_0x3b0279,!![],![]);}),_0x5b51e1=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x5ea5ca(0x257)](_0x3b0279['id'])),__classPrivateFieldGet(_0x47b61b,_Debuglet_quotaManager,'f')[_0x5ea5ca(0x17a)](_0x3b0279['id'],_0x3b0279[_0x5ea5ca(0x217)]),_0x47b61b[_0x5ea5ca(0x1c8)]['setPipingStatus'](_0x3b0279['id'],_0x3b0279[_0x5ea5ca(0x1ec)]);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x153c37)['forEach'](_0x7a17de=>{delete __classPrivateFieldGet(_0x47b61b,_Debuglet_completedBreakpointMap,'f')[_0x7a17de['id']],_0x5b51e1=!![];}),(0x0,mapSubtract_1[_0x369d2d(0x19f)])(this[_0x369d2d(0x192)],_0x153c37)[_0x369d2d(0x228)](_0x2dada2=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x2dada2,!![]),_0x5b51e1=!![];}),_0x5b51e1&&_0x47b61b['logger']['debug'](formatBreakpoints('Server\x20breakpoints:\x0a',_0x153c37)),_0x5b51e1;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x2d7761){const _0x10fe0d=a18_0x40d671,_0x3fabaa={};return _0x2d7761[_0x10fe0d(0x228)](_0x52f46d=>{_0x3fabaa[_0x52f46d['id']]=_0x52f46d;}),_0x3fabaa;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x190e82,_0x8f8c4f){const _0x3d721c=a18_0x40d671;this[_0x3d721c(0x23f)]['info'](_0x3d721c(0x237),_0x190e82),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3d721c(0x19b)](_0x190e82['id']),this['pipingManager'][_0x3d721c(0x1f0)](_0x190e82['id']),delete this['activeBreakpointMap'][_0x190e82['id']],_0x8f8c4f&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3d721c(0x164)](_0x190e82,_0x3477c8=>{const _0x508323=_0x3d721c;if(_0x3477c8)this[_0x508323(0x23f)]['error'](_0x3477c8);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x46a8a1,_0x2903cf){const _0x281df9=a18_0x40d671,_0x79321=this;_0x79321['logger']['info'](_0x281df9(0x1be),_0x46a8a1);if(!_0x79321[_0x281df9(0x1a5)]['allowExpressions']&&(_0x46a8a1[_0x281df9(0x1c9)]||_0x46a8a1['expressions'])){_0x79321[_0x281df9(0x23f)][_0x281df9(0x1b6)](utils_1['errors'][_0x281df9(0x1d1)][_0x281df9(0x1d7)]||''),_0x46a8a1[_0x281df9(0x222)]=new status_message_1[(_0x281df9(0x1d4))](status_message_1['StatusMessage'][_0x281df9(0x1f1)],utils_1['errors'][_0x281df9(0x1d1)],!![]),setImmediate(()=>{const _0x348fb4=_0x281df9;_0x2903cf(utils_1[_0x348fb4(0x241)][_0x348fb4(0x1d1)]);});return;}if((0x0,utils_1[_0x281df9(0x25b)])(process[_0x281df9(0x248)],_0x281df9(0x223))){const _0x3aa05a=utils_1[_0x281df9(0x241)][_0x281df9(0x1a8)];_0x79321[_0x281df9(0x23f)]['error'](_0x3aa05a),_0x46a8a1[_0x281df9(0x222)]=new status_message_1[(_0x281df9(0x1d4))](status_message_1[_0x281df9(0x1d4)][_0x281df9(0x1f1)],_0x3aa05a,!![]),setImmediate(()=>{_0x2903cf(_0x3aa05a);});return;}const _0x5e33c1=_0x46a8a1[_0x281df9(0x1dc)]?Number(_0x46a8a1[_0x281df9(0x1dc)][_0x281df9(0x1b5)]):Date[_0x281df9(0x196)]()/0x3e8,_0x364fbb=_0x46a8a1[_0x281df9(0x195)]||_0x79321['config']['breakpointExpirationSec'];_0x46a8a1[_0x281df9(0x185)]=_0x5e33c1+_0x364fbb,_0x46a8a1[_0x281df9(0x23a)]?.[_0x281df9(0x219)]&&(_0x46a8a1[_0x281df9(0x23a)][_0x281df9(0x219)]=path[_0x281df9(0x214)](_0x46a8a1['location'][_0x281df9(0x219)]),path['sep']===path[_0x281df9(0x20e)]['sep']&&(_0x46a8a1['location']['path']=_0x46a8a1['location'][_0x281df9(0x219)][_0x281df9(0x1c0)]('\x5c')[_0x281df9(0x22e)](path[_0x281df9(0x21d)]))),__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')[_0x281df9(0x193)](_0x46a8a1,_0x410e42=>{const _0x1be9c5=_0x281df9;if(_0x410e42){_0x2903cf(_0x410e42);return;}_0x79321[_0x1be9c5(0x23f)]['info']('\x09successfully\x20added\x20breakpoint',_0x46a8a1),_0x79321['activeBreakpointMap'][_0x46a8a1['id']]=_0x46a8a1,_0x46a8a1[_0x1be9c5(0x1b7)]===_0x1be9c5(0x19e)?__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')[_0x1be9c5(0x1f2)](_0x46a8a1,(_0x3c697a,_0xf2c8fa)=>{const _0x3f4c1f=_0x1be9c5,_0x1cdf1c=_0xf2c8fa[_0x3f4c1f(0x16a)](_0x464ddd=>__classPrivateFieldGet(_0x79321,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3f4c1f(0x1fa)](_0x79321,_0x464ddd)),_0x57b4bf=(0x0,format_1['format'])(_0x3c697a,_0x1cdf1c),_0x2199f2=_0x3f4c1f(0x1cf)+(__classPrivateFieldGet(_0x79321,_Debuglet_redactionManager,'f')?.[_0x3f4c1f(0x180)](_0x57b4bf)||_0x57b4bf),_0x8c1896=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3f4c1f(0x200)](_0x2199f2,_0x46a8a1['id']);if(_0x8c1896){const _0x49d368=_0x8c1896[_0x3f4c1f(0x218)],_0x4ea326=_0x8c1896[_0x3f4c1f(0x15a)];let _0x392b8e,_0x7d679d;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3f4c1f(0x242)]()&&!_0x4ea326&&(_0x392b8e=_0x3f4c1f(0x1cf)+_0x3c697a,_0x7d679d=_0x1cdf1c);_0x79321['pipingManager'][_0x3f4c1f(0x18e)](_0x79321[_0x3f4c1f(0x184)],_0x46a8a1['id'],_0x49d368,_0x46a8a1[_0x3f4c1f(0x251)],_0x392b8e,_0x7d679d);if(_0x4ea326)__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')?.[_0x3f4c1f(0x15f)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x593514=_0x3f4c1f;__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')?.[_0x593514(0x25a)](),__classPrivateFieldSet(_0x79321,_Debuglet_nextEnableTimeout,null,'f');},_0x79321[_0x3f4c1f(0x1a5)][_0x3f4c1f(0x20a)][_0x3f4c1f(0x17f)]*0x3e8),'f');else _0x49d368?.[_0x3f4c1f(0x259)]===0x0&&__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')?.[_0x3f4c1f(0x15f)]();}},()=>{return __classPrivateFieldGet(_0x79321,_Debuglet_completedBreakpointMap,'f')[_0x46a8a1['id']];},_0x2ba290=>{const _0x43e50a=_0x1be9c5;if(_0x2ba290){_0x79321[_0x43e50a(0x23f)][_0x43e50a(0x1b6)](_0x2ba290),_0x2903cf(_0x2ba290);return;}}):__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')[_0x1be9c5(0x16f)](_0x46a8a1,_0x499e60=>{const _0x52f3d1=_0x1be9c5;if(_0x499e60){setImmediate(()=>{const _0x4f5ea6=a18_0x5cd5;_0x79321['logger'][_0x4f5ea6(0x1b6)](_0x499e60),_0x2903cf(_0x499e60);});return;}_0x79321[_0x52f3d1(0x23f)][_0x52f3d1(0x1a1)](_0x52f3d1(0x1b2),_0x46a8a1),__classPrivateFieldGet(_0x79321,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x52f3d1(0x1fa)](_0x79321,_0x46a8a1,__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')['remainingHits'](_0x46a8a1['id'])<=0x0);}),__classPrivateFieldGet(_0x79321,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x1be9c5(0x1fa)](_0x79321,_0x46a8a1);}),this[_0x281df9(0x16c)](_0x281df9(0x249));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x58b68c,_0x5044e4,_0x572be4=!![]){const _0x420c54=a18_0x40d671,_0x5dcf4a=this;if(_0x58b68c[_0x420c54(0x222)]&&_0x58b68c[_0x420c54(0x222)][_0x420c54(0x165)]){let _0x5e185c=_0x58b68c[_0x420c54(0x222)]?.[_0x420c54(0x1d7)]?.[_0x420c54(0x176)]||'';_0x58b68c[_0x420c54(0x222)]?.[_0x420c54(0x1d7)]?.[_0x420c54(0x206)]&&(_0x5e185c+=':\x20'+_0x58b68c[_0x420c54(0x222)]?.['description']?.['parameters']['toString']()),_0x5dcf4a['logger'][_0x420c54(0x246)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x58b68c+_0x420c54(0x181)+_0x5e185c);}else _0x5dcf4a[_0x420c54(0x23f)][_0x420c54(0x1a1)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',_0x58b68c);_0x5044e4&&(__classPrivateFieldGet(_0x5dcf4a,_Debuglet_completedBreakpointMap,'f')[_0x58b68c['id']]=!![],__classPrivateFieldGet(_0x5dcf4a,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x420c54(0x1fa)](_0x5dcf4a,_0x58b68c,_0x572be4)),__classPrivateFieldGet(_0x5dcf4a,_Debuglet_controller,'f')[_0x420c54(0x210)](_0x5dcf4a[_0x420c54(0x184)],extend(!![],{},_0x58b68c));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x1997bb){const _0x38e818=a18_0x40d671,_0x411b17=this;_0x411b17['logger'][_0x38e818(0x1c2)](_0x38e818(0x21b)+_0x1997bb+'\x20accepted\x20by\x20agent');const _0x9b1166=extend(!![],{},_0x1997bb);_0x9b1166[_0x38e818(0x159)]=![],_0x9b1166[_0x38e818(0x222)]=new status_message_1[(_0x38e818(0x1d4))](status_message_1[_0x38e818(0x1d4)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(_0x411b17,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x411b17[_0x38e818(0x184)],_0x9b1166);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x18d211){const _0x43a532=a18_0x40d671,_0x62f2e=this;this['logger'][_0x43a532(0x1a1)](_0x43a532(0x24c),_0x18d211),__classPrivateFieldGet(_0x62f2e,_Debuglet_completedBreakpointMap,'f')[_0x18d211['id']]=!![],__classPrivateFieldGet(_0x62f2e,_Debuglet_controller,'f')[_0x43a532(0x210)](_0x62f2e[_0x43a532(0x184)],_0x18d211);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5c1d2b){const _0x5da7b=a18_0x40d671,_0x134008=this;_0x5c1d2b[_0x5da7b(0x228)](_0x1ba10f=>{const _0x2e2239=_0x5da7b;_0x134008[_0x2e2239(0x23f)][_0x2e2239(0x1a1)](_0x2e2239(0x17d),_0x1ba10f),__classPrivateFieldGet(_0x134008,_Debuglet_completedBreakpointMap,'f')[_0x1ba10f['id']]=!![],__classPrivateFieldGet(_0x134008,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2e2239(0x1fa)](_0x134008,_0x1ba10f,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x59f648=a18_0x40d671,_0x1ce77c=Date[_0x59f648(0x196)]()/0x3e8;return Object['values'](this['activeBreakpointMap'])[_0x59f648(0x21c)](_0x53a200=>_0x53a200[_0x59f648(0x185)]?_0x53a200[_0x59f648(0x185)]<_0x1ce77c:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x291a52){const _0x15e406=a18_0x40d671,_0x4835fd=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x291a52),_0x36bfd1=_0x4835fd['blacklist'],_0x355b47=_0x4835fd[_0x15e406(0x252)];_0x36bfd1&&_0x36bfd1[_0x15e406(0x259)]&&this[_0x15e406(0x23f)]['debug']('Blacklist:\x20\x0a\x09',_0x36bfd1['join']('\x0a\x09')),_0x355b47&&_0x355b47[_0x15e406(0x259)]&&this[_0x15e406(0x23f)]['debug'](_0x15e406(0x235),_0x355b47[_0x15e406(0x22e)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x15e406(0x16e))](_0x36bfd1,_0x355b47,this[_0x15e406(0x1a5)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x54b75e){const _0x5bfd24=a18_0x40d671,_0x10279a=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5bfd24(0x202)](_0x54b75e);_0x10279a?.['length']&&this[_0x5bfd24(0x23f)][_0x5bfd24(0x1c2)](_0x5bfd24(0x1b4),_0x10279a[_0x5bfd24(0x16a)](_0x114b7d=>'name:\x20'+_0x114b7d['name']+_0x5bfd24(0x1b9)+_0x114b7d[_0x5bfd24(0x1ba)]+_0x5bfd24(0x24e)+_0x114b7d['pattern']+'\x20caseInsensitive:\x20'+_0x114b7d[_0x5bfd24(0x22b)])[_0x5bfd24(0x22e)]('\x0a\x09'));if((0x0,utils_1[_0x5bfd24(0x25b)])(process['version'],_0x5bfd24(0x19d))){const {RedactionManagerRE2JS:_0x655a97}=await Promise['resolve']()['then'](()=>require(_0x5bfd24(0x1bb)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x655a97(this[_0x5bfd24(0x23f)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5bfd24(0x24d)](_0x10279a);}},_Debuglet_stringify=function _Debuglet_stringify(_0x1da14f){const _0x8920c8=a18_0x40d671;if(!_0x1da14f)return JSON[_0x8920c8(0x19c)](_0x1da14f,(_0x152186,_0x5d8d36)=>_0x5d8d36===undefined?_0x8920c8(0x179):_0x5d8d36);if(Array[_0x8920c8(0x1d0)](_0x1da14f)){const _0x29be9e=[];for(const _0x492f3c of _0x1da14f){_0x29be9e[_0x8920c8(0x18a)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x8920c8(0x1fa)](this,_0x492f3c));}return'['+_0x29be9e[_0x8920c8(0x22e)](',\x20')+']';}if(typeof _0x1da14f==='object'){const _0x1d9716=Object['entries'](_0x1da14f)[_0x8920c8(0x16a)](([_0x56e315,_0x2c8e71])=>{const _0x475751=_0x8920c8,_0x55dddc=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x56e315)?redaction_manager_1[_0x475751(0x1a9)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x2c8e71);return JSON[_0x475751(0x19c)](_0x56e315)+':\x20'+_0x55dddc;})[_0x8920c8(0x22e)](',\x20');return'{'+_0x1d9716+'}';}return JSON[_0x8920c8(0x19c)](_0x1da14f);});
|
|
1
|
+
const a18_0x4ad11a=a18_0x4a0e;(function(_0x355212,_0x108ed3){const _0x5a4b7a=a18_0x4a0e,_0x2f600b=_0x355212();while(!![]){try{const _0x4dab6f=parseInt(_0x5a4b7a(0x1de))/0x1+parseInt(_0x5a4b7a(0x293))/0x2+parseInt(_0x5a4b7a(0x257))/0x3+-parseInt(_0x5a4b7a(0x223))/0x4+-parseInt(_0x5a4b7a(0x24a))/0x5*(parseInt(_0x5a4b7a(0x2b8))/0x6)+-parseInt(_0x5a4b7a(0x26c))/0x7+-parseInt(_0x5a4b7a(0x27e))/0x8*(parseInt(_0x5a4b7a(0x2cf))/0x9);if(_0x4dab6f===_0x108ed3)break;else _0x2f600b['push'](_0x2f600b['shift']());}catch(_0x2cc067){_0x2f600b['push'](_0x2f600b['shift']());}}}(a18_0x3cc3,0x32c3d));const a18_0x2ff014=(function(){let _0x2b09ff=!![];return function(_0x34144a,_0x577a47){const _0x2a63ac=_0x2b09ff?function(){if(_0x577a47){const _0x3c3933=_0x577a47['apply'](_0x34144a,arguments);return _0x577a47=null,_0x3c3933;}}:function(){};return _0x2b09ff=![],_0x2a63ac;};}()),a18_0xdd59cc=a18_0x2ff014(this,function(){const _0x1d4fab=a18_0x4a0e;return a18_0xdd59cc[_0x1d4fab(0x2c2)]()[_0x1d4fab(0x270)]('(((.+)+)+)+$')[_0x1d4fab(0x2c2)]()[_0x1d4fab(0x2c7)](a18_0xdd59cc)[_0x1d4fab(0x270)](_0x1d4fab(0x2d4));});a18_0xdd59cc();function a18_0x3cc3(){const _0x44135a=['inspect','359180KOJxWD','5.2\x20||\x20<4','split','javascriptFileExtensions','warn','utf8','expressions','__classPrivateFieldSet','filename','./piping-manager','SIGQUIT','pid','has','Breakpoint','activeBreakpointMap','default','createLogger','isOutOfQuota','getBlocklist','breakpoints_fetched','join','fromFileStats','Active\x20Breakpoints:\x20\x0a','breakpointExpirationSec','logMainConfigParams','./v8/debugapi','selectStats','breakpoint_set','pattern','./quota-manager','PatternsBlocklistManager','register','isRunning','createPerBreakpointConditionQuota','name:\x20','Breakpoint\x20hit!:\x20','setPipingStatus','>=12','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','blacklist','js.map','shouldRedactByName','config','./debuglet-helpers/createDebuggee','expirationTime','hash','createTime','APP_ONLY','Blacklist:\x20\x0a\x09','setCustomLogLevel','ConfigurationProvider','env','path','Scanner','emit','collectAndSendLog','pipeLogs','sep','\x09remove\x20breakpoint','defineProperty','initError','now','getLevel','./configuration-provider','DEBUG','prettyError','value','CAPTURE','caseInsensitive','458920VKxjvq','CachedPromise','readFullVersion','./io/sourcemapper','object','setLevel','filter','PipingManager','Debuglet\x20not\x20running','NODE_VERSION_MESSAGE','undefined','expirationSeconds','Error\x20processing\x20the\x20sourcemaps.','clientConnectionTimeoutInSeconds','enqueueBreakpointUpdate','Disabled\x20by\x20the\x20server','globalPipingStatus','FileIndex','jsFileIndex','sourceContext','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','pipingStatus','remainingHits','cwd','createDebuggee','getInitialLevel','REDACTED_PLACEHOLDER','call','info','Redactions:\x20\x0a\x09','./reduction/redaction-manager-re2js','debuggee','setIgnoreQuota','isReadyManager','scan','description','../client/stackdriver/status-message','Scheduling\x20registration\x20in\x20','selectFiles','415diiqJB','\x0a\x09createdTime:\x20','collectLogRequestId','listBreakpoints','promiseResolve','maxRequestRetryDelaySeconds','SIGINT','./debuglet-helpers/mapSubtract','then','agentLogMaxFileCount','beforeExit','Private\x20method\x20is\x20not\x20writable','StatusMessage','146811saJaRu','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','entries','\x09adding\x20breakpoint','SIGTERM','agentLogLevel','Fetching\x20breakpoints','Controller','concat','Error\x20scanning\x20the\x20filesystem.','start','debuglet','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','location','ALLOW_EXPRESSIONS_MESSAGE','../types/stackdriver','type','rejecting\x20breakpoint','debug','./blocklisting/patterns-blocklist-manager','245819iDrXGz','extend','Unknown\x20agentLogLevel\x20','set','search','replaceRedactedByValue','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','./environment-metadata','normalize','\x0a\x09expressions:\x20','sourceMapDiagnostics','extraPaths','blacklist_exception','fetcherActive','Switching\x20globalPiping\x20status\x20from\x20','fetchBreakpointsOnce','backoff','condition','2648zMYvTi','NOT_SET','\x20completed.','error','LOG','agentLog','BREAKPOINT_ACTION_MESSAGE','.\x20message:\x20','log','findFiles','errors','forEach','resolve','get','\x09Got\x20error\x20from\x20server.\x20status:\x20','push','status','isArray','once','quota','redactionEnabled','461970yCLJrp','promise','./io/scanner','Blacklist\x20Exceptions:\x20\x0a\x09','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','started','bind','getProps','.\x20Error:\x20','removeBreakpoint','values','./agent-logger','wait','unref','removePerBreakpointQuota','mapFiles','format','isError','action','setBlocklistManager','pipingManager','Initializing\x20Node.js\x20agent\x20version:\x20','registered','UNSPECIFIED','clear','Debuglet','Debuggee\x20is\x20not\x20registered','isReady','posix','getSourceContextFromFile','\x20because\x20','allowRootAsWorkingDirectory','\x20(type:\x20','isFinalState','version','Working\x20directory:\x20','isRedactionActive','9258MTKMBQ','EventEmitter','stringify','length','sendAgentLogsToServer','events','Registered\x20as\x20debuggee:\x20','\x20to\x20','addAndPipeLog','deregister','toString','__esModule','isDisabled','internal','workingDirectory','constructor','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','quotaCheck','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','Failed\x20to\x20re-register\x20debuggee\x20','parameters','stdErrThreshold','remotelyDisabled','4167XLaINP','logLevel','assert','function','util','(((.+)+)+)+$','message','\x09Long\x20poll\x20completed.','all','./reduction/redaction-manager','./util/utils','disable','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','source-context.json','replace','stop','keys','Stopping\x20Debuglet','Result:\x20\x0a','Server\x20breakpoints:\x0a','./debuglet-helpers/format','Starting\x20debuggee','waitExpired','\x20caseInsensitive:\x20','agentLogTargetDir','quotaRecoverySeconds','map','logger','satisfies','Failed\x20to\x20register\x20debuggee:\x20'];a18_0x3cc3=function(){return _0x44135a;};return a18_0x3cc3();}'use strict';function a18_0x4a0e(_0x190433,_0x3a5d78){const _0x1cbcb0=a18_0x3cc3();return a18_0x4a0e=function(_0xdd59cc,_0x2ff014){_0xdd59cc=_0xdd59cc-0x1d1;let _0x3cc34b=_0x1cbcb0[_0xdd59cc];return _0x3cc34b;},a18_0x4a0e(_0x190433,_0x3a5d78);}var __classPrivateFieldSet=this&&this[a18_0x4ad11a(0x1e5)]||function(_0x217112,_0x1b9e76,_0xd0ff70,_0xe2a579,_0x2cc3bc){const _0x3d6593=a18_0x4ad11a;if(_0xe2a579==='m')throw new TypeError(_0x3d6593(0x255));if(_0xe2a579==='a'&&!_0x2cc3bc)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x1b9e76===_0x3d6593(0x2d2)?_0x217112!==_0x1b9e76||!_0x2cc3bc:!_0x1b9e76[_0x3d6593(0x1ea)](_0x217112))throw new TypeError(_0x3d6593(0x237));return _0xe2a579==='a'?_0x2cc3bc['call'](_0x217112,_0xd0ff70):_0x2cc3bc?_0x2cc3bc[_0x3d6593(0x220)]=_0xd0ff70:_0x1b9e76[_0x3d6593(0x26f)](_0x217112,_0xd0ff70),_0xd0ff70;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x23035c,_0x3070d9,_0x343e88,_0x4bdaa3){const _0x536586=a18_0x4ad11a;if(_0x343e88==='a'&&!_0x4bdaa3)throw new TypeError(_0x536586(0x259));if(typeof _0x3070d9===_0x536586(0x2d2)?_0x23035c!==_0x3070d9||!_0x4bdaa3:!_0x3070d9[_0x536586(0x1ea)](_0x23035c))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x343e88==='m'?_0x4bdaa3:_0x343e88==='a'?_0x4bdaa3[_0x536586(0x23e)](_0x23035c):_0x4bdaa3?_0x4bdaa3[_0x536586(0x220)]:_0x3070d9[_0x536586(0x28b)](_0x23035c);},_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_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x4ad11a(0x219)](exports,a18_0x4ad11a(0x2c3),{'value':!![]}),exports['Debuglet']=exports[a18_0x4ad11a(0x224)]=void 0x0;const assert=require(a18_0x4ad11a(0x2d1)),events_1=require(a18_0x4ad11a(0x2bd)),extend=require(a18_0x4ad11a(0x26d)),fs=require('fs'),path=require(a18_0x4ad11a(0x212)),util=require(a18_0x4ad11a(0x2d3)),status_message_1=require(a18_0x4ad11a(0x247)),stackdriver_1=require(a18_0x4ad11a(0x267)),agent_logger_1=require(a18_0x4ad11a(0x29e)),config_1=require('./config'),controller_1=require('./controller'),SourceMapper=require(a18_0x4ad11a(0x226)),debugapi=require(a18_0x4ad11a(0x1f7)),piping_manager_1=require(a18_0x4ad11a(0x1e7)),quota_manager_1=require(a18_0x4ad11a(0x1fb)),patterns_blocklist_manager_1=require(a18_0x4ad11a(0x26b)),scanner_1=require(a18_0x4ad11a(0x295)),environment_metadata_1=require(a18_0x4ad11a(0x273)),file_index_1=require('./io/file-index'),utils_1=require(a18_0x4ad11a(0x2d9)),redaction_manager_1=require(a18_0x4ad11a(0x2d8)),configuration_provider_1=require(a18_0x4ad11a(0x21d)),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),mapSubtract_1=require(a18_0x4ad11a(0x251)),format_1=require(a18_0x4ad11a(0x1d3)),createDebuggee_1=require(a18_0x4ad11a(0x209)),readFilep=util['promisify'](fs['readFile']),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x167893,_0x4204a3)=>{const _0x17267b=a18_0x4ad11a;let _0x8c18f6=_0x167893+util[_0x17267b(0x2a3)](_0x17267b(0x258),_0x4204a3['id'],_0x4204a3[_0x17267b(0x2a5)],util[_0x17267b(0x1dd)](_0x4204a3[_0x17267b(0x265)]));if(_0x4204a3[_0x17267b(0x20c)]){const _0x5d6c80=Number(_0x4204a3[_0x17267b(0x20c)]['seconds']),_0xa35ada=new Date(_0x5d6c80*0x3e8);_0x8c18f6+=_0x17267b(0x24b)+_0xa35ada[_0x17267b(0x2c2)]();}return _0x4204a3[_0x17267b(0x27d)]&&(_0x8c18f6+='\x0a\x09condition:\x20'+util['inspect'](_0x4204a3[_0x17267b(0x27d)])),_0x4204a3['expressions']&&(_0x8c18f6+=_0x17267b(0x275)+util[_0x17267b(0x1dd)](_0x4204a3[_0x17267b(0x1e4)])),_0x8c18f6;},formatBreakpoints=(_0x3e2e32,_0x25e41f)=>{const _0x20f967=a18_0x4ad11a;return _0x3e2e32+Object[_0x20f967(0x2df)](_0x25e41f)[_0x20f967(0x1d9)](_0x3f23cd=>{return formatBreakpoint('',_0x25e41f[_0x3f23cd]);})['join']('\x0a');};class CachedPromise{constructor(){this['promiseResolve']=null,this['promise']=new Promise(_0x3b5fab=>{const _0x3f9fee=a18_0x4a0e;this[_0x3f9fee(0x24e)]=_0x3b5fab;});}[a18_0x4ad11a(0x28b)](){const _0x1ca755=a18_0x4ad11a;return this[_0x1ca755(0x294)];}['resolve'](){const _0x45ece1=a18_0x4ad11a;this[_0x45ece1(0x24e)]&&(this['promiseResolve'](),this['promiseResolve']=null);}}exports['CachedPromise']=CachedPromise;class IsReadyImpl{constructor(_0x13d3cb){const _0x2f71b3=a18_0x4ad11a;this[_0x2f71b3(0x263)]=_0x13d3cb;}[a18_0x4ad11a(0x2ae)](){const _0x552b0c=a18_0x4ad11a;return this[_0x552b0c(0x263)][_0x552b0c(0x2ae)]();}}class Debuglet extends events_1[a18_0x4ad11a(0x2b9)]{constructor(_0x30cb7e,_0x22f6fc){const _0x48a0bd=a18_0x4ad11a;super(),_Debuglet_instances['add'](this),_Debuglet_debug[_0x48a0bd(0x26f)](this,void 0x0),_Debuglet_v8debug[_0x48a0bd(0x26f)](this,void 0x0),_Debuglet_running[_0x48a0bd(0x26f)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x48a0bd(0x26f)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered[_0x48a0bd(0x26f)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x48a0bd(0x26f)](this,null),this[_0x48a0bd(0x244)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x48a0bd(0x26f)](this,void 0x0),_Debuglet_quotaManager[_0x48a0bd(0x26f)](this,void 0x0),_Debuglet_blocklistManager[_0x48a0bd(0x26f)](this,void 0x0),_Debuglet_redactionManager[_0x48a0bd(0x26f)](this,void 0x0),_Debuglet_configProvider[_0x48a0bd(0x26f)](this,void 0x0),this[_0x48a0bd(0x208)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0x22f6fc),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x48a0bd(0x210))](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x30cb7e,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x48a0bd(0x279)]=![],this['logger']=agent_logger_1['default'][_0x48a0bd(0x1ee)](this[_0x48a0bd(0x208)][_0x48a0bd(0x283)]['agentLogTargetDir'],this[_0x48a0bd(0x208)][_0x48a0bd(0x283)]['agentLogMaxFileSizeMb'],this[_0x48a0bd(0x208)]['agentLog'][_0x48a0bd(0x253)],this['config']['agentLog'][_0x48a0bd(0x25d)],this[_0x48a0bd(0x208)]['agentLog'][_0x48a0bd(0x2cd)]),(0x0,config_1[_0x48a0bd(0x1f6)])(this[_0x48a0bd(0x208)],this[_0x48a0bd(0x1da)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x48a0bd(0x1da)])[_0x48a0bd(0x29a)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x48a0bd(0x25f))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x48a0bd(0x1da)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x48a0bd(0x213))](this[_0x48a0bd(0x1da)]),'f'),this[_0x48a0bd(0x242)]=null,this[_0x48a0bd(0x1ec)]={},__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['QuotaManager'](this[_0x48a0bd(0x1da)],this[_0x48a0bd(0x208)]),'f'),this[_0x48a0bd(0x2a7)]=new piping_manager_1[(_0x48a0bd(0x22a))](_0x48a0bd(0x20d),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x48a0bd(0x208)]);}async[a18_0x4ad11a(0x287)](_0x48e00a,_0x54879f){const _0x18d191=a18_0x4ad11a,_0x3d1c81=_0x48e00a[_0x18d191(0x2c6)],_0x321b6c=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x18d191(0x245)](_0x3d1c81,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x18d191(0x23e)](_a,_0x48e00a['javascriptFileExtensions'][_0x18d191(0x260)](_0x18d191(0x206))),_0x54879f,_0x48e00a[_0x18d191(0x277)]),_0x35f0d9=_0x321b6c[_0x18d191(0x1f8)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x18d191(0x23e)](_a,_0x48e00a[_0x18d191(0x1e1)])),_0x30cd51=file_index_1[_0x18d191(0x234)][_0x18d191(0x1f3)](_0x35f0d9),_0x3ca510=_0x321b6c[_0x18d191(0x249)](/.js.map$/,process[_0x18d191(0x23a)]()),_0x37b178=_0x321b6c['errors']();return{'mapFiles':_0x3ca510,'errors':_0x37b178,'jsFileIndex':_0x30cd51,'hash':_0x321b6c[_0x18d191(0x20b)]};}async[a18_0x4ad11a(0x262)](){const _0x5d52ee=a18_0x4ad11a,_0x30e56d=this,_0x2751b8=_0x30e56d['config'][_0x5d52ee(0x2c6)];if(!_0x30e56d[_0x5d52ee(0x208)][_0x5d52ee(0x2b2)]&&path[_0x5d52ee(0x1f2)](_0x2751b8,'..')===_0x2751b8){const _0x2d4c99=_0x5d52ee(0x297)+_0x5d52ee(0x2db)+_0x5d52ee(0x272)+'do\x20this.';_0x30e56d[_0x5d52ee(0x1da)][_0x5d52ee(0x281)](_0x2d4c99),_0x30e56d[_0x5d52ee(0x214)](_0x5d52ee(0x21a),new Error(_0x2d4c99));return;}let _0x1e73f1;process['env']['GAE_MINOR_VERSION']&&(_0x1e73f1='GAE-'+process[_0x5d52ee(0x211)]['GAE_MINOR_VERSION']);let _0x4e7c8e,_0x497229=_0x1e73f1||'';try{_0x4e7c8e=await this['findFiles'](_0x30e56d[_0x5d52ee(0x208)],_0x1e73f1),_0x4e7c8e['errors'][_0x5d52ee(0x289)](_0x30e56d[_0x5d52ee(0x1da)]['warn']);}catch(_0x28742a){_0x30e56d[_0x5d52ee(0x1da)]['error'](_0x5d52ee(0x261),_0x28742a),_0x30e56d['emit'](_0x5d52ee(0x21a),_0x28742a);return;}try{const _0x934444=await SourceMapper['create'](_0x30e56d[_0x5d52ee(0x1da)],_0x4e7c8e[_0x5d52ee(0x2a2)],_0x30e56d[_0x5d52ee(0x208)][_0x5d52ee(0x2c5)]?.[_0x5d52ee(0x276)]);__classPrivateFieldSet(_0x30e56d,_Debuglet_v8debug,debugapi['create'](_0x30e56d[_0x5d52ee(0x1da)],_0x30e56d[_0x5d52ee(0x208)],_0x4e7c8e[_0x5d52ee(0x235)],_0x934444,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x497229=_0x1e73f1||_0x4e7c8e[_0x5d52ee(0x20b)];}catch(_0x525939){_0x30e56d[_0x5d52ee(0x1da)][_0x5d52ee(0x281)](_0x5d52ee(0x22f),_0x525939),_0x30e56d[_0x5d52ee(0x1da)]['info'](JSON[_0x5d52ee(0x2ba)](_0x525939)),_0x30e56d['emit']('initError',_0x525939);}_0x30e56d[_0x5d52ee(0x1da)][_0x5d52ee(0x23f)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x497229);const _0x278c2f=(0x0,utils_1[_0x5d52ee(0x225)])(_0x30e56d[_0x5d52ee(0x1da)])[_0x5d52ee(0x2dd)]('\x0a','');_0x30e56d[_0x5d52ee(0x1da)][_0x5d52ee(0x23f)](_0x5d52ee(0x2a8)+_0x278c2f);let _0x32abc1;try{_0x32abc1=_0x30e56d[_0x5d52ee(0x208)][_0x5d52ee(0x236)]||await _a[_0x5d52ee(0x2b0)]();}catch(_0x259358){}_0x30e56d['logger'][_0x5d52ee(0x23f)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process['mainModule']?.[_0x5d52ee(0x1e6)]),_0x30e56d[_0x5d52ee(0x1da)]['debug'](_0x5d52ee(0x2b6)+_0x2751b8),_0x30e56d[_0x5d52ee(0x1da)][_0x5d52ee(0x26a)](_0x5d52ee(0x1d4)),__classPrivateFieldSet(_0x30e56d,_Debuglet_running,!![],'f'),_0x30e56d[_0x5d52ee(0x242)]=(0x0,createDebuggee_1[_0x5d52ee(0x23b)])(_0x497229,_0x30e56d['config'],_0x32abc1,__classPrivateFieldGet(_0x30e56d,_Debuglet_debug,'f')['packageInfo'],_0x278c2f,_0x30e56d[_0x5d52ee(0x1da)],__classPrivateFieldGet(_0x30e56d,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x30e56d,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x5d52ee(0x23e)](_0x30e56d),__classPrivateFieldGet(_0x30e56d,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x30e56d),_0x30e56d[_0x5d52ee(0x214)](_0x5d52ee(0x298));}[a18_0x4ad11a(0x2ae)](){const _0x4c6a8f=a18_0x4ad11a;if(Date[_0x4c6a8f(0x21b)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x4c6a8f(0x28a)]();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')[_0x4c6a8f(0x28b)]()['then'](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4c6a8f(0x28b)]();}}static async[a18_0x4ad11a(0x2b0)](){const _0x1357e1=a18_0x4ad11a,_0x18375d=await readFilep(_0x1357e1(0x2dc),_0x1357e1(0x1e3));try{return JSON['parse'](_0x18375d);}catch(_0x26af5f){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x26af5f);}}[a18_0x4ad11a(0x1fe)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x4ad11a(0x2de)](){const _0xdacea8=a18_0x4ad11a;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xdacea8(0x1da)]['debug']('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0xdacea8(0x1da)][_0xdacea8(0x26a)](_0xdacea8(0x2e0)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['stop'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xdacea8(0x214)]('stopped');}[a18_0x4ad11a(0x20f)](_0x3ee8d9){const _0x916418=a18_0x4ad11a,_0x5223f5=this[_0x916418(0x1da)][_0x916418(0x23c)]();if(_0x5223f5==='debug')return;switch(_0x3ee8d9){case _0x916418(0x21e):this[_0x916418(0x1da)][_0x916418(0x21c)]()!==_0x916418(0x26a)&&(this[_0x916418(0x1da)][_0x916418(0x228)]('debug'),this[_0x916418(0x1da)]['debug']('Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG'));break;case _0x916418(0x27f):case undefined:this['logger'][_0x916418(0x21c)]()===_0x916418(0x26a)&&(this[_0x916418(0x1da)]['setLevel'](_0x5223f5),this[_0x916418(0x1da)][_0x916418(0x23f)](_0x916418(0x2c8)+_0x5223f5+')'));break;default:this[_0x916418(0x1da)][_0x916418(0x1e2)](_0x916418(0x26e)+_0x3ee8d9);}}}exports[a18_0x4ad11a(0x2ac)]=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_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x4265ab){const _0x335422=a18_0x4ad11a;return new RegExp(_0x4265ab['map'](_0x4fac7f=>_0x4fac7f+'$')[_0x335422(0x1f2)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x51a75c=a18_0x4ad11a,_0x35b1d7=[_0x51a75c(0x25c),_0x51a75c(0x250),_0x51a75c(0x1e8)];_0x35b1d7[_0x51a75c(0x289)](_0x363397=>{const _0xddaee6=_0x51a75c;process[_0xddaee6(0x290)](_0x363397,()=>{const _0x5db66c=_0xddaee6;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5db66c(0x2c1)](this[_0x5db66c(0x242)],()=>{const _0x2b0098=_0x5db66c;process['kill'](process[_0x2b0098(0x1e9)],_0x363397);});});}),process[_0x51a75c(0x290)](_0x51a75c(0x254),()=>{const _0x80622d=_0x51a75c;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x80622d(0x242)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x31d53f=a18_0x4ad11a;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x31d53f(0x23e)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x246eda){const _0xe8258f=a18_0x4ad11a,_0x5b0303=this;_0x5b0303[_0xe8258f(0x1da)][_0xe8258f(0x26a)](_0x246eda?_0xe8258f(0x248)+_0x246eda+'s':'Registering\x20debuggee');function _0x534d7e(_0x1ff071,_0x1620c2,_0x572c09=![]){const _0x34a454=_0xe8258f,_0x3262ab=_0x5b0303[_0x34a454(0x242)]?.['id']?_0x34a454(0x2cb)+_0x5b0303[_0x34a454(0x242)]?.['id']+':\x20'+(0x0,utils_1[_0x34a454(0x21f)])(_0x1ff071):_0x34a454(0x1dc)+(0x0,utils_1[_0x34a454(0x21f)])(_0x1ff071);_0x5b0303[_0x34a454(0x1da)][_0x34a454(0x281)](_0x3262ab),_0x1620c2&&!_0x572c09&&_0x5b0303[_0x34a454(0x1da)]['error'](_0x34a454(0x1d1),_0x1620c2),__classPrivateFieldGet(_0x5b0303,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x34a454(0x23e)](_0x5b0303,(0x0,utils_1['backoff'])(_0x246eda,_0x5b0303['config'][_0x34a454(0x2c5)]['maxRequestRetryDelaySeconds']));}setTimeout(()=>{const _0x235023=_0xe8258f;if(!__classPrivateFieldGet(_0x5b0303,_Debuglet_running,'f')){_0x534d7e(new Error(_0x235023(0x22b)));return;}__classPrivateFieldGet(_0x5b0303,_Debuglet_controller,'f')[_0x235023(0x1fd)](_0x5b0303[_0x235023(0x242)],(_0x3708b5,_0x34865d,_0x4bcb33=![])=>{const _0x39f76b=_0x235023;if(_0x3708b5){_0x534d7e(_0x3708b5,_0x34865d,_0x4bcb33);return;}if(_0x34865d[_0x39f76b(0x242)][_0x39f76b(0x2c4)]){_0x534d7e(new Error(_0x39f76b(0x232))),_0x5b0303[_0x39f76b(0x214)](_0x39f76b(0x2ce));return;}const _0x46639b=_0x34865d[_0x39f76b(0x242)]['id'];_0x5b0303[_0x39f76b(0x1da)][_0x39f76b(0x23f)](_0x39f76b(0x2be)+_0x46639b),_0x5b0303[_0x39f76b(0x242)]['id']=_0x46639b;const _0x113f5a=[__classPrivateFieldGet(_0x5b0303,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x39f76b(0x299)](_0x5b0303)(_0x5b0303[_0x39f76b(0x242)]['id'])];_0x5b0303['config'][_0x39f76b(0x292)]&&_0x113f5a[_0x39f76b(0x28d)](__classPrivateFieldGet(_0x5b0303,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x5b0303)(_0x5b0303[_0x39f76b(0x242)]['id'])),Promise[_0x39f76b(0x2d7)](_0x113f5a)['then'](()=>{const _0x33fadc=_0x39f76b;_0x5b0303[_0x33fadc(0x214)](_0x33fadc(0x2a9),_0x46639b),__classPrivateFieldGet(_0x5b0303,_Debuglet_debuggeeRegistered,'f')[_0x33fadc(0x28a)](),__classPrivateFieldGet(_0x5b0303,_Debuglet_v8debug,'f')?.[_0x33fadc(0x2a6)](__classPrivateFieldGet(_0x5b0303,_Debuglet_blocklistManager,'f')),!_0x5b0303[_0x33fadc(0x279)]&&__classPrivateFieldGet(_0x5b0303,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x5b0303,0x0,this[_0x33fadc(0x208)][_0x33fadc(0x27b)],_0x34865d?.[_0x33fadc(0x230)]);},_0x4bb04c=>{_0x534d7e(_0x4bb04c);});});},_0x246eda*0x3e8)[_0xe8258f(0x2a0)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x3b157b,_0x17a9a7,_0x4f6391){const _0x575dc2=a18_0x4ad11a,_0x575a04=this;!_0x17a9a7&&(_0x575a04[_0x575dc2(0x279)]=!![]),setTimeout(()=>{const _0x3321f0=_0x575dc2;if(!__classPrivateFieldGet(_0x575a04,_Debuglet_running,'f'))return;!_0x17a9a7&&assert(_0x575a04[_0x3321f0(0x279)]),_0x575a04[_0x3321f0(0x1da)][_0x3321f0(0x26a)](_0x3321f0(0x25e)),__classPrivateFieldGet(_0x575a04,_Debuglet_controller,'f')[_0x3321f0(0x24d)](_0x575a04[_0x3321f0(0x242)],(_0x46e345,_0x1db8ef,_0x41e73f)=>{const _0x1b0a80=_0x3321f0;if(_0x1db8ef?.[_0x1b0a80(0x28e)]===0x194){_0x575a04[_0x1b0a80(0x1da)][_0x1b0a80(0x23f)](_0x1b0a80(0x2ad)),_0x575a04['fetcherActive']=![],__classPrivateFieldGet(_0x575a04,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x1b0a80(0x23e)](_0x575a04),__classPrivateFieldGet(_0x575a04,_Debuglet_instances,'m',_Debuglet_register_)[_0x1b0a80(0x23e)](_0x575a04);return;}if(_0x46e345){const _0x479879=(0x0,utils_1[_0x1b0a80(0x27c)])(_0x3b157b,_0x575a04['config'][_0x1b0a80(0x2c5)][_0x1b0a80(0x24f)]);_0x575a04['logger'][_0x1b0a80(0x281)](_0x1b0a80(0x28c)+_0x1db8ef?.[_0x1b0a80(0x28e)]+_0x1b0a80(0x285)+_0x46e345[_0x1b0a80(0x2d5)]+'.\x20Retrying\x20in\x20'+_0x479879+'s'),__classPrivateFieldGet(_0x575a04,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1b0a80(0x23e)](_0x575a04,_0x479879,_0x17a9a7,_0x4f6391);return;}_0x575a04[_0x1b0a80(0x1da)]['debug']('\x09'+_0x1db8ef[_0x1b0a80(0x28e)]+_0x1b0a80(0x280));if(!_0x41e73f){const _0x24f5e2=_0x575a04['config']['breakpointUpdateIntervalSec'];_0x575a04[_0x1b0a80(0x1da)]['error'](_0x1b0a80(0x2ca)+_0x24f5e2+'s'),__classPrivateFieldGet(_0x575a04,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1b0a80(0x23e)](_0x575a04,_0x24f5e2,_0x17a9a7,_0x4f6391);return;}this['setCustomLogLevel'](_0x41e73f[_0x1b0a80(0x25d)]);if(_0x41e73f[_0x1b0a80(0x1d5)]){_0x575a04[_0x1b0a80(0x1da)][_0x1b0a80(0x23f)](_0x1b0a80(0x2d6)),__classPrivateFieldGet(_0x575a04,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1b0a80(0x23e)](_0x575a04,0x0,_0x17a9a7,_0x4f6391);return;}if(_0x41e73f[_0x1b0a80(0x216)]&&_0x41e73f[_0x1b0a80(0x216)]!==_0x1b0a80(0x27f)){const _0x459cce=this['pipingManager'][_0x1b0a80(0x233)];_0x459cce!==_0x41e73f[_0x1b0a80(0x216)]&&(this['logger'][_0x1b0a80(0x26a)](_0x1b0a80(0x27a)+_0x459cce+_0x1b0a80(0x2bf)+_0x41e73f['pipeLogs']),this['pipingManager'][_0x1b0a80(0x233)]=_0x41e73f['pipeLogs']);}if(_0x41e73f[_0x1b0a80(0x215)]&&_0x41e73f['collectLogRequestId']!==_0x575a04[_0x1b0a80(0x24c)]){_0x575a04[_0x1b0a80(0x24c)]=_0x41e73f[_0x1b0a80(0x24c)];const _0x2ea84f=_0x575a04[_0x1b0a80(0x208)][_0x1b0a80(0x283)][_0x1b0a80(0x1d7)]&&path['join'](_0x575a04[_0x1b0a80(0x208)][_0x1b0a80(0x283)][_0x1b0a80(0x1d7)],agent_logger_1[_0x1b0a80(0x1ed)]['AGENT_LOG_FILE']);_0x2ea84f&&fs['existsSync'](_0x2ea84f)?setTimeout(()=>__classPrivateFieldGet(_0x575a04,_Debuglet_controller,'f')[_0x1b0a80(0x2bc)](_0x575a04['debuggee'],_0x41e73f[_0x1b0a80(0x24c)],_0x2ea84f)):_0x575a04[_0x1b0a80(0x1da)][_0x1b0a80(0x23f)](_0x1b0a80(0x264)+_0x41e73f['collectLogRequestId']+_0x1b0a80(0x2b1)+_0x1b0a80(0x204));}const _0x3bfdc=(_0x41e73f['breakpoints']||[])[_0x1b0a80(0x1d9)](_0x3cc4d8=>new stackdriver_1[(_0x1b0a80(0x1eb))](_0x3cc4d8))[_0x1b0a80(0x229)](_0x5845bb=>{const _0x197d3d=_0x1b0a80,_0x20a726=_0x5845bb[_0x197d3d(0x2a5)]||'CAPTURE';if(__classPrivateFieldGet(_0x575a04,_Debuglet_completedBreakpointMap,'f')[_0x5845bb['id']])return![];if(_0x20a726!==_0x197d3d(0x221)&&_0x20a726!=='LOG')return _0x575a04[_0x197d3d(0x1da)]['warn']('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x20a726),_0x5845bb['status']=new status_message_1[(_0x197d3d(0x256))](status_message_1[_0x197d3d(0x256)][_0x197d3d(0x2aa)],utils_1[_0x197d3d(0x288)][_0x197d3d(0x284)],!![]),__classPrivateFieldGet(_0x575a04,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x575a04,_0x5845bb),![];return!![];}),_0x459cad=__classPrivateFieldGet(_0x575a04,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x1b0a80(0x23e)](_0x575a04);let _0x16b0d0=_0x459cad[_0x1b0a80(0x2bb)]>0x0;__classPrivateFieldGet(_0x575a04,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x1b0a80(0x23e)](_0x575a04,_0x459cad),_0x16b0d0=_0x16b0d0||__classPrivateFieldGet(_0x575a04,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x1b0a80(0x23e)](_0x575a04,_0x3bfdc),_0x575a04['emit'](_0x1b0a80(0x1f1),_0x3bfdc['length']);_0x16b0d0&&_0x575a04[_0x1b0a80(0x1da)][_0x1b0a80(0x26a)](formatBreakpoints(_0x1b0a80(0x1f4),_0x575a04[_0x1b0a80(0x1ec)]));__classPrivateFieldSet(_0x575a04,_Debuglet_breakpointFetchedTimestamp,Date[_0x1b0a80(0x21b)](),'f');_0x17a9a7?__classPrivateFieldGet(_0x575a04,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x575a04,_Debuglet_breakpointFetched,'f')[_0x1b0a80(0x28a)](),__classPrivateFieldSet(_0x575a04,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x575a04,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1b0a80(0x23e)](_0x575a04,0x0,_0x17a9a7,_0x4f6391);return;},_0x4f6391);},_0x3b157b*0x3e8)[_0x575dc2(0x2a0)]();},_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_(_0x2ca1e2){const _0x583df6=a18_0x4ad11a,_0x43e3af=this,_0x35dcf4=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x583df6(0x23e)](this,_0x2ca1e2);let _0x33a532=![];return _0x2ca1e2[_0x583df6(0x289)](_0x47d032=>{const _0x3b1075=_0x583df6;!__classPrivateFieldGet(_0x43e3af,_Debuglet_completedBreakpointMap,'f')[_0x47d032['id']]&&!_0x43e3af[_0x3b1075(0x1ec)][_0x47d032['id']]&&(__classPrivateFieldGet(_0x43e3af,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x3b1075(0x23e)](_0x43e3af,_0x47d032,_0x2c0064=>{_0x2c0064&&__classPrivateFieldGet(_0x43e3af,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x43e3af,_0x47d032,!![],![]);}),_0x33a532=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3b1075(0x1ff)](_0x47d032['id'])),__classPrivateFieldGet(_0x43e3af,_Debuglet_quotaManager,'f')[_0x3b1075(0x243)](_0x47d032['id'],_0x47d032['ignoreQuota']),_0x43e3af['pipingManager'][_0x3b1075(0x202)](_0x47d032['id'],_0x47d032[_0x3b1075(0x238)]);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x35dcf4)['forEach'](_0x34e862=>{delete __classPrivateFieldGet(_0x43e3af,_Debuglet_completedBreakpointMap,'f')[_0x34e862['id']],_0x33a532=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x583df6(0x1ec)],_0x35dcf4)['forEach'](_0x36af5e=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x36af5e,!![]),_0x33a532=!![];}),_0x33a532&&_0x43e3af[_0x583df6(0x1da)]['debug'](formatBreakpoints(_0x583df6(0x1d2),_0x35dcf4)),_0x33a532;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x2d360e){const _0x311ec6={};return _0x2d360e['forEach'](_0x4fa4f4=>{_0x311ec6[_0x4fa4f4['id']]=_0x4fa4f4;}),_0x311ec6;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x505224,_0x1da58f){const _0x451080=a18_0x4ad11a;this['logger'][_0x451080(0x23f)](_0x451080(0x218),_0x505224),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x451080(0x2a1)](_0x505224['id']),this[_0x451080(0x2a7)][_0x451080(0x29c)](_0x505224['id']),delete this[_0x451080(0x1ec)][_0x505224['id']],_0x1da58f&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x451080(0x2ab)](_0x505224,_0x274df4=>{const _0x3da536=_0x451080;if(_0x274df4)this[_0x3da536(0x1da)][_0x3da536(0x281)](_0x274df4);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x4e424e,_0x3c2c85){const _0x35a9b0=a18_0x4ad11a,_0x336e65=this;_0x336e65[_0x35a9b0(0x1da)][_0x35a9b0(0x23f)](_0x35a9b0(0x25b),_0x4e424e);if(!_0x336e65[_0x35a9b0(0x208)]['allowExpressions']&&(_0x4e424e[_0x35a9b0(0x27d)]||_0x4e424e[_0x35a9b0(0x1e4)])){_0x336e65['logger'][_0x35a9b0(0x281)](utils_1[_0x35a9b0(0x288)][_0x35a9b0(0x266)]['description']||''),_0x4e424e[_0x35a9b0(0x28e)]=new status_message_1[(_0x35a9b0(0x256))](status_message_1[_0x35a9b0(0x256)][_0x35a9b0(0x2aa)],utils_1['errors'][_0x35a9b0(0x266)],!![]),setImmediate(()=>{const _0x13a6c2=_0x35a9b0;_0x3c2c85(utils_1[_0x13a6c2(0x288)][_0x13a6c2(0x266)]);});return;}if((0x0,utils_1[_0x35a9b0(0x1db)])(process['version'],_0x35a9b0(0x1df))){const _0x22bf35=utils_1[_0x35a9b0(0x288)][_0x35a9b0(0x22c)];_0x336e65[_0x35a9b0(0x1da)]['error'](_0x22bf35),_0x4e424e['status']=new status_message_1['StatusMessage'](status_message_1[_0x35a9b0(0x256)][_0x35a9b0(0x2aa)],_0x22bf35,!![]),setImmediate(()=>{_0x3c2c85(_0x22bf35);});return;}const _0x37aa1b=_0x4e424e[_0x35a9b0(0x20c)]?Number(_0x4e424e['createTime']['seconds']):Date[_0x35a9b0(0x21b)]()/0x3e8,_0x618a33=_0x4e424e[_0x35a9b0(0x22e)]||_0x336e65[_0x35a9b0(0x208)][_0x35a9b0(0x1f5)];_0x4e424e[_0x35a9b0(0x20a)]=_0x37aa1b+_0x618a33,_0x4e424e[_0x35a9b0(0x265)]?.[_0x35a9b0(0x212)]&&(_0x4e424e[_0x35a9b0(0x265)][_0x35a9b0(0x212)]=path[_0x35a9b0(0x274)](_0x4e424e[_0x35a9b0(0x265)][_0x35a9b0(0x212)]),path[_0x35a9b0(0x217)]===path[_0x35a9b0(0x2af)]['sep']&&(_0x4e424e['location'][_0x35a9b0(0x212)]=_0x4e424e[_0x35a9b0(0x265)]['path'][_0x35a9b0(0x1e0)]('\x5c')['join'](path['sep']))),__classPrivateFieldGet(_0x336e65,_Debuglet_v8debug,'f')[_0x35a9b0(0x26f)](_0x4e424e,_0x4ef363=>{const _0xca122=_0x35a9b0;if(_0x4ef363){_0x3c2c85(_0x4ef363);return;}_0x336e65['logger']['info']('\x09successfully\x20added\x20breakpoint',_0x4e424e),_0x336e65[_0xca122(0x1ec)][_0x4e424e['id']]=_0x4e424e,_0x4e424e[_0xca122(0x2a5)]===_0xca122(0x282)?__classPrivateFieldGet(_0x336e65,_Debuglet_v8debug,'f')[_0xca122(0x286)](_0x4e424e,(_0x2971a7,_0x573eea)=>{const _0xe88ca1=_0xca122,_0x518711=_0x573eea['map'](_0x16bfd9=>__classPrivateFieldGet(_0x336e65,_Debuglet_instances,'m',_Debuglet_stringify)[_0xe88ca1(0x23e)](_0x336e65,_0x16bfd9)),_0x2b9947=(0x0,format_1[_0xe88ca1(0x2a3)])(_0x2971a7,_0x518711),_0x397151='LOGPOINT:\x20'+(__classPrivateFieldGet(_0x336e65,_Debuglet_redactionManager,'f')?.[_0xe88ca1(0x271)](_0x2b9947)||_0x2b9947),_0x32c449=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xe88ca1(0x2c9)](_0x397151,_0x4e424e['id']);if(_0x32c449){const _0x2b10aa=_0x32c449['message'],_0xa038c=_0x32c449[_0xe88ca1(0x1ef)];let _0x312501,_0x323612;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0xe88ca1(0x2b7)]()&&!_0xa038c&&(_0x312501='LOGPOINT:\x20'+_0x2971a7,_0x323612=_0x518711);_0x336e65['pipingManager'][_0xe88ca1(0x2c0)](_0x336e65[_0xe88ca1(0x242)],_0x4e424e['id'],_0x2b10aa,_0x4e424e[_0xe88ca1(0x2d0)],_0x312501,_0x323612);if(_0xa038c)__classPrivateFieldGet(_0x336e65,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(_0x336e65,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(_0x336e65,_Debuglet_nextEnableTimeout,null,'f');},_0x336e65[_0xe88ca1(0x208)][_0xe88ca1(0x291)][_0xe88ca1(0x1d8)]*0x3e8),'f');else _0x2b10aa?.['length']===0x0&&__classPrivateFieldGet(_0x336e65,_Debuglet_v8debug,'f')?.[_0xe88ca1(0x2da)]();}},()=>{return __classPrivateFieldGet(_0x336e65,_Debuglet_completedBreakpointMap,'f')[_0x4e424e['id']];},_0x46572a=>{const _0x4bbafa=_0xca122;if(_0x46572a){_0x336e65[_0x4bbafa(0x1da)]['error'](_0x46572a),_0x3c2c85(_0x46572a);return;}}):__classPrivateFieldGet(_0x336e65,_Debuglet_v8debug,'f')[_0xca122(0x29f)](_0x4e424e,_0x571c94=>{const _0x38d6e7=_0xca122;if(_0x571c94){setImmediate(()=>{const _0x419a20=a18_0x4a0e;_0x336e65[_0x419a20(0x1da)]['error'](_0x571c94),_0x3c2c85(_0x571c94);});return;}_0x336e65[_0x38d6e7(0x1da)][_0x38d6e7(0x23f)](_0x38d6e7(0x201),_0x4e424e),__classPrivateFieldGet(_0x336e65,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x38d6e7(0x23e)](_0x336e65,_0x4e424e,__classPrivateFieldGet(_0x336e65,_Debuglet_v8debug,'f')[_0x38d6e7(0x239)](_0x4e424e['id'])<=0x0);}),__classPrivateFieldGet(_0x336e65,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0xca122(0x23e)](_0x336e65,_0x4e424e);}),this['emit'](_0x35a9b0(0x1f9));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x40fa2e,_0x6e559d,_0x40fc5a=!![]){const _0x292f29=a18_0x4ad11a,_0xb7838b=this;if(_0x40fa2e[_0x292f29(0x28e)]&&_0x40fa2e[_0x292f29(0x28e)][_0x292f29(0x2a4)]){let _0x18a9c9=_0x40fa2e[_0x292f29(0x28e)]?.[_0x292f29(0x246)]?.[_0x292f29(0x2a3)]||'';_0x40fa2e['status']?.['description']?.[_0x292f29(0x2cc)]&&(_0x18a9c9+=':\x20'+_0x40fa2e[_0x292f29(0x28e)]?.['description']?.[_0x292f29(0x2cc)]['toString']()),_0xb7838b['logger'][_0x292f29(0x1e2)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x40fa2e+_0x292f29(0x29b)+_0x18a9c9);}else _0xb7838b[_0x292f29(0x1da)][_0x292f29(0x23f)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',_0x40fa2e);_0x6e559d&&(__classPrivateFieldGet(_0xb7838b,_Debuglet_completedBreakpointMap,'f')[_0x40fa2e['id']]=!![],__classPrivateFieldGet(_0xb7838b,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x292f29(0x23e)](_0xb7838b,_0x40fa2e,_0x40fc5a)),__classPrivateFieldGet(_0xb7838b,_Debuglet_controller,'f')[_0x292f29(0x231)](_0xb7838b[_0x292f29(0x242)],extend(!![],{},_0x40fa2e));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x50ec07){const _0x3f38d2=a18_0x4ad11a,_0x46c6f1=this;_0x46c6f1[_0x3f38d2(0x1da)][_0x3f38d2(0x26a)]('reporting\x20breakpoint\x20'+_0x50ec07+'\x20accepted\x20by\x20agent');const _0x530810=extend(!![],{},_0x50ec07);_0x530810[_0x3f38d2(0x2b4)]=![],_0x530810['status']=new status_message_1['StatusMessage'](status_message_1[_0x3f38d2(0x256)][_0x3f38d2(0x2aa)],undefined,![],!![]),__classPrivateFieldGet(_0x46c6f1,_Debuglet_controller,'f')[_0x3f38d2(0x231)](_0x46c6f1['debuggee'],_0x530810);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x42910a){const _0x51e92e=a18_0x4ad11a,_0x5b328a=this;this[_0x51e92e(0x1da)][_0x51e92e(0x23f)](_0x51e92e(0x269),_0x42910a),__classPrivateFieldGet(_0x5b328a,_Debuglet_completedBreakpointMap,'f')[_0x42910a['id']]=!![],__classPrivateFieldGet(_0x5b328a,_Debuglet_controller,'f')[_0x51e92e(0x231)](_0x5b328a[_0x51e92e(0x242)],_0x42910a);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x8376b1){const _0x5ba8c6=a18_0x4ad11a,_0xed5d5b=this;_0x8376b1[_0x5ba8c6(0x289)](_0x564aa2=>{const _0x2e72cd=_0x5ba8c6;_0xed5d5b[_0x2e72cd(0x1da)][_0x2e72cd(0x23f)]('Expiring\x20breakpoint',_0x564aa2),__classPrivateFieldGet(_0xed5d5b,_Debuglet_completedBreakpointMap,'f')[_0x564aa2['id']]=!![],__classPrivateFieldGet(_0xed5d5b,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2e72cd(0x23e)](_0xed5d5b,_0x564aa2,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x35eff7=a18_0x4ad11a,_0x3947cd=Date[_0x35eff7(0x21b)]()/0x3e8;return Object[_0x35eff7(0x29d)](this[_0x35eff7(0x1ec)])[_0x35eff7(0x229)](_0x266402=>_0x266402[_0x35eff7(0x20a)]?_0x266402[_0x35eff7(0x20a)]<_0x3947cd:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x146313){const _0x59a372=a18_0x4ad11a,_0xeb98a5=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x59a372(0x1f0)](_0x146313),_0x1e23a9=_0xeb98a5[_0x59a372(0x205)],_0x1a184f=_0xeb98a5[_0x59a372(0x278)];_0x1e23a9&&_0x1e23a9['length']&&this[_0x59a372(0x1da)][_0x59a372(0x26a)](_0x59a372(0x20e),_0x1e23a9[_0x59a372(0x1f2)]('\x0a\x09')),_0x1a184f&&_0x1a184f[_0x59a372(0x2bb)]&&this[_0x59a372(0x1da)][_0x59a372(0x26a)](_0x59a372(0x296),_0x1a184f[_0x59a372(0x1f2)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x59a372(0x1fc))](_0x1e23a9,_0x1a184f,this[_0x59a372(0x208)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x2409cd){const _0xbf46aa=a18_0x4ad11a,_0x27c76f=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x2409cd);_0x27c76f?.['length']&&this[_0xbf46aa(0x1da)]['debug'](_0xbf46aa(0x240),_0x27c76f[_0xbf46aa(0x1d9)](_0x55c9b8=>_0xbf46aa(0x200)+_0x55c9b8['name']+_0xbf46aa(0x2b3)+_0x55c9b8[_0xbf46aa(0x268)]+'):\x20pattern:\x20'+_0x55c9b8[_0xbf46aa(0x1fa)]+_0xbf46aa(0x1d6)+_0x55c9b8[_0xbf46aa(0x222)])[_0xbf46aa(0x1f2)]('\x0a\x09'));if((0x0,utils_1[_0xbf46aa(0x1db)])(process[_0xbf46aa(0x2b5)],_0xbf46aa(0x203))){const {RedactionManagerRE2JS:_0x4b54be}=await Promise[_0xbf46aa(0x28a)]()[_0xbf46aa(0x252)](()=>require(_0xbf46aa(0x241)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x4b54be(this[_0xbf46aa(0x1da)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['setPatterns'](_0x27c76f);}},_Debuglet_stringify=function _Debuglet_stringify(_0x51ddc6){const _0x5f3e80=a18_0x4ad11a;if(!_0x51ddc6)return JSON[_0x5f3e80(0x2ba)](_0x51ddc6,(_0x112d0b,_0x14b3ea)=>_0x14b3ea===undefined?_0x5f3e80(0x22d):_0x14b3ea);if(Array[_0x5f3e80(0x28f)](_0x51ddc6)){const _0x350b51=[];for(const _0x4fa78b of _0x51ddc6){_0x350b51[_0x5f3e80(0x28d)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x5f3e80(0x23e)](this,_0x4fa78b));}return'['+_0x350b51[_0x5f3e80(0x1f2)](',\x20')+']';}if(typeof _0x51ddc6===_0x5f3e80(0x227)){const _0x46f157=Object[_0x5f3e80(0x25a)](_0x51ddc6)['map'](([_0x29d625,_0xafa860])=>{const _0x5a2992=_0x5f3e80,_0x4b020f=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5a2992(0x207)](_0x29d625)?redaction_manager_1[_0x5a2992(0x23d)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x5a2992(0x23e)](this,_0xafa860);return JSON[_0x5a2992(0x2ba)](_0x29d625)+':\x20'+_0x4b020f;})[_0x5f3e80(0x1f2)](',\x20');return'{'+_0x46f157+'}';}return JSON[_0x5f3e80(0x2ba)](_0x51ddc6);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a19_0x4325(){const _0x536399=['2905JnFJgs','env','x64','\x20on\x20','version','osVersion','platform','linux','totalmem','arch','search','systemTotalMemoryBytes','EnvironmentMetadata','forEach','VERSION_ID','error','3287025jqWfji','utf-8','runtimeEnvironmentVersion','55ywjneF','isInDocker','250856GoeIXm','split','assert','Linux','232341DzYIEf','Node.js\x20','1196610xEJuux','release','6798QigMRw','arm64','runtimeEnvironmentInfo','mac','_cachedOsRelease','x32','agentOS','host','_logger','toString','node','isInK8s','MacOS','/.dockerenv','arm','hostname','__esModule','readFileSync','trim','15qvAZdH','match','warn','pid','105uoFAll','defineProperty','procArch','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','2260Lrfvzb','get','constructor','linuxDistroName','Windows','cpus','(((.+)+)+)+$','_osRelease','2265032diSSDf'];a19_0x4325=function(){return _0x536399;};return a19_0x4325();}const a19_0xa2b215=a19_0x4482;(function(_0x552d38,_0x135f20){const _0x31b9f0=a19_0x4482,_0x567b23=_0x552d38();while(!![]){try{const _0x2b2568=-parseInt(_0x31b9f0(0x9b))/0x1+-parseInt(_0x31b9f0(0x79))/0x2*(-parseInt(_0x31b9f0(0x71))/0x3)+-parseInt(_0x31b9f0(0x81))/0x4+-parseInt(_0x31b9f0(0x82))/0x5*(-parseInt(_0x31b9f0(0x9f))/0x6)+parseInt(_0x31b9f0(0x75))/0x7*(-parseInt(_0x31b9f0(0x97))/0x8)+parseInt(_0x31b9f0(0x92))/0x9+parseInt(_0x31b9f0(0x9d))/0xa*(parseInt(_0x31b9f0(0x95))/0xb);if(_0x2b2568===_0x135f20)break;else _0x567b23['push'](_0x567b23['shift']());}catch(_0x904a10){_0x567b23['push'](_0x567b23['shift']());}}}(a19_0x4325,0x57863));function a19_0x4482(_0x2998fd,_0x2509aa){const _0x4a2e18=a19_0x4325();return a19_0x4482=function(_0xa440c3,_0x34e0ad){_0xa440c3=_0xa440c3-0x66;let _0x43256d=_0x4a2e18[_0xa440c3];return _0x43256d;},a19_0x4482(_0x2998fd,_0x2509aa);}Object[a19_0xa2b215(0x76)](exports,a19_0xa2b215(0x6e),{'value':!![]}),exports[a19_0xa2b215(0x8e)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0xa2b215(0x99));var OS;(function(_0x44f0fd){const _0x1a71cf=a19_0xa2b215;_0x44f0fd[_0x1a71cf(0x9a)]=_0x1a71cf(0x89),_0x44f0fd[_0x1a71cf(0x7d)]='windows',_0x44f0fd[_0x1a71cf(0x6a)]=_0x1a71cf(0xa2);}(OS||(OS={})));var ProcArch;(function(_0x1f3286){const _0x54e797=a19_0xa2b215,_0xaef780=(function(){let _0x2735a8=!![];return function(_0x5d8b1c,_0x5273eb){const _0xa16697=_0x2735a8?function(){if(_0x5273eb){const _0x2a8384=_0x5273eb['apply'](_0x5d8b1c,arguments);return _0x5273eb=null,_0x2a8384;}}:function(){};return _0x2735a8=![],_0xa16697;};}()),_0x3e4950=_0xaef780(this,function(){const _0x5c419a=a19_0x4482;return _0x3e4950['toString']()[_0x5c419a(0x8c)]('(((.+)+)+)+$')[_0x5c419a(0x67)]()[_0x5c419a(0x7b)](_0x3e4950)['search'](_0x5c419a(0x7f));});_0x3e4950(),_0x1f3286[_0x54e797(0x84)]=_0x54e797(0x84),_0x1f3286[_0x54e797(0xa4)]=_0x54e797(0xa4),_0x1f3286['arm']=_0x54e797(0x6c),_0x1f3286['arm64']=_0x54e797(0xa0);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0xa2b215(0x9a)],'win32':OS[a19_0xa2b215(0x7d)],'darwin':OS[a19_0xa2b215(0x6a)]},ArchToProcArchMap={'x32':ProcArch[a19_0xa2b215(0xa4)],'x64':ProcArch[a19_0xa2b215(0x84)],'arm':ProcArch[a19_0xa2b215(0x6c)],'arm64':ProcArch[a19_0xa2b215(0xa0)]};class EnvironmentMetadata{constructor(_0x44dd39){const _0x5a7c11=a19_0xa2b215;assert(_0x44dd39!==null),this[_0x5a7c11(0x66)]=_0x44dd39;}get[a19_0xa2b215(0x94)](){const _0x9837e3=a19_0xa2b215;try{const _0x37cfb9=process['versions'][_0x9837e3(0x68)][_0x9837e3(0x72)](/(\d+\.\d+)\..*/);if(_0x37cfb9)return _0x37cfb9[0x1];}catch(_0xfcbd82){this['_logger']['error'](_0xfcbd82);}return;}get[a19_0xa2b215(0xa1)](){const _0xd3569=a19_0xa2b215;return _0xd3569(0x9c)+process[_0xd3569(0x86)]+_0xd3569(0x85)+(0x0,os_1[_0xd3569(0x88)])()+'\x20'+(0x0,os_1[_0xd3569(0x9e)])();}get['pid'](){const _0x23b8fd=a19_0xa2b215;return process[_0x23b8fd(0x74)][_0x23b8fd(0x67)]();}get[a19_0xa2b215(0x77)](){const _0x69e4c2=a19_0xa2b215;return ArchToProcArchMap[process[_0x69e4c2(0x8b)]]||process[_0x69e4c2(0x8b)];}get['cpuCoreCount'](){const _0x3294be=a19_0xa2b215;return(0x0,os_1[_0x3294be(0x7e)])()['length'];}get[a19_0xa2b215(0x8d)](){const _0x7b7f3d=a19_0xa2b215;return(0x0,os_1[_0x7b7f3d(0x8a)])();}get[a19_0xa2b215(0xa6)](){const _0x5a0700=a19_0xa2b215;return(0x0,os_1[_0x5a0700(0x6d)])();}get[a19_0xa2b215(0xa5)](){const _0xcb614c=a19_0xa2b215;return PlatformToOsMap[(0x0,os_1[_0xcb614c(0x88)])()]||(0x0,os_1[_0xcb614c(0x88)])();}get['osVersion'](){const _0x531e82=a19_0xa2b215;try{if(this[_0x531e82(0xa5)]===OS[_0x531e82(0x9a)])return this['_osRelease'][_0x531e82(0x7a)](_0x531e82(0x90))||(0x0,os_1[_0x531e82(0x9e)])();return(0x0,os_1[_0x531e82(0x9e)])();}catch(_0x2be1fa){this[_0x531e82(0x66)][_0x531e82(0x91)](_0x2be1fa);}return;}get[a19_0xa2b215(0x7c)](){const _0x1853c1=a19_0xa2b215;return this[_0x1853c1(0xa5)]===OS[_0x1853c1(0x9a)]&&this['_osRelease'][_0x1853c1(0x7a)]('ID')||'';}get['isInDocker'](){const _0x226b68=a19_0xa2b215;return this[_0x226b68(0xa5)]===OS[_0x226b68(0x9a)]?(0x0,fs_1['existsSync'])(_0x226b68(0x6b)):![];}get[a19_0xa2b215(0x69)](){const _0x3c50e6=a19_0xa2b215;return!!process[_0x3c50e6(0x83)]['KUBERNETES_SERVICE_HOST'];}get[a19_0xa2b215(0x80)](){const _0x25f47d=a19_0xa2b215;if(!this['_cachedOsRelease']){this[_0x25f47d(0xa3)]=new Map();try{if(this['agentOS']===OS[_0x25f47d(0x9a)]){const _0x1e3f34=(0x0,fs_1[_0x25f47d(0x6f)])('/etc/os-release',_0x25f47d(0x93));_0x1e3f34[_0x25f47d(0x98)](/\r?\n/)[_0x25f47d(0x8f)](_0x2f91fa=>{const _0x258064=_0x25f47d,[_0x410d1b,_0x55a30f]=_0x2f91fa[_0x258064(0x70)]()[_0x258064(0x98)]('=');this[_0x258064(0xa3)]?.['set'](_0x410d1b,_0x55a30f?.['replace'](/^"|"$/g,'')||'');});}}catch(_0x59f68c){this[_0x25f47d(0x66)][_0x25f47d(0x73)](_0x25f47d(0x78),_0x59f68c);}}return this['_cachedOsRelease'];}['getProps'](){const _0x178637=a19_0xa2b215;return{'runtimeEnvironmentVersion':this[_0x178637(0x94)],'runtimeEnvironmentInfo':this[_0x178637(0xa1)],'pid':this[_0x178637(0x74)],'cpuCoreCount':this['cpuCoreCount'],'systemTotalMemoryBytes':this['systemTotalMemoryBytes'],'host':this['host'],'agentOS':this['agentOS'],'osVersion':this[_0x178637(0x87)],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x178637(0x96)],'isInK8s':this[_0x178637(0x69)],'procArch':this['procArch']};}}exports['EnvironmentMetadata']=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x103c94=a20_0x38a5;function a20_0x5891(){const _0x1201dd=['add','533268FmqDGM','fromFileStats','constructor','get','_fileStats','length','3959324jiQOxT','keys','size','defineProperty','path','filter','712botjYA','indexOf','findShortestFuzzyMatches','FileIndex','20006SScvgW','fromFileList','1pKZzeJ','1578110UrONLG','__esModule','stripStartingSep','4844885eqWLsG','117AxItOg','toString','buildIndex','fileIndex','has','1699080VKCyjE','generateSubPaths','sep','push','1633262Ijmrni'];a20_0x5891=function(){return _0x1201dd;};return a20_0x5891();}(function(_0x65f617,_0x3740e5){const _0x583ae7=a20_0x38a5,_0x2e0938=_0x65f617();while(!![]){try{const _0x37f2f1=-parseInt(_0x583ae7(0x18c))/0x1*(parseInt(_0x583ae7(0x178))/0x2)+-parseInt(_0x583ae7(0x17a))/0x3+parseInt(_0x583ae7(0x180))/0x4+-parseInt(_0x583ae7(0x16e))/0x5+-parseInt(_0x583ae7(0x174))/0x6+parseInt(_0x583ae7(0x18a))/0x7*(-parseInt(_0x583ae7(0x186))/0x8)+parseInt(_0x583ae7(0x16f))/0x9*(parseInt(_0x583ae7(0x16b))/0xa);if(_0x37f2f1===_0x3740e5)break;else _0x2e0938['push'](_0x2e0938['shift']());}catch(_0x15b067){_0x2e0938['push'](_0x2e0938['shift']());}}}(a20_0x5891,0x83f34));function a20_0x38a5(_0x2d7aa0,_0x2ec04d){const _0x2214f0=a20_0x5891();return a20_0x38a5=function(_0x4688ac,_0x59be0b){_0x4688ac=_0x4688ac-0x16b;let _0x58919b=_0x2214f0[_0x4688ac];return _0x58919b;},a20_0x38a5(_0x2d7aa0,_0x2ec04d);}const a20_0x59be0b=(function(){let _0x1de7a5=!![];return function(_0x4715ad,_0x4f039c){const _0x1700bb=_0x1de7a5?function(){if(_0x4f039c){const _0xb25fdf=_0x4f039c['apply'](_0x4715ad,arguments);return _0x4f039c=null,_0xb25fdf;}}:function(){};return _0x1de7a5=![],_0x1700bb;};}()),a20_0x4688ac=a20_0x59be0b(this,function(){const _0x420e14=a20_0x38a5;return a20_0x4688ac[_0x420e14(0x170)]()['search']('(((.+)+)+)+$')[_0x420e14(0x170)]()[_0x420e14(0x17c)](a20_0x4688ac)['search']('(((.+)+)+)+$');});a20_0x4688ac();'use strict';Object[a20_0x103c94(0x183)](exports,a20_0x103c94(0x16c),{'value':!![]}),exports[a20_0x103c94(0x189)]=void 0x0;const path=require(a20_0x103c94(0x184));class FileIndex{constructor(_0x184def){this['_fileStats']=_0x184def,this['fileIndex']=new Map();}static[a20_0x103c94(0x17b)](_0x5b8d06){const _0x4f179a=a20_0x103c94,_0xc26da7=new FileIndex(_0x5b8d06);return _0xc26da7[_0x4f179a(0x171)](Object[_0x4f179a(0x181)](_0x5b8d06)||[]),_0xc26da7;}static[a20_0x103c94(0x18b)](_0x1473c6){const _0x278119=a20_0x103c94,_0x363929=new FileIndex(undefined);return _0x363929[_0x278119(0x171)](_0x1473c6||[]),_0x363929;}get['fileStats'](){const _0x549c2c=a20_0x103c94;return this[_0x549c2c(0x17e)]||{};}[a20_0x103c94(0x188)](_0x33e51c){const _0x10f074=a20_0x103c94,_0xf6a126=this['search'](_0x33e51c);if(!_0xf6a126||_0xf6a126[_0x10f074(0x182)]===0x0)return[];const _0x5bdb70=[..._0xf6a126]['map'](_0x593c03=>_0x593c03['length']),_0x436970=Math['min'](..._0x5bdb70),_0x5d107d=[..._0xf6a126][_0x10f074(0x185)](_0x5351a7=>_0x5351a7[_0x10f074(0x17f)]===_0x436970);return _0x5d107d;}[a20_0x103c94(0x171)](_0x384af2){const _0x282974=a20_0x103c94;for(const _0x3e3c78 of _0x384af2){for(const _0x557a75 of this[_0x282974(0x175)](_0x3e3c78)){let _0x3fa2c4=this[_0x282974(0x172)]['get'](_0x557a75);_0x3fa2c4===undefined&&(_0x3fa2c4=new Set(),this[_0x282974(0x172)]['set'](_0x557a75,_0x3fa2c4)),_0x3fa2c4[_0x282974(0x179)](_0x3e3c78);}}}['generateSubPaths'](_0x853bd0){const _0x1b7025=a20_0x103c94;_0x853bd0=this['stripStartingSep'](_0x853bd0);const _0x356aca=[_0x853bd0];while(_0x853bd0[_0x1b7025(0x187)](path['sep'])>=0x0){_0x853bd0=_0x853bd0['substring'](_0x853bd0[_0x1b7025(0x187)](path['sep'])+path[_0x1b7025(0x176)][_0x1b7025(0x17f)],_0x853bd0[_0x1b7025(0x17f)]),_0x356aca[_0x1b7025(0x177)](_0x853bd0);}return _0x356aca;}['search'](_0x1fda4e){const _0x277b93=a20_0x103c94;if(!_0x1fda4e)return undefined;_0x1fda4e=this[_0x277b93(0x16d)](_0x1fda4e);for(const _0x1abd26 of this[_0x277b93(0x175)](_0x1fda4e)){if(this[_0x277b93(0x172)][_0x277b93(0x173)](_0x1abd26))return this[_0x277b93(0x172)][_0x277b93(0x17d)](_0x1abd26);}return undefined;}[a20_0x103c94(0x16d)](_0x28c83c){if(_0x28c83c&&(_0x28c83c[0x0]==='/'||_0x28c83c[0x0]==='\x5c'))return _0x28c83c['substr'](0x1);return _0x28c83c;}}exports['FileIndex']=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a21_0xa4647d=a21_0x1998;(function(_0x4cfe2f,_0x2aa262){const _0x390cd6=a21_0x1998,_0x42e280=_0x4cfe2f();while(!![]){try{const _0x30d681=parseInt(_0x390cd6(0x179))/0x1+-parseInt(_0x390cd6(0x177))/0x2+parseInt(_0x390cd6(0x17b))/0x3*(-parseInt(_0x390cd6(0x171))/0x4)+parseInt(_0x390cd6(0x187))/0x5+parseInt(_0x390cd6(0x180))/0x6+parseInt(_0x390cd6(0x181))/0x7+-parseInt(_0x390cd6(0x174))/0x8;if(_0x30d681===_0x2aa262)break;else _0x42e280['push'](_0x42e280['shift']());}catch(_0x17efd2){_0x42e280['push'](_0x42e280['shift']());}}}(a21_0x154f,0x26fe7));const a21_0xbedb38=(function(){let _0x5d2337=!![];return function(_0x5454a0,_0x173026){const _0x27fcd6=_0x5d2337?function(){if(_0x173026){const _0x4d96f6=_0x173026['apply'](_0x5454a0,arguments);return _0x173026=null,_0x4d96f6;}}:function(){};return _0x5d2337=![],_0x27fcd6;};}()),a21_0x5e3c37=a21_0xbedb38(this,function(){const _0x566c0a=a21_0x1998;return a21_0x5e3c37[_0x566c0a(0x173)]()['search']('(((.+)+)+)+$')[_0x566c0a(0x173)]()[_0x566c0a(0x183)](a21_0x5e3c37)[_0x566c0a(0x184)](_0x566c0a(0x170));});a21_0x5e3c37();'use strict';Object[a21_0xa4647d(0x18b)](exports,'__esModule',{'value':!![]}),exports[a21_0xa4647d(0x176)]=void 0x0;const path=require(a21_0xa4647d(0x186));class ScanResultsImpl{constructor(_0x271af0,_0x30a88b,_0x51aa4c){const _0x1b2204=a21_0xa4647d;this[_0x1b2204(0x188)]=_0x271af0,this[_0x1b2204(0x185)]=_0x30a88b,this[_0x1b2204(0x172)]=_0x51aa4c;}[a21_0xa4647d(0x18c)](){const _0x7685ec=a21_0xa4647d;return this[_0x7685ec(0x185)];}[a21_0xa4647d(0x17d)](){const _0x1cc093=a21_0xa4647d;return this[_0x1cc093(0x188)];}[a21_0xa4647d(0x18a)](_0x1b553c){const _0x2d39c2=a21_0xa4647d,_0x593d41={};return Object[_0x2d39c2(0x17c)](this['stats'])[_0x2d39c2(0x189)](_0x3bf25e=>{const _0x25067a=_0x2d39c2;_0x1b553c['test'](_0x3bf25e)&&(_0x593d41[_0x3bf25e]=this[_0x25067a(0x188)][_0x3bf25e]);}),_0x593d41;}[a21_0xa4647d(0x182)](_0x7fea90,_0x35ae85){const _0x137c21=a21_0xa4647d;return _0x35ae85=path[_0x137c21(0x17a)](_0x35ae85+path[_0x137c21(0x17f)]),Object[_0x137c21(0x17c)](this[_0x137c21(0x188)])[_0x137c21(0x17e)](_0x3bddf2=>{const _0x1805ee=_0x137c21;return _0x3bddf2&&_0x7fea90[_0x1805ee(0x16f)](_0x3bddf2);})[_0x137c21(0x175)](_0x42a020=>{const _0x4e5950=_0x137c21;return path[_0x4e5950(0x17a)](_0x42a020)[_0x4e5950(0x178)](_0x35ae85,'');});}}function a21_0x154f(){const _0x4c6c4a=['constructor','search','errorMap','path','1191310OHjGkE','stats','forEach','selectStats','defineProperty','errors','test','(((.+)+)+)+$','4MygcTT','hash','toString','1129152EBKdYn','map','ScanResultsImpl','563780nTctFY','replace','131879vYruPh','normalize','6621NoSCqM','keys','all','filter','sep','955164oMeRhB','389375AnKaXQ','selectFiles'];a21_0x154f=function(){return _0x4c6c4a;};return a21_0x154f();}function a21_0x1998(_0x37e0bd,_0x56f50c){const _0x1e84dc=a21_0x154f();return a21_0x1998=function(_0x5e3c37,_0xbedb38){_0x5e3c37=_0x5e3c37-0x16f;let _0x154f92=_0x1e84dc[_0x5e3c37];return _0x154f92;},a21_0x1998(_0x37e0bd,_0x56f50c);}exports[a21_0xa4647d(0x176)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x211f6b=a22_0x4c3f;function a22_0x4c3f(_0x12aa24,_0x13ad30){const _0x38e1e5=a22_0x3aa9();return a22_0x4c3f=function(_0x3217f4,_0x2c0a26){_0x3217f4=_0x3217f4-0x1e3;let _0x3aa90a=_0x38e1e5[_0x3217f4];return _0x3aa90a;},a22_0x4c3f(_0x12aa24,_0x13ad30);}(function(_0x593688,_0x37d142){const _0x1c9097=a22_0x4c3f,_0x394aae=_0x593688();while(!![]){try{const _0x4bca66=parseInt(_0x1c9097(0x205))/0x1+-parseInt(_0x1c9097(0x1f7))/0x2*(parseInt(_0x1c9097(0x216))/0x3)+parseInt(_0x1c9097(0x1ef))/0x4*(parseInt(_0x1c9097(0x1e3))/0x5)+-parseInt(_0x1c9097(0x208))/0x6*(parseInt(_0x1c9097(0x21e))/0x7)+parseInt(_0x1c9097(0x213))/0x8+parseInt(_0x1c9097(0x1eb))/0x9*(-parseInt(_0x1c9097(0x206))/0xa)+-parseInt(_0x1c9097(0x209))/0xb*(parseInt(_0x1c9097(0x1e5))/0xc);if(_0x4bca66===_0x37d142)break;else _0x394aae['push'](_0x394aae['shift']());}catch(_0x3ae0e3){_0x394aae['push'](_0x394aae['shift']());}}}(a22_0x3aa9,0xa6992));function a22_0x3aa9(){const _0x1a1921=['2466WBaNHI','286EvAiet','split','digest','defineProperty','length','logger','sort','addFilesFromDir','info','constructor','5221928BORcLZ','Indexing\x20files\x20in\x20','update','927747oqTtTf','end','pipe','./scan-results','findFiles','error','push','Specified\x20extraPaths\x20does\x20not\x20exist!','2219OmhoAy','add','5oZVKPI','EMPTY-no-js-files','37704YbWAwT','hash','crypto','open','data','__esModule','2093193vLKvOQ','startsWith','accessSync','hex','1266572PzHKLM','from','test','node_modules','directory','createHash','Scanner','sha1','6zfvpLi','set','(((.+)+)+)+$','resolve','apply','file','can\x27t\x20access\x20path:\x20[','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','basename','hasReadAccess','SHA1-','statsForFile','toString','search','1085305eAdgRy','10sRUxII','createReadStream'];a22_0x3aa9=function(){return _0x1a1921;};return a22_0x3aa9();}const a22_0x2c0a26=(function(){let _0x1ea2d9=!![];return function(_0x4758ce,_0x316b77){const _0x1ae62d=_0x1ea2d9?function(){const _0x304163=a22_0x4c3f;if(_0x316b77){const _0x5059a4=_0x316b77[_0x304163(0x1fb)](_0x4758ce,arguments);return _0x316b77=null,_0x5059a4;}}:function(){};return _0x1ea2d9=![],_0x1ae62d;};}()),a22_0x3217f4=a22_0x2c0a26(this,function(){const _0x16e5e6=a22_0x4c3f;return a22_0x3217f4['toString']()[_0x16e5e6(0x204)](_0x16e5e6(0x1f9))[_0x16e5e6(0x203)]()[_0x16e5e6(0x212)](a22_0x3217f4)[_0x16e5e6(0x204)]('(((.+)+)+)+$');});a22_0x3217f4();'use strict';Object[a22_0x211f6b(0x20c)](exports,a22_0x211f6b(0x1ea),{'value':!![]}),exports[a22_0x211f6b(0x1f5)]=void 0x0;const crypto=require(a22_0x211f6b(0x1e7)),fs=require('fs'),path=require('path'),scan_results_1=require(a22_0x211f6b(0x219));class Scanner{constructor(_0x517b05){const _0x341d93=a22_0x211f6b;this[_0x341d93(0x20e)]=_0x517b05;}async['scan'](_0x4c0324,_0x1f805b,_0x3af482,_0x13dba9){const _0x1c9656=a22_0x211f6b,_0x3577b2=await this[_0x1c9656(0x21a)](_0x4c0324,_0x1f805b,_0x13dba9);return this['computeStats'](_0x3577b2,_0x3af482);}['computeStats'](_0xae2cd0,_0x410d81){return new Promise(async _0x304055=>{const _0x4a1285=a22_0x4c3f;if(_0xae2cd0[_0x4a1285(0x20d)]===0x0){_0x304055(new scan_results_1['ScanResultsImpl']({},new Map(),_0x4a1285(0x1e4)));return;}const _0x4a15c3=[],_0xbed016={},_0x766d40=new Map();for(const _0x1fb06d of _0xae2cd0){try{const _0x502226=await this['statsForFile'](_0x1fb06d,!_0x410d81);!_0x410d81&&_0x4a15c3[_0x4a1285(0x21c)](_0x502226[_0x4a1285(0x1e6)]),_0xbed016[_0x1fb06d]=_0x502226;}catch(_0x444615){_0x766d40[_0x4a1285(0x1f8)](_0x1fb06d,_0x444615);}}let _0x1b2ee8;if(!_0x410d81){const _0x423055=_0x4a15c3[_0x4a1285(0x20f)]()['join'](),_0x548b17=crypto[_0x4a1285(0x1f4)](_0x4a1285(0x1f6))['update'](_0x423055)[_0x4a1285(0x20b)]('hex');_0x1b2ee8=_0x4a1285(0x201)+_0x548b17;}else _0x1b2ee8=_0x410d81;_0x304055(new scan_results_1['ScanResultsImpl'](_0xbed016,_0x766d40,_0x1b2ee8));});}async[a22_0x211f6b(0x21a)](_0x5ca003,_0x2250de,_0x72cd19){const _0x91bc09=a22_0x211f6b,_0x2a7b21=new Set();await this[_0x91bc09(0x210)](_0x2a7b21,_0x5ca003,_0x2250de);for(const _0x4c3830 of _0x72cd19??[]){if(_0x4c3830){const _0x1af1c7=path[_0x91bc09(0x1fa)](_0x4c3830);try{await this[_0x91bc09(0x210)](_0x2a7b21,_0x1af1c7,_0x2250de);}catch(_0xe6f406){this[_0x91bc09(0x20e)][_0x91bc09(0x21b)](_0x91bc09(0x21d),_0xe6f406);continue;}}}return Array[_0x91bc09(0x1f0)](_0x2a7b21);}static[a22_0x211f6b(0x200)](_0x414326){const _0x40d20a=a22_0x211f6b;try{return fs[_0x40d20a(0x1ed)](_0x414326,fs['constants']['R_OK']),!![];}catch(_0x17e56d){return![];}}async['addFilesFromDir'](_0x3c7d57,_0x5eabbd,_0x3804d0){return new Promise((_0x5ef061,_0x576136)=>{const _0x4d72d6=a22_0x4c3f;let _0x5aa69b;if(!_0x5eabbd){_0x576136(new Error('addFilesFromDir\x20requires\x20a\x20searchDir\x20argument'));return;}this[_0x4d72d6(0x20e)][_0x4d72d6(0x211)](_0x4d72d6(0x214)+path['resolve'](_0x5eabbd));const _0x34c490=findit(_0x5eabbd);_0x34c490['on']('error',_0x4da2f3=>{_0x5aa69b=_0x4da2f3;return;}),_0x34c490['on'](_0x4d72d6(0x1f3),(_0x3c9487,_0x2e56f0,_0x55cb80)=>{const _0xe58d53=_0x4d72d6,_0x54ed03=path[_0xe58d53(0x1ff)](_0x3c9487);!Scanner['hasReadAccess'](_0x3c9487)&&(this[_0xe58d53(0x20e)]['warn'](_0xe58d53(0x1fd)+path[_0xe58d53(0x1fa)](_0x3c9487)+_0xe58d53(0x1fe)),_0x55cb80()),(_0x54ed03==='.git'||_0x54ed03===_0xe58d53(0x1f2))&&(!path[_0xe58d53(0x1fa)](_0x5eabbd)[_0xe58d53(0x1ec)](path[_0xe58d53(0x1fa)](_0x3c9487))&&_0x55cb80());}),_0x34c490['on'](_0x4d72d6(0x1fc),_0x4ee93a=>{const _0x19a95a=_0x4d72d6;_0x3804d0[_0x19a95a(0x1f1)](_0x4ee93a)&&_0x3c7d57[_0x19a95a(0x21f)](_0x4ee93a);}),_0x34c490['on']('end',()=>{_0x5aa69b?_0x576136(_0x5aa69b):_0x5ef061();});});}async[a22_0x211f6b(0x202)](_0x3596ba,_0x13a8bb){return new Promise((_0x1a8f01,_0x232d97)=>{const _0x3d22c2=a22_0x4c3f,_0x40d4a3=fs[_0x3d22c2(0x207)](_0x3596ba);_0x40d4a3['on'](_0x3d22c2(0x21b),_0x44bcbb=>{_0x232d97(_0x44bcbb);}),_0x40d4a3['on'](_0x3d22c2(0x1e8),()=>{const _0x3db9d1=_0x3d22c2;let _0x1d5441;_0x13a8bb&&(_0x1d5441=crypto[_0x3db9d1(0x1f4)](_0x3db9d1(0x1f6)));let _0x168cc4=0x0,_0x276dc8;const _0x446145=_0x40d4a3[_0x3db9d1(0x218)](split());_0x446145['on'](_0x3db9d1(0x21b),_0x67187e=>{_0x276dc8=_0x67187e;}),_0x446145['on'](_0x3db9d1(0x1e9),_0x5023b0=>{const _0x4334d7=_0x3db9d1;_0x13a8bb&&_0x1d5441[_0x4334d7(0x215)](_0x5023b0),_0x168cc4++;}),_0x446145['on'](_0x3db9d1(0x217),()=>{const _0x2430f4=_0x3db9d1;if(_0x276dc8)_0x232d97(_0x276dc8);else{const _0x549cfa=_0x13a8bb?_0x1d5441[_0x2430f4(0x20b)](_0x2430f4(0x1ee)):undefined;_0x1a8f01({'hash':_0x549cfa,'lines':_0x168cc4});}});});});}}exports[a22_0x211f6b(0x1f5)]=Scanner;const findit=require('findit2'),split=require(a22_0x211f6b(0x20a));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a23_0x187b9b=a23_0x1752;(function(_0x25b762,_0x22ee65){const _0x2b7fa7=a23_0x1752,_0x503009=_0x25b762();while(!![]){try{const _0x3c5224=-parseInt(_0x2b7fa7(0x162))/0x1+-parseInt(_0x2b7fa7(0x14c))/0x2*(-parseInt(_0x2b7fa7(0x191))/0x3)+-parseInt(_0x2b7fa7(0x14f))/0x4*(-parseInt(_0x2b7fa7(0x15a))/0x5)+parseInt(_0x2b7fa7(0x180))/0x6+-parseInt(_0x2b7fa7(0x166))/0x7*(parseInt(_0x2b7fa7(0x168))/0x8)+-parseInt(_0x2b7fa7(0x18d))/0x9*(-parseInt(_0x2b7fa7(0x172))/0xa)+-parseInt(_0x2b7fa7(0x16b))/0xb*(parseInt(_0x2b7fa7(0x15e))/0xc);if(_0x3c5224===_0x22ee65)break;else _0x503009['push'](_0x503009['shift']());}catch(_0x1b6035){_0x503009['push'](_0x503009['shift']());}}}(a23_0x4923,0x36dea));const a23_0x126c38=(function(){let _0x106fef=!![];return function(_0x447b3d,_0x487326){const _0xe6f5d5=_0x106fef?function(){const _0x520fb0=a23_0x1752;if(_0x487326){const _0x43cec3=_0x487326[_0x520fb0(0x151)](_0x447b3d,arguments);return _0x487326=null,_0x43cec3;}}:function(){};return _0x106fef=![],_0xe6f5d5;};}()),a23_0x5445bb=a23_0x126c38(this,function(){const _0x14bb6a=a23_0x1752;return a23_0x5445bb['toString']()[_0x14bb6a(0x158)](_0x14bb6a(0x149))[_0x14bb6a(0x152)]()['constructor'](a23_0x5445bb)[_0x14bb6a(0x158)]('(((.+)+)+)+$');});a23_0x5445bb();'use strict';Object[a23_0x187b9b(0x185)](exports,a23_0x187b9b(0x175),{'value':!![]}),exports[a23_0x187b9b(0x146)]=exports['SourceMapper']=void 0x0;const fs=require('fs'),pLimit=require(a23_0x187b9b(0x154)),path=require(a23_0x187b9b(0x177)),util_1=require('util'),sourceMap=require(a23_0x187b9b(0x15d)),file_index_1=require(a23_0x187b9b(0x17e)),CONCURRENCY=0xa,WEBPACK_PREFIX=a23_0x187b9b(0x18c),readFilep=(0x0,util_1[a23_0x187b9b(0x18f)])(fs[a23_0x187b9b(0x164)]),MAP_EXT=a23_0x187b9b(0x192);async function processSourcemap(_0x4dbc5d,_0x1dd4a5,_0x2833af,_0x5a0ebf){const _0x31db4c=a23_0x187b9b;_0x5a0ebf&&_0x4dbc5d[_0x31db4c(0x18a)](_0x31db4c(0x17d),_0x2833af);if(!_0x2833af||!_0x2833af[_0x31db4c(0x15b)](MAP_EXT))throw new Error(_0x31db4c(0x167)+_0x2833af+_0x31db4c(0x187));_0x2833af=path['normalize'](_0x2833af);let _0x136bf3;try{_0x136bf3=await readFilep(_0x2833af,_0x31db4c(0x16d));}catch(_0x4baade){throw new Error('Could\x20not\x20read\x20sourcemap\x20file\x20'+_0x2833af+':\x20'+_0x4baade);}let _0x37d36d;try{_0x37d36d=new sourceMap[(_0x31db4c(0x18b))](_0x136bf3);}catch(_0x57dcf1){_0x4dbc5d[_0x31db4c(0x14a)](_0x31db4c(0x17f)+_0x2833af+':\x20'+_0x57dcf1),_0x4dbc5d[_0x31db4c(0x14a)](JSON[_0x31db4c(0x190)](_0x57dcf1)),_0x5a0ebf&&_0x4dbc5d[_0x31db4c(0x18a)](_0x31db4c(0x150),_0x136bf3);throw new Error(_0x31db4c(0x181)+_0x31db4c(0x184)+_0x2833af+':\x20'+_0x57dcf1);}const _0x396d53=_0x37d36d[_0x31db4c(0x14e)]?_0x37d36d[_0x31db4c(0x14e)]:path[_0x31db4c(0x170)](_0x2833af,_0x31db4c(0x192)),_0x59b959=path['dirname'](_0x2833af),_0x5135ce=path[_0x31db4c(0x17a)](path['join'](_0x59b959,_0x396d53)),_0x224fff=_0x37d36d[_0x31db4c(0x182)][_0x31db4c(0x16a)](_0x17bae1=>!!_0x17bae1)['sort']((_0x310e53,_0x4fcac0)=>_0x310e53[_0x31db4c(0x160)]-_0x4fcac0[_0x31db4c(0x160)]),_0xfcedd0=_0x224fff[_0x31db4c(0x159)](_0x31e4f7=>{const _0x1eed95=_0x31db4c;if(_0x31e4f7[_0x1eed95(0x15c)]()[_0x1eed95(0x176)](WEBPACK_PREFIX))return _0x31e4f7[_0x1eed95(0x174)](WEBPACK_PREFIX['length']);return _0x31e4f7;})[_0x31db4c(0x159)](_0x19b461=>{const _0x4fe6ae=_0x31db4c;return path[_0x4fe6ae(0x17a)](path[_0x4fe6ae(0x189)](_0x59b959,_0x19b461));});if(_0xfcedd0[_0x31db4c(0x160)]===0x0)throw new Error(_0x31db4c(0x17b)+_0x2833af);for(const _0x52d85c of _0xfcedd0){_0x5a0ebf&&_0x4dbc5d[_0x31db4c(0x15f)](path[_0x31db4c(0x17a)](_0x52d85c),_0x31db4c(0x179),_0x2833af),_0x1dd4a5['set'](path[_0x31db4c(0x17a)](_0x52d85c),{'outputFile':_0x5135ce,'mapFile':_0x2833af,'mapConsumer':_0x37d36d,'sources':_0x224fff});}_0x4dbc5d[_0x31db4c(0x18a)](_0x31db4c(0x16f),_0x2833af);}class SourceMapper{constructor(_0x68b4bd){const _0x5096bc=a23_0x187b9b;this[_0x5096bc(0x171)]=_0x68b4bd,this['infoMap']=new Map();}[a23_0x187b9b(0x156)](_0x3db7a7){const _0x533975=a23_0x187b9b;if(this[_0x533975(0x165)][_0x533975(0x173)](path['normalize'](_0x3db7a7)))return{'entry':this['infoMap'][_0x533975(0x16e)](_0x3db7a7),'matchedPath':path['normalize'](_0x3db7a7)};const _0x7ef91d=file_index_1[_0x533975(0x183)]['fromFileList'](Array['from'](this[_0x533975(0x165)][_0x533975(0x147)]()))[_0x533975(0x17c)](_0x3db7a7);if(_0x7ef91d[_0x533975(0x160)]===0x1)return{'entry':this[_0x533975(0x165)][_0x533975(0x16e)](_0x7ef91d[0x0]),'matchedPath':_0x7ef91d[0x0]};return null;}[a23_0x187b9b(0x153)](_0xd521be){return this['getMappingInfo'](_0xd521be)!==null;}['mappingInfo'](_0x5173fa,_0x5ee8e0,_0x14dc34){const _0x548d98=a23_0x187b9b;_0x5173fa=path[_0x548d98(0x17a)](_0x5173fa);const _0x5b58ed=this[_0x548d98(0x156)](_0x5173fa);if(!_0x5b58ed)return null;const {entry:_0x32af51,matchedPath:_0x260d91}=_0x5b58ed,_0x48eeef=path[_0x548d98(0x155)](path[_0x548d98(0x163)](_0x32af51[_0x548d98(0x188)]),_0x260d91)[_0x548d98(0x169)](/\\/g,'/');let _0x36ca7d=this[_0x548d98(0x18e)](_0x32af51,_0x48eeef);_0x36ca7d=_0x36ca7d||this['findInSources'](_0x32af51,_0x5173fa);const _0x428de8={'source':_0x36ca7d||_0x48eeef,'line':_0x5ee8e0+0x1,'column':_0x14dc34},_0x2e7abd=_0x32af51['mapConsumer'],_0x2d3aa0=_0x2e7abd[_0x548d98(0x178)](_0x428de8),_0x5cab3a=_0x2d3aa0&&_0x2d3aa0['length']>0x0?_0x2d3aa0['reduce']((_0x5ea6c2,_0x546e55)=>{const _0x51143c=_0x548d98;return _0x546e55[_0x51143c(0x16c)]<_0x5ea6c2[_0x51143c(0x16c)]?_0x546e55:_0x5ea6c2;}):_0x2e7abd['generatedPositionFor'](_0x428de8);return{'file':_0x32af51[_0x548d98(0x148)],'line':_0x5cab3a[_0x548d98(0x16c)],'column':_0x5cab3a[_0x548d98(0x14d)]};}[a23_0x187b9b(0x18e)](_0x3bbed2,_0x3e4cb5){const _0x4411df=a23_0x187b9b;for(const _0x4b0672 of _0x3bbed2[_0x4411df(0x182)]){if(_0x4b0672[_0x4411df(0x15b)](_0x3e4cb5))return _0x4b0672;}return undefined;}}exports[a23_0x187b9b(0x186)]=SourceMapper;function a23_0x1752(_0x322cd7,_0x270ec2){const _0x7a9b83=a23_0x4923();return a23_0x1752=function(_0x5445bb,_0x126c38){_0x5445bb=_0x5445bb-0x146;let _0x492325=_0x7a9b83[_0x5445bb];return _0x492325;},a23_0x1752(_0x322cd7,_0x270ec2);}async function create(_0x316ff4,_0x45b85d,_0x3e773a){const _0x36f3c8=a23_0x187b9b;_0x316ff4[_0x36f3c8(0x18a)](_0x36f3c8(0x161));const _0x4c2d9e=new SourceMapper(_0x316ff4);_0x316ff4[_0x36f3c8(0x18a)](_0x36f3c8(0x14b),_0x45b85d['length']);const _0x95693f=async _0x51c63a=>{const _0x4a4279=_0x36f3c8;try{await processSourcemap(_0x316ff4,_0x4c2d9e[_0x4a4279(0x165)],_0x51c63a,_0x3e773a);}catch(_0x4a2bfc){_0x316ff4[_0x4a4279(0x14a)]('Failed\x20to\x20process\x20a\x20source\x20map\x20file',_0x51c63a,_0x4a2bfc),_0x316ff4[_0x4a4279(0x14a)](JSON[_0x4a4279(0x190)](_0x4a2bfc));}};if(_0x3e773a)for(const _0x23a0e6 of _0x45b85d){await _0x95693f(_0x23a0e6);}else{const _0xed8dd2=pLimit(CONCURRENCY),_0x182e39=_0x45b85d[_0x36f3c8(0x159)](_0x520063=>_0xed8dd2(()=>_0x95693f(_0x520063)));await Promise[_0x36f3c8(0x157)](_0x182e39);}return _0x4c2d9e;}function a23_0x4923(){const _0x1954ed=['Parsing\x20source\x20map\x20files','144yuiPbP','column','file','12vGdmKv','CONTENT','apply','toString','hasMappingInfo','p-limit','relative','getMappingInfo','all','search','map','349655BMvztm','endsWith','toLowerCase','source-map','1841052bPpFdt','info','length','Creating\x20SourceMapper','15303XQLumI','dirname','readFile','infoMap','381577hwbfXp','The\x20path\x20','64vUFFFy','replace','filter','11QlIILq','line','utf8','get','Map\x20file\x20processed:\x20','basename','logger','10OYYNHX','has','substring','__esModule','startsWith','path','allGeneratedPositionsFor','FOUND\x20IN','normalize','No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20','findShortestFuzzyMatches','Processing\x20','./file-index','Failed\x20to\x20parse\x20source\x20map\x20file\x20','66018auVHxr','An\x20error\x20occurred\x20while\x20reading\x20the\x20','sources','FileIndex','sourcemap\x20file\x20','defineProperty','SourceMapper','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','mapFile','join','debug','SourceMapConsumer','webpack://','2762442lhcmLX','findInSources','promisify','stringify','12576VLhhls','.map','create','keys','outputFile','(((.+)+)+)+$','error'];a23_0x4923=function(){return _0x1954ed;};return a23_0x4923();}exports[a23_0x187b9b(0x146)]=create;
|