lightrun 1.54.2 → 1.55.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/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
|
-
const
|
|
1
|
+
const a15_0x21416d=a15_0x7052;(function(_0x142e9d,_0x479784){const _0x4f3923=a15_0x7052,_0x3fa4af=_0x142e9d();while(!![]){try{const _0x10915a=parseInt(_0x4f3923(0x19d))/0x1+parseInt(_0x4f3923(0x18b))/0x2*(parseInt(_0x4f3923(0x19f))/0x3)+-parseInt(_0x4f3923(0x1b4))/0x4*(-parseInt(_0x4f3923(0x1ac))/0x5)+parseInt(_0x4f3923(0x1b9))/0x6+-parseInt(_0x4f3923(0x1bc))/0x7*(-parseInt(_0x4f3923(0x190))/0x8)+parseInt(_0x4f3923(0x1b1))/0x9*(parseInt(_0x4f3923(0x1ae))/0xa)+-parseInt(_0x4f3923(0x18c))/0xb;if(_0x10915a===_0x479784)break;else _0x3fa4af['push'](_0x3fa4af['shift']());}catch(_0x51341f){_0x3fa4af['push'](_0x3fa4af['shift']());}}}(a15_0x1d88,0x2d4a6));const a15_0x5532e1=(function(){let _0x2f34ff=!![];return function(_0x26a8cc,_0x3d3871){const _0x2cbdb2=_0x2f34ff?function(){const _0x412898=a15_0x7052;if(_0x3d3871){const _0x142508=_0x3d3871[_0x412898(0x195)](_0x26a8cc,arguments);return _0x3d3871=null,_0x142508;}}:function(){};return _0x2f34ff=![],_0x2cbdb2;};}()),a15_0x354154=a15_0x5532e1(this,function(){const _0x1c81f3=a15_0x7052;return a15_0x354154[_0x1c81f3(0x1b3)]()[_0x1c81f3(0x19c)](_0x1c81f3(0x1a8))[_0x1c81f3(0x1b3)]()['constructor'](a15_0x354154)[_0x1c81f3(0x19c)](_0x1c81f3(0x1a8));});a15_0x354154();'use strict';Object[a15_0x21416d(0x196)](exports,a15_0x21416d(0x1b8),{'value':!![]}),exports['normalizeConfig']=exports[a15_0x21416d(0x18a)]=void 0x0;const extend=require(a15_0x21416d(0x19a)),config_1=require(a15_0x21416d(0x18d)),utils_1=require(a15_0x21416d(0x1bf)),getAgentConfig_1=require('./getAgentConfig'),validateConfig=_0x217250=>{const _0x3eb684=a15_0x21416d,_0x428b77={};try{config_1[_0x3eb684(0x197)][_0x3eb684(0x188)](_0x217250,{'abortEarly':![]});}catch(_0x2b72e0){_0x2b72e0[_0x3eb684(0x1ab)][_0x3eb684(0x1a2)](_0x3ff457=>_0x3ff457[_0x3eb684(0x1b7)]&&_0x3ff457[_0x3eb684(0x198)])[_0x3eb684(0x1aa)](_0x4856c2=>{const _0x176870=_0x3eb684;_0x428b77[_0x4856c2[_0x176870(0x1b7)]]=_0x4856c2[_0x176870(0x198)];});}return _0x428b77;};exports[a15_0x21416d(0x18a)]=validateConfig;function a15_0x1d88(){const _0x29b489=['(((.+)+)+)+$','AGENT_LOG_MAX_FILE_SIZE_MB','forEach','inner','30DBdedQ','AGENT_LOG_LEVEL','20YsdxvI','GAE_MINOR_VERSION','NO_CHECK_CERTIFICATE','1458882VugRnf','normalizeConfig','toString','60728UhrBua','AGENT_LOG_MAX_FILE_COUNT','agentConfigFile','path','__esModule','220278CzDJUh','LIGHTRUN_TAGS','GAE_SERVICE','14BQfMnG','registration','agentLog','../util/utils','agentLogLevel','LIGHTRUN_WAIT_FOR_INIT','LIGHTRUN_SECRET','FUNCTION_NAME','LIGHTRUN_API_ENDPOINT','GAE_MODULE_VERSION','stdErrThreshold','agentLogMaxFileCount','GAE_VERSION','validateSync','defaultConfig','validateConfig','11738rDetZf','7976991AzowjR','../config','LIGHTRUN_STD_ERR_THRESHOLD','FETCH_BREAKPOINTS_ONCE','1023368lFnShF','LIGHTRUN_METADATA_FILE','AGENT_LOG_TARGET_DIR','agentLogTargetDir','LIGHTRUN_INIT_WAIT_TIME_MS','apply','defineProperty','configSchema','message','K_SERVICE','extend','split','search','3302JazKIB','agentLogMaxFileSizeMb','102aNUqoJ','unversioned','LIGHTRUN_PROXY_PASSWORD','filter','GAE_MODULE_NAME','K_REVISION','metadata','serviceContext','env'];a15_0x1d88=function(){return _0x29b489;};return a15_0x1d88();}function a15_0x7052(_0x55c6b1,_0x58b553){const _0x6aa7b8=a15_0x1d88();return a15_0x7052=function(_0x354154,_0x5532e1){_0x354154=_0x354154-0x187;let _0x1d887d=_0x6aa7b8[_0x354154];return _0x1d887d;},a15_0x7052(_0x55c6b1,_0x58b553);}const normalizeConfig=_0x11633d=>{const _0x3f72f6=a15_0x21416d,_0x5b592d={'serviceContext':{'service':process['env'][_0x3f72f6(0x1bb)]||process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1a3)]||process[_0x3f72f6(0x1a7)][_0x3f72f6(0x199)],'version':process[_0x3f72f6(0x1a7)][_0x3f72f6(0x187)]||process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1c5)]||process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1a4)],'minorVersion_':process[_0x3f72f6(0x1a7)]['GAE_DEPLOYMENT_ID']||process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1af)]},'metadata':{'filename':process[_0x3f72f6(0x1a7)][_0x3f72f6(0x191)],'registration':{}},'lightrunSecret':process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1c2)],'apiEndpoint':process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1c4)],'noCheckCertificate':(0x0,utils_1['getBooleanValue'])(process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1b0)]),'fetchBreakpointsOnce':(0x0,utils_1['getBooleanValue'])(process['env'][_0x3f72f6(0x18f)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1c1)]),'lightrunInitWaitTimeMs':process['env'][_0x3f72f6(0x194)],'agentLog':_0x11633d?.[_0x3f72f6(0x1be)]||{},'proxy':{'host':process[_0x3f72f6(0x1a7)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process[_0x3f72f6(0x1a7)]['LIGHTRUN_PROXY_PORT']||'')||undefined,'username':process[_0x3f72f6(0x1a7)]['LIGHTRUN_PROXY_USERNAME'],'password':process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1a1)]}};process[_0x3f72f6(0x1a7)][_0x3f72f6(0x18e)]!==undefined&&(_0x5b592d[_0x3f72f6(0x1be)][_0x3f72f6(0x1c6)]=process[_0x3f72f6(0x1a7)]['LIGHTRUN_STD_ERR_THRESHOLD']);process['env'][_0x3f72f6(0x1ad)]!==undefined&&(_0x5b592d[_0x3f72f6(0x1be)][_0x3f72f6(0x1c0)]=process[_0x3f72f6(0x1a7)]['AGENT_LOG_LEVEL']);process[_0x3f72f6(0x1a7)][_0x3f72f6(0x192)]!==undefined&&(_0x5b592d[_0x3f72f6(0x1be)][_0x3f72f6(0x193)]=process['env'][_0x3f72f6(0x192)]);process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1b5)]!==undefined&&(_0x5b592d[_0x3f72f6(0x1be)][_0x3f72f6(0x1c7)]=parseInt(process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1b5)]));process[_0x3f72f6(0x1a7)]['AGENT_LOG_MAX_FILE_SIZE_MB']!==undefined&&(_0x5b592d[_0x3f72f6(0x1be)][_0x3f72f6(0x19e)]=parseInt(process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1a9)]));process['env']['FUNCTION_NAME']&&(_0x5b592d[_0x3f72f6(0x1a6)]['service']=process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1c3)],_0x5b592d['serviceContext']['version']=_0x3f72f6(0x1a0));process[_0x3f72f6(0x1a7)][_0x3f72f6(0x1ba)]&&(_0x5b592d[_0x3f72f6(0x1a5)][_0x3f72f6(0x1bd)]={'tags':process['env'][_0x3f72f6(0x1ba)][_0x3f72f6(0x19b)](',')});const _0x100f16=(0x0,getAgentConfig_1['getAgentConfig'])(process['env']['LIGHTRUN_AGENT_CONFIG']||_0x11633d?.['agentConfigFile']||config_1[_0x3f72f6(0x189)][_0x3f72f6(0x1b6)]),_0x5135c2=extend(!![],{},config_1[_0x3f72f6(0x189)],_0x100f16,_0x11633d,_0x5b592d),_0x199204=(0x0,exports['validateConfig'])(_0x5135c2);return{..._0x5135c2,'errors':_0x199204};};exports[a15_0x21416d(0x1b2)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a16_0x1f5a(_0x569525,_0xe1d9cf){const _0x32d106=a16_0x2df2();return a16_0x1f5a=function(_0x5a4c75,_0x235c6b){_0x5a4c75=_0x5a4c75-0x115;let _0x2df261=_0x32d106[_0x5a4c75];return _0x2df261;},a16_0x1f5a(_0x569525,_0xe1d9cf);}const a16_0xe0b7db=a16_0x1f5a;function a16_0x2df2(){const _0x595496=['(((.+)+)+)+$','apply','297172sQtfsu','35381EgOTDv','__esModule','56PIiWYk','search','3248465isOTOj','10723141VDpCIW','./delimit','7609lmfrxq','9331938uMgiEH','push','3ULISQY','toString','3320NkTUyd','delimit','4641410CSKmba','tokenize','9qovwMF','constructor'];a16_0x2df2=function(){return _0x595496;};return a16_0x2df2();}(function(_0x33c86a,_0x592d23){const _0x54cb4e=a16_0x1f5a,_0x277e55=_0x33c86a();while(!![]){try{const _0x1a6503=parseInt(_0x54cb4e(0x125))/0x1*(-parseInt(_0x54cb4e(0x127))/0x2)+-parseInt(_0x54cb4e(0x11a))/0x3*(parseInt(_0x54cb4e(0x124))/0x4)+-parseInt(_0x54cb4e(0x129))/0x5+parseInt(_0x54cb4e(0x118))/0x6+parseInt(_0x54cb4e(0x117))/0x7*(parseInt(_0x54cb4e(0x11c))/0x8)+parseInt(_0x54cb4e(0x120))/0x9*(-parseInt(_0x54cb4e(0x11e))/0xa)+parseInt(_0x54cb4e(0x115))/0xb;if(_0x1a6503===_0x592d23)break;else _0x277e55['push'](_0x277e55['shift']());}catch(_0x56413c){_0x277e55['push'](_0x277e55['shift']());}}}(a16_0x2df2,0xc3ea0));const a16_0x235c6b=(function(){let _0x3f20e9=!![];return function(_0x202704,_0xf4b902){const _0x3d3d81=_0x3f20e9?function(){const _0x1010e9=a16_0x1f5a;if(_0xf4b902){const _0x4ab05f=_0xf4b902[_0x1010e9(0x123)](_0x202704,arguments);return _0xf4b902=null,_0x4ab05f;}}:function(){};return _0x3f20e9=![],_0x3d3d81;};}()),a16_0x5a4c75=a16_0x235c6b(this,function(){const _0x1c45c4=a16_0x1f5a;return a16_0x5a4c75[_0x1c45c4(0x11b)]()['search'](_0x1c45c4(0x122))[_0x1c45c4(0x11b)]()[_0x1c45c4(0x121)](a16_0x5a4c75)[_0x1c45c4(0x128)](_0x1c45c4(0x122));});a16_0x5a4c75();'use strict';Object['defineProperty'](exports,a16_0xe0b7db(0x126),{'value':!![]}),exports[a16_0xe0b7db(0x11f)]=void 0x0;const delimit_1=require(a16_0xe0b7db(0x116)),tokenize=(_0x1a32ad,_0x4bf2dd)=>{const _0xb2ecdc=a16_0xe0b7db;let _0x4b4b0d=(0x0,delimit_1[_0xb2ecdc(0x11d)])(_0x1a32ad,'$$');for(let _0x4efa76=_0x4bf2dd-0x1;_0x4efa76>=0x0;_0x4efa76--){const _0x23007=[];for(let _0x40858a=0x0;_0x40858a<_0x4b4b0d['length'];_0x40858a++){_0x4b4b0d[_0x40858a]['v']?_0x23007[_0xb2ecdc(0x119)](_0x4b4b0d[_0x40858a]):_0x23007['push'](...(0x0,delimit_1['delimit'])(_0x4b4b0d[_0x40858a],'$'+_0x4efa76));}_0x4b4b0d=_0x23007;}return _0x4b4b0d;};exports[a16_0xe0b7db(0x11f)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x3692dd=a17_0x301a;(function(_0x57b408,_0x4c4ff5){const _0x4d5cbe=a17_0x301a,_0x2ac520=_0x57b408();while(!![]){try{const _0x547c17=-parseInt(_0x4d5cbe(0x1ad))/0x1+-parseInt(_0x4d5cbe(0x261))/0x2*(parseInt(_0x4d5cbe(0x25c))/0x3)+parseInt(_0x4d5cbe(0x1cf))/0x4+-parseInt(_0x4d5cbe(0x1fb))/0x5+parseInt(_0x4d5cbe(0x1a3))/0x6*(parseInt(_0x4d5cbe(0x243))/0x7)+parseInt(_0x4d5cbe(0x1a4))/0x8+parseInt(_0x4d5cbe(0x1b5))/0x9;if(_0x547c17===_0x4c4ff5)break;else _0x2ac520['push'](_0x2ac520['shift']());}catch(_0x11b529){_0x2ac520['push'](_0x2ac520['shift']());}}}(a17_0x3271,0x97e83));const a17_0x57d76b=(function(){let _0x424200=!![];return function(_0x157d3f,_0x430baf){const _0x49286d=_0x424200?function(){const _0x50dfd7=a17_0x301a;if(_0x430baf){const _0x3dc878=_0x430baf[_0x50dfd7(0x161)](_0x157d3f,arguments);return _0x430baf=null,_0x3dc878;}}:function(){};return _0x424200=![],_0x49286d;};}()),a17_0xe2580c=a17_0x57d76b(this,function(){const _0x2d58ee=a17_0x301a;return a17_0xe2580c[_0x2d58ee(0x1bb)]()[_0x2d58ee(0x1c6)](_0x2d58ee(0x1b6))[_0x2d58ee(0x1bb)]()['constructor'](a17_0xe2580c)[_0x2d58ee(0x1c6)](_0x2d58ee(0x1b6));});a17_0xe2580c();function a17_0x3271(){const _0x520bca=['fromFileStats','../client/stackdriver/status-message','status','caseInsensitive','Expiring\x20breakpoint','existsSync','SIGTERM','pid','clearTransmissionTimeout','cwd','./blocklisting/patterns-blocklist-manager','189240hDWfvB','Debuglet\x20not\x20running','stringify','./io/file-index','normalizeConfig','getMaxSnapshotBufferSize','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','createDebuggee','javascriptFileExtensions','register','./piping-manager','error','extraPaths','\x20(type:\x20','Failed\x20to\x20register\x20debuggee:\x20','.\x20Error:\x20','setBlocklistManager','5.2\x20||\x20<4','./agent-logger','./debuglet-helpers/createDebuggee','warn','replace','allowExpressions','promise','create','Error\x20scanning\x20the\x20filesystem.','isOutOfQuota','pipingManager','readFile','split','./v8/debugapi','Switching\x20globalPiping\x20status\x20from\x20','./debuglet-helpers/normalizeConfig','breakpoints','info','./util/utils','Failed\x20to\x20re-register\x20debuggee\x20','addAndPipeLog','removePerBreakpointQuota','hash','all','capture','Starting\x20debuggee','Scheduling\x20registration\x20in\x20','LOG','QuotaManager','./reduction/redaction-manager','extend','promiseResolve','blacklist_exception','replaceRedactedByValue','Breakpoint\x20hit!:\x20','\x09remove\x20breakpoint','\x0a\x09expressions:\x20','enable','\x0a\x09createdTime:\x20','initError','length','Disabled\x20by\x20the\x20server','push','readFullVersion','debug','internal','getSourceContextFromFile','Scanner','message','Private\x20method\x20is\x20not\x20writable','config','./controller','Debuglet','collectLogRequestId','resolve','112973nsgPeR','../types/stackdriver','.\x20Retrying\x20in\x20','rejecting\x20breakpoint','mapSubtract','Initializing\x20Node.js\x20agent\x20version:\x20','pipeLogs','condition','backoff','REDACTED_PLACEHOLDER','./configuration-provider','isReady','started','sep','>=12','isRedactionActive','unref','join','clientConnectionTimeoutInSeconds','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','Fetching\x20breakpoints','filename','findFiles','js.map','set','30VTngIo','SIGINT','format','setPipingStatus','action','22566JvjPWV','createTime','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','CAPTURE','mainModule','ConfigurationProvider','Breakpoint','NOT_SET','):\x20pattern:\x20','now','.\x20message:\x20','agentLog','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','agentLogTargetDir','isReadyManager','Registering\x20debuggee','apply','jsFileIndex','remainingHits','stop','undefined','./reduction/redaction-manager-re2js','waitExpired','defineProperty','CachedPromise','prettyError','EventEmitter','\x20completed.','UNSPECIFIED','log','do\x20this.','has','sourceMapDiagnostics','function','StatusMessage','isError','utf8','agentLogMaxFileSizeMb','breakpointUpdateIntervalSec','expirationTime','fetcherActive','enqueueBreakpointUpdate','Active\x20Breakpoints:\x20\x0a','quotaRecoverySeconds','scan','quotaCheck','agentLogMaxFileCount','wait','parameters','GAE-','name','call','disable','concat','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','NODE_10_CIRC_REF_MESSAGE','logger','\x0a\x09condition:\x20','errors','./debuglet-helpers/mapSubtract','fetchBreakpointsOnce','seconds','isRunning','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','collectAndSendLog','selectFiles','inspect','promisify','allowRootAsWorkingDirectory','setIgnoreQuota','breakpointExpirationSec','LOGPOINT:\x20','agentLogLevel','normalize','listBreakpoints','remotelyDisabled','NODE_VERSION_MESSAGE','./debuglet-helpers/format','BREAKPOINT_ACTION_MESSAGE','util','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','events','282AtugWc','3512248ExnOLD','getBlocklist','parse','satisfies','env','default','ALLOW_EXPRESSIONS_MESSAGE','assert','add','1091834lbdGCB','start','path','isFinalState','setPatterns','\x09Notifying\x20server\x20about\x20error\x20for\x20','ignoreQuota','filter','4801041Trztge','(((.+)+)+)+$','sendAgentLogsToServer','Controller','breakpoints_fetched','get','toString','PatternsBlocklistManager','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','activeBreakpointMap','Unique\x20ID\x20for\x20this\x20Application:\x20','Redactions:\x20\x0a\x09','beforeExit','then','__classPrivateFieldGet','getRedactions','bind','search','\x09adding\x20breakpoint','type','location','debuggee','\x20because\x20','stdErrThreshold','entries','workingDirectory','534840yzNnOv','description','packageInfo','forEach','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','blacklist','name:\x20','Found\x20breakpoint\x20with\x20invalid\x20action:','reporting\x20breakpoint\x20','\x09Long\x20poll\x20completed.','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','posix','maxRequestRetryDelaySeconds','map','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','debuglet','Server\x20breakpoints:\x0a','isArray','selectStats','emit','value','./io/sourcemapper','version','globalPipingStatus','source-context.json','deregister','\x20to\x20','APP_ONLY','SIGQUIT','Error\x20processing\x20the\x20sourcemaps.','removeBreakpoint','once','expressions'];a17_0x3271=function(){return _0x520bca;};return a17_0x3271();}'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x61481a,_0x256d97,_0x43f302,_0x4e002c,_0x45a69f){const _0x4b304c=a17_0x301a;if(_0x4e002c==='m')throw new TypeError(_0x4b304c(0x23d));if(_0x4e002c==='a'&&!_0x45a69f)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x256d97===_0x4b304c(0x172)?_0x61481a!==_0x256d97||!_0x45a69f:!_0x256d97[_0x4b304c(0x170)](_0x61481a))throw new TypeError(_0x4b304c(0x1dd));return _0x4e002c==='a'?_0x45a69f['call'](_0x61481a,_0x43f302):_0x45a69f?_0x45a69f['value']=_0x43f302:_0x256d97['set'](_0x61481a,_0x43f302),_0x43f302;},__classPrivateFieldGet=this&&this[a17_0x3692dd(0x1c3)]||function(_0x523476,_0x2bc861,_0x45660a,_0xa55c54){const _0x3c301e=a17_0x3692dd;if(_0x45660a==='a'&&!_0xa55c54)throw new TypeError(_0x3c301e(0x1d9));if(typeof _0x2bc861==='function'?_0x523476!==_0x2bc861||!_0xa55c54:!_0x2bc861['has'](_0x523476))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x45660a==='m'?_0xa55c54:_0x45660a==='a'?_0xa55c54[_0x3c301e(0x184)](_0x523476):_0xa55c54?_0xa55c54[_0x3c301e(0x1e3)]:_0x2bc861[_0x3c301e(0x1ba)](_0x523476);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a17_0x3692dd(0x168)](exports,'__esModule',{'value':!![]}),exports['Debuglet']=exports[a17_0x3692dd(0x169)]=void 0x0;function a17_0x301a(_0xf0fb1c,_0x33ff3b){const _0xf99029=a17_0x3271();return a17_0x301a=function(_0xe2580c,_0x57d76b){_0xe2580c=_0xe2580c-0x15c;let _0x327137=_0xf99029[_0xe2580c];return _0x327137;},a17_0x301a(_0xf0fb1c,_0x33ff3b);}const assert=require(a17_0x3692dd(0x1ab)),events_1=require(a17_0x3692dd(0x1a2)),extend=require(a17_0x3692dd(0x22a)),fs=require('fs'),path=require(a17_0x3692dd(0x1af)),util=require(a17_0x3692dd(0x1a0)),status_message_1=require(a17_0x3692dd(0x1f1)),stackdriver_1=require(a17_0x3692dd(0x244)),agent_logger_1=require(a17_0x3692dd(0x20d)),config_1=require('./config'),controller_1=require(a17_0x3692dd(0x23f)),SourceMapper=require(a17_0x3692dd(0x1e4)),debugapi=require(a17_0x3692dd(0x219)),piping_manager_1=require(a17_0x3692dd(0x205)),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require(a17_0x3692dd(0x1fa)),scanner_1=require('./io/scanner'),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a17_0x3692dd(0x1fe)),utils_1=require(a17_0x3692dd(0x21e)),redaction_manager_1=require(a17_0x3692dd(0x229)),configuration_provider_1=require(a17_0x3692dd(0x24d)),normalizeConfig_1=require(a17_0x3692dd(0x21b)),mapSubtract_1=require(a17_0x3692dd(0x18c)),format_1=require(a17_0x3692dd(0x19e)),createDebuggee_1=require(a17_0x3692dd(0x20e)),readFilep=util[a17_0x3692dd(0x194)](fs[a17_0x3692dd(0x217)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x48be87,_0xc3e9d)=>{const _0x5210d4=a17_0x3692dd;let _0x55e408=_0x48be87+util[_0x5210d4(0x25e)](_0x5210d4(0x263),_0xc3e9d['id'],_0xc3e9d[_0x5210d4(0x260)],util['inspect'](_0xc3e9d[_0x5210d4(0x1c9)]));if(_0xc3e9d[_0x5210d4(0x262)]){const _0x5c51da=Number(_0xc3e9d['createTime'][_0x5210d4(0x18e)]),_0x186808=new Date(_0x5c51da*0x3e8);_0x55e408+=_0x5210d4(0x232)+_0x186808[_0x5210d4(0x1bb)]();}return _0xc3e9d['condition']&&(_0x55e408+=_0x5210d4(0x18a)+util[_0x5210d4(0x193)](_0xc3e9d[_0x5210d4(0x24a)])),_0xc3e9d['expressions']&&(_0x55e408+=_0x5210d4(0x230)+util['inspect'](_0xc3e9d[_0x5210d4(0x1ef)])),_0x55e408;},formatBreakpoints=(_0x1b5700,_0x3e4df2)=>{const _0xf24aec=a17_0x3692dd;return _0x1b5700+Object['keys'](_0x3e4df2)[_0xf24aec(0x1dc)](_0x53c662=>{return formatBreakpoint('',_0x3e4df2[_0x53c662]);})['join']('\x0a');};class CachedPromise{constructor(){const _0x598a9a=a17_0x3692dd;this[_0x598a9a(0x22b)]=null,this[_0x598a9a(0x212)]=new Promise(_0x52871e=>{const _0x4c0c27=_0x598a9a;this[_0x4c0c27(0x22b)]=_0x52871e;});}[a17_0x3692dd(0x1ba)](){const _0x3a2b61=a17_0x3692dd;return this[_0x3a2b61(0x212)];}[a17_0x3692dd(0x242)](){const _0x1124a7=a17_0x3692dd;this[_0x1124a7(0x22b)]&&(this['promiseResolve'](),this[_0x1124a7(0x22b)]=null);}}exports[a17_0x3692dd(0x169)]=CachedPromise;class IsReadyImpl{constructor(_0x4b813e){this['debuglet']=_0x4b813e;}[a17_0x3692dd(0x24e)](){const _0xe4ecda=a17_0x3692dd;return this[_0xe4ecda(0x1de)][_0xe4ecda(0x24e)]();}}class Debuglet extends events_1[a17_0x3692dd(0x16b)]{constructor(_0x27e39e,_0x3a6f65){const _0x3765a7=a17_0x3692dd;super(),_Debuglet_instances[_0x3765a7(0x1ac)](this),_Debuglet_debug[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_v8debug[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_breakpointFetched[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_nextEnableTimeout['set'](this,null),this[_0x3765a7(0x15f)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_scanner[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x3765a7(0x25b)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this[_0x3765a7(0x23e)]=(0x0,normalizeConfig_1[_0x3765a7(0x1ff)])(_0x3a6f65),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x3765a7(0x266))](this[_0x3765a7(0x23e)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x27e39e,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x3765a7(0x189)]=agent_logger_1[_0x3765a7(0x1a9)]['createLogger'](this[_0x3765a7(0x23e)][_0x3765a7(0x15c)][_0x3765a7(0x15e)],this[_0x3765a7(0x23e)][_0x3765a7(0x15c)][_0x3765a7(0x176)],this[_0x3765a7(0x23e)]['agentLog'][_0x3765a7(0x17f)],this['config'][_0x3765a7(0x15c)][_0x3765a7(0x199)],this['config'][_0x3765a7(0x15c)][_0x3765a7(0x1cc)]),(0x0,config_1['logMainConfigParams'])(this['config'],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x3765a7(0x189)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x3765a7(0x1b8))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x3765a7(0x189)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x3765a7(0x23b))](this[_0x3765a7(0x189)]),'f'),this[_0x3765a7(0x1ca)]=null,this['activeBreakpointMap']={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x3765a7(0x228))](this[_0x3765a7(0x189)],this[_0x3765a7(0x23e)]),'f'),this[_0x3765a7(0x216)]=new piping_manager_1['PipingManager'](_0x3765a7(0x1ea),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x3765a7(0x23e)]);}async[a17_0x3692dd(0x259)](_0x288ce7,_0x3352f8){const _0x2fad90=a17_0x3692dd,_0x2bda38=_0x288ce7[_0x2fad90(0x1ce)],_0x237fe3=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x2fad90(0x17d)](_0x2bda38,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2fad90(0x184)](_a,_0x288ce7[_0x2fad90(0x203)][_0x2fad90(0x186)](_0x2fad90(0x25a))),_0x3352f8,_0x288ce7[_0x2fad90(0x207)]),_0x4a172f=_0x237fe3[_0x2fad90(0x1e1)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2fad90(0x184)](_a,_0x288ce7[_0x2fad90(0x203)])),_0x5eb5ea=file_index_1['FileIndex'][_0x2fad90(0x1f0)](_0x4a172f),_0xd54222=_0x237fe3[_0x2fad90(0x192)](/.js.map$/,process[_0x2fad90(0x1f9)]()),_0x32e299=_0x237fe3[_0x2fad90(0x18b)]();return{'mapFiles':_0xd54222,'errors':_0x32e299,'jsFileIndex':_0x5eb5ea,'hash':_0x237fe3[_0x2fad90(0x222)]};}async[a17_0x3692dd(0x1ae)](){const _0x48bd06=a17_0x3692dd,_0x2c0afd=this,_0x544508=_0x2c0afd[_0x48bd06(0x23e)][_0x48bd06(0x1ce)];if(!_0x2c0afd[_0x48bd06(0x23e)][_0x48bd06(0x195)]&&path[_0x48bd06(0x254)](_0x544508,'..')===_0x544508){const _0x5ccdbd=_0x48bd06(0x256)+_0x48bd06(0x1d3)+_0x48bd06(0x187)+_0x48bd06(0x16f);_0x2c0afd['logger'][_0x48bd06(0x206)](_0x5ccdbd),_0x2c0afd[_0x48bd06(0x1e2)](_0x48bd06(0x233),new Error(_0x5ccdbd));return;}let _0x12c759;process[_0x48bd06(0x1a8)]['GAE_MINOR_VERSION']&&(_0x12c759=_0x48bd06(0x182)+process[_0x48bd06(0x1a8)]['GAE_MINOR_VERSION']);let _0x3bee0f,_0x169854=_0x12c759||'';try{_0x3bee0f=await this[_0x48bd06(0x259)](_0x2c0afd['config'],_0x12c759),_0x3bee0f[_0x48bd06(0x18b)][_0x48bd06(0x1d2)](_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x20f)]);}catch(_0x39e597){_0x2c0afd['logger'][_0x48bd06(0x206)](_0x48bd06(0x214),_0x39e597),_0x2c0afd[_0x48bd06(0x1e2)](_0x48bd06(0x233),_0x39e597);return;}try{const _0x10f31d=await SourceMapper[_0x48bd06(0x213)](_0x2c0afd['logger'],_0x3bee0f['mapFiles'],_0x2c0afd[_0x48bd06(0x23e)][_0x48bd06(0x239)]?.[_0x48bd06(0x171)]);__classPrivateFieldSet(_0x2c0afd,_Debuglet_v8debug,debugapi[_0x48bd06(0x213)](_0x2c0afd[_0x48bd06(0x189)],_0x2c0afd[_0x48bd06(0x23e)],_0x3bee0f[_0x48bd06(0x162)],_0x10f31d,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x169854=_0x12c759||_0x3bee0f[_0x48bd06(0x222)];}catch(_0x2e57f7){_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x206)](_0x48bd06(0x1ec),_0x2e57f7),_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x21d)](JSON[_0x48bd06(0x1fd)](_0x2e57f7)),_0x2c0afd[_0x48bd06(0x1e2)](_0x48bd06(0x233),_0x2e57f7);}_0x2c0afd[_0x48bd06(0x189)]['info'](_0x48bd06(0x1bf)+_0x169854);const _0x330841=(0x0,utils_1[_0x48bd06(0x237)])(_0x2c0afd[_0x48bd06(0x189)])[_0x48bd06(0x210)]('\x0a','');_0x2c0afd[_0x48bd06(0x189)]['info'](_0x48bd06(0x248)+_0x330841);let _0x5e8a57;try{_0x5e8a57=_0x2c0afd[_0x48bd06(0x23e)]['sourceContext']||await _a['getSourceContextFromFile']();}catch(_0x570439){}this[_0x48bd06(0x23e)][_0x48bd06(0x224)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x48bd06(0x200)]()===0x0&&(0x0,utils_1[_0x48bd06(0x1a7)])(process['version'],_0x48bd06(0x1a1))&&_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x20f)](utils_1[_0x48bd06(0x18b)][_0x48bd06(0x188)]),_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x21d)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process[_0x48bd06(0x265)]?.[_0x48bd06(0x258)]),_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x238)]('Working\x20directory:\x20'+_0x544508),_0x2c0afd[_0x48bd06(0x189)][_0x48bd06(0x238)](_0x48bd06(0x225)),__classPrivateFieldSet(_0x2c0afd,_Debuglet_running,!![],'f'),_0x2c0afd[_0x48bd06(0x1ca)]=(0x0,createDebuggee_1[_0x48bd06(0x202)])(_0x169854,_0x2c0afd[_0x48bd06(0x23e)],_0x5e8a57,__classPrivateFieldGet(_0x2c0afd,_Debuglet_debug,'f')[_0x48bd06(0x1d1)],_0x330841,_0x2c0afd['logger'],__classPrivateFieldGet(_0x2c0afd,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x2c0afd,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x48bd06(0x184)](_0x2c0afd),__classPrivateFieldGet(_0x2c0afd,_Debuglet_instances,'m',_Debuglet_register_)[_0x48bd06(0x184)](_0x2c0afd),_0x2c0afd[_0x48bd06(0x1e2)](_0x48bd06(0x24f));}['isReady'](){const _0x22e8d9=a17_0x3692dd;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x22e8d9(0x242)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x22e8d9(0x1ba)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x22e8d9(0x1ba)]()[_0x22e8d9(0x1c2)](()=>{const _0x259642=_0x22e8d9;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x259642(0x184)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async[a17_0x3692dd(0x23a)](){const _0x1a38a5=a17_0x3692dd,_0x48093f=await readFilep(_0x1a38a5(0x1e7),_0x1a38a5(0x175));try{return JSON[_0x1a38a5(0x1a6)](_0x48093f);}catch(_0x40fb87){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x40fb87);}}[a17_0x3692dd(0x18f)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x3692dd(0x164)](){const _0x154964=a17_0x3692dd;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x154964(0x189)][_0x154964(0x238)](_0x154964(0x15d));return;}this['logger'][_0x154964(0x238)]('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x154964(0x1f8)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x154964(0x1e2)]('stopped');}}exports[a17_0x3692dd(0x240)]=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x1a8b9c){const _0x28c6d3=a17_0x3692dd;return new RegExp(_0x1a8b9c[_0x28c6d3(0x1dc)](_0x1f2992=>_0x1f2992+'$')[_0x28c6d3(0x254)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0xe8ac35=a17_0x3692dd,_0x755426=[_0xe8ac35(0x1f6),_0xe8ac35(0x25d),_0xe8ac35(0x1eb)];_0x755426[_0xe8ac35(0x1d2)](_0x7ae243=>{const _0x7818e9=_0xe8ac35;process[_0x7818e9(0x1ee)](_0x7ae243,()=>{const _0x55f249=_0x7818e9;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x55f249(0x1e8)](this['debuggee'],()=>{const _0x5157a4=_0x55f249;process['kill'](process[_0x5157a4(0x1f7)],_0x7ae243);});});}),process[_0xe8ac35(0x1ee)](_0xe8ac35(0x1c1),()=>{const _0x1f6c6f=_0xe8ac35;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1f6c6f(0x1e8)](this['debuggee'],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xf74464){const _0x543bb3=a17_0x3692dd,_0x5532f4=this;_0x5532f4[_0x543bb3(0x189)][_0x543bb3(0x238)](_0xf74464?_0x543bb3(0x226)+_0xf74464+'s':_0x543bb3(0x160));function _0x432153(_0x42f85e,_0xeb3dfe,_0x545cd4=![]){const _0x1930bb=_0x543bb3,_0x423e7a=_0x5532f4[_0x1930bb(0x1ca)]?.['id']?_0x1930bb(0x21f)+_0x5532f4['debuggee']?.['id']+':\x20'+(0x0,utils_1['prettyError'])(_0x42f85e):_0x1930bb(0x209)+(0x0,utils_1[_0x1930bb(0x16a)])(_0x42f85e);_0x5532f4[_0x1930bb(0x189)]['error'](_0x423e7a),_0xeb3dfe&&!_0x545cd4&&_0x5532f4['logger'][_0x1930bb(0x206)]('Result:\x20\x0a',_0xeb3dfe),__classPrivateFieldGet(_0x5532f4,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1930bb(0x184)](_0x5532f4,(0x0,utils_1[_0x1930bb(0x24b)])(_0xf74464,_0x5532f4[_0x1930bb(0x23e)]['internal'][_0x1930bb(0x1db)]));}setTimeout(()=>{const _0xfb91ee=_0x543bb3;if(!__classPrivateFieldGet(_0x5532f4,_Debuglet_running,'f')){_0x432153(new Error(_0xfb91ee(0x1fc)));return;}__classPrivateFieldGet(_0x5532f4,_Debuglet_controller,'f')[_0xfb91ee(0x204)](_0x5532f4['debuggee'],(_0xd5dc37,_0x4c458b,_0x49705e=![])=>{const _0x47f8e3=_0xfb91ee;if(_0xd5dc37){_0x432153(_0xd5dc37,_0x4c458b,_0x49705e);return;}if(_0x4c458b['debuggee']['isDisabled']){_0x432153(new Error(_0x47f8e3(0x235))),_0x5532f4['emit'](_0x47f8e3(0x19c));return;}const _0x27abe7=_0x4c458b[_0x47f8e3(0x1ca)]['id'];_0x5532f4[_0x47f8e3(0x189)][_0x47f8e3(0x21d)]('Registered\x20as\x20debuggee:\x20'+_0x27abe7),_0x5532f4[_0x47f8e3(0x1ca)]['id']=_0x27abe7;const _0x1cfd1d=[__classPrivateFieldGet(_0x5532f4,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x47f8e3(0x1c5)](_0x5532f4)(_0x5532f4[_0x47f8e3(0x1ca)]['id'])];_0x5532f4[_0x47f8e3(0x23e)]['redactionEnabled']&&_0x1cfd1d[_0x47f8e3(0x236)](__classPrivateFieldGet(_0x5532f4,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x47f8e3(0x1c5)](_0x5532f4)(_0x5532f4[_0x47f8e3(0x1ca)]['id'])),Promise[_0x47f8e3(0x223)](_0x1cfd1d)[_0x47f8e3(0x1c2)](()=>{const _0x112b87=_0x47f8e3;_0x5532f4['emit']('registered',_0x27abe7),__classPrivateFieldGet(_0x5532f4,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(_0x5532f4,_Debuglet_v8debug,'f')?.[_0x112b87(0x20b)](__classPrivateFieldGet(_0x5532f4,_Debuglet_blocklistManager,'f')),!_0x5532f4[_0x112b87(0x179)]&&__classPrivateFieldGet(_0x5532f4,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x112b87(0x184)](_0x5532f4,0x0,this[_0x112b87(0x23e)][_0x112b87(0x18d)],_0x4c458b?.[_0x112b87(0x255)]);},_0x2fb228=>{_0x432153(_0x2fb228);});});},_0xf74464*0x3e8)[_0x543bb3(0x253)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x1d04cf,_0x559009,_0x17dafa){const _0x5ec6a0=a17_0x3692dd,_0x5d0a9c=this;!_0x559009&&(_0x5d0a9c[_0x5ec6a0(0x179)]=!![]),setTimeout(()=>{const _0x569810=_0x5ec6a0;if(!__classPrivateFieldGet(_0x5d0a9c,_Debuglet_running,'f'))return;!_0x559009&&assert(_0x5d0a9c['fetcherActive']),_0x5d0a9c[_0x569810(0x189)][_0x569810(0x238)](_0x569810(0x257)),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_controller,'f')[_0x569810(0x19b)](_0x5d0a9c[_0x569810(0x1ca)],(_0x58b13c,_0x5858f1,_0x6f5d12)=>{const _0x485fa4=_0x569810;if(_0x5858f1?.[_0x485fa4(0x1f2)]===0x194){_0x5d0a9c[_0x485fa4(0x189)]['info']('Debuggee\x20is\x20not\x20registered'),_0x5d0a9c[_0x485fa4(0x179)]=![],__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](_0x5d0a9c),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_register_)[_0x485fa4(0x184)](_0x5d0a9c);return;}if(_0x58b13c){const _0x292d3c=(0x0,utils_1[_0x485fa4(0x24b)])(_0x1d04cf,_0x5d0a9c[_0x485fa4(0x23e)][_0x485fa4(0x239)][_0x485fa4(0x1db)]);_0x5d0a9c[_0x485fa4(0x189)]['error']('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x5858f1?.['status']+_0x485fa4(0x26b)+_0x58b13c['message']+_0x485fa4(0x245)+_0x292d3c+'s'),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x485fa4(0x184)](_0x5d0a9c,_0x292d3c,_0x559009,_0x17dafa);return;}_0x5d0a9c['logger']['debug']('\x09'+_0x5858f1['status']+_0x485fa4(0x16c));if(!_0x6f5d12){const _0xe095ae=_0x5d0a9c[_0x485fa4(0x23e)][_0x485fa4(0x177)];_0x5d0a9c[_0x485fa4(0x189)][_0x485fa4(0x206)](_0x485fa4(0x1bd)+_0xe095ae+'s'),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x485fa4(0x184)](_0x5d0a9c,_0xe095ae,_0x559009,_0x17dafa);return;}if(_0x6f5d12[_0x485fa4(0x167)]){_0x5d0a9c[_0x485fa4(0x189)][_0x485fa4(0x21d)](_0x485fa4(0x1d8)),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x485fa4(0x184)](_0x5d0a9c,0x0,_0x559009,_0x17dafa);return;}if(_0x6f5d12[_0x485fa4(0x249)]&&_0x6f5d12[_0x485fa4(0x249)]!==_0x485fa4(0x268)){const _0x553da8=this['pipingManager']['globalPipingStatus'];_0x553da8!==_0x6f5d12[_0x485fa4(0x249)]&&(this[_0x485fa4(0x189)]['debug'](_0x485fa4(0x21a)+_0x553da8+_0x485fa4(0x1e9)+_0x6f5d12[_0x485fa4(0x249)]),this[_0x485fa4(0x216)][_0x485fa4(0x1e6)]=_0x6f5d12['pipeLogs']);}if(_0x6f5d12[_0x485fa4(0x191)]&&_0x6f5d12['collectLogRequestId']!==_0x5d0a9c['collectLogRequestId']){_0x5d0a9c[_0x485fa4(0x241)]=_0x6f5d12[_0x485fa4(0x241)];const _0x5690f8=_0x5d0a9c[_0x485fa4(0x23e)]['agentLog'][_0x485fa4(0x15e)]&&path[_0x485fa4(0x254)](_0x5d0a9c[_0x485fa4(0x23e)][_0x485fa4(0x15c)][_0x485fa4(0x15e)],agent_logger_1[_0x485fa4(0x1a9)]['AGENT_LOG_FILE']);_0x5690f8&&fs[_0x485fa4(0x1f5)](_0x5690f8)?setTimeout(()=>__classPrivateFieldGet(_0x5d0a9c,_Debuglet_controller,'f')[_0x485fa4(0x1b7)](_0x5d0a9c[_0x485fa4(0x1ca)],_0x6f5d12[_0x485fa4(0x241)],_0x5690f8)):_0x5d0a9c[_0x485fa4(0x189)][_0x485fa4(0x21d)]('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x6f5d12['collectLogRequestId']+_0x485fa4(0x1cb)+_0x485fa4(0x201));}const _0x30a5b2=(_0x6f5d12[_0x485fa4(0x21c)]||[])['map'](_0x443280=>new stackdriver_1[(_0x485fa4(0x267))](_0x443280))[_0x485fa4(0x1b4)](_0x39a141=>{const _0x4533a2=_0x485fa4,_0xf7e999=_0x39a141[_0x4533a2(0x260)]||_0x4533a2(0x264);if(__classPrivateFieldGet(_0x5d0a9c,_Debuglet_completedBreakpointMap,'f')[_0x39a141['id']])return![];if(_0xf7e999!=='CAPTURE'&&_0xf7e999!==_0x4533a2(0x227))return _0x5d0a9c[_0x4533a2(0x189)]['warn'](_0x4533a2(0x1d6),_0xf7e999),_0x39a141[_0x4533a2(0x1f2)]=new status_message_1[(_0x4533a2(0x173))](status_message_1[_0x4533a2(0x173)][_0x4533a2(0x16d)],utils_1[_0x4533a2(0x18b)][_0x4533a2(0x19f)],!![]),__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x5d0a9c,_0x39a141),![];return!![];}),_0x4079c9=__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x485fa4(0x184)](_0x5d0a9c);let _0x433ef4=_0x4079c9[_0x485fa4(0x234)]>0x0;__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x5d0a9c,_0x4079c9),_0x433ef4=_0x433ef4||__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x5d0a9c,_0x30a5b2),_0x5d0a9c[_0x485fa4(0x1e2)](_0x485fa4(0x1b9),_0x30a5b2[_0x485fa4(0x234)]);_0x433ef4&&_0x5d0a9c[_0x485fa4(0x189)][_0x485fa4(0x238)](formatBreakpoints(_0x485fa4(0x17b),_0x5d0a9c[_0x485fa4(0x1be)]));__classPrivateFieldSet(_0x5d0a9c,_Debuglet_breakpointFetchedTimestamp,Date[_0x485fa4(0x26a)](),'f');_0x559009?__classPrivateFieldGet(_0x5d0a9c,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x5d0a9c,_Debuglet_breakpointFetched,'f')[_0x485fa4(0x242)](),__classPrivateFieldSet(_0x5d0a9c,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x5d0a9c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x5d0a9c,0x0,_0x559009,_0x17dafa);return;},_0x17dafa);},_0x1d04cf*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x1dfb09=a17_0x3692dd;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x1dfb09(0x242)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0xc10e9a){const _0x4173a1=a17_0x3692dd,_0x524f6b=this,_0x3926d1=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)['call'](this,_0xc10e9a);let _0x5d1942=![];return _0xc10e9a[_0x4173a1(0x1d2)](_0x156897=>{const _0x41691c=_0x4173a1;!__classPrivateFieldGet(_0x524f6b,_Debuglet_completedBreakpointMap,'f')[_0x156897['id']]&&!_0x524f6b[_0x41691c(0x1be)][_0x156897['id']]&&(__classPrivateFieldGet(_0x524f6b,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x41691c(0x184)](_0x524f6b,_0x156897,_0x2e688a=>{_0x2e688a&&__classPrivateFieldGet(_0x524f6b,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x524f6b,_0x156897,!![],![]);}),_0x5d1942=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x156897['id'])),__classPrivateFieldGet(_0x524f6b,_Debuglet_quotaManager,'f')[_0x41691c(0x196)](_0x156897['id'],_0x156897[_0x41691c(0x1b3)]),_0x524f6b[_0x41691c(0x216)][_0x41691c(0x25f)](_0x156897['id'],_0x156897['pipingStatus']);}),(0x0,mapSubtract_1[_0x4173a1(0x247)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x3926d1)[_0x4173a1(0x1d2)](_0x34ea08=>{delete __classPrivateFieldGet(_0x524f6b,_Debuglet_completedBreakpointMap,'f')[_0x34ea08['id']],_0x5d1942=!![];}),(0x0,mapSubtract_1[_0x4173a1(0x247)])(this[_0x4173a1(0x1be)],_0x3926d1)['forEach'](_0x4304fe=>{const _0x456fa9=_0x4173a1;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x456fa9(0x184)](this,_0x4304fe,!![]),_0x5d1942=!![];}),_0x5d1942&&_0x524f6b['logger'][_0x4173a1(0x238)](formatBreakpoints(_0x4173a1(0x1df),_0x3926d1)),_0x5d1942;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x70ca54){const _0x47d51f=a17_0x3692dd,_0x15cebb={};return _0x70ca54[_0x47d51f(0x1d2)](_0x26c266=>{_0x15cebb[_0x26c266['id']]=_0x26c266;}),_0x15cebb;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0xfe21f,_0x48a192){const _0x46da45=a17_0x3692dd;this[_0x46da45(0x189)][_0x46da45(0x21d)](_0x46da45(0x22f),_0xfe21f),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x46da45(0x221)](_0xfe21f['id']),this[_0x46da45(0x216)][_0x46da45(0x1ed)](_0xfe21f['id']),delete this[_0x46da45(0x1be)][_0xfe21f['id']],_0x48a192&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0xfe21f,_0x24bb71=>{const _0x10d21b=_0x46da45;if(_0x24bb71)this[_0x10d21b(0x189)][_0x10d21b(0x206)](_0x24bb71);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x53e265,_0x531229){const _0xb39332=a17_0x3692dd,_0x23442c=this;_0x23442c['logger'][_0xb39332(0x21d)](_0xb39332(0x1c7),_0x53e265);if(!_0x23442c[_0xb39332(0x23e)][_0xb39332(0x211)]&&(_0x53e265[_0xb39332(0x24a)]||_0x53e265[_0xb39332(0x1ef)])){_0x23442c[_0xb39332(0x189)][_0xb39332(0x206)](utils_1[_0xb39332(0x18b)][_0xb39332(0x1aa)][_0xb39332(0x1d0)]||''),_0x53e265['status']=new status_message_1[(_0xb39332(0x173))](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0xb39332(0x18b)][_0xb39332(0x1aa)],!![]),setImmediate(()=>{const _0x4ff567=_0xb39332;_0x531229(utils_1['errors'][_0x4ff567(0x1aa)]);});return;}if((0x0,utils_1[_0xb39332(0x1a7)])(process[_0xb39332(0x1e5)],_0xb39332(0x20c))){const _0x5dc968=utils_1[_0xb39332(0x18b)][_0xb39332(0x19d)];_0x23442c['logger']['error'](_0x5dc968),_0x53e265['status']=new status_message_1['StatusMessage'](status_message_1[_0xb39332(0x173)]['UNSPECIFIED'],_0x5dc968,!![]),setImmediate(()=>{_0x531229(_0x5dc968);});return;}const _0x313b92=_0x53e265[_0xb39332(0x262)]?Number(_0x53e265[_0xb39332(0x262)][_0xb39332(0x18e)]):Date['now']()/0x3e8,_0x501dff=_0x53e265['expirationSeconds']||_0x23442c['config'][_0xb39332(0x197)];_0x53e265[_0xb39332(0x178)]=_0x313b92+_0x501dff,_0x53e265[_0xb39332(0x1c9)]?.[_0xb39332(0x1af)]&&(_0x53e265['location'][_0xb39332(0x1af)]=path[_0xb39332(0x19a)](_0x53e265[_0xb39332(0x1c9)][_0xb39332(0x1af)]),path[_0xb39332(0x250)]===path[_0xb39332(0x1da)][_0xb39332(0x250)]&&(_0x53e265['location'][_0xb39332(0x1af)]=_0x53e265[_0xb39332(0x1c9)][_0xb39332(0x1af)][_0xb39332(0x218)]('\x5c')[_0xb39332(0x254)](path[_0xb39332(0x250)]))),__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')[_0xb39332(0x25b)](_0x53e265,_0x3bd1ff=>{const _0x1e5e8a=_0xb39332;if(_0x3bd1ff){_0x531229(_0x3bd1ff);return;}_0x23442c[_0x1e5e8a(0x189)][_0x1e5e8a(0x21d)]('\x09successfully\x20added\x20breakpoint',_0x53e265),_0x23442c[_0x1e5e8a(0x1be)][_0x53e265['id']]=_0x53e265,_0x53e265[_0x1e5e8a(0x260)]===_0x1e5e8a(0x227)?__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')[_0x1e5e8a(0x16e)](_0x53e265,(_0x3979bb,_0x152848)=>{const _0x572d21=_0x1e5e8a,_0x25261b=_0x152848['map'](_0x307a13=>__classPrivateFieldGet(_0x23442c,_Debuglet_instances,'m',_Debuglet_stringify)[_0x572d21(0x184)](_0x23442c,_0x307a13)),_0x3840e4=(0x0,format_1[_0x572d21(0x25e)])(_0x3979bb,_0x25261b),_0x2f7e1c=_0x572d21(0x198)+(__classPrivateFieldGet(_0x23442c,_Debuglet_redactionManager,'f')?.[_0x572d21(0x22d)](_0x3840e4)||_0x3840e4),_0x47ea28=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x572d21(0x17e)](_0x2f7e1c,_0x53e265['id']);if(_0x47ea28){const _0x527eea=_0x47ea28[_0x572d21(0x23c)],_0x565191=_0x47ea28[_0x572d21(0x215)];let _0x502034,_0x53fe57;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x572d21(0x252)]()&&!_0x565191&&(_0x502034='LOGPOINT:\x20'+_0x3979bb,_0x53fe57=_0x25261b);_0x23442c['pipingManager'][_0x572d21(0x220)](_0x23442c['debuggee'],_0x53e265['id'],_0x527eea,_0x53e265['logLevel'],_0x502034,_0x53fe57);if(_0x565191)__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')?.[_0x572d21(0x185)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x9930ec=_0x572d21;__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')?.[_0x9930ec(0x231)](),__classPrivateFieldSet(_0x23442c,_Debuglet_nextEnableTimeout,null,'f');},_0x23442c[_0x572d21(0x23e)]['quota'][_0x572d21(0x17c)]*0x3e8),'f');else _0x527eea?.[_0x572d21(0x234)]===0x0&&__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')?.[_0x572d21(0x185)]();}},()=>{return __classPrivateFieldGet(_0x23442c,_Debuglet_completedBreakpointMap,'f')[_0x53e265['id']];},_0x1dd641=>{const _0x436229=_0x1e5e8a;if(_0x1dd641){_0x23442c[_0x436229(0x189)][_0x436229(0x206)](_0x1dd641),_0x531229(_0x1dd641);return;}}):__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')[_0x1e5e8a(0x180)](_0x53e265,_0x6fff14=>{const _0x295cc2=_0x1e5e8a;if(_0x6fff14){setImmediate(()=>{const _0x5248e3=a17_0x301a;_0x23442c[_0x5248e3(0x189)][_0x5248e3(0x206)](_0x6fff14),_0x531229(_0x6fff14);});return;}_0x23442c[_0x295cc2(0x189)][_0x295cc2(0x21d)](_0x295cc2(0x22e),_0x53e265),__classPrivateFieldGet(_0x23442c,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x295cc2(0x184)](_0x23442c,_0x53e265,__classPrivateFieldGet(_0x23442c,_Debuglet_v8debug,'f')[_0x295cc2(0x163)](_0x53e265['id'])<=0x0);}),__classPrivateFieldGet(_0x23442c,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x1e5e8a(0x184)](_0x23442c,_0x53e265);}),this[_0xb39332(0x1e2)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x1974e1,_0x2318d9,_0x50af97=!![]){const _0x475a80=a17_0x3692dd,_0x6441a4=this;if(_0x1974e1['status']&&_0x1974e1[_0x475a80(0x1f2)][_0x475a80(0x174)]){let _0x2de043=_0x1974e1[_0x475a80(0x1f2)]?.['description']?.['format']||'';_0x1974e1[_0x475a80(0x1f2)]?.[_0x475a80(0x1d0)]?.[_0x475a80(0x181)]&&(_0x2de043+=':\x20'+_0x1974e1[_0x475a80(0x1f2)]?.['description']?.[_0x475a80(0x181)][_0x475a80(0x1bb)]()),_0x6441a4['logger'][_0x475a80(0x20f)](_0x475a80(0x1b2)+_0x1974e1+_0x475a80(0x20a)+_0x2de043);}else _0x6441a4[_0x475a80(0x189)][_0x475a80(0x21d)](_0x475a80(0x190),_0x1974e1);_0x2318d9&&(__classPrivateFieldGet(_0x6441a4,_Debuglet_completedBreakpointMap,'f')[_0x1974e1['id']]=!![],__classPrivateFieldGet(_0x6441a4,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x6441a4,_0x1974e1,_0x50af97)),__classPrivateFieldGet(_0x6441a4,_Debuglet_controller,'f')[_0x475a80(0x17a)](_0x6441a4[_0x475a80(0x1ca)],extend(!![],{},_0x1974e1));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x2e29b2){const _0x557b9e=a17_0x3692dd,_0x444a73=this;_0x444a73[_0x557b9e(0x189)][_0x557b9e(0x238)](_0x557b9e(0x1d7)+_0x2e29b2+'\x20accepted\x20by\x20agent');const _0x2ac94a=extend(!![],{},_0x2e29b2);_0x2ac94a[_0x557b9e(0x1b0)]=![],_0x2ac94a[_0x557b9e(0x1f2)]=new status_message_1[(_0x557b9e(0x173))](status_message_1['StatusMessage'][_0x557b9e(0x16d)],undefined,![],!![]),__classPrivateFieldGet(_0x444a73,_Debuglet_controller,'f')[_0x557b9e(0x17a)](_0x444a73[_0x557b9e(0x1ca)],_0x2ac94a);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x48c1e6){const _0x146bbc=a17_0x3692dd,_0x408e4=this;this['logger'][_0x146bbc(0x21d)](_0x146bbc(0x246),_0x48c1e6),__classPrivateFieldGet(_0x408e4,_Debuglet_completedBreakpointMap,'f')[_0x48c1e6['id']]=!![],__classPrivateFieldGet(_0x408e4,_Debuglet_controller,'f')[_0x146bbc(0x17a)](_0x408e4['debuggee'],_0x48c1e6);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x212a63){const _0x9c17f6=this;_0x212a63['forEach'](_0x3c70bb=>{const _0x342f4a=a17_0x301a;_0x9c17f6[_0x342f4a(0x189)][_0x342f4a(0x21d)](_0x342f4a(0x1f4),_0x3c70bb),__classPrivateFieldGet(_0x9c17f6,_Debuglet_completedBreakpointMap,'f')[_0x3c70bb['id']]=!![],__classPrivateFieldGet(_0x9c17f6,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x342f4a(0x184)](_0x9c17f6,_0x3c70bb,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x11a3af=a17_0x3692dd,_0x45f7a0=Date[_0x11a3af(0x26a)]()/0x3e8;return Object['values'](this[_0x11a3af(0x1be)])[_0x11a3af(0x1b4)](_0xd52ac4=>_0xd52ac4['expirationTime']?_0xd52ac4[_0x11a3af(0x178)]<_0x45f7a0:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x4947c6){const _0x4603f7=a17_0x3692dd,_0x4bf78e=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4603f7(0x1a5)](_0x4947c6),_0x3065bf=_0x4bf78e[_0x4603f7(0x1d4)],_0x2509e8=_0x4bf78e[_0x4603f7(0x22c)];_0x3065bf&&_0x3065bf[_0x4603f7(0x234)]&&this['logger']['debug']('Blacklist:\x20\x0a\x09',_0x3065bf['join']('\x0a\x09')),_0x2509e8&&_0x2509e8[_0x4603f7(0x234)]&&this[_0x4603f7(0x189)][_0x4603f7(0x238)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x2509e8[_0x4603f7(0x254)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x4603f7(0x1bc))](_0x3065bf,_0x2509e8,this[_0x4603f7(0x23e)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x3ce911){const _0x151a10=a17_0x3692dd,_0x4e2701=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x151a10(0x1c4)](_0x3ce911);_0x4e2701?.[_0x151a10(0x234)]&&this['logger'][_0x151a10(0x238)](_0x151a10(0x1c0),_0x4e2701[_0x151a10(0x1dc)](_0x3ff449=>_0x151a10(0x1d5)+_0x3ff449[_0x151a10(0x183)]+_0x151a10(0x208)+_0x3ff449[_0x151a10(0x1c8)]+_0x151a10(0x269)+_0x3ff449['pattern']+'\x20caseInsensitive:\x20'+_0x3ff449[_0x151a10(0x1f3)])[_0x151a10(0x254)]('\x0a\x09'));if((0x0,utils_1[_0x151a10(0x1a7)])(process[_0x151a10(0x1e5)],_0x151a10(0x251))){const {RedactionManagerRE2JS:_0x4d8896}=await Promise[_0x151a10(0x242)]()[_0x151a10(0x1c2)](()=>require(_0x151a10(0x166)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x4d8896(this[_0x151a10(0x189)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x151a10(0x1b1)](_0x4e2701);}},_Debuglet_stringify=function _Debuglet_stringify(_0x2085a1){const _0x7eb71b=a17_0x3692dd;if(!_0x2085a1)return JSON[_0x7eb71b(0x1fd)](_0x2085a1,(_0x28f6e1,_0x718969)=>_0x718969===undefined?_0x7eb71b(0x165):_0x718969);if(Array[_0x7eb71b(0x1e0)](_0x2085a1)){const _0x3fe55b=[];for(const _0x264dcc of _0x2085a1){_0x3fe55b[_0x7eb71b(0x236)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x7eb71b(0x184)](this,_0x264dcc));}return'['+_0x3fe55b[_0x7eb71b(0x254)](',\x20')+']';}if(typeof _0x2085a1==='object'){const _0x417372=Object[_0x7eb71b(0x1cd)](_0x2085a1)[_0x7eb71b(0x1dc)](([_0x1a0462,_0x22eb5c])=>{const _0x3eedd6=_0x7eb71b,_0x5f2abe=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x1a0462)?redaction_manager_1[_0x3eedd6(0x24c)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x22eb5c);return JSON[_0x3eedd6(0x1fd)](_0x1a0462)+':\x20'+_0x5f2abe;})['join'](',\x20');return'{'+_0x417372+'}';}return JSON['stringify'](_0x2085a1);});
|
|
1
|
+
const a17_0x4258ca=a17_0x4f83;(function(_0xc22a15,_0x194d96){const _0x386421=a17_0x4f83,_0x45b62f=_0xc22a15();while(!![]){try{const _0x2a2424=parseInt(_0x386421(0x19d))/0x1*(parseInt(_0x386421(0x149))/0x2)+parseInt(_0x386421(0x19a))/0x3+-parseInt(_0x386421(0x179))/0x4*(parseInt(_0x386421(0x1b1))/0x5)+-parseInt(_0x386421(0x10f))/0x6+-parseInt(_0x386421(0x169))/0x7*(-parseInt(_0x386421(0xea))/0x8)+parseInt(_0x386421(0x13a))/0x9*(-parseInt(_0x386421(0xfa))/0xa)+parseInt(_0x386421(0x1a9))/0xb;if(_0x2a2424===_0x194d96)break;else _0x45b62f['push'](_0x45b62f['shift']());}catch(_0x3808c9){_0x45b62f['push'](_0x45b62f['shift']());}}}(a17_0x3677,0xaed89));const a17_0x556092=(function(){let _0x2a282e=!![];return function(_0x500082,_0x48aada){const _0x2b211b=_0x2a282e?function(){const _0x3c97ee=a17_0x4f83;if(_0x48aada){const _0x2c5d12=_0x48aada[_0x3c97ee(0x113)](_0x500082,arguments);return _0x48aada=null,_0x2c5d12;}}:function(){};return _0x2a282e=![],_0x2b211b;};}()),a17_0x267ba6=a17_0x556092(this,function(){const _0x49e6d8=a17_0x4f83;return a17_0x267ba6[_0x49e6d8(0x1c6)]()[_0x49e6d8(0xdf)](_0x49e6d8(0x101))[_0x49e6d8(0x1c6)]()['constructor'](a17_0x267ba6)['search'](_0x49e6d8(0x101));});a17_0x267ba6();'use strict';var __classPrivateFieldSet=this&&this[a17_0x4258ca(0x115)]||function(_0x213a28,_0x4e83a4,_0x584966,_0x2da8d5,_0x3bbdaa){const _0x3250f3=a17_0x4258ca;if(_0x2da8d5==='m')throw new TypeError(_0x3250f3(0xcc));if(_0x2da8d5==='a'&&!_0x3bbdaa)throw new TypeError(_0x3250f3(0x19e));if(typeof _0x4e83a4===_0x3250f3(0x14c)?_0x213a28!==_0x4e83a4||!_0x3bbdaa:!_0x4e83a4[_0x3250f3(0xbc)](_0x213a28))throw new TypeError(_0x3250f3(0xf8));return _0x2da8d5==='a'?_0x3bbdaa[_0x3250f3(0x1a4)](_0x213a28,_0x584966):_0x3bbdaa?_0x3bbdaa[_0x3250f3(0xde)]=_0x584966:_0x4e83a4[_0x3250f3(0x156)](_0x213a28,_0x584966),_0x584966;},__classPrivateFieldGet=this&&this[a17_0x4258ca(0xbf)]||function(_0x2dac6e,_0x5f4fa4,_0x503b06,_0x3e4e23){const _0x5acd62=a17_0x4258ca;if(_0x503b06==='a'&&!_0x3e4e23)throw new TypeError(_0x5acd62(0x10e));if(typeof _0x5f4fa4==='function'?_0x2dac6e!==_0x5f4fa4||!_0x3e4e23:!_0x5f4fa4[_0x5acd62(0xbc)](_0x2dac6e))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x503b06==='m'?_0x3e4e23:_0x503b06==='a'?_0x3e4e23['call'](_0x2dac6e):_0x3e4e23?_0x3e4e23[_0x5acd62(0xde)]:_0x5f4fa4[_0x5acd62(0x1b3)](_0x2dac6e);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a17_0x4258ca(0xd2)](exports,'__esModule',{'value':!![]}),exports[a17_0x4258ca(0x17e)]=exports[a17_0x4258ca(0x19c)]=void 0x0;const assert=require(a17_0x4258ca(0x190)),events_1=require(a17_0x4258ca(0x137)),extend=require(a17_0x4258ca(0xd8)),fs=require('fs'),path=require('path'),util=require(a17_0x4258ca(0x161)),status_message_1=require(a17_0x4258ca(0x141)),stackdriver_1=require(a17_0x4258ca(0xfc)),agent_logger_1=require('./agent-logger'),config_1=require(a17_0x4258ca(0x17a)),controller_1=require(a17_0x4258ca(0x15e)),SourceMapper=require(a17_0x4258ca(0x120)),debugapi=require(a17_0x4258ca(0x12f)),piping_manager_1=require(a17_0x4258ca(0xbb)),quota_manager_1=require(a17_0x4258ca(0x142)),patterns_blocklist_manager_1=require(a17_0x4258ca(0x17d)),scanner_1=require(a17_0x4258ca(0x1a1)),environment_metadata_1=require(a17_0x4258ca(0x147)),file_index_1=require('./io/file-index'),utils_1=require(a17_0x4258ca(0x16f)),redaction_manager_1=require(a17_0x4258ca(0x1bb)),configuration_provider_1=require(a17_0x4258ca(0x13f)),normalizeConfig_1=require(a17_0x4258ca(0x15a)),mapSubtract_1=require(a17_0x4258ca(0x197)),format_1=require('./debuglet-helpers/format'),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),readFilep=util['promisify'](fs[a17_0x4258ca(0x18b)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x5d0807,_0x347c7e)=>{const _0x37be90=a17_0x4258ca;let _0x394645=_0x5d0807+util[_0x37be90(0xc4)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x347c7e['id'],_0x347c7e['action'],util[_0x37be90(0xe0)](_0x347c7e['location']));if(_0x347c7e[_0x37be90(0x163)]){const _0x38fc67=Number(_0x347c7e[_0x37be90(0x163)][_0x37be90(0x1b2)]),_0x3a5c03=new Date(_0x38fc67*0x3e8);_0x394645+=_0x37be90(0x10c)+_0x3a5c03[_0x37be90(0x1c6)]();}return _0x347c7e['condition']&&(_0x394645+=_0x37be90(0xd3)+util['inspect'](_0x347c7e['condition'])),_0x347c7e[_0x37be90(0x112)]&&(_0x394645+=_0x37be90(0xf1)+util['inspect'](_0x347c7e['expressions'])),_0x394645;},formatBreakpoints=(_0x2fca4d,_0x3eaabf)=>{const _0x1f925f=a17_0x4258ca;return _0x2fca4d+Object['keys'](_0x3eaabf)[_0x1f925f(0x157)](_0x103776=>{return formatBreakpoint('',_0x3eaabf[_0x103776]);})[_0x1f925f(0x12e)]('\x0a');};class CachedPromise{constructor(){const _0x3f807c=a17_0x4258ca;this['promiseResolve']=null,this[_0x3f807c(0x135)]=new Promise(_0x107b16=>{this['promiseResolve']=_0x107b16;});}[a17_0x4258ca(0x1b3)](){return this['promise'];}['resolve'](){const _0x2eb724=a17_0x4258ca;this['promiseResolve']&&(this[_0x2eb724(0x17b)](),this[_0x2eb724(0x17b)]=null);}}exports['CachedPromise']=CachedPromise;class IsReadyImpl{constructor(_0xc5e65d){const _0xdb313b=a17_0x4258ca;this[_0xdb313b(0x143)]=_0xc5e65d;}[a17_0x4258ca(0x117)](){const _0x2fbe3c=a17_0x4258ca;return this[_0x2fbe3c(0x143)][_0x2fbe3c(0x117)]();}}function a17_0x4f83(_0x4567cb,_0x2067c8){const _0x46d7e3=a17_0x3677();return a17_0x4f83=function(_0x267ba6,_0x556092){_0x267ba6=_0x267ba6-0xbb;let _0x367782=_0x46d7e3[_0x267ba6];return _0x367782;},a17_0x4f83(_0x4567cb,_0x2067c8);}function a17_0x3677(){const _0x138c72=['\x20caseInsensitive:\x20','expirationSeconds','js.map','expirationTime','pipingManager','error','\x0a\x09createdTime:\x20','allowRootAsWorkingDirectory','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','4636746NlGZqV','clientConnectionTimeoutInSeconds','isFinalState','expressions','apply','deregister','__classPrivateFieldSet','redactionEnabled','isReady','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','object','split','getRedactions','warn','backoff','reporting\x20breakpoint\x20','version','./io/sourcemapper','Debuggee\x20is\x20not\x20registered','kill','debug','jsFileIndex','status','breakpoints_fetched','removeBreakpoint','\x09Notifying\x20server\x20about\x20error\x20for\x20','LOG','createLogger','existsSync','workingDirectory','breakpoint_set','join','./v8/debugapi','satisfies','replaceRedactedByValue','filter','add','javascriptFileExtensions','promise','quota','events','agentLog','maxRequestRetryDelaySeconds','210960XCeBzK','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','remainingHits','NODE_10_CIRC_REF_MESSAGE','CAPTURE','./configuration-provider','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','../client/stackdriver/status-message','./quota-manager','debuglet','fetcherActive','setPatterns','path','./environment-metadata','UNSPECIFIED','1406486etXoKt','\x20completed.','createPerBreakpointConditionQuota','function','setIgnoreQuota','listBreakpoints','bind','hash','emit','blacklist_exception','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','Scanner','quotaRecoverySeconds','set','map','clear','agentLogMaxFileSizeMb','./debuglet-helpers/normalizeConfig','setPipingStatus','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','Breakpoint\x20hit!:\x20','./controller','selectStats','action','util','beforeExit','createTime','Breakpoint','enqueueBreakpointUpdate','\x20(type:\x20','debuggee','readFullVersion','6927641CgNMKp','fetchBreakpointsOnce','once','Blacklist:\x20\x0a\x09','./reduction/redaction-manager-re2js','forEach','./util/utils','Active\x20Breakpoints:\x20\x0a','quotaCheck','values','do\x20this.','Switching\x20globalPiping\x20status\x20from\x20','mainModule','mapSubtract','location','replace','1817692zZvzdh','./config','promiseResolve','sendAgentLogsToServer','./blocklisting/patterns-blocklist-manager','Debuglet','message','activeBreakpointMap','parse','type','Unique\x20ID\x20for\x20this\x20Application:\x20','prettyError','pattern','\x09Long\x20poll\x20completed.','sourceContext','logMainConfigParams','removePerBreakpointQuota','rejecting\x20breakpoint','readFile','name','LOGPOINT:\x20','shouldRedactByName','agentLogTargetDir','assert','agentLogLevel','config','mapFiles','enable','EventEmitter','utf8','./debuglet-helpers/mapSubtract','description','entries','688944EWalft','env','CachedPromise','1VEXYPO','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','Found\x20breakpoint\x20with\x20invalid\x20action:','posix','./io/scanner','Working\x20directory:\x20','\x09remove\x20breakpoint','call','clearTransmissionTimeout','\x09successfully\x20added\x20breakpoint','collectAndSendLog','default','7706479mHmKAT','filename','normalize','Debuglet\x20not\x20running','waitExpired','logger','Error\x20processing\x20the\x20sourcemaps.','.\x20Error:\x20','5FjGelI','seconds','get','errors','undefined','):\x20pattern:\x20','FileIndex','logLevel','.\x20message:\x20','SIGQUIT','./reduction/redaction-manager','sep','\x09adding\x20breakpoint','normalizeConfig','findFiles','BREAKPOINT_ACTION_MESSAGE','GAE_MINOR_VERSION','push','initError','Registered\x20as\x20debuggee:\x20','getProps','toString','packageInfo','./piping-manager','has','caseInsensitive','SIGINT','__classPrivateFieldGet','Controller','now','start','Starting\x20debuggee','format','StatusMessage','stdErrThreshold','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','source-context.json','concat','length','Result:\x20\x0a','Private\x20method\x20is\x20not\x20writable','registered','>=12','isArray','then','PipingManager','defineProperty','\x0a\x09condition:\x20','parameters','isRedactionActive','pid','Malformed\x20source-context.json\x20file:\x20','extend','pipingStatus','stringify','createDebuggee','resolve','all','value','search','inspect','NODE_VERSION_MESSAGE','Redactions:\x20\x0a\x09','Failed\x20to\x20register\x20debuggee:\x20','stopped','ignoreQuota','breakpointUpdateIntervalSec','ConfigurationProvider','ALLOW_EXPRESSIONS_MESSAGE','started','8qlCOaX','unref','create','addAndPipeLog','disable','condition','capture','\x0a\x09expressions:\x20','setBlocklistManager','Stopping\x20Debuglet','remotelyDisabled','getSourceContextFromFile','getBlocklist','isReadyManager','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','internal','290WAqnxl','scan','../types/stackdriver','pipeLogs','isError','collectLogRequestId','\x09Got\x20error\x20from\x20server.\x20status:\x20','(((.+)+)+)+$','QuotaManager','Registering\x20debuggee','info','name:\x20'];a17_0x3677=function(){return _0x138c72;};return a17_0x3677();}class Debuglet extends events_1[a17_0x4258ca(0x195)]{constructor(_0x613bf2,_0x415381){const _0x25324a=a17_0x4258ca;super(),_Debuglet_instances[_0x25324a(0x133)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x25324a(0x156)](this,void 0x0),_Debuglet_running[_0x25324a(0x156)](this,void 0x0),_Debuglet_controller[_0x25324a(0x156)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x25324a(0x156)](this,void 0x0),_Debuglet_breakpointFetched[_0x25324a(0x156)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x25324a(0x156)](this,null),this[_0x25324a(0xf7)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x25324a(0x156)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x25324a(0x156)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this[_0x25324a(0x192)]=(0x0,normalizeConfig_1[_0x25324a(0x1be)])(_0x415381),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x25324a(0xe7))](this[_0x25324a(0x192)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x613bf2,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this['logger']=agent_logger_1[_0x25324a(0x1a8)][_0x25324a(0x12a)](this[_0x25324a(0x192)]['agentLog'][_0x25324a(0x18f)],this[_0x25324a(0x192)][_0x25324a(0x138)][_0x25324a(0x159)],this[_0x25324a(0x192)][_0x25324a(0x138)]['agentLogMaxFileCount'],this[_0x25324a(0x192)][_0x25324a(0x138)][_0x25324a(0x191)],this[_0x25324a(0x192)][_0x25324a(0x138)][_0x25324a(0xc6)]),(0x0,config_1[_0x25324a(0x188)])(this[_0x25324a(0x192)],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x25324a(0x1ae)])[_0x25324a(0x1c5)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x25324a(0xc0))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x25324a(0x192)],this[_0x25324a(0x1ae)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x25324a(0x154))](this[_0x25324a(0x1ae)]),'f'),this[_0x25324a(0x167)]=null,this[_0x25324a(0x180)]={},__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[(_0x25324a(0x102))](this[_0x25324a(0x1ae)],this[_0x25324a(0x192)]),'f'),this['pipingManager']=new piping_manager_1[(_0x25324a(0xd1))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x25324a(0x192)]);}async[a17_0x4258ca(0x1bf)](_0x2bd513,_0x9d8e82){const _0x317358=a17_0x4258ca,_0x1a3f53=_0x2bd513[_0x317358(0x12c)],_0x64532e=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x317358(0xfb)](_0x1a3f53,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x317358(0x1a4)](_a,_0x2bd513[_0x317358(0x134)][_0x317358(0xc9)](_0x317358(0x108))),_0x9d8e82,_0x2bd513['extraPaths']),_0x59c875=_0x64532e[_0x317358(0x15f)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x317358(0x1a4)](_a,_0x2bd513['javascriptFileExtensions'])),_0x384c0b=file_index_1[_0x317358(0x1b7)]['fromFileStats'](_0x59c875),_0x126cda=_0x64532e['selectFiles'](/.js.map$/,process['cwd']()),_0x2efe11=_0x64532e[_0x317358(0x1b4)]();return{'mapFiles':_0x126cda,'errors':_0x2efe11,'jsFileIndex':_0x384c0b,'hash':_0x64532e[_0x317358(0x150)]};}async[a17_0x4258ca(0xc2)](){const _0x38db46=a17_0x4258ca,_0x184ab2=this,_0x2cf4ec=_0x184ab2[_0x38db46(0x192)][_0x38db46(0x12c)];if(!_0x184ab2[_0x38db46(0x192)][_0x38db46(0x10d)]&&path[_0x38db46(0x12e)](_0x2cf4ec,'..')===_0x2cf4ec){const _0x95ffd1='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+_0x38db46(0x153)+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+_0x38db46(0x173);_0x184ab2[_0x38db46(0x1ae)][_0x38db46(0x10b)](_0x95ffd1),_0x184ab2['emit'](_0x38db46(0x1c3),new Error(_0x95ffd1));return;}let _0x3e4ee8;process[_0x38db46(0x19b)][_0x38db46(0x1c1)]&&(_0x3e4ee8='GAE-'+process['env'][_0x38db46(0x1c1)]);let _0x11e2aa,_0x5d207e=_0x3e4ee8||'';try{_0x11e2aa=await this[_0x38db46(0x1bf)](_0x184ab2[_0x38db46(0x192)],_0x3e4ee8),_0x11e2aa[_0x38db46(0x1b4)][_0x38db46(0x16e)](_0x184ab2['logger'][_0x38db46(0x11c)]);}catch(_0x1ada54){_0x184ab2['logger'][_0x38db46(0x10b)]('Error\x20scanning\x20the\x20filesystem.',_0x1ada54),_0x184ab2[_0x38db46(0x151)](_0x38db46(0x1c3),_0x1ada54);return;}try{const _0x32595b=await SourceMapper[_0x38db46(0xec)](_0x184ab2[_0x38db46(0x1ae)],_0x11e2aa[_0x38db46(0x193)],_0x184ab2[_0x38db46(0x192)][_0x38db46(0xf9)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(_0x184ab2,_Debuglet_v8debug,debugapi[_0x38db46(0xec)](_0x184ab2[_0x38db46(0x1ae)],_0x184ab2['config'],_0x11e2aa[_0x38db46(0x124)],_0x32595b,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x5d207e=_0x3e4ee8||_0x11e2aa['hash'];}catch(_0x4c950a){_0x184ab2[_0x38db46(0x1ae)]['error'](_0x38db46(0x1af),_0x4c950a),_0x184ab2[_0x38db46(0x1ae)][_0x38db46(0x104)](JSON['stringify'](_0x4c950a)),_0x184ab2['emit'](_0x38db46(0x1c3),_0x4c950a);}_0x184ab2[_0x38db46(0x1ae)]['info'](_0x38db46(0x183)+_0x5d207e);const _0x34cb2e=(0x0,utils_1[_0x38db46(0x168)])(_0x184ab2['logger'])[_0x38db46(0x178)]('\x0a','');_0x184ab2[_0x38db46(0x1ae)][_0x38db46(0x104)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x34cb2e);let _0x4466f0;try{_0x4466f0=_0x184ab2[_0x38db46(0x192)][_0x38db46(0x187)]||await _a[_0x38db46(0xf5)]();}catch(_0x51efce){}this[_0x38db46(0x192)][_0x38db46(0xf0)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')['getMaxSnapshotBufferSize']()===0x0&&(0x0,utils_1[_0x38db46(0x130)])(process['version'],_0x38db46(0xc7))&&_0x184ab2[_0x38db46(0x1ae)][_0x38db46(0x11c)](utils_1[_0x38db46(0x1b4)][_0x38db46(0x13d)]),_0x184ab2['logger'][_0x38db46(0x104)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process[_0x38db46(0x175)]?.[_0x38db46(0x1aa)]),_0x184ab2['logger'][_0x38db46(0x123)](_0x38db46(0x1a2)+_0x2cf4ec),_0x184ab2[_0x38db46(0x1ae)][_0x38db46(0x123)](_0x38db46(0xc3)),__classPrivateFieldSet(_0x184ab2,_Debuglet_running,!![],'f'),_0x184ab2[_0x38db46(0x167)]=(0x0,createDebuggee_1[_0x38db46(0xdb)])(_0x5d207e,_0x184ab2[_0x38db46(0x192)],_0x4466f0,__classPrivateFieldGet(_0x184ab2,_Debuglet_debug,'f')[_0x38db46(0x1c7)],_0x34cb2e,_0x184ab2['logger'],__classPrivateFieldGet(_0x184ab2,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x184ab2,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x38db46(0x1a4)](_0x184ab2),__classPrivateFieldGet(_0x184ab2,_Debuglet_instances,'m',_Debuglet_register_)[_0x38db46(0x1a4)](_0x184ab2),_0x184ab2['emit'](_0x38db46(0xe9));}['isReady'](){const _0x5b87e3=a17_0x4258ca;if(Date[_0x5b87e3(0xc1)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x5b87e3(0xdc)]();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')[_0x5b87e3(0x1b3)]()[_0x5b87e3(0xd0)](()=>{const _0x59c48f=_0x5b87e3;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x59c48f(0x1a4)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5b87e3(0x1b3)]();}}static async[a17_0x4258ca(0xf5)](){const _0x1d4c06=a17_0x4258ca,_0x3d089c=await readFilep(_0x1d4c06(0xc8),_0x1d4c06(0x196));try{return JSON[_0x1d4c06(0x181)](_0x3d089c);}catch(_0x227e4c){throw new Error(_0x1d4c06(0xd7)+_0x227e4c);}}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0xcb2b01=a17_0x4258ca;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xcb2b01(0x1ae)][_0xcb2b01(0x123)](_0xcb2b01(0x15c));return;}this[_0xcb2b01(0x1ae)][_0xcb2b01(0x123)](_0xcb2b01(0xf3)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0xcb2b01(0x1a5)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0xcb2b01(0xe4));}}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(_0x287220){const _0x292864=a17_0x4258ca;return new RegExp(_0x287220[_0x292864(0x157)](_0x31eb13=>_0x31eb13+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x28b31e=a17_0x4258ca,_0x5bf4f7=['SIGTERM',_0x28b31e(0xbe),_0x28b31e(0x1ba)];_0x5bf4f7[_0x28b31e(0x16e)](_0x33b87d=>{const _0x26819f=_0x28b31e;process[_0x26819f(0x16b)](_0x33b87d,()=>{const _0x21b88e=_0x26819f;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x21b88e(0x114)](this[_0x21b88e(0x167)],()=>{const _0x282f53=_0x21b88e;process[_0x282f53(0x122)](process[_0x282f53(0xd6)],_0x33b87d);});});}),process['once'](_0x28b31e(0x162),()=>{const _0x24e7fb=_0x28b31e;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x24e7fb(0x167)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x41e9a5){const _0x42033c=a17_0x4258ca,_0x3c46a8=this;_0x3c46a8[_0x42033c(0x1ae)]['debug'](_0x41e9a5?'Scheduling\x20registration\x20in\x20'+_0x41e9a5+'s':_0x42033c(0x103));function _0x3b42e3(_0x1c01e9,_0x19e09f,_0x23b826=![]){const _0x10561c=_0x42033c,_0x3cdba2=_0x3c46a8[_0x10561c(0x167)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x3c46a8[_0x10561c(0x167)]?.['id']+':\x20'+(0x0,utils_1[_0x10561c(0x184)])(_0x1c01e9):_0x10561c(0xe3)+(0x0,utils_1[_0x10561c(0x184)])(_0x1c01e9);_0x3c46a8[_0x10561c(0x1ae)][_0x10561c(0x10b)](_0x3cdba2),_0x19e09f&&!_0x23b826&&_0x3c46a8['logger'][_0x10561c(0x10b)](_0x10561c(0xcb),_0x19e09f),__classPrivateFieldGet(_0x3c46a8,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](_0x3c46a8,(0x0,utils_1[_0x10561c(0x11d)])(_0x41e9a5,_0x3c46a8[_0x10561c(0x192)]['internal'][_0x10561c(0x139)]));}setTimeout(()=>{const _0x63c8c=_0x42033c;if(!__classPrivateFieldGet(_0x3c46a8,_Debuglet_running,'f')){_0x3b42e3(new Error(_0x63c8c(0x1ac)));return;}__classPrivateFieldGet(_0x3c46a8,_Debuglet_controller,'f')['register'](_0x3c46a8[_0x63c8c(0x167)],(_0x29ff71,_0x1dc3cf,_0x3b0659=![])=>{const _0x58e77b=_0x63c8c;if(_0x29ff71){_0x3b42e3(_0x29ff71,_0x1dc3cf,_0x3b0659);return;}if(_0x1dc3cf[_0x58e77b(0x167)]['isDisabled']){_0x3b42e3(new Error('Disabled\x20by\x20the\x20server')),_0x3c46a8['emit'](_0x58e77b(0xf4));return;}const _0x59f1d9=_0x1dc3cf[_0x58e77b(0x167)]['id'];_0x3c46a8[_0x58e77b(0x1ae)]['info'](_0x58e77b(0x1c4)+_0x59f1d9),_0x3c46a8['debuggee']['id']=_0x59f1d9;const _0x23c25b=[__classPrivateFieldGet(_0x3c46a8,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x58e77b(0x14f)](_0x3c46a8)(_0x3c46a8['debuggee']['id'])];_0x3c46a8[_0x58e77b(0x192)][_0x58e77b(0x116)]&&_0x23c25b[_0x58e77b(0x1c2)](__classPrivateFieldGet(_0x3c46a8,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x3c46a8)(_0x3c46a8['debuggee']['id'])),Promise[_0x58e77b(0xdd)](_0x23c25b)[_0x58e77b(0xd0)](()=>{const _0x1930f7=_0x58e77b;_0x3c46a8[_0x1930f7(0x151)](_0x1930f7(0xcd),_0x59f1d9),__classPrivateFieldGet(_0x3c46a8,_Debuglet_debuggeeRegistered,'f')[_0x1930f7(0xdc)](),__classPrivateFieldGet(_0x3c46a8,_Debuglet_v8debug,'f')?.[_0x1930f7(0xf2)](__classPrivateFieldGet(_0x3c46a8,_Debuglet_blocklistManager,'f')),!_0x3c46a8['fetcherActive']&&__classPrivateFieldGet(_0x3c46a8,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1930f7(0x1a4)](_0x3c46a8,0x0,this[_0x1930f7(0x192)][_0x1930f7(0x16a)],_0x1dc3cf?.[_0x1930f7(0x110)]);},_0x445fed=>{_0x3b42e3(_0x445fed);});});},_0x41e9a5*0x3e8)[_0x42033c(0xeb)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0xcd7b10,_0xb65ad9,_0x5281f1){const _0x48cd33=a17_0x4258ca,_0x295d42=this;!_0xb65ad9&&(_0x295d42[_0x48cd33(0x144)]=!![]),setTimeout(()=>{const _0x5a5f12=_0x48cd33;if(!__classPrivateFieldGet(_0x295d42,_Debuglet_running,'f'))return;!_0xb65ad9&&assert(_0x295d42[_0x5a5f12(0x144)]),_0x295d42[_0x5a5f12(0x1ae)][_0x5a5f12(0x123)]('Fetching\x20breakpoints'),__classPrivateFieldGet(_0x295d42,_Debuglet_controller,'f')[_0x5a5f12(0x14e)](_0x295d42[_0x5a5f12(0x167)],(_0x3a68d5,_0x2c58b3,_0x34c4fe)=>{const _0x2067d8=_0x5a5f12;if(_0x2c58b3?.[_0x2067d8(0x125)]===0x194){_0x295d42['logger']['info'](_0x2067d8(0x121)),_0x295d42[_0x2067d8(0x144)]=![],__classPrivateFieldGet(_0x295d42,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x2067d8(0x1a4)](_0x295d42),__classPrivateFieldGet(_0x295d42,_Debuglet_instances,'m',_Debuglet_register_)[_0x2067d8(0x1a4)](_0x295d42);return;}if(_0x3a68d5){const _0x8ae9a2=(0x0,utils_1[_0x2067d8(0x11d)])(_0xcd7b10,_0x295d42['config'][_0x2067d8(0xf9)][_0x2067d8(0x139)]);_0x295d42[_0x2067d8(0x1ae)]['error'](_0x2067d8(0x100)+_0x2c58b3?.[_0x2067d8(0x125)]+_0x2067d8(0x1b9)+_0x3a68d5[_0x2067d8(0x17f)]+'.\x20Retrying\x20in\x20'+_0x8ae9a2+'s'),__classPrivateFieldGet(_0x295d42,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2067d8(0x1a4)](_0x295d42,_0x8ae9a2,_0xb65ad9,_0x5281f1);return;}_0x295d42[_0x2067d8(0x1ae)][_0x2067d8(0x123)]('\x09'+_0x2c58b3[_0x2067d8(0x125)]+_0x2067d8(0x14a));if(!_0x34c4fe){const _0x529d86=_0x295d42['config'][_0x2067d8(0xe6)];_0x295d42[_0x2067d8(0x1ae)][_0x2067d8(0x10b)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x529d86+'s'),__classPrivateFieldGet(_0x295d42,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2067d8(0x1a4)](_0x295d42,_0x529d86,_0xb65ad9,_0x5281f1);return;}if(_0x34c4fe[_0x2067d8(0x1ad)]){_0x295d42[_0x2067d8(0x1ae)]['info'](_0x2067d8(0x186)),__classPrivateFieldGet(_0x295d42,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x295d42,0x0,_0xb65ad9,_0x5281f1);return;}if(_0x34c4fe[_0x2067d8(0xfd)]&&_0x34c4fe[_0x2067d8(0xfd)]!=='NOT_SET'){const _0x2da2cd=this[_0x2067d8(0x10a)]['globalPipingStatus'];_0x2da2cd!==_0x34c4fe[_0x2067d8(0xfd)]&&(this[_0x2067d8(0x1ae)][_0x2067d8(0x123)](_0x2067d8(0x174)+_0x2da2cd+'\x20to\x20'+_0x34c4fe[_0x2067d8(0xfd)]),this[_0x2067d8(0x10a)]['globalPipingStatus']=_0x34c4fe[_0x2067d8(0xfd)]);}if(_0x34c4fe[_0x2067d8(0x1a7)]&&_0x34c4fe[_0x2067d8(0xff)]!==_0x295d42[_0x2067d8(0xff)]){_0x295d42['collectLogRequestId']=_0x34c4fe[_0x2067d8(0xff)];const _0x32cb1d=_0x295d42[_0x2067d8(0x192)]['agentLog'][_0x2067d8(0x18f)]&&path[_0x2067d8(0x12e)](_0x295d42[_0x2067d8(0x192)][_0x2067d8(0x138)][_0x2067d8(0x18f)],agent_logger_1['default']['AGENT_LOG_FILE']);_0x32cb1d&&fs[_0x2067d8(0x12b)](_0x32cb1d)?setTimeout(()=>__classPrivateFieldGet(_0x295d42,_Debuglet_controller,'f')[_0x2067d8(0x17c)](_0x295d42[_0x2067d8(0x167)],_0x34c4fe[_0x2067d8(0xff)],_0x32cb1d)):_0x295d42['logger']['info'](_0x2067d8(0x140)+_0x34c4fe[_0x2067d8(0xff)]+'\x20because\x20'+_0x2067d8(0x13b));}const _0x13909e=(_0x34c4fe['breakpoints']||[])[_0x2067d8(0x157)](_0x1bb2d9=>new stackdriver_1[(_0x2067d8(0x164))](_0x1bb2d9))[_0x2067d8(0x132)](_0x4896bd=>{const _0x5ab6cc=_0x2067d8,_0x8d5f99=_0x4896bd[_0x5ab6cc(0x160)]||_0x5ab6cc(0x13e);if(__classPrivateFieldGet(_0x295d42,_Debuglet_completedBreakpointMap,'f')[_0x4896bd['id']])return![];if(_0x8d5f99!==_0x5ab6cc(0x13e)&&_0x8d5f99!==_0x5ab6cc(0x129))return _0x295d42[_0x5ab6cc(0x1ae)][_0x5ab6cc(0x11c)](_0x5ab6cc(0x19f),_0x8d5f99),_0x4896bd[_0x5ab6cc(0x125)]=new status_message_1[(_0x5ab6cc(0xc5))](status_message_1[_0x5ab6cc(0xc5)]['UNSPECIFIED'],utils_1[_0x5ab6cc(0x1b4)][_0x5ab6cc(0x1c0)],!![]),__classPrivateFieldGet(_0x295d42,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x295d42,_0x4896bd),![];return!![];}),_0x38ef39=__classPrivateFieldGet(_0x295d42,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](_0x295d42);let _0x490e8a=_0x38ef39[_0x2067d8(0xca)]>0x0;__classPrivateFieldGet(_0x295d42,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x2067d8(0x1a4)](_0x295d42,_0x38ef39),_0x490e8a=_0x490e8a||__classPrivateFieldGet(_0x295d42,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x295d42,_0x13909e),_0x295d42[_0x2067d8(0x151)](_0x2067d8(0x126),_0x13909e[_0x2067d8(0xca)]);_0x490e8a&&_0x295d42[_0x2067d8(0x1ae)][_0x2067d8(0x123)](formatBreakpoints(_0x2067d8(0x170),_0x295d42[_0x2067d8(0x180)]));__classPrivateFieldSet(_0x295d42,_Debuglet_breakpointFetchedTimestamp,Date[_0x2067d8(0xc1)](),'f');_0xb65ad9?__classPrivateFieldGet(_0x295d42,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x295d42,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(_0x295d42,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x295d42,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2067d8(0x1a4)](_0x295d42,0x0,_0xb65ad9,_0x5281f1);return;},_0x5281f1);},_0xcd7b10*0x3e8)[_0x48cd33(0xeb)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0xad9f90=a17_0x4258ca;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0xad9f90(0xdc)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x5187c7){const _0x23b7f1=a17_0x4258ca,_0x4aed40=this,_0x271689=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)['call'](this,_0x5187c7);let _0x5c468d=![];return _0x5187c7['forEach'](_0x3135b4=>{const _0x46c66a=a17_0x4f83;!__classPrivateFieldGet(_0x4aed40,_Debuglet_completedBreakpointMap,'f')[_0x3135b4['id']]&&!_0x4aed40[_0x46c66a(0x180)][_0x3135b4['id']]&&(__classPrivateFieldGet(_0x4aed40,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x46c66a(0x1a4)](_0x4aed40,_0x3135b4,_0x36b44f=>{const _0x13f948=_0x46c66a;_0x36b44f&&__classPrivateFieldGet(_0x4aed40,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x13f948(0x1a4)](_0x4aed40,_0x3135b4,!![],![]);}),_0x5c468d=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x46c66a(0x14b)](_0x3135b4['id'])),__classPrivateFieldGet(_0x4aed40,_Debuglet_quotaManager,'f')[_0x46c66a(0x14d)](_0x3135b4['id'],_0x3135b4[_0x46c66a(0xe5)]),_0x4aed40[_0x46c66a(0x10a)][_0x46c66a(0x15b)](_0x3135b4['id'],_0x3135b4[_0x46c66a(0xd9)]);}),(0x0,mapSubtract_1[_0x23b7f1(0x176)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x271689)[_0x23b7f1(0x16e)](_0x310e88=>{delete __classPrivateFieldGet(_0x4aed40,_Debuglet_completedBreakpointMap,'f')[_0x310e88['id']],_0x5c468d=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this['activeBreakpointMap'],_0x271689)[_0x23b7f1(0x16e)](_0xe7eea=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0xe7eea,!![]),_0x5c468d=!![];}),_0x5c468d&&_0x4aed40[_0x23b7f1(0x1ae)]['debug'](formatBreakpoints('Server\x20breakpoints:\x0a',_0x271689)),_0x5c468d;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x4193fd){const _0x58f10b=a17_0x4258ca,_0x1d67da={};return _0x4193fd[_0x58f10b(0x16e)](_0x11e7d8=>{_0x1d67da[_0x11e7d8['id']]=_0x11e7d8;}),_0x1d67da;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0xef8412,_0x2a691e){const _0x2e1d14=a17_0x4258ca;this['logger'][_0x2e1d14(0x104)](_0x2e1d14(0x1a3),_0xef8412),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x2e1d14(0x189)](_0xef8412['id']),this[_0x2e1d14(0x10a)][_0x2e1d14(0x127)](_0xef8412['id']),delete this[_0x2e1d14(0x180)][_0xef8412['id']],_0x2a691e&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x2e1d14(0x158)](_0xef8412,_0x5af29e=>{const _0x14258e=_0x2e1d14;if(_0x5af29e)this[_0x14258e(0x1ae)][_0x14258e(0x10b)](_0x5af29e);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x57e807,_0x6763ba){const _0x252b1d=a17_0x4258ca,_0xfcd3b3=this;_0xfcd3b3[_0x252b1d(0x1ae)][_0x252b1d(0x104)](_0x252b1d(0x1bd),_0x57e807);if(!_0xfcd3b3[_0x252b1d(0x192)]['allowExpressions']&&(_0x57e807[_0x252b1d(0xef)]||_0x57e807[_0x252b1d(0x112)])){_0xfcd3b3[_0x252b1d(0x1ae)]['error'](utils_1[_0x252b1d(0x1b4)][_0x252b1d(0xe8)][_0x252b1d(0x198)]||''),_0x57e807['status']=new status_message_1['StatusMessage'](status_message_1[_0x252b1d(0xc5)]['UNSPECIFIED'],utils_1[_0x252b1d(0x1b4)][_0x252b1d(0xe8)],!![]),setImmediate(()=>{const _0x25700c=_0x252b1d;_0x6763ba(utils_1[_0x25700c(0x1b4)][_0x25700c(0xe8)]);});return;}if((0x0,utils_1[_0x252b1d(0x130)])(process[_0x252b1d(0x11f)],'5.2\x20||\x20<4')){const _0x5e7fc4=utils_1[_0x252b1d(0x1b4)][_0x252b1d(0xe1)];_0xfcd3b3[_0x252b1d(0x1ae)][_0x252b1d(0x10b)](_0x5e7fc4),_0x57e807[_0x252b1d(0x125)]=new status_message_1[(_0x252b1d(0xc5))](status_message_1[_0x252b1d(0xc5)][_0x252b1d(0x148)],_0x5e7fc4,!![]),setImmediate(()=>{_0x6763ba(_0x5e7fc4);});return;}const _0x1a4a76=_0x57e807[_0x252b1d(0x163)]?Number(_0x57e807[_0x252b1d(0x163)][_0x252b1d(0x1b2)]):Date['now']()/0x3e8,_0x33e652=_0x57e807[_0x252b1d(0x107)]||_0xfcd3b3['config']['breakpointExpirationSec'];_0x57e807[_0x252b1d(0x109)]=_0x1a4a76+_0x33e652,_0x57e807['location']?.[_0x252b1d(0x146)]&&(_0x57e807[_0x252b1d(0x177)][_0x252b1d(0x146)]=path[_0x252b1d(0x1ab)](_0x57e807['location'][_0x252b1d(0x146)]),path[_0x252b1d(0x1bc)]===path[_0x252b1d(0x1a0)][_0x252b1d(0x1bc)]&&(_0x57e807[_0x252b1d(0x177)][_0x252b1d(0x146)]=_0x57e807[_0x252b1d(0x177)][_0x252b1d(0x146)][_0x252b1d(0x11a)]('\x5c')[_0x252b1d(0x12e)](path[_0x252b1d(0x1bc)]))),__classPrivateFieldGet(_0xfcd3b3,_Debuglet_v8debug,'f')['set'](_0x57e807,_0x5446cd=>{const _0x3427f3=_0x252b1d;if(_0x5446cd){_0x6763ba(_0x5446cd);return;}_0xfcd3b3['logger']['info'](_0x3427f3(0x1a6),_0x57e807),_0xfcd3b3[_0x3427f3(0x180)][_0x57e807['id']]=_0x57e807,_0x57e807[_0x3427f3(0x160)]===_0x3427f3(0x129)?__classPrivateFieldGet(_0xfcd3b3,_Debuglet_v8debug,'f')['log'](_0x57e807,(_0x14f5ee,_0x1a25e0)=>{const _0x49e755=_0x3427f3,_0x56f4c1=_0x1a25e0['map'](_0x31ab9b=>__classPrivateFieldGet(_0xfcd3b3,_Debuglet_instances,'m',_Debuglet_stringify)[_0x49e755(0x1a4)](_0xfcd3b3,_0x31ab9b)),_0x2370d2=(0x0,format_1[_0x49e755(0xc4)])(_0x14f5ee,_0x56f4c1),_0x29530f=_0x49e755(0x18d)+(__classPrivateFieldGet(_0xfcd3b3,_Debuglet_redactionManager,'f')?.[_0x49e755(0x131)](_0x2370d2)||_0x2370d2),_0x1f6053=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x49e755(0x171)](_0x29530f,_0x57e807['id']);if(_0x1f6053){const _0x16cd9d=_0x1f6053[_0x49e755(0x17f)],_0x2681cb=_0x1f6053['isOutOfQuota'];let _0x1475cf,_0x5b5b2e;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x49e755(0xd5)]()&&!_0x2681cb&&(_0x1475cf=_0x49e755(0x18d)+_0x14f5ee,_0x5b5b2e=_0x56f4c1);_0xfcd3b3[_0x49e755(0x10a)][_0x49e755(0xed)](_0xfcd3b3[_0x49e755(0x167)],_0x57e807['id'],_0x16cd9d,_0x57e807[_0x49e755(0x1b8)],_0x1475cf,_0x5b5b2e);if(_0x2681cb)__classPrivateFieldGet(_0xfcd3b3,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0xe65634=_0x49e755;__classPrivateFieldGet(_0xfcd3b3,_Debuglet_v8debug,'f')?.[_0xe65634(0x194)](),__classPrivateFieldSet(_0xfcd3b3,_Debuglet_nextEnableTimeout,null,'f');},_0xfcd3b3['config'][_0x49e755(0x136)][_0x49e755(0x155)]*0x3e8),'f');else _0x16cd9d?.[_0x49e755(0xca)]===0x0&&__classPrivateFieldGet(_0xfcd3b3,_Debuglet_v8debug,'f')?.[_0x49e755(0xee)]();}},()=>{return __classPrivateFieldGet(_0xfcd3b3,_Debuglet_completedBreakpointMap,'f')[_0x57e807['id']];},_0x9a2226=>{const _0x15a036=_0x3427f3;if(_0x9a2226){_0xfcd3b3[_0x15a036(0x1ae)][_0x15a036(0x10b)](_0x9a2226),_0x6763ba(_0x9a2226);return;}}):__classPrivateFieldGet(_0xfcd3b3,_Debuglet_v8debug,'f')['wait'](_0x57e807,_0x122973=>{const _0x4d026f=_0x3427f3;if(_0x122973){setImmediate(()=>{_0xfcd3b3['logger']['error'](_0x122973),_0x6763ba(_0x122973);});return;}_0xfcd3b3[_0x4d026f(0x1ae)][_0x4d026f(0x104)](_0x4d026f(0x15d),_0x57e807),__classPrivateFieldGet(_0xfcd3b3,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x4d026f(0x1a4)](_0xfcd3b3,_0x57e807,__classPrivateFieldGet(_0xfcd3b3,_Debuglet_v8debug,'f')[_0x4d026f(0x13c)](_0x57e807['id'])<=0x0);}),__classPrivateFieldGet(_0xfcd3b3,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x3427f3(0x1a4)](_0xfcd3b3,_0x57e807);}),this[_0x252b1d(0x151)](_0x252b1d(0x12d));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x473f6c,_0x4c9757,_0x4c3cd8=!![]){const _0x4d949d=a17_0x4258ca,_0x5ee32d=this;if(_0x473f6c[_0x4d949d(0x125)]&&_0x473f6c[_0x4d949d(0x125)][_0x4d949d(0xfe)]){let _0x1e605f=_0x473f6c[_0x4d949d(0x125)]?.[_0x4d949d(0x198)]?.['format']||'';_0x473f6c['status']?.[_0x4d949d(0x198)]?.[_0x4d949d(0xd4)]&&(_0x1e605f+=':\x20'+_0x473f6c['status']?.['description']?.[_0x4d949d(0xd4)][_0x4d949d(0x1c6)]()),_0x5ee32d[_0x4d949d(0x1ae)][_0x4d949d(0x11c)](_0x4d949d(0x128)+_0x473f6c+_0x4d949d(0x1b0)+_0x1e605f);}else _0x5ee32d['logger'][_0x4d949d(0x104)](_0x4d949d(0x118),_0x473f6c);_0x4c9757&&(__classPrivateFieldGet(_0x5ee32d,_Debuglet_completedBreakpointMap,'f')[_0x473f6c['id']]=!![],__classPrivateFieldGet(_0x5ee32d,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x4d949d(0x1a4)](_0x5ee32d,_0x473f6c,_0x4c3cd8)),__classPrivateFieldGet(_0x5ee32d,_Debuglet_controller,'f')[_0x4d949d(0x165)](_0x5ee32d[_0x4d949d(0x167)],extend(!![],{},_0x473f6c));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x65db88){const _0x11ac04=a17_0x4258ca,_0x1befc8=this;_0x1befc8[_0x11ac04(0x1ae)][_0x11ac04(0x123)](_0x11ac04(0x11e)+_0x65db88+'\x20accepted\x20by\x20agent');const _0x10fd65=extend(!![],{},_0x65db88);_0x10fd65[_0x11ac04(0x111)]=![],_0x10fd65[_0x11ac04(0x125)]=new status_message_1[(_0x11ac04(0xc5))](status_message_1[_0x11ac04(0xc5)][_0x11ac04(0x148)],undefined,![],!![]),__classPrivateFieldGet(_0x1befc8,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x1befc8[_0x11ac04(0x167)],_0x10fd65);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x4c97ae){const _0x55a797=a17_0x4258ca,_0x2efb8e=this;this[_0x55a797(0x1ae)][_0x55a797(0x104)](_0x55a797(0x18a),_0x4c97ae),__classPrivateFieldGet(_0x2efb8e,_Debuglet_completedBreakpointMap,'f')[_0x4c97ae['id']]=!![],__classPrivateFieldGet(_0x2efb8e,_Debuglet_controller,'f')[_0x55a797(0x165)](_0x2efb8e['debuggee'],_0x4c97ae);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x11ae67){const _0x437513=a17_0x4258ca,_0x3fb184=this;_0x11ae67[_0x437513(0x16e)](_0x2bc0b3=>{const _0x301f1b=_0x437513;_0x3fb184[_0x301f1b(0x1ae)]['info']('Expiring\x20breakpoint',_0x2bc0b3),__classPrivateFieldGet(_0x3fb184,_Debuglet_completedBreakpointMap,'f')[_0x2bc0b3['id']]=!![],__classPrivateFieldGet(_0x3fb184,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x3fb184,_0x2bc0b3,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x451985=a17_0x4258ca,_0x1f0248=Date[_0x451985(0xc1)]()/0x3e8;return Object[_0x451985(0x172)](this['activeBreakpointMap'])['filter'](_0x3f0f58=>_0x3f0f58['expirationTime']?_0x3f0f58[_0x451985(0x109)]<_0x1f0248:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x130745){const _0x21f6aa=a17_0x4258ca,_0x5b2e05=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x21f6aa(0xf6)](_0x130745),_0x372fd1=_0x5b2e05['blacklist'],_0x417147=_0x5b2e05[_0x21f6aa(0x152)];_0x372fd1&&_0x372fd1['length']&&this[_0x21f6aa(0x1ae)][_0x21f6aa(0x123)](_0x21f6aa(0x16c),_0x372fd1[_0x21f6aa(0x12e)]('\x0a\x09')),_0x417147&&_0x417147[_0x21f6aa(0xca)]&&this[_0x21f6aa(0x1ae)][_0x21f6aa(0x123)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x417147[_0x21f6aa(0x12e)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x372fd1,_0x417147,this[_0x21f6aa(0x192)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x5e6652){const _0x5d681d=a17_0x4258ca,_0x12b156=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5d681d(0x11b)](_0x5e6652);_0x12b156?.[_0x5d681d(0xca)]&&this[_0x5d681d(0x1ae)][_0x5d681d(0x123)](_0x5d681d(0xe2),_0x12b156[_0x5d681d(0x157)](_0xfaf86a=>_0x5d681d(0x105)+_0xfaf86a[_0x5d681d(0x18c)]+_0x5d681d(0x166)+_0xfaf86a[_0x5d681d(0x182)]+_0x5d681d(0x1b6)+_0xfaf86a[_0x5d681d(0x185)]+_0x5d681d(0x106)+_0xfaf86a[_0x5d681d(0xbd)])[_0x5d681d(0x12e)]('\x0a\x09'));if((0x0,utils_1[_0x5d681d(0x130)])(process[_0x5d681d(0x11f)],_0x5d681d(0xce))){const {RedactionManagerRE2JS:_0x3cdb78}=await Promise[_0x5d681d(0xdc)]()[_0x5d681d(0xd0)](()=>require(_0x5d681d(0x16d)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x3cdb78(this[_0x5d681d(0x1ae)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5d681d(0x145)](_0x12b156);}},_Debuglet_stringify=function _Debuglet_stringify(_0x2dd62d){const _0x55fbbe=a17_0x4258ca;if(!_0x2dd62d)return JSON[_0x55fbbe(0xda)](_0x2dd62d,(_0xe994ab,_0x59fc01)=>_0x59fc01===undefined?_0x55fbbe(0x1b5):_0x59fc01);if(Array[_0x55fbbe(0xcf)](_0x2dd62d)){const _0x346fda=[];for(const _0x247b50 of _0x2dd62d){_0x346fda['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x247b50));}return'['+_0x346fda[_0x55fbbe(0x12e)](',\x20')+']';}if(typeof _0x2dd62d===_0x55fbbe(0x119)){const _0x5b21d9=Object[_0x55fbbe(0x199)](_0x2dd62d)[_0x55fbbe(0x157)](([_0x2481b6,_0xd2486])=>{const _0x3f8649=_0x55fbbe,_0x1c652d=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3f8649(0x18e)](_0x2481b6)?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3f8649(0x1a4)](this,_0xd2486);return JSON['stringify'](_0x2481b6)+':\x20'+_0x1c652d;})[_0x55fbbe(0x12e)](',\x20');return'{'+_0x5b21d9+'}';}return JSON[_0x55fbbe(0xda)](_0x2dd62d);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a18_0x3af996=a18_0xa2d2;function a18_0x11af(){const _0x5ecc3e=['warn','agentOS','version','Windows','replace','_osRelease','windows','30992360eoksor','get','release','/etc/os-release','15533teYhLO','runtimeEnvironmentVersion','defineProperty','_cachedOsRelease','trim','/.dockerenv','(((.+)+)+)+$','length','existsSync','8BXnKNp','5528958mwZTJM','osVersion','39564nLSzMN','11tfGDcH','2535060GSpbrh','forEach','search','x64','VERSION_ID','procArch','env','mac','arch','getProps','177RRpEoK','\x20on\x20','cpus','pid','arm64','node','runtimeEnvironmentInfo','isInDocker','EnvironmentMetadata','platform','totalmem','MacOS','assert','versions','host','Linux','cpuCoreCount','split','constructor','Node.js\x20','toString','linux','9830604IKaQni','992XUadzq','error','_logger','systemTotalMemoryBytes','4276uIUWxC','arm','x32'];a18_0x11af=function(){return _0x5ecc3e;};return a18_0x11af();}(function(_0x22d9c4,_0x5db4a4){const _0x5cc253=a18_0xa2d2,_0x210398=_0x22d9c4();while(!![]){try{const _0x1a7fd0=-parseInt(_0x5cc253(0x1b8))/0x1*(parseInt(_0x5cc253(0x1c1))/0x2)+parseInt(_0x5cc253(0x1d0))/0x3*(parseInt(_0x5cc253(0x1aa))/0x4)+parseInt(_0x5cc253(0x1c6))/0x5+-parseInt(_0x5cc253(0x1c2))/0x6+-parseInt(_0x5cc253(0x1a5))/0x7+-parseInt(_0x5cc253(0x1a6))/0x8*(parseInt(_0x5cc253(0x1c4))/0x9)+parseInt(_0x5cc253(0x1b4))/0xa*(parseInt(_0x5cc253(0x1c5))/0xb);if(_0x1a7fd0===_0x5db4a4)break;else _0x210398['push'](_0x210398['shift']());}catch(_0x596cfa){_0x210398['push'](_0x210398['shift']());}}}(a18_0x11af,0xb3bda));Object[a18_0x3af996(0x1ba)](exports,'__esModule',{'value':!![]}),exports[a18_0x3af996(0x197)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a18_0x3af996(0x19b));var OS;(function(_0x1231bf){const _0xf2ec85=a18_0x3af996,_0x483c5c=(function(){let _0xb2b4d7=!![];return function(_0x2e540a,_0x372e53){const _0x32bd65=_0xb2b4d7?function(){if(_0x372e53){const _0xbe68ad=_0x372e53['apply'](_0x2e540a,arguments);return _0x372e53=null,_0xbe68ad;}}:function(){};return _0xb2b4d7=![],_0x32bd65;};}()),_0x5443f7=_0x483c5c(this,function(){const _0x2b7724=a18_0xa2d2;return _0x5443f7[_0x2b7724(0x1a3)]()[_0x2b7724(0x1c8)](_0x2b7724(0x1be))[_0x2b7724(0x1a3)]()[_0x2b7724(0x1a1)](_0x5443f7)[_0x2b7724(0x1c8)]('(((.+)+)+)+$');});_0x5443f7(),_0x1231bf['Linux']=_0xf2ec85(0x1a4),_0x1231bf[_0xf2ec85(0x1b0)]=_0xf2ec85(0x1b3),_0x1231bf[_0xf2ec85(0x19a)]=_0xf2ec85(0x1cd);}(OS||(OS={})));var ProcArch;(function(_0x136a0a){const _0x5b2c3d=a18_0x3af996;_0x136a0a[_0x5b2c3d(0x1c9)]=_0x5b2c3d(0x1c9),_0x136a0a[_0x5b2c3d(0x1ac)]='x32',_0x136a0a[_0x5b2c3d(0x1ab)]=_0x5b2c3d(0x1ab),_0x136a0a['arm64']='arm64';}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS[a18_0x3af996(0x1b0)],'darwin':OS[a18_0x3af996(0x19a)]},ArchToProcArchMap={'x32':ProcArch[a18_0x3af996(0x1ac)],'x64':ProcArch[a18_0x3af996(0x1c9)],'arm':ProcArch['arm'],'arm64':ProcArch[a18_0x3af996(0x1d4)]};function a18_0xa2d2(_0x3577c8,_0x1e3fc7){const _0x218fd4=a18_0x11af();return a18_0xa2d2=function(_0x576370,_0xb7dfaf){_0x576370=_0x576370-0x197;let _0x11af69=_0x218fd4[_0x576370];return _0x11af69;},a18_0xa2d2(_0x3577c8,_0x1e3fc7);}class EnvironmentMetadata{constructor(_0xc71b4a){const _0x142b27=a18_0x3af996;assert(_0xc71b4a!==null),this[_0x142b27(0x1a8)]=_0xc71b4a;}get['runtimeEnvironmentVersion'](){const _0x2ac86e=a18_0x3af996;try{const _0x18f158=process[_0x2ac86e(0x19c)][_0x2ac86e(0x1d5)]['match'](/(\d+\.\d+)\..*/);if(_0x18f158)return _0x18f158[0x1];}catch(_0x559566){this[_0x2ac86e(0x1a8)][_0x2ac86e(0x1a7)](_0x559566);}return;}get[a18_0x3af996(0x1d6)](){const _0xab1d90=a18_0x3af996;return _0xab1d90(0x1a2)+process[_0xab1d90(0x1af)]+_0xab1d90(0x1d1)+(0x0,os_1[_0xab1d90(0x198)])()+'\x20'+(0x0,os_1[_0xab1d90(0x1b6)])();}get[a18_0x3af996(0x1d3)](){const _0x534030=a18_0x3af996;return process['pid'][_0x534030(0x1a3)]();}get[a18_0x3af996(0x1cb)](){const _0x1969b5=a18_0x3af996;return ArchToProcArchMap[process[_0x1969b5(0x1ce)]]||process['arch'];}get[a18_0x3af996(0x19f)](){const _0x5e27ff=a18_0x3af996;return(0x0,os_1[_0x5e27ff(0x1d2)])()[_0x5e27ff(0x1bf)];}get[a18_0x3af996(0x1a9)](){const _0xcf99b6=a18_0x3af996;return(0x0,os_1[_0xcf99b6(0x199)])();}get['host'](){return(0x0,os_1['hostname'])();}get[a18_0x3af996(0x1ae)](){const _0x572333=a18_0x3af996;return PlatformToOsMap[(0x0,os_1[_0x572333(0x198)])()]||(0x0,os_1[_0x572333(0x198)])();}get[a18_0x3af996(0x1c3)](){const _0x1f81d7=a18_0x3af996;try{if(this['agentOS']===OS[_0x1f81d7(0x19e)])return this[_0x1f81d7(0x1b2)][_0x1f81d7(0x1b5)](_0x1f81d7(0x1ca))||(0x0,os_1[_0x1f81d7(0x1b6)])();return(0x0,os_1[_0x1f81d7(0x1b6)])();}catch(_0x903f7a){this['_logger'][_0x1f81d7(0x1a7)](_0x903f7a);}return;}get['linuxDistroName'](){const _0x1fbc09=a18_0x3af996;return this['agentOS']===OS['Linux']&&this[_0x1fbc09(0x1b2)][_0x1fbc09(0x1b5)]('ID')||'';}get['isInDocker'](){const _0x36be48=a18_0x3af996;return this[_0x36be48(0x1ae)]===OS[_0x36be48(0x19e)]?(0x0,fs_1[_0x36be48(0x1c0)])(_0x36be48(0x1bd)):![];}get['isInK8s'](){const _0x37a9de=a18_0x3af996;return!!process[_0x37a9de(0x1cc)]['KUBERNETES_SERVICE_HOST'];}get[a18_0x3af996(0x1b2)](){const _0x417b42=a18_0x3af996;if(!this[_0x417b42(0x1bb)]){this['_cachedOsRelease']=new Map();try{if(this[_0x417b42(0x1ae)]===OS[_0x417b42(0x19e)]){const _0x2c058c=(0x0,fs_1['readFileSync'])(_0x417b42(0x1b7),'utf-8');_0x2c058c[_0x417b42(0x1a0)](/\r?\n/)[_0x417b42(0x1c7)](_0x40f76c=>{const _0x497714=_0x417b42,[_0x5ccaba,_0x21e7b3]=_0x40f76c[_0x497714(0x1bc)]()[_0x497714(0x1a0)]('=');this['_cachedOsRelease']?.['set'](_0x5ccaba,_0x21e7b3?.[_0x497714(0x1b1)](/^"|"$/g,'')||'');});}}catch(_0x2f6226){this[_0x417b42(0x1a8)][_0x417b42(0x1ad)]('Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release',_0x2f6226);}}return this[_0x417b42(0x1bb)];}[a18_0x3af996(0x1cf)](){const _0x266237=a18_0x3af996;return{'runtimeEnvironmentVersion':this[_0x266237(0x1b9)],'runtimeEnvironmentInfo':this[_0x266237(0x1d6)],'pid':this[_0x266237(0x1d3)],'cpuCoreCount':this[_0x266237(0x19f)],'systemTotalMemoryBytes':this['systemTotalMemoryBytes'],'host':this[_0x266237(0x19d)],'agentOS':this[_0x266237(0x1ae)],'osVersion':this['osVersion'],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x266237(0x1d7)],'isInK8s':this['isInK8s'],'procArch':this[_0x266237(0x1cb)]};}}exports[a18_0x3af996(0x197)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x560cf5=a19_0x4477;(function(_0x1d79f0,_0x89e143){const _0x24e17a=a19_0x4477,_0x100db6=_0x1d79f0();while(!![]){try{const _0x189044=-parseInt(_0x24e17a(0xff))/0x1*(parseInt(_0x24e17a(0x112))/0x2)+parseInt(_0x24e17a(0x104))/0x3*(-parseInt(_0x24e17a(0x115))/0x4)+parseInt(_0x24e17a(0x106))/0x5*(-parseInt(_0x24e17a(0x105))/0x6)+-parseInt(_0x24e17a(0x111))/0x7+parseInt(_0x24e17a(0xfa))/0x8+parseInt(_0x24e17a(0x100))/0x9*(parseInt(_0x24e17a(0xfb))/0xa)+parseInt(_0x24e17a(0xf7))/0xb*(parseInt(_0x24e17a(0xf3))/0xc);if(_0x189044===_0x89e143)break;else _0x100db6['push'](_0x100db6['shift']());}catch(_0x291a8c){_0x100db6['push'](_0x100db6['shift']());}}}(a19_0x5c82,0x974e1));function a19_0x4477(_0x3c438f,_0x1e29d2){const _0x2eba95=a19_0x5c82();return a19_0x4477=function(_0x28f1f4,_0x252b4e){_0x28f1f4=_0x28f1f4-0xf1;let _0x5c829b=_0x2eba95[_0x28f1f4];return _0x5c829b;},a19_0x4477(_0x3c438f,_0x1e29d2);}const a19_0x252b4e=(function(){let _0xa27fda=!![];return function(_0x533beb,_0x58e125){const _0x5ba6d4=_0xa27fda?function(){const _0x277630=a19_0x4477;if(_0x58e125){const _0x48b832=_0x58e125[_0x277630(0xf8)](_0x533beb,arguments);return _0x58e125=null,_0x48b832;}}:function(){};return _0xa27fda=![],_0x5ba6d4;};}()),a19_0x28f1f4=a19_0x252b4e(this,function(){const _0x5ea1d0=a19_0x4477;return a19_0x28f1f4[_0x5ea1d0(0x101)]()[_0x5ea1d0(0x113)](_0x5ea1d0(0xfd))['toString']()[_0x5ea1d0(0x10c)](a19_0x28f1f4)[_0x5ea1d0(0x113)](_0x5ea1d0(0xfd));});function a19_0x5c82(){const _0x19acb0=['path','buildIndex','sep','_fileStats','constructor','keys','__esModule','indexOf','substr','5501972BdIPXT','14YEnICz','search','substring','1961528dveJQz','has','length','12cmEind','generateSubPaths','min','filter','20685709mvBVAY','apply','stripStartingSep','8477280OzgzAq','95330MAMlBI','fileIndex','(((.+)+)+)+$','push','37668PIWxvV','207WJlFaf','toString','get','FileIndex','3oYqbFP','18342FkJJaf','1635dfAdFH','add'];a19_0x5c82=function(){return _0x19acb0;};return a19_0x5c82();}a19_0x28f1f4();'use strict';Object['defineProperty'](exports,a19_0x560cf5(0x10e),{'value':!![]}),exports['FileIndex']=void 0x0;const path=require(a19_0x560cf5(0x108));class FileIndex{constructor(_0x12b421){const _0x485593=a19_0x560cf5;this[_0x485593(0x10b)]=_0x12b421,this[_0x485593(0xfc)]=new Map();}static['fromFileStats'](_0x4d8ce6){const _0x4697e4=a19_0x560cf5,_0x5911f1=new FileIndex(_0x4d8ce6);return _0x5911f1['buildIndex'](Object[_0x4697e4(0x10d)](_0x4d8ce6)||[]),_0x5911f1;}static['fromFileList'](_0x72768e){const _0x5560ab=a19_0x560cf5,_0x294eb2=new FileIndex(undefined);return _0x294eb2[_0x5560ab(0x109)](_0x72768e||[]),_0x294eb2;}get['fileStats'](){const _0x18b088=a19_0x560cf5;return this[_0x18b088(0x10b)]||{};}['findShortestFuzzyMatches'](_0x6d961f){const _0x3c70f1=a19_0x560cf5,_0x2a4977=this['search'](_0x6d961f);if(!_0x2a4977||_0x2a4977['size']===0x0)return[];const _0x52ce92=[..._0x2a4977]['map'](_0x563cfc=>_0x563cfc[_0x3c70f1(0xf2)]),_0x1cb581=Math[_0x3c70f1(0xf5)](..._0x52ce92),_0x43f6c0=[..._0x2a4977][_0x3c70f1(0xf6)](_0x4832e8=>_0x4832e8[_0x3c70f1(0xf2)]===_0x1cb581);return _0x43f6c0;}[a19_0x560cf5(0x109)](_0x7a2a8b){const _0x382b8e=a19_0x560cf5;for(const _0x5b1656 of _0x7a2a8b){for(const _0x1f4738 of this[_0x382b8e(0xf4)](_0x5b1656)){let _0x327c17=this[_0x382b8e(0xfc)][_0x382b8e(0x102)](_0x1f4738);_0x327c17===undefined&&(_0x327c17=new Set(),this[_0x382b8e(0xfc)]['set'](_0x1f4738,_0x327c17)),_0x327c17[_0x382b8e(0x107)](_0x5b1656);}}}[a19_0x560cf5(0xf4)](_0x2196fc){const _0x28c69b=a19_0x560cf5;_0x2196fc=this[_0x28c69b(0xf9)](_0x2196fc);const _0x4fcac1=[_0x2196fc];while(_0x2196fc[_0x28c69b(0x10f)](path['sep'])>=0x0){_0x2196fc=_0x2196fc[_0x28c69b(0x114)](_0x2196fc['indexOf'](path[_0x28c69b(0x10a)])+path['sep']['length'],_0x2196fc[_0x28c69b(0xf2)]),_0x4fcac1[_0x28c69b(0xfe)](_0x2196fc);}return _0x4fcac1;}[a19_0x560cf5(0x113)](_0x8b4727){const _0x5fbe4e=a19_0x560cf5;if(!_0x8b4727)return undefined;_0x8b4727=this[_0x5fbe4e(0xf9)](_0x8b4727);for(const _0x3aaaf8 of this[_0x5fbe4e(0xf4)](_0x8b4727)){if(this['fileIndex'][_0x5fbe4e(0xf1)](_0x3aaaf8))return this[_0x5fbe4e(0xfc)][_0x5fbe4e(0x102)](_0x3aaaf8);}return undefined;}[a19_0x560cf5(0xf9)](_0x243f24){const _0x45a0e8=a19_0x560cf5;if(_0x243f24&&(_0x243f24[0x0]==='/'||_0x243f24[0x0]==='\x5c'))return _0x243f24[_0x45a0e8(0x110)](0x1);return _0x243f24;}}exports[a19_0x560cf5(0x103)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x2cfc3d=a20_0x43c3;function a20_0x2b3f(){const _0x211499=['891090MtUPBd','defineProperty','normalize','test','ScanResultsImpl','627444sXJIUn','toString','__esModule','6jXaTVI','path','1902mIACUL','errorMap','forEach','39740szKYpq','1289390CmvVeN','keys','filter','1480136opiASL','(((.+)+)+)+$','hash','8813FptIsv','stats','selectStats','9JetXXK','replace','selectFiles','546MGCOlJ','search','apply'];a20_0x2b3f=function(){return _0x211499;};return a20_0x2b3f();}(function(_0x115795,_0x5b9363){const _0x318dd8=a20_0x43c3,_0x42eab8=_0x115795();while(!![]){try{const _0x5950b4=-parseInt(_0x318dd8(0x179))/0x1+parseInt(_0x318dd8(0x176))/0x2*(parseInt(_0x318dd8(0x169))/0x3)+parseInt(_0x318dd8(0x171))/0x4+parseInt(_0x318dd8(0x16c))/0x5+-parseInt(_0x318dd8(0x174))/0x6*(-parseInt(_0x318dd8(0x180))/0x7)+parseInt(_0x318dd8(0x17d))/0x8*(-parseInt(_0x318dd8(0x183))/0x9)+-parseInt(_0x318dd8(0x17a))/0xa;if(_0x5950b4===_0x5b9363)break;else _0x42eab8['push'](_0x42eab8['shift']());}catch(_0x3e9624){_0x42eab8['push'](_0x42eab8['shift']());}}}(a20_0x2b3f,0x2604c));const a20_0x1ea10c=(function(){let _0x4d4f5d=!![];return function(_0xde86b4,_0x2fd6fd){const _0x4bdc03=_0x4d4f5d?function(){const _0x30473c=a20_0x43c3;if(_0x2fd6fd){const _0x205e05=_0x2fd6fd[_0x30473c(0x16b)](_0xde86b4,arguments);return _0x2fd6fd=null,_0x205e05;}}:function(){};return _0x4d4f5d=![],_0x4bdc03;};}()),a20_0x3cca71=a20_0x1ea10c(this,function(){const _0x23020e=a20_0x43c3;return a20_0x3cca71[_0x23020e(0x172)]()[_0x23020e(0x16a)](_0x23020e(0x17e))[_0x23020e(0x172)]()['constructor'](a20_0x3cca71)['search'](_0x23020e(0x17e));});a20_0x3cca71();'use strict';function a20_0x43c3(_0xdcac12,_0x2ff48d){const _0x3fc84b=a20_0x2b3f();return a20_0x43c3=function(_0x3cca71,_0x1ea10c){_0x3cca71=_0x3cca71-0x168;let _0x2b3f78=_0x3fc84b[_0x3cca71];return _0x2b3f78;},a20_0x43c3(_0xdcac12,_0x2ff48d);}Object[a20_0x2cfc3d(0x16d)](exports,a20_0x2cfc3d(0x173),{'value':!![]}),exports[a20_0x2cfc3d(0x170)]=void 0x0;const path=require(a20_0x2cfc3d(0x175));class ScanResultsImpl{constructor(_0x20fe7d,_0x2d20c9,_0x44f4bf){const _0x3ac4eb=a20_0x2cfc3d;this[_0x3ac4eb(0x181)]=_0x20fe7d,this['errorMap']=_0x2d20c9,this[_0x3ac4eb(0x17f)]=_0x44f4bf;}['errors'](){const _0x3e3139=a20_0x2cfc3d;return this[_0x3e3139(0x177)];}['all'](){const _0x532a8b=a20_0x2cfc3d;return this[_0x532a8b(0x181)];}[a20_0x2cfc3d(0x182)](_0x4ec92e){const _0x1686bf=a20_0x2cfc3d,_0x2c0b8c={};return Object[_0x1686bf(0x17b)](this[_0x1686bf(0x181)])[_0x1686bf(0x178)](_0x23f01a=>{const _0x905d7b=_0x1686bf;_0x4ec92e[_0x905d7b(0x16f)](_0x23f01a)&&(_0x2c0b8c[_0x23f01a]=this[_0x905d7b(0x181)][_0x23f01a]);}),_0x2c0b8c;}[a20_0x2cfc3d(0x168)](_0x4fa0c7,_0x1155ce){const _0x49d10b=a20_0x2cfc3d;return _0x1155ce=path[_0x49d10b(0x16e)](_0x1155ce+path['sep']),Object[_0x49d10b(0x17b)](this['stats'])[_0x49d10b(0x17c)](_0x5f2803=>{const _0x3403cf=_0x49d10b;return _0x5f2803&&_0x4fa0c7[_0x3403cf(0x16f)](_0x5f2803);})['map'](_0x16de99=>{const _0x4c0c96=_0x49d10b;return path['normalize'](_0x16de99)[_0x4c0c96(0x184)](_0x1155ce,'');});}}exports['ScanResultsImpl']=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x5a0095=a21_0x29e7;(function(_0x2eb85f,_0x2aea39){const _0x3458b7=a21_0x29e7,_0x3ec491=_0x2eb85f();while(!![]){try{const _0x465d10=parseInt(_0x3458b7(0x1cc))/0x1+-parseInt(_0x3458b7(0x1db))/0x2*(parseInt(_0x3458b7(0x1e4))/0x3)+-parseInt(_0x3458b7(0x1d0))/0x4+parseInt(_0x3458b7(0x1d8))/0x5*(-parseInt(_0x3458b7(0x1f5))/0x6)+parseInt(_0x3458b7(0x1ed))/0x7*(parseInt(_0x3458b7(0x1df))/0x8)+-parseInt(_0x3458b7(0x1ff))/0x9+parseInt(_0x3458b7(0x1e3))/0xa;if(_0x465d10===_0x2aea39)break;else _0x3ec491['push'](_0x3ec491['shift']());}catch(_0x5d1a5b){_0x3ec491['push'](_0x3ec491['shift']());}}}(a21_0x24a9,0x5ae6c));function a21_0x29e7(_0x343f3f,_0x382603){const _0x45fcc5=a21_0x24a9();return a21_0x29e7=function(_0x3718b6,_0x5bd78e){_0x3718b6=_0x3718b6-0x1c1;let _0x24a9e8=_0x45fcc5[_0x3718b6];return _0x24a9e8;},a21_0x29e7(_0x343f3f,_0x382603);}const a21_0x5bd78e=(function(){let _0x417b49=!![];return function(_0x2c111f,_0x5b6c0e){const _0x1caa69=_0x417b49?function(){const _0x2dc088=a21_0x29e7;if(_0x5b6c0e){const _0x33c86b=_0x5b6c0e[_0x2dc088(0x1e6)](_0x2c111f,arguments);return _0x5b6c0e=null,_0x33c86b;}}:function(){};return _0x417b49=![],_0x1caa69;};}()),a21_0x3718b6=a21_0x5bd78e(this,function(){const _0x343cde=a21_0x29e7;return a21_0x3718b6['toString']()[_0x343cde(0x1c3)](_0x343cde(0x1eb))[_0x343cde(0x1c9)]()[_0x343cde(0x1d7)](a21_0x3718b6)[_0x343cde(0x1c3)](_0x343cde(0x1eb));});a21_0x3718b6();function a21_0x24a9(){const _0x596b58=['digest','.git','3786hyhNKd','ScanResultsImpl','R_OK','path','end','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','warn','startsWith','node_modules','can\x27t\x20access\x20path:\x20[','763920lrqHeY','set','info','search','directory','defineProperty','EMPTY-no-js-files','data','statsForFile','toString','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','basename','324225hQOhwE','error','createHash','test','1588528sFbbPB','resolve','length','update','SHA1-','findFiles','push','constructor','925ImZfmL','__esModule','crypto','310EZdnaF','pipe','logger','Indexing\x20files\x20in\x20','4886768tzqIKs','Scanner','createReadStream','from','6437630dCVDxn','11763ASIQsU','join','apply','Specified\x20extraPaths\x20does\x20not\x20exist!','hasReadAccess','addFilesFromDir','hex','(((.+)+)+)+$','constants','7EmztDr','accessSync','scan','computeStats','sha1','split'];a21_0x24a9=function(){return _0x596b58;};return a21_0x24a9();}'use strict';Object[a21_0x5a0095(0x1c5)](exports,a21_0x5a0095(0x1d9),{'value':!![]}),exports[a21_0x5a0095(0x1e0)]=void 0x0;const crypto=require(a21_0x5a0095(0x1da)),fs=require('fs'),path=require(a21_0x5a0095(0x1f8)),scan_results_1=require('./scan-results');class Scanner{constructor(_0x2790d1){this['logger']=_0x2790d1;}async[a21_0x5a0095(0x1ef)](_0x2d7a28,_0x5eeaa1,_0x592e8b,_0x49b6d0){const _0x48ac8b=a21_0x5a0095,_0x126404=await this[_0x48ac8b(0x1d5)](_0x2d7a28,_0x5eeaa1,_0x49b6d0);return this['computeStats'](_0x126404,_0x592e8b);}[a21_0x5a0095(0x1f0)](_0x3ca991,_0x1b9c05){return new Promise(async _0x41a914=>{const _0xe7f36e=a21_0x29e7;if(_0x3ca991[_0xe7f36e(0x1d2)]===0x0){_0x41a914(new scan_results_1[(_0xe7f36e(0x1f6))]({},new Map(),_0xe7f36e(0x1c6)));return;}const _0x583b5b=[],_0x485004={},_0x224bdc=new Map();for(const _0x21ba94 of _0x3ca991){try{const _0xece315=await this[_0xe7f36e(0x1c8)](_0x21ba94,!_0x1b9c05);!_0x1b9c05&&_0x583b5b[_0xe7f36e(0x1d6)](_0xece315['hash']),_0x485004[_0x21ba94]=_0xece315;}catch(_0x335678){_0x224bdc[_0xe7f36e(0x1c1)](_0x21ba94,_0x335678);}}let _0x3e6dbb;if(!_0x1b9c05){const _0x25c1a9=_0x583b5b['sort']()[_0xe7f36e(0x1e5)](),_0x5e1c04=crypto['createHash']('sha1')[_0xe7f36e(0x1d3)](_0x25c1a9)[_0xe7f36e(0x1f3)]('hex');_0x3e6dbb=_0xe7f36e(0x1d4)+_0x5e1c04;}else _0x3e6dbb=_0x1b9c05;_0x41a914(new scan_results_1[(_0xe7f36e(0x1f6))](_0x485004,_0x224bdc,_0x3e6dbb));});}async['findFiles'](_0x161b85,_0x1c276f,_0x25f979){const _0x348cbf=a21_0x5a0095,_0x2de790=new Set();await this[_0x348cbf(0x1e9)](_0x2de790,_0x161b85,_0x1c276f);for(const _0x11117c of _0x25f979??[]){if(_0x11117c){const _0x11d8df=path[_0x348cbf(0x1d1)](_0x11117c);try{await this[_0x348cbf(0x1e9)](_0x2de790,_0x11d8df,_0x1c276f);}catch(_0x4eeb39){this['logger'][_0x348cbf(0x1cd)](_0x348cbf(0x1e7),_0x4eeb39);continue;}}}return Array[_0x348cbf(0x1e2)](_0x2de790);}static['hasReadAccess'](_0x4b7f50){const _0x36539b=a21_0x5a0095;try{return fs[_0x36539b(0x1ee)](_0x4b7f50,fs[_0x36539b(0x1ec)][_0x36539b(0x1f7)]),!![];}catch(_0x52afb5){return![];}}async['addFilesFromDir'](_0xc58894,_0xd556e,_0x2cc178){return new Promise((_0x4f8bd9,_0xbb9f9c)=>{const _0x174588=a21_0x29e7;let _0x262cf5;if(!_0xd556e){_0xbb9f9c(new Error(_0x174588(0x1fa)));return;}this[_0x174588(0x1dd)][_0x174588(0x1c2)](_0x174588(0x1de)+path[_0x174588(0x1d1)](_0xd556e));const _0x3a4409=findit(_0xd556e);_0x3a4409['on'](_0x174588(0x1cd),_0x41ae08=>{_0x262cf5=_0x41ae08;return;}),_0x3a4409['on'](_0x174588(0x1c4),(_0x110bf6,_0x5da269,_0x3ad0a9)=>{const _0x54e39e=_0x174588,_0x10b694=path[_0x54e39e(0x1cb)](_0x110bf6);!Scanner[_0x54e39e(0x1e8)](_0x110bf6)&&(this[_0x54e39e(0x1dd)][_0x54e39e(0x1fb)](_0x54e39e(0x1fe)+path[_0x54e39e(0x1d1)](_0x110bf6)+_0x54e39e(0x1ca)),_0x3ad0a9()),(_0x10b694===_0x54e39e(0x1f4)||_0x10b694===_0x54e39e(0x1fd))&&(!path[_0x54e39e(0x1d1)](_0xd556e)[_0x54e39e(0x1fc)](path[_0x54e39e(0x1d1)](_0x110bf6))&&_0x3ad0a9());}),_0x3a4409['on']('file',_0x197bce=>{const _0x14fd37=_0x174588;_0x2cc178[_0x14fd37(0x1cf)](_0x197bce)&&_0xc58894['add'](_0x197bce);}),_0x3a4409['on']('end',()=>{_0x262cf5?_0xbb9f9c(_0x262cf5):_0x4f8bd9();});});}async[a21_0x5a0095(0x1c8)](_0x1b0578,_0x55d487){return new Promise((_0x43ad59,_0x102cfa)=>{const _0x1db168=a21_0x29e7,_0x44f5a6=fs[_0x1db168(0x1e1)](_0x1b0578);_0x44f5a6['on'](_0x1db168(0x1cd),_0x2f666b=>{_0x102cfa(_0x2f666b);}),_0x44f5a6['on']('open',()=>{const _0x28521f=_0x1db168;let _0x1f4a13;_0x55d487&&(_0x1f4a13=crypto[_0x28521f(0x1ce)](_0x28521f(0x1f1)));let _0x39eba5=0x0,_0x5f593d;const _0x1f73d3=_0x44f5a6[_0x28521f(0x1dc)](split());_0x1f73d3['on'](_0x28521f(0x1cd),_0x177abb=>{_0x5f593d=_0x177abb;}),_0x1f73d3['on'](_0x28521f(0x1c7),_0x5a7316=>{const _0x142f81=_0x28521f;_0x55d487&&_0x1f4a13[_0x142f81(0x1d3)](_0x5a7316),_0x39eba5++;}),_0x1f73d3['on'](_0x28521f(0x1f9),()=>{const _0x3692b3=_0x28521f;if(_0x5f593d)_0x102cfa(_0x5f593d);else{const _0x3b63c6=_0x55d487?_0x1f4a13[_0x3692b3(0x1f3)](_0x3692b3(0x1ea)):undefined;_0x43ad59({'hash':_0x3b63c6,'lines':_0x39eba5});}});});});}}exports[a21_0x5a0095(0x1e0)]=Scanner;const findit=require('findit2'),split=require(a21_0x5a0095(0x1f2));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x14297a=a22_0x2919;(function(_0x32ccf0,_0x2f5221){const _0xa62926=a22_0x2919,_0x26223a=_0x32ccf0();while(!![]){try{const _0x556e17=-parseInt(_0xa62926(0x203))/0x1*(-parseInt(_0xa62926(0x1fc))/0x2)+parseInt(_0xa62926(0x1e6))/0x3+parseInt(_0xa62926(0x1d1))/0x4*(-parseInt(_0xa62926(0x1f1))/0x5)+-parseInt(_0xa62926(0x1f7))/0x6+-parseInt(_0xa62926(0x1db))/0x7*(parseInt(_0xa62926(0x1f3))/0x8)+parseInt(_0xa62926(0x1d0))/0x9+parseInt(_0xa62926(0x1e2))/0xa*(parseInt(_0xa62926(0x1e5))/0xb);if(_0x556e17===_0x2f5221)break;else _0x26223a['push'](_0x26223a['shift']());}catch(_0x2ab0e7){_0x26223a['push'](_0x26223a['shift']());}}}(a22_0x1c56,0xd411d));const a22_0x473347=(function(){let _0x63897c=!![];return function(_0x483520,_0x327e29){const _0x2e47c7=_0x63897c?function(){if(_0x327e29){const _0x27dafa=_0x327e29['apply'](_0x483520,arguments);return _0x327e29=null,_0x27dafa;}}:function(){};return _0x63897c=![],_0x2e47c7;};}()),a22_0x18cdfa=a22_0x473347(this,function(){const _0x4f8cee=a22_0x2919;return a22_0x18cdfa[_0x4f8cee(0x20f)]()[_0x4f8cee(0x1da)]('(((.+)+)+)+$')[_0x4f8cee(0x20f)]()[_0x4f8cee(0x1e7)](a22_0x18cdfa)['search'](_0x4f8cee(0x1eb));});function a22_0x2919(_0x4dc01d,_0x9be465){const _0x17f05f=a22_0x1c56();return a22_0x2919=function(_0x18cdfa,_0x473347){_0x18cdfa=_0x18cdfa-0x1ce;let _0x1c5661=_0x17f05f[_0x18cdfa];return _0x1c5661;},a22_0x2919(_0x4dc01d,_0x9be465);}function a22_0x1c56(){const _0x35a51e=['promisify','set','generatedPositionFor','CONTENT','11EKIPlY','An\x20error\x20occurred\x20while\x20reading\x20the\x20','line','stringify','filter','sourcemap\x20file\x20','relative','.map','normalize','findInSources','join','substring','toString','dirname','Creating\x20SourceMapper','map','fromFileList','startsWith','getMappingInfo','utf8','toLowerCase','infoMap','./file-index','hasMappingInfo','create','11867751cLavel','4798088bFWmkr','logger','error','length','replace','path','mappingInfo','endsWith','webpack://','search','832419jupmnx','sort','p-limit','keys','allGeneratedPositionsFor','The\x20path\x20','sources','30kazjdl','outputFile','SourceMapper','6529567bauSsq','4461969dfRFOm','constructor','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','Could\x20not\x20read\x20sourcemap\x20file\x20','Map\x20file\x20processed:\x20','(((.+)+)+)+$','Parsing\x20source\x20map\x20files','FileIndex','findShortestFuzzyMatches','column','debug','5lpILnr','readFile','104cRLaAy','__esModule','Failed\x20to\x20parse\x20source\x20map\x20file\x20','FOUND\x20IN','8533920BElHCk','util','SourceMapConsumer','defineProperty','file','81754TEiRQQ','info','mapFile'];a22_0x1c56=function(){return _0x35a51e;};return a22_0x1c56();}a22_0x18cdfa();'use strict';Object[a22_0x14297a(0x1fa)](exports,a22_0x14297a(0x1f4),{'value':!![]}),exports[a22_0x14297a(0x1cf)]=exports[a22_0x14297a(0x1e4)]=void 0x0;const fs=require('fs'),pLimit=require(a22_0x14297a(0x1dd)),path=require(a22_0x14297a(0x1d6)),util_1=require(a22_0x14297a(0x1f8)),sourceMap=require('source-map'),file_index_1=require(a22_0x14297a(0x219)),CONCURRENCY=0xa,WEBPACK_PREFIX=a22_0x14297a(0x1d9),readFilep=(0x0,util_1[a22_0x14297a(0x1ff)])(fs[a22_0x14297a(0x1f2)]),MAP_EXT=a22_0x14297a(0x20a);async function processSourcemap(_0x3508af,_0x2db07d,_0x5106eb,_0x5456b9){const _0x40cb2b=a22_0x14297a;_0x5456b9&&_0x3508af[_0x40cb2b(0x1f0)]('Processing\x20',_0x5106eb);if(!_0x5106eb||!_0x5106eb[_0x40cb2b(0x1d8)](MAP_EXT))throw new Error(_0x40cb2b(0x1e0)+_0x5106eb+_0x40cb2b(0x1e8));_0x5106eb=path[_0x40cb2b(0x20b)](_0x5106eb);let _0x322a91;try{_0x322a91=await readFilep(_0x5106eb,_0x40cb2b(0x216));}catch(_0x39c625){throw new Error(_0x40cb2b(0x1e9)+_0x5106eb+':\x20'+_0x39c625);}let _0x4e170d;try{_0x4e170d=new sourceMap[(_0x40cb2b(0x1f9))](_0x322a91);}catch(_0x110e30){_0x3508af[_0x40cb2b(0x1d3)](_0x40cb2b(0x1f5)+_0x5106eb+':\x20'+_0x110e30),_0x3508af[_0x40cb2b(0x1d3)](JSON[_0x40cb2b(0x206)](_0x110e30)),_0x5456b9&&_0x3508af[_0x40cb2b(0x1f0)](_0x40cb2b(0x202),_0x322a91);throw new Error(_0x40cb2b(0x204)+_0x40cb2b(0x208)+_0x5106eb+':\x20'+_0x110e30);}const _0x154316=_0x4e170d[_0x40cb2b(0x1fb)]?_0x4e170d[_0x40cb2b(0x1fb)]:path['basename'](_0x5106eb,'.map'),_0xd513c6=path[_0x40cb2b(0x210)](_0x5106eb),_0x334778=path[_0x40cb2b(0x20b)](path['join'](_0xd513c6,_0x154316)),_0x174284=_0x4e170d['sources'][_0x40cb2b(0x207)](_0x2635dc=>!!_0x2635dc)[_0x40cb2b(0x1dc)]((_0x40631f,_0x113171)=>_0x40631f['length']-_0x113171['length']),_0xfb0ca5=_0x174284[_0x40cb2b(0x212)](_0x25b307=>{const _0x2f6aac=_0x40cb2b;if(_0x25b307[_0x2f6aac(0x217)]()[_0x2f6aac(0x214)](WEBPACK_PREFIX))return _0x25b307[_0x2f6aac(0x20e)](WEBPACK_PREFIX[_0x2f6aac(0x1d4)]);return _0x25b307;})[_0x40cb2b(0x212)](_0x532969=>{const _0x2c2df1=_0x40cb2b;return path['normalize'](path[_0x2c2df1(0x20d)](_0xd513c6,_0x532969));});if(_0xfb0ca5[_0x40cb2b(0x1d4)]===0x0)throw new Error('No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20'+_0x5106eb);for(const _0x3cd720 of _0xfb0ca5){_0x5456b9&&_0x3508af[_0x40cb2b(0x1fd)](path['normalize'](_0x3cd720),_0x40cb2b(0x1f6),_0x5106eb),_0x2db07d[_0x40cb2b(0x200)](path[_0x40cb2b(0x20b)](_0x3cd720),{'outputFile':_0x334778,'mapFile':_0x5106eb,'mapConsumer':_0x4e170d,'sources':_0x174284});}_0x3508af[_0x40cb2b(0x1f0)](_0x40cb2b(0x1ea),_0x5106eb);}class SourceMapper{constructor(_0xe9516d){const _0x3b4143=a22_0x14297a;this[_0x3b4143(0x1d2)]=_0xe9516d,this['infoMap']=new Map();}['getMappingInfo'](_0x5de632){const _0x2c6005=a22_0x14297a;if(this['infoMap']['has'](path[_0x2c6005(0x20b)](_0x5de632)))return{'entry':this['infoMap']['get'](_0x5de632),'matchedPath':path[_0x2c6005(0x20b)](_0x5de632)};const _0xb21c5e=file_index_1[_0x2c6005(0x1ed)][_0x2c6005(0x213)](Array['from'](this[_0x2c6005(0x218)][_0x2c6005(0x1de)]()))[_0x2c6005(0x1ee)](_0x5de632);if(_0xb21c5e['length']===0x1)return{'entry':this[_0x2c6005(0x218)]['get'](_0xb21c5e[0x0]),'matchedPath':_0xb21c5e[0x0]};return null;}[a22_0x14297a(0x1ce)](_0x6ad1d3){return this['getMappingInfo'](_0x6ad1d3)!==null;}[a22_0x14297a(0x1d7)](_0x44d159,_0x487f89,_0xd45913){const _0x3e8a85=a22_0x14297a;_0x44d159=path[_0x3e8a85(0x20b)](_0x44d159);const _0x24c602=this[_0x3e8a85(0x215)](_0x44d159);if(!_0x24c602)return null;const {entry:_0x3e3de9,matchedPath:_0x28d7d4}=_0x24c602,_0x44edd2=path[_0x3e8a85(0x209)](path[_0x3e8a85(0x210)](_0x3e3de9[_0x3e8a85(0x1fe)]),_0x28d7d4)[_0x3e8a85(0x1d5)](/\\/g,'/');let _0x1b61b5=this[_0x3e8a85(0x20c)](_0x3e3de9,_0x44edd2);_0x1b61b5=_0x1b61b5||this[_0x3e8a85(0x20c)](_0x3e3de9,_0x44d159);const _0x249222={'source':_0x1b61b5||_0x44edd2,'line':_0x487f89+0x1,'column':_0xd45913},_0x30206c=_0x3e3de9['mapConsumer'],_0x40989a=_0x30206c[_0x3e8a85(0x1df)](_0x249222),_0x283f9f=_0x40989a&&_0x40989a[_0x3e8a85(0x1d4)]>0x0?_0x40989a['reduce']((_0x6dad21,_0x274db9)=>{const _0xadff3e=_0x3e8a85;return _0x274db9[_0xadff3e(0x205)]<_0x6dad21[_0xadff3e(0x205)]?_0x274db9:_0x6dad21;}):_0x30206c[_0x3e8a85(0x201)](_0x249222);return{'file':_0x3e3de9[_0x3e8a85(0x1e3)],'line':_0x283f9f[_0x3e8a85(0x205)],'column':_0x283f9f[_0x3e8a85(0x1ef)]};}[a22_0x14297a(0x20c)](_0x5377de,_0x4858b7){const _0x3586d7=a22_0x14297a;for(const _0x52e595 of _0x5377de[_0x3586d7(0x1e1)]){if(_0x52e595[_0x3586d7(0x1d8)](_0x4858b7))return _0x52e595;}return undefined;}}exports[a22_0x14297a(0x1e4)]=SourceMapper;async function create(_0x2c4212,_0x4e0529,_0x4f23ba){const _0x3f5961=a22_0x14297a;_0x2c4212[_0x3f5961(0x1f0)](_0x3f5961(0x211));const _0x54d9c8=new SourceMapper(_0x2c4212);_0x2c4212[_0x3f5961(0x1f0)](_0x3f5961(0x1ec),_0x4e0529['length']);const _0x293278=async _0x4c49a3=>{const _0x254406=_0x3f5961;try{await processSourcemap(_0x2c4212,_0x54d9c8['infoMap'],_0x4c49a3,_0x4f23ba);}catch(_0x99def6){_0x2c4212[_0x254406(0x1d3)]('Failed\x20to\x20process\x20a\x20source\x20map\x20file',_0x4c49a3,_0x99def6),_0x2c4212['error'](JSON[_0x254406(0x206)](_0x99def6));}};if(_0x4f23ba)for(const _0xd609f of _0x4e0529){await _0x293278(_0xd609f);}else{const _0x5b2075=pLimit(CONCURRENCY),_0x168884=_0x4e0529['map'](_0x200a94=>_0x5b2075(()=>_0x293278(_0x200a94)));await Promise['all'](_0x168884);}return _0x54d9c8;}exports[a22_0x14297a(0x1cf)]=create;
|