lightrun 1.54.1 → 1.54.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a15_0x2173a7=a15_0x1838;(function(_0x315b28,_0x246cf2){const _0x18f96f=a15_0x1838,_0x53718e=_0x315b28();while(!![]){try{const _0x567133=parseInt(_0x18f96f(0x122))/0x1+parseInt(_0x18f96f(0x142))/0x2*(-parseInt(_0x18f96f(0x124))/0x3)+parseInt(_0x18f96f(0x12b))/0x4*(parseInt(_0x18f96f(0x143))/0x5)+parseInt(_0x18f96f(0x131))/0x6+parseInt(_0x18f96f(0x125))/0x7*(-parseInt(_0x18f96f(0x123))/0x8)+-parseInt(_0x18f96f(0x133))/0x9+-parseInt(_0x18f96f(0x120))/0xa;if(_0x567133===_0x246cf2)break;else _0x53718e['push'](_0x53718e['shift']());}catch(_0x17cefa){_0x53718e['push'](_0x53718e['shift']());}}}(a15_0x15f4,0xb42f7));const a15_0x2d8fd0=(function(){let _0x121661=!![];return function(_0x58039e,_0x153ed3){const _0x26575c=_0x121661?function(){if(_0x153ed3){const _0x500c6a=_0x153ed3['apply'](_0x58039e,arguments);return _0x153ed3=null,_0x500c6a;}}:function(){};return _0x121661=![],_0x26575c;};}()),a15_0x34888c=a15_0x2d8fd0(this,function(){const _0x50bbcb=a15_0x1838;return a15_0x34888c[_0x50bbcb(0x149)]()[_0x50bbcb(0x12a)](_0x50bbcb(0x114))[_0x50bbcb(0x149)]()[_0x50bbcb(0x111)](a15_0x34888c)[_0x50bbcb(0x12a)](_0x50bbcb(0x114));});a15_0x34888c();'use strict';function a15_0x1838(_0x1f6492,_0x2d6865){const _0x222bd3=a15_0x15f4();return a15_0x1838=function(_0x34888c,_0x2d8fd0){_0x34888c=_0x34888c-0x10b;let _0x15f444=_0x222bd3[_0x34888c];return _0x15f444;},a15_0x1838(_0x1f6492,_0x2d6865);}function a15_0x15f4(){const _0x28f978=['__esModule','path','LIGHTRUN_PROXY_HOST','registration','LIGHTRUN_PROXY_PASSWORD','filter','../util/utils','AGENT_LOG_MAX_FILE_COUNT','agentLog','AGENT_LOG_MAX_FILE_SIZE_MB','664186wpwZNp','120KCNOnR','serviceContext','LIGHTRUN_API_ENDPOINT','defineProperty','split','message','toString','./getAgentConfig','agentConfigFile','agentLogTargetDir','configSchema','agentLogLevel','K_REVISION','GAE_MINOR_VERSION','version','inner','getAgentConfig','FUNCTION_NAME','constructor','metadata','validateConfig','(((.+)+)+)+$','../config','getBooleanValue','LIGHTRUN_AGENT_CONFIG','GAE_MODULE_NAME','validateSync','NO_CHECK_CERTIFICATE','FETCH_BREAKPOINTS_ONCE','K_SERVICE','unversioned','GAE_DEPLOYMENT_ID','LIGHTRUN_METADATA_FILE','9155610KDgnOi','LIGHTRUN_WAIT_FOR_INIT','673571btboiz','1334376UryMec','6cnFuPp','21BuytKY','agentLogMaxFileSizeMb','AGENT_LOG_LEVEL','LIGHTRUN_INIT_WAIT_TIME_MS','normalizeConfig','search','232144kNILmy','agentLogMaxFileCount','service','GAE_SERVICE','LIGHTRUN_STD_ERR_THRESHOLD','LIGHTRUN_PROXY_PORT','6763062FMRegv','LIGHTRUN_SECRET','3378915DHiLSD','GAE_VERSION','LIGHTRUN_TAGS','forEach','env'];a15_0x15f4=function(){return _0x28f978;};return a15_0x15f4();}Object[a15_0x2173a7(0x146)](exports,a15_0x2173a7(0x138),{'value':!![]}),exports[a15_0x2173a7(0x129)]=exports[a15_0x2173a7(0x113)]=void 0x0;const extend=require('extend'),config_1=require(a15_0x2173a7(0x115)),utils_1=require(a15_0x2173a7(0x13e)),getAgentConfig_1=require(a15_0x2173a7(0x14a)),validateConfig=_0x892393=>{const _0x203c7f=a15_0x2173a7,_0x8a3fa1={};try{config_1[_0x203c7f(0x14d)][_0x203c7f(0x119)](_0x892393,{'abortEarly':![]});}catch(_0x646075){_0x646075[_0x203c7f(0x10e)][_0x203c7f(0x13d)](_0x333cfc=>_0x333cfc[_0x203c7f(0x139)]&&_0x333cfc[_0x203c7f(0x148)])[_0x203c7f(0x136)](_0x5389db=>{const _0x2b3f9c=_0x203c7f;_0x8a3fa1[_0x5389db['path']]=_0x5389db[_0x2b3f9c(0x148)];});}return _0x8a3fa1;};exports[a15_0x2173a7(0x113)]=validateConfig;const normalizeConfig=_0x264dcb=>{const _0x9f43fa=a15_0x2173a7,_0x44a50a={'serviceContext':{'service':process[_0x9f43fa(0x137)][_0x9f43fa(0x12e)]||process[_0x9f43fa(0x137)][_0x9f43fa(0x118)]||process[_0x9f43fa(0x137)][_0x9f43fa(0x11c)],'version':process['env'][_0x9f43fa(0x134)]||process[_0x9f43fa(0x137)]['GAE_MODULE_VERSION']||process[_0x9f43fa(0x137)][_0x9f43fa(0x10b)],'minorVersion_':process['env'][_0x9f43fa(0x11e)]||process[_0x9f43fa(0x137)][_0x9f43fa(0x10c)]},'metadata':{'filename':process['env'][_0x9f43fa(0x11f)],'registration':{}},'lightrunSecret':process[_0x9f43fa(0x137)][_0x9f43fa(0x132)],'apiEndpoint':process[_0x9f43fa(0x137)][_0x9f43fa(0x145)],'noCheckCertificate':(0x0,utils_1[_0x9f43fa(0x116)])(process[_0x9f43fa(0x137)][_0x9f43fa(0x11a)]),'fetchBreakpointsOnce':(0x0,utils_1['getBooleanValue'])(process[_0x9f43fa(0x137)][_0x9f43fa(0x11b)]),'lightrunWaitForInit':(0x0,utils_1[_0x9f43fa(0x116)])(process[_0x9f43fa(0x137)][_0x9f43fa(0x121)]),'lightrunInitWaitTimeMs':process['env'][_0x9f43fa(0x128)],'agentLog':_0x264dcb?.[_0x9f43fa(0x140)]||{},'proxy':{'host':process[_0x9f43fa(0x137)][_0x9f43fa(0x13a)],'port':parseInt(process[_0x9f43fa(0x137)][_0x9f43fa(0x130)]||'')||undefined,'username':process[_0x9f43fa(0x137)]['LIGHTRUN_PROXY_USERNAME'],'password':process[_0x9f43fa(0x137)][_0x9f43fa(0x13c)]}};process[_0x9f43fa(0x137)]['LIGHTRUN_STD_ERR_THRESHOLD']!==undefined&&(_0x44a50a[_0x9f43fa(0x140)]['stdErrThreshold']=process[_0x9f43fa(0x137)][_0x9f43fa(0x12f)]);process['env'][_0x9f43fa(0x127)]!==undefined&&(_0x44a50a['agentLog'][_0x9f43fa(0x14e)]=process[_0x9f43fa(0x137)][_0x9f43fa(0x127)]);process[_0x9f43fa(0x137)]['AGENT_LOG_TARGET_DIR']!==undefined&&(_0x44a50a[_0x9f43fa(0x140)][_0x9f43fa(0x14c)]=process['env']['AGENT_LOG_TARGET_DIR']);process[_0x9f43fa(0x137)][_0x9f43fa(0x13f)]!==undefined&&(_0x44a50a[_0x9f43fa(0x140)][_0x9f43fa(0x12c)]=parseInt(process[_0x9f43fa(0x137)][_0x9f43fa(0x13f)]));process[_0x9f43fa(0x137)][_0x9f43fa(0x141)]!==undefined&&(_0x44a50a[_0x9f43fa(0x140)][_0x9f43fa(0x126)]=parseInt(process['env'][_0x9f43fa(0x141)]));process[_0x9f43fa(0x137)][_0x9f43fa(0x110)]&&(_0x44a50a[_0x9f43fa(0x144)][_0x9f43fa(0x12d)]=process['env'][_0x9f43fa(0x110)],_0x44a50a[_0x9f43fa(0x144)][_0x9f43fa(0x10d)]=_0x9f43fa(0x11d));process[_0x9f43fa(0x137)]['LIGHTRUN_TAGS']&&(_0x44a50a[_0x9f43fa(0x112)][_0x9f43fa(0x13b)]={'tags':process[_0x9f43fa(0x137)][_0x9f43fa(0x135)][_0x9f43fa(0x147)](',')});const _0x173403=(0x0,getAgentConfig_1[_0x9f43fa(0x10f)])(process[_0x9f43fa(0x137)][_0x9f43fa(0x117)]||_0x264dcb?.[_0x9f43fa(0x14b)]||config_1['defaultConfig'][_0x9f43fa(0x14b)]),_0x3d4934=extend(!![],{},config_1['defaultConfig'],_0x173403,_0x264dcb,_0x44a50a),_0x48800b=(0x0,exports[_0x9f43fa(0x113)])(_0x3d4934);return{..._0x3d4934,'errors':_0x48800b};};exports[a15_0x2173a7(0x129)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x1cf419=a16_0x2726;(function(_0x3eac80,_0x348009){const _0x466aa3=a16_0x2726,_0x3c37de=_0x3eac80();while(!![]){try{const _0x1e541c=-parseInt(_0x466aa3(0x15b))/0x1+parseInt(_0x466aa3(0x15e))/0x2*(parseInt(_0x466aa3(0x162))/0x3)+parseInt(_0x466aa3(0x15c))/0x4+-parseInt(_0x466aa3(0x165))/0x5+-parseInt(_0x466aa3(0x164))/0x6+-parseInt(_0x466aa3(0x166))/0x7+-parseInt(_0x466aa3(0x163))/0x8*(-parseInt(_0x466aa3(0x15d))/0x9);if(_0x1e541c===_0x348009)break;else _0x3c37de['push'](_0x3c37de['shift']());}catch(_0x53c3e5){_0x3c37de['push'](_0x3c37de['shift']());}}}(a16_0x2165,0x23cde));const a16_0x2e9b71=(function(){let _0x28990c=!![];return function(_0x1c7efd,_0x263448){const _0x4f7372=_0x28990c?function(){if(_0x263448){const _0x9c98a3=_0x263448['apply'](_0x1c7efd,arguments);return _0x263448=null,_0x9c98a3;}}:function(){};return _0x28990c=![],_0x4f7372;};}()),a16_0x44150f=a16_0x2e9b71(this,function(){const _0x519790=a16_0x2726;return a16_0x44150f['toString']()['search'](_0x519790(0x169))[_0x519790(0x16a)]()[_0x519790(0x16b)](a16_0x44150f)[_0x519790(0x167)](_0x519790(0x169));});function a16_0x2165(){const _0x256698=['650208CNyePO','1038078IUuXvL','3872EPyzPF','tokenize','delimit','push','279EtnqAK','16mwXOok','1407018WyMlmS','526330roWWnn','524741WRAEEo','search','__esModule','(((.+)+)+)+$','toString','constructor','11898uPmklG'];a16_0x2165=function(){return _0x256698;};return a16_0x2165();}a16_0x44150f();'use strict';function a16_0x2726(_0xbfea1f,_0x3c14d9){const _0x5551db=a16_0x2165();return a16_0x2726=function(_0x44150f,_0x2e9b71){_0x44150f=_0x44150f-0x15b;let _0x216520=_0x5551db[_0x44150f];return _0x216520;},a16_0x2726(_0xbfea1f,_0x3c14d9);}Object['defineProperty'](exports,a16_0x1cf419(0x168),{'value':!![]}),exports[a16_0x1cf419(0x15f)]=void 0x0;const delimit_1=require('./delimit'),tokenize=(_0x39afd6,_0x3dd19f)=>{const _0x2230b4=a16_0x1cf419;let _0x2e4110=(0x0,delimit_1['delimit'])(_0x39afd6,'$$');for(let _0x5793d7=_0x3dd19f-0x1;_0x5793d7>=0x0;_0x5793d7--){const _0x4e7d61=[];for(let _0x323233=0x0;_0x323233<_0x2e4110['length'];_0x323233++){_0x2e4110[_0x323233]['v']?_0x4e7d61[_0x2230b4(0x161)](_0x2e4110[_0x323233]):_0x4e7d61[_0x2230b4(0x161)](...(0x0,delimit_1[_0x2230b4(0x160)])(_0x2e4110[_0x323233],'$'+_0x5793d7));}_0x2e4110=_0x4e7d61;}return _0x2e4110;};exports[a16_0x1cf419(0x15f)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x24e0f4=a17_0x1c74;(function(_0x56ea8f,_0x5776ee){const _0x1484b0=a17_0x1c74,_0x5ef982=_0x56ea8f();while(!![]){try{const _0x3ed20d=-parseInt(_0x1484b0(0x284))/0x1*(-parseInt(_0x1484b0(0x218))/0x2)+parseInt(_0x1484b0(0x234))/0x3*(parseInt(_0x1484b0(0x267))/0x4)+parseInt(_0x1484b0(0x2ac))/0x5*(parseInt(_0x1484b0(0x235))/0x6)+parseInt(_0x1484b0(0x27a))/0x7+-parseInt(_0x1484b0(0x2ab))/0x8+-parseInt(_0x1484b0(0x269))/0x9+parseInt(_0x1484b0(0x28b))/0xa*(-parseInt(_0x1484b0(0x1ed))/0xb);if(_0x3ed20d===_0x5776ee)break;else _0x5ef982['push'](_0x5ef982['shift']());}catch(_0x34a61e){_0x5ef982['push'](_0x5ef982['shift']());}}}(a17_0x4508,0x347aa));const a17_0x588be6=(function(){let _0x12079e=!![];return function(_0x1d7157,_0x338424){const _0x5ae4aa=_0x12079e?function(){if(_0x338424){const _0x2f67ee=_0x338424['apply'](_0x1d7157,arguments);return _0x338424=null,_0x2f67ee;}}:function(){};return _0x12079e=![],_0x5ae4aa;};}()),a17_0x478aa7=a17_0x588be6(this,function(){const _0x38efcf=a17_0x1c74;return a17_0x478aa7[_0x38efcf(0x1f6)]()[_0x38efcf(0x2d8)](_0x38efcf(0x256))['toString']()[_0x38efcf(0x2db)](a17_0x478aa7)['search'](_0x38efcf(0x256));});a17_0x478aa7();function a17_0x4508(){const _0x3e28d0=['createTime','\x09remove\x20breakpoint','condition','6gJwbAJ','has','Debuglet\x20not\x20running','mapSubtract','all','getBlocklist','Result:\x20\x0a','set','Private\x20method\x20is\x20not\x20writable','clear','now','isReady','breakpointUpdateIntervalSec','GAE_MINOR_VERSION','createPerBreakpointConditionQuota','create','breakpoints_fetched','pipingStatus','UNSPECIFIED','collectLogRequestId','quota','js.map','\x09Long\x20poll\x20completed.','log','capture','.\x20message:\x20','utf8','isReadyManager','1983GAAURK','12vmMSyO','mapFiles','error','agentLogTargetDir','existsSync','globalPipingStatus','Error\x20processing\x20the\x20sourcemaps.','quotaCheck','PipingManager','resolve','./v8/debugapi','./debuglet-helpers/normalizeConfig','selectStats','.\x20Error:\x20','./agent-logger','\x20because\x20','events','EventEmitter','ConfigurationProvider','REDACTED_PLACEHOLDER','\x09adding\x20breakpoint','blacklist','isError','fetcherActive','collectAndSendLog','undefined','QuotaManager','getRedactions','debuglet','promise','expirationTime','concat','registered','(((.+)+)+)+$','promiseResolve','do\x20this.','Stopping\x20Debuglet','hash','add','NODE_VERSION_MESSAGE','Breakpoint','pipeLogs','stopped','register','Malformed\x20source-context.json\x20file:\x20','stdErrThreshold','extraPaths','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','promisify','action','1396oRHeuw','APP_ONLY','1425492OhcZmU','\x20completed.','env','workingDirectory','remotelyDisabled','fromFileStats','Registered\x20as\x20debuggee:\x20','location','setPipingStatus','activeBreakpointMap','function','then','forEach','version','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','Registering\x20debuggee','posix','2151107lXzBoA','./configuration-provider','split','Working\x20directory:\x20','object','parameters','agentLogMaxFileCount','./io/scanner','length','Found\x20breakpoint\x20with\x20invalid\x20action:','55399lSmuFI','BREAKPOINT_ACTION_MESSAGE','keys','Expiring\x20breakpoint','stringify','backoff','removeBreakpoint','30KcLMjl','../types/stackdriver','prettyError','selectFiles','FileIndex','NODE_10_CIRC_REF_MESSAGE','info','SIGTERM','\x20caseInsensitive:\x20','Server\x20breakpoints:\x0a','errors','GAE-','./debuglet-helpers/format','shouldRedactByName','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','pattern','>=12','sep','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','./piping-manager','values','./io/file-index','clearTransmissionTimeout','agentLog','pipingManager','message','unref','map','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','replace','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','822968EVCObP','241415UcUowC','enable','allowRootAsWorkingDirectory','debug','ALLOW_EXPRESSIONS_MESSAGE','initError','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','\x0a\x09condition:\x20','internal','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','findFiles','createDebuggee','NOT_SET','remainingHits','logger','pid','join','__esModule','ignoreQuota','Scheduling\x20registration\x20in\x20','./util/utils','kill','debuggee','packageInfo','setIgnoreQuota','name','clientConnectionTimeoutInSeconds','EnvironmentMetadata','\x20accepted\x20by\x20agent','isArray','mainModule','push','call','./config','\x09Notifying\x20server\x20about\x20error\x20for\x20','filter','LOG','filename','SIGINT','):\x20pattern:\x20','quotaRecoverySeconds','deregister','description','extend','search','normalize','sourceContext','constructor','Blacklist\x20Exceptions:\x20\x0a\x09','javascriptFileExtensions','Failed\x20to\x20register\x20debuggee:\x20','breakpoints','seconds','entries','getProps','expirationSeconds','stop','inspect','disable','isOutOfQuota','CachedPromise','./reduction/redaction-manager','reporting\x20breakpoint\x20','redactionEnabled','format','Scanner','Initializing\x20Node.js\x20agent\x20version:\x20','getSourceContextFromFile','started','\x20(type:\x20','removePerBreakpointQuota','get','1189980FaOZWq','readFullVersion','./reduction/redaction-manager-re2js','enqueueBreakpointUpdate','__classPrivateFieldGet','status','Switching\x20globalPiping\x20status\x20from\x20','satisfies','Debuggee\x20is\x20not\x20registered','toString','logMainConfigParams','StatusMessage','__classPrivateFieldSet','CAPTURE','Debuglet','sendAgentLogsToServer','start','once','LOGPOINT:\x20','.\x20Retrying\x20in\x20','bind','config','isRunning','fetchBreakpointsOnce','./debuglet-helpers/mapSubtract','assert','Error\x20scanning\x20the\x20filesystem.','\x20to\x20','breakpointExpirationSec','./blocklisting/patterns-blocklist-manager','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','./controller','path','rejecting\x20breakpoint','getMaxSnapshotBufferSize','default','maxRequestRetryDelaySeconds','\x09Got\x20error\x20from\x20server.\x20status:\x20','emit','warn'];a17_0x4508=function(){return _0x3e28d0;};return a17_0x4508();}'use strict';var __classPrivateFieldSet=this&&this[a17_0x24e0f4(0x1f9)]||function(_0x30b41f,_0x2038f2,_0x5a1f10,_0x1e37af,_0x5c7ea1){const _0x40c641=a17_0x24e0f4;if(_0x1e37af==='m')throw new TypeError(_0x40c641(0x220));if(_0x1e37af==='a'&&!_0x5c7ea1)throw new TypeError(_0x40c641(0x2b2));if(typeof _0x2038f2===_0x40c641(0x273)?_0x30b41f!==_0x2038f2||!_0x5c7ea1:!_0x2038f2[_0x40c641(0x219)](_0x30b41f))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x1e37af==='a'?_0x5c7ea1[_0x40c641(0x2cc)](_0x30b41f,_0x5a1f10):_0x5c7ea1?_0x5c7ea1['value']=_0x5a1f10:_0x2038f2[_0x40c641(0x21f)](_0x30b41f,_0x5a1f10),_0x5a1f10;},__classPrivateFieldGet=this&&this[a17_0x24e0f4(0x1f1)]||function(_0x1179ea,_0x2382e4,_0x3361bd,_0x28db38){const _0x40a97e=a17_0x24e0f4;if(_0x3361bd==='a'&&!_0x28db38)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x2382e4===_0x40a97e(0x273)?_0x1179ea!==_0x2382e4||!_0x28db38:!_0x2382e4['has'](_0x1179ea))throw new TypeError(_0x40a97e(0x20b));return _0x3361bd==='m'?_0x28db38:_0x3361bd==='a'?_0x28db38[_0x40a97e(0x2cc)](_0x1179ea):_0x28db38?_0x28db38['value']:_0x2382e4[_0x40a97e(0x1ec)](_0x1179ea);},_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['defineProperty'](exports,a17_0x24e0f4(0x2bd),{'value':!![]}),exports['Debuglet']=exports[a17_0x24e0f4(0x1e1)]=void 0x0;const assert=require(a17_0x24e0f4(0x206)),events_1=require(a17_0x24e0f4(0x245)),extend=require(a17_0x24e0f4(0x2d7)),fs=require('fs'),path=require('path'),util=require('util'),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a17_0x24e0f4(0x28c)),agent_logger_1=require(a17_0x24e0f4(0x243)),config_1=require(a17_0x24e0f4(0x2cd)),controller_1=require(a17_0x24e0f4(0x20c)),SourceMapper=require('./io/sourcemapper'),debugapi=require(a17_0x24e0f4(0x23f)),piping_manager_1=require(a17_0x24e0f4(0x29e)),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require(a17_0x24e0f4(0x20a)),scanner_1=require(a17_0x24e0f4(0x281)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a17_0x24e0f4(0x2a0)),utils_1=require(a17_0x24e0f4(0x2c0)),redaction_manager_1=require(a17_0x24e0f4(0x1e2)),configuration_provider_1=require(a17_0x24e0f4(0x27b)),normalizeConfig_1=require(a17_0x24e0f4(0x240)),mapSubtract_1=require(a17_0x24e0f4(0x205)),format_1=require(a17_0x24e0f4(0x297)),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),readFilep=util[a17_0x24e0f4(0x265)](fs['readFile']),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x4a91f3,_0x202ea0)=>{const _0x54fb96=a17_0x24e0f4;let _0xffe677=_0x4a91f3+util['format'](_0x54fb96(0x2a7),_0x202ea0['id'],_0x202ea0['action'],util[_0x54fb96(0x1de)](_0x202ea0[_0x54fb96(0x270)]));if(_0x202ea0[_0x54fb96(0x215)]){const _0x2c4ee0=Number(_0x202ea0[_0x54fb96(0x215)][_0x54fb96(0x2e0)]),_0x1f6a21=new Date(_0x2c4ee0*0x3e8);_0xffe677+='\x0a\x09createdTime:\x20'+_0x1f6a21[_0x54fb96(0x1f6)]();}return _0x202ea0[_0x54fb96(0x217)]&&(_0xffe677+=_0x54fb96(0x2b3)+util[_0x54fb96(0x1de)](_0x202ea0[_0x54fb96(0x217)])),_0x202ea0['expressions']&&(_0xffe677+='\x0a\x09expressions:\x20'+util[_0x54fb96(0x1de)](_0x202ea0['expressions'])),_0xffe677;},formatBreakpoints=(_0x340650,_0x41f63d)=>{const _0x30118e=a17_0x24e0f4;return _0x340650+Object[_0x30118e(0x286)](_0x41f63d)['map'](_0x58a4c2=>{return formatBreakpoint('',_0x41f63d[_0x58a4c2]);})[_0x30118e(0x2bc)]('\x0a');};class CachedPromise{constructor(){const _0x397008=a17_0x24e0f4;this[_0x397008(0x257)]=null,this['promise']=new Promise(_0x51e650=>{const _0x51267e=_0x397008;this[_0x51267e(0x257)]=_0x51e650;});}[a17_0x24e0f4(0x1ec)](){const _0x1ef3dc=a17_0x24e0f4;return this[_0x1ef3dc(0x252)];}[a17_0x24e0f4(0x23e)](){const _0x114fd2=a17_0x24e0f4;this[_0x114fd2(0x257)]&&(this[_0x114fd2(0x257)](),this[_0x114fd2(0x257)]=null);}}exports[a17_0x24e0f4(0x1e1)]=CachedPromise;function a17_0x1c74(_0x2bb529,_0x5f430b){const _0x268f50=a17_0x4508();return a17_0x1c74=function(_0x478aa7,_0x588be6){_0x478aa7=_0x478aa7-0x1db;let _0x45089e=_0x268f50[_0x478aa7];return _0x45089e;},a17_0x1c74(_0x2bb529,_0x5f430b);}class IsReadyImpl{constructor(_0x2e8e5a){this['debuglet']=_0x2e8e5a;}['isReady'](){const _0x27c231=a17_0x24e0f4;return this[_0x27c231(0x251)][_0x27c231(0x223)]();}}class Debuglet extends events_1[a17_0x24e0f4(0x246)]{constructor(_0x409150,_0x3cc195){const _0x10f69c=a17_0x24e0f4;super(),_Debuglet_instances[_0x10f69c(0x25b)](this),_Debuglet_debug[_0x10f69c(0x21f)](this,void 0x0),_Debuglet_v8debug[_0x10f69c(0x21f)](this,void 0x0),_Debuglet_running[_0x10f69c(0x21f)](this,void 0x0),_Debuglet_controller[_0x10f69c(0x21f)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x10f69c(0x21f)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x10f69c(0x21f)](this,void 0x0),_Debuglet_breakpointFetched[_0x10f69c(0x21f)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x10f69c(0x21f)](this,null),this[_0x10f69c(0x233)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x10f69c(0x21f)](this,void 0x0),_Debuglet_quotaManager[_0x10f69c(0x21f)](this,void 0x0),_Debuglet_blocklistManager[_0x10f69c(0x21f)](this,void 0x0),_Debuglet_redactionManager['set'](this,void 0x0),_Debuglet_configProvider[_0x10f69c(0x21f)](this,void 0x0),this[_0x10f69c(0x202)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0x3cc195),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x10f69c(0x247))](this[_0x10f69c(0x202)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x409150,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x10f69c(0x24c)]=![],this['logger']=agent_logger_1[_0x10f69c(0x210)]['createLogger'](this[_0x10f69c(0x202)][_0x10f69c(0x2a2)][_0x10f69c(0x238)],this[_0x10f69c(0x202)][_0x10f69c(0x2a2)]['agentLogMaxFileSizeMb'],this[_0x10f69c(0x202)][_0x10f69c(0x2a2)][_0x10f69c(0x280)],this[_0x10f69c(0x202)][_0x10f69c(0x2a2)]['agentLogLevel'],this['config'][_0x10f69c(0x2a2)][_0x10f69c(0x262)]),(0x0,config_1[_0x10f69c(0x1f7)])(this['config'],this[_0x10f69c(0x2ba)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x10f69c(0x2c7))](this[_0x10f69c(0x2ba)])[_0x10f69c(0x1db)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x10f69c(0x202)],this[_0x10f69c(0x2ba)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x10f69c(0x1e6))](this[_0x10f69c(0x2ba)]),'f'),this[_0x10f69c(0x2c2)]=null,this['activeBreakpointMap']={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x10f69c(0x24f))](this['logger'],this[_0x10f69c(0x202)]),'f'),this[_0x10f69c(0x2a3)]=new piping_manager_1[(_0x10f69c(0x23d))](_0x10f69c(0x268),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x10f69c(0x202)]);}async[a17_0x24e0f4(0x2b6)](_0x32649f,_0x1402b1){const _0x2c3751=a17_0x24e0f4,_0x449254=_0x32649f['workingDirectory'],_0x5359f1=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x449254,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2c3751(0x2cc)](_a,_0x32649f[_0x2c3751(0x2dd)][_0x2c3751(0x254)](_0x2c3751(0x22d))),_0x1402b1,_0x32649f[_0x2c3751(0x263)]),_0x21faa8=_0x5359f1[_0x2c3751(0x241)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2c3751(0x2cc)](_a,_0x32649f[_0x2c3751(0x2dd)])),_0x546727=file_index_1[_0x2c3751(0x28f)][_0x2c3751(0x26e)](_0x21faa8),_0xdbcc47=_0x5359f1[_0x2c3751(0x28e)](/.js.map$/,process['cwd']()),_0x111a7c=_0x5359f1[_0x2c3751(0x295)]();return{'mapFiles':_0xdbcc47,'errors':_0x111a7c,'jsFileIndex':_0x546727,'hash':_0x5359f1[_0x2c3751(0x25a)]};}async[a17_0x24e0f4(0x1fd)](){const _0x5a7e43=a17_0x24e0f4,_0x323ee1=this,_0x49a7fa=_0x323ee1[_0x5a7e43(0x202)][_0x5a7e43(0x26c)];if(!_0x323ee1[_0x5a7e43(0x202)][_0x5a7e43(0x2ae)]&&path[_0x5a7e43(0x2bc)](_0x49a7fa,'..')===_0x49a7fa){const _0x5d4365=_0x5a7e43(0x2a9)+_0x5a7e43(0x277)+_0x5a7e43(0x299)+_0x5a7e43(0x258);_0x323ee1[_0x5a7e43(0x2ba)][_0x5a7e43(0x237)](_0x5d4365),_0x323ee1[_0x5a7e43(0x213)](_0x5a7e43(0x2b1),new Error(_0x5d4365));return;}let _0x4aeb59;process[_0x5a7e43(0x26b)][_0x5a7e43(0x225)]&&(_0x4aeb59=_0x5a7e43(0x296)+process[_0x5a7e43(0x26b)]['GAE_MINOR_VERSION']);let _0x20200a,_0x557aeb=_0x4aeb59||'';try{_0x20200a=await this[_0x5a7e43(0x2b6)](_0x323ee1[_0x5a7e43(0x202)],_0x4aeb59),_0x20200a[_0x5a7e43(0x295)][_0x5a7e43(0x275)](_0x323ee1[_0x5a7e43(0x2ba)][_0x5a7e43(0x214)]);}catch(_0x140139){_0x323ee1[_0x5a7e43(0x2ba)][_0x5a7e43(0x237)](_0x5a7e43(0x207),_0x140139),_0x323ee1['emit']('initError',_0x140139);return;}try{const _0x235510=await SourceMapper['create'](_0x323ee1[_0x5a7e43(0x2ba)],_0x20200a[_0x5a7e43(0x236)],_0x323ee1[_0x5a7e43(0x202)]['internal']?.['sourceMapDiagnostics']);__classPrivateFieldSet(_0x323ee1,_Debuglet_v8debug,debugapi[_0x5a7e43(0x227)](_0x323ee1['logger'],_0x323ee1[_0x5a7e43(0x202)],_0x20200a['jsFileIndex'],_0x235510,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x557aeb=_0x4aeb59||_0x20200a['hash'];}catch(_0x21a7ef){_0x323ee1[_0x5a7e43(0x2ba)][_0x5a7e43(0x237)](_0x5a7e43(0x23b),_0x21a7ef),_0x323ee1[_0x5a7e43(0x2ba)][_0x5a7e43(0x291)](JSON[_0x5a7e43(0x288)](_0x21a7ef)),_0x323ee1[_0x5a7e43(0x213)]('initError',_0x21a7ef);}_0x323ee1[_0x5a7e43(0x2ba)][_0x5a7e43(0x291)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x557aeb);const _0x15a088=(0x0,utils_1[_0x5a7e43(0x1ee)])(_0x323ee1[_0x5a7e43(0x2ba)])[_0x5a7e43(0x2a8)]('\x0a','');_0x323ee1[_0x5a7e43(0x2ba)]['info'](_0x5a7e43(0x1e7)+_0x15a088);let _0x1b55dd;try{_0x1b55dd=_0x323ee1[_0x5a7e43(0x202)][_0x5a7e43(0x2da)]||await _a[_0x5a7e43(0x1e8)]();}catch(_0x1a62c1){}this[_0x5a7e43(0x202)][_0x5a7e43(0x230)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x5a7e43(0x20f)]()===0x0&&(0x0,utils_1['satisfies'])(process[_0x5a7e43(0x276)],_0x5a7e43(0x2b5))&&_0x323ee1[_0x5a7e43(0x2ba)][_0x5a7e43(0x214)](utils_1[_0x5a7e43(0x295)][_0x5a7e43(0x290)]),_0x323ee1[_0x5a7e43(0x2ba)][_0x5a7e43(0x291)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process[_0x5a7e43(0x2ca)]?.[_0x5a7e43(0x2d1)]),_0x323ee1[_0x5a7e43(0x2ba)]['debug'](_0x5a7e43(0x27d)+_0x49a7fa),_0x323ee1[_0x5a7e43(0x2ba)][_0x5a7e43(0x2af)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x323ee1,_Debuglet_running,!![],'f'),_0x323ee1['debuggee']=(0x0,createDebuggee_1[_0x5a7e43(0x2b7)])(_0x557aeb,_0x323ee1[_0x5a7e43(0x202)],_0x1b55dd,__classPrivateFieldGet(_0x323ee1,_Debuglet_debug,'f')[_0x5a7e43(0x2c3)],_0x15a088,_0x323ee1[_0x5a7e43(0x2ba)],__classPrivateFieldGet(_0x323ee1,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x323ee1,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x5a7e43(0x2cc)](_0x323ee1),__classPrivateFieldGet(_0x323ee1,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x323ee1),_0x323ee1[_0x5a7e43(0x213)](_0x5a7e43(0x1e9));}[a17_0x24e0f4(0x223)](){const _0x3ee6ca=a17_0x24e0f4;if(Date[_0x3ee6ca(0x222)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x3ee6ca(0x23e)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3ee6ca(0x1ec)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3ee6ca(0x1ec)]()[_0x3ee6ca(0x274)](()=>{const _0xf9f7a4=_0x3ee6ca;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xf9f7a4(0x2cc)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async['getSourceContextFromFile'](){const _0x59a633=a17_0x24e0f4,_0x27f697=await readFilep('source-context.json',_0x59a633(0x232));try{return JSON['parse'](_0x27f697);}catch(_0x16b0c7){throw new Error(_0x59a633(0x261)+_0x16b0c7);}}[a17_0x24e0f4(0x203)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x24e0f4(0x1dd)](){const _0x163690=a17_0x24e0f4;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x163690(0x2ba)]['debug'](_0x163690(0x29d));return;}this[_0x163690(0x2ba)][_0x163690(0x2af)](_0x163690(0x259)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x163690(0x2a1)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x163690(0x213)](_0x163690(0x25f));}}exports[a17_0x24e0f4(0x1fb)]=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(_0x5d3e8d){const _0x5ac83c=a17_0x24e0f4;return new RegExp(_0x5d3e8d[_0x5ac83c(0x2a6)](_0x15bb51=>_0x15bb51+'$')[_0x5ac83c(0x2bc)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x43fcad=a17_0x24e0f4,_0x9df3ec=[_0x43fcad(0x292),_0x43fcad(0x2d2),'SIGQUIT'];_0x9df3ec['forEach'](_0x31945d=>{const _0x55edbb=_0x43fcad;process[_0x55edbb(0x1fe)](_0x31945d,()=>{const _0x18a1c2=_0x55edbb;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x18a1c2(0x2d5)](this[_0x18a1c2(0x2c2)],()=>{const _0x28a58a=_0x18a1c2;process[_0x28a58a(0x2c1)](process[_0x28a58a(0x2bb)],_0x31945d);});});}),process[_0x43fcad(0x1fe)]('beforeExit',()=>{__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this['debuggee'],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x181d27=a17_0x24e0f4;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x181d27(0x2cc)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x4bdd31){const _0x4e78cc=a17_0x24e0f4,_0x13c3d4=this;_0x13c3d4[_0x4e78cc(0x2ba)][_0x4e78cc(0x2af)](_0x4bdd31?_0x4e78cc(0x2bf)+_0x4bdd31+'s':_0x4e78cc(0x278));function _0x4f3d83(_0x3c9a9f,_0x1d5194,_0x5dbdd0=![]){const _0x4d3db0=_0x4e78cc,_0x2ffeac=_0x13c3d4[_0x4d3db0(0x2c2)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x13c3d4[_0x4d3db0(0x2c2)]?.['id']+':\x20'+(0x0,utils_1[_0x4d3db0(0x28d)])(_0x3c9a9f):_0x4d3db0(0x2de)+(0x0,utils_1[_0x4d3db0(0x28d)])(_0x3c9a9f);_0x13c3d4[_0x4d3db0(0x2ba)][_0x4d3db0(0x237)](_0x2ffeac),_0x1d5194&&!_0x5dbdd0&&_0x13c3d4[_0x4d3db0(0x2ba)][_0x4d3db0(0x237)](_0x4d3db0(0x21e),_0x1d5194),__classPrivateFieldGet(_0x13c3d4,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x4d3db0(0x2cc)](_0x13c3d4,(0x0,utils_1['backoff'])(_0x4bdd31,_0x13c3d4[_0x4d3db0(0x202)][_0x4d3db0(0x2b4)][_0x4d3db0(0x211)]));}setTimeout(()=>{const _0x439fca=_0x4e78cc;if(!__classPrivateFieldGet(_0x13c3d4,_Debuglet_running,'f')){_0x4f3d83(new Error(_0x439fca(0x21a)));return;}__classPrivateFieldGet(_0x13c3d4,_Debuglet_controller,'f')[_0x439fca(0x260)](_0x13c3d4[_0x439fca(0x2c2)],(_0x2104b4,_0x5848b3,_0xd735ba=![])=>{const _0x220811=_0x439fca;if(_0x2104b4){_0x4f3d83(_0x2104b4,_0x5848b3,_0xd735ba);return;}if(_0x5848b3[_0x220811(0x2c2)]['isDisabled']){_0x4f3d83(new Error('Disabled\x20by\x20the\x20server')),_0x13c3d4[_0x220811(0x213)](_0x220811(0x26d));return;}const _0x328f82=_0x5848b3[_0x220811(0x2c2)]['id'];_0x13c3d4[_0x220811(0x2ba)]['info'](_0x220811(0x26f)+_0x328f82),_0x13c3d4[_0x220811(0x2c2)]['id']=_0x328f82;const _0x23f119=[__classPrivateFieldGet(_0x13c3d4,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x220811(0x201)](_0x13c3d4)(_0x13c3d4[_0x220811(0x2c2)]['id'])];_0x13c3d4[_0x220811(0x202)][_0x220811(0x1e4)]&&_0x23f119['push'](__classPrivateFieldGet(_0x13c3d4,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x220811(0x201)](_0x13c3d4)(_0x13c3d4[_0x220811(0x2c2)]['id'])),Promise[_0x220811(0x21c)](_0x23f119)[_0x220811(0x274)](()=>{const _0x2603f6=_0x220811;_0x13c3d4[_0x2603f6(0x213)](_0x2603f6(0x255),_0x328f82),__classPrivateFieldGet(_0x13c3d4,_Debuglet_debuggeeRegistered,'f')[_0x2603f6(0x23e)](),__classPrivateFieldGet(_0x13c3d4,_Debuglet_v8debug,'f')?.['setBlocklistManager'](__classPrivateFieldGet(_0x13c3d4,_Debuglet_blocklistManager,'f')),!_0x13c3d4['fetcherActive']&&__classPrivateFieldGet(_0x13c3d4,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2603f6(0x2cc)](_0x13c3d4,0x0,this['config'][_0x2603f6(0x204)],_0x5848b3?.[_0x2603f6(0x2c6)]);},_0x36f9d1=>{_0x4f3d83(_0x36f9d1);});});},_0x4bdd31*0x3e8)[_0x4e78cc(0x2a5)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x65c06f,_0x28dd15,_0x4b4984){const _0x37f7ae=a17_0x24e0f4,_0x595f1f=this;!_0x28dd15&&(_0x595f1f[_0x37f7ae(0x24c)]=!![]),setTimeout(()=>{const _0x4301d7=_0x37f7ae;if(!__classPrivateFieldGet(_0x595f1f,_Debuglet_running,'f'))return;!_0x28dd15&&assert(_0x595f1f[_0x4301d7(0x24c)]),_0x595f1f[_0x4301d7(0x2ba)][_0x4301d7(0x2af)]('Fetching\x20breakpoints'),__classPrivateFieldGet(_0x595f1f,_Debuglet_controller,'f')['listBreakpoints'](_0x595f1f[_0x4301d7(0x2c2)],(_0x462d55,_0xb4e34b,_0x4778e5)=>{const _0x566a78=_0x4301d7;if(_0xb4e34b?.['status']===0x194){_0x595f1f[_0x566a78(0x2ba)][_0x566a78(0x291)](_0x566a78(0x1f5)),_0x595f1f[_0x566a78(0x24c)]=![],__classPrivateFieldGet(_0x595f1f,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x566a78(0x2cc)](_0x595f1f),__classPrivateFieldGet(_0x595f1f,_Debuglet_instances,'m',_Debuglet_register_)[_0x566a78(0x2cc)](_0x595f1f);return;}if(_0x462d55){const _0x2282d1=(0x0,utils_1[_0x566a78(0x289)])(_0x65c06f,_0x595f1f[_0x566a78(0x202)][_0x566a78(0x2b4)]['maxRequestRetryDelaySeconds']);_0x595f1f[_0x566a78(0x2ba)][_0x566a78(0x237)](_0x566a78(0x212)+_0xb4e34b?.[_0x566a78(0x1f2)]+_0x566a78(0x231)+_0x462d55[_0x566a78(0x2a4)]+_0x566a78(0x200)+_0x2282d1+'s'),__classPrivateFieldGet(_0x595f1f,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x566a78(0x2cc)](_0x595f1f,_0x2282d1,_0x28dd15,_0x4b4984);return;}_0x595f1f[_0x566a78(0x2ba)]['debug']('\x09'+_0xb4e34b[_0x566a78(0x1f2)]+_0x566a78(0x26a));if(!_0x4778e5){const _0x1e8088=_0x595f1f['config'][_0x566a78(0x224)];_0x595f1f[_0x566a78(0x2ba)]['error']('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x1e8088+'s'),__classPrivateFieldGet(_0x595f1f,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x595f1f,_0x1e8088,_0x28dd15,_0x4b4984);return;}if(_0x4778e5['waitExpired']){_0x595f1f[_0x566a78(0x2ba)][_0x566a78(0x291)](_0x566a78(0x22e)),__classPrivateFieldGet(_0x595f1f,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x595f1f,0x0,_0x28dd15,_0x4b4984);return;}if(_0x4778e5['pipeLogs']&&_0x4778e5[_0x566a78(0x25e)]!==_0x566a78(0x2b8)){const _0x2588cd=this['pipingManager'][_0x566a78(0x23a)];_0x2588cd!==_0x4778e5[_0x566a78(0x25e)]&&(this['logger']['debug'](_0x566a78(0x1f3)+_0x2588cd+_0x566a78(0x208)+_0x4778e5[_0x566a78(0x25e)]),this[_0x566a78(0x2a3)][_0x566a78(0x23a)]=_0x4778e5[_0x566a78(0x25e)]);}if(_0x4778e5[_0x566a78(0x24d)]&&_0x4778e5['collectLogRequestId']!==_0x595f1f[_0x566a78(0x22b)]){_0x595f1f[_0x566a78(0x22b)]=_0x4778e5[_0x566a78(0x22b)];const _0x20e67e=_0x595f1f[_0x566a78(0x202)]['agentLog'][_0x566a78(0x238)]&&path['join'](_0x595f1f[_0x566a78(0x202)][_0x566a78(0x2a2)][_0x566a78(0x238)],agent_logger_1['default']['AGENT_LOG_FILE']);_0x20e67e&&fs[_0x566a78(0x239)](_0x20e67e)?setTimeout(()=>__classPrivateFieldGet(_0x595f1f,_Debuglet_controller,'f')[_0x566a78(0x1fc)](_0x595f1f[_0x566a78(0x2c2)],_0x4778e5[_0x566a78(0x22b)],_0x20e67e)):_0x595f1f[_0x566a78(0x2ba)]['info']('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x4778e5[_0x566a78(0x22b)]+_0x566a78(0x244)+_0x566a78(0x264));}const _0x1666b4=(_0x4778e5[_0x566a78(0x2df)]||[])['map'](_0x159046=>new stackdriver_1[(_0x566a78(0x25d))](_0x159046))['filter'](_0x3d5476=>{const _0x491173=_0x566a78,_0x571c91=_0x3d5476[_0x491173(0x266)]||_0x491173(0x1fa);if(__classPrivateFieldGet(_0x595f1f,_Debuglet_completedBreakpointMap,'f')[_0x3d5476['id']])return![];if(_0x571c91!==_0x491173(0x1fa)&&_0x571c91!==_0x491173(0x2d0))return _0x595f1f['logger'][_0x491173(0x214)](_0x491173(0x283),_0x571c91),_0x3d5476['status']=new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0x491173(0x22a)],utils_1[_0x491173(0x295)][_0x491173(0x285)],!![]),__classPrivateFieldGet(_0x595f1f,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x595f1f,_0x3d5476),![];return!![];}),_0x5262ea=__classPrivateFieldGet(_0x595f1f,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x566a78(0x2cc)](_0x595f1f);let _0x4f6a80=_0x5262ea[_0x566a78(0x282)]>0x0;__classPrivateFieldGet(_0x595f1f,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x566a78(0x2cc)](_0x595f1f,_0x5262ea),_0x4f6a80=_0x4f6a80||__classPrivateFieldGet(_0x595f1f,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x566a78(0x2cc)](_0x595f1f,_0x1666b4),_0x595f1f[_0x566a78(0x213)](_0x566a78(0x228),_0x1666b4[_0x566a78(0x282)]);_0x4f6a80&&_0x595f1f['logger'][_0x566a78(0x2af)](formatBreakpoints('Active\x20Breakpoints:\x20\x0a',_0x595f1f['activeBreakpointMap']));__classPrivateFieldSet(_0x595f1f,_Debuglet_breakpointFetchedTimestamp,Date[_0x566a78(0x222)](),'f');_0x28dd15?__classPrivateFieldGet(_0x595f1f,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x595f1f,_Debuglet_breakpointFetched,'f')[_0x566a78(0x23e)](),__classPrivateFieldSet(_0x595f1f,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x595f1f,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x566a78(0x2cc)](_0x595f1f,0x0,_0x28dd15,_0x4b4984);return;},_0x4b4984);},_0x65c06f*0x3e8)[_0x37f7ae(0x2a5)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x17f170=a17_0x24e0f4;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x17f170(0x23e)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x52b280){const _0x36fdf1=a17_0x24e0f4,_0x39d52b=this,_0x2c482a=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x36fdf1(0x2cc)](this,_0x52b280);let _0x15dfc5=![];return _0x52b280[_0x36fdf1(0x275)](_0x1c316d=>{const _0x1e1c8e=_0x36fdf1;!__classPrivateFieldGet(_0x39d52b,_Debuglet_completedBreakpointMap,'f')[_0x1c316d['id']]&&!_0x39d52b[_0x1e1c8e(0x272)][_0x1c316d['id']]&&(__classPrivateFieldGet(_0x39d52b,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x1e1c8e(0x2cc)](_0x39d52b,_0x1c316d,_0x5092=>{const _0x27ce31=_0x1e1c8e;_0x5092&&__classPrivateFieldGet(_0x39d52b,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x27ce31(0x2cc)](_0x39d52b,_0x1c316d,!![],![]);}),_0x15dfc5=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1e1c8e(0x226)](_0x1c316d['id'])),__classPrivateFieldGet(_0x39d52b,_Debuglet_quotaManager,'f')[_0x1e1c8e(0x2c4)](_0x1c316d['id'],_0x1c316d[_0x1e1c8e(0x2be)]),_0x39d52b[_0x1e1c8e(0x2a3)][_0x1e1c8e(0x271)](_0x1c316d['id'],_0x1c316d[_0x1e1c8e(0x229)]);}),(0x0,mapSubtract_1[_0x36fdf1(0x21b)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x2c482a)['forEach'](_0x23e31a=>{delete __classPrivateFieldGet(_0x39d52b,_Debuglet_completedBreakpointMap,'f')[_0x23e31a['id']],_0x15dfc5=!![];}),(0x0,mapSubtract_1[_0x36fdf1(0x21b)])(this[_0x36fdf1(0x272)],_0x2c482a)[_0x36fdf1(0x275)](_0x44713d=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x44713d,!![]),_0x15dfc5=!![];}),_0x15dfc5&&_0x39d52b['logger'][_0x36fdf1(0x2af)](formatBreakpoints(_0x36fdf1(0x294),_0x2c482a)),_0x15dfc5;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x2cecf5){const _0x1b5061=a17_0x24e0f4,_0xc1f81f={};return _0x2cecf5[_0x1b5061(0x275)](_0x11b350=>{_0xc1f81f[_0x11b350['id']]=_0x11b350;}),_0xc1f81f;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x2d1af1,_0x30740a){const _0x7cd269=a17_0x24e0f4;this[_0x7cd269(0x2ba)]['info'](_0x7cd269(0x216),_0x2d1af1),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x7cd269(0x1eb)](_0x2d1af1['id']),this['pipingManager'][_0x7cd269(0x28a)](_0x2d1af1['id']),delete this[_0x7cd269(0x272)][_0x2d1af1['id']],_0x30740a&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x7cd269(0x221)](_0x2d1af1,_0xd4c541=>{if(_0xd4c541)this['logger']['error'](_0xd4c541);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x5eb12a,_0x1c9d26){const _0x352f7a=a17_0x24e0f4,_0x11f8ab=this;_0x11f8ab[_0x352f7a(0x2ba)][_0x352f7a(0x291)](_0x352f7a(0x249),_0x5eb12a);if(!_0x11f8ab[_0x352f7a(0x202)]['allowExpressions']&&(_0x5eb12a[_0x352f7a(0x217)]||_0x5eb12a['expressions'])){_0x11f8ab['logger'][_0x352f7a(0x237)](utils_1[_0x352f7a(0x295)][_0x352f7a(0x2b0)][_0x352f7a(0x2d6)]||''),_0x5eb12a[_0x352f7a(0x1f2)]=new status_message_1[(_0x352f7a(0x1f8))](status_message_1['StatusMessage'][_0x352f7a(0x22a)],utils_1['errors'][_0x352f7a(0x2b0)],!![]),setImmediate(()=>{const _0x1ed1f0=_0x352f7a;_0x1c9d26(utils_1[_0x1ed1f0(0x295)][_0x1ed1f0(0x2b0)]);});return;}if((0x0,utils_1['satisfies'])(process[_0x352f7a(0x276)],'5.2\x20||\x20<4')){const _0x583b64=utils_1[_0x352f7a(0x295)][_0x352f7a(0x25c)];_0x11f8ab['logger']['error'](_0x583b64),_0x5eb12a[_0x352f7a(0x1f2)]=new status_message_1[(_0x352f7a(0x1f8))](status_message_1[_0x352f7a(0x1f8)]['UNSPECIFIED'],_0x583b64,!![]),setImmediate(()=>{_0x1c9d26(_0x583b64);});return;}const _0x1f1b8d=_0x5eb12a['createTime']?Number(_0x5eb12a[_0x352f7a(0x215)][_0x352f7a(0x2e0)]):Date[_0x352f7a(0x222)]()/0x3e8,_0x30ba5d=_0x5eb12a[_0x352f7a(0x1dc)]||_0x11f8ab[_0x352f7a(0x202)][_0x352f7a(0x209)];_0x5eb12a[_0x352f7a(0x253)]=_0x1f1b8d+_0x30ba5d,_0x5eb12a[_0x352f7a(0x270)]?.[_0x352f7a(0x20d)]&&(_0x5eb12a[_0x352f7a(0x270)][_0x352f7a(0x20d)]=path[_0x352f7a(0x2d9)](_0x5eb12a[_0x352f7a(0x270)]['path']),path[_0x352f7a(0x29c)]===path[_0x352f7a(0x279)]['sep']&&(_0x5eb12a['location'][_0x352f7a(0x20d)]=_0x5eb12a[_0x352f7a(0x270)][_0x352f7a(0x20d)][_0x352f7a(0x27c)]('\x5c')['join'](path[_0x352f7a(0x29c)]))),__classPrivateFieldGet(_0x11f8ab,_Debuglet_v8debug,'f')['set'](_0x5eb12a,_0xdefb43=>{const _0xd94645=_0x352f7a;if(_0xdefb43){_0x1c9d26(_0xdefb43);return;}_0x11f8ab[_0xd94645(0x2ba)][_0xd94645(0x291)]('\x09successfully\x20added\x20breakpoint',_0x5eb12a),_0x11f8ab['activeBreakpointMap'][_0x5eb12a['id']]=_0x5eb12a,_0x5eb12a['action']==='LOG'?__classPrivateFieldGet(_0x11f8ab,_Debuglet_v8debug,'f')[_0xd94645(0x22f)](_0x5eb12a,(_0x6ece7f,_0x74cda0)=>{const _0x3d2564=_0xd94645,_0x3de63c=_0x74cda0[_0x3d2564(0x2a6)](_0x239c9f=>__classPrivateFieldGet(_0x11f8ab,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3d2564(0x2cc)](_0x11f8ab,_0x239c9f)),_0xf52b70=(0x0,format_1['format'])(_0x6ece7f,_0x3de63c),_0x169fe2='LOGPOINT:\x20'+(__classPrivateFieldGet(_0x11f8ab,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0xf52b70)||_0xf52b70),_0x4b84a3=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3d2564(0x23c)](_0x169fe2,_0x5eb12a['id']);if(_0x4b84a3){const _0x238fbc=_0x4b84a3[_0x3d2564(0x2a4)],_0xaa015f=_0x4b84a3[_0x3d2564(0x1e0)];let _0x448030,_0x313d83;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['isRedactionActive']()&&!_0xaa015f&&(_0x448030=_0x3d2564(0x1ff)+_0x6ece7f,_0x313d83=_0x3de63c);_0x11f8ab[_0x3d2564(0x2a3)]['addAndPipeLog'](_0x11f8ab[_0x3d2564(0x2c2)],_0x5eb12a['id'],_0x238fbc,_0x5eb12a['logLevel'],_0x448030,_0x313d83);if(_0xaa015f)__classPrivateFieldGet(_0x11f8ab,_Debuglet_v8debug,'f')?.[_0x3d2564(0x1df)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x5c9d2f=_0x3d2564;__classPrivateFieldGet(_0x11f8ab,_Debuglet_v8debug,'f')?.[_0x5c9d2f(0x2ad)](),__classPrivateFieldSet(_0x11f8ab,_Debuglet_nextEnableTimeout,null,'f');},_0x11f8ab[_0x3d2564(0x202)][_0x3d2564(0x22c)][_0x3d2564(0x2d4)]*0x3e8),'f');else _0x238fbc?.[_0x3d2564(0x282)]===0x0&&__classPrivateFieldGet(_0x11f8ab,_Debuglet_v8debug,'f')?.[_0x3d2564(0x1df)]();}},()=>{return __classPrivateFieldGet(_0x11f8ab,_Debuglet_completedBreakpointMap,'f')[_0x5eb12a['id']];},_0x5341a8=>{const _0x405816=_0xd94645;if(_0x5341a8){_0x11f8ab[_0x405816(0x2ba)][_0x405816(0x237)](_0x5341a8),_0x1c9d26(_0x5341a8);return;}}):__classPrivateFieldGet(_0x11f8ab,_Debuglet_v8debug,'f')['wait'](_0x5eb12a,_0x598db3=>{const _0x4f66e1=_0xd94645;if(_0x598db3){setImmediate(()=>{const _0x1cbca1=a17_0x1c74;_0x11f8ab[_0x1cbca1(0x2ba)]['error'](_0x598db3),_0x1c9d26(_0x598db3);});return;}_0x11f8ab[_0x4f66e1(0x2ba)][_0x4f66e1(0x291)]('Breakpoint\x20hit!:\x20',_0x5eb12a),__classPrivateFieldGet(_0x11f8ab,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x4f66e1(0x2cc)](_0x11f8ab,_0x5eb12a,__classPrivateFieldGet(_0x11f8ab,_Debuglet_v8debug,'f')[_0x4f66e1(0x2b9)](_0x5eb12a['id'])<=0x0);}),__classPrivateFieldGet(_0x11f8ab,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0xd94645(0x2cc)](_0x11f8ab,_0x5eb12a);}),this[_0x352f7a(0x213)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x3da871,_0x49dd9f,_0x8f4312=!![]){const _0x46ddba=a17_0x24e0f4,_0x32dcf5=this;if(_0x3da871[_0x46ddba(0x1f2)]&&_0x3da871[_0x46ddba(0x1f2)][_0x46ddba(0x24b)]){let _0x152e04=_0x3da871['status']?.['description']?.[_0x46ddba(0x1e5)]||'';_0x3da871[_0x46ddba(0x1f2)]?.[_0x46ddba(0x2d6)]?.['parameters']&&(_0x152e04+=':\x20'+_0x3da871['status']?.['description']?.[_0x46ddba(0x27f)]['toString']()),_0x32dcf5['logger'][_0x46ddba(0x214)](_0x46ddba(0x2ce)+_0x3da871+_0x46ddba(0x242)+_0x152e04);}else _0x32dcf5[_0x46ddba(0x2ba)][_0x46ddba(0x291)](_0x46ddba(0x2aa),_0x3da871);_0x49dd9f&&(__classPrivateFieldGet(_0x32dcf5,_Debuglet_completedBreakpointMap,'f')[_0x3da871['id']]=!![],__classPrivateFieldGet(_0x32dcf5,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x32dcf5,_0x3da871,_0x8f4312)),__classPrivateFieldGet(_0x32dcf5,_Debuglet_controller,'f')[_0x46ddba(0x1f0)](_0x32dcf5[_0x46ddba(0x2c2)],extend(!![],{},_0x3da871));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x15bed1){const _0x5ef1b5=a17_0x24e0f4,_0x4f411c=this;_0x4f411c['logger'][_0x5ef1b5(0x2af)](_0x5ef1b5(0x1e3)+_0x15bed1+_0x5ef1b5(0x2c8));const _0xe2fdb7=extend(!![],{},_0x15bed1);_0xe2fdb7['isFinalState']=![],_0xe2fdb7['status']=new status_message_1[(_0x5ef1b5(0x1f8))](status_message_1[_0x5ef1b5(0x1f8)][_0x5ef1b5(0x22a)],undefined,![],!![]),__classPrivateFieldGet(_0x4f411c,_Debuglet_controller,'f')[_0x5ef1b5(0x1f0)](_0x4f411c[_0x5ef1b5(0x2c2)],_0xe2fdb7);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x4f4106){const _0x53c09e=a17_0x24e0f4,_0x19a9c4=this;this[_0x53c09e(0x2ba)][_0x53c09e(0x291)](_0x53c09e(0x20e),_0x4f4106),__classPrivateFieldGet(_0x19a9c4,_Debuglet_completedBreakpointMap,'f')[_0x4f4106['id']]=!![],__classPrivateFieldGet(_0x19a9c4,_Debuglet_controller,'f')[_0x53c09e(0x1f0)](_0x19a9c4['debuggee'],_0x4f4106);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0xb1aebd){const _0x158fbe=a17_0x24e0f4,_0x25f8e9=this;_0xb1aebd[_0x158fbe(0x275)](_0x5c4114=>{const _0x44b0a3=_0x158fbe;_0x25f8e9[_0x44b0a3(0x2ba)][_0x44b0a3(0x291)](_0x44b0a3(0x287),_0x5c4114),__classPrivateFieldGet(_0x25f8e9,_Debuglet_completedBreakpointMap,'f')[_0x5c4114['id']]=!![],__classPrivateFieldGet(_0x25f8e9,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x44b0a3(0x2cc)](_0x25f8e9,_0x5c4114,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x36ebde=a17_0x24e0f4,_0x358578=Date[_0x36ebde(0x222)]()/0x3e8;return Object[_0x36ebde(0x29f)](this[_0x36ebde(0x272)])[_0x36ebde(0x2cf)](_0x3a717b=>_0x3a717b['expirationTime']?_0x3a717b[_0x36ebde(0x253)]<_0x358578:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x2bd6c8){const _0x47df23=a17_0x24e0f4,_0x413fbe=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x47df23(0x21d)](_0x2bd6c8),_0x1499aa=_0x413fbe[_0x47df23(0x24a)],_0x109868=_0x413fbe['blacklist_exception'];_0x1499aa&&_0x1499aa['length']&&this[_0x47df23(0x2ba)][_0x47df23(0x2af)]('Blacklist:\x20\x0a\x09',_0x1499aa[_0x47df23(0x2bc)]('\x0a\x09')),_0x109868&&_0x109868['length']&&this['logger'][_0x47df23(0x2af)](_0x47df23(0x2dc),_0x109868[_0x47df23(0x2bc)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x1499aa,_0x109868,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x50e421){const _0x370df7=a17_0x24e0f4,_0x29307f=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x370df7(0x250)](_0x50e421);_0x29307f?.[_0x370df7(0x282)]&&this[_0x370df7(0x2ba)][_0x370df7(0x2af)]('Redactions:\x20\x0a\x09',_0x29307f[_0x370df7(0x2a6)](_0x3428fb=>'name:\x20'+_0x3428fb[_0x370df7(0x2c5)]+_0x370df7(0x1ea)+_0x3428fb['type']+_0x370df7(0x2d3)+_0x3428fb[_0x370df7(0x29a)]+_0x370df7(0x293)+_0x3428fb['caseInsensitive'])[_0x370df7(0x2bc)]('\x0a\x09'));if((0x0,utils_1[_0x370df7(0x1f4)])(process['version'],_0x370df7(0x29b))){const {RedactionManagerRE2JS:_0x2f1baa}=await Promise[_0x370df7(0x23e)]()['then'](()=>require(_0x370df7(0x1ef)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x2f1baa(this[_0x370df7(0x2ba)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['setPatterns'](_0x29307f);}},_Debuglet_stringify=function _Debuglet_stringify(_0x3c2cf1){const _0xe8eb65=a17_0x24e0f4;if(!_0x3c2cf1)return JSON[_0xe8eb65(0x288)](_0x3c2cf1,(_0x12e138,_0x305852)=>_0x305852===undefined?_0xe8eb65(0x24e):_0x305852);if(Array[_0xe8eb65(0x2c9)](_0x3c2cf1)){const _0x1c1fbf=[];for(const _0x19b518 of _0x3c2cf1){_0x1c1fbf[_0xe8eb65(0x2cb)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0xe8eb65(0x2cc)](this,_0x19b518));}return'['+_0x1c1fbf['join'](',\x20')+']';}if(typeof _0x3c2cf1===_0xe8eb65(0x27e)){const _0x3c878a=Object[_0xe8eb65(0x2e1)](_0x3c2cf1)[_0xe8eb65(0x2a6)](([_0x156965,_0x4604ec])=>{const _0x26718b=_0xe8eb65,_0x315d55=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x26718b(0x298)](_0x156965)?redaction_manager_1[_0x26718b(0x248)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x4604ec);return JSON[_0x26718b(0x288)](_0x156965)+':\x20'+_0x315d55;})[_0xe8eb65(0x2bc)](',\x20');return'{'+_0x3c878a+'}';}return JSON[_0xe8eb65(0x288)](_0x3c2cf1);});
|
|
1
|
+
const a17_0x3692dd=a17_0x301a;(function(_0x57b408,_0x4c4ff5){const _0x4d5cbe=a17_0x301a,_0x2ac520=_0x57b408();while(!![]){try{const _0x547c17=-parseInt(_0x4d5cbe(0x1ad))/0x1+-parseInt(_0x4d5cbe(0x261))/0x2*(parseInt(_0x4d5cbe(0x25c))/0x3)+parseInt(_0x4d5cbe(0x1cf))/0x4+-parseInt(_0x4d5cbe(0x1fb))/0x5+parseInt(_0x4d5cbe(0x1a3))/0x6*(parseInt(_0x4d5cbe(0x243))/0x7)+parseInt(_0x4d5cbe(0x1a4))/0x8+parseInt(_0x4d5cbe(0x1b5))/0x9;if(_0x547c17===_0x4c4ff5)break;else _0x2ac520['push'](_0x2ac520['shift']());}catch(_0x11b529){_0x2ac520['push'](_0x2ac520['shift']());}}}(a17_0x3271,0x97e83));const a17_0x57d76b=(function(){let _0x424200=!![];return function(_0x157d3f,_0x430baf){const _0x49286d=_0x424200?function(){const _0x50dfd7=a17_0x301a;if(_0x430baf){const _0x3dc878=_0x430baf[_0x50dfd7(0x161)](_0x157d3f,arguments);return _0x430baf=null,_0x3dc878;}}:function(){};return _0x424200=![],_0x49286d;};}()),a17_0xe2580c=a17_0x57d76b(this,function(){const _0x2d58ee=a17_0x301a;return a17_0xe2580c[_0x2d58ee(0x1bb)]()[_0x2d58ee(0x1c6)](_0x2d58ee(0x1b6))[_0x2d58ee(0x1bb)]()['constructor'](a17_0xe2580c)[_0x2d58ee(0x1c6)](_0x2d58ee(0x1b6));});a17_0xe2580c();function a17_0x3271(){const _0x520bca=['fromFileStats','../client/stackdriver/status-message','status','caseInsensitive','Expiring\x20breakpoint','existsSync','SIGTERM','pid','clearTransmissionTimeout','cwd','./blocklisting/patterns-blocklist-manager','189240hDWfvB','Debuglet\x20not\x20running','stringify','./io/file-index','normalizeConfig','getMaxSnapshotBufferSize','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','createDebuggee','javascriptFileExtensions','register','./piping-manager','error','extraPaths','\x20(type:\x20','Failed\x20to\x20register\x20debuggee:\x20','.\x20Error:\x20','setBlocklistManager','5.2\x20||\x20<4','./agent-logger','./debuglet-helpers/createDebuggee','warn','replace','allowExpressions','promise','create','Error\x20scanning\x20the\x20filesystem.','isOutOfQuota','pipingManager','readFile','split','./v8/debugapi','Switching\x20globalPiping\x20status\x20from\x20','./debuglet-helpers/normalizeConfig','breakpoints','info','./util/utils','Failed\x20to\x20re-register\x20debuggee\x20','addAndPipeLog','removePerBreakpointQuota','hash','all','capture','Starting\x20debuggee','Scheduling\x20registration\x20in\x20','LOG','QuotaManager','./reduction/redaction-manager','extend','promiseResolve','blacklist_exception','replaceRedactedByValue','Breakpoint\x20hit!:\x20','\x09remove\x20breakpoint','\x0a\x09expressions:\x20','enable','\x0a\x09createdTime:\x20','initError','length','Disabled\x20by\x20the\x20server','push','readFullVersion','debug','internal','getSourceContextFromFile','Scanner','message','Private\x20method\x20is\x20not\x20writable','config','./controller','Debuglet','collectLogRequestId','resolve','112973nsgPeR','../types/stackdriver','.\x20Retrying\x20in\x20','rejecting\x20breakpoint','mapSubtract','Initializing\x20Node.js\x20agent\x20version:\x20','pipeLogs','condition','backoff','REDACTED_PLACEHOLDER','./configuration-provider','isReady','started','sep','>=12','isRedactionActive','unref','join','clientConnectionTimeoutInSeconds','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','Fetching\x20breakpoints','filename','findFiles','js.map','set','30VTngIo','SIGINT','format','setPipingStatus','action','22566JvjPWV','createTime','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','CAPTURE','mainModule','ConfigurationProvider','Breakpoint','NOT_SET','):\x20pattern:\x20','now','.\x20message:\x20','agentLog','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','agentLogTargetDir','isReadyManager','Registering\x20debuggee','apply','jsFileIndex','remainingHits','stop','undefined','./reduction/redaction-manager-re2js','waitExpired','defineProperty','CachedPromise','prettyError','EventEmitter','\x20completed.','UNSPECIFIED','log','do\x20this.','has','sourceMapDiagnostics','function','StatusMessage','isError','utf8','agentLogMaxFileSizeMb','breakpointUpdateIntervalSec','expirationTime','fetcherActive','enqueueBreakpointUpdate','Active\x20Breakpoints:\x20\x0a','quotaRecoverySeconds','scan','quotaCheck','agentLogMaxFileCount','wait','parameters','GAE-','name','call','disable','concat','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','NODE_10_CIRC_REF_MESSAGE','logger','\x0a\x09condition:\x20','errors','./debuglet-helpers/mapSubtract','fetchBreakpointsOnce','seconds','isRunning','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','collectAndSendLog','selectFiles','inspect','promisify','allowRootAsWorkingDirectory','setIgnoreQuota','breakpointExpirationSec','LOGPOINT:\x20','agentLogLevel','normalize','listBreakpoints','remotelyDisabled','NODE_VERSION_MESSAGE','./debuglet-helpers/format','BREAKPOINT_ACTION_MESSAGE','util','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','events','282AtugWc','3512248ExnOLD','getBlocklist','parse','satisfies','env','default','ALLOW_EXPRESSIONS_MESSAGE','assert','add','1091834lbdGCB','start','path','isFinalState','setPatterns','\x09Notifying\x20server\x20about\x20error\x20for\x20','ignoreQuota','filter','4801041Trztge','(((.+)+)+)+$','sendAgentLogsToServer','Controller','breakpoints_fetched','get','toString','PatternsBlocklistManager','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','activeBreakpointMap','Unique\x20ID\x20for\x20this\x20Application:\x20','Redactions:\x20\x0a\x09','beforeExit','then','__classPrivateFieldGet','getRedactions','bind','search','\x09adding\x20breakpoint','type','location','debuggee','\x20because\x20','stdErrThreshold','entries','workingDirectory','534840yzNnOv','description','packageInfo','forEach','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','blacklist','name:\x20','Found\x20breakpoint\x20with\x20invalid\x20action:','reporting\x20breakpoint\x20','\x09Long\x20poll\x20completed.','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','posix','maxRequestRetryDelaySeconds','map','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','debuglet','Server\x20breakpoints:\x0a','isArray','selectStats','emit','value','./io/sourcemapper','version','globalPipingStatus','source-context.json','deregister','\x20to\x20','APP_ONLY','SIGQUIT','Error\x20processing\x20the\x20sourcemaps.','removeBreakpoint','once','expressions'];a17_0x3271=function(){return _0x520bca;};return a17_0x3271();}'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x61481a,_0x256d97,_0x43f302,_0x4e002c,_0x45a69f){const _0x4b304c=a17_0x301a;if(_0x4e002c==='m')throw new TypeError(_0x4b304c(0x23d));if(_0x4e002c==='a'&&!_0x45a69f)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x256d97===_0x4b304c(0x172)?_0x61481a!==_0x256d97||!_0x45a69f:!_0x256d97[_0x4b304c(0x170)](_0x61481a))throw new TypeError(_0x4b304c(0x1dd));return _0x4e002c==='a'?_0x45a69f['call'](_0x61481a,_0x43f302):_0x45a69f?_0x45a69f['value']=_0x43f302:_0x256d97['set'](_0x61481a,_0x43f302),_0x43f302;},__classPrivateFieldGet=this&&this[a17_0x3692dd(0x1c3)]||function(_0x523476,_0x2bc861,_0x45660a,_0xa55c54){const _0x3c301e=a17_0x3692dd;if(_0x45660a==='a'&&!_0xa55c54)throw new TypeError(_0x3c301e(0x1d9));if(typeof _0x2bc861==='function'?_0x523476!==_0x2bc861||!_0xa55c54:!_0x2bc861['has'](_0x523476))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x45660a==='m'?_0xa55c54:_0x45660a==='a'?_0xa55c54[_0x3c301e(0x184)](_0x523476):_0xa55c54?_0xa55c54[_0x3c301e(0x1e3)]:_0x2bc861[_0x3c301e(0x1ba)](_0x523476);},_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[a17_0x3692dd(0x168)](exports,'__esModule',{'value':!![]}),exports['Debuglet']=exports[a17_0x3692dd(0x169)]=void 0x0;function a17_0x301a(_0xf0fb1c,_0x33ff3b){const _0xf99029=a17_0x3271();return a17_0x301a=function(_0xe2580c,_0x57d76b){_0xe2580c=_0xe2580c-0x15c;let _0x327137=_0xf99029[_0xe2580c];return _0x327137;},a17_0x301a(_0xf0fb1c,_0x33ff3b);}const assert=require(a17_0x3692dd(0x1ab)),events_1=require(a17_0x3692dd(0x1a2)),extend=require(a17_0x3692dd(0x22a)),fs=require('fs'),path=require(a17_0x3692dd(0x1af)),util=require(a17_0x3692dd(0x1a0)),status_message_1=require(a17_0x3692dd(0x1f1)),stackdriver_1=require(a17_0x3692dd(0x244)),agent_logger_1=require(a17_0x3692dd(0x20d)),config_1=require('./config'),controller_1=require(a17_0x3692dd(0x23f)),SourceMapper=require(a17_0x3692dd(0x1e4)),debugapi=require(a17_0x3692dd(0x219)),piping_manager_1=require(a17_0x3692dd(0x205)),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require(a17_0x3692dd(0x1fa)),scanner_1=require('./io/scanner'),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a17_0x3692dd(0x1fe)),utils_1=require(a17_0x3692dd(0x21e)),redaction_manager_1=require(a17_0x3692dd(0x229)),configuration_provider_1=require(a17_0x3692dd(0x24d)),normalizeConfig_1=require(a17_0x3692dd(0x21b)),mapSubtract_1=require(a17_0x3692dd(0x18c)),format_1=require(a17_0x3692dd(0x19e)),createDebuggee_1=require(a17_0x3692dd(0x20e)),readFilep=util[a17_0x3692dd(0x194)](fs[a17_0x3692dd(0x217)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x48be87,_0xc3e9d)=>{const _0x5210d4=a17_0x3692dd;let _0x55e408=_0x48be87+util[_0x5210d4(0x25e)](_0x5210d4(0x263),_0xc3e9d['id'],_0xc3e9d[_0x5210d4(0x260)],util['inspect'](_0xc3e9d[_0x5210d4(0x1c9)]));if(_0xc3e9d[_0x5210d4(0x262)]){const _0x5c51da=Number(_0xc3e9d['createTime'][_0x5210d4(0x18e)]),_0x186808=new Date(_0x5c51da*0x3e8);_0x55e408+=_0x5210d4(0x232)+_0x186808[_0x5210d4(0x1bb)]();}return _0xc3e9d['condition']&&(_0x55e408+=_0x5210d4(0x18a)+util[_0x5210d4(0x193)](_0xc3e9d[_0x5210d4(0x24a)])),_0xc3e9d['expressions']&&(_0x55e408+=_0x5210d4(0x230)+util['inspect'](_0xc3e9d[_0x5210d4(0x1ef)])),_0x55e408;},formatBreakpoints=(_0x1b5700,_0x3e4df2)=>{const _0xf24aec=a17_0x3692dd;return _0x1b5700+Object['keys'](_0x3e4df2)[_0xf24aec(0x1dc)](_0x53c662=>{return formatBreakpoint('',_0x3e4df2[_0x53c662]);})['join']('\x0a');};class CachedPromise{constructor(){const _0x598a9a=a17_0x3692dd;this[_0x598a9a(0x22b)]=null,this[_0x598a9a(0x212)]=new Promise(_0x52871e=>{const _0x4c0c27=_0x598a9a;this[_0x4c0c27(0x22b)]=_0x52871e;});}[a17_0x3692dd(0x1ba)](){const _0x3a2b61=a17_0x3692dd;return this[_0x3a2b61(0x212)];}[a17_0x3692dd(0x242)](){const _0x1124a7=a17_0x3692dd;this[_0x1124a7(0x22b)]&&(this['promiseResolve'](),this[_0x1124a7(0x22b)]=null);}}exports[a17_0x3692dd(0x169)]=CachedPromise;class IsReadyImpl{constructor(_0x4b813e){this['debuglet']=_0x4b813e;}[a17_0x3692dd(0x24e)](){const _0xe4ecda=a17_0x3692dd;return this[_0xe4ecda(0x1de)][_0xe4ecda(0x24e)]();}}class Debuglet extends events_1[a17_0x3692dd(0x16b)]{constructor(_0x27e39e,_0x3a6f65){const _0x3765a7=a17_0x3692dd;super(),_Debuglet_instances[_0x3765a7(0x1ac)](this),_Debuglet_debug[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_v8debug[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_breakpointFetched[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_nextEnableTimeout['set'](this,null),this[_0x3765a7(0x15f)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_scanner[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this[_0x3765a7(0x23e)]=(0x0,normalizeConfig_1[_0x3765a7(0x1ff)])(_0x3a6f65),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x3765a7(0x266))](this[_0x3765a7(0x23e)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x27e39e,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x3765a7(0x189)]=agent_logger_1[_0x3765a7(0x1a9)]['createLogger'](this[_0x3765a7(0x23e)][_0x3765a7(0x15c)][_0x3765a7(0x15e)],this[_0x3765a7(0x23e)][_0x3765a7(0x15c)][_0x3765a7(0x176)],this[_0x3765a7(0x23e)]['agentLog'][_0x3765a7(0x17f)],this['config'][_0x3765a7(0x15c)][_0x3765a7(0x199)],this['config'][_0x3765a7(0x15c)][_0x3765a7(0x1cc)]),(0x0,config_1['logMainConfigParams'])(this['config'],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x3765a7(0x189)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x3765a7(0x1b8))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x3765a7(0x189)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x3765a7(0x23b))](this[_0x3765a7(0x189)]),'f'),this[_0x3765a7(0x1ca)]=null,this['activeBreakpointMap']={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x3765a7(0x228))](this[_0x3765a7(0x189)],this[_0x3765a7(0x23e)]),'f'),this[_0x3765a7(0x216)]=new piping_manager_1['PipingManager'](_0x3765a7(0x1ea),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x3765a7(0x23e)]);}async[a17_0x3692dd(0x259)](_0x288ce7,_0x3352f8){const _0x2fad90=a17_0x3692dd,_0x2bda38=_0x288ce7[_0x2fad90(0x1ce)],_0x237fe3=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x2fad90(0x17d)](_0x2bda38,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2fad90(0x184)](_a,_0x288ce7[_0x2fad90(0x203)][_0x2fad90(0x186)](_0x2fad90(0x25a))),_0x3352f8,_0x288ce7[_0x2fad90(0x207)]),_0x4a172f=_0x237fe3[_0x2fad90(0x1e1)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2fad90(0x184)](_a,_0x288ce7[_0x2fad90(0x203)])),_0x5eb5ea=file_index_1['FileIndex'][_0x2fad90(0x1f0)](_0x4a172f),_0xd54222=_0x237fe3[_0x2fad90(0x192)](/.js.map$/,process[_0x2fad90(0x1f9)]()),_0x32e299=_0x237fe3[_0x2fad90(0x18b)]();return{'mapFiles':_0xd54222,'errors':_0x32e299,'jsFileIndex':_0x5eb5ea,'hash':_0x237fe3[_0x2fad90(0x222)]};}async[a17_0x3692dd(0x1ae)](){const _0x48bd06=a17_0x3692dd,_0x2c0afd=this,_0x544508=_0x2c0afd[_0x48bd06(0x23e)][_0x48bd06(0x1ce)];if(!_0x2c0afd[_0x48bd06(0x23e)][_0x48bd06(0x195)]&&path[_0x48bd06(0x254)](_0x544508,'..')===_0x544508){const _0x5ccdbd=_0x48bd06(0x256)+_0x48bd06(0x1d3)+_0x48bd06(0x187)+_0x48bd06(0x16f);_0x2c0afd['logger'][_0x48bd06(0x206)](_0x5ccdbd),_0x2c0afd[_0x48bd06(0x1e2)](_0x48bd06(0x233),new Error(_0x5ccdbd));return;}let _0x12c759;process[_0x48bd06(0x1a8)]['GAE_MINOR_VERSION']&&(_0x12c759=_0x48bd06(0x182)+process[_0x48bd06(0x1a8)]['GAE_MINOR_VERSION']);let _0x3bee0f,_0x169854=_0x12c759||'';try{_0x3bee0f=await this[_0x48bd06(0x259)](_0x2c0afd['config'],_0x12c759),_0x3bee0f[_0x48bd06(0x18b)][_0x48bd06(0x1d2)](_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x20f)]);}catch(_0x39e597){_0x2c0afd['logger'][_0x48bd06(0x206)](_0x48bd06(0x214),_0x39e597),_0x2c0afd[_0x48bd06(0x1e2)](_0x48bd06(0x233),_0x39e597);return;}try{const _0x10f31d=await SourceMapper[_0x48bd06(0x213)](_0x2c0afd['logger'],_0x3bee0f['mapFiles'],_0x2c0afd[_0x48bd06(0x23e)][_0x48bd06(0x239)]?.[_0x48bd06(0x171)]);__classPrivateFieldSet(_0x2c0afd,_Debuglet_v8debug,debugapi[_0x48bd06(0x213)](_0x2c0afd[_0x48bd06(0x189)],_0x2c0afd[_0x48bd06(0x23e)],_0x3bee0f[_0x48bd06(0x162)],_0x10f31d,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x169854=_0x12c759||_0x3bee0f[_0x48bd06(0x222)];}catch(_0x2e57f7){_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x206)](_0x48bd06(0x1ec),_0x2e57f7),_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x21d)](JSON[_0x48bd06(0x1fd)](_0x2e57f7)),_0x2c0afd[_0x48bd06(0x1e2)](_0x48bd06(0x233),_0x2e57f7);}_0x2c0afd[_0x48bd06(0x189)]['info'](_0x48bd06(0x1bf)+_0x169854);const _0x330841=(0x0,utils_1[_0x48bd06(0x237)])(_0x2c0afd[_0x48bd06(0x189)])[_0x48bd06(0x210)]('\x0a','');_0x2c0afd[_0x48bd06(0x189)]['info'](_0x48bd06(0x248)+_0x330841);let _0x5e8a57;try{_0x5e8a57=_0x2c0afd[_0x48bd06(0x23e)]['sourceContext']||await _a['getSourceContextFromFile']();}catch(_0x570439){}this[_0x48bd06(0x23e)][_0x48bd06(0x224)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x48bd06(0x200)]()===0x0&&(0x0,utils_1[_0x48bd06(0x1a7)])(process['version'],_0x48bd06(0x1a1))&&_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x20f)](utils_1[_0x48bd06(0x18b)][_0x48bd06(0x188)]),_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x21d)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process[_0x48bd06(0x265)]?.[_0x48bd06(0x258)]),_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x238)]('Working\x20directory:\x20'+_0x544508),_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x238)](_0x48bd06(0x225)),__classPrivateFieldSet(_0x2c0afd,_Debuglet_running,!![],'f'),_0x2c0afd[_0x48bd06(0x1ca)]=(0x0,createDebuggee_1[_0x48bd06(0x202)])(_0x169854,_0x2c0afd[_0x48bd06(0x23e)],_0x5e8a57,__classPrivateFieldGet(_0x2c0afd,_Debuglet_debug,'f')[_0x48bd06(0x1d1)],_0x330841,_0x2c0afd['logger'],__classPrivateFieldGet(_0x2c0afd,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x2c0afd,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x48bd06(0x184)](_0x2c0afd),__classPrivateFieldGet(_0x2c0afd,_Debuglet_instances,'m',_Debuglet_register_)[_0x48bd06(0x184)](_0x2c0afd),_0x2c0afd[_0x48bd06(0x1e2)](_0x48bd06(0x24f));}['isReady'](){const _0x22e8d9=a17_0x3692dd;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x22e8d9(0x242)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x22e8d9(0x1ba)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x22e8d9(0x1ba)]()[_0x22e8d9(0x1c2)](()=>{const _0x259642=_0x22e8d9;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x259642(0x184)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async[a17_0x3692dd(0x23a)](){const _0x1a38a5=a17_0x3692dd,_0x48093f=await readFilep(_0x1a38a5(0x1e7),_0x1a38a5(0x175));try{return JSON[_0x1a38a5(0x1a6)](_0x48093f);}catch(_0x40fb87){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x40fb87);}}[a17_0x3692dd(0x18f)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x3692dd(0x164)](){const _0x154964=a17_0x3692dd;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x154964(0x189)][_0x154964(0x238)](_0x154964(0x15d));return;}this['logger'][_0x154964(0x238)]('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x154964(0x1f8)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x154964(0x1e2)]('stopped');}}exports[a17_0x3692dd(0x240)]=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(_0x1a8b9c){const _0x28c6d3=a17_0x3692dd;return new RegExp(_0x1a8b9c[_0x28c6d3(0x1dc)](_0x1f2992=>_0x1f2992+'$')[_0x28c6d3(0x254)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0xe8ac35=a17_0x3692dd,_0x755426=[_0xe8ac35(0x1f6),_0xe8ac35(0x25d),_0xe8ac35(0x1eb)];_0x755426[_0xe8ac35(0x1d2)](_0x7ae243=>{const _0x7818e9=_0xe8ac35;process[_0x7818e9(0x1ee)](_0x7ae243,()=>{const _0x55f249=_0x7818e9;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x55f249(0x1e8)](this['debuggee'],()=>{const _0x5157a4=_0x55f249;process['kill'](process[_0x5157a4(0x1f7)],_0x7ae243);});});}),process[_0xe8ac35(0x1ee)](_0xe8ac35(0x1c1),()=>{const _0x1f6c6f=_0xe8ac35;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1f6c6f(0x1e8)](this['debuggee'],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xf74464){const _0x543bb3=a17_0x3692dd,_0x5532f4=this;_0x5532f4[_0x543bb3(0x189)][_0x543bb3(0x238)](_0xf74464?_0x543bb3(0x226)+_0xf74464+'s':_0x543bb3(0x160));function _0x432153(_0x42f85e,_0xeb3dfe,_0x545cd4=![]){const _0x1930bb=_0x543bb3,_0x423e7a=_0x5532f4[_0x1930bb(0x1ca)]?.['id']?_0x1930bb(0x21f)+_0x5532f4['debuggee']?.['id']+':\x20'+(0x0,utils_1['prettyError'])(_0x42f85e):_0x1930bb(0x209)+(0x0,utils_1[_0x1930bb(0x16a)])(_0x42f85e);_0x5532f4[_0x1930bb(0x189)]['error'](_0x423e7a),_0xeb3dfe&&!_0x545cd4&&_0x5532f4['logger'][_0x1930bb(0x206)]('Result:\x20\x0a',_0xeb3dfe),__classPrivateFieldGet(_0x5532f4,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1930bb(0x184)](_0x5532f4,(0x0,utils_1[_0x1930bb(0x24b)])(_0xf74464,_0x5532f4[_0x1930bb(0x23e)]['internal'][_0x1930bb(0x1db)]));}setTimeout(()=>{const _0xfb91ee=_0x543bb3;if(!__classPrivateFieldGet(_0x5532f4,_Debuglet_running,'f')){_0x432153(new Error(_0xfb91ee(0x1fc)));return;}__classPrivateFieldGet(_0x5532f4,_Debuglet_controller,'f')[_0xfb91ee(0x204)](_0x5532f4['debuggee'],(_0xd5dc37,_0x4c458b,_0x49705e=![])=>{const _0x47f8e3=_0xfb91ee;if(_0xd5dc37){_0x432153(_0xd5dc37,_0x4c458b,_0x49705e);return;}if(_0x4c458b['debuggee']['isDisabled']){_0x432153(new Error(_0x47f8e3(0x235))),_0x5532f4['emit'](_0x47f8e3(0x19c));return;}const _0x27abe7=_0x4c458b[_0x47f8e3(0x1ca)]['id'];_0x5532f4[_0x47f8e3(0x189)][_0x47f8e3(0x21d)]('Registered\x20as\x20debuggee:\x20'+_0x27abe7),_0x5532f4[_0x47f8e3(0x1ca)]['id']=_0x27abe7;const _0x1cfd1d=[__classPrivateFieldGet(_0x5532f4,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x47f8e3(0x1c5)](_0x5532f4)(_0x5532f4[_0x47f8e3(0x1ca)]['id'])];_0x5532f4[_0x47f8e3(0x23e)]['redactionEnabled']&&_0x1cfd1d[_0x47f8e3(0x236)](__classPrivateFieldGet(_0x5532f4,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x47f8e3(0x1c5)](_0x5532f4)(_0x5532f4[_0x47f8e3(0x1ca)]['id'])),Promise[_0x47f8e3(0x223)](_0x1cfd1d)[_0x47f8e3(0x1c2)](()=>{const _0x112b87=_0x47f8e3;_0x5532f4['emit']('registered',_0x27abe7),__classPrivateFieldGet(_0x5532f4,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(_0x5532f4,_Debuglet_v8debug,'f')?.[_0x112b87(0x20b)](__classPrivateFieldGet(_0x5532f4,_Debuglet_blocklistManager,'f')),!_0x5532f4[_0x112b87(0x179)]&&__classPrivateFieldGet(_0x5532f4,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x112b87(0x184)](_0x5532f4,0x0,this[_0x112b87(0x23e)][_0x112b87(0x18d)],_0x4c458b?.[_0x112b87(0x255)]);},_0x2fb228=>{_0x432153(_0x2fb228);});});},_0xf74464*0x3e8)[_0x543bb3(0x253)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x1d04cf,_0x559009,_0x17dafa){const _0x5ec6a0=a17_0x3692dd,_0x5d0a9c=this;!_0x559009&&(_0x5d0a9c[_0x5ec6a0(0x179)]=!![]),setTimeout(()=>{const _0x569810=_0x5ec6a0;if(!__classPrivateFieldGet(_0x5d0a9c,_Debuglet_running,'f'))return;!_0x559009&&assert(_0x5d0a9c['fetcherActive']),_0x5d0a9c[_0x569810(0x189)][_0x569810(0x238)](_0x569810(0x257)),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_controller,'f')[_0x569810(0x19b)](_0x5d0a9c[_0x569810(0x1ca)],(_0x58b13c,_0x5858f1,_0x6f5d12)=>{const _0x485fa4=_0x569810;if(_0x5858f1?.[_0x485fa4(0x1f2)]===0x194){_0x5d0a9c[_0x485fa4(0x189)]['info']('Debuggee\x20is\x20not\x20registered'),_0x5d0a9c[_0x485fa4(0x179)]=![],__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](_0x5d0a9c),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_register_)[_0x485fa4(0x184)](_0x5d0a9c);return;}if(_0x58b13c){const _0x292d3c=(0x0,utils_1[_0x485fa4(0x24b)])(_0x1d04cf,_0x5d0a9c[_0x485fa4(0x23e)][_0x485fa4(0x239)][_0x485fa4(0x1db)]);_0x5d0a9c[_0x485fa4(0x189)]['error']('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x5858f1?.['status']+_0x485fa4(0x26b)+_0x58b13c['message']+_0x485fa4(0x245)+_0x292d3c+'s'),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x485fa4(0x184)](_0x5d0a9c,_0x292d3c,_0x559009,_0x17dafa);return;}_0x5d0a9c['logger']['debug']('\x09'+_0x5858f1['status']+_0x485fa4(0x16c));if(!_0x6f5d12){const _0xe095ae=_0x5d0a9c[_0x485fa4(0x23e)][_0x485fa4(0x177)];_0x5d0a9c[_0x485fa4(0x189)][_0x485fa4(0x206)](_0x485fa4(0x1bd)+_0xe095ae+'s'),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x485fa4(0x184)](_0x5d0a9c,_0xe095ae,_0x559009,_0x17dafa);return;}if(_0x6f5d12[_0x485fa4(0x167)]){_0x5d0a9c[_0x485fa4(0x189)][_0x485fa4(0x21d)](_0x485fa4(0x1d8)),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x485fa4(0x184)](_0x5d0a9c,0x0,_0x559009,_0x17dafa);return;}if(_0x6f5d12[_0x485fa4(0x249)]&&_0x6f5d12[_0x485fa4(0x249)]!==_0x485fa4(0x268)){const _0x553da8=this['pipingManager']['globalPipingStatus'];_0x553da8!==_0x6f5d12[_0x485fa4(0x249)]&&(this[_0x485fa4(0x189)]['debug'](_0x485fa4(0x21a)+_0x553da8+_0x485fa4(0x1e9)+_0x6f5d12[_0x485fa4(0x249)]),this[_0x485fa4(0x216)][_0x485fa4(0x1e6)]=_0x6f5d12['pipeLogs']);}if(_0x6f5d12[_0x485fa4(0x191)]&&_0x6f5d12['collectLogRequestId']!==_0x5d0a9c['collectLogRequestId']){_0x5d0a9c[_0x485fa4(0x241)]=_0x6f5d12[_0x485fa4(0x241)];const _0x5690f8=_0x5d0a9c[_0x485fa4(0x23e)]['agentLog'][_0x485fa4(0x15e)]&&path[_0x485fa4(0x254)](_0x5d0a9c[_0x485fa4(0x23e)][_0x485fa4(0x15c)][_0x485fa4(0x15e)],agent_logger_1[_0x485fa4(0x1a9)]['AGENT_LOG_FILE']);_0x5690f8&&fs[_0x485fa4(0x1f5)](_0x5690f8)?setTimeout(()=>__classPrivateFieldGet(_0x5d0a9c,_Debuglet_controller,'f')[_0x485fa4(0x1b7)](_0x5d0a9c[_0x485fa4(0x1ca)],_0x6f5d12[_0x485fa4(0x241)],_0x5690f8)):_0x5d0a9c[_0x485fa4(0x189)][_0x485fa4(0x21d)]('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x6f5d12['collectLogRequestId']+_0x485fa4(0x1cb)+_0x485fa4(0x201));}const _0x30a5b2=(_0x6f5d12[_0x485fa4(0x21c)]||[])['map'](_0x443280=>new stackdriver_1[(_0x485fa4(0x267))](_0x443280))[_0x485fa4(0x1b4)](_0x39a141=>{const _0x4533a2=_0x485fa4,_0xf7e999=_0x39a141[_0x4533a2(0x260)]||_0x4533a2(0x264);if(__classPrivateFieldGet(_0x5d0a9c,_Debuglet_completedBreakpointMap,'f')[_0x39a141['id']])return![];if(_0xf7e999!=='CAPTURE'&&_0xf7e999!==_0x4533a2(0x227))return _0x5d0a9c[_0x4533a2(0x189)]['warn'](_0x4533a2(0x1d6),_0xf7e999),_0x39a141[_0x4533a2(0x1f2)]=new status_message_1[(_0x4533a2(0x173))](status_message_1[_0x4533a2(0x173)][_0x4533a2(0x16d)],utils_1[_0x4533a2(0x18b)][_0x4533a2(0x19f)],!![]),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x5d0a9c,_0x39a141),![];return!![];}),_0x4079c9=__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x485fa4(0x184)](_0x5d0a9c);let _0x433ef4=_0x4079c9[_0x485fa4(0x234)]>0x0;__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x5d0a9c,_0x4079c9),_0x433ef4=_0x433ef4||__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x5d0a9c,_0x30a5b2),_0x5d0a9c[_0x485fa4(0x1e2)](_0x485fa4(0x1b9),_0x30a5b2[_0x485fa4(0x234)]);_0x433ef4&&_0x5d0a9c[_0x485fa4(0x189)][_0x485fa4(0x238)](formatBreakpoints(_0x485fa4(0x17b),_0x5d0a9c[_0x485fa4(0x1be)]));__classPrivateFieldSet(_0x5d0a9c,_Debuglet_breakpointFetchedTimestamp,Date[_0x485fa4(0x26a)](),'f');_0x559009?__classPrivateFieldGet(_0x5d0a9c,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x5d0a9c,_Debuglet_breakpointFetched,'f')[_0x485fa4(0x242)](),__classPrivateFieldSet(_0x5d0a9c,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x5d0a9c,0x0,_0x559009,_0x17dafa);return;},_0x17dafa);},_0x1d04cf*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x1dfb09=a17_0x3692dd;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x1dfb09(0x242)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0xc10e9a){const _0x4173a1=a17_0x3692dd,_0x524f6b=this,_0x3926d1=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)['call'](this,_0xc10e9a);let _0x5d1942=![];return _0xc10e9a[_0x4173a1(0x1d2)](_0x156897=>{const _0x41691c=_0x4173a1;!__classPrivateFieldGet(_0x524f6b,_Debuglet_completedBreakpointMap,'f')[_0x156897['id']]&&!_0x524f6b[_0x41691c(0x1be)][_0x156897['id']]&&(__classPrivateFieldGet(_0x524f6b,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x41691c(0x184)](_0x524f6b,_0x156897,_0x2e688a=>{_0x2e688a&&__classPrivateFieldGet(_0x524f6b,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x524f6b,_0x156897,!![],![]);}),_0x5d1942=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x156897['id'])),__classPrivateFieldGet(_0x524f6b,_Debuglet_quotaManager,'f')[_0x41691c(0x196)](_0x156897['id'],_0x156897[_0x41691c(0x1b3)]),_0x524f6b[_0x41691c(0x216)][_0x41691c(0x25f)](_0x156897['id'],_0x156897['pipingStatus']);}),(0x0,mapSubtract_1[_0x4173a1(0x247)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x3926d1)[_0x4173a1(0x1d2)](_0x34ea08=>{delete __classPrivateFieldGet(_0x524f6b,_Debuglet_completedBreakpointMap,'f')[_0x34ea08['id']],_0x5d1942=!![];}),(0x0,mapSubtract_1[_0x4173a1(0x247)])(this[_0x4173a1(0x1be)],_0x3926d1)['forEach'](_0x4304fe=>{const _0x456fa9=_0x4173a1;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x456fa9(0x184)](this,_0x4304fe,!![]),_0x5d1942=!![];}),_0x5d1942&&_0x524f6b['logger'][_0x4173a1(0x238)](formatBreakpoints(_0x4173a1(0x1df),_0x3926d1)),_0x5d1942;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x70ca54){const _0x47d51f=a17_0x3692dd,_0x15cebb={};return _0x70ca54[_0x47d51f(0x1d2)](_0x26c266=>{_0x15cebb[_0x26c266['id']]=_0x26c266;}),_0x15cebb;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0xfe21f,_0x48a192){const _0x46da45=a17_0x3692dd;this[_0x46da45(0x189)][_0x46da45(0x21d)](_0x46da45(0x22f),_0xfe21f),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x46da45(0x221)](_0xfe21f['id']),this[_0x46da45(0x216)][_0x46da45(0x1ed)](_0xfe21f['id']),delete this[_0x46da45(0x1be)][_0xfe21f['id']],_0x48a192&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0xfe21f,_0x24bb71=>{const _0x10d21b=_0x46da45;if(_0x24bb71)this[_0x10d21b(0x189)][_0x10d21b(0x206)](_0x24bb71);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x53e265,_0x531229){const _0xb39332=a17_0x3692dd,_0x23442c=this;_0x23442c['logger'][_0xb39332(0x21d)](_0xb39332(0x1c7),_0x53e265);if(!_0x23442c[_0xb39332(0x23e)][_0xb39332(0x211)]&&(_0x53e265[_0xb39332(0x24a)]||_0x53e265[_0xb39332(0x1ef)])){_0x23442c[_0xb39332(0x189)][_0xb39332(0x206)](utils_1[_0xb39332(0x18b)][_0xb39332(0x1aa)][_0xb39332(0x1d0)]||''),_0x53e265['status']=new status_message_1[(_0xb39332(0x173))](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0xb39332(0x18b)][_0xb39332(0x1aa)],!![]),setImmediate(()=>{const _0x4ff567=_0xb39332;_0x531229(utils_1['errors'][_0x4ff567(0x1aa)]);});return;}if((0x0,utils_1[_0xb39332(0x1a7)])(process[_0xb39332(0x1e5)],_0xb39332(0x20c))){const _0x5dc968=utils_1[_0xb39332(0x18b)][_0xb39332(0x19d)];_0x23442c['logger']['error'](_0x5dc968),_0x53e265['status']=new status_message_1['StatusMessage'](status_message_1[_0xb39332(0x173)]['UNSPECIFIED'],_0x5dc968,!![]),setImmediate(()=>{_0x531229(_0x5dc968);});return;}const _0x313b92=_0x53e265[_0xb39332(0x262)]?Number(_0x53e265[_0xb39332(0x262)][_0xb39332(0x18e)]):Date['now']()/0x3e8,_0x501dff=_0x53e265['expirationSeconds']||_0x23442c['config'][_0xb39332(0x197)];_0x53e265[_0xb39332(0x178)]=_0x313b92+_0x501dff,_0x53e265[_0xb39332(0x1c9)]?.[_0xb39332(0x1af)]&&(_0x53e265['location'][_0xb39332(0x1af)]=path[_0xb39332(0x19a)](_0x53e265[_0xb39332(0x1c9)][_0xb39332(0x1af)]),path[_0xb39332(0x250)]===path[_0xb39332(0x1da)][_0xb39332(0x250)]&&(_0x53e265['location'][_0xb39332(0x1af)]=_0x53e265[_0xb39332(0x1c9)][_0xb39332(0x1af)][_0xb39332(0x218)]('\x5c')[_0xb39332(0x254)](path[_0xb39332(0x250)]))),__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')[_0xb39332(0x25b)](_0x53e265,_0x3bd1ff=>{const _0x1e5e8a=_0xb39332;if(_0x3bd1ff){_0x531229(_0x3bd1ff);return;}_0x23442c[_0x1e5e8a(0x189)][_0x1e5e8a(0x21d)]('\x09successfully\x20added\x20breakpoint',_0x53e265),_0x23442c[_0x1e5e8a(0x1be)][_0x53e265['id']]=_0x53e265,_0x53e265[_0x1e5e8a(0x260)]===_0x1e5e8a(0x227)?__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')[_0x1e5e8a(0x16e)](_0x53e265,(_0x3979bb,_0x152848)=>{const _0x572d21=_0x1e5e8a,_0x25261b=_0x152848['map'](_0x307a13=>__classPrivateFieldGet(_0x23442c,_Debuglet_instances,'m',_Debuglet_stringify)[_0x572d21(0x184)](_0x23442c,_0x307a13)),_0x3840e4=(0x0,format_1[_0x572d21(0x25e)])(_0x3979bb,_0x25261b),_0x2f7e1c=_0x572d21(0x198)+(__classPrivateFieldGet(_0x23442c,_Debuglet_redactionManager,'f')?.[_0x572d21(0x22d)](_0x3840e4)||_0x3840e4),_0x47ea28=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x572d21(0x17e)](_0x2f7e1c,_0x53e265['id']);if(_0x47ea28){const _0x527eea=_0x47ea28[_0x572d21(0x23c)],_0x565191=_0x47ea28[_0x572d21(0x215)];let _0x502034,_0x53fe57;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x572d21(0x252)]()&&!_0x565191&&(_0x502034='LOGPOINT:\x20'+_0x3979bb,_0x53fe57=_0x25261b);_0x23442c['pipingManager'][_0x572d21(0x220)](_0x23442c['debuggee'],_0x53e265['id'],_0x527eea,_0x53e265['logLevel'],_0x502034,_0x53fe57);if(_0x565191)__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')?.[_0x572d21(0x185)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x9930ec=_0x572d21;__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')?.[_0x9930ec(0x231)](),__classPrivateFieldSet(_0x23442c,_Debuglet_nextEnableTimeout,null,'f');},_0x23442c[_0x572d21(0x23e)]['quota'][_0x572d21(0x17c)]*0x3e8),'f');else _0x527eea?.[_0x572d21(0x234)]===0x0&&__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')?.[_0x572d21(0x185)]();}},()=>{return __classPrivateFieldGet(_0x23442c,_Debuglet_completedBreakpointMap,'f')[_0x53e265['id']];},_0x1dd641=>{const _0x436229=_0x1e5e8a;if(_0x1dd641){_0x23442c[_0x436229(0x189)][_0x436229(0x206)](_0x1dd641),_0x531229(_0x1dd641);return;}}):__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')[_0x1e5e8a(0x180)](_0x53e265,_0x6fff14=>{const _0x295cc2=_0x1e5e8a;if(_0x6fff14){setImmediate(()=>{const _0x5248e3=a17_0x301a;_0x23442c[_0x5248e3(0x189)][_0x5248e3(0x206)](_0x6fff14),_0x531229(_0x6fff14);});return;}_0x23442c[_0x295cc2(0x189)][_0x295cc2(0x21d)](_0x295cc2(0x22e),_0x53e265),__classPrivateFieldGet(_0x23442c,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x295cc2(0x184)](_0x23442c,_0x53e265,__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')[_0x295cc2(0x163)](_0x53e265['id'])<=0x0);}),__classPrivateFieldGet(_0x23442c,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x1e5e8a(0x184)](_0x23442c,_0x53e265);}),this[_0xb39332(0x1e2)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x1974e1,_0x2318d9,_0x50af97=!![]){const _0x475a80=a17_0x3692dd,_0x6441a4=this;if(_0x1974e1['status']&&_0x1974e1[_0x475a80(0x1f2)][_0x475a80(0x174)]){let _0x2de043=_0x1974e1[_0x475a80(0x1f2)]?.['description']?.['format']||'';_0x1974e1[_0x475a80(0x1f2)]?.[_0x475a80(0x1d0)]?.[_0x475a80(0x181)]&&(_0x2de043+=':\x20'+_0x1974e1[_0x475a80(0x1f2)]?.['description']?.[_0x475a80(0x181)][_0x475a80(0x1bb)]()),_0x6441a4['logger'][_0x475a80(0x20f)](_0x475a80(0x1b2)+_0x1974e1+_0x475a80(0x20a)+_0x2de043);}else _0x6441a4[_0x475a80(0x189)][_0x475a80(0x21d)](_0x475a80(0x190),_0x1974e1);_0x2318d9&&(__classPrivateFieldGet(_0x6441a4,_Debuglet_completedBreakpointMap,'f')[_0x1974e1['id']]=!![],__classPrivateFieldGet(_0x6441a4,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x6441a4,_0x1974e1,_0x50af97)),__classPrivateFieldGet(_0x6441a4,_Debuglet_controller,'f')[_0x475a80(0x17a)](_0x6441a4[_0x475a80(0x1ca)],extend(!![],{},_0x1974e1));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x2e29b2){const _0x557b9e=a17_0x3692dd,_0x444a73=this;_0x444a73[_0x557b9e(0x189)][_0x557b9e(0x238)](_0x557b9e(0x1d7)+_0x2e29b2+'\x20accepted\x20by\x20agent');const _0x2ac94a=extend(!![],{},_0x2e29b2);_0x2ac94a[_0x557b9e(0x1b0)]=![],_0x2ac94a[_0x557b9e(0x1f2)]=new status_message_1[(_0x557b9e(0x173))](status_message_1['StatusMessage'][_0x557b9e(0x16d)],undefined,![],!![]),__classPrivateFieldGet(_0x444a73,_Debuglet_controller,'f')[_0x557b9e(0x17a)](_0x444a73[_0x557b9e(0x1ca)],_0x2ac94a);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x48c1e6){const _0x146bbc=a17_0x3692dd,_0x408e4=this;this['logger'][_0x146bbc(0x21d)](_0x146bbc(0x246),_0x48c1e6),__classPrivateFieldGet(_0x408e4,_Debuglet_completedBreakpointMap,'f')[_0x48c1e6['id']]=!![],__classPrivateFieldGet(_0x408e4,_Debuglet_controller,'f')[_0x146bbc(0x17a)](_0x408e4['debuggee'],_0x48c1e6);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x212a63){const _0x9c17f6=this;_0x212a63['forEach'](_0x3c70bb=>{const _0x342f4a=a17_0x301a;_0x9c17f6[_0x342f4a(0x189)][_0x342f4a(0x21d)](_0x342f4a(0x1f4),_0x3c70bb),__classPrivateFieldGet(_0x9c17f6,_Debuglet_completedBreakpointMap,'f')[_0x3c70bb['id']]=!![],__classPrivateFieldGet(_0x9c17f6,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x342f4a(0x184)](_0x9c17f6,_0x3c70bb,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x11a3af=a17_0x3692dd,_0x45f7a0=Date[_0x11a3af(0x26a)]()/0x3e8;return Object['values'](this[_0x11a3af(0x1be)])[_0x11a3af(0x1b4)](_0xd52ac4=>_0xd52ac4['expirationTime']?_0xd52ac4[_0x11a3af(0x178)]<_0x45f7a0:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x4947c6){const _0x4603f7=a17_0x3692dd,_0x4bf78e=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4603f7(0x1a5)](_0x4947c6),_0x3065bf=_0x4bf78e[_0x4603f7(0x1d4)],_0x2509e8=_0x4bf78e[_0x4603f7(0x22c)];_0x3065bf&&_0x3065bf[_0x4603f7(0x234)]&&this['logger']['debug']('Blacklist:\x20\x0a\x09',_0x3065bf['join']('\x0a\x09')),_0x2509e8&&_0x2509e8[_0x4603f7(0x234)]&&this[_0x4603f7(0x189)][_0x4603f7(0x238)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x2509e8[_0x4603f7(0x254)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x4603f7(0x1bc))](_0x3065bf,_0x2509e8,this[_0x4603f7(0x23e)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x3ce911){const _0x151a10=a17_0x3692dd,_0x4e2701=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x151a10(0x1c4)](_0x3ce911);_0x4e2701?.[_0x151a10(0x234)]&&this['logger'][_0x151a10(0x238)](_0x151a10(0x1c0),_0x4e2701[_0x151a10(0x1dc)](_0x3ff449=>_0x151a10(0x1d5)+_0x3ff449[_0x151a10(0x183)]+_0x151a10(0x208)+_0x3ff449[_0x151a10(0x1c8)]+_0x151a10(0x269)+_0x3ff449['pattern']+'\x20caseInsensitive:\x20'+_0x3ff449[_0x151a10(0x1f3)])[_0x151a10(0x254)]('\x0a\x09'));if((0x0,utils_1[_0x151a10(0x1a7)])(process[_0x151a10(0x1e5)],_0x151a10(0x251))){const {RedactionManagerRE2JS:_0x4d8896}=await Promise[_0x151a10(0x242)]()[_0x151a10(0x1c2)](()=>require(_0x151a10(0x166)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x4d8896(this[_0x151a10(0x189)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x151a10(0x1b1)](_0x4e2701);}},_Debuglet_stringify=function _Debuglet_stringify(_0x2085a1){const _0x7eb71b=a17_0x3692dd;if(!_0x2085a1)return JSON[_0x7eb71b(0x1fd)](_0x2085a1,(_0x28f6e1,_0x718969)=>_0x718969===undefined?_0x7eb71b(0x165):_0x718969);if(Array[_0x7eb71b(0x1e0)](_0x2085a1)){const _0x3fe55b=[];for(const _0x264dcc of _0x2085a1){_0x3fe55b[_0x7eb71b(0x236)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x7eb71b(0x184)](this,_0x264dcc));}return'['+_0x3fe55b[_0x7eb71b(0x254)](',\x20')+']';}if(typeof _0x2085a1==='object'){const _0x417372=Object[_0x7eb71b(0x1cd)](_0x2085a1)[_0x7eb71b(0x1dc)](([_0x1a0462,_0x22eb5c])=>{const _0x3eedd6=_0x7eb71b,_0x5f2abe=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x1a0462)?redaction_manager_1[_0x3eedd6(0x24c)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x22eb5c);return JSON[_0x3eedd6(0x1fd)](_0x1a0462)+':\x20'+_0x5f2abe;})['join'](',\x20');return'{'+_0x417372+'}';}return JSON['stringify'](_0x2085a1);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a18_0x2864e6=a18_0x9cda;(function(_0x37a6f0,_0x249a51){const _0x41ba5e=a18_0x9cda,_0x3a1ab5=_0x37a6f0();while(!![]){try{const _0x30d342=parseInt(_0x41ba5e(0xe9))/0x1+-parseInt(_0x41ba5e(0xcc))/0x2+parseInt(_0x41ba5e(0xba))/0x3*(parseInt(_0x41ba5e(0xd4))/0x4)+-parseInt(_0x41ba5e(0xdb))/0x5*(-parseInt(_0x41ba5e(0xc8))/0x6)+parseInt(_0x41ba5e(0xce))/0x7*(-parseInt(_0x41ba5e(0xe1))/0x8)+parseInt(_0x41ba5e(0xdd))/0x9*(parseInt(_0x41ba5e(0xea))/0xa)+parseInt(_0x41ba5e(0xdc))/0xb*(-parseInt(_0x41ba5e(0xd1))/0xc);if(_0x30d342===_0x249a51)break;else _0x3a1ab5['push'](_0x3a1ab5['shift']());}catch(_0x527b48){_0x3a1ab5['push'](_0x3a1ab5['shift']());}}}(a18_0x1f23,0x55678));Object['defineProperty'](exports,a18_0x2864e6(0xe6),{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a18_0x2864e6(0xf2));var OS;(function(_0x488597){const _0x3d1ca9=a18_0x2864e6,_0x5c9851=(function(){let _0x86571d=!![];return function(_0x1bb8f5,_0x1f3a66){const _0x336abc=_0x86571d?function(){const _0x3a0ce5=a18_0x9cda;if(_0x1f3a66){const _0x39cf2b=_0x1f3a66[_0x3a0ce5(0xcd)](_0x1bb8f5,arguments);return _0x1f3a66=null,_0x39cf2b;}}:function(){};return _0x86571d=![],_0x336abc;};}()),_0x253372=_0x5c9851(this,function(){const _0x2c085c=a18_0x9cda;return _0x253372[_0x2c085c(0xd6)]()[_0x2c085c(0xd9)](_0x2c085c(0xc4))[_0x2c085c(0xd6)]()[_0x2c085c(0xe3)](_0x253372)['search']('(((.+)+)+)+$');});_0x253372(),_0x488597[_0x3d1ca9(0xc1)]='linux',_0x488597[_0x3d1ca9(0xb7)]=_0x3d1ca9(0xe8),_0x488597[_0x3d1ca9(0xd7)]=_0x3d1ca9(0xda);}(OS||(OS={})));function a18_0x9cda(_0x20cec4,_0x268741){const _0x238afc=a18_0x1f23();return a18_0x9cda=function(_0x4a5253,_0x2e70c5){_0x4a5253=_0x4a5253-0xb4;let _0x1f23cf=_0x238afc[_0x4a5253];return _0x1f23cf;},a18_0x9cda(_0x20cec4,_0x268741);}var ProcArch;function a18_0x1f23(){const _0xd98bd=['runtimeEnvironmentVersion','(((.+)+)+)+$','split','agentOS','hostname','192bXLOHb','_logger','version','cpuCoreCount','504636nKAaNt','apply','217hwfoWa','VERSION_ID','existsSync','774420euRYic','set','release','178492DJpDoG','cpus','toString','MacOS','pid','search','mac','85325XixBTR','165EpNPpo','558hzSpYO','x32','EnvironmentMetadata','versions','138568RrQkhC','isInK8s','constructor','host','osVersion','__esModule','utf-8','windows','620852OHdQym','50880zXvjaT','node','x64','error','linuxDistroName','arch','systemTotalMemoryBytes','platform','assert','arm64','arm','/etc/os-release','Windows','_osRelease','readFileSync','42ctvPNy','totalmem','procArch','forEach','_cachedOsRelease','KUBERNETES_SERVICE_HOST','get','Linux','runtimeEnvironmentInfo'];a18_0x1f23=function(){return _0xd98bd;};return a18_0x1f23();}(function(_0x13d4a0){const _0x2ac460=a18_0x2864e6;_0x13d4a0[_0x2ac460(0xec)]=_0x2ac460(0xec),_0x13d4a0[_0x2ac460(0xde)]=_0x2ac460(0xde),_0x13d4a0[_0x2ac460(0xb5)]=_0x2ac460(0xb5),_0x13d4a0[_0x2ac460(0xb4)]=_0x2ac460(0xb4);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS['Windows'],'darwin':OS['MacOS']},ArchToProcArchMap={'x32':ProcArch[a18_0x2864e6(0xde)],'x64':ProcArch[a18_0x2864e6(0xec)],'arm':ProcArch['arm'],'arm64':ProcArch[a18_0x2864e6(0xb4)]};class EnvironmentMetadata{constructor(_0x238db5){const _0x42c66f=a18_0x2864e6;assert(_0x238db5!==null),this[_0x42c66f(0xc9)]=_0x238db5;}get[a18_0x2864e6(0xc3)](){const _0x2617bc=a18_0x2864e6;try{const _0x18c897=process[_0x2617bc(0xe0)][_0x2617bc(0xeb)]['match'](/(\d+\.\d+)\..*/);if(_0x18c897)return _0x18c897[0x1];}catch(_0x1544ea){this[_0x2617bc(0xc9)][_0x2617bc(0xed)](_0x1544ea);}return;}get[a18_0x2864e6(0xc2)](){const _0xfe4e9a=a18_0x2864e6;return'Node.js\x20'+process[_0xfe4e9a(0xca)]+'\x20on\x20'+(0x0,os_1[_0xfe4e9a(0xf1)])()+'\x20'+(0x0,os_1[_0xfe4e9a(0xd3)])();}get['pid'](){const _0x195aca=a18_0x2864e6;return process['pid'][_0x195aca(0xd6)]();}get[a18_0x2864e6(0xbc)](){const _0x5ccb6e=a18_0x2864e6;return ArchToProcArchMap[process[_0x5ccb6e(0xef)]]||process[_0x5ccb6e(0xef)];}get['cpuCoreCount'](){const _0x38e37c=a18_0x2864e6;return(0x0,os_1[_0x38e37c(0xd5)])()['length'];}get[a18_0x2864e6(0xf0)](){const _0x191e44=a18_0x2864e6;return(0x0,os_1[_0x191e44(0xbb)])();}get['host'](){const _0x3b4094=a18_0x2864e6;return(0x0,os_1[_0x3b4094(0xc7)])();}get[a18_0x2864e6(0xc6)](){const _0x23a951=a18_0x2864e6;return PlatformToOsMap[(0x0,os_1[_0x23a951(0xf1)])()]||(0x0,os_1[_0x23a951(0xf1)])();}get[a18_0x2864e6(0xe5)](){const _0x5dd52d=a18_0x2864e6;try{if(this[_0x5dd52d(0xc6)]===OS[_0x5dd52d(0xc1)])return this[_0x5dd52d(0xb8)]['get'](_0x5dd52d(0xcf))||(0x0,os_1[_0x5dd52d(0xd3)])();return(0x0,os_1[_0x5dd52d(0xd3)])();}catch(_0x515046){this[_0x5dd52d(0xc9)]['error'](_0x515046);}return;}get[a18_0x2864e6(0xee)](){const _0x3272e9=a18_0x2864e6;return this[_0x3272e9(0xc6)]===OS['Linux']&&this[_0x3272e9(0xb8)][_0x3272e9(0xc0)]('ID')||'';}get['isInDocker'](){const _0xd7fef4=a18_0x2864e6;return this[_0xd7fef4(0xc6)]===OS[_0xd7fef4(0xc1)]?(0x0,fs_1[_0xd7fef4(0xd0)])('/.dockerenv'):![];}get['isInK8s'](){const _0xbdca9f=a18_0x2864e6;return!!process['env'][_0xbdca9f(0xbf)];}get[a18_0x2864e6(0xb8)](){const _0x4513fc=a18_0x2864e6;if(!this[_0x4513fc(0xbe)]){this[_0x4513fc(0xbe)]=new Map();try{if(this['agentOS']===OS['Linux']){const _0x26c10c=(0x0,fs_1[_0x4513fc(0xb9)])(_0x4513fc(0xb6),_0x4513fc(0xe7));_0x26c10c['split'](/\r?\n/)[_0x4513fc(0xbd)](_0x171bd5=>{const _0x5e2e93=_0x4513fc,[_0x2c7c90,_0x460e7e]=_0x171bd5['trim']()[_0x5e2e93(0xc5)]('=');this[_0x5e2e93(0xbe)]?.[_0x5e2e93(0xd2)](_0x2c7c90,_0x460e7e?.['replace'](/^"|"$/g,'')||'');});}}catch(_0x70e89b){this[_0x4513fc(0xc9)]['warn']('Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release',_0x70e89b);}}return this[_0x4513fc(0xbe)];}['getProps'](){const _0x4ba313=a18_0x2864e6;return{'runtimeEnvironmentVersion':this['runtimeEnvironmentVersion'],'runtimeEnvironmentInfo':this['runtimeEnvironmentInfo'],'pid':this[_0x4ba313(0xd8)],'cpuCoreCount':this[_0x4ba313(0xcb)],'systemTotalMemoryBytes':this[_0x4ba313(0xf0)],'host':this[_0x4ba313(0xe4)],'agentOS':this[_0x4ba313(0xc6)],'osVersion':this[_0x4ba313(0xe5)],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this['isInDocker'],'isInK8s':this[_0x4ba313(0xe2)],'procArch':this[_0x4ba313(0xbc)]};}}exports[a18_0x2864e6(0xdf)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x2825eb=a19_0x867b;function a19_0x867b(_0x3c117b,_0x40825b){const _0x13ee6c=a19_0x428d();return a19_0x867b=function(_0x2b7a67,_0x771f3e){_0x2b7a67=_0x2b7a67-0x68;let _0x428df1=_0x13ee6c[_0x2b7a67];return _0x428df1;},a19_0x867b(_0x3c117b,_0x40825b);}(function(_0x4cd957,_0x19ee8f){const _0x4d990f=a19_0x867b,_0x49df33=_0x4cd957();while(!![]){try{const _0x11149d=parseInt(_0x4d990f(0x79))/0x1+parseInt(_0x4d990f(0x88))/0x2*(parseInt(_0x4d990f(0x7f))/0x3)+-parseInt(_0x4d990f(0x7d))/0x4*(parseInt(_0x4d990f(0x87))/0x5)+-parseInt(_0x4d990f(0x8b))/0x6+parseInt(_0x4d990f(0x6c))/0x7*(parseInt(_0x4d990f(0x7a))/0x8)+-parseInt(_0x4d990f(0x8a))/0x9*(parseInt(_0x4d990f(0x81))/0xa)+-parseInt(_0x4d990f(0x86))/0xb*(parseInt(_0x4d990f(0x76))/0xc);if(_0x11149d===_0x19ee8f)break;else _0x49df33['push'](_0x49df33['shift']());}catch(_0x284a31){_0x49df33['push'](_0x49df33['shift']());}}}(a19_0x428d,0x25b9e));const a19_0x771f3e=(function(){let _0x41c395=!![];return function(_0x555328,_0x40af70){const _0x3a0b13=_0x41c395?function(){const _0x3db1b9=a19_0x867b;if(_0x40af70){const _0x55bd04=_0x40af70[_0x3db1b9(0x6b)](_0x555328,arguments);return _0x40af70=null,_0x55bd04;}}:function(){};return _0x41c395=![],_0x3a0b13;};}()),a19_0x2b7a67=a19_0x771f3e(this,function(){const _0x4fbab4=a19_0x867b;return a19_0x2b7a67[_0x4fbab4(0x89)]()[_0x4fbab4(0x70)](_0x4fbab4(0x78))[_0x4fbab4(0x89)]()[_0x4fbab4(0x83)](a19_0x2b7a67)['search'](_0x4fbab4(0x78));});function a19_0x428d(){const _0xfa2c95=['836738BBYvMW','push','has','add','search','buildIndex','findShortestFuzzyMatches','stripStartingSep','fromFileStats','_fileStats','12SGFgAp','fileIndex','(((.+)+)+)+$','239037blFDie','16TAwnzz','path','indexOf','27128aKlKRr','min','146766lHLBfj','sep','590vlqKkV','keys','constructor','FileIndex','fromFileList','1419539pccLeE','20cDToKp','8EOmqvd','toString','23391nHrHdJ','1258494IhHgQC','generateSubPaths','size','defineProperty','map','length','__esModule','get','apply'];a19_0x428d=function(){return _0xfa2c95;};return a19_0x428d();}a19_0x2b7a67();'use strict';Object[a19_0x2825eb(0x8e)](exports,a19_0x2825eb(0x69),{'value':!![]}),exports[a19_0x2825eb(0x84)]=void 0x0;const path=require(a19_0x2825eb(0x7b));class FileIndex{constructor(_0x4032d7){const _0x8cc251=a19_0x2825eb;this[_0x8cc251(0x75)]=_0x4032d7,this[_0x8cc251(0x77)]=new Map();}static[a19_0x2825eb(0x74)](_0x347f3e){const _0x207d13=a19_0x2825eb,_0x23a868=new FileIndex(_0x347f3e);return _0x23a868['buildIndex'](Object[_0x207d13(0x82)](_0x347f3e)||[]),_0x23a868;}static[a19_0x2825eb(0x85)](_0xe24418){const _0x200650=a19_0x2825eb,_0x4efd14=new FileIndex(undefined);return _0x4efd14[_0x200650(0x71)](_0xe24418||[]),_0x4efd14;}get['fileStats'](){const _0x4b2156=a19_0x2825eb;return this[_0x4b2156(0x75)]||{};}[a19_0x2825eb(0x72)](_0xddcf67){const _0x3816f0=a19_0x2825eb,_0x1a5882=this['search'](_0xddcf67);if(!_0x1a5882||_0x1a5882[_0x3816f0(0x8d)]===0x0)return[];const _0x2b28cb=[..._0x1a5882][_0x3816f0(0x8f)](_0x4d275f=>_0x4d275f[_0x3816f0(0x68)]),_0x485375=Math[_0x3816f0(0x7e)](..._0x2b28cb),_0x596083=[..._0x1a5882]['filter'](_0x110610=>_0x110610[_0x3816f0(0x68)]===_0x485375);return _0x596083;}[a19_0x2825eb(0x71)](_0xe2b37c){const _0x5f1ea9=a19_0x2825eb;for(const _0x3383a3 of _0xe2b37c){for(const _0x10e0be of this[_0x5f1ea9(0x8c)](_0x3383a3)){let _0x379cb9=this[_0x5f1ea9(0x77)][_0x5f1ea9(0x6a)](_0x10e0be);_0x379cb9===undefined&&(_0x379cb9=new Set(),this['fileIndex']['set'](_0x10e0be,_0x379cb9)),_0x379cb9[_0x5f1ea9(0x6f)](_0x3383a3);}}}[a19_0x2825eb(0x8c)](_0x292f39){const _0x3d9096=a19_0x2825eb;_0x292f39=this[_0x3d9096(0x73)](_0x292f39);const _0x325787=[_0x292f39];while(_0x292f39['indexOf'](path['sep'])>=0x0){_0x292f39=_0x292f39['substring'](_0x292f39[_0x3d9096(0x7c)](path['sep'])+path[_0x3d9096(0x80)][_0x3d9096(0x68)],_0x292f39['length']),_0x325787[_0x3d9096(0x6d)](_0x292f39);}return _0x325787;}[a19_0x2825eb(0x70)](_0x106366){const _0x51120b=a19_0x2825eb;if(!_0x106366)return undefined;_0x106366=this['stripStartingSep'](_0x106366);for(const _0x516230 of this['generateSubPaths'](_0x106366)){if(this[_0x51120b(0x77)][_0x51120b(0x6e)](_0x516230))return this['fileIndex'][_0x51120b(0x6a)](_0x516230);}return undefined;}[a19_0x2825eb(0x73)](_0x2ae4db){if(_0x2ae4db&&(_0x2ae4db[0x0]==='/'||_0x2ae4db[0x0]==='\x5c'))return _0x2ae4db['substr'](0x1);return _0x2ae4db;}}exports[a19_0x2825eb(0x84)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x474e73=a20_0x5e0a;(function(_0x78f414,_0x19ead8){const _0x22394f=a20_0x5e0a,_0x1a9d6b=_0x78f414();while(!![]){try{const _0x5b8949=-parseInt(_0x22394f(0x1e5))/0x1+parseInt(_0x22394f(0x1e2))/0x2*(parseInt(_0x22394f(0x1dc))/0x3)+-parseInt(_0x22394f(0x1df))/0x4*(-parseInt(_0x22394f(0x1f6))/0x5)+-parseInt(_0x22394f(0x1dd))/0x6*(-parseInt(_0x22394f(0x1f3))/0x7)+parseInt(_0x22394f(0x1d9))/0x8*(parseInt(_0x22394f(0x1ef))/0x9)+-parseInt(_0x22394f(0x1f2))/0xa+-parseInt(_0x22394f(0x1f5))/0xb*(parseInt(_0x22394f(0x1e4))/0xc);if(_0x5b8949===_0x19ead8)break;else _0x1a9d6b['push'](_0x1a9d6b['shift']());}catch(_0x553edf){_0x1a9d6b['push'](_0x1a9d6b['shift']());}}}(a20_0x3d49,0x297bd));const a20_0x11cd57=(function(){let _0x341b4e=!![];return function(_0x4f65b1,_0x4ffdea){const _0x1acc71=_0x341b4e?function(){const _0x524e0e=a20_0x5e0a;if(_0x4ffdea){const _0x58ed26=_0x4ffdea[_0x524e0e(0x1e8)](_0x4f65b1,arguments);return _0x4ffdea=null,_0x58ed26;}}:function(){};return _0x341b4e=![],_0x1acc71;};}()),a20_0x26d9fd=a20_0x11cd57(this,function(){const _0x240e9c=a20_0x5e0a;return a20_0x26d9fd['toString']()[_0x240e9c(0x1e7)](_0x240e9c(0x1f1))[_0x240e9c(0x1ec)]()[_0x240e9c(0x1eb)](a20_0x26d9fd)[_0x240e9c(0x1e7)](_0x240e9c(0x1f1));});a20_0x26d9fd();function a20_0x5e0a(_0x548181,_0x1c59f1){const _0x5cec8d=a20_0x3d49();return a20_0x5e0a=function(_0x26d9fd,_0x11cd57){_0x26d9fd=_0x26d9fd-0x1d9;let _0x3d4977=_0x5cec8d[_0x26d9fd];return _0x3d4977;},a20_0x5e0a(_0x548181,_0x1c59f1);}'use strict';Object[a20_0x474e73(0x1de)](exports,'__esModule',{'value':!![]}),exports['ScanResultsImpl']=void 0x0;const path=require(a20_0x474e73(0x1f4));class ScanResultsImpl{constructor(_0x429d6d,_0x260626,_0x4137f4){const _0x259b51=a20_0x474e73;this['stats']=_0x429d6d,this[_0x259b51(0x1ea)]=_0x260626,this[_0x259b51(0x1f0)]=_0x4137f4;}['errors'](){const _0x234bd0=a20_0x474e73;return this[_0x234bd0(0x1ea)];}[a20_0x474e73(0x1e1)](){return this['stats'];}['selectStats'](_0x2ac3a6){const _0x2a0dcf=a20_0x474e73,_0x5e31c1={};return Object[_0x2a0dcf(0x1e0)](this[_0x2a0dcf(0x1f7)])[_0x2a0dcf(0x1ee)](_0x174a38=>{const _0x1d7e03=_0x2a0dcf;_0x2ac3a6['test'](_0x174a38)&&(_0x5e31c1[_0x174a38]=this[_0x1d7e03(0x1f7)][_0x174a38]);}),_0x5e31c1;}[a20_0x474e73(0x1e3)](_0x517712,_0x514898){const _0x770844=a20_0x474e73;return _0x514898=path[_0x770844(0x1da)](_0x514898+path[_0x770844(0x1e6)]),Object[_0x770844(0x1e0)](this[_0x770844(0x1f7)])['filter'](_0x3bae9e=>{const _0x337b7c=_0x770844;return _0x3bae9e&&_0x517712[_0x337b7c(0x1ed)](_0x3bae9e);})[_0x770844(0x1db)](_0x475399=>{const _0x58cdbb=_0x770844;return path['normalize'](_0x475399)[_0x58cdbb(0x1e9)](_0x514898,'');});}}function a20_0x3d49(){const _0x1a331d=['251588YGNXhJ','keys','all','790WcRwnp','selectFiles','257304CdfWpb','228813dYsRUM','sep','search','apply','replace','errorMap','constructor','toString','test','forEach','1002069nWazAY','hash','(((.+)+)+)+$','3355390vUSgeD','257089yniRoK','path','154hXTGGj','25qSaAtx','stats','8QnVNjj','normalize','map','2391vcNOcg','48hbGvgI','defineProperty'];a20_0x3d49=function(){return _0x1a331d;};return a20_0x3d49();}exports['ScanResultsImpl']=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x5469b7=a21_0x4d73;(function(_0xba2274,_0x5184b7){const _0x474f1a=a21_0x4d73,_0xdbf5ab=_0xba2274();while(!![]){try{const _0x25fd25=parseInt(_0x474f1a(0x1a8))/0x1*(-parseInt(_0x474f1a(0x1c2))/0x2)+-parseInt(_0x474f1a(0x1d1))/0x3+-parseInt(_0x474f1a(0x1b1))/0x4*(-parseInt(_0x474f1a(0x19f))/0x5)+-parseInt(_0x474f1a(0x1a4))/0x6+-parseInt(_0x474f1a(0x1c3))/0x7+-parseInt(_0x474f1a(0x19e))/0x8*(parseInt(_0x474f1a(0x1b3))/0x9)+-parseInt(_0x474f1a(0x1d0))/0xa*(-parseInt(_0x474f1a(0x1c0))/0xb);if(_0x25fd25===_0x5184b7)break;else _0xdbf5ab['push'](_0xdbf5ab['shift']());}catch(_0x58db1b){_0xdbf5ab['push'](_0xdbf5ab['shift']());}}}(a21_0x10ef,0x55bcc));const a21_0x2960cf=(function(){let _0x2cb205=!![];return function(_0x58a08d,_0x9ccaa4){const _0x3e2349=_0x2cb205?function(){const _0x4c9271=a21_0x4d73;if(_0x9ccaa4){const _0x526232=_0x9ccaa4[_0x4c9271(0x1bd)](_0x58a08d,arguments);return _0x9ccaa4=null,_0x526232;}}:function(){};return _0x2cb205=![],_0x3e2349;};}()),a21_0x2f085b=a21_0x2960cf(this,function(){const _0x18e5a4=a21_0x4d73;return a21_0x2f085b[_0x18e5a4(0x1a2)]()['search']('(((.+)+)+)+$')['toString']()[_0x18e5a4(0x1d3)](a21_0x2f085b)[_0x18e5a4(0x1cb)]('(((.+)+)+)+$');});a21_0x2f085b();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['Scanner']=void 0x0;const crypto=require(a21_0x5469b7(0x1ba)),fs=require('fs'),path=require('path'),scan_results_1=require(a21_0x5469b7(0x1be));class Scanner{constructor(_0x51ca20){const _0x168a99=a21_0x5469b7;this[_0x168a99(0x1a9)]=_0x51ca20;}async[a21_0x5469b7(0x1bb)](_0x4a3162,_0x5b1b70,_0x2227fe,_0x43be00){const _0x2c96d=await this['findFiles'](_0x4a3162,_0x5b1b70,_0x43be00);return this['computeStats'](_0x2c96d,_0x2227fe);}['computeStats'](_0x420b81,_0x2e614f){return new Promise(async _0x3a03ef=>{const _0x5229f1=a21_0x4d73;if(_0x420b81[_0x5229f1(0x1bc)]===0x0){_0x3a03ef(new scan_results_1[(_0x5229f1(0x1a5))]({},new Map(),_0x5229f1(0x1c1)));return;}const _0x27c524=[],_0x3406bc={},_0x226665=new Map();for(const _0x44b40d of _0x420b81){try{const _0x2420b4=await this['statsForFile'](_0x44b40d,!_0x2e614f);!_0x2e614f&&_0x27c524['push'](_0x2420b4[_0x5229f1(0x1c7)]),_0x3406bc[_0x44b40d]=_0x2420b4;}catch(_0x3f93b8){_0x226665[_0x5229f1(0x1c5)](_0x44b40d,_0x3f93b8);}}let _0x117d0c;if(!_0x2e614f){const _0x16e330=_0x27c524['sort']()[_0x5229f1(0x1d5)](),_0x493484=crypto[_0x5229f1(0x1cc)](_0x5229f1(0x1a0))[_0x5229f1(0x1d2)](_0x16e330)['digest'](_0x5229f1(0x1b9));_0x117d0c=_0x5229f1(0x1ae)+_0x493484;}else _0x117d0c=_0x2e614f;_0x3a03ef(new scan_results_1[(_0x5229f1(0x1a5))](_0x3406bc,_0x226665,_0x117d0c));});}async[a21_0x5469b7(0x1c9)](_0x3477a8,_0x181eec,_0x324ba5){const _0x377f54=a21_0x5469b7,_0x578c2b=new Set();await this[_0x377f54(0x1c4)](_0x578c2b,_0x3477a8,_0x181eec);for(const _0x422371 of _0x324ba5??[]){if(_0x422371){const _0x753674=path['resolve'](_0x422371);try{await this[_0x377f54(0x1c4)](_0x578c2b,_0x753674,_0x181eec);}catch(_0x292661){this[_0x377f54(0x1a9)][_0x377f54(0x1aa)]('Specified\x20extraPaths\x20does\x20not\x20exist!',_0x292661);continue;}}}return Array[_0x377f54(0x1c8)](_0x578c2b);}static['hasReadAccess'](_0x2e1aca){const _0x18ba79=a21_0x5469b7;try{return fs[_0x18ba79(0x1d6)](_0x2e1aca,fs[_0x18ba79(0x1ab)][_0x18ba79(0x1af)]),!![];}catch(_0x4966bf){return![];}}async[a21_0x5469b7(0x1c4)](_0x5a9c52,_0x53dbb8,_0x1a3e9c){return new Promise((_0x92f42,_0x1dfcf0)=>{const _0x8f7032=a21_0x4d73;let _0x5638ff;if(!_0x53dbb8){_0x1dfcf0(new Error(_0x8f7032(0x1b8)));return;}this['logger']['info']('Indexing\x20files\x20in\x20'+path[_0x8f7032(0x1ce)](_0x53dbb8));const _0x444d04=findit(_0x53dbb8);_0x444d04['on']('error',_0x57c3c0=>{_0x5638ff=_0x57c3c0;return;}),_0x444d04['on'](_0x8f7032(0x1b6),(_0x4f5d82,_0x17378b,_0x13b78a)=>{const _0x556d7c=_0x8f7032,_0x18c8db=path[_0x556d7c(0x1ad)](_0x4f5d82);!Scanner[_0x556d7c(0x1cd)](_0x4f5d82)&&(this[_0x556d7c(0x1a9)][_0x556d7c(0x1bf)](_0x556d7c(0x1c6)+path[_0x556d7c(0x1ce)](_0x4f5d82)+_0x556d7c(0x1b7)),_0x13b78a()),(_0x18c8db==='.git'||_0x18c8db===_0x556d7c(0x1b0))&&(!path[_0x556d7c(0x1ce)](_0x53dbb8)[_0x556d7c(0x1b4)](path['resolve'](_0x4f5d82))&&_0x13b78a());}),_0x444d04['on'](_0x8f7032(0x1b5),_0x53ced3=>{const _0x19f58a=_0x8f7032;_0x1a3e9c[_0x19f58a(0x1b2)](_0x53ced3)&&_0x5a9c52[_0x19f58a(0x1ca)](_0x53ced3);}),_0x444d04['on']('end',()=>{_0x5638ff?_0x1dfcf0(_0x5638ff):_0x92f42();});});}async[a21_0x5469b7(0x1cf)](_0x503f4f,_0x13edf2){return new Promise((_0x20af9f,_0x3c7699)=>{const _0x1987f6=a21_0x4d73,_0x5102f1=fs[_0x1987f6(0x19d)](_0x503f4f);_0x5102f1['on'](_0x1987f6(0x1aa),_0x1626ce=>{_0x3c7699(_0x1626ce);}),_0x5102f1['on']('open',()=>{const _0xe4a652=_0x1987f6;let _0x23265d;_0x13edf2&&(_0x23265d=crypto[_0xe4a652(0x1cc)](_0xe4a652(0x1a0)));let _0xdce064=0x0,_0x2eeb9a;const _0x115680=_0x5102f1[_0xe4a652(0x1a7)](split());_0x115680['on'](_0xe4a652(0x1aa),_0x11a25d=>{_0x2eeb9a=_0x11a25d;}),_0x115680['on'](_0xe4a652(0x1a6),_0x164b26=>{const _0x36ee7e=_0xe4a652;_0x13edf2&&_0x23265d[_0x36ee7e(0x1d2)](_0x164b26),_0xdce064++;}),_0x115680['on'](_0xe4a652(0x1a3),()=>{const _0x4f063c=_0xe4a652;if(_0x2eeb9a)_0x3c7699(_0x2eeb9a);else{const _0x5a65b9=_0x13edf2?_0x23265d[_0x4f063c(0x1d4)]('hex'):undefined;_0x20af9f({'hash':_0x5a65b9,'lines':_0xdce064});}});});});}}function a21_0x4d73(_0x84f261,_0x4e24b6){const _0x59022c=a21_0x10ef();return a21_0x4d73=function(_0x2f085b,_0x2960cf){_0x2f085b=_0x2f085b-0x19c;let _0x10ef54=_0x59022c[_0x2f085b];return _0x10ef54;},a21_0x4d73(_0x84f261,_0x4e24b6);}exports[a21_0x5469b7(0x1a1)]=Scanner;const findit=require(a21_0x5469b7(0x19c)),split=require(a21_0x5469b7(0x1ac));function a21_0x10ef(){const _0x171a8d=['Scanner','toString','end','3367176LYwZFE','ScanResultsImpl','data','pipe','8erYEyi','logger','error','constants','split','basename','SHA1-','R_OK','node_modules','44EtIZEr','test','801MPfopH','startsWith','file','directory','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','hex','crypto','scan','length','apply','./scan-results','warn','22ndzNJQ','EMPTY-no-js-files','158586Xpwayx','2226280erZheO','addFilesFromDir','set','can\x27t\x20access\x20path:\x20[','hash','from','findFiles','add','search','createHash','hasReadAccess','resolve','statsForFile','11041060tbEdgu','1350678CCZVKV','update','constructor','digest','join','accessSync','findit2','createReadStream','41296ibmiaa','257360HQlBTY','sha1'];a21_0x10ef=function(){return _0x171a8d;};return a21_0x10ef();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x3b3f40=a22_0x2f2d;function a22_0x2f2d(_0xcd64b9,_0x575135){const _0x27fd64=a22_0x38d6();return a22_0x2f2d=function(_0x39f019,_0x473583){_0x39f019=_0x39f019-0xfc;let _0x38d635=_0x27fd64[_0x39f019];return _0x38d635;},a22_0x2f2d(_0xcd64b9,_0x575135);}(function(_0x343a6f,_0x46175a){const _0x7f7c42=a22_0x2f2d,_0xfe8320=_0x343a6f();while(!![]){try{const _0x214ed4=parseInt(_0x7f7c42(0x12b))/0x1*(-parseInt(_0x7f7c42(0x128))/0x2)+parseInt(_0x7f7c42(0x139))/0x3+parseInt(_0x7f7c42(0x101))/0x4+parseInt(_0x7f7c42(0x11b))/0x5*(-parseInt(_0x7f7c42(0x13e))/0x6)+-parseInt(_0x7f7c42(0xfc))/0x7+-parseInt(_0x7f7c42(0x100))/0x8*(parseInt(_0x7f7c42(0x10e))/0x9)+parseInt(_0x7f7c42(0x102))/0xa;if(_0x214ed4===_0x46175a)break;else _0xfe8320['push'](_0xfe8320['shift']());}catch(_0x3836cf){_0xfe8320['push'](_0xfe8320['shift']());}}}(a22_0x38d6,0xee54d));const a22_0x473583=(function(){let _0x1e3895=!![];return function(_0x2c7c4a,_0x54b17a){const _0x5b5470=_0x1e3895?function(){const _0x2ee947=a22_0x2f2d;if(_0x54b17a){const _0x287e61=_0x54b17a[_0x2ee947(0x110)](_0x2c7c4a,arguments);return _0x54b17a=null,_0x287e61;}}:function(){};return _0x1e3895=![],_0x5b5470;};}()),a22_0x39f019=a22_0x473583(this,function(){const _0x21da33=a22_0x2f2d;return a22_0x39f019['toString']()[_0x21da33(0x122)]('(((.+)+)+)+$')[_0x21da33(0x112)]()[_0x21da33(0x107)](a22_0x39f019)[_0x21da33(0x122)](_0x21da33(0x13a));});a22_0x39f019();'use strict';Object[a22_0x3b3f40(0x131)](exports,a22_0x3b3f40(0x121),{'value':!![]}),exports[a22_0x3b3f40(0x135)]=exports[a22_0x3b3f40(0x125)]=void 0x0;function a22_0x38d6(){const _0x2851f5=['info','10788463udkoio','stringify','from','The\x20path\x20','8IifAAK','2364796NOTKRl','25967150lzqOPH','source-map','FOUND\x20IN','sourcemap\x20file\x20','length','constructor','mapConsumer','generatedPositionFor','getMappingInfo','mapFile','get','join','13704543rpAnDh','map','apply','error','toString','logger','all','reduce','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','path','utf8','Parsing\x20source\x20map\x20files','dirname','10UzZPbv','An\x20error\x20occurred\x20while\x20reading\x20the\x20','Failed\x20to\x20parse\x20source\x20map\x20file\x20','set','debug','filter','__esModule','search','sort','relative','SourceMapper','FileIndex','SourceMapConsumer','1412JzFHBN','CONTENT','infoMap','892ukwifI','Map\x20file\x20processed:\x20','basename','endsWith','normalize','findInSources','defineProperty','findShortestFuzzyMatches','file','promisify','create','hasMappingInfo','replace','./file-index','4805223BumCQE','(((.+)+)+)+$','has','fromFileList','line','359286uObiAZ','webpack://','sources','.map'];a22_0x38d6=function(){return _0x2851f5;};return a22_0x38d6();}const fs=require('fs'),pLimit=require('p-limit'),path=require(a22_0x3b3f40(0x117)),util_1=require('util'),sourceMap=require(a22_0x3b3f40(0x103)),file_index_1=require(a22_0x3b3f40(0x138)),CONCURRENCY=0xa,WEBPACK_PREFIX=a22_0x3b3f40(0x13f),readFilep=(0x0,util_1[a22_0x3b3f40(0x134)])(fs['readFile']),MAP_EXT=a22_0x3b3f40(0x141);async function processSourcemap(_0x1fc7ea,_0x1f05ce,_0x23f67f,_0x495087){const _0x32eb3f=a22_0x3b3f40;_0x495087&&_0x1fc7ea[_0x32eb3f(0x11f)]('Processing\x20',_0x23f67f);if(!_0x23f67f||!_0x23f67f[_0x32eb3f(0x12e)](MAP_EXT))throw new Error(_0x32eb3f(0xff)+_0x23f67f+_0x32eb3f(0x116));_0x23f67f=path['normalize'](_0x23f67f);let _0x41d297;try{_0x41d297=await readFilep(_0x23f67f,_0x32eb3f(0x118));}catch(_0x7062ac){throw new Error('Could\x20not\x20read\x20sourcemap\x20file\x20'+_0x23f67f+':\x20'+_0x7062ac);}let _0x1623fc;try{_0x1623fc=new sourceMap[(_0x32eb3f(0x127))](_0x41d297);}catch(_0x5d9416){_0x1fc7ea[_0x32eb3f(0x111)](_0x32eb3f(0x11d)+_0x23f67f+':\x20'+_0x5d9416),_0x1fc7ea[_0x32eb3f(0x111)](JSON[_0x32eb3f(0xfd)](_0x5d9416)),_0x495087&&_0x1fc7ea[_0x32eb3f(0x11f)](_0x32eb3f(0x129),_0x41d297);throw new Error(_0x32eb3f(0x11c)+_0x32eb3f(0x105)+_0x23f67f+':\x20'+_0x5d9416);}const _0x59ac46=_0x1623fc[_0x32eb3f(0x133)]?_0x1623fc[_0x32eb3f(0x133)]:path[_0x32eb3f(0x12d)](_0x23f67f,_0x32eb3f(0x141)),_0x436765=path['dirname'](_0x23f67f),_0x2699df=path['normalize'](path[_0x32eb3f(0x10d)](_0x436765,_0x59ac46)),_0x4539d2=_0x1623fc['sources'][_0x32eb3f(0x120)](_0x53c817=>!!_0x53c817)[_0x32eb3f(0x123)]((_0x3396fe,_0x3bdafc)=>_0x3396fe[_0x32eb3f(0x106)]-_0x3bdafc['length']),_0xc0031b=_0x4539d2[_0x32eb3f(0x10f)](_0x53144c=>{const _0x31ab66=_0x32eb3f;if(_0x53144c['toLowerCase']()['startsWith'](WEBPACK_PREFIX))return _0x53144c['substring'](WEBPACK_PREFIX[_0x31ab66(0x106)]);return _0x53144c;})[_0x32eb3f(0x10f)](_0x1a4cc9=>{const _0x240e00=_0x32eb3f;return path['normalize'](path[_0x240e00(0x10d)](_0x436765,_0x1a4cc9));});if(_0xc0031b['length']===0x0)throw new Error('No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20'+_0x23f67f);for(const _0x5c3a94 of _0xc0031b){_0x495087&&_0x1fc7ea[_0x32eb3f(0x142)](path[_0x32eb3f(0x12f)](_0x5c3a94),_0x32eb3f(0x104),_0x23f67f),_0x1f05ce[_0x32eb3f(0x11e)](path[_0x32eb3f(0x12f)](_0x5c3a94),{'outputFile':_0x2699df,'mapFile':_0x23f67f,'mapConsumer':_0x1623fc,'sources':_0x4539d2});}_0x1fc7ea[_0x32eb3f(0x11f)](_0x32eb3f(0x12c),_0x23f67f);}class SourceMapper{constructor(_0x22157b){const _0x2eac5f=a22_0x3b3f40;this[_0x2eac5f(0x113)]=_0x22157b,this['infoMap']=new Map();}[a22_0x3b3f40(0x10a)](_0x56513f){const _0x4d4e0b=a22_0x3b3f40;if(this[_0x4d4e0b(0x12a)][_0x4d4e0b(0x13b)](path[_0x4d4e0b(0x12f)](_0x56513f)))return{'entry':this[_0x4d4e0b(0x12a)][_0x4d4e0b(0x10c)](_0x56513f),'matchedPath':path[_0x4d4e0b(0x12f)](_0x56513f)};const _0x45ae37=file_index_1[_0x4d4e0b(0x126)][_0x4d4e0b(0x13c)](Array[_0x4d4e0b(0xfe)](this[_0x4d4e0b(0x12a)]['keys']()))[_0x4d4e0b(0x132)](_0x56513f);if(_0x45ae37[_0x4d4e0b(0x106)]===0x1)return{'entry':this['infoMap'][_0x4d4e0b(0x10c)](_0x45ae37[0x0]),'matchedPath':_0x45ae37[0x0]};return null;}[a22_0x3b3f40(0x136)](_0x1bdbb3){const _0x4849ac=a22_0x3b3f40;return this[_0x4849ac(0x10a)](_0x1bdbb3)!==null;}['mappingInfo'](_0x37c5d7,_0x33615f,_0x4d4bc0){const _0x292f1d=a22_0x3b3f40;_0x37c5d7=path[_0x292f1d(0x12f)](_0x37c5d7);const _0x5cd38d=this[_0x292f1d(0x10a)](_0x37c5d7);if(!_0x5cd38d)return null;const {entry:_0x504c19,matchedPath:_0x2c7396}=_0x5cd38d,_0x2faa14=path[_0x292f1d(0x124)](path[_0x292f1d(0x11a)](_0x504c19[_0x292f1d(0x10b)]),_0x2c7396)[_0x292f1d(0x137)](/\\/g,'/');let _0x294939=this[_0x292f1d(0x130)](_0x504c19,_0x2faa14);_0x294939=_0x294939||this[_0x292f1d(0x130)](_0x504c19,_0x37c5d7);const _0x2d5752={'source':_0x294939||_0x2faa14,'line':_0x33615f+0x1,'column':_0x4d4bc0},_0x989158=_0x504c19[_0x292f1d(0x108)],_0x152a4a=_0x989158['allGeneratedPositionsFor'](_0x2d5752),_0x466a7b=_0x152a4a&&_0x152a4a[_0x292f1d(0x106)]>0x0?_0x152a4a[_0x292f1d(0x115)]((_0x4ed82c,_0x1ec335)=>{const _0x566bb3=_0x292f1d;return _0x1ec335[_0x566bb3(0x13d)]<_0x4ed82c[_0x566bb3(0x13d)]?_0x1ec335:_0x4ed82c;}):_0x989158[_0x292f1d(0x109)](_0x2d5752);return{'file':_0x504c19['outputFile'],'line':_0x466a7b[_0x292f1d(0x13d)],'column':_0x466a7b['column']};}[a22_0x3b3f40(0x130)](_0x16f903,_0xe000de){const _0x411951=a22_0x3b3f40;for(const _0x2deb75 of _0x16f903[_0x411951(0x140)]){if(_0x2deb75[_0x411951(0x12e)](_0xe000de))return _0x2deb75;}return undefined;}}exports['SourceMapper']=SourceMapper;async function create(_0x47c595,_0x19da3e,_0x5137fc){const _0x48127a=a22_0x3b3f40;_0x47c595[_0x48127a(0x11f)]('Creating\x20SourceMapper');const _0x4d0fdd=new SourceMapper(_0x47c595);_0x47c595['debug'](_0x48127a(0x119),_0x19da3e[_0x48127a(0x106)]);const _0x238f56=async _0x3549fb=>{const _0x2a3f6a=_0x48127a;try{await processSourcemap(_0x47c595,_0x4d0fdd[_0x2a3f6a(0x12a)],_0x3549fb,_0x5137fc);}catch(_0x3c145b){_0x47c595[_0x2a3f6a(0x111)]('Failed\x20to\x20process\x20a\x20source\x20map\x20file',_0x3549fb,_0x3c145b),_0x47c595[_0x2a3f6a(0x111)](JSON[_0x2a3f6a(0xfd)](_0x3c145b));}};if(_0x5137fc)for(const _0x5f54c4 of _0x19da3e){await _0x238f56(_0x5f54c4);}else{const _0x27163d=pLimit(CONCURRENCY),_0x501148=_0x19da3e[_0x48127a(0x10f)](_0x550f34=>_0x27163d(()=>_0x238f56(_0x550f34)));await Promise[_0x48127a(0x114)](_0x501148);}return _0x4d0fdd;}exports['create']=create;
|