lightrun 1.57.0 → 1.57.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x4b6810=a16_0x4d4a;(function(_0x369a85,_0x33121e){const _0x203de0=a16_0x4d4a,_0x501e9d=_0x369a85();while(!![]){try{const _0x2e044c=parseInt(_0x203de0(0x13c))/0x1*(parseInt(_0x203de0(0x148))/0x2)+parseInt(_0x203de0(0x139))/0x3+-parseInt(_0x203de0(0x130))/0x4+parseInt(_0x203de0(0x124))/0x5*(parseInt(_0x203de0(0x12e))/0x6)+-parseInt(_0x203de0(0x151))/0x7+parseInt(_0x203de0(0x122))/0x8+parseInt(_0x203de0(0x140))/0x9;if(_0x2e044c===_0x33121e)break;else _0x501e9d['push'](_0x501e9d['shift']());}catch(_0x3ca7f0){_0x501e9d['push'](_0x501e9d['shift']());}}}(a16_0x14b4,0xb677c));const a16_0x162ba3=(function(){let _0x1a88bf=!![];return function(_0x50ca52,_0x200afc){const _0x202f05=_0x1a88bf?function(){const _0x44f1a2=a16_0x4d4a;if(_0x200afc){const _0x11d15e=_0x200afc[_0x44f1a2(0x150)](_0x50ca52,arguments);return _0x200afc=null,_0x11d15e;}}:function(){};return _0x1a88bf=![],_0x202f05;};}()),a16_0x203417=a16_0x162ba3(this,function(){const _0x5c1dcb=a16_0x4d4a;return a16_0x203417[_0x5c1dcb(0x14a)]()[_0x5c1dcb(0x131)](_0x5c1dcb(0x14e))[_0x5c1dcb(0x14a)]()[_0x5c1dcb(0x128)](a16_0x203417)['search']('(((.+)+)+)+$');});a16_0x203417();'use strict';Object[a16_0x4b6810(0x12f)](exports,a16_0x4b6810(0x142),{'value':!![]}),exports[a16_0x4b6810(0x152)]=exports[a16_0x4b6810(0x13e)]=void 0x0;const extend=require(a16_0x4b6810(0x143)),config_1=require(a16_0x4b6810(0x141)),utils_1=require('../util/utils'),getAgentConfig_1=require(a16_0x4b6810(0x138)),limitConfig_1=require(a16_0x4b6810(0x125)),validateConfig=_0x2a291f=>{const _0xad8f96=a16_0x4b6810,_0x5341c3={};try{config_1[_0xad8f96(0x11f)][_0xad8f96(0x123)](_0x2a291f,{'abortEarly':![]});}catch(_0x252b14){_0x252b14[_0xad8f96(0x132)][_0xad8f96(0x149)](_0x4b055c=>_0x4b055c[_0xad8f96(0x13b)]&&_0x4b055c[_0xad8f96(0x14c)])[_0xad8f96(0x13f)](_0x57ae3b=>{const _0x2ddce6=_0xad8f96;_0x5341c3[_0x57ae3b[_0x2ddce6(0x13b)]]=_0x57ae3b[_0x2ddce6(0x14c)];});}return _0x5341c3;};exports['validateConfig']=validateConfig;function a16_0x14b4(){const _0x31bf69=['split','4219872loZESU','validateSync','1508770pseVux','./limitConfig','LIGHTRUN_API_ENDPOINT','K_SERVICE','constructor','AGENT_LOG_MAX_FILE_COUNT','LIGHTRUN_INIT_WAIT_TIME_MS','env','NO_CHECK_CERTIFICATE','agentLogMaxFileSizeMb','6thIIHb','defineProperty','3860652uSHjLW','search','inner','FUNCTION_NAME','registration','LIGHTRUN_WAIT_FOR_INIT','unversioned','LIGHTRUN_AGENT_CONFIG','./getAgentConfig','1226475pbIkaK','AGENT_LOG_LEVEL','path','1thVDXw','K_REVISION','validateConfig','forEach','3248505fVAnUC','../config','__esModule','extend','LIGHTRUN_STD_ERR_THRESHOLD','serviceContext','LIGHTRUN_METADATA_FILE','service','2187436GeZfIC','filter','toString','agentConfigFile','message','limitConfig','(((.+)+)+)+$','AGENT_LOG_TARGET_DIR','apply','6861225eiWBiH','normalizeConfig','getAgentConfig','AGENT_LOG_MAX_FILE_SIZE_MB','getBooleanValue','defaultConfig','GAE_DEPLOYMENT_ID','LIGHTRUN_TAGS','configSchema','agentLog'];a16_0x14b4=function(){return _0x31bf69;};return a16_0x14b4();}function a16_0x4d4a(_0x1badb7,_0xf0a27b){const _0x3631c8=a16_0x14b4();return a16_0x4d4a=function(_0x203417,_0x162ba3){_0x203417=_0x203417-0x11e;let _0x14b418=_0x3631c8[_0x203417];return _0x14b418;},a16_0x4d4a(_0x1badb7,_0xf0a27b);}const normalizeConfig=_0x37aca0=>{const _0x2d78ad=a16_0x4b6810,_0x572448={'serviceContext':{'service':process[_0x2d78ad(0x12b)]['GAE_SERVICE']||process[_0x2d78ad(0x12b)]['GAE_MODULE_NAME']||process['env'][_0x2d78ad(0x127)],'version':process[_0x2d78ad(0x12b)]['GAE_VERSION']||process[_0x2d78ad(0x12b)]['GAE_MODULE_VERSION']||process[_0x2d78ad(0x12b)][_0x2d78ad(0x13d)],'minorVersion_':process[_0x2d78ad(0x12b)][_0x2d78ad(0x157)]||process[_0x2d78ad(0x12b)]['GAE_MINOR_VERSION']},'metadata':{'filename':process['env'][_0x2d78ad(0x146)],'registration':{}},'lightrunSecret':process[_0x2d78ad(0x12b)]['LIGHTRUN_SECRET'],'apiEndpoint':process['env'][_0x2d78ad(0x126)],'noCheckCertificate':(0x0,utils_1[_0x2d78ad(0x155)])(process['env'][_0x2d78ad(0x12c)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x2d78ad(0x155)])(process[_0x2d78ad(0x12b)]['FETCH_BREAKPOINTS_ONCE']),'lightrunWaitForInit':(0x0,utils_1[_0x2d78ad(0x155)])(process[_0x2d78ad(0x12b)][_0x2d78ad(0x135)]),'lightrunInitWaitTimeMs':process[_0x2d78ad(0x12b)][_0x2d78ad(0x12a)],'agentLog':_0x37aca0?.['agentLog']||{},'proxy':{'host':process[_0x2d78ad(0x12b)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process['env']['LIGHTRUN_PROXY_PORT']||'')||undefined,'username':process[_0x2d78ad(0x12b)]['LIGHTRUN_PROXY_USERNAME'],'password':process[_0x2d78ad(0x12b)]['LIGHTRUN_PROXY_PASSWORD']}};process[_0x2d78ad(0x12b)][_0x2d78ad(0x144)]!==undefined&&(_0x572448['agentLog']['stdErrThreshold']=process[_0x2d78ad(0x12b)][_0x2d78ad(0x144)]);process[_0x2d78ad(0x12b)]['AGENT_LOG_LEVEL']!==undefined&&(_0x572448[_0x2d78ad(0x120)]['agentLogLevel']=process[_0x2d78ad(0x12b)][_0x2d78ad(0x13a)]);process[_0x2d78ad(0x12b)]['AGENT_LOG_TARGET_DIR']!==undefined&&(_0x572448[_0x2d78ad(0x120)]['agentLogTargetDir']=process['env'][_0x2d78ad(0x14f)]);process[_0x2d78ad(0x12b)][_0x2d78ad(0x129)]!==undefined&&(_0x572448[_0x2d78ad(0x120)]['agentLogMaxFileCount']=parseInt(process[_0x2d78ad(0x12b)]['AGENT_LOG_MAX_FILE_COUNT']));process[_0x2d78ad(0x12b)][_0x2d78ad(0x154)]!==undefined&&(_0x572448[_0x2d78ad(0x120)][_0x2d78ad(0x12d)]=parseInt(process['env'][_0x2d78ad(0x154)]));process[_0x2d78ad(0x12b)]['FUNCTION_NAME']&&(_0x572448['serviceContext'][_0x2d78ad(0x147)]=process['env'][_0x2d78ad(0x133)],_0x572448[_0x2d78ad(0x145)]['version']=_0x2d78ad(0x136));process[_0x2d78ad(0x12b)][_0x2d78ad(0x11e)]&&(_0x572448['metadata'][_0x2d78ad(0x134)]={'tags':process[_0x2d78ad(0x12b)][_0x2d78ad(0x11e)][_0x2d78ad(0x121)](',')});const _0x59092f=(0x0,getAgentConfig_1[_0x2d78ad(0x153)])(process[_0x2d78ad(0x12b)][_0x2d78ad(0x137)]||_0x37aca0?.['agentConfigFile']||config_1[_0x2d78ad(0x156)][_0x2d78ad(0x14b)]),_0xb2791a=(0x0,limitConfig_1[_0x2d78ad(0x14d)])(extend(!![],{},config_1[_0x2d78ad(0x156)],_0x59092f,_0x37aca0,_0x572448)),_0x1a422a=(0x0,exports['validateConfig'])(_0xb2791a);return{..._0xb2791a,'errors':_0x1a422a};};exports['normalizeConfig']=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a17_0x42d3(_0x2a2e3c,_0x1941c6){const _0x5c7e49=a17_0x1a33();return a17_0x42d3=function(_0xa90c2c,_0x18dd35){_0xa90c2c=_0xa90c2c-0x1d2;let _0x1a334f=_0x5c7e49[_0xa90c2c];return _0x1a334f;},a17_0x42d3(_0x2a2e3c,_0x1941c6);}const a17_0x59967a=a17_0x42d3;(function(_0x520490,_0x484987){const _0x5b1181=a17_0x42d3,_0x222d10=_0x520490();while(!![]){try{const _0x42cfe6=parseInt(_0x5b1181(0x1de))/0x1*(-parseInt(_0x5b1181(0x1d9))/0x2)+parseInt(_0x5b1181(0x1d2))/0x3+-parseInt(_0x5b1181(0x1d4))/0x4+parseInt(_0x5b1181(0x1e3))/0x5*(-parseInt(_0x5b1181(0x1da))/0x6)+-parseInt(_0x5b1181(0x1df))/0x7*(-parseInt(_0x5b1181(0x1d7))/0x8)+-parseInt(_0x5b1181(0x1e7))/0x9+parseInt(_0x5b1181(0x1d8))/0xa*(parseInt(_0x5b1181(0x1db))/0xb);if(_0x42cfe6===_0x484987)break;else _0x222d10['push'](_0x222d10['shift']());}catch(_0xa8f335){_0x222d10['push'](_0x222d10['shift']());}}}(a17_0x1a33,0x5c5d1));const a17_0x18dd35=(function(){let _0x43b3ca=!![];return function(_0x1e2ef3,_0x273b10){const _0xbf3105=_0x43b3ca?function(){const _0x5e3b37=a17_0x42d3;if(_0x273b10){const _0x1f81f8=_0x273b10[_0x5e3b37(0x1d3)](_0x1e2ef3,arguments);return _0x273b10=null,_0x1f81f8;}}:function(){};return _0x43b3ca=![],_0xbf3105;};}()),a17_0xa90c2c=a17_0x18dd35(this,function(){const _0x42c586=a17_0x42d3;return a17_0xa90c2c[_0x42c586(0x1e6)]()[_0x42c586(0x1d5)]('(((.+)+)+)+$')[_0x42c586(0x1e6)]()['constructor'](a17_0xa90c2c)['search'](_0x42c586(0x1dd));});a17_0xa90c2c();'use strict';Object[a17_0x59967a(0x1d6)](exports,a17_0x59967a(0x1e2),{'value':!![]}),exports[a17_0x59967a(0x1e5)]=void 0x0;const delimit_1=require(a17_0x59967a(0x1e0)),tokenize=(_0x258bb0,_0x87c309)=>{const _0x1a882b=a17_0x59967a;let _0x353f8a=(0x0,delimit_1[_0x1a882b(0x1e1)])(_0x258bb0,'$$');for(let _0x5b052f=_0x87c309-0x1;_0x5b052f>=0x0;_0x5b052f--){const _0x473003=[];for(let _0x1cd181=0x0;_0x1cd181<_0x353f8a[_0x1a882b(0x1e4)];_0x1cd181++){_0x353f8a[_0x1cd181]['v']?_0x473003[_0x1a882b(0x1dc)](_0x353f8a[_0x1cd181]):_0x473003[_0x1a882b(0x1dc)](...(0x0,delimit_1[_0x1a882b(0x1e1)])(_0x353f8a[_0x1cd181],'$'+_0x5b052f));}_0x353f8a=_0x473003;}return _0x353f8a;};exports[a17_0x59967a(0x1e5)]=tokenize;function a17_0x1a33(){const _0x31bd27=['14780dEDmgE','12OnYpmm','446034vwqOpP','9449bseGoC','push','(((.+)+)+)+$','61559SOllpw','7nuVXzu','./delimit','delimit','__esModule','25gsDWJl','length','tokenize','toString','443313aRCqcM','1276698qwYXwV','apply','3002848ysEFuv','search','defineProperty','1793368UBQGTr'];a17_0x1a33=function(){return _0x31bd27;};return a17_0x1a33();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x4c706d=a18_0xd508;(function(_0x1f65c1,_0x3c8d3d){const _0x1dde0e=a18_0xd508,_0xc6ecd8=_0x1f65c1();while(!![]){try{const _0x5e5545=parseInt(_0x1dde0e(0x26e))/0x1+-parseInt(_0x1dde0e(0x20c))/0x2*(parseInt(_0x1dde0e(0x264))/0x3)+-parseInt(_0x1dde0e(0x192))/0x4+parseInt(_0x1dde0e(0x1b7))/0x5+parseInt(_0x1dde0e(0x1db))/0x6*(-parseInt(_0x1dde0e(0x272))/0x7)+parseInt(_0x1dde0e(0x1a0))/0x8*(-parseInt(_0x1dde0e(0x1d6))/0x9)+parseInt(_0x1dde0e(0x1cd))/0xa*(parseInt(_0x1dde0e(0x218))/0xb);if(_0x5e5545===_0x3c8d3d)break;else _0xc6ecd8['push'](_0xc6ecd8['shift']());}catch(_0x430097){_0xc6ecd8['push'](_0xc6ecd8['shift']());}}}(a18_0x3c66,0xb934c));const a18_0x258663=(function(){let _0x179cc4=!![];return function(_0x47187b,_0x20d05d){const _0x452659=_0x179cc4?function(){const _0x3bbe84=a18_0xd508;if(_0x20d05d){const _0x402c19=_0x20d05d[_0x3bbe84(0x199)](_0x47187b,arguments);return _0x20d05d=null,_0x402c19;}}:function(){};return _0x179cc4=![],_0x452659;};}()),a18_0x5bd239=a18_0x258663(this,function(){const _0x49891a=a18_0xd508;return a18_0x5bd239[_0x49891a(0x183)]()[_0x49891a(0x24f)](_0x49891a(0x239))[_0x49891a(0x183)]()[_0x49891a(0x19f)](a18_0x5bd239)['search'](_0x49891a(0x239));});a18_0x5bd239();'use strict';function a18_0x3c66(){const _0x2eac38=['Breakpoint\x20hit!:\x20','inspect','\x09remove\x20breakpoint','replaceRedactedByValue','normalizeConfig','setPatterns','has','findFiles','519370cyGxmb','breakpointExpirationSec','FileIndex','config','Debuglet','NODE_VERSION_MESSAGE','debuggee','5.2\x20||\x20<4','filter','83934EYDGbc','parameters','workingDirectory','CachedPromise','replace','1380ruNWYM','mapSubtract','log','CAPTURE','globalPipingStatus','existsSync','getSourceContextFromFile','default','version','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','\x0a\x09condition:\x20','debuglet','allowExpressions','filename','getBlocklist','Scanner','concat','quotaRecoverySeconds','reporting\x20breakpoint\x20','undefined','./reduction/redaction-manager-re2js','add','initError','seconds','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','./blocklisting/patterns-blocklist-manager','cwd','satisfies','pipingStatus','breakpointUpdateIntervalSec','bind','split','APP_ONLY','promisify','./agent-logger','getLevel','blacklist','javascriptFileExtensions','Blacklist:\x20\x0a\x09','started','\x09adding\x20breakpoint','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','then','hash','isDisabled','jsFileIndex','StatusMessage','js.map','setLevel','208afIIOK','remotelyDisabled','kill','readFile','source-context.json','map','NOT_SET','Malformed\x20source-context.json\x20file:\x20','register','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','\x20caseInsensitive:\x20','Active\x20Breakpoints:\x20\x0a','781niqMgC','warn','\x09Long\x20poll\x20completed.','wait','errors','redactionEnabled','emit','./environment-metadata','normalize','pipingManager','.\x20Retrying\x20in\x20','quotaCheck','Found\x20breakpoint\x20with\x20invalid\x20action:','forEach','__esModule','unref','promise','Starting\x20debuggee','assert','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','expirationSeconds','agentLog','beforeExit','createTime','LOG','\x0a\x09expressions:\x20','prettyError','setIgnoreQuota','AGENT_LOG_FILE','./reduction/redaction-manager','error','activeBreakpointMap','now','(((.+)+)+)+$','maxRequestRetryDelaySeconds','Redactions:\x20\x0a\x09','selectFiles','logMainConfigParams','resolve','clear','\x09Got\x20error\x20from\x20server.\x20status:\x20','):\x20pattern:\x20','name','pid','internal','./piping-manager','rejecting\x20breakpoint','isOutOfQuota','path','sep','LOGPOINT:\x20','expressions','logLevel','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','stopped','search','fetchBreakpointsOnce','enqueueBreakpointUpdate','Controller','agentLogMaxFileCount','format','keys','posix','action','debug','disable','EventEmitter','DEBUG','UNSPECIFIED','Initializing\x20Node.js\x20agent\x20version:\x20','sendAgentLogsToServer','./io/scanner','stop','Breakpoint','events','EnvironmentMetadata','26958NxZPgy','location','setBlocklistManager','breakpoints_fetched','createDebuggee','start','SIGTERM','ignoreQuota','SIGQUIT','Debuglet\x20not\x20running','8101AzmOAn','extend','shouldRedactByName','GAE_MINOR_VERSION','10227gtUPKP','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','object','description','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','addAndPipeLog','isRunning','type','name:\x20','value','set','>=12','condition','allowRootAsWorkingDirectory','isReady','clearTransmissionTimeout','call','isReadyManager','Unique\x20ID\x20for\x20this\x20Application:\x20','Failed\x20to\x20re-register\x20debuggee\x20','do\x20this.','Scheduling\x20registration\x20in\x20','quota','isArray','createPerBreakpointConditionQuota','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','get','setCustomLogLevel','collectLogRequestId','isError','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','./io/file-index','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','promiseResolve','REDACTED_PLACEHOLDER','./v8/debugapi','\x0a\x09createdTime:\x20','fetcherActive','toString','Working\x20directory:\x20','.\x20Error:\x20','Disabled\x20by\x20the\x20server','util','ConfigurationProvider','Registered\x20as\x20debuggee:\x20','ALLOW_EXPRESSIONS_MESSAGE','mapFiles','join','./io/sourcemapper','packageInfo','clientConnectionTimeoutInSeconds','./config','../types/stackdriver','4336740kSVJiN','utf8','listBreakpoints','info','\x20to\x20','pipeLogs','__classPrivateFieldSet','apply','.\x20message:\x20','fromFileStats','getInitialLevel','once','expirationTime','constructor','696LRxjoF','agentLogTargetDir','\x20completed.','collectAndSendLog','selectStats','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','QuotaManager','\x20accepted\x20by\x20agent','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','removePerBreakpointQuota','scan','./configuration-provider','create','getRedactions','./debuglet-helpers/normalizeConfig','status','stringify','Registering\x20debuggee','Failed\x20to\x20register\x20debuggee:\x20','Server\x20breakpoints:\x0a','length','Fetching\x20breakpoints','\x20because\x20','1145485IArHtm','\x09Notifying\x20server\x20about\x20error\x20for\x20','\x09successfully\x20added\x20breakpoint','entries','BREAKPOINT_ACTION_MESSAGE','Expiring\x20breakpoint','logger','deregister','enable','mainModule','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','parse','defineProperty','agentLogLevel'];a18_0x3c66=function(){return _0x2eac38;};return a18_0x3c66();}var __classPrivateFieldSet=this&&this[a18_0x4c706d(0x198)]||function(_0x6b2eb8,_0x11fc75,_0x4d7754,_0x3b82f6,_0x502472){const _0x291049=a18_0x4c706d;if(_0x3b82f6==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x3b82f6==='a'&&!_0x502472)throw new TypeError(_0x291049(0x160));if(typeof _0x11fc75==='function'?_0x6b2eb8!==_0x11fc75||!_0x502472:!_0x11fc75[_0x291049(0x1cb)](_0x6b2eb8))throw new TypeError(_0x291049(0x1a8));return _0x3b82f6==='a'?_0x502472[_0x291049(0x16c)](_0x6b2eb8,_0x4d7754):_0x502472?_0x502472[_0x291049(0x165)]=_0x4d7754:_0x11fc75[_0x291049(0x166)](_0x6b2eb8,_0x4d7754),_0x4d7754;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x495235,_0xa70db,_0x4329cc,_0x18d244){const _0x14c72f=a18_0x4c706d;if(_0x4329cc==='a'&&!_0x18d244)throw new TypeError(_0x14c72f(0x17a));if(typeof _0xa70db==='function'?_0x495235!==_0xa70db||!_0x18d244:!_0xa70db[_0x14c72f(0x1cb)](_0x495235))throw new TypeError(_0x14c72f(0x24d));return _0x4329cc==='m'?_0x18d244:_0x4329cc==='a'?_0x18d244[_0x14c72f(0x16c)](_0x495235):_0x18d244?_0x18d244[_0x14c72f(0x165)]:_0xa70db[_0x14c72f(0x176)](_0x495235);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x4c706d(0x1c3)](exports,a18_0x4c706d(0x226),{'value':!![]}),exports[a18_0x4c706d(0x1d1)]=exports[a18_0x4c706d(0x1d9)]=void 0x0;const assert=require(a18_0x4c706d(0x22a)),events_1=require(a18_0x4c706d(0x262)),extend=require(a18_0x4c706d(0x26f)),fs=require('fs'),path=require(a18_0x4c706d(0x248)),util=require(a18_0x4c706d(0x187)),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a18_0x4c706d(0x191)),agent_logger_1=require(a18_0x4c706d(0x1fd)),config_1=require(a18_0x4c706d(0x190)),controller_1=require('./controller'),SourceMapper=require(a18_0x4c706d(0x18d)),debugapi=require(a18_0x4c706d(0x180)),piping_manager_1=require(a18_0x4c706d(0x245)),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require(a18_0x4c706d(0x1f4)),scanner_1=require(a18_0x4c706d(0x25f)),environment_metadata_1=require(a18_0x4c706d(0x21f)),file_index_1=require(a18_0x4c706d(0x17c)),utils_1=require('./util/utils'),redaction_manager_1=require(a18_0x4c706d(0x235)),configuration_provider_1=require(a18_0x4c706d(0x1ab)),normalizeConfig_1=require(a18_0x4c706d(0x1ae)),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),format_1=require('./debuglet-helpers/format'),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),readFilep=util[a18_0x4c706d(0x1fc)](fs[a18_0x4c706d(0x20f)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x3f1158,_0x317a79)=>{const _0x563130=a18_0x4c706d;let _0x15d408=_0x3f1158+util[_0x563130(0x254)](_0x563130(0x1e4),_0x317a79['id'],_0x317a79['action'],util[_0x563130(0x1c6)](_0x317a79[_0x563130(0x265)]));if(_0x317a79[_0x563130(0x22f)]){const _0x846f4a=Number(_0x317a79[_0x563130(0x22f)]['seconds']),_0x47336e=new Date(_0x846f4a*0x3e8);_0x15d408+=_0x563130(0x181)+_0x47336e[_0x563130(0x183)]();}return _0x317a79[_0x563130(0x168)]&&(_0x15d408+=_0x563130(0x1e5)+util[_0x563130(0x1c6)](_0x317a79[_0x563130(0x168)])),_0x317a79[_0x563130(0x24b)]&&(_0x15d408+=_0x563130(0x231)+util[_0x563130(0x1c6)](_0x317a79[_0x563130(0x24b)])),_0x15d408;},formatBreakpoints=(_0x3b54cb,_0x9fda30)=>{const _0xce5f11=a18_0x4c706d;return _0x3b54cb+Object[_0xce5f11(0x255)](_0x9fda30)[_0xce5f11(0x211)](_0x17692d=>{return formatBreakpoint('',_0x9fda30[_0x17692d]);})[_0xce5f11(0x18c)]('\x0a');};function a18_0xd508(_0x4ee0b0,_0x35e935){const _0x3df156=a18_0x3c66();return a18_0xd508=function(_0x5bd239,_0x258663){_0x5bd239=_0x5bd239-0x15e;let _0x3c6685=_0x3df156[_0x5bd239];return _0x3c6685;},a18_0xd508(_0x4ee0b0,_0x35e935);}class CachedPromise{constructor(){const _0x4a5b02=a18_0x4c706d;this[_0x4a5b02(0x17e)]=null,this[_0x4a5b02(0x228)]=new Promise(_0x33b886=>{const _0x422794=_0x4a5b02;this[_0x422794(0x17e)]=_0x33b886;});}[a18_0x4c706d(0x176)](){const _0x4a4676=a18_0x4c706d;return this[_0x4a4676(0x228)];}['resolve'](){const _0x3ac60b=a18_0x4c706d;this[_0x3ac60b(0x17e)]&&(this['promiseResolve'](),this[_0x3ac60b(0x17e)]=null);}}exports[a18_0x4c706d(0x1d9)]=CachedPromise;class IsReadyImpl{constructor(_0x182f64){this['debuglet']=_0x182f64;}['isReady'](){const _0x1a1afb=a18_0x4c706d;return this[_0x1a1afb(0x1e6)][_0x1a1afb(0x16a)]();}}class Debuglet extends events_1[a18_0x4c706d(0x25a)]{constructor(_0x51e14e,_0x12c008){const _0x5c18ff=a18_0x4c706d;super(),_Debuglet_instances[_0x5c18ff(0x1f0)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug['set'](this,void 0x0),_Debuglet_running[_0x5c18ff(0x166)](this,void 0x0),_Debuglet_controller[_0x5c18ff(0x166)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x5c18ff(0x166)](this,void 0x0),_Debuglet_breakpointFetched[_0x5c18ff(0x166)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x5c18ff(0x166)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x5c18ff(0x166)](this,null),this[_0x5c18ff(0x16d)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x5c18ff(0x166)](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0x5c18ff(0x166)](this,void 0x0),_Debuglet_redactionManager[_0x5c18ff(0x166)](this,void 0x0),_Debuglet_configProvider[_0x5c18ff(0x166)](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x5c18ff(0x1c9)])(_0x12c008),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x5c18ff(0x188))](this[_0x5c18ff(0x1d0)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x51e14e,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x5c18ff(0x182)]=![],this[_0x5c18ff(0x1bd)]=agent_logger_1[_0x5c18ff(0x1e2)]['createLogger'](this['config'][_0x5c18ff(0x22d)][_0x5c18ff(0x1a1)],this[_0x5c18ff(0x1d0)][_0x5c18ff(0x22d)]['agentLogMaxFileSizeMb'],this[_0x5c18ff(0x1d0)][_0x5c18ff(0x22d)][_0x5c18ff(0x253)],this[_0x5c18ff(0x1d0)][_0x5c18ff(0x22d)][_0x5c18ff(0x1c4)],this['config']['agentLog']['stdErrThreshold']),(0x0,config_1[_0x5c18ff(0x23d)])(this[_0x5c18ff(0x1d0)],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x5c18ff(0x263))](this[_0x5c18ff(0x1bd)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x5c18ff(0x252))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x5c18ff(0x1d0)],this[_0x5c18ff(0x1bd)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x5c18ff(0x1ea))](this['logger']),'f'),this['debuggee']=null,this[_0x5c18ff(0x237)]={},__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[(_0x5c18ff(0x1a6))](this[_0x5c18ff(0x1bd)],this[_0x5c18ff(0x1d0)]),'f'),this['pipingManager']=new piping_manager_1['PipingManager'](_0x5c18ff(0x1fb),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x5c18ff(0x1d0)]);}async[a18_0x4c706d(0x1cc)](_0x4c5506,_0x212fe2){const _0x44cdc2=a18_0x4c706d,_0x3804f0=_0x4c5506[_0x44cdc2(0x1d8)],_0x3d5fdd=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x44cdc2(0x1aa)](_0x3804f0,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x44cdc2(0x16c)](_a,_0x4c5506['javascriptFileExtensions'][_0x44cdc2(0x1eb)](_0x44cdc2(0x20a))),_0x212fe2,_0x4c5506['extraPaths']),_0x924c4b=_0x3d5fdd[_0x44cdc2(0x1a4)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x44cdc2(0x16c)](_a,_0x4c5506[_0x44cdc2(0x200)])),_0x264a96=file_index_1[_0x44cdc2(0x1cf)][_0x44cdc2(0x19b)](_0x924c4b),_0x53b29c=_0x3d5fdd[_0x44cdc2(0x23c)](/.js.map$/,process[_0x44cdc2(0x1f5)]()),_0x2f3fea=_0x3d5fdd[_0x44cdc2(0x21c)]();return{'mapFiles':_0x53b29c,'errors':_0x2f3fea,'jsFileIndex':_0x264a96,'hash':_0x3d5fdd[_0x44cdc2(0x206)]};}async[a18_0x4c706d(0x269)](){const _0x59fb95=a18_0x4c706d,_0x322bdd=this,_0x292f20=_0x322bdd[_0x59fb95(0x1d0)][_0x59fb95(0x1d8)];if(!_0x322bdd[_0x59fb95(0x1d0)][_0x59fb95(0x169)]&&path['join'](_0x292f20,'..')===_0x292f20){const _0x10f900=_0x59fb95(0x273)+_0x59fb95(0x17b)+_0x59fb95(0x175)+_0x59fb95(0x170);_0x322bdd[_0x59fb95(0x1bd)]['error'](_0x10f900),_0x322bdd[_0x59fb95(0x21e)](_0x59fb95(0x1f1),new Error(_0x10f900));return;}let _0x524162;process['env'][_0x59fb95(0x271)]&&(_0x524162='GAE-'+process['env'][_0x59fb95(0x271)]);let _0x1e17b5,_0x449626=_0x524162||'';try{_0x1e17b5=await this[_0x59fb95(0x1cc)](_0x322bdd['config'],_0x524162),_0x1e17b5[_0x59fb95(0x21c)][_0x59fb95(0x225)](_0x322bdd[_0x59fb95(0x1bd)][_0x59fb95(0x219)]);}catch(_0x5a3cfa){_0x322bdd[_0x59fb95(0x1bd)][_0x59fb95(0x236)]('Error\x20scanning\x20the\x20filesystem.',_0x5a3cfa),_0x322bdd[_0x59fb95(0x21e)]('initError',_0x5a3cfa);return;}try{const _0x5f52a7=await SourceMapper[_0x59fb95(0x1ac)](_0x322bdd[_0x59fb95(0x1bd)],_0x1e17b5[_0x59fb95(0x18b)],_0x322bdd[_0x59fb95(0x1d0)][_0x59fb95(0x244)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(_0x322bdd,_Debuglet_v8debug,debugapi[_0x59fb95(0x1ac)](_0x322bdd[_0x59fb95(0x1bd)],_0x322bdd['config'],_0x1e17b5[_0x59fb95(0x208)],_0x5f52a7,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x449626=_0x524162||_0x1e17b5['hash'];}catch(_0x4f72fd){_0x322bdd[_0x59fb95(0x1bd)]['error']('Error\x20processing\x20the\x20sourcemaps.',_0x4f72fd),_0x322bdd[_0x59fb95(0x1bd)][_0x59fb95(0x195)](JSON[_0x59fb95(0x1b0)](_0x4f72fd)),_0x322bdd['emit'](_0x59fb95(0x1f1),_0x4f72fd);}_0x322bdd[_0x59fb95(0x1bd)][_0x59fb95(0x195)](_0x59fb95(0x16e)+_0x449626);const _0x383195=(0x0,utils_1['readFullVersion'])(_0x322bdd[_0x59fb95(0x1bd)])[_0x59fb95(0x1da)]('\x0a','');_0x322bdd[_0x59fb95(0x1bd)][_0x59fb95(0x195)](_0x59fb95(0x25d)+_0x383195);let _0x32c98a;try{_0x32c98a=_0x322bdd[_0x59fb95(0x1d0)]['sourceContext']||await _a['getSourceContextFromFile']();}catch(_0x4634b3){}_0x322bdd[_0x59fb95(0x1bd)][_0x59fb95(0x195)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process[_0x59fb95(0x1c0)]?.[_0x59fb95(0x1e8)]),_0x322bdd['logger'][_0x59fb95(0x258)](_0x59fb95(0x184)+_0x292f20),_0x322bdd['logger'][_0x59fb95(0x258)](_0x59fb95(0x229)),__classPrivateFieldSet(_0x322bdd,_Debuglet_running,!![],'f'),_0x322bdd[_0x59fb95(0x1d3)]=(0x0,createDebuggee_1[_0x59fb95(0x268)])(_0x449626,_0x322bdd[_0x59fb95(0x1d0)],_0x32c98a,__classPrivateFieldGet(_0x322bdd,_Debuglet_debug,'f')[_0x59fb95(0x18e)],_0x383195,_0x322bdd['logger'],__classPrivateFieldGet(_0x322bdd,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x322bdd,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x59fb95(0x16c)](_0x322bdd),__classPrivateFieldGet(_0x322bdd,_Debuglet_instances,'m',_Debuglet_register_)[_0x59fb95(0x16c)](_0x322bdd),_0x322bdd[_0x59fb95(0x21e)](_0x59fb95(0x202));}['isReady'](){const _0x5ba7cc=a18_0x4c706d;if(Date[_0x5ba7cc(0x238)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x5ba7cc(0x23e)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5ba7cc(0x176)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x5ba7cc(0x176)]()[_0x5ba7cc(0x205)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async[a18_0x4c706d(0x1e1)](){const _0x4b569e=a18_0x4c706d,_0x3021c8=await readFilep(_0x4b569e(0x210),_0x4b569e(0x193));try{return JSON[_0x4b569e(0x1c2)](_0x3021c8);}catch(_0xf87069){throw new Error(_0x4b569e(0x213)+_0xf87069);}}[a18_0x4c706d(0x162)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x4c706d(0x260)](){const _0x2fcb47=a18_0x4c706d;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this['logger'][_0x2fcb47(0x258)](_0x2fcb47(0x17d));return;}this[_0x2fcb47(0x1bd)][_0x2fcb47(0x258)]('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x2fcb47(0x16b)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x2fcb47(0x21e)](_0x2fcb47(0x24e));}['setCustomLogLevel'](_0x40cdf0){const _0x540506=a18_0x4c706d,_0x4df5d3=this['logger'][_0x540506(0x19c)]();if(_0x4df5d3===_0x540506(0x258))return;switch(_0x40cdf0){case _0x540506(0x25b):this[_0x540506(0x1bd)][_0x540506(0x1fe)]()!=='debug'&&(this[_0x540506(0x1bd)]['setLevel'](_0x540506(0x258)),this[_0x540506(0x1bd)][_0x540506(0x258)](_0x540506(0x1a5)));break;case _0x540506(0x212):case undefined:this[_0x540506(0x1bd)][_0x540506(0x1fe)]()===_0x540506(0x258)&&(this[_0x540506(0x1bd)][_0x540506(0x20b)](_0x4df5d3),this[_0x540506(0x1bd)][_0x540506(0x195)](_0x540506(0x1c1)+_0x4df5d3+')'));break;default:this[_0x540506(0x1bd)]['warn']('Unknown\x20agentLogLevel\x20'+_0x40cdf0);}}}exports[a18_0x4c706d(0x1d1)]=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(_0x4ebc7b){const _0x320eeb=a18_0x4c706d;return new RegExp(_0x4ebc7b[_0x320eeb(0x211)](_0x1337af=>_0x1337af+'$')[_0x320eeb(0x18c)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x25fb1=a18_0x4c706d,_0xea0b2a=[_0x25fb1(0x26a),'SIGINT',_0x25fb1(0x26c)];_0xea0b2a['forEach'](_0x58e1f0=>{process['once'](_0x58e1f0,()=>{const _0x5da376=a18_0xd508;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5da376(0x1be)](this[_0x5da376(0x1d3)],()=>{const _0x53ef40=_0x5da376;process[_0x53ef40(0x20e)](process[_0x53ef40(0x243)],_0x58e1f0);});});}),process[_0x25fb1(0x19d)](_0x25fb1(0x22e),()=>{const _0x495031=_0x25fb1;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x495031(0x1be)](this[_0x495031(0x1d3)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x1d5592=a18_0x4c706d;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1d5592(0x16c)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x518bb7){const _0x5c34f1=a18_0x4c706d,_0x4f6349=this;_0x4f6349[_0x5c34f1(0x1bd)][_0x5c34f1(0x258)](_0x518bb7?_0x5c34f1(0x171)+_0x518bb7+'s':_0x5c34f1(0x1b1));function _0x317bd5(_0x420d63,_0x34d46d,_0x10b37a=![]){const _0xce0695=_0x5c34f1,_0x4eb4c0=_0x4f6349[_0xce0695(0x1d3)]?.['id']?_0xce0695(0x16f)+_0x4f6349[_0xce0695(0x1d3)]?.['id']+':\x20'+(0x0,utils_1[_0xce0695(0x232)])(_0x420d63):_0xce0695(0x1b2)+(0x0,utils_1['prettyError'])(_0x420d63);_0x4f6349['logger']['error'](_0x4eb4c0),_0x34d46d&&!_0x10b37a&&_0x4f6349[_0xce0695(0x1bd)]['error']('Result:\x20\x0a',_0x34d46d),__classPrivateFieldGet(_0x4f6349,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0xce0695(0x16c)](_0x4f6349,(0x0,utils_1['backoff'])(_0x518bb7,_0x4f6349[_0xce0695(0x1d0)]['internal'][_0xce0695(0x23a)]));}setTimeout(()=>{const _0x1d04e1=_0x5c34f1;if(!__classPrivateFieldGet(_0x4f6349,_Debuglet_running,'f')){_0x317bd5(new Error(_0x1d04e1(0x26d)));return;}__classPrivateFieldGet(_0x4f6349,_Debuglet_controller,'f')[_0x1d04e1(0x214)](_0x4f6349[_0x1d04e1(0x1d3)],(_0x12ee73,_0xf912f0,_0xebb1a7=![])=>{const _0x32c9c1=_0x1d04e1;if(_0x12ee73){_0x317bd5(_0x12ee73,_0xf912f0,_0xebb1a7);return;}if(_0xf912f0[_0x32c9c1(0x1d3)][_0x32c9c1(0x207)]){_0x317bd5(new Error(_0x32c9c1(0x186))),_0x4f6349[_0x32c9c1(0x21e)](_0x32c9c1(0x20d));return;}const _0x3f85e0=_0xf912f0[_0x32c9c1(0x1d3)]['id'];_0x4f6349['logger'][_0x32c9c1(0x195)](_0x32c9c1(0x189)+_0x3f85e0),_0x4f6349[_0x32c9c1(0x1d3)]['id']=_0x3f85e0;const _0x285008=[__classPrivateFieldGet(_0x4f6349,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x32c9c1(0x1f9)](_0x4f6349)(_0x4f6349[_0x32c9c1(0x1d3)]['id'])];_0x4f6349[_0x32c9c1(0x1d0)][_0x32c9c1(0x21d)]&&_0x285008['push'](__classPrivateFieldGet(_0x4f6349,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x32c9c1(0x1f9)](_0x4f6349)(_0x4f6349[_0x32c9c1(0x1d3)]['id'])),Promise['all'](_0x285008)[_0x32c9c1(0x205)](()=>{const _0x206ab4=_0x32c9c1;_0x4f6349['emit']('registered',_0x3f85e0),__classPrivateFieldGet(_0x4f6349,_Debuglet_debuggeeRegistered,'f')[_0x206ab4(0x23e)](),__classPrivateFieldGet(_0x4f6349,_Debuglet_v8debug,'f')?.[_0x206ab4(0x266)](__classPrivateFieldGet(_0x4f6349,_Debuglet_blocklistManager,'f')),!_0x4f6349[_0x206ab4(0x182)]&&__classPrivateFieldGet(_0x4f6349,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x206ab4(0x16c)](_0x4f6349,0x0,this[_0x206ab4(0x1d0)][_0x206ab4(0x250)],_0xf912f0?.[_0x206ab4(0x18f)]);},_0x22eb56=>{_0x317bd5(_0x22eb56);});});},_0x518bb7*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x5549e1,_0xfdbd78,_0x5b40a1){const _0x2bc002=a18_0x4c706d,_0x4048c2=this;!_0xfdbd78&&(_0x4048c2[_0x2bc002(0x182)]=!![]),setTimeout(()=>{const _0x106765=_0x2bc002;if(!__classPrivateFieldGet(_0x4048c2,_Debuglet_running,'f'))return;!_0xfdbd78&&assert(_0x4048c2[_0x106765(0x182)]),_0x4048c2[_0x106765(0x1bd)][_0x106765(0x258)](_0x106765(0x1b5)),__classPrivateFieldGet(_0x4048c2,_Debuglet_controller,'f')[_0x106765(0x194)](_0x4048c2[_0x106765(0x1d3)],(_0x52b158,_0x53059f,_0x3b7146)=>{const _0x25975f=_0x106765;if(_0x53059f?.['status']===0x194){_0x4048c2['logger'][_0x25975f(0x195)]('Debuggee\x20is\x20not\x20registered'),_0x4048c2[_0x25975f(0x182)]=![],__classPrivateFieldGet(_0x4048c2,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](_0x4048c2),__classPrivateFieldGet(_0x4048c2,_Debuglet_instances,'m',_Debuglet_register_)[_0x25975f(0x16c)](_0x4048c2);return;}if(_0x52b158){const _0x1d5116=(0x0,utils_1['backoff'])(_0x5549e1,_0x4048c2[_0x25975f(0x1d0)]['internal']['maxRequestRetryDelaySeconds']);_0x4048c2[_0x25975f(0x1bd)][_0x25975f(0x236)](_0x25975f(0x240)+_0x53059f?.[_0x25975f(0x1af)]+_0x25975f(0x19a)+_0x52b158['message']+_0x25975f(0x222)+_0x1d5116+'s'),__classPrivateFieldGet(_0x4048c2,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x25975f(0x16c)](_0x4048c2,_0x1d5116,_0xfdbd78,_0x5b40a1);return;}_0x4048c2[_0x25975f(0x1bd)][_0x25975f(0x258)]('\x09'+_0x53059f[_0x25975f(0x1af)]+_0x25975f(0x1a2));if(!_0x3b7146){const _0x2befdb=_0x4048c2['config'][_0x25975f(0x1f8)];_0x4048c2[_0x25975f(0x1bd)][_0x25975f(0x236)](_0x25975f(0x215)+_0x2befdb+'s'),__classPrivateFieldGet(_0x4048c2,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x25975f(0x16c)](_0x4048c2,_0x2befdb,_0xfdbd78,_0x5b40a1);return;}this[_0x25975f(0x177)](_0x3b7146['agentLogLevel']);if(_0x3b7146['waitExpired']){_0x4048c2[_0x25975f(0x1bd)][_0x25975f(0x195)](_0x25975f(0x21a)),__classPrivateFieldGet(_0x4048c2,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4048c2,0x0,_0xfdbd78,_0x5b40a1);return;}if(_0x3b7146[_0x25975f(0x197)]&&_0x3b7146[_0x25975f(0x197)]!==_0x25975f(0x212)){const _0x424bbd=this['pipingManager'][_0x25975f(0x1df)];_0x424bbd!==_0x3b7146[_0x25975f(0x197)]&&(this[_0x25975f(0x1bd)]['debug']('Switching\x20globalPiping\x20status\x20from\x20'+_0x424bbd+_0x25975f(0x196)+_0x3b7146[_0x25975f(0x197)]),this[_0x25975f(0x221)]['globalPipingStatus']=_0x3b7146[_0x25975f(0x197)]);}if(_0x3b7146[_0x25975f(0x1a3)]&&_0x3b7146[_0x25975f(0x178)]!==_0x4048c2[_0x25975f(0x178)]){_0x4048c2['collectLogRequestId']=_0x3b7146[_0x25975f(0x178)];const _0x439440=_0x4048c2[_0x25975f(0x1d0)][_0x25975f(0x22d)][_0x25975f(0x1a1)]&&path['join'](_0x4048c2['config'][_0x25975f(0x22d)][_0x25975f(0x1a1)],agent_logger_1[_0x25975f(0x1e2)][_0x25975f(0x234)]);_0x439440&&fs[_0x25975f(0x1e0)](_0x439440)?setTimeout(()=>__classPrivateFieldGet(_0x4048c2,_Debuglet_controller,'f')[_0x25975f(0x25e)](_0x4048c2[_0x25975f(0x1d3)],_0x3b7146['collectLogRequestId'],_0x439440)):_0x4048c2['logger'][_0x25975f(0x195)](_0x25975f(0x204)+_0x3b7146[_0x25975f(0x178)]+_0x25975f(0x1b6)+_0x25975f(0x1f3));}const _0x1b252b=(_0x3b7146['breakpoints']||[])['map'](_0x3ff8be=>new stackdriver_1[(_0x25975f(0x261))](_0x3ff8be))[_0x25975f(0x1d5)](_0x2035ce=>{const _0x49495a=_0x25975f,_0x539aa6=_0x2035ce[_0x49495a(0x257)]||_0x49495a(0x1de);if(__classPrivateFieldGet(_0x4048c2,_Debuglet_completedBreakpointMap,'f')[_0x2035ce['id']])return![];if(_0x539aa6!=='CAPTURE'&&_0x539aa6!==_0x49495a(0x230))return _0x4048c2[_0x49495a(0x1bd)][_0x49495a(0x219)](_0x49495a(0x224),_0x539aa6),_0x2035ce[_0x49495a(0x1af)]=new status_message_1[(_0x49495a(0x209))](status_message_1[_0x49495a(0x209)][_0x49495a(0x25c)],utils_1[_0x49495a(0x21c)][_0x49495a(0x1bb)],!![]),__classPrivateFieldGet(_0x4048c2,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x4048c2,_0x2035ce),![];return!![];}),_0x309e1b=__classPrivateFieldGet(_0x4048c2,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x25975f(0x16c)](_0x4048c2);let _0x36d528=_0x309e1b[_0x25975f(0x1b4)]>0x0;__classPrivateFieldGet(_0x4048c2,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x25975f(0x16c)](_0x4048c2,_0x309e1b),_0x36d528=_0x36d528||__classPrivateFieldGet(_0x4048c2,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x4048c2,_0x1b252b),_0x4048c2[_0x25975f(0x21e)](_0x25975f(0x267),_0x1b252b[_0x25975f(0x1b4)]);_0x36d528&&_0x4048c2[_0x25975f(0x1bd)][_0x25975f(0x258)](formatBreakpoints(_0x25975f(0x217),_0x4048c2['activeBreakpointMap']));__classPrivateFieldSet(_0x4048c2,_Debuglet_breakpointFetchedTimestamp,Date['now'](),'f');_0xfdbd78?__classPrivateFieldGet(_0x4048c2,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x4048c2,_Debuglet_breakpointFetched,'f')[_0x25975f(0x23e)](),__classPrivateFieldSet(_0x4048c2,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x4048c2,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4048c2,0x0,_0xfdbd78,_0x5b40a1);return;},_0x5b40a1);},_0x5549e1*0x3e8)[_0x2bc002(0x227)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0xeba200){const _0x2ae149=a18_0x4c706d,_0x43c31c=this,_0x1f9e2d=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2ae149(0x16c)](this,_0xeba200);let _0x2f6a66=![];return _0xeba200[_0x2ae149(0x225)](_0x4d0fbb=>{const _0x1f793b=_0x2ae149;!__classPrivateFieldGet(_0x43c31c,_Debuglet_completedBreakpointMap,'f')[_0x4d0fbb['id']]&&!_0x43c31c[_0x1f793b(0x237)][_0x4d0fbb['id']]&&(__classPrivateFieldGet(_0x43c31c,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x1f793b(0x16c)](_0x43c31c,_0x4d0fbb,_0x11f9e3=>{const _0x1fe1dd=_0x1f793b;_0x11f9e3&&__classPrivateFieldGet(_0x43c31c,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1fe1dd(0x16c)](_0x43c31c,_0x4d0fbb,!![],![]);}),_0x2f6a66=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1f793b(0x174)](_0x4d0fbb['id'])),__classPrivateFieldGet(_0x43c31c,_Debuglet_quotaManager,'f')[_0x1f793b(0x233)](_0x4d0fbb['id'],_0x4d0fbb[_0x1f793b(0x26b)]),_0x43c31c[_0x1f793b(0x221)]['setPipingStatus'](_0x4d0fbb['id'],_0x4d0fbb[_0x1f793b(0x1f7)]);}),(0x0,mapSubtract_1[_0x2ae149(0x1dc)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x1f9e2d)[_0x2ae149(0x225)](_0x2f3ff8=>{delete __classPrivateFieldGet(_0x43c31c,_Debuglet_completedBreakpointMap,'f')[_0x2f3ff8['id']],_0x2f6a66=!![];}),(0x0,mapSubtract_1[_0x2ae149(0x1dc)])(this['activeBreakpointMap'],_0x1f9e2d)[_0x2ae149(0x225)](_0x4b841b=>{const _0x588ceb=_0x2ae149;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x588ceb(0x16c)](this,_0x4b841b,!![]),_0x2f6a66=!![];}),_0x2f6a66&&_0x43c31c[_0x2ae149(0x1bd)][_0x2ae149(0x258)](formatBreakpoints(_0x2ae149(0x1b3),_0x1f9e2d)),_0x2f6a66;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x843519){const _0x4741b8=a18_0x4c706d,_0x37fdae={};return _0x843519[_0x4741b8(0x225)](_0x1dbfb2=>{_0x37fdae[_0x1dbfb2['id']]=_0x1dbfb2;}),_0x37fdae;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x3c0656,_0x2c9d51){const _0x5dea67=a18_0x4c706d;this[_0x5dea67(0x1bd)][_0x5dea67(0x195)](_0x5dea67(0x1c7),_0x3c0656),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x5dea67(0x1a9)](_0x3c0656['id']),this['pipingManager']['removeBreakpoint'](_0x3c0656['id']),delete this[_0x5dea67(0x237)][_0x3c0656['id']],_0x2c9d51&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x5dea67(0x23f)](_0x3c0656,_0x592816=>{const _0xb76d8c=_0x5dea67;if(_0x592816)this[_0xb76d8c(0x1bd)][_0xb76d8c(0x236)](_0x592816);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x398b99,_0x2883c9){const _0x488dca=a18_0x4c706d,_0x5ca947=this;_0x5ca947['logger'][_0x488dca(0x195)](_0x488dca(0x203),_0x398b99);if(!_0x5ca947['config'][_0x488dca(0x1e7)]&&(_0x398b99[_0x488dca(0x168)]||_0x398b99['expressions'])){_0x5ca947[_0x488dca(0x1bd)][_0x488dca(0x236)](utils_1[_0x488dca(0x21c)]['ALLOW_EXPRESSIONS_MESSAGE'][_0x488dca(0x15f)]||''),_0x398b99[_0x488dca(0x1af)]=new status_message_1['StatusMessage'](status_message_1[_0x488dca(0x209)][_0x488dca(0x25c)],utils_1['errors']['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x3ce7b8=_0x488dca;_0x2883c9(utils_1[_0x3ce7b8(0x21c)][_0x3ce7b8(0x18a)]);});return;}if((0x0,utils_1[_0x488dca(0x1f6)])(process[_0x488dca(0x1e3)],_0x488dca(0x1d4))){const _0x4ef360=utils_1['errors'][_0x488dca(0x1d2)];_0x5ca947[_0x488dca(0x1bd)][_0x488dca(0x236)](_0x4ef360),_0x398b99[_0x488dca(0x1af)]=new status_message_1['StatusMessage'](status_message_1[_0x488dca(0x209)]['UNSPECIFIED'],_0x4ef360,!![]),setImmediate(()=>{_0x2883c9(_0x4ef360);});return;}const _0x2e5860=_0x398b99[_0x488dca(0x22f)]?Number(_0x398b99[_0x488dca(0x22f)][_0x488dca(0x1f2)]):Date[_0x488dca(0x238)]()/0x3e8,_0x3af135=_0x398b99[_0x488dca(0x22c)]||_0x5ca947['config'][_0x488dca(0x1ce)];_0x398b99[_0x488dca(0x19e)]=_0x2e5860+_0x3af135,_0x398b99[_0x488dca(0x265)]?.[_0x488dca(0x248)]&&(_0x398b99[_0x488dca(0x265)][_0x488dca(0x248)]=path[_0x488dca(0x220)](_0x398b99[_0x488dca(0x265)][_0x488dca(0x248)]),path[_0x488dca(0x249)]===path[_0x488dca(0x256)][_0x488dca(0x249)]&&(_0x398b99['location'][_0x488dca(0x248)]=_0x398b99['location']['path'][_0x488dca(0x1fa)]('\x5c')[_0x488dca(0x18c)](path[_0x488dca(0x249)]))),__classPrivateFieldGet(_0x5ca947,_Debuglet_v8debug,'f')[_0x488dca(0x166)](_0x398b99,_0x2ca417=>{const _0x94776e=_0x488dca;if(_0x2ca417){_0x2883c9(_0x2ca417);return;}_0x5ca947[_0x94776e(0x1bd)][_0x94776e(0x195)](_0x94776e(0x1b9),_0x398b99),_0x5ca947['activeBreakpointMap'][_0x398b99['id']]=_0x398b99,_0x398b99['action']===_0x94776e(0x230)?__classPrivateFieldGet(_0x5ca947,_Debuglet_v8debug,'f')[_0x94776e(0x1dd)](_0x398b99,(_0x55f9b1,_0x2c5126)=>{const _0x5110da=_0x94776e,_0x127d49=_0x2c5126[_0x5110da(0x211)](_0x3c8d3f=>__classPrivateFieldGet(_0x5ca947,_Debuglet_instances,'m',_Debuglet_stringify)[_0x5110da(0x16c)](_0x5ca947,_0x3c8d3f)),_0x390a2c=(0x0,format_1[_0x5110da(0x254)])(_0x55f9b1,_0x127d49),_0x4ce196=_0x5110da(0x24a)+(__classPrivateFieldGet(_0x5ca947,_Debuglet_redactionManager,'f')?.[_0x5110da(0x1c8)](_0x390a2c)||_0x390a2c),_0x59d1ec=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x5110da(0x223)](_0x4ce196,_0x398b99['id']);if(_0x59d1ec){const _0x591c2b=_0x59d1ec['message'],_0x2638d4=_0x59d1ec[_0x5110da(0x247)];let _0x17a1b3,_0x2bf966;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['isRedactionActive']()&&!_0x2638d4&&(_0x17a1b3='LOGPOINT:\x20'+_0x55f9b1,_0x2bf966=_0x127d49);_0x5ca947['pipingManager'][_0x5110da(0x161)](_0x5ca947[_0x5110da(0x1d3)],_0x398b99['id'],_0x591c2b,_0x398b99[_0x5110da(0x24c)],_0x17a1b3,_0x2bf966);if(_0x2638d4)__classPrivateFieldGet(_0x5ca947,_Debuglet_v8debug,'f')?.[_0x5110da(0x259)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x5d9977=_0x5110da;__classPrivateFieldGet(_0x5ca947,_Debuglet_v8debug,'f')?.[_0x5d9977(0x1bf)](),__classPrivateFieldSet(_0x5ca947,_Debuglet_nextEnableTimeout,null,'f');},_0x5ca947[_0x5110da(0x1d0)][_0x5110da(0x172)][_0x5110da(0x1ec)]*0x3e8),'f');else _0x591c2b?.[_0x5110da(0x1b4)]===0x0&&__classPrivateFieldGet(_0x5ca947,_Debuglet_v8debug,'f')?.['disable']();}},()=>{return __classPrivateFieldGet(_0x5ca947,_Debuglet_completedBreakpointMap,'f')[_0x398b99['id']];},_0x21a717=>{const _0x107e16=_0x94776e;if(_0x21a717){_0x5ca947[_0x107e16(0x1bd)][_0x107e16(0x236)](_0x21a717),_0x2883c9(_0x21a717);return;}}):__classPrivateFieldGet(_0x5ca947,_Debuglet_v8debug,'f')[_0x94776e(0x21b)](_0x398b99,_0x4b60f8=>{const _0x46c860=_0x94776e;if(_0x4b60f8){setImmediate(()=>{const _0x12f993=a18_0xd508;_0x5ca947[_0x12f993(0x1bd)][_0x12f993(0x236)](_0x4b60f8),_0x2883c9(_0x4b60f8);});return;}_0x5ca947['logger'][_0x46c860(0x195)](_0x46c860(0x1c5),_0x398b99),__classPrivateFieldGet(_0x5ca947,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x46c860(0x16c)](_0x5ca947,_0x398b99,__classPrivateFieldGet(_0x5ca947,_Debuglet_v8debug,'f')['remainingHits'](_0x398b99['id'])<=0x0);}),__classPrivateFieldGet(_0x5ca947,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x94776e(0x16c)](_0x5ca947,_0x398b99);}),this['emit']('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x316f22,_0x4ff12b,_0x141863=!![]){const _0x1e3e95=a18_0x4c706d,_0x26cf8f=this;if(_0x316f22[_0x1e3e95(0x1af)]&&_0x316f22[_0x1e3e95(0x1af)][_0x1e3e95(0x179)]){let _0x2546f1=_0x316f22['status']?.[_0x1e3e95(0x15f)]?.[_0x1e3e95(0x254)]||'';_0x316f22[_0x1e3e95(0x1af)]?.['description']?.['parameters']&&(_0x2546f1+=':\x20'+_0x316f22[_0x1e3e95(0x1af)]?.[_0x1e3e95(0x15f)]?.[_0x1e3e95(0x1d7)][_0x1e3e95(0x183)]()),_0x26cf8f[_0x1e3e95(0x1bd)][_0x1e3e95(0x219)](_0x1e3e95(0x1b8)+_0x316f22+_0x1e3e95(0x185)+_0x2546f1);}else _0x26cf8f[_0x1e3e95(0x1bd)][_0x1e3e95(0x195)](_0x1e3e95(0x22b),_0x316f22);_0x4ff12b&&(__classPrivateFieldGet(_0x26cf8f,_Debuglet_completedBreakpointMap,'f')[_0x316f22['id']]=!![],__classPrivateFieldGet(_0x26cf8f,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x1e3e95(0x16c)](_0x26cf8f,_0x316f22,_0x141863)),__classPrivateFieldGet(_0x26cf8f,_Debuglet_controller,'f')[_0x1e3e95(0x251)](_0x26cf8f[_0x1e3e95(0x1d3)],extend(!![],{},_0x316f22));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x2e157b){const _0x39ebb5=a18_0x4c706d,_0x555c06=this;_0x555c06[_0x39ebb5(0x1bd)]['debug'](_0x39ebb5(0x1ed)+_0x2e157b+_0x39ebb5(0x1a7));const _0x1bc874=extend(!![],{},_0x2e157b);_0x1bc874['isFinalState']=![],_0x1bc874[_0x39ebb5(0x1af)]=new status_message_1[(_0x39ebb5(0x209))](status_message_1['StatusMessage'][_0x39ebb5(0x25c)],undefined,![],!![]),__classPrivateFieldGet(_0x555c06,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x555c06[_0x39ebb5(0x1d3)],_0x1bc874);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x2bf27b){const _0x540b5c=a18_0x4c706d,_0x1fa661=this;this[_0x540b5c(0x1bd)][_0x540b5c(0x195)](_0x540b5c(0x246),_0x2bf27b),__classPrivateFieldGet(_0x1fa661,_Debuglet_completedBreakpointMap,'f')[_0x2bf27b['id']]=!![],__classPrivateFieldGet(_0x1fa661,_Debuglet_controller,'f')[_0x540b5c(0x251)](_0x1fa661[_0x540b5c(0x1d3)],_0x2bf27b);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5301f2){const _0x32984c=a18_0x4c706d,_0x5e0335=this;_0x5301f2[_0x32984c(0x225)](_0x434742=>{const _0x46bdcb=_0x32984c;_0x5e0335[_0x46bdcb(0x1bd)][_0x46bdcb(0x195)](_0x46bdcb(0x1bc),_0x434742),__classPrivateFieldGet(_0x5e0335,_Debuglet_completedBreakpointMap,'f')[_0x434742['id']]=!![],__classPrivateFieldGet(_0x5e0335,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x46bdcb(0x16c)](_0x5e0335,_0x434742,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x24a826=a18_0x4c706d,_0x22a198=Date[_0x24a826(0x238)]()/0x3e8;return Object['values'](this[_0x24a826(0x237)])[_0x24a826(0x1d5)](_0x951462=>_0x951462[_0x24a826(0x19e)]?_0x951462['expirationTime']<_0x22a198:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x3c535a){const _0x22ded1=a18_0x4c706d,_0x40e38a=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x22ded1(0x1e9)](_0x3c535a),_0x3738f1=_0x40e38a[_0x22ded1(0x1ff)],_0x1cb42c=_0x40e38a['blacklist_exception'];_0x3738f1&&_0x3738f1['length']&&this[_0x22ded1(0x1bd)][_0x22ded1(0x258)](_0x22ded1(0x201),_0x3738f1[_0x22ded1(0x18c)]('\x0a\x09')),_0x1cb42c&&_0x1cb42c[_0x22ded1(0x1b4)]&&this[_0x22ded1(0x1bd)][_0x22ded1(0x258)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x1cb42c[_0x22ded1(0x18c)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x3738f1,_0x1cb42c,this[_0x22ded1(0x1d0)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x4b9cec){const _0x5085c4=a18_0x4c706d,_0x48b9e2=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5085c4(0x1ad)](_0x4b9cec);_0x48b9e2?.[_0x5085c4(0x1b4)]&&this[_0x5085c4(0x1bd)][_0x5085c4(0x258)](_0x5085c4(0x23b),_0x48b9e2['map'](_0x4c79bc=>_0x5085c4(0x164)+_0x4c79bc[_0x5085c4(0x242)]+'\x20(type:\x20'+_0x4c79bc[_0x5085c4(0x163)]+_0x5085c4(0x241)+_0x4c79bc['pattern']+_0x5085c4(0x216)+_0x4c79bc['caseInsensitive'])[_0x5085c4(0x18c)]('\x0a\x09'));if((0x0,utils_1[_0x5085c4(0x1f6)])(process['version'],_0x5085c4(0x167))){const {RedactionManagerRE2JS:_0x21cba8}=await Promise[_0x5085c4(0x23e)]()[_0x5085c4(0x205)](()=>require(_0x5085c4(0x1ef)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x21cba8(this[_0x5085c4(0x1bd)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5085c4(0x1ca)](_0x48b9e2);}},_Debuglet_stringify=function _Debuglet_stringify(_0x116447){const _0x2e9cfa=a18_0x4c706d;if(!_0x116447)return JSON[_0x2e9cfa(0x1b0)](_0x116447,(_0x5950a1,_0x49ec99)=>_0x49ec99===undefined?_0x2e9cfa(0x1ee):_0x49ec99);if(Array[_0x2e9cfa(0x173)](_0x116447)){const _0x234e57=[];for(const _0x4eb66d of _0x116447){_0x234e57['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x2e9cfa(0x16c)](this,_0x4eb66d));}return'['+_0x234e57[_0x2e9cfa(0x18c)](',\x20')+']';}if(typeof _0x116447===_0x2e9cfa(0x15e)){const _0x3977b9=Object[_0x2e9cfa(0x1ba)](_0x116447)[_0x2e9cfa(0x211)](([_0x330c5b,_0x251734])=>{const _0x8f4853=_0x2e9cfa,_0x49957e=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x8f4853(0x270)](_0x330c5b)?redaction_manager_1[_0x8f4853(0x17f)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x8f4853(0x16c)](this,_0x251734);return JSON[_0x8f4853(0x1b0)](_0x330c5b)+':\x20'+_0x49957e;})['join'](',\x20');return'{'+_0x3977b9+'}';}return JSON[_0x2e9cfa(0x1b0)](_0x116447);});
|
|
1
|
+
const a18_0x36302e=a18_0x4c1b;(function(_0x316b54,_0x24d6e1){const _0x185aff=a18_0x4c1b,_0x50b496=_0x316b54();while(!![]){try{const _0x1d625a=parseInt(_0x185aff(0x19a))/0x1+-parseInt(_0x185aff(0x1a5))/0x2+-parseInt(_0x185aff(0x13b))/0x3+-parseInt(_0x185aff(0xe9))/0x4+parseInt(_0x185aff(0xdf))/0x5+-parseInt(_0x185aff(0xe2))/0x6*(-parseInt(_0x185aff(0x1ba))/0x7)+-parseInt(_0x185aff(0x165))/0x8*(-parseInt(_0x185aff(0x108))/0x9);if(_0x1d625a===_0x24d6e1)break;else _0x50b496['push'](_0x50b496['shift']());}catch(_0x159f8b){_0x50b496['push'](_0x50b496['shift']());}}}(a18_0x1114,0xb6410));const a18_0x5544da=(function(){let _0x3fffd7=!![];return function(_0x565ba5,_0x223f71){const _0x461d61=_0x3fffd7?function(){const _0x47fc8e=a18_0x4c1b;if(_0x223f71){const _0x2d472c=_0x223f71[_0x47fc8e(0x1b4)](_0x565ba5,arguments);return _0x223f71=null,_0x2d472c;}}:function(){};return _0x3fffd7=![],_0x461d61;};}()),a18_0x40e098=a18_0x5544da(this,function(){const _0x4f74ff=a18_0x4c1b;return a18_0x40e098[_0x4f74ff(0x161)]()[_0x4f74ff(0x124)](_0x4f74ff(0xf9))[_0x4f74ff(0x161)]()[_0x4f74ff(0x1b8)](a18_0x40e098)[_0x4f74ff(0x124)](_0x4f74ff(0xf9));});a18_0x40e098();function a18_0x4c1b(_0x404b9c,_0xe4720){const _0x4e74fb=a18_0x1114();return a18_0x4c1b=function(_0x40e098,_0x5544da){_0x40e098=_0x40e098-0xde;let _0x111469=_0x4e74fb[_0x40e098];return _0x111469;},a18_0x4c1b(_0x404b9c,_0xe4720);}'use strict';var __classPrivateFieldSet=this&&this[a18_0x36302e(0x117)]||function(_0x5a88fe,_0x584291,_0x277e36,_0x498519,_0x5eefd7){const _0x42667c=a18_0x36302e;if(_0x498519==='m')throw new TypeError(_0x42667c(0xfb));if(_0x498519==='a'&&!_0x5eefd7)throw new TypeError(_0x42667c(0x1bc));if(typeof _0x584291==='function'?_0x5a88fe!==_0x584291||!_0x5eefd7:!_0x584291['has'](_0x5a88fe))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x498519==='a'?_0x5eefd7[_0x42667c(0x1a0)](_0x5a88fe,_0x277e36):_0x5eefd7?_0x5eefd7[_0x42667c(0x12a)]=_0x277e36:_0x584291[_0x42667c(0x1d9)](_0x5a88fe,_0x277e36),_0x277e36;},__classPrivateFieldGet=this&&this[a18_0x36302e(0x17a)]||function(_0xe5b514,_0x1b8eef,_0x311780,_0x33622a){const _0x2ed639=a18_0x36302e;if(_0x311780==='a'&&!_0x33622a)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x1b8eef===_0x2ed639(0x11f)?_0xe5b514!==_0x1b8eef||!_0x33622a:!_0x1b8eef[_0x2ed639(0x137)](_0xe5b514))throw new TypeError(_0x2ed639(0x151));return _0x311780==='m'?_0x33622a:_0x311780==='a'?_0x33622a['call'](_0xe5b514):_0x33622a?_0x33622a[_0x2ed639(0x12a)]:_0x1b8eef[_0x2ed639(0x14e)](_0xe5b514);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x36302e(0x1db)](exports,'__esModule',{'value':!![]}),exports[a18_0x36302e(0x1d8)]=exports[a18_0x36302e(0x185)]=void 0x0;const assert=require(a18_0x36302e(0x1c9)),events_1=require(a18_0x36302e(0x141)),extend=require(a18_0x36302e(0x19e)),fs=require('fs'),path=require(a18_0x36302e(0xea)),util=require('util'),status_message_1=require(a18_0x36302e(0x13d)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a18_0x36302e(0x18b)),config_1=require(a18_0x36302e(0x10d)),controller_1=require(a18_0x36302e(0x173)),SourceMapper=require(a18_0x36302e(0x140)),debugapi=require('./v8/debugapi'),piping_manager_1=require(a18_0x36302e(0x12d)),quota_manager_1=require(a18_0x36302e(0x175)),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),scanner_1=require('./io/scanner'),environment_metadata_1=require(a18_0x36302e(0x192)),file_index_1=require(a18_0x36302e(0xff)),utils_1=require('./util/utils'),redaction_manager_1=require(a18_0x36302e(0x1bb)),configuration_provider_1=require(a18_0x36302e(0x15e)),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),mapSubtract_1=require(a18_0x36302e(0x13e)),format_1=require('./debuglet-helpers/format'),createDebuggee_1=require(a18_0x36302e(0x1b0)),readFilep=util[a18_0x36302e(0x147)](fs[a18_0x36302e(0x16a)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x1773e1,_0x23c3dd)=>{const _0x3a2477=a18_0x36302e;let _0x5963a3=_0x1773e1+util['format']('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x23c3dd['id'],_0x23c3dd[_0x3a2477(0xfe)],util['inspect'](_0x23c3dd['location']));if(_0x23c3dd[_0x3a2477(0x100)]){const _0x1b6cd3=Number(_0x23c3dd['createTime'][_0x3a2477(0x1d1)]),_0x49eb9f=new Date(_0x1b6cd3*0x3e8);_0x5963a3+='\x0a\x09createdTime:\x20'+_0x49eb9f[_0x3a2477(0x161)]();}return _0x23c3dd[_0x3a2477(0x128)]&&(_0x5963a3+=_0x3a2477(0x15d)+util[_0x3a2477(0x1a3)](_0x23c3dd[_0x3a2477(0x128)])),_0x23c3dd[_0x3a2477(0x146)]&&(_0x5963a3+=_0x3a2477(0x127)+util[_0x3a2477(0x1a3)](_0x23c3dd['expressions'])),_0x5963a3;},formatBreakpoints=(_0x5596c3,_0x5b4f8b)=>{const _0x19c33c=a18_0x36302e;return _0x5596c3+Object[_0x19c33c(0x16d)](_0x5b4f8b)['map'](_0x142455=>{return formatBreakpoint('',_0x5b4f8b[_0x142455]);})[_0x19c33c(0x18e)]('\x0a');};class CachedPromise{constructor(){const _0x256eb9=a18_0x36302e;this[_0x256eb9(0x152)]=null,this['promise']=new Promise(_0x4ee8d0=>{const _0x24b606=_0x256eb9;this[_0x24b606(0x152)]=_0x4ee8d0;});}[a18_0x36302e(0x14e)](){const _0x50c738=a18_0x36302e;return this[_0x50c738(0x101)];}[a18_0x36302e(0xe5)](){const _0x500322=a18_0x36302e;this[_0x500322(0x152)]&&(this[_0x500322(0x152)](),this[_0x500322(0x152)]=null);}}exports[a18_0x36302e(0x185)]=CachedPromise;class IsReadyImpl{constructor(_0x531d66){const _0x4e2c06=a18_0x36302e;this[_0x4e2c06(0x1ce)]=_0x531d66;}[a18_0x36302e(0x1c1)](){const _0x235dfa=a18_0x36302e;return this[_0x235dfa(0x1ce)][_0x235dfa(0x1c1)]();}}class Debuglet extends events_1[a18_0x36302e(0x187)]{constructor(_0xcbd9aa,_0x3d72b8){const _0x5b9188=a18_0x36302e;super(),_Debuglet_instances[_0x5b9188(0xf6)](this),_Debuglet_debug[_0x5b9188(0x1d9)](this,void 0x0),_Debuglet_v8debug[_0x5b9188(0x1d9)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller[_0x5b9188(0x1d9)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x5b9188(0x1d9)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x5b9188(0x1d9)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x5b9188(0x1d9)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x5b9188(0x1d9)](this,null),this[_0x5b9188(0xe0)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x5b9188(0x1d9)](this,void 0x0),_Debuglet_scanner[_0x5b9188(0x1d9)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0x5b9188(0x1d9)](this,void 0x0),_Debuglet_redactionManager[_0x5b9188(0x1d9)](this,void 0x0),_Debuglet_configProvider[_0x5b9188(0x1d9)](this,void 0x0),this[_0x5b9188(0xe3)]=(0x0,normalizeConfig_1[_0x5b9188(0x199)])(_0x3d72b8),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x5b9188(0x13c))](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0xcbd9aa,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x5b9188(0x121)]=![],this[_0x5b9188(0x114)]=agent_logger_1['default'][_0x5b9188(0x1dc)](this[_0x5b9188(0xe3)][_0x5b9188(0x168)][_0x5b9188(0x11b)],this['config'][_0x5b9188(0x168)][_0x5b9188(0x125)],this['config'][_0x5b9188(0x168)][_0x5b9188(0x112)],this['config'][_0x5b9188(0x168)][_0x5b9188(0x190)],this[_0x5b9188(0xe3)][_0x5b9188(0x168)][_0x5b9188(0x126)]),(0x0,config_1['logMainConfigParams'])(this[_0x5b9188(0xe3)],this[_0x5b9188(0x114)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x5b9188(0x114)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x5b9188(0xe3)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x5b9188(0x13f))](this[_0x5b9188(0x114)]),'f'),this['debuggee']=null,this[_0x5b9188(0xf3)]={},__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[(_0x5b9188(0x1a1))](this[_0x5b9188(0x114)],this[_0x5b9188(0xe3)]),'f'),this[_0x5b9188(0x153)]=new piping_manager_1[(_0x5b9188(0x1a7))](_0x5b9188(0x1d7),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x5b9188(0xe3)]);}async[a18_0x36302e(0x1b7)](_0xf39351,_0x23aa76){const _0x4928a7=a18_0x36302e,_0x17cb66=_0xf39351['workingDirectory'],_0x8a1181=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x4928a7(0x111)](_0x17cb66,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x4928a7(0x1a0)](_a,_0xf39351['javascriptFileExtensions'][_0x4928a7(0x123)](_0x4928a7(0x11d))),_0x23aa76,_0xf39351[_0x4928a7(0x104)]),_0x38fab2=_0x8a1181[_0x4928a7(0x176)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x4928a7(0x1a0)](_a,_0xf39351[_0x4928a7(0x182)])),_0x5f1cf9=file_index_1['FileIndex']['fromFileStats'](_0x38fab2),_0x54d6ad=_0x8a1181[_0x4928a7(0x16f)](/.js.map$/,process[_0x4928a7(0x1ab)]()),_0x54f7e9=_0x8a1181[_0x4928a7(0x1b5)]();return{'mapFiles':_0x54d6ad,'errors':_0x54f7e9,'jsFileIndex':_0x5f1cf9,'hash':_0x8a1181[_0x4928a7(0x102)]};}async[a18_0x36302e(0x1aa)](){const _0x51bfca=a18_0x36302e,_0x1e9684=this,_0x2c4819=_0x1e9684[_0x51bfca(0xe3)][_0x51bfca(0x15c)];if(!_0x1e9684[_0x51bfca(0xe3)]['allowRootAsWorkingDirectory']&&path[_0x51bfca(0x18e)](_0x2c4819,'..')===_0x2c4819){const _0x1bce91=_0x51bfca(0x110)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x51bfca(0xde)+'do\x20this.';_0x1e9684[_0x51bfca(0x114)][_0x51bfca(0x167)](_0x1bce91),_0x1e9684[_0x51bfca(0x1c3)](_0x51bfca(0x156),new Error(_0x1bce91));return;}let _0x55d90f;process[_0x51bfca(0x118)][_0x51bfca(0x113)]&&(_0x55d90f=_0x51bfca(0x171)+process['env'][_0x51bfca(0x113)]);let _0x4f0bb5,_0x3df14b=_0x55d90f||'';try{_0x4f0bb5=await this[_0x51bfca(0x1b7)](_0x1e9684[_0x51bfca(0xe3)],_0x55d90f),_0x4f0bb5[_0x51bfca(0x1b5)][_0x51bfca(0x193)](_0x1e9684[_0x51bfca(0x114)]['warn']);}catch(_0x1c8538){_0x1e9684[_0x51bfca(0x114)][_0x51bfca(0x167)](_0x51bfca(0x1de),_0x1c8538),_0x1e9684['emit'](_0x51bfca(0x156),_0x1c8538);return;}try{const _0x40c9ef=await SourceMapper['create'](_0x1e9684['logger'],_0x4f0bb5[_0x51bfca(0xfa)],_0x1e9684[_0x51bfca(0xe3)][_0x51bfca(0x12e)]?.[_0x51bfca(0x1b9)]);__classPrivateFieldSet(_0x1e9684,_Debuglet_v8debug,debugapi[_0x51bfca(0x160)](_0x1e9684[_0x51bfca(0x114)],_0x1e9684[_0x51bfca(0xe3)],_0x4f0bb5[_0x51bfca(0x164)],_0x40c9ef,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x3df14b=_0x55d90f||_0x4f0bb5[_0x51bfca(0x102)];}catch(_0x52cb5a){_0x1e9684[_0x51bfca(0x114)]['error'](_0x51bfca(0x132),_0x52cb5a),_0x1e9684[_0x51bfca(0x114)][_0x51bfca(0x169)](JSON[_0x51bfca(0x148)](_0x52cb5a)),_0x1e9684[_0x51bfca(0x1c3)](_0x51bfca(0x156),_0x52cb5a);}_0x1e9684['logger'][_0x51bfca(0x169)](_0x51bfca(0x154)+_0x3df14b);const _0x515825=(0x0,utils_1[_0x51bfca(0x120)])(_0x1e9684[_0x51bfca(0x114)])['replace']('\x0a','');_0x1e9684[_0x51bfca(0x114)][_0x51bfca(0x169)](_0x51bfca(0x1ca)+_0x515825);let _0xe4945d;try{_0xe4945d=_0x1e9684[_0x51bfca(0xe3)][_0x51bfca(0x166)]||await _a['getSourceContextFromFile']();}catch(_0x8bc0ee){}_0x1e9684['logger'][_0x51bfca(0x169)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process[_0x51bfca(0x191)]?.[_0x51bfca(0x19d)]),_0x1e9684[_0x51bfca(0x114)][_0x51bfca(0x1c5)]('Working\x20directory:\x20'+_0x2c4819),_0x1e9684[_0x51bfca(0x114)][_0x51bfca(0x1c5)](_0x51bfca(0xf4)),__classPrivateFieldSet(_0x1e9684,_Debuglet_running,!![],'f'),_0x1e9684[_0x51bfca(0x1d3)]=(0x0,createDebuggee_1['createDebuggee'])(_0x3df14b,_0x1e9684['config'],_0xe4945d,__classPrivateFieldGet(_0x1e9684,_Debuglet_debug,'f')['packageInfo'],_0x515825,_0x1e9684[_0x51bfca(0x114)],__classPrivateFieldGet(_0x1e9684,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x1e9684,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x51bfca(0x1a0)](_0x1e9684),__classPrivateFieldGet(_0x1e9684,_Debuglet_instances,'m',_Debuglet_register_)[_0x51bfca(0x1a0)](_0x1e9684),_0x1e9684[_0x51bfca(0x1c3)](_0x51bfca(0x11e));}['isReady'](){const _0x17495e=a18_0x36302e;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x17495e(0x14e)]()[_0x17495e(0x1b2)](()=>{const _0x28af68=_0x17495e;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x28af68(0x1a0)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x17495e(0x14e)]();}}static async[a18_0x36302e(0x1a9)](){const _0x1d4b1a=a18_0x36302e,_0x33dfb3=await readFilep(_0x1d4b1a(0xf0),_0x1d4b1a(0xed));try{return JSON['parse'](_0x33dfb3);}catch(_0x4146cd){throw new Error(_0x1d4b1a(0x17c)+_0x4146cd);}}[a18_0x36302e(0x158)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x36302e(0x10b)](){const _0x3b2d77=a18_0x36302e;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x3b2d77(0x114)][_0x3b2d77(0x1c5)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this['logger'][_0x3b2d77(0x1c5)](_0x3b2d77(0x106)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x3b2d77(0xf5)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x3b2d77(0x1c3)]('stopped');}['setCustomLogLevel'](_0x1d5bd6){const _0x4333be=a18_0x36302e,_0x21a2fd=this['logger']['getInitialLevel']();if(_0x21a2fd==='debug')return;switch(_0x1d5bd6){case _0x4333be(0x1c7):this[_0x4333be(0x114)]['getLevel']()!=='debug'&&(this[_0x4333be(0x114)][_0x4333be(0x1a6)](_0x4333be(0x1c5)),this[_0x4333be(0x114)][_0x4333be(0x1c5)](_0x4333be(0x12f)));break;case _0x4333be(0x194):case undefined:this[_0x4333be(0x114)][_0x4333be(0xf1)]()===_0x4333be(0x1c5)&&(this['logger']['setLevel'](_0x21a2fd),this[_0x4333be(0x114)][_0x4333be(0x169)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20('+_0x21a2fd+')'));break;default:this[_0x4333be(0x114)][_0x4333be(0x1e0)]('Unknown\x20agentLogLevel\x20'+_0x1d5bd6);}}}exports[a18_0x36302e(0x1d8)]=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(_0x37fa21){const _0x447b3e=a18_0x36302e;return new RegExp(_0x37fa21['map'](_0x24d483=>_0x24d483+'$')[_0x447b3e(0x18e)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x21b7f5=a18_0x36302e,_0x2f2230=[_0x21b7f5(0x144),'SIGINT','SIGQUIT'];_0x2f2230['forEach'](_0x5b6110=>{const _0xd4e028=_0x21b7f5;process[_0xd4e028(0x14d)](_0x5b6110,()=>{const _0x472ce4=_0xd4e028;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x472ce4(0x1d3)],()=>{const _0x22a291=_0x472ce4;process[_0x22a291(0x1bd)](process['pid'],_0x5b6110);});});}),process[_0x21b7f5(0x14d)](_0x21b7f5(0x1d2),()=>{const _0x9fbd47=_0x21b7f5;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x9fbd47(0x179)](this['debuggee'],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x344f57=a18_0x36302e;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x344f57(0x1a0)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xcf0a85){const _0x384d89=a18_0x36302e,_0x383be7=this;_0x383be7['logger'][_0x384d89(0x1c5)](_0xcf0a85?_0x384d89(0x172)+_0xcf0a85+'s':'Registering\x20debuggee');function _0x532a71(_0x45f2ef,_0x447519,_0x4c1b7a=![]){const _0x2728dc=_0x384d89,_0x4cd07c=_0x383be7['debuggee']?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x383be7[_0x2728dc(0x1d3)]?.['id']+':\x20'+(0x0,utils_1['prettyError'])(_0x45f2ef):'Failed\x20to\x20register\x20debuggee:\x20'+(0x0,utils_1[_0x2728dc(0x18a)])(_0x45f2ef);_0x383be7[_0x2728dc(0x114)][_0x2728dc(0x167)](_0x4cd07c),_0x447519&&!_0x4c1b7a&&_0x383be7['logger'][_0x2728dc(0x167)](_0x2728dc(0xe8),_0x447519),__classPrivateFieldGet(_0x383be7,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x2728dc(0x1a0)](_0x383be7,(0x0,utils_1['backoff'])(_0xcf0a85,_0x383be7[_0x2728dc(0xe3)][_0x2728dc(0x12e)][_0x2728dc(0x162)]));}setTimeout(()=>{const _0x794319=_0x384d89;if(!__classPrivateFieldGet(_0x383be7,_Debuglet_running,'f')){_0x532a71(new Error(_0x794319(0x10f)));return;}__classPrivateFieldGet(_0x383be7,_Debuglet_controller,'f')[_0x794319(0x19b)](_0x383be7[_0x794319(0x1d3)],(_0x333d88,_0x528111,_0x54c23c=![])=>{const _0x5dd065=_0x794319;if(_0x333d88){_0x532a71(_0x333d88,_0x528111,_0x54c23c);return;}if(_0x528111[_0x5dd065(0x1d3)][_0x5dd065(0x134)]){_0x532a71(new Error(_0x5dd065(0x16c))),_0x383be7[_0x5dd065(0x1c3)](_0x5dd065(0x145));return;}const _0x46a8de=_0x528111['debuggee']['id'];_0x383be7[_0x5dd065(0x114)][_0x5dd065(0x169)]('Registered\x20as\x20debuggee:\x20'+_0x46a8de),_0x383be7[_0x5dd065(0x1d3)]['id']=_0x46a8de;const _0x2a4e5e=[__classPrivateFieldGet(_0x383be7,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x5dd065(0x157)](_0x383be7)(_0x383be7['debuggee']['id'])];_0x383be7[_0x5dd065(0xe3)][_0x5dd065(0x14f)]&&_0x2a4e5e['push'](__classPrivateFieldGet(_0x383be7,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x5dd065(0x157)](_0x383be7)(_0x383be7[_0x5dd065(0x1d3)]['id'])),Promise['all'](_0x2a4e5e)[_0x5dd065(0x1b2)](()=>{const _0x3ef5bf=_0x5dd065;_0x383be7['emit'](_0x3ef5bf(0x136),_0x46a8de),__classPrivateFieldGet(_0x383be7,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(_0x383be7,_Debuglet_v8debug,'f')?.[_0x3ef5bf(0x196)](__classPrivateFieldGet(_0x383be7,_Debuglet_blocklistManager,'f')),!_0x383be7[_0x3ef5bf(0x121)]&&__classPrivateFieldGet(_0x383be7,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3ef5bf(0x1a0)](_0x383be7,0x0,this['config'][_0x3ef5bf(0x181)],_0x528111?.['clientConnectionTimeoutInSeconds']);},_0x5635bc=>{_0x532a71(_0x5635bc);});});},_0xcf0a85*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x137e7a,_0x3c6809,_0x1ee2d4){const _0x4098a6=a18_0x36302e,_0x148267=this;!_0x3c6809&&(_0x148267[_0x4098a6(0x121)]=!![]),setTimeout(()=>{const _0x7ecd3f=_0x4098a6;if(!__classPrivateFieldGet(_0x148267,_Debuglet_running,'f'))return;!_0x3c6809&&assert(_0x148267['fetcherActive']),_0x148267[_0x7ecd3f(0x114)][_0x7ecd3f(0x1c5)]('Fetching\x20breakpoints'),__classPrivateFieldGet(_0x148267,_Debuglet_controller,'f')[_0x7ecd3f(0x1cf)](_0x148267[_0x7ecd3f(0x1d3)],(_0x383aa4,_0x7609f3,_0x85a48f)=>{const _0x6fd4b5=_0x7ecd3f;if(_0x7609f3?.[_0x6fd4b5(0x18d)]===0x194){_0x148267[_0x6fd4b5(0x114)][_0x6fd4b5(0x169)]('Debuggee\x20is\x20not\x20registered'),_0x148267['fetcherActive']=![],__classPrivateFieldGet(_0x148267,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x6fd4b5(0x1a0)](_0x148267),__classPrivateFieldGet(_0x148267,_Debuglet_instances,'m',_Debuglet_register_)[_0x6fd4b5(0x1a0)](_0x148267);return;}if(_0x383aa4){const _0x239f97=(0x0,utils_1[_0x6fd4b5(0x131)])(_0x137e7a,_0x148267[_0x6fd4b5(0xe3)][_0x6fd4b5(0x12e)][_0x6fd4b5(0x162)]);_0x148267[_0x6fd4b5(0x114)]['error']('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x7609f3?.['status']+'.\x20message:\x20'+_0x383aa4[_0x6fd4b5(0x1cb)]+'.\x20Retrying\x20in\x20'+_0x239f97+'s'),__classPrivateFieldGet(_0x148267,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x6fd4b5(0x1a0)](_0x148267,_0x239f97,_0x3c6809,_0x1ee2d4);return;}_0x148267[_0x6fd4b5(0x114)][_0x6fd4b5(0x1c5)]('\x09'+_0x7609f3['status']+_0x6fd4b5(0x16b));if(!_0x85a48f){const _0x336b06=_0x148267[_0x6fd4b5(0xe3)][_0x6fd4b5(0x129)];_0x148267[_0x6fd4b5(0x114)][_0x6fd4b5(0x167)](_0x6fd4b5(0x19f)+_0x336b06+'s'),__classPrivateFieldGet(_0x148267,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x6fd4b5(0x1a0)](_0x148267,_0x336b06,_0x3c6809,_0x1ee2d4);return;}this['setCustomLogLevel'](_0x85a48f[_0x6fd4b5(0x190)]);if(_0x85a48f[_0x6fd4b5(0x115)]){_0x148267[_0x6fd4b5(0x114)][_0x6fd4b5(0x169)](_0x6fd4b5(0x12c)),__classPrivateFieldGet(_0x148267,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x6fd4b5(0x1a0)](_0x148267,0x0,_0x3c6809,_0x1ee2d4);return;}if(_0x85a48f[_0x6fd4b5(0x1a8)]&&_0x85a48f[_0x6fd4b5(0x1a8)]!==_0x6fd4b5(0x194)){const _0x2aaf4e=this[_0x6fd4b5(0x153)][_0x6fd4b5(0x138)];_0x2aaf4e!==_0x85a48f[_0x6fd4b5(0x1a8)]&&(this[_0x6fd4b5(0x114)][_0x6fd4b5(0x1c5)]('Switching\x20globalPiping\x20status\x20from\x20'+_0x2aaf4e+_0x6fd4b5(0x1a2)+_0x85a48f[_0x6fd4b5(0x1a8)]),this[_0x6fd4b5(0x153)]['globalPipingStatus']=_0x85a48f[_0x6fd4b5(0x1a8)]);}if(_0x85a48f['collectAndSendLog']&&_0x85a48f[_0x6fd4b5(0x103)]!==_0x148267[_0x6fd4b5(0x103)]){_0x148267[_0x6fd4b5(0x103)]=_0x85a48f[_0x6fd4b5(0x103)];const _0x20a942=_0x148267['config']['agentLog'][_0x6fd4b5(0x11b)]&&path[_0x6fd4b5(0x18e)](_0x148267[_0x6fd4b5(0xe3)]['agentLog'][_0x6fd4b5(0x11b)],agent_logger_1[_0x6fd4b5(0x174)][_0x6fd4b5(0x177)]);_0x20a942&&fs[_0x6fd4b5(0x1da)](_0x20a942)?setTimeout(()=>__classPrivateFieldGet(_0x148267,_Debuglet_controller,'f')[_0x6fd4b5(0x155)](_0x148267[_0x6fd4b5(0x1d3)],_0x85a48f[_0x6fd4b5(0x103)],_0x20a942)):_0x148267[_0x6fd4b5(0x114)][_0x6fd4b5(0x169)](_0x6fd4b5(0x119)+_0x85a48f['collectLogRequestId']+'\x20because\x20'+'logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits');}const _0x4dc0a1=(_0x85a48f['breakpoints']||[])['map'](_0x1f37d9=>new stackdriver_1['Breakpoint'](_0x1f37d9))[_0x6fd4b5(0x1d4)](_0x363cf3=>{const _0x370908=_0x6fd4b5,_0x41225d=_0x363cf3[_0x370908(0xfe)]||_0x370908(0x15a);if(__classPrivateFieldGet(_0x148267,_Debuglet_completedBreakpointMap,'f')[_0x363cf3['id']])return![];if(_0x41225d!==_0x370908(0x15a)&&_0x41225d!=='LOG')return _0x148267[_0x370908(0x114)][_0x370908(0x1e0)](_0x370908(0x150),_0x41225d),_0x363cf3['status']=new status_message_1['StatusMessage'](status_message_1[_0x370908(0xe7)][_0x370908(0xe6)],utils_1[_0x370908(0x1b5)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(_0x148267,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x148267,_0x363cf3),![];return!![];}),_0x4a6ece=__classPrivateFieldGet(_0x148267,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x6fd4b5(0x1a0)](_0x148267);let _0x517832=_0x4a6ece[_0x6fd4b5(0x163)]>0x0;__classPrivateFieldGet(_0x148267,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x6fd4b5(0x1a0)](_0x148267,_0x4a6ece),_0x517832=_0x517832||__classPrivateFieldGet(_0x148267,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x6fd4b5(0x1a0)](_0x148267,_0x4dc0a1),_0x148267[_0x6fd4b5(0x1c3)](_0x6fd4b5(0x122),_0x4dc0a1['length']);_0x517832&&_0x148267[_0x6fd4b5(0x114)]['debug'](formatBreakpoints(_0x6fd4b5(0x197),_0x148267[_0x6fd4b5(0xf3)]));__classPrivateFieldSet(_0x148267,_Debuglet_breakpointFetchedTimestamp,Date[_0x6fd4b5(0x1ac)](),'f');_0x3c6809?__classPrivateFieldGet(_0x148267,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x148267,_Debuglet_breakpointFetched,'f')[_0x6fd4b5(0xe5)](),__classPrivateFieldSet(_0x148267,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x148267,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x6fd4b5(0x1a0)](_0x148267,0x0,_0x3c6809,_0x1ee2d4);return;},_0x1ee2d4);},_0x137e7a*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x2ccd38=a18_0x36302e;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x2ccd38(0xe5)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x328700){const _0x36a8d2=a18_0x36302e,_0x587cfc=this,_0x4213fa=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x36a8d2(0x1a0)](this,_0x328700);let _0x51b7f5=![];return _0x328700[_0x36a8d2(0x193)](_0x4ba9ef=>{const _0x1770fe=_0x36a8d2;!__classPrivateFieldGet(_0x587cfc,_Debuglet_completedBreakpointMap,'f')[_0x4ba9ef['id']]&&!_0x587cfc[_0x1770fe(0xf3)][_0x4ba9ef['id']]&&(__classPrivateFieldGet(_0x587cfc,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](_0x587cfc,_0x4ba9ef,_0x5b6fe6=>{const _0x29583f=_0x1770fe;_0x5b6fe6&&__classPrivateFieldGet(_0x587cfc,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x29583f(0x1a0)](_0x587cfc,_0x4ba9ef,!![],![]);}),_0x51b7f5=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x4ba9ef['id'])),__classPrivateFieldGet(_0x587cfc,_Debuglet_quotaManager,'f')[_0x1770fe(0x1dd)](_0x4ba9ef['id'],_0x4ba9ef[_0x1770fe(0x1c0)]),_0x587cfc[_0x1770fe(0x153)][_0x1770fe(0x130)](_0x4ba9ef['id'],_0x4ba9ef['pipingStatus']);}),(0x0,mapSubtract_1[_0x36a8d2(0x1d0)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x4213fa)[_0x36a8d2(0x193)](_0x487566=>{delete __classPrivateFieldGet(_0x587cfc,_Debuglet_completedBreakpointMap,'f')[_0x487566['id']],_0x51b7f5=!![];}),(0x0,mapSubtract_1[_0x36a8d2(0x1d0)])(this[_0x36a8d2(0xf3)],_0x4213fa)[_0x36a8d2(0x193)](_0x549bba=>{const _0x53cc3b=_0x36a8d2;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x53cc3b(0x1a0)](this,_0x549bba,!![]),_0x51b7f5=!![];}),_0x51b7f5&&_0x587cfc[_0x36a8d2(0x114)][_0x36a8d2(0x1c5)](formatBreakpoints(_0x36a8d2(0x116),_0x4213fa)),_0x51b7f5;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x5bb737){const _0x43e902=a18_0x36302e,_0x1d0c52={};return _0x5bb737[_0x43e902(0x193)](_0x436885=>{_0x1d0c52[_0x436885['id']]=_0x436885;}),_0x1d0c52;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x3dd7bc,_0x70c9e6){const _0x691c5=a18_0x36302e;this[_0x691c5(0x114)]['info'](_0x691c5(0xe1),_0x3dd7bc),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x3dd7bc['id']),this[_0x691c5(0x153)][_0x691c5(0x149)](_0x3dd7bc['id']),delete this[_0x691c5(0xf3)][_0x3dd7bc['id']],_0x70c9e6&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x691c5(0x178)](_0x3dd7bc,_0x103142=>{const _0x2be7dd=_0x691c5;if(_0x103142)this['logger'][_0x2be7dd(0x167)](_0x103142);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x2d679b,_0x12c88e){const _0x47181e=a18_0x36302e,_0x57b31f=this;_0x57b31f['logger'][_0x47181e(0x169)](_0x47181e(0x109),_0x2d679b);if(!_0x57b31f['config'][_0x47181e(0x14c)]&&(_0x2d679b[_0x47181e(0x128)]||_0x2d679b['expressions'])){_0x57b31f['logger']['error'](utils_1[_0x47181e(0x1b5)][_0x47181e(0x186)][_0x47181e(0x1c4)]||''),_0x2d679b[_0x47181e(0x18d)]=new status_message_1[(_0x47181e(0xe7))](status_message_1[_0x47181e(0xe7)][_0x47181e(0xe6)],utils_1[_0x47181e(0x1b5)]['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0xe03c11=_0x47181e;_0x12c88e(utils_1[_0xe03c11(0x1b5)][_0xe03c11(0x186)]);});return;}if((0x0,utils_1['satisfies'])(process[_0x47181e(0x13a)],_0x47181e(0xef))){const _0x2c3079=utils_1[_0x47181e(0x1b5)][_0x47181e(0x12b)];_0x57b31f['logger'][_0x47181e(0x167)](_0x2c3079),_0x2d679b[_0x47181e(0x18d)]=new status_message_1[(_0x47181e(0xe7))](status_message_1['StatusMessage']['UNSPECIFIED'],_0x2c3079,!![]),setImmediate(()=>{_0x12c88e(_0x2c3079);});return;}const _0x26020b=_0x2d679b[_0x47181e(0x100)]?Number(_0x2d679b['createTime']['seconds']):Date[_0x47181e(0x1ac)]()/0x3e8,_0x231a7d=_0x2d679b[_0x47181e(0x107)]||_0x57b31f[_0x47181e(0xe3)][_0x47181e(0x195)];_0x2d679b[_0x47181e(0xf7)]=_0x26020b+_0x231a7d,_0x2d679b[_0x47181e(0x1b3)]?.[_0x47181e(0xea)]&&(_0x2d679b[_0x47181e(0x1b3)]['path']=path[_0x47181e(0x15f)](_0x2d679b[_0x47181e(0x1b3)][_0x47181e(0xea)]),path[_0x47181e(0x1bf)]===path[_0x47181e(0xf8)][_0x47181e(0x1bf)]&&(_0x2d679b[_0x47181e(0x1b3)]['path']=_0x2d679b[_0x47181e(0x1b3)][_0x47181e(0xea)][_0x47181e(0x188)]('\x5c')['join'](path[_0x47181e(0x1bf)]))),__classPrivateFieldGet(_0x57b31f,_Debuglet_v8debug,'f')[_0x47181e(0x1d9)](_0x2d679b,_0x324237=>{const _0x380b1c=_0x47181e;if(_0x324237){_0x12c88e(_0x324237);return;}_0x57b31f[_0x380b1c(0x114)][_0x380b1c(0x169)](_0x380b1c(0x17b),_0x2d679b),_0x57b31f['activeBreakpointMap'][_0x2d679b['id']]=_0x2d679b,_0x2d679b[_0x380b1c(0xfe)]==='LOG'?__classPrivateFieldGet(_0x57b31f,_Debuglet_v8debug,'f')[_0x380b1c(0x14a)](_0x2d679b,(_0x417101,_0x547b72)=>{const _0x158228=_0x380b1c,_0x536a3c=_0x547b72['map'](_0x5e5298=>__classPrivateFieldGet(_0x57b31f,_Debuglet_instances,'m',_Debuglet_stringify)[_0x158228(0x1a0)](_0x57b31f,_0x5e5298)),_0x3c2f77=(0x0,format_1[_0x158228(0x1d6)])(_0x417101,_0x536a3c),_0x34acb1=_0x158228(0x1cd)+(__classPrivateFieldGet(_0x57b31f,_Debuglet_redactionManager,'f')?.[_0x158228(0x18f)](_0x3c2f77)||_0x3c2f77),_0x59da36=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x158228(0x16e)](_0x34acb1,_0x2d679b['id']);if(_0x59da36){const _0xad6066=_0x59da36['message'],_0x14cd0a=_0x59da36['isOutOfQuota'];let _0x2fc3fd,_0x29c3e9;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x158228(0x10c)]()&&!_0x14cd0a&&(_0x2fc3fd=_0x158228(0x1cd)+_0x417101,_0x29c3e9=_0x536a3c);_0x57b31f[_0x158228(0x153)][_0x158228(0x17e)](_0x57b31f[_0x158228(0x1d3)],_0x2d679b['id'],_0xad6066,_0x2d679b['logLevel'],_0x2fc3fd,_0x29c3e9);if(_0x14cd0a)__classPrivateFieldGet(_0x57b31f,_Debuglet_v8debug,'f')?.[_0x158228(0x184)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x34f803=_0x158228;__classPrivateFieldGet(_0x57b31f,_Debuglet_v8debug,'f')?.[_0x34f803(0x105)](),__classPrivateFieldSet(_0x57b31f,_Debuglet_nextEnableTimeout,null,'f');},_0x57b31f[_0x158228(0xe3)][_0x158228(0x18c)]['quotaRecoverySeconds']*0x3e8),'f');else _0xad6066?.[_0x158228(0x163)]===0x0&&__classPrivateFieldGet(_0x57b31f,_Debuglet_v8debug,'f')?.[_0x158228(0x184)]();}},()=>{return __classPrivateFieldGet(_0x57b31f,_Debuglet_completedBreakpointMap,'f')[_0x2d679b['id']];},_0x14919d=>{const _0x10edd5=_0x380b1c;if(_0x14919d){_0x57b31f[_0x10edd5(0x114)]['error'](_0x14919d),_0x12c88e(_0x14919d);return;}}):__classPrivateFieldGet(_0x57b31f,_Debuglet_v8debug,'f')[_0x380b1c(0x14b)](_0x2d679b,_0x2f9f69=>{const _0x4d04e3=_0x380b1c;if(_0x2f9f69){setImmediate(()=>{const _0x110acf=a18_0x4c1b;_0x57b31f[_0x110acf(0x114)]['error'](_0x2f9f69),_0x12c88e(_0x2f9f69);});return;}_0x57b31f['logger'][_0x4d04e3(0x169)](_0x4d04e3(0x198),_0x2d679b),__classPrivateFieldGet(_0x57b31f,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x4d04e3(0x1a0)](_0x57b31f,_0x2d679b,__classPrivateFieldGet(_0x57b31f,_Debuglet_v8debug,'f')[_0x4d04e3(0x17d)](_0x2d679b['id'])<=0x0);}),__classPrivateFieldGet(_0x57b31f,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x380b1c(0x1a0)](_0x57b31f,_0x2d679b);}),this[_0x47181e(0x1c3)](_0x47181e(0x142));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x5a5277,_0x2d10f7,_0x59c34c=!![]){const _0x50f001=a18_0x36302e,_0x213116=this;if(_0x5a5277['status']&&_0x5a5277['status'][_0x50f001(0x180)]){let _0x4a628e=_0x5a5277['status']?.[_0x50f001(0x1c4)]?.[_0x50f001(0x1d6)]||'';_0x5a5277[_0x50f001(0x18d)]?.[_0x50f001(0x1c4)]?.[_0x50f001(0xfd)]&&(_0x4a628e+=':\x20'+_0x5a5277[_0x50f001(0x18d)]?.[_0x50f001(0x1c4)]?.[_0x50f001(0xfd)][_0x50f001(0x161)]()),_0x213116['logger'][_0x50f001(0x1e0)](_0x50f001(0x133)+_0x5a5277+_0x50f001(0x1a4)+_0x4a628e);}else _0x213116['logger'][_0x50f001(0x169)](_0x50f001(0x15b),_0x5a5277);_0x2d10f7&&(__classPrivateFieldGet(_0x213116,_Debuglet_completedBreakpointMap,'f')[_0x5a5277['id']]=!![],__classPrivateFieldGet(_0x213116,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x50f001(0x1a0)](_0x213116,_0x5a5277,_0x59c34c)),__classPrivateFieldGet(_0x213116,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x213116[_0x50f001(0x1d3)],extend(!![],{},_0x5a5277));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x52a6e0){const _0x5b8503=a18_0x36302e,_0x9b903f=this;_0x9b903f[_0x5b8503(0x114)]['debug'](_0x5b8503(0xec)+_0x52a6e0+_0x5b8503(0x143));const _0x5144c9=extend(!![],{},_0x52a6e0);_0x5144c9['isFinalState']=![],_0x5144c9[_0x5b8503(0x18d)]=new status_message_1['StatusMessage'](status_message_1[_0x5b8503(0xe7)][_0x5b8503(0xe6)],undefined,![],!![]),__classPrivateFieldGet(_0x9b903f,_Debuglet_controller,'f')[_0x5b8503(0x1b1)](_0x9b903f[_0x5b8503(0x1d3)],_0x5144c9);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x4ea336){const _0x520bd5=a18_0x36302e,_0x1a4586=this;this[_0x520bd5(0x114)][_0x520bd5(0x169)](_0x520bd5(0x10e),_0x4ea336),__classPrivateFieldGet(_0x1a4586,_Debuglet_completedBreakpointMap,'f')[_0x4ea336['id']]=!![],__classPrivateFieldGet(_0x1a4586,_Debuglet_controller,'f')[_0x520bd5(0x1b1)](_0x1a4586[_0x520bd5(0x1d3)],_0x4ea336);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x4ad169){const _0x28e279=a18_0x36302e,_0x456d09=this;_0x4ad169[_0x28e279(0x193)](_0x47a6c0=>{const _0x42f23b=_0x28e279;_0x456d09[_0x42f23b(0x114)][_0x42f23b(0x169)](_0x42f23b(0xfc),_0x47a6c0),__classPrivateFieldGet(_0x456d09,_Debuglet_completedBreakpointMap,'f')[_0x47a6c0['id']]=!![],__classPrivateFieldGet(_0x456d09,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x456d09,_0x47a6c0,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x37ee06=a18_0x36302e,_0x307413=Date[_0x37ee06(0x1ac)]()/0x3e8;return Object[_0x37ee06(0x183)](this['activeBreakpointMap'])[_0x37ee06(0x1d4)](_0x266d34=>_0x266d34[_0x37ee06(0xf7)]?_0x266d34[_0x37ee06(0xf7)]<_0x307413:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x4cd90f){const _0x34aaf7=a18_0x36302e,_0x3a586b=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x34aaf7(0x1ad)](_0x4cd90f),_0x46aeba=_0x3a586b[_0x34aaf7(0x170)],_0x2d65e9=_0x3a586b[_0x34aaf7(0xe4)];_0x46aeba&&_0x46aeba[_0x34aaf7(0x163)]&&this[_0x34aaf7(0x114)]['debug'](_0x34aaf7(0x139),_0x46aeba[_0x34aaf7(0x18e)]('\x0a\x09')),_0x2d65e9&&_0x2d65e9[_0x34aaf7(0x163)]&&this[_0x34aaf7(0x114)][_0x34aaf7(0x1c5)](_0x34aaf7(0x19c),_0x2d65e9[_0x34aaf7(0x18e)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x34aaf7(0x1df))](_0x46aeba,_0x2d65e9,this[_0x34aaf7(0xe3)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x942965){const _0x394203=a18_0x36302e,_0x546d4b=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x394203(0x1ae)](_0x942965);_0x546d4b?.[_0x394203(0x163)]&&this[_0x394203(0x114)][_0x394203(0x1c5)](_0x394203(0x189),_0x546d4b[_0x394203(0xee)](_0x3e33c3=>'name:\x20'+_0x3e33c3[_0x394203(0x11a)]+_0x394203(0x1be)+_0x3e33c3[_0x394203(0x1af)]+_0x394203(0x1d5)+_0x3e33c3[_0x394203(0x1b6)]+_0x394203(0x1c8)+_0x3e33c3[_0x394203(0x1c6)])[_0x394203(0x18e)]('\x0a\x09'));if((0x0,utils_1[_0x394203(0x1c2)])(process['version'],_0x394203(0x135))){const {RedactionManagerRE2JS:_0x3dc0ed}=await Promise['resolve']()[_0x394203(0x1b2)](()=>require(_0x394203(0xf2)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x3dc0ed(this[_0x394203(0x114)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x394203(0x17f)](_0x546d4b);}},_Debuglet_stringify=function _Debuglet_stringify(_0x4d0420){const _0x45b768=a18_0x36302e;if(!_0x4d0420)return JSON[_0x45b768(0x148)](_0x4d0420,(_0x149277,_0x48c84d)=>_0x48c84d===undefined?'undefined':_0x48c84d);if(Array[_0x45b768(0x159)](_0x4d0420)){const _0x5d55aa=[];for(const _0x4ea6fa of _0x4d0420){_0x5d55aa[_0x45b768(0x10a)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x45b768(0x1a0)](this,_0x4ea6fa));}return'['+_0x5d55aa[_0x45b768(0x18e)](',\x20')+']';}if(typeof _0x4d0420===_0x45b768(0x1cc)){const _0x54d343=Object[_0x45b768(0x11c)](_0x4d0420)[_0x45b768(0xee)](([_0x403600,_0x45290a])=>{const _0x82cb6d=_0x45b768,_0x310c86=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x403600)?redaction_manager_1[_0x82cb6d(0xeb)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x45290a);return JSON[_0x82cb6d(0x148)](_0x403600)+':\x20'+_0x310c86;})[_0x45b768(0x18e)](',\x20');return'{'+_0x54d343+'}';}return JSON[_0x45b768(0x148)](_0x4d0420);});function a18_0x1114(){const _0x45ea66=['workingDirectory','\x0a\x09condition:\x20','./configuration-provider','normalize','create','toString','maxRequestRetryDelaySeconds','length','jsFileIndex','81008MeFpsD','sourceContext','error','agentLog','info','readFile','\x20completed.','Disabled\x20by\x20the\x20server','keys','quotaCheck','selectFiles','blacklist','GAE-','Scheduling\x20registration\x20in\x20','./controller','default','./quota-manager','selectStats','AGENT_LOG_FILE','clear','deregister','__classPrivateFieldGet','\x09successfully\x20added\x20breakpoint','Malformed\x20source-context.json\x20file:\x20','remainingHits','addAndPipeLog','setPatterns','isError','fetchBreakpointsOnce','javascriptFileExtensions','values','disable','CachedPromise','ALLOW_EXPRESSIONS_MESSAGE','EventEmitter','split','Redactions:\x20\x0a\x09','prettyError','./agent-logger','quota','status','join','replaceRedactedByValue','agentLogLevel','mainModule','./environment-metadata','forEach','NOT_SET','breakpointExpirationSec','setBlocklistManager','Active\x20Breakpoints:\x20\x0a','Breakpoint\x20hit!:\x20','normalizeConfig','613809ajUEfv','register','Blacklist\x20Exceptions:\x20\x0a\x09','filename','extend','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','call','QuotaManager','\x20to\x20','inspect','.\x20Error:\x20','1516786MJCCwm','setLevel','PipingManager','pipeLogs','getSourceContextFromFile','start','cwd','now','getBlocklist','getRedactions','type','./debuglet-helpers/createDebuggee','enqueueBreakpointUpdate','then','location','apply','errors','pattern','findFiles','constructor','sourceMapDiagnostics','66206vmtiTe','./reduction/redaction-manager','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','kill','\x20(type:\x20','sep','ignoreQuota','isReady','satisfies','emit','description','debug','caseInsensitive','DEBUG','\x20caseInsensitive:\x20','assert','Initializing\x20Node.js\x20agent\x20version:\x20','message','object','LOGPOINT:\x20','debuglet','listBreakpoints','mapSubtract','seconds','beforeExit','debuggee','filter','):\x20pattern:\x20','format','APP_ONLY','Debuglet','set','existsSync','defineProperty','createLogger','setIgnoreQuota','Error\x20scanning\x20the\x20filesystem.','PatternsBlocklistManager','warn','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','1422195UYmcfx','isReadyManager','\x09remove\x20breakpoint','696kukkRR','config','blacklist_exception','resolve','UNSPECIFIED','StatusMessage','Result:\x20\x0a','3871448EZzkyq','path','REDACTED_PLACEHOLDER','reporting\x20breakpoint\x20','utf8','map','5.2\x20||\x20<4','source-context.json','getLevel','./reduction/redaction-manager-re2js','activeBreakpointMap','Starting\x20debuggee','clearTransmissionTimeout','add','expirationTime','posix','(((.+)+)+)+$','mapFiles','Private\x20method\x20is\x20not\x20writable','Expiring\x20breakpoint','parameters','action','./io/file-index','createTime','promise','hash','collectLogRequestId','extraPaths','enable','Stopping\x20Debuglet','expirationSeconds','1485AAeXUG','\x09adding\x20breakpoint','push','stop','isRedactionActive','./config','rejecting\x20breakpoint','Debuglet\x20not\x20running','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','scan','agentLogMaxFileCount','GAE_MINOR_VERSION','logger','waitExpired','Server\x20breakpoints:\x0a','__classPrivateFieldSet','env','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','name','agentLogTargetDir','entries','js.map','started','function','readFullVersion','fetcherActive','breakpoints_fetched','concat','search','agentLogMaxFileSizeMb','stdErrThreshold','\x0a\x09expressions:\x20','condition','breakpointUpdateIntervalSec','value','NODE_VERSION_MESSAGE','\x09Long\x20poll\x20completed.','./piping-manager','internal','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','setPipingStatus','backoff','Error\x20processing\x20the\x20sourcemaps.','\x09Notifying\x20server\x20about\x20error\x20for\x20','isDisabled','>=12','registered','has','globalPipingStatus','Blacklist:\x20\x0a\x09','version','3580197eRtllY','ConfigurationProvider','../client/stackdriver/status-message','./debuglet-helpers/mapSubtract','Scanner','./io/sourcemapper','events','breakpoint_set','\x20accepted\x20by\x20agent','SIGTERM','remotelyDisabled','expressions','promisify','stringify','removeBreakpoint','log','wait','allowExpressions','once','get','redactionEnabled','Found\x20breakpoint\x20with\x20invalid\x20action:','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','promiseResolve','pipingManager','Unique\x20ID\x20for\x20this\x20Application:\x20','sendAgentLogsToServer','initError','bind','isRunning','isArray','CAPTURE','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for'];a18_0x1114=function(){return _0x45ea66;};return a18_0x1114();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a19_0x4011c7=a19_0x38c8;(function(_0x574583,_0x1b0a2e){const _0x27ce4e=a19_0x38c8,_0x4a2dc6=_0x574583();while(!![]){try{const _0x399d7e=-parseInt(_0x27ce4e(0x108))/0x1+parseInt(_0x27ce4e(0xea))/0x2*(-parseInt(_0x27ce4e(0xd8))/0x3)+parseInt(_0x27ce4e(0x110))/0x4*(-parseInt(_0x27ce4e(0xd4))/0x5)+parseInt(_0x27ce4e(0xf4))/0x6+parseInt(_0x27ce4e(0xd2))/0x7*(parseInt(_0x27ce4e(0xf8))/0x8)+parseInt(_0x27ce4e(0x104))/0x9+parseInt(_0x27ce4e(0x103))/0xa;if(_0x399d7e===_0x1b0a2e)break;else _0x4a2dc6['push'](_0x4a2dc6['shift']());}catch(_0x232990){_0x4a2dc6['push'](_0x4a2dc6['shift']());}}}(a19_0x7823,0x7b014));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a19_0x4011c7(0xe6)]=void 0x0;function a19_0x7823(){const _0x4fe552=['MacOS','hostname','length','/etc/os-release','host','VERSION_ID','agentOS','7749590ztYEcM','8885835smXcNy','get','constructor','runtimeEnvironmentInfo','537466UncCbE','mac','windows','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','_osRelease','assert','x32','Windows','307968xfNSLY','systemTotalMemoryBytes','KUBERNETES_SERVICE_HOST','split','559811liNbOX','node','55rQFyhf','(((.+)+)+)+$','linuxDistroName','isInK8s','42111mpTsvF','versions','Node.js\x20','env','procArch','version','cpus','set','isInDocker','existsSync','trim','error','release','_cachedOsRelease','EnvironmentMetadata','x64','cpuCoreCount','warn','98QkmrCk','_logger','/.dockerenv','arm64','Linux','getProps','arm','search','arch','runtimeEnvironmentVersion','1043766ACkGCL','platform','osVersion','toString','64GUBpDM','forEach','pid','totalmem'];a19_0x7823=function(){return _0x4fe552;};return a19_0x7823();}const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x4011c7(0x10d));var OS;function a19_0x38c8(_0x888846,_0x5cd0c7){const _0x518a3f=a19_0x7823();return a19_0x38c8=function(_0x49d869,_0x4e105b){_0x49d869=_0x49d869-0xcf;let _0x7823aa=_0x518a3f[_0x49d869];return _0x7823aa;},a19_0x38c8(_0x888846,_0x5cd0c7);}(function(_0x191f5e){const _0x1d9e9f=a19_0x4011c7,_0x2685ac=(function(){let _0x3bc230=!![];return function(_0x51e392,_0x21a9b0){const _0x100e3d=_0x3bc230?function(){if(_0x21a9b0){const _0xf5a381=_0x21a9b0['apply'](_0x51e392,arguments);return _0x21a9b0=null,_0xf5a381;}}:function(){};return _0x3bc230=![],_0x100e3d;};}()),_0x38b3c6=_0x2685ac(this,function(){const _0x4be0e7=a19_0x38c8;return _0x38b3c6[_0x4be0e7(0xf7)]()[_0x4be0e7(0xf1)](_0x4be0e7(0xd5))['toString']()[_0x4be0e7(0x106)](_0x38b3c6)[_0x4be0e7(0xf1)](_0x4be0e7(0xd5));});_0x38b3c6(),_0x191f5e[_0x1d9e9f(0xee)]='linux',_0x191f5e[_0x1d9e9f(0x10f)]=_0x1d9e9f(0x10a),_0x191f5e[_0x1d9e9f(0xfc)]=_0x1d9e9f(0x109);}(OS||(OS={})));var ProcArch;(function(_0xfc30da){const _0x26fc71=a19_0x4011c7;_0xfc30da['x64']=_0x26fc71(0xe7),_0xfc30da['x32']=_0x26fc71(0x10e),_0xfc30da[_0x26fc71(0xf0)]='arm',_0xfc30da[_0x26fc71(0xed)]=_0x26fc71(0xed);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS[a19_0x4011c7(0x10f)],'darwin':OS[a19_0x4011c7(0xfc)]},ArchToProcArchMap={'x32':ProcArch['x32'],'x64':ProcArch['x64'],'arm':ProcArch['arm'],'arm64':ProcArch[a19_0x4011c7(0xed)]};class EnvironmentMetadata{constructor(_0x5845f7){assert(_0x5845f7!==null),this['_logger']=_0x5845f7;}get[a19_0x4011c7(0xf3)](){const _0x1ba7f2=a19_0x4011c7;try{const _0x590833=process[_0x1ba7f2(0xd9)][_0x1ba7f2(0xd3)]['match'](/(\d+\.\d+)\..*/);if(_0x590833)return _0x590833[0x1];}catch(_0x195fb4){this[_0x1ba7f2(0xeb)][_0x1ba7f2(0xe3)](_0x195fb4);}return;}get[a19_0x4011c7(0x107)](){const _0x956286=a19_0x4011c7;return _0x956286(0xda)+process[_0x956286(0xdd)]+'\x20on\x20'+(0x0,os_1['platform'])()+'\x20'+(0x0,os_1[_0x956286(0xe4)])();}get[a19_0x4011c7(0xfa)](){return process['pid']['toString']();}get[a19_0x4011c7(0xdc)](){const _0x406441=a19_0x4011c7;return ArchToProcArchMap[process[_0x406441(0xf2)]]||process['arch'];}get[a19_0x4011c7(0xe8)](){const _0x52bf23=a19_0x4011c7;return(0x0,os_1[_0x52bf23(0xde)])()[_0x52bf23(0xfe)];}get['systemTotalMemoryBytes'](){const _0xc633e1=a19_0x4011c7;return(0x0,os_1[_0xc633e1(0xfb)])();}get[a19_0x4011c7(0x100)](){const _0x1909cb=a19_0x4011c7;return(0x0,os_1[_0x1909cb(0xfd)])();}get[a19_0x4011c7(0x102)](){const _0x363f54=a19_0x4011c7;return PlatformToOsMap[(0x0,os_1[_0x363f54(0xf5)])()]||(0x0,os_1[_0x363f54(0xf5)])();}get[a19_0x4011c7(0xf6)](){const _0x462393=a19_0x4011c7;try{if(this['agentOS']===OS['Linux'])return this[_0x462393(0x10c)]['get'](_0x462393(0x101))||(0x0,os_1['release'])();return(0x0,os_1['release'])();}catch(_0x716633){this[_0x462393(0xeb)][_0x462393(0xe3)](_0x716633);}return;}get[a19_0x4011c7(0xd6)](){const _0x26c45e=a19_0x4011c7;return this[_0x26c45e(0x102)]===OS[_0x26c45e(0xee)]&&this[_0x26c45e(0x10c)][_0x26c45e(0x105)]('ID')||'';}get[a19_0x4011c7(0xe0)](){const _0x5dfc94=a19_0x4011c7;return this[_0x5dfc94(0x102)]===OS[_0x5dfc94(0xee)]?(0x0,fs_1[_0x5dfc94(0xe1)])(_0x5dfc94(0xec)):![];}get[a19_0x4011c7(0xd7)](){const _0x4ba7a1=a19_0x4011c7;return!!process[_0x4ba7a1(0xdb)][_0x4ba7a1(0xd0)];}get['_osRelease'](){const _0x43a433=a19_0x4011c7;if(!this[_0x43a433(0xe5)]){this[_0x43a433(0xe5)]=new Map();try{if(this['agentOS']===OS['Linux']){const _0x317983=(0x0,fs_1['readFileSync'])(_0x43a433(0xff),'utf-8');_0x317983[_0x43a433(0xd1)](/\r?\n/)[_0x43a433(0xf9)](_0x2c29f9=>{const _0x2e5928=_0x43a433,[_0x331b3c,_0x165a06]=_0x2c29f9[_0x2e5928(0xe2)]()[_0x2e5928(0xd1)]('=');this[_0x2e5928(0xe5)]?.[_0x2e5928(0xdf)](_0x331b3c,_0x165a06?.['replace'](/^"|"$/g,'')||'');});}}catch(_0x1133fa){this[_0x43a433(0xeb)][_0x43a433(0xe9)](_0x43a433(0x10b),_0x1133fa);}}return this['_cachedOsRelease'];}[a19_0x4011c7(0xef)](){const _0x48adf6=a19_0x4011c7;return{'runtimeEnvironmentVersion':this[_0x48adf6(0xf3)],'runtimeEnvironmentInfo':this[_0x48adf6(0x107)],'pid':this[_0x48adf6(0xfa)],'cpuCoreCount':this[_0x48adf6(0xe8)],'systemTotalMemoryBytes':this[_0x48adf6(0xcf)],'host':this[_0x48adf6(0x100)],'agentOS':this[_0x48adf6(0x102)],'osVersion':this[_0x48adf6(0xf6)],'linuxDistroName':this[_0x48adf6(0xd6)]||undefined,'isInDocker':this[_0x48adf6(0xe0)],'isInK8s':this[_0x48adf6(0xd7)],'procArch':this[_0x48adf6(0xdc)]};}}exports[a19_0x4011c7(0xe6)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a20_0x4a7a8a=a20_0x4dc5;function a20_0x3470(){const _0x186bf5=['has','length','3008670bCNbLJ','fromFileList','sep','3kwZrYu','path','580920zBuhFZ','147YzxvVX','map','toString','__esModule','23046320eSQMqx','14YKNFZW','FileIndex','findShortestFuzzyMatches','get','_fileStats','size','filter','search','min','22928bPGewj','fromFileStats','263574NxkmIj','add','indexOf','generateSubPaths','894LkZaZE','substr','defineProperty','fileIndex','891stvUKw','stripStartingSep','buildIndex','3912016mpJDwS','push','fileStats','apply','(((.+)+)+)+$'];a20_0x3470=function(){return _0x186bf5;};return a20_0x3470();}(function(_0x1f4124,_0x3d8dca){const _0x14ec6c=a20_0x4dc5,_0x597439=_0x1f4124();while(!![]){try{const _0x500318=-parseInt(_0x14ec6c(0x199))/0x1*(-parseInt(_0x14ec6c(0x18a))/0x2)+parseInt(_0x14ec6c(0x1aa))/0x3*(parseInt(_0x14ec6c(0x1a0))/0x4)+parseInt(_0x14ec6c(0x1ac))/0x5+-parseInt(_0x14ec6c(0x195))/0x6*(-parseInt(_0x14ec6c(0x1ad))/0x7)+parseInt(_0x14ec6c(0x193))/0x8*(parseInt(_0x14ec6c(0x19d))/0x9)+parseInt(_0x14ec6c(0x1a7))/0xa+-parseInt(_0x14ec6c(0x189))/0xb;if(_0x500318===_0x3d8dca)break;else _0x597439['push'](_0x597439['shift']());}catch(_0x45fe51){_0x597439['push'](_0x597439['shift']());}}}(a20_0x3470,0x7d1b4));const a20_0x1ea549=(function(){let _0x220853=!![];return function(_0x353d5e,_0x205591){const _0x776997=_0x220853?function(){const _0x38ff6d=a20_0x4dc5;if(_0x205591){const _0x5b4885=_0x205591[_0x38ff6d(0x1a3)](_0x353d5e,arguments);return _0x205591=null,_0x5b4885;}}:function(){};return _0x220853=![],_0x776997;};}()),a20_0x2891bd=a20_0x1ea549(this,function(){const _0x19bc13=a20_0x4dc5;return a20_0x2891bd[_0x19bc13(0x1af)]()[_0x19bc13(0x191)](_0x19bc13(0x1a4))[_0x19bc13(0x1af)]()['constructor'](a20_0x2891bd)['search'](_0x19bc13(0x1a4));});a20_0x2891bd();'use strict';Object[a20_0x4a7a8a(0x19b)](exports,a20_0x4a7a8a(0x188),{'value':!![]}),exports[a20_0x4a7a8a(0x18b)]=void 0x0;const path=require(a20_0x4a7a8a(0x1ab));class FileIndex{constructor(_0x3f98ec){const _0x31a46e=a20_0x4a7a8a;this[_0x31a46e(0x18e)]=_0x3f98ec,this[_0x31a46e(0x19c)]=new Map();}static[a20_0x4a7a8a(0x194)](_0x1b8425){const _0x3236f8=a20_0x4a7a8a,_0x3bd6ec=new FileIndex(_0x1b8425);return _0x3bd6ec[_0x3236f8(0x19f)](Object['keys'](_0x1b8425)||[]),_0x3bd6ec;}static[a20_0x4a7a8a(0x1a8)](_0x42f72a){const _0x3a83db=a20_0x4a7a8a,_0x31c8d8=new FileIndex(undefined);return _0x31c8d8[_0x3a83db(0x19f)](_0x42f72a||[]),_0x31c8d8;}get[a20_0x4a7a8a(0x1a2)](){const _0x3c4557=a20_0x4a7a8a;return this[_0x3c4557(0x18e)]||{};}[a20_0x4a7a8a(0x18c)](_0x18b6e3){const _0x1f3e9b=a20_0x4a7a8a,_0x321dcc=this[_0x1f3e9b(0x191)](_0x18b6e3);if(!_0x321dcc||_0x321dcc[_0x1f3e9b(0x18f)]===0x0)return[];const _0x527135=[..._0x321dcc][_0x1f3e9b(0x1ae)](_0x2217fa=>_0x2217fa[_0x1f3e9b(0x1a6)]),_0x36cc91=Math[_0x1f3e9b(0x192)](..._0x527135),_0x1aa7ce=[..._0x321dcc][_0x1f3e9b(0x190)](_0x2651c3=>_0x2651c3[_0x1f3e9b(0x1a6)]===_0x36cc91);return _0x1aa7ce;}[a20_0x4a7a8a(0x19f)](_0x516337){const _0x177bfc=a20_0x4a7a8a;for(const _0x4ef9d9 of _0x516337){for(const _0x29aa2a of this[_0x177bfc(0x198)](_0x4ef9d9)){let _0x27df30=this[_0x177bfc(0x19c)][_0x177bfc(0x18d)](_0x29aa2a);_0x27df30===undefined&&(_0x27df30=new Set(),this[_0x177bfc(0x19c)]['set'](_0x29aa2a,_0x27df30)),_0x27df30[_0x177bfc(0x196)](_0x4ef9d9);}}}['generateSubPaths'](_0x4c64d0){const _0x5186f5=a20_0x4a7a8a;_0x4c64d0=this[_0x5186f5(0x19e)](_0x4c64d0);const _0x24deec=[_0x4c64d0];while(_0x4c64d0['indexOf'](path[_0x5186f5(0x1a9)])>=0x0){_0x4c64d0=_0x4c64d0['substring'](_0x4c64d0[_0x5186f5(0x197)](path[_0x5186f5(0x1a9)])+path[_0x5186f5(0x1a9)][_0x5186f5(0x1a6)],_0x4c64d0[_0x5186f5(0x1a6)]),_0x24deec[_0x5186f5(0x1a1)](_0x4c64d0);}return _0x24deec;}[a20_0x4a7a8a(0x191)](_0x1245ba){const _0x26dda1=a20_0x4a7a8a;if(!_0x1245ba)return undefined;_0x1245ba=this[_0x26dda1(0x19e)](_0x1245ba);for(const _0x560eb0 of this[_0x26dda1(0x198)](_0x1245ba)){if(this['fileIndex'][_0x26dda1(0x1a5)](_0x560eb0))return this[_0x26dda1(0x19c)][_0x26dda1(0x18d)](_0x560eb0);}return undefined;}['stripStartingSep'](_0x44db6e){const _0x18ce38=a20_0x4a7a8a;if(_0x44db6e&&(_0x44db6e[0x0]==='/'||_0x44db6e[0x0]==='\x5c'))return _0x44db6e[_0x18ce38(0x19a)](0x1);return _0x44db6e;}}function a20_0x4dc5(_0x4455a4,_0x5cd2a0){const _0x11145a=a20_0x3470();return a20_0x4dc5=function(_0x2891bd,_0x1ea549){_0x2891bd=_0x2891bd-0x188;let _0x347048=_0x11145a[_0x2891bd];return _0x347048;},a20_0x4dc5(_0x4455a4,_0x5cd2a0);}exports[a20_0x4a7a8a(0x18b)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x25d561=a21_0x346c;(function(_0x2848f6,_0x4a31ab){const _0x5943a5=a21_0x346c,_0x1d08ba=_0x2848f6();while(!![]){try{const _0x48e0ce=parseInt(_0x5943a5(0x130))/0x1+-parseInt(_0x5943a5(0x125))/0x2+-parseInt(_0x5943a5(0x12f))/0x3*(-parseInt(_0x5943a5(0x141))/0x4)+-parseInt(_0x5943a5(0x12b))/0x5+-parseInt(_0x5943a5(0x13d))/0x6*(parseInt(_0x5943a5(0x13a))/0x7)+parseInt(_0x5943a5(0x138))/0x8*(-parseInt(_0x5943a5(0x140))/0x9)+parseInt(_0x5943a5(0x12a))/0xa;if(_0x48e0ce===_0x4a31ab)break;else _0x1d08ba['push'](_0x1d08ba['shift']());}catch(_0x4201f4){_0x1d08ba['push'](_0x1d08ba['shift']());}}}(a21_0x2774,0x7017f));const a21_0x1667eb=(function(){let _0x4d02c2=!![];return function(_0x2bdce7,_0x5befe1){const _0x3a7b8a=_0x4d02c2?function(){const _0x23c478=a21_0x346c;if(_0x5befe1){const _0x262141=_0x5befe1[_0x23c478(0x13b)](_0x2bdce7,arguments);return _0x5befe1=null,_0x262141;}}:function(){};return _0x4d02c2=![],_0x3a7b8a;};}()),a21_0x480600=a21_0x1667eb(this,function(){const _0x19a889=a21_0x346c;return a21_0x480600[_0x19a889(0x135)]()[_0x19a889(0x131)](_0x19a889(0x137))[_0x19a889(0x135)]()[_0x19a889(0x13e)](a21_0x480600)['search']('(((.+)+)+)+$');});function a21_0x2774(){const _0x5c54aa=['stats','sep','300sNdAGU','559092OyCjlQ','search','errorMap','normalize','__esModule','toString','hash','(((.+)+)+)+$','1128YvtJVh','map','8869WczehY','apply','path','474pRNKyk','constructor','selectFiles','33219piZKco','32372SmGZBC','ScanResultsImpl','1306882cgxMXK','selectStats','all','forEach','test','4130700NbncDl','241810riMOwu','filter'];a21_0x2774=function(){return _0x5c54aa;};return a21_0x2774();}a21_0x480600();function a21_0x346c(_0x409423,_0x33a9d2){const _0x4205aa=a21_0x2774();return a21_0x346c=function(_0x480600,_0x1667eb){_0x480600=_0x480600-0x125;let _0x2774fa=_0x4205aa[_0x480600];return _0x2774fa;},a21_0x346c(_0x409423,_0x33a9d2);}'use strict';Object['defineProperty'](exports,a21_0x25d561(0x134),{'value':!![]}),exports[a21_0x25d561(0x142)]=void 0x0;const path=require(a21_0x25d561(0x13c));class ScanResultsImpl{constructor(_0x325dca,_0x3150f3,_0x41fd1a){const _0x5caa5b=a21_0x25d561;this['stats']=_0x325dca,this[_0x5caa5b(0x132)]=_0x3150f3,this[_0x5caa5b(0x136)]=_0x41fd1a;}['errors'](){const _0x9fd726=a21_0x25d561;return this[_0x9fd726(0x132)];}[a21_0x25d561(0x127)](){const _0x2200e5=a21_0x25d561;return this[_0x2200e5(0x12d)];}[a21_0x25d561(0x126)](_0x155fef){const _0x2297a5=a21_0x25d561,_0xb507a4={};return Object['keys'](this[_0x2297a5(0x12d)])[_0x2297a5(0x128)](_0x41f06c=>{const _0x1bc562=_0x2297a5;_0x155fef[_0x1bc562(0x129)](_0x41f06c)&&(_0xb507a4[_0x41f06c]=this[_0x1bc562(0x12d)][_0x41f06c]);}),_0xb507a4;}[a21_0x25d561(0x13f)](_0x40087f,_0x34cb50){const _0x2ce0a9=a21_0x25d561;return _0x34cb50=path[_0x2ce0a9(0x133)](_0x34cb50+path[_0x2ce0a9(0x12e)]),Object['keys'](this[_0x2ce0a9(0x12d)])[_0x2ce0a9(0x12c)](_0x37cb8c=>{const _0xed18f2=_0x2ce0a9;return _0x37cb8c&&_0x40087f[_0xed18f2(0x129)](_0x37cb8c);})[_0x2ce0a9(0x139)](_0xa46d20=>{const _0x1d5443=_0x2ce0a9;return path[_0x1d5443(0x133)](_0xa46d20)['replace'](_0x34cb50,'');});}}exports[a21_0x25d561(0x142)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x34ea1a=a22_0x4a31;(function(_0x5b9a51,_0x561917){const _0x155774=a22_0x4a31,_0x3080cf=_0x5b9a51();while(!![]){try{const _0x4f759f=parseInt(_0x155774(0x198))/0x1+parseInt(_0x155774(0x190))/0x2*(parseInt(_0x155774(0x194))/0x3)+-parseInt(_0x155774(0x16a))/0x4*(-parseInt(_0x155774(0x16c))/0x5)+parseInt(_0x155774(0x16e))/0x6*(-parseInt(_0x155774(0x19e))/0x7)+parseInt(_0x155774(0x18e))/0x8*(-parseInt(_0x155774(0x199))/0x9)+parseInt(_0x155774(0x189))/0xa+parseInt(_0x155774(0x19c))/0xb*(-parseInt(_0x155774(0x183))/0xc);if(_0x4f759f===_0x561917)break;else _0x3080cf['push'](_0x3080cf['shift']());}catch(_0x204bb2){_0x3080cf['push'](_0x3080cf['shift']());}}}(a22_0x528e,0x44934));const a22_0x58136a=(function(){let _0x29dfd9=!![];return function(_0x32152e,_0x2cc9fa){const _0x25b91b=_0x29dfd9?function(){if(_0x2cc9fa){const _0x586d76=_0x2cc9fa['apply'](_0x32152e,arguments);return _0x2cc9fa=null,_0x586d76;}}:function(){};return _0x29dfd9=![],_0x25b91b;};}()),a22_0x551861=a22_0x58136a(this,function(){const _0x2d199e=a22_0x4a31;return a22_0x551861['toString']()[_0x2d199e(0x177)](_0x2d199e(0x16d))['toString']()[_0x2d199e(0x171)](a22_0x551861)[_0x2d199e(0x177)](_0x2d199e(0x16d));});a22_0x551861();'use strict';Object[a22_0x34ea1a(0x188)](exports,'__esModule',{'value':!![]}),exports[a22_0x34ea1a(0x176)]=void 0x0;const crypto=require('crypto'),fs=require('fs'),path=require('path'),scan_results_1=require(a22_0x34ea1a(0x172));function a22_0x4a31(_0x257c80,_0x593e41){const _0x4231cf=a22_0x528e();return a22_0x4a31=function(_0x551861,_0x58136a){_0x551861=_0x551861-0x167;let _0x528ea4=_0x4231cf[_0x551861];return _0x528ea4;},a22_0x4a31(_0x257c80,_0x593e41);}class Scanner{constructor(_0x1cf87d){const _0x9ec1f6=a22_0x34ea1a;this[_0x9ec1f6(0x17c)]=_0x1cf87d;}async['scan'](_0x5a8765,_0x51cde0,_0x29cbe5,_0x5f079f){const _0x3dae0c=a22_0x34ea1a,_0xedfe2c=await this[_0x3dae0c(0x17f)](_0x5a8765,_0x51cde0,_0x5f079f);return this[_0x3dae0c(0x192)](_0xedfe2c,_0x29cbe5);}[a22_0x34ea1a(0x192)](_0x290caa,_0x5a75d3){return new Promise(async _0xe59263=>{const _0x17a26d=a22_0x4a31;if(_0x290caa['length']===0x0){_0xe59263(new scan_results_1[(_0x17a26d(0x175))]({},new Map(),_0x17a26d(0x195)));return;}const _0x53f793=[],_0x118a97={},_0x5788f6=new Map();for(const _0x43825a of _0x290caa){try{const _0x5dcbf8=await this[_0x17a26d(0x1a1)](_0x43825a,!_0x5a75d3);!_0x5a75d3&&_0x53f793[_0x17a26d(0x179)](_0x5dcbf8[_0x17a26d(0x173)]),_0x118a97[_0x43825a]=_0x5dcbf8;}catch(_0x53110f){_0x5788f6[_0x17a26d(0x17b)](_0x43825a,_0x53110f);}}let _0x5e818b;if(!_0x5a75d3){const _0x1ec7e3=_0x53f793[_0x17a26d(0x178)]()[_0x17a26d(0x170)](),_0x72b78c=crypto[_0x17a26d(0x19f)](_0x17a26d(0x197))[_0x17a26d(0x191)](_0x1ec7e3)[_0x17a26d(0x182)](_0x17a26d(0x18f));_0x5e818b=_0x17a26d(0x19d)+_0x72b78c;}else _0x5e818b=_0x5a75d3;_0xe59263(new scan_results_1[(_0x17a26d(0x175))](_0x118a97,_0x5788f6,_0x5e818b));});}async[a22_0x34ea1a(0x17f)](_0x501682,_0x21925c,_0x3a2cd5){const _0x7e3c4=a22_0x34ea1a,_0x5af75c=new Set();await this['addFilesFromDir'](_0x5af75c,_0x501682,_0x21925c);for(const _0x2a5213 of _0x3a2cd5??[]){if(_0x2a5213){const _0x153405=path[_0x7e3c4(0x168)](_0x2a5213);try{await this['addFilesFromDir'](_0x5af75c,_0x153405,_0x21925c);}catch(_0x453e35){this[_0x7e3c4(0x17c)][_0x7e3c4(0x16b)](_0x7e3c4(0x18d),_0x453e35);continue;}}}return Array[_0x7e3c4(0x19b)](_0x5af75c);}static['hasReadAccess'](_0x342bbd){const _0x24e742=a22_0x34ea1a;try{return fs[_0x24e742(0x17e)](_0x342bbd,fs[_0x24e742(0x196)]['R_OK']),!![];}catch(_0x4716d4){return![];}}async[a22_0x34ea1a(0x180)](_0x1ff424,_0x706bb4,_0x1ebb9b){return new Promise((_0x5e2a8b,_0x444c21)=>{const _0x58d319=a22_0x4a31;let _0x3b9af2;if(!_0x706bb4){_0x444c21(new Error(_0x58d319(0x169)));return;}this[_0x58d319(0x17c)][_0x58d319(0x17d)]('Indexing\x20files\x20in\x20'+path[_0x58d319(0x168)](_0x706bb4));const _0x470d57=findit(_0x706bb4);_0x470d57['on']('error',_0x98b9ef=>{_0x3b9af2=_0x98b9ef;return;}),_0x470d57['on'](_0x58d319(0x174),(_0x5865fd,_0x1f51d7,_0x1e2b49)=>{const _0x181e11=_0x58d319,_0x264e79=path[_0x181e11(0x187)](_0x5865fd);!Scanner[_0x181e11(0x184)](_0x5865fd)&&(this[_0x181e11(0x17c)][_0x181e11(0x18c)]('can\x27t\x20access\x20path:\x20['+path[_0x181e11(0x168)](_0x5865fd)+_0x181e11(0x186)),_0x1e2b49()),(_0x264e79===_0x181e11(0x19a)||_0x264e79==='node_modules')&&(!path[_0x181e11(0x168)](_0x706bb4)[_0x181e11(0x18a)](path['resolve'](_0x5865fd))&&_0x1e2b49());}),_0x470d57['on'](_0x58d319(0x1a0),_0x56099d=>{const _0x517ef0=_0x58d319;_0x1ebb9b[_0x517ef0(0x16f)](_0x56099d)&&_0x1ff424[_0x517ef0(0x18b)](_0x56099d);}),_0x470d57['on'](_0x58d319(0x17a),()=>{_0x3b9af2?_0x444c21(_0x3b9af2):_0x5e2a8b();});});}async['statsForFile'](_0x35af4e,_0x39d1e7){return new Promise((_0x38738b,_0x401eab)=>{const _0x41d795=a22_0x4a31,_0x251210=fs['createReadStream'](_0x35af4e);_0x251210['on'](_0x41d795(0x16b),_0x277349=>{_0x401eab(_0x277349);}),_0x251210['on'](_0x41d795(0x167),()=>{const _0x75f1c2=_0x41d795;let _0x135748;_0x39d1e7&&(_0x135748=crypto[_0x75f1c2(0x19f)](_0x75f1c2(0x197)));let _0xcf6d7d=0x0,_0x20d960;const _0x2fd8ed=_0x251210[_0x75f1c2(0x181)](split());_0x2fd8ed['on']('error',_0xa0f6ba=>{_0x20d960=_0xa0f6ba;}),_0x2fd8ed['on'](_0x75f1c2(0x193),_0x200dfb=>{_0x39d1e7&&_0x135748['update'](_0x200dfb),_0xcf6d7d++;}),_0x2fd8ed['on'](_0x75f1c2(0x17a),()=>{const _0x4bbfa2=_0x75f1c2;if(_0x20d960)_0x401eab(_0x20d960);else{const _0x19fbe8=_0x39d1e7?_0x135748[_0x4bbfa2(0x182)]('hex'):undefined;_0x38738b({'hash':_0x19fbe8,'lines':_0xcf6d7d});}});});});}}exports[a22_0x34ea1a(0x176)]=Scanner;const findit=require('findit2'),split=require(a22_0x34ea1a(0x185));function a22_0x528e(){const _0x53ea77=['],\x20due\x20to\x20lack\x20of\x20read\x20permissions','basename','defineProperty','468920MeTjtx','startsWith','add','warn','Specified\x20extraPaths\x20does\x20not\x20exist!','376omApee','hex','224354NAuAfM','update','computeStats','data','3eousMB','EMPTY-no-js-files','constants','sha1','444065mqNVwE','3699hFEaey','.git','from','1858439KSERxj','SHA1-','3066gHdNNR','createHash','file','statsForFile','open','resolve','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','4xAjWeZ','error','2410815gMjUYe','(((.+)+)+)+$','6126GZVlLZ','test','join','constructor','./scan-results','hash','directory','ScanResultsImpl','Scanner','search','sort','push','end','set','logger','info','accessSync','findFiles','addFilesFromDir','pipe','digest','24QAmqTc','hasReadAccess','split'];a22_0x528e=function(){return _0x53ea77;};return a22_0x528e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a23_0x18e3(_0x106f69,_0x5d38c5){const _0xd226a8=a23_0x4b44();return a23_0x18e3=function(_0x4e7a45,_0xed5851){_0x4e7a45=_0x4e7a45-0x99;let _0x4b4470=_0xd226a8[_0x4e7a45];return _0x4b4470;},a23_0x18e3(_0x106f69,_0x5d38c5);}const a23_0x53536c=a23_0x18e3;(function(_0xb38e3f,_0xc3ac27){const _0x3f360c=a23_0x18e3,_0xe8e966=_0xb38e3f();while(!![]){try{const _0x4e6958=parseInt(_0x3f360c(0xb8))/0x1*(-parseInt(_0x3f360c(0x9a))/0x2)+-parseInt(_0x3f360c(0xc5))/0x3*(-parseInt(_0x3f360c(0x9e))/0x4)+parseInt(_0x3f360c(0x9f))/0x5+parseInt(_0x3f360c(0xcf))/0x6+-parseInt(_0x3f360c(0xac))/0x7*(-parseInt(_0x3f360c(0xa6))/0x8)+parseInt(_0x3f360c(0xba))/0x9+-parseInt(_0x3f360c(0xbf))/0xa;if(_0x4e6958===_0xc3ac27)break;else _0xe8e966['push'](_0xe8e966['shift']());}catch(_0x40ff43){_0xe8e966['push'](_0xe8e966['shift']());}}}(a23_0x4b44,0x91614));const a23_0xed5851=(function(){let _0x54864d=!![];return function(_0x3ec4db,_0x2194c4){const _0x4cc73a=_0x54864d?function(){const _0x5bff5e=a23_0x18e3;if(_0x2194c4){const _0x933139=_0x2194c4[_0x5bff5e(0xc0)](_0x3ec4db,arguments);return _0x2194c4=null,_0x933139;}}:function(){};return _0x54864d=![],_0x4cc73a;};}()),a23_0x4e7a45=a23_0xed5851(this,function(){const _0x5ea591=a23_0x18e3;return a23_0x4e7a45[_0x5ea591(0xbc)]()[_0x5ea591(0xd5)](_0x5ea591(0xb7))[_0x5ea591(0xbc)]()[_0x5ea591(0xc2)](a23_0x4e7a45)[_0x5ea591(0xd5)](_0x5ea591(0xb7));});a23_0x4e7a45();'use strict';Object[a23_0x53536c(0xdd)](exports,a23_0x53536c(0xb2),{'value':!![]}),exports[a23_0x53536c(0xd2)]=exports[a23_0x53536c(0xa1)]=void 0x0;const fs=require('fs'),pLimit=require('p-limit'),path=require(a23_0x53536c(0xd7)),util_1=require(a23_0x53536c(0xda)),sourceMap=require(a23_0x53536c(0xc8)),file_index_1=require(a23_0x53536c(0xcc)),CONCURRENCY=0xa,WEBPACK_PREFIX=a23_0x53536c(0xd8),readFilep=(0x0,util_1[a23_0x53536c(0xc7)])(fs['readFile']),MAP_EXT='.map';async function processSourcemap(_0x2e695a,_0x443fad,_0x275cb3,_0x3ba209){const _0x2a03cb=a23_0x53536c;_0x3ba209&&_0x2e695a[_0x2a03cb(0xd3)]('Processing\x20',_0x275cb3);if(!_0x275cb3||!_0x275cb3['endsWith'](MAP_EXT))throw new Error('The\x20path\x20'+_0x275cb3+_0x2a03cb(0x9c));_0x275cb3=path[_0x2a03cb(0xc6)](_0x275cb3);let _0x3b9b6f;try{_0x3b9b6f=await readFilep(_0x275cb3,_0x2a03cb(0xca));}catch(_0x9c3f01){throw new Error(_0x2a03cb(0x99)+_0x275cb3+':\x20'+_0x9c3f01);}let _0x2905a2;try{_0x2905a2=new sourceMap[(_0x2a03cb(0xad))](_0x3b9b6f);}catch(_0x1fd651){_0x2e695a[_0x2a03cb(0xab)]('Failed\x20to\x20parse\x20source\x20map\x20file\x20'+_0x275cb3+':\x20'+_0x1fd651),_0x2e695a[_0x2a03cb(0xab)](JSON[_0x2a03cb(0xd6)](_0x1fd651)),_0x3ba209&&_0x2e695a[_0x2a03cb(0xd3)]('CONTENT',_0x3b9b6f);throw new Error(_0x2a03cb(0xaa)+'sourcemap\x20file\x20'+_0x275cb3+':\x20'+_0x1fd651);}const _0x47c65d=_0x2905a2['file']?_0x2905a2[_0x2a03cb(0xd4)]:path[_0x2a03cb(0xdc)](_0x275cb3,_0x2a03cb(0xbe)),_0x82885=path[_0x2a03cb(0xa3)](_0x275cb3),_0x470ffd=path['normalize'](path[_0x2a03cb(0xa5)](_0x82885,_0x47c65d)),_0x2afbba=_0x2905a2['sources']['filter'](_0x42bcd2=>!!_0x42bcd2)[_0x2a03cb(0x9d)]((_0x3301cb,_0x154b42)=>_0x3301cb[_0x2a03cb(0xc1)]-_0x154b42[_0x2a03cb(0xc1)]),_0x97e555=_0x2afbba['map'](_0x511e7d=>{const _0x15afff=_0x2a03cb;if(_0x511e7d['toLowerCase']()['startsWith'](WEBPACK_PREFIX))return _0x511e7d[_0x15afff(0xb9)](WEBPACK_PREFIX[_0x15afff(0xc1)]);return _0x511e7d;})['map'](_0x2aa3ea=>{const _0x41d530=_0x2a03cb;return path['normalize'](path[_0x41d530(0xa5)](_0x82885,_0x2aa3ea));});if(_0x97e555[_0x2a03cb(0xc1)]===0x0)throw new Error(_0x2a03cb(0xdb)+_0x275cb3);for(const _0x2e4525 of _0x97e555){_0x3ba209&&_0x2e695a['info'](path['normalize'](_0x2e4525),_0x2a03cb(0xd1),_0x275cb3),_0x443fad[_0x2a03cb(0xbd)](path[_0x2a03cb(0xc6)](_0x2e4525),{'outputFile':_0x470ffd,'mapFile':_0x275cb3,'mapConsumer':_0x2905a2,'sources':_0x2afbba});}_0x2e695a[_0x2a03cb(0xd3)](_0x2a03cb(0xd0),_0x275cb3);}class SourceMapper{constructor(_0x7853d6){const _0x3c4f05=a23_0x53536c;this[_0x3c4f05(0x9b)]=_0x7853d6,this[_0x3c4f05(0xc4)]=new Map();}['getMappingInfo'](_0xce36dd){const _0x38b7ba=a23_0x53536c;if(this[_0x38b7ba(0xc4)][_0x38b7ba(0xbb)](path[_0x38b7ba(0xc6)](_0xce36dd)))return{'entry':this[_0x38b7ba(0xc4)][_0x38b7ba(0xa9)](_0xce36dd),'matchedPath':path[_0x38b7ba(0xc6)](_0xce36dd)};const _0x47e68f=file_index_1[_0x38b7ba(0xb6)][_0x38b7ba(0xcb)](Array['from'](this[_0x38b7ba(0xc4)][_0x38b7ba(0xce)]()))[_0x38b7ba(0xb4)](_0xce36dd);if(_0x47e68f['length']===0x1)return{'entry':this['infoMap']['get'](_0x47e68f[0x0]),'matchedPath':_0x47e68f[0x0]};return null;}[a23_0x53536c(0xb1)](_0xc5be5f){return this['getMappingInfo'](_0xc5be5f)!==null;}['mappingInfo'](_0x8f4be,_0x898218,_0x5d887a){const _0x5c3b9a=a23_0x53536c;_0x8f4be=path[_0x5c3b9a(0xc6)](_0x8f4be);const _0x4c94cf=this['getMappingInfo'](_0x8f4be);if(!_0x4c94cf)return null;const {entry:_0x187617,matchedPath:_0x21ec84}=_0x4c94cf,_0x4ec7bd=path[_0x5c3b9a(0xcd)](path[_0x5c3b9a(0xa3)](_0x187617[_0x5c3b9a(0xb3)]),_0x21ec84)[_0x5c3b9a(0xa4)](/\\/g,'/');let _0x519226=this[_0x5c3b9a(0xb0)](_0x187617,_0x4ec7bd);_0x519226=_0x519226||this[_0x5c3b9a(0xb0)](_0x187617,_0x8f4be);const _0x43cc72={'source':_0x519226||_0x4ec7bd,'line':_0x898218+0x1,'column':_0x5d887a},_0x378ee7=_0x187617[_0x5c3b9a(0xc3)],_0x5061d1=_0x378ee7[_0x5c3b9a(0xa0)](_0x43cc72),_0x1f9d60=_0x5061d1&&_0x5061d1[_0x5c3b9a(0xc1)]>0x0?_0x5061d1[_0x5c3b9a(0xd9)]((_0x389b8e,_0x2abcdd)=>{const _0x1cf1c6=_0x5c3b9a;return _0x2abcdd['line']<_0x389b8e[_0x1cf1c6(0xae)]?_0x2abcdd:_0x389b8e;}):_0x378ee7[_0x5c3b9a(0xde)](_0x43cc72);return{'file':_0x187617[_0x5c3b9a(0xa2)],'line':_0x1f9d60[_0x5c3b9a(0xae)],'column':_0x1f9d60[_0x5c3b9a(0xb5)]};}[a23_0x53536c(0xb0)](_0x32bffb,_0x8cbe95){const _0x466935=a23_0x53536c;for(const _0x68d550 of _0x32bffb[_0x466935(0xa8)]){if(_0x68d550[_0x466935(0xaf)](_0x8cbe95))return _0x68d550;}return undefined;}}exports[a23_0x53536c(0xa1)]=SourceMapper;async function create(_0x1d11e8,_0x428d8a,_0x4276c9){const _0x3ae1cd=a23_0x53536c;_0x1d11e8['debug']('Creating\x20SourceMapper');const _0x43e5f6=new SourceMapper(_0x1d11e8);_0x1d11e8['debug']('Parsing\x20source\x20map\x20files',_0x428d8a[_0x3ae1cd(0xc1)]);const _0x3fd268=async _0x167eb7=>{const _0x47fdcf=_0x3ae1cd;try{await processSourcemap(_0x1d11e8,_0x43e5f6['infoMap'],_0x167eb7,_0x4276c9);}catch(_0x93bfad){_0x1d11e8[_0x47fdcf(0xab)](_0x47fdcf(0xa7),_0x167eb7,_0x93bfad),_0x1d11e8[_0x47fdcf(0xab)](JSON[_0x47fdcf(0xd6)](_0x93bfad));}};if(_0x4276c9)for(const _0x194b4c of _0x428d8a){await _0x3fd268(_0x194b4c);}else{const _0x49d32a=pLimit(CONCURRENCY),_0x3df00d=_0x428d8a[_0x3ae1cd(0xc9)](_0x4b1858=>_0x49d32a(()=>_0x3fd268(_0x4b1858)));await Promise['all'](_0x3df00d);}return _0x43e5f6;}exports[a23_0x53536c(0xd2)]=create;function a23_0x4b44(){const _0x43f848=['7hnddhm','SourceMapConsumer','line','endsWith','findInSources','hasMappingInfo','__esModule','mapFile','findShortestFuzzyMatches','column','FileIndex','(((.+)+)+)+$','1JluGKj','substring','4016637kzVwCf','has','toString','set','.map','11666730NQGXIJ','apply','length','constructor','mapConsumer','infoMap','3QZyUcJ','normalize','promisify','source-map','map','utf8','fromFileList','./file-index','relative','keys','6190404kuPDRx','Map\x20file\x20processed:\x20','FOUND\x20IN','create','debug','file','search','stringify','path','webpack://','reduce','util','No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20','basename','defineProperty','generatedPositionFor','Could\x20not\x20read\x20sourcemap\x20file\x20','1968366bzrLlC','logger','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','sort','3128828ZTJCrC','113775dOOrxv','allGeneratedPositionsFor','SourceMapper','outputFile','dirname','replace','join','3706744lcCiZX','Failed\x20to\x20process\x20a\x20source\x20map\x20file','sources','get','An\x20error\x20occurred\x20while\x20reading\x20the\x20','error'];a23_0x4b44=function(){return _0x43f848;};return a23_0x4b44();}
|