lightrun 1.39.2 → 1.40.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.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 +8 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x2a394b=a17_0x2514;(function(_0x17f2bb,_0x3f3fb7){const _0x1b9157=a17_0x2514,_0x1bd7ca=_0x17f2bb();while(!![]){try{const _0x1e985a=parseInt(_0x1b9157(0xa7))/0x1*(parseInt(_0x1b9157(0xce))/0x2)+-parseInt(_0x1b9157(0x10b))/0x3+-parseInt(_0x1b9157(0xb2))/0x4+parseInt(_0x1b9157(0x131))/0x5+-parseInt(_0x1b9157(0x151))/0x6*(-parseInt(_0x1b9157(0x118))/0x7)+parseInt(_0x1b9157(0xf7))/0x8*(-parseInt(_0x1b9157(0xd8))/0x9)+parseInt(_0x1b9157(0xf8))/0xa;if(_0x1e985a===_0x3f3fb7)break;else _0x1bd7ca['push'](_0x1bd7ca['shift']());}catch(_0x22eeaf){_0x1bd7ca['push'](_0x1bd7ca['shift']());}}}(a17_0x54ba,0x4c3bc));const a17_0x3e1028=(function(){let _0x2b2cf7=!![];return function(_0x29a82e,_0x2dc1b1){const _0x3ab881=_0x2b2cf7?function(){const _0x2a4b56=a17_0x2514;if(_0x2dc1b1){const _0x207fcb=_0x2dc1b1[_0x2a4b56(0x125)](_0x29a82e,arguments);return _0x2dc1b1=null,_0x207fcb;}}:function(){};return _0x2b2cf7=![],_0x3ab881;};}()),a17_0x13c1e3=a17_0x3e1028(this,function(){const _0x5e95d1=a17_0x2514;return a17_0x13c1e3[_0x5e95d1(0x182)]()[_0x5e95d1(0x197)](_0x5e95d1(0x119))[_0x5e95d1(0x182)]()['constructor'](a17_0x13c1e3)['search']('(((.+)+)+)+$');});a17_0x13c1e3();function a17_0x2514(_0x57fc3a,_0x5f4569){const _0x167155=a17_0x54ba();return a17_0x2514=function(_0x13c1e3,_0x3e1028){_0x13c1e3=_0x13c1e3-0x9d;let _0x54ba3f=_0x167155[_0x13c1e3];return _0x54ba3f;},a17_0x2514(_0x57fc3a,_0x5f4569);}'use strict';var __classPrivateFieldSet=this&&this[a17_0x2a394b(0xde)]||function(_0x4f004c,_0x5f06b1,_0xb9b0ce,_0x5a2ffe,_0x1f4cb4){const _0x53c491=a17_0x2a394b;if(_0x5a2ffe==='m')throw new TypeError(_0x53c491(0x162));if(_0x5a2ffe==='a'&&!_0x1f4cb4)throw new TypeError(_0x53c491(0x170));if(typeof _0x5f06b1==='function'?_0x4f004c!==_0x5f06b1||!_0x1f4cb4:!_0x5f06b1['has'](_0x4f004c))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x5a2ffe==='a'?_0x1f4cb4['call'](_0x4f004c,_0xb9b0ce):_0x1f4cb4?_0x1f4cb4[_0x53c491(0x175)]=_0xb9b0ce:_0x5f06b1[_0x53c491(0x12a)](_0x4f004c,_0xb9b0ce),_0xb9b0ce;},__classPrivateFieldGet=this&&this[a17_0x2a394b(0x140)]||function(_0x2bc62e,_0x11b8b0,_0x4d032f,_0x137f16){const _0x2dc54c=a17_0x2a394b;if(_0x4d032f==='a'&&!_0x137f16)throw new TypeError(_0x2dc54c(0x18d));if(typeof _0x11b8b0===_0x2dc54c(0x12f)?_0x2bc62e!==_0x11b8b0||!_0x137f16:!_0x11b8b0['has'](_0x2bc62e))throw new TypeError(_0x2dc54c(0x160));return _0x4d032f==='m'?_0x137f16:_0x4d032f==='a'?_0x137f16[_0x2dc54c(0x169)](_0x2bc62e):_0x137f16?_0x137f16[_0x2dc54c(0x175)]:_0x11b8b0[_0x2dc54c(0xad)](_0x2bc62e);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_runningOnGCP,_Debuglet_getClusterNameFromMetadata,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object['defineProperty'](exports,a17_0x2a394b(0x13c),{'value':!![]}),exports[a17_0x2a394b(0x16a)]=exports['CachedPromise']=void 0x0;const assert=require('assert'),events_1=require(a17_0x2a394b(0x129)),extend=require(a17_0x2a394b(0x111)),fs=require('fs'),metadata=require(a17_0x2a394b(0xdb)),path=require(a17_0x2a394b(0xcf)),util=require('util'),status_message_1=require(a17_0x2a394b(0x16b)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a17_0x2a394b(0x146)),config_1=require(a17_0x2a394b(0x150)),controller_1=require(a17_0x2a394b(0x14d)),SourceMapper=require('./io/sourcemapper'),debugapi=require(a17_0x2a394b(0x101)),piping_manager_1=require(a17_0x2a394b(0x16e)),quota_manager_1=require(a17_0x2a394b(0x142)),patterns_blocklist_manager_1=require(a17_0x2a394b(0x17f)),scanner_1=require('./io/scanner'),environment_metadata_1=require(a17_0x2a394b(0x121)),file_index_1=require('./io/file-index'),utils_1=require('./util/utils'),redaction_manager_1=require('./reduction/redaction-manager'),configuration_provider_1=require(a17_0x2a394b(0xa2)),normalizeConfig_1=require(a17_0x2a394b(0x15c)),mapSubtract_1=require(a17_0x2a394b(0x17b)),format_1=require(a17_0x2a394b(0x18f)),createDebuggee_1=require(a17_0x2a394b(0x12c)),readFilep=util[a17_0x2a394b(0xf3)](fs[a17_0x2a394b(0x166)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0xbc4b5,_0x544ea5)=>{const _0x30032e=a17_0x2a394b;let _0x434374=_0xbc4b5+util[_0x30032e(0xf9)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x544ea5['id'],_0x544ea5[_0x30032e(0x11e)],util['inspect'](_0x544ea5[_0x30032e(0xeb)]));if(_0x544ea5[_0x30032e(0x138)]){const _0x13dfa2=Number(_0x544ea5['createTime'][_0x30032e(0xf4)]),_0x203711=new Date(_0x13dfa2*0x3e8);_0x434374+=_0x30032e(0x115)+_0x203711[_0x30032e(0x182)]();}return _0x544ea5[_0x30032e(0x124)]&&(_0x434374+='\x0a\x09condition:\x20'+util[_0x30032e(0x155)](_0x544ea5[_0x30032e(0x124)])),_0x544ea5[_0x30032e(0x137)]&&(_0x434374+=_0x30032e(0x10c)+util[_0x30032e(0x155)](_0x544ea5[_0x30032e(0x137)])),_0x434374;},formatBreakpoints=(_0x1f2e16,_0x3db833)=>{const _0x196377=a17_0x2a394b;return _0x1f2e16+Object[_0x196377(0xfc)](_0x3db833)[_0x196377(0x158)](_0xe09564=>{return formatBreakpoint('',_0x3db833[_0xe09564]);})['join']('\x0a');};class CachedPromise{constructor(){const _0xc4d114=a17_0x2a394b;this[_0xc4d114(0x188)]=null,this[_0xc4d114(0xd6)]=new Promise(_0x35e4ea=>{this['promiseResolve']=_0x35e4ea;});}[a17_0x2a394b(0xad)](){const _0x3fae1d=a17_0x2a394b;return this[_0x3fae1d(0xd6)];}[a17_0x2a394b(0x10f)](){const _0x5f0f32=a17_0x2a394b;this['promiseResolve']&&(this[_0x5f0f32(0x188)](),this[_0x5f0f32(0x188)]=null);}}exports[a17_0x2a394b(0x143)]=CachedPromise;class IsReadyImpl{constructor(_0x1a8c05){const _0x36e010=a17_0x2a394b;this[_0x36e010(0xf5)]=_0x1a8c05;}[a17_0x2a394b(0x14a)](){const _0x16624f=a17_0x2a394b;return this[_0x16624f(0xf5)][_0x16624f(0x14a)]();}}class Debuglet extends events_1[a17_0x2a394b(0x103)]{constructor(_0x3962c2,_0x5482c9){const _0x656075=a17_0x2a394b;super(),_Debuglet_instances[_0x656075(0x13e)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug['set'](this,void 0x0),_Debuglet_running[_0x656075(0x12a)](this,void 0x0),_Debuglet_controller[_0x656075(0x12a)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x656075(0x12a)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x656075(0x12a)](this,void 0x0),_Debuglet_breakpointFetched[_0x656075(0x12a)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x656075(0x12a)](this,null),this[_0x656075(0x181)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x656075(0x12a)](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager[_0x656075(0x12a)](this,void 0x0),_Debuglet_blocklistManager[_0x656075(0x12a)](this,void 0x0),_Debuglet_redactionManager[_0x656075(0x12a)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this[_0x656075(0x9f)]=(0x0,normalizeConfig_1[_0x656075(0xb4)])(_0x5482c9),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this[_0x656075(0x9f)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x3962c2,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x656075(0x153)]=agent_logger_1[_0x656075(0x19c)][_0x656075(0x198)](this[_0x656075(0x9f)][_0x656075(0x139)][_0x656075(0x116)],this[_0x656075(0x9f)][_0x656075(0x139)][_0x656075(0x191)],this['config'][_0x656075(0x139)]['agentLogMaxFileCount'],this[_0x656075(0x9f)][_0x656075(0x139)]['agentLogLevel'],this[_0x656075(0x9f)][_0x656075(0x139)][_0x656075(0x12b)]),(0x0,config_1[_0x656075(0xfa)])(this[_0x656075(0x9f)],this[_0x656075(0x153)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x656075(0xe9))](this[_0x656075(0x153)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x656075(0x145))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x656075(0x9f)],this[_0x656075(0x153)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x656075(0x14b))](this[_0x656075(0x153)]),'f'),this['debuggee']=null,this[_0x656075(0x122)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1['QuotaManager'](this['logger'],this[_0x656075(0x9f)]),'f'),this[_0x656075(0xd5)]=new piping_manager_1[(_0x656075(0xdc))](_0x656075(0xb3),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x656075(0x9f)]);}async[a17_0x2a394b(0xc1)](_0x16127a,_0x34f662){const _0x221506=a17_0x2a394b,_0x4430db=_0x16127a[_0x221506(0x11b)],_0x358e08=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x221506(0x10e)](_0x4430db,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x221506(0x169)](Debuglet,_0x16127a[_0x221506(0xdf)][_0x221506(0x13f)]('js.map')),_0x34f662,_0x16127a[_0x221506(0xc0)]),_0x5414f3=_0x358e08[_0x221506(0x106)](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x221506(0x169)](Debuglet,_0x16127a[_0x221506(0xdf)])),_0x436c77=file_index_1[_0x221506(0xe7)]['fromFileStats'](_0x5414f3),_0x45bbc1=_0x358e08['selectFiles'](/.js.map$/,process[_0x221506(0xe1)]()),_0x54f28e=_0x358e08[_0x221506(0x16f)]();return{'mapFiles':_0x45bbc1,'errors':_0x54f28e,'jsFileIndex':_0x436c77,'hash':_0x358e08[_0x221506(0xbf)]};}async[a17_0x2a394b(0xc4)](){const _0x1680f2=a17_0x2a394b;var _0x1b66dc;const _0x184ad1=this,_0x2a62e9=_0x184ad1[_0x1680f2(0x9f)]['workingDirectory'];if(!_0x184ad1[_0x1680f2(0x9f)][_0x1680f2(0xf1)]&&path['join'](_0x2a62e9,'..')===_0x2a62e9){const _0x4e959b=_0x1680f2(0xe6)+_0x1680f2(0x176)+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+_0x1680f2(0x185);_0x184ad1[_0x1680f2(0x153)]['error'](_0x4e959b),_0x184ad1[_0x1680f2(0x147)](_0x1680f2(0xe5),new Error(_0x4e959b));return;}let _0x30d571;process[_0x1680f2(0x11f)][_0x1680f2(0xd1)]&&(_0x30d571=_0x1680f2(0xf0)+process[_0x1680f2(0x11f)][_0x1680f2(0xd1)]);let _0x4c54a0,_0x4eee2a=_0x30d571||'';try{_0x4c54a0=await this['findFiles'](_0x184ad1[_0x1680f2(0x9f)],_0x30d571),_0x4c54a0[_0x1680f2(0x16f)][_0x1680f2(0xa1)](_0x184ad1[_0x1680f2(0x153)][_0x1680f2(0xa3)]);}catch(_0x27257a){_0x184ad1[_0x1680f2(0x153)][_0x1680f2(0x18c)]('Error\x20scanning\x20the\x20filesystem.',_0x27257a),_0x184ad1[_0x1680f2(0x147)](_0x1680f2(0xe5),_0x27257a);return;}try{const _0xf802dc=await SourceMapper['create'](_0x4c54a0[_0x1680f2(0xe0)]);__classPrivateFieldSet(_0x184ad1,_Debuglet_v8debug,debugapi['create'](_0x184ad1[_0x1680f2(0x153)],_0x184ad1['config'],_0x4c54a0[_0x1680f2(0x18a)],_0xf802dc,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x4eee2a=_0x30d571||_0x4c54a0['hash'];}catch(_0x9a468f){_0x184ad1[_0x1680f2(0x153)]['error'](_0x1680f2(0x14e),_0x9a468f),_0x184ad1[_0x1680f2(0x147)](_0x1680f2(0xe5),_0x9a468f);}_0x184ad1[_0x1680f2(0x153)][_0x1680f2(0xaf)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x4eee2a);const _0x5eb5b3=(0x0,utils_1['readFullVersion'])(_0x184ad1[_0x1680f2(0x153)])['replace']('\x0a','');_0x184ad1['logger']['info'](_0x1680f2(0x194)+_0x5eb5b3);let _0x4cb506;try{_0x4cb506=_0x184ad1[_0x1680f2(0x9f)][_0x1680f2(0x135)]||await Debuglet[_0x1680f2(0xba)]();}catch(_0x7f13d6){}this[_0x1680f2(0x9f)][_0x1680f2(0xae)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x1680f2(0x173)]()===0x0&&(0x0,utils_1[_0x1680f2(0x14c)])(process[_0x1680f2(0x167)],'>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12')&&_0x184ad1[_0x1680f2(0x153)][_0x1680f2(0xa3)](utils_1[_0x1680f2(0x16f)]['NODE_10_CIRC_REF_MESSAGE']),_0x184ad1[_0x1680f2(0x153)][_0x1680f2(0xaf)](_0x1680f2(0xc5)+((_0x1b66dc=process[_0x1680f2(0x128)])===null||_0x1b66dc===void 0x0?void 0x0:_0x1b66dc[_0x1680f2(0x1a0)])),_0x184ad1[_0x1680f2(0x153)][_0x1680f2(0x152)](_0x1680f2(0x11a)+_0x2a62e9),_0x184ad1[_0x1680f2(0x153)][_0x1680f2(0x152)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x184ad1,_Debuglet_running,!![],'f'),_0x184ad1['debuggee']=(0x0,createDebuggee_1[_0x1680f2(0x157)])(_0x4eee2a,_0x184ad1[_0x1680f2(0x9f)],_0x4cb506,__classPrivateFieldGet(_0x184ad1,_Debuglet_debug,'f')[_0x1680f2(0x195)],_0x5eb5b3,_0x184ad1[_0x1680f2(0x153)],__classPrivateFieldGet(_0x184ad1,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x184ad1,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x1680f2(0x169)](_0x184ad1),__classPrivateFieldGet(_0x184ad1,_Debuglet_instances,'m',_Debuglet_register_)[_0x1680f2(0x169)](_0x184ad1),_0x184ad1['emit']('started');}[a17_0x2a394b(0x14a)](){const _0x173b61=a17_0x2a394b;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x173b61(0x10f)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x173b61(0xad)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x173b61(0xad)]()['then'](()=>{const _0x46c202=_0x173b61;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x46c202(0x169)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async[a17_0x2a394b(0xba)](){const _0x39f03f=a17_0x2a394b,_0x150e00=await readFilep(_0x39f03f(0xa4),_0x39f03f(0x193));try{return JSON[_0x39f03f(0x120)](_0x150e00);}catch(_0x17bdf8){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x17bdf8);}}[a17_0x2a394b(0xaa)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x38fc24=a17_0x2a394b;var _0x2d5382;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x38fc24(0x153)]['debug']('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0x38fc24(0x153)][_0x38fc24(0x152)](_0x38fc24(0x109)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0x2d5382=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0x2d5382===void 0x0?void 0x0:_0x2d5382[_0x38fc24(0xa6)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x38fc24(0x147)](_0x38fc24(0xcd));}}exports[a17_0x2a394b(0x16a)]=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(_0x32b873){const _0x3bf415=a17_0x2a394b;return new RegExp(_0x32b873[_0x3bf415(0x158)](_0x8b1b1f=>_0x8b1b1f+'$')[_0x3bf415(0x108)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x264a46=a17_0x2a394b,_0x8a7f7e=[_0x264a46(0xa8),_0x264a46(0x104),'SIGQUIT'];_0x8a7f7e[_0x264a46(0xa1)](_0x320c84=>{const _0x41312f=_0x264a46;process[_0x41312f(0xc3)](_0x320c84,()=>{const _0x1b0d02=_0x41312f;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1b0d02(0x17a)](this[_0x1b0d02(0x117)],()=>{const _0x5c63db=_0x1b0d02;process['kill'](process[_0x5c63db(0x100)],_0x320c84);});});}),process[_0x264a46(0xc3)](_0x264a46(0x127),()=>{const _0x22fe83=_0x264a46;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x22fe83(0x17a)](this[_0x22fe83(0x117)],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){return metadata['isAvailable']();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0x54853a=a17_0x2a394b;return(await metadata[_0x54853a(0x126)](_0x54853a(0xab)))[_0x54853a(0x196)];},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x6f9df9){const _0x5d8456=a17_0x2a394b,_0x1a7c2a=this;_0x1a7c2a[_0x5d8456(0x153)]['debug'](_0x6f9df9?_0x5d8456(0xa5)+_0x6f9df9+'s':'Registering\x20debuggee');function _0x32b920(_0x2dfa84,_0x31a9f6,_0xbc0c01=![]){const _0x146b26=_0x5d8456;var _0x51d1ca,_0x35db40;const _0x1b4f96=((_0x51d1ca=_0x1a7c2a[_0x146b26(0x117)])===null||_0x51d1ca===void 0x0?void 0x0:_0x51d1ca['id'])?_0x146b26(0xcc)+((_0x35db40=_0x1a7c2a[_0x146b26(0x117)])===null||_0x35db40===void 0x0?void 0x0:_0x35db40['id'])+':\x20'+_0x2dfa84:_0x146b26(0x184)+_0x2dfa84;_0x1a7c2a[_0x146b26(0x153)]['error'](_0x1b4f96),_0x31a9f6&&!_0xbc0c01&&_0x1a7c2a[_0x146b26(0x153)][_0x146b26(0x18c)](_0x146b26(0x132),_0x31a9f6),__classPrivateFieldGet(_0x1a7c2a,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x146b26(0x169)](_0x1a7c2a,(0x0,utils_1[_0x146b26(0x19e)])(_0x6f9df9,_0x1a7c2a[_0x146b26(0x9f)][_0x146b26(0xcb)]['maxRequestRetryDelaySeconds']));}setTimeout(()=>{const _0x2b6241=_0x5d8456;if(!__classPrivateFieldGet(_0x1a7c2a,_Debuglet_running,'f')){_0x32b920(new Error(_0x2b6241(0xc8)));return;}__classPrivateFieldGet(_0x1a7c2a,_Debuglet_controller,'f')[_0x2b6241(0x19f)](_0x1a7c2a[_0x2b6241(0x117)],(_0x590c00,_0x37f4ac,_0x4a5b50=![])=>{const _0x2567f3=_0x2b6241;if(_0x590c00){_0x32b920(_0x590c00,_0x37f4ac,_0x4a5b50);return;}if(_0x37f4ac[_0x2567f3(0x117)][_0x2567f3(0x12d)]){_0x32b920(new Error(_0x2567f3(0x13b))),_0x1a7c2a['emit'](_0x2567f3(0x12e));return;}const _0x319bb5=_0x37f4ac[_0x2567f3(0x117)]['id'];_0x1a7c2a['logger'][_0x2567f3(0xaf)](_0x2567f3(0x19b)+_0x319bb5),_0x1a7c2a[_0x2567f3(0x117)]['id']=_0x319bb5;const _0x4a96c2=[__classPrivateFieldGet(_0x1a7c2a,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x2567f3(0x11d)](_0x1a7c2a)(_0x1a7c2a[_0x2567f3(0x117)]['id'])];_0x1a7c2a[_0x2567f3(0x9f)][_0x2567f3(0xec)]&&_0x4a96c2[_0x2567f3(0x163)](__classPrivateFieldGet(_0x1a7c2a,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x2567f3(0x11d)](_0x1a7c2a)(_0x1a7c2a['debuggee']['id'])),Promise[_0x2567f3(0x159)](_0x4a96c2)[_0x2567f3(0x11c)](()=>{const _0x186b87=_0x2567f3;var _0x3aae4f;_0x1a7c2a[_0x186b87(0x147)]('registered',_0x319bb5),__classPrivateFieldGet(_0x1a7c2a,_Debuglet_debuggeeRegistered,'f')[_0x186b87(0x10f)](),(_0x3aae4f=__classPrivateFieldGet(_0x1a7c2a,_Debuglet_v8debug,'f'))===null||_0x3aae4f===void 0x0?void 0x0:_0x3aae4f['setBlocklistManager'](__classPrivateFieldGet(_0x1a7c2a,_Debuglet_blocklistManager,'f')),!_0x1a7c2a[_0x186b87(0xb5)]&&__classPrivateFieldGet(_0x1a7c2a,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x186b87(0x169)](_0x1a7c2a,0x0,this[_0x186b87(0x9f)][_0x186b87(0x168)],_0x37f4ac===null||_0x37f4ac===void 0x0?void 0x0:_0x37f4ac[_0x186b87(0xc7)]);},_0x3c28ca=>{_0x32b920(_0x3c28ca);});});},_0x6f9df9*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x15737f,_0x20ac47,_0x2e5fa7){const _0x1760b4=a17_0x2a394b,_0x4731dc=this;!_0x20ac47&&(_0x4731dc[_0x1760b4(0xb5)]=!![]),setTimeout(()=>{const _0x4f88fc=_0x1760b4;if(!__classPrivateFieldGet(_0x4731dc,_Debuglet_running,'f'))return;!_0x20ac47&&assert(_0x4731dc[_0x4f88fc(0xb5)]),_0x4731dc['logger'][_0x4f88fc(0x152)](_0x4f88fc(0x17e)),__classPrivateFieldGet(_0x4731dc,_Debuglet_controller,'f')[_0x4f88fc(0xef)](_0x4731dc['debuggee'],(_0x4d7fc9,_0x2aa48a,_0x243dee)=>{const _0x29c4bc=_0x4f88fc;if((_0x2aa48a===null||_0x2aa48a===void 0x0?void 0x0:_0x2aa48a['status'])===0x194){_0x4731dc['logger'][_0x29c4bc(0xaf)](_0x29c4bc(0xb7)),_0x4731dc[_0x29c4bc(0xb5)]=![],__classPrivateFieldGet(_0x4731dc,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](_0x4731dc),__classPrivateFieldGet(_0x4731dc,_Debuglet_instances,'m',_Debuglet_register_)[_0x29c4bc(0x169)](_0x4731dc);return;}if(_0x4d7fc9){const _0x503441=(0x0,utils_1[_0x29c4bc(0x19e)])(_0x15737f,_0x4731dc[_0x29c4bc(0x9f)][_0x29c4bc(0xcb)][_0x29c4bc(0xea)]);_0x4731dc['logger']['error'](_0x29c4bc(0xf2)+(_0x2aa48a===null||_0x2aa48a===void 0x0?void 0x0:_0x2aa48a[_0x29c4bc(0x134)])+_0x29c4bc(0x19d)+_0x4d7fc9[_0x29c4bc(0x148)]+_0x29c4bc(0x156)+_0x503441+'s'),__classPrivateFieldGet(_0x4731dc,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x29c4bc(0x169)](_0x4731dc,_0x503441,_0x20ac47,_0x2e5fa7);return;}_0x4731dc[_0x29c4bc(0x153)][_0x29c4bc(0x152)]('\x09'+_0x2aa48a[_0x29c4bc(0x134)]+'\x20completed.');if(!_0x243dee){const _0x42c3ca=_0x4731dc[_0x29c4bc(0x9f)][_0x29c4bc(0x179)];_0x4731dc[_0x29c4bc(0x153)][_0x29c4bc(0x18c)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x42c3ca+'s'),__classPrivateFieldGet(_0x4731dc,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x29c4bc(0x169)](_0x4731dc,_0x42c3ca,_0x20ac47,_0x2e5fa7);return;}if(_0x243dee[_0x29c4bc(0x14f)]){_0x4731dc[_0x29c4bc(0x153)][_0x29c4bc(0xaf)](_0x29c4bc(0xb8)),__classPrivateFieldGet(_0x4731dc,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x29c4bc(0x169)](_0x4731dc,0x0,_0x20ac47,_0x2e5fa7);return;}if(_0x243dee['pipeLogs']&&_0x243dee['pipeLogs']!==_0x29c4bc(0x161)){const _0x3fd2f3=this[_0x29c4bc(0xd5)]['globalPipingStatus'];_0x3fd2f3!==_0x243dee[_0x29c4bc(0xd7)]&&(this[_0x29c4bc(0x153)][_0x29c4bc(0x152)](_0x29c4bc(0x16c)+_0x3fd2f3+_0x29c4bc(0x15e)+_0x243dee[_0x29c4bc(0xd7)]),this['pipingManager']['globalPipingStatus']=_0x243dee[_0x29c4bc(0xd7)]);}if(_0x243dee[_0x29c4bc(0xca)]&&_0x243dee['collectLogRequestId']!==_0x4731dc[_0x29c4bc(0x105)]){_0x4731dc[_0x29c4bc(0x105)]=_0x243dee[_0x29c4bc(0x105)];const _0x3a9305=_0x4731dc[_0x29c4bc(0x9f)][_0x29c4bc(0x139)]['agentLogTargetDir']&&path[_0x29c4bc(0x108)](_0x4731dc[_0x29c4bc(0x9f)][_0x29c4bc(0x139)][_0x29c4bc(0x116)],agent_logger_1[_0x29c4bc(0x19c)][_0x29c4bc(0xd4)]);_0x3a9305&&fs[_0x29c4bc(0xa0)](_0x3a9305)?setTimeout(()=>__classPrivateFieldGet(_0x4731dc,_Debuglet_controller,'f')[_0x29c4bc(0xac)](_0x4731dc[_0x29c4bc(0x117)],_0x243dee[_0x29c4bc(0x105)],_0x3a9305)):_0x4731dc[_0x29c4bc(0x153)][_0x29c4bc(0xaf)](_0x29c4bc(0xb0)+_0x243dee[_0x29c4bc(0x105)]+_0x29c4bc(0x164)+_0x29c4bc(0xc6));}const _0x3b947c=(_0x243dee[_0x29c4bc(0x17c)]||[])['map'](_0x239579=>new stackdriver_1[(_0x29c4bc(0xc2))](_0x239579))[_0x29c4bc(0x190)](_0x1ff3d0=>{const _0x3b4fff=_0x29c4bc,_0x5912a3=_0x1ff3d0[_0x3b4fff(0x11e)]||_0x3b4fff(0xfd);if(__classPrivateFieldGet(_0x4731dc,_Debuglet_completedBreakpointMap,'f')[_0x1ff3d0['id']])return![];if(_0x5912a3!==_0x3b4fff(0xfd)&&_0x5912a3!==_0x3b4fff(0xf6))return _0x4731dc['logger'][_0x3b4fff(0xa3)](_0x3b4fff(0x102),_0x5912a3),_0x1ff3d0[_0x3b4fff(0x134)]=new status_message_1[(_0x3b4fff(0x17d))](status_message_1[_0x3b4fff(0x17d)]['UNSPECIFIED'],utils_1[_0x3b4fff(0x16f)][_0x3b4fff(0xd0)],!![]),__classPrivateFieldGet(_0x4731dc,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3b4fff(0x169)](_0x4731dc,_0x1ff3d0),![];return!![];}),_0x1e8e7b=__classPrivateFieldGet(_0x4731dc,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x29c4bc(0x169)](_0x4731dc);let _0x4e8cfa=_0x1e8e7b['length']>0x0;__classPrivateFieldGet(_0x4731dc,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x4731dc,_0x1e8e7b),_0x4e8cfa=_0x4e8cfa||__classPrivateFieldGet(_0x4731dc,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x29c4bc(0x169)](_0x4731dc,_0x3b947c),_0x4731dc[_0x29c4bc(0x147)](_0x29c4bc(0x180),_0x3b947c['length']);_0x4e8cfa&&_0x4731dc[_0x29c4bc(0x153)][_0x29c4bc(0x152)](formatBreakpoints(_0x29c4bc(0xfb),_0x4731dc['activeBreakpointMap']));__classPrivateFieldSet(_0x4731dc,_Debuglet_breakpointFetchedTimestamp,Date[_0x29c4bc(0x9e)](),'f');_0x20ac47?__classPrivateFieldGet(_0x4731dc,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x4731dc,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(_0x4731dc,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x4731dc,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4731dc,0x0,_0x20ac47,_0x2e5fa7);return;},_0x2e5fa7);},_0x15737f*0x3e8)[_0x1760b4(0xbb)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x18814e=a17_0x2a394b;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x18814e(0x10f)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x4a3da6){const _0x52aebf=a17_0x2a394b,_0x533ab9=this,_0x1a509f=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x52aebf(0x169)](this,_0x4a3da6);let _0x2d6a4e=![];return _0x4a3da6[_0x52aebf(0xa1)](_0x52fb63=>{const _0x414a44=_0x52aebf;!__classPrivateFieldGet(_0x533ab9,_Debuglet_completedBreakpointMap,'f')[_0x52fb63['id']]&&!_0x533ab9[_0x414a44(0x122)][_0x52fb63['id']]&&(__classPrivateFieldGet(_0x533ab9,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x414a44(0x169)](_0x533ab9,_0x52fb63,_0x4b288c=>{const _0x1d680e=_0x414a44;_0x4b288c&&__classPrivateFieldGet(_0x533ab9,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1d680e(0x169)](_0x533ab9,_0x52fb63,!![],![]);}),_0x2d6a4e=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x414a44(0x110)](_0x52fb63['id'])),__classPrivateFieldGet(_0x533ab9,_Debuglet_quotaManager,'f')[_0x414a44(0x123)](_0x52fb63['id'],_0x52fb63[_0x414a44(0x171)]),_0x533ab9['pipingManager'][_0x414a44(0x13a)](_0x52fb63['id'],_0x52fb63['pipingStatus']);}),(0x0,mapSubtract_1[_0x52aebf(0xda)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x1a509f)['forEach'](_0xbeb3bf=>{delete __classPrivateFieldGet(_0x533ab9,_Debuglet_completedBreakpointMap,'f')[_0xbeb3bf['id']],_0x2d6a4e=!![];}),(0x0,mapSubtract_1[_0x52aebf(0xda)])(this[_0x52aebf(0x122)],_0x1a509f)[_0x52aebf(0xa1)](_0x1f6290=>{const _0x36c46c=_0x52aebf;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x36c46c(0x169)](this,_0x1f6290,!![]),_0x2d6a4e=!![];}),_0x2d6a4e&&_0x533ab9['logger']['debug'](formatBreakpoints('Server\x20breakpoints:\x0a',_0x1a509f)),_0x2d6a4e;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0xccb34){const _0x1178f6=a17_0x2a394b,_0xa5f4ae={};return _0xccb34[_0x1178f6(0xa1)](_0x87c6dd=>{_0xa5f4ae[_0x87c6dd['id']]=_0x87c6dd;}),_0xa5f4ae;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x582ea8,_0x3c4cb0){const _0x1a19b1=a17_0x2a394b;this[_0x1a19b1(0x153)][_0x1a19b1(0xaf)](_0x1a19b1(0xdd),_0x582ea8),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1a19b1(0x112)](_0x582ea8['id']),this[_0x1a19b1(0xd5)]['removeBreakpoint'](_0x582ea8['id']),delete this[_0x1a19b1(0x122)][_0x582ea8['id']],_0x3c4cb0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x582ea8,_0x25c706=>{const _0x1528f9=_0x1a19b1;if(_0x25c706)this[_0x1528f9(0x153)]['error'](_0x25c706);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x5d08fe,_0x5e3830){const _0x1060eb=a17_0x2a394b;var _0x2589e7;const _0x1429d1=this;_0x1429d1[_0x1060eb(0x153)][_0x1060eb(0xaf)]('\x09adding\x20breakpoint',_0x5d08fe);if(!_0x1429d1[_0x1060eb(0x9f)][_0x1060eb(0x18b)]&&(_0x5d08fe[_0x1060eb(0x124)]||_0x5d08fe[_0x1060eb(0x137)])){_0x1429d1[_0x1060eb(0x153)][_0x1060eb(0x18c)](utils_1[_0x1060eb(0x16f)]['ALLOW_EXPRESSIONS_MESSAGE'][_0x1060eb(0xbc)]||''),_0x5d08fe['status']=new status_message_1[(_0x1060eb(0x17d))](status_message_1['StatusMessage'][_0x1060eb(0x183)],utils_1['errors'][_0x1060eb(0x133)],!![]),setImmediate(()=>{const _0x1519fa=_0x1060eb;_0x5e3830(utils_1[_0x1519fa(0x16f)]['ALLOW_EXPRESSIONS_MESSAGE']);});return;}if((0x0,utils_1[_0x1060eb(0x14c)])(process['version'],'5.2\x20||\x20<4')){const _0x2f2ced=utils_1[_0x1060eb(0x16f)]['NODE_VERSION_MESSAGE'];_0x1429d1[_0x1060eb(0x153)][_0x1060eb(0x18c)](_0x2f2ced),_0x5d08fe[_0x1060eb(0x134)]=new status_message_1[(_0x1060eb(0x17d))](status_message_1[_0x1060eb(0x17d)]['UNSPECIFIED'],_0x2f2ced,!![]),setImmediate(()=>{_0x5e3830(_0x2f2ced);});return;}const _0x20575e=_0x5d08fe[_0x1060eb(0x138)]?Number(_0x5d08fe[_0x1060eb(0x138)][_0x1060eb(0xf4)]):Date['now']()/0x3e8,_0x36b932=_0x5d08fe[_0x1060eb(0x149)]||_0x1429d1[_0x1060eb(0x9f)][_0x1060eb(0x174)];_0x5d08fe[_0x1060eb(0x136)]=_0x20575e+_0x36b932,((_0x2589e7=_0x5d08fe[_0x1060eb(0xeb)])===null||_0x2589e7===void 0x0?void 0x0:_0x2589e7[_0x1060eb(0xcf)])&&(_0x5d08fe[_0x1060eb(0xeb)]['path']=path[_0x1060eb(0x15f)](_0x5d08fe[_0x1060eb(0xeb)][_0x1060eb(0xcf)]),path[_0x1060eb(0xfe)]===path['posix'][_0x1060eb(0xfe)]&&(_0x5d08fe[_0x1060eb(0xeb)][_0x1060eb(0xcf)]=_0x5d08fe[_0x1060eb(0xeb)][_0x1060eb(0xcf)][_0x1060eb(0x130)]('\x5c')[_0x1060eb(0x108)](path[_0x1060eb(0xfe)]))),__classPrivateFieldGet(_0x1429d1,_Debuglet_v8debug,'f')[_0x1060eb(0x12a)](_0x5d08fe,_0x4491d6=>{const _0x3a1a7b=_0x1060eb;if(_0x4491d6){_0x5e3830(_0x4491d6);return;}_0x1429d1[_0x3a1a7b(0x153)][_0x3a1a7b(0xaf)]('\x09successfully\x20added\x20breakpoint',_0x5d08fe),_0x1429d1[_0x3a1a7b(0x122)][_0x5d08fe['id']]=_0x5d08fe,_0x5d08fe[_0x3a1a7b(0x11e)]===_0x3a1a7b(0xf6)?__classPrivateFieldGet(_0x1429d1,_Debuglet_v8debug,'f')[_0x3a1a7b(0x165)](_0x5d08fe,(_0x3ea5be,_0x1dc45e)=>{const _0x112778=_0x3a1a7b;var _0x5dcbff,_0x206e31,_0x5d2df2,_0x394535;const _0x211cd8=_0x1dc45e['map'](_0x4d0c53=>__classPrivateFieldGet(_0x1429d1,_Debuglet_instances,'m',_Debuglet_stringify)[_0x112778(0x169)](_0x1429d1,_0x4d0c53)),_0xd37d8b=(0x0,format_1[_0x112778(0xf9)])(_0x3ea5be,_0x211cd8),_0x2c5b26='LOGPOINT:\x20'+(((_0x5dcbff=__classPrivateFieldGet(_0x1429d1,_Debuglet_redactionManager,'f'))===null||_0x5dcbff===void 0x0?void 0x0:_0x5dcbff[_0x112778(0x15d)](_0xd37d8b))||_0xd37d8b),_0x3bfc1c=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x112778(0x189)](_0x2c5b26,_0x5d08fe['id']);if(_0x3bfc1c){const _0x150d08=_0x3bfc1c[_0x112778(0x148)],_0x2316cf=_0x3bfc1c[_0x112778(0x178)];let _0xbf616,_0x1192ca;!((_0x206e31=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x206e31===void 0x0?void 0x0:_0x206e31[_0x112778(0xe8)]())&&!_0x2316cf&&(_0xbf616='LOGPOINT:\x20'+_0x3ea5be,_0x1192ca=_0x211cd8);_0x1429d1['pipingManager'][_0x112778(0x107)](_0x1429d1['debuggee'],_0x5d08fe['id'],_0x150d08,_0x5d08fe[_0x112778(0xd3)],_0xbf616,_0x1192ca);if(_0x2316cf)(_0x5d2df2=__classPrivateFieldGet(_0x1429d1,_Debuglet_v8debug,'f'))===null||_0x5d2df2===void 0x0?void 0x0:_0x5d2df2[_0x112778(0x114)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{var _0x1fe14b;(_0x1fe14b=__classPrivateFieldGet(_0x1429d1,_Debuglet_v8debug,'f'))===null||_0x1fe14b===void 0x0?void 0x0:_0x1fe14b['enable'](),__classPrivateFieldSet(_0x1429d1,_Debuglet_nextEnableTimeout,null,'f');},_0x1429d1['config']['quota'][_0x112778(0xe4)]*0x3e8),'f');else(_0x150d08===null||_0x150d08===void 0x0?void 0x0:_0x150d08[_0x112778(0xb1)])===0x0&&((_0x394535=__classPrivateFieldGet(_0x1429d1,_Debuglet_v8debug,'f'))===null||_0x394535===void 0x0?void 0x0:_0x394535[_0x112778(0x114)]());}},()=>{return __classPrivateFieldGet(_0x1429d1,_Debuglet_completedBreakpointMap,'f')[_0x5d08fe['id']];},_0x35a3a5=>{const _0x3c49a5=_0x3a1a7b;if(_0x35a3a5){_0x1429d1[_0x3c49a5(0x153)]['error'](_0x35a3a5),_0x5e3830(_0x35a3a5);return;}}):__classPrivateFieldGet(_0x1429d1,_Debuglet_v8debug,'f')[_0x3a1a7b(0x13d)](_0x5d08fe,_0x1c7de2=>{const _0x54a45c=_0x3a1a7b;if(_0x1c7de2){setImmediate(()=>{const _0x304b24=a17_0x2514;_0x1429d1[_0x304b24(0x153)][_0x304b24(0x18c)](_0x1c7de2),_0x5e3830(_0x1c7de2);});return;}_0x1429d1[_0x54a45c(0x153)]['info'](_0x54a45c(0x186),_0x5d08fe),__classPrivateFieldGet(_0x1429d1,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x54a45c(0x169)](_0x1429d1,_0x5d08fe,__classPrivateFieldGet(_0x1429d1,_Debuglet_v8debug,'f')['remainingHits'](_0x5d08fe['id'])<=0x0);}),__classPrivateFieldGet(_0x1429d1,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x3a1a7b(0x169)](_0x1429d1,_0x5d08fe);}),this[_0x1060eb(0x147)](_0x1060eb(0x16d));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x14d6bb,_0x1dfb8e,_0x39151c=!![]){const _0x24d77b=a17_0x2a394b;var _0x23170c,_0x3ea8eb,_0x456847,_0x93e4ee,_0x1c820f,_0xeb2fc3;const _0x3fad06=this;if(_0x14d6bb[_0x24d77b(0x134)]&&_0x14d6bb[_0x24d77b(0x134)][_0x24d77b(0x19a)]){let _0x310fe4=((_0x3ea8eb=(_0x23170c=_0x14d6bb['status'])===null||_0x23170c===void 0x0?void 0x0:_0x23170c[_0x24d77b(0xbc)])===null||_0x3ea8eb===void 0x0?void 0x0:_0x3ea8eb['format'])||'';((_0x93e4ee=(_0x456847=_0x14d6bb[_0x24d77b(0x134)])===null||_0x456847===void 0x0?void 0x0:_0x456847[_0x24d77b(0xbc)])===null||_0x93e4ee===void 0x0?void 0x0:_0x93e4ee[_0x24d77b(0x187)])&&(_0x310fe4+=':\x20'+((_0xeb2fc3=(_0x1c820f=_0x14d6bb[_0x24d77b(0x134)])===null||_0x1c820f===void 0x0?void 0x0:_0x1c820f[_0x24d77b(0xbc)])===null||_0xeb2fc3===void 0x0?void 0x0:_0xeb2fc3[_0x24d77b(0x187)][_0x24d77b(0x182)]())),_0x3fad06[_0x24d77b(0x153)][_0x24d77b(0xa3)](_0x24d77b(0xd9)+_0x14d6bb+'.\x20Error:\x20'+_0x310fe4);}else _0x3fad06[_0x24d77b(0x153)][_0x24d77b(0xaf)](_0x24d77b(0xb9),_0x14d6bb);_0x1dfb8e&&(__classPrivateFieldGet(_0x3fad06,_Debuglet_completedBreakpointMap,'f')[_0x14d6bb['id']]=!![],__classPrivateFieldGet(_0x3fad06,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x24d77b(0x169)](_0x3fad06,_0x14d6bb,_0x39151c)),__classPrivateFieldGet(_0x3fad06,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x3fad06['debuggee'],extend(!![],{},_0x14d6bb));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x566d3a){const _0x49aa81=a17_0x2a394b,_0x24ecec=this;_0x24ecec[_0x49aa81(0x153)][_0x49aa81(0x152)](_0x49aa81(0xe3)+_0x566d3a+_0x49aa81(0xbd));const _0x151c89=extend(!![],{},_0x566d3a);_0x151c89[_0x49aa81(0x154)]=![],_0x151c89[_0x49aa81(0x134)]=new status_message_1[(_0x49aa81(0x17d))](status_message_1[_0x49aa81(0x17d)][_0x49aa81(0x183)],undefined,![],!![]),__classPrivateFieldGet(_0x24ecec,_Debuglet_controller,'f')[_0x49aa81(0x18e)](_0x24ecec[_0x49aa81(0x117)],_0x151c89);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0xe57459){const _0x3c2192=a17_0x2a394b,_0x5b9791=this;this['logger'][_0x3c2192(0xaf)]('rejecting\x20breakpoint',_0xe57459),__classPrivateFieldGet(_0x5b9791,_Debuglet_completedBreakpointMap,'f')[_0xe57459['id']]=!![],__classPrivateFieldGet(_0x5b9791,_Debuglet_controller,'f')[_0x3c2192(0x18e)](_0x5b9791[_0x3c2192(0x117)],_0xe57459);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x1db101){const _0x4ec1a7=a17_0x2a394b,_0x3f5478=this;_0x1db101[_0x4ec1a7(0xa1)](_0x368638=>{const _0x2b74e9=_0x4ec1a7;_0x3f5478[_0x2b74e9(0x153)][_0x2b74e9(0xaf)](_0x2b74e9(0x199),_0x368638),__classPrivateFieldGet(_0x3f5478,_Debuglet_completedBreakpointMap,'f')[_0x368638['id']]=!![],__classPrivateFieldGet(_0x3f5478,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2b74e9(0x169)](_0x3f5478,_0x368638,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x4d1115=a17_0x2a394b,_0x53f71d=Date[_0x4d1115(0x9e)]()/0x3e8;return Object[_0x4d1115(0x10a)](this[_0x4d1115(0x122)])[_0x4d1115(0x190)](_0x1bcfb4=>_0x1bcfb4[_0x4d1115(0x136)]?_0x1bcfb4[_0x4d1115(0x136)]<_0x53f71d:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x32afa0){const _0x3496cd=a17_0x2a394b,_0x12dd02=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3496cd(0xff)](_0x32afa0),_0x47f9ff=_0x12dd02[_0x3496cd(0xa9)],_0x3b24e4=_0x12dd02[_0x3496cd(0x9d)];_0x47f9ff&&_0x47f9ff['length']&&this[_0x3496cd(0x153)][_0x3496cd(0x152)]('Blacklist:\x20\x0a\x09',_0x47f9ff['join']('\x0a\x09')),_0x3b24e4&&_0x3b24e4[_0x3496cd(0xb1)]&&this[_0x3496cd(0x153)][_0x3496cd(0x152)](_0x3496cd(0xe2),_0x3b24e4[_0x3496cd(0x108)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x3496cd(0x15b))](_0x47f9ff,_0x3b24e4,this[_0x3496cd(0x9f)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x5ba032){const _0x2dc37c=a17_0x2a394b;var _0x4a3655;const _0x403161=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2dc37c(0x113)](_0x5ba032);(_0x403161===null||_0x403161===void 0x0?void 0x0:_0x403161[_0x2dc37c(0xb1)])&&this[_0x2dc37c(0x153)][_0x2dc37c(0x152)]('Redactions:\x20\x0a\x09',_0x403161[_0x2dc37c(0x158)](_0x1cff76=>'name:\x20'+_0x1cff76[_0x2dc37c(0x141)]+_0x2dc37c(0xed)+_0x1cff76[_0x2dc37c(0x144)]+_0x2dc37c(0x10d)+_0x1cff76['pattern']+_0x2dc37c(0xc9)+_0x1cff76[_0x2dc37c(0xbe)])[_0x2dc37c(0x108)]('\x0a\x09'));if((0x0,utils_1['satisfies'])(process['version'],'>=12')){const {RedactionManagerRE2JS:_0x5be69b}=await Promise[_0x2dc37c(0x10f)]()[_0x2dc37c(0x11c)](()=>require(_0x2dc37c(0x15a)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x5be69b(this['logger']),'f'),(_0x4a3655=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x4a3655===void 0x0?void 0x0:_0x4a3655['setPatterns'](_0x403161);}},_Debuglet_stringify=function _Debuglet_stringify(_0x50b59c){const _0x412e08=a17_0x2a394b;if(!_0x50b59c)return JSON[_0x412e08(0x177)](_0x50b59c,(_0x27bd57,_0x4e9346)=>_0x4e9346===undefined?_0x412e08(0xd2):_0x4e9346);if(Array[_0x412e08(0x172)](_0x50b59c)){const _0x302238=[];for(const _0x505738 of _0x50b59c){_0x302238[_0x412e08(0x163)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x412e08(0x169)](this,_0x505738));}return'['+_0x302238[_0x412e08(0x108)](',\x20')+']';}if(typeof _0x50b59c===_0x412e08(0x192)){const _0x2ec4fd=Object['entries'](_0x50b59c)[_0x412e08(0x158)](([_0x194595,_0xe8a06])=>{const _0x533dac=_0x412e08;var _0x193c4c;const _0x45ec62=((_0x193c4c=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x193c4c===void 0x0?void 0x0:_0x193c4c[_0x533dac(0xee)](_0x194595))?redaction_manager_1[_0x533dac(0xb6)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x533dac(0x169)](this,_0xe8a06);return JSON[_0x533dac(0x177)](_0x194595)+':\x20'+_0x45ec62;})[_0x412e08(0x108)](',\x20');return'{'+_0x2ec4fd+'}';}return JSON[_0x412e08(0x177)](_0x50b59c);});function a17_0x54ba(){const _0xace170=['extraPaths','findFiles','Breakpoint','once','start','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','clientConnectionTimeoutInSeconds','Debuglet\x20not\x20running','\x20caseInsensitive:\x20','collectAndSendLog','internal','Failed\x20to\x20re-register\x20debuggee\x20','stopped','690420TXMPwJ','path','BREAKPOINT_ACTION_MESSAGE','GAE_MINOR_VERSION','undefined','logLevel','AGENT_LOG_FILE','pipingManager','promise','pipeLogs','64926zdMBSY','\x09Notifying\x20server\x20about\x20error\x20for\x20','mapSubtract','gcp-metadata','PipingManager','\x09remove\x20breakpoint','__classPrivateFieldSet','javascriptFileExtensions','mapFiles','cwd','Blacklist\x20Exceptions:\x20\x0a\x09','reporting\x20breakpoint\x20','quotaRecoverySeconds','initError','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','FileIndex','isRedactionActive','EnvironmentMetadata','maxRequestRetryDelaySeconds','location','redactionEnabled','\x20(type:\x20','shouldRedactByName','listBreakpoints','GAE-','allowRootAsWorkingDirectory','\x09Got\x20error\x20from\x20server.\x20status:\x20','promisify','seconds','debuglet','LOG','64KHCbxX','7213910krvysc','format','logMainConfigParams','Active\x20Breakpoints:\x20\x0a','keys','CAPTURE','sep','getBlocklist','pid','./v8/debugapi','Found\x20breakpoint\x20with\x20invalid\x20action:','EventEmitter','SIGINT','collectLogRequestId','selectStats','addAndPipeLog','join','Stopping\x20Debuglet','values','1605564wgizWv','\x0a\x09expressions:\x20','):\x20pattern:\x20','scan','resolve','createPerBreakpointConditionQuota','extend','removePerBreakpointQuota','getRedactions','disable','\x0a\x09createdTime:\x20','agentLogTargetDir','debuggee','4998vEejPg','(((.+)+)+)+$','Working\x20directory:\x20','workingDirectory','then','bind','action','env','parse','./environment-metadata','activeBreakpointMap','setIgnoreQuota','condition','apply','instance','beforeExit','mainModule','events','set','stdErrThreshold','./debuglet-helpers/createDebuggee','isDisabled','remotelyDisabled','function','split','991680EZfSIM','Result:\x20\x0a','ALLOW_EXPRESSIONS_MESSAGE','status','sourceContext','expirationTime','expressions','createTime','agentLog','setPipingStatus','Disabled\x20by\x20the\x20server','__esModule','wait','add','concat','__classPrivateFieldGet','name','./quota-manager','CachedPromise','type','Controller','./agent-logger','emit','message','expirationSeconds','isReady','Scanner','satisfies','./controller','Error\x20processing\x20the\x20sourcemaps.','waitExpired','./config','2058qraGrC','debug','logger','isFinalState','inspect','.\x20Retrying\x20in\x20','createDebuggee','map','all','./reduction/redaction-manager-re2js','PatternsBlocklistManager','./debuglet-helpers/normalizeConfig','replaceRedactedByValue','\x20to\x20','normalize','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','NOT_SET','Private\x20method\x20is\x20not\x20writable','push','\x20because\x20','log','readFile','version','fetchBreakpointsOnce','call','Debuglet','../client/stackdriver/status-message','Switching\x20globalPiping\x20status\x20from\x20','breakpoint_set','./piping-manager','errors','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','ignoreQuota','isArray','getMaxSnapshotBufferSize','breakpointExpirationSec','value','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','stringify','isOutOfQuota','breakpointUpdateIntervalSec','deregister','./debuglet-helpers/mapSubtract','breakpoints','StatusMessage','Fetching\x20breakpoints','./blocklisting/patterns-blocklist-manager','breakpoints_fetched','isReadyManager','toString','UNSPECIFIED','Failed\x20to\x20register\x20debuggee:\x20','do\x20this.','Breakpoint\x20hit!:\x20','parameters','promiseResolve','quotaCheck','jsFileIndex','allowExpressions','error','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','enqueueBreakpointUpdate','./debuglet-helpers/format','filter','agentLogMaxFileSizeMb','object','utf8','Initializing\x20Node.js\x20agent\x20version:\x20','packageInfo','data','search','createLogger','Expiring\x20breakpoint','isError','Registered\x20as\x20debuggee:\x20','default','.\x20message:\x20','backoff','register','filename','blacklist_exception','now','config','existsSync','forEach','./configuration-provider','warn','source-context.json','Scheduling\x20registration\x20in\x20','clearTransmissionTimeout','1YOZgnu','SIGTERM','blacklist','isRunning','attributes/cluster-name','sendAgentLogsToServer','get','capture','info','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','length','2418748mgiNBd','APP_ONLY','normalizeConfig','fetcherActive','REDACTED_PLACEHOLDER','Debuggee\x20is\x20not\x20registered','\x09Long\x20poll\x20completed.','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','getSourceContextFromFile','unref','description','\x20accepted\x20by\x20agent','caseInsensitive','hash'];a17_0x54ba=function(){return _0xace170;};return a17_0x54ba();}
|
|
1
|
+
function a17_0x3797(_0x5b8b64,_0x5826cf){const _0x4ed8c7=a17_0x395a();return a17_0x3797=function(_0x48f7bc,_0x1b4047){_0x48f7bc=_0x48f7bc-0x141;let _0x395a95=_0x4ed8c7[_0x48f7bc];return _0x395a95;},a17_0x3797(_0x5b8b64,_0x5826cf);}const a17_0x3bf64c=a17_0x3797;(function(_0x22c97b,_0x4867e3){const _0x537c6d=a17_0x3797,_0x404928=_0x22c97b();while(!![]){try{const _0x17c6bb=-parseInt(_0x537c6d(0x1d2))/0x1*(parseInt(_0x537c6d(0x15b))/0x2)+-parseInt(_0x537c6d(0x18b))/0x3*(parseInt(_0x537c6d(0x1a9))/0x4)+parseInt(_0x537c6d(0x158))/0x5+-parseInt(_0x537c6d(0x1f1))/0x6*(parseInt(_0x537c6d(0x24f))/0x7)+-parseInt(_0x537c6d(0x1f4))/0x8*(parseInt(_0x537c6d(0x179))/0x9)+-parseInt(_0x537c6d(0x229))/0xa*(parseInt(_0x537c6d(0x1ea))/0xb)+-parseInt(_0x537c6d(0x215))/0xc*(-parseInt(_0x537c6d(0x17f))/0xd);if(_0x17c6bb===_0x4867e3)break;else _0x404928['push'](_0x404928['shift']());}catch(_0x402fe1){_0x404928['push'](_0x404928['shift']());}}}(a17_0x395a,0x7f5f2));const a17_0x1b4047=(function(){let _0x335d3a=!![];return function(_0x1095d8,_0x3aa9c9){const _0x1a9e1d=_0x335d3a?function(){const _0x113636=a17_0x3797;if(_0x3aa9c9){const _0x5c62d5=_0x3aa9c9[_0x113636(0x1ac)](_0x1095d8,arguments);return _0x3aa9c9=null,_0x5c62d5;}}:function(){};return _0x335d3a=![],_0x1a9e1d;};}()),a17_0x48f7bc=a17_0x1b4047(this,function(){const _0x51d8fe=a17_0x3797;return a17_0x48f7bc[_0x51d8fe(0x246)]()[_0x51d8fe(0x22d)](_0x51d8fe(0x14f))[_0x51d8fe(0x246)]()[_0x51d8fe(0x203)](a17_0x48f7bc)[_0x51d8fe(0x22d)](_0x51d8fe(0x14f));});a17_0x48f7bc();'use strict';var __classPrivateFieldSet=this&&this[a17_0x3bf64c(0x1c6)]||function(_0x297480,_0x11a874,_0x1de895,_0x142b03,_0x505399){const _0x5adafa=a17_0x3bf64c;if(_0x142b03==='m')throw new TypeError(_0x5adafa(0x187));if(_0x142b03==='a'&&!_0x505399)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x11a874===_0x5adafa(0x1fb)?_0x297480!==_0x11a874||!_0x505399:!_0x11a874[_0x5adafa(0x1da)](_0x297480))throw new TypeError(_0x5adafa(0x208));return _0x142b03==='a'?_0x505399['call'](_0x297480,_0x1de895):_0x505399?_0x505399[_0x5adafa(0x1ab)]=_0x1de895:_0x11a874[_0x5adafa(0x18f)](_0x297480,_0x1de895),_0x1de895;},__classPrivateFieldGet=this&&this[a17_0x3bf64c(0x221)]||function(_0x5685c7,_0x5d488,_0x5e668e,_0x3ff748){const _0xa9844c=a17_0x3bf64c;if(_0x5e668e==='a'&&!_0x3ff748)throw new TypeError(_0xa9844c(0x1b9));if(typeof _0x5d488===_0xa9844c(0x1fb)?_0x5685c7!==_0x5d488||!_0x3ff748:!_0x5d488[_0xa9844c(0x1da)](_0x5685c7))throw new TypeError(_0xa9844c(0x15d));return _0x5e668e==='m'?_0x3ff748:_0x5e668e==='a'?_0x3ff748[_0xa9844c(0x1e9)](_0x5685c7):_0x3ff748?_0x3ff748[_0xa9844c(0x1ab)]:_0x5d488[_0xa9844c(0x1ba)](_0x5685c7);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_runningOnGCP,_Debuglet_getClusterNameFromMetadata,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a17_0x3bf64c(0x222)](exports,a17_0x3bf64c(0x18d),{'value':!![]}),exports[a17_0x3bf64c(0x21f)]=exports['CachedPromise']=void 0x0;const assert=require(a17_0x3bf64c(0x1d3)),events_1=require(a17_0x3bf64c(0x146)),extend=require(a17_0x3bf64c(0x257)),fs=require('fs'),metadata=require(a17_0x3bf64c(0x237)),path=require(a17_0x3bf64c(0x174)),util=require('util'),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a17_0x3bf64c(0x254)),agent_logger_1=require(a17_0x3bf64c(0x18e)),config_1=require(a17_0x3bf64c(0x242)),controller_1=require(a17_0x3bf64c(0x1d0)),SourceMapper=require(a17_0x3bf64c(0x1b8)),debugapi=require(a17_0x3bf64c(0x17e)),piping_manager_1=require(a17_0x3bf64c(0x1cc)),quota_manager_1=require(a17_0x3bf64c(0x192)),patterns_blocklist_manager_1=require(a17_0x3bf64c(0x16b)),scanner_1=require(a17_0x3bf64c(0x1f2)),environment_metadata_1=require(a17_0x3bf64c(0x1e6)),file_index_1=require('./io/file-index'),utils_1=require(a17_0x3bf64c(0x1dc)),redaction_manager_1=require(a17_0x3bf64c(0x184)),configuration_provider_1=require(a17_0x3bf64c(0x1e8)),normalizeConfig_1=require(a17_0x3bf64c(0x224)),mapSubtract_1=require(a17_0x3bf64c(0x23a)),format_1=require(a17_0x3bf64c(0x1fc)),createDebuggee_1=require(a17_0x3bf64c(0x143)),readFilep=util[a17_0x3bf64c(0x1af)](fs[a17_0x3bf64c(0x16c)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x239de1,_0x4f5581)=>{const _0x5ba1be=a17_0x3bf64c;let _0x3962bf=_0x239de1+util[_0x5ba1be(0x17a)](_0x5ba1be(0x15e),_0x4f5581['id'],_0x4f5581['action'],util[_0x5ba1be(0x1a0)](_0x4f5581[_0x5ba1be(0x1de)]));if(_0x4f5581['createTime']){const _0x199b25=Number(_0x4f5581['createTime'][_0x5ba1be(0x223)]),_0x3110af=new Date(_0x199b25*0x3e8);_0x3962bf+=_0x5ba1be(0x196)+_0x3110af['toString']();}return _0x4f5581['condition']&&(_0x3962bf+=_0x5ba1be(0x1f6)+util['inspect'](_0x4f5581[_0x5ba1be(0x166)])),_0x4f5581['expressions']&&(_0x3962bf+=_0x5ba1be(0x1c9)+util[_0x5ba1be(0x1a0)](_0x4f5581['expressions'])),_0x3962bf;},formatBreakpoints=(_0x963ea1,_0x4b1ae3)=>{const _0x5e0049=a17_0x3bf64c;return _0x963ea1+Object['keys'](_0x4b1ae3)[_0x5e0049(0x142)](_0x28ea21=>{return formatBreakpoint('',_0x4b1ae3[_0x28ea21]);})[_0x5e0049(0x1b1)]('\x0a');};class CachedPromise{constructor(){const _0x31248e=a17_0x3bf64c;this[_0x31248e(0x160)]=null,this[_0x31248e(0x235)]=new Promise(_0x4af2cc=>{const _0x256a99=_0x31248e;this[_0x256a99(0x160)]=_0x4af2cc;});}[a17_0x3bf64c(0x1ba)](){const _0x4ee9c7=a17_0x3bf64c;return this[_0x4ee9c7(0x235)];}[a17_0x3bf64c(0x162)](){const _0x5a8b89=a17_0x3bf64c;this[_0x5a8b89(0x160)]&&(this[_0x5a8b89(0x160)](),this[_0x5a8b89(0x160)]=null);}}function a17_0x395a(){const _0x4c1da3=['packageInfo','./io/sourcemapper','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','get','workingDirectory','Failed\x20to\x20re-register\x20debuggee\x20','description','disable','start','allowExpressions','Found\x20breakpoint\x20with\x20invalid\x20action:','setPipingStatus','createTime','agentLogTargetDir','BREAKPOINT_ACTION_MESSAGE','__classPrivateFieldSet','blacklist_exception','Breakpoint','\x0a\x09expressions:\x20','fetchBreakpointsOnce','values','./piping-manager','getSourceContextFromFile','pipingStatus','isError','./controller','filename','1tMEOtY','assert','capture','getRedactions','Registering\x20debuggee','normalize','Breakpoint\x20hit!:\x20','wait','has','createDebuggee','./util/utils','isFinalState','location','satisfies','createPerBreakpointConditionQuota','pipeLogs','readFullVersion','unref','activeBreakpointMap','attributes/cluster-name','./environment-metadata','registered','./configuration-provider','call','88ubkEUZ','pid','logger','\x09remove\x20breakpoint','replaceRedactedByValue','\x20to\x20','Result:\x20\x0a','6mNRwet','./io/scanner','stringify','14488VXMpVX','Fetching\x20breakpoints','\x0a\x09condition:\x20','.\x20message:\x20','quota','ALLOW_EXPRESSIONS_MESSAGE','setPatterns','function','./debuglet-helpers/format','parameters','.\x20Retrying\x20in\x20','version','now','\x20because\x20','Blacklist:\x20\x0a\x09','constructor','sendAgentLogsToServer','caseInsensitive','deregister','\x20(type:\x20','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','then','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','log','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','Scanner','jsFileIndex','UNSPECIFIED','Initializing\x20Node.js\x20agent\x20version:\x20','javascriptFileExtensions','emit','debuggee','name','1923540WFVbNn','NOT_SET','Working\x20directory:\x20','pattern','isOutOfQuota','breakpoint_set','setIgnoreQuota','bind','CAPTURE','isRedactionActive','Debuglet','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','__classPrivateFieldGet','defineProperty','seconds','./debuglet-helpers/normalizeConfig','sep','Malformed\x20source-context.json\x20file:\x20','config','kill','917810qfsvOd','mapSubtract','create','filter','search','GAE_MINOR_VERSION','breakpointUpdateIntervalSec','EventEmitter','remotelyDisabled','agentLog','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','LOGPOINT:\x20','promise','env','gcp-metadata','normalizeConfig','createLogger','./debuglet-helpers/mapSubtract','breakpointExpirationSec','./reduction/redaction-manager-re2js','source-context.json','expirationSeconds','replace','hash','QuotaManager','./config','js.map','.\x20Error:\x20','globalPipingStatus','toString','getProps','removePerBreakpointQuota','collectLogRequestId','\x20caseInsensitive:\x20','all','errors','beforeExit','ConfigurationProvider','3819977OPImJI','getBlocklist','default','Expiring\x20breakpoint','name:\x20','../types/stackdriver','Server\x20breakpoints:\x0a','Registered\x20as\x20debuggee:\x20','extend','redactionEnabled','do\x20this.','map','./debuglet-helpers/createDebuggee','length','ignoreQuota','events','isDisabled','pipingManager','info','AGENT_LOG_FILE','\x09Long\x20poll\x20completed.','action','status','findFiles','(((.+)+)+)+$','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','isRunning','FileIndex','posix','parse','isAvailable','\x20completed.','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','4812625rwBgdc','extraPaths','enqueueBreakpointUpdate','1190790QpqOnL','removeBreakpoint','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','promiseResolve','message','resolve','logLevel','CachedPromise','Failed\x20to\x20register\x20debuggee:\x20','condition','backoff','object','NODE_VERSION_MESSAGE','selectStats','./blocklisting/patterns-blocklist-manager','readFile','PatternsBlocklistManager','waitExpired','utf8','setBlocklistManager','reporting\x20breakpoint\x20','clearTransmissionTimeout','Unique\x20ID\x20for\x20this\x20Application:\x20','path','expressions','\x20accepted\x20by\x20agent','clientConnectionTimeoutInSeconds','isReady','2853vIbucn','format','getMaxSnapshotBufferSize','add','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','./v8/debugapi','234qzzkGs','quotaRecoverySeconds','register','push','scan','./reduction/redaction-manager','forEach','LOG','Private\x20method\x20is\x20not\x20writable','StatusMessage','stopped','5.2\x20||\x20<4','186ADWZAC','Redactions:\x20\x0a\x09','__esModule','./agent-logger','set','collectAndSendLog','\x09adding\x20breakpoint','./quota-manager','Blacklist\x20Exceptions:\x20\x0a\x09','APP_ONLY','clear','\x0a\x09createdTime:\x20','debuglet','debug','entries','fetcherActive','fromFileStats','Switching\x20globalPiping\x20status\x20from\x20','SIGINT','allowRootAsWorkingDirectory','):\x20pattern:\x20','inspect','error','mainModule','addAndPipeLog','maxRequestRetryDelaySeconds','once','breakpoints_fetched','initError','existsSync','56560csMbhZ','listBreakpoints','value','apply','Active\x20Breakpoints:\x20\x0a','data','promisify','warn','join','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','blacklist','Controller','expirationTime','mapFiles'];a17_0x395a=function(){return _0x4c1da3;};return a17_0x395a();}exports[a17_0x3bf64c(0x164)]=CachedPromise;class IsReadyImpl{constructor(_0x2901c8){this['debuglet']=_0x2901c8;}[a17_0x3bf64c(0x178)](){const _0xb7223a=a17_0x3bf64c;return this[_0xb7223a(0x197)][_0xb7223a(0x178)]();}}class Debuglet extends events_1[a17_0x3bf64c(0x230)]{constructor(_0x2285c8,_0x4b0665){const _0xb85cd5=a17_0x3bf64c;super(),_Debuglet_instances[_0xb85cd5(0x17c)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0xb85cd5(0x18f)](this,void 0x0),_Debuglet_running[_0xb85cd5(0x18f)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0xb85cd5(0x18f)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0xb85cd5(0x18f)](this,void 0x0),_Debuglet_breakpointFetched[_0xb85cd5(0x18f)](this,void 0x0),_Debuglet_debuggeeRegistered[_0xb85cd5(0x18f)](this,void 0x0),_Debuglet_nextEnableTimeout[_0xb85cd5(0x18f)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0xb85cd5(0x18f)](this,void 0x0),_Debuglet_scanner[_0xb85cd5(0x18f)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0xb85cd5(0x18f)](this,void 0x0),_Debuglet_redactionManager[_0xb85cd5(0x18f)](this,void 0x0),_Debuglet_configProvider[_0xb85cd5(0x18f)](this,void 0x0),this[_0xb85cd5(0x227)]=(0x0,normalizeConfig_1[_0xb85cd5(0x238)])(_0x4b0665),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0xb85cd5(0x24e))](this[_0xb85cd5(0x227)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x2285c8,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xb85cd5(0x19a)]=![],this['logger']=agent_logger_1[_0xb85cd5(0x251)][_0xb85cd5(0x239)](this['config']['agentLog'][_0xb85cd5(0x1c4)],this['config'][_0xb85cd5(0x232)]['agentLogMaxFileSizeMb'],this[_0xb85cd5(0x227)][_0xb85cd5(0x232)]['agentLogMaxFileCount'],this[_0xb85cd5(0x227)][_0xb85cd5(0x232)]['agentLogLevel'],this['config'][_0xb85cd5(0x232)]['stdErrThreshold']),(0x0,config_1['logMainConfigParams'])(this[_0xb85cd5(0x227)],this[_0xb85cd5(0x1ec)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0xb85cd5(0x1ec)])[_0xb85cd5(0x247)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0xb85cd5(0x1b4))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0xb85cd5(0x1ec)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0xb85cd5(0x20d))](this['logger']),'f'),this[_0xb85cd5(0x213)]=null,this[_0xb85cd5(0x1e4)]={},__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[(_0xb85cd5(0x241))](this[_0xb85cd5(0x1ec)],this[_0xb85cd5(0x227)]),'f'),this[_0xb85cd5(0x148)]=new piping_manager_1['PipingManager'](_0xb85cd5(0x194),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0xb85cd5(0x227)]);}async['findFiles'](_0x3a6500,_0x83f7fd){const _0xff42e0=a17_0x3bf64c,_0x5dd813=_0x3a6500[_0xff42e0(0x1bb)],_0x42566c=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0xff42e0(0x183)](_0x5dd813,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)['call'](Debuglet,_0x3a6500[_0xff42e0(0x211)]['concat'](_0xff42e0(0x243))),_0x83f7fd,_0x3a6500[_0xff42e0(0x159)]),_0x233371=_0x42566c[_0xff42e0(0x16a)](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)['call'](Debuglet,_0x3a6500[_0xff42e0(0x211)])),_0x1a26d8=file_index_1[_0xff42e0(0x152)][_0xff42e0(0x19b)](_0x233371),_0x23a6dc=_0x42566c['selectFiles'](/.js.map$/,process['cwd']()),_0x4289e1=_0x42566c[_0xff42e0(0x24c)]();return{'mapFiles':_0x23a6dc,'errors':_0x4289e1,'jsFileIndex':_0x1a26d8,'hash':_0x42566c[_0xff42e0(0x240)]};}async[a17_0x3bf64c(0x1bf)](){const _0x1ec316=a17_0x3bf64c;var _0xe969ab;const _0x1f3415=this,_0x20c4d9=_0x1f3415[_0x1ec316(0x227)][_0x1ec316(0x1bb)];if(!_0x1f3415[_0x1ec316(0x227)][_0x1ec316(0x19e)]&&path[_0x1ec316(0x1b1)](_0x20c4d9,'..')===_0x20c4d9){const _0x177036=_0x1ec316(0x220)+_0x1ec316(0x1b2)+_0x1ec316(0x150)+_0x1ec316(0x141);_0x1f3415[_0x1ec316(0x1ec)][_0x1ec316(0x1a1)](_0x177036),_0x1f3415[_0x1ec316(0x212)](_0x1ec316(0x1a7),new Error(_0x177036));return;}let _0x2d1a50;process['env'][_0x1ec316(0x22e)]&&(_0x2d1a50='GAE-'+process[_0x1ec316(0x236)]['GAE_MINOR_VERSION']);let _0x81ad15,_0x1c5879=_0x2d1a50||'';try{_0x81ad15=await this[_0x1ec316(0x14e)](_0x1f3415[_0x1ec316(0x227)],_0x2d1a50),_0x81ad15[_0x1ec316(0x24c)][_0x1ec316(0x185)](_0x1f3415['logger'][_0x1ec316(0x1b0)]);}catch(_0x1b9746){_0x1f3415[_0x1ec316(0x1ec)][_0x1ec316(0x1a1)]('Error\x20scanning\x20the\x20filesystem.',_0x1b9746),_0x1f3415[_0x1ec316(0x212)](_0x1ec316(0x1a7),_0x1b9746);return;}try{const _0x26c00c=await SourceMapper[_0x1ec316(0x22b)](_0x81ad15[_0x1ec316(0x1b6)]);__classPrivateFieldSet(_0x1f3415,_Debuglet_v8debug,debugapi[_0x1ec316(0x22b)](_0x1f3415[_0x1ec316(0x1ec)],_0x1f3415[_0x1ec316(0x227)],_0x81ad15[_0x1ec316(0x20e)],_0x26c00c,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x1c5879=_0x2d1a50||_0x81ad15[_0x1ec316(0x240)];}catch(_0x15ef0e){_0x1f3415[_0x1ec316(0x1ec)][_0x1ec316(0x1a1)]('Error\x20processing\x20the\x20sourcemaps.',_0x15ef0e),_0x1f3415[_0x1ec316(0x212)]('initError',_0x15ef0e);}_0x1f3415[_0x1ec316(0x1ec)][_0x1ec316(0x149)](_0x1ec316(0x173)+_0x1c5879);const _0x1e78e1=(0x0,utils_1[_0x1ec316(0x1e2)])(_0x1f3415[_0x1ec316(0x1ec)])[_0x1ec316(0x23f)]('\x0a','');_0x1f3415[_0x1ec316(0x1ec)]['info'](_0x1ec316(0x210)+_0x1e78e1);let _0x459640;try{_0x459640=_0x1f3415['config']['sourceContext']||await Debuglet[_0x1ec316(0x1cd)]();}catch(_0x398bf5){}this['config'][_0x1ec316(0x1d4)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x1ec316(0x17b)]()===0x0&&(0x0,utils_1[_0x1ec316(0x1df)])(process['version'],'>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12')&&_0x1f3415['logger'][_0x1ec316(0x1b0)](utils_1[_0x1ec316(0x24c)]['NODE_10_CIRC_REF_MESSAGE']),_0x1f3415[_0x1ec316(0x1ec)]['info'](_0x1ec316(0x20a)+((_0xe969ab=process[_0x1ec316(0x1a2)])===null||_0xe969ab===void 0x0?void 0x0:_0xe969ab[_0x1ec316(0x1d1)])),_0x1f3415[_0x1ec316(0x1ec)][_0x1ec316(0x198)](_0x1ec316(0x217)+_0x20c4d9),_0x1f3415[_0x1ec316(0x1ec)][_0x1ec316(0x198)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x1f3415,_Debuglet_running,!![],'f'),_0x1f3415[_0x1ec316(0x213)]=(0x0,createDebuggee_1[_0x1ec316(0x1db)])(_0x1c5879,_0x1f3415[_0x1ec316(0x227)],_0x459640,__classPrivateFieldGet(_0x1f3415,_Debuglet_debug,'f')[_0x1ec316(0x1b7)],_0x1e78e1,_0x1f3415['logger'],__classPrivateFieldGet(_0x1f3415,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x1f3415,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x1ec316(0x1e9)](_0x1f3415),__classPrivateFieldGet(_0x1f3415,_Debuglet_instances,'m',_Debuglet_register_)[_0x1ec316(0x1e9)](_0x1f3415),_0x1f3415[_0x1ec316(0x212)]('started');}[a17_0x3bf64c(0x178)](){const _0x2b8585=a17_0x3bf64c;if(Date[_0x2b8585(0x200)]()<__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')['get']();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x2b8585(0x1ba)]()[_0x2b8585(0x209)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x2b8585(0x1ba)]();}}static async['getSourceContextFromFile'](){const _0x178804=a17_0x3bf64c,_0x46c924=await readFilep(_0x178804(0x23d),_0x178804(0x16f));try{return JSON[_0x178804(0x154)](_0x46c924);}catch(_0x15633b){throw new Error(_0x178804(0x226)+_0x15633b);}}[a17_0x3bf64c(0x151)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x2b316a=a17_0x3bf64c;var _0x24f688;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x2b316a(0x1ec)][_0x2b316a(0x198)](_0x2b316a(0x157));return;}this[_0x2b316a(0x1ec)]['debug']('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0x24f688=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0x24f688===void 0x0?void 0x0:_0x24f688[_0x2b316a(0x172)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0x2b316a(0x189));}}exports[a17_0x3bf64c(0x21f)]=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(_0x2df806){return new RegExp(_0x2df806['map'](_0x5deb09=>_0x5deb09+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x1d29b7=a17_0x3bf64c,_0x4326cd=['SIGTERM',_0x1d29b7(0x19d),'SIGQUIT'];_0x4326cd[_0x1d29b7(0x185)](_0x314caa=>{const _0x5ac25f=_0x1d29b7;process[_0x5ac25f(0x1a5)](_0x314caa,()=>{const _0x35c2dc=_0x5ac25f;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x35c2dc(0x213)],()=>{const _0x4b4069=_0x35c2dc;process[_0x4b4069(0x228)](process[_0x4b4069(0x1eb)],_0x314caa);});});}),process[_0x1d29b7(0x1a5)](_0x1d29b7(0x24d),()=>{const _0xd90a87=_0x1d29b7;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xd90a87(0x206)](this['debuggee'],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){const _0x595324=a17_0x3bf64c;return metadata[_0x595324(0x155)]();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0x37c740=a17_0x3bf64c;return(await metadata['instance'](_0x37c740(0x1e5)))[_0x37c740(0x1ae)];},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x425b62){const _0x4bd579=a17_0x3bf64c,_0x52e60f=this;_0x52e60f[_0x4bd579(0x1ec)]['debug'](_0x425b62?'Scheduling\x20registration\x20in\x20'+_0x425b62+'s':_0x4bd579(0x1d6));function _0x34c5cb(_0x4c3b75,_0x5e8c96,_0x5b3077=![]){const _0x315e04=_0x4bd579;var _0x517bb8,_0x3b1188;const _0x54820c=((_0x517bb8=_0x52e60f[_0x315e04(0x213)])===null||_0x517bb8===void 0x0?void 0x0:_0x517bb8['id'])?_0x315e04(0x1bc)+((_0x3b1188=_0x52e60f['debuggee'])===null||_0x3b1188===void 0x0?void 0x0:_0x3b1188['id'])+':\x20'+_0x4c3b75:_0x315e04(0x165)+_0x4c3b75;_0x52e60f[_0x315e04(0x1ec)]['error'](_0x54820c),_0x5e8c96&&!_0x5b3077&&_0x52e60f['logger'][_0x315e04(0x1a1)](_0x315e04(0x1f0),_0x5e8c96),__classPrivateFieldGet(_0x52e60f,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x315e04(0x1e9)](_0x52e60f,(0x0,utils_1[_0x315e04(0x167)])(_0x425b62,_0x52e60f[_0x315e04(0x227)]['internal'][_0x315e04(0x1a4)]));}setTimeout(()=>{const _0x40ff5b=_0x4bd579;if(!__classPrivateFieldGet(_0x52e60f,_Debuglet_running,'f')){_0x34c5cb(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(_0x52e60f,_Debuglet_controller,'f')[_0x40ff5b(0x181)](_0x52e60f[_0x40ff5b(0x213)],(_0x478db9,_0x37033f,_0x1ee276=![])=>{const _0x25a23e=_0x40ff5b;if(_0x478db9){_0x34c5cb(_0x478db9,_0x37033f,_0x1ee276);return;}if(_0x37033f[_0x25a23e(0x213)][_0x25a23e(0x147)]){_0x34c5cb(new Error('Disabled\x20by\x20the\x20server')),_0x52e60f[_0x25a23e(0x212)](_0x25a23e(0x231));return;}const _0x98e73f=_0x37033f[_0x25a23e(0x213)]['id'];_0x52e60f['logger'][_0x25a23e(0x149)](_0x25a23e(0x256)+_0x98e73f),_0x52e60f[_0x25a23e(0x213)]['id']=_0x98e73f;const _0x58ca3e=[__classPrivateFieldGet(_0x52e60f,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x25a23e(0x21c)](_0x52e60f)(_0x52e60f[_0x25a23e(0x213)]['id'])];_0x52e60f[_0x25a23e(0x227)][_0x25a23e(0x258)]&&_0x58ca3e[_0x25a23e(0x182)](__classPrivateFieldGet(_0x52e60f,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x52e60f)(_0x52e60f[_0x25a23e(0x213)]['id'])),Promise[_0x25a23e(0x24b)](_0x58ca3e)[_0x25a23e(0x209)](()=>{const _0x262061=_0x25a23e;var _0x5da2e4;_0x52e60f[_0x262061(0x212)](_0x262061(0x1e7),_0x98e73f),__classPrivateFieldGet(_0x52e60f,_Debuglet_debuggeeRegistered,'f')[_0x262061(0x162)](),(_0x5da2e4=__classPrivateFieldGet(_0x52e60f,_Debuglet_v8debug,'f'))===null||_0x5da2e4===void 0x0?void 0x0:_0x5da2e4[_0x262061(0x170)](__classPrivateFieldGet(_0x52e60f,_Debuglet_blocklistManager,'f')),!_0x52e60f['fetcherActive']&&__classPrivateFieldGet(_0x52e60f,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x52e60f,0x0,this[_0x262061(0x227)][_0x262061(0x1ca)],_0x37033f===null||_0x37033f===void 0x0?void 0x0:_0x37033f[_0x262061(0x177)]);},_0x56e726=>{_0x34c5cb(_0x56e726);});});},_0x425b62*0x3e8)[_0x4bd579(0x1e3)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x51249f,_0x38d376,_0x58813e){const _0x3eb2dd=a17_0x3bf64c,_0x574446=this;!_0x38d376&&(_0x574446[_0x3eb2dd(0x19a)]=!![]),setTimeout(()=>{const _0x233246=_0x3eb2dd;if(!__classPrivateFieldGet(_0x574446,_Debuglet_running,'f'))return;!_0x38d376&&assert(_0x574446[_0x233246(0x19a)]),_0x574446[_0x233246(0x1ec)][_0x233246(0x198)](_0x233246(0x1f5)),__classPrivateFieldGet(_0x574446,_Debuglet_controller,'f')[_0x233246(0x1aa)](_0x574446[_0x233246(0x213)],(_0x157f43,_0x234ffc,_0x757e33)=>{const _0x1c8ad1=_0x233246;if((_0x234ffc===null||_0x234ffc===void 0x0?void 0x0:_0x234ffc[_0x1c8ad1(0x14d)])===0x194){_0x574446[_0x1c8ad1(0x1ec)]['info']('Debuggee\x20is\x20not\x20registered'),_0x574446[_0x1c8ad1(0x19a)]=![],__classPrivateFieldGet(_0x574446,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x1c8ad1(0x1e9)](_0x574446),__classPrivateFieldGet(_0x574446,_Debuglet_instances,'m',_Debuglet_register_)[_0x1c8ad1(0x1e9)](_0x574446);return;}if(_0x157f43){const _0x1af2c9=(0x0,utils_1[_0x1c8ad1(0x167)])(_0x51249f,_0x574446['config']['internal'][_0x1c8ad1(0x1a4)]);_0x574446[_0x1c8ad1(0x1ec)]['error']('\x09Got\x20error\x20from\x20server.\x20status:\x20'+(_0x234ffc===null||_0x234ffc===void 0x0?void 0x0:_0x234ffc[_0x1c8ad1(0x14d)])+_0x1c8ad1(0x1f7)+_0x157f43[_0x1c8ad1(0x161)]+_0x1c8ad1(0x1fe)+_0x1af2c9+'s'),__classPrivateFieldGet(_0x574446,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x574446,_0x1af2c9,_0x38d376,_0x58813e);return;}_0x574446[_0x1c8ad1(0x1ec)][_0x1c8ad1(0x198)]('\x09'+_0x234ffc[_0x1c8ad1(0x14d)]+_0x1c8ad1(0x156));if(!_0x757e33){const _0x4d3735=_0x574446[_0x1c8ad1(0x227)][_0x1c8ad1(0x22f)];_0x574446['logger'][_0x1c8ad1(0x1a1)](_0x1c8ad1(0x233)+_0x4d3735+'s'),__classPrivateFieldGet(_0x574446,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x574446,_0x4d3735,_0x38d376,_0x58813e);return;}if(_0x757e33[_0x1c8ad1(0x16e)]){_0x574446[_0x1c8ad1(0x1ec)][_0x1c8ad1(0x149)](_0x1c8ad1(0x14b)),__classPrivateFieldGet(_0x574446,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x574446,0x0,_0x38d376,_0x58813e);return;}if(_0x757e33[_0x1c8ad1(0x1e1)]&&_0x757e33[_0x1c8ad1(0x1e1)]!==_0x1c8ad1(0x216)){const _0x50d1dc=this[_0x1c8ad1(0x148)][_0x1c8ad1(0x245)];_0x50d1dc!==_0x757e33[_0x1c8ad1(0x1e1)]&&(this[_0x1c8ad1(0x1ec)][_0x1c8ad1(0x198)](_0x1c8ad1(0x19c)+_0x50d1dc+_0x1c8ad1(0x1ef)+_0x757e33[_0x1c8ad1(0x1e1)]),this['pipingManager'][_0x1c8ad1(0x245)]=_0x757e33[_0x1c8ad1(0x1e1)]);}if(_0x757e33[_0x1c8ad1(0x190)]&&_0x757e33[_0x1c8ad1(0x249)]!==_0x574446[_0x1c8ad1(0x249)]){_0x574446[_0x1c8ad1(0x249)]=_0x757e33[_0x1c8ad1(0x249)];const _0x48e8d8=_0x574446[_0x1c8ad1(0x227)][_0x1c8ad1(0x232)]['agentLogTargetDir']&&path[_0x1c8ad1(0x1b1)](_0x574446[_0x1c8ad1(0x227)]['agentLog'][_0x1c8ad1(0x1c4)],agent_logger_1[_0x1c8ad1(0x251)][_0x1c8ad1(0x14a)]);_0x48e8d8&&fs[_0x1c8ad1(0x1a8)](_0x48e8d8)?setTimeout(()=>__classPrivateFieldGet(_0x574446,_Debuglet_controller,'f')[_0x1c8ad1(0x204)](_0x574446[_0x1c8ad1(0x213)],_0x757e33[_0x1c8ad1(0x249)],_0x48e8d8)):_0x574446['logger']['info'](_0x1c8ad1(0x17d)+_0x757e33[_0x1c8ad1(0x249)]+_0x1c8ad1(0x201)+_0x1c8ad1(0x20c));}const _0x1d35cd=(_0x757e33['breakpoints']||[])['map'](_0x25b817=>new stackdriver_1[(_0x1c8ad1(0x1c8))](_0x25b817))[_0x1c8ad1(0x22c)](_0x4f0bbe=>{const _0x12bbc3=_0x1c8ad1,_0x39a7ef=_0x4f0bbe['action']||'CAPTURE';if(__classPrivateFieldGet(_0x574446,_Debuglet_completedBreakpointMap,'f')[_0x4f0bbe['id']])return![];if(_0x39a7ef!==_0x12bbc3(0x21d)&&_0x39a7ef!==_0x12bbc3(0x186))return _0x574446[_0x12bbc3(0x1ec)]['warn'](_0x12bbc3(0x1c1),_0x39a7ef),_0x4f0bbe[_0x12bbc3(0x14d)]=new status_message_1[(_0x12bbc3(0x188))](status_message_1[_0x12bbc3(0x188)]['UNSPECIFIED'],utils_1[_0x12bbc3(0x24c)][_0x12bbc3(0x1c5)],!![]),__classPrivateFieldGet(_0x574446,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x574446,_0x4f0bbe),![];return!![];}),_0x417840=__classPrivateFieldGet(_0x574446,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x1c8ad1(0x1e9)](_0x574446);let _0xd791f6=_0x417840[_0x1c8ad1(0x144)]>0x0;__classPrivateFieldGet(_0x574446,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x574446,_0x417840),_0xd791f6=_0xd791f6||__classPrivateFieldGet(_0x574446,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x1c8ad1(0x1e9)](_0x574446,_0x1d35cd),_0x574446[_0x1c8ad1(0x212)](_0x1c8ad1(0x1a6),_0x1d35cd['length']);_0xd791f6&&_0x574446[_0x1c8ad1(0x1ec)][_0x1c8ad1(0x198)](formatBreakpoints(_0x1c8ad1(0x1ad),_0x574446[_0x1c8ad1(0x1e4)]));__classPrivateFieldSet(_0x574446,_Debuglet_breakpointFetchedTimestamp,Date[_0x1c8ad1(0x200)](),'f');_0x38d376?__classPrivateFieldGet(_0x574446,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x574446,_Debuglet_breakpointFetched,'f')[_0x1c8ad1(0x162)](),__classPrivateFieldSet(_0x574446,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x574446,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1c8ad1(0x1e9)](_0x574446,0x0,_0x38d376,_0x58813e);return;},_0x58813e);},_0x51249f*0x3e8)['unref']();},_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_(_0x33d7ec){const _0x22cfcc=a17_0x3bf64c,_0x515b96=this,_0x16bd89=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x22cfcc(0x1e9)](this,_0x33d7ec);let _0x2c12ea=![];return _0x33d7ec['forEach'](_0x1e1675=>{const _0x3604eb=_0x22cfcc;!__classPrivateFieldGet(_0x515b96,_Debuglet_completedBreakpointMap,'f')[_0x1e1675['id']]&&!_0x515b96[_0x3604eb(0x1e4)][_0x1e1675['id']]&&(__classPrivateFieldGet(_0x515b96,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x3604eb(0x1e9)](_0x515b96,_0x1e1675,_0x53cc36=>{_0x53cc36&&__classPrivateFieldGet(_0x515b96,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x515b96,_0x1e1675,!![],![]);}),_0x2c12ea=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3604eb(0x1e0)](_0x1e1675['id'])),__classPrivateFieldGet(_0x515b96,_Debuglet_quotaManager,'f')[_0x3604eb(0x21b)](_0x1e1675['id'],_0x1e1675[_0x3604eb(0x145)]),_0x515b96[_0x3604eb(0x148)][_0x3604eb(0x1c2)](_0x1e1675['id'],_0x1e1675[_0x3604eb(0x1ce)]);}),(0x0,mapSubtract_1[_0x22cfcc(0x22a)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x16bd89)[_0x22cfcc(0x185)](_0xa86b3a=>{delete __classPrivateFieldGet(_0x515b96,_Debuglet_completedBreakpointMap,'f')[_0xa86b3a['id']],_0x2c12ea=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x22cfcc(0x1e4)],_0x16bd89)[_0x22cfcc(0x185)](_0x5822ce=>{const _0x2ad96d=_0x22cfcc;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2ad96d(0x1e9)](this,_0x5822ce,!![]),_0x2c12ea=!![];}),_0x2c12ea&&_0x515b96['logger'][_0x22cfcc(0x198)](formatBreakpoints(_0x22cfcc(0x255),_0x16bd89)),_0x2c12ea;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x4ac90b){const _0x3e6fba={};return _0x4ac90b['forEach'](_0x2871f2=>{_0x3e6fba[_0x2871f2['id']]=_0x2871f2;}),_0x3e6fba;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x423a9d,_0x177902){const _0x51ebc5=a17_0x3bf64c;this['logger']['info'](_0x51ebc5(0x1ed),_0x423a9d),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x51ebc5(0x248)](_0x423a9d['id']),this[_0x51ebc5(0x148)][_0x51ebc5(0x15c)](_0x423a9d['id']),delete this[_0x51ebc5(0x1e4)][_0x423a9d['id']],_0x177902&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x51ebc5(0x195)](_0x423a9d,_0x35af56=>{const _0x39b1d1=_0x51ebc5;if(_0x35af56)this[_0x39b1d1(0x1ec)][_0x39b1d1(0x1a1)](_0x35af56);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x4ac147,_0x2cb006){const _0x4677a4=a17_0x3bf64c;var _0x251a2a;const _0x51d9ea=this;_0x51d9ea['logger']['info'](_0x4677a4(0x191),_0x4ac147);if(!_0x51d9ea['config'][_0x4677a4(0x1c0)]&&(_0x4ac147[_0x4677a4(0x166)]||_0x4ac147[_0x4677a4(0x175)])){_0x51d9ea[_0x4677a4(0x1ec)][_0x4677a4(0x1a1)](utils_1[_0x4677a4(0x24c)][_0x4677a4(0x1f9)][_0x4677a4(0x1bd)]||''),_0x4ac147['status']=new status_message_1['StatusMessage'](status_message_1[_0x4677a4(0x188)][_0x4677a4(0x20f)],utils_1['errors']['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x289987=_0x4677a4;_0x2cb006(utils_1[_0x289987(0x24c)]['ALLOW_EXPRESSIONS_MESSAGE']);});return;}if((0x0,utils_1[_0x4677a4(0x1df)])(process[_0x4677a4(0x1ff)],_0x4677a4(0x18a))){const _0x4e0372=utils_1[_0x4677a4(0x24c)][_0x4677a4(0x169)];_0x51d9ea[_0x4677a4(0x1ec)]['error'](_0x4e0372),_0x4ac147[_0x4677a4(0x14d)]=new status_message_1[(_0x4677a4(0x188))](status_message_1[_0x4677a4(0x188)][_0x4677a4(0x20f)],_0x4e0372,!![]),setImmediate(()=>{_0x2cb006(_0x4e0372);});return;}const _0x43b3a9=_0x4ac147[_0x4677a4(0x1c3)]?Number(_0x4ac147[_0x4677a4(0x1c3)]['seconds']):Date[_0x4677a4(0x200)]()/0x3e8,_0x11f64a=_0x4ac147[_0x4677a4(0x23e)]||_0x51d9ea[_0x4677a4(0x227)][_0x4677a4(0x23b)];_0x4ac147[_0x4677a4(0x1b5)]=_0x43b3a9+_0x11f64a,((_0x251a2a=_0x4ac147[_0x4677a4(0x1de)])===null||_0x251a2a===void 0x0?void 0x0:_0x251a2a['path'])&&(_0x4ac147[_0x4677a4(0x1de)][_0x4677a4(0x174)]=path[_0x4677a4(0x1d7)](_0x4ac147[_0x4677a4(0x1de)][_0x4677a4(0x174)]),path[_0x4677a4(0x225)]===path[_0x4677a4(0x153)][_0x4677a4(0x225)]&&(_0x4ac147[_0x4677a4(0x1de)][_0x4677a4(0x174)]=_0x4ac147['location'][_0x4677a4(0x174)]['split']('\x5c')[_0x4677a4(0x1b1)](path[_0x4677a4(0x225)]))),__classPrivateFieldGet(_0x51d9ea,_Debuglet_v8debug,'f')['set'](_0x4ac147,_0x186aa7=>{const _0x1ffd78=_0x4677a4;if(_0x186aa7){_0x2cb006(_0x186aa7);return;}_0x51d9ea[_0x1ffd78(0x1ec)][_0x1ffd78(0x149)]('\x09successfully\x20added\x20breakpoint',_0x4ac147),_0x51d9ea['activeBreakpointMap'][_0x4ac147['id']]=_0x4ac147,_0x4ac147[_0x1ffd78(0x14c)]===_0x1ffd78(0x186)?__classPrivateFieldGet(_0x51d9ea,_Debuglet_v8debug,'f')[_0x1ffd78(0x20b)](_0x4ac147,(_0x17048d,_0x2c600c)=>{const _0x35e347=_0x1ffd78;var _0x501e4c,_0x1ed080,_0x2fbd2c,_0x2f9b92;const _0x50f431=_0x2c600c[_0x35e347(0x142)](_0x42fad6=>__classPrivateFieldGet(_0x51d9ea,_Debuglet_instances,'m',_Debuglet_stringify)[_0x35e347(0x1e9)](_0x51d9ea,_0x42fad6)),_0x452abb=(0x0,format_1[_0x35e347(0x17a)])(_0x17048d,_0x50f431),_0x5496f9='LOGPOINT:\x20'+(((_0x501e4c=__classPrivateFieldGet(_0x51d9ea,_Debuglet_redactionManager,'f'))===null||_0x501e4c===void 0x0?void 0x0:_0x501e4c[_0x35e347(0x1ee)](_0x452abb))||_0x452abb),_0x2be943=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x5496f9,_0x4ac147['id']);if(_0x2be943){const _0x26d0dc=_0x2be943[_0x35e347(0x161)],_0x3142b1=_0x2be943[_0x35e347(0x219)];let _0x237420,_0x49fd8f;!((_0x1ed080=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x1ed080===void 0x0?void 0x0:_0x1ed080[_0x35e347(0x21e)]())&&!_0x3142b1&&(_0x237420=_0x35e347(0x234)+_0x17048d,_0x49fd8f=_0x50f431);_0x51d9ea['pipingManager'][_0x35e347(0x1a3)](_0x51d9ea['debuggee'],_0x4ac147['id'],_0x26d0dc,_0x4ac147[_0x35e347(0x163)],_0x237420,_0x49fd8f);if(_0x3142b1)(_0x2fbd2c=__classPrivateFieldGet(_0x51d9ea,_Debuglet_v8debug,'f'))===null||_0x2fbd2c===void 0x0?void 0x0:_0x2fbd2c['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{var _0x3250ba;(_0x3250ba=__classPrivateFieldGet(_0x51d9ea,_Debuglet_v8debug,'f'))===null||_0x3250ba===void 0x0?void 0x0:_0x3250ba['enable'](),__classPrivateFieldSet(_0x51d9ea,_Debuglet_nextEnableTimeout,null,'f');},_0x51d9ea[_0x35e347(0x227)][_0x35e347(0x1f8)][_0x35e347(0x180)]*0x3e8),'f');else(_0x26d0dc===null||_0x26d0dc===void 0x0?void 0x0:_0x26d0dc[_0x35e347(0x144)])===0x0&&((_0x2f9b92=__classPrivateFieldGet(_0x51d9ea,_Debuglet_v8debug,'f'))===null||_0x2f9b92===void 0x0?void 0x0:_0x2f9b92[_0x35e347(0x1be)]());}},()=>{return __classPrivateFieldGet(_0x51d9ea,_Debuglet_completedBreakpointMap,'f')[_0x4ac147['id']];},_0x285176=>{const _0x290598=_0x1ffd78;if(_0x285176){_0x51d9ea[_0x290598(0x1ec)]['error'](_0x285176),_0x2cb006(_0x285176);return;}}):__classPrivateFieldGet(_0x51d9ea,_Debuglet_v8debug,'f')[_0x1ffd78(0x1d9)](_0x4ac147,_0x5bf40f=>{const _0x5a9954=_0x1ffd78;if(_0x5bf40f){setImmediate(()=>{const _0x3512c0=a17_0x3797;_0x51d9ea[_0x3512c0(0x1ec)]['error'](_0x5bf40f),_0x2cb006(_0x5bf40f);});return;}_0x51d9ea[_0x5a9954(0x1ec)]['info'](_0x5a9954(0x1d8),_0x4ac147),__classPrivateFieldGet(_0x51d9ea,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x5a9954(0x1e9)](_0x51d9ea,_0x4ac147,__classPrivateFieldGet(_0x51d9ea,_Debuglet_v8debug,'f')['remainingHits'](_0x4ac147['id'])<=0x0);}),__classPrivateFieldGet(_0x51d9ea,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x1ffd78(0x1e9)](_0x51d9ea,_0x4ac147);}),this['emit'](_0x4677a4(0x21a));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x453096,_0x30c2de,_0x50c431=!![]){const _0x5d8115=a17_0x3bf64c;var _0x172a35,_0x15c0bf,_0x5c3083,_0x18d332,_0x360b6b,_0x3db48b;const _0x36fab5=this;if(_0x453096[_0x5d8115(0x14d)]&&_0x453096[_0x5d8115(0x14d)][_0x5d8115(0x1cf)]){let _0x5021d9=((_0x15c0bf=(_0x172a35=_0x453096[_0x5d8115(0x14d)])===null||_0x172a35===void 0x0?void 0x0:_0x172a35['description'])===null||_0x15c0bf===void 0x0?void 0x0:_0x15c0bf[_0x5d8115(0x17a)])||'';((_0x18d332=(_0x5c3083=_0x453096[_0x5d8115(0x14d)])===null||_0x5c3083===void 0x0?void 0x0:_0x5c3083['description'])===null||_0x18d332===void 0x0?void 0x0:_0x18d332['parameters'])&&(_0x5021d9+=':\x20'+((_0x3db48b=(_0x360b6b=_0x453096[_0x5d8115(0x14d)])===null||_0x360b6b===void 0x0?void 0x0:_0x360b6b[_0x5d8115(0x1bd)])===null||_0x3db48b===void 0x0?void 0x0:_0x3db48b[_0x5d8115(0x1fd)][_0x5d8115(0x246)]())),_0x36fab5['logger'][_0x5d8115(0x1b0)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x453096+_0x5d8115(0x244)+_0x5021d9);}else _0x36fab5['logger'][_0x5d8115(0x149)](_0x5d8115(0x15f),_0x453096);_0x30c2de&&(__classPrivateFieldGet(_0x36fab5,_Debuglet_completedBreakpointMap,'f')[_0x453096['id']]=!![],__classPrivateFieldGet(_0x36fab5,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5d8115(0x1e9)](_0x36fab5,_0x453096,_0x50c431)),__classPrivateFieldGet(_0x36fab5,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x36fab5[_0x5d8115(0x213)],extend(!![],{},_0x453096));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x3216e4){const _0x579d7f=a17_0x3bf64c,_0x1293d4=this;_0x1293d4[_0x579d7f(0x1ec)][_0x579d7f(0x198)](_0x579d7f(0x171)+_0x3216e4+_0x579d7f(0x176));const _0x54333d=extend(!![],{},_0x3216e4);_0x54333d[_0x579d7f(0x1dd)]=![],_0x54333d[_0x579d7f(0x14d)]=new status_message_1['StatusMessage'](status_message_1[_0x579d7f(0x188)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(_0x1293d4,_Debuglet_controller,'f')[_0x579d7f(0x15a)](_0x1293d4[_0x579d7f(0x213)],_0x54333d);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x1ecba4){const _0x3d9567=a17_0x3bf64c,_0x5a2130=this;this[_0x3d9567(0x1ec)]['info']('rejecting\x20breakpoint',_0x1ecba4),__classPrivateFieldGet(_0x5a2130,_Debuglet_completedBreakpointMap,'f')[_0x1ecba4['id']]=!![],__classPrivateFieldGet(_0x5a2130,_Debuglet_controller,'f')[_0x3d9567(0x15a)](_0x5a2130[_0x3d9567(0x213)],_0x1ecba4);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5f440d){const _0x57edaa=a17_0x3bf64c,_0x3f8733=this;_0x5f440d[_0x57edaa(0x185)](_0xd8ab22=>{const _0x323ad9=_0x57edaa;_0x3f8733['logger'][_0x323ad9(0x149)](_0x323ad9(0x252),_0xd8ab22),__classPrivateFieldGet(_0x3f8733,_Debuglet_completedBreakpointMap,'f')[_0xd8ab22['id']]=!![],__classPrivateFieldGet(_0x3f8733,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x3f8733,_0xd8ab22,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x69fc0a=a17_0x3bf64c,_0x28ce5c=Date[_0x69fc0a(0x200)]()/0x3e8;return Object[_0x69fc0a(0x1cb)](this[_0x69fc0a(0x1e4)])[_0x69fc0a(0x22c)](_0x2bec84=>_0x2bec84['expirationTime']?_0x2bec84[_0x69fc0a(0x1b5)]<_0x28ce5c:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x366855){const _0xbfeaab=a17_0x3bf64c,_0x59de41=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xbfeaab(0x250)](_0x366855),_0x4cf2be=_0x59de41[_0xbfeaab(0x1b3)],_0x20bec6=_0x59de41[_0xbfeaab(0x1c7)];_0x4cf2be&&_0x4cf2be[_0xbfeaab(0x144)]&&this['logger'][_0xbfeaab(0x198)](_0xbfeaab(0x202),_0x4cf2be[_0xbfeaab(0x1b1)]('\x0a\x09')),_0x20bec6&&_0x20bec6[_0xbfeaab(0x144)]&&this[_0xbfeaab(0x1ec)][_0xbfeaab(0x198)](_0xbfeaab(0x193),_0x20bec6['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0xbfeaab(0x16d))](_0x4cf2be,_0x20bec6,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x1cf957){const _0x4fee86=a17_0x3bf64c;var _0x544633;const _0x4dbf4b=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4fee86(0x1d5)](_0x1cf957);(_0x4dbf4b===null||_0x4dbf4b===void 0x0?void 0x0:_0x4dbf4b['length'])&&this['logger'][_0x4fee86(0x198)](_0x4fee86(0x18c),_0x4dbf4b['map'](_0x34b5aa=>_0x4fee86(0x253)+_0x34b5aa[_0x4fee86(0x214)]+_0x4fee86(0x207)+_0x34b5aa['type']+_0x4fee86(0x19f)+_0x34b5aa[_0x4fee86(0x218)]+_0x4fee86(0x24a)+_0x34b5aa[_0x4fee86(0x205)])['join']('\x0a\x09'));if((0x0,utils_1[_0x4fee86(0x1df)])(process[_0x4fee86(0x1ff)],'>=12')){const {RedactionManagerRE2JS:_0x92c143}=await Promise['resolve']()[_0x4fee86(0x209)](()=>require(_0x4fee86(0x23c)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x92c143(this[_0x4fee86(0x1ec)]),'f'),(_0x544633=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x544633===void 0x0?void 0x0:_0x544633[_0x4fee86(0x1fa)](_0x4dbf4b);}},_Debuglet_stringify=function _Debuglet_stringify(_0x3dc275){const _0x288555=a17_0x3bf64c;if(!_0x3dc275)return JSON['stringify'](_0x3dc275,(_0x5ca999,_0x1b1727)=>_0x1b1727===undefined?'undefined':_0x1b1727);if(Array['isArray'](_0x3dc275)){const _0x51dc0d=[];for(const _0x26f5af of _0x3dc275){_0x51dc0d[_0x288555(0x182)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x288555(0x1e9)](this,_0x26f5af));}return'['+_0x51dc0d[_0x288555(0x1b1)](',\x20')+']';}if(typeof _0x3dc275===_0x288555(0x168)){const _0x238eee=Object[_0x288555(0x199)](_0x3dc275)[_0x288555(0x142)](([_0x42024d,_0x3256af])=>{const _0x519587=_0x288555;var _0x31e1bc;const _0x48dd5c=((_0x31e1bc=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x31e1bc===void 0x0?void 0x0:_0x31e1bc['shouldRedactByName'](_0x42024d))?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x3256af);return JSON[_0x519587(0x1f3)](_0x42024d)+':\x20'+_0x48dd5c;})[_0x288555(0x1b1)](',\x20');return'{'+_0x238eee+'}';}return JSON[_0x288555(0x1f3)](_0x3dc275);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a18_0xd09c7c=a18_0x296a;(function(_0x58f3b1,_0xc18041){const _0x1f180d=a18_0x296a,_0x2200dd=_0x58f3b1();while(!![]){try{const _0x3d9dda=-parseInt(_0x1f180d(0x1ef))/0x1+-parseInt(_0x1f180d(0x1e6))/0x2+-parseInt(_0x1f180d(0x1d3))/0x3*(parseInt(_0x1f180d(0x1ea))/0x4)+parseInt(_0x1f180d(0x1e1))/0x5+-parseInt(_0x1f180d(0x1f7))/0x6*(parseInt(_0x1f180d(0x201))/0x7)+parseInt(_0x1f180d(0x1f4))/0x8*(-parseInt(_0x1f180d(0x204))/0x9)+parseInt(_0x1f180d(0x1c8))/0xa;if(_0x3d9dda===_0xc18041)break;else _0x2200dd['push'](_0x2200dd['shift']());}catch(_0x14eb2a){_0x2200dd['push'](_0x2200dd['shift']());}}}(a18_0x1190,0xa26bd));Object['defineProperty'](exports,a18_0xd09c7c(0x1f1),{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a18_0xd09c7c(0x1c3));function a18_0x1190(){const _0x3602da=['\x20on\x20','x32','runtimeEnvironmentVersion','agentOS','MacOS','Windows','_osRelease','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','split','toString','6013090gDEkfA','/.dockerenv','arch','match','totalmem','841696vtIbVE','linuxDistroName','set','arm','1384SBtvVe','search','release','error','procArch','730894RQXynd','_cachedOsRelease','__esModule','getProps','Linux','8lEJtCW','length','linux','174onVKsK','readFileSync','_logger','replace','systemTotalMemoryBytes','pid','host','arm64','constructor','(((.+)+)+)+$','187271zTBmBe','apply','isInK8s','622494YJtYxP','assert','mac','version','existsSync','utf-8','21991520SgepOv','KUBERNETES_SERVICE_HOST','env','warn','windows','/etc/os-release','runtimeEnvironmentInfo','hostname','cpuCoreCount','x64','osVersion','6414NTszNd','cpus','platform','get'];a18_0x1190=function(){return _0x3602da;};return a18_0x1190();}var OS;(function(_0x45b8a8){const _0x46147d=a18_0xd09c7c,_0x2cdaad=(function(){let _0x3f35ef=!![];return function(_0x11c2d7,_0x3b88c1){const _0x122a45=_0x3f35ef?function(){const _0x39c727=a18_0x296a;if(_0x3b88c1){const _0x374493=_0x3b88c1[_0x39c727(0x202)](_0x11c2d7,arguments);return _0x3b88c1=null,_0x374493;}}:function(){};return _0x3f35ef=![],_0x122a45;};}()),_0x2c5e57=_0x2cdaad(this,function(){const _0x117e65=a18_0x296a;return _0x2c5e57[_0x117e65(0x1e0)]()['search'](_0x117e65(0x200))['toString']()[_0x117e65(0x1ff)](_0x2c5e57)[_0x117e65(0x1eb)](_0x117e65(0x200));});_0x2c5e57(),_0x45b8a8[_0x46147d(0x1f3)]=_0x46147d(0x1f6),_0x45b8a8[_0x46147d(0x1dc)]=_0x46147d(0x1cc),_0x45b8a8[_0x46147d(0x1db)]=_0x46147d(0x1c4);}(OS||(OS={})));var ProcArch;(function(_0x53d1af){const _0x1df0aa=a18_0xd09c7c;_0x53d1af[_0x1df0aa(0x1d1)]=_0x1df0aa(0x1d1),_0x53d1af[_0x1df0aa(0x1d8)]=_0x1df0aa(0x1d8),_0x53d1af[_0x1df0aa(0x1e9)]='arm',_0x53d1af[_0x1df0aa(0x1fe)]=_0x1df0aa(0x1fe);}(ProcArch||(ProcArch={})));function a18_0x296a(_0x786d6,_0x2c5dc5){const _0x2325a1=a18_0x1190();return a18_0x296a=function(_0x1c3ea7,_0x41da60){_0x1c3ea7=_0x1c3ea7-0x1c3;let _0x11907f=_0x2325a1[_0x1c3ea7];return _0x11907f;},a18_0x296a(_0x786d6,_0x2c5dc5);}const PlatformToOsMap={'linux':OS[a18_0xd09c7c(0x1f3)],'win32':OS[a18_0xd09c7c(0x1dc)],'darwin':OS[a18_0xd09c7c(0x1db)]},ArchToProcArchMap={'x32':ProcArch['x32'],'x64':ProcArch[a18_0xd09c7c(0x1d1)],'arm':ProcArch['arm'],'arm64':ProcArch[a18_0xd09c7c(0x1fe)]};class EnvironmentMetadata{constructor(_0x17b169){const _0x1480f5=a18_0xd09c7c;assert(_0x17b169!==null),this[_0x1480f5(0x1f9)]=_0x17b169;}get[a18_0xd09c7c(0x1d9)](){const _0xea6ce8=a18_0xd09c7c;try{const _0x278a67=process['versions']['node'][_0xea6ce8(0x1e4)](/(\d+\.\d+)\..*/);if(_0x278a67)return _0x278a67[0x1];}catch(_0x3ec2d0){this[_0xea6ce8(0x1f9)][_0xea6ce8(0x1ed)](_0x3ec2d0);}return;}get[a18_0xd09c7c(0x1ce)](){const _0x232aa9=a18_0xd09c7c;return'Node.js\x20'+process[_0x232aa9(0x1c5)]+_0x232aa9(0x1d7)+(0x0,os_1[_0x232aa9(0x1d5)])()+'\x20'+(0x0,os_1[_0x232aa9(0x1ec)])();}get['pid'](){const _0x455dd5=a18_0xd09c7c;return process[_0x455dd5(0x1fc)][_0x455dd5(0x1e0)]();}get[a18_0xd09c7c(0x1ee)](){const _0x58d8a3=a18_0xd09c7c;return ArchToProcArchMap[process[_0x58d8a3(0x1e3)]]||process[_0x58d8a3(0x1e3)];}get[a18_0xd09c7c(0x1d0)](){const _0x1f20c3=a18_0xd09c7c;return(0x0,os_1[_0x1f20c3(0x1d4)])()[_0x1f20c3(0x1f5)];}get['systemTotalMemoryBytes'](){const _0xf2cc13=a18_0xd09c7c;return(0x0,os_1[_0xf2cc13(0x1e5)])();}get[a18_0xd09c7c(0x1fd)](){const _0x401a97=a18_0xd09c7c;return(0x0,os_1[_0x401a97(0x1cf)])();}get['agentOS'](){return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1['platform'])();}get[a18_0xd09c7c(0x1d2)](){const _0x1289ab=a18_0xd09c7c;try{if(this[_0x1289ab(0x1da)]===OS[_0x1289ab(0x1f3)])return this[_0x1289ab(0x1dd)]['get']('VERSION_ID')||(0x0,os_1[_0x1289ab(0x1ec)])();return(0x0,os_1[_0x1289ab(0x1ec)])();}catch(_0x16f0dd){this['_logger'][_0x1289ab(0x1ed)](_0x16f0dd);}return;}get[a18_0xd09c7c(0x1e7)](){const _0x49af68=a18_0xd09c7c;return this[_0x49af68(0x1da)]===OS[_0x49af68(0x1f3)]&&this[_0x49af68(0x1dd)][_0x49af68(0x1d6)]('ID')||'';}get['isInDocker'](){const _0x201f36=a18_0xd09c7c;return this[_0x201f36(0x1da)]===OS['Linux']?(0x0,fs_1[_0x201f36(0x1c6)])(_0x201f36(0x1e2)):![];}get[a18_0xd09c7c(0x203)](){const _0x3900ed=a18_0xd09c7c;return!!process[_0x3900ed(0x1ca)][_0x3900ed(0x1c9)];}get[a18_0xd09c7c(0x1dd)](){const _0x438926=a18_0xd09c7c;if(!this[_0x438926(0x1f0)]){this['_cachedOsRelease']=new Map();try{if(this['agentOS']===OS[_0x438926(0x1f3)]){const _0x50e84d=(0x0,fs_1[_0x438926(0x1f8)])(_0x438926(0x1cd),_0x438926(0x1c7));_0x50e84d[_0x438926(0x1df)](/\r?\n/)['forEach'](_0x48ae07=>{const _0x3e1140=_0x438926;var _0x4f4906;const [_0x246b3a,_0x11a1f4]=_0x48ae07['trim']()['split']('=');(_0x4f4906=this['_cachedOsRelease'])===null||_0x4f4906===void 0x0?void 0x0:_0x4f4906[_0x3e1140(0x1e8)](_0x246b3a,(_0x11a1f4===null||_0x11a1f4===void 0x0?void 0x0:_0x11a1f4[_0x3e1140(0x1fa)](/^"|"$/g,''))||'');});}}catch(_0x2f2190){this[_0x438926(0x1f9)][_0x438926(0x1cb)](_0x438926(0x1de),_0x2f2190);}}return this['_cachedOsRelease'];}[a18_0xd09c7c(0x1f2)](){const _0x352b06=a18_0xd09c7c;return{'runtimeEnvironmentVersion':this[_0x352b06(0x1d9)],'runtimeEnvironmentInfo':this[_0x352b06(0x1ce)],'pid':this[_0x352b06(0x1fc)],'cpuCoreCount':this[_0x352b06(0x1d0)],'systemTotalMemoryBytes':this[_0x352b06(0x1fb)],'host':this[_0x352b06(0x1fd)],'agentOS':this[_0x352b06(0x1da)],'osVersion':this[_0x352b06(0x1d2)],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this['isInDocker'],'isInK8s':this[_0x352b06(0x203)],'procArch':this['procArch']};}}exports['EnvironmentMetadata']=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a19_0x2949(_0x45c46b,_0x183f15){const _0x3866ff=a19_0x3481();return a19_0x2949=function(_0x4c55ee,_0x32bd8c){_0x4c55ee=_0x4c55ee-0xbc;let _0x348127=_0x3866ff[_0x4c55ee];return _0x348127;},a19_0x2949(_0x45c46b,_0x183f15);}const a19_0x2561e3=a19_0x2949;(function(_0x334584,_0x2999bc){const _0x232aaf=a19_0x2949,_0x44fe10=_0x334584();while(!![]){try{const _0xd26a79=parseInt(_0x232aaf(0xbc))/0x1*(parseInt(_0x232aaf(0xc7))/0x2)+-parseInt(_0x232aaf(0xc4))/0x3*(parseInt(_0x232aaf(0xda))/0x4)+parseInt(_0x232aaf(0xcc))/0x5+-parseInt(_0x232aaf(0xcb))/0x6*(parseInt(_0x232aaf(0xbe))/0x7)+-parseInt(_0x232aaf(0xc1))/0x8+parseInt(_0x232aaf(0xbf))/0x9*(-parseInt(_0x232aaf(0xd2))/0xa)+parseInt(_0x232aaf(0xd7))/0xb*(parseInt(_0x232aaf(0xd3))/0xc);if(_0xd26a79===_0x2999bc)break;else _0x44fe10['push'](_0x44fe10['shift']());}catch(_0x57440b){_0x44fe10['push'](_0x44fe10['shift']());}}}(a19_0x3481,0xefe54));const a19_0x32bd8c=(function(){let _0x1c663e=!![];return function(_0x42c7a7,_0x248c72){const _0x4c732a=_0x1c663e?function(){const _0x44fda2=a19_0x2949;if(_0x248c72){const _0x4c462c=_0x248c72[_0x44fda2(0xdc)](_0x42c7a7,arguments);return _0x248c72=null,_0x4c462c;}}:function(){};return _0x1c663e=![],_0x4c732a;};}()),a19_0x4c55ee=a19_0x32bd8c(this,function(){const _0x48d583=a19_0x2949;return a19_0x4c55ee['toString']()[_0x48d583(0xe1)]('(((.+)+)+)+$')['toString']()[_0x48d583(0xce)](a19_0x4c55ee)['search'](_0x48d583(0xc5));});a19_0x4c55ee();function a19_0x3481(){const _0x3dadcf=['get','defineProperty','5461998qmKapM','8444875qtqTnz','indexOf','constructor','__esModule','fromFileStats','length','1490QAsOLz','6356532ncRJrM','FileIndex','has','min','55MNFvMn','fromFileList','substring','56796PASNXf','push','apply','fileIndex','findShortestFuzzyMatches','generateSubPaths','sep','search','stripStartingSep','307aSAoPt','buildIndex','7IOWqvw','68391CLYjUl','filter','13761272KtAFRD','keys','map','294uCVHTU','(((.+)+)+)+$','substr','11722KWyOMv','add'];a19_0x3481=function(){return _0x3dadcf;};return a19_0x3481();}'use strict';Object[a19_0x2561e3(0xca)](exports,a19_0x2561e3(0xcf),{'value':!![]}),exports[a19_0x2561e3(0xd4)]=void 0x0;const path=require('path');class FileIndex{constructor(_0x403e5b){const _0x4b8881=a19_0x2561e3;this['_fileStats']=_0x403e5b,this[_0x4b8881(0xdd)]=new Map();}static[a19_0x2561e3(0xd0)](_0x32ee6b){const _0x179342=a19_0x2561e3,_0x1a6900=new FileIndex(_0x32ee6b);return _0x1a6900[_0x179342(0xbd)](Object[_0x179342(0xc2)](_0x32ee6b)||[]),_0x1a6900;}static[a19_0x2561e3(0xd8)](_0xea047){const _0x1eb5bf=a19_0x2561e3,_0x2f7e31=new FileIndex(undefined);return _0x2f7e31[_0x1eb5bf(0xbd)](_0xea047||[]),_0x2f7e31;}get['fileStats'](){return this['_fileStats']||{};}[a19_0x2561e3(0xde)](_0x2e68f4){const _0x3cc5b6=a19_0x2561e3,_0x2b5b88=this[_0x3cc5b6(0xe1)](_0x2e68f4);if(!_0x2b5b88||_0x2b5b88['size']===0x0)return[];const _0x570e94=[..._0x2b5b88][_0x3cc5b6(0xc3)](_0x4daf95=>_0x4daf95[_0x3cc5b6(0xd1)]),_0x20a03a=Math[_0x3cc5b6(0xd6)](..._0x570e94),_0x6bca32=[..._0x2b5b88][_0x3cc5b6(0xc0)](_0x25e8b6=>_0x25e8b6[_0x3cc5b6(0xd1)]===_0x20a03a);return _0x6bca32;}[a19_0x2561e3(0xbd)](_0x117266){const _0x3512bc=a19_0x2561e3;for(const _0x44369c of _0x117266){for(const _0x487f1e of this[_0x3512bc(0xdf)](_0x44369c)){let _0x28d956=this[_0x3512bc(0xdd)]['get'](_0x487f1e);_0x28d956===undefined&&(_0x28d956=new Set(),this[_0x3512bc(0xdd)]['set'](_0x487f1e,_0x28d956)),_0x28d956[_0x3512bc(0xc8)](_0x44369c);}}}['generateSubPaths'](_0x2b8e22){const _0x37758a=a19_0x2561e3;_0x2b8e22=this[_0x37758a(0xe2)](_0x2b8e22);const _0x112da9=[_0x2b8e22];while(_0x2b8e22[_0x37758a(0xcd)](path[_0x37758a(0xe0)])>=0x0){_0x2b8e22=_0x2b8e22[_0x37758a(0xd9)](_0x2b8e22['indexOf'](path[_0x37758a(0xe0)])+path[_0x37758a(0xe0)][_0x37758a(0xd1)],_0x2b8e22[_0x37758a(0xd1)]),_0x112da9[_0x37758a(0xdb)](_0x2b8e22);}return _0x112da9;}[a19_0x2561e3(0xe1)](_0x202379){const _0x1d5850=a19_0x2561e3;if(!_0x202379)return undefined;_0x202379=this[_0x1d5850(0xe2)](_0x202379);for(const _0x20fb7c of this[_0x1d5850(0xdf)](_0x202379)){if(this[_0x1d5850(0xdd)][_0x1d5850(0xd5)](_0x20fb7c))return this['fileIndex'][_0x1d5850(0xc9)](_0x20fb7c);}return undefined;}['stripStartingSep'](_0x24eb83){const _0x506a29=a19_0x2561e3;if(_0x24eb83&&(_0x24eb83[0x0]==='/'||_0x24eb83[0x0]==='\x5c'))return _0x24eb83[_0x506a29(0xc6)](0x1);return _0x24eb83;}}exports[a19_0x2561e3(0xd4)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x4c9cab=a20_0x6f0d;(function(_0x28cdc4,_0x5164bb){const _0x4c6d8a=a20_0x6f0d,_0x11bb44=_0x28cdc4();while(!![]){try{const _0x15d74e=parseInt(_0x4c6d8a(0x14f))/0x1+parseInt(_0x4c6d8a(0x135))/0x2*(-parseInt(_0x4c6d8a(0x14e))/0x3)+-parseInt(_0x4c6d8a(0x139))/0x4*(parseInt(_0x4c6d8a(0x138))/0x5)+-parseInt(_0x4c6d8a(0x144))/0x6+-parseInt(_0x4c6d8a(0x13a))/0x7+parseInt(_0x4c6d8a(0x143))/0x8*(-parseInt(_0x4c6d8a(0x145))/0x9)+-parseInt(_0x4c6d8a(0x14d))/0xa*(-parseInt(_0x4c6d8a(0x13d))/0xb);if(_0x15d74e===_0x5164bb)break;else _0x11bb44['push'](_0x11bb44['shift']());}catch(_0x9c2251){_0x11bb44['push'](_0x11bb44['shift']());}}}(a20_0x2b91,0xa3b46));const a20_0x4f449e=(function(){let _0x2caba9=!![];return function(_0x4b4fc0,_0x5d0fb5){const _0x11a5c5=_0x2caba9?function(){const _0x18f788=a20_0x6f0d;if(_0x5d0fb5){const _0xd8437f=_0x5d0fb5[_0x18f788(0x14c)](_0x4b4fc0,arguments);return _0x5d0fb5=null,_0xd8437f;}}:function(){};return _0x2caba9=![],_0x11a5c5;};}()),a20_0x534c72=a20_0x4f449e(this,function(){const _0x328d29=a20_0x6f0d;return a20_0x534c72[_0x328d29(0x137)]()['search']('(((.+)+)+)+$')[_0x328d29(0x137)]()[_0x328d29(0x13c)](a20_0x534c72)[_0x328d29(0x146)](_0x328d29(0x13e));});a20_0x534c72();function a20_0x6f0d(_0x31f20c,_0x3d5c10){const _0xcfb314=a20_0x2b91();return a20_0x6f0d=function(_0x534c72,_0x4f449e){_0x534c72=_0x534c72-0x135;let _0x2b91e0=_0xcfb314[_0x534c72];return _0x2b91e0;},a20_0x6f0d(_0x31f20c,_0x3d5c10);}function a20_0x2b91(){const _0x5513d9=['forEach','normalize','apply','1830PeMdWA','111ClyJBv','580017eqpakf','errors','keys','stats','test','ScanResultsImpl','58198ktjsVW','replace','toString','20eUwtji','415132bsxTIt','1155693SbVzfT','all','constructor','206833wfLkFv','(((.+)+)+)+$','sep','selectFiles','errorMap','defineProperty','34288VYQHGe','6972444QhTQbG','1116wjFIFK','search','map','__esModule','path'];a20_0x2b91=function(){return _0x5513d9;};return a20_0x2b91();}'use strict';Object[a20_0x4c9cab(0x142)](exports,a20_0x4c9cab(0x148),{'value':!![]}),exports[a20_0x4c9cab(0x154)]=void 0x0;const path=require(a20_0x4c9cab(0x149));class ScanResultsImpl{constructor(_0x31fe2f,_0x228bc2,_0x3a1a51){const _0xc056=a20_0x4c9cab;this[_0xc056(0x152)]=_0x31fe2f,this[_0xc056(0x141)]=_0x228bc2,this['hash']=_0x3a1a51;}[a20_0x4c9cab(0x150)](){const _0x1ea8bc=a20_0x4c9cab;return this[_0x1ea8bc(0x141)];}[a20_0x4c9cab(0x13b)](){const _0xdd7413=a20_0x4c9cab;return this[_0xdd7413(0x152)];}['selectStats'](_0x3ffc82){const _0x23164d=a20_0x4c9cab,_0x2d7328={};return Object[_0x23164d(0x151)](this[_0x23164d(0x152)])[_0x23164d(0x14a)](_0x18526e=>{const _0x12fdf1=_0x23164d;_0x3ffc82[_0x12fdf1(0x153)](_0x18526e)&&(_0x2d7328[_0x18526e]=this[_0x12fdf1(0x152)][_0x18526e]);}),_0x2d7328;}[a20_0x4c9cab(0x140)](_0x57a477,_0xb89423){const _0x52ad9b=a20_0x4c9cab;return _0xb89423=path['normalize'](_0xb89423+path[_0x52ad9b(0x13f)]),Object[_0x52ad9b(0x151)](this[_0x52ad9b(0x152)])['filter'](_0x4def2e=>{return _0x4def2e&&_0x57a477['test'](_0x4def2e);})[_0x52ad9b(0x147)](_0x1f9bb5=>{const _0x5e56f7=_0x52ad9b;return path[_0x5e56f7(0x14b)](_0x1f9bb5)[_0x5e56f7(0x136)](_0xb89423,'');});}}exports['ScanResultsImpl']=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a21_0x93e1b8=a21_0xff3e;(function(_0x429c69,_0x487f20){const _0x31481b=a21_0xff3e,_0x2b4497=_0x429c69();while(!![]){try{const _0xde81b2=-parseInt(_0x31481b(0x187))/0x1+-parseInt(_0x31481b(0x189))/0x2+parseInt(_0x31481b(0x190))/0x3*(-parseInt(_0x31481b(0x175))/0x4)+-parseInt(_0x31481b(0x18c))/0x5+parseInt(_0x31481b(0x1a0))/0x6+-parseInt(_0x31481b(0x193))/0x7*(parseInt(_0x31481b(0x178))/0x8)+-parseInt(_0x31481b(0x17c))/0x9*(-parseInt(_0x31481b(0x176))/0xa);if(_0xde81b2===_0x487f20)break;else _0x2b4497['push'](_0x2b4497['shift']());}catch(_0x5c1a47){_0x2b4497['push'](_0x2b4497['shift']());}}}(a21_0xa1fc,0x35c00));const a21_0x3e9e65=(function(){let _0x57a198=!![];return function(_0x6ce5e5,_0x169857){const _0x46764c=_0x57a198?function(){const _0x18dca2=a21_0xff3e;if(_0x169857){const _0x1f49d6=_0x169857[_0x18dca2(0x1a4)](_0x6ce5e5,arguments);return _0x169857=null,_0x1f49d6;}}:function(){};return _0x57a198=![],_0x46764c;};}()),a21_0x3a2c69=a21_0x3e9e65(this,function(){const _0x548bff=a21_0xff3e;return a21_0x3a2c69['toString']()[_0x548bff(0x171)]('(((.+)+)+)+$')[_0x548bff(0x196)]()['constructor'](a21_0x3a2c69)[_0x548bff(0x171)]('(((.+)+)+)+$');});a21_0x3a2c69();'use strict';Object[a21_0x93e1b8(0x172)](exports,a21_0x93e1b8(0x1a8),{'value':!![]}),exports[a21_0x93e1b8(0x17f)]=void 0x0;const crypto=require('crypto'),fs=require('fs'),path=require('path'),scan_results_1=require(a21_0x93e1b8(0x17d));class Scanner{constructor(_0x2a7f47){const _0x226b90=a21_0x93e1b8;this[_0x226b90(0x181)]=_0x2a7f47;}async[a21_0x93e1b8(0x182)](_0x3e76df,_0x2c815a,_0x181853,_0x332c9e){const _0x5540ec=a21_0x93e1b8,_0x41934c=await this[_0x5540ec(0x17b)](_0x3e76df,_0x2c815a,_0x332c9e);return this[_0x5540ec(0x195)](_0x41934c,_0x181853);}[a21_0x93e1b8(0x195)](_0xde2fd6,_0x5cb56d){return new Promise(async _0x4cd1c7=>{const _0x50a87b=a21_0xff3e;if(_0xde2fd6[_0x50a87b(0x188)]===0x0){_0x4cd1c7(new scan_results_1[(_0x50a87b(0x173))]({},new Map(),_0x50a87b(0x1a6)));return;}const _0x4f96fa=[],_0x172fdc={},_0x59a5c4=new Map();for(const _0x26bec4 of _0xde2fd6){try{const _0x3028d2=await this[_0x50a87b(0x17a)](_0x26bec4,!_0x5cb56d);!_0x5cb56d&&_0x4f96fa[_0x50a87b(0x177)](_0x3028d2['hash']),_0x172fdc[_0x26bec4]=_0x3028d2;}catch(_0x2c96c6){_0x59a5c4['set'](_0x26bec4,_0x2c96c6);}}let _0x3cc593;if(!_0x5cb56d){const _0x54dee4=_0x4f96fa[_0x50a87b(0x185)]()[_0x50a87b(0x1a5)](),_0x513e0f=crypto[_0x50a87b(0x179)](_0x50a87b(0x19a))[_0x50a87b(0x199)](_0x54dee4)[_0x50a87b(0x170)]('hex');_0x3cc593=_0x50a87b(0x18e)+_0x513e0f;}else _0x3cc593=_0x5cb56d;_0x4cd1c7(new scan_results_1[(_0x50a87b(0x173))](_0x172fdc,_0x59a5c4,_0x3cc593));});}async[a21_0x93e1b8(0x17b)](_0x30ac9a,_0x5e4648,_0x1093a0){const _0x3d74dd=a21_0x93e1b8,_0x5b3136=new Set();await this[_0x3d74dd(0x183)](_0x5b3136,_0x30ac9a,_0x5e4648);for(const _0x1b3b22 of _0x1093a0!==null&&_0x1093a0!==void 0x0?_0x1093a0:[]){if(_0x1b3b22){const _0x23a77e=path['resolve'](_0x1b3b22);try{await this[_0x3d74dd(0x183)](_0x5b3136,_0x23a77e,_0x5e4648);}catch(_0x29f242){this[_0x3d74dd(0x181)]['error'](_0x3d74dd(0x18b),_0x29f242);continue;}}}return Array[_0x3d74dd(0x1a7)](_0x5b3136);}static[a21_0x93e1b8(0x197)](_0x3e126e){const _0x5471af=a21_0x93e1b8;try{return fs[_0x5471af(0x19e)](_0x3e126e,fs[_0x5471af(0x19c)][_0x5471af(0x180)]),!![];}catch(_0x4bce83){return![];}}async['addFilesFromDir'](_0x441343,_0x31d9e7,_0x3dcaab){return new Promise((_0x11b28e,_0x47e84a)=>{const _0x1047c0=a21_0xff3e;let _0x56d76d;if(!_0x31d9e7){_0x47e84a(new Error('addFilesFromDir\x20requires\x20a\x20searchDir\x20argument'));return;}this[_0x1047c0(0x181)]['info'](_0x1047c0(0x17e)+path[_0x1047c0(0x19b)](_0x31d9e7));const _0x567ffd=findit(_0x31d9e7);_0x567ffd['on'](_0x1047c0(0x19d),_0x15844d=>{_0x56d76d=_0x15844d;return;}),_0x567ffd['on'](_0x1047c0(0x191),(_0x49b381,_0x261e94,_0x4710bf)=>{const _0x14395a=_0x1047c0,_0x1d98b6=path[_0x14395a(0x186)](_0x49b381);!Scanner[_0x14395a(0x197)](_0x49b381)&&(this[_0x14395a(0x181)]['warn']('can\x27t\x20access\x20path:\x20['+path[_0x14395a(0x19b)](_0x49b381)+'],\x20due\x20to\x20lack\x20of\x20read\x20permissions'),_0x4710bf()),(_0x1d98b6===_0x14395a(0x1a2)||_0x1d98b6==='node_modules')&&(!path['resolve'](_0x31d9e7)[_0x14395a(0x18f)](path[_0x14395a(0x19b)](_0x49b381))&&_0x4710bf());}),_0x567ffd['on'](_0x1047c0(0x1a1),_0x6d50ab=>{const _0x553f82=_0x1047c0;_0x3dcaab[_0x553f82(0x18a)](_0x6d50ab)&&_0x441343[_0x553f82(0x18d)](_0x6d50ab);}),_0x567ffd['on']('end',()=>{_0x56d76d?_0x47e84a(_0x56d76d):_0x11b28e();});});}async['statsForFile'](_0x23f72e,_0x455254){return new Promise((_0x376266,_0x567d13)=>{const _0x180a19=a21_0xff3e,_0x5045fa=fs[_0x180a19(0x184)](_0x23f72e);_0x5045fa['on']('error',_0x25d665=>{_0x567d13(_0x25d665);}),_0x5045fa['on'](_0x180a19(0x194),()=>{const _0x38f7ad=_0x180a19;let _0x170f1e;_0x455254&&(_0x170f1e=crypto[_0x38f7ad(0x179)]('sha1'));let _0x18af30=0x0,_0x483710;const _0x2ed848=_0x5045fa[_0x38f7ad(0x1a3)](split());_0x2ed848['on']('error',_0x834389=>{_0x483710=_0x834389;}),_0x2ed848['on'](_0x38f7ad(0x174),_0x14e1d0=>{const _0x188af1=_0x38f7ad;_0x455254&&_0x170f1e[_0x188af1(0x199)](_0x14e1d0),_0x18af30++;}),_0x2ed848['on'](_0x38f7ad(0x192),()=>{const _0x3f81ef=_0x38f7ad;if(_0x483710)_0x567d13(_0x483710);else{const _0x257afa=_0x455254?_0x170f1e[_0x3f81ef(0x170)](_0x3f81ef(0x19f)):undefined;_0x376266({'hash':_0x257afa,'lines':_0x18af30});}});});});}}function a21_0xff3e(_0x38a48d,_0x1abcc8){const _0x23271e=a21_0xa1fc();return a21_0xff3e=function(_0x3a2c69,_0x3e9e65){_0x3a2c69=_0x3a2c69-0x170;let _0xa1fcd0=_0x23271e[_0x3a2c69];return _0xa1fcd0;},a21_0xff3e(_0x38a48d,_0x1abcc8);}exports[a21_0x93e1b8(0x17f)]=Scanner;const findit=require('findit2'),split=require(a21_0x93e1b8(0x198));function a21_0xa1fc(){const _0x43559e=['end','7UIirGr','open','computeStats','toString','hasReadAccess','split','update','sha1','resolve','constants','error','accessSync','hex','2547246IHCOoI','file','.git','pipe','apply','join','EMPTY-no-js-files','from','__esModule','digest','search','defineProperty','ScanResultsImpl','data','630688xicUCm','1250vipYNv','push','1196280LpzrXW','createHash','statsForFile','findFiles','44397UMnBqw','./scan-results','Indexing\x20files\x20in\x20','Scanner','R_OK','logger','scan','addFilesFromDir','createReadStream','sort','basename','103333aQmbkf','length','377276tlySZm','test','Specified\x20extraPaths\x20does\x20not\x20exist!','320780YHtzOy','add','SHA1-','startsWith','6pigVHP','directory'];a21_0xa1fc=function(){return _0x43559e;};return a21_0xa1fc();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a22_0x13e6e1=a22_0x7396;(function(_0x3e7ea7,_0xbdeb33){const _0x4fe08c=a22_0x7396,_0x3acbbd=_0x3e7ea7();while(!![]){try{const _0x3f12cc=parseInt(_0x4fe08c(0x148))/0x1+-parseInt(_0x4fe08c(0x166))/0x2*(-parseInt(_0x4fe08c(0x156))/0x3)+-parseInt(_0x4fe08c(0x163))/0x4+parseInt(_0x4fe08c(0x147))/0x5*(parseInt(_0x4fe08c(0x14b))/0x6)+-parseInt(_0x4fe08c(0x177))/0x7+parseInt(_0x4fe08c(0x14a))/0x8+parseInt(_0x4fe08c(0x176))/0x9;if(_0x3f12cc===_0xbdeb33)break;else _0x3acbbd['push'](_0x3acbbd['shift']());}catch(_0x261e3f){_0x3acbbd['push'](_0x3acbbd['shift']());}}}(a22_0x1c63,0xb092f));const a22_0x5e2d78=(function(){let _0x193fd8=!![];return function(_0x493ed6,_0x2df6c5){const _0x349263=_0x193fd8?function(){const _0x1b5f16=a22_0x7396;if(_0x2df6c5){const _0xf5dfb8=_0x2df6c5[_0x1b5f16(0x170)](_0x493ed6,arguments);return _0x2df6c5=null,_0xf5dfb8;}}:function(){};return _0x193fd8=![],_0x349263;};}()),a22_0x5d6706=a22_0x5e2d78(this,function(){const _0x2edaaa=a22_0x7396;return a22_0x5d6706[_0x2edaaa(0x161)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a22_0x5d6706)[_0x2edaaa(0x179)]('(((.+)+)+)+$');});a22_0x5d6706();'use strict';Object[a22_0x13e6e1(0x155)](exports,a22_0x13e6e1(0x164),{'value':!![]}),exports['create']=exports[a22_0x13e6e1(0x173)]=void 0x0;function a22_0x1c63(){const _0xac6b66=['allGeneratedPositionsFor','11383947vqimse','8117802RwwbhU','get','search','reduce','map','utf8','outputFile','sources','source-map','./file-index','The\x20path\x20','path','length','from','hasMappingInfo','has','5IfonLu','258476vRfVkw','relative','3398536yjLdXv','586614xHUgym','.map','replace','join','promisify','create','endsWith','FileIndex','dirname','webpack://','defineProperty','532095XjIxho','mapFile','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','sort','file','getMappingInfo','util','line','fromFileList','basename','sourcemap\x20file\x20','toString','readFile','2780428ZkMrnh','__esModule','toLowerCase','6ZyuKCX','normalize','keys','infoMap','An\x20error\x20occurred\x20while\x20reading\x20the\x20','findInSources','mapConsumer','column','findShortestFuzzyMatches','An\x20error\x20occurred\x20while\x20processing\x20the\x20sourcemap\x20files','apply','startsWith','all','SourceMapper','substring'];a22_0x1c63=function(){return _0xac6b66;};return a22_0x1c63();}const fs=require('fs'),pLimit=require('p-limit'),path=require(a22_0x13e6e1(0x142)),util_1=require(a22_0x13e6e1(0x15c)),sourceMap=require(a22_0x13e6e1(0x17f)),file_index_1=require(a22_0x13e6e1(0x180)),CONCURRENCY=0xa,WEBPACK_PREFIX=a22_0x13e6e1(0x154),readFilep=(0x0,util_1[a22_0x13e6e1(0x14f)])(fs[a22_0x13e6e1(0x162)]),MAP_EXT=a22_0x13e6e1(0x14c);function a22_0x7396(_0x205230,_0xeab0f0){const _0x449241=a22_0x1c63();return a22_0x7396=function(_0x5d6706,_0x5e2d78){_0x5d6706=_0x5d6706-0x142;let _0x1c635c=_0x449241[_0x5d6706];return _0x1c635c;},a22_0x7396(_0x205230,_0xeab0f0);}async function processSourcemap(_0x94bed7,_0x52f4ab){const _0x3be689=a22_0x13e6e1;if(!_0x52f4ab||!_0x52f4ab[_0x3be689(0x151)](MAP_EXT))throw new Error(_0x3be689(0x181)+_0x52f4ab+_0x3be689(0x158));_0x52f4ab=path[_0x3be689(0x167)](_0x52f4ab);let _0x46f19d;try{_0x46f19d=await readFilep(_0x52f4ab,_0x3be689(0x17c));}catch(_0x1a6401){throw new Error('Could\x20not\x20read\x20sourcemap\x20file\x20'+_0x52f4ab+':\x20'+_0x1a6401);}let _0x2877eb;try{_0x2877eb=new sourceMap['SourceMapConsumer'](_0x46f19d);}catch(_0x390a1f){throw new Error(_0x3be689(0x16a)+_0x3be689(0x160)+_0x52f4ab+':\x20'+_0x390a1f);}const _0x32e62c=_0x2877eb[_0x3be689(0x15a)]?_0x2877eb[_0x3be689(0x15a)]:path[_0x3be689(0x15f)](_0x52f4ab,'.map'),_0x24b03a=path['dirname'](_0x52f4ab),_0x10c1d7=path[_0x3be689(0x167)](path['join'](_0x24b03a,_0x32e62c)),_0x22c3e3=_0x2877eb[_0x3be689(0x17e)]['filter'](_0x31d136=>!!_0x31d136)[_0x3be689(0x159)]((_0x1c42ef,_0x11b594)=>_0x1c42ef['length']-_0x11b594[_0x3be689(0x143)]),_0x553d6e=_0x22c3e3[_0x3be689(0x17b)](_0x1eeb2c=>{const _0x172141=_0x3be689;if(_0x1eeb2c[_0x172141(0x165)]()[_0x172141(0x171)](WEBPACK_PREFIX))return _0x1eeb2c[_0x172141(0x174)](WEBPACK_PREFIX[_0x172141(0x143)]);return _0x1eeb2c;})[_0x3be689(0x17b)](_0x42beae=>{const _0x457a16=_0x3be689;return path[_0x457a16(0x167)](path[_0x457a16(0x14e)](_0x24b03a,_0x42beae));});if(_0x553d6e['length']===0x0)throw new Error('No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20'+_0x52f4ab);for(const _0x277545 of _0x553d6e){_0x94bed7['set'](path[_0x3be689(0x167)](_0x277545),{'outputFile':_0x10c1d7,'mapFile':_0x52f4ab,'mapConsumer':_0x2877eb,'sources':_0x22c3e3});}}class SourceMapper{constructor(){this['infoMap']=new Map();}[a22_0x13e6e1(0x15b)](_0x1a9afd){const _0x518206=a22_0x13e6e1;if(this[_0x518206(0x169)][_0x518206(0x146)](path[_0x518206(0x167)](_0x1a9afd)))return{'entry':this[_0x518206(0x169)][_0x518206(0x178)](_0x1a9afd),'matchedPath':path[_0x518206(0x167)](_0x1a9afd)};const _0x3c84d4=file_index_1[_0x518206(0x152)][_0x518206(0x15e)](Array[_0x518206(0x144)](this[_0x518206(0x169)][_0x518206(0x168)]()))[_0x518206(0x16e)](_0x1a9afd);if(_0x3c84d4[_0x518206(0x143)]===0x1)return{'entry':this[_0x518206(0x169)]['get'](_0x3c84d4[0x0]),'matchedPath':_0x3c84d4[0x0]};return null;}[a22_0x13e6e1(0x145)](_0x4ea950){const _0xd188eb=a22_0x13e6e1;return this[_0xd188eb(0x15b)](_0x4ea950)!==null;}['mappingInfo'](_0x357167,_0x593fed,_0x234522){const _0x51211c=a22_0x13e6e1;_0x357167=path[_0x51211c(0x167)](_0x357167);const _0xccb1c=this[_0x51211c(0x15b)](_0x357167);if(!_0xccb1c)return null;const {entry:_0xda6adf,matchedPath:_0x198fb6}=_0xccb1c,_0x3d478b=path[_0x51211c(0x149)](path[_0x51211c(0x153)](_0xda6adf[_0x51211c(0x157)]),_0x198fb6)[_0x51211c(0x14d)](/\\/g,'/');let _0x1ea709=this[_0x51211c(0x16b)](_0xda6adf,_0x3d478b);_0x1ea709=_0x1ea709||this[_0x51211c(0x16b)](_0xda6adf,_0x357167);const _0x28bc4d={'source':_0x1ea709||_0x3d478b,'line':_0x593fed+0x1,'column':_0x234522},_0x3a8318=_0xda6adf[_0x51211c(0x16c)],_0x569049=_0x3a8318[_0x51211c(0x175)](_0x28bc4d),_0x5297b2=_0x569049&&_0x569049['length']>0x0?_0x569049[_0x51211c(0x17a)]((_0x380375,_0x145172)=>{const _0x20c135=_0x51211c;return _0x145172['line']<_0x380375[_0x20c135(0x15d)]?_0x145172:_0x380375;}):_0x3a8318['generatedPositionFor'](_0x28bc4d);return{'file':_0xda6adf[_0x51211c(0x17d)],'line':_0x5297b2['line'],'column':_0x5297b2[_0x51211c(0x16d)]};}['findInSources'](_0x250f3a,_0x417846){const _0x27d250=a22_0x13e6e1;for(const _0x431597 of _0x250f3a[_0x27d250(0x17e)]){if(_0x431597[_0x27d250(0x151)](_0x417846))return _0x431597;}return undefined;}}exports['SourceMapper']=SourceMapper;async function create(_0x3d2e01){const _0x374898=a22_0x13e6e1,_0x37c3ff=pLimit(CONCURRENCY),_0x5dcc54=new SourceMapper(),_0x141055=_0x3d2e01[_0x374898(0x17b)](_0x22267d=>_0x37c3ff(()=>processSourcemap(_0x5dcc54[_0x374898(0x169)],_0x22267d)));try{await Promise[_0x374898(0x172)](_0x141055);}catch(_0x4449a8){throw new Error(_0x374898(0x16f)+_0x4449a8);}return _0x5dcc54;}exports[a22_0x13e6e1(0x150)]=create;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a23_0x424ba6=a23_0xca80;(function(_0x494cdc,_0x4e1ee5){const _0x3b3ddf=a23_0xca80,_0x128c22=_0x494cdc();while(!![]){try{const _0x41c55f=-parseInt(_0x3b3ddf(0x14c))/0x1+-parseInt(_0x3b3ddf(0x160))/0x2*(-parseInt(_0x3b3ddf(0x14d))/0x3)+parseInt(_0x3b3ddf(0x169))/0x4*(-parseInt(_0x3b3ddf(0x167))/0x5)+parseInt(_0x3b3ddf(0x152))/0x6*(-parseInt(_0x3b3ddf(0x15b))/0x7)+-parseInt(_0x3b3ddf(0x159))/0x8+parseInt(_0x3b3ddf(0x157))/0x9*(-parseInt(_0x3b3ddf(0x155))/0xa)+-parseInt(_0x3b3ddf(0x154))/0xb*(-parseInt(_0x3b3ddf(0x14f))/0xc);if(_0x41c55f===_0x4e1ee5)break;else _0x128c22['push'](_0x128c22['shift']());}catch(_0x32659e){_0x128c22['push'](_0x128c22['shift']());}}}(a23_0x19c0,0x8506e));const a23_0xbb6f72=(function(){let _0x371f72=!![];return function(_0xf1fcbd,_0x57d605){const _0x1e359d=_0x371f72?function(){const _0x2769b1=a23_0xca80;if(_0x57d605){const _0x5c1bda=_0x57d605[_0x2769b1(0x14e)](_0xf1fcbd,arguments);return _0x57d605=null,_0x5c1bda;}}:function(){};return _0x371f72=![],_0x1e359d;};}()),a23_0x59d767=a23_0xbb6f72(this,function(){const _0x27d562=a23_0xca80;return a23_0x59d767['toString']()['search'](_0x27d562(0x151))[_0x27d562(0x162)]()[_0x27d562(0x161)](a23_0x59d767)[_0x27d562(0x15d)]('(((.+)+)+)+$');});function a23_0xca80(_0x367788,_0x2a208f){const _0x2b8b56=a23_0x19c0();return a23_0xca80=function(_0x59d767,_0xbb6f72){_0x59d767=_0x59d767-0x14c;let _0x19c0fe=_0x2b8b56[_0x59d767];return _0x19c0fe;},a23_0xca80(_0x367788,_0x2a208f);}a23_0x59d767();'use strict';Object[a23_0x424ba6(0x163)](exports,a23_0x424ba6(0x15e),{'value':!![]}),exports['LeakyBucket']=void 0x0;function a23_0x19c0(){const _0x15b58b=['fractionalTokens','LeakyBucket','192362WssTBv','81381dEmthv','apply','16252572UgbPOy','refillBucket','(((.+)+)+)+$','48162zHjqIk','takeTokens','11QpmAdK','110GpVKXT','min','361656SVGvRK','floor','519392nwrSkg','tokens','364yNosPy','fillTime','search','__esModule','fillRate','24aqFJzr','constructor','toString','defineProperty','hrtime','requestTokensSlow','capacity','91565JkqFfu','nowInNanoSeconds','4QQbGsp'];a23_0x19c0=function(){return _0x15b58b;};return a23_0x19c0();}const NANOSECONDS_CONVERSION=0x3b9aca00;class LeakyBucket{constructor(_0x735dfc,_0x705202){const _0x50784f=a23_0x424ba6;this['tokens']=_0x735dfc,this[_0x50784f(0x166)]=_0x735dfc,this['fractionalTokens']=0x0,this[_0x50784f(0x15f)]=_0x705202,this[_0x50784f(0x15c)]=this['nowInNanoSeconds']();}[a23_0x424ba6(0x168)](){const _0x400496=a23_0x424ba6,_0x2efe50=process[_0x400496(0x164)]();return _0x2efe50[0x0]*NANOSECONDS_CONVERSION+_0x2efe50[0x1];}[a23_0x424ba6(0x150)](_0x317918){const _0x10dd78=a23_0x424ba6,_0x31f561=this[_0x10dd78(0x168)]()-this[_0x10dd78(0x15c)];this[_0x10dd78(0x16a)]+=Math[_0x10dd78(0x156)](_0x31f561*(this[_0x10dd78(0x15f)]/NANOSECONDS_CONVERSION),this['capacity']);const _0x370434=Math['floor'](this[_0x10dd78(0x16a)]),_0x30fc16=Math[_0x10dd78(0x158)](this[_0x10dd78(0x166)]-_0x317918);let _0x42803b=0x0;return _0x30fc16<_0x370434?(this[_0x10dd78(0x16a)]=0x0,_0x42803b=_0x30fc16):(_0x42803b=_0x370434,this[_0x10dd78(0x16a)]-=_0x42803b),this['tokens']+=_0x42803b,this[_0x10dd78(0x15c)]=this[_0x10dd78(0x168)](),_0x42803b;}[a23_0x424ba6(0x165)](_0x28fd52){const _0x384486=a23_0x424ba6;if(this[_0x384486(0x15a)]>0x0)return!![];const _0x24303d=this[_0x384486(0x150)](this['tokens']+_0x28fd52);if(_0x24303d>0x0)return!![];return this[_0x384486(0x15a)]+=_0x28fd52,![];}[a23_0x424ba6(0x153)](_0x302232){const _0x285dff=a23_0x424ba6;this[_0x285dff(0x15a)]-=_0x302232,this[_0x285dff(0x15a)]<0x0&&this[_0x285dff(0x150)](this[_0x285dff(0x15a)]);}['requestTokens'](_0x540898){const _0xbfdcdb=a23_0x424ba6;if(_0x540898>this['capacity'])return![];this['tokens']-=_0x540898;if(this[_0xbfdcdb(0x15a)]>=0x0)return!![];return this[_0xbfdcdb(0x165)](_0x540898);}}exports[a23_0x424ba6(0x16b)]=LeakyBucket;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a24_0x2971e6=a24_0x61d0;(function(_0x5281f3,_0x513943){var _0x27a554=a24_0x61d0,_0x358913=_0x5281f3();while(!![]){try{var _0x4c6ba5=-parseInt(_0x27a554(0xf5))/0x1+parseInt(_0x27a554(0xfa))/0x2+-parseInt(_0x27a554(0xf7))/0x3+parseInt(_0x27a554(0xfb))/0x4+-parseInt(_0x27a554(0xf0))/0x5+parseInt(_0x27a554(0xea))/0x6+parseInt(_0x27a554(0xf4))/0x7;if(_0x4c6ba5===_0x513943)break;else _0x358913['push'](_0x358913['shift']());}catch(_0x4b85dc){_0x358913['push'](_0x358913['shift']());}}}(a24_0x5394,0x64506));var a24_0x3c4e02=(function(){var _0x4f84ae=!![];return function(_0x5ec2d8,_0x25a942){var _0x270448=_0x4f84ae?function(){var _0x38a68f=a24_0x61d0;if(_0x25a942){var _0x38cdfd=_0x25a942[_0x38a68f(0xeb)](_0x5ec2d8,arguments);return _0x25a942=null,_0x38cdfd;}}:function(){};return _0x4f84ae=![],_0x270448;};}()),a24_0x538827=a24_0x3c4e02(this,function(){var _0x2ef2f8=a24_0x61d0;return a24_0x538827[_0x2ef2f8(0xec)]()[_0x2ef2f8(0xef)](_0x2ef2f8(0xf9))['toString']()[_0x2ef2f8(0xf3)](a24_0x538827)['search'](_0x2ef2f8(0xf9));});function a24_0x61d0(_0x5cf786,_0x12e1d9){var _0x17635c=a24_0x5394();return a24_0x61d0=function(_0x538827,_0x3c4e02){_0x538827=_0x538827-0xea;var _0x53944a=_0x17635c[_0x538827];return _0x53944a;},a24_0x61d0(_0x5cf786,_0x12e1d9);}function a24_0x5394(){var _0x498dd3=['watchResultsJsonArray','constructor','7677726rmZdhy','372140XXQUCX','LogData','786540gKWZkC','__esModule','(((.+)+)+)+$','191060hUMEHj','926704DYbGML','defineProperty','2160360ifUjrL','apply','toString','level','actionId','search','3694390CXkxRP','data'];a24_0x5394=function(){return _0x498dd3;};return a24_0x5394();}a24_0x538827();'use strict';Object[a24_0x2971e6(0xfc)](exports,a24_0x2971e6(0xf8),{'value':!![]}),exports[a24_0x2971e6(0xf6)]=void 0x0;class LogData{constructor(_0x48bd2c,_0x3b3d4e,_0x111ee2,_0x53804f,_0x3b23df,_0x53c31d){var _0x4d4999=a24_0x2971e6;this[_0x4d4999(0xf1)]=_0x48bd2c,this['timestamp']=_0x3b3d4e,this[_0x4d4999(0xed)]=_0x111ee2,this[_0x4d4999(0xee)]=_0x53804f,this['order']=_0x3b23df,this[_0x4d4999(0xf2)]=_0x53c31d;}}exports[a24_0x2971e6(0xf6)]=LogData;
|