lightrun 1.27.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/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 +0 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x24b867=a17_0x4a57;function a17_0x4a57(_0x2a9b2d,_0x2e23fc){const _0x194993=a17_0x21c9();return a17_0x4a57=function(_0xa565a,_0x233639){_0xa565a=_0xa565a-0x152;let _0x21c9c3=_0x194993[_0xa565a];return _0x21c9c3;},a17_0x4a57(_0x2a9b2d,_0x2e23fc);}(function(_0x26a79e,_0x6e411c){const _0xaba027=a17_0x4a57,_0x1ff295=_0x26a79e();while(!![]){try{const _0x5dec5e=-parseInt(_0xaba027(0x206))/0x1+-parseInt(_0xaba027(0x234))/0x2+-parseInt(_0xaba027(0x175))/0x3*(-parseInt(_0xaba027(0x161))/0x4)+parseInt(_0xaba027(0x1ae))/0x5+parseInt(_0xaba027(0x1bf))/0x6*(-parseInt(_0xaba027(0x237))/0x7)+-parseInt(_0xaba027(0x1e7))/0x8+parseInt(_0xaba027(0x1d3))/0x9;if(_0x5dec5e===_0x6e411c)break;else _0x1ff295['push'](_0x1ff295['shift']());}catch(_0x214413){_0x1ff295['push'](_0x1ff295['shift']());}}}(a17_0x21c9,0x2619d));const a17_0x233639=(function(){let _0x596bd7=!![];return function(_0x7cd5,_0x1bcb6c){const _0x3a497d=_0x596bd7?function(){if(_0x1bcb6c){const _0x72e612=_0x1bcb6c['apply'](_0x7cd5,arguments);return _0x1bcb6c=null,_0x72e612;}}:function(){};return _0x596bd7=![],_0x3a497d;};}()),a17_0xa565a=a17_0x233639(this,function(){const _0x449629=a17_0x4a57;return a17_0xa565a[_0x449629(0x16b)]()[_0x449629(0x18a)](_0x449629(0x1f4))['toString']()['constructor'](a17_0xa565a)['search']('(((.+)+)+)+$');});a17_0xa565a();'use strict';var __classPrivateFieldSet=this&&this[a17_0x24b867(0x166)]||function(_0x3dd34a,_0x3a9382,_0x257230,_0x4c625e,_0x5ee60e){const _0xe2c23b=a17_0x24b867;if(_0x4c625e==='m')throw new TypeError(_0xe2c23b(0x172));if(_0x4c625e==='a'&&!_0x5ee60e)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x3a9382===_0xe2c23b(0x235)?_0x3dd34a!==_0x3a9382||!_0x5ee60e:!_0x3a9382[_0xe2c23b(0x20c)](_0x3dd34a))throw new TypeError(_0xe2c23b(0x1a4));return _0x4c625e==='a'?_0x5ee60e[_0xe2c23b(0x153)](_0x3dd34a,_0x257230):_0x5ee60e?_0x5ee60e['value']=_0x257230:_0x3a9382['set'](_0x3dd34a,_0x257230),_0x257230;},__classPrivateFieldGet=this&&this[a17_0x24b867(0x1a7)]||function(_0x96470c,_0xce2070,_0xdb9200,_0x161239){const _0x3cd7dd=a17_0x24b867;if(_0xdb9200==='a'&&!_0x161239)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0xce2070===_0x3cd7dd(0x235)?_0x96470c!==_0xce2070||!_0x161239:!_0xce2070['has'](_0x96470c))throw new TypeError(_0x3cd7dd(0x20e));return _0xdb9200==='m'?_0x161239:_0xdb9200==='a'?_0x161239[_0x3cd7dd(0x153)](_0x96470c):_0x161239?_0x161239[_0x3cd7dd(0x20f)]:_0xce2070[_0x3cd7dd(0x181)](_0x96470c);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_runningOnGCP,_Debuglet_getClusterNameFromMetadata,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a17_0x24b867(0x204)](exports,'__esModule',{'value':!![]}),exports[a17_0x24b867(0x197)]=exports[a17_0x24b867(0x17c)]=void 0x0;const assert=require('assert'),events_1=require(a17_0x24b867(0x16d)),extend=require(a17_0x24b867(0x22e)),fs=require('fs'),metadata=require(a17_0x24b867(0x215)),path=require(a17_0x24b867(0x1d1)),util=require(a17_0x24b867(0x236)),status_message_1=require(a17_0x24b867(0x1fe)),stackdriver_1=require(a17_0x24b867(0x23e)),agent_logger_1=require(a17_0x24b867(0x1c9)),config_1=require('./config'),controller_1=require('./controller'),SourceMapper=require(a17_0x24b867(0x1b7)),debugapi=require(a17_0x24b867(0x15c)),piping_manager_1=require(a17_0x24b867(0x173)),quota_manager_1=require(a17_0x24b867(0x19c)),patterns_blocklist_manager_1=require(a17_0x24b867(0x194)),scanner_1=require(a17_0x24b867(0x18e)),environment_metadata_1=require(a17_0x24b867(0x1d6)),file_index_1=require(a17_0x24b867(0x1c4)),utils_1=require(a17_0x24b867(0x162)),redaction_manager_1=require(a17_0x24b867(0x160)),configuration_provider_1=require('./configuration-provider'),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),mapSubtract_1=require(a17_0x24b867(0x1dc)),format_1=require(a17_0x24b867(0x1dd)),createDebuggee_1=require(a17_0x24b867(0x1c2)),readFilep=util[a17_0x24b867(0x22c)](fs[a17_0x24b867(0x196)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x367912,_0x104ac1)=>{const _0x4d6e8e=a17_0x24b867;let _0x5a94b5=_0x367912+util[_0x4d6e8e(0x189)](_0x4d6e8e(0x1f1),_0x104ac1['id'],_0x104ac1[_0x4d6e8e(0x16f)],util['inspect'](_0x104ac1[_0x4d6e8e(0x1f6)]));if(_0x104ac1[_0x4d6e8e(0x1d8)]){const _0x237daa=Number(_0x104ac1[_0x4d6e8e(0x1d8)][_0x4d6e8e(0x154)]),_0x30710e=new Date(_0x237daa*0x3e8);_0x5a94b5+=_0x4d6e8e(0x245)+_0x30710e[_0x4d6e8e(0x16b)]();}return _0x104ac1[_0x4d6e8e(0x1e8)]&&(_0x5a94b5+=_0x4d6e8e(0x1b9)+util[_0x4d6e8e(0x23c)](_0x104ac1[_0x4d6e8e(0x1e8)])),_0x104ac1[_0x4d6e8e(0x19d)]&&(_0x5a94b5+=_0x4d6e8e(0x19f)+util['inspect'](_0x104ac1[_0x4d6e8e(0x19d)])),_0x5a94b5;},formatBreakpoints=(_0x25688d,_0x17e846)=>{const _0x2d11b3=a17_0x24b867;return _0x25688d+Object[_0x2d11b3(0x1ab)](_0x17e846)[_0x2d11b3(0x167)](_0x76f031=>{return formatBreakpoint('',_0x17e846[_0x76f031]);})[_0x2d11b3(0x177)]('\x0a');};class CachedPromise{constructor(){const _0x3a87f0=a17_0x24b867;this[_0x3a87f0(0x224)]=null,this[_0x3a87f0(0x190)]=new Promise(_0x5cf986=>{this['promiseResolve']=_0x5cf986;});}[a17_0x24b867(0x181)](){const _0x48791d=a17_0x24b867;return this[_0x48791d(0x190)];}[a17_0x24b867(0x19a)](){const _0x618867=a17_0x24b867;this['promiseResolve']&&(this['promiseResolve'](),this[_0x618867(0x224)]=null);}}exports[a17_0x24b867(0x17c)]=CachedPromise;class IsReadyImpl{constructor(_0xd3f08f){const _0x1fbe0c=a17_0x24b867;this[_0x1fbe0c(0x1f8)]=_0xd3f08f;}[a17_0x24b867(0x213)](){const _0x491e6c=a17_0x24b867;return this['debuglet'][_0x491e6c(0x213)]();}}class Debuglet extends events_1['EventEmitter']{constructor(_0x51c19e,_0xd9fd25){const _0x3ae3df=a17_0x24b867;super(),_Debuglet_instances[_0x3ae3df(0x1df)](this),_Debuglet_debug[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_v8debug[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_running[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_controller[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x3ae3df(0x192)](this,null),this[_0x3ae3df(0x174)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_scanner[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_quotaManager[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_blocklistManager[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_redactionManager[_0x3ae3df(0x192)](this,void 0x0),_Debuglet_configProvider[_0x3ae3df(0x192)](this,void 0x0),this[_0x3ae3df(0x218)]=(0x0,normalizeConfig_1[_0x3ae3df(0x209)])(_0xd9fd25),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x3ae3df(0x1f0))](this[_0x3ae3df(0x218)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x51c19e,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x3ae3df(0x242)]=![],this[_0x3ae3df(0x1de)]=agent_logger_1['default'][_0x3ae3df(0x24c)](this[_0x3ae3df(0x218)]['agentLog'][_0x3ae3df(0x1e0)],this[_0x3ae3df(0x218)]['agentLog'][_0x3ae3df(0x182)],this['config'][_0x3ae3df(0x187)][_0x3ae3df(0x1ef)]),(0x0,config_1[_0x3ae3df(0x1ec)])(this[_0x3ae3df(0x218)],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x3ae3df(0x1be))](this[_0x3ae3df(0x1de)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x3ae3df(0x1de)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x3ae3df(0x176))](this[_0x3ae3df(0x1de)]),'f'),this[_0x3ae3df(0x1bc)]=null,this['activeBreakpointMap']={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x3ae3df(0x170))](this[_0x3ae3df(0x1de)],this[_0x3ae3df(0x218)]),'f'),this[_0x3ae3df(0x1a6)]=new piping_manager_1[(_0x3ae3df(0x23b))](_0x3ae3df(0x193),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x3ae3df(0x218)]);}async['findFiles'](_0x3997d2,_0xca68ce){const _0x51ca85=a17_0x24b867,_0x4cb321=_0x3997d2[_0x51ca85(0x188)],_0x5a9ee5=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x4cb321,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)['call'](Debuglet,_0x3997d2[_0x51ca85(0x17b)][_0x51ca85(0x18b)](_0x51ca85(0x219))),_0xca68ce,_0x3997d2[_0x51ca85(0x1e2)]),_0x82e2a2=_0x5a9ee5[_0x51ca85(0x1e9)](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x51ca85(0x153)](Debuglet,_0x3997d2['javascriptFileExtensions'])),_0x292b82=file_index_1[_0x51ca85(0x155)][_0x51ca85(0x185)](_0x82e2a2),_0x10d0d4=_0x5a9ee5[_0x51ca85(0x1ce)](/.js.map$/,process[_0x51ca85(0x16a)]()),_0x12f34b=_0x5a9ee5['errors']();return{'mapFiles':_0x10d0d4,'errors':_0x12f34b,'jsFileIndex':_0x292b82,'hash':_0x5a9ee5[_0x51ca85(0x1b3)]};}async[a17_0x24b867(0x217)](){const _0x1e1459=a17_0x24b867;var _0x5f5c12;const _0x5f5075=this,_0x1b94d7=_0x5f5075[_0x1e1459(0x218)][_0x1e1459(0x188)];if(!_0x5f5075['config'][_0x1e1459(0x202)]&&path[_0x1e1459(0x177)](_0x1b94d7,'..')===_0x1b94d7){const _0x153d4b=_0x1e1459(0x1f9)+_0x1e1459(0x198)+_0x1e1459(0x232)+'do\x20this.';_0x5f5075[_0x1e1459(0x1de)][_0x1e1459(0x1c5)](_0x153d4b),_0x5f5075[_0x1e1459(0x18d)](_0x1e1459(0x230),new Error(_0x153d4b));return;}let _0xaf02f5;process[_0x1e1459(0x1b4)][_0x1e1459(0x1db)]&&(_0xaf02f5=_0x1e1459(0x184)+process[_0x1e1459(0x1b4)][_0x1e1459(0x1db)]);let _0x4463d2,_0x874cfa=_0xaf02f5||'';try{_0x4463d2=await this[_0x1e1459(0x195)](_0x5f5075[_0x1e1459(0x218)],_0xaf02f5),_0x4463d2[_0x1e1459(0x1d7)][_0x1e1459(0x20a)](_0x5f5075[_0x1e1459(0x1de)]['warn']);}catch(_0x7b6cd4){_0x5f5075[_0x1e1459(0x1de)][_0x1e1459(0x1c5)]('Error\x20scanning\x20the\x20filesystem.',_0x7b6cd4),_0x5f5075[_0x1e1459(0x18d)]('initError',_0x7b6cd4);return;}try{const _0x2bbce2=await SourceMapper[_0x1e1459(0x238)](_0x4463d2[_0x1e1459(0x214)]);__classPrivateFieldSet(_0x5f5075,_Debuglet_v8debug,debugapi[_0x1e1459(0x238)](_0x5f5075[_0x1e1459(0x1de)],_0x5f5075[_0x1e1459(0x218)],_0x4463d2[_0x1e1459(0x171)],_0x2bbce2,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x874cfa=_0xaf02f5||_0x4463d2['hash'];}catch(_0x47eef){_0x5f5075['logger'][_0x1e1459(0x1c5)](_0x1e1459(0x1fa),_0x47eef),_0x5f5075[_0x1e1459(0x18d)](_0x1e1459(0x230),_0x47eef);}_0x5f5075[_0x1e1459(0x1de)]['info'](_0x1e1459(0x18c)+_0x874cfa);const _0x51c5f0=(0x0,utils_1['readFullVersion'])(_0x5f5075[_0x1e1459(0x1de)])['replace']('\x0a','');_0x5f5075[_0x1e1459(0x1de)]['info']('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x51c5f0);let _0x3b6434;try{_0x3b6434=_0x5f5075['config'][_0x1e1459(0x212)]||await Debuglet['getSourceContextFromFile']();}catch(_0x2747f5){}this[_0x1e1459(0x218)]['capture']&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x1e1459(0x1e3)]()===0x0&&(0x0,utils_1[_0x1e1459(0x216)])(process[_0x1e1459(0x24e)],_0x1e1459(0x1d9))&&_0x5f5075[_0x1e1459(0x1de)][_0x1e1459(0x15f)](utils_1['errors'][_0x1e1459(0x1a8)]),_0x5f5075['logger']['info'](_0x1e1459(0x24f)+((_0x5f5c12=process[_0x1e1459(0x226)])===null||_0x5f5c12===void 0x0?void 0x0:_0x5f5c12['filename'])),_0x5f5075['logger'][_0x1e1459(0x1ad)](_0x1e1459(0x1a1)+_0x1b94d7),_0x5f5075[_0x1e1459(0x1de)][_0x1e1459(0x1ad)](_0x1e1459(0x1e4)),__classPrivateFieldSet(_0x5f5075,_Debuglet_running,!![],'f'),_0x5f5075[_0x1e1459(0x1bc)]=(0x0,createDebuggee_1[_0x1e1459(0x157)])(_0x874cfa,_0x5f5075['config'],_0x3b6434,__classPrivateFieldGet(_0x5f5075,_Debuglet_debug,'f')['packageInfo'],_0x51c5f0,_0x5f5075[_0x1e1459(0x1de)],__classPrivateFieldGet(_0x5f5075,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x5f5075,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x1e1459(0x153)](_0x5f5075),__classPrivateFieldGet(_0x5f5075,_Debuglet_instances,'m',_Debuglet_register_)[_0x1e1459(0x153)](_0x5f5075),_0x5f5075[_0x1e1459(0x18d)](_0x1e1459(0x1cf));}[a17_0x24b867(0x213)](){const _0x177bca=a17_0x24b867;if(Date[_0x177bca(0x1b1)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x177bca(0x19a)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x177bca(0x181)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x177bca(0x181)]()[_0x177bca(0x1eb)](()=>{const _0x44318f=_0x177bca;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x44318f(0x153)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x177bca(0x181)]();}}static async[a17_0x24b867(0x208)](){const _0x433547=a17_0x24b867,_0x352ba9=await readFilep('source-context.json','utf8');try{return JSON['parse'](_0x352ba9);}catch(_0x45140e){throw new Error(_0x433547(0x152)+_0x45140e);}}[a17_0x24b867(0x21f)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x238c90=a17_0x24b867;var _0x1f4514;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x238c90(0x1de)][_0x238c90(0x1ad)](_0x238c90(0x15d));return;}this[_0x238c90(0x1de)]['debug']('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0x1f4514=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0x1f4514===void 0x0?void 0x0:_0x1f4514[_0x238c90(0x248)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x238c90(0x18d)](_0x238c90(0x17d));}}function a17_0x21c9(){const _0x21b2cf=['search','concat','Unique\x20ID\x20for\x20this\x20Application:\x20','emit','./io/scanner','filter','promise','quota','set','APP_ONLY','./blocklisting/patterns-blocklist-manager','findFiles','readFile','Debuglet','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','collectLogRequestId','resolve','stringify','./quota-manager','expressions','enqueueBreakpointUpdate','\x0a\x09expressions:\x20','unref','Working\x20directory:\x20','ALLOW_EXPRESSIONS_MESSAGE','LOG','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','listBreakpoints','pipingManager','__classPrivateFieldGet','NODE_10_CIRC_REF_MESSAGE','sendAgentLogsToServer','remotelyDisabled','keys','breakpoints_fetched','debug','444870UmsbIi','pattern','setPipingStatus','now','maxRequestRetryDelaySeconds','hash','env','all','push','./io/sourcemapper','info','\x0a\x09condition:\x20','registered','getBlocklist','debuggee','pipingStatus','EnvironmentMetadata','42srYqtt','quotaCheck','status','./debuglet-helpers/createDebuggee','UNSPECIFIED','./io/file-index','error','entries','globalPipingStatus','collectAndSendLog','./agent-logger','clear','removeBreakpoint','attributes/cluster-name','isArray','selectFiles','started','.\x20Retrying\x20in\x20','path','\x20to\x20','4747248LrQmiR','expirationTime','replaceRedactedByValue','./environment-metadata','errors','createTime','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','backoff','GAE_MINOR_VERSION','./debuglet-helpers/mapSubtract','./debuglet-helpers/format','logger','add','logsPath','\x09Long\x20poll\x20completed.','extraPaths','getMaxSnapshotBufferSize','Starting\x20debuggee','type','Scheduling\x20registration\x20in\x20','1082184CPdkUw','condition','selectStats','breakpointUpdateIntervalSec','then','logMainConfigParams','NODE_VERSION_MESSAGE','enable','stdErrThreshold','ConfigurationProvider','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','breakpoint_set','bind','(((.+)+)+)+$','default','location','instance','debuglet','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','Error\x20processing\x20the\x20sourcemaps.','isOutOfQuota','pid','register','../client/stackdriver/status-message','removePerBreakpointQuota','LOGPOINT:\x20','Breakpoint\x20hit!:\x20','allowRootAsWorkingDirectory','pipeLogs','defineProperty','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','197101iNrkNp','Registered\x20as\x20debuggee:\x20','getSourceContextFromFile','normalizeConfig','forEach','disable','has','expirationSeconds','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','value','kill','name','sourceContext','isReady','mapFiles','gcp-metadata','satisfies','start','config','js.map','CAPTURE','setPatterns','Active\x20Breakpoints:\x20\x0a','name:\x20','SIGINT','isRunning','internal','mapSubtract','SIGTERM','Server\x20breakpoints:\x0a','promiseResolve','Debuggee\x20is\x20not\x20registered','mainModule','waitExpired','./reduction/redaction-manager-re2js','setBlocklistManager','NOT_SET','Result:\x20\x0a','promisify','StatusMessage','extend','\x20(type:\x20','initError','isAvailable','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','Debuglet\x20not\x20running','302866eEMDVP','function','util','131229eAwnWZ','create','activeBreakpointMap','logLevel','PipingManager','inspect','deregister','../types/stackdriver','Switching\x20globalPiping\x20status\x20from\x20','parameters','):\x20pattern:\x20','fetcherActive','Expiring\x20breakpoint','description','\x0a\x09createdTime:\x20','once','object','clearTransmissionTimeout','\x09adding\x20breakpoint','getRedactions','remainingHits','createLogger','setIgnoreQuota','version','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','Malformed\x20source-context.json\x20file:\x20','call','seconds','FileIndex','Blacklist:\x20\x0a\x09','createDebuggee','ignoreQuota','Breakpoint','>=12','.\x20Error:\x20','./v8/debugapi','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','message','warn','./reduction/redaction-manager','618604JjhetP','./util/utils','split','addAndPipeLog','length','__classPrivateFieldSet','map','Failed\x20to\x20re-register\x20debuggee\x20','caseInsensitive','cwd','toString','Failed\x20to\x20register\x20debuggee:\x20','events','quotaRecoverySeconds','action','QuotaManager','jsFileIndex','Private\x20method\x20is\x20not\x20writable','./piping-manager','isReadyManager','3dCLevh','Scanner','join','\x20caseInsensitive:\x20','beforeExit','rejecting\x20breakpoint','javascriptFileExtensions','CachedPromise','stopped','blacklist_exception','sep','AGENT_LOG_FILE','get','level','redactionEnabled','GAE-','fromFileStats','data','agentLog','workingDirectory','format'];a17_0x21c9=function(){return _0x21b2cf;};return a17_0x21c9();}exports[a17_0x24b867(0x197)]=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(_0x4eb166){const _0xd43f19=a17_0x24b867;return new RegExp(_0x4eb166[_0xd43f19(0x167)](_0x580f6c=>_0x580f6c+'$')[_0xd43f19(0x177)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x5427ed=a17_0x24b867,_0x411002=[_0x5427ed(0x222),_0x5427ed(0x21e),'SIGQUIT'];_0x411002[_0x5427ed(0x20a)](_0xa958a=>{const _0x13a02b=_0x5427ed;process[_0x13a02b(0x246)](_0xa958a,()=>{const _0x4267fd=_0x13a02b;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x4267fd(0x1bc)],()=>{const _0x19a969=_0x4267fd;process[_0x19a969(0x210)](process[_0x19a969(0x1fc)],_0xa958a);});});}),process[_0x5427ed(0x246)](_0x5427ed(0x179),()=>{const _0x551dea=_0x5427ed;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x551dea(0x23d)](this[_0x551dea(0x1bc)],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){const _0x1c0eab=a17_0x24b867;return metadata[_0x1c0eab(0x231)]();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0x270316=a17_0x24b867;return(await metadata[_0x270316(0x1f7)](_0x270316(0x1cc)))[_0x270316(0x186)];},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x2daced){const _0x1dcb4e=a17_0x24b867,_0x29f008=this;_0x29f008['logger'][_0x1dcb4e(0x1ad)](_0x2daced?_0x1dcb4e(0x1e6)+_0x2daced+'s':'Registering\x20debuggee');function _0x56f99(_0x1ac18e,_0x2d262d){const _0x59a048=_0x1dcb4e;var _0x11f46c,_0x4d872e;const _0x37528b=((_0x11f46c=_0x29f008[_0x59a048(0x1bc)])===null||_0x11f46c===void 0x0?void 0x0:_0x11f46c['id'])?_0x59a048(0x168)+((_0x4d872e=_0x29f008[_0x59a048(0x1bc)])===null||_0x4d872e===void 0x0?void 0x0:_0x4d872e['id'])+':\x20'+_0x1ac18e:_0x59a048(0x16c)+_0x1ac18e;_0x29f008['logger'][_0x59a048(0x1c5)](_0x37528b),_0x2d262d&&_0x29f008[_0x59a048(0x1de)]['error'](_0x59a048(0x22b),_0x2d262d),__classPrivateFieldGet(_0x29f008,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](_0x29f008,(0x0,utils_1[_0x59a048(0x1da)])(_0x2daced,_0x29f008[_0x59a048(0x218)][_0x59a048(0x220)][_0x59a048(0x1b2)]));}setTimeout(()=>{const _0x4ed28f=_0x1dcb4e;if(!__classPrivateFieldGet(_0x29f008,_Debuglet_running,'f')){_0x56f99(new Error(_0x4ed28f(0x233)));return;}__classPrivateFieldGet(_0x29f008,_Debuglet_controller,'f')[_0x4ed28f(0x1fd)](_0x29f008[_0x4ed28f(0x1bc)],(_0x383c34,_0x1908dc)=>{const _0x7f0e87=_0x4ed28f;if(_0x383c34){_0x56f99(_0x383c34,_0x1908dc);return;}if(_0x1908dc[_0x7f0e87(0x1bc)]['isDisabled']){_0x56f99(new Error('Disabled\x20by\x20the\x20server')),_0x29f008[_0x7f0e87(0x18d)](_0x7f0e87(0x1aa));return;}const _0x386c5e=_0x1908dc['debuggee']['id'];_0x29f008[_0x7f0e87(0x1de)][_0x7f0e87(0x1b8)](_0x7f0e87(0x207)+_0x386c5e),_0x29f008[_0x7f0e87(0x1bc)]['id']=_0x386c5e;const _0x2b7b45=[__classPrivateFieldGet(_0x29f008,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x7f0e87(0x1f3)](_0x29f008)(_0x29f008[_0x7f0e87(0x1bc)]['id'])];_0x29f008[_0x7f0e87(0x218)][_0x7f0e87(0x183)]&&_0x2b7b45['push'](__classPrivateFieldGet(_0x29f008,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x7f0e87(0x1f3)](_0x29f008)(_0x29f008['debuggee']['id'])),Promise[_0x7f0e87(0x1b5)](_0x2b7b45)['then'](()=>{const _0x7c3dcb=_0x7f0e87;var _0x767713;_0x29f008[_0x7c3dcb(0x18d)](_0x7c3dcb(0x1ba),_0x386c5e),__classPrivateFieldGet(_0x29f008,_Debuglet_debuggeeRegistered,'f')[_0x7c3dcb(0x19a)](),(_0x767713=__classPrivateFieldGet(_0x29f008,_Debuglet_v8debug,'f'))===null||_0x767713===void 0x0?void 0x0:_0x767713[_0x7c3dcb(0x229)](__classPrivateFieldGet(_0x29f008,_Debuglet_blocklistManager,'f')),!_0x29f008[_0x7c3dcb(0x242)]&&__classPrivateFieldGet(_0x29f008,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x29f008,0x0,this[_0x7c3dcb(0x218)]['fetchBreakpointsOnce']);},_0x624194=>{_0x56f99(_0x624194);});});},_0x2daced*0x3e8)[_0x1dcb4e(0x1a0)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x55eaf3,_0x469ca4){const _0x1e9433=a17_0x24b867,_0xa079aa=this;!_0x469ca4&&(_0xa079aa[_0x1e9433(0x242)]=!![]),setTimeout(()=>{const _0xb2ff8a=_0x1e9433;if(!__classPrivateFieldGet(_0xa079aa,_Debuglet_running,'f'))return;!_0x469ca4&&assert(_0xa079aa[_0xb2ff8a(0x242)]),_0xa079aa[_0xb2ff8a(0x1de)][_0xb2ff8a(0x1b8)]('Fetching\x20breakpoints'),__classPrivateFieldGet(_0xa079aa,_Debuglet_controller,'f')[_0xb2ff8a(0x1a5)](_0xa079aa[_0xb2ff8a(0x1bc)],(_0x136483,_0x187061,_0x4663ca)=>{const _0x2080b4=_0xb2ff8a;if((_0x187061===null||_0x187061===void 0x0?void 0x0:_0x187061[_0x2080b4(0x1c1)])===0x194){_0xa079aa[_0x2080b4(0x1de)][_0x2080b4(0x1b8)](_0x2080b4(0x225)),_0xa079aa['fetcherActive']=![],__classPrivateFieldGet(_0xa079aa,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](_0xa079aa),__classPrivateFieldGet(_0xa079aa,_Debuglet_instances,'m',_Debuglet_register_)[_0x2080b4(0x153)](_0xa079aa);return;}if(_0x136483){const _0xd290b0=(0x0,utils_1['backoff'])(_0x55eaf3,_0xa079aa[_0x2080b4(0x218)][_0x2080b4(0x220)][_0x2080b4(0x1b2)]);_0xa079aa[_0x2080b4(0x1de)][_0x2080b4(0x1c5)]('\x09Got\x20error\x20from\x20server.\x20status:\x20'+(_0x187061===null||_0x187061===void 0x0?void 0x0:_0x187061['status'])+'.\x20message:\x20'+_0x136483[_0x2080b4(0x15e)]+_0x2080b4(0x1d0)+_0xd290b0+'s'),__classPrivateFieldGet(_0xa079aa,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2080b4(0x153)](_0xa079aa,_0xd290b0,_0x469ca4);return;}_0xa079aa[_0x2080b4(0x1de)][_0x2080b4(0x1b8)]('\x09'+_0x187061[_0x2080b4(0x1c1)]+'\x20completed.');if(!_0x4663ca){const _0x472dfb=_0xa079aa[_0x2080b4(0x218)][_0x2080b4(0x1ea)];_0xa079aa[_0x2080b4(0x1de)][_0x2080b4(0x1c5)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x472dfb+'s'),__classPrivateFieldGet(_0xa079aa,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2080b4(0x153)](_0xa079aa,_0x472dfb,_0x469ca4);return;}if(_0x4663ca[_0x2080b4(0x227)]){_0xa079aa[_0x2080b4(0x1de)][_0x2080b4(0x1b8)](_0x2080b4(0x1e1)),__classPrivateFieldGet(_0xa079aa,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0xa079aa,0x0,_0x469ca4);return;}if(_0x4663ca['pipeLogs']&&_0x4663ca[_0x2080b4(0x203)]!==_0x2080b4(0x22a)){const _0x583800=this['pipingManager'][_0x2080b4(0x1c7)];_0x583800!==_0x4663ca[_0x2080b4(0x203)]&&(this[_0x2080b4(0x1de)][_0x2080b4(0x1ad)](_0x2080b4(0x23f)+_0x583800+_0x2080b4(0x1d2)+_0x4663ca[_0x2080b4(0x203)]),this[_0x2080b4(0x1a6)]['globalPipingStatus']=_0x4663ca[_0x2080b4(0x203)]);}if(_0x4663ca[_0x2080b4(0x1c8)]&&_0x4663ca[_0x2080b4(0x199)]!==_0xa079aa['collectLogRequestId']){_0xa079aa[_0x2080b4(0x199)]=_0x4663ca[_0x2080b4(0x199)];const _0x20dde0=_0xa079aa[_0x2080b4(0x218)][_0x2080b4(0x187)][_0x2080b4(0x1e0)]&&path[_0x2080b4(0x177)](_0xa079aa[_0x2080b4(0x218)][_0x2080b4(0x187)][_0x2080b4(0x1e0)],agent_logger_1[_0x2080b4(0x1f5)][_0x2080b4(0x180)]);_0x20dde0&&fs['existsSync'](_0x20dde0)?setTimeout(()=>__classPrivateFieldGet(_0xa079aa,_Debuglet_controller,'f')[_0x2080b4(0x1a9)](_0xa079aa[_0x2080b4(0x1bc)],_0x4663ca['collectLogRequestId'],_0x20dde0)):_0xa079aa[_0x2080b4(0x1de)][_0x2080b4(0x1b8)]('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x4663ca['collectLogRequestId']+'\x20because\x20'+'logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits');}const _0x3767c3=(_0x4663ca['breakpoints']||[])[_0x2080b4(0x167)](_0xceb774=>new stackdriver_1[(_0x2080b4(0x159))](_0xceb774))[_0x2080b4(0x18f)](_0x360134=>{const _0x5512b4=_0x2080b4,_0x3aca82=_0x360134['action']||'CAPTURE';if(__classPrivateFieldGet(_0xa079aa,_Debuglet_completedBreakpointMap,'f')[_0x360134['id']])return![];if(_0x3aca82!==_0x5512b4(0x21a)&&_0x3aca82!=='LOG')return _0xa079aa[_0x5512b4(0x1de)][_0x5512b4(0x15f)]('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x3aca82),_0x360134['status']=new status_message_1['StatusMessage'](status_message_1[_0x5512b4(0x22d)][_0x5512b4(0x1c3)],utils_1[_0x5512b4(0x1d7)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(_0xa079aa,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x5512b4(0x153)](_0xa079aa,_0x360134),![];return!![];});__classPrivateFieldGet(_0xa079aa,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x2080b4(0x153)](_0xa079aa),__classPrivateFieldGet(_0xa079aa,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x2080b4(0x153)](_0xa079aa,_0x3767c3),_0xa079aa[_0x2080b4(0x18d)](_0x2080b4(0x1ac),_0x3767c3[_0x2080b4(0x165)]);Object[_0x2080b4(0x1ab)](_0xa079aa[_0x2080b4(0x239)])[_0x2080b4(0x165)]&&_0xa079aa[_0x2080b4(0x1de)][_0x2080b4(0x1b8)](formatBreakpoints(_0x2080b4(0x21c),_0xa079aa[_0x2080b4(0x239)]));__classPrivateFieldSet(_0xa079aa,_Debuglet_breakpointFetchedTimestamp,Date['now'](),'f');_0x469ca4?__classPrivateFieldGet(_0xa079aa,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0xa079aa,_Debuglet_breakpointFetched,'f')[_0x2080b4(0x19a)](),__classPrivateFieldSet(_0xa079aa,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0xa079aa,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2080b4(0x153)](_0xa079aa,0x0,_0x469ca4);return;});},_0x55eaf3*0x3e8)[_0x1e9433(0x1a0)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x5004c6=a17_0x24b867;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5004c6(0x19a)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x1560ac){const _0x417b6f=a17_0x24b867,_0xef9b7=this,_0x2dc7b3=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x417b6f(0x153)](this,_0x1560ac);_0x1560ac[_0x417b6f(0x165)]&&_0xef9b7['logger']['info'](formatBreakpoints(_0x417b6f(0x223),_0x2dc7b3)),_0x1560ac['forEach'](_0x4bb40d=>{const _0x7c41c=_0x417b6f;!__classPrivateFieldGet(_0xef9b7,_Debuglet_completedBreakpointMap,'f')[_0x4bb40d['id']]&&!_0xef9b7['activeBreakpointMap'][_0x4bb40d['id']]&&(__classPrivateFieldGet(_0xef9b7,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x7c41c(0x153)](_0xef9b7,_0x4bb40d,_0x11eafc=>{const _0x2f909b=_0x7c41c;_0x11eafc&&__classPrivateFieldGet(_0xef9b7,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x2f909b(0x153)](_0xef9b7,_0x4bb40d,!![],![]);}),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x4bb40d['id'])),__classPrivateFieldGet(_0xef9b7,_Debuglet_quotaManager,'f')[_0x7c41c(0x24d)](_0x4bb40d['id'],_0x4bb40d[_0x7c41c(0x158)]),_0xef9b7[_0x7c41c(0x1a6)][_0x7c41c(0x1b0)](_0x4bb40d['id'],_0x4bb40d[_0x7c41c(0x1bd)]);}),(0x0,mapSubtract_1[_0x417b6f(0x221)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x2dc7b3)['forEach'](_0x32ce0a=>{delete __classPrivateFieldGet(_0xef9b7,_Debuglet_completedBreakpointMap,'f')[_0x32ce0a['id']];}),(0x0,mapSubtract_1[_0x417b6f(0x221)])(this[_0x417b6f(0x239)],_0x2dc7b3)[_0x417b6f(0x20a)](_0x6a5948=>{const _0xa53e14=_0x417b6f;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0xa53e14(0x153)](this,_0x6a5948,!![]);});},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x9a767c){const _0x216f26=a17_0x24b867,_0x2051d0={};return _0x9a767c[_0x216f26(0x20a)](_0x2a599c=>{_0x2051d0[_0x2a599c['id']]=_0x2a599c;}),_0x2051d0;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x261df5,_0x1ae5a6){const _0x45e9d2=a17_0x24b867;this['logger']['info']('\x09remove\x20breakpoint',_0x261df5),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x45e9d2(0x1ff)](_0x261df5['id']),this[_0x45e9d2(0x1a6)][_0x45e9d2(0x1cb)](_0x261df5['id']),delete this[_0x45e9d2(0x239)][_0x261df5['id']],_0x1ae5a6&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x45e9d2(0x1ca)](_0x261df5,_0x541664=>{const _0x1e16c7=_0x45e9d2;if(_0x541664)this['logger'][_0x1e16c7(0x1c5)](_0x541664);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x19cd2d,_0x4c9d4c){const _0x430fac=a17_0x24b867;var _0x2ef955;const _0x4197f0=this;_0x4197f0[_0x430fac(0x1de)][_0x430fac(0x1b8)](_0x430fac(0x249),_0x19cd2d);if(!_0x4197f0[_0x430fac(0x218)]['allowExpressions']&&(_0x19cd2d[_0x430fac(0x1e8)]||_0x19cd2d['expressions'])){_0x4197f0['logger'][_0x430fac(0x1c5)](utils_1['errors'][_0x430fac(0x1a2)][_0x430fac(0x244)]||''),_0x19cd2d['status']=new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0x430fac(0x1c3)],utils_1[_0x430fac(0x1d7)][_0x430fac(0x1a2)],!![]),setImmediate(()=>{const _0x2f713a=_0x430fac;_0x4c9d4c(utils_1['errors'][_0x2f713a(0x1a2)]);});return;}if((0x0,utils_1[_0x430fac(0x216)])(process[_0x430fac(0x24e)],'5.2\x20||\x20<4')){const _0x29ab34=utils_1[_0x430fac(0x1d7)][_0x430fac(0x1ed)];_0x4197f0[_0x430fac(0x1de)][_0x430fac(0x1c5)](_0x29ab34),_0x19cd2d[_0x430fac(0x1c1)]=new status_message_1[(_0x430fac(0x22d))](status_message_1['StatusMessage'][_0x430fac(0x1c3)],_0x29ab34,!![]),setImmediate(()=>{_0x4c9d4c(_0x29ab34);});return;}const _0x3f2b72=_0x19cd2d['createTime']?Number(_0x19cd2d['createTime'][_0x430fac(0x154)]):Date[_0x430fac(0x1b1)]()/0x3e8,_0x4d4faf=_0x19cd2d[_0x430fac(0x20d)]||_0x4197f0[_0x430fac(0x218)]['breakpointExpirationSec'];_0x19cd2d[_0x430fac(0x1d4)]=_0x3f2b72+_0x4d4faf,((_0x2ef955=_0x19cd2d[_0x430fac(0x1f6)])===null||_0x2ef955===void 0x0?void 0x0:_0x2ef955[_0x430fac(0x1d1)])&&(_0x19cd2d[_0x430fac(0x1f6)][_0x430fac(0x1d1)]=path['normalize'](_0x19cd2d[_0x430fac(0x1f6)][_0x430fac(0x1d1)]),path[_0x430fac(0x17f)]===path['posix'][_0x430fac(0x17f)]&&(_0x19cd2d[_0x430fac(0x1f6)][_0x430fac(0x1d1)]=_0x19cd2d[_0x430fac(0x1f6)][_0x430fac(0x1d1)][_0x430fac(0x163)]('\x5c')[_0x430fac(0x177)](path[_0x430fac(0x17f)]))),__classPrivateFieldGet(_0x4197f0,_Debuglet_v8debug,'f')[_0x430fac(0x192)](_0x19cd2d,_0xa928e9=>{const _0x112b02=_0x430fac;if(_0xa928e9){_0x4c9d4c(_0xa928e9);return;}_0x4197f0[_0x112b02(0x1de)]['info']('\x09successfully\x20added\x20breakpoint',_0x19cd2d),_0x4197f0[_0x112b02(0x239)][_0x19cd2d['id']]=_0x19cd2d,_0x19cd2d[_0x112b02(0x16f)]===_0x112b02(0x1a3)?__classPrivateFieldGet(_0x4197f0,_Debuglet_v8debug,'f')['log'](_0x19cd2d,(_0x244b0f,_0x40190d)=>{const _0x1b3b3d=_0x112b02;var _0x3d8501,_0x4fe935,_0x5d2fde,_0x3c65d8;const _0x428dc2=_0x40190d[_0x1b3b3d(0x167)](_0x416574=>__classPrivateFieldGet(_0x4197f0,_Debuglet_instances,'m',_Debuglet_stringify)['call'](_0x4197f0,_0x416574)),_0x320abe=(0x0,format_1[_0x1b3b3d(0x189)])(_0x244b0f,_0x428dc2),_0x37d0d9=_0x1b3b3d(0x200)+(((_0x3d8501=__classPrivateFieldGet(_0x4197f0,_Debuglet_redactionManager,'f'))===null||_0x3d8501===void 0x0?void 0x0:_0x3d8501[_0x1b3b3d(0x1d5)](_0x320abe))||_0x320abe),_0x73660=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1b3b3d(0x1c0)](_0x37d0d9,_0x19cd2d['id']);if(_0x73660){const _0x1fdc07=_0x73660['message'],_0x174302=_0x73660[_0x1b3b3d(0x1fb)];let _0xaa7196,_0xfa6ec9;!((_0x4fe935=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x4fe935===void 0x0?void 0x0:_0x4fe935['isRedactionActive']())&&!_0x174302&&(_0xaa7196=_0x1b3b3d(0x200)+_0x244b0f,_0xfa6ec9=_0x428dc2);_0x4197f0['pipingManager'][_0x1b3b3d(0x164)](_0x4197f0['debuggee'],_0x19cd2d['id'],_0x1fdc07,_0x19cd2d[_0x1b3b3d(0x23a)],_0xaa7196,_0xfa6ec9);if(_0x174302)(_0x5d2fde=__classPrivateFieldGet(_0x4197f0,_Debuglet_v8debug,'f'))===null||_0x5d2fde===void 0x0?void 0x0:_0x5d2fde[_0x1b3b3d(0x20b)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x2472ba=_0x1b3b3d;var _0x4636d9;(_0x4636d9=__classPrivateFieldGet(_0x4197f0,_Debuglet_v8debug,'f'))===null||_0x4636d9===void 0x0?void 0x0:_0x4636d9[_0x2472ba(0x1ee)](),__classPrivateFieldSet(_0x4197f0,_Debuglet_nextEnableTimeout,null,'f');},_0x4197f0[_0x1b3b3d(0x218)][_0x1b3b3d(0x191)][_0x1b3b3d(0x16e)]*0x3e8),'f');else(_0x1fdc07===null||_0x1fdc07===void 0x0?void 0x0:_0x1fdc07[_0x1b3b3d(0x165)])===0x0&&((_0x3c65d8=__classPrivateFieldGet(_0x4197f0,_Debuglet_v8debug,'f'))===null||_0x3c65d8===void 0x0?void 0x0:_0x3c65d8[_0x1b3b3d(0x20b)]());}},()=>{return __classPrivateFieldGet(_0x4197f0,_Debuglet_completedBreakpointMap,'f')[_0x19cd2d['id']];},_0x4792e8=>{const _0x3ab572=_0x112b02;if(_0x4792e8){_0x4197f0[_0x3ab572(0x1de)]['error'](_0x4792e8),_0x4c9d4c(_0x4792e8);return;}}):__classPrivateFieldGet(_0x4197f0,_Debuglet_v8debug,'f')['wait'](_0x19cd2d,_0x1535c0=>{const _0x11d77c=_0x112b02;if(_0x1535c0){setImmediate(()=>{const _0x4152ec=a17_0x4a57;_0x4197f0[_0x4152ec(0x1de)][_0x4152ec(0x1c5)](_0x1535c0),_0x4c9d4c(_0x1535c0);});return;}_0x4197f0[_0x11d77c(0x1de)][_0x11d77c(0x1b8)](_0x11d77c(0x201),_0x19cd2d),__classPrivateFieldGet(_0x4197f0,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x11d77c(0x153)](_0x4197f0,_0x19cd2d,__classPrivateFieldGet(_0x4197f0,_Debuglet_v8debug,'f')[_0x11d77c(0x24b)](_0x19cd2d['id'])<=0x0);}),__classPrivateFieldGet(_0x4197f0,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)['call'](_0x4197f0,_0x19cd2d);}),this[_0x430fac(0x18d)](_0x430fac(0x1f2));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x442d9f,_0x18756b,_0xf42c92=!![]){const _0x4c2c36=a17_0x24b867;var _0x40e772,_0x4f7876,_0x4ced40,_0x2f0350,_0x197f43,_0x487242;const _0x4be108=this;if(_0x442d9f[_0x4c2c36(0x1c1)]&&_0x442d9f[_0x4c2c36(0x1c1)]['isError']){let _0x265caa=((_0x4f7876=(_0x40e772=_0x442d9f[_0x4c2c36(0x1c1)])===null||_0x40e772===void 0x0?void 0x0:_0x40e772[_0x4c2c36(0x244)])===null||_0x4f7876===void 0x0?void 0x0:_0x4f7876[_0x4c2c36(0x189)])||'';((_0x2f0350=(_0x4ced40=_0x442d9f[_0x4c2c36(0x1c1)])===null||_0x4ced40===void 0x0?void 0x0:_0x4ced40[_0x4c2c36(0x244)])===null||_0x2f0350===void 0x0?void 0x0:_0x2f0350[_0x4c2c36(0x240)])&&(_0x265caa+=':\x20'+((_0x487242=(_0x197f43=_0x442d9f[_0x4c2c36(0x1c1)])===null||_0x197f43===void 0x0?void 0x0:_0x197f43[_0x4c2c36(0x244)])===null||_0x487242===void 0x0?void 0x0:_0x487242[_0x4c2c36(0x240)]['toString']())),_0x4be108[_0x4c2c36(0x1de)][_0x4c2c36(0x15f)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x442d9f+_0x4c2c36(0x15b)+_0x265caa);}else _0x4be108[_0x4c2c36(0x1de)][_0x4c2c36(0x1b8)](_0x4c2c36(0x205),_0x442d9f);_0x18756b&&(__classPrivateFieldGet(_0x4be108,_Debuglet_completedBreakpointMap,'f')[_0x442d9f['id']]=!![],__classPrivateFieldGet(_0x4be108,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x4c2c36(0x153)](_0x4be108,_0x442d9f,_0xf42c92)),__classPrivateFieldGet(_0x4be108,_Debuglet_controller,'f')[_0x4c2c36(0x19e)](_0x4be108[_0x4c2c36(0x1bc)],extend(!![],{},_0x442d9f));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x9391c0){const _0x2ea3d7=a17_0x24b867,_0x418cd0=this;_0x418cd0[_0x2ea3d7(0x1de)][_0x2ea3d7(0x1ad)]('reporting\x20breakpoint\x20'+_0x9391c0+'\x20accepted\x20by\x20agent');const _0x40a109=extend(!![],{},_0x9391c0);_0x40a109['isFinalState']=![],_0x40a109[_0x2ea3d7(0x1c1)]=new status_message_1[(_0x2ea3d7(0x22d))](status_message_1['StatusMessage']['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(_0x418cd0,_Debuglet_controller,'f')[_0x2ea3d7(0x19e)](_0x418cd0[_0x2ea3d7(0x1bc)],_0x40a109);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0xf720aa){const _0x5d50ba=a17_0x24b867,_0x5ec6b1=this;this['logger'][_0x5d50ba(0x1b8)](_0x5d50ba(0x17a),_0xf720aa),__classPrivateFieldGet(_0x5ec6b1,_Debuglet_completedBreakpointMap,'f')[_0xf720aa['id']]=!![],__classPrivateFieldGet(_0x5ec6b1,_Debuglet_controller,'f')[_0x5d50ba(0x19e)](_0x5ec6b1[_0x5d50ba(0x1bc)],_0xf720aa);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(){const _0x52bce4=a17_0x24b867,_0x46e0fe=this,_0x188711=Date[_0x52bce4(0x1b1)]()/0x3e8;Object['values'](this[_0x52bce4(0x239)])[_0x52bce4(0x18f)](_0x18f427=>_0x18f427[_0x52bce4(0x1d4)]?_0x18f427['expirationTime']<_0x188711:![])[_0x52bce4(0x20a)](_0x2dcabe=>{const _0x54d6eb=_0x52bce4;_0x46e0fe[_0x54d6eb(0x1de)][_0x54d6eb(0x1b8)](_0x54d6eb(0x243),_0x2dcabe),__classPrivateFieldGet(_0x46e0fe,_Debuglet_completedBreakpointMap,'f')[_0x2dcabe['id']]=!![],__classPrivateFieldGet(_0x46e0fe,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x46e0fe,_0x2dcabe,!![]);});},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0xa425ef){const _0x12ed76=a17_0x24b867,_0x217a60=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x12ed76(0x1bb)](_0xa425ef),_0x2a7048=_0x217a60['blacklist'],_0x1cef89=_0x217a60[_0x12ed76(0x17e)];_0x2a7048&&_0x2a7048[_0x12ed76(0x165)]&&this['logger'][_0x12ed76(0x1ad)](_0x12ed76(0x156),_0x2a7048['join']('\x0a\x09')),_0x1cef89&&_0x1cef89[_0x12ed76(0x165)]&&this[_0x12ed76(0x1de)][_0x12ed76(0x1ad)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x1cef89[_0x12ed76(0x177)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x2a7048,_0x1cef89,this[_0x12ed76(0x218)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x145657){const _0x5b16c8=a17_0x24b867;var _0x5e2aa2;const _0x4f6697=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5b16c8(0x24a)](_0x145657);(_0x4f6697===null||_0x4f6697===void 0x0?void 0x0:_0x4f6697['length'])&&this[_0x5b16c8(0x1de)]['debug']('Redactions:\x20\x0a\x09',_0x4f6697[_0x5b16c8(0x167)](_0x43261e=>_0x5b16c8(0x21d)+_0x43261e[_0x5b16c8(0x211)]+_0x5b16c8(0x22f)+_0x43261e[_0x5b16c8(0x1e5)]+_0x5b16c8(0x241)+_0x43261e[_0x5b16c8(0x1af)]+_0x5b16c8(0x178)+_0x43261e[_0x5b16c8(0x169)])[_0x5b16c8(0x177)]('\x0a\x09'));if((0x0,utils_1[_0x5b16c8(0x216)])(process[_0x5b16c8(0x24e)],_0x5b16c8(0x15a))){const {RedactionManagerRE2JS:_0x31ebe7}=await Promise[_0x5b16c8(0x19a)]()['then'](()=>require(_0x5b16c8(0x228)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x31ebe7(this[_0x5b16c8(0x1de)]),'f'),(_0x5e2aa2=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x5e2aa2===void 0x0?void 0x0:_0x5e2aa2[_0x5b16c8(0x21b)](_0x4f6697);}},_Debuglet_stringify=function _Debuglet_stringify(_0x3c661b){const _0x106062=a17_0x24b867;if(!_0x3c661b)return JSON[_0x106062(0x19b)](_0x3c661b);if(Array[_0x106062(0x1cd)](_0x3c661b)){const _0x413ff9=[];for(const _0x3b65eb of _0x3c661b){_0x413ff9[_0x106062(0x1b6)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x106062(0x153)](this,_0x3b65eb));}return'['+_0x413ff9[_0x106062(0x177)](',\x20')+']';}if(typeof _0x3c661b===_0x106062(0x247)){const _0x32bf34=Object[_0x106062(0x1c6)](_0x3c661b)['map'](([_0x385ec8,_0x5c2536])=>{const _0x1ebe23=_0x106062;var _0x387a8f;const _0x88a5d2=((_0x387a8f=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x387a8f===void 0x0?void 0x0:_0x387a8f['shouldRedactByName'](_0x385ec8))?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1ebe23(0x153)](this,_0x5c2536);return JSON[_0x1ebe23(0x19b)](_0x385ec8)+':\x20'+_0x88a5d2;})[_0x106062(0x177)](',\x20');return'{'+_0x32bf34+'}';}return JSON[_0x106062(0x19b)](_0x3c661b);});
|
|
1
|
+
const a17_0x599a9f=a17_0x4369;(function(_0x14bf46,_0x9e8130){const _0x19c6e1=a17_0x4369,_0x409c7e=_0x14bf46();while(!![]){try{const _0x3bf80c=parseInt(_0x19c6e1(0x184))/0x1+parseInt(_0x19c6e1(0x14a))/0x2*(-parseInt(_0x19c6e1(0xaf))/0x3)+-parseInt(_0x19c6e1(0x155))/0x4*(parseInt(_0x19c6e1(0xdb))/0x5)+parseInt(_0x19c6e1(0x10c))/0x6*(-parseInt(_0x19c6e1(0x17b))/0x7)+parseInt(_0x19c6e1(0xf6))/0x8+-parseInt(_0x19c6e1(0xe1))/0x9+parseInt(_0x19c6e1(0xff))/0xa;if(_0x3bf80c===_0x9e8130)break;else _0x409c7e['push'](_0x409c7e['shift']());}catch(_0x202326){_0x409c7e['push'](_0x409c7e['shift']());}}}(a17_0x4de1,0xd8191));const a17_0x30d98f=(function(){let _0x3dd67c=!![];return function(_0x14f8fb,_0x544a09){const _0x307507=_0x3dd67c?function(){const _0x507b4c=a17_0x4369;if(_0x544a09){const _0x3923e0=_0x544a09[_0x507b4c(0x186)](_0x14f8fb,arguments);return _0x544a09=null,_0x3923e0;}}:function(){};return _0x3dd67c=![],_0x307507;};}()),a17_0x4c0b3d=a17_0x30d98f(this,function(){const _0x35e1ff=a17_0x4369;return a17_0x4c0b3d['toString']()[_0x35e1ff(0x19c)](_0x35e1ff(0x156))[_0x35e1ff(0x11e)]()[_0x35e1ff(0xb0)](a17_0x4c0b3d)[_0x35e1ff(0x19c)](_0x35e1ff(0x156));});a17_0x4c0b3d();function a17_0x4de1(){const _0x3c50ab=['\x20caseInsensitive:\x20','\x09successfully\x20added\x20breakpoint','./piping-manager','attributes/cluster-name','value','action','39854330wSMuhJ','mapFiles','location','setIgnoreQuota','\x09remove\x20breakpoint','enqueueBreakpointUpdate','promise','description','format','Debuglet','stdErrThreshold','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','error','3233046moGKZd','env','resolve','removePerBreakpointQuota','values','default','filter','SIGINT','filename','keys','Unique\x20ID\x20for\x20this\x20Application:\x20','scan','workingDirectory','satisfies','call','isReadyManager','assert','function','toString','config','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','info','CAPTURE','Error\x20scanning\x20the\x20filesystem.','Failed\x20to\x20re-register\x20debuggee\x20','Switching\x20globalPiping\x20status\x20from\x20','now','expressions','length','GAE-','path','blacklist_exception','wait','./environment-metadata','APP_ONLY','started','replaceRedactedByValue','quotaCheck','forEach','createTime','shouldRedactByName','StatusMessage','Working\x20directory:\x20','getProps','Scanner','quota','instance','./configuration-provider','FileIndex','\x0a\x09createdTime:\x20','./util/utils','>=12','pipeLogs','EventEmitter','fetcherActive','.\x20Retrying\x20in\x20','../types/stackdriver','addAndPipeLog','isDisabled','events','isOutOfQuota','PatternsBlocklistManager','498572umFTiM','getRedactions','Active\x20Breakpoints:\x20\x0a','Blacklist\x20Exceptions:\x20\x0a\x09','selectStats','sep','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','breakpointExpirationSec','Breakpoint','existsSync','100cDlRAJ','(((.+)+)+)+$','expirationTime','ConfigurationProvider','concat','backoff','warn','./debuglet-helpers/createDebuggee','javascriptFileExtensions','createPerBreakpointConditionQuota','./config','seconds','initError','internal','Server\x20breakpoints:\x0a','Registering\x20debuggee','set','getMaxSnapshotBufferSize','cwd','message','defineProperty','./controller','isRunning','breakpoints','utf8','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','emit','Breakpoint\x20hit!:\x20','BREAKPOINT_ACTION_MESSAGE','map','./debuglet-helpers/format','__classPrivateFieldSet','maxRequestRetryDelaySeconds','debug','\x09Got\x20error\x20from\x20server.\x20status:\x20','PipingManager','UNSPECIFIED','create','14jkawiG','unref','createDebuggee','./quota-manager','Redactions:\x20\x0a\x09','breakpoint_set','reporting\x20breakpoint\x20','AGENT_LOG_FILE','LOG','409700EMktPq','hash','apply','allowRootAsWorkingDirectory','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','parameters','LOGPOINT:\x20','getBlocklist','.\x20Error:\x20','promiseResolve','NOT_SET','blacklist','./blocklisting/patterns-blocklist-manager','object','\x20to\x20','inspect','isFinalState','data','quotaRecoverySeconds','activeBreakpointMap','SIGTERM','sourceContext','remainingHits','debuglet','search','entries','./io/sourcemapper','parse','then','logsPath','split','GAE_MINOR_VERSION','./debuglet-helpers/mapSubtract','pattern','logger','pipingManager','condition','push','disable','\x09adding\x20breakpoint','18EvqmrY','constructor','stringify','remotelyDisabled','createLogger','rejecting\x20breakpoint','ALLOW_EXPRESSIONS_MESSAGE','getSourceContextFromFile','isReady','replace','registered','isArray','mapSubtract','pipingStatus','./debuglet-helpers/normalizeConfig','expirationSeconds','join','readFile','agentLog','.\x20message:\x20','ignoreQuota','__esModule','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','posix','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','./reduction/redaction-manager','Scheduling\x20registration\x20in\x20','collectLogRequestId','removeBreakpoint','Private\x20method\x20is\x20not\x20writable','globalPipingStatus','normalize','Fetching\x20breakpoints','listBreakpoints','fetchBreakpointsOnce','debuggee','kill','util','beforeExit','log','__classPrivateFieldGet','Initializing\x20Node.js\x20agent\x20version:\x20','sendAgentLogsToServer','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','5825jonyfC','logMainConfigParams','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','breakpointUpdateIntervalSec','setPipingStatus','QuotaManager','11082096Ivyxli','):\x20pattern:\x20','name','Debuglet\x20not\x20running','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','jsFileIndex','fromFileStats','findFiles','allowExpressions','get','Blacklist:\x20\x0a\x09','Controller','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','status','\x20accepted\x20by\x20agent','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','version','register','bind','./reduction/redaction-manager-re2js','./io/scanner','2590968yhYyKj','deregister','errors'];a17_0x4de1=function(){return _0x3c50ab;};return a17_0x4de1();}'use strict';var __classPrivateFieldSet=this&&this[a17_0x599a9f(0x174)]||function(_0x54b707,_0x28fb3e,_0x17fce6,_0x325c96,_0x56e476){const _0x467d5c=a17_0x599a9f;if(_0x325c96==='m')throw new TypeError(_0x467d5c(0xcc));if(_0x325c96==='a'&&!_0x56e476)throw new TypeError(_0x467d5c(0x151));if(typeof _0x28fb3e===_0x467d5c(0x11d)?_0x54b707!==_0x28fb3e||!_0x56e476:!_0x28fb3e['has'](_0x54b707))throw new TypeError(_0x467d5c(0x120));return _0x325c96==='a'?_0x56e476[_0x467d5c(0x11a)](_0x54b707,_0x17fce6):_0x56e476?_0x56e476[_0x467d5c(0xfd)]=_0x17fce6:_0x28fb3e['set'](_0x54b707,_0x17fce6),_0x17fce6;},__classPrivateFieldGet=this&&this[a17_0x599a9f(0xd7)]||function(_0x172930,_0x12fbd0,_0x233eea,_0x390945){const _0x5a4462=a17_0x599a9f;if(_0x233eea==='a'&&!_0x390945)throw new TypeError(_0x5a4462(0xc5));if(typeof _0x12fbd0===_0x5a4462(0x11d)?_0x172930!==_0x12fbd0||!_0x390945:!_0x12fbd0['has'](_0x172930))throw new TypeError(_0x5a4462(0xf0));return _0x233eea==='m'?_0x390945:_0x233eea==='a'?_0x390945[_0x5a4462(0x11a)](_0x172930):_0x390945?_0x390945[_0x5a4462(0xfd)]:_0x12fbd0[_0x5a4462(0xea)](_0x172930);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_runningOnGCP,_Debuglet_getClusterNameFromMetadata,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a17_0x599a9f(0x169)](exports,a17_0x599a9f(0xc4),{'value':!![]}),exports[a17_0x599a9f(0x108)]=exports['CachedPromise']=void 0x0;const assert=require(a17_0x599a9f(0x11c)),events_1=require(a17_0x599a9f(0x147)),extend=require('extend'),fs=require('fs'),metadata=require('gcp-metadata'),path=require(a17_0x599a9f(0x12a)),util=require(a17_0x599a9f(0xd4)),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a17_0x599a9f(0x144)),agent_logger_1=require('./agent-logger'),config_1=require(a17_0x599a9f(0x15f)),controller_1=require(a17_0x599a9f(0x16a)),SourceMapper=require(a17_0x599a9f(0x19e)),debugapi=require('./v8/debugapi'),piping_manager_1=require(a17_0x599a9f(0xfb)),quota_manager_1=require(a17_0x599a9f(0x17e)),patterns_blocklist_manager_1=require(a17_0x599a9f(0x190)),scanner_1=require(a17_0x599a9f(0xf5)),environment_metadata_1=require(a17_0x599a9f(0x12d)),file_index_1=require('./io/file-index'),utils_1=require(a17_0x599a9f(0x13e)),redaction_manager_1=require(a17_0x599a9f(0xc8)),configuration_provider_1=require(a17_0x599a9f(0x13b)),normalizeConfig_1=require(a17_0x599a9f(0xbd)),mapSubtract_1=require(a17_0x599a9f(0x1a4)),format_1=require(a17_0x599a9f(0x173)),createDebuggee_1=require(a17_0x599a9f(0x15c)),readFilep=util['promisify'](fs[a17_0x599a9f(0xc0)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0xb89ba1,_0x52ec36)=>{const _0x5d524d=a17_0x599a9f;let _0x42b2d1=_0xb89ba1+util[_0x5d524d(0x107)](_0x5d524d(0xdd),_0x52ec36['id'],_0x52ec36[_0x5d524d(0xfe)],util['inspect'](_0x52ec36[_0x5d524d(0x101)]));if(_0x52ec36['createTime']){const _0x2efa69=Number(_0x52ec36[_0x5d524d(0x133)][_0x5d524d(0x160)]),_0x545d61=new Date(_0x2efa69*0x3e8);_0x42b2d1+=_0x5d524d(0x13d)+_0x545d61[_0x5d524d(0x11e)]();}return _0x52ec36[_0x5d524d(0xab)]&&(_0x42b2d1+='\x0a\x09condition:\x20'+util[_0x5d524d(0x193)](_0x52ec36[_0x5d524d(0xab)])),_0x52ec36[_0x5d524d(0x127)]&&(_0x42b2d1+='\x0a\x09expressions:\x20'+util[_0x5d524d(0x193)](_0x52ec36[_0x5d524d(0x127)])),_0x42b2d1;},formatBreakpoints=(_0x5e834c,_0x4e4c9b)=>{const _0x31f1ae=a17_0x599a9f;return _0x5e834c+Object[_0x31f1ae(0x115)](_0x4e4c9b)[_0x31f1ae(0x172)](_0xfc97dc=>{return formatBreakpoint('',_0x4e4c9b[_0xfc97dc]);})[_0x31f1ae(0xbf)]('\x0a');};class CachedPromise{constructor(){const _0x1abb3b=a17_0x599a9f;this[_0x1abb3b(0x18d)]=null,this[_0x1abb3b(0x105)]=new Promise(_0x1ecd21=>{const _0x5c3496=_0x1abb3b;this[_0x5c3496(0x18d)]=_0x1ecd21;});}[a17_0x599a9f(0xea)](){const _0x1a31b9=a17_0x599a9f;return this[_0x1a31b9(0x105)];}[a17_0x599a9f(0x10e)](){const _0x525d90=a17_0x599a9f;this[_0x525d90(0x18d)]&&(this[_0x525d90(0x18d)](),this[_0x525d90(0x18d)]=null);}}exports['CachedPromise']=CachedPromise;class IsReadyImpl{constructor(_0x55f462){const _0x5e9ea8=a17_0x599a9f;this[_0x5e9ea8(0x19b)]=_0x55f462;}[a17_0x599a9f(0xb7)](){return this['debuglet']['isReady']();}}function a17_0x4369(_0xfa2554,_0x31b937){const _0x3f8d7f=a17_0x4de1();return a17_0x4369=function(_0x4c0b3d,_0x30d98f){_0x4c0b3d=_0x4c0b3d-0xab;let _0x4de1e6=_0x3f8d7f[_0x4c0b3d];return _0x4de1e6;},a17_0x4369(_0xfa2554,_0x31b937);}class Debuglet extends events_1[a17_0x599a9f(0x141)]{constructor(_0x5a84f7,_0x240ca9){const _0x1cb439=a17_0x599a9f;super(),_Debuglet_instances['add'](this),_Debuglet_debug[_0x1cb439(0x165)](this,void 0x0),_Debuglet_v8debug[_0x1cb439(0x165)](this,void 0x0),_Debuglet_running[_0x1cb439(0x165)](this,void 0x0),_Debuglet_controller[_0x1cb439(0x165)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x1cb439(0x165)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x1cb439(0x165)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x1cb439(0x165)](this,null),this[_0x1cb439(0x11b)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager[_0x1cb439(0x165)](this,void 0x0),_Debuglet_blocklistManager[_0x1cb439(0x165)](this,void 0x0),_Debuglet_redactionManager[_0x1cb439(0x165)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this[_0x1cb439(0x11f)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0x240ca9),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x1cb439(0x158))](this[_0x1cb439(0x11f)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x5a84f7,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1cb439(0x142)]=![],this[_0x1cb439(0x1a6)]=agent_logger_1['default'][_0x1cb439(0xb3)](this['config'][_0x1cb439(0xc1)]['logsPath'],this['config']['agentLog']['level'],this[_0x1cb439(0x11f)][_0x1cb439(0xc1)][_0x1cb439(0x109)]),(0x0,config_1[_0x1cb439(0xdc)])(this[_0x1cb439(0x11f)],this[_0x1cb439(0x1a6)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this['logger'])[_0x1cb439(0x137)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x1cb439(0xec))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x1cb439(0x1a6)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x1cb439(0x138))](this[_0x1cb439(0x1a6)]),'f'),this['debuggee']=null,this[_0x1cb439(0x197)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x1cb439(0xe0))](this[_0x1cb439(0x1a6)],this['config']),'f'),this[_0x1cb439(0x1a7)]=new piping_manager_1[(_0x1cb439(0x178))](_0x1cb439(0x12e),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x1cb439(0x11f)]);}async[a17_0x599a9f(0xe8)](_0x1c87d0,_0x30447d){const _0x1bb1e8=a17_0x599a9f,_0xfa4619=_0x1c87d0[_0x1bb1e8(0x118)],_0xf8afa0=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x1bb1e8(0x117)](_0xfa4619,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x1bb1e8(0x11a)](Debuglet,_0x1c87d0[_0x1bb1e8(0x15d)][_0x1bb1e8(0x159)]('js.map')),_0x30447d,_0x1c87d0['extraPaths']),_0x5c6a92=_0xf8afa0[_0x1bb1e8(0x14e)](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x1bb1e8(0x11a)](Debuglet,_0x1c87d0[_0x1bb1e8(0x15d)])),_0x7f067e=file_index_1[_0x1bb1e8(0x13c)][_0x1bb1e8(0xe7)](_0x5c6a92),_0x5483bb=_0xf8afa0['selectFiles'](/.js.map$/,process[_0x1bb1e8(0x167)]()),_0x11f879=_0xf8afa0[_0x1bb1e8(0xf8)]();return{'mapFiles':_0x5483bb,'errors':_0x11f879,'jsFileIndex':_0x7f067e,'hash':_0xf8afa0[_0x1bb1e8(0x185)]};}async['start'](){const _0xe53c23=a17_0x599a9f;var _0x174197;const _0x3e5d8d=this,_0x4f9bcc=_0x3e5d8d['config'][_0xe53c23(0x118)];if(!_0x3e5d8d[_0xe53c23(0x11f)][_0xe53c23(0x187)]&&path[_0xe53c23(0xbf)](_0x4f9bcc,'..')===_0x4f9bcc){const _0x2acd25=_0xe53c23(0xed)+_0xe53c23(0xe5)+_0xe53c23(0x150)+'do\x20this.';_0x3e5d8d['logger']['error'](_0x2acd25),_0x3e5d8d[_0xe53c23(0x16f)]('initError',new Error(_0x2acd25));return;}let _0x1ecdaf;process[_0xe53c23(0x10d)][_0xe53c23(0x1a3)]&&(_0x1ecdaf=_0xe53c23(0x129)+process[_0xe53c23(0x10d)][_0xe53c23(0x1a3)]);let _0x5e1687,_0x83aa67=_0x1ecdaf||'';try{_0x5e1687=await this[_0xe53c23(0xe8)](_0x3e5d8d['config'],_0x1ecdaf),_0x5e1687[_0xe53c23(0xf8)][_0xe53c23(0x132)](_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x15b)]);}catch(_0x4e7283){_0x3e5d8d['logger'][_0xe53c23(0x10b)](_0xe53c23(0x123),_0x4e7283),_0x3e5d8d['emit'](_0xe53c23(0x161),_0x4e7283);return;}try{const _0x1fd835=await SourceMapper['create'](_0x5e1687[_0xe53c23(0x100)]);__classPrivateFieldSet(_0x3e5d8d,_Debuglet_v8debug,debugapi[_0xe53c23(0x17a)](_0x3e5d8d[_0xe53c23(0x1a6)],_0x3e5d8d[_0xe53c23(0x11f)],_0x5e1687[_0xe53c23(0xe6)],_0x1fd835,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x83aa67=_0x1ecdaf||_0x5e1687['hash'];}catch(_0x552bbc){_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x10b)]('Error\x20processing\x20the\x20sourcemaps.',_0x552bbc),_0x3e5d8d[_0xe53c23(0x16f)](_0xe53c23(0x161),_0x552bbc);}_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x121)](_0xe53c23(0x116)+_0x83aa67);const _0x15ff55=(0x0,utils_1['readFullVersion'])(_0x3e5d8d[_0xe53c23(0x1a6)])[_0xe53c23(0xb8)]('\x0a','');_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x121)](_0xe53c23(0xd8)+_0x15ff55);let _0x126097;try{_0x126097=_0x3e5d8d[_0xe53c23(0x11f)][_0xe53c23(0x199)]||await Debuglet[_0xe53c23(0xb6)]();}catch(_0x291def){}this[_0xe53c23(0x11f)]['capture']&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0xe53c23(0x166)]()===0x0&&(0x0,utils_1[_0xe53c23(0x119)])(process[_0xe53c23(0xf1)],_0xe53c23(0xda))&&_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x15b)](utils_1[_0xe53c23(0xf8)]['NODE_10_CIRC_REF_MESSAGE']),_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x121)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+((_0x174197=process['mainModule'])===null||_0x174197===void 0x0?void 0x0:_0x174197[_0xe53c23(0x114)])),_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x176)](_0xe53c23(0x136)+_0x4f9bcc),_0x3e5d8d[_0xe53c23(0x1a6)][_0xe53c23(0x176)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x3e5d8d,_Debuglet_running,!![],'f'),_0x3e5d8d[_0xe53c23(0xd2)]=(0x0,createDebuggee_1[_0xe53c23(0x17d)])(_0x83aa67,_0x3e5d8d[_0xe53c23(0x11f)],_0x126097,__classPrivateFieldGet(_0x3e5d8d,_Debuglet_debug,'f')['packageInfo'],_0x15ff55,_0x3e5d8d[_0xe53c23(0x1a6)],__classPrivateFieldGet(_0x3e5d8d,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x3e5d8d,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](_0x3e5d8d),__classPrivateFieldGet(_0x3e5d8d,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x3e5d8d),_0x3e5d8d['emit'](_0xe53c23(0x12f));}['isReady'](){const _0x55fc35=a17_0x599a9f;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x55fc35(0xea)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x55fc35(0xea)]()[_0x55fc35(0x1a0)](()=>{const _0x1139a0=_0x55fc35;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1139a0(0x11a)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x55fc35(0xea)]();}}static async[a17_0x599a9f(0xb6)](){const _0x2a2094=a17_0x599a9f,_0x4c25a8=await readFilep('source-context.json',_0x2a2094(0x16d));try{return JSON[_0x2a2094(0x19f)](_0x4c25a8);}catch(_0x2e50c4){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x2e50c4);}}[a17_0x599a9f(0x16b)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x3c71ad=a17_0x599a9f;var _0xb029b2;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x3c71ad(0x1a6)][_0x3c71ad(0x176)](_0x3c71ad(0x16e));return;}this[_0x3c71ad(0x1a6)]['debug']('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0xb029b2=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0xb029b2===void 0x0?void 0x0:_0xb029b2['clearTransmissionTimeout'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x3c71ad(0x16f)]('stopped');}}exports[a17_0x599a9f(0x108)]=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x2d0126){return new RegExp(_0x2d0126['map'](_0x1ef427=>_0x1ef427+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x3b6f45=a17_0x599a9f,_0x21390e=[_0x3b6f45(0x198),_0x3b6f45(0x113),'SIGQUIT'];_0x21390e['forEach'](_0x4921f3=>{process['once'](_0x4921f3,()=>{const _0x2d28e2=a17_0x4369;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2d28e2(0xf7)](this[_0x2d28e2(0xd2)],()=>{const _0x31c0f2=_0x2d28e2;process[_0x31c0f2(0xd3)](process['pid'],_0x4921f3);});});}),process['once'](_0x3b6f45(0xd5),()=>{const _0x40bf72=_0x3b6f45;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x40bf72(0xf7)](this['debuggee'],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){return metadata['isAvailable']();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0x1e33af=a17_0x599a9f;return(await metadata[_0x1e33af(0x13a)](_0x1e33af(0xfc)))[_0x1e33af(0x195)];},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x302255){const _0x3d5164=a17_0x599a9f,_0x5e15ae=this;_0x5e15ae['logger'][_0x3d5164(0x176)](_0x302255?_0x3d5164(0xc9)+_0x302255+'s':_0x3d5164(0x164));function _0x3a2853(_0x300d3f,_0x4333cb){const _0x457c3d=_0x3d5164;var _0x5ab75f,_0x52f148;const _0x5f143d=((_0x5ab75f=_0x5e15ae['debuggee'])===null||_0x5ab75f===void 0x0?void 0x0:_0x5ab75f['id'])?_0x457c3d(0x124)+((_0x52f148=_0x5e15ae[_0x457c3d(0xd2)])===null||_0x52f148===void 0x0?void 0x0:_0x52f148['id'])+':\x20'+_0x300d3f:'Failed\x20to\x20register\x20debuggee:\x20'+_0x300d3f;_0x5e15ae[_0x457c3d(0x1a6)][_0x457c3d(0x10b)](_0x5f143d),_0x4333cb&&_0x5e15ae['logger'][_0x457c3d(0x10b)]('Result:\x20\x0a',_0x4333cb),__classPrivateFieldGet(_0x5e15ae,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](_0x5e15ae,(0x0,utils_1[_0x457c3d(0x15a)])(_0x302255,_0x5e15ae['config'][_0x457c3d(0x162)][_0x457c3d(0x175)]));}setTimeout(()=>{const _0x36ff3f=_0x3d5164;if(!__classPrivateFieldGet(_0x5e15ae,_Debuglet_running,'f')){_0x3a2853(new Error(_0x36ff3f(0xe4)));return;}__classPrivateFieldGet(_0x5e15ae,_Debuglet_controller,'f')[_0x36ff3f(0xf2)](_0x5e15ae['debuggee'],(_0x3e94ea,_0x157faa)=>{const _0x559c5f=_0x36ff3f;if(_0x3e94ea){_0x3a2853(_0x3e94ea,_0x157faa);return;}if(_0x157faa[_0x559c5f(0xd2)][_0x559c5f(0x146)]){_0x3a2853(new Error('Disabled\x20by\x20the\x20server')),_0x5e15ae[_0x559c5f(0x16f)](_0x559c5f(0xb2));return;}const _0x436e24=_0x157faa[_0x559c5f(0xd2)]['id'];_0x5e15ae['logger'][_0x559c5f(0x121)]('Registered\x20as\x20debuggee:\x20'+_0x436e24),_0x5e15ae['debuggee']['id']=_0x436e24;const _0x214af4=[__classPrivateFieldGet(_0x5e15ae,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x559c5f(0xf3)](_0x5e15ae)(_0x5e15ae['debuggee']['id'])];_0x5e15ae['config']['redactionEnabled']&&_0x214af4[_0x559c5f(0xac)](__classPrivateFieldGet(_0x5e15ae,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x559c5f(0xf3)](_0x5e15ae)(_0x5e15ae[_0x559c5f(0xd2)]['id'])),Promise['all'](_0x214af4)[_0x559c5f(0x1a0)](()=>{const _0x5d9711=_0x559c5f;var _0x4750eb;_0x5e15ae[_0x5d9711(0x16f)](_0x5d9711(0xb9),_0x436e24),__classPrivateFieldGet(_0x5e15ae,_Debuglet_debuggeeRegistered,'f')[_0x5d9711(0x10e)](),(_0x4750eb=__classPrivateFieldGet(_0x5e15ae,_Debuglet_v8debug,'f'))===null||_0x4750eb===void 0x0?void 0x0:_0x4750eb['setBlocklistManager'](__classPrivateFieldGet(_0x5e15ae,_Debuglet_blocklistManager,'f')),!_0x5e15ae[_0x5d9711(0x142)]&&__classPrivateFieldGet(_0x5e15ae,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x5e15ae,0x0,this[_0x5d9711(0x11f)][_0x5d9711(0xd1)],_0x157faa===null||_0x157faa===void 0x0?void 0x0:_0x157faa['clientConnectionTimeoutInSeconds']);},_0x81cd79=>{_0x3a2853(_0x81cd79);});});},_0x302255*0x3e8)[_0x3d5164(0x17c)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x3e10a8,_0x5b66ba,_0x20d725){const _0x2c44ff=a17_0x599a9f,_0x8de621=this;!_0x5b66ba&&(_0x8de621[_0x2c44ff(0x142)]=!![]),setTimeout(()=>{const _0x178b98=_0x2c44ff;if(!__classPrivateFieldGet(_0x8de621,_Debuglet_running,'f'))return;!_0x5b66ba&&assert(_0x8de621[_0x178b98(0x142)]),_0x8de621['logger'][_0x178b98(0x121)](_0x178b98(0xcf)),__classPrivateFieldGet(_0x8de621,_Debuglet_controller,'f')[_0x178b98(0xd0)](_0x8de621[_0x178b98(0xd2)],(_0xf73025,_0x270bef,_0x5871e9)=>{const _0x3c9765=_0x178b98;if((_0x270bef===null||_0x270bef===void 0x0?void 0x0:_0x270bef[_0x3c9765(0xee)])===0x194){_0x8de621[_0x3c9765(0x1a6)]['info']('Debuggee\x20is\x20not\x20registered'),_0x8de621[_0x3c9765(0x142)]=![],__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x3c9765(0x11a)](_0x8de621),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_register_)[_0x3c9765(0x11a)](_0x8de621);return;}if(_0xf73025){const _0x88fb=(0x0,utils_1['backoff'])(_0x3e10a8,_0x8de621[_0x3c9765(0x11f)][_0x3c9765(0x162)][_0x3c9765(0x175)]);_0x8de621['logger'][_0x3c9765(0x10b)](_0x3c9765(0x177)+(_0x270bef===null||_0x270bef===void 0x0?void 0x0:_0x270bef['status'])+_0x3c9765(0xc2)+_0xf73025[_0x3c9765(0x168)]+_0x3c9765(0x143)+_0x88fb+'s'),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3c9765(0x11a)](_0x8de621,_0x88fb,_0x5b66ba,_0x20d725);return;}_0x8de621[_0x3c9765(0x1a6)][_0x3c9765(0x121)]('\x09'+_0x270bef[_0x3c9765(0xee)]+'\x20completed.');if(!_0x5871e9){const _0x405493=_0x8de621[_0x3c9765(0x11f)][_0x3c9765(0xde)];_0x8de621['logger'][_0x3c9765(0x10b)](_0x3c9765(0xc7)+_0x405493+'s'),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3c9765(0x11a)](_0x8de621,_0x405493,_0x5b66ba,_0x20d725);return;}if(_0x5871e9['waitExpired']){_0x8de621[_0x3c9765(0x1a6)][_0x3c9765(0x121)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3c9765(0x11a)](_0x8de621,0x0,_0x5b66ba,_0x20d725);return;}if(_0x5871e9[_0x3c9765(0x140)]&&_0x5871e9[_0x3c9765(0x140)]!==_0x3c9765(0x18e)){const _0x4bf391=this['pipingManager'][_0x3c9765(0xcd)];_0x4bf391!==_0x5871e9[_0x3c9765(0x140)]&&(this['logger'][_0x3c9765(0x176)](_0x3c9765(0x125)+_0x4bf391+_0x3c9765(0x192)+_0x5871e9[_0x3c9765(0x140)]),this[_0x3c9765(0x1a7)][_0x3c9765(0xcd)]=_0x5871e9[_0x3c9765(0x140)]);}if(_0x5871e9['collectAndSendLog']&&_0x5871e9[_0x3c9765(0xca)]!==_0x8de621[_0x3c9765(0xca)]){_0x8de621[_0x3c9765(0xca)]=_0x5871e9[_0x3c9765(0xca)];const _0x960470=_0x8de621['config'][_0x3c9765(0xc1)]['logsPath']&&path[_0x3c9765(0xbf)](_0x8de621[_0x3c9765(0x11f)][_0x3c9765(0xc1)][_0x3c9765(0x1a1)],agent_logger_1[_0x3c9765(0x111)][_0x3c9765(0x182)]);_0x960470&&fs[_0x3c9765(0x154)](_0x960470)?setTimeout(()=>__classPrivateFieldGet(_0x8de621,_Debuglet_controller,'f')[_0x3c9765(0xd9)](_0x8de621[_0x3c9765(0xd2)],_0x5871e9['collectLogRequestId'],_0x960470)):_0x8de621[_0x3c9765(0x1a6)]['info'](_0x3c9765(0x188)+_0x5871e9[_0x3c9765(0xca)]+'\x20because\x20'+_0x3c9765(0x10a));}const _0x2a9ed8=(_0x5871e9[_0x3c9765(0x16c)]||[])['map'](_0x49a209=>new stackdriver_1[(_0x3c9765(0x153))](_0x49a209))[_0x3c9765(0x112)](_0x2ac360=>{const _0x3894cb=_0x3c9765,_0x49fda1=_0x2ac360[_0x3894cb(0xfe)]||_0x3894cb(0x122);if(__classPrivateFieldGet(_0x8de621,_Debuglet_completedBreakpointMap,'f')[_0x2ac360['id']])return![];if(_0x49fda1!==_0x3894cb(0x122)&&_0x49fda1!=='LOG')return _0x8de621[_0x3894cb(0x1a6)]['warn']('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x49fda1),_0x2ac360[_0x3894cb(0xee)]=new status_message_1[(_0x3894cb(0x135))](status_message_1['StatusMessage'][_0x3894cb(0x179)],utils_1[_0x3894cb(0xf8)][_0x3894cb(0x171)],!![]),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3894cb(0x11a)](_0x8de621,_0x2ac360),![];return!![];});__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x8de621),__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x3c9765(0x11a)](_0x8de621,_0x2a9ed8),_0x8de621[_0x3c9765(0x16f)]('breakpoints_fetched',_0x2a9ed8['length']);Object['keys'](_0x8de621[_0x3c9765(0x197)])['length']&&_0x8de621['logger']['info'](formatBreakpoints(_0x3c9765(0x14c),_0x8de621[_0x3c9765(0x197)]));__classPrivateFieldSet(_0x8de621,_Debuglet_breakpointFetchedTimestamp,Date[_0x3c9765(0x126)](),'f');_0x5b66ba?__classPrivateFieldGet(_0x8de621,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x8de621,_Debuglet_breakpointFetched,'f')[_0x3c9765(0x10e)](),__classPrivateFieldSet(_0x8de621,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x8de621,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3c9765(0x11a)](_0x8de621,0x0,_0x5b66ba,_0x20d725);return;},_0x20d725);},_0x3e10a8*0x3e8)[_0x2c44ff(0x17c)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0xfc7546){const _0x519a5b=a17_0x599a9f,_0x4cd7b2=this,_0x195a10=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x519a5b(0x11a)](this,_0xfc7546);_0xfc7546[_0x519a5b(0x128)]&&_0x4cd7b2['logger'][_0x519a5b(0x121)](formatBreakpoints(_0x519a5b(0x163),_0x195a10)),_0xfc7546[_0x519a5b(0x132)](_0x50f500=>{const _0x278b18=_0x519a5b;!__classPrivateFieldGet(_0x4cd7b2,_Debuglet_completedBreakpointMap,'f')[_0x50f500['id']]&&!_0x4cd7b2[_0x278b18(0x197)][_0x50f500['id']]&&(__classPrivateFieldGet(_0x4cd7b2,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x278b18(0x11a)](_0x4cd7b2,_0x50f500,_0x16ca24=>{const _0x195bbd=_0x278b18;_0x16ca24&&__classPrivateFieldGet(_0x4cd7b2,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x195bbd(0x11a)](_0x4cd7b2,_0x50f500,!![],![]);}),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x278b18(0x15e)](_0x50f500['id'])),__classPrivateFieldGet(_0x4cd7b2,_Debuglet_quotaManager,'f')[_0x278b18(0x102)](_0x50f500['id'],_0x50f500[_0x278b18(0xc3)]),_0x4cd7b2[_0x278b18(0x1a7)][_0x278b18(0xdf)](_0x50f500['id'],_0x50f500[_0x278b18(0xbc)]);}),(0x0,mapSubtract_1[_0x519a5b(0xbb)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x195a10)[_0x519a5b(0x132)](_0x2ecb86=>{delete __classPrivateFieldGet(_0x4cd7b2,_Debuglet_completedBreakpointMap,'f')[_0x2ecb86['id']];}),(0x0,mapSubtract_1[_0x519a5b(0xbb)])(this['activeBreakpointMap'],_0x195a10)['forEach'](_0x294636=>{const _0x15fb1d=_0x519a5b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x15fb1d(0x11a)](this,_0x294636,!![]);});},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x5d9e77){const _0xca0749={};return _0x5d9e77['forEach'](_0x28b676=>{_0xca0749[_0x28b676['id']]=_0x28b676;}),_0xca0749;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x634cc,_0x1f8119){const _0x16c73b=a17_0x599a9f;this[_0x16c73b(0x1a6)][_0x16c73b(0x121)](_0x16c73b(0x103),_0x634cc),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x16c73b(0x10f)](_0x634cc['id']),this[_0x16c73b(0x1a7)][_0x16c73b(0xcb)](_0x634cc['id']),delete this['activeBreakpointMap'][_0x634cc['id']],_0x1f8119&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x634cc,_0x12bcc0=>{const _0x4c2b24=_0x16c73b;if(_0x12bcc0)this[_0x4c2b24(0x1a6)][_0x4c2b24(0x10b)](_0x12bcc0);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x4aaf75,_0x918aa3){const _0x30a43b=a17_0x599a9f;var _0x3a6bf5;const _0x460e9b=this;_0x460e9b[_0x30a43b(0x1a6)][_0x30a43b(0x121)](_0x30a43b(0xae),_0x4aaf75);if(!_0x460e9b[_0x30a43b(0x11f)][_0x30a43b(0xe9)]&&(_0x4aaf75['condition']||_0x4aaf75[_0x30a43b(0x127)])){_0x460e9b[_0x30a43b(0x1a6)][_0x30a43b(0x10b)](utils_1[_0x30a43b(0xf8)][_0x30a43b(0xb5)][_0x30a43b(0x106)]||''),_0x4aaf75[_0x30a43b(0xee)]=new status_message_1[(_0x30a43b(0x135))](status_message_1[_0x30a43b(0x135)]['UNSPECIFIED'],utils_1[_0x30a43b(0xf8)][_0x30a43b(0xb5)],!![]),setImmediate(()=>{const _0xffb7e0=_0x30a43b;_0x918aa3(utils_1['errors'][_0xffb7e0(0xb5)]);});return;}if((0x0,utils_1[_0x30a43b(0x119)])(process[_0x30a43b(0xf1)],'5.2\x20||\x20<4')){const _0x651b8a=utils_1[_0x30a43b(0xf8)]['NODE_VERSION_MESSAGE'];_0x460e9b[_0x30a43b(0x1a6)]['error'](_0x651b8a),_0x4aaf75[_0x30a43b(0xee)]=new status_message_1[(_0x30a43b(0x135))](status_message_1[_0x30a43b(0x135)][_0x30a43b(0x179)],_0x651b8a,!![]),setImmediate(()=>{_0x918aa3(_0x651b8a);});return;}const _0xc3d448=_0x4aaf75['createTime']?Number(_0x4aaf75[_0x30a43b(0x133)][_0x30a43b(0x160)]):Date['now']()/0x3e8,_0x44c915=_0x4aaf75[_0x30a43b(0xbe)]||_0x460e9b[_0x30a43b(0x11f)][_0x30a43b(0x152)];_0x4aaf75[_0x30a43b(0x157)]=_0xc3d448+_0x44c915,((_0x3a6bf5=_0x4aaf75[_0x30a43b(0x101)])===null||_0x3a6bf5===void 0x0?void 0x0:_0x3a6bf5[_0x30a43b(0x12a)])&&(_0x4aaf75[_0x30a43b(0x101)][_0x30a43b(0x12a)]=path[_0x30a43b(0xce)](_0x4aaf75[_0x30a43b(0x101)]['path']),path[_0x30a43b(0x14f)]===path[_0x30a43b(0xc6)]['sep']&&(_0x4aaf75[_0x30a43b(0x101)][_0x30a43b(0x12a)]=_0x4aaf75[_0x30a43b(0x101)][_0x30a43b(0x12a)][_0x30a43b(0x1a2)]('\x5c')[_0x30a43b(0xbf)](path[_0x30a43b(0x14f)]))),__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f')['set'](_0x4aaf75,_0x156037=>{const _0x4e9dd8=_0x30a43b;if(_0x156037){_0x918aa3(_0x156037);return;}_0x460e9b['logger'][_0x4e9dd8(0x121)](_0x4e9dd8(0xfa),_0x4aaf75),_0x460e9b[_0x4e9dd8(0x197)][_0x4aaf75['id']]=_0x4aaf75,_0x4aaf75[_0x4e9dd8(0xfe)]===_0x4e9dd8(0x183)?__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f')[_0x4e9dd8(0xd6)](_0x4aaf75,(_0x3bda00,_0xa03696)=>{const _0x49287c=_0x4e9dd8;var _0x53c3ed,_0x13e3d3,_0x3c0c3d,_0x1a5daf;const _0x1d6c27=_0xa03696[_0x49287c(0x172)](_0x5c07e1=>__classPrivateFieldGet(_0x460e9b,_Debuglet_instances,'m',_Debuglet_stringify)['call'](_0x460e9b,_0x5c07e1)),_0x4e8d4d=(0x0,format_1[_0x49287c(0x107)])(_0x3bda00,_0x1d6c27),_0x2c32fb=_0x49287c(0x18a)+(((_0x53c3ed=__classPrivateFieldGet(_0x460e9b,_Debuglet_redactionManager,'f'))===null||_0x53c3ed===void 0x0?void 0x0:_0x53c3ed[_0x49287c(0x130)](_0x4e8d4d))||_0x4e8d4d),_0xe417a7=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x49287c(0x131)](_0x2c32fb,_0x4aaf75['id']);if(_0xe417a7){const _0x25fc90=_0xe417a7[_0x49287c(0x168)],_0x57feb1=_0xe417a7[_0x49287c(0x148)];let _0x69e987,_0x3bad7d;!((_0x13e3d3=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x13e3d3===void 0x0?void 0x0:_0x13e3d3['isRedactionActive']())&&!_0x57feb1&&(_0x69e987=_0x49287c(0x18a)+_0x3bda00,_0x3bad7d=_0x1d6c27);_0x460e9b[_0x49287c(0x1a7)][_0x49287c(0x145)](_0x460e9b['debuggee'],_0x4aaf75['id'],_0x25fc90,_0x4aaf75['logLevel'],_0x69e987,_0x3bad7d);if(_0x57feb1)(_0x3c0c3d=__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f'))===null||_0x3c0c3d===void 0x0?void 0x0:_0x3c0c3d[_0x49287c(0xad)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{var _0x10eb81;(_0x10eb81=__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f'))===null||_0x10eb81===void 0x0?void 0x0:_0x10eb81['enable'](),__classPrivateFieldSet(_0x460e9b,_Debuglet_nextEnableTimeout,null,'f');},_0x460e9b[_0x49287c(0x11f)][_0x49287c(0x139)][_0x49287c(0x196)]*0x3e8),'f');else(_0x25fc90===null||_0x25fc90===void 0x0?void 0x0:_0x25fc90[_0x49287c(0x128)])===0x0&&((_0x1a5daf=__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f'))===null||_0x1a5daf===void 0x0?void 0x0:_0x1a5daf[_0x49287c(0xad)]());}},()=>{return __classPrivateFieldGet(_0x460e9b,_Debuglet_completedBreakpointMap,'f')[_0x4aaf75['id']];},_0x2ffd43=>{if(_0x2ffd43){_0x460e9b['logger']['error'](_0x2ffd43),_0x918aa3(_0x2ffd43);return;}}):__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f')[_0x4e9dd8(0x12c)](_0x4aaf75,_0x4f2429=>{const _0xf7911=_0x4e9dd8;if(_0x4f2429){setImmediate(()=>{const _0x1bc52a=a17_0x4369;_0x460e9b[_0x1bc52a(0x1a6)]['error'](_0x4f2429),_0x918aa3(_0x4f2429);});return;}_0x460e9b['logger'][_0xf7911(0x121)](_0xf7911(0x170),_0x4aaf75),__classPrivateFieldGet(_0x460e9b,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0xf7911(0x11a)](_0x460e9b,_0x4aaf75,__classPrivateFieldGet(_0x460e9b,_Debuglet_v8debug,'f')[_0xf7911(0x19a)](_0x4aaf75['id'])<=0x0);}),__classPrivateFieldGet(_0x460e9b,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x4e9dd8(0x11a)](_0x460e9b,_0x4aaf75);}),this[_0x30a43b(0x16f)](_0x30a43b(0x180));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0xde7918,_0x1c5baa,_0x5510ec=!![]){const _0x53b99b=a17_0x599a9f;var _0x276896,_0x3c354b,_0x1ba418,_0x589181,_0xebaeb0,_0x5da033;const _0x4cfbfb=this;if(_0xde7918[_0x53b99b(0xee)]&&_0xde7918[_0x53b99b(0xee)]['isError']){let _0x46b540=((_0x3c354b=(_0x276896=_0xde7918[_0x53b99b(0xee)])===null||_0x276896===void 0x0?void 0x0:_0x276896[_0x53b99b(0x106)])===null||_0x3c354b===void 0x0?void 0x0:_0x3c354b[_0x53b99b(0x107)])||'';((_0x589181=(_0x1ba418=_0xde7918['status'])===null||_0x1ba418===void 0x0?void 0x0:_0x1ba418[_0x53b99b(0x106)])===null||_0x589181===void 0x0?void 0x0:_0x589181[_0x53b99b(0x189)])&&(_0x46b540+=':\x20'+((_0x5da033=(_0xebaeb0=_0xde7918[_0x53b99b(0xee)])===null||_0xebaeb0===void 0x0?void 0x0:_0xebaeb0[_0x53b99b(0x106)])===null||_0x5da033===void 0x0?void 0x0:_0x5da033[_0x53b99b(0x189)][_0x53b99b(0x11e)]())),_0x4cfbfb['logger']['warn']('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0xde7918+_0x53b99b(0x18c)+_0x46b540);}else _0x4cfbfb['logger'][_0x53b99b(0x121)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',_0xde7918);_0x1c5baa&&(__classPrivateFieldGet(_0x4cfbfb,_Debuglet_completedBreakpointMap,'f')[_0xde7918['id']]=!![],__classPrivateFieldGet(_0x4cfbfb,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x53b99b(0x11a)](_0x4cfbfb,_0xde7918,_0x5510ec)),__classPrivateFieldGet(_0x4cfbfb,_Debuglet_controller,'f')[_0x53b99b(0x104)](_0x4cfbfb[_0x53b99b(0xd2)],extend(!![],{},_0xde7918));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x423fe6){const _0x4fc015=a17_0x599a9f,_0xb185ba=this;_0xb185ba['logger'][_0x4fc015(0x176)](_0x4fc015(0x181)+_0x423fe6+_0x4fc015(0xef));const _0x214031=extend(!![],{},_0x423fe6);_0x214031[_0x4fc015(0x194)]=![],_0x214031[_0x4fc015(0xee)]=new status_message_1[(_0x4fc015(0x135))](status_message_1[_0x4fc015(0x135)][_0x4fc015(0x179)],undefined,![],!![]),__classPrivateFieldGet(_0xb185ba,_Debuglet_controller,'f')[_0x4fc015(0x104)](_0xb185ba[_0x4fc015(0xd2)],_0x214031);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x3602e2){const _0x1e0811=a17_0x599a9f,_0x36a411=this;this[_0x1e0811(0x1a6)]['info'](_0x1e0811(0xb4),_0x3602e2),__classPrivateFieldGet(_0x36a411,_Debuglet_completedBreakpointMap,'f')[_0x3602e2['id']]=!![],__classPrivateFieldGet(_0x36a411,_Debuglet_controller,'f')[_0x1e0811(0x104)](_0x36a411[_0x1e0811(0xd2)],_0x3602e2);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(){const _0xf34a72=a17_0x599a9f,_0x3f1b18=this,_0x1317fe=Date['now']()/0x3e8;Object[_0xf34a72(0x110)](this[_0xf34a72(0x197)])[_0xf34a72(0x112)](_0x209b66=>_0x209b66[_0xf34a72(0x157)]?_0x209b66[_0xf34a72(0x157)]<_0x1317fe:![])[_0xf34a72(0x132)](_0x5d1784=>{const _0x1839fd=_0xf34a72;_0x3f1b18[_0x1839fd(0x1a6)][_0x1839fd(0x121)]('Expiring\x20breakpoint',_0x5d1784),__classPrivateFieldGet(_0x3f1b18,_Debuglet_completedBreakpointMap,'f')[_0x5d1784['id']]=!![],__classPrivateFieldGet(_0x3f1b18,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x3f1b18,_0x5d1784,!![]);});},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x14a101){const _0x3425ae=a17_0x599a9f,_0x1835bb=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3425ae(0x18b)](_0x14a101),_0x118968=_0x1835bb[_0x3425ae(0x18f)],_0x3428c6=_0x1835bb[_0x3425ae(0x12b)];_0x118968&&_0x118968['length']&&this[_0x3425ae(0x1a6)][_0x3425ae(0x176)](_0x3425ae(0xeb),_0x118968['join']('\x0a\x09')),_0x3428c6&&_0x3428c6[_0x3425ae(0x128)]&&this[_0x3425ae(0x1a6)][_0x3425ae(0x176)](_0x3425ae(0x14d),_0x3428c6[_0x3425ae(0xbf)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x3425ae(0x149))](_0x118968,_0x3428c6,this[_0x3425ae(0x11f)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x27b9df){const _0x389a03=a17_0x599a9f;var _0x54303d;const _0x294917=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x389a03(0x14b)](_0x27b9df);(_0x294917===null||_0x294917===void 0x0?void 0x0:_0x294917[_0x389a03(0x128)])&&this[_0x389a03(0x1a6)][_0x389a03(0x176)](_0x389a03(0x17f),_0x294917[_0x389a03(0x172)](_0x475efe=>'name:\x20'+_0x475efe[_0x389a03(0xe3)]+'\x20(type:\x20'+_0x475efe['type']+_0x389a03(0xe2)+_0x475efe[_0x389a03(0x1a5)]+_0x389a03(0xf9)+_0x475efe['caseInsensitive'])[_0x389a03(0xbf)]('\x0a\x09'));if((0x0,utils_1[_0x389a03(0x119)])(process['version'],_0x389a03(0x13f))){const {RedactionManagerRE2JS:_0x36ab3c}=await Promise[_0x389a03(0x10e)]()['then'](()=>require(_0x389a03(0xf4)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x36ab3c(this['logger']),'f'),(_0x54303d=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x54303d===void 0x0?void 0x0:_0x54303d['setPatterns'](_0x294917);}},_Debuglet_stringify=function _Debuglet_stringify(_0x58c197){const _0xfe1939=a17_0x599a9f;if(!_0x58c197)return JSON[_0xfe1939(0xb1)](_0x58c197);if(Array[_0xfe1939(0xba)](_0x58c197)){const _0x40eb8a=[];for(const _0x5af3f7 of _0x58c197){_0x40eb8a[_0xfe1939(0xac)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0xfe1939(0x11a)](this,_0x5af3f7));}return'['+_0x40eb8a[_0xfe1939(0xbf)](',\x20')+']';}if(typeof _0x58c197===_0xfe1939(0x191)){const _0x30c5f5=Object[_0xfe1939(0x19d)](_0x58c197)[_0xfe1939(0x172)](([_0x1fd017,_0x1d93b4])=>{const _0x41c246=_0xfe1939;var _0x5c0b4d;const _0xeaad10=((_0x5c0b4d=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x5c0b4d===void 0x0?void 0x0:_0x5c0b4d[_0x41c246(0x134)](_0x1fd017))?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x41c246(0x11a)](this,_0x1d93b4);return JSON[_0x41c246(0xb1)](_0x1fd017)+':\x20'+_0xeaad10;})[_0xfe1939(0xbf)](',\x20');return'{'+_0x30c5f5+'}';}return JSON[_0xfe1939(0xb1)](_0x58c197);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a18_0x2936(){const _0xe94439=['318ujwOMt','node','error','MacOS','/etc/os-release','assert','pid','search','linux','linuxDistroName','1860534UMznDu','cpus','length','utf-8','platform','readFileSync','isInK8s','windows','51381ArvCAC','557155cAKYZT','Linux','agentOS','runtimeEnvironmentVersion','4mnXHKT','arm','toString','apply','_cachedOsRelease','_logger','mac','\x20on\x20','arm64','hostname','(((.+)+)+)+$','get','1737VPOvwF','VERSION_ID','_osRelease','cpuCoreCount','release','version','osVersion','1740eGhlFq','match','split','constructor','runtimeEnvironmentInfo','x32','getProps','EnvironmentMetadata','warn','totalmem','72568BOYpOp','procArch','existsSync','systemTotalMemoryBytes','187999ZFxBjO','23428ONZHBx','34Yfrdbv','versions','x64','forEach','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','Node.js\x20','23691156pVgSpF','KUBERNETES_SERVICE_HOST','host'];a18_0x2936=function(){return _0xe94439;};return a18_0x2936();}const a18_0x47f808=a18_0x570f;(function(_0x146881,_0x9366da){const _0x3fe523=a18_0x570f,_0xe835a3=_0x146881();while(!![]){try{const _0x4531c2=-parseInt(_0x3fe523(0xea))/0x1*(parseInt(_0x3fe523(0xe9))/0x2)+-parseInt(_0x3fe523(0xba))/0x3+parseInt(_0x3fe523(0xc7))/0x4*(-parseInt(_0x3fe523(0xc3))/0x5)+parseInt(_0x3fe523(0xf3))/0x6*(parseInt(_0x3fe523(0xe8))/0x7)+-parseInt(_0x3fe523(0xe4))/0x8*(-parseInt(_0x3fe523(0xd3))/0x9)+-parseInt(_0x3fe523(0xda))/0xa*(-parseInt(_0x3fe523(0xc2))/0xb)+-parseInt(_0x3fe523(0xf0))/0xc;if(_0x4531c2===_0x9366da)break;else _0xe835a3['push'](_0xe835a3['shift']());}catch(_0x3d30e2){_0xe835a3['push'](_0xe835a3['shift']());}}}(a18_0x2936,0xd782a));function a18_0x570f(_0x4d188d,_0x5608be){const _0x31ba43=a18_0x2936();return a18_0x570f=function(_0xe93691,_0x2f8ba9){_0xe93691=_0xe93691-0xb1;let _0x2936f4=_0x31ba43[_0xe93691];return _0x2936f4;},a18_0x570f(_0x4d188d,_0x5608be);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a18_0x47f808(0xe1)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a18_0x47f808(0xb5));var OS;(function(_0x2d9739){const _0x4adbba=a18_0x47f808;_0x2d9739['Linux']=_0x4adbba(0xb8),_0x2d9739['Windows']=_0x4adbba(0xc1),_0x2d9739[_0x4adbba(0xb3)]=_0x4adbba(0xcd);}(OS||(OS={})));var ProcArch;(function(_0x38c697){const _0x33ecad=a18_0x47f808,_0x10a282=(function(){let _0x54ed43=!![];return function(_0x4358e6,_0x46218a){const _0x45ded3=_0x54ed43?function(){const _0x46df18=a18_0x570f;if(_0x46218a){const _0x477acb=_0x46218a[_0x46df18(0xca)](_0x4358e6,arguments);return _0x46218a=null,_0x477acb;}}:function(){};return _0x54ed43=![],_0x45ded3;};}()),_0x123976=_0x10a282(this,function(){const _0x4dc339=a18_0x570f;return _0x123976['toString']()[_0x4dc339(0xb7)](_0x4dc339(0xd1))[_0x4dc339(0xc9)]()[_0x4dc339(0xdd)](_0x123976)[_0x4dc339(0xb7)](_0x4dc339(0xd1));});_0x123976(),_0x38c697[_0x33ecad(0xec)]=_0x33ecad(0xec),_0x38c697['x32']=_0x33ecad(0xdf),_0x38c697['arm']=_0x33ecad(0xc8),_0x38c697[_0x33ecad(0xcf)]='arm64';}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS['Windows'],'darwin':OS[a18_0x47f808(0xb3)]},ArchToProcArchMap={'x32':ProcArch[a18_0x47f808(0xdf)],'x64':ProcArch[a18_0x47f808(0xec)],'arm':ProcArch[a18_0x47f808(0xc8)],'arm64':ProcArch['arm64']};class EnvironmentMetadata{constructor(_0x357529){const _0x34e95d=a18_0x47f808;assert(_0x357529!==null),this[_0x34e95d(0xcc)]=_0x357529;}get[a18_0x47f808(0xc6)](){const _0x4f46f5=a18_0x47f808;try{const _0x3f968d=process[_0x4f46f5(0xeb)][_0x4f46f5(0xb1)][_0x4f46f5(0xdb)](/(\d+\.\d+)\..*/);if(_0x3f968d)return _0x3f968d[0x1];}catch(_0x1a9ceb){this[_0x4f46f5(0xcc)][_0x4f46f5(0xb2)](_0x1a9ceb);}return;}get[a18_0x47f808(0xde)](){const _0x148061=a18_0x47f808;return _0x148061(0xef)+process[_0x148061(0xd8)]+_0x148061(0xce)+(0x0,os_1[_0x148061(0xbe)])()+'\x20'+(0x0,os_1[_0x148061(0xd7)])();}get[a18_0x47f808(0xb6)](){const _0x3f3d4d=a18_0x47f808;return process['pid'][_0x3f3d4d(0xc9)]();}get[a18_0x47f808(0xe5)](){return ArchToProcArchMap[process['arch']]||process['arch'];}get[a18_0x47f808(0xd6)](){const _0x5d78a6=a18_0x47f808;return(0x0,os_1[_0x5d78a6(0xbb)])()[_0x5d78a6(0xbc)];}get[a18_0x47f808(0xe7)](){const _0x59714c=a18_0x47f808;return(0x0,os_1[_0x59714c(0xe3)])();}get[a18_0x47f808(0xf2)](){const _0x1e37b4=a18_0x47f808;return(0x0,os_1[_0x1e37b4(0xd0)])();}get[a18_0x47f808(0xc5)](){const _0x54cd24=a18_0x47f808;return PlatformToOsMap[(0x0,os_1[_0x54cd24(0xbe)])()]||(0x0,os_1['platform'])();}get['osVersion'](){const _0x8ac9b2=a18_0x47f808;try{if(this['agentOS']===OS[_0x8ac9b2(0xc4)])return this[_0x8ac9b2(0xd5)][_0x8ac9b2(0xd2)](_0x8ac9b2(0xd4))||(0x0,os_1[_0x8ac9b2(0xd7)])();return(0x0,os_1[_0x8ac9b2(0xd7)])();}catch(_0x1877f9){this[_0x8ac9b2(0xcc)]['error'](_0x1877f9);}return;}get[a18_0x47f808(0xb9)](){const _0x38f47e=a18_0x47f808;return this['agentOS']===OS['Linux']&&this[_0x38f47e(0xd5)][_0x38f47e(0xd2)]('ID')||'';}get['isInDocker'](){const _0x9347e7=a18_0x47f808;return this[_0x9347e7(0xc5)]===OS['Linux']?(0x0,fs_1[_0x9347e7(0xe6)])('/.dockerenv'):![];}get[a18_0x47f808(0xc0)](){const _0x1fe2c3=a18_0x47f808;return!!process['env'][_0x1fe2c3(0xf1)];}get[a18_0x47f808(0xd5)](){const _0x3aa3a2=a18_0x47f808;if(!this[_0x3aa3a2(0xcb)]){this[_0x3aa3a2(0xcb)]=new Map();try{if(this[_0x3aa3a2(0xc5)]===OS[_0x3aa3a2(0xc4)]){const _0x31122f=(0x0,fs_1[_0x3aa3a2(0xbf)])(_0x3aa3a2(0xb4),_0x3aa3a2(0xbd));_0x31122f[_0x3aa3a2(0xdc)](/\r?\n/)[_0x3aa3a2(0xed)](_0x5507e6=>{const _0x34c394=_0x3aa3a2;var _0x3548c7;const [_0xb15a42,_0x174f41]=_0x5507e6['trim']()[_0x34c394(0xdc)]('=');(_0x3548c7=this['_cachedOsRelease'])===null||_0x3548c7===void 0x0?void 0x0:_0x3548c7['set'](_0xb15a42,(_0x174f41===null||_0x174f41===void 0x0?void 0x0:_0x174f41['replace'](/^"|"$/g,''))||'');});}}catch(_0xd4d57b){this[_0x3aa3a2(0xcc)][_0x3aa3a2(0xe2)](_0x3aa3a2(0xee),_0xd4d57b);}}return this['_cachedOsRelease'];}[a18_0x47f808(0xe0)](){const _0x15b156=a18_0x47f808;return{'runtimeEnvironmentVersion':this[_0x15b156(0xc6)],'runtimeEnvironmentInfo':this[_0x15b156(0xde)],'pid':this[_0x15b156(0xb6)],'cpuCoreCount':this[_0x15b156(0xd6)],'systemTotalMemoryBytes':this[_0x15b156(0xe7)],'host':this[_0x15b156(0xf2)],'agentOS':this[_0x15b156(0xc5)],'osVersion':this[_0x15b156(0xd9)],'linuxDistroName':this[_0x15b156(0xb9)]||undefined,'isInDocker':this['isInDocker'],'isInK8s':this[_0x15b156(0xc0)],'procArch':this[_0x15b156(0xe5)]};}}exports['EnvironmentMetadata']=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x3dcde5=a19_0x1147;(function(_0x268b73,_0x50ced2){const _0x684878=a19_0x1147,_0x45b9c0=_0x268b73();while(!![]){try{const _0x1a756d=-parseInt(_0x684878(0x185))/0x1*(parseInt(_0x684878(0x18f))/0x2)+-parseInt(_0x684878(0x1a9))/0x3*(-parseInt(_0x684878(0x1a6))/0x4)+parseInt(_0x684878(0x199))/0x5+-parseInt(_0x684878(0x18a))/0x6+parseInt(_0x684878(0x19e))/0x7+-parseInt(_0x684878(0x188))/0x8+parseInt(_0x684878(0x19c))/0x9*(parseInt(_0x684878(0x19f))/0xa);if(_0x1a756d===_0x50ced2)break;else _0x45b9c0['push'](_0x45b9c0['shift']());}catch(_0x430a1c){_0x45b9c0['push'](_0x45b9c0['shift']());}}}(a19_0x5143,0x47b6c));const a19_0x444eb3=(function(){let _0x1e2932=!![];return function(_0x35e2a8,_0x1cf30){const _0x2b5a02=_0x1e2932?function(){const _0x1cfbe6=a19_0x1147;if(_0x1cf30){const _0x1288f8=_0x1cf30[_0x1cfbe6(0x190)](_0x35e2a8,arguments);return _0x1cf30=null,_0x1288f8;}}:function(){};return _0x1e2932=![],_0x2b5a02;};}()),a19_0x14b1d4=a19_0x444eb3(this,function(){const _0x26921e=a19_0x1147;return a19_0x14b1d4['toString']()[_0x26921e(0x1a7)](_0x26921e(0x18c))[_0x26921e(0x184)]()['constructor'](a19_0x14b1d4)[_0x26921e(0x1a7)]('(((.+)+)+)+$');});a19_0x14b1d4();'use strict';function a19_0x1147(_0x49e43a,_0x2b576d){const _0x56d484=a19_0x5143();return a19_0x1147=function(_0x14b1d4,_0x444eb3){_0x14b1d4=_0x14b1d4-0x184;let _0x514382=_0x56d484[_0x14b1d4];return _0x514382;},a19_0x1147(_0x49e43a,_0x2b576d);}Object[a19_0x3dcde5(0x196)](exports,a19_0x3dcde5(0x1a3),{'value':!![]}),exports['FileIndex']=void 0x0;function a19_0x5143(){const _0x42728a=['indexOf','27dSmFow','FileIndex','3281355xtnYbk','2134100qbtdwn','sep','set','length','__esModule','get','substr','116448gJUiwo','search','push','3BjWRte','toString','1338vXMqvI','_fileStats','min','1797184mGUMVE','filter','2252754qOcWwe','fromFileList','(((.+)+)+)+$','buildIndex','fileIndex','438SFyYco','apply','substring','fromFileStats','stripStartingSep','size','generateSubPaths','defineProperty','fileStats','findShortestFuzzyMatches','243810PtDnsd','add'];a19_0x5143=function(){return _0x42728a;};return a19_0x5143();}const path=require('path');class FileIndex{constructor(_0x4d815c){const _0x485bec=a19_0x3dcde5;this[_0x485bec(0x186)]=_0x4d815c,this[_0x485bec(0x18e)]=new Map();}static[a19_0x3dcde5(0x192)](_0x3b10bb){const _0x1da76d=a19_0x3dcde5,_0x5c4411=new FileIndex(_0x3b10bb);return _0x5c4411[_0x1da76d(0x18d)](Object['keys'](_0x3b10bb)||[]),_0x5c4411;}static[a19_0x3dcde5(0x18b)](_0x59a705){const _0x58d2f2=a19_0x3dcde5,_0x421ca8=new FileIndex(undefined);return _0x421ca8[_0x58d2f2(0x18d)](_0x59a705||[]),_0x421ca8;}get[a19_0x3dcde5(0x197)](){return this['_fileStats']||{};}[a19_0x3dcde5(0x198)](_0x293d78){const _0x5af838=a19_0x3dcde5,_0x479cbd=this['search'](_0x293d78);if(!_0x479cbd||_0x479cbd[_0x5af838(0x194)]===0x0)return[];const _0x3dcd39=[..._0x479cbd]['map'](_0x5112e8=>_0x5112e8[_0x5af838(0x1a2)]),_0x411da5=Math[_0x5af838(0x187)](..._0x3dcd39),_0x441ad4=[..._0x479cbd][_0x5af838(0x189)](_0x525919=>_0x525919[_0x5af838(0x1a2)]===_0x411da5);return _0x441ad4;}['buildIndex'](_0x419700){const _0x2311a9=a19_0x3dcde5;for(const _0x53e40d of _0x419700){for(const _0x2bbd37 of this[_0x2311a9(0x195)](_0x53e40d)){let _0x14c153=this[_0x2311a9(0x18e)][_0x2311a9(0x1a4)](_0x2bbd37);_0x14c153===undefined&&(_0x14c153=new Set(),this[_0x2311a9(0x18e)][_0x2311a9(0x1a1)](_0x2bbd37,_0x14c153)),_0x14c153[_0x2311a9(0x19a)](_0x53e40d);}}}[a19_0x3dcde5(0x195)](_0x3cdfb3){const _0x2ca17c=a19_0x3dcde5;_0x3cdfb3=this[_0x2ca17c(0x193)](_0x3cdfb3);const _0x3667e0=[_0x3cdfb3];while(_0x3cdfb3[_0x2ca17c(0x19b)](path['sep'])>=0x0){_0x3cdfb3=_0x3cdfb3[_0x2ca17c(0x191)](_0x3cdfb3[_0x2ca17c(0x19b)](path['sep'])+path[_0x2ca17c(0x1a0)][_0x2ca17c(0x1a2)],_0x3cdfb3[_0x2ca17c(0x1a2)]),_0x3667e0[_0x2ca17c(0x1a8)](_0x3cdfb3);}return _0x3667e0;}[a19_0x3dcde5(0x1a7)](_0x579446){const _0x41c5de=a19_0x3dcde5;if(!_0x579446)return undefined;_0x579446=this['stripStartingSep'](_0x579446);for(const _0x1f8776 of this[_0x41c5de(0x195)](_0x579446)){if(this[_0x41c5de(0x18e)]['has'](_0x1f8776))return this[_0x41c5de(0x18e)]['get'](_0x1f8776);}return undefined;}[a19_0x3dcde5(0x193)](_0x5e635b){const _0x4b0193=a19_0x3dcde5;if(_0x5e635b&&(_0x5e635b[0x0]==='/'||_0x5e635b[0x0]==='\x5c'))return _0x5e635b[_0x4b0193(0x1a5)](0x1);return _0x5e635b;}}exports[a19_0x3dcde5(0x19d)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a20_0x4d66(){const _0x493415=['errors','__esModule','errorMap','selectStats','2540062Rngjxy','3234200OhOrvn','(((.+)+)+)+$','all','172iqwGtj','6EUAPfs','9xZrtFi','normalize','27580470rJlAUB','keys','filter','path','map','3393740FZUXeW','stats','search','selectFiles','ScanResultsImpl','forEach','test','sep','2761257NguQsr','9796fyWspt','8050128YnrIqI','constructor'];a20_0x4d66=function(){return _0x493415;};return a20_0x4d66();}const a20_0x30abc3=a20_0x3873;function a20_0x3873(_0x407618,_0x47ceac){const _0x16dd3d=a20_0x4d66();return a20_0x3873=function(_0x15b483,_0x1d232a){_0x15b483=_0x15b483-0x120;let _0x4d667d=_0x16dd3d[_0x15b483];return _0x4d667d;},a20_0x3873(_0x407618,_0x47ceac);}(function(_0xb4230c,_0x29408e){const _0x3306ec=a20_0x3873,_0x3c8049=_0xb4230c();while(!![]){try{const _0x30b6bc=parseInt(_0x3306ec(0x121))/0x1*(parseInt(_0x3306ec(0x12c))/0x2)+parseInt(_0x3306ec(0x120))/0x3+parseInt(_0x3306ec(0x129))/0x4+-parseInt(_0x3306ec(0x135))/0x5+parseInt(_0x3306ec(0x12d))/0x6*(parseInt(_0x3306ec(0x128))/0x7)+parseInt(_0x3306ec(0x122))/0x8+-parseInt(_0x3306ec(0x12e))/0x9*(parseInt(_0x3306ec(0x130))/0xa);if(_0x30b6bc===_0x29408e)break;else _0x3c8049['push'](_0x3c8049['shift']());}catch(_0x4ce78e){_0x3c8049['push'](_0x3c8049['shift']());}}}(a20_0x4d66,0x7afd2));const a20_0x1d232a=(function(){let _0x103c7a=!![];return function(_0xaecd05,_0x4fabff){const _0x597c44=_0x103c7a?function(){if(_0x4fabff){const _0x5de5b9=_0x4fabff['apply'](_0xaecd05,arguments);return _0x4fabff=null,_0x5de5b9;}}:function(){};return _0x103c7a=![],_0x597c44;};}()),a20_0x15b483=a20_0x1d232a(this,function(){const _0x4a88bd=a20_0x3873;return a20_0x15b483['toString']()[_0x4a88bd(0x137)](_0x4a88bd(0x12a))['toString']()[_0x4a88bd(0x123)](a20_0x15b483)[_0x4a88bd(0x137)](_0x4a88bd(0x12a));});a20_0x15b483();'use strict';Object['defineProperty'](exports,a20_0x30abc3(0x125),{'value':!![]}),exports[a20_0x30abc3(0x139)]=void 0x0;const path=require(a20_0x30abc3(0x133));class ScanResultsImpl{constructor(_0x4dc51e,_0xecb4e2,_0x263c04){const _0x2f6d15=a20_0x30abc3;this[_0x2f6d15(0x136)]=_0x4dc51e,this[_0x2f6d15(0x126)]=_0xecb4e2,this['hash']=_0x263c04;}[a20_0x30abc3(0x124)](){const _0x5dc164=a20_0x30abc3;return this[_0x5dc164(0x126)];}[a20_0x30abc3(0x12b)](){const _0x118d0e=a20_0x30abc3;return this[_0x118d0e(0x136)];}[a20_0x30abc3(0x127)](_0x2be809){const _0x4f5e1e=a20_0x30abc3,_0x472df4={};return Object['keys'](this[_0x4f5e1e(0x136)])[_0x4f5e1e(0x13a)](_0x2f891d=>{const _0xe79206=_0x4f5e1e;_0x2be809[_0xe79206(0x13b)](_0x2f891d)&&(_0x472df4[_0x2f891d]=this['stats'][_0x2f891d]);}),_0x472df4;}[a20_0x30abc3(0x138)](_0x487fa2,_0x14cddc){const _0x6b1c8=a20_0x30abc3;return _0x14cddc=path[_0x6b1c8(0x12f)](_0x14cddc+path[_0x6b1c8(0x13c)]),Object[_0x6b1c8(0x131)](this[_0x6b1c8(0x136)])[_0x6b1c8(0x132)](_0x50b573=>{const _0x900df4=_0x6b1c8;return _0x50b573&&_0x487fa2[_0x900df4(0x13b)](_0x50b573);})[_0x6b1c8(0x134)](_0x44d033=>{const _0x24e89e=_0x6b1c8;return path[_0x24e89e(0x12f)](_0x44d033)['replace'](_0x14cddc,'');});}}exports[a20_0x30abc3(0x139)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a21_0x2cad(_0x1c278a,_0x58c014){const _0x560d70=a21_0x5c3d();return a21_0x2cad=function(_0x44ff58,_0x228ff4){_0x44ff58=_0x44ff58-0xde;let _0x5c3d40=_0x560d70[_0x44ff58];return _0x5c3d40;},a21_0x2cad(_0x1c278a,_0x58c014);}const a21_0x25046d=a21_0x2cad;(function(_0x35a136,_0x785c38){const _0x3eeff5=a21_0x2cad,_0x5e74fc=_0x35a136();while(!![]){try{const _0x5be2c4=parseInt(_0x3eeff5(0xe6))/0x1*(parseInt(_0x3eeff5(0xe8))/0x2)+parseInt(_0x3eeff5(0x10f))/0x3*(parseInt(_0x3eeff5(0xf4))/0x4)+parseInt(_0x3eeff5(0xef))/0x5*(-parseInt(_0x3eeff5(0x112))/0x6)+parseInt(_0x3eeff5(0x10e))/0x7+-parseInt(_0x3eeff5(0x119))/0x8*(-parseInt(_0x3eeff5(0x100))/0x9)+-parseInt(_0x3eeff5(0xf9))/0xa*(parseInt(_0x3eeff5(0x115))/0xb)+parseInt(_0x3eeff5(0xf1))/0xc;if(_0x5be2c4===_0x785c38)break;else _0x5e74fc['push'](_0x5e74fc['shift']());}catch(_0x19d85a){_0x5e74fc['push'](_0x5e74fc['shift']());}}}(a21_0x5c3d,0x59355));const a21_0x228ff4=(function(){let _0x575914=!![];return function(_0x36bb79,_0x39627f){const _0x3df6fb=_0x575914?function(){const _0xe6b293=a21_0x2cad;if(_0x39627f){const _0x115df7=_0x39627f[_0xe6b293(0xf2)](_0x36bb79,arguments);return _0x39627f=null,_0x115df7;}}:function(){};return _0x575914=![],_0x3df6fb;};}()),a21_0x44ff58=a21_0x228ff4(this,function(){const _0x114b6c=a21_0x2cad;return a21_0x44ff58['toString']()[_0x114b6c(0xe2)](_0x114b6c(0x110))[_0x114b6c(0x113)]()['constructor'](a21_0x44ff58)['search'](_0x114b6c(0x110));});a21_0x44ff58();'use strict';Object[a21_0x25046d(0x106)](exports,a21_0x25046d(0x11a),{'value':!![]}),exports['Scanner']=void 0x0;const crypto=require('crypto'),fs=require('fs'),path=require('path'),scan_results_1=require(a21_0x25046d(0xe0));function a21_0x5c3d(){const _0x25f2b9=['1196664yRCvVD','apply','addFilesFromDir','1182164PYCauf','findFiles','data','createReadStream','.git','9850DEiONm','startsWith','file','set','hasReadAccess','push','update','207rYrhmN','constants','statsForFile','hex','length','ScanResultsImpl','defineProperty','info','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','pipe','end','digest','open','EMPTY-no-js-files','890876FJqSWs','6MFDKTz','(((.+)+)+)+$','sha1','38106kfAUat','toString','hash','979AFvCko','accessSync','scan','sort','4328eHLhxP','__esModule','resolve','logger','./scan-results','createHash','search','directory','Specified\x20extraPaths\x20does\x20not\x20exist!','Indexing\x20files\x20in\x20','11YXnNoY','SHA1-','54928sVmRwy','node_modules','error','R_OK','computeStats','test','warn','535rCAtAA','join'];a21_0x5c3d=function(){return _0x25f2b9;};return a21_0x5c3d();}class Scanner{constructor(_0x580469){this['logger']=_0x580469;}async[a21_0x25046d(0x117)](_0x390eae,_0x281c07,_0x1e24f4,_0x5ce773){const _0xdf79fd=a21_0x25046d,_0x2bba96=await this[_0xdf79fd(0xf5)](_0x390eae,_0x281c07,_0x5ce773);return this[_0xdf79fd(0xec)](_0x2bba96,_0x1e24f4);}[a21_0x25046d(0xec)](_0x415305,_0x5d9f60){return new Promise(async _0x397910=>{const _0x483caf=a21_0x2cad;if(_0x415305[_0x483caf(0x104)]===0x0){_0x397910(new scan_results_1[(_0x483caf(0x105))]({},new Map(),_0x483caf(0x10d)));return;}const _0x26c508=[],_0x34f47e={},_0x2baf76=new Map();for(const _0x1c4b66 of _0x415305){try{const _0x598eca=await this['statsForFile'](_0x1c4b66,!_0x5d9f60);!_0x5d9f60&&_0x26c508[_0x483caf(0xfe)](_0x598eca[_0x483caf(0x114)]),_0x34f47e[_0x1c4b66]=_0x598eca;}catch(_0x2642bf){_0x2baf76[_0x483caf(0xfc)](_0x1c4b66,_0x2642bf);}}let _0x99d1b6;if(!_0x5d9f60){const _0x4630ba=_0x26c508[_0x483caf(0x118)]()[_0x483caf(0xf0)](),_0x2bc7dc=crypto[_0x483caf(0xe1)](_0x483caf(0x111))[_0x483caf(0xff)](_0x4630ba)[_0x483caf(0x10b)](_0x483caf(0x103));_0x99d1b6=_0x483caf(0xe7)+_0x2bc7dc;}else _0x99d1b6=_0x5d9f60;_0x397910(new scan_results_1[(_0x483caf(0x105))](_0x34f47e,_0x2baf76,_0x99d1b6));});}async['findFiles'](_0x282c6f,_0x44a0c1,_0x30bfa7){const _0x35f31e=a21_0x25046d,_0xff9a2c=new Set();await this['addFilesFromDir'](_0xff9a2c,_0x282c6f,_0x44a0c1);for(const _0x4add0c of _0x30bfa7!==null&&_0x30bfa7!==void 0x0?_0x30bfa7:[]){if(_0x4add0c){const _0x1077fa=path[_0x35f31e(0xde)](_0x4add0c);try{await this[_0x35f31e(0xf3)](_0xff9a2c,_0x1077fa,_0x44a0c1);}catch(_0x5517fe){this['logger'][_0x35f31e(0xea)](_0x35f31e(0xe4),_0x5517fe);continue;}}}return Array['from'](_0xff9a2c);}static['hasReadAccess'](_0x298d51){const _0x1b8fa9=a21_0x25046d;try{return fs[_0x1b8fa9(0x116)](_0x298d51,fs[_0x1b8fa9(0x101)][_0x1b8fa9(0xeb)]),!![];}catch(_0x23b951){return![];}}async[a21_0x25046d(0xf3)](_0x3db189,_0x20c512,_0x520b48){return new Promise((_0x2c3e2c,_0x23d3c2)=>{const _0x41e19c=a21_0x2cad;let _0xdf455d;if(!_0x20c512){_0x23d3c2(new Error('addFilesFromDir\x20requires\x20a\x20searchDir\x20argument'));return;}this[_0x41e19c(0xdf)][_0x41e19c(0x107)](_0x41e19c(0xe5)+path[_0x41e19c(0xde)](_0x20c512));const _0x2e6c04=findit(_0x20c512);_0x2e6c04['on'](_0x41e19c(0xea),_0x398d67=>{_0xdf455d=_0x398d67;return;}),_0x2e6c04['on'](_0x41e19c(0xe3),(_0x3e8334,_0x3733de,_0x2928b0)=>{const _0x58a887=_0x41e19c,_0x85e1df=path['basename'](_0x3e8334);!Scanner[_0x58a887(0xfd)](_0x3e8334)&&(this[_0x58a887(0xdf)][_0x58a887(0xee)]('can\x27t\x20access\x20path:\x20['+path['resolve'](_0x3e8334)+_0x58a887(0x108)),_0x2928b0()),(_0x85e1df===_0x58a887(0xf8)||_0x85e1df===_0x58a887(0xe9))&&(!path[_0x58a887(0xde)](_0x20c512)[_0x58a887(0xfa)](path[_0x58a887(0xde)](_0x3e8334))&&_0x2928b0());}),_0x2e6c04['on'](_0x41e19c(0xfb),_0x32a668=>{const _0x24bb8f=_0x41e19c;_0x520b48[_0x24bb8f(0xed)](_0x32a668)&&_0x3db189['add'](_0x32a668);}),_0x2e6c04['on'](_0x41e19c(0x10a),()=>{_0xdf455d?_0x23d3c2(_0xdf455d):_0x2c3e2c();});});}async[a21_0x25046d(0x102)](_0x185b82,_0x36bbdd){return new Promise((_0x1d6ad5,_0x56f17f)=>{const _0x37a5b3=a21_0x2cad,_0x59acb9=fs[_0x37a5b3(0xf7)](_0x185b82);_0x59acb9['on'](_0x37a5b3(0xea),_0x38a2b4=>{_0x56f17f(_0x38a2b4);}),_0x59acb9['on'](_0x37a5b3(0x10c),()=>{const _0x52ef62=_0x37a5b3;let _0x1be699;_0x36bbdd&&(_0x1be699=crypto[_0x52ef62(0xe1)](_0x52ef62(0x111)));let _0x1c4bdd=0x0,_0x379f92;const _0x2518d5=_0x59acb9[_0x52ef62(0x109)](split());_0x2518d5['on'](_0x52ef62(0xea),_0x2affb2=>{_0x379f92=_0x2affb2;}),_0x2518d5['on'](_0x52ef62(0xf6),_0x21fd83=>{const _0xf560dd=_0x52ef62;_0x36bbdd&&_0x1be699[_0xf560dd(0xff)](_0x21fd83),_0x1c4bdd++;}),_0x2518d5['on'](_0x52ef62(0x10a),()=>{const _0x40ecdb=_0x52ef62;if(_0x379f92)_0x56f17f(_0x379f92);else{const _0xd9d600=_0x36bbdd?_0x1be699[_0x40ecdb(0x10b)](_0x40ecdb(0x103)):undefined;_0x1d6ad5({'hash':_0xd9d600,'lines':_0x1c4bdd});}});});});}}exports['Scanner']=Scanner;const findit=require('findit2'),split=require('split');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x29502b=a22_0x1668;(function(_0x1b4a5b,_0x5e5340){const _0x383b42=a22_0x1668,_0x1036ed=_0x1b4a5b();while(!![]){try{const _0x20b252=-parseInt(_0x383b42(0xa4))/0x1+parseInt(_0x383b42(0x91))/0x2+-parseInt(_0x383b42(0x9a))/0x3*(-parseInt(_0x383b42(0x96))/0x4)+parseInt(_0x383b42(0x93))/0x5*(parseInt(_0x383b42(0xb5))/0x6)+parseInt(_0x383b42(0xa0))/0x7*(-parseInt(_0x383b42(0x92))/0x8)+-parseInt(_0x383b42(0x99))/0x9*(-parseInt(_0x383b42(0x8d))/0xa)+-parseInt(_0x383b42(0x95))/0xb;if(_0x20b252===_0x5e5340)break;else _0x1036ed['push'](_0x1036ed['shift']());}catch(_0x27ba04){_0x1036ed['push'](_0x1036ed['shift']());}}}(a22_0x8a40,0x924bf));const a22_0x3c4e17=(function(){let _0x25d7f2=!![];return function(_0x41b4b0,_0xcab37a){const _0x42cc6e=_0x25d7f2?function(){const _0x42a142=a22_0x1668;if(_0xcab37a){const _0x2053db=_0xcab37a[_0x42a142(0xaa)](_0x41b4b0,arguments);return _0xcab37a=null,_0x2053db;}}:function(){};return _0x25d7f2=![],_0x42cc6e;};}()),a22_0xc4ffd0=a22_0x3c4e17(this,function(){const _0x2f79a8=a22_0x1668;return a22_0xc4ffd0[_0x2f79a8(0xbb)]()[_0x2f79a8(0xb1)](_0x2f79a8(0xbc))[_0x2f79a8(0xbb)]()[_0x2f79a8(0xb4)](a22_0xc4ffd0)[_0x2f79a8(0xb1)]('(((.+)+)+)+$');});a22_0xc4ffd0();'use strict';function a22_0x1668(_0x59ee21,_0x5a1482){const _0x2e3f37=a22_0x8a40();return a22_0x1668=function(_0xc4ffd0,_0x3c4e17){_0xc4ffd0=_0xc4ffd0-0x82;let _0x8a40c4=_0x2e3f37[_0xc4ffd0];return _0x8a40c4;},a22_0x1668(_0x59ee21,_0x5a1482);}Object[a22_0x29502b(0xbd)](exports,a22_0x29502b(0xab),{'value':!![]}),exports['create']=exports[a22_0x29502b(0x8e)]=void 0x0;const fs=require('fs'),pLimit=require('p-limit'),path=require(a22_0x29502b(0x8f)),util_1=require(a22_0x29502b(0x88)),sourceMap=require('source-map'),file_index_1=require('./file-index'),CONCURRENCY=0xa,WEBPACK_PREFIX=a22_0x29502b(0xb8),readFilep=(0x0,util_1[a22_0x29502b(0xa6)])(fs[a22_0x29502b(0x82)]),MAP_EXT=a22_0x29502b(0xa1);async function processSourcemap(_0x4b2d90,_0x29157b){const _0xd6679d=a22_0x29502b;if(!_0x29157b||!_0x29157b[_0xd6679d(0x8a)](MAP_EXT))throw new Error('The\x20path\x20'+_0x29157b+_0xd6679d(0xa3));_0x29157b=path['normalize'](_0x29157b);let _0x5e83bb;try{_0x5e83bb=await readFilep(_0x29157b,_0xd6679d(0x89));}catch(_0x31deb9){throw new Error('Could\x20not\x20read\x20sourcemap\x20file\x20'+_0x29157b+':\x20'+_0x31deb9);}let _0x2f64f9;try{_0x2f64f9=new sourceMap[(_0xd6679d(0x83))](_0x5e83bb);}catch(_0x5569a9){throw new Error(_0xd6679d(0x86)+_0xd6679d(0xa5)+_0x29157b+':\x20'+_0x5569a9);}const _0x58cb42=_0x2f64f9[_0xd6679d(0xbf)]?_0x2f64f9['file']:path['basename'](_0x29157b,'.map'),_0x1e257b=path[_0xd6679d(0x8b)](_0x29157b),_0x35bc4a=path[_0xd6679d(0x98)](path[_0xd6679d(0xa8)](_0x1e257b,_0x58cb42)),_0x32de76=_0x2f64f9[_0xd6679d(0x8c)][_0xd6679d(0xad)](_0x5a240b=>!!_0x5a240b)[_0xd6679d(0xa2)]((_0x2eaaee,_0x311ed9)=>_0x2eaaee['length']-_0x311ed9['length']),_0x171177=_0x32de76['map'](_0x196853=>{const _0x83bc1a=_0xd6679d;if(_0x196853['toLowerCase']()[_0x83bc1a(0x84)](WEBPACK_PREFIX))return _0x196853[_0x83bc1a(0x9b)](WEBPACK_PREFIX['length']);return _0x196853;})[_0xd6679d(0x9f)](_0x44c2c7=>{const _0x9eef90=_0xd6679d;return path[_0x9eef90(0x98)](path['join'](_0x1e257b,_0x44c2c7));});if(_0x171177[_0xd6679d(0x9e)]===0x0)throw new Error(_0xd6679d(0x9c)+_0x29157b);for(const _0xb2e8c8 of _0x171177){_0x4b2d90['set'](path[_0xd6679d(0x98)](_0xb2e8c8),{'outputFile':_0x35bc4a,'mapFile':_0x29157b,'mapConsumer':_0x2f64f9,'sources':_0x32de76});}}function a22_0x8a40(){const _0x4688db=['replace','util','utf8','endsWith','dirname','sources','133720ccJGeI','SourceMapper','path','from','2348774NscsJO','8265584vgQkpv','34070paPjzc','findShortestFuzzyMatches','8350815cZkHbg','524796lSgsCv','line','normalize','171wJEfWZ','9WkmhNe','substring','No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20','outputFile','length','map','7gAShPw','.map','sort','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','622908beZZOe','sourcemap\x20file\x20','promisify','getMappingInfo','join','create','apply','__esModule','col','filter','infoMap','get','keys','search','allGeneratedPositionsFor','mapFile','constructor','1050hFbPOA','generatedPositionFor','has','webpack://','FileIndex','hasMappingInfo','toString','(((.+)+)+)+$','defineProperty','findInSources','file','readFile','SourceMapConsumer','startsWith','fromFileList','An\x20error\x20occurred\x20while\x20reading\x20the\x20'];a22_0x8a40=function(){return _0x4688db;};return a22_0x8a40();}class SourceMapper{constructor(){const _0x301fde=a22_0x29502b;this[_0x301fde(0xae)]=new Map();}['getMappingInfo'](_0x1a19d0){const _0x45a955=a22_0x29502b;if(this['infoMap'][_0x45a955(0xb7)](path['normalize'](_0x1a19d0)))return{'entry':this[_0x45a955(0xae)]['get'](_0x1a19d0),'matchedPath':path[_0x45a955(0x98)](_0x1a19d0)};const _0x222e2d=file_index_1[_0x45a955(0xb9)][_0x45a955(0x85)](Array[_0x45a955(0x90)](this[_0x45a955(0xae)][_0x45a955(0xb0)]()))[_0x45a955(0x94)](_0x1a19d0);if(_0x222e2d[_0x45a955(0x9e)]===0x1)return{'entry':this['infoMap'][_0x45a955(0xaf)](_0x222e2d[0x0]),'matchedPath':_0x222e2d[0x0]};return null;}[a22_0x29502b(0xba)](_0x2acc4d){const _0x17f7f9=a22_0x29502b;return this[_0x17f7f9(0xa7)](_0x2acc4d)!==null;}['mappingInfo'](_0x5f41b8,_0x3f1cc5,_0x1171d4){const _0x4db58d=a22_0x29502b;_0x5f41b8=path[_0x4db58d(0x98)](_0x5f41b8);const _0x5508d8=this[_0x4db58d(0xa7)](_0x5f41b8);if(!_0x5508d8)return null;const {entry:_0x5c0dd9,matchedPath:_0x5dcc37}=_0x5508d8,_0x228182=path['relative'](path['dirname'](_0x5c0dd9[_0x4db58d(0xb3)]),_0x5dcc37)[_0x4db58d(0x87)](/\\/g,'/');let _0x1eea69=this[_0x4db58d(0xbe)](_0x5c0dd9,_0x228182);_0x1eea69=_0x1eea69||this[_0x4db58d(0xbe)](_0x5c0dd9,_0x5f41b8);const _0x623b38={'source':_0x1eea69||_0x228182,'line':_0x3f1cc5+0x1,'column':_0x1171d4},_0x3bc511=_0x5c0dd9['mapConsumer'],_0x111bf4=_0x3bc511[_0x4db58d(0xb2)](_0x623b38),_0x58cf3e=_0x111bf4&&_0x111bf4[_0x4db58d(0x9e)]>0x0?_0x111bf4['reduce']((_0x391da8,_0x4c904b)=>{const _0x205fb1=_0x4db58d;return _0x4c904b[_0x205fb1(0x97)]<_0x391da8[_0x205fb1(0x97)]?_0x4c904b:_0x391da8;}):_0x3bc511[_0x4db58d(0xb6)](_0x623b38);return{'file':_0x5c0dd9[_0x4db58d(0x9d)],'line':_0x58cf3e[_0x4db58d(0x97)]-0x1,'column':_0x58cf3e[_0x4db58d(0xac)]};}[a22_0x29502b(0xbe)](_0x46c7b9,_0x42afe7){const _0x39097b=a22_0x29502b;for(const _0xe1f445 of _0x46c7b9[_0x39097b(0x8c)]){if(_0xe1f445['endsWith'](_0x42afe7))return _0xe1f445;}return undefined;}}exports[a22_0x29502b(0x8e)]=SourceMapper;async function create(_0x2d8e10){const _0x4b8ac5=pLimit(CONCURRENCY),_0x41271f=new SourceMapper(),_0x597cda=_0x2d8e10['map'](_0x38d621=>_0x4b8ac5(()=>processSourcemap(_0x41271f['infoMap'],_0x38d621)));try{await Promise['all'](_0x597cda);}catch(_0x5d0a33){throw new Error('An\x20error\x20occurred\x20while\x20processing\x20the\x20sourcemap\x20files'+_0x5d0a33);}return _0x41271f;}exports[a22_0x29502b(0xa9)]=create;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a23_0x40a0d8=a23_0x14ae;(function(_0x5c5840,_0x42d0e5){const _0x526fb9=a23_0x14ae,_0x186351=_0x5c5840();while(!![]){try{const _0x27b8b7=parseInt(_0x526fb9(0x17c))/0x1+parseInt(_0x526fb9(0x178))/0x2+-parseInt(_0x526fb9(0x17d))/0x3+-parseInt(_0x526fb9(0x175))/0x4*(-parseInt(_0x526fb9(0x16a))/0x5)+parseInt(_0x526fb9(0x16d))/0x6*(parseInt(_0x526fb9(0x174))/0x7)+parseInt(_0x526fb9(0x16f))/0x8+-parseInt(_0x526fb9(0x167))/0x9;if(_0x27b8b7===_0x42d0e5)break;else _0x186351['push'](_0x186351['shift']());}catch(_0x2967c0){_0x186351['push'](_0x186351['shift']());}}}(a23_0x2345,0xbdb9d));const a23_0x1c5356=(function(){let _0x2ff1fb=!![];return function(_0x1f423f,_0x2b7f68){const _0x11bba6=_0x2ff1fb?function(){const _0x476512=a23_0x14ae;if(_0x2b7f68){const _0x4a1601=_0x2b7f68[_0x476512(0x16e)](_0x1f423f,arguments);return _0x2b7f68=null,_0x4a1601;}}:function(){};return _0x2ff1fb=![],_0x11bba6;};}()),a23_0x3c7ead=a23_0x1c5356(this,function(){const _0x23e8da=a23_0x14ae;return a23_0x3c7ead['toString']()['search'](_0x23e8da(0x16b))['toString']()[_0x23e8da(0x171)](a23_0x3c7ead)[_0x23e8da(0x17a)](_0x23e8da(0x16b));});function a23_0x14ae(_0x1067df,_0x3f82b9){const _0x5c6d6a=a23_0x2345();return a23_0x14ae=function(_0x3c7ead,_0x1c5356){_0x3c7ead=_0x3c7ead-0x166;let _0x2345f1=_0x5c6d6a[_0x3c7ead];return _0x2345f1;},a23_0x14ae(_0x1067df,_0x3f82b9);}a23_0x3c7ead();'use strict';function a23_0x2345(){const _0x11f08d=['fractionalTokens','constructor','min','nowInNanoSeconds','320243wopVFH','4oEpDGT','takeTokens','defineProperty','2358624uwZXmx','fillTime','search','__esModule','129387UxiycY','2705682DTBilf','refillBucket','requestTokens','capacity','tokens','13853484RZtSUk','LeakyBucket','requestTokensSlow','3822465BIAdqO','(((.+)+)+)+$','fillRate','102xELYPl','apply','2938896ztwquf'];a23_0x2345=function(){return _0x11f08d;};return a23_0x2345();}Object[a23_0x40a0d8(0x177)](exports,a23_0x40a0d8(0x17b),{'value':!![]}),exports[a23_0x40a0d8(0x168)]=void 0x0;const NANOSECONDS_CONVERSION=0x3b9aca00;class LeakyBucket{constructor(_0x4cbafe,_0x3fe306){const _0x5bc0ce=a23_0x40a0d8;this[_0x5bc0ce(0x166)]=_0x4cbafe,this[_0x5bc0ce(0x180)]=_0x4cbafe,this[_0x5bc0ce(0x170)]=0x0,this[_0x5bc0ce(0x16c)]=_0x3fe306,this[_0x5bc0ce(0x179)]=this[_0x5bc0ce(0x173)]();}[a23_0x40a0d8(0x173)](){const _0x4ab11d=process['hrtime']();return _0x4ab11d[0x0]*NANOSECONDS_CONVERSION+_0x4ab11d[0x1];}['refillBucket'](_0x2455c3){const _0x3bb5cc=a23_0x40a0d8,_0x16b411=this[_0x3bb5cc(0x173)]()-this[_0x3bb5cc(0x179)];this[_0x3bb5cc(0x170)]+=Math[_0x3bb5cc(0x172)](_0x16b411*(this[_0x3bb5cc(0x16c)]/NANOSECONDS_CONVERSION),this['capacity']);const _0x42f6a0=Math['floor'](this[_0x3bb5cc(0x170)]),_0x2bdd76=Math['floor'](this[_0x3bb5cc(0x180)]-_0x2455c3);let _0x1c5c64=0x0;return _0x2bdd76<_0x42f6a0?(this[_0x3bb5cc(0x170)]=0x0,_0x1c5c64=_0x2bdd76):(_0x1c5c64=_0x42f6a0,this[_0x3bb5cc(0x170)]-=_0x1c5c64),this[_0x3bb5cc(0x166)]+=_0x1c5c64,this[_0x3bb5cc(0x179)]=this[_0x3bb5cc(0x173)](),_0x1c5c64;}[a23_0x40a0d8(0x169)](_0xfe6ebb){const _0x13b880=a23_0x40a0d8;if(this[_0x13b880(0x166)]>0x0)return!![];const _0x4b53aa=this[_0x13b880(0x17e)](this[_0x13b880(0x166)]+_0xfe6ebb);if(_0x4b53aa>0x0)return!![];return this[_0x13b880(0x166)]+=_0xfe6ebb,![];}[a23_0x40a0d8(0x176)](_0x54ebac){const _0x2844e1=a23_0x40a0d8;this['tokens']-=_0x54ebac,this[_0x2844e1(0x166)]<0x0&&this[_0x2844e1(0x17e)](this[_0x2844e1(0x166)]);}[a23_0x40a0d8(0x17f)](_0x7750a5){const _0x1163f6=a23_0x40a0d8;if(_0x7750a5>this[_0x1163f6(0x180)])return![];this[_0x1163f6(0x166)]-=_0x7750a5;if(this[_0x1163f6(0x166)]>=0x0)return!![];return this[_0x1163f6(0x169)](_0x7750a5);}}exports[a23_0x40a0d8(0x168)]=LeakyBucket;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a24_0x83e0e6=a24_0x1452;function a24_0x66fb(){var _0x357504=['21128316JpGYgQ','853359aZvCNu','30IvabNl','1905366UJnVCM','2cjqBSr','data','701167TLHLQI','__esModule','actionId','LogData','415395xWhDDT','level','order','timestamp','constructor','search','apply','(((.+)+)+)+$','388480uroTXW','24mRMVQG','245994WJVZqE','4VcWvSM','toString'];a24_0x66fb=function(){return _0x357504;};return a24_0x66fb();}(function(_0x31c43e,_0x103622){var _0x84bfce=a24_0x1452,_0x279226=_0x31c43e();while(!![]){try{var _0x327df6=parseInt(_0x84bfce(0xa6))/0x1*(-parseInt(_0x84bfce(0xa4))/0x2)+parseInt(_0x84bfce(0xa1))/0x3*(-parseInt(_0x84bfce(0x9e))/0x4)+parseInt(_0x84bfce(0x9b))/0x5+-parseInt(_0x84bfce(0xa3))/0x6+parseInt(_0x84bfce(0x9d))/0x7*(-parseInt(_0x84bfce(0x9c))/0x8)+-parseInt(_0x84bfce(0x93))/0x9*(parseInt(_0x84bfce(0xa2))/0xa)+parseInt(_0x84bfce(0xa0))/0xb;if(_0x327df6===_0x103622)break;else _0x279226['push'](_0x279226['shift']());}catch(_0x24298f){_0x279226['push'](_0x279226['shift']());}}}(a24_0x66fb,0x6e334));var a24_0x2d52c0=(function(){var _0xa5b0cd=!![];return function(_0x1190a8,_0x472d7c){var _0x1f0581=_0xa5b0cd?function(){var _0x58d101=a24_0x1452;if(_0x472d7c){var _0x1855c0=_0x472d7c[_0x58d101(0x99)](_0x1190a8,arguments);return _0x472d7c=null,_0x1855c0;}}:function(){};return _0xa5b0cd=![],_0x1f0581;};}()),a24_0x1c8e1e=a24_0x2d52c0(this,function(){var _0xd380a0=a24_0x1452;return a24_0x1c8e1e['toString']()[_0xd380a0(0x98)](_0xd380a0(0x9a))[_0xd380a0(0x9f)]()[_0xd380a0(0x97)](a24_0x1c8e1e)[_0xd380a0(0x98)](_0xd380a0(0x9a));});a24_0x1c8e1e();'use strict';Object['defineProperty'](exports,a24_0x83e0e6(0xa7),{'value':!![]}),exports[a24_0x83e0e6(0xa9)]=void 0x0;class LogData{constructor(_0x12d3e8,_0x3781c0,_0x3a5525,_0x3eb1c1,_0x11f0a6,_0x4250a8){var _0x53b67f=a24_0x83e0e6;this[_0x53b67f(0xa5)]=_0x12d3e8,this[_0x53b67f(0x96)]=_0x3781c0,this[_0x53b67f(0x94)]=_0x3a5525,this[_0x53b67f(0xa8)]=_0x3eb1c1,this[_0x53b67f(0x95)]=_0x11f0a6,this['watchResultsJsonArray']=_0x4250a8;}}function a24_0x1452(_0x4c919c,_0x18545c){var _0x1547fc=a24_0x66fb();return a24_0x1452=function(_0x1c8e1e,_0x2d52c0){_0x1c8e1e=_0x1c8e1e-0x93;var _0x66fb8b=_0x1547fc[_0x1c8e1e];return _0x66fb8b;},a24_0x1452(_0x4c919c,_0x18545c);}exports[a24_0x83e0e6(0xa9)]=LogData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a25_0x562b5f=a25_0x492e;(function(_0x58b547,_0x3931f2){const _0x173490=a25_0x492e,_0x15ef42=_0x58b547();while(!![]){try{const _0x34a243=-parseInt(_0x173490(0xa7))/0x1*(-parseInt(_0x173490(0x77))/0x2)+-parseInt(_0x173490(0xa4))/0x3*(-parseInt(_0x173490(0xab))/0x4)+-parseInt(_0x173490(0x88))/0x5*(-parseInt(_0x173490(0x9b))/0x6)+-parseInt(_0x173490(0x7e))/0x7+parseInt(_0x173490(0x7d))/0x8+-parseInt(_0x173490(0x8d))/0x9*(parseInt(_0x173490(0xa1))/0xa)+-parseInt(_0x173490(0x7c))/0xb;if(_0x34a243===_0x3931f2)break;else _0x15ef42['push'](_0x15ef42['shift']());}catch(_0x410035){_0x15ef42['push'](_0x15ef42['shift']());}}}(a25_0x38da,0xc703d));function a25_0x38da(){const _0x2f2b8b=['LogData','globalPipingStatus','sendAppOnlyBreakpointHitsToServer','38533352bMSqdO','6246504cuGeIu','2638734pvFkWS','toString','(((.+)+)+)+$','WARN','search','controller','pendingAppOnlyActions','addLog','constructor','addAndPipeLog','8068765gFzPJs','should\x20have\x20a\x20registered\x20debuggee','getAndClearAppOnlyFirstBreakpointHits','clear','assert','9NYyrXH','addLogData','info','apply','BOTH','WARNING','has','actionsReportedToServer','warn','bind','./log-data','log','logger','lastSendLogsTime','6SlQyGA','PipingManager','ERROR','max','sendBreakpointLogsToServer','APP_ONLY','1497170GAABTP','forEach','error','4610055nxyEtl','push','now','125OhaCAc','NOT_SET','removeBreakpoint','getBreakpointPiping','4VWIOkF','length','defineProperty','pendingLogs','order','delete','PLUGIN_ONLY','breakPointIdToPipingStatus','addAppOnlyFirstBreakpointHitsData','add','14618yRBqBV','getLogFunction'];a25_0x38da=function(){return _0x2f2b8b;};return a25_0x38da();}const a25_0x55d15d=(function(){let _0x55818f=!![];return function(_0x19f4e8,_0x22e485){const _0x4a6fa7=_0x55818f?function(){const _0x2dae10=a25_0x492e;if(_0x22e485){const _0x39c6b9=_0x22e485[_0x2dae10(0x90)](_0x19f4e8,arguments);return _0x22e485=null,_0x39c6b9;}}:function(){};return _0x55818f=![],_0x4a6fa7;};}()),a25_0x435c7e=a25_0x55d15d(this,function(){const _0x1e3b37=a25_0x492e;return a25_0x435c7e[_0x1e3b37(0x7f)]()['search'](_0x1e3b37(0x80))['toString']()[_0x1e3b37(0x86)](a25_0x435c7e)[_0x1e3b37(0x82)](_0x1e3b37(0x80));});a25_0x435c7e();function a25_0x492e(_0x3f522a,_0x38daa2){const _0x1fc17a=a25_0x38da();return a25_0x492e=function(_0x435c7e,_0x55d15d){_0x435c7e=_0x435c7e-0x71;let _0x38daec=_0x1fc17a[_0x435c7e];return _0x38daec;},a25_0x492e(_0x3f522a,_0x38daa2);}'use strict';Object[a25_0x562b5f(0xad)](exports,'__esModule',{'value':!![]}),exports['PipingManager']=void 0x0;const log_data_1=require(a25_0x562b5f(0x97)),assert=require(a25_0x562b5f(0x8c)),SEND_LOGS_COOLDOWN_MS=0xa*0x3e8;class PipingManager{constructor(_0x531ef8,_0x3b6a23,_0x241981){const _0x362bef=a25_0x562b5f;this[_0x362bef(0xae)]=[],this[_0x362bef(0x9a)]=0x0,this[_0x362bef(0x7a)]=_0x531ef8,this[_0x362bef(0x74)]={},this['order']=0x0,this[_0x362bef(0x83)]=_0x3b6a23,this['logger']=_0x241981[_0x362bef(0x98)][_0x362bef(0x99)],this[_0x362bef(0x94)]=new Set(),this[_0x362bef(0x84)]=new Set();}['addLogData'](_0x2df14b,_0x3f9ba3){const _0x3d29bc=a25_0x562b5f;if(this[_0x3d29bc(0xae)][_0x3d29bc(0xa5)](_0x3f9ba3)>0x1)return;const _0x275973=Math[_0x3d29bc(0x9e)](0x0,this[_0x3d29bc(0x9a)]+SEND_LOGS_COOLDOWN_MS-Date[_0x3d29bc(0xa6)]());setTimeout(()=>{const _0x4f2b47=_0x3d29bc,_0x21be21=this['pendingLogs']['splice'](0x0);_0x21be21['length']>0x0&&(this[_0x4f2b47(0x9a)]=Date[_0x4f2b47(0xa6)](),this['controller'][_0x4f2b47(0x9f)](_0x2df14b,_0x21be21,_0x55e91e=>{const _0x1c8667=_0x4f2b47;_0x55e91e&&_0x21be21[_0x1c8667(0xa2)](_0x23e805=>this[_0x1c8667(0x8e)](_0x2df14b,_0x23e805));}));},_0x275973);}[a25_0x562b5f(0x75)](_0x517964,_0x548884){const _0x4424b5=a25_0x562b5f;this[_0x4424b5(0x84)][_0x4424b5(0x76)](_0x548884),setTimeout(()=>{const _0x2e2c4a=_0x4424b5,_0x3144d4=this[_0x2e2c4a(0x8a)]();_0x3144d4[_0x2e2c4a(0xac)]>0x0&&this[_0x2e2c4a(0x83)][_0x2e2c4a(0x7b)](_0x517964,_0x3144d4,_0x5c6b7e=>{if(_0x5c6b7e)for(const _0x339e0a of _0x3144d4){this['addAppOnlyFirstBreakpointHitsData'](_0x517964,_0x339e0a);}});});}[a25_0x562b5f(0x85)](_0x4bf245,_0xac8db0,_0x3e7c1d,_0x21db54,_0x8fc911){const _0x137676=a25_0x562b5f;assert(_0x4bf245['id'],_0x137676(0x89));const _0x5bab9d=new log_data_1[(_0x137676(0x79))](_0x21db54,Date[_0x137676(0xa6)](),_0x3e7c1d,_0xac8db0,this[_0x137676(0x71)],_0x8fc911);this[_0x137676(0x8e)](_0x4bf245,_0x5bab9d),this[_0x137676(0x71)]++;}[a25_0x562b5f(0x78)](_0x4f7cab){const _0x1a1c2b=a25_0x562b5f;if(_0x4f7cab===_0x1a1c2b(0x9d))return this[_0x1a1c2b(0x99)][_0x1a1c2b(0xa3)][_0x1a1c2b(0x96)](this['logger']);if(_0x4f7cab==='WARN')return this[_0x1a1c2b(0x99)][_0x1a1c2b(0x95)][_0x1a1c2b(0x96)](this[_0x1a1c2b(0x99)]);return this[_0x1a1c2b(0x99)][_0x1a1c2b(0x8f)]['bind'](this[_0x1a1c2b(0x99)]);}[a25_0x562b5f(0x87)](_0x67729,_0x44fd8d,_0x319e1c,_0x37794a='INFO',_0x5533b3=_0x319e1c,_0x1a5b5f){const _0x292302=a25_0x562b5f,_0xa7c174=this[_0x292302(0xaa)](_0x44fd8d);if(_0xa7c174===_0x292302(0x91)||_0xa7c174===_0x292302(0x73))this[_0x292302(0x94)]['add'](_0x44fd8d),this[_0x292302(0x85)](_0x67729,_0x44fd8d,_0x37794a,_0x5533b3,_0x1a5b5f);else!this[_0x292302(0x94)][_0x292302(0x93)](_0x44fd8d)&&(this[_0x292302(0x94)]['add'](_0x44fd8d),this[_0x292302(0x75)](_0x67729,_0x44fd8d));if(_0xa7c174===_0x292302(0x91)||_0xa7c174===_0x292302(0xa0)){const _0x4806fa=this[_0x292302(0x78)](_0x37794a),_0xf4d6ca=_0x37794a===_0x292302(0x81)?_0x292302(0x92):_0x37794a;_0x4806fa(_0xf4d6ca+':\x20'+_0x319e1c);}}[a25_0x562b5f(0xaa)](_0x46e10d){const _0x22a278=a25_0x562b5f;let _0x357527=this['breakPointIdToPipingStatus'][_0x46e10d];return(!_0x357527||_0x357527===_0x22a278(0xa8))&&(_0x357527=this[_0x22a278(0x7a)]),_0x357527;}['getAndClearAppOnlyFirstBreakpointHits'](){const _0x2c8a9d=a25_0x562b5f,_0x212899=[];for(const _0xcf672d of this[_0x2c8a9d(0x84)]){_0x212899[_0x2c8a9d(0xa5)](_0xcf672d);}return this[_0x2c8a9d(0x84)][_0x2c8a9d(0x8b)](),_0x212899;}['setPipingStatus'](_0x6d291d,_0x3d4004){const _0x48727b=a25_0x562b5f;this[_0x48727b(0x74)][_0x6d291d]=_0x3d4004;}[a25_0x562b5f(0xa9)](_0x3ae191){const _0x207571=a25_0x562b5f;this['actionsReportedToServer'][_0x207571(0x72)](_0x3ae191);}}exports[a25_0x562b5f(0x9c)]=PipingManager;
|