lightrun 1.67.0 → 1.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/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 +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a16_0x1b72b2=a16_0x2041;(function(_0x3b46bd,_0xd465a8){const _0x2de6db=a16_0x2041,_0xb55122=_0x3b46bd();while(!![]){try{const _0x2746a2=parseInt(_0x2de6db(0x19e))/0x1*(parseInt(_0x2de6db(0x19b))/0x2)+-parseInt(_0x2de6db(0x1b3))/0x3*(parseInt(_0x2de6db(0x1d6))/0x4)+parseInt(_0x2de6db(0x1b0))/0x5*(-parseInt(_0x2de6db(0x19c))/0x6)+parseInt(_0x2de6db(0x1d4))/0x7*(parseInt(_0x2de6db(0x1af))/0x8)+-parseInt(_0x2de6db(0x1a9))/0x9+-parseInt(_0x2de6db(0x1a8))/0xa+parseInt(_0x2de6db(0x1d8))/0xb*(parseInt(_0x2de6db(0x1c8))/0xc);if(_0x2746a2===_0xd465a8)break;else _0xb55122['push'](_0xb55122['shift']());}catch(_0xce633d){_0xb55122['push'](_0xb55122['shift']());}}}(a16_0x1ed2,0x2b66c));const a16_0x479f2e=(function(){let _0x3692ca=!![];return function(_0x533d03,_0x31823e){const _0x407a12=_0x3692ca?function(){if(_0x31823e){const _0x565528=_0x31823e['apply'](_0x533d03,arguments);return _0x31823e=null,_0x565528;}}:function(){};return _0x3692ca=![],_0x407a12;};}()),a16_0x25d906=a16_0x479f2e(this,function(){const _0x267e48=a16_0x2041;return a16_0x25d906[_0x267e48(0x1bc)]()[_0x267e48(0x1ae)]('(((.+)+)+)+$')[_0x267e48(0x1bc)]()[_0x267e48(0x1b9)](a16_0x25d906)['search']('(((.+)+)+)+$');});a16_0x25d906();function a16_0x1ed2(){const _0x2d6c78=['path','__esModule','LIGHTRUN_PROXY_HOST','stdErrThreshold','service','version','AGENT_LOG_LEVEL','env','../util/utils','1116380mWxeWB','1413333GkZpRi','forEach','GAE_DEPLOYMENT_ID','K_SERVICE','LIGHTRUN_PROXY_USERNAME','search','1688792qHwPFF','10fYAqpF','agentConfigFile','agentLogTargetDir','2013KQsPmO','FETCH_BREAKPOINTS_ONCE','message','getBooleanValue','serviceContext','normalizeConfig','constructor','./limitConfig','filter','toString','K_REVISION','GAE_MODULE_NAME','LIGHTRUN_PROXY_PASSWORD','metadata','defaultConfig','AGENT_LOG_MAX_FILE_COUNT','./getAgentConfig','validateSync','LIGHTRUN_API_ENDPOINT','GAE_MODULE_VERSION','GAE_SERVICE','84144xUoOpF','validateConfig','agentLogLevel','agentLogMaxFileSizeMb','LIGHTRUN_AGENT_CONFIG','FUNCTION_NAME','LIGHTRUN_TAGS','AGENT_LOG_MAX_FILE_SIZE_MB','LIGHTRUN_PROXY_PORT','limitConfig','AGENT_LOG_TARGET_DIR','agentLog','7RjfMSj','LIGHTRUN_STD_ERR_THRESHOLD','1564vdvtFa','LIGHTRUN_SECRET','814NYmybv','registration','LIGHTRUN_INIT_WAIT_TIME_MS','LIGHTRUN_METADATA_FILE','1306LmpjGN','590508fPjZBc','getAgentConfig','269mrCPYq'];a16_0x1ed2=function(){return _0x2d6c78;};return a16_0x1ed2();}'use strict';function a16_0x2041(_0x2292f9,_0x29f9d1){const _0x2f14fa=a16_0x1ed2();return a16_0x2041=function(_0x25d906,_0x479f2e){_0x25d906=_0x25d906-0x19b;let _0x1ed23f=_0x2f14fa[_0x25d906];return _0x1ed23f;},a16_0x2041(_0x2292f9,_0x29f9d1);}Object['defineProperty'](exports,a16_0x1b72b2(0x1a0),{'value':!![]}),exports[a16_0x1b72b2(0x1b8)]=exports[a16_0x1b72b2(0x1c9)]=void 0x0;const extend=require('extend'),config_1=require('../config'),utils_1=require(a16_0x1b72b2(0x1a7)),getAgentConfig_1=require(a16_0x1b72b2(0x1c3)),limitConfig_1=require(a16_0x1b72b2(0x1ba)),validateConfig=_0x584c8d=>{const _0x200956=a16_0x1b72b2,_0xb67b1a={};try{config_1['configSchema'][_0x200956(0x1c4)](_0x584c8d,{'abortEarly':![]});}catch(_0x5b9a66){_0x5b9a66['inner'][_0x200956(0x1bb)](_0x22b63d=>_0x22b63d[_0x200956(0x19f)]&&_0x22b63d[_0x200956(0x1b5)])[_0x200956(0x1aa)](_0x173456=>{const _0x583453=_0x200956;_0xb67b1a[_0x173456[_0x583453(0x19f)]]=_0x173456[_0x583453(0x1b5)];});}return _0xb67b1a;};exports[a16_0x1b72b2(0x1c9)]=validateConfig;const normalizeConfig=_0x49352=>{const _0x243ed3=a16_0x1b72b2,_0x254702={'serviceContext':{'service':process['env'][_0x243ed3(0x1c7)]||process[_0x243ed3(0x1a6)][_0x243ed3(0x1be)]||process['env'][_0x243ed3(0x1ac)],'version':process[_0x243ed3(0x1a6)]['GAE_VERSION']||process[_0x243ed3(0x1a6)][_0x243ed3(0x1c6)]||process[_0x243ed3(0x1a6)][_0x243ed3(0x1bd)],'minorVersion_':process[_0x243ed3(0x1a6)][_0x243ed3(0x1ab)]||process['env']['GAE_MINOR_VERSION']},'metadata':{'filename':process[_0x243ed3(0x1a6)][_0x243ed3(0x1db)],'registration':{}},'lightrunSecret':process['env'][_0x243ed3(0x1d7)],'apiEndpoint':process[_0x243ed3(0x1a6)][_0x243ed3(0x1c5)],'noCheckCertificate':(0x0,utils_1[_0x243ed3(0x1b6)])(process[_0x243ed3(0x1a6)]['NO_CHECK_CERTIFICATE']),'fetchBreakpointsOnce':(0x0,utils_1['getBooleanValue'])(process[_0x243ed3(0x1a6)][_0x243ed3(0x1b4)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process['env']['LIGHTRUN_WAIT_FOR_INIT']),'lightrunInitWaitTimeMs':process['env'][_0x243ed3(0x1da)],'agentLog':_0x49352?.[_0x243ed3(0x1d3)]||{},'proxy':{'host':process[_0x243ed3(0x1a6)][_0x243ed3(0x1a1)],'port':parseInt(process[_0x243ed3(0x1a6)][_0x243ed3(0x1d0)]||'')||undefined,'username':process[_0x243ed3(0x1a6)][_0x243ed3(0x1ad)],'password':process[_0x243ed3(0x1a6)][_0x243ed3(0x1bf)]}};process[_0x243ed3(0x1a6)][_0x243ed3(0x1d5)]!==undefined&&(_0x254702[_0x243ed3(0x1d3)][_0x243ed3(0x1a2)]=process['env'][_0x243ed3(0x1d5)]);process[_0x243ed3(0x1a6)][_0x243ed3(0x1a5)]!==undefined&&(_0x254702[_0x243ed3(0x1d3)][_0x243ed3(0x1ca)]=process[_0x243ed3(0x1a6)]['AGENT_LOG_LEVEL']);process[_0x243ed3(0x1a6)][_0x243ed3(0x1d2)]!==undefined&&(_0x254702[_0x243ed3(0x1d3)][_0x243ed3(0x1b2)]=process['env']['AGENT_LOG_TARGET_DIR']);process[_0x243ed3(0x1a6)][_0x243ed3(0x1c2)]!==undefined&&(_0x254702['agentLog']['agentLogMaxFileCount']=parseInt(process[_0x243ed3(0x1a6)][_0x243ed3(0x1c2)]));process['env'][_0x243ed3(0x1cf)]!==undefined&&(_0x254702[_0x243ed3(0x1d3)][_0x243ed3(0x1cb)]=parseInt(process[_0x243ed3(0x1a6)][_0x243ed3(0x1cf)]));process['env'][_0x243ed3(0x1cd)]&&(_0x254702[_0x243ed3(0x1b7)][_0x243ed3(0x1a3)]=process[_0x243ed3(0x1a6)][_0x243ed3(0x1cd)],_0x254702[_0x243ed3(0x1b7)][_0x243ed3(0x1a4)]='unversioned');process[_0x243ed3(0x1a6)][_0x243ed3(0x1ce)]&&(_0x254702[_0x243ed3(0x1c0)][_0x243ed3(0x1d9)]={'tags':process[_0x243ed3(0x1a6)]['LIGHTRUN_TAGS']['split'](',')});const _0x348844=(0x0,getAgentConfig_1[_0x243ed3(0x19d)])(process[_0x243ed3(0x1a6)][_0x243ed3(0x1cc)]||_0x49352?.[_0x243ed3(0x1b1)]||config_1['defaultConfig'][_0x243ed3(0x1b1)]),_0x327a89=(0x0,limitConfig_1[_0x243ed3(0x1d1)])(extend(!![],{},config_1[_0x243ed3(0x1c1)],_0x348844,_0x49352,_0x254702)),_0x5bcf4f=(0x0,exports[_0x243ed3(0x1c9)])(_0x327a89);return{..._0x327a89,'errors':_0x5bcf4f};};exports[a16_0x1b72b2(0x1b8)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a17_0x124756=a17_0x4d81;(function(_0x3d43e6,_0x311821){const _0x31dfe3=a17_0x4d81,_0x5efd72=_0x3d43e6();while(!![]){try{const _0x48932b=-parseInt(_0x31dfe3(0xde))/0x1+-parseInt(_0x31dfe3(0xd5))/0x2*(parseInt(_0x31dfe3(0xe4))/0x3)+parseInt(_0x31dfe3(0xe2))/0x4+-parseInt(_0x31dfe3(0xdd))/0x5+parseInt(_0x31dfe3(0xda))/0x6*(parseInt(_0x31dfe3(0xdb))/0x7)+parseInt(_0x31dfe3(0xd3))/0x8+parseInt(_0x31dfe3(0xe0))/0x9;if(_0x48932b===_0x311821)break;else _0x5efd72['push'](_0x5efd72['shift']());}catch(_0xba9c0f){_0x5efd72['push'](_0x5efd72['shift']());}}}(a17_0x3e80,0x2bc78));function a17_0x3e80(){const _0x4d5d4d=['3287646TyoWRi','push','143620NgIQOU','length','9UYxOWb','553936hIHNmH','toString','227158oxkNwp','./delimit','(((.+)+)+)+$','search','delimit','24942oOzrhi','497OyhNhK','tokenize','501385JBHFgS','145254InnrHU','__esModule'];a17_0x3e80=function(){return _0x4d5d4d;};return a17_0x3e80();}const a17_0x5515ad=(function(){let _0x3fb96b=!![];return function(_0x52f7e1,_0x3bc7ab){const _0x1e8869=_0x3fb96b?function(){if(_0x3bc7ab){const _0x5951cd=_0x3bc7ab['apply'](_0x52f7e1,arguments);return _0x3bc7ab=null,_0x5951cd;}}:function(){};return _0x3fb96b=![],_0x1e8869;};}()),a17_0x740c12=a17_0x5515ad(this,function(){const _0x316ea7=a17_0x4d81;return a17_0x740c12['toString']()[_0x316ea7(0xd8)](_0x316ea7(0xd7))[_0x316ea7(0xd4)]()['constructor'](a17_0x740c12)['search'](_0x316ea7(0xd7));});a17_0x740c12();function a17_0x4d81(_0x5a38ee,_0x4ffca5){const _0x122fff=a17_0x3e80();return a17_0x4d81=function(_0x740c12,_0x5515ad){_0x740c12=_0x740c12-0xd3;let _0x3e8087=_0x122fff[_0x740c12];return _0x3e8087;},a17_0x4d81(_0x5a38ee,_0x4ffca5);}'use strict';Object['defineProperty'](exports,a17_0x124756(0xdf),{'value':!![]}),exports[a17_0x124756(0xdc)]=void 0x0;const delimit_1=require(a17_0x124756(0xd6)),tokenize=(_0x2b6565,_0x5f52ce)=>{const _0x4cd7e7=a17_0x124756;let _0x253e3b=(0x0,delimit_1[_0x4cd7e7(0xd9)])(_0x2b6565,'$$');for(let _0x38dd47=_0x5f52ce-0x1;_0x38dd47>=0x0;_0x38dd47--){const _0x1fd2f2=[];for(let _0x4919d6=0x0;_0x4919d6<_0x253e3b[_0x4cd7e7(0xe3)];_0x4919d6++){_0x253e3b[_0x4919d6]['v']?_0x1fd2f2['push'](_0x253e3b[_0x4919d6]):_0x1fd2f2[_0x4cd7e7(0xe1)](...(0x0,delimit_1[_0x4cd7e7(0xd9)])(_0x253e3b[_0x4919d6],'$'+_0x38dd47));}_0x253e3b=_0x1fd2f2;}return _0x253e3b;};exports[a17_0x124756(0xdc)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x40d671=a18_0x5cd5;function a18_0x5cd5(_0x209855,_0x29b602){const _0x3163b7=a18_0xa3b8();return a18_0x5cd5=function(_0x5dd682,_0x1a0536){_0x5dd682=_0x5dd682-0x156;let _0xa3b835=_0x3163b7[_0x5dd682];return _0xa3b835;},a18_0x5cd5(_0x209855,_0x29b602);}(function(_0x504c48,_0x494aa3){const _0x1590a7=a18_0x5cd5,_0x3839df=_0x504c48();while(!![]){try{const _0x187bfe=parseInt(_0x1590a7(0x25c))/0x1*(-parseInt(_0x1590a7(0x182))/0x2)+-parseInt(_0x1590a7(0x22d))/0x3*(-parseInt(_0x1590a7(0x256))/0x4)+parseInt(_0x1590a7(0x1d9))/0x5+-parseInt(_0x1590a7(0x177))/0x6+-parseInt(_0x1590a7(0x178))/0x7*(-parseInt(_0x1590a7(0x1a6))/0x8)+-parseInt(_0x1590a7(0x24a))/0x9+parseInt(_0x1590a7(0x1df))/0xa;if(_0x187bfe===_0x494aa3)break;else _0x3839df['push'](_0x3839df['shift']());}catch(_0x28499e){_0x3839df['push'](_0x3839df['shift']());}}}(a18_0xa3b8,0xe47d1));function a18_0xa3b8(){const _0x18cf77=['waitExpired','GAE_MINOR_VERSION','default','removeBreakpoint','UNSPECIFIED','log','Debuggee\x20is\x20not\x20registered','remotelyDisabled','./blocklisting/patterns-blocklist-manager','PipingManager','setCustomLogLevel','once','parse','call','Disabled\x20by\x20the\x20server','Registered\x20as\x20debuggee:\x20','pipeLogs','Result:\x20\x0a','Breakpoint','quotaCheck','prettyError','getRedactions','setLevel','./controller','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','parameters','util','(((.+)+)+)+$','Scheduling\x20registration\x20in\x20','quota','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','debuglet','Controller','posix','isRunning','enqueueBreakpointUpdate','collectLogRequestId','./debuglet-helpers/format','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','normalize','maxRequestRetryDelaySeconds','Unknown\x20agentLogLevel\x20','ignoreQuota','message','path','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','reporting\x20breakpoint\x20','filter','sep','Stopping\x20Debuglet','sourceContext','getProps','expressions','status','5.2\x20||\x20<4','backoff','has','./quota-manager','QuotaManager','forEach','findFiles','mapFiles','caseInsensitive','constructor','315UZzjgx','join','agentLogLevel','FileIndex','__esModule','Malformed\x20source-context.json\x20file:\x20','javascriptFileExtensions','CAPTURE','Blacklist\x20Exceptions:\x20\x0a\x09','fetchBreakpointsOnce','\x09remove\x20breakpoint','scan','./config','location','./environment-metadata','source-context.json','EnvironmentMetadata','breakpoints_fetched','logger','./io/file-index','errors','isRedactionActive','Fetching\x20breakpoints','replace','\x0a\x09expressions:\x20','warn','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','version','breakpoint_set','14830821qmGxhG','SIGINT','rejecting\x20breakpoint','setPatterns','):\x20pattern:\x20','fetcherActive','function','logLevel','blacklist_exception','./util/utils','Error\x20scanning\x20the\x20filesystem.','promisify','2364OdBGeG','createPerBreakpointConditionQuota','unref','length','enable','satisfies','3IjrZBG','agentLogMaxFileCount','stdErrThreshold','normalizeConfig','\x09Long\x20poll\x20completed.','\x0a\x09createdTime:\x20','toString','isFinalState','isOutOfQuota','\x20to\x20','\x0a\x09condition:\x20','agentLogMaxFileSizeMb','clientConnectionTimeoutInSeconds','disable','start','env','EventEmitter','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','clear','isError','AGENT_LOG_FILE','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','redactionEnabled','logMainConfigParams','map','isDisabled','emit','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','PatternsBlocklistManager','wait','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','get','./debuglet-helpers/mapSubtract','isReadyManager','selectStats','register','format','3878880MBQUcO','4727576DzObeD','undefined','setIgnoreQuota','.\x20Retrying\x20in\x20','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','Expiring\x20breakpoint','filename','quotaRecoverySeconds','replaceRedactedByValue','.\x20Error:\x20','361528RODaNI','stop','debuggee','expirationTime','search','getSourceContextFromFile','collectAndSendLog','kill','push','breakpointUpdateIntervalSec','Working\x20directory:\x20','ConfigurationProvider','addAndPipeLog','../client/stackdriver/status-message','apply','.\x20message:\x20','activeBreakpointMap','set','Registering\x20debuggee','expirationSeconds','now','breakpoints','Switching\x20globalPiping\x20status\x20from\x20','Debuglet','Initializing\x20Node.js\x20agent\x20version:\x20','removePerBreakpointQuota','stringify','>=12','LOG','mapSubtract','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','info','agentLog','getLevel','bind','config','8bKwHRt','\x09Got\x20error\x20from\x20server.\x20status:\x20','NODE_VERSION_MESSAGE','REDACTED_PLACEHOLDER','./reduction/redaction-manager','started','utf8','extend','BREAKPOINT_ACTION_MESSAGE','create','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','Starting\x20debuggee','Breakpoint\x20hit!:\x20','allowRootAsWorkingDirectory','Redactions:\x20\x0a\x09','seconds','error','action','defineProperty','\x20(type:\x20','type','./reduction/redaction-manager-re2js','SIGQUIT','existsSync','\x09adding\x20breakpoint','extraPaths','split','GAE-','debug','registered','createLogger','resolve','then','internal','pipingManager','condition','Scanner','hash','keys','setBlocklistManager','value','LOGPOINT:\x20','isArray','ALLOW_EXPRESSIONS_MESSAGE','agentLogTargetDir','CachedPromise','StatusMessage','./io/scanner','initError','description','./configuration-provider','5558910iPAMEw','SIGTERM','packageInfo','createTime','sendAgentLogsToServer','isReady','19233250ZlYVJi','stopped','promiseResolve','selectFiles','./io/sourcemapper','\x20because\x20','deregister','assert','Found\x20breakpoint\x20with\x20invalid\x20action:','inspect','promise','readFile','workingDirectory','pipingStatus'];a18_0xa3b8=function(){return _0x18cf77;};return a18_0xa3b8();}const a18_0x1a0536=(function(){let _0x108926=!![];return function(_0xc71d1,_0x80892b){const _0x156244=_0x108926?function(){const _0x1c8e11=a18_0x5cd5;if(_0x80892b){const _0x407fcf=_0x80892b[_0x1c8e11(0x190)](_0xc71d1,arguments);return _0x80892b=null,_0x407fcf;}}:function(){};return _0x108926=![],_0x156244;};}()),a18_0x5dd682=a18_0x1a0536(this,function(){const _0x3ac91d=a18_0x5cd5;return a18_0x5dd682[_0x3ac91d(0x158)]()[_0x3ac91d(0x186)](_0x3ac91d(0x208))['toString']()[_0x3ac91d(0x22c)](a18_0x5dd682)[_0x3ac91d(0x186)](_0x3ac91d(0x208));});a18_0x5dd682();'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x217f15,_0x451480,_0xd70d8c,_0x10de6f,_0x256dc2){const _0x185394=a18_0x5cd5;if(_0x10de6f==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x10de6f==='a'&&!_0x256dc2)throw new TypeError(_0x185394(0x16d));if(typeof _0x451480===_0x185394(0x250)?_0x217f15!==_0x451480||!_0x256dc2:!_0x451480[_0x185394(0x225)](_0x217f15))throw new TypeError(_0x185394(0x213));return _0x10de6f==='a'?_0x256dc2[_0x185394(0x1fa)](_0x217f15,_0xd70d8c):_0x256dc2?_0x256dc2['value']=_0xd70d8c:_0x451480[_0x185394(0x193)](_0x217f15,_0xd70d8c),_0xd70d8c;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x523885,_0x133277,_0x442efe,_0x5efb45){const _0x2faaed=a18_0x5cd5;if(_0x442efe==='a'&&!_0x5efb45)throw new TypeError(_0x2faaed(0x21a));if(typeof _0x133277===_0x2faaed(0x250)?_0x523885!==_0x133277||!_0x5efb45:!_0x133277['has'](_0x523885))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x442efe==='m'?_0x5efb45:_0x442efe==='a'?_0x5efb45[_0x2faaed(0x1fa)](_0x523885):_0x5efb45?_0x5efb45[_0x2faaed(0x1ce)]:_0x133277['get'](_0x523885);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x40d671(0x1b8)](exports,a18_0x40d671(0x231),{'value':!![]}),exports[a18_0x40d671(0x199)]=exports[a18_0x40d671(0x1d3)]=void 0x0;const assert=require(a18_0x40d671(0x1e6)),events_1=require('events'),extend=require(a18_0x40d671(0x1ad)),fs=require('fs'),path=require(a18_0x40d671(0x219)),util=require(a18_0x40d671(0x207)),status_message_1=require(a18_0x40d671(0x18f)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require('./agent-logger'),config_1=require(a18_0x40d671(0x239)),controller_1=require(a18_0x40d671(0x204)),SourceMapper=require(a18_0x40d671(0x1e3)),debugapi=require('./v8/debugapi'),piping_manager_1=require('./piping-manager'),quota_manager_1=require(a18_0x40d671(0x226)),patterns_blocklist_manager_1=require(a18_0x40d671(0x1f5)),scanner_1=require(a18_0x40d671(0x1d5)),environment_metadata_1=require(a18_0x40d671(0x23b)),file_index_1=require(a18_0x40d671(0x240)),utils_1=require(a18_0x40d671(0x253)),redaction_manager_1=require(a18_0x40d671(0x1aa)),configuration_provider_1=require(a18_0x40d671(0x1d8)),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),mapSubtract_1=require(a18_0x40d671(0x172)),format_1=require(a18_0x40d671(0x212)),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),readFilep=util[a18_0x40d671(0x255)](fs[a18_0x40d671(0x1ea)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x2b5431,_0x5e7094)=>{const _0x4af0d6=a18_0x40d671;let _0x369a50=_0x2b5431+util[_0x4af0d6(0x176)](_0x4af0d6(0x170),_0x5e7094['id'],_0x5e7094[_0x4af0d6(0x1b7)],util[_0x4af0d6(0x1e8)](_0x5e7094['location']));if(_0x5e7094[_0x4af0d6(0x1dc)]){const _0x5a2462=Number(_0x5e7094[_0x4af0d6(0x1dc)][_0x4af0d6(0x1b5)]),_0x3ec64e=new Date(_0x5a2462*0x3e8);_0x369a50+=_0x4af0d6(0x157)+_0x3ec64e['toString']();}return _0x5e7094[_0x4af0d6(0x1c9)]&&(_0x369a50+=_0x4af0d6(0x15c)+util[_0x4af0d6(0x1e8)](_0x5e7094[_0x4af0d6(0x1c9)])),_0x5e7094[_0x4af0d6(0x221)]&&(_0x369a50+=_0x4af0d6(0x245)+util[_0x4af0d6(0x1e8)](_0x5e7094['expressions'])),_0x369a50;},formatBreakpoints=(_0x40af94,_0x33cbf3)=>{const _0x76e666=a18_0x40d671;return _0x40af94+Object[_0x76e666(0x1cc)](_0x33cbf3)[_0x76e666(0x16a)](_0x4e8301=>{return formatBreakpoint('',_0x33cbf3[_0x4e8301]);})[_0x76e666(0x22e)]('\x0a');};class CachedPromise{constructor(){const _0x40123d=a18_0x40d671;this['promiseResolve']=null,this[_0x40123d(0x1e9)]=new Promise(_0x52a3b2=>{const _0x543f69=_0x40123d;this[_0x543f69(0x1e1)]=_0x52a3b2;});}['get'](){const _0x3bd64c=a18_0x40d671;return this[_0x3bd64c(0x1e9)];}['resolve'](){const _0x50881c=a18_0x40d671;this[_0x50881c(0x1e1)]&&(this[_0x50881c(0x1e1)](),this['promiseResolve']=null);}}exports['CachedPromise']=CachedPromise;class IsReadyImpl{constructor(_0x46a9db){const _0x41bab3=a18_0x40d671;this[_0x41bab3(0x20c)]=_0x46a9db;}['isReady'](){const _0x3fdb5f=a18_0x40d671;return this['debuglet'][_0x3fdb5f(0x1de)]();}}class Debuglet extends events_1[a18_0x40d671(0x162)]{constructor(_0x6516bb,_0x4abe71){const _0x390afd=a18_0x40d671;super(),_Debuglet_instances['add'](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x390afd(0x193)](this,void 0x0),_Debuglet_running[_0x390afd(0x193)](this,void 0x0),_Debuglet_controller[_0x390afd(0x193)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x390afd(0x193)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x390afd(0x193)](this,void 0x0),_Debuglet_breakpointFetched[_0x390afd(0x193)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x390afd(0x193)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x390afd(0x193)](this,null),this[_0x390afd(0x173)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x390afd(0x193)](this,void 0x0),_Debuglet_quotaManager[_0x390afd(0x193)](this,void 0x0),_Debuglet_blocklistManager[_0x390afd(0x193)](this,void 0x0),_Debuglet_redactionManager[_0x390afd(0x193)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x390afd(0x25f)])(_0x4abe71),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x390afd(0x18d))](this[_0x390afd(0x1a5)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x6516bb,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x390afd(0x24f)]=![],this[_0x390afd(0x23f)]=agent_logger_1[_0x390afd(0x1ef)][_0x390afd(0x1c4)](this[_0x390afd(0x1a5)]['agentLog']['agentLogTargetDir'],this[_0x390afd(0x1a5)][_0x390afd(0x1a2)][_0x390afd(0x15d)],this['config'][_0x390afd(0x1a2)][_0x390afd(0x25d)],this[_0x390afd(0x1a5)][_0x390afd(0x1a2)][_0x390afd(0x22f)],this['config'][_0x390afd(0x1a2)][_0x390afd(0x25e)]),(0x0,config_1[_0x390afd(0x169)])(this['config'],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x390afd(0x23d))](this['logger'])[_0x390afd(0x220)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x390afd(0x20d))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x390afd(0x23f)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x390afd(0x1ca))](this[_0x390afd(0x23f)]),'f'),this[_0x390afd(0x184)]=null,this[_0x390afd(0x192)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x390afd(0x227))](this['logger'],this[_0x390afd(0x1a5)]),'f'),this['pipingManager']=new piping_manager_1[(_0x390afd(0x1f6))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x390afd(0x1a5)]);}async[a18_0x40d671(0x229)](_0x41cfe4,_0x573584){const _0x473910=a18_0x40d671,_0x89d1af=_0x41cfe4[_0x473910(0x1eb)],_0x17ff0c=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x473910(0x238)](_0x89d1af,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x41cfe4[_0x473910(0x233)]['concat']('js.map')),_0x573584,_0x41cfe4[_0x473910(0x1bf)]),_0x2d5749=_0x17ff0c[_0x473910(0x174)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x473910(0x1fa)](_a,_0x41cfe4[_0x473910(0x233)])),_0x4faab3=file_index_1[_0x473910(0x230)]['fromFileStats'](_0x2d5749),_0x280438=_0x17ff0c[_0x473910(0x1e2)](/.js.map$/,process['cwd']()),_0x5973ab=_0x17ff0c['errors']();return{'mapFiles':_0x280438,'errors':_0x5973ab,'jsFileIndex':_0x4faab3,'hash':_0x17ff0c[_0x473910(0x1cb)]};}async[a18_0x40d671(0x160)](){const _0x5cf993=a18_0x40d671,_0x134efa=this,_0x2ae680=_0x134efa[_0x5cf993(0x1a5)]['workingDirectory'];if(!_0x134efa[_0x5cf993(0x1a5)][_0x5cf993(0x1b3)]&&path[_0x5cf993(0x22e)](_0x2ae680,'..')===_0x2ae680){const _0x5b8a83='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x5cf993(0x1b0)+'do\x20this.';_0x134efa[_0x5cf993(0x23f)][_0x5cf993(0x1b6)](_0x5b8a83),_0x134efa[_0x5cf993(0x16c)]('initError',new Error(_0x5b8a83));return;}let _0x2f1a89;process[_0x5cf993(0x161)][_0x5cf993(0x1ee)]&&(_0x2f1a89=_0x5cf993(0x1c1)+process['env'][_0x5cf993(0x1ee)]);let _0x5c0038,_0x46fda2=_0x2f1a89||'';try{_0x5c0038=await this[_0x5cf993(0x229)](_0x134efa['config'],_0x2f1a89),_0x5c0038[_0x5cf993(0x241)][_0x5cf993(0x228)](_0x134efa['logger'][_0x5cf993(0x246)]);}catch(_0x2aba05){_0x134efa[_0x5cf993(0x23f)][_0x5cf993(0x1b6)](_0x5cf993(0x254),_0x2aba05),_0x134efa[_0x5cf993(0x16c)](_0x5cf993(0x1d6),_0x2aba05);return;}try{const _0x2f8da8=await SourceMapper[_0x5cf993(0x1af)](_0x134efa[_0x5cf993(0x23f)],_0x5c0038[_0x5cf993(0x22a)],_0x134efa[_0x5cf993(0x1a5)][_0x5cf993(0x1c7)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(_0x134efa,_Debuglet_v8debug,debugapi[_0x5cf993(0x1af)](_0x134efa[_0x5cf993(0x23f)],_0x134efa[_0x5cf993(0x1a5)],_0x5c0038['jsFileIndex'],_0x2f8da8,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x46fda2=_0x2f1a89||_0x5c0038[_0x5cf993(0x1cb)];}catch(_0x56d561){_0x134efa[_0x5cf993(0x23f)]['error']('Error\x20processing\x20the\x20sourcemaps.',_0x56d561),_0x134efa[_0x5cf993(0x23f)]['info'](JSON[_0x5cf993(0x19c)](_0x56d561)),_0x134efa[_0x5cf993(0x16c)](_0x5cf993(0x1d6),_0x56d561);}_0x134efa[_0x5cf993(0x23f)][_0x5cf993(0x1a1)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x46fda2);const _0x2c5cb9=(0x0,utils_1['readFullVersion'])(_0x134efa[_0x5cf993(0x23f)])[_0x5cf993(0x244)]('\x0a','');_0x134efa[_0x5cf993(0x23f)][_0x5cf993(0x1a1)](_0x5cf993(0x19a)+_0x2c5cb9);let _0x2ed8ef;try{_0x2ed8ef=_0x134efa['config'][_0x5cf993(0x21f)]||await _a[_0x5cf993(0x187)]();}catch(_0x24303d){}_0x134efa[_0x5cf993(0x23f)][_0x5cf993(0x1a1)](_0x5cf993(0x247)+process['mainModule']?.[_0x5cf993(0x17e)]),_0x134efa[_0x5cf993(0x23f)]['debug'](_0x5cf993(0x18c)+_0x2ae680),_0x134efa[_0x5cf993(0x23f)]['debug'](_0x5cf993(0x1b1)),__classPrivateFieldSet(_0x134efa,_Debuglet_running,!![],'f'),_0x134efa[_0x5cf993(0x184)]=(0x0,createDebuggee_1['createDebuggee'])(_0x46fda2,_0x134efa[_0x5cf993(0x1a5)],_0x2ed8ef,__classPrivateFieldGet(_0x134efa,_Debuglet_debug,'f')[_0x5cf993(0x1db)],_0x2c5cb9,_0x134efa[_0x5cf993(0x23f)],__classPrivateFieldGet(_0x134efa,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x134efa,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x5cf993(0x1fa)](_0x134efa),__classPrivateFieldGet(_0x134efa,_Debuglet_instances,'m',_Debuglet_register_)[_0x5cf993(0x1fa)](_0x134efa),_0x134efa['emit'](_0x5cf993(0x1ab));}['isReady'](){const _0x3ca5b7=a18_0x40d671;if(Date[_0x3ca5b7(0x196)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3ca5b7(0x171)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3ca5b7(0x171)]()[_0x3ca5b7(0x1c6)](()=>{const _0xd5b089=_0x3ca5b7;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xd5b089(0x1fa)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3ca5b7(0x171)]();}}static async[a18_0x40d671(0x187)](){const _0xd7d59b=a18_0x40d671,_0xa3ad02=await readFilep(_0xd7d59b(0x23c),_0xd7d59b(0x1ac));try{return JSON[_0xd7d59b(0x1f9)](_0xa3ad02);}catch(_0xec0d9d){throw new Error(_0xd7d59b(0x232)+_0xec0d9d);}}[a18_0x40d671(0x20f)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x40d671(0x183)](){const _0x6f6331=a18_0x40d671;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this['logger'][_0x6f6331(0x1c2)](_0x6f6331(0x17c));return;}this[_0x6f6331(0x23f)][_0x6f6331(0x1c2)](_0x6f6331(0x21e)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['stop'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x6f6331(0x16c)](_0x6f6331(0x1e0));}[a18_0x40d671(0x1f7)](_0x3cc481){const _0x58ae5b=a18_0x40d671,_0x44305b=this['logger']['getInitialLevel']();if(_0x44305b===_0x58ae5b(0x1c2))return;switch(_0x3cc481){case'DEBUG':this[_0x58ae5b(0x23f)][_0x58ae5b(0x1a3)]()!=='debug'&&(this[_0x58ae5b(0x23f)][_0x58ae5b(0x203)]('debug'),this[_0x58ae5b(0x23f)][_0x58ae5b(0x1c2)](_0x58ae5b(0x163)));break;case'NOT_SET':case undefined:this[_0x58ae5b(0x23f)][_0x58ae5b(0x1a3)]()===_0x58ae5b(0x1c2)&&(this[_0x58ae5b(0x23f)][_0x58ae5b(0x203)](_0x44305b),this[_0x58ae5b(0x23f)][_0x58ae5b(0x1a1)](_0x58ae5b(0x20b)+_0x44305b+')'));break;default:this[_0x58ae5b(0x23f)]['warn'](_0x58ae5b(0x216)+_0x3cc481);}}}exports['Debuglet']=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x215cda){const _0x5af6b6=a18_0x40d671;return new RegExp(_0x215cda['map'](_0x77e503=>_0x77e503+'$')[_0x5af6b6(0x22e)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0xc6c1b=a18_0x40d671,_0x37ca47=[_0xc6c1b(0x1da),_0xc6c1b(0x24b),_0xc6c1b(0x1bc)];_0x37ca47[_0xc6c1b(0x228)](_0x3b83f2=>{process['once'](_0x3b83f2,()=>{const _0x1a7da7=a18_0x5cd5;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1a7da7(0x1e5)](this['debuggee'],()=>{const _0x51130e=_0x1a7da7;process[_0x51130e(0x189)](process['pid'],_0x3b83f2);});});}),process[_0xc6c1b(0x1f8)]('beforeExit',()=>{const _0x2fb0fa=_0xc6c1b;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x2fb0fa(0x184)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x4b94a9=a18_0x40d671;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x4b94a9(0x1fa)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x43cd03){const _0xfef206=a18_0x40d671,_0x944b9=this;_0x944b9['logger'][_0xfef206(0x1c2)](_0x43cd03?_0xfef206(0x209)+_0x43cd03+'s':_0xfef206(0x194));function _0x56fb56(_0x33a48d,_0x503cad,_0x17c431=![]){const _0x293383=_0xfef206,_0xb9d3a2=_0x944b9[_0x293383(0x184)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x944b9[_0x293383(0x184)]?.['id']+':\x20'+(0x0,utils_1[_0x293383(0x201)])(_0x33a48d):'Failed\x20to\x20register\x20debuggee:\x20'+(0x0,utils_1[_0x293383(0x201)])(_0x33a48d);_0x944b9['logger'][_0x293383(0x1b6)](_0xb9d3a2),_0x503cad&&!_0x17c431&&_0x944b9[_0x293383(0x23f)][_0x293383(0x1b6)](_0x293383(0x1fe),_0x503cad),__classPrivateFieldGet(_0x944b9,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x293383(0x1fa)](_0x944b9,(0x0,utils_1[_0x293383(0x224)])(_0x43cd03,_0x944b9[_0x293383(0x1a5)][_0x293383(0x1c7)][_0x293383(0x215)]));}setTimeout(()=>{const _0x40d92f=_0xfef206;if(!__classPrivateFieldGet(_0x944b9,_Debuglet_running,'f')){_0x56fb56(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(_0x944b9,_Debuglet_controller,'f')[_0x40d92f(0x175)](_0x944b9[_0x40d92f(0x184)],(_0x215ef0,_0x3f71d0,_0x383523=![])=>{const _0x22dee8=_0x40d92f;if(_0x215ef0){_0x56fb56(_0x215ef0,_0x3f71d0,_0x383523);return;}if(_0x3f71d0['debuggee'][_0x22dee8(0x16b)]){_0x56fb56(new Error(_0x22dee8(0x1fb))),_0x944b9[_0x22dee8(0x16c)](_0x22dee8(0x1f4));return;}const _0x5aec14=_0x3f71d0[_0x22dee8(0x184)]['id'];_0x944b9[_0x22dee8(0x23f)]['info'](_0x22dee8(0x1fc)+_0x5aec14),_0x944b9['debuggee']['id']=_0x5aec14;const _0x1e02fd=[__classPrivateFieldGet(_0x944b9,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x22dee8(0x1a4)](_0x944b9)(_0x944b9[_0x22dee8(0x184)]['id'])];_0x944b9[_0x22dee8(0x1a5)][_0x22dee8(0x168)]&&_0x1e02fd['push'](__classPrivateFieldGet(_0x944b9,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x22dee8(0x1a4)](_0x944b9)(_0x944b9[_0x22dee8(0x184)]['id'])),Promise['all'](_0x1e02fd)[_0x22dee8(0x1c6)](()=>{const _0x4f58aa=_0x22dee8;_0x944b9[_0x4f58aa(0x16c)](_0x4f58aa(0x1c3),_0x5aec14),__classPrivateFieldGet(_0x944b9,_Debuglet_debuggeeRegistered,'f')[_0x4f58aa(0x1c5)](),__classPrivateFieldGet(_0x944b9,_Debuglet_v8debug,'f')?.[_0x4f58aa(0x1cd)](__classPrivateFieldGet(_0x944b9,_Debuglet_blocklistManager,'f')),!_0x944b9[_0x4f58aa(0x24f)]&&__classPrivateFieldGet(_0x944b9,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x944b9,0x0,this[_0x4f58aa(0x1a5)][_0x4f58aa(0x236)],_0x3f71d0?.[_0x4f58aa(0x15e)]);},_0x100387=>{_0x56fb56(_0x100387);});});},_0x43cd03*0x3e8)[_0xfef206(0x258)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x2a979f,_0x326ce2,_0x5a6480){const _0x3f243f=a18_0x40d671,_0x17286e=this;!_0x326ce2&&(_0x17286e[_0x3f243f(0x24f)]=!![]),setTimeout(()=>{const _0x2ec8a1=_0x3f243f;if(!__classPrivateFieldGet(_0x17286e,_Debuglet_running,'f'))return;!_0x326ce2&&assert(_0x17286e[_0x2ec8a1(0x24f)]),_0x17286e[_0x2ec8a1(0x23f)][_0x2ec8a1(0x1c2)](_0x2ec8a1(0x243)),__classPrivateFieldGet(_0x17286e,_Debuglet_controller,'f')['listBreakpoints'](_0x17286e['debuggee'],(_0x17994a,_0x3ea9af,_0x5f5151)=>{const _0x3a71fb=_0x2ec8a1;if(_0x3ea9af?.[_0x3a71fb(0x222)]===0x194){_0x17286e[_0x3a71fb(0x23f)]['info'](_0x3a71fb(0x1f3)),_0x17286e[_0x3a71fb(0x24f)]=![],__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x3a71fb(0x1fa)](_0x17286e),__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_register_)[_0x3a71fb(0x1fa)](_0x17286e);return;}if(_0x17994a){const _0x2488e4=(0x0,utils_1[_0x3a71fb(0x224)])(_0x2a979f,_0x17286e[_0x3a71fb(0x1a5)][_0x3a71fb(0x1c7)][_0x3a71fb(0x215)]);_0x17286e['logger'][_0x3a71fb(0x1b6)](_0x3a71fb(0x1a7)+_0x3ea9af?.['status']+_0x3a71fb(0x191)+_0x17994a['message']+_0x3a71fb(0x17b)+_0x2488e4+'s'),__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x17286e,_0x2488e4,_0x326ce2,_0x5a6480);return;}_0x17286e[_0x3a71fb(0x23f)][_0x3a71fb(0x1c2)]('\x09'+_0x3ea9af[_0x3a71fb(0x222)]+'\x20completed.');if(!_0x5f5151){const _0x4d07ff=_0x17286e[_0x3a71fb(0x1a5)][_0x3a71fb(0x18b)];_0x17286e['logger'][_0x3a71fb(0x1b6)](_0x3a71fb(0x1a0)+_0x4d07ff+'s'),__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3a71fb(0x1fa)](_0x17286e,_0x4d07ff,_0x326ce2,_0x5a6480);return;}this[_0x3a71fb(0x1f7)](_0x5f5151[_0x3a71fb(0x22f)]);if(_0x5f5151[_0x3a71fb(0x1ed)]){_0x17286e[_0x3a71fb(0x23f)][_0x3a71fb(0x1a1)](_0x3a71fb(0x156)),__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3a71fb(0x1fa)](_0x17286e,0x0,_0x326ce2,_0x5a6480);return;}if(_0x5f5151[_0x3a71fb(0x1fd)]&&_0x5f5151[_0x3a71fb(0x1fd)]!=='NOT_SET'){const _0x5c0fbf=this[_0x3a71fb(0x1c8)]['globalPipingStatus'];_0x5c0fbf!==_0x5f5151['pipeLogs']&&(this[_0x3a71fb(0x23f)][_0x3a71fb(0x1c2)](_0x3a71fb(0x198)+_0x5c0fbf+_0x3a71fb(0x15b)+_0x5f5151['pipeLogs']),this['pipingManager']['globalPipingStatus']=_0x5f5151[_0x3a71fb(0x1fd)]);}if(_0x5f5151[_0x3a71fb(0x188)]&&_0x5f5151[_0x3a71fb(0x211)]!==_0x17286e[_0x3a71fb(0x211)]){_0x17286e['collectLogRequestId']=_0x5f5151[_0x3a71fb(0x211)];const _0x897d70=_0x17286e[_0x3a71fb(0x1a5)][_0x3a71fb(0x1a2)][_0x3a71fb(0x1d2)]&&path[_0x3a71fb(0x22e)](_0x17286e[_0x3a71fb(0x1a5)]['agentLog'][_0x3a71fb(0x1d2)],agent_logger_1['default'][_0x3a71fb(0x166)]);_0x897d70&&fs[_0x3a71fb(0x1bd)](_0x897d70)?setTimeout(()=>__classPrivateFieldGet(_0x17286e,_Debuglet_controller,'f')[_0x3a71fb(0x1dd)](_0x17286e[_0x3a71fb(0x184)],_0x5f5151['collectLogRequestId'],_0x897d70)):_0x17286e[_0x3a71fb(0x23f)][_0x3a71fb(0x1a1)](_0x3a71fb(0x205)+_0x5f5151[_0x3a71fb(0x211)]+_0x3a71fb(0x1e4)+_0x3a71fb(0x167));}const _0x158948=(_0x5f5151[_0x3a71fb(0x197)]||[])[_0x3a71fb(0x16a)](_0x546343=>new stackdriver_1[(_0x3a71fb(0x1ff))](_0x546343))[_0x3a71fb(0x21c)](_0x4e93f4=>{const _0x3a7c29=_0x3a71fb,_0xa8a9a0=_0x4e93f4['action']||'CAPTURE';if(__classPrivateFieldGet(_0x17286e,_Debuglet_completedBreakpointMap,'f')[_0x4e93f4['id']])return![];if(_0xa8a9a0!==_0x3a7c29(0x234)&&_0xa8a9a0!==_0x3a7c29(0x19e))return _0x17286e[_0x3a7c29(0x23f)][_0x3a7c29(0x246)](_0x3a7c29(0x1e7),_0xa8a9a0),_0x4e93f4[_0x3a7c29(0x222)]=new status_message_1['StatusMessage'](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0x3a7c29(0x241)][_0x3a7c29(0x1ae)],!![]),__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3a7c29(0x1fa)](_0x17286e,_0x4e93f4),![];return!![];}),_0x2d65da=__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x3a71fb(0x1fa)](_0x17286e);let _0x5b8d0e=_0x2d65da[_0x3a71fb(0x259)]>0x0;__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x17286e,_0x2d65da),_0x5b8d0e=_0x5b8d0e||__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x3a71fb(0x1fa)](_0x17286e,_0x158948),_0x17286e[_0x3a71fb(0x16c)](_0x3a71fb(0x23e),_0x158948['length']);_0x5b8d0e&&_0x17286e[_0x3a71fb(0x23f)][_0x3a71fb(0x1c2)](formatBreakpoints('Active\x20Breakpoints:\x20\x0a',_0x17286e[_0x3a71fb(0x192)]));__classPrivateFieldSet(_0x17286e,_Debuglet_breakpointFetchedTimestamp,Date['now'](),'f');_0x326ce2?__classPrivateFieldGet(_0x17286e,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x17286e,_Debuglet_breakpointFetched,'f')[_0x3a71fb(0x1c5)](),__classPrivateFieldSet(_0x17286e,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x17286e,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3a71fb(0x1fa)](_0x17286e,0x0,_0x326ce2,_0x5a6480);return;},_0x5a6480);},_0x2a979f*0x3e8)[_0x3f243f(0x258)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x17065c=a18_0x40d671;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x17065c(0x1c5)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x7e40f7){const _0x369d2d=a18_0x40d671,_0x47b61b=this,_0x153c37=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x369d2d(0x1fa)](this,_0x7e40f7);let _0x5b51e1=![];return _0x7e40f7[_0x369d2d(0x228)](_0x3b0279=>{const _0x5ea5ca=_0x369d2d;!__classPrivateFieldGet(_0x47b61b,_Debuglet_completedBreakpointMap,'f')[_0x3b0279['id']]&&!_0x47b61b[_0x5ea5ca(0x192)][_0x3b0279['id']]&&(__classPrivateFieldGet(_0x47b61b,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x5ea5ca(0x1fa)](_0x47b61b,_0x3b0279,_0x5dd95b=>{const _0x45fadb=_0x5ea5ca;_0x5dd95b&&__classPrivateFieldGet(_0x47b61b,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x45fadb(0x1fa)](_0x47b61b,_0x3b0279,!![],![]);}),_0x5b51e1=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x5ea5ca(0x257)](_0x3b0279['id'])),__classPrivateFieldGet(_0x47b61b,_Debuglet_quotaManager,'f')[_0x5ea5ca(0x17a)](_0x3b0279['id'],_0x3b0279[_0x5ea5ca(0x217)]),_0x47b61b[_0x5ea5ca(0x1c8)]['setPipingStatus'](_0x3b0279['id'],_0x3b0279[_0x5ea5ca(0x1ec)]);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x153c37)['forEach'](_0x7a17de=>{delete __classPrivateFieldGet(_0x47b61b,_Debuglet_completedBreakpointMap,'f')[_0x7a17de['id']],_0x5b51e1=!![];}),(0x0,mapSubtract_1[_0x369d2d(0x19f)])(this[_0x369d2d(0x192)],_0x153c37)[_0x369d2d(0x228)](_0x2dada2=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x2dada2,!![]),_0x5b51e1=!![];}),_0x5b51e1&&_0x47b61b['logger']['debug'](formatBreakpoints('Server\x20breakpoints:\x0a',_0x153c37)),_0x5b51e1;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x2d7761){const _0x10fe0d=a18_0x40d671,_0x3fabaa={};return _0x2d7761[_0x10fe0d(0x228)](_0x52f46d=>{_0x3fabaa[_0x52f46d['id']]=_0x52f46d;}),_0x3fabaa;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x190e82,_0x8f8c4f){const _0x3d721c=a18_0x40d671;this[_0x3d721c(0x23f)]['info'](_0x3d721c(0x237),_0x190e82),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3d721c(0x19b)](_0x190e82['id']),this['pipingManager'][_0x3d721c(0x1f0)](_0x190e82['id']),delete this['activeBreakpointMap'][_0x190e82['id']],_0x8f8c4f&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3d721c(0x164)](_0x190e82,_0x3477c8=>{const _0x508323=_0x3d721c;if(_0x3477c8)this[_0x508323(0x23f)]['error'](_0x3477c8);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x46a8a1,_0x2903cf){const _0x281df9=a18_0x40d671,_0x79321=this;_0x79321['logger']['info'](_0x281df9(0x1be),_0x46a8a1);if(!_0x79321[_0x281df9(0x1a5)]['allowExpressions']&&(_0x46a8a1[_0x281df9(0x1c9)]||_0x46a8a1['expressions'])){_0x79321[_0x281df9(0x23f)][_0x281df9(0x1b6)](utils_1['errors'][_0x281df9(0x1d1)][_0x281df9(0x1d7)]||''),_0x46a8a1[_0x281df9(0x222)]=new status_message_1[(_0x281df9(0x1d4))](status_message_1['StatusMessage'][_0x281df9(0x1f1)],utils_1['errors'][_0x281df9(0x1d1)],!![]),setImmediate(()=>{const _0x348fb4=_0x281df9;_0x2903cf(utils_1[_0x348fb4(0x241)][_0x348fb4(0x1d1)]);});return;}if((0x0,utils_1[_0x281df9(0x25b)])(process[_0x281df9(0x248)],_0x281df9(0x223))){const _0x3aa05a=utils_1[_0x281df9(0x241)][_0x281df9(0x1a8)];_0x79321[_0x281df9(0x23f)]['error'](_0x3aa05a),_0x46a8a1[_0x281df9(0x222)]=new status_message_1[(_0x281df9(0x1d4))](status_message_1[_0x281df9(0x1d4)][_0x281df9(0x1f1)],_0x3aa05a,!![]),setImmediate(()=>{_0x2903cf(_0x3aa05a);});return;}const _0x5e33c1=_0x46a8a1[_0x281df9(0x1dc)]?Number(_0x46a8a1[_0x281df9(0x1dc)][_0x281df9(0x1b5)]):Date[_0x281df9(0x196)]()/0x3e8,_0x364fbb=_0x46a8a1[_0x281df9(0x195)]||_0x79321['config']['breakpointExpirationSec'];_0x46a8a1[_0x281df9(0x185)]=_0x5e33c1+_0x364fbb,_0x46a8a1[_0x281df9(0x23a)]?.[_0x281df9(0x219)]&&(_0x46a8a1[_0x281df9(0x23a)][_0x281df9(0x219)]=path[_0x281df9(0x214)](_0x46a8a1['location'][_0x281df9(0x219)]),path['sep']===path[_0x281df9(0x20e)]['sep']&&(_0x46a8a1['location']['path']=_0x46a8a1['location'][_0x281df9(0x219)][_0x281df9(0x1c0)]('\x5c')[_0x281df9(0x22e)](path[_0x281df9(0x21d)]))),__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')[_0x281df9(0x193)](_0x46a8a1,_0x410e42=>{const _0x1be9c5=_0x281df9;if(_0x410e42){_0x2903cf(_0x410e42);return;}_0x79321[_0x1be9c5(0x23f)]['info']('\x09successfully\x20added\x20breakpoint',_0x46a8a1),_0x79321['activeBreakpointMap'][_0x46a8a1['id']]=_0x46a8a1,_0x46a8a1[_0x1be9c5(0x1b7)]===_0x1be9c5(0x19e)?__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')[_0x1be9c5(0x1f2)](_0x46a8a1,(_0x3c697a,_0xf2c8fa)=>{const _0x3f4c1f=_0x1be9c5,_0x1cdf1c=_0xf2c8fa[_0x3f4c1f(0x16a)](_0x464ddd=>__classPrivateFieldGet(_0x79321,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3f4c1f(0x1fa)](_0x79321,_0x464ddd)),_0x57b4bf=(0x0,format_1['format'])(_0x3c697a,_0x1cdf1c),_0x2199f2=_0x3f4c1f(0x1cf)+(__classPrivateFieldGet(_0x79321,_Debuglet_redactionManager,'f')?.[_0x3f4c1f(0x180)](_0x57b4bf)||_0x57b4bf),_0x8c1896=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3f4c1f(0x200)](_0x2199f2,_0x46a8a1['id']);if(_0x8c1896){const _0x49d368=_0x8c1896[_0x3f4c1f(0x218)],_0x4ea326=_0x8c1896[_0x3f4c1f(0x15a)];let _0x392b8e,_0x7d679d;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3f4c1f(0x242)]()&&!_0x4ea326&&(_0x392b8e=_0x3f4c1f(0x1cf)+_0x3c697a,_0x7d679d=_0x1cdf1c);_0x79321['pipingManager'][_0x3f4c1f(0x18e)](_0x79321[_0x3f4c1f(0x184)],_0x46a8a1['id'],_0x49d368,_0x46a8a1[_0x3f4c1f(0x251)],_0x392b8e,_0x7d679d);if(_0x4ea326)__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')?.[_0x3f4c1f(0x15f)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x593514=_0x3f4c1f;__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')?.[_0x593514(0x25a)](),__classPrivateFieldSet(_0x79321,_Debuglet_nextEnableTimeout,null,'f');},_0x79321[_0x3f4c1f(0x1a5)][_0x3f4c1f(0x20a)][_0x3f4c1f(0x17f)]*0x3e8),'f');else _0x49d368?.[_0x3f4c1f(0x259)]===0x0&&__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')?.[_0x3f4c1f(0x15f)]();}},()=>{return __classPrivateFieldGet(_0x79321,_Debuglet_completedBreakpointMap,'f')[_0x46a8a1['id']];},_0x2ba290=>{const _0x43e50a=_0x1be9c5;if(_0x2ba290){_0x79321[_0x43e50a(0x23f)][_0x43e50a(0x1b6)](_0x2ba290),_0x2903cf(_0x2ba290);return;}}):__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')[_0x1be9c5(0x16f)](_0x46a8a1,_0x499e60=>{const _0x52f3d1=_0x1be9c5;if(_0x499e60){setImmediate(()=>{const _0x4f5ea6=a18_0x5cd5;_0x79321['logger'][_0x4f5ea6(0x1b6)](_0x499e60),_0x2903cf(_0x499e60);});return;}_0x79321[_0x52f3d1(0x23f)][_0x52f3d1(0x1a1)](_0x52f3d1(0x1b2),_0x46a8a1),__classPrivateFieldGet(_0x79321,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x52f3d1(0x1fa)](_0x79321,_0x46a8a1,__classPrivateFieldGet(_0x79321,_Debuglet_v8debug,'f')['remainingHits'](_0x46a8a1['id'])<=0x0);}),__classPrivateFieldGet(_0x79321,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x1be9c5(0x1fa)](_0x79321,_0x46a8a1);}),this[_0x281df9(0x16c)](_0x281df9(0x249));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x58b68c,_0x5044e4,_0x572be4=!![]){const _0x420c54=a18_0x40d671,_0x5dcf4a=this;if(_0x58b68c[_0x420c54(0x222)]&&_0x58b68c[_0x420c54(0x222)][_0x420c54(0x165)]){let _0x5e185c=_0x58b68c[_0x420c54(0x222)]?.[_0x420c54(0x1d7)]?.[_0x420c54(0x176)]||'';_0x58b68c[_0x420c54(0x222)]?.[_0x420c54(0x1d7)]?.[_0x420c54(0x206)]&&(_0x5e185c+=':\x20'+_0x58b68c[_0x420c54(0x222)]?.['description']?.['parameters']['toString']()),_0x5dcf4a['logger'][_0x420c54(0x246)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x58b68c+_0x420c54(0x181)+_0x5e185c);}else _0x5dcf4a[_0x420c54(0x23f)][_0x420c54(0x1a1)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',_0x58b68c);_0x5044e4&&(__classPrivateFieldGet(_0x5dcf4a,_Debuglet_completedBreakpointMap,'f')[_0x58b68c['id']]=!![],__classPrivateFieldGet(_0x5dcf4a,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x420c54(0x1fa)](_0x5dcf4a,_0x58b68c,_0x572be4)),__classPrivateFieldGet(_0x5dcf4a,_Debuglet_controller,'f')[_0x420c54(0x210)](_0x5dcf4a[_0x420c54(0x184)],extend(!![],{},_0x58b68c));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x1997bb){const _0x38e818=a18_0x40d671,_0x411b17=this;_0x411b17['logger'][_0x38e818(0x1c2)](_0x38e818(0x21b)+_0x1997bb+'\x20accepted\x20by\x20agent');const _0x9b1166=extend(!![],{},_0x1997bb);_0x9b1166[_0x38e818(0x159)]=![],_0x9b1166[_0x38e818(0x222)]=new status_message_1[(_0x38e818(0x1d4))](status_message_1[_0x38e818(0x1d4)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(_0x411b17,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x411b17[_0x38e818(0x184)],_0x9b1166);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x18d211){const _0x43a532=a18_0x40d671,_0x62f2e=this;this['logger'][_0x43a532(0x1a1)](_0x43a532(0x24c),_0x18d211),__classPrivateFieldGet(_0x62f2e,_Debuglet_completedBreakpointMap,'f')[_0x18d211['id']]=!![],__classPrivateFieldGet(_0x62f2e,_Debuglet_controller,'f')[_0x43a532(0x210)](_0x62f2e[_0x43a532(0x184)],_0x18d211);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5c1d2b){const _0x5da7b=a18_0x40d671,_0x134008=this;_0x5c1d2b[_0x5da7b(0x228)](_0x1ba10f=>{const _0x2e2239=_0x5da7b;_0x134008[_0x2e2239(0x23f)][_0x2e2239(0x1a1)](_0x2e2239(0x17d),_0x1ba10f),__classPrivateFieldGet(_0x134008,_Debuglet_completedBreakpointMap,'f')[_0x1ba10f['id']]=!![],__classPrivateFieldGet(_0x134008,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2e2239(0x1fa)](_0x134008,_0x1ba10f,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x59f648=a18_0x40d671,_0x1ce77c=Date[_0x59f648(0x196)]()/0x3e8;return Object['values'](this['activeBreakpointMap'])[_0x59f648(0x21c)](_0x53a200=>_0x53a200[_0x59f648(0x185)]?_0x53a200[_0x59f648(0x185)]<_0x1ce77c:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x291a52){const _0x15e406=a18_0x40d671,_0x4835fd=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x291a52),_0x36bfd1=_0x4835fd['blacklist'],_0x355b47=_0x4835fd[_0x15e406(0x252)];_0x36bfd1&&_0x36bfd1[_0x15e406(0x259)]&&this[_0x15e406(0x23f)]['debug']('Blacklist:\x20\x0a\x09',_0x36bfd1['join']('\x0a\x09')),_0x355b47&&_0x355b47[_0x15e406(0x259)]&&this[_0x15e406(0x23f)]['debug'](_0x15e406(0x235),_0x355b47[_0x15e406(0x22e)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x15e406(0x16e))](_0x36bfd1,_0x355b47,this[_0x15e406(0x1a5)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x54b75e){const _0x5bfd24=a18_0x40d671,_0x10279a=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5bfd24(0x202)](_0x54b75e);_0x10279a?.['length']&&this[_0x5bfd24(0x23f)][_0x5bfd24(0x1c2)](_0x5bfd24(0x1b4),_0x10279a[_0x5bfd24(0x16a)](_0x114b7d=>'name:\x20'+_0x114b7d['name']+_0x5bfd24(0x1b9)+_0x114b7d[_0x5bfd24(0x1ba)]+_0x5bfd24(0x24e)+_0x114b7d['pattern']+'\x20caseInsensitive:\x20'+_0x114b7d[_0x5bfd24(0x22b)])[_0x5bfd24(0x22e)]('\x0a\x09'));if((0x0,utils_1[_0x5bfd24(0x25b)])(process['version'],_0x5bfd24(0x19d))){const {RedactionManagerRE2JS:_0x655a97}=await Promise['resolve']()['then'](()=>require(_0x5bfd24(0x1bb)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x655a97(this[_0x5bfd24(0x23f)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5bfd24(0x24d)](_0x10279a);}},_Debuglet_stringify=function _Debuglet_stringify(_0x1da14f){const _0x8920c8=a18_0x40d671;if(!_0x1da14f)return JSON[_0x8920c8(0x19c)](_0x1da14f,(_0x152186,_0x5d8d36)=>_0x5d8d36===undefined?_0x8920c8(0x179):_0x5d8d36);if(Array[_0x8920c8(0x1d0)](_0x1da14f)){const _0x29be9e=[];for(const _0x492f3c of _0x1da14f){_0x29be9e[_0x8920c8(0x18a)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x8920c8(0x1fa)](this,_0x492f3c));}return'['+_0x29be9e[_0x8920c8(0x22e)](',\x20')+']';}if(typeof _0x1da14f==='object'){const _0x1d9716=Object['entries'](_0x1da14f)[_0x8920c8(0x16a)](([_0x56e315,_0x2c8e71])=>{const _0x475751=_0x8920c8,_0x55dddc=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x56e315)?redaction_manager_1[_0x475751(0x1a9)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x2c8e71);return JSON[_0x475751(0x19c)](_0x56e315)+':\x20'+_0x55dddc;})[_0x8920c8(0x22e)](',\x20');return'{'+_0x1d9716+'}';}return JSON[_0x8920c8(0x19c)](_0x1da14f);});
|
|
1
|
+
const a18_0x5afa7b=a18_0x2503;(function(_0xe40ab6,_0xf8eddb){const _0x4d1ba3=a18_0x2503,_0x482922=_0xe40ab6();while(!![]){try{const _0x4bfe75=parseInt(_0x4d1ba3(0xa8))/0x1+parseInt(_0x4d1ba3(0x162))/0x2*(parseInt(_0x4d1ba3(0x130))/0x3)+-parseInt(_0x4d1ba3(0x11f))/0x4+-parseInt(_0x4d1ba3(0xd9))/0x5+-parseInt(_0x4d1ba3(0xab))/0x6+parseInt(_0x4d1ba3(0x19d))/0x7+-parseInt(_0x4d1ba3(0x17c))/0x8*(parseInt(_0x4d1ba3(0xc8))/0x9);if(_0x4bfe75===_0xf8eddb)break;else _0x482922['push'](_0x482922['shift']());}catch(_0xee618b){_0x482922['push'](_0x482922['shift']());}}}(a18_0x2399,0x70688));const a18_0x39a171=(function(){let _0x4a91f9=!![];return function(_0x477c2f,_0x2abaf5){const _0x4f5f44=_0x4a91f9?function(){const _0x4d760c=a18_0x2503;if(_0x2abaf5){const _0x2c6190=_0x2abaf5[_0x4d760c(0x126)](_0x477c2f,arguments);return _0x2abaf5=null,_0x2c6190;}}:function(){};return _0x4a91f9=![],_0x4f5f44;};}()),a18_0x3d4636=a18_0x39a171(this,function(){const _0x34e47c=a18_0x2503;return a18_0x3d4636['toString']()[_0x34e47c(0xdb)](_0x34e47c(0x128))[_0x34e47c(0x145)]()[_0x34e47c(0x106)](a18_0x3d4636)[_0x34e47c(0xdb)](_0x34e47c(0x128));});a18_0x3d4636();'use strict';var __classPrivateFieldSet=this&&this[a18_0x5afa7b(0xce)]||function(_0x2d78df,_0x3b8f54,_0x54ad88,_0x339e36,_0x236665){const _0x2e1cd9=a18_0x5afa7b;if(_0x339e36==='m')throw new TypeError(_0x2e1cd9(0x10f));if(_0x339e36==='a'&&!_0x236665)throw new TypeError(_0x2e1cd9(0xad));if(typeof _0x3b8f54===_0x2e1cd9(0x16b)?_0x2d78df!==_0x3b8f54||!_0x236665:!_0x3b8f54[_0x2e1cd9(0xde)](_0x2d78df))throw new TypeError(_0x2e1cd9(0x16a));return _0x339e36==='a'?_0x236665['call'](_0x2d78df,_0x54ad88):_0x236665?_0x236665[_0x2e1cd9(0xd5)]=_0x54ad88:_0x3b8f54['set'](_0x2d78df,_0x54ad88),_0x54ad88;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x3b3aa2,_0x366793,_0x2abe45,_0x5378f5){const _0x6319de=a18_0x5afa7b;if(_0x2abe45==='a'&&!_0x5378f5)throw new TypeError(_0x6319de(0xf3));if(typeof _0x366793===_0x6319de(0x16b)?_0x3b3aa2!==_0x366793||!_0x5378f5:!_0x366793['has'](_0x3b3aa2))throw new TypeError(_0x6319de(0x185));return _0x2abe45==='m'?_0x5378f5:_0x2abe45==='a'?_0x5378f5[_0x6319de(0x182)](_0x3b3aa2):_0x5378f5?_0x5378f5[_0x6319de(0xd5)]:_0x366793[_0x6319de(0x13e)](_0x3b3aa2);},_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;function a18_0x2503(_0x44024e,_0x2d09a3){const _0xf10038=a18_0x2399();return a18_0x2503=function(_0x3d4636,_0x39a171){_0x3d4636=_0x3d4636-0x9d;let _0x23995f=_0xf10038[_0x3d4636];return _0x23995f;},a18_0x2503(_0x44024e,_0x2d09a3);}function a18_0x2399(){const _0x387a03=['\x20completed.','isFinalState','name:\x20','name','blacklist','debuggee','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','\x20to\x20','.\x20message:\x20','fetcherActive','existsSync','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','then','javascriptFileExtensions','isDisabled','split','posix','parameters','quota','readFullVersion','stdErrThreshold','AGENT_LOG_FILE','GAE-','waitExpired','SIGTERM','format','Scanner','Error\x20scanning\x20the\x20filesystem.','./agent-logger','condition','constructor','hash','Blacklist:\x20\x0a\x09','Redactions:\x20\x0a\x09','NOT_SET','__esModule','CachedPromise','breakpoint_set','agentLog','Private\x20method\x20is\x20not\x20writable','expirationTime','\x0a\x09condition:\x20','push','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','config','./debuglet-helpers/mapSubtract','satisfies','mapFiles','version','unref','setBlocklistManager','setLevel','isRunning','removeBreakpoint','agentLogLevel','1240332SeMiBJ','map','.\x20Error:\x20','Malformed\x20source-context.json\x20file:\x20','debug','util','once','apply','concat','(((.+)+)+)+$','log','getLevel','description','type','ignoreQuota','Registering\x20debuggee','create','46518LtcTpF','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','resolve','remotelyDisabled','register','breakpoints_fetched','ALLOW_EXPRESSIONS_MESSAGE','warn','./io/sourcemapper','\x20because\x20','EventEmitter','./reduction/redaction-manager','findFiles','extend','get','allowRootAsWorkingDirectory','path','./io/file-index','breakpoints','initError','undefined','toString','LOGPOINT:\x20','length','normalize','Server\x20breakpoints:\x0a','expressions','caseInsensitive','Disabled\x20by\x20the\x20server','enqueueBreakpointUpdate','start','status','getBlocklist','emit','.\x20Retrying\x20in\x20','join','filename','started','seconds','Failed\x20to\x20re-register\x20debuggee\x20','mapSubtract','createTime','collectAndSendLog','now','logLevel','breakpointExpirationSec','Debuglet\x20not\x20running','./configuration-provider','collectLogRequestId','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','106kJVpse','selectStats','inspect','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','./config','logger','promiseResolve','packageInfo','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','function','expirationSeconds','LOG','Found\x20breakpoint\x20with\x20invalid\x20action:','add','Unknown\x20agentLogLevel\x20','createLogger','addAndPipeLog','isReadyManager','SIGQUIT','isError','agentLogTargetDir','maxRequestRetryDelaySeconds','location','defineProperty','BREAKPOINT_ACTION_MESSAGE','isArray','1578648yyBobH','events','Active\x20Breakpoints:\x20\x0a','\x09adding\x20breakpoint','stringify','sourceContext','call','blacklist_exception','Working\x20directory:\x20','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','ConfigurationProvider','bind','internal','Initializing\x20Node.js\x20agent\x20version:\x20','assert','sep','env','Registered\x20as\x20debuggee:\x20','all','filter','GAE_MINOR_VERSION','EnvironmentMetadata','PatternsBlocklistManager','debuglet','SIGINT','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','js.map','message','rejecting\x20breakpoint','normalizeConfig','source-context.json','UNSPECIFIED','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','3174612uFYFPN','sendAgentLogsToServer','pipingStatus','Switching\x20globalPiping\x20status\x20from\x20','./reduction/redaction-manager-re2js','info','cwd','default','prettyError','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','./debuglet-helpers/createDebuggee','setPatterns','pipingManager','enable','pipeLogs','REDACTED_PLACEHOLDER','pattern','718849sKYXaU','./controller','APP_ONLY','4862850ZMLFXL','FileIndex','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','Unique\x20ID\x20for\x20this\x20Application:\x20','\x20caseInsensitive:\x20','Blacklist\x20Exceptions:\x20\x0a\x09','promise','DEBUG','scan','forEach','set','Debuglet','readFile','\x09Notifying\x20server\x20about\x20error\x20for\x20','Fetching\x20breakpoints','redactionEnabled','workingDirectory','action','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','fetchBreakpointsOnce','mainModule','kill','setPipingStatus','../types/stackdriver','logMainConfigParams','\x0a\x09createdTime:\x20','disable','isReady','extraPaths','18BnlltD','setIgnoreQuota','parse','getSourceContextFromFile','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','setCustomLogLevel','__classPrivateFieldSet','StatusMessage','error','globalPipingStatus','quotaRecoverySeconds','stop','./v8/debugapi','value','breakpointUpdateIntervalSec','Breakpoint\x20hit!:\x20','NODE_VERSION_MESSAGE','92695ihntgh','replace','search','object','listBreakpoints','has','Stopping\x20Debuglet','selectFiles','errors','isRedactionActive','activeBreakpointMap','backoff','isOutOfQuota','entries','deregister'];a18_0x2399=function(){return _0x387a03;};return a18_0x2399();}Object[a18_0x5afa7b(0x179)](exports,a18_0x5afa7b(0x10b),{'value':!![]}),exports[a18_0x5afa7b(0xb6)]=exports['CachedPromise']=void 0x0;const assert=require(a18_0x5afa7b(0x18a)),events_1=require(a18_0x5afa7b(0x17d)),extend=require(a18_0x5afa7b(0x13d)),fs=require('fs'),path=require(a18_0x5afa7b(0x140)),util=require(a18_0x5afa7b(0x124)),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a18_0x5afa7b(0xc2)),agent_logger_1=require(a18_0x5afa7b(0x104)),config_1=require(a18_0x5afa7b(0x166)),controller_1=require(a18_0x5afa7b(0xa9)),SourceMapper=require(a18_0x5afa7b(0x138)),debugapi=require(a18_0x5afa7b(0xd4)),piping_manager_1=require('./piping-manager'),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),scanner_1=require('./io/scanner'),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x5afa7b(0x141)),utils_1=require('./util/utils'),redaction_manager_1=require(a18_0x5afa7b(0x13b)),configuration_provider_1=require(a18_0x5afa7b(0x15f)),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),mapSubtract_1=require(a18_0x5afa7b(0x115)),format_1=require('./debuglet-helpers/format'),createDebuggee_1=require(a18_0x5afa7b(0xa1)),readFilep=util['promisify'](fs[a18_0x5afa7b(0xb7)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x109c27,_0x427724)=>{const _0x57c0b9=a18_0x5afa7b;let _0x3e10ba=_0x109c27+util[_0x57c0b9(0x101)](_0x57c0b9(0xbd),_0x427724['id'],_0x427724[_0x57c0b9(0xbc)],util[_0x57c0b9(0x164)](_0x427724[_0x57c0b9(0x178)]));if(_0x427724[_0x57c0b9(0x159)]){const _0x48d4eb=Number(_0x427724[_0x57c0b9(0x159)][_0x57c0b9(0x156)]),_0xd9c5d1=new Date(_0x48d4eb*0x3e8);_0x3e10ba+=_0x57c0b9(0xc4)+_0xd9c5d1['toString']();}return _0x427724[_0x57c0b9(0x105)]&&(_0x3e10ba+=_0x57c0b9(0x111)+util[_0x57c0b9(0x164)](_0x427724[_0x57c0b9(0x105)])),_0x427724[_0x57c0b9(0x14a)]&&(_0x3e10ba+='\x0a\x09expressions:\x20'+util['inspect'](_0x427724[_0x57c0b9(0x14a)])),_0x3e10ba;},formatBreakpoints=(_0x31f297,_0x3d4eb8)=>{const _0x4d06c9=a18_0x5afa7b;return _0x31f297+Object['keys'](_0x3d4eb8)['map'](_0x2dea84=>{return formatBreakpoint('',_0x3d4eb8[_0x2dea84]);})[_0x4d06c9(0x153)]('\x0a');};class CachedPromise{constructor(){const _0x5efaf0=a18_0x5afa7b;this[_0x5efaf0(0x168)]=null,this[_0x5efaf0(0xb1)]=new Promise(_0x55c4e4=>{const _0x4c89c2=_0x5efaf0;this[_0x4c89c2(0x168)]=_0x55c4e4;});}[a18_0x5afa7b(0x13e)](){const _0x149228=a18_0x5afa7b;return this[_0x149228(0xb1)];}['resolve'](){const _0x5d412c=a18_0x5afa7b;this[_0x5d412c(0x168)]&&(this['promiseResolve'](),this[_0x5d412c(0x168)]=null);}}exports[a18_0x5afa7b(0x10c)]=CachedPromise;class IsReadyImpl{constructor(_0x4ee2a1){const _0x16fa01=a18_0x5afa7b;this[_0x16fa01(0x193)]=_0x4ee2a1;}[a18_0x5afa7b(0xc6)](){const _0x22831c=a18_0x5afa7b;return this[_0x22831c(0x193)][_0x22831c(0xc6)]();}}class Debuglet extends events_1[a18_0x5afa7b(0x13a)]{constructor(_0x19386d,_0x56ea55){const _0x1e212b=a18_0x5afa7b;super(),_Debuglet_instances[_0x1e212b(0x16f)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x1e212b(0xb5)](this,void 0x0),_Debuglet_running[_0x1e212b(0xb5)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0x1e212b(0xb5)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x1e212b(0xb5)](this,void 0x0),_Debuglet_breakpointFetched[_0x1e212b(0xb5)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x1e212b(0xb5)](this,null),this[_0x1e212b(0x173)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x1e212b(0xb5)](this,void 0x0),_Debuglet_scanner[_0x1e212b(0xb5)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x1e212b(0xb5)](this,void 0x0),_Debuglet_configProvider[_0x1e212b(0xb5)](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x1e212b(0x199)])(_0x56ea55),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x1e212b(0x186))](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x19386d,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1e212b(0xf1)]=![],this['logger']=agent_logger_1['default'][_0x1e212b(0x171)](this['config'][_0x1e212b(0x10e)][_0x1e212b(0x176)],this[_0x1e212b(0x114)][_0x1e212b(0x10e)]['agentLogMaxFileSizeMb'],this[_0x1e212b(0x114)]['agentLog']['agentLogMaxFileCount'],this[_0x1e212b(0x114)][_0x1e212b(0x10e)]['agentLogLevel'],this[_0x1e212b(0x114)][_0x1e212b(0x10e)][_0x1e212b(0xfc)]),(0x0,config_1[_0x1e212b(0xc3)])(this[_0x1e212b(0x114)],this[_0x1e212b(0x167)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x1e212b(0x191))](this[_0x1e212b(0x167)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x1e212b(0x114)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x1e212b(0x102))](this[_0x1e212b(0x167)]),'f'),this['debuggee']=null,this['activeBreakpointMap']={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1['QuotaManager'](this[_0x1e212b(0x167)],this[_0x1e212b(0x114)]),'f'),this[_0x1e212b(0xa3)]=new piping_manager_1['PipingManager'](_0x1e212b(0xaa),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a18_0x5afa7b(0x13c)](_0x1cf394,_0x57c616){const _0x42057c=a18_0x5afa7b,_0x3b54f5=_0x1cf394[_0x42057c(0xbb)],_0x11071d=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x42057c(0xb3)](_0x3b54f5,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x42057c(0x182)](_a,_0x1cf394[_0x42057c(0xf5)][_0x42057c(0x127)](_0x42057c(0x196))),_0x57c616,_0x1cf394[_0x42057c(0xc7)]),_0x334a36=_0x11071d[_0x42057c(0x163)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x42057c(0x182)](_a,_0x1cf394['javascriptFileExtensions'])),_0x5a8be8=file_index_1[_0x42057c(0xac)]['fromFileStats'](_0x334a36),_0x238e2d=_0x11071d[_0x42057c(0xe0)](/.js.map$/,process[_0x42057c(0x9d)]()),_0x1ccee2=_0x11071d[_0x42057c(0xe1)]();return{'mapFiles':_0x238e2d,'errors':_0x1ccee2,'jsFileIndex':_0x5a8be8,'hash':_0x11071d[_0x42057c(0x107)]};}async[a18_0x5afa7b(0x14e)](){const _0x23e382=a18_0x5afa7b,_0x5ad612=this,_0x5be6b0=_0x5ad612[_0x23e382(0x114)][_0x23e382(0xbb)];if(!_0x5ad612['config'][_0x23e382(0x13f)]&&path['join'](_0x5be6b0,'..')===_0x5be6b0){const _0x1ef277=_0x23e382(0x113)+_0x23e382(0x165)+_0x23e382(0xa0)+'do\x20this.';_0x5ad612[_0x23e382(0x167)][_0x23e382(0xd0)](_0x1ef277),_0x5ad612[_0x23e382(0x151)](_0x23e382(0x143),new Error(_0x1ef277));return;}let _0xc15950;process[_0x23e382(0x18c)][_0x23e382(0x190)]&&(_0xc15950=_0x23e382(0xfe)+process[_0x23e382(0x18c)][_0x23e382(0x190)]);let _0x2b9c96,_0x4adee7=_0xc15950||'';try{_0x2b9c96=await this[_0x23e382(0x13c)](_0x5ad612[_0x23e382(0x114)],_0xc15950),_0x2b9c96[_0x23e382(0xe1)][_0x23e382(0xb4)](_0x5ad612[_0x23e382(0x167)][_0x23e382(0x137)]);}catch(_0xd5826){_0x5ad612[_0x23e382(0x167)][_0x23e382(0xd0)](_0x23e382(0x103),_0xd5826),_0x5ad612[_0x23e382(0x151)](_0x23e382(0x143),_0xd5826);return;}try{const _0x1fd549=await SourceMapper[_0x23e382(0x12f)](_0x5ad612[_0x23e382(0x167)],_0x2b9c96[_0x23e382(0x117)],_0x5ad612[_0x23e382(0x114)]['internal']?.['sourceMapDiagnostics']);__classPrivateFieldSet(_0x5ad612,_Debuglet_v8debug,debugapi[_0x23e382(0x12f)](_0x5ad612[_0x23e382(0x167)],_0x5ad612['config'],_0x2b9c96['jsFileIndex'],_0x1fd549,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x4adee7=_0xc15950||_0x2b9c96[_0x23e382(0x107)];}catch(_0x583613){_0x5ad612['logger']['error']('Error\x20processing\x20the\x20sourcemaps.',_0x583613),_0x5ad612['logger']['info'](JSON['stringify'](_0x583613)),_0x5ad612[_0x23e382(0x151)](_0x23e382(0x143),_0x583613);}_0x5ad612[_0x23e382(0x167)][_0x23e382(0x1a2)](_0x23e382(0xae)+_0x4adee7);const _0x417a10=(0x0,utils_1[_0x23e382(0xfb)])(_0x5ad612['logger'])[_0x23e382(0xda)]('\x0a','');_0x5ad612[_0x23e382(0x167)][_0x23e382(0x1a2)](_0x23e382(0x189)+_0x417a10);let _0x4efc8b;try{_0x4efc8b=_0x5ad612['config'][_0x23e382(0x181)]||await _a[_0x23e382(0xcb)]();}catch(_0x4f9d0b){}_0x5ad612[_0x23e382(0x167)][_0x23e382(0x1a2)](_0x23e382(0x195)+process[_0x23e382(0xbf)]?.[_0x23e382(0x154)]),_0x5ad612['logger'][_0x23e382(0x123)](_0x23e382(0x184)+_0x5be6b0),_0x5ad612[_0x23e382(0x167)][_0x23e382(0x123)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x5ad612,_Debuglet_running,!![],'f'),_0x5ad612[_0x23e382(0xed)]=(0x0,createDebuggee_1['createDebuggee'])(_0x4adee7,_0x5ad612[_0x23e382(0x114)],_0x4efc8b,__classPrivateFieldGet(_0x5ad612,_Debuglet_debug,'f')[_0x23e382(0x169)],_0x417a10,_0x5ad612[_0x23e382(0x167)],__classPrivateFieldGet(_0x5ad612,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x5ad612,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x23e382(0x182)](_0x5ad612),__classPrivateFieldGet(_0x5ad612,_Debuglet_instances,'m',_Debuglet_register_)[_0x23e382(0x182)](_0x5ad612),_0x5ad612[_0x23e382(0x151)](_0x23e382(0x155));}[a18_0x5afa7b(0xc6)](){const _0x4ba9f8=a18_0x5afa7b;if(Date[_0x4ba9f8(0x15b)]()<__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')[_0x4ba9f8(0x13e)]()[_0x4ba9f8(0xf4)](()=>{const _0x2aa9b8=_0x4ba9f8;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2aa9b8(0x182)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4ba9f8(0x13e)]();}}static async['getSourceContextFromFile'](){const _0x2badd4=a18_0x5afa7b,_0x22477d=await readFilep(_0x2badd4(0x19a),'utf8');try{return JSON[_0x2badd4(0xca)](_0x22477d);}catch(_0x36739e){throw new Error(_0x2badd4(0x122)+_0x36739e);}}[a18_0x5afa7b(0x11c)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x5afa7b(0xd3)](){const _0x3e4a27=a18_0x5afa7b;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x3e4a27(0x167)]['debug']('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0x3e4a27(0x167)]['debug'](_0x3e4a27(0xdf)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x3e4a27(0xd3)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x3e4a27(0x151)]('stopped');}[a18_0x5afa7b(0xcd)](_0x1a8e8f){const _0x149d9a=a18_0x5afa7b,_0x4d9670=this['logger']['getInitialLevel']();if(_0x4d9670==='debug')return;switch(_0x1a8e8f){case _0x149d9a(0xb2):this['logger'][_0x149d9a(0x12a)]()!==_0x149d9a(0x123)&&(this[_0x149d9a(0x167)][_0x149d9a(0x11b)](_0x149d9a(0x123)),this['logger'][_0x149d9a(0x123)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG'));break;case _0x149d9a(0x10a):case undefined:this[_0x149d9a(0x167)][_0x149d9a(0x12a)]()===_0x149d9a(0x123)&&(this[_0x149d9a(0x167)][_0x149d9a(0x11b)](_0x4d9670),this['logger'][_0x149d9a(0x1a2)](_0x149d9a(0x131)+_0x4d9670+')'));break;default:this[_0x149d9a(0x167)][_0x149d9a(0x137)](_0x149d9a(0x170)+_0x1a8e8f);}}}exports['Debuglet']=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x2dafc1){const _0x1d324f=a18_0x5afa7b;return new RegExp(_0x2dafc1[_0x1d324f(0x120)](_0x15125c=>_0x15125c+'$')[_0x1d324f(0x153)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x4ebd5e=a18_0x5afa7b,_0x46ae81=[_0x4ebd5e(0x100),_0x4ebd5e(0x194),_0x4ebd5e(0x174)];_0x46ae81['forEach'](_0x1a0f97=>{process['once'](_0x1a0f97,()=>{const _0x59e9c1=a18_0x2503;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x59e9c1(0xed)],()=>{const _0x2bacb2=_0x59e9c1;process[_0x2bacb2(0xc0)](process['pid'],_0x1a0f97);});});}),process[_0x4ebd5e(0x125)]('beforeExit',()=>{const _0x111c90=_0x4ebd5e;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x111c90(0xe7)](this[_0x111c90(0xed)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x516088=a18_0x5afa7b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x516088(0x182)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x2b8245){const _0x3ea4d1=a18_0x5afa7b,_0x52aab0=this;_0x52aab0[_0x3ea4d1(0x167)][_0x3ea4d1(0x123)](_0x2b8245?'Scheduling\x20registration\x20in\x20'+_0x2b8245+'s':_0x3ea4d1(0x12e));function _0x583eae(_0x515408,_0x42aefd,_0xe3ebb1=![]){const _0x5c7757=_0x3ea4d1,_0x15d540=_0x52aab0[_0x5c7757(0xed)]?.['id']?_0x5c7757(0x157)+_0x52aab0[_0x5c7757(0xed)]?.['id']+':\x20'+(0x0,utils_1['prettyError'])(_0x515408):'Failed\x20to\x20register\x20debuggee:\x20'+(0x0,utils_1[_0x5c7757(0x9f)])(_0x515408);_0x52aab0[_0x5c7757(0x167)][_0x5c7757(0xd0)](_0x15d540),_0x42aefd&&!_0xe3ebb1&&_0x52aab0['logger'][_0x5c7757(0xd0)]('Result:\x20\x0a',_0x42aefd),__classPrivateFieldGet(_0x52aab0,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x5c7757(0x182)](_0x52aab0,(0x0,utils_1[_0x5c7757(0xe4)])(_0x2b8245,_0x52aab0[_0x5c7757(0x114)][_0x5c7757(0x188)][_0x5c7757(0x177)]));}setTimeout(()=>{const _0x20fff3=_0x3ea4d1;if(!__classPrivateFieldGet(_0x52aab0,_Debuglet_running,'f')){_0x583eae(new Error(_0x20fff3(0x15e)));return;}__classPrivateFieldGet(_0x52aab0,_Debuglet_controller,'f')[_0x20fff3(0x134)](_0x52aab0[_0x20fff3(0xed)],(_0x48045c,_0x5a3c9e,_0x269ae6=![])=>{const _0x81a442=_0x20fff3;if(_0x48045c){_0x583eae(_0x48045c,_0x5a3c9e,_0x269ae6);return;}if(_0x5a3c9e[_0x81a442(0xed)][_0x81a442(0xf6)]){_0x583eae(new Error(_0x81a442(0x14c))),_0x52aab0[_0x81a442(0x151)](_0x81a442(0x133));return;}const _0x24d561=_0x5a3c9e['debuggee']['id'];_0x52aab0[_0x81a442(0x167)][_0x81a442(0x1a2)](_0x81a442(0x18d)+_0x24d561),_0x52aab0['debuggee']['id']=_0x24d561;const _0x29858c=[__classPrivateFieldGet(_0x52aab0,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x81a442(0x187)](_0x52aab0)(_0x52aab0[_0x81a442(0xed)]['id'])];_0x52aab0[_0x81a442(0x114)][_0x81a442(0xba)]&&_0x29858c['push'](__classPrivateFieldGet(_0x52aab0,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x52aab0)(_0x52aab0[_0x81a442(0xed)]['id'])),Promise[_0x81a442(0x18e)](_0x29858c)[_0x81a442(0xf4)](()=>{const _0x26a0fa=_0x81a442;_0x52aab0['emit']('registered',_0x24d561),__classPrivateFieldGet(_0x52aab0,_Debuglet_debuggeeRegistered,'f')[_0x26a0fa(0x132)](),__classPrivateFieldGet(_0x52aab0,_Debuglet_v8debug,'f')?.[_0x26a0fa(0x11a)](__classPrivateFieldGet(_0x52aab0,_Debuglet_blocklistManager,'f')),!_0x52aab0[_0x26a0fa(0xf1)]&&__classPrivateFieldGet(_0x52aab0,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x52aab0,0x0,this['config'][_0x26a0fa(0xbe)],_0x5a3c9e?.['clientConnectionTimeoutInSeconds']);},_0x59f6f7=>{_0x583eae(_0x59f6f7);});});},_0x2b8245*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x55cdc5,_0x5b3609,_0x42efbd){const _0x5c95fc=a18_0x5afa7b,_0x5bbf6c=this;!_0x5b3609&&(_0x5bbf6c['fetcherActive']=!![]),setTimeout(()=>{const _0xda4fd6=a18_0x2503;if(!__classPrivateFieldGet(_0x5bbf6c,_Debuglet_running,'f'))return;!_0x5b3609&&assert(_0x5bbf6c['fetcherActive']),_0x5bbf6c[_0xda4fd6(0x167)][_0xda4fd6(0x123)](_0xda4fd6(0xb9)),__classPrivateFieldGet(_0x5bbf6c,_Debuglet_controller,'f')[_0xda4fd6(0xdd)](_0x5bbf6c[_0xda4fd6(0xed)],(_0x5a9f8c,_0xd97ae9,_0x72bbd)=>{const _0xd28efe=_0xda4fd6;if(_0xd97ae9?.[_0xd28efe(0x14f)]===0x194){_0x5bbf6c[_0xd28efe(0x167)]['info']('Debuggee\x20is\x20not\x20registered'),_0x5bbf6c[_0xd28efe(0xf1)]=![],__classPrivateFieldGet(_0x5bbf6c,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](_0x5bbf6c),__classPrivateFieldGet(_0x5bbf6c,_Debuglet_instances,'m',_Debuglet_register_)[_0xd28efe(0x182)](_0x5bbf6c);return;}if(_0x5a9f8c){const _0xbce05a=(0x0,utils_1[_0xd28efe(0xe4)])(_0x55cdc5,_0x5bbf6c[_0xd28efe(0x114)][_0xd28efe(0x188)][_0xd28efe(0x177)]);_0x5bbf6c[_0xd28efe(0x167)]['error']('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0xd97ae9?.['status']+_0xd28efe(0xf0)+_0x5a9f8c[_0xd28efe(0x197)]+_0xd28efe(0x152)+_0xbce05a+'s'),__classPrivateFieldGet(_0x5bbf6c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xd28efe(0x182)](_0x5bbf6c,_0xbce05a,_0x5b3609,_0x42efbd);return;}_0x5bbf6c[_0xd28efe(0x167)]['debug']('\x09'+_0xd97ae9[_0xd28efe(0x14f)]+_0xd28efe(0xe8));if(!_0x72bbd){const _0x309a5f=_0x5bbf6c[_0xd28efe(0x114)][_0xd28efe(0xd6)];_0x5bbf6c['logger'][_0xd28efe(0xd0)](_0xd28efe(0xcc)+_0x309a5f+'s'),__classPrivateFieldGet(_0x5bbf6c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xd28efe(0x182)](_0x5bbf6c,_0x309a5f,_0x5b3609,_0x42efbd);return;}this[_0xd28efe(0xcd)](_0x72bbd[_0xd28efe(0x11e)]);if(_0x72bbd[_0xd28efe(0xff)]){_0x5bbf6c[_0xd28efe(0x167)][_0xd28efe(0x1a2)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(_0x5bbf6c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xd28efe(0x182)](_0x5bbf6c,0x0,_0x5b3609,_0x42efbd);return;}if(_0x72bbd[_0xd28efe(0xa5)]&&_0x72bbd[_0xd28efe(0xa5)]!==_0xd28efe(0x10a)){const _0x4d0d9a=this['pipingManager'][_0xd28efe(0xd1)];_0x4d0d9a!==_0x72bbd['pipeLogs']&&(this[_0xd28efe(0x167)][_0xd28efe(0x123)](_0xd28efe(0x1a0)+_0x4d0d9a+_0xd28efe(0xef)+_0x72bbd[_0xd28efe(0xa5)]),this[_0xd28efe(0xa3)]['globalPipingStatus']=_0x72bbd['pipeLogs']);}if(_0x72bbd[_0xd28efe(0x15a)]&&_0x72bbd[_0xd28efe(0x160)]!==_0x5bbf6c[_0xd28efe(0x160)]){_0x5bbf6c[_0xd28efe(0x160)]=_0x72bbd[_0xd28efe(0x160)];const _0x22635e=_0x5bbf6c[_0xd28efe(0x114)][_0xd28efe(0x10e)]['agentLogTargetDir']&&path[_0xd28efe(0x153)](_0x5bbf6c[_0xd28efe(0x114)][_0xd28efe(0x10e)][_0xd28efe(0x176)],agent_logger_1[_0xd28efe(0x9e)][_0xd28efe(0xfd)]);_0x22635e&&fs[_0xd28efe(0xf2)](_0x22635e)?setTimeout(()=>__classPrivateFieldGet(_0x5bbf6c,_Debuglet_controller,'f')[_0xd28efe(0x19e)](_0x5bbf6c['debuggee'],_0x72bbd['collectLogRequestId'],_0x22635e)):_0x5bbf6c['logger']['info'](_0xd28efe(0x161)+_0x72bbd[_0xd28efe(0x160)]+_0xd28efe(0x139)+_0xd28efe(0x19c));}const _0xc35595=(_0x72bbd[_0xd28efe(0x142)]||[])[_0xd28efe(0x120)](_0x5b2a84=>new stackdriver_1['Breakpoint'](_0x5b2a84))[_0xd28efe(0x18f)](_0x293420=>{const _0x537c56=_0xd28efe,_0xbc2b5d=_0x293420['action']||'CAPTURE';if(__classPrivateFieldGet(_0x5bbf6c,_Debuglet_completedBreakpointMap,'f')[_0x293420['id']])return![];if(_0xbc2b5d!=='CAPTURE'&&_0xbc2b5d!==_0x537c56(0x16d))return _0x5bbf6c['logger'][_0x537c56(0x137)](_0x537c56(0x16e),_0xbc2b5d),_0x293420[_0x537c56(0x14f)]=new status_message_1[(_0x537c56(0xcf))](status_message_1[_0x537c56(0xcf)][_0x537c56(0x19b)],utils_1['errors'][_0x537c56(0x17a)],!![]),__classPrivateFieldGet(_0x5bbf6c,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x537c56(0x182)](_0x5bbf6c,_0x293420),![];return!![];}),_0x16cf12=__classPrivateFieldGet(_0x5bbf6c,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0xd28efe(0x182)](_0x5bbf6c);let _0x280a52=_0x16cf12[_0xd28efe(0x147)]>0x0;__classPrivateFieldGet(_0x5bbf6c,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0xd28efe(0x182)](_0x5bbf6c,_0x16cf12),_0x280a52=_0x280a52||__classPrivateFieldGet(_0x5bbf6c,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0xd28efe(0x182)](_0x5bbf6c,_0xc35595),_0x5bbf6c['emit'](_0xd28efe(0x135),_0xc35595[_0xd28efe(0x147)]);_0x280a52&&_0x5bbf6c[_0xd28efe(0x167)][_0xd28efe(0x123)](formatBreakpoints(_0xd28efe(0x17e),_0x5bbf6c[_0xd28efe(0xe3)]));__classPrivateFieldSet(_0x5bbf6c,_Debuglet_breakpointFetchedTimestamp,Date[_0xd28efe(0x15b)](),'f');_0x5b3609?__classPrivateFieldGet(_0x5bbf6c,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x5bbf6c,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(_0x5bbf6c,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x5bbf6c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xd28efe(0x182)](_0x5bbf6c,0x0,_0x5b3609,_0x42efbd);return;},_0x42efbd);},_0x55cdc5*0x3e8)[_0x5c95fc(0x119)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x557245=a18_0x5afa7b;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x557245(0x132)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x3ed736){const _0x936f00=a18_0x5afa7b,_0x28627b=this,_0x5e411c=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x936f00(0x182)](this,_0x3ed736);let _0x278204=![];return _0x3ed736[_0x936f00(0xb4)](_0x4d7640=>{const _0x375c83=_0x936f00;!__classPrivateFieldGet(_0x28627b,_Debuglet_completedBreakpointMap,'f')[_0x4d7640['id']]&&!_0x28627b[_0x375c83(0xe3)][_0x4d7640['id']]&&(__classPrivateFieldGet(_0x28627b,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x375c83(0x182)](_0x28627b,_0x4d7640,_0x35c994=>{const _0x597372=_0x375c83;_0x35c994&&__classPrivateFieldGet(_0x28627b,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x597372(0x182)](_0x28627b,_0x4d7640,!![],![]);}),_0x278204=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x4d7640['id'])),__classPrivateFieldGet(_0x28627b,_Debuglet_quotaManager,'f')[_0x375c83(0xc9)](_0x4d7640['id'],_0x4d7640[_0x375c83(0x12d)]),_0x28627b[_0x375c83(0xa3)][_0x375c83(0xc1)](_0x4d7640['id'],_0x4d7640[_0x375c83(0x19f)]);}),(0x0,mapSubtract_1[_0x936f00(0x158)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x5e411c)['forEach'](_0x3f1c95=>{delete __classPrivateFieldGet(_0x28627b,_Debuglet_completedBreakpointMap,'f')[_0x3f1c95['id']],_0x278204=!![];}),(0x0,mapSubtract_1[_0x936f00(0x158)])(this[_0x936f00(0xe3)],_0x5e411c)[_0x936f00(0xb4)](_0x33ab2b=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x33ab2b,!![]),_0x278204=!![];}),_0x278204&&_0x28627b[_0x936f00(0x167)][_0x936f00(0x123)](formatBreakpoints(_0x936f00(0x149),_0x5e411c)),_0x278204;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x2212dd){const _0x2cff56=a18_0x5afa7b,_0x5b2392={};return _0x2212dd[_0x2cff56(0xb4)](_0x3d42b7=>{_0x5b2392[_0x3d42b7['id']]=_0x3d42b7;}),_0x5b2392;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x4ea133,_0x2fa11e){const _0x4157df=a18_0x5afa7b;this[_0x4157df(0x167)]['info']('\x09remove\x20breakpoint',_0x4ea133),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x4ea133['id']),this[_0x4157df(0xa3)][_0x4157df(0x11d)](_0x4ea133['id']),delete this[_0x4157df(0xe3)][_0x4ea133['id']],_0x2fa11e&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x4ea133,_0xb280d=>{const _0x9aa9ee=_0x4157df;if(_0xb280d)this[_0x9aa9ee(0x167)][_0x9aa9ee(0xd0)](_0xb280d);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x39dbb5,_0x33d3ab){const _0x49aaca=a18_0x5afa7b,_0x50f937=this;_0x50f937[_0x49aaca(0x167)][_0x49aaca(0x1a2)](_0x49aaca(0x17f),_0x39dbb5);if(!_0x50f937[_0x49aaca(0x114)]['allowExpressions']&&(_0x39dbb5['condition']||_0x39dbb5[_0x49aaca(0x14a)])){_0x50f937['logger']['error'](utils_1['errors'][_0x49aaca(0x136)][_0x49aaca(0x12b)]||''),_0x39dbb5[_0x49aaca(0x14f)]=new status_message_1[(_0x49aaca(0xcf))](status_message_1[_0x49aaca(0xcf)][_0x49aaca(0x19b)],utils_1[_0x49aaca(0xe1)][_0x49aaca(0x136)],!![]),setImmediate(()=>{const _0x24111b=_0x49aaca;_0x33d3ab(utils_1[_0x24111b(0xe1)][_0x24111b(0x136)]);});return;}if((0x0,utils_1['satisfies'])(process[_0x49aaca(0x118)],'5.2\x20||\x20<4')){const _0x306a6e=utils_1[_0x49aaca(0xe1)][_0x49aaca(0xd8)];_0x50f937[_0x49aaca(0x167)][_0x49aaca(0xd0)](_0x306a6e),_0x39dbb5[_0x49aaca(0x14f)]=new status_message_1['StatusMessage'](status_message_1[_0x49aaca(0xcf)][_0x49aaca(0x19b)],_0x306a6e,!![]),setImmediate(()=>{_0x33d3ab(_0x306a6e);});return;}const _0x36bf29=_0x39dbb5[_0x49aaca(0x159)]?Number(_0x39dbb5['createTime']['seconds']):Date[_0x49aaca(0x15b)]()/0x3e8,_0x374b34=_0x39dbb5[_0x49aaca(0x16c)]||_0x50f937[_0x49aaca(0x114)][_0x49aaca(0x15d)];_0x39dbb5[_0x49aaca(0x110)]=_0x36bf29+_0x374b34,_0x39dbb5[_0x49aaca(0x178)]?.['path']&&(_0x39dbb5[_0x49aaca(0x178)][_0x49aaca(0x140)]=path[_0x49aaca(0x148)](_0x39dbb5[_0x49aaca(0x178)][_0x49aaca(0x140)]),path[_0x49aaca(0x18b)]===path[_0x49aaca(0xf8)][_0x49aaca(0x18b)]&&(_0x39dbb5[_0x49aaca(0x178)][_0x49aaca(0x140)]=_0x39dbb5[_0x49aaca(0x178)][_0x49aaca(0x140)][_0x49aaca(0xf7)]('\x5c')[_0x49aaca(0x153)](path['sep']))),__classPrivateFieldGet(_0x50f937,_Debuglet_v8debug,'f')['set'](_0x39dbb5,_0x478dd4=>{const _0x3418cc=_0x49aaca;if(_0x478dd4){_0x33d3ab(_0x478dd4);return;}_0x50f937[_0x3418cc(0x167)][_0x3418cc(0x1a2)]('\x09successfully\x20added\x20breakpoint',_0x39dbb5),_0x50f937[_0x3418cc(0xe3)][_0x39dbb5['id']]=_0x39dbb5,_0x39dbb5[_0x3418cc(0xbc)]==='LOG'?__classPrivateFieldGet(_0x50f937,_Debuglet_v8debug,'f')[_0x3418cc(0x129)](_0x39dbb5,(_0x1241d8,_0x107ce0)=>{const _0x29a7f9=_0x3418cc,_0x4d69ca=_0x107ce0[_0x29a7f9(0x120)](_0x3f4442=>__classPrivateFieldGet(_0x50f937,_Debuglet_instances,'m',_Debuglet_stringify)[_0x29a7f9(0x182)](_0x50f937,_0x3f4442)),_0x49827b=(0x0,format_1[_0x29a7f9(0x101)])(_0x1241d8,_0x4d69ca),_0x5add6a='LOGPOINT:\x20'+(__classPrivateFieldGet(_0x50f937,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x49827b)||_0x49827b),_0x10d3a8=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x5add6a,_0x39dbb5['id']);if(_0x10d3a8){const _0x3ea8fa=_0x10d3a8[_0x29a7f9(0x197)],_0x3c7ce7=_0x10d3a8[_0x29a7f9(0xe5)];let _0x216f9e,_0x176406;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x29a7f9(0xe2)]()&&!_0x3c7ce7&&(_0x216f9e=_0x29a7f9(0x146)+_0x1241d8,_0x176406=_0x4d69ca);_0x50f937[_0x29a7f9(0xa3)][_0x29a7f9(0x172)](_0x50f937['debuggee'],_0x39dbb5['id'],_0x3ea8fa,_0x39dbb5[_0x29a7f9(0x15c)],_0x216f9e,_0x176406);if(_0x3c7ce7)__classPrivateFieldGet(_0x50f937,_Debuglet_v8debug,'f')?.[_0x29a7f9(0xc5)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x3c02ca=_0x29a7f9;__classPrivateFieldGet(_0x50f937,_Debuglet_v8debug,'f')?.[_0x3c02ca(0xa4)](),__classPrivateFieldSet(_0x50f937,_Debuglet_nextEnableTimeout,null,'f');},_0x50f937[_0x29a7f9(0x114)][_0x29a7f9(0xfa)][_0x29a7f9(0xd2)]*0x3e8),'f');else _0x3ea8fa?.[_0x29a7f9(0x147)]===0x0&&__classPrivateFieldGet(_0x50f937,_Debuglet_v8debug,'f')?.[_0x29a7f9(0xc5)]();}},()=>{return __classPrivateFieldGet(_0x50f937,_Debuglet_completedBreakpointMap,'f')[_0x39dbb5['id']];},_0x40f0b5=>{const _0x2f173f=_0x3418cc;if(_0x40f0b5){_0x50f937[_0x2f173f(0x167)]['error'](_0x40f0b5),_0x33d3ab(_0x40f0b5);return;}}):__classPrivateFieldGet(_0x50f937,_Debuglet_v8debug,'f')['wait'](_0x39dbb5,_0x1b45bd=>{const _0xfbd3b7=_0x3418cc;if(_0x1b45bd){setImmediate(()=>{const _0x394163=a18_0x2503;_0x50f937[_0x394163(0x167)][_0x394163(0xd0)](_0x1b45bd),_0x33d3ab(_0x1b45bd);});return;}_0x50f937[_0xfbd3b7(0x167)][_0xfbd3b7(0x1a2)](_0xfbd3b7(0xd7),_0x39dbb5),__classPrivateFieldGet(_0x50f937,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0xfbd3b7(0x182)](_0x50f937,_0x39dbb5,__classPrivateFieldGet(_0x50f937,_Debuglet_v8debug,'f')['remainingHits'](_0x39dbb5['id'])<=0x0);}),__classPrivateFieldGet(_0x50f937,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x3418cc(0x182)](_0x50f937,_0x39dbb5);}),this[_0x49aaca(0x151)](_0x49aaca(0x10d));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x38ba21,_0x27c3cc,_0x29ca6f=!![]){const _0x310f56=a18_0x5afa7b,_0x5ee16a=this;if(_0x38ba21[_0x310f56(0x14f)]&&_0x38ba21['status'][_0x310f56(0x175)]){let _0x406f08=_0x38ba21[_0x310f56(0x14f)]?.['description']?.[_0x310f56(0x101)]||'';_0x38ba21[_0x310f56(0x14f)]?.['description']?.['parameters']&&(_0x406f08+=':\x20'+_0x38ba21[_0x310f56(0x14f)]?.[_0x310f56(0x12b)]?.[_0x310f56(0xf9)][_0x310f56(0x145)]()),_0x5ee16a[_0x310f56(0x167)]['warn'](_0x310f56(0xb8)+_0x38ba21+_0x310f56(0x121)+_0x406f08);}else _0x5ee16a[_0x310f56(0x167)][_0x310f56(0x1a2)](_0x310f56(0xee),_0x38ba21);_0x27c3cc&&(__classPrivateFieldGet(_0x5ee16a,_Debuglet_completedBreakpointMap,'f')[_0x38ba21['id']]=!![],__classPrivateFieldGet(_0x5ee16a,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x310f56(0x182)](_0x5ee16a,_0x38ba21,_0x29ca6f)),__classPrivateFieldGet(_0x5ee16a,_Debuglet_controller,'f')[_0x310f56(0x14d)](_0x5ee16a[_0x310f56(0xed)],extend(!![],{},_0x38ba21));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x84bc87){const _0x45f3bc=a18_0x5afa7b,_0x35b0d2=this;_0x35b0d2[_0x45f3bc(0x167)]['debug']('reporting\x20breakpoint\x20'+_0x84bc87+'\x20accepted\x20by\x20agent');const _0x2b5606=extend(!![],{},_0x84bc87);_0x2b5606[_0x45f3bc(0xe9)]=![],_0x2b5606[_0x45f3bc(0x14f)]=new status_message_1[(_0x45f3bc(0xcf))](status_message_1[_0x45f3bc(0xcf)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(_0x35b0d2,_Debuglet_controller,'f')[_0x45f3bc(0x14d)](_0x35b0d2[_0x45f3bc(0xed)],_0x2b5606);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x4d6219){const _0x1486c4=a18_0x5afa7b,_0x2e59c0=this;this[_0x1486c4(0x167)][_0x1486c4(0x1a2)](_0x1486c4(0x198),_0x4d6219),__classPrivateFieldGet(_0x2e59c0,_Debuglet_completedBreakpointMap,'f')[_0x4d6219['id']]=!![],__classPrivateFieldGet(_0x2e59c0,_Debuglet_controller,'f')[_0x1486c4(0x14d)](_0x2e59c0['debuggee'],_0x4d6219);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x58b086){const _0x4e7339=this;_0x58b086['forEach'](_0x2aa217=>{const _0x1debde=a18_0x2503;_0x4e7339[_0x1debde(0x167)][_0x1debde(0x1a2)]('Expiring\x20breakpoint',_0x2aa217),__classPrivateFieldGet(_0x4e7339,_Debuglet_completedBreakpointMap,'f')[_0x2aa217['id']]=!![],__classPrivateFieldGet(_0x4e7339,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x4e7339,_0x2aa217,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x18de3d=a18_0x5afa7b,_0x156184=Date[_0x18de3d(0x15b)]()/0x3e8;return Object['values'](this['activeBreakpointMap'])[_0x18de3d(0x18f)](_0x3e4f04=>_0x3e4f04[_0x18de3d(0x110)]?_0x3e4f04[_0x18de3d(0x110)]<_0x156184:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x1b0d9b){const _0x5e1e20=a18_0x5afa7b,_0x6efc3e=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5e1e20(0x150)](_0x1b0d9b),_0x29a772=_0x6efc3e[_0x5e1e20(0xec)],_0x41d86a=_0x6efc3e[_0x5e1e20(0x183)];_0x29a772&&_0x29a772['length']&&this[_0x5e1e20(0x167)][_0x5e1e20(0x123)](_0x5e1e20(0x108),_0x29a772[_0x5e1e20(0x153)]('\x0a\x09')),_0x41d86a&&_0x41d86a[_0x5e1e20(0x147)]&&this[_0x5e1e20(0x167)][_0x5e1e20(0x123)](_0x5e1e20(0xb0),_0x41d86a['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x5e1e20(0x192))](_0x29a772,_0x41d86a,this[_0x5e1e20(0x114)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x41bf50){const _0x19bd27=a18_0x5afa7b,_0x5658e9=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x41bf50);_0x5658e9?.[_0x19bd27(0x147)]&&this['logger']['debug'](_0x19bd27(0x109),_0x5658e9[_0x19bd27(0x120)](_0x1077c8=>_0x19bd27(0xea)+_0x1077c8[_0x19bd27(0xeb)]+'\x20(type:\x20'+_0x1077c8[_0x19bd27(0x12c)]+'):\x20pattern:\x20'+_0x1077c8[_0x19bd27(0xa7)]+_0x19bd27(0xaf)+_0x1077c8[_0x19bd27(0x14b)])[_0x19bd27(0x153)]('\x0a\x09'));if((0x0,utils_1[_0x19bd27(0x116)])(process[_0x19bd27(0x118)],'>=12')){const {RedactionManagerRE2JS:_0x4ae6a7}=await Promise['resolve']()['then'](()=>require(_0x19bd27(0x1a1)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x4ae6a7(this[_0x19bd27(0x167)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x19bd27(0xa2)](_0x5658e9);}},_Debuglet_stringify=function _Debuglet_stringify(_0x55396e){const _0x29b76d=a18_0x5afa7b;if(!_0x55396e)return JSON[_0x29b76d(0x180)](_0x55396e,(_0x3ac6a5,_0x2f4e8d)=>_0x2f4e8d===undefined?_0x29b76d(0x144):_0x2f4e8d);if(Array[_0x29b76d(0x17b)](_0x55396e)){const _0x4a75e6=[];for(const _0x2affc1 of _0x55396e){_0x4a75e6[_0x29b76d(0x112)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x29b76d(0x182)](this,_0x2affc1));}return'['+_0x4a75e6[_0x29b76d(0x153)](',\x20')+']';}if(typeof _0x55396e===_0x29b76d(0xdc)){const _0x102a4a=Object[_0x29b76d(0xe6)](_0x55396e)[_0x29b76d(0x120)](([_0x414bc8,_0x5c8dae])=>{const _0x4b80be=_0x29b76d,_0x11e9eb=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x414bc8)?redaction_manager_1[_0x4b80be(0xa6)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x4b80be(0x182)](this,_0x5c8dae);return JSON[_0x4b80be(0x180)](_0x414bc8)+':\x20'+_0x11e9eb;})['join'](',\x20');return'{'+_0x102a4a+'}';}return JSON[_0x29b76d(0x180)](_0x55396e);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a19_0x4be110=a19_0x28f2;(function(_0x3f9b1d,_0x506c46){const _0x446010=a19_0x28f2,_0x2cf7e3=_0x3f9b1d();while(!![]){try{const _0x127d3f=parseInt(_0x446010(0x1ba))/0x1*(parseInt(_0x446010(0x1c3))/0x2)+parseInt(_0x446010(0x193))/0x3+-parseInt(_0x446010(0x1a2))/0x4*(parseInt(_0x446010(0x1c0))/0x5)+-parseInt(_0x446010(0x1b6))/0x6+parseInt(_0x446010(0x1a6))/0x7*(-parseInt(_0x446010(0x199))/0x8)+parseInt(_0x446010(0x18b))/0x9+parseInt(_0x446010(0x1cd))/0xa;if(_0x127d3f===_0x506c46)break;else _0x2cf7e3['push'](_0x2cf7e3['shift']());}catch(_0x44566c){_0x2cf7e3['push'](_0x2cf7e3['shift']());}}}(a19_0x5e0e,0x56f55));Object[a19_0x4be110(0x198)](exports,a19_0x4be110(0x1b8),{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;function a19_0x5e0e(){const _0x7b9485=['get','versions','x32','/.dockerenv','cpuCoreCount','linux','2802990KCPcLe','getProps','__esModule','systemTotalMemoryBytes','55CFwphl','arm64','_logger','windows','runtimeEnvironmentVersion','/etc/os-release','23185keRVUL','constructor','node','20822aYvzWh','existsSync','arch','release','search','env','runtimeEnvironmentInfo','utf-8','KUBERNETES_SERVICE_HOST','cpus','6636660IOjjLT','apply','1797309aZmoDg','pid','isInK8s','_cachedOsRelease','platform','isInDocker','split','toString','420270LDXSVH','(((.+)+)+)+$','VERSION_ID','procArch','totalmem','defineProperty','2757280IFvUHl','error','host','MacOS','\x20on\x20','trim','Windows','EnvironmentMetadata','x64','352HgmZNm','linuxDistroName','mac','readFileSync','7arBhsK','Node.js\x20','_osRelease','replace','arm','match','agentOS','forEach','Linux','osVersion'];a19_0x5e0e=function(){return _0x7b9485;};return a19_0x5e0e();}const os_1=require('os'),fs_1=require('fs'),assert=require('assert');var OS;(function(_0x3ca068){const _0x429572=a19_0x4be110,_0x2e65d9=(function(){let _0xdb8f09=!![];return function(_0x327953,_0x24b084){const _0x131fc0=_0xdb8f09?function(){const _0x432519=a19_0x28f2;if(_0x24b084){const _0x6ed19=_0x24b084[_0x432519(0x18a)](_0x327953,arguments);return _0x24b084=null,_0x6ed19;}}:function(){};return _0xdb8f09=![],_0x131fc0;};}()),_0x4fb64e=_0x2e65d9(this,function(){const _0x4839ad=a19_0x28f2;return _0x4fb64e[_0x4839ad(0x192)]()[_0x4839ad(0x1c7)](_0x4839ad(0x194))[_0x4839ad(0x192)]()[_0x4839ad(0x1c1)](_0x4fb64e)[_0x4839ad(0x1c7)](_0x4839ad(0x194));});_0x4fb64e(),_0x3ca068[_0x429572(0x1ae)]=_0x429572(0x1b5),_0x3ca068[_0x429572(0x19f)]=_0x429572(0x1bd),_0x3ca068['MacOS']=_0x429572(0x1a4);}(OS||(OS={})));var ProcArch;function a19_0x28f2(_0x2a4968,_0x485136){const _0x16f23b=a19_0x5e0e();return a19_0x28f2=function(_0x17f789,_0x5be170){_0x17f789=_0x17f789-0x18a;let _0x5e0e2f=_0x16f23b[_0x17f789];return _0x5e0e2f;},a19_0x28f2(_0x2a4968,_0x485136);}(function(_0x533ac3){const _0x612f71=a19_0x4be110;_0x533ac3[_0x612f71(0x1a1)]=_0x612f71(0x1a1),_0x533ac3[_0x612f71(0x1b2)]=_0x612f71(0x1b2),_0x533ac3[_0x612f71(0x1aa)]='arm',_0x533ac3['arm64']=_0x612f71(0x1bb);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x4be110(0x1ae)],'win32':OS['Windows'],'darwin':OS[a19_0x4be110(0x19c)]},ArchToProcArchMap={'x32':ProcArch[a19_0x4be110(0x1b2)],'x64':ProcArch[a19_0x4be110(0x1a1)],'arm':ProcArch[a19_0x4be110(0x1aa)],'arm64':ProcArch[a19_0x4be110(0x1bb)]};class EnvironmentMetadata{constructor(_0xd0b50a){assert(_0xd0b50a!==null),this['_logger']=_0xd0b50a;}get[a19_0x4be110(0x1be)](){const _0x2ee08d=a19_0x4be110;try{const _0x210f58=process[_0x2ee08d(0x1b1)][_0x2ee08d(0x1c2)][_0x2ee08d(0x1ab)](/(\d+\.\d+)\..*/);if(_0x210f58)return _0x210f58[0x1];}catch(_0x260134){this[_0x2ee08d(0x1bc)][_0x2ee08d(0x19a)](_0x260134);}return;}get[a19_0x4be110(0x1c9)](){const _0x524ade=a19_0x4be110;return _0x524ade(0x1a7)+process['version']+_0x524ade(0x19d)+(0x0,os_1[_0x524ade(0x18f)])()+'\x20'+(0x0,os_1[_0x524ade(0x1c6)])();}get[a19_0x4be110(0x18c)](){const _0x3ac948=a19_0x4be110;return process[_0x3ac948(0x18c)][_0x3ac948(0x192)]();}get[a19_0x4be110(0x196)](){const _0x438c1c=a19_0x4be110;return ArchToProcArchMap[process[_0x438c1c(0x1c5)]]||process[_0x438c1c(0x1c5)];}get[a19_0x4be110(0x1b4)](){const _0x1036e7=a19_0x4be110;return(0x0,os_1[_0x1036e7(0x1cc)])()['length'];}get[a19_0x4be110(0x1b9)](){const _0x2780e0=a19_0x4be110;return(0x0,os_1[_0x2780e0(0x197)])();}get[a19_0x4be110(0x19b)](){return(0x0,os_1['hostname'])();}get[a19_0x4be110(0x1ac)](){const _0x37cf29=a19_0x4be110;return PlatformToOsMap[(0x0,os_1[_0x37cf29(0x18f)])()]||(0x0,os_1['platform'])();}get[a19_0x4be110(0x1af)](){const _0x120f75=a19_0x4be110;try{if(this[_0x120f75(0x1ac)]===OS[_0x120f75(0x1ae)])return this[_0x120f75(0x1a8)][_0x120f75(0x1b0)](_0x120f75(0x195))||(0x0,os_1[_0x120f75(0x1c6)])();return(0x0,os_1['release'])();}catch(_0x2cbb69){this[_0x120f75(0x1bc)]['error'](_0x2cbb69);}return;}get[a19_0x4be110(0x1a3)](){const _0xfe900e=a19_0x4be110;return this[_0xfe900e(0x1ac)]===OS[_0xfe900e(0x1ae)]&&this[_0xfe900e(0x1a8)][_0xfe900e(0x1b0)]('ID')||'';}get[a19_0x4be110(0x190)](){const _0x2830d9=a19_0x4be110;return this[_0x2830d9(0x1ac)]===OS['Linux']?(0x0,fs_1[_0x2830d9(0x1c4)])(_0x2830d9(0x1b3)):![];}get[a19_0x4be110(0x18d)](){const _0x16c9c2=a19_0x4be110;return!!process[_0x16c9c2(0x1c8)][_0x16c9c2(0x1cb)];}get['_osRelease'](){const _0x36cae1=a19_0x4be110;if(!this[_0x36cae1(0x18e)]){this[_0x36cae1(0x18e)]=new Map();try{if(this[_0x36cae1(0x1ac)]===OS[_0x36cae1(0x1ae)]){const _0x1840b1=(0x0,fs_1[_0x36cae1(0x1a5)])(_0x36cae1(0x1bf),_0x36cae1(0x1ca));_0x1840b1[_0x36cae1(0x191)](/\r?\n/)[_0x36cae1(0x1ad)](_0x15376d=>{const _0x15957f=_0x36cae1,[_0x369b25,_0x2a2c14]=_0x15376d[_0x15957f(0x19e)]()[_0x15957f(0x191)]('=');this['_cachedOsRelease']?.['set'](_0x369b25,_0x2a2c14?.[_0x15957f(0x1a9)](/^"|"$/g,'')||'');});}}catch(_0x42960a){this[_0x36cae1(0x1bc)]['warn']('Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release',_0x42960a);}}return this[_0x36cae1(0x18e)];}[a19_0x4be110(0x1b7)](){const _0x40cfe8=a19_0x4be110;return{'runtimeEnvironmentVersion':this[_0x40cfe8(0x1be)],'runtimeEnvironmentInfo':this[_0x40cfe8(0x1c9)],'pid':this[_0x40cfe8(0x18c)],'cpuCoreCount':this[_0x40cfe8(0x1b4)],'systemTotalMemoryBytes':this[_0x40cfe8(0x1b9)],'host':this[_0x40cfe8(0x19b)],'agentOS':this[_0x40cfe8(0x1ac)],'osVersion':this[_0x40cfe8(0x1af)],'linuxDistroName':this[_0x40cfe8(0x1a3)]||undefined,'isInDocker':this[_0x40cfe8(0x190)],'isInK8s':this[_0x40cfe8(0x18d)],'procArch':this[_0x40cfe8(0x196)]};}}exports[a19_0x4be110(0x1a0)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x405b7c=a20_0x3c67;(function(_0x484177,_0x7e3616){const _0x54085f=a20_0x3c67,_0x3a5d6c=_0x484177();while(!![]){try{const _0x560ce7=parseInt(_0x54085f(0x1c9))/0x1*(-parseInt(_0x54085f(0x1ad))/0x2)+-parseInt(_0x54085f(0x1b4))/0x3*(parseInt(_0x54085f(0x1be))/0x4)+parseInt(_0x54085f(0x1c8))/0x5*(parseInt(_0x54085f(0x1ca))/0x6)+-parseInt(_0x54085f(0x1c6))/0x7+-parseInt(_0x54085f(0x1ba))/0x8+parseInt(_0x54085f(0x1a4))/0x9*(parseInt(_0x54085f(0x1a5))/0xa)+-parseInt(_0x54085f(0x1c3))/0xb*(-parseInt(_0x54085f(0x1c7))/0xc);if(_0x560ce7===_0x7e3616)break;else _0x3a5d6c['push'](_0x3a5d6c['shift']());}catch(_0x1e8ffd){_0x3a5d6c['push'](_0x3a5d6c['shift']());}}}(a20_0x2547,0x75c09));const a20_0x58f24a=(function(){let _0x1a48a5=!![];return function(_0x39f440,_0x37c82f){const _0x260b72=_0x1a48a5?function(){const _0x232ddc=a20_0x3c67;if(_0x37c82f){const _0x47310f=_0x37c82f[_0x232ddc(0x1b0)](_0x39f440,arguments);return _0x37c82f=null,_0x47310f;}}:function(){};return _0x1a48a5=![],_0x260b72;};}()),a20_0x25acd4=a20_0x58f24a(this,function(){const _0x348dbe=a20_0x3c67;return a20_0x25acd4[_0x348dbe(0x1c5)]()[_0x348dbe(0x1bc)]('(((.+)+)+)+$')[_0x348dbe(0x1c5)]()[_0x348dbe(0x1bf)](a20_0x25acd4)['search'](_0x348dbe(0x1c4));});a20_0x25acd4();function a20_0x2547(){const _0xe4ab6f=['sep','fileStats','get','28HhGLmo','__esModule','fileIndex','apply','defineProperty','fromFileList','substring','105nDjuNs','has','min','buildIndex','map','_fileStats','7396784SVBpmb','indexOf','search','length','20500yNJBea','constructor','substr','fromFileStats','generateSubPaths','2937bBXaRF','(((.+)+)+)+$','toString','185563TnJRxb','42984bUpZSE','25DDDeoN','29074pvHyaw','890874zZwvsi','FileIndex','size','963126vsCmDS','30JaSSsR','stripStartingSep','push','add','keys'];a20_0x2547=function(){return _0xe4ab6f;};return a20_0x2547();}'use strict';Object[a20_0x405b7c(0x1b1)](exports,a20_0x405b7c(0x1ae),{'value':!![]}),exports[a20_0x405b7c(0x1cb)]=void 0x0;const path=require('path');function a20_0x3c67(_0x3a3127,_0x44e076){const _0x4be854=a20_0x2547();return a20_0x3c67=function(_0x25acd4,_0x58f24a){_0x25acd4=_0x25acd4-0x1a3;let _0x25471a=_0x4be854[_0x25acd4];return _0x25471a;},a20_0x3c67(_0x3a3127,_0x44e076);}class FileIndex{constructor(_0x199780){const _0x1167fa=a20_0x405b7c;this[_0x1167fa(0x1b9)]=_0x199780,this[_0x1167fa(0x1af)]=new Map();}static[a20_0x405b7c(0x1c1)](_0x104f8f){const _0x11c4af=a20_0x405b7c,_0x5b4db4=new FileIndex(_0x104f8f);return _0x5b4db4['buildIndex'](Object[_0x11c4af(0x1a9)](_0x104f8f)||[]),_0x5b4db4;}static[a20_0x405b7c(0x1b2)](_0x24b8e7){const _0x2e22e7=a20_0x405b7c,_0x47a56b=new FileIndex(undefined);return _0x47a56b[_0x2e22e7(0x1b7)](_0x24b8e7||[]),_0x47a56b;}get[a20_0x405b7c(0x1ab)](){return this['_fileStats']||{};}['findShortestFuzzyMatches'](_0x382547){const _0x428567=a20_0x405b7c,_0x25e929=this['search'](_0x382547);if(!_0x25e929||_0x25e929[_0x428567(0x1a3)]===0x0)return[];const _0x100aae=[..._0x25e929][_0x428567(0x1b8)](_0x38c928=>_0x38c928[_0x428567(0x1bd)]),_0x133fcc=Math[_0x428567(0x1b6)](..._0x100aae),_0x579961=[..._0x25e929]['filter'](_0x1bb7ce=>_0x1bb7ce['length']===_0x133fcc);return _0x579961;}[a20_0x405b7c(0x1b7)](_0x2c8c03){const _0x464aa8=a20_0x405b7c;for(const _0x141c3c of _0x2c8c03){for(const _0x4a941d of this['generateSubPaths'](_0x141c3c)){let _0x1aaea1=this['fileIndex'][_0x464aa8(0x1ac)](_0x4a941d);_0x1aaea1===undefined&&(_0x1aaea1=new Set(),this[_0x464aa8(0x1af)]['set'](_0x4a941d,_0x1aaea1)),_0x1aaea1[_0x464aa8(0x1a8)](_0x141c3c);}}}['generateSubPaths'](_0x414395){const _0x53dc1e=a20_0x405b7c;_0x414395=this[_0x53dc1e(0x1a6)](_0x414395);const _0x26f9aa=[_0x414395];while(_0x414395[_0x53dc1e(0x1bb)](path[_0x53dc1e(0x1aa)])>=0x0){_0x414395=_0x414395[_0x53dc1e(0x1b3)](_0x414395[_0x53dc1e(0x1bb)](path['sep'])+path[_0x53dc1e(0x1aa)][_0x53dc1e(0x1bd)],_0x414395[_0x53dc1e(0x1bd)]),_0x26f9aa[_0x53dc1e(0x1a7)](_0x414395);}return _0x26f9aa;}[a20_0x405b7c(0x1bc)](_0x3df901){const _0x582f15=a20_0x405b7c;if(!_0x3df901)return undefined;_0x3df901=this[_0x582f15(0x1a6)](_0x3df901);for(const _0x472a5e of this[_0x582f15(0x1c2)](_0x3df901)){if(this['fileIndex'][_0x582f15(0x1b5)](_0x472a5e))return this[_0x582f15(0x1af)][_0x582f15(0x1ac)](_0x472a5e);}return undefined;}['stripStartingSep'](_0x2ebabb){const _0x5a7437=a20_0x405b7c;if(_0x2ebabb&&(_0x2ebabb[0x0]==='/'||_0x2ebabb[0x0]==='\x5c'))return _0x2ebabb[_0x5a7437(0x1c0)](0x1);return _0x2ebabb;}}exports[a20_0x405b7c(0x1cb)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a21_0x11754d=a21_0x3b09;(function(_0x3d4ea0,_0x1c221b){const _0x4e9beb=a21_0x3b09,_0x2140e4=_0x3d4ea0();while(!![]){try{const _0x6569c3=parseInt(_0x4e9beb(0xaf))/0x1+parseInt(_0x4e9beb(0xc0))/0x2+parseInt(_0x4e9beb(0xa9))/0x3+parseInt(_0x4e9beb(0xb0))/0x4*(parseInt(_0x4e9beb(0xbc))/0x5)+-parseInt(_0x4e9beb(0xb6))/0x6+parseInt(_0x4e9beb(0xad))/0x7*(-parseInt(_0x4e9beb(0xab))/0x8)+parseInt(_0x4e9beb(0xb9))/0x9*(-parseInt(_0x4e9beb(0xb2))/0xa);if(_0x6569c3===_0x1c221b)break;else _0x2140e4['push'](_0x2140e4['shift']());}catch(_0x354d48){_0x2140e4['push'](_0x2140e4['shift']());}}}(a21_0x542e,0x876fe));function a21_0x542e(){const _0xc75659=['normalize','constructor','ScanResultsImpl','2186934cojxxO','stats','8uAssXY','__esModule','3881031WTapDN','sep','773785SQjaII','4364BRbZYc','test','10UnXUPy','search','selectFiles','filter','5546466EPnqsg','apply','replace','7745373qFbDGz','selectStats','keys','4835kFDMqM','hash','errorMap','map','672862fMrQlx','forEach','path','toString'];a21_0x542e=function(){return _0xc75659;};return a21_0x542e();}function a21_0x3b09(_0x6a21ef,_0x4a4be8){const _0x90e520=a21_0x542e();return a21_0x3b09=function(_0x38f217,_0x114d87){_0x38f217=_0x38f217-0xa6;let _0x542e81=_0x90e520[_0x38f217];return _0x542e81;},a21_0x3b09(_0x6a21ef,_0x4a4be8);}const a21_0x114d87=(function(){let _0x57bbfa=!![];return function(_0x292b77,_0x3cf323){const _0x181065=_0x57bbfa?function(){const _0x2c176d=a21_0x3b09;if(_0x3cf323){const _0x4797a9=_0x3cf323[_0x2c176d(0xb7)](_0x292b77,arguments);return _0x3cf323=null,_0x4797a9;}}:function(){};return _0x57bbfa=![],_0x181065;};}()),a21_0x38f217=a21_0x114d87(this,function(){const _0x2af7=a21_0x3b09;return a21_0x38f217[_0x2af7(0xc3)]()[_0x2af7(0xb3)]('(((.+)+)+)+$')[_0x2af7(0xc3)]()[_0x2af7(0xa7)](a21_0x38f217)[_0x2af7(0xb3)]('(((.+)+)+)+$');});a21_0x38f217();'use strict';Object['defineProperty'](exports,a21_0x11754d(0xac),{'value':!![]}),exports[a21_0x11754d(0xa8)]=void 0x0;const path=require(a21_0x11754d(0xc2));class ScanResultsImpl{constructor(_0x5f2c42,_0x3d1745,_0xe7029a){const _0x5897fa=a21_0x11754d;this[_0x5897fa(0xaa)]=_0x5f2c42,this[_0x5897fa(0xbe)]=_0x3d1745,this[_0x5897fa(0xbd)]=_0xe7029a;}['errors'](){const _0x2bdf37=a21_0x11754d;return this[_0x2bdf37(0xbe)];}['all'](){const _0x27b416=a21_0x11754d;return this[_0x27b416(0xaa)];}[a21_0x11754d(0xba)](_0x147acb){const _0x1966c3=a21_0x11754d,_0x9632b0={};return Object[_0x1966c3(0xbb)](this['stats'])[_0x1966c3(0xc1)](_0x520d24=>{const _0x420d3c=_0x1966c3;_0x147acb[_0x420d3c(0xb1)](_0x520d24)&&(_0x9632b0[_0x520d24]=this['stats'][_0x520d24]);}),_0x9632b0;}[a21_0x11754d(0xb4)](_0x5ef86c,_0x4d9290){const _0x2c4691=a21_0x11754d;return _0x4d9290=path[_0x2c4691(0xa6)](_0x4d9290+path[_0x2c4691(0xae)]),Object['keys'](this[_0x2c4691(0xaa)])[_0x2c4691(0xb5)](_0x466663=>{const _0x2310fd=_0x2c4691;return _0x466663&&_0x5ef86c[_0x2310fd(0xb1)](_0x466663);})[_0x2c4691(0xbf)](_0x1b4ae5=>{const _0x791546=_0x2c4691;return path[_0x791546(0xa6)](_0x1b4ae5)[_0x791546(0xb8)](_0x4d9290,'');});}}exports[a21_0x11754d(0xa8)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x4043dc=a22_0x2bd0;function a22_0x4b7b(){const _0x4d60db=['join','R_OK','file','sort','Specified\x20extraPaths\x20does\x20not\x20exist!','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','231561kwCNKG','test','open','resolve','2908536QYYHGu','search','constants','970809AOpGeB','error','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','crypto','path','40MlRxBJ','basename','warn','length','hasReadAccess','defineProperty','digest','logger','set','3933798AJIHjW','computeStats','from','end','update','findFiles','Scanner','startsWith','sha1','split','statsForFile','findit2','2296458JWIcgu','scan','__esModule','Indexing\x20files\x20in\x20','node_modules','686166NNDUkW','toString','./scan-results','directory','1049502TSgPXj','5MzuhtM','hex','addFilesFromDir','.git','hash','push'];a22_0x4b7b=function(){return _0x4d60db;};return a22_0x4b7b();}(function(_0x2609bb,_0x1f7100){const _0x604e8d=a22_0x2bd0,_0x107625=_0x2609bb();while(!![]){try{const _0x567f40=parseInt(_0x604e8d(0x151))/0x1+parseInt(_0x604e8d(0x155))/0x2+-parseInt(_0x604e8d(0x14c))/0x3+-parseInt(_0x604e8d(0x12f))/0x4*(parseInt(_0x604e8d(0x156))/0x5)+parseInt(_0x604e8d(0x140))/0x6+parseInt(_0x604e8d(0x132))/0x7+parseInt(_0x604e8d(0x137))/0x8*(-parseInt(_0x604e8d(0x12b))/0x9);if(_0x567f40===_0x1f7100)break;else _0x107625['push'](_0x107625['shift']());}catch(_0x392e81){_0x107625['push'](_0x107625['shift']());}}}(a22_0x4b7b,0x5dbe4));const a22_0x35fb0a=(function(){let _0x43c27d=!![];return function(_0x43da2e,_0x48359c){const _0x2739d6=_0x43c27d?function(){if(_0x48359c){const _0x29195f=_0x48359c['apply'](_0x43da2e,arguments);return _0x48359c=null,_0x29195f;}}:function(){};return _0x43c27d=![],_0x2739d6;};}()),a22_0x35cc81=a22_0x35fb0a(this,function(){const _0x56c62c=a22_0x2bd0;return a22_0x35cc81[_0x56c62c(0x152)]()[_0x56c62c(0x130)]('(((.+)+)+)+$')[_0x56c62c(0x152)]()['constructor'](a22_0x35cc81)[_0x56c62c(0x130)]('(((.+)+)+)+$');});a22_0x35cc81();function a22_0x2bd0(_0x114821,_0x265772){const _0x55ae5b=a22_0x4b7b();return a22_0x2bd0=function(_0x35cc81,_0x35fb0a){_0x35cc81=_0x35cc81-0x128;let _0x4b7b56=_0x55ae5b[_0x35cc81];return _0x4b7b56;},a22_0x2bd0(_0x114821,_0x265772);}'use strict';Object[a22_0x4043dc(0x13c)](exports,a22_0x4043dc(0x14e),{'value':!![]}),exports['Scanner']=void 0x0;const crypto=require(a22_0x4043dc(0x135)),fs=require('fs'),path=require(a22_0x4043dc(0x136)),scan_results_1=require(a22_0x4043dc(0x153));class Scanner{constructor(_0x3943d3){const _0xdcccae=a22_0x4043dc;this[_0xdcccae(0x13e)]=_0x3943d3;}async[a22_0x4043dc(0x14d)](_0x5e558e,_0x112dc1,_0x5231d9,_0x2f6c8b){const _0x4935e9=a22_0x4043dc,_0x57e912=await this[_0x4935e9(0x145)](_0x5e558e,_0x112dc1,_0x2f6c8b);return this[_0x4935e9(0x141)](_0x57e912,_0x5231d9);}['computeStats'](_0x488900,_0x5a81e4){return new Promise(async _0x2ebe5e=>{const _0x5506ab=a22_0x2bd0;if(_0x488900[_0x5506ab(0x13a)]===0x0){_0x2ebe5e(new scan_results_1['ScanResultsImpl']({},new Map(),'EMPTY-no-js-files'));return;}const _0x5b6421=[],_0x5bf858={},_0x1373e2=new Map();for(const _0x48e326 of _0x488900){try{const _0x335190=await this[_0x5506ab(0x14a)](_0x48e326,!_0x5a81e4);!_0x5a81e4&&_0x5b6421[_0x5506ab(0x15b)](_0x335190[_0x5506ab(0x15a)]),_0x5bf858[_0x48e326]=_0x335190;}catch(_0xa6774){_0x1373e2[_0x5506ab(0x13f)](_0x48e326,_0xa6774);}}let _0x2b9948;if(!_0x5a81e4){const _0xd2e0e0=_0x5b6421[_0x5506ab(0x128)]()[_0x5506ab(0x15c)](),_0xa77e56=crypto['createHash']('sha1')['update'](_0xd2e0e0)[_0x5506ab(0x13d)](_0x5506ab(0x157));_0x2b9948='SHA1-'+_0xa77e56;}else _0x2b9948=_0x5a81e4;_0x2ebe5e(new scan_results_1['ScanResultsImpl'](_0x5bf858,_0x1373e2,_0x2b9948));});}async[a22_0x4043dc(0x145)](_0x56c8de,_0x4ba9f3,_0x3882d5){const _0x3b2fe0=a22_0x4043dc,_0x52c67d=new Set();await this[_0x3b2fe0(0x158)](_0x52c67d,_0x56c8de,_0x4ba9f3);for(const _0x357354 of _0x3882d5??[]){if(_0x357354){const _0x5cea98=path['resolve'](_0x357354);try{await this['addFilesFromDir'](_0x52c67d,_0x5cea98,_0x4ba9f3);}catch(_0x3b9abb){this['logger'][_0x3b2fe0(0x133)](_0x3b2fe0(0x129),_0x3b9abb);continue;}}}return Array[_0x3b2fe0(0x142)](_0x52c67d);}static[a22_0x4043dc(0x13b)](_0x2549d0){const _0x573e99=a22_0x4043dc;try{return fs['accessSync'](_0x2549d0,fs[_0x573e99(0x131)][_0x573e99(0x15d)]),!![];}catch(_0x2a7ff7){return![];}}async[a22_0x4043dc(0x158)](_0x25fbc1,_0x82ac79,_0x42d2a8){return new Promise((_0x130a41,_0x4680df)=>{const _0x2796ec=a22_0x2bd0;let _0x2a8b23;if(!_0x82ac79){_0x4680df(new Error(_0x2796ec(0x12a)));return;}this[_0x2796ec(0x13e)]['info'](_0x2796ec(0x14f)+path[_0x2796ec(0x12e)](_0x82ac79));const _0xb70b10=findit(_0x82ac79);_0xb70b10['on'](_0x2796ec(0x133),_0x4b8f43=>{_0x2a8b23=_0x4b8f43;return;}),_0xb70b10['on'](_0x2796ec(0x154),(_0x40098a,_0xa2518e,_0x37d74a)=>{const _0x27da38=_0x2796ec,_0x144446=path[_0x27da38(0x138)](_0x40098a);!Scanner[_0x27da38(0x13b)](_0x40098a)&&(this[_0x27da38(0x13e)][_0x27da38(0x139)]('can\x27t\x20access\x20path:\x20['+path[_0x27da38(0x12e)](_0x40098a)+_0x27da38(0x134)),_0x37d74a()),(_0x144446===_0x27da38(0x159)||_0x144446===_0x27da38(0x150))&&(!path[_0x27da38(0x12e)](_0x82ac79)[_0x27da38(0x147)](path[_0x27da38(0x12e)](_0x40098a))&&_0x37d74a());}),_0xb70b10['on'](_0x2796ec(0x15e),_0x27e4a0=>{const _0x4dc224=_0x2796ec;_0x42d2a8[_0x4dc224(0x12c)](_0x27e4a0)&&_0x25fbc1['add'](_0x27e4a0);}),_0xb70b10['on'](_0x2796ec(0x143),()=>{_0x2a8b23?_0x4680df(_0x2a8b23):_0x130a41();});});}async[a22_0x4043dc(0x14a)](_0x351859,_0x2f6463){return new Promise((_0xd7dcf0,_0x20c84f)=>{const _0x4f2a61=a22_0x2bd0,_0x73168e=fs['createReadStream'](_0x351859);_0x73168e['on'](_0x4f2a61(0x133),_0x27dcac=>{_0x20c84f(_0x27dcac);}),_0x73168e['on'](_0x4f2a61(0x12d),()=>{const _0x24d38c=_0x4f2a61;let _0xd2795d;_0x2f6463&&(_0xd2795d=crypto['createHash'](_0x24d38c(0x148)));let _0x203e2e=0x0,_0x1737fb;const _0x263949=_0x73168e['pipe'](split());_0x263949['on'](_0x24d38c(0x133),_0xab7f05=>{_0x1737fb=_0xab7f05;}),_0x263949['on']('data',_0x42d4fe=>{const _0x108177=_0x24d38c;_0x2f6463&&_0xd2795d[_0x108177(0x144)](_0x42d4fe),_0x203e2e++;}),_0x263949['on'](_0x24d38c(0x143),()=>{const _0x1d3717=_0x24d38c;if(_0x1737fb)_0x20c84f(_0x1737fb);else{const _0x4a9d8f=_0x2f6463?_0xd2795d[_0x1d3717(0x13d)](_0x1d3717(0x157)):undefined;_0xd7dcf0({'hash':_0x4a9d8f,'lines':_0x203e2e});}});});});}}exports[a22_0x4043dc(0x146)]=Scanner;const findit=require(a22_0x4043dc(0x14b)),split=require(a22_0x4043dc(0x149));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a23_0x3e03(_0x4239c9,_0x423f7d){const _0x1d4d8f=a23_0x4e3d();return a23_0x3e03=function(_0x43a28b,_0x16ac35){_0x43a28b=_0x43a28b-0x170;let _0x4e3dff=_0x1d4d8f[_0x43a28b];return _0x4e3dff;},a23_0x3e03(_0x4239c9,_0x423f7d);}const a23_0x36f1e8=a23_0x3e03;(function(_0x3ee81d,_0x1a5318){const _0x32a36f=a23_0x3e03,_0x122446=_0x3ee81d();while(!![]){try{const _0x3228a0=parseInt(_0x32a36f(0x1a5))/0x1+-parseInt(_0x32a36f(0x183))/0x2+-parseInt(_0x32a36f(0x198))/0x3*(parseInt(_0x32a36f(0x1a8))/0x4)+-parseInt(_0x32a36f(0x173))/0x5*(-parseInt(_0x32a36f(0x1af))/0x6)+-parseInt(_0x32a36f(0x177))/0x7+-parseInt(_0x32a36f(0x1b0))/0x8*(parseInt(_0x32a36f(0x195))/0x9)+parseInt(_0x32a36f(0x17c))/0xa;if(_0x3228a0===_0x1a5318)break;else _0x122446['push'](_0x122446['shift']());}catch(_0x210f91){_0x122446['push'](_0x122446['shift']());}}}(a23_0x4e3d,0x53b55));const a23_0x16ac35=(function(){let _0x2fccf8=!![];return function(_0x3faf92,_0x8a4383){const _0x21a097=_0x2fccf8?function(){const _0x2642e5=a23_0x3e03;if(_0x8a4383){const _0x109c7c=_0x8a4383[_0x2642e5(0x180)](_0x3faf92,arguments);return _0x8a4383=null,_0x109c7c;}}:function(){};return _0x2fccf8=![],_0x21a097;};}()),a23_0x43a28b=a23_0x16ac35(this,function(){const _0x263e07=a23_0x3e03;return a23_0x43a28b[_0x263e07(0x181)]()['search'](_0x263e07(0x1ad))[_0x263e07(0x181)]()['constructor'](a23_0x43a28b)[_0x263e07(0x1b4)](_0x263e07(0x1ad));});a23_0x43a28b();'use strict';Object[a23_0x36f1e8(0x19a)](exports,a23_0x36f1e8(0x175),{'value':!![]}),exports['create']=exports[a23_0x36f1e8(0x19c)]=void 0x0;const fs=require('fs'),pLimit=require(a23_0x36f1e8(0x18c)),path=require(a23_0x36f1e8(0x1a1)),util_1=require(a23_0x36f1e8(0x196)),sourceMap=require('source-map'),file_index_1=require(a23_0x36f1e8(0x1a7)),CONCURRENCY=0xa,WEBPACK_PREFIX=a23_0x36f1e8(0x17e),readFilep=(0x0,util_1[a23_0x36f1e8(0x17d)])(fs[a23_0x36f1e8(0x1b2)]),MAP_EXT=a23_0x36f1e8(0x189);async function processSourcemap(_0xa3d7c,_0x1954d6,_0x1a13c2,_0x14edb0){const _0x1d0aa7=a23_0x36f1e8;_0x14edb0&&_0xa3d7c[_0x1d0aa7(0x194)](_0x1d0aa7(0x191),_0x1a13c2);if(!_0x1a13c2||!_0x1a13c2['endsWith'](MAP_EXT))throw new Error('The\x20path\x20'+_0x1a13c2+'\x20does\x20not\x20specify\x20a\x20sourcemap\x20file');_0x1a13c2=path[_0x1d0aa7(0x1a4)](_0x1a13c2);let _0x5d73ca;try{_0x5d73ca=await readFilep(_0x1a13c2,_0x1d0aa7(0x1b6));}catch(_0x26070b){throw new Error(_0x1d0aa7(0x1a2)+_0x1a13c2+':\x20'+_0x26070b);}let _0x4af873;try{_0x4af873=new sourceMap[(_0x1d0aa7(0x19d))](_0x5d73ca);}catch(_0x42a793){_0xa3d7c['error']('Failed\x20to\x20parse\x20source\x20map\x20file\x20'+_0x1a13c2+':\x20'+_0x42a793),_0xa3d7c[_0x1d0aa7(0x1a0)](JSON[_0x1d0aa7(0x179)](_0x42a793)),_0x14edb0&&_0xa3d7c['debug'](_0x1d0aa7(0x193),_0x5d73ca);throw new Error(_0x1d0aa7(0x1b1)+_0x1d0aa7(0x19b)+_0x1a13c2+':\x20'+_0x42a793);}const _0xdb6cfa=_0x4af873[_0x1d0aa7(0x174)]?_0x4af873[_0x1d0aa7(0x174)]:path['basename'](_0x1a13c2,_0x1d0aa7(0x189)),_0x130839=path[_0x1d0aa7(0x171)](_0x1a13c2),_0x39fb02=path['normalize'](path['join'](_0x130839,_0xdb6cfa)),_0x1b8bb0=_0x4af873[_0x1d0aa7(0x185)][_0x1d0aa7(0x17f)](_0x577f12=>!!_0x577f12)[_0x1d0aa7(0x182)]((_0x497c30,_0x270304)=>_0x497c30[_0x1d0aa7(0x1a6)]-_0x270304[_0x1d0aa7(0x1a6)]),_0x4e4608=_0x1b8bb0[_0x1d0aa7(0x19e)](_0x1253ef=>{const _0xa1ef0b=_0x1d0aa7;if(_0x1253ef[_0xa1ef0b(0x197)]()['startsWith'](WEBPACK_PREFIX))return _0x1253ef[_0xa1ef0b(0x1a9)](WEBPACK_PREFIX[_0xa1ef0b(0x1a6)]);return _0x1253ef;})[_0x1d0aa7(0x19e)](_0x411d92=>{const _0x1f7070=_0x1d0aa7;return path[_0x1f7070(0x1a4)](path[_0x1f7070(0x18f)](_0x130839,_0x411d92));});if(_0x4e4608[_0x1d0aa7(0x1a6)]===0x0)throw new Error('No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20'+_0x1a13c2);for(const _0x38643a of _0x4e4608){_0x14edb0&&_0xa3d7c[_0x1d0aa7(0x188)](path[_0x1d0aa7(0x1a4)](_0x38643a),_0x1d0aa7(0x187),_0x1a13c2),_0x1954d6[_0x1d0aa7(0x18a)](path[_0x1d0aa7(0x1a4)](_0x38643a),{'outputFile':_0x39fb02,'mapFile':_0x1a13c2,'mapConsumer':_0x4af873,'sources':_0x1b8bb0});}_0xa3d7c[_0x1d0aa7(0x194)](_0x1d0aa7(0x172),_0x1a13c2);}class SourceMapper{constructor(_0x3f6eaa){const _0x54b6b3=a23_0x36f1e8;this[_0x54b6b3(0x190)]=_0x3f6eaa,this[_0x54b6b3(0x1ae)]=new Map();}['getMappingInfo'](_0x309d6f){const _0x43c7e0=a23_0x36f1e8;if(this[_0x43c7e0(0x1ae)][_0x43c7e0(0x178)](path['normalize'](_0x309d6f)))return{'entry':this['infoMap'][_0x43c7e0(0x1ac)](_0x309d6f),'matchedPath':path[_0x43c7e0(0x1a4)](_0x309d6f)};const _0x11edd1=file_index_1[_0x43c7e0(0x1b3)]['fromFileList'](Array[_0x43c7e0(0x199)](this[_0x43c7e0(0x1ae)][_0x43c7e0(0x192)]()))[_0x43c7e0(0x19f)](_0x309d6f);if(_0x11edd1[_0x43c7e0(0x1a6)]===0x1)return{'entry':this[_0x43c7e0(0x1ae)][_0x43c7e0(0x1ac)](_0x11edd1[0x0]),'matchedPath':_0x11edd1[0x0]};return null;}[a23_0x36f1e8(0x18e)](_0x1e2e77){const _0x5cf072=a23_0x36f1e8;return this[_0x5cf072(0x1b5)](_0x1e2e77)!==null;}[a23_0x36f1e8(0x1aa)](_0x33b13e,_0x58d038,_0x1e704c){const _0x3a981b=a23_0x36f1e8;_0x33b13e=path[_0x3a981b(0x1a4)](_0x33b13e);const _0x14bc0d=this[_0x3a981b(0x1b5)](_0x33b13e);if(!_0x14bc0d)return null;const {entry:_0x1a8e2b,matchedPath:_0x3eec15}=_0x14bc0d,_0xc6d41c=path[_0x3a981b(0x18b)](path[_0x3a981b(0x171)](_0x1a8e2b[_0x3a981b(0x1a3)]),_0x3eec15)['replace'](/\\/g,'/');let _0x327038=this[_0x3a981b(0x17a)](_0x1a8e2b,_0xc6d41c);_0x327038=_0x327038||this[_0x3a981b(0x17a)](_0x1a8e2b,_0x33b13e);const _0x223ece={'source':_0x327038||_0xc6d41c,'line':_0x58d038+0x1,'column':_0x1e704c},_0x3f6070=_0x1a8e2b[_0x3a981b(0x186)],_0x42c6d7=_0x3f6070['allGeneratedPositionsFor'](_0x223ece),_0x352551=_0x42c6d7&&_0x42c6d7[_0x3a981b(0x1a6)]>0x0?_0x42c6d7['reduce']((_0x2d233b,_0x1f6ec9)=>{const _0x4c4dd3=_0x3a981b;return _0x1f6ec9[_0x4c4dd3(0x1ab)]<_0x2d233b['line']?_0x1f6ec9:_0x2d233b;}):_0x3f6070[_0x3a981b(0x176)](_0x223ece);return{'file':_0x1a8e2b['outputFile'],'line':_0x352551[_0x3a981b(0x1ab)],'column':_0x352551[_0x3a981b(0x184)]};}[a23_0x36f1e8(0x17a)](_0x148994,_0x2d195f){const _0x372d70=a23_0x36f1e8;for(const _0xc4a98a of _0x148994[_0x372d70(0x185)]){if(_0xc4a98a['endsWith'](_0x2d195f))return _0xc4a98a;}return undefined;}}function a23_0x4e3d(){const _0x8f5b7f=['webpack://','filter','apply','toString','sort','1031028UQDIza','column','sources','mapConsumer','FOUND\x20IN','info','.map','set','relative','p-limit','Parsing\x20source\x20map\x20files','hasMappingInfo','join','logger','Processing\x20','keys','CONTENT','debug','63KljAQa','util','toLowerCase','83169YiUylg','from','defineProperty','sourcemap\x20file\x20','SourceMapper','SourceMapConsumer','map','findShortestFuzzyMatches','error','path','Could\x20not\x20read\x20sourcemap\x20file\x20','mapFile','normalize','186724vrbiID','length','./file-index','52GMEHqm','substring','mappingInfo','line','get','(((.+)+)+)+$','infoMap','1188CsmVPc','747800RaEXKZ','An\x20error\x20occurred\x20while\x20reading\x20the\x20','readFile','FileIndex','search','getMappingInfo','utf8','all','dirname','Map\x20file\x20processed:\x20','14005EYuyTJ','file','__esModule','generatedPositionFor','1420958OXvDPQ','has','stringify','findInSources','Failed\x20to\x20process\x20a\x20source\x20map\x20file','13347790mlwQnX','promisify'];a23_0x4e3d=function(){return _0x8f5b7f;};return a23_0x4e3d();}exports[a23_0x36f1e8(0x19c)]=SourceMapper;async function create(_0x1823b4,_0x3e3367,_0x2bbc2f){const _0x3fff2e=a23_0x36f1e8;_0x1823b4[_0x3fff2e(0x194)]('Creating\x20SourceMapper');const _0x5c0a99=new SourceMapper(_0x1823b4);_0x1823b4[_0x3fff2e(0x194)](_0x3fff2e(0x18d),_0x3e3367[_0x3fff2e(0x1a6)]);const _0xb67e8c=async _0x4f4e1a=>{const _0x562c0d=_0x3fff2e;try{await processSourcemap(_0x1823b4,_0x5c0a99[_0x562c0d(0x1ae)],_0x4f4e1a,_0x2bbc2f);}catch(_0x596b7d){_0x1823b4[_0x562c0d(0x1a0)](_0x562c0d(0x17b),_0x4f4e1a,_0x596b7d),_0x1823b4['error'](JSON['stringify'](_0x596b7d));}};if(_0x2bbc2f)for(const _0x520d8b of _0x3e3367){await _0xb67e8c(_0x520d8b);}else{const _0x2c0338=pLimit(CONCURRENCY),_0x4348cd=_0x3e3367['map'](_0x3f4b13=>_0x2c0338(()=>_0xb67e8c(_0x3f4b13)));await Promise[_0x3fff2e(0x170)](_0x4348cd);}return _0x5c0a99;}exports['create']=create;
|