lightrun 1.29.0 → 1.31.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/README.md +1 -1
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +11 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x599a9f=a17_0x4369;(function(_0x14bf46,_0x9e8130){const _0x19c6e1=a17_0x4369,_0x409c7e=_0x14bf46();while(!![]){try{const _0x3bf80c=parseInt(_0x19c6e1(0x184))/0x1+parseInt(_0x19c6e1(0x14a))/0x2*(-parseInt(_0x19c6e1(0xaf))/0x3)+-parseInt(_0x19c6e1(0x155))/0x4*(parseInt(_0x19c6e1(0xdb))/0x5)+parseInt(_0x19c6e1(0x10c))/0x6*(-parseInt(_0x19c6e1(0x17b))/0x7)+parseInt(_0x19c6e1(0xf6))/0x8+-parseInt(_0x19c6e1(0xe1))/0x9+parseInt(_0x19c6e1(0xff))/0xa;if(_0x3bf80c===_0x9e8130)break;else _0x409c7e['push'](_0x409c7e['shift']());}catch(_0x202326){_0x409c7e['push'](_0x409c7e['shift']());}}}(a17_0x4de1,0xd8191));const a17_0x30d98f=(function(){let _0x3dd67c=!![];return function(_0x14f8fb,_0x544a09){const _0x307507=_0x3dd67c?function(){const _0x507b4c=a17_0x4369;if(_0x544a09){const _0x3923e0=_0x544a09[_0x507b4c(0x186)](_0x14f8fb,arguments);return _0x544a09=null,_0x3923e0;}}:function(){};return _0x3dd67c=![],_0x307507;};}()),a17_0x4c0b3d=a17_0x30d98f(this,function(){const _0x35e1ff=a17_0x4369;return a17_0x4c0b3d['toString']()[_0x35e1ff(0x19c)](_0x35e1ff(0x156))[_0x35e1ff(0x11e)]()[_0x35e1ff(0xb0)](a17_0x4c0b3d)[_0x35e1ff(0x19c)](_0x35e1ff(0x156));});a17_0x4c0b3d();function a17_0x4de1(){const _0x3c50ab=['\x20caseInsensitive:\x20','\x09successfully\x20added\x20breakpoint','./piping-manager','attributes/cluster-name','value','action','39854330wSMuhJ','mapFiles','location','setIgnoreQuota','\x09remove\x20breakpoint','enqueueBreakpointUpdate','promise','description','format','Debuglet','stdErrThreshold','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','error','3233046moGKZd','env','resolve','removePerBreakpointQuota','values','default','filter','SIGINT','filename','keys','Unique\x20ID\x20for\x20this\x20Application:\x20','scan','workingDirectory','satisfies','call','isReadyManager','assert','function','toString','config','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','info','CAPTURE','Error\x20scanning\x20the\x20filesystem.','Failed\x20to\x20re-register\x20debuggee\x20','Switching\x20globalPiping\x20status\x20from\x20','now','expressions','length','GAE-','path','blacklist_exception','wait','./environment-metadata','APP_ONLY','started','replaceRedactedByValue','quotaCheck','forEach','createTime','shouldRedactByName','StatusMessage','Working\x20directory:\x20','getProps','Scanner','quota','instance','./configuration-provider','FileIndex','\x0a\x09createdTime:\x20','./util/utils','>=12','pipeLogs','EventEmitter','fetcherActive','.\x20Retrying\x20in\x20','../types/stackdriver','addAndPipeLog','isDisabled','events','isOutOfQuota','PatternsBlocklistManager','498572umFTiM','getRedactions','Active\x20Breakpoints:\x20\x0a','Blacklist\x20Exceptions:\x20\x0a\x09','selectStats','sep','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','breakpointExpirationSec','Breakpoint','existsSync','100cDlRAJ','(((.+)+)+)+$','expirationTime','ConfigurationProvider','concat','backoff','warn','./debuglet-helpers/createDebuggee','javascriptFileExtensions','createPerBreakpointConditionQuota','./config','seconds','initError','internal','Server\x20breakpoints:\x0a','Registering\x20debuggee','set','getMaxSnapshotBufferSize','cwd','message','defineProperty','./controller','isRunning','breakpoints','utf8','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','emit','Breakpoint\x20hit!:\x20','BREAKPOINT_ACTION_MESSAGE','map','./debuglet-helpers/format','__classPrivateFieldSet','maxRequestRetryDelaySeconds','debug','\x09Got\x20error\x20from\x20server.\x20status:\x20','PipingManager','UNSPECIFIED','create','14jkawiG','unref','createDebuggee','./quota-manager','Redactions:\x20\x0a\x09','breakpoint_set','reporting\x20breakpoint\x20','AGENT_LOG_FILE','LOG','409700EMktPq','hash','apply','allowRootAsWorkingDirectory','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','parameters','LOGPOINT:\x20','getBlocklist','.\x20Error:\x20','promiseResolve','NOT_SET','blacklist','./blocklisting/patterns-blocklist-manager','object','\x20to\x20','inspect','isFinalState','data','quotaRecoverySeconds','activeBreakpointMap','SIGTERM','sourceContext','remainingHits','debuglet','search','entries','./io/sourcemapper','parse','then','logsPath','split','GAE_MINOR_VERSION','./debuglet-helpers/mapSubtract','pattern','logger','pipingManager','condition','push','disable','\x09adding\x20breakpoint','18EvqmrY','constructor','stringify','remotelyDisabled','createLogger','rejecting\x20breakpoint','ALLOW_EXPRESSIONS_MESSAGE','getSourceContextFromFile','isReady','replace','registered','isArray','mapSubtract','pipingStatus','./debuglet-helpers/normalizeConfig','expirationSeconds','join','readFile','agentLog','.\x20message:\x20','ignoreQuota','__esModule','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','posix','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','./reduction/redaction-manager','Scheduling\x20registration\x20in\x20','collectLogRequestId','removeBreakpoint','Private\x20method\x20is\x20not\x20writable','globalPipingStatus','normalize','Fetching\x20breakpoints','listBreakpoints','fetchBreakpointsOnce','debuggee','kill','util','beforeExit','log','__classPrivateFieldGet','Initializing\x20Node.js\x20agent\x20version:\x20','sendAgentLogsToServer','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','5825jonyfC','logMainConfigParams','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','breakpointUpdateIntervalSec','setPipingStatus','QuotaManager','11082096Ivyxli','):\x20pattern:\x20','name','Debuglet\x20not\x20running','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','jsFileIndex','fromFileStats','findFiles','allowExpressions','get','Blacklist:\x20\x0a\x09','Controller','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','status','\x20accepted\x20by\x20agent','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','version','register','bind','./reduction/redaction-manager-re2js','./io/scanner','2590968yhYyKj','deregister','errors'];a17_0x4de1=function(){return _0x3c50ab;};return a17_0x4de1();}'use strict';var __classPrivateFieldSet=this&&this[a17_0x599a9f(0x174)]||function(_0x54b707,_0x28fb3e,_0x17fce6,_0x325c96,_0x56e476){const _0x467d5c=a17_0x599a9f;if(_0x325c96==='m')throw new TypeError(_0x467d5c(0xcc));if(_0x325c96==='a'&&!_0x56e476)throw new TypeError(_0x467d5c(0x151));if(typeof _0x28fb3e===_0x467d5c(0x11d)?_0x54b707!==_0x28fb3e||!_0x56e476:!_0x28fb3e['has'](_0x54b707))throw new TypeError(_0x467d5c(0x120));return _0x325c96==='a'?_0x56e476[_0x467d5c(0x11a)](_0x54b707,_0x17fce6):_0x56e476?_0x56e476[_0x467d5c(0xfd)]=_0x17fce6:_0x28fb3e['set'](_0x54b707,_0x17fce6),_0x17fce6;},__classPrivateFieldGet=this&&this[a17_0x599a9f(0xd7)]||function(_0x172930,_0x12fbd0,_0x233eea,_0x390945){const _0x5a4462=a17_0x599a9f;if(_0x233eea==='a'&&!_0x390945)throw new TypeError(_0x5a4462(0xc5));if(typeof _0x12fbd0===_0x5a4462(0x11d)?_0x172930!==_0x12fbd0||!_0x390945:!_0x12fbd0['has'](_0x172930))throw new TypeError(_0x5a4462(0xf0));return _0x233eea==='m'?_0x390945:_0x233eea==='a'?_0x390945[_0x5a4462(0x11a)](_0x172930):_0x390945?_0x390945[_0x5a4462(0xfd)]:_0x12fbd0[_0x5a4462(0xea)](_0x172930);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_runningOnGCP,_Debuglet_getClusterNameFromMetadata,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a17_0x599a9f(0x169)](exports,a17_0x599a9f(0xc4),{'value':!![]}),exports[a17_0x599a9f(0x108)]=exports['CachedPromise']=void 0x0;const assert=require(a17_0x599a9f(0x11c)),events_1=require(a17_0x599a9f(0x147)),extend=require('extend'),fs=require('fs'),metadata=require('gcp-metadata'),path=require(a17_0x599a9f(0x12a)),util=require(a17_0x599a9f(0xd4)),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a17_0x599a9f(0x144)),agent_logger_1=require('./agent-logger'),config_1=require(a17_0x599a9f(0x15f)),controller_1=require(a17_0x599a9f(0x16a)),SourceMapper=require(a17_0x599a9f(0x19e)),debugapi=require('./v8/debugapi'),piping_manager_1=require(a17_0x599a9f(0xfb)),quota_manager_1=require(a17_0x599a9f(0x17e)),patterns_blocklist_manager_1=require(a17_0x599a9f(0x190)),scanner_1=require(a17_0x599a9f(0xf5)),environment_metadata_1=require(a17_0x599a9f(0x12d)),file_index_1=require('./io/file-index'),utils_1=require(a17_0x599a9f(0x13e)),redaction_manager_1=require(a17_0x599a9f(0xc8)),configuration_provider_1=require(a17_0x599a9f(0x13b)),normalizeConfig_1=require(a17_0x599a9f(0xbd)),mapSubtract_1=require(a17_0x599a9f(0x1a4)),format_1=require(a17_0x599a9f(0x173)),createDebuggee_1=require(a17_0x599a9f(0x15c)),readFilep=util['promisify'](fs[a17_0x599a9f(0xc0)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0xb89ba1,_0x52ec36)=>{const _0x5d524d=a17_0x599a9f;let _0x42b2d1=_0xb89ba1+util[_0x5d524d(0x107)](_0x5d524d(0xdd),_0x52ec36['id'],_0x52ec36[_0x5d524d(0xfe)],util['inspect'](_0x52ec36[_0x5d524d(0x101)]));if(_0x52ec36['createTime']){const _0x2efa69=Number(_0x52ec36[_0x5d524d(0x133)][_0x5d524d(0x160)]),_0x545d61=new Date(_0x2efa69*0x3e8);_0x42b2d1+=_0x5d524d(0x13d)+_0x545d61[_0x5d524d(0x11e)]();}return _0x52ec36[_0x5d524d(0xab)]&&(_0x42b2d1+='\x0a\x09condition:\x20'+util[_0x5d524d(0x193)](_0x52ec36[_0x5d524d(0xab)])),_0x52ec36[_0x5d524d(0x127)]&&(_0x42b2d1+='\x0a\x09expressions:\x20'+util[_0x5d524d(0x193)](_0x52ec36[_0x5d524d(0x127)])),_0x42b2d1;},formatBreakpoints=(_0x5e834c,_0x4e4c9b)=>{const _0x31f1ae=a17_0x599a9f;return _0x5e834c+Object[_0x31f1ae(0x115)](_0x4e4c9b)[_0x31f1ae(0x172)](_0xfc97dc=>{return formatBreakpoint('',_0x4e4c9b[_0xfc97dc]);})[_0x31f1ae(0xbf)]('\x0a');};class CachedPromise{constructor(){const _0x1abb3b=a17_0x599a9f;this[_0x1abb3b(0x18d)]=null,this[_0x1abb3b(0x105)]=new Promise(_0x1ecd21=>{const _0x5c3496=_0x1abb3b;this[_0x5c3496(0x18d)]=_0x1ecd21;});}[a17_0x599a9f(0xea)](){const _0x1a31b9=a17_0x599a9f;return this[_0x1a31b9(0x105)];}[a17_0x599a9f(0x10e)](){const _0x525d90=a17_0x599a9f;this[_0x525d90(0x18d)]&&(this[_0x525d90(0x18d)](),this[_0x525d90(0x18d)]=null);}}exports['CachedPromise']=CachedPromise;class IsReadyImpl{constructor(_0x55f462){const _0x5e9ea8=a17_0x599a9f;this[_0x5e9ea8(0x19b)]=_0x55f462;}[a17_0x599a9f(0xb7)](){return this['debuglet']['isReady']();}}function a17_0x4369(_0xfa2554,_0x31b937){const _0x3f8d7f=a17_0x4de1();return a17_0x4369=function(_0x4c0b3d,_0x30d98f){_0x4c0b3d=_0x4c0b3d-0xab;let _0x4de1e6=_0x3f8d7f[_0x4c0b3d];return _0x4de1e6;},a17_0x4369(_0xfa2554,_0x31b937);}class Debuglet extends events_1[a17_0x599a9f(0x141)]{constructor(_0x5a84f7,_0x240ca9){const _0x1cb439=a17_0x599a9f;super(),_Debuglet_instances['add'](this),_Debuglet_debug[_0x1cb439(0x165)](this,void 0x0),_Debuglet_v8debug[_0x1cb439(0x165)](this,void 0x0),_Debuglet_running[_0x1cb439(0x165)](this,void 0x0),_Debuglet_controller[_0x1cb439(0x165)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x1cb439(0x165)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x1cb439(0x165)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x1cb439(0x165)](this,null),this[_0x1cb439(0x11b)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager[_0x1cb439(0x165)](this,void 0x0),_Debuglet_blocklistManager[_0x1cb439(0x165)](this,void 0x0),_Debuglet_redactionManager[_0x1cb439(0x165)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this[_0x1cb439(0x11f)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0x240ca9),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x1cb439(0x158))](this[_0x1cb439(0x11f)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x5a84f7,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1cb439(0x142)]=![],this[_0x1cb439(0x1a6)]=agent_logger_1['default'][_0x1cb439(0xb3)](this['config'][_0x1cb439(0xc1)]['logsPath'],this['config']['agentLog']['level'],this[_0x1cb439(0x11f)][_0x1cb439(0xc1)][_0x1cb439(0x109)]),(0x0,config_1[_0x1cb439(0xdc)])(this[_0x1cb439(0x11f)],this[_0x1cb439(0x1a6)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this['logger'])[_0x1cb439(0x137)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x1cb439(0xec))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x1cb439(0x1a6)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x1cb439(0x138))](this[_0x1cb439(0x1a6)]),'f'),this['debuggee']=null,this[_0x1cb439(0x197)]={},__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[(_0x1cb439(0xe0))](this[_0x1cb439(0x1a6)],this['config']),'f'),this[_0x1cb439(0x1a7)]=new piping_manager_1[(_0x1cb439(0x178))](_0x1cb439(0x12e),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x1cb439(0x11f)]);}async[a17_0x599a9f(0xe8)](_0x1c87d0,_0x30447d){const _0x1bb1e8=a17_0x599a9f,_0xfa4619=_0x1c87d0[_0x1bb1e8(0x118)],_0xf8afa0=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x1bb1e8(0x117)](_0xfa4619,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x1bb1e8(0x11a)](Debuglet,_0x1c87d0[_0x1bb1e8(0x15d)][_0x1bb1e8(0x159)]('js.map')),_0x30447d,_0x1c87d0['extraPaths']),_0x5c6a92=_0xf8afa0[_0x1bb1e8(0x14e)](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x1bb1e8(0x11a)](Debuglet,_0x1c87d0[_0x1bb1e8(0x15d)])),_0x7f067e=file_index_1[_0x1bb1e8(0x13c)][_0x1bb1e8(0xe7)](_0x5c6a92),_0x5483bb=_0xf8afa0['selectFiles'](/.js.map$/,process[_0x1bb1e8(0x167)]()),_0x11f879=_0xf8afa0[_0x1bb1e8(0xf8)]();return{'mapFiles':_0x5483bb,'errors':_0x11f879,'jsFileIndex':_0x7f067e,'hash':_0xf8afa0[_0x1bb1e8(0x185)]};}async['start'](){const _0xe53c23=a17_0x599a9f;var _0x174197;const _0x3e5d8d=this,_0x4f9bcc=_0x3e5d8d['config'][_0xe53c23(0x118)];if(!_0x3e5d8d[_0xe53c23(0x11f)][_0xe53c23(0x187)]&&path[_0xe53c23(0xbf)](_0x4f9bcc,'..')===_0x4f9bcc){const _0x2acd25=_0xe53c23(0xed)+_0xe53c23(0xe5)+_0xe53c23(0x150)+'do\x20this.';_0x3e5d8d['logger']['error'](_0x2acd25),_0x3e5d8d[_0xe53c23(0x16f)]('initError',new Error(_0x2acd25));return;}let _0x1ecdaf;process[_0xe53c23(0x10d)][_0xe53c23(0x1a3)]&&(_0x1ecdaf=_0xe53c23(0x129)+process[_0xe53c23(0x10d)][_0xe53c23(0x1a3)]);let _0x5e1687,_0x83aa67=_0x1ecdaf||'';try{_0x5e1687=await this[_0xe53c23(0xe8)](_0x3e5d8d['config'],_0x1ecdaf),_0x5e1687[_0xe53c23(0xf8)][_0xe53c23(0x132)](_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x15b)]);}catch(_0x4e7283){_0x3e5d8d['logger'][_0xe53c23(0x10b)](_0xe53c23(0x123),_0x4e7283),_0x3e5d8d['emit'](_0xe53c23(0x161),_0x4e7283);return;}try{const _0x1fd835=await SourceMapper['create'](_0x5e1687[_0xe53c23(0x100)]);__classPrivateFieldSet(_0x3e5d8d,_Debuglet_v8debug,debugapi[_0xe53c23(0x17a)](_0x3e5d8d[_0xe53c23(0x1a6)],_0x3e5d8d[_0xe53c23(0x11f)],_0x5e1687[_0xe53c23(0xe6)],_0x1fd835,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x83aa67=_0x1ecdaf||_0x5e1687['hash'];}catch(_0x552bbc){_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x10b)]('Error\x20processing\x20the\x20sourcemaps.',_0x552bbc),_0x3e5d8d[_0xe53c23(0x16f)](_0xe53c23(0x161),_0x552bbc);}_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x121)](_0xe53c23(0x116)+_0x83aa67);const _0x15ff55=(0x0,utils_1['readFullVersion'])(_0x3e5d8d[_0xe53c23(0x1a6)])[_0xe53c23(0xb8)]('\x0a','');_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x121)](_0xe53c23(0xd8)+_0x15ff55);let _0x126097;try{_0x126097=_0x3e5d8d[_0xe53c23(0x11f)][_0xe53c23(0x199)]||await Debuglet[_0xe53c23(0xb6)]();}catch(_0x291def){}this[_0xe53c23(0x11f)]['capture']&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0xe53c23(0x166)]()===0x0&&(0x0,utils_1[_0xe53c23(0x119)])(process[_0xe53c23(0xf1)],_0xe53c23(0xda))&&_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x15b)](utils_1[_0xe53c23(0xf8)]['NODE_10_CIRC_REF_MESSAGE']),_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x121)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+((_0x174197=process['mainModule'])===null||_0x174197===void 0x0?void 0x0:_0x174197[_0xe53c23(0x114)])),_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x176)](_0xe53c23(0x136)+_0x4f9bcc),_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x176)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x3e5d8d,_Debuglet_running,!![],'f'),_0x3e5d8d[_0xe53c23(0xd2)]=(0x0,createDebuggee_1[_0xe53c23(0x17d)])(_0x83aa67,_0x3e5d8d[_0xe53c23(0x11f)],_0x126097,__classPrivateFieldGet(_0x3e5d8d,_Debuglet_debug,'f')['packageInfo'],_0x15ff55,_0x3e5d8d[_0xe53c23(0x1a6)],__classPrivateFieldGet(_0x3e5d8d,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x3e5d8d,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](_0x3e5d8d),__classPrivateFieldGet(_0x3e5d8d,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x3e5d8d),_0x3e5d8d['emit'](_0xe53c23(0x12f));}['isReady'](){const _0x55fc35=a17_0x599a9f;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x55fc35(0xea)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x55fc35(0xea)]()[_0x55fc35(0x1a0)](()=>{const _0x1139a0=_0x55fc35;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1139a0(0x11a)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x55fc35(0xea)]();}}static async[a17_0x599a9f(0xb6)](){const _0x2a2094=a17_0x599a9f,_0x4c25a8=await readFilep('source-context.json',_0x2a2094(0x16d));try{return JSON[_0x2a2094(0x19f)](_0x4c25a8);}catch(_0x2e50c4){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x2e50c4);}}[a17_0x599a9f(0x16b)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x3c71ad=a17_0x599a9f;var _0xb029b2;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x3c71ad(0x1a6)][_0x3c71ad(0x176)](_0x3c71ad(0x16e));return;}this[_0x3c71ad(0x1a6)]['debug']('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0xb029b2=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0xb029b2===void 0x0?void 0x0:_0xb029b2['clearTransmissionTimeout'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x3c71ad(0x16f)]('stopped');}}exports[a17_0x599a9f(0x108)]=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x2d0126){return new RegExp(_0x2d0126['map'](_0x1ef427=>_0x1ef427+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x3b6f45=a17_0x599a9f,_0x21390e=[_0x3b6f45(0x198),_0x3b6f45(0x113),'SIGQUIT'];_0x21390e['forEach'](_0x4921f3=>{process['once'](_0x4921f3,()=>{const _0x2d28e2=a17_0x4369;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2d28e2(0xf7)](this[_0x2d28e2(0xd2)],()=>{const _0x31c0f2=_0x2d28e2;process[_0x31c0f2(0xd3)](process['pid'],_0x4921f3);});});}),process['once'](_0x3b6f45(0xd5),()=>{const _0x40bf72=_0x3b6f45;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x40bf72(0xf7)](this['debuggee'],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){return metadata['isAvailable']();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0x1e33af=a17_0x599a9f;return(await metadata[_0x1e33af(0x13a)](_0x1e33af(0xfc)))[_0x1e33af(0x195)];},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x302255){const _0x3d5164=a17_0x599a9f,_0x5e15ae=this;_0x5e15ae['logger'][_0x3d5164(0x176)](_0x302255?_0x3d5164(0xc9)+_0x302255+'s':_0x3d5164(0x164));function _0x3a2853(_0x300d3f,_0x4333cb){const _0x457c3d=_0x3d5164;var _0x5ab75f,_0x52f148;const _0x5f143d=((_0x5ab75f=_0x5e15ae['debuggee'])===null||_0x5ab75f===void 0x0?void 0x0:_0x5ab75f['id'])?_0x457c3d(0x124)+((_0x52f148=_0x5e15ae[_0x457c3d(0xd2)])===null||_0x52f148===void 0x0?void 0x0:_0x52f148['id'])+':\x20'+_0x300d3f:'Failed\x20to\x20register\x20debuggee:\x20'+_0x300d3f;_0x5e15ae[_0x457c3d(0x1a6)][_0x457c3d(0x10b)](_0x5f143d),_0x4333cb&&_0x5e15ae['logger'][_0x457c3d(0x10b)]('Result:\x20\x0a',_0x4333cb),__classPrivateFieldGet(_0x5e15ae,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](_0x5e15ae,(0x0,utils_1[_0x457c3d(0x15a)])(_0x302255,_0x5e15ae['config'][_0x457c3d(0x162)][_0x457c3d(0x175)]));}setTimeout(()=>{const _0x36ff3f=_0x3d5164;if(!__classPrivateFieldGet(_0x5e15ae,_Debuglet_running,'f')){_0x3a2853(new Error(_0x36ff3f(0xe4)));return;}__classPrivateFieldGet(_0x5e15ae,_Debuglet_controller,'f')[_0x36ff3f(0xf2)](_0x5e15ae['debuggee'],(_0x3e94ea,_0x157faa)=>{const _0x559c5f=_0x36ff3f;if(_0x3e94ea){_0x3a2853(_0x3e94ea,_0x157faa);return;}if(_0x157faa[_0x559c5f(0xd2)][_0x559c5f(0x146)]){_0x3a2853(new Error('Disabled\x20by\x20the\x20server')),_0x5e15ae[_0x559c5f(0x16f)](_0x559c5f(0xb2));return;}const _0x436e24=_0x157faa[_0x559c5f(0xd2)]['id'];_0x5e15ae['logger'][_0x559c5f(0x121)]('Registered\x20as\x20debuggee:\x20'+_0x436e24),_0x5e15ae['debuggee']['id']=_0x436e24;const _0x214af4=[__classPrivateFieldGet(_0x5e15ae,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x559c5f(0xf3)](_0x5e15ae)(_0x5e15ae['debuggee']['id'])];_0x5e15ae['config']['redactionEnabled']&&_0x214af4[_0x559c5f(0xac)](__classPrivateFieldGet(_0x5e15ae,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x559c5f(0xf3)](_0x5e15ae)(_0x5e15ae[_0x559c5f(0xd2)]['id'])),Promise['all'](_0x214af4)[_0x559c5f(0x1a0)](()=>{const _0x5d9711=_0x559c5f;var _0x4750eb;_0x5e15ae[_0x5d9711(0x16f)](_0x5d9711(0xb9),_0x436e24),__classPrivateFieldGet(_0x5e15ae,_Debuglet_debuggeeRegistered,'f')[_0x5d9711(0x10e)](),(_0x4750eb=__classPrivateFieldGet(_0x5e15ae,_Debuglet_v8debug,'f'))===null||_0x4750eb===void 0x0?void 0x0:_0x4750eb['setBlocklistManager'](__classPrivateFieldGet(_0x5e15ae,_Debuglet_blocklistManager,'f')),!_0x5e15ae[_0x5d9711(0x142)]&&__classPrivateFieldGet(_0x5e15ae,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x5e15ae,0x0,this[_0x5d9711(0x11f)][_0x5d9711(0xd1)],_0x157faa===null||_0x157faa===void 0x0?void 0x0:_0x157faa['clientConnectionTimeoutInSeconds']);},_0x81cd79=>{_0x3a2853(_0x81cd79);});});},_0x302255*0x3e8)[_0x3d5164(0x17c)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x3e10a8,_0x5b66ba,_0x20d725){const _0x2c44ff=a17_0x599a9f,_0x8de621=this;!_0x5b66ba&&(_0x8de621[_0x2c44ff(0x142)]=!![]),setTimeout(()=>{const _0x178b98=_0x2c44ff;if(!__classPrivateFieldGet(_0x8de621,_Debuglet_running,'f'))return;!_0x5b66ba&&assert(_0x8de621[_0x178b98(0x142)]),_0x8de621['logger'][_0x178b98(0x121)](_0x178b98(0xcf)),__classPrivateFieldGet(_0x8de621,_Debuglet_controller,'f')[_0x178b98(0xd0)](_0x8de621[_0x178b98(0xd2)],(_0xf73025,_0x270bef,_0x5871e9)=>{const _0x3c9765=_0x178b98;if((_0x270bef===null||_0x270bef===void 0x0?void 0x0:_0x270bef[_0x3c9765(0xee)])===0x194){_0x8de621[_0x3c9765(0x1a6)]['info']('Debuggee\x20is\x20not\x20registered'),_0x8de621[_0x3c9765(0x142)]=![],__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x3c9765(0x11a)](_0x8de621),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_register_)[_0x3c9765(0x11a)](_0x8de621);return;}if(_0xf73025){const _0x88fb=(0x0,utils_1['backoff'])(_0x3e10a8,_0x8de621[_0x3c9765(0x11f)][_0x3c9765(0x162)][_0x3c9765(0x175)]);_0x8de621['logger'][_0x3c9765(0x10b)](_0x3c9765(0x177)+(_0x270bef===null||_0x270bef===void 0x0?void 0x0:_0x270bef['status'])+_0x3c9765(0xc2)+_0xf73025[_0x3c9765(0x168)]+_0x3c9765(0x143)+_0x88fb+'s'),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3c9765(0x11a)](_0x8de621,_0x88fb,_0x5b66ba,_0x20d725);return;}_0x8de621[_0x3c9765(0x1a6)][_0x3c9765(0x121)]('\x09'+_0x270bef[_0x3c9765(0xee)]+'\x20completed.');if(!_0x5871e9){const _0x405493=_0x8de621[_0x3c9765(0x11f)][_0x3c9765(0xde)];_0x8de621['logger'][_0x3c9765(0x10b)](_0x3c9765(0xc7)+_0x405493+'s'),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3c9765(0x11a)](_0x8de621,_0x405493,_0x5b66ba,_0x20d725);return;}if(_0x5871e9['waitExpired']){_0x8de621[_0x3c9765(0x1a6)][_0x3c9765(0x121)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3c9765(0x11a)](_0x8de621,0x0,_0x5b66ba,_0x20d725);return;}if(_0x5871e9[_0x3c9765(0x140)]&&_0x5871e9[_0x3c9765(0x140)]!==_0x3c9765(0x18e)){const _0x4bf391=this['pipingManager'][_0x3c9765(0xcd)];_0x4bf391!==_0x5871e9[_0x3c9765(0x140)]&&(this['logger'][_0x3c9765(0x176)](_0x3c9765(0x125)+_0x4bf391+_0x3c9765(0x192)+_0x5871e9[_0x3c9765(0x140)]),this[_0x3c9765(0x1a7)][_0x3c9765(0xcd)]=_0x5871e9[_0x3c9765(0x140)]);}if(_0x5871e9['collectAndSendLog']&&_0x5871e9[_0x3c9765(0xca)]!==_0x8de621[_0x3c9765(0xca)]){_0x8de621[_0x3c9765(0xca)]=_0x5871e9[_0x3c9765(0xca)];const _0x960470=_0x8de621['config'][_0x3c9765(0xc1)]['logsPath']&&path[_0x3c9765(0xbf)](_0x8de621[_0x3c9765(0x11f)][_0x3c9765(0xc1)][_0x3c9765(0x1a1)],agent_logger_1[_0x3c9765(0x111)][_0x3c9765(0x182)]);_0x960470&&fs[_0x3c9765(0x154)](_0x960470)?setTimeout(()=>__classPrivateFieldGet(_0x8de621,_Debuglet_controller,'f')[_0x3c9765(0xd9)](_0x8de621[_0x3c9765(0xd2)],_0x5871e9['collectLogRequestId'],_0x960470)):_0x8de621[_0x3c9765(0x1a6)]['info'](_0x3c9765(0x188)+_0x5871e9[_0x3c9765(0xca)]+'\x20because\x20'+_0x3c9765(0x10a));}const _0x2a9ed8=(_0x5871e9[_0x3c9765(0x16c)]||[])['map'](_0x49a209=>new stackdriver_1[(_0x3c9765(0x153))](_0x49a209))[_0x3c9765(0x112)](_0x2ac360=>{const _0x3894cb=_0x3c9765,_0x49fda1=_0x2ac360[_0x3894cb(0xfe)]||_0x3894cb(0x122);if(__classPrivateFieldGet(_0x8de621,_Debuglet_completedBreakpointMap,'f')[_0x2ac360['id']])return![];if(_0x49fda1!==_0x3894cb(0x122)&&_0x49fda1!=='LOG')return _0x8de621[_0x3894cb(0x1a6)]['warn']('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x49fda1),_0x2ac360[_0x3894cb(0xee)]=new status_message_1[(_0x3894cb(0x135))](status_message_1['StatusMessage'][_0x3894cb(0x179)],utils_1[_0x3894cb(0xf8)][_0x3894cb(0x171)],!![]),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3894cb(0x11a)](_0x8de621,_0x2ac360),![];return!![];});__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x8de621),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x3c9765(0x11a)](_0x8de621,_0x2a9ed8),_0x8de621[_0x3c9765(0x16f)]('breakpoints_fetched',_0x2a9ed8['length']);Object['keys'](_0x8de621[_0x3c9765(0x197)])['length']&&_0x8de621['logger']['info'](formatBreakpoints(_0x3c9765(0x14c),_0x8de621[_0x3c9765(0x197)]));__classPrivateFieldSet(_0x8de621,_Debuglet_breakpointFetchedTimestamp,Date[_0x3c9765(0x126)](),'f');_0x5b66ba?__classPrivateFieldGet(_0x8de621,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x8de621,_Debuglet_breakpointFetched,'f')[_0x3c9765(0x10e)](),__classPrivateFieldSet(_0x8de621,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3c9765(0x11a)](_0x8de621,0x0,_0x5b66ba,_0x20d725);return;},_0x20d725);},_0x3e10a8*0x3e8)[_0x2c44ff(0x17c)]();},_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_(_0xfc7546){const _0x519a5b=a17_0x599a9f,_0x4cd7b2=this,_0x195a10=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x519a5b(0x11a)](this,_0xfc7546);_0xfc7546[_0x519a5b(0x128)]&&_0x4cd7b2['logger'][_0x519a5b(0x121)](formatBreakpoints(_0x519a5b(0x163),_0x195a10)),_0xfc7546[_0x519a5b(0x132)](_0x50f500=>{const _0x278b18=_0x519a5b;!__classPrivateFieldGet(_0x4cd7b2,_Debuglet_completedBreakpointMap,'f')[_0x50f500['id']]&&!_0x4cd7b2[_0x278b18(0x197)][_0x50f500['id']]&&(__classPrivateFieldGet(_0x4cd7b2,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x278b18(0x11a)](_0x4cd7b2,_0x50f500,_0x16ca24=>{const _0x195bbd=_0x278b18;_0x16ca24&&__classPrivateFieldGet(_0x4cd7b2,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x195bbd(0x11a)](_0x4cd7b2,_0x50f500,!![],![]);}),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x278b18(0x15e)](_0x50f500['id'])),__classPrivateFieldGet(_0x4cd7b2,_Debuglet_quotaManager,'f')[_0x278b18(0x102)](_0x50f500['id'],_0x50f500[_0x278b18(0xc3)]),_0x4cd7b2[_0x278b18(0x1a7)][_0x278b18(0xdf)](_0x50f500['id'],_0x50f500[_0x278b18(0xbc)]);}),(0x0,mapSubtract_1[_0x519a5b(0xbb)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x195a10)[_0x519a5b(0x132)](_0x2ecb86=>{delete __classPrivateFieldGet(_0x4cd7b2,_Debuglet_completedBreakpointMap,'f')[_0x2ecb86['id']];}),(0x0,mapSubtract_1[_0x519a5b(0xbb)])(this['activeBreakpointMap'],_0x195a10)['forEach'](_0x294636=>{const _0x15fb1d=_0x519a5b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x15fb1d(0x11a)](this,_0x294636,!![]);});},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x5d9e77){const _0xca0749={};return _0x5d9e77['forEach'](_0x28b676=>{_0xca0749[_0x28b676['id']]=_0x28b676;}),_0xca0749;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x634cc,_0x1f8119){const _0x16c73b=a17_0x599a9f;this[_0x16c73b(0x1a6)][_0x16c73b(0x121)](_0x16c73b(0x103),_0x634cc),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x16c73b(0x10f)](_0x634cc['id']),this[_0x16c73b(0x1a7)][_0x16c73b(0xcb)](_0x634cc['id']),delete this['activeBreakpointMap'][_0x634cc['id']],_0x1f8119&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x634cc,_0x12bcc0=>{const _0x4c2b24=_0x16c73b;if(_0x12bcc0)this[_0x4c2b24(0x1a6)][_0x4c2b24(0x10b)](_0x12bcc0);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x4aaf75,_0x918aa3){const _0x30a43b=a17_0x599a9f;var _0x3a6bf5;const _0x460e9b=this;_0x460e9b[_0x30a43b(0x1a6)][_0x30a43b(0x121)](_0x30a43b(0xae),_0x4aaf75);if(!_0x460e9b[_0x30a43b(0x11f)][_0x30a43b(0xe9)]&&(_0x4aaf75['condition']||_0x4aaf75[_0x30a43b(0x127)])){_0x460e9b[_0x30a43b(0x1a6)][_0x30a43b(0x10b)](utils_1[_0x30a43b(0xf8)][_0x30a43b(0xb5)][_0x30a43b(0x106)]||''),_0x4aaf75[_0x30a43b(0xee)]=new status_message_1[(_0x30a43b(0x135))](status_message_1[_0x30a43b(0x135)]['UNSPECIFIED'],utils_1[_0x30a43b(0xf8)][_0x30a43b(0xb5)],!![]),setImmediate(()=>{const _0xffb7e0=_0x30a43b;_0x918aa3(utils_1['errors'][_0xffb7e0(0xb5)]);});return;}if((0x0,utils_1[_0x30a43b(0x119)])(process[_0x30a43b(0xf1)],'5.2\x20||\x20<4')){const _0x651b8a=utils_1[_0x30a43b(0xf8)]['NODE_VERSION_MESSAGE'];_0x460e9b[_0x30a43b(0x1a6)]['error'](_0x651b8a),_0x4aaf75[_0x30a43b(0xee)]=new status_message_1[(_0x30a43b(0x135))](status_message_1[_0x30a43b(0x135)][_0x30a43b(0x179)],_0x651b8a,!![]),setImmediate(()=>{_0x918aa3(_0x651b8a);});return;}const _0xc3d448=_0x4aaf75['createTime']?Number(_0x4aaf75[_0x30a43b(0x133)][_0x30a43b(0x160)]):Date['now']()/0x3e8,_0x44c915=_0x4aaf75[_0x30a43b(0xbe)]||_0x460e9b[_0x30a43b(0x11f)][_0x30a43b(0x152)];_0x4aaf75[_0x30a43b(0x157)]=_0xc3d448+_0x44c915,((_0x3a6bf5=_0x4aaf75[_0x30a43b(0x101)])===null||_0x3a6bf5===void 0x0?void 0x0:_0x3a6bf5[_0x30a43b(0x12a)])&&(_0x4aaf75[_0x30a43b(0x101)][_0x30a43b(0x12a)]=path[_0x30a43b(0xce)](_0x4aaf75[_0x30a43b(0x101)]['path']),path[_0x30a43b(0x14f)]===path[_0x30a43b(0xc6)]['sep']&&(_0x4aaf75[_0x30a43b(0x101)][_0x30a43b(0x12a)]=_0x4aaf75[_0x30a43b(0x101)][_0x30a43b(0x12a)][_0x30a43b(0x1a2)]('\x5c')[_0x30a43b(0xbf)](path[_0x30a43b(0x14f)]))),__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f')['set'](_0x4aaf75,_0x156037=>{const _0x4e9dd8=_0x30a43b;if(_0x156037){_0x918aa3(_0x156037);return;}_0x460e9b['logger'][_0x4e9dd8(0x121)](_0x4e9dd8(0xfa),_0x4aaf75),_0x460e9b[_0x4e9dd8(0x197)][_0x4aaf75['id']]=_0x4aaf75,_0x4aaf75[_0x4e9dd8(0xfe)]===_0x4e9dd8(0x183)?__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f')[_0x4e9dd8(0xd6)](_0x4aaf75,(_0x3bda00,_0xa03696)=>{const _0x49287c=_0x4e9dd8;var _0x53c3ed,_0x13e3d3,_0x3c0c3d,_0x1a5daf;const _0x1d6c27=_0xa03696[_0x49287c(0x172)](_0x5c07e1=>__classPrivateFieldGet(_0x460e9b,_Debuglet_instances,'m',_Debuglet_stringify)['call'](_0x460e9b,_0x5c07e1)),_0x4e8d4d=(0x0,format_1[_0x49287c(0x107)])(_0x3bda00,_0x1d6c27),_0x2c32fb=_0x49287c(0x18a)+(((_0x53c3ed=__classPrivateFieldGet(_0x460e9b,_Debuglet_redactionManager,'f'))===null||_0x53c3ed===void 0x0?void 0x0:_0x53c3ed[_0x49287c(0x130)](_0x4e8d4d))||_0x4e8d4d),_0xe417a7=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x49287c(0x131)](_0x2c32fb,_0x4aaf75['id']);if(_0xe417a7){const _0x25fc90=_0xe417a7[_0x49287c(0x168)],_0x57feb1=_0xe417a7[_0x49287c(0x148)];let _0x69e987,_0x3bad7d;!((_0x13e3d3=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x13e3d3===void 0x0?void 0x0:_0x13e3d3['isRedactionActive']())&&!_0x57feb1&&(_0x69e987=_0x49287c(0x18a)+_0x3bda00,_0x3bad7d=_0x1d6c27);_0x460e9b[_0x49287c(0x1a7)][_0x49287c(0x145)](_0x460e9b['debuggee'],_0x4aaf75['id'],_0x25fc90,_0x4aaf75['logLevel'],_0x69e987,_0x3bad7d);if(_0x57feb1)(_0x3c0c3d=__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f'))===null||_0x3c0c3d===void 0x0?void 0x0:_0x3c0c3d[_0x49287c(0xad)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{var _0x10eb81;(_0x10eb81=__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f'))===null||_0x10eb81===void 0x0?void 0x0:_0x10eb81['enable'](),__classPrivateFieldSet(_0x460e9b,_Debuglet_nextEnableTimeout,null,'f');},_0x460e9b[_0x49287c(0x11f)][_0x49287c(0x139)][_0x49287c(0x196)]*0x3e8),'f');else(_0x25fc90===null||_0x25fc90===void 0x0?void 0x0:_0x25fc90[_0x49287c(0x128)])===0x0&&((_0x1a5daf=__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f'))===null||_0x1a5daf===void 0x0?void 0x0:_0x1a5daf[_0x49287c(0xad)]());}},()=>{return __classPrivateFieldGet(_0x460e9b,_Debuglet_completedBreakpointMap,'f')[_0x4aaf75['id']];},_0x2ffd43=>{if(_0x2ffd43){_0x460e9b['logger']['error'](_0x2ffd43),_0x918aa3(_0x2ffd43);return;}}):__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f')[_0x4e9dd8(0x12c)](_0x4aaf75,_0x4f2429=>{const _0xf7911=_0x4e9dd8;if(_0x4f2429){setImmediate(()=>{const _0x1bc52a=a17_0x4369;_0x460e9b[_0x1bc52a(0x1a6)]['error'](_0x4f2429),_0x918aa3(_0x4f2429);});return;}_0x460e9b['logger'][_0xf7911(0x121)](_0xf7911(0x170),_0x4aaf75),__classPrivateFieldGet(_0x460e9b,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0xf7911(0x11a)](_0x460e9b,_0x4aaf75,__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f')[_0xf7911(0x19a)](_0x4aaf75['id'])<=0x0);}),__classPrivateFieldGet(_0x460e9b,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x4e9dd8(0x11a)](_0x460e9b,_0x4aaf75);}),this[_0x30a43b(0x16f)](_0x30a43b(0x180));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0xde7918,_0x1c5baa,_0x5510ec=!![]){const _0x53b99b=a17_0x599a9f;var _0x276896,_0x3c354b,_0x1ba418,_0x589181,_0xebaeb0,_0x5da033;const _0x4cfbfb=this;if(_0xde7918[_0x53b99b(0xee)]&&_0xde7918[_0x53b99b(0xee)]['isError']){let _0x46b540=((_0x3c354b=(_0x276896=_0xde7918[_0x53b99b(0xee)])===null||_0x276896===void 0x0?void 0x0:_0x276896[_0x53b99b(0x106)])===null||_0x3c354b===void 0x0?void 0x0:_0x3c354b[_0x53b99b(0x107)])||'';((_0x589181=(_0x1ba418=_0xde7918['status'])===null||_0x1ba418===void 0x0?void 0x0:_0x1ba418[_0x53b99b(0x106)])===null||_0x589181===void 0x0?void 0x0:_0x589181[_0x53b99b(0x189)])&&(_0x46b540+=':\x20'+((_0x5da033=(_0xebaeb0=_0xde7918[_0x53b99b(0xee)])===null||_0xebaeb0===void 0x0?void 0x0:_0xebaeb0[_0x53b99b(0x106)])===null||_0x5da033===void 0x0?void 0x0:_0x5da033[_0x53b99b(0x189)][_0x53b99b(0x11e)]())),_0x4cfbfb['logger']['warn']('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0xde7918+_0x53b99b(0x18c)+_0x46b540);}else _0x4cfbfb['logger'][_0x53b99b(0x121)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',_0xde7918);_0x1c5baa&&(__classPrivateFieldGet(_0x4cfbfb,_Debuglet_completedBreakpointMap,'f')[_0xde7918['id']]=!![],__classPrivateFieldGet(_0x4cfbfb,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x53b99b(0x11a)](_0x4cfbfb,_0xde7918,_0x5510ec)),__classPrivateFieldGet(_0x4cfbfb,_Debuglet_controller,'f')[_0x53b99b(0x104)](_0x4cfbfb[_0x53b99b(0xd2)],extend(!![],{},_0xde7918));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x423fe6){const _0x4fc015=a17_0x599a9f,_0xb185ba=this;_0xb185ba['logger'][_0x4fc015(0x176)](_0x4fc015(0x181)+_0x423fe6+_0x4fc015(0xef));const _0x214031=extend(!![],{},_0x423fe6);_0x214031[_0x4fc015(0x194)]=![],_0x214031[_0x4fc015(0xee)]=new status_message_1[(_0x4fc015(0x135))](status_message_1[_0x4fc015(0x135)][_0x4fc015(0x179)],undefined,![],!![]),__classPrivateFieldGet(_0xb185ba,_Debuglet_controller,'f')[_0x4fc015(0x104)](_0xb185ba[_0x4fc015(0xd2)],_0x214031);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x3602e2){const _0x1e0811=a17_0x599a9f,_0x36a411=this;this[_0x1e0811(0x1a6)]['info'](_0x1e0811(0xb4),_0x3602e2),__classPrivateFieldGet(_0x36a411,_Debuglet_completedBreakpointMap,'f')[_0x3602e2['id']]=!![],__classPrivateFieldGet(_0x36a411,_Debuglet_controller,'f')[_0x1e0811(0x104)](_0x36a411[_0x1e0811(0xd2)],_0x3602e2);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(){const _0xf34a72=a17_0x599a9f,_0x3f1b18=this,_0x1317fe=Date['now']()/0x3e8;Object[_0xf34a72(0x110)](this[_0xf34a72(0x197)])[_0xf34a72(0x112)](_0x209b66=>_0x209b66[_0xf34a72(0x157)]?_0x209b66[_0xf34a72(0x157)]<_0x1317fe:![])[_0xf34a72(0x132)](_0x5d1784=>{const _0x1839fd=_0xf34a72;_0x3f1b18[_0x1839fd(0x1a6)][_0x1839fd(0x121)]('Expiring\x20breakpoint',_0x5d1784),__classPrivateFieldGet(_0x3f1b18,_Debuglet_completedBreakpointMap,'f')[_0x5d1784['id']]=!![],__classPrivateFieldGet(_0x3f1b18,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x3f1b18,_0x5d1784,!![]);});},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x14a101){const _0x3425ae=a17_0x599a9f,_0x1835bb=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3425ae(0x18b)](_0x14a101),_0x118968=_0x1835bb[_0x3425ae(0x18f)],_0x3428c6=_0x1835bb[_0x3425ae(0x12b)];_0x118968&&_0x118968['length']&&this[_0x3425ae(0x1a6)][_0x3425ae(0x176)](_0x3425ae(0xeb),_0x118968['join']('\x0a\x09')),_0x3428c6&&_0x3428c6[_0x3425ae(0x128)]&&this[_0x3425ae(0x1a6)][_0x3425ae(0x176)](_0x3425ae(0x14d),_0x3428c6[_0x3425ae(0xbf)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x3425ae(0x149))](_0x118968,_0x3428c6,this[_0x3425ae(0x11f)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x27b9df){const _0x389a03=a17_0x599a9f;var _0x54303d;const _0x294917=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x389a03(0x14b)](_0x27b9df);(_0x294917===null||_0x294917===void 0x0?void 0x0:_0x294917[_0x389a03(0x128)])&&this[_0x389a03(0x1a6)][_0x389a03(0x176)](_0x389a03(0x17f),_0x294917[_0x389a03(0x172)](_0x475efe=>'name:\x20'+_0x475efe[_0x389a03(0xe3)]+'\x20(type:\x20'+_0x475efe['type']+_0x389a03(0xe2)+_0x475efe[_0x389a03(0x1a5)]+_0x389a03(0xf9)+_0x475efe['caseInsensitive'])[_0x389a03(0xbf)]('\x0a\x09'));if((0x0,utils_1[_0x389a03(0x119)])(process['version'],_0x389a03(0x13f))){const {RedactionManagerRE2JS:_0x36ab3c}=await Promise[_0x389a03(0x10e)]()['then'](()=>require(_0x389a03(0xf4)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x36ab3c(this['logger']),'f'),(_0x54303d=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x54303d===void 0x0?void 0x0:_0x54303d['setPatterns'](_0x294917);}},_Debuglet_stringify=function _Debuglet_stringify(_0x58c197){const _0xfe1939=a17_0x599a9f;if(!_0x58c197)return JSON[_0xfe1939(0xb1)](_0x58c197);if(Array[_0xfe1939(0xba)](_0x58c197)){const _0x40eb8a=[];for(const _0x5af3f7 of _0x58c197){_0x40eb8a[_0xfe1939(0xac)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0xfe1939(0x11a)](this,_0x5af3f7));}return'['+_0x40eb8a[_0xfe1939(0xbf)](',\x20')+']';}if(typeof _0x58c197===_0xfe1939(0x191)){const _0x30c5f5=Object[_0xfe1939(0x19d)](_0x58c197)[_0xfe1939(0x172)](([_0x1fd017,_0x1d93b4])=>{const _0x41c246=_0xfe1939;var _0x5c0b4d;const _0xeaad10=((_0x5c0b4d=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x5c0b4d===void 0x0?void 0x0:_0x5c0b4d[_0x41c246(0x134)](_0x1fd017))?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x41c246(0x11a)](this,_0x1d93b4);return JSON[_0x41c246(0xb1)](_0x1fd017)+':\x20'+_0xeaad10;})[_0xfe1939(0xbf)](',\x20');return'{'+_0x30c5f5+'}';}return JSON[_0xfe1939(0xb1)](_0x58c197);});
|
|
1
|
+
const a17_0x35c274=a17_0x449c;function a17_0x17f1(){const _0x13d7f3=['jsFileIndex','sourceContext','normalize','Blacklist\x20Exceptions:\x20\x0a\x09','errors','default','redactionEnabled','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','breakpoints','Breakpoint\x20hit!:\x20','action','deregister','cwd','description','NODE_10_CIRC_REF_MESSAGE','scan','Breakpoint','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','seconds','PatternsBlocklistManager','EnvironmentMetadata','start','readFile','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','log','./debuglet-helpers/mapSubtract','.\x20Retrying\x20in\x20','instance','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','globalPipingStatus','\x09successfully\x20added\x20breakpoint','pattern','./reduction/redaction-manager-re2js','debuglet','logsPath','length','):\x20pattern:\x20','quotaRecoverySeconds','Malformed\x20source-context.json\x20file:\x20','UNSPECIFIED','register','REDACTED_PLACEHOLDER','emit','quota','__classPrivateFieldGet','location','parse','setBlocklistManager','rejecting\x20breakpoint','stop','concat','8048230WHHQYM','pipeLogs','level','enable','isRunning','isReady','pipingStatus','debug','internal','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','config','\x20(type:\x20','Debuglet','map','\x20caseInsensitive:\x20','32hfnDmU','type','expressions','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','extraPaths','removePerBreakpointQuota','satisfies','./debuglet-helpers/createDebuggee','forEach','./config','mainModule','kill','selectFiles','now','toString','Debuglet\x20not\x20running','./quota-manager','3902571HQyeqn','LOGPOINT:\x20','logLevel','filename','getProps','(((.+)+)+)+$','fetcherActive','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','Failed\x20to\x20re-register\x20debuggee\x20','clear','set','sep','reporting\x20breakpoint\x20','once','object','status','stdErrThreshold','1940DuNfPg','registered','resolve','logger','message','addAndPipeLog','isFinalState','started','Stopping\x20Debuglet','constructor','GAE_MINOR_VERSION','breakpoint_set','logMainConfigParams','158349TVnrvF','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','SIGTERM','existsSync','allowRootAsWorkingDirectory','createTime','maxRequestRetryDelaySeconds','promiseResolve','Scheduling\x20registration\x20in\x20','split','promisify','pipingManager','has','format','>=12','setIgnoreQuota','isOutOfQuota','StatusMessage','name:\x20','APP_ONLY','isRedactionActive','\x0a\x09expressions:\x20','function','backoff','11PYwbYU','SIGINT','Unique\x20ID\x20for\x20this\x20Application:\x20','../types/stackdriver','version','./io/file-index','bind','./controller','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','Controller','entries','NOT_SET','1309UaJVHc','stopped','activeBreakpointMap','fetchBreakpointsOnce','978610swlWtx','remainingHits','expirationSeconds','sendAgentLogsToServer','Private\x20method\x20is\x20not\x20writable','events','hash','Error\x20scanning\x20the\x20filesystem.','\x09Long\x20poll\x20completed.','create','createLogger','push','normalizeConfig','fromFileStats','PipingManager','mapSubtract','\x09Got\x20error\x20from\x20server.\x20status:\x20','mapFiles','promise','blacklist_exception','ALLOW_EXPRESSIONS_MESSAGE','setPipingStatus','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','blacklist','breakpointExpirationSec','initError','./agent-logger','join','stringify','isAvailable','Working\x20directory:\x20','disable','Error\x20processing\x20the\x20sourcemaps.','selectStats','setPatterns','CAPTURE','keys','breakpointUpdateIntervalSec','unref','5.2\x20||\x20<4','warn','getMaxSnapshotBufferSize','condition','call','createPerBreakpointConditionQuota','./v8/debugapi','__esModule','696624cqORLR','QuotaManager','Switching\x20globalPiping\x20status\x20from\x20','agentLog','error','readFullVersion','EventEmitter','env','Found\x20breakpoint\x20with\x20invalid\x20action:','Active\x20Breakpoints:\x20\x0a','\x0a\x09condition:\x20','Scanner','shouldRedactByName','./piping-manager','removeBreakpoint','.\x20Error:\x20','Starting\x20debuggee','./environment-metadata','replaceRedactedByValue','get','4998wdjKqZ','LOG','458LZDOFC','search','Debuggee\x20is\x20not\x20registered','../client/stackdriver/status-message','BREAKPOINT_ACTION_MESSAGE','gcp-metadata','path','source-context.json','javascriptFileExtensions','breakpoints_fetched','Initializing\x20Node.js\x20agent\x20version:\x20','./configuration-provider','value','collectLogRequestId','isDisabled','Redactions:\x20\x0a\x09','workingDirectory','isError','FileIndex','./io/sourcemapper','\x09adding\x20breakpoint','getSourceContextFromFile','Registering\x20debuggee','Disabled\x20by\x20the\x20server','parameters','enqueueBreakpointUpdate','debuggee','extend','filter','then','defineProperty','Expiring\x20breakpoint','\x20because\x20','isArray','./reduction/redaction-manager','posix','getRedactions','add','values','info','all','CachedPromise','SIGQUIT','./io/scanner','__classPrivateFieldSet','expirationTime'];a17_0x17f1=function(){return _0x13d7f3;};return a17_0x17f1();}(function(_0xeaf3e4,_0x1beb1e){const _0x24d027=a17_0x449c,_0x1a45a0=_0xeaf3e4();while(!![]){try{const _0x53428a=parseInt(_0x24d027(0xae))/0x1*(parseInt(_0x24d027(0x140))/0x2)+-parseInt(_0x24d027(0x14d))/0x3*(-parseInt(_0x24d027(0x11e))/0x4)+-parseInt(_0x24d027(0x69))/0x5+parseInt(_0x24d027(0xac))/0x6*(-parseInt(_0x24d027(0x171))/0x7)+parseInt(_0x24d027(0x98))/0x8+parseInt(_0x24d027(0x12f))/0x9+parseInt(_0x24d027(0x10f))/0xa*(-parseInt(_0x24d027(0x165))/0xb);if(_0x53428a===_0x1beb1e)break;else _0x1a45a0['push'](_0x1a45a0['shift']());}catch(_0x3cbe92){_0x1a45a0['push'](_0x1a45a0['shift']());}}}(a17_0x17f1,0x385f9));const a17_0x406aa0=(function(){let _0x505dd5=!![];return function(_0x291040,_0x5ea099){const _0x1e376a=_0x505dd5?function(){if(_0x5ea099){const _0xd803a5=_0x5ea099['apply'](_0x291040,arguments);return _0x5ea099=null,_0xd803a5;}}:function(){};return _0x505dd5=![],_0x1e376a;};}()),a17_0x4661cc=a17_0x406aa0(this,function(){const _0x19810e=a17_0x449c;return a17_0x4661cc[_0x19810e(0x12c)]()[_0x19810e(0xaf)](_0x19810e(0x134))[_0x19810e(0x12c)]()[_0x19810e(0x149)](a17_0x4661cc)['search'](_0x19810e(0x134));});function a17_0x449c(_0x92e2c5,_0x16f9f2){const _0x592172=a17_0x17f1();return a17_0x449c=function(_0x4661cc,_0x406aa0){_0x4661cc=_0x4661cc-0x69;let _0x17f1a7=_0x592172[_0x4661cc];return _0x17f1a7;},a17_0x449c(_0x92e2c5,_0x16f9f2);}a17_0x4661cc();'use strict';var __classPrivateFieldSet=this&&this[a17_0x35c274(0xda)]||function(_0x361900,_0x293d88,_0x2ad4dd,_0x3f9245,_0x3a3038){const _0x407f8a=a17_0x35c274;if(_0x3f9245==='m')throw new TypeError(_0x407f8a(0x6d));if(_0x3f9245==='a'&&!_0x3a3038)throw new TypeError(_0x407f8a(0x121));if(typeof _0x293d88===_0x407f8a(0x163)?_0x361900!==_0x293d88||!_0x3a3038:!_0x293d88[_0x407f8a(0x159)](_0x361900))throw new TypeError(_0x407f8a(0xe3));return _0x3f9245==='a'?_0x3a3038[_0x407f8a(0x94)](_0x361900,_0x2ad4dd):_0x3a3038?_0x3a3038['value']=_0x2ad4dd:_0x293d88[_0x407f8a(0x139)](_0x361900,_0x2ad4dd),_0x2ad4dd;},__classPrivateFieldGet=this&&this[a17_0x35c274(0x108)]||function(_0x23936,_0x4e18bf,_0x52944a,_0x530c8e){const _0x9b7ece=a17_0x35c274;if(_0x52944a==='a'&&!_0x530c8e)throw new TypeError(_0x9b7ece(0x136));if(typeof _0x4e18bf===_0x9b7ece(0x163)?_0x23936!==_0x4e18bf||!_0x530c8e:!_0x4e18bf[_0x9b7ece(0x159)](_0x23936))throw new TypeError(_0x9b7ece(0x7f));return _0x52944a==='m'?_0x530c8e:_0x52944a==='a'?_0x530c8e[_0x9b7ece(0x94)](_0x23936):_0x530c8e?_0x530c8e[_0x9b7ece(0xba)]:_0x4e18bf['get'](_0x23936);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_runningOnGCP,_Debuglet_getClusterNameFromMetadata,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a17_0x35c274(0xcc)](exports,a17_0x35c274(0x97),{'value':!![]}),exports[a17_0x35c274(0x11b)]=exports[a17_0x35c274(0xd7)]=void 0x0;const assert=require('assert'),events_1=require(a17_0x35c274(0x6e)),extend=require(a17_0x35c274(0xc9)),fs=require('fs'),metadata=require(a17_0x35c274(0xb3)),path=require(a17_0x35c274(0xb4)),util=require('util'),status_message_1=require(a17_0x35c274(0xb1)),stackdriver_1=require(a17_0x35c274(0x168)),agent_logger_1=require(a17_0x35c274(0x83)),config_1=require(a17_0x35c274(0x127)),controller_1=require(a17_0x35c274(0x16c)),SourceMapper=require(a17_0x35c274(0xc1)),debugapi=require(a17_0x35c274(0x96)),piping_manager_1=require(a17_0x35c274(0xa5)),quota_manager_1=require(a17_0x35c274(0x12e)),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),scanner_1=require(a17_0x35c274(0xd9)),environment_metadata_1=require(a17_0x35c274(0xa9)),file_index_1=require(a17_0x35c274(0x16a)),utils_1=require('./util/utils'),redaction_manager_1=require(a17_0x35c274(0xd0)),configuration_provider_1=require(a17_0x35c274(0xb9)),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),mapSubtract_1=require(a17_0x35c274(0xf5)),format_1=require('./debuglet-helpers/format'),createDebuggee_1=require(a17_0x35c274(0x125)),readFilep=util[a17_0x35c274(0x157)](fs[a17_0x35c274(0xf2)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x4de091,_0x4c2615)=>{const _0x5ba035=a17_0x35c274;let _0x243efb=_0x4de091+util[_0x5ba035(0x15a)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x4c2615['id'],_0x4c2615[_0x5ba035(0xe6)],util['inspect'](_0x4c2615[_0x5ba035(0x109)]));if(_0x4c2615[_0x5ba035(0x152)]){const _0x545d98=Number(_0x4c2615[_0x5ba035(0x152)]['seconds']),_0x281930=new Date(_0x545d98*0x3e8);_0x243efb+='\x0a\x09createdTime:\x20'+_0x281930[_0x5ba035(0x12c)]();}return _0x4c2615['condition']&&(_0x243efb+=_0x5ba035(0xa2)+util['inspect'](_0x4c2615[_0x5ba035(0x93)])),_0x4c2615['expressions']&&(_0x243efb+=_0x5ba035(0x162)+util['inspect'](_0x4c2615[_0x5ba035(0x120)])),_0x243efb;},formatBreakpoints=(_0xef6dfa,_0x145c80)=>{const _0x2728e5=a17_0x35c274;return _0xef6dfa+Object['keys'](_0x145c80)[_0x2728e5(0x11c)](_0x4b4164=>{return formatBreakpoint('',_0x145c80[_0x4b4164]);})['join']('\x0a');};class CachedPromise{constructor(){const _0x3822ba=a17_0x35c274;this[_0x3822ba(0x154)]=null,this[_0x3822ba(0x7b)]=new Promise(_0x457d04=>{const _0x24d700=_0x3822ba;this[_0x24d700(0x154)]=_0x457d04;});}[a17_0x35c274(0xab)](){return this['promise'];}[a17_0x35c274(0x142)](){const _0x42c275=a17_0x35c274;this[_0x42c275(0x154)]&&(this[_0x42c275(0x154)](),this[_0x42c275(0x154)]=null);}}exports[a17_0x35c274(0xd7)]=CachedPromise;class IsReadyImpl{constructor(_0x2683c2){this['debuglet']=_0x2683c2;}[a17_0x35c274(0x114)](){const _0x7c02fc=a17_0x35c274;return this[_0x7c02fc(0xfd)][_0x7c02fc(0x114)]();}}class Debuglet extends events_1[a17_0x35c274(0x9e)]{constructor(_0xcebb1f,_0x38b1fd){const _0x28a651=a17_0x35c274;super(),_Debuglet_instances[_0x28a651(0xd3)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x28a651(0x139)](this,void 0x0),_Debuglet_running[_0x28a651(0x139)](this,void 0x0),_Debuglet_controller[_0x28a651(0x139)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x28a651(0x139)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x28a651(0x139)](this,void 0x0),_Debuglet_breakpointFetched[_0x28a651(0x139)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x28a651(0x139)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x28a651(0x139)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x28a651(0x139)](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager[_0x28a651(0x139)](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x28a651(0x139)](this,void 0x0),_Debuglet_configProvider[_0x28a651(0x139)](this,void 0x0),this[_0x28a651(0x119)]=(0x0,normalizeConfig_1[_0x28a651(0x75)])(_0x38b1fd),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0xcebb1f,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x28a651(0x135)]=![],this['logger']=agent_logger_1[_0x28a651(0xe1)][_0x28a651(0x73)](this['config'][_0x28a651(0x9b)]['logsPath'],this[_0x28a651(0x119)][_0x28a651(0x9b)][_0x28a651(0x111)],this['config'][_0x28a651(0x9b)][_0x28a651(0x13f)]),(0x0,config_1[_0x28a651(0x14c)])(this[_0x28a651(0x119)],this[_0x28a651(0x143)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x28a651(0xf0))](this[_0x28a651(0x143)])[_0x28a651(0x133)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x28a651(0x16e))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x28a651(0x119)],this[_0x28a651(0x143)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x28a651(0xa3))](this[_0x28a651(0x143)]),'f'),this[_0x28a651(0xc8)]=null,this[_0x28a651(0x173)]={},__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[(_0x28a651(0x99))](this[_0x28a651(0x143)],this[_0x28a651(0x119)]),'f'),this['pipingManager']=new piping_manager_1[(_0x28a651(0x77))](_0x28a651(0x160),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async['findFiles'](_0x3a9187,_0x3f0aac){const _0x2ab7c3=a17_0x35c274,_0x522070=_0x3a9187[_0x2ab7c3(0xbe)],_0x27206d=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x2ab7c3(0xeb)](_0x522070,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x2ab7c3(0x94)](Debuglet,_0x3a9187[_0x2ab7c3(0xb6)][_0x2ab7c3(0x10e)]('js.map')),_0x3f0aac,_0x3a9187[_0x2ab7c3(0x122)]),_0x520b9b=_0x27206d[_0x2ab7c3(0x8a)](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x2ab7c3(0x94)](Debuglet,_0x3a9187[_0x2ab7c3(0xb6)])),_0x788223=file_index_1[_0x2ab7c3(0xc0)][_0x2ab7c3(0x76)](_0x520b9b),_0x114c60=_0x27206d[_0x2ab7c3(0x12a)](/.js.map$/,process[_0x2ab7c3(0xe8)]()),_0x710666=_0x27206d[_0x2ab7c3(0xe0)]();return{'mapFiles':_0x114c60,'errors':_0x710666,'jsFileIndex':_0x788223,'hash':_0x27206d[_0x2ab7c3(0x6f)]};}async[a17_0x35c274(0xf1)](){const _0x47730a=a17_0x35c274;var _0x3e9a07;const _0x2e5f97=this,_0x313df7=_0x2e5f97[_0x47730a(0x119)][_0x47730a(0xbe)];if(!_0x2e5f97[_0x47730a(0x119)][_0x47730a(0x151)]&&path[_0x47730a(0x84)](_0x313df7,'..')===_0x313df7){const _0x5651cb='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+_0x47730a(0xf8)+_0x47730a(0x16d)+'do\x20this.';_0x2e5f97[_0x47730a(0x143)][_0x47730a(0x9c)](_0x5651cb),_0x2e5f97[_0x47730a(0x106)](_0x47730a(0x82),new Error(_0x5651cb));return;}let _0x12b789;process[_0x47730a(0x9f)][_0x47730a(0x14a)]&&(_0x12b789='GAE-'+process['env']['GAE_MINOR_VERSION']);let _0x5c59a4,_0x1f54e6=_0x12b789||'';try{_0x5c59a4=await this['findFiles'](_0x2e5f97[_0x47730a(0x119)],_0x12b789),_0x5c59a4[_0x47730a(0xe0)][_0x47730a(0x126)](_0x2e5f97[_0x47730a(0x143)][_0x47730a(0x91)]);}catch(_0x48c8ce){_0x2e5f97[_0x47730a(0x143)]['error'](_0x47730a(0x70),_0x48c8ce),_0x2e5f97[_0x47730a(0x106)](_0x47730a(0x82),_0x48c8ce);return;}try{const _0x337926=await SourceMapper['create'](_0x5c59a4[_0x47730a(0x7a)]);__classPrivateFieldSet(_0x2e5f97,_Debuglet_v8debug,debugapi[_0x47730a(0x72)](_0x2e5f97[_0x47730a(0x143)],_0x2e5f97[_0x47730a(0x119)],_0x5c59a4[_0x47730a(0xdc)],_0x337926,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x1f54e6=_0x12b789||_0x5c59a4['hash'];}catch(_0x2901f9){_0x2e5f97[_0x47730a(0x143)][_0x47730a(0x9c)](_0x47730a(0x89),_0x2901f9),_0x2e5f97[_0x47730a(0x106)](_0x47730a(0x82),_0x2901f9);}_0x2e5f97[_0x47730a(0x143)][_0x47730a(0xd5)](_0x47730a(0x167)+_0x1f54e6);const _0x463798=(0x0,utils_1[_0x47730a(0x9d)])(_0x2e5f97['logger'])['replace']('\x0a','');_0x2e5f97[_0x47730a(0x143)][_0x47730a(0xd5)](_0x47730a(0xb8)+_0x463798);let _0x6c24b9;try{_0x6c24b9=_0x2e5f97[_0x47730a(0x119)][_0x47730a(0xdd)]||await Debuglet[_0x47730a(0xc3)]();}catch(_0x5a4508){}this[_0x47730a(0x119)]['capture']&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x47730a(0x92)]()===0x0&&(0x0,utils_1[_0x47730a(0x124)])(process['version'],_0x47730a(0xf3))&&_0x2e5f97[_0x47730a(0x143)][_0x47730a(0x91)](utils_1[_0x47730a(0xe0)][_0x47730a(0xea)]),_0x2e5f97[_0x47730a(0x143)][_0x47730a(0xd5)](_0x47730a(0xed)+((_0x3e9a07=process[_0x47730a(0x128)])===null||_0x3e9a07===void 0x0?void 0x0:_0x3e9a07[_0x47730a(0x132)])),_0x2e5f97[_0x47730a(0x143)][_0x47730a(0x116)](_0x47730a(0x87)+_0x313df7),_0x2e5f97['logger'][_0x47730a(0x116)](_0x47730a(0xa8)),__classPrivateFieldSet(_0x2e5f97,_Debuglet_running,!![],'f'),_0x2e5f97[_0x47730a(0xc8)]=(0x0,createDebuggee_1['createDebuggee'])(_0x1f54e6,_0x2e5f97[_0x47730a(0x119)],_0x6c24b9,__classPrivateFieldGet(_0x2e5f97,_Debuglet_debug,'f')['packageInfo'],_0x463798,_0x2e5f97[_0x47730a(0x143)],__classPrivateFieldGet(_0x2e5f97,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x2e5f97,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x47730a(0x94)](_0x2e5f97),__classPrivateFieldGet(_0x2e5f97,_Debuglet_instances,'m',_Debuglet_register_)[_0x47730a(0x94)](_0x2e5f97),_0x2e5f97[_0x47730a(0x106)](_0x47730a(0x147));}[a17_0x35c274(0x114)](){const _0x50a599=a17_0x35c274;if(Date[_0x50a599(0x12b)]()<__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')[_0x50a599(0xab)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x50a599(0xab)]()[_0x50a599(0xcb)](()=>{const _0x36148d=_0x50a599;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x36148d(0x94)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x50a599(0xab)]();}}static async[a17_0x35c274(0xc3)](){const _0x1ae94c=a17_0x35c274,_0x43c1aa=await readFilep(_0x1ae94c(0xb5),'utf8');try{return JSON[_0x1ae94c(0x10a)](_0x43c1aa);}catch(_0x53bb0f){throw new Error(_0x1ae94c(0x102)+_0x53bb0f);}}[a17_0x35c274(0x113)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x35c274(0x10d)](){const _0x32bb11=a17_0x35c274;var _0x498487;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x32bb11(0x143)][_0x32bb11(0x116)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this['logger'][_0x32bb11(0x116)](_0x32bb11(0x148)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0x498487=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0x498487===void 0x0?void 0x0:_0x498487['clearTransmissionTimeout'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0x32bb11(0x172));}}exports['Debuglet']=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x367342){const _0x10b8ec=a17_0x35c274;return new RegExp(_0x367342['map'](_0x1df540=>_0x1df540+'$')[_0x10b8ec(0x84)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0xde7bc=a17_0x35c274,_0x4b6029=[_0xde7bc(0x14f),_0xde7bc(0x166),_0xde7bc(0xd8)];_0x4b6029['forEach'](_0x2cb0ad=>{const _0x1ffba3=_0xde7bc;process[_0x1ffba3(0x13c)](_0x2cb0ad,()=>{const _0x6a2970=_0x1ffba3;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x6a2970(0xe7)](this[_0x6a2970(0xc8)],()=>{const _0x67a5f7=_0x6a2970;process[_0x67a5f7(0x129)](process['pid'],_0x2cb0ad);});});}),process['once']('beforeExit',()=>{const _0x47385d=_0xde7bc;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x47385d(0xe7)](this[_0x47385d(0xc8)],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){const _0x36caf6=a17_0x35c274;return metadata[_0x36caf6(0x86)]();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0x3d1813=a17_0x35c274;return(await metadata[_0x3d1813(0xf7)]('attributes/cluster-name'))['data'];},_Debuglet_register_=function _Debuglet_register_(){const _0x320dde=a17_0x35c274;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x320dde(0x94)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xc56858){const _0x1e064c=a17_0x35c274,_0x6c316c=this;_0x6c316c[_0x1e064c(0x143)][_0x1e064c(0x116)](_0xc56858?_0x1e064c(0x155)+_0xc56858+'s':_0x1e064c(0xc4));function _0x4ab51b(_0x4a0bac,_0x4a1ac4){const _0xfe45eb=_0x1e064c;var _0x1307b9,_0x193abb;const _0x5b2d7a=((_0x1307b9=_0x6c316c[_0xfe45eb(0xc8)])===null||_0x1307b9===void 0x0?void 0x0:_0x1307b9['id'])?_0xfe45eb(0x137)+((_0x193abb=_0x6c316c[_0xfe45eb(0xc8)])===null||_0x193abb===void 0x0?void 0x0:_0x193abb['id'])+':\x20'+_0x4a0bac:'Failed\x20to\x20register\x20debuggee:\x20'+_0x4a0bac;_0x6c316c[_0xfe45eb(0x143)]['error'](_0x5b2d7a),_0x4a1ac4&&_0x6c316c[_0xfe45eb(0x143)][_0xfe45eb(0x9c)]('Result:\x20\x0a',_0x4a1ac4),__classPrivateFieldGet(_0x6c316c,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0xfe45eb(0x94)](_0x6c316c,(0x0,utils_1[_0xfe45eb(0x164)])(_0xc56858,_0x6c316c['config'][_0xfe45eb(0x117)][_0xfe45eb(0x153)]));}setTimeout(()=>{const _0x38c247=_0x1e064c;if(!__classPrivateFieldGet(_0x6c316c,_Debuglet_running,'f')){_0x4ab51b(new Error(_0x38c247(0x12d)));return;}__classPrivateFieldGet(_0x6c316c,_Debuglet_controller,'f')[_0x38c247(0x104)](_0x6c316c['debuggee'],(_0x48bcc5,_0x676f41)=>{const _0x40dbdd=_0x38c247;if(_0x48bcc5){_0x4ab51b(_0x48bcc5,_0x676f41);return;}if(_0x676f41['debuggee'][_0x40dbdd(0xbc)]){_0x4ab51b(new Error(_0x40dbdd(0xc5))),_0x6c316c[_0x40dbdd(0x106)]('remotelyDisabled');return;}const _0x2aa5f1=_0x676f41[_0x40dbdd(0xc8)]['id'];_0x6c316c[_0x40dbdd(0x143)][_0x40dbdd(0xd5)]('Registered\x20as\x20debuggee:\x20'+_0x2aa5f1),_0x6c316c[_0x40dbdd(0xc8)]['id']=_0x2aa5f1;const _0x3a23ae=[__classPrivateFieldGet(_0x6c316c,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x40dbdd(0x16b)](_0x6c316c)(_0x6c316c[_0x40dbdd(0xc8)]['id'])];_0x6c316c[_0x40dbdd(0x119)][_0x40dbdd(0xe2)]&&_0x3a23ae[_0x40dbdd(0x74)](__classPrivateFieldGet(_0x6c316c,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x6c316c)(_0x6c316c[_0x40dbdd(0xc8)]['id'])),Promise[_0x40dbdd(0xd6)](_0x3a23ae)[_0x40dbdd(0xcb)](()=>{const _0x1d04fe=_0x40dbdd;var _0xab15ef;_0x6c316c[_0x1d04fe(0x106)](_0x1d04fe(0x141),_0x2aa5f1),__classPrivateFieldGet(_0x6c316c,_Debuglet_debuggeeRegistered,'f')[_0x1d04fe(0x142)](),(_0xab15ef=__classPrivateFieldGet(_0x6c316c,_Debuglet_v8debug,'f'))===null||_0xab15ef===void 0x0?void 0x0:_0xab15ef[_0x1d04fe(0x10b)](__classPrivateFieldGet(_0x6c316c,_Debuglet_blocklistManager,'f')),!_0x6c316c['fetcherActive']&&__classPrivateFieldGet(_0x6c316c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1d04fe(0x94)](_0x6c316c,0x0,this['config'][_0x1d04fe(0x174)],_0x676f41===null||_0x676f41===void 0x0?void 0x0:_0x676f41['clientConnectionTimeoutInSeconds']);},_0x1e11b0=>{_0x4ab51b(_0x1e11b0);});});},_0xc56858*0x3e8)[_0x1e064c(0x8f)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x11a879,_0x41a2ae,_0xd48534){const _0x112b25=a17_0x35c274,_0x29c4b3=this;!_0x41a2ae&&(_0x29c4b3[_0x112b25(0x135)]=!![]),setTimeout(()=>{const _0x2157e7=_0x112b25;if(!__classPrivateFieldGet(_0x29c4b3,_Debuglet_running,'f'))return;!_0x41a2ae&&assert(_0x29c4b3['fetcherActive']),_0x29c4b3['logger'][_0x2157e7(0xd5)]('Fetching\x20breakpoints'),__classPrivateFieldGet(_0x29c4b3,_Debuglet_controller,'f')['listBreakpoints'](_0x29c4b3['debuggee'],(_0x192b55,_0x1dfeb9,_0x5d55e3)=>{const _0x3ed18c=_0x2157e7;if((_0x1dfeb9===null||_0x1dfeb9===void 0x0?void 0x0:_0x1dfeb9['status'])===0x194){_0x29c4b3[_0x3ed18c(0x143)]['info'](_0x3ed18c(0xb0)),_0x29c4b3[_0x3ed18c(0x135)]=![],__classPrivateFieldGet(_0x29c4b3,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x3ed18c(0x94)](_0x29c4b3),__classPrivateFieldGet(_0x29c4b3,_Debuglet_instances,'m',_Debuglet_register_)[_0x3ed18c(0x94)](_0x29c4b3);return;}if(_0x192b55){const _0x462f5e=(0x0,utils_1[_0x3ed18c(0x164)])(_0x11a879,_0x29c4b3[_0x3ed18c(0x119)]['internal'][_0x3ed18c(0x153)]);_0x29c4b3[_0x3ed18c(0x143)][_0x3ed18c(0x9c)](_0x3ed18c(0x79)+(_0x1dfeb9===null||_0x1dfeb9===void 0x0?void 0x0:_0x1dfeb9['status'])+'.\x20message:\x20'+_0x192b55['message']+_0x3ed18c(0xf6)+_0x462f5e+'s'),__classPrivateFieldGet(_0x29c4b3,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3ed18c(0x94)](_0x29c4b3,_0x462f5e,_0x41a2ae,_0xd48534);return;}_0x29c4b3['logger'][_0x3ed18c(0xd5)]('\x09'+_0x1dfeb9[_0x3ed18c(0x13e)]+'\x20completed.');if(!_0x5d55e3){const _0x5f3cc5=_0x29c4b3['config'][_0x3ed18c(0x8e)];_0x29c4b3['logger'][_0x3ed18c(0x9c)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x5f3cc5+'s'),__classPrivateFieldGet(_0x29c4b3,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3ed18c(0x94)](_0x29c4b3,_0x5f3cc5,_0x41a2ae,_0xd48534);return;}if(_0x5d55e3['waitExpired']){_0x29c4b3[_0x3ed18c(0x143)]['info'](_0x3ed18c(0x71)),__classPrivateFieldGet(_0x29c4b3,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3ed18c(0x94)](_0x29c4b3,0x0,_0x41a2ae,_0xd48534);return;}if(_0x5d55e3['pipeLogs']&&_0x5d55e3[_0x3ed18c(0x110)]!==_0x3ed18c(0x170)){const _0x7286bf=this[_0x3ed18c(0x158)][_0x3ed18c(0xf9)];_0x7286bf!==_0x5d55e3[_0x3ed18c(0x110)]&&(this[_0x3ed18c(0x143)]['debug'](_0x3ed18c(0x9a)+_0x7286bf+'\x20to\x20'+_0x5d55e3[_0x3ed18c(0x110)]),this['pipingManager'][_0x3ed18c(0xf9)]=_0x5d55e3[_0x3ed18c(0x110)]);}if(_0x5d55e3['collectAndSendLog']&&_0x5d55e3[_0x3ed18c(0xbb)]!==_0x29c4b3['collectLogRequestId']){_0x29c4b3[_0x3ed18c(0xbb)]=_0x5d55e3['collectLogRequestId'];const _0x324935=_0x29c4b3[_0x3ed18c(0x119)][_0x3ed18c(0x9b)][_0x3ed18c(0xfe)]&&path[_0x3ed18c(0x84)](_0x29c4b3['config']['agentLog'][_0x3ed18c(0xfe)],agent_logger_1[_0x3ed18c(0xe1)]['AGENT_LOG_FILE']);_0x324935&&fs[_0x3ed18c(0x150)](_0x324935)?setTimeout(()=>__classPrivateFieldGet(_0x29c4b3,_Debuglet_controller,'f')[_0x3ed18c(0x6c)](_0x29c4b3[_0x3ed18c(0xc8)],_0x5d55e3['collectLogRequestId'],_0x324935)):_0x29c4b3[_0x3ed18c(0x143)][_0x3ed18c(0xd5)](_0x3ed18c(0x118)+_0x5d55e3[_0x3ed18c(0xbb)]+_0x3ed18c(0xce)+'logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits');}const _0x242583=(_0x5d55e3[_0x3ed18c(0xe4)]||[])[_0x3ed18c(0x11c)](_0x58d024=>new stackdriver_1[(_0x3ed18c(0xec))](_0x58d024))['filter'](_0x762c14=>{const _0x10b722=_0x3ed18c,_0x1afd24=_0x762c14[_0x10b722(0xe6)]||_0x10b722(0x8c);if(__classPrivateFieldGet(_0x29c4b3,_Debuglet_completedBreakpointMap,'f')[_0x762c14['id']])return![];if(_0x1afd24!==_0x10b722(0x8c)&&_0x1afd24!==_0x10b722(0xad))return _0x29c4b3[_0x10b722(0x143)][_0x10b722(0x91)](_0x10b722(0xa0),_0x1afd24),_0x762c14['status']=new status_message_1[(_0x10b722(0x15e))](status_message_1[_0x10b722(0x15e)][_0x10b722(0x103)],utils_1[_0x10b722(0xe0)][_0x10b722(0xb2)],!![]),__classPrivateFieldGet(_0x29c4b3,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x10b722(0x94)](_0x29c4b3,_0x762c14),![];return!![];});__classPrivateFieldGet(_0x29c4b3,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x29c4b3),__classPrivateFieldGet(_0x29c4b3,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x3ed18c(0x94)](_0x29c4b3,_0x242583),_0x29c4b3['emit'](_0x3ed18c(0xb7),_0x242583[_0x3ed18c(0xff)]);Object[_0x3ed18c(0x8d)](_0x29c4b3[_0x3ed18c(0x173)])[_0x3ed18c(0xff)]&&_0x29c4b3[_0x3ed18c(0x143)][_0x3ed18c(0xd5)](formatBreakpoints(_0x3ed18c(0xa1),_0x29c4b3['activeBreakpointMap']));__classPrivateFieldSet(_0x29c4b3,_Debuglet_breakpointFetchedTimestamp,Date[_0x3ed18c(0x12b)](),'f');_0x41a2ae?__classPrivateFieldGet(_0x29c4b3,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x29c4b3,_Debuglet_breakpointFetched,'f')[_0x3ed18c(0x142)](),__classPrivateFieldSet(_0x29c4b3,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x29c4b3,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3ed18c(0x94)](_0x29c4b3,0x0,_0x41a2ae,_0xd48534);return;},_0xd48534);},_0x11a879*0x3e8)[_0x112b25(0x8f)]();},_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_(_0x589814){const _0x5a47a9=a17_0x35c274,_0xb64efa=this,_0x1bc8ce=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x5a47a9(0x94)](this,_0x589814);_0x589814[_0x5a47a9(0xff)]&&_0xb64efa[_0x5a47a9(0x143)][_0x5a47a9(0xd5)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x1bc8ce)),_0x589814['forEach'](_0x2a57e5=>{const _0x28ed9e=_0x5a47a9;!__classPrivateFieldGet(_0xb64efa,_Debuglet_completedBreakpointMap,'f')[_0x2a57e5['id']]&&!_0xb64efa['activeBreakpointMap'][_0x2a57e5['id']]&&(__classPrivateFieldGet(_0xb64efa,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](_0xb64efa,_0x2a57e5,_0x4e3d89=>{const _0x56f948=a17_0x449c;_0x4e3d89&&__classPrivateFieldGet(_0xb64efa,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x56f948(0x94)](_0xb64efa,_0x2a57e5,!![],![]);}),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x28ed9e(0x95)](_0x2a57e5['id'])),__classPrivateFieldGet(_0xb64efa,_Debuglet_quotaManager,'f')[_0x28ed9e(0x15c)](_0x2a57e5['id'],_0x2a57e5['ignoreQuota']),_0xb64efa[_0x28ed9e(0x158)][_0x28ed9e(0x7e)](_0x2a57e5['id'],_0x2a57e5[_0x28ed9e(0x115)]);}),(0x0,mapSubtract_1[_0x5a47a9(0x78)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x1bc8ce)['forEach'](_0x2da60c=>{delete __classPrivateFieldGet(_0xb64efa,_Debuglet_completedBreakpointMap,'f')[_0x2da60c['id']];}),(0x0,mapSubtract_1[_0x5a47a9(0x78)])(this['activeBreakpointMap'],_0x1bc8ce)[_0x5a47a9(0x126)](_0x246680=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x246680,!![]);});},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x2f3325){const _0x4797f8=a17_0x35c274,_0x406d5f={};return _0x2f3325[_0x4797f8(0x126)](_0x37a326=>{_0x406d5f[_0x37a326['id']]=_0x37a326;}),_0x406d5f;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x14194a,_0x27df9b){const _0x229e0a=a17_0x35c274;this[_0x229e0a(0x143)]['info']('\x09remove\x20breakpoint',_0x14194a),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x229e0a(0x123)](_0x14194a['id']),this[_0x229e0a(0x158)][_0x229e0a(0xa6)](_0x14194a['id']),delete this[_0x229e0a(0x173)][_0x14194a['id']],_0x27df9b&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x229e0a(0x138)](_0x14194a,_0x31f099=>{const _0x30a289=_0x229e0a;if(_0x31f099)this[_0x30a289(0x143)]['error'](_0x31f099);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x3f5d6d,_0x1014b0){const _0x43f82e=a17_0x35c274;var _0x3f5cce;const _0x5b0521=this;_0x5b0521[_0x43f82e(0x143)][_0x43f82e(0xd5)](_0x43f82e(0xc2),_0x3f5d6d);if(!_0x5b0521[_0x43f82e(0x119)]['allowExpressions']&&(_0x3f5d6d[_0x43f82e(0x93)]||_0x3f5d6d[_0x43f82e(0x120)])){_0x5b0521[_0x43f82e(0x143)][_0x43f82e(0x9c)](utils_1[_0x43f82e(0xe0)]['ALLOW_EXPRESSIONS_MESSAGE'][_0x43f82e(0xe9)]||''),_0x3f5d6d['status']=new status_message_1[(_0x43f82e(0x15e))](status_message_1[_0x43f82e(0x15e)][_0x43f82e(0x103)],utils_1[_0x43f82e(0xe0)][_0x43f82e(0x7d)],!![]),setImmediate(()=>{const _0x27b2e0=_0x43f82e;_0x1014b0(utils_1['errors'][_0x27b2e0(0x7d)]);});return;}if((0x0,utils_1[_0x43f82e(0x124)])(process[_0x43f82e(0x169)],_0x43f82e(0x90))){const _0x3017ce=utils_1[_0x43f82e(0xe0)]['NODE_VERSION_MESSAGE'];_0x5b0521['logger'][_0x43f82e(0x9c)](_0x3017ce),_0x3f5d6d[_0x43f82e(0x13e)]=new status_message_1[(_0x43f82e(0x15e))](status_message_1['StatusMessage']['UNSPECIFIED'],_0x3017ce,!![]),setImmediate(()=>{_0x1014b0(_0x3017ce);});return;}const _0x1254f2=_0x3f5d6d[_0x43f82e(0x152)]?Number(_0x3f5d6d[_0x43f82e(0x152)][_0x43f82e(0xee)]):Date[_0x43f82e(0x12b)]()/0x3e8,_0x173ea5=_0x3f5d6d[_0x43f82e(0x6b)]||_0x5b0521['config'][_0x43f82e(0x81)];_0x3f5d6d[_0x43f82e(0xdb)]=_0x1254f2+_0x173ea5,((_0x3f5cce=_0x3f5d6d[_0x43f82e(0x109)])===null||_0x3f5cce===void 0x0?void 0x0:_0x3f5cce['path'])&&(_0x3f5d6d[_0x43f82e(0x109)]['path']=path[_0x43f82e(0xde)](_0x3f5d6d[_0x43f82e(0x109)][_0x43f82e(0xb4)]),path[_0x43f82e(0x13a)]===path[_0x43f82e(0xd1)][_0x43f82e(0x13a)]&&(_0x3f5d6d[_0x43f82e(0x109)][_0x43f82e(0xb4)]=_0x3f5d6d[_0x43f82e(0x109)][_0x43f82e(0xb4)][_0x43f82e(0x156)]('\x5c')['join'](path[_0x43f82e(0x13a)]))),__classPrivateFieldGet(_0x5b0521,_Debuglet_v8debug,'f')[_0x43f82e(0x139)](_0x3f5d6d,_0x44152f=>{const _0x5255a6=_0x43f82e;if(_0x44152f){_0x1014b0(_0x44152f);return;}_0x5b0521[_0x5255a6(0x143)]['info'](_0x5255a6(0xfa),_0x3f5d6d),_0x5b0521[_0x5255a6(0x173)][_0x3f5d6d['id']]=_0x3f5d6d,_0x3f5d6d[_0x5255a6(0xe6)]===_0x5255a6(0xad)?__classPrivateFieldGet(_0x5b0521,_Debuglet_v8debug,'f')[_0x5255a6(0xf4)](_0x3f5d6d,(_0x8bbd19,_0x47d6a5)=>{const _0x5c9e55=_0x5255a6;var _0x2e3eda,_0x48d677,_0x3843de,_0x40b5e4;const _0x1368ee=_0x47d6a5[_0x5c9e55(0x11c)](_0x59712b=>__classPrivateFieldGet(_0x5b0521,_Debuglet_instances,'m',_Debuglet_stringify)[_0x5c9e55(0x94)](_0x5b0521,_0x59712b)),_0x1049da=(0x0,format_1[_0x5c9e55(0x15a)])(_0x8bbd19,_0x1368ee),_0x2f90ff=_0x5c9e55(0x130)+(((_0x2e3eda=__classPrivateFieldGet(_0x5b0521,_Debuglet_redactionManager,'f'))===null||_0x2e3eda===void 0x0?void 0x0:_0x2e3eda[_0x5c9e55(0xaa)](_0x1049da))||_0x1049da),_0x25d810=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x2f90ff,_0x3f5d6d['id']);if(_0x25d810){const _0x41bef0=_0x25d810[_0x5c9e55(0x144)],_0x3c248c=_0x25d810[_0x5c9e55(0x15d)];let _0x350986,_0xa1d3ea;!((_0x48d677=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x48d677===void 0x0?void 0x0:_0x48d677[_0x5c9e55(0x161)]())&&!_0x3c248c&&(_0x350986=_0x5c9e55(0x130)+_0x8bbd19,_0xa1d3ea=_0x1368ee);_0x5b0521[_0x5c9e55(0x158)][_0x5c9e55(0x145)](_0x5b0521['debuggee'],_0x3f5d6d['id'],_0x41bef0,_0x3f5d6d[_0x5c9e55(0x131)],_0x350986,_0xa1d3ea);if(_0x3c248c)(_0x3843de=__classPrivateFieldGet(_0x5b0521,_Debuglet_v8debug,'f'))===null||_0x3843de===void 0x0?void 0x0:_0x3843de[_0x5c9e55(0x88)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x39eeba=_0x5c9e55;var _0x259eb7;(_0x259eb7=__classPrivateFieldGet(_0x5b0521,_Debuglet_v8debug,'f'))===null||_0x259eb7===void 0x0?void 0x0:_0x259eb7[_0x39eeba(0x112)](),__classPrivateFieldSet(_0x5b0521,_Debuglet_nextEnableTimeout,null,'f');},_0x5b0521[_0x5c9e55(0x119)][_0x5c9e55(0x107)][_0x5c9e55(0x101)]*0x3e8),'f');else(_0x41bef0===null||_0x41bef0===void 0x0?void 0x0:_0x41bef0[_0x5c9e55(0xff)])===0x0&&((_0x40b5e4=__classPrivateFieldGet(_0x5b0521,_Debuglet_v8debug,'f'))===null||_0x40b5e4===void 0x0?void 0x0:_0x40b5e4[_0x5c9e55(0x88)]());}},()=>{return __classPrivateFieldGet(_0x5b0521,_Debuglet_completedBreakpointMap,'f')[_0x3f5d6d['id']];},_0x4879d0=>{const _0x3ae0ee=_0x5255a6;if(_0x4879d0){_0x5b0521[_0x3ae0ee(0x143)][_0x3ae0ee(0x9c)](_0x4879d0),_0x1014b0(_0x4879d0);return;}}):__classPrivateFieldGet(_0x5b0521,_Debuglet_v8debug,'f')['wait'](_0x3f5d6d,_0x2d0043=>{const _0x12df64=_0x5255a6;if(_0x2d0043){setImmediate(()=>{const _0x5b4a09=a17_0x449c;_0x5b0521[_0x5b4a09(0x143)][_0x5b4a09(0x9c)](_0x2d0043),_0x1014b0(_0x2d0043);});return;}_0x5b0521['logger'][_0x12df64(0xd5)](_0x12df64(0xe5),_0x3f5d6d),__classPrivateFieldGet(_0x5b0521,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x12df64(0x94)](_0x5b0521,_0x3f5d6d,__classPrivateFieldGet(_0x5b0521,_Debuglet_v8debug,'f')[_0x12df64(0x6a)](_0x3f5d6d['id'])<=0x0);}),__classPrivateFieldGet(_0x5b0521,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)['call'](_0x5b0521,_0x3f5d6d);}),this['emit'](_0x43f82e(0x14b));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x5cb08d,_0x3632a3,_0x400a31=!![]){const _0x3d6df9=a17_0x35c274;var _0x1d3bb6,_0x4fe607,_0x386dcb,_0x19fa2c,_0x113240,_0x445eb7;const _0x2cc8a3=this;if(_0x5cb08d[_0x3d6df9(0x13e)]&&_0x5cb08d[_0x3d6df9(0x13e)][_0x3d6df9(0xbf)]){let _0xd8db21=((_0x4fe607=(_0x1d3bb6=_0x5cb08d[_0x3d6df9(0x13e)])===null||_0x1d3bb6===void 0x0?void 0x0:_0x1d3bb6[_0x3d6df9(0xe9)])===null||_0x4fe607===void 0x0?void 0x0:_0x4fe607[_0x3d6df9(0x15a)])||'';((_0x19fa2c=(_0x386dcb=_0x5cb08d['status'])===null||_0x386dcb===void 0x0?void 0x0:_0x386dcb[_0x3d6df9(0xe9)])===null||_0x19fa2c===void 0x0?void 0x0:_0x19fa2c[_0x3d6df9(0xc6)])&&(_0xd8db21+=':\x20'+((_0x445eb7=(_0x113240=_0x5cb08d[_0x3d6df9(0x13e)])===null||_0x113240===void 0x0?void 0x0:_0x113240[_0x3d6df9(0xe9)])===null||_0x445eb7===void 0x0?void 0x0:_0x445eb7['parameters'][_0x3d6df9(0x12c)]())),_0x2cc8a3['logger'][_0x3d6df9(0x91)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x5cb08d+_0x3d6df9(0xa7)+_0xd8db21);}else _0x2cc8a3['logger'][_0x3d6df9(0xd5)](_0x3d6df9(0x14e),_0x5cb08d);_0x3632a3&&(__classPrivateFieldGet(_0x2cc8a3,_Debuglet_completedBreakpointMap,'f')[_0x5cb08d['id']]=!![],__classPrivateFieldGet(_0x2cc8a3,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x2cc8a3,_0x5cb08d,_0x400a31)),__classPrivateFieldGet(_0x2cc8a3,_Debuglet_controller,'f')[_0x3d6df9(0xc7)](_0x2cc8a3[_0x3d6df9(0xc8)],extend(!![],{},_0x5cb08d));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x473743){const _0x224338=a17_0x35c274,_0xb35ddd=this;_0xb35ddd['logger']['debug'](_0x224338(0x13b)+_0x473743+'\x20accepted\x20by\x20agent');const _0x5616f1=extend(!![],{},_0x473743);_0x5616f1[_0x224338(0x146)]=![],_0x5616f1['status']=new status_message_1[(_0x224338(0x15e))](status_message_1['StatusMessage']['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(_0xb35ddd,_Debuglet_controller,'f')[_0x224338(0xc7)](_0xb35ddd[_0x224338(0xc8)],_0x5616f1);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x4391bc){const _0x2aba01=a17_0x35c274,_0x4e3c95=this;this[_0x2aba01(0x143)][_0x2aba01(0xd5)](_0x2aba01(0x10c),_0x4391bc),__classPrivateFieldGet(_0x4e3c95,_Debuglet_completedBreakpointMap,'f')[_0x4391bc['id']]=!![],__classPrivateFieldGet(_0x4e3c95,_Debuglet_controller,'f')[_0x2aba01(0xc7)](_0x4e3c95[_0x2aba01(0xc8)],_0x4391bc);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(){const _0x402ccc=a17_0x35c274,_0x30298d=this,_0x52c71e=Date[_0x402ccc(0x12b)]()/0x3e8;Object[_0x402ccc(0xd4)](this['activeBreakpointMap'])[_0x402ccc(0xca)](_0x11b1bb=>_0x11b1bb[_0x402ccc(0xdb)]?_0x11b1bb[_0x402ccc(0xdb)]<_0x52c71e:![])[_0x402ccc(0x126)](_0x1d3011=>{const _0x25f725=_0x402ccc;_0x30298d[_0x25f725(0x143)][_0x25f725(0xd5)](_0x25f725(0xcd),_0x1d3011),__classPrivateFieldGet(_0x30298d,_Debuglet_completedBreakpointMap,'f')[_0x1d3011['id']]=!![],__classPrivateFieldGet(_0x30298d,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x30298d,_0x1d3011,!![]);});},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x74567f){const _0x3a49ca=a17_0x35c274,_0x2d31e9=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x74567f),_0x220eca=_0x2d31e9[_0x3a49ca(0x80)],_0x3ac48d=_0x2d31e9[_0x3a49ca(0x7c)];_0x220eca&&_0x220eca[_0x3a49ca(0xff)]&&this[_0x3a49ca(0x143)][_0x3a49ca(0x116)]('Blacklist:\x20\x0a\x09',_0x220eca[_0x3a49ca(0x84)]('\x0a\x09')),_0x3ac48d&&_0x3ac48d[_0x3a49ca(0xff)]&&this[_0x3a49ca(0x143)][_0x3a49ca(0x116)](_0x3a49ca(0xdf),_0x3ac48d['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x3a49ca(0xef))](_0x220eca,_0x3ac48d,this[_0x3a49ca(0x119)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x5abc18){const _0x49232b=a17_0x35c274;var _0x293a8a;const _0x3c1ecc=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x49232b(0xd2)](_0x5abc18);(_0x3c1ecc===null||_0x3c1ecc===void 0x0?void 0x0:_0x3c1ecc['length'])&&this[_0x49232b(0x143)][_0x49232b(0x116)](_0x49232b(0xbd),_0x3c1ecc['map'](_0x569277=>_0x49232b(0x15f)+_0x569277['name']+_0x49232b(0x11a)+_0x569277[_0x49232b(0x11f)]+_0x49232b(0x100)+_0x569277[_0x49232b(0xfb)]+_0x49232b(0x11d)+_0x569277['caseInsensitive'])['join']('\x0a\x09'));if((0x0,utils_1[_0x49232b(0x124)])(process[_0x49232b(0x169)],_0x49232b(0x15b))){const {RedactionManagerRE2JS:_0x241e00}=await Promise[_0x49232b(0x142)]()[_0x49232b(0xcb)](()=>require(_0x49232b(0xfc)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x241e00(this['logger']),'f'),(_0x293a8a=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x293a8a===void 0x0?void 0x0:_0x293a8a[_0x49232b(0x8b)](_0x3c1ecc);}},_Debuglet_stringify=function _Debuglet_stringify(_0x45d1f8){const _0x1e206e=a17_0x35c274;if(!_0x45d1f8)return JSON[_0x1e206e(0x85)](_0x45d1f8);if(Array[_0x1e206e(0xcf)](_0x45d1f8)){const _0x48d5e8=[];for(const _0x28bf2f of _0x45d1f8){_0x48d5e8[_0x1e206e(0x74)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1e206e(0x94)](this,_0x28bf2f));}return'['+_0x48d5e8['join'](',\x20')+']';}if(typeof _0x45d1f8===_0x1e206e(0x13d)){const _0x10087f=Object[_0x1e206e(0x16f)](_0x45d1f8)['map'](([_0x2fefb7,_0x585b3a])=>{const _0x1c9007=_0x1e206e;var _0x451da6;const _0x5ed0d6=((_0x451da6=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x451da6===void 0x0?void 0x0:_0x451da6[_0x1c9007(0xa4)](_0x2fefb7))?redaction_manager_1[_0x1c9007(0x105)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1c9007(0x94)](this,_0x585b3a);return JSON[_0x1c9007(0x85)](_0x2fefb7)+':\x20'+_0x5ed0d6;})[_0x1e206e(0x84)](',\x20');return'{'+_0x10087f+'}';}return JSON[_0x1e206e(0x85)](_0x45d1f8);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a18_0x510a0c=a18_0x2973;(function(_0x530df8,_0x3436b8){const _0x563960=a18_0x2973,_0xfe91f5=_0x530df8();while(!![]){try{const _0x3cfab8=parseInt(_0x563960(0x6d))/0x1+parseInt(_0x563960(0xa2))/0x2+parseInt(_0x563960(0x78))/0x3*(parseInt(_0x563960(0xa6))/0x4)+-parseInt(_0x563960(0x7b))/0x5+parseInt(_0x563960(0xa0))/0x6+parseInt(_0x563960(0x8f))/0x7*(-parseInt(_0x563960(0x6f))/0x8)+-parseInt(_0x563960(0x91))/0x9;if(_0x3cfab8===_0x3436b8)break;else _0xfe91f5['push'](_0xfe91f5['shift']());}catch(_0x107cc9){_0xfe91f5['push'](_0xfe91f5['shift']());}}}(a18_0x4c7b,0x9cc2c));Object['defineProperty'](exports,a18_0x510a0c(0x73),{'value':!![]}),exports[a18_0x510a0c(0x9b)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a18_0x510a0c(0x95));function a18_0x2973(_0x31fb8d,_0x47760a){const _0x48ec3a=a18_0x4c7b();return a18_0x2973=function(_0x439ed2,_0x5be865){_0x439ed2=_0x439ed2-0x6a;let _0x4c7b99=_0x48ec3a[_0x439ed2];return _0x4c7b99;},a18_0x2973(_0x31fb8d,_0x47760a);}function a18_0x4c7b(){const _0x36795c=['__esModule','Node.js\x20','runtimeEnvironmentInfo','search','runtimeEnvironmentVersion','478749afymeA','cpuCoreCount','KUBERNETES_SERVICE_HOST','3136605bTJMkv','split','version','set','/.dockerenv','toString','env','MacOS','totalmem','release','(((.+)+)+)+$','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','arm64','isInK8s','host','node','linux','Linux','forEach','_logger','294KTfGHp','procArch','1781370RdnNhx','getProps','match','length','assert','x64','windows','osVersion','_cachedOsRelease','\x20on\x20','EnvironmentMetadata','error','versions','platform','/etc/os-release','508332XRvpWa','agentOS','1693026fFwPUO','arm','apply','isInDocker','8LBMQyk','readFileSync','linuxDistroName','cpus','trim','mac','pid','arch','_osRelease','warn','Windows','267510FWoLwB','x32','9632ucxYrf','utf-8','systemTotalMemoryBytes','VERSION_ID'];a18_0x4c7b=function(){return _0x36795c;};return a18_0x4c7b();}var OS;(function(_0x2c6749){const _0x4454d4=a18_0x510a0c;_0x2c6749[_0x4454d4(0x8c)]=_0x4454d4(0x8b),_0x2c6749['Windows']=_0x4454d4(0x97),_0x2c6749[_0x4454d4(0x82)]=_0x4454d4(0xab);}(OS||(OS={})));var ProcArch;(function(_0x2e9a7d){const _0x5eb6da=a18_0x510a0c,_0xa68a23=(function(){let _0x4ae52b=!![];return function(_0x406c12,_0x536eaf){const _0x1ba840=_0x4ae52b?function(){const _0x92c5d1=a18_0x2973;if(_0x536eaf){const _0x2fb9d6=_0x536eaf[_0x92c5d1(0xa4)](_0x406c12,arguments);return _0x536eaf=null,_0x2fb9d6;}}:function(){};return _0x4ae52b=![],_0x1ba840;};}()),_0x41c3a7=_0xa68a23(this,function(){const _0x568d94=a18_0x2973;return _0x41c3a7[_0x568d94(0x80)]()[_0x568d94(0x76)](_0x568d94(0x85))[_0x568d94(0x80)]()['constructor'](_0x41c3a7)['search'](_0x568d94(0x85));});_0x41c3a7(),_0x2e9a7d[_0x5eb6da(0x96)]=_0x5eb6da(0x96),_0x2e9a7d[_0x5eb6da(0x6e)]=_0x5eb6da(0x6e),_0x2e9a7d[_0x5eb6da(0xa3)]=_0x5eb6da(0xa3),_0x2e9a7d[_0x5eb6da(0x87)]=_0x5eb6da(0x87);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a18_0x510a0c(0x8c)],'win32':OS[a18_0x510a0c(0x6c)],'darwin':OS['MacOS']},ArchToProcArchMap={'x32':ProcArch['x32'],'x64':ProcArch[a18_0x510a0c(0x96)],'arm':ProcArch[a18_0x510a0c(0xa3)],'arm64':ProcArch[a18_0x510a0c(0x87)]};class EnvironmentMetadata{constructor(_0x2eee7a){const _0x304ad5=a18_0x510a0c;assert(_0x2eee7a!==null),this[_0x304ad5(0x8e)]=_0x2eee7a;}get[a18_0x510a0c(0x77)](){const _0xb084b7=a18_0x510a0c;try{const _0x208f3c=process[_0xb084b7(0x9d)][_0xb084b7(0x8a)][_0xb084b7(0x93)](/(\d+\.\d+)\..*/);if(_0x208f3c)return _0x208f3c[0x1];}catch(_0x5062e8){this['_logger'][_0xb084b7(0x9c)](_0x5062e8);}return;}get[a18_0x510a0c(0x75)](){const _0x296c13=a18_0x510a0c;return _0x296c13(0x74)+process[_0x296c13(0x7d)]+_0x296c13(0x9a)+(0x0,os_1[_0x296c13(0x9e)])()+'\x20'+(0x0,os_1[_0x296c13(0x84)])();}get['pid'](){const _0x1340ec=a18_0x510a0c;return process[_0x1340ec(0xac)][_0x1340ec(0x80)]();}get[a18_0x510a0c(0x90)](){const _0x90b4=a18_0x510a0c;return ArchToProcArchMap[process[_0x90b4(0xad)]]||process[_0x90b4(0xad)];}get['cpuCoreCount'](){const _0x4a8616=a18_0x510a0c;return(0x0,os_1[_0x4a8616(0xa9)])()[_0x4a8616(0x94)];}get[a18_0x510a0c(0x71)](){const _0x1cc252=a18_0x510a0c;return(0x0,os_1[_0x1cc252(0x83)])();}get[a18_0x510a0c(0x89)](){return(0x0,os_1['hostname'])();}get[a18_0x510a0c(0xa1)](){const _0x57f72b=a18_0x510a0c;return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1[_0x57f72b(0x9e)])();}get[a18_0x510a0c(0x98)](){const _0x5b5774=a18_0x510a0c;try{if(this['agentOS']===OS[_0x5b5774(0x8c)])return this[_0x5b5774(0x6a)]['get'](_0x5b5774(0x72))||(0x0,os_1[_0x5b5774(0x84)])();return(0x0,os_1['release'])();}catch(_0xe089d5){this['_logger'][_0x5b5774(0x9c)](_0xe089d5);}return;}get[a18_0x510a0c(0xa8)](){const _0x2bcf40=a18_0x510a0c;return this['agentOS']===OS[_0x2bcf40(0x8c)]&&this[_0x2bcf40(0x6a)]['get']('ID')||'';}get[a18_0x510a0c(0xa5)](){const _0x574000=a18_0x510a0c;return this[_0x574000(0xa1)]===OS[_0x574000(0x8c)]?(0x0,fs_1['existsSync'])(_0x574000(0x7f)):![];}get[a18_0x510a0c(0x88)](){const _0x3fce3a=a18_0x510a0c;return!!process[_0x3fce3a(0x81)][_0x3fce3a(0x7a)];}get['_osRelease'](){const _0x26aa4d=a18_0x510a0c;if(!this[_0x26aa4d(0x99)]){this[_0x26aa4d(0x99)]=new Map();try{if(this['agentOS']===OS[_0x26aa4d(0x8c)]){const _0x22a539=(0x0,fs_1[_0x26aa4d(0xa7)])(_0x26aa4d(0x9f),_0x26aa4d(0x70));_0x22a539[_0x26aa4d(0x7c)](/\r?\n/)[_0x26aa4d(0x8d)](_0x211965=>{const _0x11dab8=_0x26aa4d;var _0x1b68b9;const [_0x2236a7,_0x1a150b]=_0x211965[_0x11dab8(0xaa)]()[_0x11dab8(0x7c)]('=');(_0x1b68b9=this['_cachedOsRelease'])===null||_0x1b68b9===void 0x0?void 0x0:_0x1b68b9[_0x11dab8(0x7e)](_0x2236a7,(_0x1a150b===null||_0x1a150b===void 0x0?void 0x0:_0x1a150b['replace'](/^"|"$/g,''))||'');});}}catch(_0x2aa1e1){this[_0x26aa4d(0x8e)][_0x26aa4d(0x6b)](_0x26aa4d(0x86),_0x2aa1e1);}}return this['_cachedOsRelease'];}[a18_0x510a0c(0x92)](){const _0x5ea7b4=a18_0x510a0c;return{'runtimeEnvironmentVersion':this[_0x5ea7b4(0x77)],'runtimeEnvironmentInfo':this['runtimeEnvironmentInfo'],'pid':this[_0x5ea7b4(0xac)],'cpuCoreCount':this[_0x5ea7b4(0x79)],'systemTotalMemoryBytes':this[_0x5ea7b4(0x71)],'host':this[_0x5ea7b4(0x89)],'agentOS':this[_0x5ea7b4(0xa1)],'osVersion':this[_0x5ea7b4(0x98)],'linuxDistroName':this[_0x5ea7b4(0xa8)]||undefined,'isInDocker':this[_0x5ea7b4(0xa5)],'isInK8s':this[_0x5ea7b4(0x88)],'procArch':this[_0x5ea7b4(0x90)]};}}exports[a18_0x510a0c(0x9b)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x5b6758=a19_0x123f;(function(_0x248430,_0x3f304b){const _0x438d4a=a19_0x123f,_0x59813f=_0x248430();while(!![]){try{const _0x1f857a=parseInt(_0x438d4a(0x173))/0x1*(parseInt(_0x438d4a(0x16a))/0x2)+parseInt(_0x438d4a(0x154))/0x3*(-parseInt(_0x438d4a(0x16d))/0x4)+parseInt(_0x438d4a(0x15e))/0x5*(-parseInt(_0x438d4a(0x161))/0x6)+-parseInt(_0x438d4a(0x170))/0x7+parseInt(_0x438d4a(0x167))/0x8*(parseInt(_0x438d4a(0x174))/0x9)+parseInt(_0x438d4a(0x15a))/0xa*(parseInt(_0x438d4a(0x15d))/0xb)+parseInt(_0x438d4a(0x15f))/0xc;if(_0x1f857a===_0x3f304b)break;else _0x59813f['push'](_0x59813f['shift']());}catch(_0xbb8c79){_0x59813f['push'](_0x59813f['shift']());}}}(a19_0x3d11,0x472cb));const a19_0x5b5b51=(function(){let _0x2179a4=!![];return function(_0x463438,_0x3dd94e){const _0x1accb8=_0x2179a4?function(){if(_0x3dd94e){const _0x3ee9c7=_0x3dd94e['apply'](_0x463438,arguments);return _0x3dd94e=null,_0x3ee9c7;}}:function(){};return _0x2179a4=![],_0x1accb8;};}()),a19_0x48ebb3=a19_0x5b5b51(this,function(){const _0x323721=a19_0x123f;return a19_0x48ebb3[_0x323721(0x157)]()[_0x323721(0x153)](_0x323721(0x164))['toString']()[_0x323721(0x16c)](a19_0x48ebb3)['search'](_0x323721(0x164));});function a19_0x123f(_0xbd9c88,_0x182666){const _0x49a30d=a19_0x3d11();return a19_0x123f=function(_0x48ebb3,_0x5b5b51){_0x48ebb3=_0x48ebb3-0x150;let _0x3d11e3=_0x49a30d[_0x48ebb3];return _0x3d11e3;},a19_0x123f(_0xbd9c88,_0x182666);}a19_0x48ebb3();'use strict';Object[a19_0x5b6758(0x158)](exports,a19_0x5b6758(0x16b),{'value':!![]}),exports[a19_0x5b6758(0x162)]=void 0x0;const path=require(a19_0x5b6758(0x172));function a19_0x3d11(){const _0x48f40d=['indexOf','search','98673LjjfCW','fileStats','min','toString','defineProperty','stripStartingSep','2540VRYIIy','fromFileList','keys','2596dXbDwr','2428060YtPvGY','8827068cvObDg','generateSubPaths','6VxxqkU','FileIndex','get','(((.+)+)+)+$','fileIndex','set','109720GPYXqc','length','sep','27770DoZJwI','__esModule','constructor','24iELHJp','map','push','2410968ScRYJI','fromFileStats','path','13FZMNgD','225VfwToO','_fileStats','buildIndex','substring'];a19_0x3d11=function(){return _0x48f40d;};return a19_0x3d11();}class FileIndex{constructor(_0x296ddb){const _0x1665db=a19_0x5b6758;this[_0x1665db(0x175)]=_0x296ddb,this[_0x1665db(0x165)]=new Map();}static[a19_0x5b6758(0x171)](_0x3c2019){const _0x3faaa3=a19_0x5b6758,_0x24f8b0=new FileIndex(_0x3c2019);return _0x24f8b0[_0x3faaa3(0x150)](Object[_0x3faaa3(0x15c)](_0x3c2019)||[]),_0x24f8b0;}static[a19_0x5b6758(0x15b)](_0x265a37){const _0xfad8e8=a19_0x5b6758,_0x3d4f3a=new FileIndex(undefined);return _0x3d4f3a[_0xfad8e8(0x150)](_0x265a37||[]),_0x3d4f3a;}get[a19_0x5b6758(0x155)](){return this['_fileStats']||{};}['findShortestFuzzyMatches'](_0x548db4){const _0x2542f9=a19_0x5b6758,_0x446dfc=this[_0x2542f9(0x153)](_0x548db4);if(!_0x446dfc||_0x446dfc['size']===0x0)return[];const _0x284b48=[..._0x446dfc][_0x2542f9(0x16e)](_0x32eed3=>_0x32eed3['length']),_0x3a40ef=Math[_0x2542f9(0x156)](..._0x284b48),_0x16cd77=[..._0x446dfc]['filter'](_0x4d4038=>_0x4d4038[_0x2542f9(0x168)]===_0x3a40ef);return _0x16cd77;}[a19_0x5b6758(0x150)](_0x1f0e62){const _0x39123e=a19_0x5b6758;for(const _0x2cc47b of _0x1f0e62){for(const _0x3f029d of this[_0x39123e(0x160)](_0x2cc47b)){let _0x1e474a=this[_0x39123e(0x165)][_0x39123e(0x163)](_0x3f029d);_0x1e474a===undefined&&(_0x1e474a=new Set(),this[_0x39123e(0x165)][_0x39123e(0x166)](_0x3f029d,_0x1e474a)),_0x1e474a['add'](_0x2cc47b);}}}['generateSubPaths'](_0x382ed4){const _0x475db8=a19_0x5b6758;_0x382ed4=this[_0x475db8(0x159)](_0x382ed4);const _0x50f2c2=[_0x382ed4];while(_0x382ed4[_0x475db8(0x152)](path['sep'])>=0x0){_0x382ed4=_0x382ed4[_0x475db8(0x151)](_0x382ed4[_0x475db8(0x152)](path[_0x475db8(0x169)])+path['sep'][_0x475db8(0x168)],_0x382ed4[_0x475db8(0x168)]),_0x50f2c2[_0x475db8(0x16f)](_0x382ed4);}return _0x50f2c2;}[a19_0x5b6758(0x153)](_0x52c8e8){const _0x58f244=a19_0x5b6758;if(!_0x52c8e8)return undefined;_0x52c8e8=this[_0x58f244(0x159)](_0x52c8e8);for(const _0x12eca8 of this[_0x58f244(0x160)](_0x52c8e8)){if(this[_0x58f244(0x165)]['has'](_0x12eca8))return this['fileIndex']['get'](_0x12eca8);}return undefined;}['stripStartingSep'](_0x181763){if(_0x181763&&(_0x181763[0x0]==='/'||_0x181763[0x0]==='\x5c'))return _0x181763['substr'](0x1);return _0x181763;}}exports[a19_0x5b6758(0x162)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a20_0x2b9938=a20_0x2945;(function(_0xdc7938,_0x5eb046){const _0x2b3649=a20_0x2945,_0x559536=_0xdc7938();while(!![]){try{const _0x114552=parseInt(_0x2b3649(0xf2))/0x1+-parseInt(_0x2b3649(0xda))/0x2*(parseInt(_0x2b3649(0xf6))/0x3)+-parseInt(_0x2b3649(0xf8))/0x4+parseInt(_0x2b3649(0xed))/0x5*(parseInt(_0x2b3649(0xec))/0x6)+-parseInt(_0x2b3649(0xe8))/0x7*(-parseInt(_0x2b3649(0xf4))/0x8)+parseInt(_0x2b3649(0xe9))/0x9+-parseInt(_0x2b3649(0xdd))/0xa*(-parseInt(_0x2b3649(0xdc))/0xb);if(_0x114552===_0x5eb046)break;else _0x559536['push'](_0x559536['shift']());}catch(_0x4eea82){_0x559536['push'](_0x559536['shift']());}}}(a20_0x4676,0xe5ac9));const a20_0x42ac7a=(function(){let _0x5caff4=!![];return function(_0x892d53,_0x5d698f){const _0xbee38e=_0x5caff4?function(){const _0x337700=a20_0x2945;if(_0x5d698f){const _0x5cdbf9=_0x5d698f[_0x337700(0xe5)](_0x892d53,arguments);return _0x5d698f=null,_0x5cdbf9;}}:function(){};return _0x5caff4=![],_0xbee38e;};}()),a20_0x22fb08=a20_0x42ac7a(this,function(){const _0x3ed676=a20_0x2945;return a20_0x22fb08[_0x3ed676(0xeb)]()[_0x3ed676(0xf3)](_0x3ed676(0xef))[_0x3ed676(0xeb)]()[_0x3ed676(0xde)](a20_0x22fb08)[_0x3ed676(0xf3)]('(((.+)+)+)+$');});a20_0x22fb08();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a20_0x2b9938(0xe2)]=void 0x0;const path=require(a20_0x2b9938(0xe6));class ScanResultsImpl{constructor(_0x161a37,_0x558d15,_0xd3cb65){const _0x1550f6=a20_0x2b9938;this[_0x1550f6(0xee)]=_0x161a37,this[_0x1550f6(0xf0)]=_0x558d15,this[_0x1550f6(0xea)]=_0xd3cb65;}[a20_0x2b9938(0xe7)](){const _0x1d5355=a20_0x2b9938;return this[_0x1d5355(0xf0)];}[a20_0x2b9938(0xf1)](){const _0x51a84a=a20_0x2b9938;return this[_0x51a84a(0xee)];}[a20_0x2b9938(0xf7)](_0x29fd71){const _0x10216c=a20_0x2b9938,_0xa560e1={};return Object['keys'](this['stats'])[_0x10216c(0xe4)](_0x3f6d71=>{const _0x4c693e=_0x10216c;_0x29fd71[_0x4c693e(0xdb)](_0x3f6d71)&&(_0xa560e1[_0x3f6d71]=this['stats'][_0x3f6d71]);}),_0xa560e1;}['selectFiles'](_0x47b735,_0x52b006){const _0x65bc01=a20_0x2b9938;return _0x52b006=path[_0x65bc01(0xdf)](_0x52b006+path[_0x65bc01(0xf5)]),Object[_0x65bc01(0xe3)](this[_0x65bc01(0xee)])[_0x65bc01(0xe1)](_0x4e4375=>{const _0x502f6a=_0x65bc01;return _0x4e4375&&_0x47b735[_0x502f6a(0xdb)](_0x4e4375);})[_0x65bc01(0xe0)](_0x4beb0f=>{const _0x26825f=_0x65bc01;return path[_0x26825f(0xdf)](_0x4beb0f)['replace'](_0x52b006,'');});}}function a20_0x4676(){const _0x4abd6a=['errorMap','all','458086Ykqxuc','search','1064368QhCtRm','sep','1563663WNCLAv','selectStats','5771304eTeJpL','4pdOehq','test','9196GJduXb','3830IjPMjP','constructor','normalize','map','filter','ScanResultsImpl','keys','forEach','apply','path','errors','77AYTgmm','5706603rTZhwS','hash','toString','12NYFoFc','1375415mIYWls','stats','(((.+)+)+)+$'];a20_0x4676=function(){return _0x4abd6a;};return a20_0x4676();}function a20_0x2945(_0x40a09c,_0x1de894){const _0x26263b=a20_0x4676();return a20_0x2945=function(_0x22fb08,_0x42ac7a){_0x22fb08=_0x22fb08-0xda;let _0x467635=_0x26263b[_0x22fb08];return _0x467635;},a20_0x2945(_0x40a09c,_0x1de894);}exports[a20_0x2b9938(0xe2)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a21_0x24055b=a21_0x4c79;(function(_0x158883,_0x1b6b29){const _0x347608=a21_0x4c79,_0x5a02a2=_0x158883();while(!![]){try{const _0x29b702=-parseInt(_0x347608(0x1cc))/0x1+-parseInt(_0x347608(0x1f6))/0x2+-parseInt(_0x347608(0x1f0))/0x3+parseInt(_0x347608(0x1c3))/0x4+-parseInt(_0x347608(0x1c9))/0x5*(parseInt(_0x347608(0x1f9))/0x6)+parseInt(_0x347608(0x1c1))/0x7*(parseInt(_0x347608(0x1d1))/0x8)+-parseInt(_0x347608(0x1dc))/0x9*(-parseInt(_0x347608(0x1e2))/0xa);if(_0x29b702===_0x1b6b29)break;else _0x5a02a2['push'](_0x5a02a2['shift']());}catch(_0xe6b4f9){_0x5a02a2['push'](_0x5a02a2['shift']());}}}(a21_0x592e,0xd8189));const a21_0x239df4=(function(){let _0x13d5bb=!![];return function(_0x5d3d59,_0x5ebc6f){const _0x313cce=_0x13d5bb?function(){const _0x38bff3=a21_0x4c79;if(_0x5ebc6f){const _0x19353c=_0x5ebc6f[_0x38bff3(0x1e9)](_0x5d3d59,arguments);return _0x5ebc6f=null,_0x19353c;}}:function(){};return _0x13d5bb=![],_0x313cce;};}()),a21_0x1e961d=a21_0x239df4(this,function(){const _0x2d39fa=a21_0x4c79;return a21_0x1e961d['toString']()[_0x2d39fa(0x1ea)]('(((.+)+)+)+$')[_0x2d39fa(0x1d0)]()['constructor'](a21_0x1e961d)[_0x2d39fa(0x1ea)](_0x2d39fa(0x1f8));});a21_0x1e961d();'use strict';Object[a21_0x24055b(0x1da)](exports,a21_0x24055b(0x1db),{'value':!![]}),exports['Scanner']=void 0x0;function a21_0x4c79(_0x5ce71c,_0x8deafe){const _0x5aae8f=a21_0x592e();return a21_0x4c79=function(_0x1e961d,_0x239df4){_0x1e961d=_0x1e961d-0x1bd;let _0x592eee=_0x5aae8f[_0x1e961d];return _0x592eee;},a21_0x4c79(_0x5ce71c,_0x8deafe);}const crypto=require(a21_0x24055b(0x1e4)),fs=require('fs'),path=require(a21_0x24055b(0x1f2)),scan_results_1=require(a21_0x24055b(0x1ce));class Scanner{constructor(_0x4a3019){this['logger']=_0x4a3019;}async[a21_0x24055b(0x1de)](_0x498624,_0xe56ac5,_0x2552b3,_0x33e72a){const _0x28239f=a21_0x24055b,_0x1bd4ec=await this[_0x28239f(0x1d5)](_0x498624,_0xe56ac5,_0x33e72a);return this[_0x28239f(0x1d9)](_0x1bd4ec,_0x2552b3);}[a21_0x24055b(0x1d9)](_0x4eb05c,_0x2c62c4){return new Promise(async _0x2eb736=>{const _0x2bc433=a21_0x4c79;if(_0x4eb05c[_0x2bc433(0x1d3)]===0x0){_0x2eb736(new scan_results_1[(_0x2bc433(0x1ca))]({},new Map(),_0x2bc433(0x1d7)));return;}const _0x1653f6=[],_0xf57a76={},_0x503621=new Map();for(const _0x5707c3 of _0x4eb05c){try{const _0x31780=await this[_0x2bc433(0x1f1)](_0x5707c3,!_0x2c62c4);!_0x2c62c4&&_0x1653f6[_0x2bc433(0x1f7)](_0x31780[_0x2bc433(0x1e5)]),_0xf57a76[_0x5707c3]=_0x31780;}catch(_0x557ff6){_0x503621[_0x2bc433(0x1f4)](_0x5707c3,_0x557ff6);}}let _0x4031e8;if(!_0x2c62c4){const _0x3c606b=_0x1653f6[_0x2bc433(0x1be)]()[_0x2bc433(0x1f3)](),_0x4e3547=crypto[_0x2bc433(0x1ec)]('sha1')[_0x2bc433(0x1c4)](_0x3c606b)[_0x2bc433(0x1e8)](_0x2bc433(0x1d8));_0x4031e8='SHA1-'+_0x4e3547;}else _0x4031e8=_0x2c62c4;_0x2eb736(new scan_results_1[(_0x2bc433(0x1ca))](_0xf57a76,_0x503621,_0x4031e8));});}async[a21_0x24055b(0x1d5)](_0x3edef2,_0x1bd2a0,_0x27f394){const _0x4687bc=a21_0x24055b,_0x3db24f=new Set();await this['addFilesFromDir'](_0x3db24f,_0x3edef2,_0x1bd2a0);for(const _0x57adbb of _0x27f394!==null&&_0x27f394!==void 0x0?_0x27f394:[]){if(_0x57adbb){const _0x4b929d=path['resolve'](_0x57adbb);try{await this[_0x4687bc(0x1df)](_0x3db24f,_0x4b929d,_0x1bd2a0);}catch(_0x8ee87e){this['logger'][_0x4687bc(0x1c7)](_0x4687bc(0x1c6),_0x8ee87e);continue;}}}return Array[_0x4687bc(0x1c5)](_0x3db24f);}static[a21_0x24055b(0x1ee)](_0xed3186){const _0xa0a98d=a21_0x24055b;try{return fs['accessSync'](_0xed3186,fs[_0xa0a98d(0x1f5)][_0xa0a98d(0x1bf)]),!![];}catch(_0x3478f3){return![];}}async[a21_0x24055b(0x1df)](_0xc21d62,_0x25c913,_0x5be8ba){return new Promise((_0xa7b91e,_0x25ce81)=>{const _0x480a0a=a21_0x4c79;let _0x23b089;if(!_0x25c913){_0x25ce81(new Error(_0x480a0a(0x1cd)));return;}this[_0x480a0a(0x1e0)][_0x480a0a(0x1d4)](_0x480a0a(0x1fb)+path[_0x480a0a(0x1c0)](_0x25c913));const _0x370bbe=findit(_0x25c913);_0x370bbe['on']('error',_0x11e0ab=>{_0x23b089=_0x11e0ab;return;}),_0x370bbe['on'](_0x480a0a(0x1eb),(_0x1bf165,_0xa247fd,_0x3024cf)=>{const _0x5c2ea0=_0x480a0a,_0x64a684=path[_0x5c2ea0(0x1c2)](_0x1bf165);!Scanner['hasReadAccess'](_0x1bf165)&&(this[_0x5c2ea0(0x1e0)][_0x5c2ea0(0x1e1)](_0x5c2ea0(0x1c8)+path[_0x5c2ea0(0x1c0)](_0x1bf165)+'],\x20due\x20to\x20lack\x20of\x20read\x20permissions'),_0x3024cf()),(_0x64a684===_0x5c2ea0(0x1fc)||_0x64a684==='node_modules')&&(!path[_0x5c2ea0(0x1c0)](_0x25c913)[_0x5c2ea0(0x1cb)](path[_0x5c2ea0(0x1c0)](_0x1bf165))&&_0x3024cf());}),_0x370bbe['on'](_0x480a0a(0x1e7),_0x5b267d=>{const _0x12afdc=_0x480a0a;_0x5be8ba[_0x12afdc(0x1e6)](_0x5b267d)&&_0xc21d62['add'](_0x5b267d);}),_0x370bbe['on'](_0x480a0a(0x1ed),()=>{_0x23b089?_0x25ce81(_0x23b089):_0xa7b91e();});});}async[a21_0x24055b(0x1f1)](_0x300caf,_0x11f0bf){return new Promise((_0x25a778,_0x12c2ae)=>{const _0x52b992=a21_0x4c79,_0x273b82=fs[_0x52b992(0x1d2)](_0x300caf);_0x273b82['on'](_0x52b992(0x1c7),_0x9f9ede=>{_0x12c2ae(_0x9f9ede);}),_0x273b82['on'](_0x52b992(0x1bd),()=>{const _0x354b41=_0x52b992;let _0x294fa4;_0x11f0bf&&(_0x294fa4=crypto[_0x354b41(0x1ec)](_0x354b41(0x1e3)));let _0x5282e7=0x0,_0x48c860;const _0xabc313=_0x273b82[_0x354b41(0x1fa)](split());_0xabc313['on'](_0x354b41(0x1c7),_0x28841a=>{_0x48c860=_0x28841a;}),_0xabc313['on'](_0x354b41(0x1cf),_0x33cc45=>{_0x11f0bf&&_0x294fa4['update'](_0x33cc45),_0x5282e7++;}),_0xabc313['on'](_0x354b41(0x1ed),()=>{const _0x35bf22=_0x354b41;if(_0x48c860)_0x12c2ae(_0x48c860);else{const _0x5dcd90=_0x11f0bf?_0x294fa4['digest'](_0x35bf22(0x1d8)):undefined;_0x25a778({'hash':_0x5dcd90,'lines':_0x5282e7});}});});});}}exports[a21_0x24055b(0x1d6)]=Scanner;const findit=require(a21_0x24055b(0x1ef)),split=require(a21_0x24055b(0x1dd));function a21_0x592e(){const _0x5b5cbe=['hasReadAccess','findit2','491487EVAQct','statsForFile','path','join','set','constants','12870GIrGvK','push','(((.+)+)+)+$','78bzJiFk','pipe','Indexing\x20files\x20in\x20','.git','open','sort','R_OK','resolve','69321oOMkpa','basename','6583660rLJbOK','update','from','Specified\x20extraPaths\x20does\x20not\x20exist!','error','can\x27t\x20access\x20path:\x20[','165105fHRzbb','ScanResultsImpl','startsWith','1651622HZNdTb','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','./scan-results','data','toString','280OIcdeP','createReadStream','length','info','findFiles','Scanner','EMPTY-no-js-files','hex','computeStats','defineProperty','__esModule','857826XTVDqQ','split','scan','addFilesFromDir','logger','warn','120eBzaVM','sha1','crypto','hash','test','file','digest','apply','search','directory','createHash','end'];a21_0x592e=function(){return _0x5b5cbe;};return a21_0x592e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x356a83=a22_0x41b3;(function(_0x38fd44,_0xa7048a){const _0x1dee8f=a22_0x41b3,_0x54bf9d=_0x38fd44();while(!![]){try{const _0x52e079=-parseInt(_0x1dee8f(0x188))/0x1+parseInt(_0x1dee8f(0x172))/0x2+-parseInt(_0x1dee8f(0x162))/0x3+parseInt(_0x1dee8f(0x179))/0x4+-parseInt(_0x1dee8f(0x194))/0x5+-parseInt(_0x1dee8f(0x199))/0x6*(parseInt(_0x1dee8f(0x165))/0x7)+parseInt(_0x1dee8f(0x171))/0x8;if(_0x52e079===_0xa7048a)break;else _0x54bf9d['push'](_0x54bf9d['shift']());}catch(_0x11f318){_0x54bf9d['push'](_0x54bf9d['shift']());}}}(a22_0x1d0a,0xcfee8));const a22_0x1c9d77=(function(){let _0x22d332=!![];return function(_0x150f41,_0x4bb708){const _0x4d0d22=_0x22d332?function(){const _0x3e8b33=a22_0x41b3;if(_0x4bb708){const _0x54097a=_0x4bb708[_0x3e8b33(0x17b)](_0x150f41,arguments);return _0x4bb708=null,_0x54097a;}}:function(){};return _0x22d332=![],_0x4d0d22;};}()),a22_0x480346=a22_0x1c9d77(this,function(){const _0x39b4b5=a22_0x41b3;return a22_0x480346[_0x39b4b5(0x177)]()[_0x39b4b5(0x168)](_0x39b4b5(0x17a))[_0x39b4b5(0x177)]()['constructor'](a22_0x480346)[_0x39b4b5(0x168)](_0x39b4b5(0x17a));});a22_0x480346();function a22_0x1d0a(){const _0x5b110a=['search','endsWith','path','infoMap','replace','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','webpack://','hasMappingInfo','startsWith','6410328NOPCzX','2919272tEcAOx','keys','reduce','join','get','toString','utf8','5405140VhhCBm','(((.+)+)+)+$','apply','substring','sourcemap\x20file\x20','sources','.map','length','generatedPositionFor','findShortestFuzzyMatches','SourceMapper','has','normalize','mappingInfo','defineProperty','662131TbDITB','dirname','outputFile','relative','No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20','Could\x20not\x20read\x20sourcemap\x20file\x20','toLowerCase','line','readFile','file','An\x20error\x20occurred\x20while\x20reading\x20the\x20','basename','3439495XPxXzF','map','fromFileList','filter','findInSources','427872lGBrkW','col','allGeneratedPositionsFor','p-limit','SourceMapConsumer','4017546yfkdhn','__esModule','source-map','7UVhpCN','getMappingInfo','mapConsumer'];a22_0x1d0a=function(){return _0x5b110a;};return a22_0x1d0a();}'use strict';Object[a22_0x356a83(0x187)](exports,a22_0x356a83(0x163),{'value':!![]}),exports['create']=exports[a22_0x356a83(0x183)]=void 0x0;const fs=require('fs'),pLimit=require(a22_0x356a83(0x160)),path=require(a22_0x356a83(0x16a)),util_1=require('util'),sourceMap=require(a22_0x356a83(0x164)),file_index_1=require('./file-index'),CONCURRENCY=0xa,WEBPACK_PREFIX=a22_0x356a83(0x16e),readFilep=(0x0,util_1['promisify'])(fs[a22_0x356a83(0x190)]),MAP_EXT=a22_0x356a83(0x17f);function a22_0x41b3(_0x1f991b,_0x369142){const _0xe08c96=a22_0x1d0a();return a22_0x41b3=function(_0x480346,_0x1c9d77){_0x480346=_0x480346-0x15f;let _0x1d0aa7=_0xe08c96[_0x480346];return _0x1d0aa7;},a22_0x41b3(_0x1f991b,_0x369142);}async function processSourcemap(_0x596999,_0x1ea8bd){const _0x370e74=a22_0x356a83;if(!_0x1ea8bd||!_0x1ea8bd[_0x370e74(0x169)](MAP_EXT))throw new Error('The\x20path\x20'+_0x1ea8bd+_0x370e74(0x16d));_0x1ea8bd=path[_0x370e74(0x185)](_0x1ea8bd);let _0x2609c3;try{_0x2609c3=await readFilep(_0x1ea8bd,_0x370e74(0x178));}catch(_0x7e695a){throw new Error(_0x370e74(0x18d)+_0x1ea8bd+':\x20'+_0x7e695a);}let _0x1ca3d8;try{_0x1ca3d8=new sourceMap[(_0x370e74(0x161))](_0x2609c3);}catch(_0x32f049){throw new Error(_0x370e74(0x192)+_0x370e74(0x17d)+_0x1ea8bd+':\x20'+_0x32f049);}const _0x240d4b=_0x1ca3d8[_0x370e74(0x191)]?_0x1ca3d8[_0x370e74(0x191)]:path[_0x370e74(0x193)](_0x1ea8bd,'.map'),_0x27df95=path[_0x370e74(0x189)](_0x1ea8bd),_0x4d42d4=path[_0x370e74(0x185)](path[_0x370e74(0x175)](_0x27df95,_0x240d4b)),_0x4a099e=_0x1ca3d8[_0x370e74(0x17e)][_0x370e74(0x197)](_0x5b50d2=>!!_0x5b50d2)['sort']((_0x37cdb6,_0x9a53ab)=>_0x37cdb6['length']-_0x9a53ab['length']),_0x18ad0a=_0x4a099e['map'](_0x4d7f20=>{const _0x27a5ff=_0x370e74;if(_0x4d7f20[_0x27a5ff(0x18e)]()[_0x27a5ff(0x170)](WEBPACK_PREFIX))return _0x4d7f20[_0x27a5ff(0x17c)](WEBPACK_PREFIX[_0x27a5ff(0x180)]);return _0x4d7f20;})[_0x370e74(0x195)](_0x5bd620=>{const _0x41d999=_0x370e74;return path[_0x41d999(0x185)](path[_0x41d999(0x175)](_0x27df95,_0x5bd620));});if(_0x18ad0a[_0x370e74(0x180)]===0x0)throw new Error(_0x370e74(0x18c)+_0x1ea8bd);for(const _0x38f000 of _0x18ad0a){_0x596999['set'](path['normalize'](_0x38f000),{'outputFile':_0x4d42d4,'mapFile':_0x1ea8bd,'mapConsumer':_0x1ca3d8,'sources':_0x4a099e});}}class SourceMapper{constructor(){this['infoMap']=new Map();}[a22_0x356a83(0x166)](_0x222139){const _0x1c10c9=a22_0x356a83;if(this[_0x1c10c9(0x16b)][_0x1c10c9(0x184)](path['normalize'](_0x222139)))return{'entry':this[_0x1c10c9(0x16b)][_0x1c10c9(0x176)](_0x222139),'matchedPath':path[_0x1c10c9(0x185)](_0x222139)};const _0x5616e1=file_index_1['FileIndex'][_0x1c10c9(0x196)](Array['from'](this[_0x1c10c9(0x16b)][_0x1c10c9(0x173)]()))[_0x1c10c9(0x182)](_0x222139);if(_0x5616e1['length']===0x1)return{'entry':this['infoMap']['get'](_0x5616e1[0x0]),'matchedPath':_0x5616e1[0x0]};return null;}[a22_0x356a83(0x16f)](_0x5792da){return this['getMappingInfo'](_0x5792da)!==null;}[a22_0x356a83(0x186)](_0x563c5c,_0x4aa0b6,_0x2c0fbf){const _0xfd0094=a22_0x356a83;_0x563c5c=path[_0xfd0094(0x185)](_0x563c5c);const _0x4548a1=this[_0xfd0094(0x166)](_0x563c5c);if(!_0x4548a1)return null;const {entry:_0x59361c,matchedPath:_0xf78dd0}=_0x4548a1,_0x12cc26=path[_0xfd0094(0x18b)](path['dirname'](_0x59361c['mapFile']),_0xf78dd0)[_0xfd0094(0x16c)](/\\/g,'/');let _0x5434b2=this[_0xfd0094(0x198)](_0x59361c,_0x12cc26);_0x5434b2=_0x5434b2||this[_0xfd0094(0x198)](_0x59361c,_0x563c5c);const _0x3d1102={'source':_0x5434b2||_0x12cc26,'line':_0x4aa0b6+0x1,'column':_0x2c0fbf},_0x1c3a9a=_0x59361c[_0xfd0094(0x167)],_0x79cd44=_0x1c3a9a[_0xfd0094(0x15f)](_0x3d1102),_0x4b09f1=_0x79cd44&&_0x79cd44[_0xfd0094(0x180)]>0x0?_0x79cd44[_0xfd0094(0x174)]((_0x2c0b7e,_0x5e5b89)=>{const _0x10e9cc=_0xfd0094;return _0x5e5b89[_0x10e9cc(0x18f)]<_0x2c0b7e['line']?_0x5e5b89:_0x2c0b7e;}):_0x1c3a9a[_0xfd0094(0x181)](_0x3d1102);return{'file':_0x59361c[_0xfd0094(0x18a)],'line':_0x4b09f1[_0xfd0094(0x18f)]-0x1,'column':_0x4b09f1[_0xfd0094(0x19a)]};}['findInSources'](_0x532644,_0x15a536){const _0x44d7ae=a22_0x356a83;for(const _0xb3b3dd of _0x532644['sources']){if(_0xb3b3dd[_0x44d7ae(0x169)](_0x15a536))return _0xb3b3dd;}return undefined;}}exports['SourceMapper']=SourceMapper;async function create(_0x351551){const _0x145ff3=a22_0x356a83,_0x5f5242=pLimit(CONCURRENCY),_0x4acbf5=new SourceMapper(),_0x3e42f2=_0x351551[_0x145ff3(0x195)](_0x5c291a=>_0x5f5242(()=>processSourcemap(_0x4acbf5[_0x145ff3(0x16b)],_0x5c291a)));try{await Promise['all'](_0x3e42f2);}catch(_0x180f2e){throw new Error('An\x20error\x20occurred\x20while\x20processing\x20the\x20sourcemap\x20files'+_0x180f2e);}return _0x4acbf5;}exports['create']=create;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a23_0x1a8f(_0x56b1b8,_0x524087){const _0x5221dd=a23_0x2b45();return a23_0x1a8f=function(_0x1354ed,_0x6c0779){_0x1354ed=_0x1354ed-0x1c2;let _0x2b4537=_0x5221dd[_0x1354ed];return _0x2b4537;},a23_0x1a8f(_0x56b1b8,_0x524087);}function a23_0x2b45(){const _0x3b8ffb=['nowInNanoSeconds','29610XjvvCi','24237okmWjh','defineProperty','(((.+)+)+)+$','requestTokensSlow','capacity','floor','64636AquoZQ','389858jNSCBz','24vZyfoe','tokens','__esModule','LeakyBucket','fillRate','refillBucket','hrtime','2VUBFYg','1148107LyOyys','toString','min','fillTime','120InsgWi','search','20SUmIsM','165NpOFJL','10082820HSLSXA','751539rtOQtz','fractionalTokens','takeTokens'];a23_0x2b45=function(){return _0x3b8ffb;};return a23_0x2b45();}const a23_0x552b92=a23_0x1a8f;(function(_0x102ba5,_0x15f425){const _0x52326b=a23_0x1a8f,_0x1d6ecb=_0x102ba5();while(!![]){try{const _0x2605fe=parseInt(_0x52326b(0x1d7))/0x1+parseInt(_0x52326b(0x1d6))/0x2*(-parseInt(_0x52326b(0x1c2))/0x3)+parseInt(_0x52326b(0x1cd))/0x4*(parseInt(_0x52326b(0x1dd))/0x5)+-parseInt(_0x52326b(0x1db))/0x6*(parseInt(_0x52326b(0x1ce))/0x7)+-parseInt(_0x52326b(0x1cf))/0x8*(parseInt(_0x52326b(0x1c7))/0x9)+parseInt(_0x52326b(0x1c6))/0xa*(-parseInt(_0x52326b(0x1de))/0xb)+parseInt(_0x52326b(0x1df))/0xc;if(_0x2605fe===_0x15f425)break;else _0x1d6ecb['push'](_0x1d6ecb['shift']());}catch(_0x5571fb){_0x1d6ecb['push'](_0x1d6ecb['shift']());}}}(a23_0x2b45,0x9b4bb));const a23_0x6c0779=(function(){let _0x1cd930=!![];return function(_0x4a55c1,_0x403db2){const _0x52fcf1=_0x1cd930?function(){if(_0x403db2){const _0x2331b0=_0x403db2['apply'](_0x4a55c1,arguments);return _0x403db2=null,_0x2331b0;}}:function(){};return _0x1cd930=![],_0x52fcf1;};}()),a23_0x1354ed=a23_0x6c0779(this,function(){const _0x4faa3c=a23_0x1a8f;return a23_0x1354ed[_0x4faa3c(0x1d8)]()[_0x4faa3c(0x1dc)]('(((.+)+)+)+$')[_0x4faa3c(0x1d8)]()['constructor'](a23_0x1354ed)[_0x4faa3c(0x1dc)](_0x4faa3c(0x1c9));});a23_0x1354ed();'use strict';Object[a23_0x552b92(0x1c8)](exports,a23_0x552b92(0x1d1),{'value':!![]}),exports[a23_0x552b92(0x1d2)]=void 0x0;const NANOSECONDS_CONVERSION=0x3b9aca00;class LeakyBucket{constructor(_0x1a7538,_0x457ba6){const _0x49d835=a23_0x552b92;this[_0x49d835(0x1d0)]=_0x1a7538,this[_0x49d835(0x1cb)]=_0x1a7538,this['fractionalTokens']=0x0,this[_0x49d835(0x1d3)]=_0x457ba6,this[_0x49d835(0x1da)]=this[_0x49d835(0x1c5)]();}['nowInNanoSeconds'](){const _0x566a47=a23_0x552b92,_0x3e5560=process[_0x566a47(0x1d5)]();return _0x3e5560[0x0]*NANOSECONDS_CONVERSION+_0x3e5560[0x1];}['refillBucket'](_0x580db1){const _0x3cfaab=a23_0x552b92,_0x31f4e9=this[_0x3cfaab(0x1c5)]()-this[_0x3cfaab(0x1da)];this[_0x3cfaab(0x1c3)]+=Math[_0x3cfaab(0x1d9)](_0x31f4e9*(this[_0x3cfaab(0x1d3)]/NANOSECONDS_CONVERSION),this[_0x3cfaab(0x1cb)]);const _0x47a1b9=Math['floor'](this[_0x3cfaab(0x1c3)]),_0xd62c3d=Math[_0x3cfaab(0x1cc)](this[_0x3cfaab(0x1cb)]-_0x580db1);let _0x56f481=0x0;return _0xd62c3d<_0x47a1b9?(this[_0x3cfaab(0x1c3)]=0x0,_0x56f481=_0xd62c3d):(_0x56f481=_0x47a1b9,this[_0x3cfaab(0x1c3)]-=_0x56f481),this['tokens']+=_0x56f481,this[_0x3cfaab(0x1da)]=this[_0x3cfaab(0x1c5)](),_0x56f481;}[a23_0x552b92(0x1ca)](_0x4119b4){const _0x423d84=a23_0x552b92;if(this[_0x423d84(0x1d0)]>0x0)return!![];const _0x301816=this[_0x423d84(0x1d4)](this['tokens']+_0x4119b4);if(_0x301816>0x0)return!![];return this[_0x423d84(0x1d0)]+=_0x4119b4,![];}[a23_0x552b92(0x1c4)](_0x5e1027){const _0x49e2b1=a23_0x552b92;this[_0x49e2b1(0x1d0)]-=_0x5e1027,this[_0x49e2b1(0x1d0)]<0x0&&this['refillBucket'](this[_0x49e2b1(0x1d0)]);}['requestTokens'](_0x43285a){const _0x558ccf=a23_0x552b92;if(_0x43285a>this[_0x558ccf(0x1cb)])return![];this[_0x558ccf(0x1d0)]-=_0x43285a;if(this[_0x558ccf(0x1d0)]>=0x0)return!![];return this[_0x558ccf(0x1ca)](_0x43285a);}}exports[a23_0x552b92(0x1d2)]=LeakyBucket;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a24_0x3e75e7=a24_0x2453;(function(_0x14c119,_0x13d19e){var _0x4bf8fa=a24_0x2453,_0x2c6024=_0x14c119();while(!![]){try{var _0x224e39=parseInt(_0x4bf8fa(0xb1))/0x1+-parseInt(_0x4bf8fa(0xa9))/0x2*(-parseInt(_0x4bf8fa(0xab))/0x3)+parseInt(_0x4bf8fa(0xb2))/0x4+-parseInt(_0x4bf8fa(0xb4))/0x5*(-parseInt(_0x4bf8fa(0xa8))/0x6)+parseInt(_0x4bf8fa(0xa4))/0x7+parseInt(_0x4bf8fa(0xb0))/0x8+-parseInt(_0x4bf8fa(0xa5))/0x9*(parseInt(_0x4bf8fa(0xac))/0xa);if(_0x224e39===_0x13d19e)break;else _0x2c6024['push'](_0x2c6024['shift']());}catch(_0x2b73d2){_0x2c6024['push'](_0x2c6024['shift']());}}}(a24_0x55cb,0x58261));var a24_0x45b666=(function(){var _0x27bb31=!![];return function(_0x25df6f,_0x36fa5f){var _0x3d7c3f=_0x27bb31?function(){if(_0x36fa5f){var _0x4c79e9=_0x36fa5f['apply'](_0x25df6f,arguments);return _0x36fa5f=null,_0x4c79e9;}}:function(){};return _0x27bb31=![],_0x3d7c3f;};}()),a24_0x4a351c=a24_0x45b666(this,function(){var _0x33321f=a24_0x2453;return a24_0x4a351c[_0x33321f(0xad)]()[_0x33321f(0xa6)](_0x33321f(0xb5))[_0x33321f(0xad)]()['constructor'](a24_0x4a351c)[_0x33321f(0xa6)](_0x33321f(0xb5));});a24_0x4a351c();'use strict';Object[a24_0x3e75e7(0xaa)](exports,'__esModule',{'value':!![]}),exports[a24_0x3e75e7(0xaf)]=void 0x0;function a24_0x55cb(){var _0x1f7ea4=['defineProperty','21NHnPgo','2900wMyZwe','toString','data','LogData','2561864gtaCZL','410205LHaCIZ','1608696ZVdEBJ','order','5phNWSE','(((.+)+)+)+$','watchResultsJsonArray','level','2885239QgsVpW','57537kUCCUG','search','timestamp','3416250cQYeLu','28818TISsQQ'];a24_0x55cb=function(){return _0x1f7ea4;};return a24_0x55cb();}function a24_0x2453(_0x2a4f16,_0x4931d5){var _0x57b00c=a24_0x55cb();return a24_0x2453=function(_0x4a351c,_0x45b666){_0x4a351c=_0x4a351c-0xa2;var _0x55cb47=_0x57b00c[_0x4a351c];return _0x55cb47;},a24_0x2453(_0x2a4f16,_0x4931d5);}class LogData{constructor(_0x34f961,_0x572595,_0x112dba,_0x291f4a,_0x18f459,_0x32f289){var _0x210bc0=a24_0x3e75e7;this[_0x210bc0(0xae)]=_0x34f961,this[_0x210bc0(0xa7)]=_0x572595,this[_0x210bc0(0xa3)]=_0x112dba,this['actionId']=_0x291f4a,this[_0x210bc0(0xb3)]=_0x18f459,this[_0x210bc0(0xa2)]=_0x32f289;}}exports[a24_0x3e75e7(0xaf)]=LogData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a25_0x284c6b=a25_0x3041;(function(_0x466e42,_0x10ca2b){const _0x57670b=a25_0x3041,_0xc60af1=_0x466e42();while(!![]){try{const _0x4e461=-parseInt(_0x57670b(0x8a))/0x1*(parseInt(_0x57670b(0x97))/0x2)+-parseInt(_0x57670b(0x9a))/0x3*(parseInt(_0x57670b(0x7b))/0x4)+parseInt(_0x57670b(0x7d))/0x5*(-parseInt(_0x57670b(0x8f))/0x6)+parseInt(_0x57670b(0x83))/0x7+-parseInt(_0x57670b(0x96))/0x8*(-parseInt(_0x57670b(0x8b))/0x9)+-parseInt(_0x57670b(0xa5))/0xa+-parseInt(_0x57670b(0xa9))/0xb*(-parseInt(_0x57670b(0x76))/0xc);if(_0x4e461===_0x10ca2b)break;else _0xc60af1['push'](_0xc60af1['shift']());}catch(_0x361eb9){_0xc60af1['push'](_0xc60af1['shift']());}}}(a25_0x35e9,0xc41bd));const a25_0x41ff56=(function(){let _0x3b19a1=!![];return function(_0x4f6cf7,_0xc52c1d){const _0x188de4=_0x3b19a1?function(){const _0x19edbe=a25_0x3041;if(_0xc52c1d){const _0x39de4a=_0xc52c1d[_0x19edbe(0x81)](_0x4f6cf7,arguments);return _0xc52c1d=null,_0x39de4a;}}:function(){};return _0x3b19a1=![],_0x188de4;};}()),a25_0x15e7b8=a25_0x41ff56(this,function(){const _0xfa6141=a25_0x3041;return a25_0x15e7b8[_0xfa6141(0x90)]()[_0xfa6141(0xad)](_0xfa6141(0x71))[_0xfa6141(0x90)]()[_0xfa6141(0x9f)](a25_0x15e7b8)['search'](_0xfa6141(0x71));});a25_0x15e7b8();'use strict';Object[a25_0x284c6b(0x92)](exports,a25_0x284c6b(0x93),{'value':!![]}),exports['PipingManager']=void 0x0;function a25_0x35e9(){const _0x40895d=['warn','has','1132802TypjAu','369rRGAkC','assert','controller','pendingLogs','29562XhwPKd','toString','LogData','defineProperty','__esModule','setPipingStatus','lastSendLogsTime','58744AbJiqp','2CSMGyl','push','sendBreakpointLogsToServer','1857QQUtYV','max','error','globalPipingStatus','add','constructor','logger','sendAppOnlyBreakpointHitsToServer','getLogFunction','pendingAppOnlyActions','bind','13328850OEdoja','actionsReportedToServer','removeBreakpoint','order','45690183NPtkop','clear','WARN','PipingManager','search','splice','addLog','(((.+)+)+)+$','./log-data','addLogData','APP_ONLY','getAndClearAppOnlyFirstBreakpointHits','12cIXcGI','addAppOnlyFirstBreakpointHitsData','addAndPipeLog','breakPointIdToPipingStatus','NOT_SET','8196sDaPBc','length','1085XQCUmq','PLUGIN_ONLY','getBreakpointPiping','log','apply','delete','8062054gkZTWD','forEach','now','ERROR','should\x20have\x20a\x20registered\x20debuggee'];a25_0x35e9=function(){return _0x40895d;};return a25_0x35e9();}const log_data_1=require(a25_0x284c6b(0x72)),assert=require(a25_0x284c6b(0x8c)),SEND_LOGS_COOLDOWN_MS=0xa*0x3e8;function a25_0x3041(_0x4f7dc7,_0x106b99){const _0x58aa7f=a25_0x35e9();return a25_0x3041=function(_0x15e7b8,_0x41ff56){_0x15e7b8=_0x15e7b8-0x71;let _0x35e92a=_0x58aa7f[_0x15e7b8];return _0x35e92a;},a25_0x3041(_0x4f7dc7,_0x106b99);}class PipingManager{constructor(_0x3abaf2,_0x40ebd0,_0x29b7a7){const _0x2d5db7=a25_0x284c6b;this['pendingLogs']=[],this[_0x2d5db7(0x95)]=0x0,this[_0x2d5db7(0x9d)]=_0x3abaf2,this[_0x2d5db7(0x79)]={},this['order']=0x0,this[_0x2d5db7(0x8d)]=_0x40ebd0,this[_0x2d5db7(0xa0)]=_0x29b7a7[_0x2d5db7(0x80)][_0x2d5db7(0xa0)],this[_0x2d5db7(0xa6)]=new Set(),this['pendingAppOnlyActions']=new Set();}[a25_0x284c6b(0x73)](_0x3bb8cd,_0x419d84){const _0x45625d=a25_0x284c6b;if(this[_0x45625d(0x8e)][_0x45625d(0x98)](_0x419d84)>0x1)return;const _0x32a771=Math[_0x45625d(0x9b)](0x0,this['lastSendLogsTime']+SEND_LOGS_COOLDOWN_MS-Date[_0x45625d(0x85)]());setTimeout(()=>{const _0x2d7b59=_0x45625d,_0x4b831e=this[_0x2d7b59(0x8e)][_0x2d7b59(0xae)](0x0);_0x4b831e[_0x2d7b59(0x7c)]>0x0&&(this[_0x2d7b59(0x95)]=Date[_0x2d7b59(0x85)](),this[_0x2d7b59(0x8d)][_0x2d7b59(0x99)](_0x3bb8cd,_0x4b831e,_0x30c76a=>{const _0x44ef39=_0x2d7b59;_0x30c76a&&_0x4b831e[_0x44ef39(0x84)](_0x3991e8=>this[_0x44ef39(0x73)](_0x3bb8cd,_0x3991e8));}));},_0x32a771);}[a25_0x284c6b(0x77)](_0x2c3ef9,_0x4c5769){const _0x3d8ea9=a25_0x284c6b;this[_0x3d8ea9(0xa3)]['add'](_0x4c5769),setTimeout(()=>{const _0x3c8182=_0x3d8ea9,_0x526088=this[_0x3c8182(0x75)]();_0x526088[_0x3c8182(0x7c)]>0x0&&this[_0x3c8182(0x8d)][_0x3c8182(0xa1)](_0x2c3ef9,_0x526088,_0x158c4e=>{const _0x5e8b60=_0x3c8182;if(_0x158c4e)for(const _0x5daa7f of _0x526088){this[_0x5e8b60(0x77)](_0x2c3ef9,_0x5daa7f);}});});}[a25_0x284c6b(0xaf)](_0x1fb070,_0x48e110,_0x25d1dc,_0x2a98c1,_0x40c8b4){const _0x283d19=a25_0x284c6b;assert(_0x1fb070['id'],_0x283d19(0x87));const _0x477d4f=new log_data_1[(_0x283d19(0x91))](_0x2a98c1,Date[_0x283d19(0x85)](),_0x25d1dc,_0x48e110,this[_0x283d19(0xa8)],_0x40c8b4);this[_0x283d19(0x73)](_0x1fb070,_0x477d4f),this['order']++;}[a25_0x284c6b(0xa2)](_0x1eff90){const _0x17fdf9=a25_0x284c6b;if(_0x1eff90===_0x17fdf9(0x86))return this[_0x17fdf9(0xa0)][_0x17fdf9(0x9c)][_0x17fdf9(0xa4)](this['logger']);if(_0x1eff90===_0x17fdf9(0xab))return this[_0x17fdf9(0xa0)][_0x17fdf9(0x88)]['bind'](this['logger']);return this[_0x17fdf9(0xa0)]['info'][_0x17fdf9(0xa4)](this[_0x17fdf9(0xa0)]);}[a25_0x284c6b(0x78)](_0x5aea00,_0x2f042c,_0xacf314,_0x432a25='INFO',_0x4fc48a=_0xacf314,_0x15b3bd){const _0x4af286=a25_0x284c6b,_0x28ea2=this[_0x4af286(0x7f)](_0x2f042c);if(_0x28ea2==='BOTH'||_0x28ea2===_0x4af286(0x7e))this[_0x4af286(0xa6)][_0x4af286(0x9e)](_0x2f042c),this[_0x4af286(0xaf)](_0x5aea00,_0x2f042c,_0x432a25,_0x4fc48a,_0x15b3bd);else!this['actionsReportedToServer'][_0x4af286(0x89)](_0x2f042c)&&(this[_0x4af286(0xa6)]['add'](_0x2f042c),this[_0x4af286(0x77)](_0x5aea00,_0x2f042c));if(_0x28ea2==='BOTH'||_0x28ea2===_0x4af286(0x74)){const _0x58a337=this[_0x4af286(0xa2)](_0x432a25),_0x210893=_0x432a25===_0x4af286(0xab)?'WARNING':_0x432a25;_0x58a337(_0x210893+':\x20'+_0xacf314);}}[a25_0x284c6b(0x7f)](_0x528318){const _0x3f41b0=a25_0x284c6b;let _0x2cc8f4=this[_0x3f41b0(0x79)][_0x528318];return(!_0x2cc8f4||_0x2cc8f4===_0x3f41b0(0x7a))&&(_0x2cc8f4=this[_0x3f41b0(0x9d)]),_0x2cc8f4;}[a25_0x284c6b(0x75)](){const _0x4d2794=a25_0x284c6b,_0x405005=[];for(const _0x1ba808 of this['pendingAppOnlyActions']){_0x405005[_0x4d2794(0x98)](_0x1ba808);}return this['pendingAppOnlyActions'][_0x4d2794(0xaa)](),_0x405005;}[a25_0x284c6b(0x94)](_0xae31bf,_0x4868a1){const _0x5b9fe5=a25_0x284c6b;this[_0x5b9fe5(0x79)][_0xae31bf]=_0x4868a1;}[a25_0x284c6b(0xa7)](_0x463042){const _0x424ac0=a25_0x284c6b;this[_0x424ac0(0xa6)][_0x424ac0(0x82)](_0x463042);}}exports[a25_0x284c6b(0xac)]=PipingManager;
|