lightrun 1.80.1 → 1.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/serverless.js +1 -1
- package/build/src/agent/state/inspector-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/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 +3 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a15_0x55d8ae=a15_0x14ed;(function(_0x2c4752,_0x20cd04){const _0x137261=a15_0x14ed,_0x325ad7=_0x2c4752();while(!![]){try{const _0x436fbb=-parseInt(_0x137261(0x1d3))/0x1+-parseInt(_0x137261(0x1d5))/0x2*(-parseInt(_0x137261(0x1d9))/0x3)+parseInt(_0x137261(0x1da))/0x4+-parseInt(_0x137261(0x1d8))/0x5*(parseInt(_0x137261(0x1d6))/0x6)+-parseInt(_0x137261(0x1d4))/0x7+-parseInt(_0x137261(0x1db))/0x8+parseInt(_0x137261(0x1d0))/0x9;if(_0x436fbb===_0x20cd04)break;else _0x325ad7['push'](_0x325ad7['shift']());}catch(_0x2765b2){_0x325ad7['push'](_0x325ad7['shift']());}}}(a15_0x2324,0x34585));function a15_0x14ed(_0x849bc9,_0x4e0e21){const _0x4c499d=a15_0x2324();return a15_0x14ed=function(_0x2dbd62,_0x36eb41){_0x2dbd62=_0x2dbd62-0x1cc;let _0x232481=_0x4c499d[_0x2dbd62];return _0x232481;},a15_0x14ed(_0x849bc9,_0x4e0e21);}const a15_0x36eb41=(function(){let _0x3b37a9=!![];return function(_0x166fc0,_0x340820){const _0x6bf780=_0x3b37a9?function(){const _0x1783a1=a15_0x14ed;if(_0x340820){const _0x15d0a2=_0x340820[_0x1783a1(0x1cd)](_0x166fc0,arguments);return _0x340820=null,_0x15d0a2;}}:function(){};return _0x3b37a9=![],_0x6bf780;};}()),a15_0x2dbd62=a15_0x36eb41(this,function(){const _0x35d2f9=a15_0x14ed;return a15_0x2dbd62[_0x35d2f9(0x1ce)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a15_0x2dbd62)['search'](_0x35d2f9(0x1cc));});a15_0x2dbd62();'use strict';Object[a15_0x55d8ae(0x1cf)](exports,a15_0x55d8ae(0x1d2),{'value':!![]}),exports[a15_0x55d8ae(0x1d7)]=void 0x0;const mapSubtract=(_0x271eef,_0x2900ae)=>{const _0x539935=a15_0x55d8ae,_0x43b754=[];for(const _0x402ebf in _0x271eef){!_0x2900ae[_0x402ebf]&&_0x43b754[_0x539935(0x1d1)](_0x271eef[_0x402ebf]);}return _0x43b754;};function a15_0x2324(){const _0x2cb26d=['166350rwnpay','8349ZxMZkf','890016aJjpPP','2912280Ufaaah','(((.+)+)+)+$','apply','toString','defineProperty','6972030boslUI','push','__esModule','304383Mmgyoa','1212204jURABf','114fmWyDK','18ENIdwQ','mapSubtract'];a15_0x2324=function(){return _0x2cb26d;};return a15_0x2324();}exports[a15_0x55d8ae(0x1d7)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a16_0x22268c=a16_0x37ed;(function(_0x3bd78e,_0x213c9e){const _0x38e3bf=a16_0x37ed,_0x1fcf89=_0x3bd78e();while(!![]){try{const _0x62c5cb=-parseInt(_0x38e3bf(0xe7))/0x1+-parseInt(_0x38e3bf(0xec))/0x2+-parseInt(_0x38e3bf(0x116))/0x3+parseInt(_0x38e3bf(0x102))/0x4+parseInt(_0x38e3bf(0xfc))/0x5+parseInt(_0x38e3bf(0xdd))/0x6+-parseInt(_0x38e3bf(0xf3))/0x7*(parseInt(_0x38e3bf(0xf9))/0x8);if(_0x62c5cb===_0x213c9e)break;else _0x1fcf89['push'](_0x1fcf89['shift']());}catch(_0x514c78){_0x1fcf89['push'](_0x1fcf89['shift']());}}}(a16_0x1451,0xcc756));const a16_0x131dfd=(function(){let _0x57f219=!![];return function(_0x31f5a6,_0x3ca94e){const _0x5aab62=_0x57f219?function(){const _0x38c49b=a16_0x37ed;if(_0x3ca94e){const _0x5750e3=_0x3ca94e[_0x38c49b(0x107)](_0x31f5a6,arguments);return _0x3ca94e=null,_0x5750e3;}}:function(){};return _0x57f219=![],_0x5aab62;};}()),a16_0x5673b4=a16_0x131dfd(this,function(){const _0x112d80=a16_0x37ed;return a16_0x5673b4[_0x112d80(0x10e)]()[_0x112d80(0xe2)](_0x112d80(0xf4))[_0x112d80(0x10e)]()[_0x112d80(0x101)](a16_0x5673b4)[_0x112d80(0xe2)](_0x112d80(0xf4));});a16_0x5673b4();'use strict';function a16_0x37ed(_0x9d9f64,_0x1ee3d0){const _0x3edf12=a16_0x1451();return a16_0x37ed=function(_0x5673b4,_0x131dfd){_0x5673b4=_0x5673b4-0xdc;let _0x145132=_0x3edf12[_0x5673b4];return _0x145132;},a16_0x37ed(_0x9d9f64,_0x1ee3d0);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a16_0x22268c(0xe5)]=exports['validateConfig']=void 0x0;const extend=require(a16_0x22268c(0x105)),config_1=require('../config'),utils_1=require('../util/utils'),getAgentConfig_1=require('./getAgentConfig'),limitConfig_1=require(a16_0x22268c(0xe9)),validateConfig=_0x4c1387=>{const _0x511786=a16_0x22268c,_0x5820ec={};try{config_1['configSchema'][_0x511786(0x109)](_0x4c1387,{'abortEarly':![]});}catch(_0x2b2c3d){_0x2b2c3d[_0x511786(0x100)][_0x511786(0x113)](_0x5625eb=>_0x5625eb['path']&&_0x5625eb[_0x511786(0x111)])[_0x511786(0xed)](_0x4f34be=>{const _0x22e718=_0x511786;_0x5820ec[_0x4f34be[_0x22e718(0x10b)]]=_0x4f34be[_0x22e718(0x111)];});}return _0x5820ec;};exports[a16_0x22268c(0x118)]=validateConfig;const normalizeConfig=_0x4a3ba3=>{const _0x4b4b96=a16_0x22268c,_0x3bd1aa={'serviceContext':{'service':process['env'][_0x4b4b96(0xfd)]??process[_0x4b4b96(0xf1)]['GAE_MODULE_NAME']??process[_0x4b4b96(0xf1)]['K_SERVICE'],'version':process['env'][_0x4b4b96(0xef)]??process[_0x4b4b96(0xf1)][_0x4b4b96(0x115)]??process['env'][_0x4b4b96(0xf5)],'minorVersion_':process[_0x4b4b96(0xf1)][_0x4b4b96(0xf8)]??process[_0x4b4b96(0xf1)][_0x4b4b96(0xdf)]},'metadata':{'filename':process[_0x4b4b96(0xf1)]['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process[_0x4b4b96(0xf1)][_0x4b4b96(0x117)],'apiEndpoint':process[_0x4b4b96(0xf1)][_0x4b4b96(0x10c)],'noCheckCertificate':(0x0,utils_1[_0x4b4b96(0xfe)])(process[_0x4b4b96(0xf1)][_0x4b4b96(0xe1)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x4b4b96(0xfe)])(process[_0x4b4b96(0xf1)][_0x4b4b96(0x103)]),'lightrunWaitForInit':(0x0,utils_1[_0x4b4b96(0xfe)])(process['env'][_0x4b4b96(0xfb)]),'lightrunInitWaitTimeMs':process[_0x4b4b96(0xf1)][_0x4b4b96(0x10a)],'agentLog':_0x4a3ba3?.['agentLog']??{},'proxy':{'host':process[_0x4b4b96(0xf1)][_0x4b4b96(0xff)],'port':parseInt(process['env'][_0x4b4b96(0xf7)]??'')||undefined,'username':process[_0x4b4b96(0xf1)][_0x4b4b96(0xe4)],'password':process[_0x4b4b96(0xf1)][_0x4b4b96(0x104)]}};process[_0x4b4b96(0xf1)][_0x4b4b96(0xde)]!==undefined&&(_0x3bd1aa['agentLog'][_0x4b4b96(0x110)]=process[_0x4b4b96(0xf1)][_0x4b4b96(0xde)]);process[_0x4b4b96(0xf1)]['AGENT_LOG_LEVEL']!==undefined&&(_0x3bd1aa[_0x4b4b96(0xfa)][_0x4b4b96(0x10d)]=process[_0x4b4b96(0xf1)][_0x4b4b96(0x108)]);process[_0x4b4b96(0xf1)][_0x4b4b96(0xe0)]!==undefined&&(_0x3bd1aa['agentLog'][_0x4b4b96(0xf0)]=process[_0x4b4b96(0xf1)][_0x4b4b96(0xe0)]);process[_0x4b4b96(0xf1)][_0x4b4b96(0xee)]!==undefined&&(_0x3bd1aa[_0x4b4b96(0xfa)][_0x4b4b96(0xf6)]=parseInt(process[_0x4b4b96(0xf1)][_0x4b4b96(0xee)]));process['env'][_0x4b4b96(0xe8)]!==undefined&&(_0x3bd1aa[_0x4b4b96(0xfa)][_0x4b4b96(0x106)]=parseInt(process['env'][_0x4b4b96(0xe8)]));process[_0x4b4b96(0xf1)][_0x4b4b96(0xe6)]&&(_0x3bd1aa['serviceContext'][_0x4b4b96(0x10f)]=process[_0x4b4b96(0xf1)]['FUNCTION_NAME'],_0x3bd1aa['serviceContext']['version']=_0x4b4b96(0xeb));process[_0x4b4b96(0xf1)][_0x4b4b96(0xea)]&&(_0x3bd1aa[_0x4b4b96(0xdc)][_0x4b4b96(0xf2)]={'tags':process[_0x4b4b96(0xf1)][_0x4b4b96(0xea)][_0x4b4b96(0x114)](',')});const _0x4e383d=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0x4b4b96(0xf1)]['LIGHTRUN_AGENT_CONFIG']??_0x4a3ba3?.['agentConfigFile']??config_1[_0x4b4b96(0x112)][_0x4b4b96(0xe3)]),_0x2b7227=(0x0,limitConfig_1['limitConfig'])(extend(!![],{},config_1['defaultConfig'],_0x4e383d,_0x4a3ba3,_0x3bd1aa)),_0x1c44a6=(0x0,exports[_0x4b4b96(0x118)])(_0x2b7227);return{..._0x2b7227,'errors':_0x1c44a6};};exports['normalizeConfig']=normalizeConfig;function a16_0x1451(){const _0x2ce2a9=['forEach','AGENT_LOG_MAX_FILE_COUNT','GAE_VERSION','agentLogTargetDir','env','registration','142667swjvxj','(((.+)+)+)+$','K_REVISION','agentLogMaxFileCount','LIGHTRUN_PROXY_PORT','GAE_DEPLOYMENT_ID','8ZetJaE','agentLog','LIGHTRUN_WAIT_FOR_INIT','5421495YYpBOi','GAE_SERVICE','getBooleanValue','LIGHTRUN_PROXY_HOST','inner','constructor','5123392xfaQKh','FETCH_BREAKPOINTS_ONCE','LIGHTRUN_PROXY_PASSWORD','extend','agentLogMaxFileSizeMb','apply','AGENT_LOG_LEVEL','validateSync','LIGHTRUN_INIT_WAIT_TIME_MS','path','LIGHTRUN_API_ENDPOINT','agentLogLevel','toString','service','stdErrThreshold','message','defaultConfig','filter','split','GAE_MODULE_VERSION','1439655cgTxgG','LIGHTRUN_SECRET','validateConfig','metadata','2319180kCyeDY','LIGHTRUN_STD_ERR_THRESHOLD','GAE_MINOR_VERSION','AGENT_LOG_TARGET_DIR','NO_CHECK_CERTIFICATE','search','agentConfigFile','LIGHTRUN_PROXY_USERNAME','normalizeConfig','FUNCTION_NAME','977938sKFRLq','AGENT_LOG_MAX_FILE_SIZE_MB','./limitConfig','LIGHTRUN_TAGS','unversioned','872022JirXZk'];a16_0x1451=function(){return _0x2ce2a9;};return a16_0x1451();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0xcebb49=a17_0x296a;(function(_0x31ed20,_0x408927){const _0x521bca=a17_0x296a,_0x5226e5=_0x31ed20();while(!![]){try{const _0x263b0e=-parseInt(_0x521bca(0x111))/0x1+-parseInt(_0x521bca(0x108))/0x2*(parseInt(_0x521bca(0x116))/0x3)+-parseInt(_0x521bca(0x10d))/0x4*(-parseInt(_0x521bca(0x110))/0x5)+parseInt(_0x521bca(0x10b))/0x6*(-parseInt(_0x521bca(0x10a))/0x7)+parseInt(_0x521bca(0x105))/0x8*(-parseInt(_0x521bca(0x112))/0x9)+parseInt(_0x521bca(0x115))/0xa*(parseInt(_0x521bca(0x10c))/0xb)+parseInt(_0x521bca(0x104))/0xc;if(_0x263b0e===_0x408927)break;else _0x5226e5['push'](_0x5226e5['shift']());}catch(_0xa2abbd){_0x5226e5['push'](_0x5226e5['shift']());}}}(a17_0x3b0b,0x72781));const a17_0x5a9fbe=(function(){let _0x2f6262=!![];return function(_0x5856a8,_0x1bb405){const _0x356c9a=_0x2f6262?function(){const _0x2844ea=a17_0x296a;if(_0x1bb405){const _0x4f8ba3=_0x1bb405[_0x2844ea(0x107)](_0x5856a8,arguments);return _0x1bb405=null,_0x4f8ba3;}}:function(){};return _0x2f6262=![],_0x356c9a;};}()),a17_0x16d7d3=a17_0x5a9fbe(this,function(){const _0x138af9=a17_0x296a;return a17_0x16d7d3[_0x138af9(0x10e)]()[_0x138af9(0x103)](_0x138af9(0x102))['toString']()[_0x138af9(0x113)](a17_0x16d7d3)[_0x138af9(0x103)]('(((.+)+)+)+$');});a17_0x16d7d3();function a17_0x3b0b(){const _0x948b69=['apply','475604ItqGNR','defineProperty','6225345tfjzmJ','6xEyDNr','11KoDWvr','4BqlTcl','toString','delimit','2009130KdDliq','378532OLpZOw','1777617pqTVZU','constructor','push','6266770SaITyU','6xglDxO','(((.+)+)+)+$','search','18946308vxsSnJ','16pcwacJ','tokenize'];a17_0x3b0b=function(){return _0x948b69;};return a17_0x3b0b();}function a17_0x296a(_0x48e707,_0x27aa8c){const _0x313cb3=a17_0x3b0b();return a17_0x296a=function(_0x16d7d3,_0x5a9fbe){_0x16d7d3=_0x16d7d3-0x102;let _0x3b0b43=_0x313cb3[_0x16d7d3];return _0x3b0b43;},a17_0x296a(_0x48e707,_0x27aa8c);}'use strict';Object[a17_0xcebb49(0x109)](exports,'__esModule',{'value':!![]}),exports[a17_0xcebb49(0x106)]=void 0x0;const delimit_1=require('./delimit'),tokenize=(_0x2cbc53,_0x56fc37)=>{const _0x56875a=a17_0xcebb49;let _0x31e9e9=(0x0,delimit_1[_0x56875a(0x10f)])(_0x2cbc53,'$$');for(let _0x4f6429=_0x56fc37-0x1;_0x4f6429>=0x0;_0x4f6429--){const _0xe6f076=[];for(const _0x2d96e8 of _0x31e9e9){_0x2d96e8['v']?_0xe6f076[_0x56875a(0x114)](_0x2d96e8):_0xe6f076[_0x56875a(0x114)](...(0x0,delimit_1[_0x56875a(0x10f)])(_0x2d96e8,'$'+_0x4f6429));}_0x31e9e9=_0xe6f076;}return _0x31e9e9;};exports[a17_0xcebb49(0x106)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x410765=a18_0x27a0;(function(_0x33bdca,_0x3dbf93){const _0x1f8611=a18_0x27a0,_0x21f18a=_0x33bdca();while(!![]){try{const _0x22f6c0=parseInt(_0x1f8611(0x1e7))/0x1+parseInt(_0x1f8611(0x230))/0x2+parseInt(_0x1f8611(0x17f))/0x3+-parseInt(_0x1f8611(0x1e9))/0x4+parseInt(_0x1f8611(0x14c))/0x5+parseInt(_0x1f8611(0x234))/0x6+-parseInt(_0x1f8611(0x1e6))/0x7*(parseInt(_0x1f8611(0x252))/0x8);if(_0x22f6c0===_0x3dbf93)break;else _0x21f18a['push'](_0x21f18a['shift']());}catch(_0x2e772c){_0x21f18a['push'](_0x21f18a['shift']());}}}(a18_0x3332,0xa233e));function a18_0x3332(){const _0x12b286=['agentLogMaxFileSizeMb','./debuglet-helpers/createDebuggee','source-context.json','EnvironmentMetadata','isArray','values','Private\x20method\x20is\x20not\x20writable','isAtLeastInfo','deregister','redactionEnabled','config','Debuggee\x20is\x20not\x20registered','./quota-manager','LOGPOINT:\x20','setLevel','then','env','description','filename','all','isRegistered','globalPipingStatus','Registered\x20as\x20debuggee:\x20','clear','entries','findFiles','stringify','waitFor','ignoreQuota','mapFiles','isRedactionActive','debuggee','agentLogMaxFileCount','createPerBreakpointConditionQuota','registered','caseInsensitive','\x20(type:\x20','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','(((.+)+)+)+$','split','agentLogLevel','unref','../types/stackdriver','pipeLogs','isReadyManager','resolve','activeBreakpointMap','line','waitExpired','format','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','has','readFullVersion','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','fetcherActive','./agent-logger','Unknown\x20agentLogLevel\x20','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','register\x20debuggee','expressions','Stopping\x20Debuglet','PatternsBlocklistManager','\x0a\x09expressions:\x20','5811386tZMzVP','795744HclWDb','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','5154556hwRXnG','removeListener','DEBUG','setCustomLogLevel','promiseResolve','allowRootAsWorkingDirectory','logger','APP_ONLY','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','waitForTransmissionQueueDrain','events','javascriptFileExtensions','set','remainingHits','registration_failed','...\x20[truncated]','once','./configuration-provider','BREAKPOINT_ACTION_MESSAGE','breakpoints_fetched','sourceMapDiagnostics','default','__esModule','isError','breakpoints_fetch_failed','js.map','pipingStatus','getClientConnectionTimeoutInSeconds','GAE_MINOR_VERSION','errors','shouldRedactByName','Scanner','GAE-','./io/sourcemapper','Active\x20Breakpoints:\x20\x0a','RedactionManagerRE2JS','sourceContext','stop','./util/utils','emit','./reduction/redaction-manager','./blocklisting/patterns-blocklist-manager','fromFileStats','maxRequestRetryDelaySeconds','Registering\x20debuggee','Working\x20directory:\x20','defineProperty','Scheduling\x20registration\x20in\x20','packageInfo','./piping-manager','Failed\x20to\x20','posix','collectLogRequestId','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','jsFileIndex','enqueueBreakpointUpdate','create','breakpoint_set','internal','clientConnectionTimeoutInSeconds','substring','seconds','promise','stdErrThreshold','quota','getInitialLevel','\x0a\x09condition:\x20','createDebuggee','path','\x0a\x09createdTime:\x20','get','2260794RFeiCr','fromEntries','isFinalState','REDACTED_PLACEHOLDER','815286osMXQd','getRedactions','getProps','replaceRedactedByValue','breakpointUpdateIntervalSec','start','getBlocklist','expirationTime','value','ConfigurationProvider','LOG','register','pipingManager','started','setBlocklistManager','add','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','CachedPromise','UNSPECIFIED','\x20completed.','getSourceContextFromFile','warn','\x20because\x20','scheduleBreakpointFetch_\x20','parameters','CAPTURE','name','name:\x20','workingDirectory','.\x20Retrying\x20in\x20','8paqmwr','selectFiles','call','./v8/debugapi','Fetching\x20breakpoints','forEach','map','location','toString','FileIndex','2111525WNNzWR','join','bind','./controller','constructor','type','blacklist','object','push','replace','Controller','breakpoints_fetch_registration_required','search','./reduction/redaction-manager-re2js','stringifyBreakpointForInfoLog','\x09remove\x20breakpoint\x20id\x20','concat','do\x20this.','length','allowExpressions','normalizeConfig','\x20to\x20','inspect','./io/file-index','isRunning','Expiring\x20breakpoint\x20id\x20','info','action','pid','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','error','Unique\x20ID\x20for\x20this\x20Application:\x20','.\x20Error:\x20','Error\x20processing\x20the\x20sourcemaps.','SIGINT','debug','condition','Debuglet','message','EventEmitter','createTime','waitForBreakpoints','extend','fetchBreakpointsOnce','collectAndSendLog','keys','now','getLevel','mapSubtract','removePerBreakpointQuota','wait','896676KmXGPC','prettyError','scan','status','quotaRecoverySeconds','Switching\x20globalPiping\x20status\x20from\x20','StatusMessage','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','SIGQUIT','expirationSeconds','beforeExit','initError','agentLog','readFile','\x09Got\x20error\x20from\x20server.\x20status:\x20','stopped','.\x20message:\x20','Server\x20breakpoints:\x0a','mainModule','existsSync','setIgnoreQuota','SIGTERM','setPatterns','sep','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','\x09successfully\x20added\x20breakpoint\x20id\x20','Breakpoint','agentLogTargetDir','\x20accepted\x20by\x20agent','isReady','backoff','isLambda','ALLOW_EXPRESSIONS_MESSAGE','Blacklist:\x20\x0a\x09','hash','NOT_SET','listBreakpoints','function','extraPaths','../client/stackdriver/status-message'];a18_0x3332=function(){return _0x12b286;};return a18_0x3332();}const a18_0x530f60=(function(){let _0xa7b20b=!![];return function(_0x38366b,_0x4d9fe2){const _0x330e13=_0xa7b20b?function(){if(_0x4d9fe2){const _0x38148f=_0x4d9fe2['apply'](_0x38366b,arguments);return _0x4d9fe2=null,_0x38148f;}}:function(){};return _0xa7b20b=![],_0x330e13;};}()),a18_0x59580f=a18_0x530f60(this,function(){const _0x426d01=a18_0x27a0;return a18_0x59580f['toString']()[_0x426d01(0x158)](_0x426d01(0x1cd))['toString']()[_0x426d01(0x150)](a18_0x59580f)['search'](_0x426d01(0x1cd));});a18_0x59580f();function a18_0x27a0(_0x3fe821,_0x381b1b){const _0x384952=a18_0x3332();return a18_0x27a0=function(_0x59580f,_0x530f60){_0x59580f=_0x59580f-0x14a;let _0x333264=_0x384952[_0x59580f];return _0x333264;},a18_0x27a0(_0x3fe821,_0x381b1b);}'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x2ce939,_0x1fc5f1,_0x4208a4,_0x114b33,_0x57f00d){const _0x3890e5=a18_0x27a0;if(_0x114b33==='m')throw new TypeError(_0x3890e5(0x1ad));if(_0x114b33==='a'&&!_0x57f00d)throw new TypeError(_0x3890e5(0x21e));if(typeof _0x1fc5f1==='function'?_0x2ce939!==_0x1fc5f1||!_0x57f00d:!_0x1fc5f1[_0x3890e5(0x1da)](_0x2ce939))throw new TypeError(_0x3890e5(0x169));return _0x114b33==='a'?_0x57f00d['call'](_0x2ce939,_0x4208a4):_0x57f00d?_0x57f00d[_0x3890e5(0x23c)]=_0x4208a4:_0x1fc5f1['set'](_0x2ce939,_0x4208a4),_0x4208a4;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x36b2cb,_0x43d96f,_0x479d39,_0x2599b3){const _0x1ad8e1=a18_0x27a0;if(_0x479d39==='a'&&!_0x2599b3)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x43d96f===_0x1ad8e1(0x1a4)?_0x36b2cb!==_0x43d96f||!_0x2599b3:!_0x43d96f[_0x1ad8e1(0x1da)](_0x36b2cb))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x479d39==='m'?_0x2599b3:_0x479d39==='a'?_0x2599b3[_0x1ad8e1(0x254)](_0x36b2cb):_0x2599b3?_0x2599b3[_0x1ad8e1(0x23c)]:_0x43d96f['get'](_0x36b2cb);},_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_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x410765(0x217)](exports,a18_0x410765(0x1ff),{'value':!![]}),exports['Debuglet']=exports['CachedPromise']=void 0x0;const assert=require('assert'),events_1=require(a18_0x410765(0x1f3)),extend=require(a18_0x410765(0x176)),fs=require('fs'),path=require(a18_0x410765(0x22d)),util=require('util'),status_message_1=require(a18_0x410765(0x1a6)),stackdriver_1=require(a18_0x410765(0x1d1)),agent_logger_1=require(a18_0x410765(0x1de)),patterns_blocklist_manager_1=require(a18_0x410765(0x212)),config_1=require('./config'),configuration_provider_1=require(a18_0x410765(0x1fa)),controller_1=require(a18_0x410765(0x14f)),createDebuggee_1=require(a18_0x410765(0x1a8)),format_1=require('./debuglet-helpers/format'),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x410765(0x163)),scanner_1=require('./io/scanner'),SourceMapper=require(a18_0x410765(0x20a)),piping_manager_1=require(a18_0x410765(0x21a)),quota_manager_1=require(a18_0x410765(0x1b3)),redaction_manager_1=require(a18_0x410765(0x211)),utils_1=require(a18_0x410765(0x20f)),debugapi=require(a18_0x410765(0x255)),redaction_manager_re2js_1=require(a18_0x410765(0x159)),readFilep=util['promisify'](fs[a18_0x410765(0x18c)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x8057f5,_0x40f76a)=>{const _0x4a6c95=a18_0x410765;let _0x409ee8=_0x8057f5+util[_0x4a6c95(0x1d8)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x40f76a['id'],_0x40f76a[_0x4a6c95(0x167)],util[_0x4a6c95(0x162)](_0x40f76a['location']));if(_0x40f76a[_0x4a6c95(0x174)]){const _0x3cb5eb=Number(_0x40f76a['createTime'][_0x4a6c95(0x226)]),_0x5d65da=new Date(_0x3cb5eb*0x3e8);_0x409ee8+=_0x4a6c95(0x22e)+_0x5d65da[_0x4a6c95(0x14a)]();}return _0x40f76a[_0x4a6c95(0x170)]&&(_0x409ee8+=_0x4a6c95(0x22b)+util[_0x4a6c95(0x162)](_0x40f76a[_0x4a6c95(0x170)])),_0x40f76a['expressions']&&(_0x409ee8+=_0x4a6c95(0x1e5)+util[_0x4a6c95(0x162)](_0x40f76a[_0x4a6c95(0x1e2)])),_0x409ee8;},formatBreakpoints=(_0x2df64a,_0xe27f5)=>_0x2df64a+Object[a18_0x410765(0x179)](_0xe27f5)['map'](_0x55536b=>formatBreakpoint('',_0xe27f5[_0x55536b]))[a18_0x410765(0x14d)]('\x0a');class CachedPromise{constructor(){const _0x57947b=a18_0x410765;this['promiseResolve']=null,this[_0x57947b(0x227)]=new Promise(_0x4d557b=>{const _0x5b8478=_0x57947b;this[_0x5b8478(0x1ed)]=_0x4d557b;});}['get'](){const _0x5921ce=a18_0x410765;return this[_0x5921ce(0x227)];}[a18_0x410765(0x1d4)](){const _0x46b239=a18_0x410765;this[_0x46b239(0x1ed)]&&(this[_0x46b239(0x1ed)](),this['promiseResolve']=null);}}exports[a18_0x410765(0x245)]=CachedPromise;class IsReadyImpl{constructor(_0x23f06a){this['debuglet']=_0x23f06a;}['isReady'](){const _0xe291bc=a18_0x410765;return this['debuglet'][_0xe291bc(0x19c)]();}}class Debuglet extends events_1[a18_0x410765(0x173)]{constructor(_0x1551a8,_0x56f101){const _0x156958=a18_0x410765;super(),_Debuglet_instances[_0x156958(0x243)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x156958(0x1f5)](this,void 0x0),_Debuglet_running[_0x156958(0x1f5)](this,void 0x0),_Debuglet_controller[_0x156958(0x1f5)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x156958(0x1f5)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x156958(0x1f5)](this,null),this[_0x156958(0x1d3)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x156958(0x1f5)](this,void 0x0),_Debuglet_scanner[_0x156958(0x1f5)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0x156958(0x1f5)](this,void 0x0),_Debuglet_redactionManager['set'](this,void 0x0),_Debuglet_configProvider[_0x156958(0x1f5)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x156958(0x160)])(_0x56f101),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x156958(0x23d))](this[_0x156958(0x1b1)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1551a8,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x156958(0x1dd)]=![],this[_0x156958(0x1ef)]=agent_logger_1['default']['createLogger'](this[_0x156958(0x1b1)][_0x156958(0x18b)][_0x156958(0x19a)],this['config']['agentLog'][_0x156958(0x1a7)],this[_0x156958(0x1b1)][_0x156958(0x18b)][_0x156958(0x1c7)],this['config'][_0x156958(0x18b)][_0x156958(0x1cf)],this[_0x156958(0x1b1)][_0x156958(0x18b)][_0x156958(0x228)]),(0x0,config_1['logMainConfigParams'])(this[_0x156958(0x1b1)],this[_0x156958(0x1ef)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x156958(0x1aa))](this[_0x156958(0x1ef)])[_0x156958(0x236)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x156958(0x156))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x156958(0x1b1)],this[_0x156958(0x1ef)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x156958(0x208))](this['logger']),'f'),this[_0x156958(0x1c6)]=null,this[_0x156958(0x1d5)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1['QuotaManager'](this[_0x156958(0x1ef)],this['config']),'f'),this[_0x156958(0x240)]=new piping_manager_1['PipingManager'](_0x156958(0x1f0),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async['waitForTransmissionQueueDrain'](_0x136d18){const _0x351adf=a18_0x410765;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x351adf(0x1f2)](_0x136d18);}[a18_0x410765(0x204)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x410765(0x175)](_0x3113d9){const _0x22f996=a18_0x410765,_0x26356b=0x32;let _0x1fa529=null;const _0x35d472=()=>_0x1fa529=!![],_0x35b704=()=>_0x1fa529=![],_0x19245e=_0xd704c0=>{if(_0xd704c0)return;_0x35d472();};let _0x1a49b2=![];const _0x14a031=_0xd7a4a0=>{const _0x247e0a=a18_0x27a0;_0x1a49b2&&_0x35b704(),_0x1a49b2=!![],this[_0x247e0a(0x23f)]();};this[_0x22f996(0x1f9)](_0x22f996(0x1fc),_0x19245e),this[_0x22f996(0x1f9)](_0x22f996(0x222),_0x35d472);this[_0x22f996(0x1b1)]['internal']?.['isLambda']&&(this[_0x22f996(0x1f9)](_0x22f996(0x1f7),_0x35b704),this[_0x22f996(0x1f9)](_0x22f996(0x201),_0x35b704),this[_0x22f996(0x1f9)]('breakpoints_fetch_registration_required',_0x14a031));if(_0x3113d9){const _0x56329b=Date[_0x22f996(0x17a)]();while(_0x1fa529===null&&Date[_0x22f996(0x17a)]()-_0x56329b<_0x3113d9){await(0x0,utils_1[_0x22f996(0x1c2)])(_0x26356b);}}return this[_0x22f996(0x1ea)]('breakpoints_fetched',_0x19245e),this['removeListener'](_0x22f996(0x222),_0x35d472),this[_0x22f996(0x1b1)][_0x22f996(0x223)]?.[_0x22f996(0x19e)]&&(this[_0x22f996(0x1ea)](_0x22f996(0x1f7),_0x35b704),this[_0x22f996(0x1ea)](_0x22f996(0x201),_0x35b704),this[_0x22f996(0x1ea)](_0x22f996(0x157),_0x14a031)),_0x1fa529===!![];}[a18_0x410765(0x177)](){const _0x130c4a=a18_0x410765;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x130c4a(0x254)](this,0x0,!![]);}[a18_0x410765(0x1bb)](){const _0xf9cec6=a18_0x410765;return this[_0xf9cec6(0x1c6)]?.['id']!==undefined;}async[a18_0x410765(0x1c0)](_0x1ce9ba,_0x14ba8e){const _0xf984b2=a18_0x410765,_0x7b65d4=_0x1ce9ba[_0xf984b2(0x250)],_0x1ab411=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0xf984b2(0x181)](_0x7b65d4,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x1ce9ba[_0xf984b2(0x1f4)][_0xf984b2(0x15c)](_0xf984b2(0x202))),_0x14ba8e,_0x1ce9ba[_0xf984b2(0x1a5)]),_0x51e799=_0x1ab411['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0xf984b2(0x254)](_a,_0x1ce9ba[_0xf984b2(0x1f4)])),_0x2b81c3=file_index_1[_0xf984b2(0x14b)][_0xf984b2(0x213)](_0x51e799),_0xa624b4=_0x1ab411[_0xf984b2(0x253)](/.js.map$/,process['cwd']()),_0x5ae09c=_0x1ab411['errors']();return{'mapFiles':_0xa624b4,'errors':_0x5ae09c,'jsFileIndex':_0x2b81c3,'hash':_0x1ab411[_0xf984b2(0x1a1)]};}async[a18_0x410765(0x239)](){const _0x53ca18=a18_0x410765,_0x2bee99=this[_0x53ca18(0x1b1)][_0x53ca18(0x250)];if(!this[_0x53ca18(0x1b1)][_0x53ca18(0x1ee)]&&path[_0x53ca18(0x14d)](_0x2bee99,'..')===_0x2bee99){const _0x43c2a0=_0x53ca18(0x1e0)+_0x53ca18(0x186)+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+_0x53ca18(0x15d);this[_0x53ca18(0x1ef)][_0x53ca18(0x16a)](_0x43c2a0),this['emit'](_0x53ca18(0x18a),new Error(_0x43c2a0));return;}let _0xe1eb60;process[_0x53ca18(0x1b7)][_0x53ca18(0x205)]&&(_0xe1eb60=_0x53ca18(0x209)+process[_0x53ca18(0x1b7)][_0x53ca18(0x205)]);let _0x4fbe99,_0xd52b6=_0xe1eb60??'';try{_0x4fbe99=await this[_0x53ca18(0x1c0)](this[_0x53ca18(0x1b1)],_0xe1eb60),_0x4fbe99[_0x53ca18(0x206)]['forEach'](this[_0x53ca18(0x1ef)][_0x53ca18(0x249)]);}catch(_0x20181e){this[_0x53ca18(0x1ef)][_0x53ca18(0x16a)]('Error\x20scanning\x20the\x20filesystem.',_0x20181e),this[_0x53ca18(0x210)](_0x53ca18(0x18a),_0x20181e);return;}try{const _0x394886=await SourceMapper[_0x53ca18(0x221)](this[_0x53ca18(0x1ef)],_0x4fbe99[_0x53ca18(0x1c4)],this[_0x53ca18(0x1b1)]['internal']?.[_0x53ca18(0x1fd)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x53ca18(0x221)](this[_0x53ca18(0x1ef)],this[_0x53ca18(0x1b1)],_0x4fbe99[_0x53ca18(0x21f)],_0x394886,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0xd52b6=_0xe1eb60??_0x4fbe99[_0x53ca18(0x1a1)];}catch(_0x336eb7){this[_0x53ca18(0x1ef)][_0x53ca18(0x16a)](_0x53ca18(0x16d),_0x336eb7),this['logger']['info'](JSON[_0x53ca18(0x1c1)](_0x336eb7)),this[_0x53ca18(0x210)](_0x53ca18(0x18a),_0x336eb7);}this['logger'][_0x53ca18(0x166)](_0x53ca18(0x16b)+_0xd52b6);const _0x41e88e=(0x0,utils_1[_0x53ca18(0x1db)])(this[_0x53ca18(0x1ef)])[_0x53ca18(0x155)]('\x0a','');this['logger'][_0x53ca18(0x166)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x41e88e);let _0x422152;try{_0x422152=this['config'][_0x53ca18(0x20d)]||await _a[_0x53ca18(0x248)]();}catch{}this[_0x53ca18(0x1ef)][_0x53ca18(0x166)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process[_0x53ca18(0x191)]?.[_0x53ca18(0x1b9)]),this[_0x53ca18(0x1ef)][_0x53ca18(0x16f)](_0x53ca18(0x216)+_0x2bee99),this['logger'][_0x53ca18(0x16f)]('Starting\x20debuggee'),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x53ca18(0x1c6)]=(0x0,createDebuggee_1[_0x53ca18(0x22c)])(_0xd52b6,this[_0x53ca18(0x1b1)],_0x422152,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x53ca18(0x219)],_0x41e88e,this['logger'],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x53ca18(0x254)](this),this[_0x53ca18(0x23f)](),this[_0x53ca18(0x210)](_0x53ca18(0x241));}[a18_0x410765(0x19c)](){const _0x424d7e=a18_0x410765;if(Date[_0x424d7e(0x17a)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x424d7e(0x22f)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x424d7e(0x22f)]()[_0x424d7e(0x1b6)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x424d7e(0x22f)]();}}static async[a18_0x410765(0x248)](){const _0x53f79b=a18_0x410765,_0x16961e=await readFilep(_0x53f79b(0x1a9),'utf8');try{return JSON['parse'](_0x16961e);}catch(_0x15f8bd){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x15f8bd);}}[a18_0x410765(0x23f)](){const _0x51d1c9=a18_0x410765;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x51d1c9(0x254)](this,0x0);}[a18_0x410765(0x164)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x410765(0x20e)](){const _0xba788a=a18_0x410765;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xba788a(0x1ef)][_0xba788a(0x16f)](_0xba788a(0x1f1));return;}this[_0xba788a(0x1ef)]['debug'](_0xba788a(0x1e3)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['stop'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xba788a(0x210)](_0xba788a(0x18e));}['stringifyBreakpointForInfoLog'](_0x51a1ef){const _0x17404f=a18_0x410765;if(!this[_0x17404f(0x1ef)][_0x17404f(0x1ae)]())return _0x51a1ef['id'];try{const _0x954049=JSON['stringify'](_0x51a1ef);if(_0x954049[_0x17404f(0x15e)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x954049;return _0x954049[_0x17404f(0x225)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x17404f(0x1f8);}catch(_0x40bb5b){return this[_0x17404f(0x1ef)]['error'](_0x17404f(0x1dc),_0x40bb5b),_0x51a1ef['id'];}}[a18_0x410765(0x1ec)](_0x4f114d){const _0x219991=a18_0x410765,_0x400721=this[_0x219991(0x1ef)][_0x219991(0x22a)]();if(_0x400721===_0x219991(0x16f))return;switch(_0x4f114d){case _0x219991(0x1eb):this[_0x219991(0x1ef)][_0x219991(0x17b)]()!==_0x219991(0x16f)&&(this[_0x219991(0x1ef)][_0x219991(0x1b5)](_0x219991(0x16f)),this[_0x219991(0x1ef)]['debug'](_0x219991(0x1e8)));break;case'NOT_SET':case undefined:this[_0x219991(0x1ef)]['getLevel']()===_0x219991(0x16f)&&(this[_0x219991(0x1ef)][_0x219991(0x1b5)](_0x400721),this[_0x219991(0x1ef)]['info'](_0x219991(0x1cc)+_0x400721+')'));break;default:this[_0x219991(0x1ef)][_0x219991(0x249)](_0x219991(0x1df)+_0x4f114d);}}}exports[a18_0x410765(0x171)]=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_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x2d1551){const _0x478f7e=a18_0x410765;return new RegExp(_0x2d1551[_0x478f7e(0x258)](_0x241b79=>_0x241b79+'$')[_0x478f7e(0x14d)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x332299=a18_0x410765,_0x5e5467=[_0x332299(0x194),_0x332299(0x16e),_0x332299(0x187)];_0x5e5467[_0x332299(0x257)](_0x181648=>{const _0x105fe8=_0x332299;process[_0x105fe8(0x1f9)](_0x181648,()=>{const _0x5ccee1=_0x105fe8;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5ccee1(0x1af)](this[_0x5ccee1(0x1c6)],()=>{const _0x46cb45=_0x5ccee1;process['kill'](process[_0x46cb45(0x168)],_0x181648);});});}),process[_0x332299(0x1f9)](_0x332299(0x189),()=>{const _0x26d888=_0x332299;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x26d888(0x1af)](this[_0x26d888(0x1c6)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x18f9f4){const _0x574703=a18_0x410765;this['logger'][_0x574703(0x16f)](_0x18f9f4?_0x574703(0x218)+_0x18f9f4+'s':_0x574703(0x215));const _0x5b95ea=(_0x142595,_0xe5d6bf,_0x4982df=![])=>{const _0xf12b87=_0x574703;this['emit'](_0xf12b87(0x1f7));const _0x58b2d8=this[_0xf12b87(0x1c6)]?.['id'],_0x185374=_0x58b2d8?'re-register\x20debuggee\x20'+_0x58b2d8:_0xf12b87(0x1e1),_0x50552f=_0xf12b87(0x21b)+_0x185374+':\x20'+(0x0,utils_1[_0xf12b87(0x180)])(_0x142595);this[_0xf12b87(0x1ef)]['error'](_0x50552f),_0xe5d6bf&&!_0x4982df&&this[_0xf12b87(0x1ef)][_0xf12b87(0x16a)]('Result:\x20\x0a',_0xe5d6bf),!this['config'][_0xf12b87(0x223)]?.[_0xf12b87(0x19e)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0xf12b87(0x254)](this,(0x0,utils_1[_0xf12b87(0x19d)])(_0x18f9f4,this['config']['internal'][_0xf12b87(0x214)]));};setTimeout(()=>{const _0x5f591f=_0x574703;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x5b95ea(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5f591f(0x23f)](this[_0x5f591f(0x1c6)],(_0x11bfda,_0x40228b,_0x3c2af=![])=>{const _0x5ae92c=_0x5f591f;if(_0x11bfda){_0x5b95ea(_0x11bfda,_0x40228b,_0x3c2af);return;}if(_0x40228b['debuggee']['isDisabled']){_0x5b95ea(new Error('Disabled\x20by\x20the\x20server')),this['emit']('remotelyDisabled');return;}const _0x2b8c8f=_0x40228b['debuggee']['id'];this[_0x5ae92c(0x1ef)][_0x5ae92c(0x166)](_0x5ae92c(0x1bd)+_0x2b8c8f),this[_0x5ae92c(0x1c6)]['id']=_0x2b8c8f;const _0x4d004b=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x5ae92c(0x14e)](this)(this['debuggee']['id'])];this['config'][_0x5ae92c(0x1b0)]&&_0x4d004b[_0x5ae92c(0x154)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](this)(this['debuggee']['id'])),Promise[_0x5ae92c(0x1ba)](_0x4d004b)[_0x5ae92c(0x1b6)](()=>{const _0x3b2f27=_0x5ae92c;this[_0x3b2f27(0x210)](_0x3b2f27(0x1c9),_0x2b8c8f),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x3b2f27(0x242)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x40228b?.['clientConnectionTimeoutInSeconds'],'f'),!this['fetcherActive']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3b2f27(0x254)](this,0x0,this[_0x3b2f27(0x1b1)][_0x3b2f27(0x177)],_0x40228b?.[_0x3b2f27(0x224)]);},_0x2db2f8=>{_0x5b95ea(_0x2db2f8);});});},_0x18f9f4*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x470dd6,_0x5f0490,_0x59b980){const _0x542d06=a18_0x410765;this['logger'][_0x542d06(0x16f)](_0x542d06(0x24b)+_0x470dd6+'\x20'+_0x5f0490+'\x20'+_0x59b980),!_0x5f0490&&(this[_0x542d06(0x1dd)]=!![]),setTimeout(()=>{const _0x19825c=_0x542d06;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x5f0490&&assert(this[_0x19825c(0x1dd)]),this[_0x19825c(0x1ef)][_0x19825c(0x16f)](_0x19825c(0x256)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x19825c(0x1a3)](this[_0x19825c(0x1c6)],(_0x56645a,_0x465df2,_0x3f43cb)=>{const _0x3aa12f=_0x19825c;if(_0x3f43cb?.[_0x3aa12f(0x182)]===0x194){this[_0x3aa12f(0x1ef)][_0x3aa12f(0x166)](_0x3aa12f(0x1b2)),this[_0x3aa12f(0x1dd)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x3aa12f(0x254)](this);this['config']['internal']?.[_0x3aa12f(0x19e)]?this[_0x3aa12f(0x210)](_0x3aa12f(0x157)):this[_0x3aa12f(0x23f)]();return;}if(_0x56645a){if(this['config'][_0x3aa12f(0x223)]?.[_0x3aa12f(0x19e)])this['emit'](_0x3aa12f(0x201)),this['logger'][_0x3aa12f(0x16a)]('\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20'+_0x3f43cb?.[_0x3aa12f(0x182)]+_0x3aa12f(0x18f)+_0x56645a[_0x3aa12f(0x172)]);else{const _0x2501a9=(0x0,utils_1[_0x3aa12f(0x19d)])(_0x470dd6,this[_0x3aa12f(0x1b1)][_0x3aa12f(0x223)][_0x3aa12f(0x214)]);this[_0x3aa12f(0x1ef)][_0x3aa12f(0x16a)](_0x3aa12f(0x18d)+_0x3f43cb?.[_0x3aa12f(0x182)]+_0x3aa12f(0x18f)+_0x56645a['message']+_0x3aa12f(0x251)+_0x2501a9+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3aa12f(0x254)](this,_0x2501a9,_0x5f0490,_0x59b980);}return;}this['logger'][_0x3aa12f(0x16f)]('\x09'+_0x3f43cb[_0x3aa12f(0x182)]+_0x3aa12f(0x247));if(!_0x465df2){const _0x3cffbb=this[_0x3aa12f(0x1b1)][_0x3aa12f(0x238)];this['logger']['error'](_0x3aa12f(0x197)+_0x3cffbb+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3aa12f(0x254)](this,_0x3cffbb,_0x5f0490,_0x59b980);return;}this[_0x3aa12f(0x1ec)](_0x465df2[_0x3aa12f(0x1cf)]);if(_0x465df2[_0x3aa12f(0x1d7)]){this['logger'][_0x3aa12f(0x166)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3aa12f(0x254)](this,0x0,_0x5f0490,_0x59b980);return;}if(_0x465df2[_0x3aa12f(0x1d2)]&&_0x465df2[_0x3aa12f(0x1d2)]!==_0x3aa12f(0x1a2)){const _0x3027f9=this[_0x3aa12f(0x240)][_0x3aa12f(0x1bc)];_0x3027f9!==_0x465df2[_0x3aa12f(0x1d2)]&&(this['logger'][_0x3aa12f(0x16f)](_0x3aa12f(0x184)+_0x3027f9+_0x3aa12f(0x161)+_0x465df2[_0x3aa12f(0x1d2)]),this[_0x3aa12f(0x240)][_0x3aa12f(0x1bc)]=_0x465df2[_0x3aa12f(0x1d2)]);}if(_0x465df2[_0x3aa12f(0x178)]&&_0x465df2[_0x3aa12f(0x21d)]!==this[_0x3aa12f(0x21d)]){this[_0x3aa12f(0x21d)]=_0x465df2['collectLogRequestId'];const _0x5aaab3=this[_0x3aa12f(0x1b1)][_0x3aa12f(0x18b)]['agentLogTargetDir']&&path['join'](this[_0x3aa12f(0x1b1)][_0x3aa12f(0x18b)][_0x3aa12f(0x19a)],agent_logger_1[_0x3aa12f(0x1fe)]['AGENT_LOG_FILE']);_0x5aaab3&&fs[_0x3aa12f(0x192)](_0x5aaab3)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')['sendAgentLogsToServer'](this['debuggee'],_0x465df2[_0x3aa12f(0x21d)],_0x5aaab3)):this[_0x3aa12f(0x1ef)][_0x3aa12f(0x166)]('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x465df2[_0x3aa12f(0x21d)]+_0x3aa12f(0x24a)+_0x3aa12f(0x244));}const _0x4cce81=(_0x465df2['breakpoints']||[])[_0x3aa12f(0x258)](_0x517e1a=>new stackdriver_1[(_0x3aa12f(0x199))](_0x517e1a))['filter'](_0x2abef2=>{const _0x4bdebb=_0x3aa12f,_0x16ea8f=_0x2abef2[_0x4bdebb(0x167)]??'CAPTURE';if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2abef2['id']])return![];if(_0x16ea8f!==_0x4bdebb(0x24d)&&_0x16ea8f!=='LOG')return this[_0x4bdebb(0x1ef)][_0x4bdebb(0x249)]('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x16ea8f),_0x2abef2[_0x4bdebb(0x182)]=new status_message_1['StatusMessage'](status_message_1[_0x4bdebb(0x185)][_0x4bdebb(0x246)],utils_1['errors'][_0x4bdebb(0x1fb)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x4bdebb(0x254)](this,_0x2abef2),![];return!![];}),_0x532fb9=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x3aa12f(0x254)](this);let _0x5b274d=_0x532fb9[_0x3aa12f(0x15e)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x3aa12f(0x254)](this,_0x532fb9),_0x5b274d=_0x5b274d||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x3aa12f(0x254)](this,_0x4cce81),this[_0x3aa12f(0x210)](_0x3aa12f(0x1fc),_0x4cce81[_0x3aa12f(0x15e)]);_0x5b274d&&this[_0x3aa12f(0x1ef)]['debug'](formatBreakpoints(_0x3aa12f(0x20b),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x3aa12f(0x17a)](),'f');_0x5f0490?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3aa12f(0x1d4)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3aa12f(0x254)](this,0x0,_0x5f0490,_0x59b980);return;},_0x59b980);},_0x470dd6*0x3e8)[_0x542d06(0x1d0)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x5c0e45){const _0x55085a=a18_0x410765,_0x45bbe6=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x55085a(0x254)](this,_0x5c0e45);let _0x47493e=![];return _0x5c0e45[_0x55085a(0x257)](_0x2eee1e=>{const _0x476698=_0x55085a;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2eee1e['id']]&&!this[_0x476698(0x1d5)][_0x2eee1e['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x476698(0x254)](this,_0x2eee1e,_0xfac34d=>{const _0xb93f45=_0x476698;_0xfac34d&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0xb93f45(0x254)](this,_0x2eee1e,!![],![]);}),_0x47493e=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x476698(0x1c8)](_0x2eee1e['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x476698(0x193)](_0x2eee1e['id'],_0x2eee1e[_0x476698(0x1c3)]),this[_0x476698(0x240)]['setPipingStatus'](_0x2eee1e['id'],_0x2eee1e[_0x476698(0x203)]);}),(0x0,mapSubtract_1[_0x55085a(0x17c)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x45bbe6)[_0x55085a(0x257)](_0xd5683a=>{const {id:_0x381ce9}=_0xd5683a;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x381ce9],_0x47493e=!![];}),(0x0,mapSubtract_1[_0x55085a(0x17c)])(this[_0x55085a(0x1d5)],_0x45bbe6)[_0x55085a(0x257)](_0x2f0b6c=>{const _0x1efa03=_0x55085a;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x1efa03(0x254)](this,_0x2f0b6c,!![]),_0x47493e=!![];}),_0x47493e&&this[_0x55085a(0x1ef)][_0x55085a(0x16f)](formatBreakpoints(_0x55085a(0x190),_0x45bbe6)),_0x47493e;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x460bc0){const _0x1dfb16=a18_0x410765;return Object[_0x1dfb16(0x231)](_0x460bc0[_0x1dfb16(0x258)](_0x58c949=>[_0x58c949['id'],_0x58c949]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x56026b,_0x2ae63e){const _0x58641d=a18_0x410765;this['logger'][_0x58641d(0x166)](_0x58641d(0x15b)+_0x56026b['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x58641d(0x17d)](_0x56026b['id']),this[_0x58641d(0x240)]['removeBreakpoint'](_0x56026b['id']),delete this[_0x58641d(0x1d5)][_0x56026b['id']],_0x2ae63e&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x58641d(0x1be)](_0x56026b,_0x3294fe=>{const _0x426d3d=_0x58641d;if(_0x3294fe)this[_0x426d3d(0x1ef)][_0x426d3d(0x16a)](_0x3294fe);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x87bdac,_0x16d33b){const _0x5a3320=a18_0x410765;this[_0x5a3320(0x1ef)][_0x5a3320(0x166)]('\x09adding\x20breakpoint',this['stringifyBreakpointForInfoLog'](_0x87bdac));if(!this['config'][_0x5a3320(0x15f)]&&(_0x87bdac[_0x5a3320(0x170)]||_0x87bdac[_0x5a3320(0x1e2)])){this['logger'][_0x5a3320(0x16a)](utils_1[_0x5a3320(0x206)][_0x5a3320(0x19f)][_0x5a3320(0x1b8)]??''),_0x87bdac[_0x5a3320(0x182)]=new status_message_1[(_0x5a3320(0x185))](status_message_1[_0x5a3320(0x185)]['UNSPECIFIED'],utils_1[_0x5a3320(0x206)][_0x5a3320(0x19f)],!![]),setImmediate(()=>{const _0x3c7956=_0x5a3320;_0x16d33b(utils_1[_0x3c7956(0x206)]['ALLOW_EXPRESSIONS_MESSAGE']);});return;}const _0x1fbb29=_0x87bdac[_0x5a3320(0x174)]?Number(_0x87bdac[_0x5a3320(0x174)][_0x5a3320(0x226)]):Date[_0x5a3320(0x17a)]()/0x3e8,_0x8b4403=_0x87bdac[_0x5a3320(0x188)]??this['config']['breakpointExpirationSec'];_0x87bdac[_0x5a3320(0x23b)]=_0x1fbb29+_0x8b4403,_0x87bdac[_0x5a3320(0x259)]?.[_0x5a3320(0x22d)]&&(_0x87bdac[_0x5a3320(0x259)]['path']=path['normalize'](_0x87bdac[_0x5a3320(0x259)][_0x5a3320(0x22d)]),path['sep']===path[_0x5a3320(0x21c)][_0x5a3320(0x196)]&&(_0x87bdac[_0x5a3320(0x259)]['path']=_0x87bdac[_0x5a3320(0x259)][_0x5a3320(0x22d)][_0x5a3320(0x1ce)]('\x5c')[_0x5a3320(0x14d)](path[_0x5a3320(0x196)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['set'](_0x87bdac,_0x57c7e0=>{const _0x59fa16=_0x5a3320;if(_0x57c7e0){_0x16d33b(_0x57c7e0);return;}this[_0x59fa16(0x1ef)]['info'](_0x59fa16(0x198)+_0x87bdac['id']),this['activeBreakpointMap'][_0x87bdac['id']]=_0x87bdac,_0x87bdac['action']===_0x59fa16(0x23e)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['log'](_0x87bdac,(_0xf0233,_0x4dac30)=>{const _0x1a7845=_0x59fa16,_0x484823=_0x4dac30[_0x1a7845(0x258)](_0x4b71cd=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1a7845(0x254)](this,_0x4b71cd)),_0x146b54=(0x0,format_1[_0x1a7845(0x1d8)])(_0xf0233,_0x484823),_0x120d6d=_0x1a7845(0x1b4)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1a7845(0x237)](_0x146b54)??_0x146b54),_0x521b33=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x120d6d,_0x87bdac['id']);if(_0x521b33){const _0x51caed=_0x521b33[_0x1a7845(0x172)],{isOutOfQuota:_0x18f3e8}=_0x521b33;let _0x951c64,_0x163c32;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1a7845(0x1c5)]()&&!_0x18f3e8&&(_0x951c64=_0x1a7845(0x1b4)+_0xf0233,_0x163c32=_0x484823);this['pipingManager']['addAndPipeLog'](this[_0x1a7845(0x1c6)],_0x87bdac['id'],_0x51caed,_0x87bdac['logLevel'],_0x951c64,_0x163c32);if(_0x18f3e8)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x1a7845(0x1b1)][_0x1a7845(0x229)][_0x1a7845(0x183)]*0x3e8),'f');else _0x51caed?.['length']===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x87bdac['id']],_0x1e5a1f=>{const _0x2882a6=_0x59fa16;if(_0x1e5a1f){this[_0x2882a6(0x1ef)][_0x2882a6(0x16a)](_0x1e5a1f),_0x16d33b(_0x1e5a1f);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x59fa16(0x17e)](_0x87bdac,_0xed7972=>{const _0x47d9ce=_0x59fa16;if(_0xed7972){setImmediate(()=>{const _0x2e6dae=a18_0x27a0;this[_0x2e6dae(0x1ef)]['error'](_0xed7972),_0x16d33b(_0xed7972);});return;}this[_0x47d9ce(0x1ef)][_0x47d9ce(0x166)]('Breakpoint\x20hit!:\x20breakpoint\x20id:\x20'+_0x87bdac['id'],_0x87bdac[_0x47d9ce(0x259)]?.[_0x47d9ce(0x22d)],_0x87bdac[_0x47d9ce(0x259)]?.[_0x47d9ce(0x1d6)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x47d9ce(0x254)](this,_0x87bdac,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x47d9ce(0x1f6)](_0x87bdac['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x59fa16(0x254)](this,_0x87bdac);}),this[_0x5a3320(0x210)](_0x5a3320(0x222));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x2b2c87,_0x92fc84,_0x597e9a=!![]){const _0x24d836=a18_0x410765;if(_0x2b2c87[_0x24d836(0x182)]?.[_0x24d836(0x200)]){let _0x262e83=_0x2b2c87[_0x24d836(0x182)]?.['description']?.[_0x24d836(0x1d8)]||'';_0x2b2c87['status']?.['description']?.['parameters']&&(_0x262e83+=':\x20'+_0x2b2c87[_0x24d836(0x182)]?.[_0x24d836(0x1b8)]?.[_0x24d836(0x24c)][_0x24d836(0x14a)]()),this[_0x24d836(0x1ef)][_0x24d836(0x249)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x2b2c87+_0x24d836(0x16c)+_0x262e83);}else this[_0x24d836(0x1ef)][_0x24d836(0x166)](_0x24d836(0x1d9),this[_0x24d836(0x15a)](_0x2b2c87));_0x92fc84&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2b2c87['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x24d836(0x254)](this,_0x2b2c87,_0x597e9a)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x24d836(0x220)](this[_0x24d836(0x1c6)],extend(!![],{},_0x2b2c87));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x54eafa){const _0x5e4cb2=a18_0x410765;this['logger'][_0x5e4cb2(0x16f)]('reporting\x20breakpoint\x20'+_0x54eafa+_0x5e4cb2(0x19b));const _0x2d19cd=extend(!![],{},_0x54eafa);_0x2d19cd[_0x5e4cb2(0x232)]=![],_0x2d19cd['status']=new status_message_1[(_0x5e4cb2(0x185))](status_message_1['StatusMessage'][_0x5e4cb2(0x246)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5e4cb2(0x220)](this['debuggee'],_0x2d19cd);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x3ddf91){const _0x1a5cee=a18_0x410765;this['logger'][_0x1a5cee(0x166)]('rejecting\x20breakpoint\x20id\x20'+_0x3ddf91),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x3ddf91['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1a5cee(0x220)](this[_0x1a5cee(0x1c6)],_0x3ddf91);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0xa2ef63){_0xa2ef63['forEach'](_0x3b9e00=>{const _0x46ee76=a18_0x27a0;this[_0x46ee76(0x1ef)][_0x46ee76(0x166)](_0x46ee76(0x165)+_0x3b9e00['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x3b9e00['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x3b9e00,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x62ebd5=a18_0x410765,_0x1ced49=Date[_0x62ebd5(0x17a)]()/0x3e8;return Object[_0x62ebd5(0x1ac)](this[_0x62ebd5(0x1d5)])['filter'](_0x914dff=>_0x914dff[_0x62ebd5(0x23b)]?_0x914dff['expirationTime']<_0x1ced49:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x164090){const _0x139ca6=a18_0x410765,_0x598388=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x139ca6(0x23a)](_0x164090),_0x51503f=_0x598388[_0x139ca6(0x152)],_0x3909d3=_0x598388['blacklist_exception'];_0x51503f?.['length']&&this[_0x139ca6(0x1ef)][_0x139ca6(0x16f)](_0x139ca6(0x1a0),_0x51503f[_0x139ca6(0x14d)]('\x0a\x09')),_0x3909d3?.[_0x139ca6(0x15e)]&&this[_0x139ca6(0x1ef)][_0x139ca6(0x16f)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x3909d3[_0x139ca6(0x14d)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x139ca6(0x1e4))](_0x51503f,_0x3909d3,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x372c60){const _0x2f811b=a18_0x410765,_0x2c2ead=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2f811b(0x235)](_0x372c60);_0x2c2ead?.['length']&&this['logger'][_0x2f811b(0x16f)]('Redactions:\x20\x0a\x09',_0x2c2ead[_0x2f811b(0x258)](_0x1ff6da=>_0x2f811b(0x24f)+_0x1ff6da[_0x2f811b(0x24e)]+_0x2f811b(0x1cb)+_0x1ff6da[_0x2f811b(0x151)]+'):\x20pattern:\x20'+_0x1ff6da['pattern']+'\x20caseInsensitive:\x20'+_0x1ff6da[_0x2f811b(0x1ca)])['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x2f811b(0x20c))](this['logger']),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2f811b(0x195)](_0x2c2ead);},_Debuglet_stringify=function _Debuglet_stringify(_0x1f3041){const _0x8f46af=a18_0x410765;if(!_0x1f3041)return JSON[_0x8f46af(0x1c1)](_0x1f3041,(_0x279935,_0xfad4ad)=>_0xfad4ad===undefined?'undefined':_0xfad4ad);if(Array[_0x8f46af(0x1ab)](_0x1f3041)){const _0x3726fa=_0x1f3041[_0x8f46af(0x258)](_0x941258=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x941258));return'['+_0x3726fa['join'](',\x20')+']';}if(typeof _0x1f3041===_0x8f46af(0x153)){const _0x4e8b2b=Object[_0x8f46af(0x1bf)](_0x1f3041)[_0x8f46af(0x258)](([_0x19df6b,_0x19194e])=>{const _0x1c2cfa=_0x8f46af,_0x375f75=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1c2cfa(0x207)](_0x19df6b)?redaction_manager_1[_0x1c2cfa(0x233)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1c2cfa(0x254)](this,_0x19194e);return JSON[_0x1c2cfa(0x1c1)](_0x19df6b)+':\x20'+_0x375f75;})[_0x8f46af(0x14d)](',\x20');return'{'+_0x4e8b2b+'}';}return JSON[_0x8f46af(0x1c1)](_0x1f3041);});
|
|
1
|
+
const a18_0x3555c1=a18_0x641b;(function(_0x1c278d,_0xc6b221){const _0x57b0be=a18_0x641b,_0x5b1a20=_0x1c278d();while(!![]){try{const _0x4f3265=-parseInt(_0x57b0be(0x20d))/0x1+parseInt(_0x57b0be(0x13c))/0x2+-parseInt(_0x57b0be(0x1e7))/0x3*(parseInt(_0x57b0be(0x17e))/0x4)+parseInt(_0x57b0be(0x1af))/0x5+parseInt(_0x57b0be(0x1e5))/0x6+parseInt(_0x57b0be(0x19c))/0x7+-parseInt(_0x57b0be(0x1e6))/0x8;if(_0x4f3265===_0xc6b221)break;else _0x5b1a20['push'](_0x5b1a20['shift']());}catch(_0x415828){_0x5b1a20['push'](_0x5b1a20['shift']());}}}(a18_0x17ed,0xa52b8));const a18_0x434eee=(function(){let _0x2a7a5c=!![];return function(_0x154f1f,_0x440597){const _0x17cf32=_0x2a7a5c?function(){const _0x32e7d3=a18_0x641b;if(_0x440597){const _0x1b6996=_0x440597[_0x32e7d3(0x147)](_0x154f1f,arguments);return _0x440597=null,_0x1b6996;}}:function(){};return _0x2a7a5c=![],_0x17cf32;};}()),a18_0x1afce2=a18_0x434eee(this,function(){const _0x45d5bd=a18_0x641b;return a18_0x1afce2[_0x45d5bd(0x1ae)]()[_0x45d5bd(0x1a2)](_0x45d5bd(0x238))[_0x45d5bd(0x1ae)]()['constructor'](a18_0x1afce2)[_0x45d5bd(0x1a2)]('(((.+)+)+)+$');});function a18_0x641b(_0x340d04,_0x5ae174){const _0x43f331=a18_0x17ed();return a18_0x641b=function(_0x1afce2,_0x434eee){_0x1afce2=_0x1afce2-0x12c;let _0x17ed05=_0x43f331[_0x1afce2];return _0x17ed05;},a18_0x641b(_0x340d04,_0x5ae174);}a18_0x1afce2();'use strict';var __classPrivateFieldSet=this&&this[a18_0x3555c1(0x1c5)]||function(_0xeff4b5,_0xa122df,_0x55596a,_0x4e1583,_0x547cde){const _0x1f3642=a18_0x3555c1;if(_0x4e1583==='m')throw new TypeError(_0x1f3642(0x188));if(_0x4e1583==='a'&&!_0x547cde)throw new TypeError(_0x1f3642(0x1c7));if(typeof _0xa122df==='function'?_0xeff4b5!==_0xa122df||!_0x547cde:!_0xa122df[_0x1f3642(0x1fc)](_0xeff4b5))throw new TypeError(_0x1f3642(0x17b));return _0x4e1583==='a'?_0x547cde[_0x1f3642(0x1ef)](_0xeff4b5,_0x55596a):_0x547cde?_0x547cde[_0x1f3642(0x1d9)]=_0x55596a:_0xa122df[_0x1f3642(0x169)](_0xeff4b5,_0x55596a),_0x55596a;},__classPrivateFieldGet=this&&this[a18_0x3555c1(0x1bf)]||function(_0x4b54c7,_0x44c5e0,_0xb150df,_0x597013){const _0x206d90=a18_0x3555c1;if(_0xb150df==='a'&&!_0x597013)throw new TypeError(_0x206d90(0x1a7));if(typeof _0x44c5e0===_0x206d90(0x1b6)?_0x4b54c7!==_0x44c5e0||!_0x597013:!_0x44c5e0[_0x206d90(0x1fc)](_0x4b54c7))throw new TypeError(_0x206d90(0x1ea));return _0xb150df==='m'?_0x597013:_0xb150df==='a'?_0x597013[_0x206d90(0x1ef)](_0x4b54c7):_0x597013?_0x597013[_0x206d90(0x1d9)]:_0x44c5e0[_0x206d90(0x206)](_0x4b54c7);},_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_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;function a18_0x17ed(){const _0x4b47b5=['./util/utils','started','./quota-manager','blacklist_exception','has','PatternsBlocklistManager','selectStats','../types/stackdriver','assert','promise','wait','seconds','Unique\x20ID\x20for\x20this\x20Application:\x20','maxRequestRetryDelaySeconds','get','fromFileStats','Breakpoint','./debuglet-helpers/mapSubtract','Controller','filter','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','1096494kTgzVW','scheduleBreakpointFetch_\x20','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','add','config','AGENT_LOG_FILE','emit','extraPaths','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','Registering\x20debuggee','quota','fetchBreakpointsOnce','clientConnectionTimeoutInSeconds','promisify','name','packageInfo','action','fetcherActive','isReady','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','forEach','enable','removePerBreakpointQuota','./controller','Found\x20breakpoint\x20with\x20invalid\x20action:','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','fromEntries','location','Registered\x20as\x20debuggee:\x20','disable','./io/scanner','globalPipingStatus','GAE_MINOR_VERSION','./configuration-provider','ConfigurationProvider','mapFiles','.\x20Error:\x20','Unknown\x20agentLogLevel\x20','\x20accepted\x20by\x20agent','jsFileIndex','normalizeConfig','stdErrThreshold','(((.+)+)+)+$','Debuggee\x20is\x20not\x20registered','promiseResolve','):\x20pattern:\x20','ALLOW_EXPRESSIONS_MESSAGE','agentLogTargetDir','StatusMessage','\x20completed.','sep','.\x20message:\x20','NOT_SET','prettyError','./debuglet-helpers/createDebuggee','setIgnoreQuota','CachedPromise','.\x20Retrying\x20in\x20','scan','caseInsensitive','keys','setCustomLogLevel','parameters','./piping-manager','pattern','agentLogLevel','unref','collectLogRequestId','2340320Zhqeit','activeBreakpointMap','join','PipingManager','source-context.json','readFile','blacklist','push','Starting\x20debuggee','Blacklist\x20Exceptions:\x20\x0a\x09','removeListener','apply','replace','mainModule','warn','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','\x20(type:\x20','Error\x20scanning\x20the\x20filesystem.','./debuglet-helpers/format','selectFiles','./io/file-index','initError','then','sourceMapDiagnostics','LOGPOINT:\x20','concat','bind','extend','SIGINT','create','setBlocklistManager','Server\x20breakpoints:\x0a','isRedactionActive','breakpoint_set','replaceRedactedByValue','./blocklisting/patterns-blocklist-manager','breakpoints_fetch_failed','filename','BREAKPOINT_ACTION_MESSAGE','allowExpressions','remainingHits','register\x20debuggee','stringify','split','Fetching\x20breakpoints','set','__esModule','isError','agentLog','info','all','expressions','length','ignoreQuota','hash','stopped','setPatterns','stop','createDebuggee','waitFor','EventEmitter','message','internal','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','values','isArray','7672MEsUuk','../client/stackdriver/status-message','EnvironmentMetadata','debug','expirationTime','./debuglet-helpers/normalizeConfig','javascriptFileExtensions','\x09remove\x20breakpoint\x20id\x20','createLogger','isRegistered','Private\x20method\x20is\x20not\x20writable','register','createTime','now','pipingStatus','beforeExit','do\x20this.','./environment-metadata','getRedactions','getLevel','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','breakpointUpdateIntervalSec','status','substring','QuotaManager','pipingManager','resolve','\x09Got\x20error\x20from\x20server.\x20status:\x20','type','breakpoints_fetch_registration_required','5486817knfPdt','\x09Long\x20poll\x20completed.','Switching\x20globalPiping\x20status\x20from\x20','Working\x20directory:\x20','map','quotaCheck','search','isLambda','findFiles','mapSubtract','quotaRecoverySeconds','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','DEBUG','Initializing\x20Node.js\x20agent\x20version:\x20','existsSync','util','logger','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','toString','5335475pWZkhR','waitExpired','description','deregister','breakpoints','\x20caseInsensitive:\x20','pipeLogs','function','listBreakpoints','getBlocklist','debuggee','enqueueBreakpointUpdate','Debuglet','getInitialLevel','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','REDACTED_PLACEHOLDER','__classPrivateFieldGet','Malformed\x20source-context.json\x20file:\x20','GAE-','Expiring\x20breakpoint\x20id\x20','env','Result:\x20\x0a','__classPrivateFieldSet','UNSPECIFIED','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','sendAgentLogsToServer','agentLogMaxFileCount','Redactions:\x20\x0a\x09','Blacklist:\x20\x0a\x09','FileIndex','inspect','addAndPipeLog','getProps','errors','debuglet','./io/sourcemapper','stringifyBreakpointForInfoLog','\x0a\x09createdTime:\x20','format','readFullVersion','\x09Notifying\x20server\x20about\x20error\x20for\x20','value','\x09successfully\x20added\x20breakpoint\x20id\x20','sourceContext','./reduction/redaction-manager','Active\x20Breakpoints:\x20\x0a','default','js.map','path','isDisabled','condition','\x0a\x09condition:\x20','entries','581130aeQPRv','10636536Rszwwc','24fZLTIz','\x20to\x20','setPipingStatus','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','kill','setLevel','error','rejecting\x20breakpoint\x20id\x20','call','breakpoints_fetched','\x20because\x20','SIGTERM','getSourceContextFromFile','once','parse','registration_failed','workingDirectory'];a18_0x17ed=function(){return _0x4b47b5;};return a18_0x17ed();}Object['defineProperty'](exports,a18_0x3555c1(0x16a),{'value':!![]}),exports[a18_0x3555c1(0x1bb)]=exports[a18_0x3555c1(0x130)]=void 0x0;const assert=require(a18_0x3555c1(0x200)),events_1=require('events'),extend=require(a18_0x3555c1(0x157)),fs=require('fs'),path=require('path'),util=require(a18_0x3555c1(0x1ab)),status_message_1=require(a18_0x3555c1(0x17f)),stackdriver_1=require(a18_0x3555c1(0x1ff)),agent_logger_1=require('./agent-logger'),patterns_blocklist_manager_1=require(a18_0x3555c1(0x15f)),config_1=require('./config'),configuration_provider_1=require(a18_0x3555c1(0x22f)),controller_1=require(a18_0x3555c1(0x225)),createDebuggee_1=require(a18_0x3555c1(0x12e)),format_1=require(a18_0x3555c1(0x14e)),mapSubtract_1=require(a18_0x3555c1(0x209)),normalizeConfig_1=require(a18_0x3555c1(0x183)),environment_metadata_1=require(a18_0x3555c1(0x18f)),file_index_1=require(a18_0x3555c1(0x150)),scanner_1=require(a18_0x3555c1(0x22c)),SourceMapper=require(a18_0x3555c1(0x1d3)),piping_manager_1=require(a18_0x3555c1(0x137)),quota_manager_1=require(a18_0x3555c1(0x1fa)),redaction_manager_1=require(a18_0x3555c1(0x1dc)),utils_1=require(a18_0x3555c1(0x1f8)),debugapi=require('./v8/debugapi'),redaction_manager_re2js_1=require('./reduction/redaction-manager-re2js'),readFilep=util[a18_0x3555c1(0x21b)](fs[a18_0x3555c1(0x141)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x2cdeb6,_0x20a8ba)=>{const _0x4a5138=a18_0x3555c1;let _0x4a562b=_0x2cdeb6+util['format'](_0x4a5138(0x227),_0x20a8ba['id'],_0x20a8ba[_0x4a5138(0x21e)],util[_0x4a5138(0x1ce)](_0x20a8ba[_0x4a5138(0x229)]));if(_0x20a8ba['createTime']){const _0xb6a3c4=Number(_0x20a8ba['createTime']['seconds']),_0x1af16c=new Date(_0xb6a3c4*0x3e8);_0x4a562b+=_0x4a5138(0x1d5)+_0x1af16c[_0x4a5138(0x1ae)]();}return _0x20a8ba[_0x4a5138(0x1e2)]&&(_0x4a562b+=_0x4a5138(0x1e3)+util['inspect'](_0x20a8ba['condition'])),_0x20a8ba[_0x4a5138(0x16f)]&&(_0x4a562b+='\x0a\x09expressions:\x20'+util['inspect'](_0x20a8ba[_0x4a5138(0x16f)])),_0x4a562b;},formatBreakpoints=(_0x157d00,_0x53cde)=>_0x157d00+Object[a18_0x3555c1(0x134)](_0x53cde)['map'](_0x20eed7=>formatBreakpoint('',_0x53cde[_0x20eed7]))['join']('\x0a');class CachedPromise{constructor(){const _0x9f321=a18_0x3555c1;this[_0x9f321(0x23a)]=null,this['promise']=new Promise(_0x2dbd78=>{this['promiseResolve']=_0x2dbd78;});}[a18_0x3555c1(0x206)](){const _0x444643=a18_0x3555c1;return this[_0x444643(0x201)];}['resolve'](){const _0x5d4b9d=a18_0x3555c1;this[_0x5d4b9d(0x23a)]&&(this[_0x5d4b9d(0x23a)](),this['promiseResolve']=null);}}exports[a18_0x3555c1(0x130)]=CachedPromise;class IsReadyImpl{constructor(_0xa4593c){this['debuglet']=_0xa4593c;}['isReady'](){const _0x36b622=a18_0x3555c1;return this[_0x36b622(0x1d2)]['isReady']();}}class Debuglet extends events_1[a18_0x3555c1(0x178)]{constructor(_0x36ce82,_0x55b5d3){const _0x52c756=a18_0x3555c1;super(),_Debuglet_instances[_0x52c756(0x211)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x52c756(0x169)](this,void 0x0),_Debuglet_running[_0x52c756(0x169)](this,void 0x0),_Debuglet_controller[_0x52c756(0x169)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x52c756(0x169)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x52c756(0x169)](this,void 0x0),_Debuglet_breakpointFetched[_0x52c756(0x169)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x52c756(0x169)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x52c756(0x169)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x52c756(0x169)](this,void 0x0),_Debuglet_scanner[_0x52c756(0x169)](this,void 0x0),_Debuglet_quotaManager[_0x52c756(0x169)](this,void 0x0),_Debuglet_blocklistManager[_0x52c756(0x169)](this,void 0x0),_Debuglet_redactionManager[_0x52c756(0x169)](this,void 0x0),_Debuglet_configProvider[_0x52c756(0x169)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this[_0x52c756(0x212)]=(0x0,normalizeConfig_1[_0x52c756(0x236)])(_0x55b5d3),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x52c756(0x230))](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x36ce82,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x52c756(0x1ac)]=agent_logger_1[_0x52c756(0x1de)][_0x52c756(0x186)](this['config']['agentLog'][_0x52c756(0x23d)],this['config'][_0x52c756(0x16c)]['agentLogMaxFileSizeMb'],this['config'][_0x52c756(0x16c)][_0x52c756(0x1ca)],this[_0x52c756(0x212)][_0x52c756(0x16c)][_0x52c756(0x139)],this[_0x52c756(0x212)]['agentLog'][_0x52c756(0x237)]),(0x0,config_1['logMainConfigParams'])(this[_0x52c756(0x212)],this[_0x52c756(0x1ac)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x52c756(0x180))](this[_0x52c756(0x1ac)])[_0x52c756(0x1d0)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x52c756(0x20a))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x52c756(0x212)],this[_0x52c756(0x1ac)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this['logger']),'f'),this['debuggee']=null,this[_0x52c756(0x13d)]={},__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[(_0x52c756(0x196))](this[_0x52c756(0x1ac)],this['config']),'f'),this[_0x52c756(0x197)]=new piping_manager_1[(_0x52c756(0x13f))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x52c756(0x212)]);}async['waitForTransmissionQueueDrain'](_0x4c7d7e){return __classPrivateFieldGet(this,_Debuglet_controller,'f')['waitForTransmissionQueueDrain'](_0x4c7d7e);}['getClientConnectionTimeoutInSeconds'](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async['waitForBreakpoints'](_0xadca9c){const _0x448e54=a18_0x3555c1,_0x453654=0x32;let _0x2f2605=null;const _0x306be8=()=>_0x2f2605=!![],_0x47314a=()=>_0x2f2605=![],_0x70ea4b=_0x14e463=>{if(_0x14e463)return;_0x306be8();};let _0x4dfccf=![];const _0x226e14=_0x3f6211=>{const _0x278be4=a18_0x641b;_0x4dfccf&&_0x47314a(),_0x4dfccf=!![],this[_0x278be4(0x189)]();};this[_0x448e54(0x1f4)](_0x448e54(0x1f0),_0x70ea4b),this['once'](_0x448e54(0x15d),_0x306be8);this[_0x448e54(0x212)]['internal']?.[_0x448e54(0x1a3)]&&(this['once']('registration_failed',_0x47314a),this['once'](_0x448e54(0x160),_0x47314a),this[_0x448e54(0x1f4)](_0x448e54(0x19b),_0x226e14));if(_0xadca9c){const _0x464d18=Date[_0x448e54(0x18b)]();while(_0x2f2605===null&&Date['now']()-_0x464d18<_0xadca9c){await(0x0,utils_1[_0x448e54(0x177)])(_0x453654);}}return this['removeListener']('breakpoints_fetched',_0x70ea4b),this['removeListener'](_0x448e54(0x15d),_0x306be8),this[_0x448e54(0x212)]['internal']?.[_0x448e54(0x1a3)]&&(this[_0x448e54(0x146)](_0x448e54(0x1f6),_0x47314a),this[_0x448e54(0x146)](_0x448e54(0x160),_0x47314a),this[_0x448e54(0x146)](_0x448e54(0x19b),_0x226e14)),_0x2f2605===!![];}[a18_0x3555c1(0x219)](){const _0x344aad=a18_0x3555c1;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x344aad(0x1ef)](this,0x0,!![]);}[a18_0x3555c1(0x187)](){const _0x369b40=a18_0x3555c1;return this[_0x369b40(0x1b9)]?.['id']!==undefined;}async[a18_0x3555c1(0x1a4)](_0x37b8d8,_0x2a872b){const _0x46d0ee=a18_0x3555c1,_0x4b0d44=_0x37b8d8[_0x46d0ee(0x1f7)],_0x91996d=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x46d0ee(0x132)](_0x4b0d44,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x46d0ee(0x1ef)](_a,_0x37b8d8[_0x46d0ee(0x184)][_0x46d0ee(0x155)](_0x46d0ee(0x1df))),_0x2a872b,_0x37b8d8[_0x46d0ee(0x215)]),_0x1e1633=_0x91996d[_0x46d0ee(0x1fe)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x46d0ee(0x1ef)](_a,_0x37b8d8[_0x46d0ee(0x184)])),_0x14093e=file_index_1[_0x46d0ee(0x1cd)][_0x46d0ee(0x207)](_0x1e1633),_0x340d63=_0x91996d[_0x46d0ee(0x14f)](/.js.map$/,process['cwd']()),_0x5b631f=_0x91996d['errors']();return{'mapFiles':_0x340d63,'errors':_0x5b631f,'jsFileIndex':_0x14093e,'hash':_0x91996d[_0x46d0ee(0x172)]};}async['start'](){const _0x4734aa=a18_0x3555c1,_0x4e4273=this[_0x4734aa(0x212)][_0x4734aa(0x1f7)];if(!this[_0x4734aa(0x212)]['allowRootAsWorkingDirectory']&&path['join'](_0x4e4273,'..')===_0x4e4273){const _0x1dc856=_0x4734aa(0x1c8)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x4734aa(0x1ad)+_0x4734aa(0x18e);this[_0x4734aa(0x1ac)][_0x4734aa(0x1ed)](_0x1dc856),this['emit'](_0x4734aa(0x151),new Error(_0x1dc856));return;}let _0x26a48b;process[_0x4734aa(0x1c3)][_0x4734aa(0x22e)]&&(_0x26a48b=_0x4734aa(0x1c1)+process[_0x4734aa(0x1c3)][_0x4734aa(0x22e)]);let _0x2928e1,_0xd0b2d0=_0x26a48b??'';try{_0x2928e1=await this['findFiles'](this[_0x4734aa(0x212)],_0x26a48b),_0x2928e1[_0x4734aa(0x1d1)]['forEach'](this['logger'][_0x4734aa(0x14a)]);}catch(_0x1fada2){this['logger']['error'](_0x4734aa(0x14d),_0x1fada2),this[_0x4734aa(0x214)](_0x4734aa(0x151),_0x1fada2);return;}try{const _0x242795=await SourceMapper[_0x4734aa(0x159)](this[_0x4734aa(0x1ac)],_0x2928e1[_0x4734aa(0x231)],this['config']['internal']?.[_0x4734aa(0x153)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x4734aa(0x159)](this[_0x4734aa(0x1ac)],this[_0x4734aa(0x212)],_0x2928e1[_0x4734aa(0x235)],_0x242795,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0xd0b2d0=_0x26a48b??_0x2928e1[_0x4734aa(0x172)];}catch(_0x4333ba){this['logger'][_0x4734aa(0x1ed)]('Error\x20processing\x20the\x20sourcemaps.',_0x4333ba),this['logger'][_0x4734aa(0x16d)](JSON[_0x4734aa(0x166)](_0x4333ba)),this[_0x4734aa(0x214)](_0x4734aa(0x151),_0x4333ba);}this[_0x4734aa(0x1ac)][_0x4734aa(0x16d)](_0x4734aa(0x204)+_0xd0b2d0);const _0x22a163=(0x0,utils_1[_0x4734aa(0x1d7)])(this['logger'])[_0x4734aa(0x148)]('\x0a','');this['logger'][_0x4734aa(0x16d)](_0x4734aa(0x1a9)+_0x22a163);let _0x241ea7;try{_0x241ea7=this[_0x4734aa(0x212)][_0x4734aa(0x1db)]||await _a[_0x4734aa(0x1f3)]();}catch{}this['logger']['info'](_0x4734aa(0x1bd)+process[_0x4734aa(0x149)]?.[_0x4734aa(0x161)]),this[_0x4734aa(0x1ac)][_0x4734aa(0x181)](_0x4734aa(0x19f)+_0x4e4273),this[_0x4734aa(0x1ac)][_0x4734aa(0x181)](_0x4734aa(0x144)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x4734aa(0x1b9)]=(0x0,createDebuggee_1[_0x4734aa(0x176)])(_0xd0b2d0,this['config'],_0x241ea7,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x4734aa(0x21d)],_0x22a163,this[_0x4734aa(0x1ac)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](this),this[_0x4734aa(0x189)](),this['emit'](_0x4734aa(0x1f9));}[a18_0x3555c1(0x220)](){const _0x3ebd62=a18_0x3555c1;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x3ebd62(0x198)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3ebd62(0x206)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3ebd62(0x206)]()[_0x3ebd62(0x152)](()=>{const _0x16c311=_0x3ebd62;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x16c311(0x1ef)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3ebd62(0x206)]();}}static async[a18_0x3555c1(0x1f3)](){const _0x31b00f=a18_0x3555c1,_0x4a6eb9=await readFilep(_0x31b00f(0x140),'utf8');try{return JSON[_0x31b00f(0x1f5)](_0x4a6eb9);}catch(_0x40aff7){throw new Error(_0x31b00f(0x1c0)+_0x40aff7);}}[a18_0x3555c1(0x189)](){const _0x255658=a18_0x3555c1;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x255658(0x1ef)](this,0x0);}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x3555c1(0x175)](){const _0x4fa880=a18_0x3555c1;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x4fa880(0x1ac)]['debug'](_0x4fa880(0x221));return;}this['logger']['debug']('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x4fa880(0x175)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x4fa880(0x214)](_0x4fa880(0x173));}[a18_0x3555c1(0x1d4)](_0xdffe8){const _0x459852=a18_0x3555c1;if(!this[_0x459852(0x1ac)]['isAtLeastInfo']())return _0xdffe8['id'];try{const _0x570c05=JSON['stringify'](_0xdffe8);if(_0x570c05[_0x459852(0x170)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x570c05;return _0x570c05[_0x459852(0x195)](0x0,BREAKPOINT_LOG_MAX_CHARS)+'...\x20[truncated]';}catch(_0x13e967){return this[_0x459852(0x1ac)][_0x459852(0x1ed)](_0x459852(0x192),_0x13e967),_0xdffe8['id'];}}[a18_0x3555c1(0x135)](_0x2c0b79){const _0x23a119=a18_0x3555c1,_0x1fb9d3=this[_0x23a119(0x1ac)][_0x23a119(0x1bc)]();if(_0x1fb9d3===_0x23a119(0x181))return;switch(_0x2c0b79){case _0x23a119(0x1a8):this[_0x23a119(0x1ac)][_0x23a119(0x191)]()!==_0x23a119(0x181)&&(this[_0x23a119(0x1ac)][_0x23a119(0x1ec)]('debug'),this[_0x23a119(0x1ac)][_0x23a119(0x181)](_0x23a119(0x14b)));break;case _0x23a119(0x12c):case undefined:this['logger']['getLevel']()===_0x23a119(0x181)&&(this[_0x23a119(0x1ac)][_0x23a119(0x1ec)](_0x1fb9d3),this['logger'][_0x23a119(0x16d)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20('+_0x1fb9d3+')'));break;default:this[_0x23a119(0x1ac)][_0x23a119(0x14a)](_0x23a119(0x233)+_0x2c0b79);}}}exports[a18_0x3555c1(0x1bb)]=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_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x5e9df1){const _0x39ec42=a18_0x3555c1;return new RegExp(_0x5e9df1[_0x39ec42(0x1a0)](_0x3772c1=>_0x3772c1+'$')[_0x39ec42(0x13e)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x465342=a18_0x3555c1,_0x1fc221=[_0x465342(0x1f2),_0x465342(0x158),'SIGQUIT'];_0x1fc221[_0x465342(0x222)](_0x5cb3ad=>{const _0x55eb67=_0x465342;process[_0x55eb67(0x1f4)](_0x5cb3ad,()=>{const _0x47d698=_0x55eb67;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x47d698(0x1b2)](this[_0x47d698(0x1b9)],()=>{const _0x13fcf9=_0x47d698;process[_0x13fcf9(0x1eb)](process['pid'],_0x5cb3ad);});});}),process['once'](_0x465342(0x18d),()=>{const _0x5be3dc=_0x465342;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5be3dc(0x1b2)](this[_0x5be3dc(0x1b9)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x47a40e){const _0x5a794a=a18_0x3555c1;this[_0x5a794a(0x1ac)][_0x5a794a(0x181)](_0x47a40e?'Scheduling\x20registration\x20in\x20'+_0x47a40e+'s':_0x5a794a(0x217));const _0x12f4dd=(_0x2d4d3f,_0x206c31,_0xea7998=![])=>{const _0x1fed08=_0x5a794a;this['emit']('registration_failed');const _0x456c15=this[_0x1fed08(0x1b9)]?.['id'],_0x206235=_0x456c15?'re-register\x20debuggee\x20'+_0x456c15:_0x1fed08(0x165),_0x300e03='Failed\x20to\x20'+_0x206235+':\x20'+(0x0,utils_1[_0x1fed08(0x12d)])(_0x2d4d3f);this[_0x1fed08(0x1ac)][_0x1fed08(0x1ed)](_0x300e03),_0x206c31&&!_0xea7998&&this['logger']['error'](_0x1fed08(0x1c4),_0x206c31),!this['config'][_0x1fed08(0x17a)]?.[_0x1fed08(0x1a3)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1fed08(0x1ef)](this,(0x0,utils_1['backoff'])(_0x47a40e,this[_0x1fed08(0x212)][_0x1fed08(0x17a)]['maxRequestRetryDelaySeconds']));};setTimeout(()=>{const _0x5bb680=_0x5a794a;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x12f4dd(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5bb680(0x189)](this[_0x5bb680(0x1b9)],(_0x3867fb,_0x589ba8,_0xa81393=![])=>{const _0x260fb7=_0x5bb680;if(_0x3867fb){_0x12f4dd(_0x3867fb,_0x589ba8,_0xa81393);return;}if(_0x589ba8['debuggee'][_0x260fb7(0x1e1)]){_0x12f4dd(new Error('Disabled\x20by\x20the\x20server')),this[_0x260fb7(0x214)]('remotelyDisabled');return;}const _0x413b03=_0x589ba8[_0x260fb7(0x1b9)]['id'];this['logger'][_0x260fb7(0x16d)](_0x260fb7(0x22a)+_0x413b03),this[_0x260fb7(0x1b9)]['id']=_0x413b03;const _0x27e8ba=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x260fb7(0x156)](this)(this[_0x260fb7(0x1b9)]['id'])];this['config']['redactionEnabled']&&_0x27e8ba[_0x260fb7(0x143)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x260fb7(0x156)](this)(this[_0x260fb7(0x1b9)]['id'])),Promise[_0x260fb7(0x16e)](_0x27e8ba)[_0x260fb7(0x152)](()=>{const _0x3baff8=_0x260fb7;this['emit']('registered',_0x413b03),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3baff8(0x198)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x3baff8(0x15a)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x589ba8?.[_0x3baff8(0x21a)],'f'),!this[_0x3baff8(0x21f)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3baff8(0x1ef)](this,0x0,this['config'][_0x3baff8(0x219)],_0x589ba8?.[_0x3baff8(0x21a)]);},_0x50079a=>{_0x12f4dd(_0x50079a);});});},_0x47a40e*0x3e8)[_0x5a794a(0x13a)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x2bf5b2,_0x13806f,_0x305228){const _0x49eea4=a18_0x3555c1;this[_0x49eea4(0x1ac)][_0x49eea4(0x181)](_0x49eea4(0x20e)+_0x2bf5b2+'\x20'+_0x13806f+'\x20'+_0x305228),!_0x13806f&&(this['fetcherActive']=!![]),setTimeout(()=>{const _0x79ae53=_0x49eea4;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x13806f&&assert(this[_0x79ae53(0x21f)]),this['logger'][_0x79ae53(0x181)](_0x79ae53(0x168)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x79ae53(0x1b7)](this['debuggee'],(_0x27a92a,_0x6df78c,_0x296cfc)=>{const _0x4e16d0=_0x79ae53;if(_0x296cfc?.[_0x4e16d0(0x194)]===0x194){this[_0x4e16d0(0x1ac)][_0x4e16d0(0x16d)](_0x4e16d0(0x239)),this['fetcherActive']=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x4e16d0(0x1ef)](this);this[_0x4e16d0(0x212)][_0x4e16d0(0x17a)]?.[_0x4e16d0(0x1a3)]?this[_0x4e16d0(0x214)](_0x4e16d0(0x19b)):this[_0x4e16d0(0x189)]();return;}if(_0x27a92a){if(this['config'][_0x4e16d0(0x17a)]?.['isLambda'])this['emit']('breakpoints_fetch_failed'),this[_0x4e16d0(0x1ac)][_0x4e16d0(0x1ed)]('\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20'+_0x296cfc?.['status']+'.\x20message:\x20'+_0x27a92a[_0x4e16d0(0x179)]);else{const _0x38eb9d=(0x0,utils_1['backoff'])(_0x2bf5b2,this[_0x4e16d0(0x212)][_0x4e16d0(0x17a)][_0x4e16d0(0x205)]);this[_0x4e16d0(0x1ac)][_0x4e16d0(0x1ed)](_0x4e16d0(0x199)+_0x296cfc?.[_0x4e16d0(0x194)]+_0x4e16d0(0x241)+_0x27a92a[_0x4e16d0(0x179)]+_0x4e16d0(0x131)+_0x38eb9d+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x38eb9d,_0x13806f,_0x305228);}return;}this[_0x4e16d0(0x1ac)][_0x4e16d0(0x181)]('\x09'+_0x296cfc[_0x4e16d0(0x194)]+_0x4e16d0(0x23f));if(!_0x6df78c){const _0x5d0ae9=this[_0x4e16d0(0x212)][_0x4e16d0(0x193)];this[_0x4e16d0(0x1ac)][_0x4e16d0(0x1ed)](_0x4e16d0(0x20c)+_0x5d0ae9+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4e16d0(0x1ef)](this,_0x5d0ae9,_0x13806f,_0x305228);return;}this[_0x4e16d0(0x135)](_0x6df78c['agentLogLevel']);if(_0x6df78c[_0x4e16d0(0x1b0)]){this[_0x4e16d0(0x1ac)]['info'](_0x4e16d0(0x19d)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x13806f,_0x305228);return;}if(_0x6df78c[_0x4e16d0(0x1b5)]&&_0x6df78c[_0x4e16d0(0x1b5)]!==_0x4e16d0(0x12c)){const _0x7f29db=this[_0x4e16d0(0x197)][_0x4e16d0(0x22d)];_0x7f29db!==_0x6df78c[_0x4e16d0(0x1b5)]&&(this[_0x4e16d0(0x1ac)]['debug'](_0x4e16d0(0x19e)+_0x7f29db+_0x4e16d0(0x1e8)+_0x6df78c['pipeLogs']),this[_0x4e16d0(0x197)][_0x4e16d0(0x22d)]=_0x6df78c[_0x4e16d0(0x1b5)]);}if(_0x6df78c['collectAndSendLog']&&_0x6df78c['collectLogRequestId']!==this[_0x4e16d0(0x13b)]){this[_0x4e16d0(0x13b)]=_0x6df78c[_0x4e16d0(0x13b)];const _0x28756c=this[_0x4e16d0(0x212)][_0x4e16d0(0x16c)][_0x4e16d0(0x23d)]&&path['join'](this[_0x4e16d0(0x212)]['agentLog'][_0x4e16d0(0x23d)],agent_logger_1[_0x4e16d0(0x1de)][_0x4e16d0(0x213)]);_0x28756c&&fs[_0x4e16d0(0x1aa)](_0x28756c)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4e16d0(0x1c9)](this[_0x4e16d0(0x1b9)],_0x6df78c[_0x4e16d0(0x13b)],_0x28756c)):this[_0x4e16d0(0x1ac)][_0x4e16d0(0x16d)](_0x4e16d0(0x20f)+_0x6df78c[_0x4e16d0(0x13b)]+_0x4e16d0(0x1f1)+_0x4e16d0(0x210));}const _0x453194=(_0x6df78c[_0x4e16d0(0x1b3)]||[])[_0x4e16d0(0x1a0)](_0x865bde=>new stackdriver_1[(_0x4e16d0(0x208))](_0x865bde))[_0x4e16d0(0x20b)](_0x9003d=>{const _0x103f52=_0x4e16d0,_0x3e5723=_0x9003d[_0x103f52(0x21e)]??'CAPTURE';if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x9003d['id']])return![];if(_0x3e5723!=='CAPTURE'&&_0x3e5723!=='LOG')return this[_0x103f52(0x1ac)]['warn'](_0x103f52(0x226),_0x3e5723),_0x9003d[_0x103f52(0x194)]=new status_message_1[(_0x103f52(0x23e))](status_message_1['StatusMessage'][_0x103f52(0x1c6)],utils_1[_0x103f52(0x1d1)][_0x103f52(0x162)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](this,_0x9003d),![];return!![];}),_0xb5865a=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](this);let _0x29249e=_0xb5865a[_0x4e16d0(0x170)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x4e16d0(0x1ef)](this,_0xb5865a),_0x29249e=_0x29249e||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x4e16d0(0x1ef)](this,_0x453194),this[_0x4e16d0(0x214)](_0x4e16d0(0x1f0),_0x453194[_0x4e16d0(0x170)]);_0x29249e&&this['logger'][_0x4e16d0(0x181)](formatBreakpoints(_0x4e16d0(0x1dd),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x4e16d0(0x18b)](),'f');_0x13806f?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4e16d0(0x198)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x13806f,_0x305228);return;},_0x305228);},_0x2bf5b2*0x3e8)[_0x49eea4(0x13a)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x4269bd=a18_0x3555c1;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4269bd(0x198)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x230658){const _0x269245=a18_0x3555c1,_0x7be54f=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)['call'](this,_0x230658);let _0x2ac139=![];return _0x230658[_0x269245(0x222)](_0x19a6f7=>{const _0x1a360b=_0x269245;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x19a6f7['id']]&&!this[_0x1a360b(0x13d)][_0x19a6f7['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](this,_0x19a6f7,_0x57b00b=>{const _0x1895cd=_0x1a360b;_0x57b00b&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1895cd(0x1ef)](this,_0x19a6f7,!![],![]);}),_0x2ac139=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x19a6f7['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1a360b(0x12f)](_0x19a6f7['id'],_0x19a6f7[_0x1a360b(0x171)]),this[_0x1a360b(0x197)][_0x1a360b(0x1e9)](_0x19a6f7['id'],_0x19a6f7[_0x1a360b(0x18c)]);}),(0x0,mapSubtract_1[_0x269245(0x1a5)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x7be54f)['forEach'](_0x126222=>{const {id:_0x1b4fdb}=_0x126222;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1b4fdb],_0x2ac139=!![];}),(0x0,mapSubtract_1[_0x269245(0x1a5)])(this[_0x269245(0x13d)],_0x7be54f)[_0x269245(0x222)](_0x46d740=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x46d740,!![]),_0x2ac139=!![];}),_0x2ac139&&this[_0x269245(0x1ac)]['debug'](formatBreakpoints(_0x269245(0x15b),_0x7be54f)),_0x2ac139;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x4f6ae2){const _0x54feea=a18_0x3555c1;return Object[_0x54feea(0x228)](_0x4f6ae2[_0x54feea(0x1a0)](_0x1d60f3=>[_0x1d60f3['id'],_0x1d60f3]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x209202,_0x35c8fd){const _0x53d270=a18_0x3555c1;this[_0x53d270(0x1ac)][_0x53d270(0x16d)](_0x53d270(0x185)+_0x209202['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x53d270(0x224)](_0x209202['id']),this[_0x53d270(0x197)]['removeBreakpoint'](_0x209202['id']),delete this[_0x53d270(0x13d)][_0x209202['id']],_0x35c8fd&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x209202,_0x37796a=>{const _0x492cf8=_0x53d270;if(_0x37796a)this[_0x492cf8(0x1ac)][_0x492cf8(0x1ed)](_0x37796a);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x369d9a,_0x22daf7){const _0x2f9921=a18_0x3555c1;this['logger'][_0x2f9921(0x16d)]('\x09adding\x20breakpoint',this[_0x2f9921(0x1d4)](_0x369d9a));if(!this[_0x2f9921(0x212)][_0x2f9921(0x163)]&&(_0x369d9a[_0x2f9921(0x1e2)]||_0x369d9a['expressions'])){this['logger'][_0x2f9921(0x1ed)](utils_1[_0x2f9921(0x1d1)][_0x2f9921(0x23c)][_0x2f9921(0x1b1)]??''),_0x369d9a[_0x2f9921(0x194)]=new status_message_1['StatusMessage'](status_message_1[_0x2f9921(0x23e)]['UNSPECIFIED'],utils_1['errors'][_0x2f9921(0x23c)],!![]),setImmediate(()=>{const _0x1093d6=_0x2f9921;_0x22daf7(utils_1['errors'][_0x1093d6(0x23c)]);});return;}const _0x13c8ea=_0x369d9a[_0x2f9921(0x18a)]?Number(_0x369d9a[_0x2f9921(0x18a)][_0x2f9921(0x203)]):Date[_0x2f9921(0x18b)]()/0x3e8,_0x5b0fee=_0x369d9a['expirationSeconds']??this[_0x2f9921(0x212)]['breakpointExpirationSec'];_0x369d9a['expirationTime']=_0x13c8ea+_0x5b0fee,_0x369d9a['location']?.[_0x2f9921(0x1e0)]&&(_0x369d9a[_0x2f9921(0x229)][_0x2f9921(0x1e0)]=path['normalize'](_0x369d9a[_0x2f9921(0x229)][_0x2f9921(0x1e0)]),path[_0x2f9921(0x240)]===path['posix'][_0x2f9921(0x240)]&&(_0x369d9a[_0x2f9921(0x229)][_0x2f9921(0x1e0)]=_0x369d9a[_0x2f9921(0x229)][_0x2f9921(0x1e0)][_0x2f9921(0x167)]('\x5c')[_0x2f9921(0x13e)](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x2f9921(0x169)](_0x369d9a,_0x5c0900=>{const _0x21c73b=_0x2f9921;if(_0x5c0900){_0x22daf7(_0x5c0900);return;}this[_0x21c73b(0x1ac)][_0x21c73b(0x16d)](_0x21c73b(0x1da)+_0x369d9a['id']),this[_0x21c73b(0x13d)][_0x369d9a['id']]=_0x369d9a,_0x369d9a[_0x21c73b(0x21e)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['log'](_0x369d9a,(_0x304aff,_0x3ec54f)=>{const _0x3269ef=_0x21c73b,_0x25a294=_0x3ec54f[_0x3269ef(0x1a0)](_0x2fa019=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3269ef(0x1ef)](this,_0x2fa019)),_0x325acf=(0x0,format_1[_0x3269ef(0x1d6)])(_0x304aff,_0x25a294),_0x4da348='LOGPOINT:\x20'+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3269ef(0x15e)](_0x325acf)??_0x325acf),_0x25a3b4=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3269ef(0x1a1)](_0x4da348,_0x369d9a['id']);if(_0x25a3b4){const _0x73ec83=_0x25a3b4['message'],{isOutOfQuota:_0x5adfb8}=_0x25a3b4;let _0x46f64a,_0x5f5c4e;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3269ef(0x15c)]()&&!_0x5adfb8&&(_0x46f64a=_0x3269ef(0x154)+_0x304aff,_0x5f5c4e=_0x25a294);this[_0x3269ef(0x197)][_0x3269ef(0x1cf)](this[_0x3269ef(0x1b9)],_0x369d9a['id'],_0x73ec83,_0x369d9a['logLevel'],_0x46f64a,_0x5f5c4e);if(_0x5adfb8)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x3269ef(0x22b)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x17336d=_0x3269ef;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x17336d(0x223)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x3269ef(0x212)][_0x3269ef(0x218)][_0x3269ef(0x1a6)]*0x3e8),'f');else _0x73ec83?.[_0x3269ef(0x170)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x369d9a['id']],_0x2b4f00=>{const _0x113dad=_0x21c73b;if(_0x2b4f00){this[_0x113dad(0x1ac)][_0x113dad(0x1ed)](_0x2b4f00),_0x22daf7(_0x2b4f00);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x21c73b(0x202)](_0x369d9a,_0x3c2dde=>{const _0x31d0be=_0x21c73b;if(_0x3c2dde){setImmediate(()=>{const _0x1e3aca=a18_0x641b;this['logger'][_0x1e3aca(0x1ed)](_0x3c2dde),_0x22daf7(_0x3c2dde);});return;}this['logger'][_0x31d0be(0x16d)](_0x31d0be(0x216)+_0x369d9a['id'],_0x369d9a[_0x31d0be(0x229)]?.['path'],_0x369d9a[_0x31d0be(0x229)]?.['line']),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x31d0be(0x1ef)](this,_0x369d9a,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x31d0be(0x164)](_0x369d9a['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x21c73b(0x1ef)](this,_0x369d9a);}),this[_0x2f9921(0x214)](_0x2f9921(0x15d));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x28d395,_0x5ce5d7,_0x2081d4=!![]){const _0x130d93=a18_0x3555c1;if(_0x28d395[_0x130d93(0x194)]?.[_0x130d93(0x16b)]){let _0x5dc840=_0x28d395['status']?.[_0x130d93(0x1b1)]?.[_0x130d93(0x1d6)]||'';_0x28d395[_0x130d93(0x194)]?.[_0x130d93(0x1b1)]?.[_0x130d93(0x136)]&&(_0x5dc840+=':\x20'+_0x28d395[_0x130d93(0x194)]?.[_0x130d93(0x1b1)]?.[_0x130d93(0x136)][_0x130d93(0x1ae)]()),this[_0x130d93(0x1ac)][_0x130d93(0x14a)](_0x130d93(0x1d8)+_0x28d395+_0x130d93(0x232)+_0x5dc840);}else this[_0x130d93(0x1ac)][_0x130d93(0x16d)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',this[_0x130d93(0x1d4)](_0x28d395));_0x5ce5d7&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x28d395['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x130d93(0x1ef)](this,_0x28d395,_0x2081d4)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x130d93(0x1ba)](this[_0x130d93(0x1b9)],extend(!![],{},_0x28d395));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x1daa97){const _0xb326e7=a18_0x3555c1;this[_0xb326e7(0x1ac)][_0xb326e7(0x181)]('reporting\x20breakpoint\x20'+_0x1daa97+_0xb326e7(0x234));const _0x3ce286=extend(!![],{},_0x1daa97);_0x3ce286['isFinalState']=![],_0x3ce286[_0xb326e7(0x194)]=new status_message_1[(_0xb326e7(0x23e))](status_message_1[_0xb326e7(0x23e)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0xb326e7(0x1b9)],_0x3ce286);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x423e6a){const _0x5deecc=a18_0x3555c1;this[_0x5deecc(0x1ac)][_0x5deecc(0x16d)](_0x5deecc(0x1ee)+_0x423e6a),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x423e6a['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5deecc(0x1ba)](this[_0x5deecc(0x1b9)],_0x423e6a);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x1997fb){const _0x328cd1=a18_0x3555c1;_0x1997fb[_0x328cd1(0x222)](_0x51d94a=>{const _0xd2be7b=_0x328cd1;this[_0xd2be7b(0x1ac)]['info'](_0xd2be7b(0x1c2)+_0x51d94a['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x51d94a['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x51d94a,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x53a16a=a18_0x3555c1,_0x34b83f=Date[_0x53a16a(0x18b)]()/0x3e8;return Object[_0x53a16a(0x17c)](this[_0x53a16a(0x13d)])[_0x53a16a(0x20b)](_0x1fa270=>_0x1fa270[_0x53a16a(0x182)]?_0x1fa270['expirationTime']<_0x34b83f:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x36124c){const _0x98446e=a18_0x3555c1,_0x13e130=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x98446e(0x1b8)](_0x36124c),_0x1597b7=_0x13e130[_0x98446e(0x142)],_0x4bf131=_0x13e130[_0x98446e(0x1fb)];_0x1597b7?.[_0x98446e(0x170)]&&this[_0x98446e(0x1ac)][_0x98446e(0x181)](_0x98446e(0x1cc),_0x1597b7['join']('\x0a\x09')),_0x4bf131?.[_0x98446e(0x170)]&&this['logger'][_0x98446e(0x181)](_0x98446e(0x145),_0x4bf131[_0x98446e(0x13e)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x98446e(0x1fd))](_0x1597b7,_0x4bf131,this[_0x98446e(0x212)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x369bc1){const _0x128585=a18_0x3555c1,_0x420909=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x128585(0x190)](_0x369bc1);_0x420909?.['length']&&this[_0x128585(0x1ac)]['debug'](_0x128585(0x1cb),_0x420909[_0x128585(0x1a0)](_0xbe972=>'name:\x20'+_0xbe972[_0x128585(0x21c)]+_0x128585(0x14c)+_0xbe972[_0x128585(0x19a)]+_0x128585(0x23b)+_0xbe972[_0x128585(0x138)]+_0x128585(0x1b4)+_0xbe972[_0x128585(0x133)])['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1['RedactionManagerRE2JS'](this[_0x128585(0x1ac)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x128585(0x174)](_0x420909);},_Debuglet_stringify=function _Debuglet_stringify(_0x5ccf35){const _0x48d86c=a18_0x3555c1;if(!_0x5ccf35)return JSON[_0x48d86c(0x166)](_0x5ccf35,(_0x398e2b,_0x327390)=>_0x327390===undefined?'undefined':_0x327390);if(Array[_0x48d86c(0x17d)](_0x5ccf35)){const _0x5d317b=_0x5ccf35['map'](_0x5bd08a=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x48d86c(0x1ef)](this,_0x5bd08a));return'['+_0x5d317b[_0x48d86c(0x13e)](',\x20')+']';}if(typeof _0x5ccf35==='object'){const _0x5d2110=Object[_0x48d86c(0x1e4)](_0x5ccf35)[_0x48d86c(0x1a0)](([_0x15014a,_0x2a9be6])=>{const _0xecddbe=_0x48d86c,_0x47eafb=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x15014a)?redaction_manager_1[_0xecddbe(0x1be)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0xecddbe(0x1ef)](this,_0x2a9be6);return JSON[_0xecddbe(0x166)](_0x15014a)+':\x20'+_0x47eafb;})[_0x48d86c(0x13e)](',\x20');return'{'+_0x5d2110+'}';}return JSON[_0x48d86c(0x166)](_0x5ccf35);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a19_0x12a82f=a19_0x4d53;(function(_0x16aa01,_0x34f11e){const _0x147915=a19_0x4d53,_0x37eb6e=_0x16aa01();while(!![]){try{const _0x499a09=-parseInt(_0x147915(0x17f))/0x1*(-parseInt(_0x147915(0x15f))/0x2)+-parseInt(_0x147915(0x185))/0x3*(-parseInt(_0x147915(0x182))/0x4)+parseInt(_0x147915(0x18b))/0x5+-parseInt(_0x147915(0x175))/0x6+-parseInt(_0x147915(0x174))/0x7*(parseInt(_0x147915(0x19e))/0x8)+parseInt(_0x147915(0x178))/0x9*(parseInt(_0x147915(0x17a))/0xa)+-parseInt(_0x147915(0x18a))/0xb;if(_0x499a09===_0x34f11e)break;else _0x37eb6e['push'](_0x37eb6e['shift']());}catch(_0x3a99ce){_0x37eb6e['push'](_0x37eb6e['shift']());}}}(a19_0x3420,0x2da59));Object[a19_0x12a82f(0x16c)](exports,a19_0x12a82f(0x162),{'value':!![]}),exports[a19_0x12a82f(0x160)]=void 0x0;function a19_0x4d53(_0x214127,_0x239964){const _0xf08289=a19_0x3420();return a19_0x4d53=function(_0x5cf8b3,_0x490928){_0x5cf8b3=_0x5cf8b3-0x15f;let _0x342096=_0xf08289[_0x5cf8b3];return _0x342096;},a19_0x4d53(_0x214127,_0x239964);}const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x12a82f(0x195));var OS;(function(_0x586f16){const _0x27b098=a19_0x12a82f,_0x447b73=(function(){let _0x21428b=!![];return function(_0x5ae249,_0x3cb9cf){const _0x2ae8fc=_0x21428b?function(){if(_0x3cb9cf){const _0x3cd608=_0x3cb9cf['apply'](_0x5ae249,arguments);return _0x3cb9cf=null,_0x3cd608;}}:function(){};return _0x21428b=![],_0x2ae8fc;};}()),_0x42ce90=_0x447b73(this,function(){const _0x5c443a=a19_0x4d53;return _0x42ce90[_0x5c443a(0x18c)]()[_0x5c443a(0x190)](_0x5c443a(0x19f))[_0x5c443a(0x18c)]()[_0x5c443a(0x16e)](_0x42ce90)[_0x5c443a(0x190)](_0x5c443a(0x19f));});_0x42ce90(),_0x586f16['Linux']=_0x27b098(0x168),_0x586f16['Windows']='windows',_0x586f16[_0x27b098(0x188)]=_0x27b098(0x1a0);}(OS||(OS={})));function a19_0x3420(){const _0x39ddcf=['4932125mLiZxb','817585UVVgeO','toString','\x20on\x20','x32','totalmem','search','cpuCoreCount','host','release','get','assert','warn','KUBERNETES_SERVICE_HOST','arm','runtimeEnvironmentVersion','/.dockerenv','platform','getProps','forEach','56512KbPEsa','(((.+)+)+)+$','mac','env','versions','Node.js\x20','61848DwTijL','EnvironmentMetadata','_cachedOsRelease','__esModule','arch','VERSION_ID','split','_osRelease','replace','linux','Linux','x64','utf-8','defineProperty','version','constructor','match','existsSync','/etc/os-release','linuxDistroName','hostname','91azoAck','460752wlFwqa','agentOS','isInK8s','432tbzfoF','isInDocker','61560nJhMty','_logger','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','error','set','3gdIJZV','node','arm64','24604goZBeZ','runtimeEnvironmentInfo','cpus','123bWNmXw','pid','Windows','MacOS','osVersion'];a19_0x3420=function(){return _0x39ddcf;};return a19_0x3420();}var ProcArch;(function(_0x6910a0){const _0x500580=a19_0x12a82f;_0x6910a0[_0x500580(0x16a)]=_0x500580(0x16a),_0x6910a0[_0x500580(0x18e)]=_0x500580(0x18e),_0x6910a0['arm']=_0x500580(0x198),_0x6910a0[_0x500580(0x181)]=_0x500580(0x181);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS[a19_0x12a82f(0x187)],'darwin':OS[a19_0x12a82f(0x188)]},ArchToProcArchMap={'x32':ProcArch['x32'],'x64':ProcArch[a19_0x12a82f(0x16a)],'arm':ProcArch[a19_0x12a82f(0x198)],'arm64':ProcArch['arm64']};class EnvironmentMetadata{constructor(_0x8b22f7){assert(_0x8b22f7!==null),this['_logger']=_0x8b22f7;}get[a19_0x12a82f(0x199)](){const _0x58babd=a19_0x12a82f;try{const _0x1eb702=process[_0x58babd(0x1a2)][_0x58babd(0x180)][_0x58babd(0x16f)](/(\d+\.\d+)\..*/);if(_0x1eb702)return _0x1eb702[0x1];}catch(_0x53887b){this[_0x58babd(0x17b)][_0x58babd(0x17d)](_0x53887b);}return;}get['runtimeEnvironmentInfo'](){const _0x3da971=a19_0x12a82f;return _0x3da971(0x1a3)+process[_0x3da971(0x16d)]+_0x3da971(0x18d)+(0x0,os_1[_0x3da971(0x19b)])()+'\x20'+(0x0,os_1[_0x3da971(0x193)])();}get[a19_0x12a82f(0x186)](){return process['pid']['toString']();}get['procArch'](){const _0x46e819=a19_0x12a82f;return ArchToProcArchMap[process[_0x46e819(0x163)]]||process[_0x46e819(0x163)];}get[a19_0x12a82f(0x191)](){const _0x6894b7=a19_0x12a82f;return(0x0,os_1[_0x6894b7(0x184)])()['length'];}get['systemTotalMemoryBytes'](){const _0x1c578f=a19_0x12a82f;return(0x0,os_1[_0x1c578f(0x18f)])();}get[a19_0x12a82f(0x192)](){const _0xcd01ad=a19_0x12a82f;return(0x0,os_1[_0xcd01ad(0x173)])();}get[a19_0x12a82f(0x176)](){const _0x1f2317=a19_0x12a82f;return PlatformToOsMap[(0x0,os_1[_0x1f2317(0x19b)])()]||(0x0,os_1[_0x1f2317(0x19b)])();}get[a19_0x12a82f(0x189)](){const _0x30a5e2=a19_0x12a82f;try{if(this[_0x30a5e2(0x176)]===OS[_0x30a5e2(0x169)])return this['_osRelease'][_0x30a5e2(0x194)](_0x30a5e2(0x164))??(0x0,os_1['release'])();return(0x0,os_1[_0x30a5e2(0x193)])();}catch(_0x55b824){this[_0x30a5e2(0x17b)][_0x30a5e2(0x17d)](_0x55b824);}return;}get[a19_0x12a82f(0x172)](){const _0x2bbd77=a19_0x12a82f;return this['agentOS']===OS['Linux']&&this[_0x2bbd77(0x166)][_0x2bbd77(0x194)]('ID')||'';}get['isInDocker'](){const _0x5bcf65=a19_0x12a82f;return this[_0x5bcf65(0x176)]===OS[_0x5bcf65(0x169)]?(0x0,fs_1[_0x5bcf65(0x170)])(_0x5bcf65(0x19a)):![];}get[a19_0x12a82f(0x177)](){const _0x2762b7=a19_0x12a82f;return!!process[_0x2762b7(0x1a1)][_0x2762b7(0x197)];}get[a19_0x12a82f(0x166)](){const _0x130d5a=a19_0x12a82f;if(!this[_0x130d5a(0x161)]){this['_cachedOsRelease']=new Map();try{if(this['agentOS']===OS['Linux']){const _0x562d39=(0x0,fs_1['readFileSync'])(_0x130d5a(0x171),_0x130d5a(0x16b));_0x562d39[_0x130d5a(0x165)](/\r?\n/)[_0x130d5a(0x19d)](_0x592e27=>{const _0x3c035a=_0x130d5a,[_0x2af98e,_0x4970ce]=_0x592e27['trim']()[_0x3c035a(0x165)]('=');this[_0x3c035a(0x161)]?.[_0x3c035a(0x17e)](_0x2af98e,_0x4970ce?.[_0x3c035a(0x167)](/^"|"$/g,'')||'');});}}catch(_0x4dcb0f){this[_0x130d5a(0x17b)][_0x130d5a(0x196)](_0x130d5a(0x17c),_0x4dcb0f);}}return this[_0x130d5a(0x161)];}[a19_0x12a82f(0x19c)](){const _0x2326a8=a19_0x12a82f;return{'runtimeEnvironmentVersion':this[_0x2326a8(0x199)],'runtimeEnvironmentInfo':this[_0x2326a8(0x183)],'pid':this[_0x2326a8(0x186)],'cpuCoreCount':this[_0x2326a8(0x191)],'systemTotalMemoryBytes':this['systemTotalMemoryBytes'],'host':this[_0x2326a8(0x192)],'agentOS':this[_0x2326a8(0x176)],'osVersion':this[_0x2326a8(0x189)],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x2326a8(0x179)],'isInK8s':this[_0x2326a8(0x177)],'procArch':this['procArch']};}}exports[a19_0x12a82f(0x160)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x469ca3=a20_0x5192;(function(_0x4bb52e,_0x1a746f){const _0x2327f7=a20_0x5192,_0x3d6389=_0x4bb52e();while(!![]){try{const _0x2c3a29=parseInt(_0x2327f7(0x97))/0x1*(parseInt(_0x2327f7(0x8e))/0x2)+-parseInt(_0x2327f7(0x9b))/0x3*(-parseInt(_0x2327f7(0x96))/0x4)+parseInt(_0x2327f7(0x84))/0x5*(parseInt(_0x2327f7(0x95))/0x6)+parseInt(_0x2327f7(0x8a))/0x7*(-parseInt(_0x2327f7(0x90))/0x8)+-parseInt(_0x2327f7(0x99))/0x9+-parseInt(_0x2327f7(0x9e))/0xa+parseInt(_0x2327f7(0x88))/0xb;if(_0x2c3a29===_0x1a746f)break;else _0x3d6389['push'](_0x3d6389['shift']());}catch(_0x24e641){_0x3d6389['push'](_0x3d6389['shift']());}}}(a20_0xa32b,0x75d54));const a20_0x1db808=(function(){let _0x19feea=!![];return function(_0x1e07b3,_0x4722a7){const _0xf9e419=_0x19feea?function(){const _0x1e0660=a20_0x5192;if(_0x4722a7){const _0x50fe79=_0x4722a7[_0x1e0660(0x89)](_0x1e07b3,arguments);return _0x4722a7=null,_0x50fe79;}}:function(){};return _0x19feea=![],_0xf9e419;};}()),a20_0x43659a=a20_0x1db808(this,function(){const _0x5a1fd2=a20_0x5192;return a20_0x43659a[_0x5a1fd2(0x8c)]()[_0x5a1fd2(0xa3)](_0x5a1fd2(0xa0))[_0x5a1fd2(0x8c)]()[_0x5a1fd2(0x83)](a20_0x43659a)[_0x5a1fd2(0xa3)]('(((.+)+)+)+$');});a20_0x43659a();function a20_0xa32b(){const _0x197a54=['fileIndex','2534772afKnaJ','442824sYlect','700903bShbRJ','substring','1825281aZuKdL','fileStats','6Mqpzdr','keys','add','5126860ZVPueQ','fromFileStats','(((.+)+)+)+$','sep','get','search','generateSubPaths','fromFileList','includes','length','constructor','5DETWfx','size','stripStartingSep','path','5192594JacoQu','apply','1082711xduXwm','filter','toString','FileIndex','2ApzOKe','buildIndex','32CjcpmP','_fileStats','has','startsWith'];a20_0xa32b=function(){return _0x197a54;};return a20_0xa32b();}'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a20_0x469ca3(0x8d)]=void 0x0;const path=require(a20_0x469ca3(0x87));class FileIndex{constructor(_0xc3eaa2){const _0x5535a0=a20_0x469ca3;this[_0x5535a0(0x91)]=_0xc3eaa2,this[_0x5535a0(0x94)]=new Map();}static[a20_0x469ca3(0x9f)](_0x2efcbf){const _0x3d600b=a20_0x469ca3,_0x26dd79=new FileIndex(_0x2efcbf);return _0x26dd79[_0x3d600b(0x8f)](Object[_0x3d600b(0x9c)](_0x2efcbf)||[]),_0x26dd79;}static[a20_0x469ca3(0x80)](_0x4a4daf){const _0x36e587=new FileIndex(undefined);return _0x36e587['buildIndex'](_0x4a4daf||[]),_0x36e587;}get[a20_0x469ca3(0x9a)](){const _0x49a80e=a20_0x469ca3;return this[_0x49a80e(0x91)]??{};}['findShortestFuzzyMatches'](_0x2438c9){const _0x5f1feb=a20_0x469ca3,_0x23e8f3=this['search'](_0x2438c9);if(!_0x23e8f3||_0x23e8f3[_0x5f1feb(0x85)]===0x0)return[];const _0x2ef2ba=[..._0x23e8f3]['map'](_0x15cee3=>_0x15cee3[_0x5f1feb(0x82)]),_0x227759=Math['min'](..._0x2ef2ba),_0x2f3e7f=[..._0x23e8f3][_0x5f1feb(0x8b)](_0x2adc7b=>_0x2adc7b[_0x5f1feb(0x82)]===_0x227759);return _0x2f3e7f;}['buildIndex'](_0x583997){const _0x4218bb=a20_0x469ca3;for(const _0x20d35a of _0x583997){for(const _0x42cce2 of this[_0x4218bb(0xa4)](_0x20d35a)){let _0x3fec96=this[_0x4218bb(0x94)][_0x4218bb(0xa2)](_0x42cce2);_0x3fec96===undefined&&(_0x3fec96=new Set(),this[_0x4218bb(0x94)]['set'](_0x42cce2,_0x3fec96)),_0x3fec96[_0x4218bb(0x9d)](_0x20d35a);}}}['generateSubPaths'](_0x33a055){const _0x123e01=a20_0x469ca3;_0x33a055=this[_0x123e01(0x86)](_0x33a055);const _0x490c33=[_0x33a055];while(_0x33a055[_0x123e01(0x81)](path[_0x123e01(0xa1)])){_0x33a055=_0x33a055[_0x123e01(0x98)](_0x33a055['indexOf'](path[_0x123e01(0xa1)])+path[_0x123e01(0xa1)][_0x123e01(0x82)],_0x33a055[_0x123e01(0x82)]),_0x490c33['push'](_0x33a055);}return _0x490c33;}[a20_0x469ca3(0xa3)](_0x3e96c6){const _0x4ef60a=a20_0x469ca3;if(!_0x3e96c6)return undefined;_0x3e96c6=this[_0x4ef60a(0x86)](_0x3e96c6);for(const _0x970e of this[_0x4ef60a(0xa4)](_0x3e96c6)){if(this[_0x4ef60a(0x94)][_0x4ef60a(0x92)](_0x970e))return this[_0x4ef60a(0x94)][_0x4ef60a(0xa2)](_0x970e);}return undefined;}[a20_0x469ca3(0x86)](_0x309131){const _0x1641ef=a20_0x469ca3;if(_0x309131&&(_0x309131[_0x1641ef(0x93)]('/')||_0x309131[_0x1641ef(0x93)]('\x5c')))return _0x309131['substr'](0x1);return _0x309131;}}function a20_0x5192(_0xfe6ea3,_0x1cc67b){const _0x1229b3=a20_0xa32b();return a20_0x5192=function(_0x43659a,_0x1db808){_0x43659a=_0x43659a-0x80;let _0xa32b53=_0x1229b3[_0x43659a];return _0xa32b53;},a20_0x5192(_0xfe6ea3,_0x1cc67b);}exports[a20_0x469ca3(0x8d)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x3db868=a21_0x5bba;(function(_0x2fb608,_0x1dd0c5){const _0x2b1f62=a21_0x5bba,_0x469e1b=_0x2fb608();while(!![]){try{const _0x561ed5=-parseInt(_0x2b1f62(0xe6))/0x1+parseInt(_0x2b1f62(0xd7))/0x2+parseInt(_0x2b1f62(0xcf))/0x3+-parseInt(_0x2b1f62(0xd0))/0x4+parseInt(_0x2b1f62(0xe8))/0x5*(parseInt(_0x2b1f62(0xde))/0x6)+parseInt(_0x2b1f62(0xdb))/0x7+parseInt(_0x2b1f62(0xdd))/0x8;if(_0x561ed5===_0x1dd0c5)break;else _0x469e1b['push'](_0x469e1b['shift']());}catch(_0x6c36f){_0x469e1b['push'](_0x469e1b['shift']());}}}(a21_0x2e76,0x5f4ff));function a21_0x5bba(_0xe45566,_0x1c4a61){const _0x1abb9c=a21_0x2e76();return a21_0x5bba=function(_0x31cbaf,_0x3e66cf){_0x31cbaf=_0x31cbaf-0xcc;let _0x2e76ec=_0x1abb9c[_0x31cbaf];return _0x2e76ec;},a21_0x5bba(_0xe45566,_0x1c4a61);}const a21_0x3e66cf=(function(){let _0x195175=!![];return function(_0x34cd0a,_0x212604){const _0x3cc075=_0x195175?function(){const _0xb7e970=a21_0x5bba;if(_0x212604){const _0x7a9f0a=_0x212604[_0xb7e970(0xd5)](_0x34cd0a,arguments);return _0x212604=null,_0x7a9f0a;}}:function(){};return _0x195175=![],_0x3cc075;};}()),a21_0x31cbaf=a21_0x3e66cf(this,function(){const _0x5e4cac=a21_0x5bba;return a21_0x31cbaf[_0x5e4cac(0xd6)]()[_0x5e4cac(0xe1)](_0x5e4cac(0xe2))[_0x5e4cac(0xd6)]()[_0x5e4cac(0xd9)](a21_0x31cbaf)[_0x5e4cac(0xe1)](_0x5e4cac(0xe2));});function a21_0x2e76(){const _0x297564=['test','567894umubwp','2596460PEmpYi','filter','stats','selectStats','keys','apply','toString','869744vHkXHI','selectFiles','constructor','replace','913304SqMHyc','map','6008808oAqdpg','1233186spJgjm','normalize','forEach','search','(((.+)+)+)+$','sep','all','defineProperty','671760JxzKHj','path','5ChTOCU','__esModule','ScanResultsImpl','errorMap'];a21_0x2e76=function(){return _0x297564;};return a21_0x2e76();}a21_0x31cbaf();'use strict';Object[a21_0x3db868(0xe5)](exports,a21_0x3db868(0xe9),{'value':!![]}),exports[a21_0x3db868(0xcc)]=void 0x0;const path=require(a21_0x3db868(0xe7));class ScanResultsImpl{constructor(_0x236ec0,_0x408baf,_0x358ffe){const _0x548810=a21_0x3db868;this['stats']=_0x236ec0,this[_0x548810(0xcd)]=_0x408baf,this['hash']=_0x358ffe;}['errors'](){const _0x10b835=a21_0x3db868;return this[_0x10b835(0xcd)];}[a21_0x3db868(0xe4)](){return this['stats'];}[a21_0x3db868(0xd3)](_0xbfcb2){const _0x5a0ef3=a21_0x3db868,_0x1cdcac={};return Object[_0x5a0ef3(0xd4)](this[_0x5a0ef3(0xd2)])[_0x5a0ef3(0xe0)](_0x461282=>{const _0x30f5e2=_0x5a0ef3;_0xbfcb2[_0x30f5e2(0xce)](_0x461282)&&(_0x1cdcac[_0x461282]=this[_0x30f5e2(0xd2)][_0x461282]);}),_0x1cdcac;}[a21_0x3db868(0xd8)](_0x177edb,_0xe7ff9a){const _0x2084ad=a21_0x3db868;return _0xe7ff9a=path[_0x2084ad(0xdf)](_0xe7ff9a+path[_0x2084ad(0xe3)]),Object['keys'](this[_0x2084ad(0xd2)])[_0x2084ad(0xd1)](_0x295534=>_0x295534&&_0x177edb[_0x2084ad(0xce)](_0x295534))[_0x2084ad(0xdc)](_0x407ac8=>path['normalize'](_0x407ac8)[_0x2084ad(0xda)](_0xe7ff9a,''));}}exports[a21_0x3db868(0xcc)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x3b83b9=a22_0x16cb;(function(_0x28cbbe,_0x54e4f6){const _0x5e22c1=a22_0x16cb,_0x4a288d=_0x28cbbe();while(!![]){try{const _0x4ebf5f=parseInt(_0x5e22c1(0xc5))/0x1+-parseInt(_0x5e22c1(0xc3))/0x2*(parseInt(_0x5e22c1(0xdc))/0x3)+parseInt(_0x5e22c1(0xe5))/0x4*(-parseInt(_0x5e22c1(0xd8))/0x5)+parseInt(_0x5e22c1(0xcb))/0x6+-parseInt(_0x5e22c1(0xea))/0x7*(parseInt(_0x5e22c1(0xe6))/0x8)+-parseInt(_0x5e22c1(0xd9))/0x9*(-parseInt(_0x5e22c1(0xde))/0xa)+parseInt(_0x5e22c1(0xcc))/0xb*(parseInt(_0x5e22c1(0xe0))/0xc);if(_0x4ebf5f===_0x54e4f6)break;else _0x4a288d['push'](_0x4a288d['shift']());}catch(_0x5dbc8f){_0x4a288d['push'](_0x4a288d['shift']());}}}(a22_0x2f39,0x6916a));const a22_0x448043=(function(){let _0x31c4d7=!![];return function(_0x308bbd,_0x45cd63){const _0x2b9332=_0x31c4d7?function(){const _0x549939=a22_0x16cb;if(_0x45cd63){const _0x25ab99=_0x45cd63[_0x549939(0xc6)](_0x308bbd,arguments);return _0x45cd63=null,_0x25ab99;}}:function(){};return _0x31c4d7=![],_0x2b9332;};}()),a22_0x32159a=a22_0x448043(this,function(){const _0x34085b=a22_0x16cb;return a22_0x32159a['toString']()[_0x34085b(0xdb)](_0x34085b(0xee))['toString']()[_0x34085b(0xbf)](a22_0x32159a)[_0x34085b(0xdb)](_0x34085b(0xee));});a22_0x32159a();'use strict';Object[a22_0x3b83b9(0xf6)](exports,a22_0x3b83b9(0xe8),{'value':!![]}),exports[a22_0x3b83b9(0xd7)]=void 0x0;function a22_0x16cb(_0x4cd89b,_0xa3ff8c){const _0x2c0536=a22_0x2f39();return a22_0x16cb=function(_0x32159a,_0x448043){_0x32159a=_0x32159a-0xbc;let _0x2f3945=_0x2c0536[_0x32159a];return _0x2f3945;},a22_0x16cb(_0x4cd89b,_0xa3ff8c);}const crypto=require('crypto'),fs=require('fs'),path=require(a22_0x3b83b9(0xe7)),scan_results_1=require(a22_0x3b83b9(0xeb));class Scanner{constructor(_0x1ba6ed){const _0x1278c8=a22_0x3b83b9;this[_0x1278c8(0xc4)]=_0x1ba6ed;}async[a22_0x3b83b9(0xf3)](_0x1748d1,_0x161135,_0x25c92b,_0x1484a2){const _0x3db1bc=a22_0x3b83b9,_0x1eb359=await this[_0x3db1bc(0xd1)](_0x1748d1,_0x161135,_0x1484a2);return this[_0x3db1bc(0xe4)](_0x1eb359,_0x25c92b);}async['computeStats'](_0x1972c5,_0x5ca32e){const _0x36eeae=a22_0x3b83b9;if(_0x1972c5[_0x36eeae(0xe9)]===0x0)return new scan_results_1[(_0x36eeae(0xdf))]({},new Map(),_0x36eeae(0xed));const _0x59cdf6=[],_0x422169={},_0x128be2=new Map();for(const _0x51ab75 of _0x1972c5){try{const _0x9cb800=await this[_0x36eeae(0xd2)](_0x51ab75,!_0x5ca32e);!_0x5ca32e&&_0x59cdf6[_0x36eeae(0xf1)](_0x9cb800[_0x36eeae(0xf4)]),_0x422169[_0x51ab75]=_0x9cb800;}catch(_0x40b981){_0x128be2[_0x36eeae(0xdd)](_0x51ab75,_0x40b981);}}let _0xf799e5;if(!_0x5ca32e){const _0x156c75=_0x59cdf6[_0x36eeae(0xf5)]()[_0x36eeae(0xd0)](),_0x1d9af1=crypto[_0x36eeae(0xd3)]('sha1')[_0x36eeae(0xf2)](_0x156c75)[_0x36eeae(0xf0)]('hex');_0xf799e5='SHA1-'+_0x1d9af1;}else _0xf799e5=_0x5ca32e;return new scan_results_1[(_0x36eeae(0xdf))](_0x422169,_0x128be2,_0xf799e5);}async[a22_0x3b83b9(0xd1)](_0x1aa578,_0xcb3dac,_0x49e264){const _0x21d4ab=a22_0x3b83b9,_0x10f140=new Set();await this[_0x21d4ab(0xbc)](_0x10f140,_0x1aa578,_0xcb3dac);for(const _0x346e86 of _0x49e264??[]){if(_0x346e86){const _0x5a5465=path[_0x21d4ab(0xd5)](_0x346e86);try{await this['addFilesFromDir'](_0x10f140,_0x5a5465,_0xcb3dac);}catch(_0x471ef5){this['logger']['error']('Specified\x20extraPaths\x20does\x20not\x20exist!',_0x471ef5);}}}return Array[_0x21d4ab(0xef)](_0x10f140);}static['hasReadAccess'](_0x97fc05){const _0x710209=a22_0x3b83b9;try{return fs[_0x710209(0xda)](_0x97fc05,fs[_0x710209(0xc2)]['R_OK']),!![];}catch{return![];}}async[a22_0x3b83b9(0xbc)](_0x204d18,_0x24a987,_0x309a92){return new Promise((_0x33d634,_0x2c63f7)=>{const _0x2fa84b=a22_0x16cb;let _0x208773;if(!_0x24a987){_0x2c63f7(new Error(_0x2fa84b(0xbe)));return;}this[_0x2fa84b(0xc4)]['info'](_0x2fa84b(0xd4)+path[_0x2fa84b(0xd5)](_0x24a987));const _0x205367=findit(_0x24a987);_0x205367['on'](_0x2fa84b(0xbd),_0xbc243f=>{_0x208773=_0xbc243f;return;}),_0x205367['on'](_0x2fa84b(0xe3),(_0x671b36,_0x628351,_0x1f951b)=>{const _0x1e4382=_0x2fa84b,_0x2e14be=path[_0x1e4382(0xd6)](_0x671b36);!Scanner[_0x1e4382(0xcf)](_0x671b36)&&(this['logger']['warn']('can\x27t\x20access\x20path:\x20['+_0x671b36+'],\x20due\x20to\x20lack\x20of\x20read\x20permissions'),_0x1f951b()),(_0x2e14be===_0x1e4382(0xcd)||_0x2e14be===_0x1e4382(0xc8))&&(!path[_0x1e4382(0xd5)](_0x24a987)[_0x1e4382(0xe2)](path[_0x1e4382(0xd5)](_0x671b36))&&_0x1f951b());}),_0x205367['on'](_0x2fa84b(0xc7),_0x569748=>{const _0x53a94f=_0x2fa84b;_0x309a92['test'](_0x569748)&&_0x204d18[_0x53a94f(0xc9)](_0x569748);}),_0x205367['on']('end',()=>{_0x208773?_0x2c63f7(_0x208773):_0x33d634();});});}async['statsForFile'](_0x481707,_0x1082fa){return new Promise((_0x5d4c99,_0x3ad572)=>{const _0x54577d=a22_0x16cb,_0x474b24=fs[_0x54577d(0xca)](_0x481707);_0x474b24['on'](_0x54577d(0xbd),_0x127633=>{_0x3ad572(_0x127633);}),_0x474b24['on'](_0x54577d(0xc0),()=>{const _0x3ee0d1=_0x54577d;let _0x4cc6c2;_0x1082fa&&(_0x4cc6c2=crypto['createHash'](_0x3ee0d1(0xce)));let _0x1c6f80=0x0,_0x2611fc;const _0x35041a=_0x474b24['pipe'](split());_0x35041a['on'](_0x3ee0d1(0xbd),_0x5516f1=>{_0x2611fc=_0x5516f1;}),_0x35041a['on'](_0x3ee0d1(0xc1),_0x3a49b5=>{const _0x20cd1e=_0x3ee0d1;_0x1082fa&&_0x4cc6c2[_0x20cd1e(0xf2)](_0x3a49b5),_0x1c6f80++;}),_0x35041a['on']('end',()=>{const _0x3b16e7=_0x3ee0d1;if(_0x2611fc)_0x3ad572(_0x2611fc);else{const _0x573029=_0x1082fa?_0x4cc6c2['digest'](_0x3b16e7(0xec)):undefined;_0x5d4c99({'hash':_0x573029,'lines':_0x1c6f80});}});});});}}function a22_0x2f39(){const _0x39a61e=['3097464fHPczU','1298dJzAnl','.git','sha1','hasReadAccess','join','findFiles','statsForFile','createHash','Indexing\x20files\x20in\x20','resolve','basename','Scanner','19060sPoRgn','1779489onfQjn','accessSync','search','748596NVTNYl','set','10PTptMM','ScanResultsImpl','18612rKtKqd','split','startsWith','directory','computeStats','556RkupIW','40wyFoqy','path','__esModule','length','132895avchqq','./scan-results','hex','EMPTY-no-js-files','(((.+)+)+)+$','from','digest','push','update','scan','hash','sort','defineProperty','addFilesFromDir','error','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','constructor','open','data','constants','2zaJLap','logger','407784EXoqOR','apply','file','node_modules','add','createReadStream'];a22_0x2f39=function(){return _0x39a61e;};return a22_0x2f39();}exports[a22_0x3b83b9(0xd7)]=Scanner;const findit=require('findit2'),split=require(a22_0x3b83b9(0xe1));
|