lightrun 1.37.2 → 1.39.0-release
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.d.ts +11 -0
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x5fd263=a17_0x3d6f;(function(_0x5b1959,_0x5e4c8d){const _0x10e6d0=a17_0x3d6f,_0x19c43e=_0x5b1959();while(!![]){try{const _0x1e4ba8=parseInt(_0x10e6d0(0xde))/0x1+parseInt(_0x10e6d0(0x1ac))/0x2*(-parseInt(_0x10e6d0(0x119))/0x3)+-parseInt(_0x10e6d0(0x1a5))/0x4+-parseInt(_0x10e6d0(0x122))/0x5+parseInt(_0x10e6d0(0x194))/0x6+-parseInt(_0x10e6d0(0xb5))/0x7+-parseInt(_0x10e6d0(0x19f))/0x8*(-parseInt(_0x10e6d0(0x130))/0x9);if(_0x1e4ba8===_0x5e4c8d)break;else _0x19c43e['push'](_0x19c43e['shift']());}catch(_0x2a3de5){_0x19c43e['push'](_0x19c43e['shift']());}}}(a17_0xaa06,0x5bb0e));const a17_0x4a97cf=(function(){let _0x57fbc6=!![];return function(_0x4dd878,_0x2a137e){const _0x3791a3=_0x57fbc6?function(){if(_0x2a137e){const _0x58665e=_0x2a137e['apply'](_0x4dd878,arguments);return _0x2a137e=null,_0x58665e;}}:function(){};return _0x57fbc6=![],_0x3791a3;};}()),a17_0x475a13=a17_0x4a97cf(this,function(){const _0x5c4af8=a17_0x3d6f;return a17_0x475a13['toString']()['search'](_0x5c4af8(0x166))[_0x5c4af8(0xd9)]()[_0x5c4af8(0xf6)](a17_0x475a13)[_0x5c4af8(0x186)](_0x5c4af8(0x166));});a17_0x475a13();'use strict';var __classPrivateFieldSet=this&&this[a17_0x5fd263(0x10a)]||function(_0x2657cb,_0x1e89d6,_0x37ce32,_0x38be29,_0x1c5f0a){const _0x545c41=a17_0x5fd263;if(_0x38be29==='m')throw new TypeError(_0x545c41(0x131));if(_0x38be29==='a'&&!_0x1c5f0a)throw new TypeError(_0x545c41(0x13c));if(typeof _0x1e89d6===_0x545c41(0x169)?_0x2657cb!==_0x1e89d6||!_0x1c5f0a:!_0x1e89d6[_0x545c41(0x1c3)](_0x2657cb))throw new TypeError(_0x545c41(0x16d));return _0x38be29==='a'?_0x1c5f0a[_0x545c41(0xca)](_0x2657cb,_0x37ce32):_0x1c5f0a?_0x1c5f0a[_0x545c41(0x178)]=_0x37ce32:_0x1e89d6[_0x545c41(0x10b)](_0x2657cb,_0x37ce32),_0x37ce32;},__classPrivateFieldGet=this&&this[a17_0x5fd263(0x12b)]||function(_0x5e26d0,_0x458785,_0x2b136b,_0x24c625){const _0x580c47=a17_0x5fd263;if(_0x2b136b==='a'&&!_0x24c625)throw new TypeError(_0x580c47(0x1af));if(typeof _0x458785===_0x580c47(0x169)?_0x5e26d0!==_0x458785||!_0x24c625:!_0x458785[_0x580c47(0x1c3)](_0x5e26d0))throw new TypeError(_0x580c47(0x132));return _0x2b136b==='m'?_0x24c625:_0x2b136b==='a'?_0x24c625['call'](_0x5e26d0):_0x24c625?_0x24c625['value']:_0x458785['get'](_0x5e26d0);},_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_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a17_0x5fd263(0x16c)](exports,a17_0x5fd263(0xf7),{'value':!![]}),exports[a17_0x5fd263(0x1a2)]=exports[a17_0x5fd263(0x13f)]=void 0x0;function a17_0x3d6f(_0x10280c,_0xde95e9){const _0x6dfed1=a17_0xaa06();return a17_0x3d6f=function(_0x475a13,_0x4a97cf){_0x475a13=_0x475a13-0xb4;let _0xaa069=_0x6dfed1[_0x475a13];return _0xaa069;},a17_0x3d6f(_0x10280c,_0xde95e9);}const assert=require(a17_0x5fd263(0xfa)),events_1=require(a17_0x5fd263(0xcb)),extend=require(a17_0x5fd263(0xd0)),fs=require('fs'),metadata=require(a17_0x5fd263(0x17d)),path=require(a17_0x5fd263(0x162)),util=require(a17_0x5fd263(0x171)),status_message_1=require(a17_0x5fd263(0xdc)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a17_0x5fd263(0x174)),config_1=require(a17_0x5fd263(0x183)),controller_1=require(a17_0x5fd263(0x163)),SourceMapper=require(a17_0x5fd263(0x105)),debugapi=require(a17_0x5fd263(0x1b4)),piping_manager_1=require(a17_0x5fd263(0x157)),quota_manager_1=require(a17_0x5fd263(0x18e)),patterns_blocklist_manager_1=require(a17_0x5fd263(0x102)),scanner_1=require(a17_0x5fd263(0x125)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a17_0x5fd263(0x19c)),utils_1=require(a17_0x5fd263(0x15c)),redaction_manager_1=require(a17_0x5fd263(0x136)),configuration_provider_1=require('./configuration-provider'),normalizeConfig_1=require(a17_0x5fd263(0x11e)),mapSubtract_1=require(a17_0x5fd263(0xbc)),format_1=require(a17_0x5fd263(0xda)),createDebuggee_1=require(a17_0x5fd263(0x184)),readFilep=util[a17_0x5fd263(0x11c)](fs[a17_0x5fd263(0x15a)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x1bfa09,_0x1ad60b)=>{const _0x5796f2=a17_0x5fd263;let _0xadf669=_0x1bfa09+util['format'](_0x5796f2(0x1a1),_0x1ad60b['id'],_0x1ad60b[_0x5796f2(0x140)],util[_0x5796f2(0x109)](_0x1ad60b[_0x5796f2(0xd3)]));if(_0x1ad60b[_0x5796f2(0xbe)]){const _0x56f7d=Number(_0x1ad60b[_0x5796f2(0xbe)][_0x5796f2(0x114)]),_0xe66169=new Date(_0x56f7d*0x3e8);_0xadf669+='\x0a\x09createdTime:\x20'+_0xe66169['toString']();}return _0x1ad60b[_0x5796f2(0x10e)]&&(_0xadf669+=_0x5796f2(0xd2)+util[_0x5796f2(0x109)](_0x1ad60b['condition'])),_0x1ad60b['expressions']&&(_0xadf669+=_0x5796f2(0xc7)+util['inspect'](_0x1ad60b['expressions'])),_0xadf669;},formatBreakpoints=(_0x33c86b,_0x527517)=>{const _0x3cfb7b=a17_0x5fd263;return _0x33c86b+Object['keys'](_0x527517)[_0x3cfb7b(0xfb)](_0x50cded=>{return formatBreakpoint('',_0x527517[_0x50cded]);})[_0x3cfb7b(0x1ad)]('\x0a');};class CachedPromise{constructor(){const _0x2dc9f3=a17_0x5fd263;this['promiseResolve']=null,this[_0x2dc9f3(0x14c)]=new Promise(_0x4f91d5=>{const _0xc3b9af=_0x2dc9f3;this[_0xc3b9af(0xba)]=_0x4f91d5;});}[a17_0x5fd263(0x189)](){const _0x1a9d77=a17_0x5fd263;return this[_0x1a9d77(0x14c)];}[a17_0x5fd263(0xef)](){const _0x4ba868=a17_0x5fd263;this[_0x4ba868(0xba)]&&(this[_0x4ba868(0xba)](),this[_0x4ba868(0xba)]=null);}}exports[a17_0x5fd263(0x13f)]=CachedPromise;function a17_0xaa06(){const _0x21d2cc=['util','getRedactions','existsSync','./agent-logger','expressions','Initializing\x20Node.js\x20agent\x20version:\x20','Disabled\x20by\x20the\x20server','value','backoff','reporting\x20breakpoint\x20','env','expirationTime','gcp-metadata','isRunning','once','Registered\x20as\x20debuggee:\x20','APP_ONLY','error','./config','./debuglet-helpers/createDebuggee','remainingHits','search','SIGINT','.\x20Retrying\x20in\x20','get','FileIndex','start','NOT_SET','waitExpired','./quota-manager','5.2\x20||\x20<4','split','allowRootAsWorkingDirectory','isReadyManager','status','4430016QaWQeR','satisfies','shouldRedactByName','Debuglet\x20not\x20running','PatternsBlocklistManager','Working\x20directory:\x20','Scheduling\x20registration\x20in\x20','\x09Notifying\x20server\x20about\x20error\x20for\x20','./io/file-index','Breakpoint','unref','3527288HSdfUN','getMaxSnapshotBufferSize','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','Debuglet','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','isReady','1374668PdHOuX','now','parameters','Redactions:\x20\x0a\x09','removePerBreakpointQuota','deregister','started','4IFAWvh','join','fetcherActive','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','length','getBlocklist','rejecting\x20breakpoint','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','./v8/debugapi','SIGQUIT','sendAgentLogsToServer','Stopping\x20Debuglet','\x09successfully\x20added\x20breakpoint','parse','clientConnectionTimeoutInSeconds','quota','message','maxRequestRetryDelaySeconds','agentLog','agentLogTargetDir','Debuggee\x20is\x20not\x20registered','filename','Blacklist\x20Exceptions:\x20\x0a\x09','has','isError','3359867ipDodB','Registering\x20debuggee','stringify','then','hash','promiseResolve','agentLogMaxFileSizeMb','./debuglet-helpers/mapSubtract','forEach','createTime','Result:\x20\x0a','Found\x20breakpoint\x20with\x20invalid\x20action:','log','wait','type','debug','fetchBreakpointsOnce','pipingStatus','\x0a\x09expressions:\x20','\x20accepted\x20by\x20agent','instance','call','events','entries','attributes/cluster-name','version','debuglet','extend','name:\x20','\x0a\x09condition:\x20','location','getSourceContextFromFile','selectStats','object','addAndPipeLog','isDisabled','toString','./debuglet-helpers/format','listBreakpoints','../client/stackdriver/status-message','\x09Got\x20error\x20from\x20server.\x20status:\x20','33718Jwakxw','StatusMessage','enqueueBreakpointUpdate','fromFileStats','stop','caseInsensitive','CAPTURE','Error\x20scanning\x20the\x20filesystem.','pipingManager','errors','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','data','pipeLogs','sourceContext','scan','concat','breakpoints','resolve','\x09Long\x20poll\x20completed.','name','createLogger','posix','breakpoints_fetched','blacklist_exception','constructor','__esModule','workingDirectory','warn','assert','map','Server\x20breakpoints:\x0a','description','internal','bind','extraPaths','\x09remove\x20breakpoint','./blocklisting/patterns-blocklist-manager','disable','logMainConfigParams','./io/sourcemapper','Active\x20Breakpoints:\x20\x0a','Blacklist:\x20\x0a\x09','emit','inspect','__classPrivateFieldSet','set','info','javascriptFileExtensions','condition','collectAndSendLog','beforeExit','register','mapSubtract','stopped','seconds','breakpointExpirationSec','replace','createDebuggee','findFiles','153993FqafVN','getProps','initError','promisify','setPatterns','./debuglet-helpers/normalizeConfig','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','isOutOfQuota','expirationSeconds','1760000OnooUm','breakpointUpdateIntervalSec','Malformed\x20source-context.json\x20file:\x20','./io/scanner','all','Scanner','Unique\x20ID\x20for\x20this\x20Application:\x20','.\x20Error:\x20','GAE-','__classPrivateFieldGet','isFinalState','push','ALLOW_EXPRESSIONS_MESSAGE','UNSPECIFIED','18HZCDAL','Private\x20method\x20is\x20not\x20writable','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','allowExpressions','QuotaManager','isAvailable','./reduction/redaction-manager','registered','normalizeConfig','GAE_MINOR_VERSION','pattern','source-context.json','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','PipingManager','config','CachedPromise','action','isArray','collectLogRequestId','isRedactionActive','\x20completed.','AGENT_LOG_FILE','\x20because\x20','kill','filter','LOG','activeBreakpointMap','Error\x20processing\x20the\x20sourcemaps.','promise','default','setPipingStatus','globalPipingStatus','remotelyDisabled','createPerBreakpointConditionQuota','LOGPOINT:\x20','create','sep','EnvironmentMetadata','undefined','./piping-manager','REDACTED_PLACEHOLDER','ConfigurationProvider','readFile','debuggee','./util/utils','add','Starting\x20debuggee','pid','agentLogLevel','format','path','./controller','clearTransmissionTimeout','do\x20this.','(((.+)+)+)+$','quotaRecoverySeconds','replaceRedactedByValue','function','blacklist','stdErrThreshold','defineProperty','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','logger','utf8','setIgnoreQuota'];a17_0xaa06=function(){return _0x21d2cc;};return a17_0xaa06();}class IsReadyImpl{constructor(_0x283e91){const _0x15bb1c=a17_0x5fd263;this[_0x15bb1c(0xcf)]=_0x283e91;}['isReady'](){const _0x130256=a17_0x5fd263;return this[_0x130256(0xcf)][_0x130256(0x1a4)]();}}class Debuglet extends events_1['EventEmitter']{constructor(_0x14f979,_0x615579){const _0x4bc00f=a17_0x5fd263;super(),_Debuglet_instances[_0x4bc00f(0x15d)](this),_Debuglet_debug[_0x4bc00f(0x10b)](this,void 0x0),_Debuglet_v8debug['set'](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller[_0x4bc00f(0x10b)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x4bc00f(0x10b)](this,void 0x0),_Debuglet_breakpointFetched[_0x4bc00f(0x10b)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x4bc00f(0x10b)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x4bc00f(0x10b)](this,null),this[_0x4bc00f(0x192)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x4bc00f(0x10b)](this,void 0x0),_Debuglet_scanner[_0x4bc00f(0x10b)](this,void 0x0),_Debuglet_quotaManager[_0x4bc00f(0x10b)](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x4bc00f(0x10b)](this,void 0x0),_Debuglet_configProvider[_0x4bc00f(0x10b)](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x4bc00f(0x138)])(_0x615579),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x4bc00f(0x159))](this[_0x4bc00f(0x13e)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x14f979,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x4bc00f(0x1ae)]=![],this[_0x4bc00f(0x16e)]=agent_logger_1[_0x4bc00f(0x14d)][_0x4bc00f(0xf2)](this['config']['agentLog'][_0x4bc00f(0x1bf)],this[_0x4bc00f(0x13e)]['agentLog'][_0x4bc00f(0xbb)],this[_0x4bc00f(0x13e)][_0x4bc00f(0x1be)]['agentLogMaxFileCount'],this[_0x4bc00f(0x13e)][_0x4bc00f(0x1be)][_0x4bc00f(0x160)],this['config'][_0x4bc00f(0x1be)][_0x4bc00f(0x16b)]),(0x0,config_1[_0x4bc00f(0x104)])(this[_0x4bc00f(0x13e)],this[_0x4bc00f(0x16e)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x4bc00f(0x155))](this[_0x4bc00f(0x16e)])[_0x4bc00f(0x11a)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x4bc00f(0x13e)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x4bc00f(0x127))](this['logger']),'f'),this[_0x4bc00f(0x15b)]=null,this[_0x4bc00f(0x14a)]={},__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[(_0x4bc00f(0x134))](this[_0x4bc00f(0x16e)],this['config']),'f'),this[_0x4bc00f(0xe6)]=new piping_manager_1[(_0x4bc00f(0x13d))](_0x4bc00f(0x181),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x4bc00f(0x13e)]);}async['findFiles'](_0xbfb266,_0x50ce5c){const _0x4e2543=a17_0x5fd263,_0x42b709=_0xbfb266[_0x4e2543(0xf8)],_0x46e31a=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x4e2543(0xec)](_0x42b709,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x4e2543(0xca)](Debuglet,_0xbfb266[_0x4e2543(0x10d)][_0x4e2543(0xed)]('js.map')),_0x50ce5c,_0xbfb266[_0x4e2543(0x100)]),_0x2c8a69=_0x46e31a[_0x4e2543(0xd5)](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)['call'](Debuglet,_0xbfb266[_0x4e2543(0x10d)])),_0x539bf1=file_index_1[_0x4e2543(0x18a)][_0x4e2543(0xe1)](_0x2c8a69),_0x18dbed=_0x46e31a['selectFiles'](/.js.map$/,process['cwd']()),_0x451604=_0x46e31a[_0x4e2543(0xe7)]();return{'mapFiles':_0x18dbed,'errors':_0x451604,'jsFileIndex':_0x539bf1,'hash':_0x46e31a[_0x4e2543(0xb9)]};}async[a17_0x5fd263(0x18b)](){const _0x56a464=a17_0x5fd263;var _0x398854;const _0x352e69=this,_0x46812a=_0x352e69[_0x56a464(0x13e)][_0x56a464(0xf8)];if(!_0x352e69[_0x56a464(0x13e)][_0x56a464(0x191)]&&path['join'](_0x46812a,'..')===_0x46812a){const _0x1cd695='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+_0x56a464(0x11f)+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+_0x56a464(0x165);_0x352e69[_0x56a464(0x16e)]['error'](_0x1cd695),_0x352e69['emit'](_0x56a464(0x11b),new Error(_0x1cd695));return;}let _0xd9d381;process[_0x56a464(0x17b)][_0x56a464(0x139)]&&(_0xd9d381=_0x56a464(0x12a)+process['env'][_0x56a464(0x139)]);let _0x241795,_0x408c6c=_0xd9d381||'';try{_0x241795=await this[_0x56a464(0x118)](_0x352e69[_0x56a464(0x13e)],_0xd9d381),_0x241795[_0x56a464(0xe7)][_0x56a464(0xbd)](_0x352e69[_0x56a464(0x16e)][_0x56a464(0xf9)]);}catch(_0x443c20){_0x352e69[_0x56a464(0x16e)][_0x56a464(0x182)](_0x56a464(0xe5),_0x443c20),_0x352e69['emit']('initError',_0x443c20);return;}try{const _0x191477=await SourceMapper[_0x56a464(0x153)](_0x241795['mapFiles']);__classPrivateFieldSet(_0x352e69,_Debuglet_v8debug,debugapi[_0x56a464(0x153)](_0x352e69['logger'],_0x352e69[_0x56a464(0x13e)],_0x241795['jsFileIndex'],_0x191477,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x408c6c=_0xd9d381||_0x241795[_0x56a464(0xb9)];}catch(_0x24b130){_0x352e69[_0x56a464(0x16e)][_0x56a464(0x182)](_0x56a464(0x14b),_0x24b130),_0x352e69[_0x56a464(0x108)](_0x56a464(0x11b),_0x24b130);}_0x352e69[_0x56a464(0x16e)][_0x56a464(0x10c)](_0x56a464(0x128)+_0x408c6c);const _0x4073fa=(0x0,utils_1['readFullVersion'])(_0x352e69[_0x56a464(0x16e)])[_0x56a464(0x116)]('\x0a','');_0x352e69[_0x56a464(0x16e)][_0x56a464(0x10c)](_0x56a464(0x176)+_0x4073fa);let _0xb3d6a0;try{_0xb3d6a0=_0x352e69[_0x56a464(0x13e)][_0x56a464(0xeb)]||await Debuglet['getSourceContextFromFile']();}catch(_0x589bc6){}this[_0x56a464(0x13e)]['capture']&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x56a464(0x1a0)]()===0x0&&(0x0,utils_1[_0x56a464(0x195)])(process['version'],'>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12')&&_0x352e69[_0x56a464(0x16e)][_0x56a464(0xf9)](utils_1[_0x56a464(0xe7)]['NODE_10_CIRC_REF_MESSAGE']),_0x352e69['logger'][_0x56a464(0x10c)](_0x56a464(0xe8)+((_0x398854=process['mainModule'])===null||_0x398854===void 0x0?void 0x0:_0x398854[_0x56a464(0x1c1)])),_0x352e69[_0x56a464(0x16e)][_0x56a464(0xc4)](_0x56a464(0x199)+_0x46812a),_0x352e69[_0x56a464(0x16e)][_0x56a464(0xc4)](_0x56a464(0x15e)),__classPrivateFieldSet(_0x352e69,_Debuglet_running,!![],'f'),_0x352e69[_0x56a464(0x15b)]=(0x0,createDebuggee_1[_0x56a464(0x117)])(_0x408c6c,_0x352e69[_0x56a464(0x13e)],_0xb3d6a0,__classPrivateFieldGet(_0x352e69,_Debuglet_debug,'f')['packageInfo'],_0x4073fa,_0x352e69[_0x56a464(0x16e)],__classPrivateFieldGet(_0x352e69,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x352e69,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x56a464(0xca)](_0x352e69),__classPrivateFieldGet(_0x352e69,_Debuglet_instances,'m',_Debuglet_register_)[_0x56a464(0xca)](_0x352e69),_0x352e69[_0x56a464(0x108)](_0x56a464(0x1ab));}[a17_0x5fd263(0x1a4)](){const _0x127812=a17_0x5fd263;if(Date[_0x127812(0x1a6)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x127812(0xef)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x127812(0x189)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x127812(0x189)]()[_0x127812(0xb8)](()=>{const _0x34d41c=_0x127812;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x34d41c(0xca)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x127812(0x189)]();}}static async[a17_0x5fd263(0xd4)](){const _0x1f5722=a17_0x5fd263,_0x502c42=await readFilep(_0x1f5722(0x13b),_0x1f5722(0x16f));try{return JSON[_0x1f5722(0x1b9)](_0x502c42);}catch(_0x5ba840){throw new Error(_0x1f5722(0x124)+_0x5ba840);}}[a17_0x5fd263(0x17e)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x5fd263(0xe2)](){const _0x11b931=a17_0x5fd263;var _0x54e54b;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this['logger'][_0x11b931(0xc4)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0x11b931(0x16e)]['debug'](_0x11b931(0x1b7)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0x54e54b=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0x54e54b===void 0x0?void 0x0:_0x54e54b[_0x11b931(0x164)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x11b931(0x108)](_0x11b931(0x113));}}exports[a17_0x5fd263(0x1a2)]=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(_0x20f1f8){const _0x37ff0e=a17_0x5fd263;return new RegExp(_0x20f1f8[_0x37ff0e(0xfb)](_0x33d856=>_0x33d856+'$')[_0x37ff0e(0x1ad)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x3a72aa=a17_0x5fd263,_0x487721=['SIGTERM',_0x3a72aa(0x187),_0x3a72aa(0x1b5)];_0x487721['forEach'](_0x3242ed=>{process['once'](_0x3242ed,()=>{const _0x167eeb=a17_0x3d6f;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x167eeb(0x1aa)](this[_0x167eeb(0x15b)],()=>{const _0x5562d1=_0x167eeb;process[_0x5562d1(0x147)](process[_0x5562d1(0x15f)],_0x3242ed);});});}),process[_0x3a72aa(0x17f)](_0x3a72aa(0x110),()=>{const _0x283db2=_0x3a72aa;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x283db2(0x1aa)](this[_0x283db2(0x15b)],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){const _0x1c7785=a17_0x5fd263;return metadata[_0x1c7785(0x135)]();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0x5c9949=a17_0x5fd263;return(await metadata[_0x5c9949(0xc9)](_0x5c9949(0xcd)))[_0x5c9949(0xe9)];},_Debuglet_register_=function _Debuglet_register_(){const _0x3a01d0=a17_0x5fd263;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x3a01d0(0xca)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x106628){const _0x4a3d10=a17_0x5fd263,_0x550566=this;_0x550566[_0x4a3d10(0x16e)][_0x4a3d10(0xc4)](_0x106628?_0x4a3d10(0x19a)+_0x106628+'s':_0x4a3d10(0xb6));function _0x6142c9(_0x52dbc1,_0x229a61,_0x38a8dc=![]){const _0x1d88d9=_0x4a3d10;var _0x39b9d7,_0x15d9cb;const _0x10cf04=((_0x39b9d7=_0x550566[_0x1d88d9(0x15b)])===null||_0x39b9d7===void 0x0?void 0x0:_0x39b9d7['id'])?'Failed\x20to\x20re-register\x20debuggee\x20'+((_0x15d9cb=_0x550566['debuggee'])===null||_0x15d9cb===void 0x0?void 0x0:_0x15d9cb['id'])+':\x20'+_0x52dbc1:'Failed\x20to\x20register\x20debuggee:\x20'+_0x52dbc1;_0x550566[_0x1d88d9(0x16e)]['error'](_0x10cf04),_0x229a61&&!_0x38a8dc&&_0x550566[_0x1d88d9(0x16e)][_0x1d88d9(0x182)](_0x1d88d9(0xbf),_0x229a61),__classPrivateFieldGet(_0x550566,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](_0x550566,(0x0,utils_1['backoff'])(_0x106628,_0x550566[_0x1d88d9(0x13e)][_0x1d88d9(0xfe)]['maxRequestRetryDelaySeconds']));}setTimeout(()=>{const _0x3c5ba6=_0x4a3d10;if(!__classPrivateFieldGet(_0x550566,_Debuglet_running,'f')){_0x6142c9(new Error(_0x3c5ba6(0x197)));return;}__classPrivateFieldGet(_0x550566,_Debuglet_controller,'f')[_0x3c5ba6(0x111)](_0x550566['debuggee'],(_0x221907,_0x4a5e58,_0x3184ad=![])=>{const _0x4d9e23=_0x3c5ba6;if(_0x221907){_0x6142c9(_0x221907,_0x4a5e58,_0x3184ad);return;}if(_0x4a5e58[_0x4d9e23(0x15b)][_0x4d9e23(0xd8)]){_0x6142c9(new Error(_0x4d9e23(0x177))),_0x550566[_0x4d9e23(0x108)](_0x4d9e23(0x150));return;}const _0x45522a=_0x4a5e58[_0x4d9e23(0x15b)]['id'];_0x550566[_0x4d9e23(0x16e)][_0x4d9e23(0x10c)](_0x4d9e23(0x180)+_0x45522a),_0x550566['debuggee']['id']=_0x45522a;const _0x50b3ef=[__classPrivateFieldGet(_0x550566,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x4d9e23(0xff)](_0x550566)(_0x550566[_0x4d9e23(0x15b)]['id'])];_0x550566[_0x4d9e23(0x13e)]['redactionEnabled']&&_0x50b3ef[_0x4d9e23(0x12d)](__classPrivateFieldGet(_0x550566,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x550566)(_0x550566[_0x4d9e23(0x15b)]['id'])),Promise[_0x4d9e23(0x126)](_0x50b3ef)['then'](()=>{const _0x4712fa=_0x4d9e23;var _0x16366f;_0x550566[_0x4712fa(0x108)](_0x4712fa(0x137),_0x45522a),__classPrivateFieldGet(_0x550566,_Debuglet_debuggeeRegistered,'f')[_0x4712fa(0xef)](),(_0x16366f=__classPrivateFieldGet(_0x550566,_Debuglet_v8debug,'f'))===null||_0x16366f===void 0x0?void 0x0:_0x16366f['setBlocklistManager'](__classPrivateFieldGet(_0x550566,_Debuglet_blocklistManager,'f')),!_0x550566[_0x4712fa(0x1ae)]&&__classPrivateFieldGet(_0x550566,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4712fa(0xca)](_0x550566,0x0,this[_0x4712fa(0x13e)][_0x4712fa(0xc5)],_0x4a5e58===null||_0x4a5e58===void 0x0?void 0x0:_0x4a5e58[_0x4712fa(0x1ba)]);},_0x5022e4=>{_0x6142c9(_0x5022e4);});});},_0x106628*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x2db0ae,_0x2761a5,_0x183502){const _0x293b7a=a17_0x5fd263,_0x238bbb=this;!_0x2761a5&&(_0x238bbb[_0x293b7a(0x1ae)]=!![]),setTimeout(()=>{const _0x1ee5e6=_0x293b7a;if(!__classPrivateFieldGet(_0x238bbb,_Debuglet_running,'f'))return;!_0x2761a5&&assert(_0x238bbb[_0x1ee5e6(0x1ae)]),_0x238bbb[_0x1ee5e6(0x16e)][_0x1ee5e6(0xc4)]('Fetching\x20breakpoints'),__classPrivateFieldGet(_0x238bbb,_Debuglet_controller,'f')[_0x1ee5e6(0xdb)](_0x238bbb[_0x1ee5e6(0x15b)],(_0x58969a,_0x284030,_0x76be01)=>{const _0xebb3b2=_0x1ee5e6;if((_0x284030===null||_0x284030===void 0x0?void 0x0:_0x284030[_0xebb3b2(0x193)])===0x194){_0x238bbb[_0xebb3b2(0x16e)]['info'](_0xebb3b2(0x1c0)),_0x238bbb[_0xebb3b2(0x1ae)]=![],__classPrivateFieldGet(_0x238bbb,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0xebb3b2(0xca)](_0x238bbb),__classPrivateFieldGet(_0x238bbb,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x238bbb);return;}if(_0x58969a){const _0x152379=(0x0,utils_1[_0xebb3b2(0x179)])(_0x2db0ae,_0x238bbb[_0xebb3b2(0x13e)]['internal'][_0xebb3b2(0x1bd)]);_0x238bbb['logger'][_0xebb3b2(0x182)](_0xebb3b2(0xdd)+(_0x284030===null||_0x284030===void 0x0?void 0x0:_0x284030[_0xebb3b2(0x193)])+'.\x20message:\x20'+_0x58969a[_0xebb3b2(0x1bc)]+_0xebb3b2(0x188)+_0x152379+'s'),__classPrivateFieldGet(_0x238bbb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xebb3b2(0xca)](_0x238bbb,_0x152379,_0x2761a5,_0x183502);return;}_0x238bbb[_0xebb3b2(0x16e)]['debug']('\x09'+_0x284030[_0xebb3b2(0x193)]+_0xebb3b2(0x144));if(!_0x76be01){const _0x1786d7=_0x238bbb[_0xebb3b2(0x13e)][_0xebb3b2(0x123)];_0x238bbb['logger']['error']('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x1786d7+'s'),__classPrivateFieldGet(_0x238bbb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x238bbb,_0x1786d7,_0x2761a5,_0x183502);return;}if(_0x76be01[_0xebb3b2(0x18d)]){_0x238bbb['logger']['info'](_0xebb3b2(0xf0)),__classPrivateFieldGet(_0x238bbb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xebb3b2(0xca)](_0x238bbb,0x0,_0x2761a5,_0x183502);return;}if(_0x76be01['pipeLogs']&&_0x76be01[_0xebb3b2(0xea)]!==_0xebb3b2(0x18c)){const _0x8b2d04=this[_0xebb3b2(0xe6)][_0xebb3b2(0x14f)];_0x8b2d04!==_0x76be01[_0xebb3b2(0xea)]&&(this[_0xebb3b2(0x16e)][_0xebb3b2(0xc4)]('Switching\x20globalPiping\x20status\x20from\x20'+_0x8b2d04+'\x20to\x20'+_0x76be01[_0xebb3b2(0xea)]),this[_0xebb3b2(0xe6)][_0xebb3b2(0x14f)]=_0x76be01[_0xebb3b2(0xea)]);}if(_0x76be01[_0xebb3b2(0x10f)]&&_0x76be01['collectLogRequestId']!==_0x238bbb[_0xebb3b2(0x142)]){_0x238bbb[_0xebb3b2(0x142)]=_0x76be01[_0xebb3b2(0x142)];const _0x63dccd=_0x238bbb[_0xebb3b2(0x13e)][_0xebb3b2(0x1be)][_0xebb3b2(0x1bf)]&&path[_0xebb3b2(0x1ad)](_0x238bbb[_0xebb3b2(0x13e)][_0xebb3b2(0x1be)][_0xebb3b2(0x1bf)],agent_logger_1['default'][_0xebb3b2(0x145)]);_0x63dccd&&fs[_0xebb3b2(0x173)](_0x63dccd)?setTimeout(()=>__classPrivateFieldGet(_0x238bbb,_Debuglet_controller,'f')[_0xebb3b2(0x1b6)](_0x238bbb[_0xebb3b2(0x15b)],_0x76be01[_0xebb3b2(0x142)],_0x63dccd)):_0x238bbb[_0xebb3b2(0x16e)][_0xebb3b2(0x10c)](_0xebb3b2(0x1a3)+_0x76be01[_0xebb3b2(0x142)]+_0xebb3b2(0x146)+_0xebb3b2(0x1b3));}const _0x3e3666=(_0x76be01[_0xebb3b2(0xee)]||[])[_0xebb3b2(0xfb)](_0x2bb80d=>new stackdriver_1[(_0xebb3b2(0x19d))](_0x2bb80d))[_0xebb3b2(0x148)](_0x2cb898=>{const _0x515ed6=_0xebb3b2,_0xe86030=_0x2cb898['action']||_0x515ed6(0xe4);if(__classPrivateFieldGet(_0x238bbb,_Debuglet_completedBreakpointMap,'f')[_0x2cb898['id']])return![];if(_0xe86030!==_0x515ed6(0xe4)&&_0xe86030!==_0x515ed6(0x149))return _0x238bbb[_0x515ed6(0x16e)][_0x515ed6(0xf9)](_0x515ed6(0xc0),_0xe86030),_0x2cb898['status']=new status_message_1['StatusMessage'](status_message_1[_0x515ed6(0xdf)][_0x515ed6(0x12f)],utils_1[_0x515ed6(0xe7)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(_0x238bbb,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x515ed6(0xca)](_0x238bbb,_0x2cb898),![];return!![];}),_0x2ac2a5=__classPrivateFieldGet(_0x238bbb,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0xebb3b2(0xca)](_0x238bbb);let _0x4f0cc9=_0x2ac2a5['length']>0x0;__classPrivateFieldGet(_0x238bbb,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0xebb3b2(0xca)](_0x238bbb,_0x2ac2a5),_0x4f0cc9=_0x4f0cc9||__classPrivateFieldGet(_0x238bbb,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0xebb3b2(0xca)](_0x238bbb,_0x3e3666),_0x238bbb[_0xebb3b2(0x108)](_0xebb3b2(0xf4),_0x3e3666[_0xebb3b2(0x1b0)]);_0x4f0cc9&&_0x238bbb[_0xebb3b2(0x16e)][_0xebb3b2(0xc4)](formatBreakpoints(_0xebb3b2(0x106),_0x238bbb[_0xebb3b2(0x14a)]));__classPrivateFieldSet(_0x238bbb,_Debuglet_breakpointFetchedTimestamp,Date[_0xebb3b2(0x1a6)](),'f');_0x2761a5?__classPrivateFieldGet(_0x238bbb,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x238bbb,_Debuglet_breakpointFetched,'f')[_0xebb3b2(0xef)](),__classPrivateFieldSet(_0x238bbb,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x238bbb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xebb3b2(0xca)](_0x238bbb,0x0,_0x2761a5,_0x183502);return;},_0x183502);},_0x2db0ae*0x3e8)[_0x293b7a(0x19e)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x2a2422=a17_0x5fd263;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x2a2422(0xef)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x3c95f4){const _0x397643=a17_0x5fd263,_0x17791d=this,_0x4a3bb5=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x397643(0xca)](this,_0x3c95f4);let _0x581a5a=![];return _0x3c95f4[_0x397643(0xbd)](_0x4887bf=>{const _0x2386e6=_0x397643;!__classPrivateFieldGet(_0x17791d,_Debuglet_completedBreakpointMap,'f')[_0x4887bf['id']]&&!_0x17791d[_0x2386e6(0x14a)][_0x4887bf['id']]&&(__classPrivateFieldGet(_0x17791d,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x2386e6(0xca)](_0x17791d,_0x4887bf,_0x10ba99=>{_0x10ba99&&__classPrivateFieldGet(_0x17791d,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x17791d,_0x4887bf,!![],![]);}),_0x581a5a=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x2386e6(0x151)](_0x4887bf['id'])),__classPrivateFieldGet(_0x17791d,_Debuglet_quotaManager,'f')[_0x2386e6(0x170)](_0x4887bf['id'],_0x4887bf['ignoreQuota']),_0x17791d['pipingManager'][_0x2386e6(0x14e)](_0x4887bf['id'],_0x4887bf[_0x2386e6(0xc6)]);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x4a3bb5)[_0x397643(0xbd)](_0x1e890c=>{delete __classPrivateFieldGet(_0x17791d,_Debuglet_completedBreakpointMap,'f')[_0x1e890c['id']],_0x581a5a=!![];}),(0x0,mapSubtract_1[_0x397643(0x112)])(this['activeBreakpointMap'],_0x4a3bb5)[_0x397643(0xbd)](_0x14e7c9=>{const _0x2bdc50=_0x397643;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2bdc50(0xca)](this,_0x14e7c9,!![]),_0x581a5a=!![];}),_0x581a5a&&_0x17791d[_0x397643(0x16e)][_0x397643(0xc4)](formatBreakpoints(_0x397643(0xfc),_0x4a3bb5)),_0x581a5a;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x4e0895){const _0xe74d75={};return _0x4e0895['forEach'](_0x5ccf8d=>{_0xe74d75[_0x5ccf8d['id']]=_0x5ccf8d;}),_0xe74d75;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x3872b7,_0x329e2b){const _0x1181c8=a17_0x5fd263;this[_0x1181c8(0x16e)][_0x1181c8(0x10c)](_0x1181c8(0x101),_0x3872b7),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1181c8(0x1a9)](_0x3872b7['id']),this[_0x1181c8(0xe6)]['removeBreakpoint'](_0x3872b7['id']),delete this['activeBreakpointMap'][_0x3872b7['id']],_0x329e2b&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x3872b7,_0x2219f4=>{const _0x436f79=_0x1181c8;if(_0x2219f4)this[_0x436f79(0x16e)][_0x436f79(0x182)](_0x2219f4);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x4d81c5,_0x420de6){const _0x2632e4=a17_0x5fd263;var _0xed0520;const _0x1037b6=this;_0x1037b6[_0x2632e4(0x16e)][_0x2632e4(0x10c)]('\x09adding\x20breakpoint',_0x4d81c5);if(!_0x1037b6[_0x2632e4(0x13e)][_0x2632e4(0x133)]&&(_0x4d81c5[_0x2632e4(0x10e)]||_0x4d81c5[_0x2632e4(0x175)])){_0x1037b6[_0x2632e4(0x16e)][_0x2632e4(0x182)](utils_1[_0x2632e4(0xe7)][_0x2632e4(0x12e)]['description']||''),_0x4d81c5['status']=new status_message_1[(_0x2632e4(0xdf))](status_message_1['StatusMessage'][_0x2632e4(0x12f)],utils_1[_0x2632e4(0xe7)]['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x51fb6a=_0x2632e4;_0x420de6(utils_1[_0x51fb6a(0xe7)][_0x51fb6a(0x12e)]);});return;}if((0x0,utils_1['satisfies'])(process[_0x2632e4(0xce)],_0x2632e4(0x18f))){const _0x5a549c=utils_1[_0x2632e4(0xe7)]['NODE_VERSION_MESSAGE'];_0x1037b6[_0x2632e4(0x16e)][_0x2632e4(0x182)](_0x5a549c),_0x4d81c5[_0x2632e4(0x193)]=new status_message_1[(_0x2632e4(0xdf))](status_message_1[_0x2632e4(0xdf)][_0x2632e4(0x12f)],_0x5a549c,!![]),setImmediate(()=>{_0x420de6(_0x5a549c);});return;}const _0x27000d=_0x4d81c5['createTime']?Number(_0x4d81c5[_0x2632e4(0xbe)]['seconds']):Date[_0x2632e4(0x1a6)]()/0x3e8,_0x1da548=_0x4d81c5[_0x2632e4(0x121)]||_0x1037b6['config'][_0x2632e4(0x115)];_0x4d81c5['expirationTime']=_0x27000d+_0x1da548,((_0xed0520=_0x4d81c5[_0x2632e4(0xd3)])===null||_0xed0520===void 0x0?void 0x0:_0xed0520[_0x2632e4(0x162)])&&(_0x4d81c5[_0x2632e4(0xd3)][_0x2632e4(0x162)]=path['normalize'](_0x4d81c5[_0x2632e4(0xd3)][_0x2632e4(0x162)]),path['sep']===path[_0x2632e4(0xf3)][_0x2632e4(0x154)]&&(_0x4d81c5[_0x2632e4(0xd3)][_0x2632e4(0x162)]=_0x4d81c5[_0x2632e4(0xd3)]['path'][_0x2632e4(0x190)]('\x5c')[_0x2632e4(0x1ad)](path[_0x2632e4(0x154)]))),__classPrivateFieldGet(_0x1037b6,_Debuglet_v8debug,'f')[_0x2632e4(0x10b)](_0x4d81c5,_0x2fc3b8=>{const _0x1a8713=_0x2632e4;if(_0x2fc3b8){_0x420de6(_0x2fc3b8);return;}_0x1037b6[_0x1a8713(0x16e)]['info'](_0x1a8713(0x1b8),_0x4d81c5),_0x1037b6[_0x1a8713(0x14a)][_0x4d81c5['id']]=_0x4d81c5,_0x4d81c5[_0x1a8713(0x140)]==='LOG'?__classPrivateFieldGet(_0x1037b6,_Debuglet_v8debug,'f')[_0x1a8713(0xc1)](_0x4d81c5,(_0x455331,_0x2c97ac)=>{const _0x48b983=_0x1a8713;var _0x522d5e,_0x4c9469,_0x517f92,_0x2bbd73;const _0x13cc55=_0x2c97ac['map'](_0x21707b=>__classPrivateFieldGet(_0x1037b6,_Debuglet_instances,'m',_Debuglet_stringify)['call'](_0x1037b6,_0x21707b)),_0x5add30=(0x0,format_1[_0x48b983(0x161)])(_0x455331,_0x13cc55),_0x399661=_0x48b983(0x152)+(((_0x522d5e=__classPrivateFieldGet(_0x1037b6,_Debuglet_redactionManager,'f'))===null||_0x522d5e===void 0x0?void 0x0:_0x522d5e[_0x48b983(0x168)](_0x5add30))||_0x5add30),_0x850f6b=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x399661,_0x4d81c5['id']);if(_0x850f6b){const _0x2cc088=_0x850f6b['message'],_0x20a062=_0x850f6b[_0x48b983(0x120)];let _0x2df561,_0x164961;!((_0x4c9469=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x4c9469===void 0x0?void 0x0:_0x4c9469[_0x48b983(0x143)]())&&!_0x20a062&&(_0x2df561=_0x48b983(0x152)+_0x455331,_0x164961=_0x13cc55);_0x1037b6[_0x48b983(0xe6)][_0x48b983(0xd7)](_0x1037b6['debuggee'],_0x4d81c5['id'],_0x2cc088,_0x4d81c5['logLevel'],_0x2df561,_0x164961);if(_0x20a062)(_0x517f92=__classPrivateFieldGet(_0x1037b6,_Debuglet_v8debug,'f'))===null||_0x517f92===void 0x0?void 0x0:_0x517f92[_0x48b983(0x103)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{var _0x4df694;(_0x4df694=__classPrivateFieldGet(_0x1037b6,_Debuglet_v8debug,'f'))===null||_0x4df694===void 0x0?void 0x0:_0x4df694['enable'](),__classPrivateFieldSet(_0x1037b6,_Debuglet_nextEnableTimeout,null,'f');},_0x1037b6[_0x48b983(0x13e)][_0x48b983(0x1bb)][_0x48b983(0x167)]*0x3e8),'f');else(_0x2cc088===null||_0x2cc088===void 0x0?void 0x0:_0x2cc088[_0x48b983(0x1b0)])===0x0&&((_0x2bbd73=__classPrivateFieldGet(_0x1037b6,_Debuglet_v8debug,'f'))===null||_0x2bbd73===void 0x0?void 0x0:_0x2bbd73[_0x48b983(0x103)]());}},()=>{return __classPrivateFieldGet(_0x1037b6,_Debuglet_completedBreakpointMap,'f')[_0x4d81c5['id']];},_0x48bfb2=>{const _0x1dbb60=_0x1a8713;if(_0x48bfb2){_0x1037b6[_0x1dbb60(0x16e)]['error'](_0x48bfb2),_0x420de6(_0x48bfb2);return;}}):__classPrivateFieldGet(_0x1037b6,_Debuglet_v8debug,'f')[_0x1a8713(0xc2)](_0x4d81c5,_0x122ecb=>{const _0x20f6fb=_0x1a8713;if(_0x122ecb){setImmediate(()=>{const _0x5bc661=a17_0x3d6f;_0x1037b6[_0x5bc661(0x16e)]['error'](_0x122ecb),_0x420de6(_0x122ecb);});return;}_0x1037b6['logger'][_0x20f6fb(0x10c)]('Breakpoint\x20hit!:\x20',_0x4d81c5),__classPrivateFieldGet(_0x1037b6,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x1037b6,_0x4d81c5,__classPrivateFieldGet(_0x1037b6,_Debuglet_v8debug,'f')[_0x20f6fb(0x185)](_0x4d81c5['id'])<=0x0);}),__classPrivateFieldGet(_0x1037b6,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x1a8713(0xca)](_0x1037b6,_0x4d81c5);}),this[_0x2632e4(0x108)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x4fd3e6,_0x4c8b47,_0x519519=!![]){const _0x391749=a17_0x5fd263;var _0x2decfd,_0x527a6b,_0x2638fc,_0x2218c3,_0x500c90,_0x558b1f;const _0x3c42c7=this;if(_0x4fd3e6['status']&&_0x4fd3e6[_0x391749(0x193)][_0x391749(0xb4)]){let _0x1c720d=((_0x527a6b=(_0x2decfd=_0x4fd3e6[_0x391749(0x193)])===null||_0x2decfd===void 0x0?void 0x0:_0x2decfd[_0x391749(0xfd)])===null||_0x527a6b===void 0x0?void 0x0:_0x527a6b[_0x391749(0x161)])||'';((_0x2218c3=(_0x2638fc=_0x4fd3e6[_0x391749(0x193)])===null||_0x2638fc===void 0x0?void 0x0:_0x2638fc[_0x391749(0xfd)])===null||_0x2218c3===void 0x0?void 0x0:_0x2218c3[_0x391749(0x1a7)])&&(_0x1c720d+=':\x20'+((_0x558b1f=(_0x500c90=_0x4fd3e6[_0x391749(0x193)])===null||_0x500c90===void 0x0?void 0x0:_0x500c90[_0x391749(0xfd)])===null||_0x558b1f===void 0x0?void 0x0:_0x558b1f['parameters'][_0x391749(0xd9)]())),_0x3c42c7[_0x391749(0x16e)][_0x391749(0xf9)](_0x391749(0x19b)+_0x4fd3e6+_0x391749(0x129)+_0x1c720d);}else _0x3c42c7[_0x391749(0x16e)]['info']('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',_0x4fd3e6);_0x4c8b47&&(__classPrivateFieldGet(_0x3c42c7,_Debuglet_completedBreakpointMap,'f')[_0x4fd3e6['id']]=!![],__classPrivateFieldGet(_0x3c42c7,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x391749(0xca)](_0x3c42c7,_0x4fd3e6,_0x519519)),__classPrivateFieldGet(_0x3c42c7,_Debuglet_controller,'f')[_0x391749(0xe0)](_0x3c42c7[_0x391749(0x15b)],extend(!![],{},_0x4fd3e6));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x35d37e){const _0xeaf369=a17_0x5fd263,_0x4bc4d9=this;_0x4bc4d9[_0xeaf369(0x16e)][_0xeaf369(0xc4)](_0xeaf369(0x17a)+_0x35d37e+_0xeaf369(0xc8));const _0x3940f2=extend(!![],{},_0x35d37e);_0x3940f2[_0xeaf369(0x12c)]=![],_0x3940f2[_0xeaf369(0x193)]=new status_message_1[(_0xeaf369(0xdf))](status_message_1[_0xeaf369(0xdf)][_0xeaf369(0x12f)],undefined,![],!![]),__classPrivateFieldGet(_0x4bc4d9,_Debuglet_controller,'f')[_0xeaf369(0xe0)](_0x4bc4d9[_0xeaf369(0x15b)],_0x3940f2);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x1165a7){const _0x2c7f9e=a17_0x5fd263,_0x31b554=this;this['logger'][_0x2c7f9e(0x10c)](_0x2c7f9e(0x1b2),_0x1165a7),__classPrivateFieldGet(_0x31b554,_Debuglet_completedBreakpointMap,'f')[_0x1165a7['id']]=!![],__classPrivateFieldGet(_0x31b554,_Debuglet_controller,'f')[_0x2c7f9e(0xe0)](_0x31b554[_0x2c7f9e(0x15b)],_0x1165a7);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x37ba61){const _0x4ecbce=this;_0x37ba61['forEach'](_0x11326c=>{const _0x3d980b=a17_0x3d6f;_0x4ecbce[_0x3d980b(0x16e)][_0x3d980b(0x10c)]('Expiring\x20breakpoint',_0x11326c),__classPrivateFieldGet(_0x4ecbce,_Debuglet_completedBreakpointMap,'f')[_0x11326c['id']]=!![],__classPrivateFieldGet(_0x4ecbce,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x4ecbce,_0x11326c,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0xdba96e=a17_0x5fd263,_0x51439c=Date['now']()/0x3e8;return Object['values'](this[_0xdba96e(0x14a)])[_0xdba96e(0x148)](_0x5077b8=>_0x5077b8[_0xdba96e(0x17c)]?_0x5077b8['expirationTime']<_0x51439c:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x3c43ec){const _0x3ab09f=a17_0x5fd263,_0x2c230a=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3ab09f(0x1b1)](_0x3c43ec),_0x3ff453=_0x2c230a[_0x3ab09f(0x16a)],_0x36d33c=_0x2c230a[_0x3ab09f(0xf5)];_0x3ff453&&_0x3ff453[_0x3ab09f(0x1b0)]&&this[_0x3ab09f(0x16e)][_0x3ab09f(0xc4)](_0x3ab09f(0x107),_0x3ff453['join']('\x0a\x09')),_0x36d33c&&_0x36d33c[_0x3ab09f(0x1b0)]&&this[_0x3ab09f(0x16e)][_0x3ab09f(0xc4)](_0x3ab09f(0x1c2),_0x36d33c[_0x3ab09f(0x1ad)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x3ab09f(0x198))](_0x3ff453,_0x36d33c,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x32df39){const _0x54d574=a17_0x5fd263;var _0x2b76b1;const _0x3ec8e4=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x54d574(0x172)](_0x32df39);(_0x3ec8e4===null||_0x3ec8e4===void 0x0?void 0x0:_0x3ec8e4[_0x54d574(0x1b0)])&&this['logger'][_0x54d574(0xc4)](_0x54d574(0x1a8),_0x3ec8e4[_0x54d574(0xfb)](_0x2126cc=>_0x54d574(0xd1)+_0x2126cc[_0x54d574(0xf1)]+'\x20(type:\x20'+_0x2126cc[_0x54d574(0xc3)]+'):\x20pattern:\x20'+_0x2126cc[_0x54d574(0x13a)]+'\x20caseInsensitive:\x20'+_0x2126cc[_0x54d574(0xe3)])[_0x54d574(0x1ad)]('\x0a\x09'));if((0x0,utils_1[_0x54d574(0x195)])(process[_0x54d574(0xce)],'>=12')){const {RedactionManagerRE2JS:_0x43ba5a}=await Promise[_0x54d574(0xef)]()['then'](()=>require('./reduction/redaction-manager-re2js'));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x43ba5a(this['logger']),'f'),(_0x2b76b1=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x2b76b1===void 0x0?void 0x0:_0x2b76b1[_0x54d574(0x11d)](_0x3ec8e4);}},_Debuglet_stringify=function _Debuglet_stringify(_0x3233b3){const _0x44cd65=a17_0x5fd263;if(!_0x3233b3)return JSON[_0x44cd65(0xb7)](_0x3233b3,(_0x598b42,_0x2b8284)=>_0x2b8284===undefined?_0x44cd65(0x156):_0x2b8284);if(Array[_0x44cd65(0x141)](_0x3233b3)){const _0x24c9d7=[];for(const _0x42e68a of _0x3233b3){_0x24c9d7[_0x44cd65(0x12d)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x44cd65(0xca)](this,_0x42e68a));}return'['+_0x24c9d7[_0x44cd65(0x1ad)](',\x20')+']';}if(typeof _0x3233b3===_0x44cd65(0xd6)){const _0xe2a56f=Object[_0x44cd65(0xcc)](_0x3233b3)[_0x44cd65(0xfb)](([_0x33c60d,_0x191306])=>{const _0x1645e0=_0x44cd65;var _0x2183f1;const _0x116e89=((_0x2183f1=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x2183f1===void 0x0?void 0x0:_0x2183f1[_0x1645e0(0x196)](_0x33c60d))?redaction_manager_1[_0x1645e0(0x158)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x191306);return JSON[_0x1645e0(0xb7)](_0x33c60d)+':\x20'+_0x116e89;})[_0x44cd65(0x1ad)](',\x20');return'{'+_0xe2a56f+'}';}return JSON[_0x44cd65(0xb7)](_0x3233b3);});
|
|
1
|
+
const a17_0x5a7037=a17_0x39dc;function a17_0x39dc(_0x501f27,_0x3939f3){const _0x5e97b5=a17_0x1026();return a17_0x39dc=function(_0x9e8ae8,_0x402b0b){_0x9e8ae8=_0x9e8ae8-0x1da;let _0x10264b=_0x5e97b5[_0x9e8ae8];return _0x10264b;},a17_0x39dc(_0x501f27,_0x3939f3);}(function(_0x42b169,_0x1745b9){const _0x39933f=a17_0x39dc,_0x1e4e6a=_0x42b169();while(!![]){try{const _0x5db731=parseInt(_0x39933f(0x2a1))/0x1+-parseInt(_0x39933f(0x254))/0x2+-parseInt(_0x39933f(0x234))/0x3*(parseInt(_0x39933f(0x219))/0x4)+parseInt(_0x39933f(0x20e))/0x5+-parseInt(_0x39933f(0x2c2))/0x6*(-parseInt(_0x39933f(0x210))/0x7)+-parseInt(_0x39933f(0x1ed))/0x8+parseInt(_0x39933f(0x233))/0x9*(-parseInt(_0x39933f(0x2cf))/0xa);if(_0x5db731===_0x1745b9)break;else _0x1e4e6a['push'](_0x1e4e6a['shift']());}catch(_0x253425){_0x1e4e6a['push'](_0x1e4e6a['shift']());}}}(a17_0x1026,0x23d75));const a17_0x402b0b=(function(){let _0x5ce545=!![];return function(_0x555385,_0x6f3818){const _0x1a0ae9=_0x5ce545?function(){const _0x372373=a17_0x39dc;if(_0x6f3818){const _0x16d6ba=_0x6f3818[_0x372373(0x236)](_0x555385,arguments);return _0x6f3818=null,_0x16d6ba;}}:function(){};return _0x5ce545=![],_0x1a0ae9;};}()),a17_0x9e8ae8=a17_0x402b0b(this,function(){const _0x2570fe=a17_0x39dc;return a17_0x9e8ae8['toString']()['search'](_0x2570fe(0x2b1))[_0x2570fe(0x1db)]()[_0x2570fe(0x1fd)](a17_0x9e8ae8)['search']('(((.+)+)+)+$');});function a17_0x1026(){const _0xf89d69=['PipingManager','started','breakpointUpdateIntervalSec','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','isArray','expressions','hash','\x0a\x09expressions:\x20','Starting\x20debuggee','sep','fromFileStats','LOG','redactionEnabled','parse','396856zPtjqM','clear','Debuglet\x20not\x20running','expirationTime','selectFiles','events','createTime','maxRequestRetryDelaySeconds','getMaxSnapshotBufferSize','./controller','javascriptFileExtensions','has','collectLogRequestId','map','concat','beforeExit','constructor','replace','scan','\x20because\x20','EnvironmentMetadata','PatternsBlocklistManager','warn','Private\x20method\x20is\x20not\x20writable','value','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','./agent-logger','readFullVersion','Blacklist\x20Exceptions:\x20\x0a\x09','mainModule','__classPrivateFieldSet','logMainConfigParams','isReady','922730VDOvoJ','filter','6433gtcoxB','rejecting\x20breakpoint','setBlocklistManager','emit','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','keys','\x20caseInsensitive:\x20','__esModule','isRunning','140816HNXpYT','createPerBreakpointConditionQuota','logLevel','backoff','object','js.map','mapFiles','>=12','./io/scanner','add','Registered\x20as\x20debuggee:\x20','\x20completed.','Debuglet','isAvailable','agentLogMaxFileCount','seconds','pipingManager','forEach','config','./quota-manager','jsFileIndex','Breakpoint','capture','getRedactions','Switching\x20globalPiping\x20status\x20from\x20','./piping-manager','1224171wfQMOx','21LNbktF','5.2\x20||\x20<4','apply','now','remotelyDisabled','isOutOfQuota','initError','./util/utils','workingDirectory','data','enable','LOGPOINT:\x20','pipeLogs','debug','clientConnectionTimeoutInSeconds','\x0a\x09condition:\x20','Result:\x20\x0a','utf8','./reduction/redaction-manager-re2js','\x09remove\x20breakpoint','parameters','.\x20Error:\x20','type','CAPTURE','breakpoints_fetched','./blocklisting/patterns-blocklist-manager','remainingHits','isFinalState','inspect','error','action','breakpoint_set','86598OBqZag','name:\x20','./environment-metadata','all','existsSync','ALLOW_EXPRESSIONS_MESSAGE','Unique\x20ID\x20for\x20this\x20Application:\x20','isReadyManager','ConfigurationProvider','sourceContext','name','Expiring\x20breakpoint','log','source-context.json','attributes/cluster-name','agentLog','CachedPromise','resolve','\x20(type:\x20','REDACTED_PLACEHOLDER','normalize','sendAgentLogsToServer','GAE_MINOR_VERSION','join','getBlocklist','register','deregister','satisfies','kill','addAndPipeLog','Scanner','agentLogLevel','ignoreQuota','push','./io/file-index','once','create','mapSubtract','waitExpired','gcp-metadata','StatusMessage','pid','QuotaManager','setIgnoreQuota','disable','\x09Notifying\x20server\x20about\x20error\x20for\x20','then','removeBreakpoint','FileIndex','errors','pattern','fetcherActive','agentLogMaxFileSizeMb','):\x20pattern:\x20','Redactions:\x20\x0a\x09','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','.\x20Retrying\x20in\x20','util','blacklist_exception','__classPrivateFieldGet','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','selectStats','NODE_10_CIRC_REF_MESSAGE','Stopping\x20Debuglet','./reduction/redaction-manager','getSourceContextFromFile','info','location','unref','GAE-','status','Disabled\x20by\x20the\x20server','stopped','Found\x20breakpoint\x20with\x20invalid\x20action:','collectAndSendLog','BREAKPOINT_ACTION_MESSAGE','../client/stackdriver/status-message','238189zSKBTB','debuglet','do\x20this.','isRedactionActive','caseInsensitive','./io/sourcemapper','\x20to\x20','activeBreakpointMap','message','debuggee','stringify','quota','length','./debuglet-helpers/createDebuggee','description','Controller','(((.+)+)+)+$','function','Malformed\x20source-context.json\x20file:\x20','call','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','pipingStatus','enqueueBreakpointUpdate','internal','expirationSeconds','version','extend','UNSPECIFIED','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','stdErrThreshold','blacklist','SIGQUIT','\x09adding\x20breakpoint','1302fSGUzB','path','format','getProps','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','fetchBreakpointsOnce','./debuglet-helpers/format','promise','createDebuggee','Breakpoint\x20hit!:\x20','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','listBreakpoints','10XJfCnI','./configuration-provider','logger','promisify','reporting\x20breakpoint\x20','Blacklist:\x20\x0a\x09','\x09successfully\x20added\x20breakpoint','filename','breakpointExpirationSec','quotaRecoverySeconds','condition','EventEmitter','get','Working\x20directory:\x20','set','cwd','default','\x09Long\x20poll\x20completed.','isError','wait','Server\x20breakpoints:\x0a','createLogger','agentLogTargetDir','\x09Got\x20error\x20from\x20server.\x20status:\x20','promiseResolve','toString','readFile','Failed\x20to\x20re-register\x20debuggee\x20','./config'];a17_0x1026=function(){return _0xf89d69;};return a17_0x1026();}a17_0x9e8ae8();'use strict';var __classPrivateFieldSet=this&&this[a17_0x5a7037(0x20b)]||function(_0x3ba4ec,_0x1c0218,_0x36f9aa,_0x55ef56,_0x66e07b){const _0x33836e=a17_0x5a7037;if(_0x55ef56==='m')throw new TypeError(_0x33836e(0x204));if(_0x55ef56==='a'&&!_0x66e07b)throw new TypeError(_0x33836e(0x214));if(typeof _0x1c0218===_0x33836e(0x2b2)?_0x3ba4ec!==_0x1c0218||!_0x66e07b:!_0x1c0218[_0x33836e(0x1f8)](_0x3ba4ec))throw new TypeError(_0x33836e(0x2c6));return _0x55ef56==='a'?_0x66e07b['call'](_0x3ba4ec,_0x36f9aa):_0x66e07b?_0x66e07b['value']=_0x36f9aa:_0x1c0218[_0x33836e(0x2dd)](_0x3ba4ec,_0x36f9aa),_0x36f9aa;},__classPrivateFieldGet=this&&this[a17_0x5a7037(0x28f)]||function(_0x145913,_0x4df471,_0x23ed69,_0x51a8c8){const _0x453466=a17_0x5a7037;if(_0x23ed69==='a'&&!_0x51a8c8)throw new TypeError(_0x453466(0x1e2));if(typeof _0x4df471===_0x453466(0x2b2)?_0x145913!==_0x4df471||!_0x51a8c8:!_0x4df471[_0x453466(0x1f8)](_0x145913))throw new TypeError(_0x453466(0x290));return _0x23ed69==='m'?_0x51a8c8:_0x23ed69==='a'?_0x51a8c8[_0x453466(0x2b4)](_0x145913):_0x51a8c8?_0x51a8c8[_0x453466(0x205)]:_0x4df471['get'](_0x145913);},_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_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object['defineProperty'](exports,a17_0x5a7037(0x217),{'value':!![]}),exports[a17_0x5a7037(0x225)]=exports[a17_0x5a7037(0x264)]=void 0x0;const assert=require('assert'),events_1=require(a17_0x5a7037(0x1f2)),extend=require(a17_0x5a7037(0x2bb)),fs=require('fs'),metadata=require(a17_0x5a7037(0x27b)),path=require(a17_0x5a7037(0x2c3)),util=require(a17_0x5a7037(0x28d)),status_message_1=require(a17_0x5a7037(0x2a0)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a17_0x5a7037(0x207)),config_1=require(a17_0x5a7037(0x1de)),controller_1=require(a17_0x5a7037(0x1f6)),SourceMapper=require(a17_0x5a7037(0x2a6)),debugapi=require('./v8/debugapi'),piping_manager_1=require(a17_0x5a7037(0x232)),quota_manager_1=require(a17_0x5a7037(0x22c)),patterns_blocklist_manager_1=require(a17_0x5a7037(0x24d)),scanner_1=require(a17_0x5a7037(0x221)),environment_metadata_1=require(a17_0x5a7037(0x256)),file_index_1=require(a17_0x5a7037(0x276)),utils_1=require(a17_0x5a7037(0x23b)),redaction_manager_1=require(a17_0x5a7037(0x294)),configuration_provider_1=require(a17_0x5a7037(0x2d0)),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),format_1=require(a17_0x5a7037(0x2c9)),createDebuggee_1=require(a17_0x5a7037(0x2ae)),readFilep=util[a17_0x5a7037(0x2d2)](fs[a17_0x5a7037(0x1dc)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x42034b,_0x549c01)=>{const _0x599cde=a17_0x5a7037;let _0x44c5d0=_0x42034b+util[_0x599cde(0x2c4)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x549c01['id'],_0x549c01['action'],util[_0x599cde(0x250)](_0x549c01[_0x599cde(0x297)]));if(_0x549c01[_0x599cde(0x1f3)]){const _0x5b1289=Number(_0x549c01[_0x599cde(0x1f3)][_0x599cde(0x228)]),_0x2bf2b3=new Date(_0x5b1289*0x3e8);_0x44c5d0+='\x0a\x09createdTime:\x20'+_0x2bf2b3[_0x599cde(0x1db)]();}return _0x549c01[_0x599cde(0x2d9)]&&(_0x44c5d0+=_0x599cde(0x243)+util['inspect'](_0x549c01[_0x599cde(0x2d9)])),_0x549c01[_0x599cde(0x1e4)]&&(_0x44c5d0+=_0x599cde(0x1e6)+util[_0x599cde(0x250)](_0x549c01[_0x599cde(0x1e4)])),_0x44c5d0;},formatBreakpoints=(_0x58958f,_0x295d4f)=>{const _0x46adb5=a17_0x5a7037;return _0x58958f+Object[_0x46adb5(0x215)](_0x295d4f)['map'](_0x5881b7=>{return formatBreakpoint('',_0x295d4f[_0x5881b7]);})[_0x46adb5(0x26b)]('\x0a');};class CachedPromise{constructor(){const _0x3439e2=a17_0x5a7037;this[_0x3439e2(0x1da)]=null,this[_0x3439e2(0x2ca)]=new Promise(_0x147df3=>{this['promiseResolve']=_0x147df3;});}['get'](){const _0x530278=a17_0x5a7037;return this[_0x530278(0x2ca)];}[a17_0x5a7037(0x265)](){const _0x53d7e5=a17_0x5a7037;this['promiseResolve']&&(this[_0x53d7e5(0x1da)](),this[_0x53d7e5(0x1da)]=null);}}exports[a17_0x5a7037(0x264)]=CachedPromise;class IsReadyImpl{constructor(_0x145b8b){const _0x46a84b=a17_0x5a7037;this[_0x46a84b(0x2a2)]=_0x145b8b;}[a17_0x5a7037(0x20d)](){const _0x39e4d9=a17_0x5a7037;return this[_0x39e4d9(0x2a2)][_0x39e4d9(0x20d)]();}}class Debuglet extends events_1[a17_0x5a7037(0x2da)]{constructor(_0x1898be,_0xdb3322){const _0x3f8104=a17_0x5a7037;super(),_Debuglet_instances[_0x3f8104(0x222)](this),_Debuglet_debug[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_v8debug[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_running[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_controller[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_breakpointFetched[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x3f8104(0x2dd)](this,null),this[_0x3f8104(0x25b)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_quotaManager[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_blocklistManager[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_redactionManager[_0x3f8104(0x2dd)](this,void 0x0),_Debuglet_configProvider[_0x3f8104(0x2dd)](this,void 0x0),this[_0x3f8104(0x22b)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0xdb3322),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x3f8104(0x25c))](this[_0x3f8104(0x22b)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1898be,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x3f8104(0x287)]=![],this[_0x3f8104(0x2d1)]=agent_logger_1['default'][_0x3f8104(0x2e4)](this[_0x3f8104(0x22b)]['agentLog']['agentLogTargetDir'],this['config'][_0x3f8104(0x263)][_0x3f8104(0x288)],this[_0x3f8104(0x22b)][_0x3f8104(0x263)][_0x3f8104(0x227)],this[_0x3f8104(0x22b)]['agentLog'][_0x3f8104(0x273)],this[_0x3f8104(0x22b)][_0x3f8104(0x263)][_0x3f8104(0x2be)]),(0x0,config_1[_0x3f8104(0x20c)])(this[_0x3f8104(0x22b)],this[_0x3f8104(0x2d1)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x3f8104(0x201))](this[_0x3f8104(0x2d1)])[_0x3f8104(0x2c5)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x3f8104(0x2b0))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x3f8104(0x22b)],this[_0x3f8104(0x2d1)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x3f8104(0x272))](this[_0x3f8104(0x2d1)]),'f'),this[_0x3f8104(0x2aa)]=null,this[_0x3f8104(0x2a8)]={},__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[(_0x3f8104(0x27e))](this[_0x3f8104(0x2d1)],this[_0x3f8104(0x22b)]),'f'),this[_0x3f8104(0x229)]=new piping_manager_1[(_0x3f8104(0x1df))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x3f8104(0x22b)]);}async['findFiles'](_0x2bcfbb,_0x5862aa){const _0x48efd1=a17_0x5a7037,_0x4cdd41=_0x2bcfbb[_0x48efd1(0x23c)],_0x25052f=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x48efd1(0x1ff)](_0x4cdd41,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x48efd1(0x2b4)](Debuglet,_0x2bcfbb[_0x48efd1(0x1f7)][_0x48efd1(0x1fb)](_0x48efd1(0x21e))),_0x5862aa,_0x2bcfbb['extraPaths']),_0x295a25=_0x25052f[_0x48efd1(0x291)](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x48efd1(0x2b4)](Debuglet,_0x2bcfbb['javascriptFileExtensions'])),_0x1cf813=file_index_1[_0x48efd1(0x284)][_0x48efd1(0x1e9)](_0x295a25),_0x3c3800=_0x25052f[_0x48efd1(0x1f1)](/.js.map$/,process[_0x48efd1(0x2de)]()),_0x4e9028=_0x25052f[_0x48efd1(0x285)]();return{'mapFiles':_0x3c3800,'errors':_0x4e9028,'jsFileIndex':_0x1cf813,'hash':_0x25052f['hash']};}async['start'](){const _0x476d6c=a17_0x5a7037;var _0x3b2b6a;const _0x1bc894=this,_0x4d9340=_0x1bc894[_0x476d6c(0x22b)][_0x476d6c(0x23c)];if(!_0x1bc894['config']['allowRootAsWorkingDirectory']&&path[_0x476d6c(0x26b)](_0x4d9340,'..')===_0x4d9340){const _0x9a5887=_0x476d6c(0x2bd)+_0x476d6c(0x28b)+_0x476d6c(0x2b5)+_0x476d6c(0x2a3);_0x1bc894[_0x476d6c(0x2d1)][_0x476d6c(0x251)](_0x9a5887),_0x1bc894[_0x476d6c(0x213)]('initError',new Error(_0x9a5887));return;}let _0x5c14f3;process['env'][_0x476d6c(0x26a)]&&(_0x5c14f3=_0x476d6c(0x299)+process['env'][_0x476d6c(0x26a)]);let _0x24ae87,_0x53a70e=_0x5c14f3||'';try{_0x24ae87=await this['findFiles'](_0x1bc894[_0x476d6c(0x22b)],_0x5c14f3),_0x24ae87['errors']['forEach'](_0x1bc894[_0x476d6c(0x2d1)][_0x476d6c(0x203)]);}catch(_0x4d6ee8){_0x1bc894['logger'][_0x476d6c(0x251)]('Error\x20scanning\x20the\x20filesystem.',_0x4d6ee8),_0x1bc894['emit']('initError',_0x4d6ee8);return;}try{const _0x144738=await SourceMapper[_0x476d6c(0x278)](_0x24ae87[_0x476d6c(0x21f)]);__classPrivateFieldSet(_0x1bc894,_Debuglet_v8debug,debugapi['create'](_0x1bc894[_0x476d6c(0x2d1)],_0x1bc894[_0x476d6c(0x22b)],_0x24ae87[_0x476d6c(0x22d)],_0x144738,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x53a70e=_0x5c14f3||_0x24ae87[_0x476d6c(0x1e5)];}catch(_0x37f6ed){_0x1bc894[_0x476d6c(0x2d1)][_0x476d6c(0x251)]('Error\x20processing\x20the\x20sourcemaps.',_0x37f6ed),_0x1bc894[_0x476d6c(0x213)](_0x476d6c(0x23a),_0x37f6ed);}_0x1bc894[_0x476d6c(0x2d1)][_0x476d6c(0x296)](_0x476d6c(0x25a)+_0x53a70e);const _0x4c3e7c=(0x0,utils_1[_0x476d6c(0x208)])(_0x1bc894[_0x476d6c(0x2d1)])[_0x476d6c(0x1fe)]('\x0a','');_0x1bc894['logger'][_0x476d6c(0x296)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x4c3e7c);let _0x2d40fc;try{_0x2d40fc=_0x1bc894[_0x476d6c(0x22b)][_0x476d6c(0x25d)]||await Debuglet[_0x476d6c(0x295)]();}catch(_0x2333e6){}this[_0x476d6c(0x22b)][_0x476d6c(0x22f)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x476d6c(0x1f5)]()===0x0&&(0x0,utils_1[_0x476d6c(0x26f)])(process[_0x476d6c(0x2ba)],'>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12')&&_0x1bc894[_0x476d6c(0x2d1)][_0x476d6c(0x203)](utils_1[_0x476d6c(0x285)][_0x476d6c(0x292)]),_0x1bc894[_0x476d6c(0x2d1)][_0x476d6c(0x296)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+((_0x3b2b6a=process[_0x476d6c(0x20a)])===null||_0x3b2b6a===void 0x0?void 0x0:_0x3b2b6a[_0x476d6c(0x2d6)])),_0x1bc894[_0x476d6c(0x2d1)]['debug'](_0x476d6c(0x2dc)+_0x4d9340),_0x1bc894[_0x476d6c(0x2d1)][_0x476d6c(0x241)](_0x476d6c(0x1e7)),__classPrivateFieldSet(_0x1bc894,_Debuglet_running,!![],'f'),_0x1bc894[_0x476d6c(0x2aa)]=(0x0,createDebuggee_1[_0x476d6c(0x2cb)])(_0x53a70e,_0x1bc894[_0x476d6c(0x22b)],_0x2d40fc,__classPrivateFieldGet(_0x1bc894,_Debuglet_debug,'f')['packageInfo'],_0x4c3e7c,_0x1bc894[_0x476d6c(0x2d1)],__classPrivateFieldGet(_0x1bc894,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x1bc894,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x476d6c(0x2b4)](_0x1bc894),__classPrivateFieldGet(_0x1bc894,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x1bc894),_0x1bc894[_0x476d6c(0x213)](_0x476d6c(0x1e0));}['isReady'](){const _0x5624b2=a17_0x5a7037;if(Date[_0x5624b2(0x237)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x5624b2(0x265)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()[_0x5624b2(0x282)](()=>{const _0x24b0be=_0x5624b2;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x24b0be(0x2b4)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5624b2(0x2db)]();}}static async['getSourceContextFromFile'](){const _0x55bf11=a17_0x5a7037,_0x32bb09=await readFilep(_0x55bf11(0x261),_0x55bf11(0x245));try{return JSON[_0x55bf11(0x1ec)](_0x32bb09);}catch(_0x15e379){throw new Error(_0x55bf11(0x2b3)+_0x15e379);}}[a17_0x5a7037(0x218)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x1e9527=a17_0x5a7037;var _0x1be6ed;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x1e9527(0x2d1)][_0x1e9527(0x241)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0x1e9527(0x2d1)][_0x1e9527(0x241)](_0x1e9527(0x293)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0x1be6ed=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0x1be6ed===void 0x0?void 0x0:_0x1be6ed['clearTransmissionTimeout'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1e9527(0x213)](_0x1e9527(0x29c));}}exports[a17_0x5a7037(0x225)]=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(_0x6af60b){const _0x2be07a=a17_0x5a7037;return new RegExp(_0x6af60b[_0x2be07a(0x1fa)](_0xc17ad2=>_0xc17ad2+'$')[_0x2be07a(0x26b)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x27c8f1=a17_0x5a7037,_0x58fe9d=['SIGTERM','SIGINT',_0x27c8f1(0x2c0)];_0x58fe9d[_0x27c8f1(0x22a)](_0x5aa2b9=>{const _0x441cb2=_0x27c8f1;process[_0x441cb2(0x277)](_0x5aa2b9,()=>{const _0x2baf17=_0x441cb2;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2baf17(0x26e)](this[_0x2baf17(0x2aa)],()=>{const _0x3252bb=_0x2baf17;process[_0x3252bb(0x270)](process[_0x3252bb(0x27d)],_0x5aa2b9);});});}),process[_0x27c8f1(0x277)](_0x27c8f1(0x1fc),()=>{const _0x1c439e=_0x27c8f1;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1c439e(0x26e)](this['debuggee'],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){const _0x3d84ed=a17_0x5a7037;return metadata[_0x3d84ed(0x226)]();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0xe3f013=a17_0x5a7037;return(await metadata['instance'](_0xe3f013(0x262)))[_0xe3f013(0x23d)];},_Debuglet_register_=function _Debuglet_register_(){const _0x4d6d9f=a17_0x5a7037;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x4d6d9f(0x2b4)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x5727b2){const _0x3545a1=a17_0x5a7037,_0x558ce8=this;_0x558ce8['logger']['debug'](_0x5727b2?'Scheduling\x20registration\x20in\x20'+_0x5727b2+'s':'Registering\x20debuggee');function _0x2d69df(_0x7f502d,_0x130037,_0x2b5d35=![]){const _0x1824bb=a17_0x39dc;var _0x391148,_0x51725e;const _0xa89332=((_0x391148=_0x558ce8[_0x1824bb(0x2aa)])===null||_0x391148===void 0x0?void 0x0:_0x391148['id'])?_0x1824bb(0x1dd)+((_0x51725e=_0x558ce8[_0x1824bb(0x2aa)])===null||_0x51725e===void 0x0?void 0x0:_0x51725e['id'])+':\x20'+_0x7f502d:'Failed\x20to\x20register\x20debuggee:\x20'+_0x7f502d;_0x558ce8[_0x1824bb(0x2d1)]['error'](_0xa89332),_0x130037&&!_0x2b5d35&&_0x558ce8[_0x1824bb(0x2d1)]['error'](_0x1824bb(0x244),_0x130037),__classPrivateFieldGet(_0x558ce8,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1824bb(0x2b4)](_0x558ce8,(0x0,utils_1[_0x1824bb(0x21c)])(_0x5727b2,_0x558ce8[_0x1824bb(0x22b)][_0x1824bb(0x2b8)]['maxRequestRetryDelaySeconds']));}setTimeout(()=>{const _0x17aea0=a17_0x39dc;if(!__classPrivateFieldGet(_0x558ce8,_Debuglet_running,'f')){_0x2d69df(new Error(_0x17aea0(0x1ef)));return;}__classPrivateFieldGet(_0x558ce8,_Debuglet_controller,'f')[_0x17aea0(0x26d)](_0x558ce8[_0x17aea0(0x2aa)],(_0x588c4e,_0x15df30,_0xf71693=![])=>{const _0x14b2ef=_0x17aea0;if(_0x588c4e){_0x2d69df(_0x588c4e,_0x15df30,_0xf71693);return;}if(_0x15df30[_0x14b2ef(0x2aa)]['isDisabled']){_0x2d69df(new Error(_0x14b2ef(0x29b))),_0x558ce8[_0x14b2ef(0x213)](_0x14b2ef(0x238));return;}const _0x447a20=_0x15df30[_0x14b2ef(0x2aa)]['id'];_0x558ce8[_0x14b2ef(0x2d1)][_0x14b2ef(0x296)](_0x14b2ef(0x223)+_0x447a20),_0x558ce8['debuggee']['id']=_0x447a20;const _0x21b8d7=[__classPrivateFieldGet(_0x558ce8,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](_0x558ce8)(_0x558ce8[_0x14b2ef(0x2aa)]['id'])];_0x558ce8[_0x14b2ef(0x22b)][_0x14b2ef(0x1eb)]&&_0x21b8d7[_0x14b2ef(0x275)](__classPrivateFieldGet(_0x558ce8,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x558ce8)(_0x558ce8['debuggee']['id'])),Promise[_0x14b2ef(0x257)](_0x21b8d7)['then'](()=>{const _0x4345a2=_0x14b2ef;var _0x3ec1dd;_0x558ce8[_0x4345a2(0x213)]('registered',_0x447a20),__classPrivateFieldGet(_0x558ce8,_Debuglet_debuggeeRegistered,'f')[_0x4345a2(0x265)](),(_0x3ec1dd=__classPrivateFieldGet(_0x558ce8,_Debuglet_v8debug,'f'))===null||_0x3ec1dd===void 0x0?void 0x0:_0x3ec1dd[_0x4345a2(0x212)](__classPrivateFieldGet(_0x558ce8,_Debuglet_blocklistManager,'f')),!_0x558ce8[_0x4345a2(0x287)]&&__classPrivateFieldGet(_0x558ce8,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4345a2(0x2b4)](_0x558ce8,0x0,this[_0x4345a2(0x22b)][_0x4345a2(0x2c8)],_0x15df30===null||_0x15df30===void 0x0?void 0x0:_0x15df30[_0x4345a2(0x242)]);},_0x229492=>{_0x2d69df(_0x229492);});});},_0x5727b2*0x3e8)[_0x3545a1(0x298)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x1c084a,_0xe2160a,_0x1655e6){const _0x3f8d14=a17_0x5a7037,_0x47e592=this;!_0xe2160a&&(_0x47e592[_0x3f8d14(0x287)]=!![]),setTimeout(()=>{const _0x280cd3=_0x3f8d14;if(!__classPrivateFieldGet(_0x47e592,_Debuglet_running,'f'))return;!_0xe2160a&&assert(_0x47e592[_0x280cd3(0x287)]),_0x47e592[_0x280cd3(0x2d1)]['debug']('Fetching\x20breakpoints'),__classPrivateFieldGet(_0x47e592,_Debuglet_controller,'f')[_0x280cd3(0x2ce)](_0x47e592['debuggee'],(_0x4945a2,_0x14494d,_0x6ce4e7)=>{const _0x4ac3f9=_0x280cd3;if((_0x14494d===null||_0x14494d===void 0x0?void 0x0:_0x14494d[_0x4ac3f9(0x29a)])===0x194){_0x47e592['logger'][_0x4ac3f9(0x296)]('Debuggee\x20is\x20not\x20registered'),_0x47e592[_0x4ac3f9(0x287)]=![],__classPrivateFieldGet(_0x47e592,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x4ac3f9(0x2b4)](_0x47e592),__classPrivateFieldGet(_0x47e592,_Debuglet_instances,'m',_Debuglet_register_)[_0x4ac3f9(0x2b4)](_0x47e592);return;}if(_0x4945a2){const _0x44d2d9=(0x0,utils_1[_0x4ac3f9(0x21c)])(_0x1c084a,_0x47e592[_0x4ac3f9(0x22b)][_0x4ac3f9(0x2b8)][_0x4ac3f9(0x1f4)]);_0x47e592['logger'][_0x4ac3f9(0x251)](_0x4ac3f9(0x2e6)+(_0x14494d===null||_0x14494d===void 0x0?void 0x0:_0x14494d[_0x4ac3f9(0x29a)])+'.\x20message:\x20'+_0x4945a2[_0x4ac3f9(0x2a9)]+_0x4ac3f9(0x28c)+_0x44d2d9+'s'),__classPrivateFieldGet(_0x47e592,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x47e592,_0x44d2d9,_0xe2160a,_0x1655e6);return;}_0x47e592[_0x4ac3f9(0x2d1)][_0x4ac3f9(0x241)]('\x09'+_0x14494d[_0x4ac3f9(0x29a)]+_0x4ac3f9(0x224));if(!_0x6ce4e7){const _0x3ff117=_0x47e592[_0x4ac3f9(0x22b)][_0x4ac3f9(0x1e1)];_0x47e592[_0x4ac3f9(0x2d1)]['error'](_0x4ac3f9(0x206)+_0x3ff117+'s'),__classPrivateFieldGet(_0x47e592,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4ac3f9(0x2b4)](_0x47e592,_0x3ff117,_0xe2160a,_0x1655e6);return;}if(_0x6ce4e7[_0x4ac3f9(0x27a)]){_0x47e592['logger']['info'](_0x4ac3f9(0x2e0)),__classPrivateFieldGet(_0x47e592,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4ac3f9(0x2b4)](_0x47e592,0x0,_0xe2160a,_0x1655e6);return;}if(_0x6ce4e7['pipeLogs']&&_0x6ce4e7['pipeLogs']!=='NOT_SET'){const _0x413be2=this[_0x4ac3f9(0x229)]['globalPipingStatus'];_0x413be2!==_0x6ce4e7[_0x4ac3f9(0x240)]&&(this[_0x4ac3f9(0x2d1)]['debug'](_0x4ac3f9(0x231)+_0x413be2+_0x4ac3f9(0x2a7)+_0x6ce4e7[_0x4ac3f9(0x240)]),this[_0x4ac3f9(0x229)]['globalPipingStatus']=_0x6ce4e7[_0x4ac3f9(0x240)]);}if(_0x6ce4e7[_0x4ac3f9(0x29e)]&&_0x6ce4e7['collectLogRequestId']!==_0x47e592['collectLogRequestId']){_0x47e592[_0x4ac3f9(0x1f9)]=_0x6ce4e7[_0x4ac3f9(0x1f9)];const _0x2abc7e=_0x47e592[_0x4ac3f9(0x22b)][_0x4ac3f9(0x263)][_0x4ac3f9(0x2e5)]&&path['join'](_0x47e592[_0x4ac3f9(0x22b)][_0x4ac3f9(0x263)][_0x4ac3f9(0x2e5)],agent_logger_1[_0x4ac3f9(0x2df)]['AGENT_LOG_FILE']);_0x2abc7e&&fs[_0x4ac3f9(0x258)](_0x2abc7e)?setTimeout(()=>__classPrivateFieldGet(_0x47e592,_Debuglet_controller,'f')[_0x4ac3f9(0x269)](_0x47e592[_0x4ac3f9(0x2aa)],_0x6ce4e7[_0x4ac3f9(0x1f9)],_0x2abc7e)):_0x47e592[_0x4ac3f9(0x2d1)][_0x4ac3f9(0x296)](_0x4ac3f9(0x2c7)+_0x6ce4e7[_0x4ac3f9(0x1f9)]+_0x4ac3f9(0x200)+'logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits');}const _0x5705c9=(_0x6ce4e7['breakpoints']||[])[_0x4ac3f9(0x1fa)](_0x4ca59b=>new stackdriver_1[(_0x4ac3f9(0x22e))](_0x4ca59b))['filter'](_0x133a14=>{const _0x56c9c5=_0x4ac3f9,_0x42b144=_0x133a14['action']||_0x56c9c5(0x24b);if(__classPrivateFieldGet(_0x47e592,_Debuglet_completedBreakpointMap,'f')[_0x133a14['id']])return![];if(_0x42b144!==_0x56c9c5(0x24b)&&_0x42b144!=='LOG')return _0x47e592[_0x56c9c5(0x2d1)][_0x56c9c5(0x203)](_0x56c9c5(0x29d),_0x42b144),_0x133a14['status']=new status_message_1['StatusMessage'](status_message_1[_0x56c9c5(0x27c)]['UNSPECIFIED'],utils_1[_0x56c9c5(0x285)][_0x56c9c5(0x29f)],!![]),__classPrivateFieldGet(_0x47e592,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x56c9c5(0x2b4)](_0x47e592,_0x133a14),![];return!![];}),_0x26dc9d=__classPrivateFieldGet(_0x47e592,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](_0x47e592);let _0x261c26=_0x26dc9d[_0x4ac3f9(0x2ad)]>0x0;__classPrivateFieldGet(_0x47e592,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x4ac3f9(0x2b4)](_0x47e592,_0x26dc9d),_0x261c26=_0x261c26||__classPrivateFieldGet(_0x47e592,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x47e592,_0x5705c9),_0x47e592[_0x4ac3f9(0x213)](_0x4ac3f9(0x24c),_0x5705c9[_0x4ac3f9(0x2ad)]);_0x261c26&&_0x47e592[_0x4ac3f9(0x2d1)][_0x4ac3f9(0x241)](formatBreakpoints('Active\x20Breakpoints:\x20\x0a',_0x47e592[_0x4ac3f9(0x2a8)]));__classPrivateFieldSet(_0x47e592,_Debuglet_breakpointFetchedTimestamp,Date[_0x4ac3f9(0x237)](),'f');_0xe2160a?__classPrivateFieldGet(_0x47e592,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x47e592,_Debuglet_breakpointFetched,'f')[_0x4ac3f9(0x265)](),__classPrivateFieldSet(_0x47e592,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x47e592,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4ac3f9(0x2b4)](_0x47e592,0x0,_0xe2160a,_0x1655e6);return;},_0x1655e6);},_0x1c084a*0x3e8)[_0x3f8d14(0x298)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x345c38=a17_0x5a7037;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x345c38(0x265)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0xedc5d2){const _0x43bbd3=a17_0x5a7037,_0x28183a=this,_0xd0f7e7=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)['call'](this,_0xedc5d2);let _0x2c5f79=![];return _0xedc5d2['forEach'](_0x9b9f46=>{const _0x312cf6=a17_0x39dc;!__classPrivateFieldGet(_0x28183a,_Debuglet_completedBreakpointMap,'f')[_0x9b9f46['id']]&&!_0x28183a[_0x312cf6(0x2a8)][_0x9b9f46['id']]&&(__classPrivateFieldGet(_0x28183a,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](_0x28183a,_0x9b9f46,_0x108fb5=>{const _0x5cbeae=_0x312cf6;_0x108fb5&&__classPrivateFieldGet(_0x28183a,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x5cbeae(0x2b4)](_0x28183a,_0x9b9f46,!![],![]);}),_0x2c5f79=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x312cf6(0x21a)](_0x9b9f46['id'])),__classPrivateFieldGet(_0x28183a,_Debuglet_quotaManager,'f')[_0x312cf6(0x27f)](_0x9b9f46['id'],_0x9b9f46[_0x312cf6(0x274)]),_0x28183a[_0x312cf6(0x229)]['setPipingStatus'](_0x9b9f46['id'],_0x9b9f46[_0x312cf6(0x2b6)]);}),(0x0,mapSubtract_1[_0x43bbd3(0x279)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0xd0f7e7)[_0x43bbd3(0x22a)](_0x2630b9=>{delete __classPrivateFieldGet(_0x28183a,_Debuglet_completedBreakpointMap,'f')[_0x2630b9['id']],_0x2c5f79=!![];}),(0x0,mapSubtract_1[_0x43bbd3(0x279)])(this[_0x43bbd3(0x2a8)],_0xd0f7e7)[_0x43bbd3(0x22a)](_0x6d8b87=>{const _0x42bf7e=_0x43bbd3;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x42bf7e(0x2b4)](this,_0x6d8b87,!![]),_0x2c5f79=!![];}),_0x2c5f79&&_0x28183a[_0x43bbd3(0x2d1)][_0x43bbd3(0x241)](formatBreakpoints(_0x43bbd3(0x2e3),_0xd0f7e7)),_0x2c5f79;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0xa90ebf){const _0x34904e={};return _0xa90ebf['forEach'](_0x3ddff1=>{_0x34904e[_0x3ddff1['id']]=_0x3ddff1;}),_0x34904e;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x142f6b,_0x2a2ac6){const _0xd5b5c8=a17_0x5a7037;this[_0xd5b5c8(0x2d1)][_0xd5b5c8(0x296)](_0xd5b5c8(0x247),_0x142f6b),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x142f6b['id']),this[_0xd5b5c8(0x229)][_0xd5b5c8(0x283)](_0x142f6b['id']),delete this[_0xd5b5c8(0x2a8)][_0x142f6b['id']],_0x2a2ac6&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0xd5b5c8(0x1ee)](_0x142f6b,_0xf74a61=>{const _0xb70262=_0xd5b5c8;if(_0xf74a61)this[_0xb70262(0x2d1)]['error'](_0xf74a61);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0xdbe2f0,_0x1913c6){const _0x12d33f=a17_0x5a7037;var _0x708332;const _0x257a37=this;_0x257a37[_0x12d33f(0x2d1)][_0x12d33f(0x296)](_0x12d33f(0x2c1),_0xdbe2f0);if(!_0x257a37[_0x12d33f(0x22b)]['allowExpressions']&&(_0xdbe2f0['condition']||_0xdbe2f0[_0x12d33f(0x1e4)])){_0x257a37[_0x12d33f(0x2d1)]['error'](utils_1[_0x12d33f(0x285)]['ALLOW_EXPRESSIONS_MESSAGE'][_0x12d33f(0x2af)]||''),_0xdbe2f0[_0x12d33f(0x29a)]=new status_message_1[(_0x12d33f(0x27c))](status_message_1[_0x12d33f(0x27c)][_0x12d33f(0x2bc)],utils_1['errors'][_0x12d33f(0x259)],!![]),setImmediate(()=>{const _0x5c32e2=_0x12d33f;_0x1913c6(utils_1[_0x5c32e2(0x285)][_0x5c32e2(0x259)]);});return;}if((0x0,utils_1[_0x12d33f(0x26f)])(process[_0x12d33f(0x2ba)],_0x12d33f(0x235))){const _0x549784=utils_1[_0x12d33f(0x285)]['NODE_VERSION_MESSAGE'];_0x257a37[_0x12d33f(0x2d1)]['error'](_0x549784),_0xdbe2f0[_0x12d33f(0x29a)]=new status_message_1['StatusMessage'](status_message_1[_0x12d33f(0x27c)][_0x12d33f(0x2bc)],_0x549784,!![]),setImmediate(()=>{_0x1913c6(_0x549784);});return;}const _0x23d255=_0xdbe2f0[_0x12d33f(0x1f3)]?Number(_0xdbe2f0['createTime'][_0x12d33f(0x228)]):Date[_0x12d33f(0x237)]()/0x3e8,_0x3d398f=_0xdbe2f0[_0x12d33f(0x2b9)]||_0x257a37[_0x12d33f(0x22b)][_0x12d33f(0x2d7)];_0xdbe2f0[_0x12d33f(0x1f0)]=_0x23d255+_0x3d398f,((_0x708332=_0xdbe2f0[_0x12d33f(0x297)])===null||_0x708332===void 0x0?void 0x0:_0x708332[_0x12d33f(0x2c3)])&&(_0xdbe2f0[_0x12d33f(0x297)][_0x12d33f(0x2c3)]=path[_0x12d33f(0x268)](_0xdbe2f0[_0x12d33f(0x297)][_0x12d33f(0x2c3)]),path[_0x12d33f(0x1e8)]===path['posix'][_0x12d33f(0x1e8)]&&(_0xdbe2f0[_0x12d33f(0x297)]['path']=_0xdbe2f0['location']['path']['split']('\x5c')[_0x12d33f(0x26b)](path[_0x12d33f(0x1e8)]))),__classPrivateFieldGet(_0x257a37,_Debuglet_v8debug,'f')[_0x12d33f(0x2dd)](_0xdbe2f0,_0x42845e=>{const _0x550582=_0x12d33f;if(_0x42845e){_0x1913c6(_0x42845e);return;}_0x257a37[_0x550582(0x2d1)][_0x550582(0x296)](_0x550582(0x2d5),_0xdbe2f0),_0x257a37['activeBreakpointMap'][_0xdbe2f0['id']]=_0xdbe2f0,_0xdbe2f0[_0x550582(0x252)]===_0x550582(0x1ea)?__classPrivateFieldGet(_0x257a37,_Debuglet_v8debug,'f')[_0x550582(0x260)](_0xdbe2f0,(_0x3a21f9,_0x2223f2)=>{const _0x1b4091=_0x550582;var _0x1e013d,_0x5f0899,_0x2f79ec,_0x3c672f;const _0x226ae8=_0x2223f2[_0x1b4091(0x1fa)](_0x183aea=>__classPrivateFieldGet(_0x257a37,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1b4091(0x2b4)](_0x257a37,_0x183aea)),_0x213f83=(0x0,format_1[_0x1b4091(0x2c4)])(_0x3a21f9,_0x226ae8),_0x4f3f87=_0x1b4091(0x23f)+(((_0x1e013d=__classPrivateFieldGet(_0x257a37,_Debuglet_redactionManager,'f'))===null||_0x1e013d===void 0x0?void 0x0:_0x1e013d['replaceRedactedByValue'](_0x213f83))||_0x213f83),_0x1c466f=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x4f3f87,_0xdbe2f0['id']);if(_0x1c466f){const _0x358820=_0x1c466f[_0x1b4091(0x2a9)],_0x4afa95=_0x1c466f[_0x1b4091(0x239)];let _0x5b8af5,_0x59b406;!((_0x5f0899=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x5f0899===void 0x0?void 0x0:_0x5f0899[_0x1b4091(0x2a4)]())&&!_0x4afa95&&(_0x5b8af5=_0x1b4091(0x23f)+_0x3a21f9,_0x59b406=_0x226ae8);_0x257a37['pipingManager'][_0x1b4091(0x271)](_0x257a37['debuggee'],_0xdbe2f0['id'],_0x358820,_0xdbe2f0[_0x1b4091(0x21b)],_0x5b8af5,_0x59b406);if(_0x4afa95)(_0x2f79ec=__classPrivateFieldGet(_0x257a37,_Debuglet_v8debug,'f'))===null||_0x2f79ec===void 0x0?void 0x0:_0x2f79ec[_0x1b4091(0x280)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x10e963=_0x1b4091;var _0x60a4f3;(_0x60a4f3=__classPrivateFieldGet(_0x257a37,_Debuglet_v8debug,'f'))===null||_0x60a4f3===void 0x0?void 0x0:_0x60a4f3[_0x10e963(0x23e)](),__classPrivateFieldSet(_0x257a37,_Debuglet_nextEnableTimeout,null,'f');},_0x257a37['config'][_0x1b4091(0x2ac)][_0x1b4091(0x2d8)]*0x3e8),'f');else(_0x358820===null||_0x358820===void 0x0?void 0x0:_0x358820['length'])===0x0&&((_0x3c672f=__classPrivateFieldGet(_0x257a37,_Debuglet_v8debug,'f'))===null||_0x3c672f===void 0x0?void 0x0:_0x3c672f['disable']());}},()=>{return __classPrivateFieldGet(_0x257a37,_Debuglet_completedBreakpointMap,'f')[_0xdbe2f0['id']];},_0x120dc9=>{const _0x4fcc15=_0x550582;if(_0x120dc9){_0x257a37['logger'][_0x4fcc15(0x251)](_0x120dc9),_0x1913c6(_0x120dc9);return;}}):__classPrivateFieldGet(_0x257a37,_Debuglet_v8debug,'f')[_0x550582(0x2e2)](_0xdbe2f0,_0x46db31=>{const _0x2fdc26=_0x550582;if(_0x46db31){setImmediate(()=>{const _0x5e2217=a17_0x39dc;_0x257a37[_0x5e2217(0x2d1)]['error'](_0x46db31),_0x1913c6(_0x46db31);});return;}_0x257a37[_0x2fdc26(0x2d1)][_0x2fdc26(0x296)](_0x2fdc26(0x2cc),_0xdbe2f0),__classPrivateFieldGet(_0x257a37,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x257a37,_0xdbe2f0,__classPrivateFieldGet(_0x257a37,_Debuglet_v8debug,'f')[_0x2fdc26(0x24e)](_0xdbe2f0['id'])<=0x0);}),__classPrivateFieldGet(_0x257a37,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)['call'](_0x257a37,_0xdbe2f0);}),this[_0x12d33f(0x213)](_0x12d33f(0x253));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x539509,_0x384d8a,_0x405dcf=!![]){const _0x58ec89=a17_0x5a7037;var _0x17f2f2,_0x35684b,_0x23e0f2,_0x27d02e,_0x65753a,_0x51d758;const _0x36eed6=this;if(_0x539509[_0x58ec89(0x29a)]&&_0x539509[_0x58ec89(0x29a)][_0x58ec89(0x2e1)]){let _0xa3d11b=((_0x35684b=(_0x17f2f2=_0x539509['status'])===null||_0x17f2f2===void 0x0?void 0x0:_0x17f2f2[_0x58ec89(0x2af)])===null||_0x35684b===void 0x0?void 0x0:_0x35684b[_0x58ec89(0x2c4)])||'';((_0x27d02e=(_0x23e0f2=_0x539509[_0x58ec89(0x29a)])===null||_0x23e0f2===void 0x0?void 0x0:_0x23e0f2[_0x58ec89(0x2af)])===null||_0x27d02e===void 0x0?void 0x0:_0x27d02e[_0x58ec89(0x248)])&&(_0xa3d11b+=':\x20'+((_0x51d758=(_0x65753a=_0x539509[_0x58ec89(0x29a)])===null||_0x65753a===void 0x0?void 0x0:_0x65753a[_0x58ec89(0x2af)])===null||_0x51d758===void 0x0?void 0x0:_0x51d758[_0x58ec89(0x248)]['toString']())),_0x36eed6['logger']['warn'](_0x58ec89(0x281)+_0x539509+_0x58ec89(0x249)+_0xa3d11b);}else _0x36eed6[_0x58ec89(0x2d1)][_0x58ec89(0x296)](_0x58ec89(0x2cd),_0x539509);_0x384d8a&&(__classPrivateFieldGet(_0x36eed6,_Debuglet_completedBreakpointMap,'f')[_0x539509['id']]=!![],__classPrivateFieldGet(_0x36eed6,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x36eed6,_0x539509,_0x405dcf)),__classPrivateFieldGet(_0x36eed6,_Debuglet_controller,'f')[_0x58ec89(0x2b7)](_0x36eed6['debuggee'],extend(!![],{},_0x539509));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x2d38d3){const _0x5b74ff=a17_0x5a7037,_0x3d14b2=this;_0x3d14b2[_0x5b74ff(0x2d1)]['debug'](_0x5b74ff(0x2d3)+_0x2d38d3+'\x20accepted\x20by\x20agent');const _0x4e3c23=extend(!![],{},_0x2d38d3);_0x4e3c23[_0x5b74ff(0x24f)]=![],_0x4e3c23['status']=new status_message_1[(_0x5b74ff(0x27c))](status_message_1['StatusMessage'][_0x5b74ff(0x2bc)],undefined,![],!![]),__classPrivateFieldGet(_0x3d14b2,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x3d14b2[_0x5b74ff(0x2aa)],_0x4e3c23);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x685e9c){const _0x1eb2cb=a17_0x5a7037,_0x43d4a2=this;this[_0x1eb2cb(0x2d1)][_0x1eb2cb(0x296)](_0x1eb2cb(0x211),_0x685e9c),__classPrivateFieldGet(_0x43d4a2,_Debuglet_completedBreakpointMap,'f')[_0x685e9c['id']]=!![],__classPrivateFieldGet(_0x43d4a2,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x43d4a2[_0x1eb2cb(0x2aa)],_0x685e9c);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x1f7eb9){const _0x41bc7e=a17_0x5a7037,_0x409dad=this;_0x1f7eb9[_0x41bc7e(0x22a)](_0x5a4d2d=>{const _0x4dbbf8=_0x41bc7e;_0x409dad[_0x4dbbf8(0x2d1)][_0x4dbbf8(0x296)](_0x4dbbf8(0x25f),_0x5a4d2d),__classPrivateFieldGet(_0x409dad,_Debuglet_completedBreakpointMap,'f')[_0x5a4d2d['id']]=!![],__classPrivateFieldGet(_0x409dad,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x4dbbf8(0x2b4)](_0x409dad,_0x5a4d2d,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x57617e=a17_0x5a7037,_0x48905b=Date['now']()/0x3e8;return Object['values'](this[_0x57617e(0x2a8)])[_0x57617e(0x20f)](_0x52036c=>_0x52036c[_0x57617e(0x1f0)]?_0x52036c[_0x57617e(0x1f0)]<_0x48905b:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x241166){const _0x525594=a17_0x5a7037,_0x2449c5=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x525594(0x26c)](_0x241166),_0x1b9fae=_0x2449c5[_0x525594(0x2bf)],_0x347e26=_0x2449c5[_0x525594(0x28e)];_0x1b9fae&&_0x1b9fae[_0x525594(0x2ad)]&&this[_0x525594(0x2d1)][_0x525594(0x241)](_0x525594(0x2d4),_0x1b9fae[_0x525594(0x26b)]('\x0a\x09')),_0x347e26&&_0x347e26[_0x525594(0x2ad)]&&this[_0x525594(0x2d1)][_0x525594(0x241)](_0x525594(0x209),_0x347e26[_0x525594(0x26b)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x525594(0x202))](_0x1b9fae,_0x347e26,this[_0x525594(0x22b)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x32bd33){const _0x181d7e=a17_0x5a7037;var _0x1c3443;const _0x54cfc8=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x181d7e(0x230)](_0x32bd33);(_0x54cfc8===null||_0x54cfc8===void 0x0?void 0x0:_0x54cfc8['length'])&&this['logger'][_0x181d7e(0x241)](_0x181d7e(0x28a),_0x54cfc8[_0x181d7e(0x1fa)](_0x508a70=>_0x181d7e(0x255)+_0x508a70[_0x181d7e(0x25e)]+_0x181d7e(0x266)+_0x508a70[_0x181d7e(0x24a)]+_0x181d7e(0x289)+_0x508a70[_0x181d7e(0x286)]+_0x181d7e(0x216)+_0x508a70[_0x181d7e(0x2a5)])[_0x181d7e(0x26b)]('\x0a\x09'));if((0x0,utils_1['satisfies'])(process[_0x181d7e(0x2ba)],_0x181d7e(0x220))){const {RedactionManagerRE2JS:_0x4e55eb}=await Promise[_0x181d7e(0x265)]()[_0x181d7e(0x282)](()=>require(_0x181d7e(0x246)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x4e55eb(this['logger']),'f'),(_0x1c3443=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x1c3443===void 0x0?void 0x0:_0x1c3443['setPatterns'](_0x54cfc8);}},_Debuglet_stringify=function _Debuglet_stringify(_0x4e7b3e){const _0x2ccb6e=a17_0x5a7037;if(!_0x4e7b3e)return JSON[_0x2ccb6e(0x2ab)](_0x4e7b3e,(_0x116609,_0x59dcdc)=>_0x59dcdc===undefined?'undefined':_0x59dcdc);if(Array[_0x2ccb6e(0x1e3)](_0x4e7b3e)){const _0xc8e63b=[];for(const _0x3655a8 of _0x4e7b3e){_0xc8e63b[_0x2ccb6e(0x275)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x2ccb6e(0x2b4)](this,_0x3655a8));}return'['+_0xc8e63b['join'](',\x20')+']';}if(typeof _0x4e7b3e===_0x2ccb6e(0x21d)){const _0x391325=Object['entries'](_0x4e7b3e)[_0x2ccb6e(0x1fa)](([_0x55414c,_0x3bbaa7])=>{const _0xf613f0=_0x2ccb6e;var _0x418dc4;const _0x40c1ef=((_0x418dc4=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x418dc4===void 0x0?void 0x0:_0x418dc4['shouldRedactByName'](_0x55414c))?redaction_manager_1[_0xf613f0(0x267)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0xf613f0(0x2b4)](this,_0x3bbaa7);return JSON[_0xf613f0(0x2ab)](_0x55414c)+':\x20'+_0x40c1ef;})['join'](',\x20');return'{'+_0x391325+'}';}return JSON[_0x2ccb6e(0x2ab)](_0x4e7b3e);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a18_0x1b5a94=a18_0x20e2;(function(_0x1b8515,_0x5a590d){const _0x5ab439=a18_0x20e2,_0x10764c=_0x1b8515();while(!![]){try{const _0xc65cc8=parseInt(_0x5ab439(0xd0))/0x1+parseInt(_0x5ab439(0xe3))/0x2+-parseInt(_0x5ab439(0xcf))/0x3*(-parseInt(_0x5ab439(0xbc))/0x4)+-parseInt(_0x5ab439(0xb2))/0x5+-parseInt(_0x5ab439(0xd3))/0x6+-parseInt(_0x5ab439(0xb4))/0x7+-parseInt(_0x5ab439(0xcd))/0x8*(parseInt(_0x5ab439(0xd8))/0x9);if(_0xc65cc8===_0x5a590d)break;else _0x10764c['push'](_0x10764c['shift']());}catch(_0x22d103){_0x10764c['push'](_0x10764c['shift']());}}}(a18_0x26b7,0x72143));function a18_0x20e2(_0x2da8e2,_0x52c6f6){const _0x4b4854=a18_0x26b7();return a18_0x20e2=function(_0x367163,_0x348e2){_0x367163=_0x367163-0xa6;let _0x26b774=_0x4b4854[_0x367163];return _0x26b774;},a18_0x20e2(_0x2da8e2,_0x52c6f6);}Object['defineProperty'](exports,a18_0x1b5a94(0xa7),{'value':!![]}),exports[a18_0x1b5a94(0xe0)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a18_0x1b5a94(0xc7));var OS;function a18_0x26b7(){const _0x1db5f5=['systemTotalMemoryBytes','assert','arm','search','platform','env','\x20on\x20','40RGDDeH','getProps','1128351WaqJSe','372790KvhDpF','/.dockerenv','error','3207300dCBgwP','constructor','runtimeEnvironmentVersion','_osRelease','mac','164898fihfcH','MacOS','VERSION_ID','cpus','procArch','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','_logger','osVersion','EnvironmentMetadata','host','forEach','711656ODuXVA','utf-8','get','match','__esModule','Windows','release','length','toString','isInK8s','set','readFileSync','pid','Node.js\x20','version','828910NhaVrZ','runtimeEnvironmentInfo','1551501wxauLn','arm64','hostname','linux','Linux','KUBERNETES_SERVICE_HOST','apply','x64','8tjXNYx','versions','replace','agentOS','split','linuxDistroName','x32','_cachedOsRelease','cpuCoreCount','arch'];a18_0x26b7=function(){return _0x1db5f5;};return a18_0x26b7();}(function(_0x5f1030){const _0x3ccbef=a18_0x1b5a94;_0x5f1030['Linux']=_0x3ccbef(0xb7),_0x5f1030[_0x3ccbef(0xa8)]='windows',_0x5f1030[_0x3ccbef(0xd9)]=_0x3ccbef(0xd7);}(OS||(OS={})));var ProcArch;(function(_0xe6eaf3){const _0xbcb442=a18_0x1b5a94,_0x11022f=(function(){let _0x518413=!![];return function(_0xd37edd,_0x190947){const _0x1f1865=_0x518413?function(){const _0x5a7005=a18_0x20e2;if(_0x190947){const _0x3ef010=_0x190947[_0x5a7005(0xba)](_0xd37edd,arguments);return _0x190947=null,_0x3ef010;}}:function(){};return _0x518413=![],_0x1f1865;};}()),_0x38b036=_0x11022f(this,function(){const _0x1f2a43=a18_0x20e2;return _0x38b036[_0x1f2a43(0xab)]()[_0x1f2a43(0xc9)]('(((.+)+)+)+$')['toString']()[_0x1f2a43(0xd4)](_0x38b036)['search']('(((.+)+)+)+$');});_0x38b036(),_0xe6eaf3[_0xbcb442(0xbb)]=_0xbcb442(0xbb),_0xe6eaf3[_0xbcb442(0xc2)]='x32',_0xe6eaf3[_0xbcb442(0xc8)]=_0xbcb442(0xc8),_0xe6eaf3[_0xbcb442(0xb5)]=_0xbcb442(0xb5);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a18_0x1b5a94(0xb8)],'win32':OS[a18_0x1b5a94(0xa8)],'darwin':OS[a18_0x1b5a94(0xd9)]},ArchToProcArchMap={'x32':ProcArch[a18_0x1b5a94(0xc2)],'x64':ProcArch[a18_0x1b5a94(0xbb)],'arm':ProcArch[a18_0x1b5a94(0xc8)],'arm64':ProcArch[a18_0x1b5a94(0xb5)]};class EnvironmentMetadata{constructor(_0x300c05){const _0x299202=a18_0x1b5a94;assert(_0x300c05!==null),this[_0x299202(0xde)]=_0x300c05;}get[a18_0x1b5a94(0xd5)](){const _0x265236=a18_0x1b5a94;try{const _0x2c975d=process[_0x265236(0xbd)]['node'][_0x265236(0xa6)](/(\d+\.\d+)\..*/);if(_0x2c975d)return _0x2c975d[0x1];}catch(_0x4303f3){this['_logger'][_0x265236(0xd2)](_0x4303f3);}return;}get['runtimeEnvironmentInfo'](){const _0x175563=a18_0x1b5a94;return _0x175563(0xb0)+process[_0x175563(0xb1)]+_0x175563(0xcc)+(0x0,os_1[_0x175563(0xca)])()+'\x20'+(0x0,os_1[_0x175563(0xa9)])();}get[a18_0x1b5a94(0xaf)](){const _0x9cc7f6=a18_0x1b5a94;return process['pid'][_0x9cc7f6(0xab)]();}get[a18_0x1b5a94(0xdc)](){const _0x5ae5ed=a18_0x1b5a94;return ArchToProcArchMap[process[_0x5ae5ed(0xc5)]]||process[_0x5ae5ed(0xc5)];}get['cpuCoreCount'](){const _0x25b895=a18_0x1b5a94;return(0x0,os_1[_0x25b895(0xdb)])()[_0x25b895(0xaa)];}get[a18_0x1b5a94(0xc6)](){return(0x0,os_1['totalmem'])();}get[a18_0x1b5a94(0xe1)](){const _0x359b77=a18_0x1b5a94;return(0x0,os_1[_0x359b77(0xb6)])();}get[a18_0x1b5a94(0xbf)](){const _0x5b3c22=a18_0x1b5a94;return PlatformToOsMap[(0x0,os_1[_0x5b3c22(0xca)])()]||(0x0,os_1['platform'])();}get[a18_0x1b5a94(0xdf)](){const _0x4a59ad=a18_0x1b5a94;try{if(this[_0x4a59ad(0xbf)]===OS[_0x4a59ad(0xb8)])return this[_0x4a59ad(0xd6)][_0x4a59ad(0xe5)](_0x4a59ad(0xda))||(0x0,os_1['release'])();return(0x0,os_1[_0x4a59ad(0xa9)])();}catch(_0x574150){this[_0x4a59ad(0xde)]['error'](_0x574150);}return;}get[a18_0x1b5a94(0xc1)](){const _0x4e5004=a18_0x1b5a94;return this[_0x4e5004(0xbf)]===OS[_0x4e5004(0xb8)]&&this[_0x4e5004(0xd6)][_0x4e5004(0xe5)]('ID')||'';}get['isInDocker'](){const _0x292d4d=a18_0x1b5a94;return this[_0x292d4d(0xbf)]===OS[_0x292d4d(0xb8)]?(0x0,fs_1['existsSync'])(_0x292d4d(0xd1)):![];}get[a18_0x1b5a94(0xac)](){const _0x31d1e0=a18_0x1b5a94;return!!process[_0x31d1e0(0xcb)][_0x31d1e0(0xb9)];}get[a18_0x1b5a94(0xd6)](){const _0x10a6b9=a18_0x1b5a94;if(!this[_0x10a6b9(0xc3)]){this[_0x10a6b9(0xc3)]=new Map();try{if(this['agentOS']===OS[_0x10a6b9(0xb8)]){const _0x3d6c8d=(0x0,fs_1[_0x10a6b9(0xae)])('/etc/os-release',_0x10a6b9(0xe4));_0x3d6c8d[_0x10a6b9(0xc0)](/\r?\n/)[_0x10a6b9(0xe2)](_0x200374=>{const _0x342936=_0x10a6b9;var _0x575ef6;const [_0x17b018,_0x2f3652]=_0x200374['trim']()[_0x342936(0xc0)]('=');(_0x575ef6=this['_cachedOsRelease'])===null||_0x575ef6===void 0x0?void 0x0:_0x575ef6[_0x342936(0xad)](_0x17b018,(_0x2f3652===null||_0x2f3652===void 0x0?void 0x0:_0x2f3652[_0x342936(0xbe)](/^"|"$/g,''))||'');});}}catch(_0x230490){this['_logger']['warn'](_0x10a6b9(0xdd),_0x230490);}}return this[_0x10a6b9(0xc3)];}[a18_0x1b5a94(0xce)](){const _0x4881de=a18_0x1b5a94;return{'runtimeEnvironmentVersion':this[_0x4881de(0xd5)],'runtimeEnvironmentInfo':this[_0x4881de(0xb3)],'pid':this['pid'],'cpuCoreCount':this[_0x4881de(0xc4)],'systemTotalMemoryBytes':this[_0x4881de(0xc6)],'host':this['host'],'agentOS':this[_0x4881de(0xbf)],'osVersion':this[_0x4881de(0xdf)],'linuxDistroName':this[_0x4881de(0xc1)]||undefined,'isInDocker':this['isInDocker'],'isInK8s':this[_0x4881de(0xac)],'procArch':this[_0x4881de(0xdc)]};}}exports[a18_0x1b5a94(0xe0)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x3b4516=a19_0xcd9a;(function(_0x1e7383,_0x31eb14){const _0x2a4231=a19_0xcd9a,_0x2e5562=_0x1e7383();while(!![]){try{const _0x74bb2=parseInt(_0x2a4231(0x1f9))/0x1+parseInt(_0x2a4231(0x1f8))/0x2*(-parseInt(_0x2a4231(0x1e1))/0x3)+parseInt(_0x2a4231(0x1fd))/0x4+parseInt(_0x2a4231(0x1eb))/0x5*(-parseInt(_0x2a4231(0x1ea))/0x6)+-parseInt(_0x2a4231(0x1e3))/0x7+parseInt(_0x2a4231(0x1fe))/0x8*(-parseInt(_0x2a4231(0x1e8))/0x9)+parseInt(_0x2a4231(0x1ff))/0xa;if(_0x74bb2===_0x31eb14)break;else _0x2e5562['push'](_0x2e5562['shift']());}catch(_0x1c2146){_0x2e5562['push'](_0x2e5562['shift']());}}}(a19_0x1b5a,0x715ad));const a19_0x19da28=(function(){let _0x1aa85d=!![];return function(_0xc257dd,_0x146c9c){const _0x1cb3fe=_0x1aa85d?function(){const _0x20db3a=a19_0xcd9a;if(_0x146c9c){const _0x3ae155=_0x146c9c[_0x20db3a(0x1df)](_0xc257dd,arguments);return _0x146c9c=null,_0x3ae155;}}:function(){};return _0x1aa85d=![],_0x1cb3fe;};}()),a19_0x17cd12=a19_0x19da28(this,function(){const _0x1d5441=a19_0xcd9a;return a19_0x17cd12[_0x1d5441(0x1fc)]()[_0x1d5441(0x1e6)](_0x1d5441(0x1ef))['toString']()[_0x1d5441(0x1ed)](a19_0x17cd12)[_0x1d5441(0x1e6)]('(((.+)+)+)+$');});a19_0x17cd12();function a19_0xcd9a(_0x4778f4,_0x3e3ef0){const _0x1bcede=a19_0x1b5a();return a19_0xcd9a=function(_0x17cd12,_0x19da28){_0x17cd12=_0x17cd12-0x1dd;let _0x1b5aba=_0x1bcede[_0x17cd12];return _0x1b5aba;},a19_0xcd9a(_0x4778f4,_0x3e3ef0);}'use strict';function a19_0x1b5a(){const _0xb7854=['198678FXQfoW','findShortestFuzzyMatches','2684171uKKvwU','FileIndex','keys','search','fromFileList','3705894YeUhhm','fileStats','6eSclQQ','470570VadvaN','has','constructor','fileIndex','(((.+)+)+)+$','sep','generateSubPaths','__esModule','buildIndex','indexOf','size','stripStartingSep','push','2YiIKid','242025PLouoO','map','add','toString','2542888EMyick','16ENhKdx','9538790TBjomU','path','set','get','min','apply','length'];a19_0x1b5a=function(){return _0xb7854;};return a19_0x1b5a();}Object['defineProperty'](exports,a19_0x3b4516(0x1f2),{'value':!![]}),exports[a19_0x3b4516(0x1e4)]=void 0x0;const path=require(a19_0x3b4516(0x200));class FileIndex{constructor(_0x41903b){this['_fileStats']=_0x41903b,this['fileIndex']=new Map();}static['fromFileStats'](_0xd778bd){const _0x33f864=a19_0x3b4516,_0x40f131=new FileIndex(_0xd778bd);return _0x40f131[_0x33f864(0x1f3)](Object[_0x33f864(0x1e5)](_0xd778bd)||[]),_0x40f131;}static[a19_0x3b4516(0x1e7)](_0x5601dc){const _0x1bfcdc=a19_0x3b4516,_0x24679e=new FileIndex(undefined);return _0x24679e[_0x1bfcdc(0x1f3)](_0x5601dc||[]),_0x24679e;}get[a19_0x3b4516(0x1e9)](){return this['_fileStats']||{};}[a19_0x3b4516(0x1e2)](_0x288356){const _0x2aeaac=a19_0x3b4516,_0x5253f0=this[_0x2aeaac(0x1e6)](_0x288356);if(!_0x5253f0||_0x5253f0[_0x2aeaac(0x1f5)]===0x0)return[];const _0x2922aa=[..._0x5253f0][_0x2aeaac(0x1fa)](_0x57e8e0=>_0x57e8e0[_0x2aeaac(0x1e0)]),_0x18f913=Math[_0x2aeaac(0x1de)](..._0x2922aa),_0x120cd6=[..._0x5253f0]['filter'](_0x21b13e=>_0x21b13e['length']===_0x18f913);return _0x120cd6;}[a19_0x3b4516(0x1f3)](_0x2ccc97){const _0x106db1=a19_0x3b4516;for(const _0x148489 of _0x2ccc97){for(const _0x3ef1d1 of this['generateSubPaths'](_0x148489)){let _0x5a6247=this['fileIndex'][_0x106db1(0x1dd)](_0x3ef1d1);_0x5a6247===undefined&&(_0x5a6247=new Set(),this['fileIndex'][_0x106db1(0x201)](_0x3ef1d1,_0x5a6247)),_0x5a6247[_0x106db1(0x1fb)](_0x148489);}}}[a19_0x3b4516(0x1f1)](_0x341476){const _0x3e5b10=a19_0x3b4516;_0x341476=this['stripStartingSep'](_0x341476);const _0x48ac35=[_0x341476];while(_0x341476[_0x3e5b10(0x1f4)](path['sep'])>=0x0){_0x341476=_0x341476['substring'](_0x341476[_0x3e5b10(0x1f4)](path[_0x3e5b10(0x1f0)])+path[_0x3e5b10(0x1f0)][_0x3e5b10(0x1e0)],_0x341476[_0x3e5b10(0x1e0)]),_0x48ac35[_0x3e5b10(0x1f7)](_0x341476);}return _0x48ac35;}[a19_0x3b4516(0x1e6)](_0x2c295a){const _0x3827f9=a19_0x3b4516;if(!_0x2c295a)return undefined;_0x2c295a=this[_0x3827f9(0x1f6)](_0x2c295a);for(const _0x4d1a97 of this[_0x3827f9(0x1f1)](_0x2c295a)){if(this[_0x3827f9(0x1ee)][_0x3827f9(0x1ec)](_0x4d1a97))return this[_0x3827f9(0x1ee)][_0x3827f9(0x1dd)](_0x4d1a97);}return undefined;}[a19_0x3b4516(0x1f6)](_0x18f6e3){if(_0x18f6e3&&(_0x18f6e3[0x0]==='/'||_0x18f6e3[0x0]==='\x5c'))return _0x18f6e3['substr'](0x1);return _0x18f6e3;}}exports['FileIndex']=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x4bde73=a20_0x3853;(function(_0x4eee60,_0x4239a3){const _0x44031b=a20_0x3853,_0x133f21=_0x4eee60();while(!![]){try{const _0x3560ee=-parseInt(_0x44031b(0xb2))/0x1*(-parseInt(_0x44031b(0xb3))/0x2)+-parseInt(_0x44031b(0xa7))/0x3+parseInt(_0x44031b(0xa9))/0x4+parseInt(_0x44031b(0xb7))/0x5+-parseInt(_0x44031b(0xa1))/0x6+-parseInt(_0x44031b(0xa0))/0x7+parseInt(_0x44031b(0xa5))/0x8*(parseInt(_0x44031b(0xa2))/0x9);if(_0x3560ee===_0x4239a3)break;else _0x133f21['push'](_0x133f21['shift']());}catch(_0x10f0be){_0x133f21['push'](_0x133f21['shift']());}}}(a20_0x4abe,0xa8f1c));const a20_0x148585=(function(){let _0x2030bc=!![];return function(_0x31d53d,_0x1824aa){const _0x3c9b61=_0x2030bc?function(){if(_0x1824aa){const _0x5af559=_0x1824aa['apply'](_0x31d53d,arguments);return _0x1824aa=null,_0x5af559;}}:function(){};return _0x2030bc=![],_0x3c9b61;};}()),a20_0x5ccdef=a20_0x148585(this,function(){const _0x6162ba=a20_0x3853;return a20_0x5ccdef[_0x6162ba(0xb9)]()[_0x6162ba(0xab)]('(((.+)+)+)+$')['toString']()[_0x6162ba(0xa6)](a20_0x5ccdef)[_0x6162ba(0xab)](_0x6162ba(0xb1));});function a20_0x3853(_0x1eaf5e,_0x331ae6){const _0x5f11e5=a20_0x4abe();return a20_0x3853=function(_0x5ccdef,_0x148585){_0x5ccdef=_0x5ccdef-0x9e;let _0x4abed2=_0x5f11e5[_0x5ccdef];return _0x4abed2;},a20_0x3853(_0x1eaf5e,_0x331ae6);}a20_0x5ccdef();'use strict';Object[a20_0x4bde73(0xa3)](exports,a20_0x4bde73(0xa8),{'value':!![]}),exports[a20_0x4bde73(0xb8)]=void 0x0;function a20_0x4abe(){const _0x5d8383=['keys','normalize','errorMap','all','(((.+)+)+)+$','59876PiHSHC','12zkyGBh','selectStats','sep','test','6210960nuhkkU','ScanResultsImpl','toString','stats','forEach','6720931vcMIrC','5078148xTeBzt','20187XJHIin','defineProperty','errors','1592NHZJcW','constructor','1460838XjBqqA','__esModule','3750512WrnmRq','hash','search','selectFiles'];a20_0x4abe=function(){return _0x5d8383;};return a20_0x4abe();}const path=require('path');class ScanResultsImpl{constructor(_0x73273a,_0x330bd7,_0x35319e){const _0x5bc499=a20_0x4bde73;this[_0x5bc499(0x9e)]=_0x73273a,this[_0x5bc499(0xaf)]=_0x330bd7,this[_0x5bc499(0xaa)]=_0x35319e;}[a20_0x4bde73(0xa4)](){const _0x23f99e=a20_0x4bde73;return this[_0x23f99e(0xaf)];}[a20_0x4bde73(0xb0)](){const _0x27e188=a20_0x4bde73;return this[_0x27e188(0x9e)];}[a20_0x4bde73(0xb4)](_0x588c8e){const _0x3fd7c6=a20_0x4bde73,_0x47d1ff={};return Object[_0x3fd7c6(0xad)](this[_0x3fd7c6(0x9e)])[_0x3fd7c6(0x9f)](_0x2bd423=>{const _0xac49b0=_0x3fd7c6;_0x588c8e[_0xac49b0(0xb6)](_0x2bd423)&&(_0x47d1ff[_0x2bd423]=this[_0xac49b0(0x9e)][_0x2bd423]);}),_0x47d1ff;}[a20_0x4bde73(0xac)](_0x5b0d09,_0x18d333){const _0x42f22b=a20_0x4bde73;return _0x18d333=path[_0x42f22b(0xae)](_0x18d333+path[_0x42f22b(0xb5)]),Object[_0x42f22b(0xad)](this[_0x42f22b(0x9e)])['filter'](_0x193676=>{const _0x5b0e53=_0x42f22b;return _0x193676&&_0x5b0d09[_0x5b0e53(0xb6)](_0x193676);})['map'](_0x4b1f77=>{const _0x6d5df1=_0x42f22b;return path[_0x6d5df1(0xae)](_0x4b1f77)['replace'](_0x18d333,'');});}}exports['ScanResultsImpl']=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a21_0x1594f5=a21_0x2ff5;(function(_0x11f570,_0x47c48){const _0x163de6=a21_0x2ff5,_0x2cb1a4=_0x11f570();while(!![]){try{const _0x29bc2e=-parseInt(_0x163de6(0x1fe))/0x1+parseInt(_0x163de6(0x1f2))/0x2+-parseInt(_0x163de6(0x1e8))/0x3+-parseInt(_0x163de6(0x1f4))/0x4*(-parseInt(_0x163de6(0x1dd))/0x5)+-parseInt(_0x163de6(0x1d8))/0x6+-parseInt(_0x163de6(0x1e4))/0x7*(-parseInt(_0x163de6(0x1e2))/0x8)+-parseInt(_0x163de6(0x1e9))/0x9*(-parseInt(_0x163de6(0x203))/0xa);if(_0x29bc2e===_0x47c48)break;else _0x2cb1a4['push'](_0x2cb1a4['shift']());}catch(_0x3d1d85){_0x2cb1a4['push'](_0x2cb1a4['shift']());}}}(a21_0x16ad,0xd0985));const a21_0x222ce9=(function(){let _0x52e88b=!![];return function(_0x1669e2,_0xed1015){const _0x1b059e=_0x52e88b?function(){if(_0xed1015){const _0x139237=_0xed1015['apply'](_0x1669e2,arguments);return _0xed1015=null,_0x139237;}}:function(){};return _0x52e88b=![],_0x1b059e;};}()),a21_0x506752=a21_0x222ce9(this,function(){const _0x597086=a21_0x2ff5;return a21_0x506752[_0x597086(0x206)]()[_0x597086(0x209)](_0x597086(0x1df))[_0x597086(0x206)]()[_0x597086(0x1f1)](a21_0x506752)[_0x597086(0x209)]('(((.+)+)+)+$');});a21_0x506752();function a21_0x2ff5(_0x40fa4f,_0x4ad66e){const _0x56ce3c=a21_0x16ad();return a21_0x2ff5=function(_0x506752,_0x222ce9){_0x506752=_0x506752-0x1d5;let _0x16adad=_0x56ce3c[_0x506752];return _0x16adad;},a21_0x2ff5(_0x40fa4f,_0x4ad66e);}'use strict';function a21_0x16ad(){const _0x5d2806=['createReadStream','constants','join','896200VsBDvC','directory','digest','resolve','open','910BCiYiZ','length','__esModule','toString','SHA1-','basename','search','set','accessSync','from','data','push','startsWith','Scanner','Specified\x20extraPaths\x20does\x20not\x20exist!','962874iBQlnE','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','findFiles','hex','info','1962700LnHFtN','defineProperty','(((.+)+)+)+$','path','./scan-results','32YAeAhr','node_modules','323680lLKPot','scan','split','error','40965wWHgnw','42246XxGIQf','can\x27t\x20access\x20path:\x20[','computeStats','addFilesFromDir','ScanResultsImpl','R_OK','statsForFile','logger','constructor','1840170vUyEiC','sort','4dhPSSt','createHash','add','end','.git','hasReadAccess','EMPTY-no-js-files'];a21_0x16ad=function(){return _0x5d2806;};return a21_0x16ad();}Object[a21_0x1594f5(0x1de)](exports,a21_0x1594f5(0x205),{'value':!![]}),exports[a21_0x1594f5(0x1d6)]=void 0x0;const crypto=require('crypto'),fs=require('fs'),path=require(a21_0x1594f5(0x1e0)),scan_results_1=require(a21_0x1594f5(0x1e1));class Scanner{constructor(_0x4783e4){const _0x3c0d68=a21_0x1594f5;this[_0x3c0d68(0x1f0)]=_0x4783e4;}async[a21_0x1594f5(0x1e5)](_0x14c79c,_0x201bd7,_0x2abdb8,_0x32a8de){const _0x5cecf1=a21_0x1594f5,_0x5f304a=await this[_0x5cecf1(0x1da)](_0x14c79c,_0x201bd7,_0x32a8de);return this[_0x5cecf1(0x1eb)](_0x5f304a,_0x2abdb8);}[a21_0x1594f5(0x1eb)](_0x7a9d9a,_0x325660){return new Promise(async _0x36739b=>{const _0x545022=a21_0x2ff5;if(_0x7a9d9a[_0x545022(0x204)]===0x0){_0x36739b(new scan_results_1[(_0x545022(0x1ed))]({},new Map(),_0x545022(0x1fa)));return;}const _0x3deb0b=[],_0x53d1c7={},_0x24920d=new Map();for(const _0x6f6096 of _0x7a9d9a){try{const _0xe18c1f=await this[_0x545022(0x1ef)](_0x6f6096,!_0x325660);!_0x325660&&_0x3deb0b[_0x545022(0x20e)](_0xe18c1f['hash']),_0x53d1c7[_0x6f6096]=_0xe18c1f;}catch(_0x52e764){_0x24920d[_0x545022(0x20a)](_0x6f6096,_0x52e764);}}let _0x53c8d1;if(!_0x325660){const _0x253936=_0x3deb0b[_0x545022(0x1f3)]()[_0x545022(0x1fd)](),_0x4a7086=crypto[_0x545022(0x1f5)]('sha1')['update'](_0x253936)[_0x545022(0x200)](_0x545022(0x1db));_0x53c8d1=_0x545022(0x207)+_0x4a7086;}else _0x53c8d1=_0x325660;_0x36739b(new scan_results_1[(_0x545022(0x1ed))](_0x53d1c7,_0x24920d,_0x53c8d1));});}async['findFiles'](_0x22f697,_0x2e54a5,_0x1eb604){const _0x3e870b=a21_0x1594f5,_0x5a4e1e=new Set();await this[_0x3e870b(0x1ec)](_0x5a4e1e,_0x22f697,_0x2e54a5);for(const _0x5e81fc of _0x1eb604!==null&&_0x1eb604!==void 0x0?_0x1eb604:[]){if(_0x5e81fc){const _0x492463=path[_0x3e870b(0x201)](_0x5e81fc);try{await this[_0x3e870b(0x1ec)](_0x5a4e1e,_0x492463,_0x2e54a5);}catch(_0x3bd5f6){this[_0x3e870b(0x1f0)][_0x3e870b(0x1e7)](_0x3e870b(0x1d7),_0x3bd5f6);continue;}}}return Array[_0x3e870b(0x20c)](_0x5a4e1e);}static[a21_0x1594f5(0x1f9)](_0x538e47){const _0x42c3b7=a21_0x1594f5;try{return fs[_0x42c3b7(0x20b)](_0x538e47,fs[_0x42c3b7(0x1fc)][_0x42c3b7(0x1ee)]),!![];}catch(_0x3b475c){return![];}}async['addFilesFromDir'](_0x185081,_0x510964,_0x390eb7){return new Promise((_0x19d62c,_0x90862b)=>{const _0x114851=a21_0x2ff5;let _0x2466e7;if(!_0x510964){_0x90862b(new Error('addFilesFromDir\x20requires\x20a\x20searchDir\x20argument'));return;}this['logger'][_0x114851(0x1dc)]('Indexing\x20files\x20in\x20'+path[_0x114851(0x201)](_0x510964));const _0x1067a5=findit(_0x510964);_0x1067a5['on'](_0x114851(0x1e7),_0x1b518b=>{_0x2466e7=_0x1b518b;return;}),_0x1067a5['on'](_0x114851(0x1ff),(_0x1c6480,_0x3c74e6,_0x2dc09f)=>{const _0x12a299=_0x114851,_0x27b62e=path[_0x12a299(0x208)](_0x1c6480);!Scanner['hasReadAccess'](_0x1c6480)&&(this[_0x12a299(0x1f0)]['warn'](_0x12a299(0x1ea)+path[_0x12a299(0x201)](_0x1c6480)+_0x12a299(0x1d9)),_0x2dc09f()),(_0x27b62e===_0x12a299(0x1f8)||_0x27b62e===_0x12a299(0x1e3))&&(!path[_0x12a299(0x201)](_0x510964)[_0x12a299(0x1d5)](path[_0x12a299(0x201)](_0x1c6480))&&_0x2dc09f());}),_0x1067a5['on']('file',_0x317a61=>{const _0x3f9ba3=_0x114851;_0x390eb7['test'](_0x317a61)&&_0x185081[_0x3f9ba3(0x1f6)](_0x317a61);}),_0x1067a5['on'](_0x114851(0x1f7),()=>{_0x2466e7?_0x90862b(_0x2466e7):_0x19d62c();});});}async[a21_0x1594f5(0x1ef)](_0x409df1,_0xe9c186){return new Promise((_0x4b9a9a,_0x7122cd)=>{const _0x2e41e2=a21_0x2ff5,_0x3aa30c=fs[_0x2e41e2(0x1fb)](_0x409df1);_0x3aa30c['on']('error',_0x4dc325=>{_0x7122cd(_0x4dc325);}),_0x3aa30c['on'](_0x2e41e2(0x202),()=>{const _0x4413de=_0x2e41e2;let _0x54454d;_0xe9c186&&(_0x54454d=crypto[_0x4413de(0x1f5)]('sha1'));let _0x151ab5=0x0,_0x546536;const _0x33729f=_0x3aa30c['pipe'](split());_0x33729f['on'](_0x4413de(0x1e7),_0x5f5607=>{_0x546536=_0x5f5607;}),_0x33729f['on'](_0x4413de(0x20d),_0x627ac=>{_0xe9c186&&_0x54454d['update'](_0x627ac),_0x151ab5++;}),_0x33729f['on'](_0x4413de(0x1f7),()=>{if(_0x546536)_0x7122cd(_0x546536);else{const _0x5a5ac7=_0xe9c186?_0x54454d['digest']('hex'):undefined;_0x4b9a9a({'hash':_0x5a5ac7,'lines':_0x151ab5});}});});});}}exports[a21_0x1594f5(0x1d6)]=Scanner;const findit=require('findit2'),split=require(a21_0x1594f5(0x1e6));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x884c0e=a22_0x152f;(function(_0x5b6cb7,_0x54a1e6){const _0x5dd469=a22_0x152f,_0x127149=_0x5b6cb7();while(!![]){try{const _0x253451=parseInt(_0x5dd469(0x131))/0x1+-parseInt(_0x5dd469(0x162))/0x2+-parseInt(_0x5dd469(0x14d))/0x3+parseInt(_0x5dd469(0x128))/0x4+-parseInt(_0x5dd469(0x15b))/0x5+parseInt(_0x5dd469(0x155))/0x6*(-parseInt(_0x5dd469(0x13c))/0x7)+parseInt(_0x5dd469(0x153))/0x8;if(_0x253451===_0x54a1e6)break;else _0x127149['push'](_0x127149['shift']());}catch(_0x3ec034){_0x127149['push'](_0x127149['shift']());}}}(a22_0x39e3,0xe10a6));const a22_0x33472b=(function(){let _0x225973=!![];return function(_0x6a843b,_0x22ffd1){const _0x25c854=_0x225973?function(){const _0x18e061=a22_0x152f;if(_0x22ffd1){const _0x171ef8=_0x22ffd1[_0x18e061(0x151)](_0x6a843b,arguments);return _0x22ffd1=null,_0x171ef8;}}:function(){};return _0x225973=![],_0x25c854;};}()),a22_0x15571f=a22_0x33472b(this,function(){const _0x2b6375=a22_0x152f;return a22_0x15571f['toString']()[_0x2b6375(0x142)](_0x2b6375(0x150))[_0x2b6375(0x156)]()[_0x2b6375(0x13a)](a22_0x15571f)[_0x2b6375(0x142)]('(((.+)+)+)+$');});a22_0x15571f();'use strict';function a22_0x152f(_0x35a21d,_0x288b11){const _0x460c00=a22_0x39e3();return a22_0x152f=function(_0x15571f,_0x33472b){_0x15571f=_0x15571f-0x128;let _0x39e3a2=_0x460c00[_0x15571f];return _0x39e3a2;},a22_0x152f(_0x35a21d,_0x288b11);}Object[a22_0x884c0e(0x14f)](exports,a22_0x884c0e(0x15a),{'value':!![]}),exports['create']=exports['SourceMapper']=void 0x0;const fs=require('fs'),pLimit=require('p-limit'),path=require(a22_0x884c0e(0x154)),util_1=require('util'),sourceMap=require(a22_0x884c0e(0x134)),file_index_1=require('./file-index'),CONCURRENCY=0xa,WEBPACK_PREFIX=a22_0x884c0e(0x144),readFilep=(0x0,util_1[a22_0x884c0e(0x13b)])(fs['readFile']),MAP_EXT=a22_0x884c0e(0x12c);async function processSourcemap(_0x17753f,_0xaddd86){const _0x110f34=a22_0x884c0e;if(!_0xaddd86||!_0xaddd86[_0x110f34(0x130)](MAP_EXT))throw new Error(_0x110f34(0x132)+_0xaddd86+'\x20does\x20not\x20specify\x20a\x20sourcemap\x20file');_0xaddd86=path[_0x110f34(0x13f)](_0xaddd86);let _0x2b8833;try{_0x2b8833=await readFilep(_0xaddd86,'utf8');}catch(_0x25d4aa){throw new Error(_0x110f34(0x145)+_0xaddd86+':\x20'+_0x25d4aa);}let _0x1128b8;try{_0x1128b8=new sourceMap['SourceMapConsumer'](_0x2b8833);}catch(_0x2bce3f){throw new Error(_0x110f34(0x159)+_0x110f34(0x135)+_0xaddd86+':\x20'+_0x2bce3f);}const _0x2bed4a=_0x1128b8['file']?_0x1128b8[_0x110f34(0x14e)]:path['basename'](_0xaddd86,_0x110f34(0x12c)),_0x14a823=path['dirname'](_0xaddd86),_0x3a5f3b=path[_0x110f34(0x13f)](path['join'](_0x14a823,_0x2bed4a)),_0x536ab3=_0x1128b8[_0x110f34(0x143)][_0x110f34(0x149)](_0x57db75=>!!_0x57db75)[_0x110f34(0x137)]((_0x35c3f2,_0x20a0cf)=>_0x35c3f2[_0x110f34(0x15e)]-_0x20a0cf[_0x110f34(0x15e)]),_0x38d836=_0x536ab3['map'](_0x9f611=>{const _0x13b51b=_0x110f34;if(_0x9f611[_0x13b51b(0x13e)]()[_0x13b51b(0x15c)](WEBPACK_PREFIX))return _0x9f611[_0x13b51b(0x140)](WEBPACK_PREFIX[_0x13b51b(0x15e)]);return _0x9f611;})[_0x110f34(0x138)](_0x4aeeae=>{const _0x4db37b=_0x110f34;return path[_0x4db37b(0x13f)](path[_0x4db37b(0x157)](_0x14a823,_0x4aeeae));});if(_0x38d836['length']===0x0)throw new Error(_0x110f34(0x12f)+_0xaddd86);for(const _0xf9e50b of _0x38d836){_0x17753f['set'](path[_0x110f34(0x13f)](_0xf9e50b),{'outputFile':_0x3a5f3b,'mapFile':_0xaddd86,'mapConsumer':_0x1128b8,'sources':_0x536ab3});}}class SourceMapper{constructor(){const _0x5a8e15=a22_0x884c0e;this[_0x5a8e15(0x14c)]=new Map();}[a22_0x884c0e(0x13d)](_0x11c598){const _0x366c36=a22_0x884c0e;if(this[_0x366c36(0x14c)][_0x366c36(0x15d)](path['normalize'](_0x11c598)))return{'entry':this[_0x366c36(0x14c)]['get'](_0x11c598),'matchedPath':path[_0x366c36(0x13f)](_0x11c598)};const _0x4e7f6a=file_index_1['FileIndex'][_0x366c36(0x14b)](Array[_0x366c36(0x12b)](this[_0x366c36(0x14c)]['keys']()))[_0x366c36(0x158)](_0x11c598);if(_0x4e7f6a[_0x366c36(0x15e)]===0x1)return{'entry':this['infoMap'][_0x366c36(0x12d)](_0x4e7f6a[0x0]),'matchedPath':_0x4e7f6a[0x0]};return null;}['hasMappingInfo'](_0x31af1a){return this['getMappingInfo'](_0x31af1a)!==null;}[a22_0x884c0e(0x141)](_0x19aea4,_0x4247f9,_0xd34820){const _0x5d1028=a22_0x884c0e;_0x19aea4=path[_0x5d1028(0x13f)](_0x19aea4);const _0x3fa968=this[_0x5d1028(0x13d)](_0x19aea4);if(!_0x3fa968)return null;const {entry:_0x100f7c,matchedPath:_0x232b67}=_0x3fa968,_0x36d279=path['relative'](path['dirname'](_0x100f7c[_0x5d1028(0x146)]),_0x232b67)[_0x5d1028(0x161)](/\\/g,'/');let _0x39f91d=this['findInSources'](_0x100f7c,_0x36d279);_0x39f91d=_0x39f91d||this[_0x5d1028(0x148)](_0x100f7c,_0x19aea4);const _0x2eed8b={'source':_0x39f91d||_0x36d279,'line':_0x4247f9+0x1,'column':_0xd34820},_0x28ca93=_0x100f7c[_0x5d1028(0x15f)],_0x1b8d67=_0x28ca93[_0x5d1028(0x160)](_0x2eed8b),_0xb565f4=_0x1b8d67&&_0x1b8d67[_0x5d1028(0x15e)]>0x0?_0x1b8d67[_0x5d1028(0x147)]((_0x4fbd7e,_0x535e19)=>{const _0x43d292=_0x5d1028;return _0x535e19[_0x43d292(0x139)]<_0x4fbd7e[_0x43d292(0x139)]?_0x535e19:_0x4fbd7e;}):_0x28ca93[_0x5d1028(0x12e)](_0x2eed8b);return{'file':_0x100f7c[_0x5d1028(0x129)],'line':_0xb565f4[_0x5d1028(0x139)],'column':_0xb565f4[_0x5d1028(0x12a)]};}[a22_0x884c0e(0x148)](_0x40200c,_0x244829){const _0xd6d6d4=a22_0x884c0e;for(const _0x4c574b of _0x40200c[_0xd6d6d4(0x143)]){if(_0x4c574b['endsWith'](_0x244829))return _0x4c574b;}return undefined;}}exports[a22_0x884c0e(0x133)]=SourceMapper;async function create(_0x1823ac){const _0x267607=a22_0x884c0e,_0xfabdde=pLimit(CONCURRENCY),_0x105ea1=new SourceMapper(),_0x3dd006=_0x1823ac[_0x267607(0x138)](_0x20455e=>_0xfabdde(()=>processSourcemap(_0x105ea1[_0x267607(0x14c)],_0x20455e)));try{await Promise[_0x267607(0x152)](_0x3dd006);}catch(_0x1693ee){throw new Error(_0x267607(0x14a)+_0x1693ee);}return _0x105ea1;}function a22_0x39e3(){const _0x2bff04=['from','.map','get','generatedPositionFor','No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20','endsWith','1453563JxEMCl','The\x20path\x20','SourceMapper','source-map','sourcemap\x20file\x20','create','sort','map','line','constructor','promisify','7DlHdsx','getMappingInfo','toLowerCase','normalize','substring','mappingInfo','search','sources','webpack://','Could\x20not\x20read\x20sourcemap\x20file\x20','mapFile','reduce','findInSources','filter','An\x20error\x20occurred\x20while\x20processing\x20the\x20sourcemap\x20files','fromFileList','infoMap','3935868iuBbCa','file','defineProperty','(((.+)+)+)+$','apply','all','37672600tFqpiF','path','10611588EeHteB','toString','join','findShortestFuzzyMatches','An\x20error\x20occurred\x20while\x20reading\x20the\x20','__esModule','7480105ammPYV','startsWith','has','length','mapConsumer','allGeneratedPositionsFor','replace','1828442XSjHFI','999696JUBXQY','outputFile','column'];a22_0x39e3=function(){return _0x2bff04;};return a22_0x39e3();}exports[a22_0x884c0e(0x136)]=create;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a23_0x3c0724=a23_0x6833;(function(_0x5d2c05,_0x3ad659){const _0x32125b=a23_0x6833,_0x5e5598=_0x5d2c05();while(!![]){try{const _0x492cd7=parseInt(_0x32125b(0xa8))/0x1*(-parseInt(_0x32125b(0xa5))/0x2)+-parseInt(_0x32125b(0xa4))/0x3*(-parseInt(_0x32125b(0x9f))/0x4)+-parseInt(_0x32125b(0x9b))/0x5+-parseInt(_0x32125b(0xa7))/0x6+parseInt(_0x32125b(0x99))/0x7+-parseInt(_0x32125b(0x98))/0x8*(-parseInt(_0x32125b(0xa2))/0x9)+-parseInt(_0x32125b(0x9a))/0xa;if(_0x492cd7===_0x3ad659)break;else _0x5e5598['push'](_0x5e5598['shift']());}catch(_0x137553){_0x5e5598['push'](_0x5e5598['shift']());}}}(a23_0x2e16,0x87942));const a23_0x57d8a8=(function(){let _0x5729a8=!![];return function(_0x1ae074,_0x3ce7d4){const _0x2cfdf0=_0x5729a8?function(){if(_0x3ce7d4){const _0x317478=_0x3ce7d4['apply'](_0x1ae074,arguments);return _0x3ce7d4=null,_0x317478;}}:function(){};return _0x5729a8=![],_0x2cfdf0;};}()),a23_0x473cce=a23_0x57d8a8(this,function(){const _0x134c9a=a23_0x6833;return a23_0x473cce['toString']()[_0x134c9a(0xad)](_0x134c9a(0xab))['toString']()[_0x134c9a(0xa3)](a23_0x473cce)['search'](_0x134c9a(0xab));});a23_0x473cce();'use strict';Object[a23_0x3c0724(0x93)](exports,'__esModule',{'value':!![]}),exports[a23_0x3c0724(0x94)]=void 0x0;function a23_0x2e16(){const _0x161656=['requestTokens','refillBucket','24tBvdwk','1914990SFzWgf','35520wCjGPA','4430580XcvmTT','floor','tokens','requestTokensSlow','412TrwKFt','fillTime','fillRate','2979657NUYTPH','constructor','21693PuDcap','2hqHAms','capacity','865638nSwxNK','422311aRyhqb','hrtime','nowInNanoSeconds','(((.+)+)+)+$','min','search','takeTokens','defineProperty','LeakyBucket','fractionalTokens'];a23_0x2e16=function(){return _0x161656;};return a23_0x2e16();}function a23_0x6833(_0x222bbc,_0x2bed5e){const _0x34c6b4=a23_0x2e16();return a23_0x6833=function(_0x473cce,_0x57d8a8){_0x473cce=_0x473cce-0x93;let _0x2e161b=_0x34c6b4[_0x473cce];return _0x2e161b;},a23_0x6833(_0x222bbc,_0x2bed5e);}const NANOSECONDS_CONVERSION=0x3b9aca00;class LeakyBucket{constructor(_0x6ebd40,_0x1bc426){const _0x3878a5=a23_0x3c0724;this[_0x3878a5(0x9d)]=_0x6ebd40,this[_0x3878a5(0xa6)]=_0x6ebd40,this[_0x3878a5(0x95)]=0x0,this[_0x3878a5(0xa1)]=_0x1bc426,this[_0x3878a5(0xa0)]=this[_0x3878a5(0xaa)]();}['nowInNanoSeconds'](){const _0x4daefd=a23_0x3c0724,_0x19b3a1=process[_0x4daefd(0xa9)]();return _0x19b3a1[0x0]*NANOSECONDS_CONVERSION+_0x19b3a1[0x1];}['refillBucket'](_0x2eaafc){const _0x4d39a2=a23_0x3c0724,_0x47bf15=this[_0x4d39a2(0xaa)]()-this['fillTime'];this[_0x4d39a2(0x95)]+=Math[_0x4d39a2(0xac)](_0x47bf15*(this[_0x4d39a2(0xa1)]/NANOSECONDS_CONVERSION),this[_0x4d39a2(0xa6)]);const _0x86f6f8=Math['floor'](this[_0x4d39a2(0x95)]),_0x257324=Math[_0x4d39a2(0x9c)](this['capacity']-_0x2eaafc);let _0x54dea0=0x0;return _0x257324<_0x86f6f8?(this['fractionalTokens']=0x0,_0x54dea0=_0x257324):(_0x54dea0=_0x86f6f8,this['fractionalTokens']-=_0x54dea0),this['tokens']+=_0x54dea0,this[_0x4d39a2(0xa0)]=this['nowInNanoSeconds'](),_0x54dea0;}[a23_0x3c0724(0x9e)](_0x3f4ad7){const _0x2f4ca5=a23_0x3c0724;if(this[_0x2f4ca5(0x9d)]>0x0)return!![];const _0x379327=this[_0x2f4ca5(0x97)](this['tokens']+_0x3f4ad7);if(_0x379327>0x0)return!![];return this['tokens']+=_0x3f4ad7,![];}[a23_0x3c0724(0xae)](_0x3a4af2){const _0x576f62=a23_0x3c0724;this[_0x576f62(0x9d)]-=_0x3a4af2,this[_0x576f62(0x9d)]<0x0&&this[_0x576f62(0x97)](this[_0x576f62(0x9d)]);}[a23_0x3c0724(0x96)](_0x3bc287){const _0x80541c=a23_0x3c0724;if(_0x3bc287>this[_0x80541c(0xa6)])return![];this[_0x80541c(0x9d)]-=_0x3bc287;if(this[_0x80541c(0x9d)]>=0x0)return!![];return this[_0x80541c(0x9e)](_0x3bc287);}}exports[a23_0x3c0724(0x94)]=LeakyBucket;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a24_0x2c7dd3=a24_0x2159;(function(_0x5565d7,_0x18e1fa){var _0x45d9cb=a24_0x2159,_0x2f2303=_0x5565d7();while(!![]){try{var _0x2178bd=parseInt(_0x45d9cb(0x129))/0x1+-parseInt(_0x45d9cb(0x12b))/0x2*(-parseInt(_0x45d9cb(0x140))/0x3)+parseInt(_0x45d9cb(0x131))/0x4+-parseInt(_0x45d9cb(0x13d))/0x5*(-parseInt(_0x45d9cb(0x13f))/0x6)+-parseInt(_0x45d9cb(0x12e))/0x7*(-parseInt(_0x45d9cb(0x12f))/0x8)+parseInt(_0x45d9cb(0x13c))/0x9*(-parseInt(_0x45d9cb(0x12c))/0xa)+parseInt(_0x45d9cb(0x138))/0xb*(-parseInt(_0x45d9cb(0x13a))/0xc);if(_0x2178bd===_0x18e1fa)break;else _0x2f2303['push'](_0x2f2303['shift']());}catch(_0x57ca2e){_0x2f2303['push'](_0x2f2303['shift']());}}}(a24_0x4806,0x90d98));var a24_0x1f4502=(function(){var _0x4e23d4=!![];return function(_0x2fa464,_0x3fb60b){var _0x5a58d2=_0x4e23d4?function(){var _0x1a1f15=a24_0x2159;if(_0x3fb60b){var _0x86ce16=_0x3fb60b[_0x1a1f15(0x130)](_0x2fa464,arguments);return _0x3fb60b=null,_0x86ce16;}}:function(){};return _0x4e23d4=![],_0x5a58d2;};}()),a24_0x3a85b5=a24_0x1f4502(this,function(){var _0x5bf10e=a24_0x2159;return a24_0x3a85b5[_0x5bf10e(0x132)]()[_0x5bf10e(0x13b)]('(((.+)+)+)+$')[_0x5bf10e(0x132)]()[_0x5bf10e(0x12a)](a24_0x3a85b5)[_0x5bf10e(0x13b)](_0x5bf10e(0x12d));});a24_0x3a85b5();'use strict';function a24_0x2159(_0x5cca7c,_0x14d639){var _0x44f86c=a24_0x4806();return a24_0x2159=function(_0x3a85b5,_0x1f4502){_0x3a85b5=_0x3a85b5-0x129;var _0x48061c=_0x44f86c[_0x3a85b5];return _0x48061c;},a24_0x2159(_0x5cca7c,_0x14d639);}Object[a24_0x2c7dd3(0x13e)](exports,a24_0x2c7dd3(0x139),{'value':!![]}),exports[a24_0x2c7dd3(0x133)]=void 0x0;function a24_0x4806(){var _0x5334b4=['973392izGrYy','constructor','16jdLJiE','8510600TWpeoA','(((.+)+)+)+$','613445sPemMQ','40naqJdQ','apply','1281712BxgruS','toString','LogData','order','data','timestamp','actionId','44WyVrwX','__esModule','5887128vHrMzi','search','9pZYuaS','2649525WHfJeO','defineProperty','6zgGHmk','429315GGVkUv'];a24_0x4806=function(){return _0x5334b4;};return a24_0x4806();}class LogData{constructor(_0x5837ea,_0x2db938,_0x13d8c0,_0x4e6cc8,_0x186001,_0x3210ea){var _0x3cbcb8=a24_0x2c7dd3;this[_0x3cbcb8(0x135)]=_0x5837ea,this[_0x3cbcb8(0x136)]=_0x2db938,this['level']=_0x13d8c0,this[_0x3cbcb8(0x137)]=_0x4e6cc8,this[_0x3cbcb8(0x134)]=_0x186001,this['watchResultsJsonArray']=_0x3210ea;}}exports[a24_0x2c7dd3(0x133)]=LogData;
|