lightrun 1.43.0 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.d.ts +5 -0
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x5366ea=a17_0x7e5e;(function(_0x115b50,_0x20e9dd){const _0x27f087=a17_0x7e5e,_0x58871a=_0x115b50();while(!![]){try{const _0xd7a51d=-parseInt(_0x27f087(0x23d))/0x1+-parseInt(_0x27f087(0x247))/0x2+-parseInt(_0x27f087(0x17d))/0x3*(parseInt(_0x27f087(0x154))/0x4)+parseInt(_0x27f087(0x1e9))/0x5+-parseInt(_0x27f087(0x222))/0x6*(-parseInt(_0x27f087(0x179))/0x7)+-parseInt(_0x27f087(0x1be))/0x8*(parseInt(_0x27f087(0x190))/0x9)+parseInt(_0x27f087(0x1a3))/0xa;if(_0xd7a51d===_0x20e9dd)break;else _0x58871a['push'](_0x58871a['shift']());}catch(_0x120695){_0x58871a['push'](_0x58871a['shift']());}}}(a17_0x5b94,0x521ef));const a17_0x184e04=(function(){let _0x471c30=!![];return function(_0x12881d,_0x2c4ed2){const _0x5a2d7b=_0x471c30?function(){if(_0x2c4ed2){const _0x356d61=_0x2c4ed2['apply'](_0x12881d,arguments);return _0x2c4ed2=null,_0x356d61;}}:function(){};return _0x471c30=![],_0x5a2d7b;};}()),a17_0x5286ce=a17_0x184e04(this,function(){const _0x14cde9=a17_0x7e5e;return a17_0x5286ce['toString']()[_0x14cde9(0x22d)]('(((.+)+)+)+$')[_0x14cde9(0x1ee)]()['constructor'](a17_0x5286ce)[_0x14cde9(0x22d)]('(((.+)+)+)+$');});a17_0x5286ce();'use strict';var __classPrivateFieldSet=this&&this[a17_0x5366ea(0x24a)]||function(_0x41c087,_0x562bba,_0x138241,_0x27f359,_0x1c3c5e){const _0x498ea9=a17_0x5366ea;if(_0x27f359==='m')throw new TypeError(_0x498ea9(0x1c7));if(_0x27f359==='a'&&!_0x1c3c5e)throw new TypeError(_0x498ea9(0x189));if(typeof _0x562bba===_0x498ea9(0x186)?_0x41c087!==_0x562bba||!_0x1c3c5e:!_0x562bba[_0x498ea9(0x22c)](_0x41c087))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x27f359==='a'?_0x1c3c5e[_0x498ea9(0x215)](_0x41c087,_0x138241):_0x1c3c5e?_0x1c3c5e['value']=_0x138241:_0x562bba[_0x498ea9(0x1bb)](_0x41c087,_0x138241),_0x138241;},__classPrivateFieldGet=this&&this[a17_0x5366ea(0x1c3)]||function(_0x2061f0,_0x377026,_0x17d4e3,_0x3e2bf7){const _0x46de49=a17_0x5366ea;if(_0x17d4e3==='a'&&!_0x3e2bf7)throw new TypeError(_0x46de49(0x1e4));if(typeof _0x377026===_0x46de49(0x186)?_0x2061f0!==_0x377026||!_0x3e2bf7:!_0x377026[_0x46de49(0x22c)](_0x2061f0))throw new TypeError(_0x46de49(0x172));return _0x17d4e3==='m'?_0x3e2bf7:_0x17d4e3==='a'?_0x3e2bf7[_0x46de49(0x215)](_0x2061f0):_0x3e2bf7?_0x3e2bf7[_0x46de49(0x165)]:_0x377026[_0x46de49(0x1ea)](_0x2061f0);},_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_0x5366ea(0x1ce)](exports,a17_0x5366ea(0x1e7),{'value':!![]}),exports['Debuglet']=exports[a17_0x5366ea(0x24f)]=void 0x0;const assert=require(a17_0x5366ea(0x1fa)),events_1=require(a17_0x5366ea(0x203)),extend=require(a17_0x5366ea(0x18e)),fs=require('fs'),metadata=require(a17_0x5366ea(0x150)),path=require('path'),util=require(a17_0x5366ea(0x232)),status_message_1=require(a17_0x5366ea(0x212)),stackdriver_1=require(a17_0x5366ea(0x242)),agent_logger_1=require(a17_0x5366ea(0x210)),config_1=require(a17_0x5366ea(0x158)),controller_1=require('./controller'),SourceMapper=require(a17_0x5366ea(0x1de)),debugapi=require(a17_0x5366ea(0x15f)),piping_manager_1=require(a17_0x5366ea(0x1ad)),quota_manager_1=require(a17_0x5366ea(0x216)),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),scanner_1=require(a17_0x5366ea(0x1d5)),environment_metadata_1=require(a17_0x5366ea(0x15b)),file_index_1=require(a17_0x5366ea(0x1c4)),utils_1=require(a17_0x5366ea(0x218)),redaction_manager_1=require(a17_0x5366ea(0x1bc)),configuration_provider_1=require('./configuration-provider'),normalizeConfig_1=require(a17_0x5366ea(0x1d2)),mapSubtract_1=require(a17_0x5366ea(0x153)),format_1=require('./debuglet-helpers/format'),createDebuggee_1=require(a17_0x5366ea(0x1c2)),readFilep=util[a17_0x5366ea(0x1d0)](fs[a17_0x5366ea(0x18d)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x26f4cb,_0x419330)=>{const _0x71d1b1=a17_0x5366ea;let _0x4b0446=_0x26f4cb+util[_0x71d1b1(0x201)](_0x71d1b1(0x20f),_0x419330['id'],_0x419330[_0x71d1b1(0x161)],util[_0x71d1b1(0x255)](_0x419330['location']));if(_0x419330[_0x71d1b1(0x16b)]){const _0xd74e35=Number(_0x419330['createTime'][_0x71d1b1(0x1b2)]),_0x4ea060=new Date(_0xd74e35*0x3e8);_0x4b0446+=_0x71d1b1(0x1f1)+_0x4ea060[_0x71d1b1(0x1ee)]();}return _0x419330['condition']&&(_0x4b0446+=_0x71d1b1(0x205)+util[_0x71d1b1(0x255)](_0x419330[_0x71d1b1(0x15c)])),_0x419330[_0x71d1b1(0x178)]&&(_0x4b0446+=_0x71d1b1(0x256)+util[_0x71d1b1(0x255)](_0x419330[_0x71d1b1(0x178)])),_0x4b0446;},formatBreakpoints=(_0x3ff051,_0x22f06b)=>{const _0x4a391b=a17_0x5366ea;return _0x3ff051+Object[_0x4a391b(0x235)](_0x22f06b)['map'](_0x50e5d4=>{return formatBreakpoint('',_0x22f06b[_0x50e5d4]);})[_0x4a391b(0x174)]('\x0a');};class CachedPromise{constructor(){const _0x440b8a=a17_0x5366ea;this['promiseResolve']=null,this[_0x440b8a(0x211)]=new Promise(_0x36c350=>{const _0x380009=_0x440b8a;this[_0x380009(0x1cc)]=_0x36c350;});}[a17_0x5366ea(0x1ea)](){const _0x51513c=a17_0x5366ea;return this[_0x51513c(0x211)];}[a17_0x5366ea(0x156)](){const _0x9cea90=a17_0x5366ea;this[_0x9cea90(0x1cc)]&&(this[_0x9cea90(0x1cc)](),this[_0x9cea90(0x1cc)]=null);}}function a17_0x7e5e(_0x4ca372,_0x160b70){const _0x49bf85=a17_0x5b94();return a17_0x7e5e=function(_0x5286ce,_0x184e04){_0x5286ce=_0x5286ce-0x14d;let _0x5b9436=_0x49bf85[_0x5286ce];return _0x5b9436;},a17_0x7e5e(_0x4ca372,_0x160b70);}exports['CachedPromise']=CachedPromise;class IsReadyImpl{constructor(_0x3acc83){const _0x2c1ff2=a17_0x5366ea;this[_0x2c1ff2(0x1d1)]=_0x3acc83;}[a17_0x5366ea(0x1bd)](){const _0x31f2a8=a17_0x5366ea;return this[_0x31f2a8(0x1d1)][_0x31f2a8(0x1bd)]();}}class Debuglet extends events_1[a17_0x5366ea(0x20c)]{constructor(_0x260371,_0x3082d3){const _0x2a367a=a17_0x5366ea;super(),_Debuglet_instances[_0x2a367a(0x19c)](this),_Debuglet_debug[_0x2a367a(0x1bb)](this,void 0x0),_Debuglet_v8debug[_0x2a367a(0x1bb)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x2a367a(0x1bb)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x2a367a(0x1bb)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x2a367a(0x1bb)](this,null),this[_0x2a367a(0x169)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x2a367a(0x1bb)](this,void 0x0),_Debuglet_scanner[_0x2a367a(0x1bb)](this,void 0x0),_Debuglet_quotaManager[_0x2a367a(0x1bb)](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x2a367a(0x1bb)](this,void 0x0),_Debuglet_configProvider[_0x2a367a(0x1bb)](this,void 0x0),this[_0x2a367a(0x230)]=(0x0,normalizeConfig_1[_0x2a367a(0x160)])(_0x3082d3),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this[_0x2a367a(0x230)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x260371,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x2a367a(0x181)]=![],this[_0x2a367a(0x234)]=agent_logger_1['default'][_0x2a367a(0x1af)](this[_0x2a367a(0x230)]['agentLog']['agentLogTargetDir'],this[_0x2a367a(0x230)][_0x2a367a(0x19e)][_0x2a367a(0x1b7)],this[_0x2a367a(0x230)][_0x2a367a(0x19e)][_0x2a367a(0x17c)],this[_0x2a367a(0x230)]['agentLog'][_0x2a367a(0x1ec)],this[_0x2a367a(0x230)][_0x2a367a(0x19e)]['stdErrThreshold']),(0x0,config_1['logMainConfigParams'])(this[_0x2a367a(0x230)],this[_0x2a367a(0x234)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x2a367a(0x1a4))](this[_0x2a367a(0x234)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x2a367a(0x1cb))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x2a367a(0x230)],this[_0x2a367a(0x234)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x2a367a(0x19b))](this[_0x2a367a(0x234)]),'f'),this[_0x2a367a(0x1a6)]=null,this[_0x2a367a(0x1bf)]={},__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[(_0x2a367a(0x1ba))](this[_0x2a367a(0x234)],this['config']),'f'),this['pipingManager']=new piping_manager_1[(_0x2a367a(0x1b1))](_0x2a367a(0x223),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a17_0x5366ea(0x22f)](_0x34214b,_0x198c1f){const _0x1128fc=a17_0x5366ea,_0x4156ed=_0x34214b[_0x1128fc(0x1b9)],_0x36e129=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x1128fc(0x1a1)](_0x4156ed,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x1128fc(0x215)](Debuglet,_0x34214b['javascriptFileExtensions'][_0x1128fc(0x162)](_0x1128fc(0x1c6))),_0x198c1f,_0x34214b['extraPaths']),_0x32efc4=_0x36e129[_0x1128fc(0x188)](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x1128fc(0x215)](Debuglet,_0x34214b[_0x1128fc(0x229)])),_0x2d98ba=file_index_1[_0x1128fc(0x157)][_0x1128fc(0x1b3)](_0x32efc4),_0x535eff=_0x36e129['selectFiles'](/.js.map$/,process[_0x1128fc(0x1ae)]()),_0x51e5d3=_0x36e129['errors']();return{'mapFiles':_0x535eff,'errors':_0x51e5d3,'jsFileIndex':_0x2d98ba,'hash':_0x36e129[_0x1128fc(0x21d)]};}async['start'](){const _0x52f001=a17_0x5366ea;var _0x555152;const _0x24cd4a=this,_0x49ea7f=_0x24cd4a[_0x52f001(0x230)][_0x52f001(0x1b9)];if(!_0x24cd4a[_0x52f001(0x230)][_0x52f001(0x1aa)]&&path[_0x52f001(0x174)](_0x49ea7f,'..')===_0x49ea7f){const _0x5883cd=_0x52f001(0x1ef)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x52f001(0x1a2)+_0x52f001(0x14e);_0x24cd4a[_0x52f001(0x234)][_0x52f001(0x249)](_0x5883cd),_0x24cd4a['emit'](_0x52f001(0x1fe),new Error(_0x5883cd));return;}let _0x155799;process[_0x52f001(0x236)][_0x52f001(0x1a8)]&&(_0x155799=_0x52f001(0x16e)+process[_0x52f001(0x236)][_0x52f001(0x1a8)]);let _0x3de662,_0x83947e=_0x155799||'';try{_0x3de662=await this['findFiles'](_0x24cd4a[_0x52f001(0x230)],_0x155799),_0x3de662['errors'][_0x52f001(0x21a)](_0x24cd4a[_0x52f001(0x234)]['warn']);}catch(_0x579148){_0x24cd4a[_0x52f001(0x234)][_0x52f001(0x249)](_0x52f001(0x20d),_0x579148),_0x24cd4a[_0x52f001(0x1cf)](_0x52f001(0x1fe),_0x579148);return;}try{const _0x26b415=await SourceMapper[_0x52f001(0x240)](_0x3de662[_0x52f001(0x16a)]);__classPrivateFieldSet(_0x24cd4a,_Debuglet_v8debug,debugapi[_0x52f001(0x240)](_0x24cd4a[_0x52f001(0x234)],_0x24cd4a[_0x52f001(0x230)],_0x3de662[_0x52f001(0x1ca)],_0x26b415,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x83947e=_0x155799||_0x3de662['hash'];}catch(_0x448e25){_0x24cd4a['logger']['error'](_0x52f001(0x1dd),_0x448e25),_0x24cd4a[_0x52f001(0x1cf)](_0x52f001(0x1fe),_0x448e25);}_0x24cd4a[_0x52f001(0x234)][_0x52f001(0x155)](_0x52f001(0x23f)+_0x83947e);const _0x4b167c=(0x0,utils_1[_0x52f001(0x1f0)])(_0x24cd4a['logger'])[_0x52f001(0x1a7)]('\x0a','');_0x24cd4a['logger']['info'](_0x52f001(0x251)+_0x4b167c);let _0xabf805;try{_0xabf805=_0x24cd4a[_0x52f001(0x230)][_0x52f001(0x18b)]||await Debuglet[_0x52f001(0x168)]();}catch(_0x22887a){}this['config'][_0x52f001(0x1c8)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')['getMaxSnapshotBufferSize']()===0x0&&(0x0,utils_1[_0x52f001(0x152)])(process[_0x52f001(0x166)],_0x52f001(0x219))&&_0x24cd4a['logger']['warn'](utils_1['errors'][_0x52f001(0x19d)]),_0x24cd4a['logger'][_0x52f001(0x155)](_0x52f001(0x23a)+((_0x555152=process['mainModule'])===null||_0x555152===void 0x0?void 0x0:_0x555152[_0x52f001(0x21e)])),_0x24cd4a['logger'][_0x52f001(0x1d6)](_0x52f001(0x1b4)+_0x49ea7f),_0x24cd4a[_0x52f001(0x234)][_0x52f001(0x1d6)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x24cd4a,_Debuglet_running,!![],'f'),_0x24cd4a['debuggee']=(0x0,createDebuggee_1[_0x52f001(0x21b)])(_0x83947e,_0x24cd4a[_0x52f001(0x230)],_0xabf805,__classPrivateFieldGet(_0x24cd4a,_Debuglet_debug,'f')['packageInfo'],_0x4b167c,_0x24cd4a[_0x52f001(0x234)],__classPrivateFieldGet(_0x24cd4a,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x24cd4a,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x52f001(0x215)](_0x24cd4a),__classPrivateFieldGet(_0x24cd4a,_Debuglet_instances,'m',_Debuglet_register_)[_0x52f001(0x215)](_0x24cd4a),_0x24cd4a['emit'](_0x52f001(0x1db));}[a17_0x5366ea(0x1bd)](){const _0x4881de=a17_0x5366ea;if(Date[_0x4881de(0x1c5)]()<__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')[_0x4881de(0x1ea)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()[_0x4881de(0x1c9)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4881de(0x1ea)]();}}static async[a17_0x5366ea(0x168)](){const _0x4fd31e=a17_0x5366ea,_0x59256e=await readFilep(_0x4fd31e(0x1a0),_0x4fd31e(0x1e6));try{return JSON[_0x4fd31e(0x18f)](_0x59256e);}catch(_0x2e390f){throw new Error(_0x4fd31e(0x171)+_0x2e390f);}}[a17_0x5366ea(0x15a)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x5366ea(0x231)](){const _0x2ac6db=a17_0x5366ea;var _0x5d1a54;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x2ac6db(0x234)][_0x2ac6db(0x1d6)](_0x2ac6db(0x206));return;}this[_0x2ac6db(0x234)][_0x2ac6db(0x1d6)](_0x2ac6db(0x20b)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0x5d1a54=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0x5d1a54===void 0x0?void 0x0:_0x5d1a54[_0x2ac6db(0x1d8)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0x2ac6db(0x20a));}}exports[a17_0x5366ea(0x241)]=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(_0x112fb9){const _0x35ab2a=a17_0x5366ea;return new RegExp(_0x112fb9[_0x35ab2a(0x21c)](_0x2b6a95=>_0x2b6a95+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x4e04c7=a17_0x5366ea,_0x528adc=['SIGTERM',_0x4e04c7(0x1e8),_0x4e04c7(0x16d)];_0x528adc['forEach'](_0x272a55=>{process['once'](_0x272a55,()=>{const _0x12dc3f=a17_0x7e5e;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x12dc3f(0x1ab)](this[_0x12dc3f(0x1a6)],()=>{const _0x3f94df=_0x12dc3f;process[_0x3f94df(0x19a)](process[_0x3f94df(0x23b)],_0x272a55);});});}),process[_0x4e04c7(0x195)]('beforeExit',()=>{const _0x527e71=_0x4e04c7;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x527e71(0x1ab)](this[_0x527e71(0x1a6)],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){const _0x5ad12c=a17_0x5366ea;return metadata[_0x5ad12c(0x20e)]();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0x4ee7e9=a17_0x5366ea;return(await metadata['instance'](_0x4ee7e9(0x1df)))[_0x4ee7e9(0x159)];},_Debuglet_register_=function _Debuglet_register_(){const _0x35fae2=a17_0x5366ea;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x35fae2(0x215)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x5edd67){const _0xb1109d=a17_0x5366ea,_0x52a02c=this;_0x52a02c['logger']['debug'](_0x5edd67?'Scheduling\x20registration\x20in\x20'+_0x5edd67+'s':_0xb1109d(0x1b0));function _0x4c1566(_0x5eaf07,_0x2b87d5,_0x3f05f9=![]){const _0x2235df=_0xb1109d;var _0x189498,_0x40f793;const _0xf74ab4=((_0x189498=_0x52a02c[_0x2235df(0x1a6)])===null||_0x189498===void 0x0?void 0x0:_0x189498['id'])?_0x2235df(0x17b)+((_0x40f793=_0x52a02c[_0x2235df(0x1a6)])===null||_0x40f793===void 0x0?void 0x0:_0x40f793['id'])+':\x20'+_0x5eaf07:_0x2235df(0x238)+_0x5eaf07;_0x52a02c[_0x2235df(0x234)][_0x2235df(0x249)](_0xf74ab4),_0x2b87d5&&!_0x3f05f9&&_0x52a02c[_0x2235df(0x234)][_0x2235df(0x249)](_0x2235df(0x1f8),_0x2b87d5),__classPrivateFieldGet(_0x52a02c,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x2235df(0x215)](_0x52a02c,(0x0,utils_1[_0x2235df(0x1e0)])(_0x5edd67,_0x52a02c['config'][_0x2235df(0x225)][_0x2235df(0x202)]));}setTimeout(()=>{const _0x1f9623=_0xb1109d;if(!__classPrivateFieldGet(_0x52a02c,_Debuglet_running,'f')){_0x4c1566(new Error(_0x1f9623(0x151)));return;}__classPrivateFieldGet(_0x52a02c,_Debuglet_controller,'f')[_0x1f9623(0x191)](_0x52a02c[_0x1f9623(0x1a6)],(_0x422899,_0x11487f,_0x4c4e7e=![])=>{const _0x257258=_0x1f9623;if(_0x422899){_0x4c1566(_0x422899,_0x11487f,_0x4c4e7e);return;}if(_0x11487f['debuggee'][_0x257258(0x1d7)]){_0x4c1566(new Error('Disabled\x20by\x20the\x20server')),_0x52a02c[_0x257258(0x1cf)]('remotelyDisabled');return;}const _0x11e0a5=_0x11487f['debuggee']['id'];_0x52a02c[_0x257258(0x234)]['info'](_0x257258(0x185)+_0x11e0a5),_0x52a02c[_0x257258(0x1a6)]['id']=_0x11e0a5;const _0x241cbd=[__classPrivateFieldGet(_0x52a02c,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x257258(0x24c)](_0x52a02c)(_0x52a02c['debuggee']['id'])];_0x52a02c['config']['redactionEnabled']&&_0x241cbd[_0x257258(0x245)](__classPrivateFieldGet(_0x52a02c,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x52a02c)(_0x52a02c[_0x257258(0x1a6)]['id'])),Promise[_0x257258(0x1c1)](_0x241cbd)[_0x257258(0x1c9)](()=>{const _0x17a7ac=_0x257258;var _0x26724a;_0x52a02c[_0x17a7ac(0x1cf)]('registered',_0x11e0a5),__classPrivateFieldGet(_0x52a02c,_Debuglet_debuggeeRegistered,'f')[_0x17a7ac(0x156)](),(_0x26724a=__classPrivateFieldGet(_0x52a02c,_Debuglet_v8debug,'f'))===null||_0x26724a===void 0x0?void 0x0:_0x26724a['setBlocklistManager'](__classPrivateFieldGet(_0x52a02c,_Debuglet_blocklistManager,'f')),!_0x52a02c[_0x17a7ac(0x181)]&&__classPrivateFieldGet(_0x52a02c,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x17a7ac(0x215)](_0x52a02c,0x0,this[_0x17a7ac(0x230)][_0x17a7ac(0x243)],_0x11487f===null||_0x11487f===void 0x0?void 0x0:_0x11487f[_0x17a7ac(0x1dc)]);},_0x2b2f88=>{_0x4c1566(_0x2b2f88);});});},_0x5edd67*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x5f3363,_0x1a6c9b,_0x1c3dc5){const _0x467f15=a17_0x5366ea,_0x4e5261=this;!_0x1a6c9b&&(_0x4e5261[_0x467f15(0x181)]=!![]),setTimeout(()=>{const _0x3d8290=_0x467f15;if(!__classPrivateFieldGet(_0x4e5261,_Debuglet_running,'f'))return;!_0x1a6c9b&&assert(_0x4e5261[_0x3d8290(0x181)]),_0x4e5261[_0x3d8290(0x234)][_0x3d8290(0x1d6)](_0x3d8290(0x1f2)),__classPrivateFieldGet(_0x4e5261,_Debuglet_controller,'f')[_0x3d8290(0x199)](_0x4e5261[_0x3d8290(0x1a6)],(_0x1a8127,_0x48dd78,_0x1629ed)=>{const _0x1de6bb=_0x3d8290;if((_0x48dd78===null||_0x48dd78===void 0x0?void 0x0:_0x48dd78['status'])===0x194){_0x4e5261[_0x1de6bb(0x234)][_0x1de6bb(0x155)]('Debuggee\x20is\x20not\x20registered'),_0x4e5261[_0x1de6bb(0x181)]=![],__classPrivateFieldGet(_0x4e5261,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x1de6bb(0x215)](_0x4e5261),__classPrivateFieldGet(_0x4e5261,_Debuglet_instances,'m',_Debuglet_register_)[_0x1de6bb(0x215)](_0x4e5261);return;}if(_0x1a8127){const _0x42628c=(0x0,utils_1[_0x1de6bb(0x1e0)])(_0x5f3363,_0x4e5261[_0x1de6bb(0x230)]['internal'][_0x1de6bb(0x202)]);_0x4e5261['logger']['error'](_0x1de6bb(0x15e)+(_0x48dd78===null||_0x48dd78===void 0x0?void 0x0:_0x48dd78[_0x1de6bb(0x17f)])+_0x1de6bb(0x1fb)+_0x1a8127[_0x1de6bb(0x224)]+_0x1de6bb(0x176)+_0x42628c+'s'),__classPrivateFieldGet(_0x4e5261,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4e5261,_0x42628c,_0x1a6c9b,_0x1c3dc5);return;}_0x4e5261[_0x1de6bb(0x234)][_0x1de6bb(0x1d6)]('\x09'+_0x48dd78[_0x1de6bb(0x17f)]+_0x1de6bb(0x1f4));if(!_0x1629ed){const _0x5e2d23=_0x4e5261[_0x1de6bb(0x230)][_0x1de6bb(0x19f)];_0x4e5261['logger']['error'](_0x1de6bb(0x1b6)+_0x5e2d23+'s'),__classPrivateFieldGet(_0x4e5261,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1de6bb(0x215)](_0x4e5261,_0x5e2d23,_0x1a6c9b,_0x1c3dc5);return;}if(_0x1629ed['waitExpired']){_0x4e5261['logger'][_0x1de6bb(0x155)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(_0x4e5261,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1de6bb(0x215)](_0x4e5261,0x0,_0x1a6c9b,_0x1c3dc5);return;}if(_0x1629ed[_0x1de6bb(0x252)]&&_0x1629ed[_0x1de6bb(0x252)]!==_0x1de6bb(0x1f9)){const _0x3b4e00=this[_0x1de6bb(0x248)]['globalPipingStatus'];_0x3b4e00!==_0x1629ed[_0x1de6bb(0x252)]&&(this[_0x1de6bb(0x234)][_0x1de6bb(0x1d6)](_0x1de6bb(0x16f)+_0x3b4e00+_0x1de6bb(0x1f5)+_0x1629ed[_0x1de6bb(0x252)]),this[_0x1de6bb(0x248)][_0x1de6bb(0x250)]=_0x1629ed['pipeLogs']);}if(_0x1629ed[_0x1de6bb(0x1e3)]&&_0x1629ed['collectLogRequestId']!==_0x4e5261[_0x1de6bb(0x244)]){_0x4e5261['collectLogRequestId']=_0x1629ed['collectLogRequestId'];const _0x1c2b45=_0x4e5261[_0x1de6bb(0x230)][_0x1de6bb(0x19e)]['agentLogTargetDir']&&path['join'](_0x4e5261['config']['agentLog'][_0x1de6bb(0x14f)],agent_logger_1['default']['AGENT_LOG_FILE']);_0x1c2b45&&fs[_0x1de6bb(0x24e)](_0x1c2b45)?setTimeout(()=>__classPrivateFieldGet(_0x4e5261,_Debuglet_controller,'f')[_0x1de6bb(0x214)](_0x4e5261['debuggee'],_0x1629ed[_0x1de6bb(0x244)],_0x1c2b45)):_0x4e5261[_0x1de6bb(0x234)][_0x1de6bb(0x155)](_0x1de6bb(0x209)+_0x1629ed[_0x1de6bb(0x244)]+_0x1de6bb(0x227)+_0x1de6bb(0x193));}const _0x3aa0c7=(_0x1629ed['breakpoints']||[])[_0x1de6bb(0x21c)](_0x3635cd=>new stackdriver_1[(_0x1de6bb(0x23c))](_0x3635cd))['filter'](_0x446e16=>{const _0x5c538d=_0x1de6bb,_0x51d393=_0x446e16[_0x5c538d(0x161)]||'CAPTURE';if(__classPrivateFieldGet(_0x4e5261,_Debuglet_completedBreakpointMap,'f')[_0x446e16['id']])return![];if(_0x51d393!=='CAPTURE'&&_0x51d393!==_0x5c538d(0x1d9))return _0x4e5261['logger'][_0x5c538d(0x182)](_0x5c538d(0x167),_0x51d393),_0x446e16[_0x5c538d(0x17f)]=new status_message_1[(_0x5c538d(0x14d))](status_message_1[_0x5c538d(0x14d)][_0x5c538d(0x1d4)],utils_1[_0x5c538d(0x1da)][_0x5c538d(0x253)],!![]),__classPrivateFieldGet(_0x4e5261,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x5c538d(0x215)](_0x4e5261,_0x446e16),![];return!![];}),_0x506c7d=__classPrivateFieldGet(_0x4e5261,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x1de6bb(0x215)](_0x4e5261);let _0x9eecc7=_0x506c7d[_0x1de6bb(0x1b8)]>0x0;__classPrivateFieldGet(_0x4e5261,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x4e5261,_0x506c7d),_0x9eecc7=_0x9eecc7||__classPrivateFieldGet(_0x4e5261,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x1de6bb(0x215)](_0x4e5261,_0x3aa0c7),_0x4e5261['emit'](_0x1de6bb(0x1f6),_0x3aa0c7['length']);_0x9eecc7&&_0x4e5261[_0x1de6bb(0x234)][_0x1de6bb(0x1d6)](formatBreakpoints(_0x1de6bb(0x1fc),_0x4e5261[_0x1de6bb(0x1bf)]));__classPrivateFieldSet(_0x4e5261,_Debuglet_breakpointFetchedTimestamp,Date[_0x1de6bb(0x1c5)](),'f');_0x1a6c9b?__classPrivateFieldGet(_0x4e5261,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x4e5261,_Debuglet_breakpointFetched,'f')[_0x1de6bb(0x156)](),__classPrivateFieldSet(_0x4e5261,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x4e5261,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1de6bb(0x215)](_0x4e5261,0x0,_0x1a6c9b,_0x1c3dc5);return;},_0x1c3dc5);},_0x5f3363*0x3e8)[_0x467f15(0x184)]();},_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_(_0x42cddf){const _0x2fbba1=a17_0x5366ea,_0xd97b5=this,_0x2f5433=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2fbba1(0x215)](this,_0x42cddf);let _0x3ac160=![];return _0x42cddf[_0x2fbba1(0x21a)](_0x55c86b=>{const _0x3ed477=_0x2fbba1;!__classPrivateFieldGet(_0xd97b5,_Debuglet_completedBreakpointMap,'f')[_0x55c86b['id']]&&!_0xd97b5[_0x3ed477(0x1bf)][_0x55c86b['id']]&&(__classPrivateFieldGet(_0xd97b5,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](_0xd97b5,_0x55c86b,_0x137796=>{_0x137796&&__classPrivateFieldGet(_0xd97b5,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0xd97b5,_0x55c86b,!![],![]);}),_0x3ac160=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3ed477(0x173)](_0x55c86b['id'])),__classPrivateFieldGet(_0xd97b5,_Debuglet_quotaManager,'f')[_0x3ed477(0x1e2)](_0x55c86b['id'],_0x55c86b[_0x3ed477(0x228)]),_0xd97b5[_0x3ed477(0x248)][_0x3ed477(0x1eb)](_0x55c86b['id'],_0x55c86b[_0x3ed477(0x196)]);}),(0x0,mapSubtract_1[_0x2fbba1(0x177)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x2f5433)[_0x2fbba1(0x21a)](_0x51cff4=>{delete __classPrivateFieldGet(_0xd97b5,_Debuglet_completedBreakpointMap,'f')[_0x51cff4['id']],_0x3ac160=!![];}),(0x0,mapSubtract_1[_0x2fbba1(0x177)])(this[_0x2fbba1(0x1bf)],_0x2f5433)[_0x2fbba1(0x21a)](_0x20085c=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x20085c,!![]),_0x3ac160=!![];}),_0x3ac160&&_0xd97b5[_0x2fbba1(0x234)][_0x2fbba1(0x1d6)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x2f5433)),_0x3ac160;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x370f28){const _0x283c4a=a17_0x5366ea,_0x493d23={};return _0x370f28[_0x283c4a(0x21a)](_0x153ffa=>{_0x493d23[_0x153ffa['id']]=_0x153ffa;}),_0x493d23;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x2ee46d,_0x25b194){const _0x316e3f=a17_0x5366ea;this['logger'][_0x316e3f(0x155)](_0x316e3f(0x170),_0x2ee46d),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x2ee46d['id']),this[_0x316e3f(0x248)]['removeBreakpoint'](_0x2ee46d['id']),delete this[_0x316e3f(0x1bf)][_0x2ee46d['id']],_0x25b194&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x316e3f(0x22b)](_0x2ee46d,_0x55c7c4=>{const _0x1907d2=_0x316e3f;if(_0x55c7c4)this[_0x1907d2(0x234)][_0x1907d2(0x249)](_0x55c7c4);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x5a1e9f,_0xf02168){const _0x7c5c96=a17_0x5366ea;var _0x21dc4a;const _0x1f1c0b=this;_0x1f1c0b['logger'][_0x7c5c96(0x155)](_0x7c5c96(0x1d3),_0x5a1e9f);if(!_0x1f1c0b[_0x7c5c96(0x230)][_0x7c5c96(0x1b5)]&&(_0x5a1e9f['condition']||_0x5a1e9f['expressions'])){_0x1f1c0b['logger'][_0x7c5c96(0x249)](utils_1[_0x7c5c96(0x1da)][_0x7c5c96(0x1a9)]['description']||''),_0x5a1e9f[_0x7c5c96(0x17f)]=new status_message_1[(_0x7c5c96(0x14d))](status_message_1['StatusMessage'][_0x7c5c96(0x1d4)],utils_1[_0x7c5c96(0x1da)]['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x4128a6=_0x7c5c96;_0xf02168(utils_1[_0x4128a6(0x1da)]['ALLOW_EXPRESSIONS_MESSAGE']);});return;}if((0x0,utils_1[_0x7c5c96(0x152)])(process[_0x7c5c96(0x166)],_0x7c5c96(0x18c))){const _0x1743b1=utils_1['errors']['NODE_VERSION_MESSAGE'];_0x1f1c0b[_0x7c5c96(0x234)]['error'](_0x1743b1),_0x5a1e9f['status']=new status_message_1['StatusMessage'](status_message_1[_0x7c5c96(0x14d)][_0x7c5c96(0x1d4)],_0x1743b1,!![]),setImmediate(()=>{_0xf02168(_0x1743b1);});return;}const _0x1be450=_0x5a1e9f[_0x7c5c96(0x16b)]?Number(_0x5a1e9f[_0x7c5c96(0x16b)][_0x7c5c96(0x1b2)]):Date[_0x7c5c96(0x1c5)]()/0x3e8,_0x15c4f6=_0x5a1e9f[_0x7c5c96(0x220)]||_0x1f1c0b[_0x7c5c96(0x230)][_0x7c5c96(0x17a)];_0x5a1e9f['expirationTime']=_0x1be450+_0x15c4f6,((_0x21dc4a=_0x5a1e9f['location'])===null||_0x21dc4a===void 0x0?void 0x0:_0x21dc4a[_0x7c5c96(0x197)])&&(_0x5a1e9f['location'][_0x7c5c96(0x197)]=path['normalize'](_0x5a1e9f[_0x7c5c96(0x194)][_0x7c5c96(0x197)]),path[_0x7c5c96(0x239)]===path['posix']['sep']&&(_0x5a1e9f['location']['path']=_0x5a1e9f['location'][_0x7c5c96(0x197)]['split']('\x5c')[_0x7c5c96(0x174)](path[_0x7c5c96(0x239)]))),__classPrivateFieldGet(_0x1f1c0b,_Debuglet_v8debug,'f')[_0x7c5c96(0x1bb)](_0x5a1e9f,_0x318b82=>{const _0x3e8e20=_0x7c5c96;if(_0x318b82){_0xf02168(_0x318b82);return;}_0x1f1c0b[_0x3e8e20(0x234)][_0x3e8e20(0x155)](_0x3e8e20(0x226),_0x5a1e9f),_0x1f1c0b[_0x3e8e20(0x1bf)][_0x5a1e9f['id']]=_0x5a1e9f,_0x5a1e9f[_0x3e8e20(0x161)]==='LOG'?__classPrivateFieldGet(_0x1f1c0b,_Debuglet_v8debug,'f')[_0x3e8e20(0x175)](_0x5a1e9f,(_0x526130,_0x1c4f7e)=>{const _0x290222=_0x3e8e20;var _0x215577,_0x95f56,_0x53376c,_0x6f7fe3;const _0x2e1be5=_0x1c4f7e[_0x290222(0x21c)](_0x2c29d5=>__classPrivateFieldGet(_0x1f1c0b,_Debuglet_instances,'m',_Debuglet_stringify)[_0x290222(0x215)](_0x1f1c0b,_0x2c29d5)),_0x440477=(0x0,format_1[_0x290222(0x201)])(_0x526130,_0x2e1be5),_0x24f1cd=_0x290222(0x1a5)+(((_0x215577=__classPrivateFieldGet(_0x1f1c0b,_Debuglet_redactionManager,'f'))===null||_0x215577===void 0x0?void 0x0:_0x215577['replaceRedactedByValue'](_0x440477))||_0x440477),_0x2fd1c9=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x24f1cd,_0x5a1e9f['id']);if(_0x2fd1c9){const _0x3d69ef=_0x2fd1c9[_0x290222(0x224)],_0x2d44ae=_0x2fd1c9['isOutOfQuota'];let _0x21b174,_0x202663;!((_0x95f56=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x95f56===void 0x0?void 0x0:_0x95f56[_0x290222(0x221)]())&&!_0x2d44ae&&(_0x21b174=_0x290222(0x1a5)+_0x526130,_0x202663=_0x2e1be5);_0x1f1c0b[_0x290222(0x248)]['addAndPipeLog'](_0x1f1c0b[_0x290222(0x1a6)],_0x5a1e9f['id'],_0x3d69ef,_0x5a1e9f['logLevel'],_0x21b174,_0x202663);if(_0x2d44ae)(_0x53376c=__classPrivateFieldGet(_0x1f1c0b,_Debuglet_v8debug,'f'))===null||_0x53376c===void 0x0?void 0x0:_0x53376c[_0x290222(0x1fd)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0xb6e7ef=_0x290222;var _0x33b044;(_0x33b044=__classPrivateFieldGet(_0x1f1c0b,_Debuglet_v8debug,'f'))===null||_0x33b044===void 0x0?void 0x0:_0x33b044[_0xb6e7ef(0x198)](),__classPrivateFieldSet(_0x1f1c0b,_Debuglet_nextEnableTimeout,null,'f');},_0x1f1c0b[_0x290222(0x230)][_0x290222(0x257)][_0x290222(0x208)]*0x3e8),'f');else(_0x3d69ef===null||_0x3d69ef===void 0x0?void 0x0:_0x3d69ef['length'])===0x0&&((_0x6f7fe3=__classPrivateFieldGet(_0x1f1c0b,_Debuglet_v8debug,'f'))===null||_0x6f7fe3===void 0x0?void 0x0:_0x6f7fe3[_0x290222(0x1fd)]());}},()=>{return __classPrivateFieldGet(_0x1f1c0b,_Debuglet_completedBreakpointMap,'f')[_0x5a1e9f['id']];},_0x1361fe=>{const _0x119995=_0x3e8e20;if(_0x1361fe){_0x1f1c0b[_0x119995(0x234)][_0x119995(0x249)](_0x1361fe),_0xf02168(_0x1361fe);return;}}):__classPrivateFieldGet(_0x1f1c0b,_Debuglet_v8debug,'f')[_0x3e8e20(0x207)](_0x5a1e9f,_0xd20ac1=>{const _0x5b1f9e=_0x3e8e20;if(_0xd20ac1){setImmediate(()=>{const _0x2f03f6=a17_0x7e5e;_0x1f1c0b[_0x2f03f6(0x234)][_0x2f03f6(0x249)](_0xd20ac1),_0xf02168(_0xd20ac1);});return;}_0x1f1c0b[_0x5b1f9e(0x234)][_0x5b1f9e(0x155)](_0x5b1f9e(0x1e1),_0x5a1e9f),__classPrivateFieldGet(_0x1f1c0b,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x5b1f9e(0x215)](_0x1f1c0b,_0x5a1e9f,__classPrivateFieldGet(_0x1f1c0b,_Debuglet_v8debug,'f')[_0x5b1f9e(0x213)](_0x5a1e9f['id'])<=0x0);}),__classPrivateFieldGet(_0x1f1c0b,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x3e8e20(0x215)](_0x1f1c0b,_0x5a1e9f);}),this[_0x7c5c96(0x1cf)](_0x7c5c96(0x187));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x1a9cbf,_0xd9ef6c,_0x40a95b=!![]){const _0x31a04d=a17_0x5366ea;var _0x35f2c6,_0x2d6389,_0x1d94e5,_0x357f24,_0x289c2e,_0x4f52b9;const _0x330d66=this;if(_0x1a9cbf['status']&&_0x1a9cbf[_0x31a04d(0x17f)][_0x31a04d(0x217)]){let _0x18b381=((_0x2d6389=(_0x35f2c6=_0x1a9cbf[_0x31a04d(0x17f)])===null||_0x35f2c6===void 0x0?void 0x0:_0x35f2c6[_0x31a04d(0x1ac)])===null||_0x2d6389===void 0x0?void 0x0:_0x2d6389['format'])||'';((_0x357f24=(_0x1d94e5=_0x1a9cbf['status'])===null||_0x1d94e5===void 0x0?void 0x0:_0x1d94e5[_0x31a04d(0x1ac)])===null||_0x357f24===void 0x0?void 0x0:_0x357f24[_0x31a04d(0x1cd)])&&(_0x18b381+=':\x20'+((_0x4f52b9=(_0x289c2e=_0x1a9cbf[_0x31a04d(0x17f)])===null||_0x289c2e===void 0x0?void 0x0:_0x289c2e[_0x31a04d(0x1ac)])===null||_0x4f52b9===void 0x0?void 0x0:_0x4f52b9[_0x31a04d(0x1cd)]['toString']())),_0x330d66[_0x31a04d(0x234)][_0x31a04d(0x182)](_0x31a04d(0x233)+_0x1a9cbf+_0x31a04d(0x1ed)+_0x18b381);}else _0x330d66[_0x31a04d(0x234)][_0x31a04d(0x155)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',_0x1a9cbf);_0xd9ef6c&&(__classPrivateFieldGet(_0x330d66,_Debuglet_completedBreakpointMap,'f')[_0x1a9cbf['id']]=!![],__classPrivateFieldGet(_0x330d66,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x31a04d(0x215)](_0x330d66,_0x1a9cbf,_0x40a95b)),__classPrivateFieldGet(_0x330d66,_Debuglet_controller,'f')[_0x31a04d(0x204)](_0x330d66[_0x31a04d(0x1a6)],extend(!![],{},_0x1a9cbf));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x3df32e){const _0x34605f=a17_0x5366ea,_0x67d813=this;_0x67d813[_0x34605f(0x234)]['debug']('reporting\x20breakpoint\x20'+_0x3df32e+_0x34605f(0x254));const _0x26ffdb=extend(!![],{},_0x3df32e);_0x26ffdb['isFinalState']=![],_0x26ffdb[_0x34605f(0x17f)]=new status_message_1[(_0x34605f(0x14d))](status_message_1[_0x34605f(0x14d)][_0x34605f(0x1d4)],undefined,![],!![]),__classPrivateFieldGet(_0x67d813,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x67d813['debuggee'],_0x26ffdb);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x3dc93b){const _0x2c731a=a17_0x5366ea,_0x563039=this;this[_0x2c731a(0x234)][_0x2c731a(0x155)]('rejecting\x20breakpoint',_0x3dc93b),__classPrivateFieldGet(_0x563039,_Debuglet_completedBreakpointMap,'f')[_0x3dc93b['id']]=!![],__classPrivateFieldGet(_0x563039,_Debuglet_controller,'f')[_0x2c731a(0x204)](_0x563039[_0x2c731a(0x1a6)],_0x3dc93b);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x4011b7){const _0x1475ca=this;_0x4011b7['forEach'](_0x38f27d=>{const _0x5238ec=a17_0x7e5e;_0x1475ca[_0x5238ec(0x234)][_0x5238ec(0x155)](_0x5238ec(0x1ff),_0x38f27d),__classPrivateFieldGet(_0x1475ca,_Debuglet_completedBreakpointMap,'f')[_0x38f27d['id']]=!![],__classPrivateFieldGet(_0x1475ca,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5238ec(0x215)](_0x1475ca,_0x38f27d,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x5255ac=a17_0x5366ea,_0x13eafd=Date['now']()/0x3e8;return Object['values'](this[_0x5255ac(0x1bf)])[_0x5255ac(0x200)](_0x566c68=>_0x566c68['expirationTime']?_0x566c68[_0x5255ac(0x1f7)]<_0x13eafd:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x499213){const _0x110c43=a17_0x5366ea,_0x5be527=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x110c43(0x163)](_0x499213),_0x42b088=_0x5be527[_0x110c43(0x180)],_0x332c64=_0x5be527[_0x110c43(0x183)];_0x42b088&&_0x42b088['length']&&this[_0x110c43(0x234)][_0x110c43(0x1d6)](_0x110c43(0x22a),_0x42b088['join']('\x0a\x09')),_0x332c64&&_0x332c64[_0x110c43(0x1b8)]&&this[_0x110c43(0x234)]['debug'](_0x110c43(0x246),_0x332c64[_0x110c43(0x174)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x110c43(0x1e5))](_0x42b088,_0x332c64,this[_0x110c43(0x230)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x5d95b1){const _0x5a2e17=a17_0x5366ea;var _0x30a133;const _0x441c9d=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x5d95b1);(_0x441c9d===null||_0x441c9d===void 0x0?void 0x0:_0x441c9d['length'])&&this['logger']['debug'](_0x5a2e17(0x15d),_0x441c9d[_0x5a2e17(0x21c)](_0x1f7cfe=>_0x5a2e17(0x17e)+_0x1f7cfe[_0x5a2e17(0x237)]+'\x20(type:\x20'+_0x1f7cfe[_0x5a2e17(0x192)]+'):\x20pattern:\x20'+_0x1f7cfe[_0x5a2e17(0x16c)]+_0x5a2e17(0x22e)+_0x1f7cfe[_0x5a2e17(0x18a)])[_0x5a2e17(0x174)]('\x0a\x09'));if((0x0,utils_1[_0x5a2e17(0x152)])(process[_0x5a2e17(0x166)],_0x5a2e17(0x21f))){const {RedactionManagerRE2JS:_0x39dbc7}=await Promise['resolve']()[_0x5a2e17(0x1c9)](()=>require(_0x5a2e17(0x24b)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x39dbc7(this[_0x5a2e17(0x234)]),'f'),(_0x30a133=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x30a133===void 0x0?void 0x0:_0x30a133['setPatterns'](_0x441c9d);}},_Debuglet_stringify=function _Debuglet_stringify(_0x224a70){const _0x786e5c=a17_0x5366ea;if(!_0x224a70)return JSON[_0x786e5c(0x1f3)](_0x224a70,(_0x417ad8,_0x14f6f3)=>_0x14f6f3===undefined?_0x786e5c(0x164):_0x14f6f3);if(Array[_0x786e5c(0x1c0)](_0x224a70)){const _0x4d0f53=[];for(const _0x538be7 of _0x224a70){_0x4d0f53['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x538be7));}return'['+_0x4d0f53['join'](',\x20')+']';}if(typeof _0x224a70==='object'){const _0x169aaf=Object[_0x786e5c(0x23e)](_0x224a70)['map'](([_0x531b0c,_0x421d4b])=>{const _0x4db0c9=_0x786e5c;var _0x6b6ad3;const _0x41e844=((_0x6b6ad3=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x6b6ad3===void 0x0?void 0x0:_0x6b6ad3[_0x4db0c9(0x24d)](_0x531b0c))?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x4db0c9(0x215)](this,_0x421d4b);return JSON[_0x4db0c9(0x1f3)](_0x531b0c)+':\x20'+_0x41e844;})[_0x786e5c(0x174)](',\x20');return'{'+_0x169aaf+'}';}return JSON['stringify'](_0x224a70);});function a17_0x5b94(){const _0x59d012=['./io/sourcemapper','attributes/cluster-name','backoff','Breakpoint\x20hit!:\x20','setIgnoreQuota','collectAndSendLog','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','PatternsBlocklistManager','utf8','__esModule','SIGINT','693160jroVzm','get','setPipingStatus','agentLogLevel','.\x20Error:\x20','toString','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','readFullVersion','\x0a\x09createdTime:\x20','Fetching\x20breakpoints','stringify','\x20completed.','\x20to\x20','breakpoints_fetched','expirationTime','Result:\x20\x0a','NOT_SET','assert','.\x20message:\x20','Active\x20Breakpoints:\x20\x0a','disable','initError','Expiring\x20breakpoint','filter','format','maxRequestRetryDelaySeconds','events','enqueueBreakpointUpdate','\x0a\x09condition:\x20','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','wait','quotaRecoverySeconds','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','stopped','Stopping\x20Debuglet','EventEmitter','Error\x20scanning\x20the\x20filesystem.','isAvailable','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','./agent-logger','promise','../client/stackdriver/status-message','remainingHits','sendAgentLogsToServer','call','./quota-manager','isError','./util/utils','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','forEach','createDebuggee','map','hash','filename','>=12','expirationSeconds','isRedactionActive','217734iKPXOu','APP_ONLY','message','internal','\x09successfully\x20added\x20breakpoint','\x20because\x20','ignoreQuota','javascriptFileExtensions','Blacklist:\x20\x0a\x09','clear','has','search','\x20caseInsensitive:\x20','findFiles','config','stop','util','\x09Notifying\x20server\x20about\x20error\x20for\x20','logger','keys','env','name','Failed\x20to\x20register\x20debuggee:\x20','sep','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','pid','Breakpoint','490358xCoLdK','entries','Unique\x20ID\x20for\x20this\x20Application:\x20','create','Debuglet','../types/stackdriver','fetchBreakpointsOnce','collectLogRequestId','push','Blacklist\x20Exceptions:\x20\x0a\x09','654484YUWWJA','pipingManager','error','__classPrivateFieldSet','./reduction/redaction-manager-re2js','bind','shouldRedactByName','existsSync','CachedPromise','globalPipingStatus','Initializing\x20Node.js\x20agent\x20version:\x20','pipeLogs','BREAKPOINT_ACTION_MESSAGE','\x20accepted\x20by\x20agent','inspect','\x0a\x09expressions:\x20','quota','StatusMessage','do\x20this.','agentLogTargetDir','gcp-metadata','Debuglet\x20not\x20running','satisfies','./debuglet-helpers/mapSubtract','4CJKhIy','info','resolve','FileIndex','./config','data','isRunning','./environment-metadata','condition','Redactions:\x20\x0a\x09','\x09Got\x20error\x20from\x20server.\x20status:\x20','./v8/debugapi','normalizeConfig','action','concat','getBlocklist','undefined','value','version','Found\x20breakpoint\x20with\x20invalid\x20action:','getSourceContextFromFile','isReadyManager','mapFiles','createTime','pattern','SIGQUIT','GAE-','Switching\x20globalPiping\x20status\x20from\x20','\x09remove\x20breakpoint','Malformed\x20source-context.json\x20file:\x20','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','createPerBreakpointConditionQuota','join','log','.\x20Retrying\x20in\x20','mapSubtract','expressions','35pUBFBY','breakpointExpirationSec','Failed\x20to\x20re-register\x20debuggee\x20','agentLogMaxFileCount','1751469aRTneW','name:\x20','status','blacklist','fetcherActive','warn','blacklist_exception','unref','Registered\x20as\x20debuggee:\x20','function','breakpoint_set','selectStats','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','caseInsensitive','sourceContext','5.2\x20||\x20<4','readFile','extend','parse','126774aNriMi','register','type','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','location','once','pipingStatus','path','enable','listBreakpoints','kill','Scanner','add','NODE_10_CIRC_REF_MESSAGE','agentLog','breakpointUpdateIntervalSec','source-context.json','scan','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','18684650gHSpeA','EnvironmentMetadata','LOGPOINT:\x20','debuggee','replace','GAE_MINOR_VERSION','ALLOW_EXPRESSIONS_MESSAGE','allowRootAsWorkingDirectory','deregister','description','./piping-manager','cwd','createLogger','Registering\x20debuggee','PipingManager','seconds','fromFileStats','Working\x20directory:\x20','allowExpressions','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','agentLogMaxFileSizeMb','length','workingDirectory','QuotaManager','set','./reduction/redaction-manager','isReady','256ExKmnn','activeBreakpointMap','isArray','all','./debuglet-helpers/createDebuggee','__classPrivateFieldGet','./io/file-index','now','js.map','Private\x20method\x20is\x20not\x20writable','capture','then','jsFileIndex','Controller','promiseResolve','parameters','defineProperty','emit','promisify','debuglet','./debuglet-helpers/normalizeConfig','\x09adding\x20breakpoint','UNSPECIFIED','./io/scanner','debug','isDisabled','clearTransmissionTimeout','LOG','errors','started','clientConnectionTimeoutInSeconds','Error\x20processing\x20the\x20sourcemaps.'];a17_0x5b94=function(){return _0x59d012;};return a17_0x5b94();}
|
|
1
|
+
const a17_0x39eca5=a17_0x4503;(function(_0x24f965,_0x15cf0c){const _0x236007=a17_0x4503,_0x446293=_0x24f965();while(!![]){try{const _0x3e27c8=-parseInt(_0x236007(0x9f))/0x1+-parseInt(_0x236007(0xa5))/0x2+parseInt(_0x236007(0x92))/0x3*(parseInt(_0x236007(0x98))/0x4)+-parseInt(_0x236007(0x122))/0x5+parseInt(_0x236007(0xa0))/0x6+-parseInt(_0x236007(0x15d))/0x7+parseInt(_0x236007(0x83))/0x8*(parseInt(_0x236007(0xec))/0x9);if(_0x3e27c8===_0x15cf0c)break;else _0x446293['push'](_0x446293['shift']());}catch(_0x2628bc){_0x446293['push'](_0x446293['shift']());}}}(a17_0x40d7,0xb393c));const a17_0x19c284=(function(){let _0x15d56d=!![];return function(_0x5904a8,_0x1f21f9){const _0x2ebcf3=_0x15d56d?function(){const _0x3dc165=a17_0x4503;if(_0x1f21f9){const _0x216e83=_0x1f21f9[_0x3dc165(0x114)](_0x5904a8,arguments);return _0x1f21f9=null,_0x216e83;}}:function(){};return _0x15d56d=![],_0x2ebcf3;};}()),a17_0x1a3215=a17_0x19c284(this,function(){const _0x4fa11b=a17_0x4503;return a17_0x1a3215['toString']()[_0x4fa11b(0x16d)]('(((.+)+)+)+$')['toString']()[_0x4fa11b(0xf5)](a17_0x1a3215)[_0x4fa11b(0x16d)](_0x4fa11b(0x140));});a17_0x1a3215();'use strict';var __classPrivateFieldSet=this&&this[a17_0x39eca5(0x87)]||function(_0x29a288,_0x31898c,_0x104d06,_0x588e9b,_0x2c946e){const _0x27fbdb=a17_0x39eca5;if(_0x588e9b==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x588e9b==='a'&&!_0x2c946e)throw new TypeError(_0x27fbdb(0x76));if(typeof _0x31898c==='function'?_0x29a288!==_0x31898c||!_0x2c946e:!_0x31898c[_0x27fbdb(0x127)](_0x29a288))throw new TypeError(_0x27fbdb(0xf0));return _0x588e9b==='a'?_0x2c946e[_0x27fbdb(0xe0)](_0x29a288,_0x104d06):_0x2c946e?_0x2c946e[_0x27fbdb(0x13a)]=_0x104d06:_0x31898c[_0x27fbdb(0xb0)](_0x29a288,_0x104d06),_0x104d06;},__classPrivateFieldGet=this&&this[a17_0x39eca5(0xe1)]||function(_0x26c1b2,_0x862fec,_0x18ae3f,_0x580d51){const _0x1234a6=a17_0x39eca5;if(_0x18ae3f==='a'&&!_0x580d51)throw new TypeError(_0x1234a6(0xe2));if(typeof _0x862fec===_0x1234a6(0x9d)?_0x26c1b2!==_0x862fec||!_0x580d51:!_0x862fec[_0x1234a6(0x127)](_0x26c1b2))throw new TypeError(_0x1234a6(0x103));return _0x18ae3f==='m'?_0x580d51:_0x18ae3f==='a'?_0x580d51[_0x1234a6(0xe0)](_0x26c1b2):_0x580d51?_0x580d51['value']:_0x862fec['get'](_0x26c1b2);},_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_0x39eca5(0x132)](exports,a17_0x39eca5(0xe3),{'value':!![]}),exports[a17_0x39eca5(0xf4)]=exports[a17_0x39eca5(0x93)]=void 0x0;const assert=require(a17_0x39eca5(0xa7)),events_1=require('events'),extend=require('extend'),fs=require('fs'),metadata=require(a17_0x39eca5(0x97)),path=require('path'),util=require(a17_0x39eca5(0x73)),status_message_1=require(a17_0x39eca5(0x139)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require('./agent-logger'),config_1=require('./config'),controller_1=require(a17_0x39eca5(0x134)),SourceMapper=require(a17_0x39eca5(0xe6)),debugapi=require(a17_0x39eca5(0xc6)),piping_manager_1=require(a17_0x39eca5(0x8d)),quota_manager_1=require(a17_0x39eca5(0xc8)),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),scanner_1=require('./io/scanner'),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a17_0x39eca5(0xb7)),utils_1=require(a17_0x39eca5(0x12d)),redaction_manager_1=require(a17_0x39eca5(0xa9)),configuration_provider_1=require(a17_0x39eca5(0x86)),normalizeConfig_1=require(a17_0x39eca5(0x138)),mapSubtract_1=require(a17_0x39eca5(0x120)),format_1=require(a17_0x39eca5(0x129)),createDebuggee_1=require(a17_0x39eca5(0x168)),readFilep=util['promisify'](fs['readFile']),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x4fbc7b,_0x1be24a)=>{const _0x3a7186=a17_0x39eca5;let _0x2ca74a=_0x4fbc7b+util[_0x3a7186(0xd5)](_0x3a7186(0x14a),_0x1be24a['id'],_0x1be24a[_0x3a7186(0xf1)],util[_0x3a7186(0x11d)](_0x1be24a['location']));if(_0x1be24a[_0x3a7186(0xc0)]){const _0x6e5dba=Number(_0x1be24a[_0x3a7186(0xc0)][_0x3a7186(0xc5)]),_0x1972c0=new Date(_0x6e5dba*0x3e8);_0x2ca74a+=_0x3a7186(0xbd)+_0x1972c0[_0x3a7186(0x171)]();}return _0x1be24a['condition']&&(_0x2ca74a+=_0x3a7186(0xa3)+util['inspect'](_0x1be24a[_0x3a7186(0x81)])),_0x1be24a['expressions']&&(_0x2ca74a+=_0x3a7186(0x133)+util[_0x3a7186(0x11d)](_0x1be24a[_0x3a7186(0xee)])),_0x2ca74a;},formatBreakpoints=(_0x3e0e4c,_0x155426)=>{const _0xd6478b=a17_0x39eca5;return _0x3e0e4c+Object[_0xd6478b(0xbf)](_0x155426)[_0xd6478b(0x117)](_0xa83141=>{return formatBreakpoint('',_0x155426[_0xa83141]);})[_0xd6478b(0xe5)]('\x0a');};class CachedPromise{constructor(){const _0x5e68d9=a17_0x39eca5;this[_0x5e68d9(0x95)]=null,this[_0x5e68d9(0x118)]=new Promise(_0x104ae4=>{this['promiseResolve']=_0x104ae4;});}[a17_0x39eca5(0xa1)](){const _0x2cf6e1=a17_0x39eca5;return this[_0x2cf6e1(0x118)];}[a17_0x39eca5(0xfd)](){const _0x3a4335=a17_0x39eca5;this['promiseResolve']&&(this['promiseResolve'](),this[_0x3a4335(0x95)]=null);}}function a17_0x40d7(){const _0x3f21d4=['1586688GQkuAJ','jsFileIndex','assert','Breakpoint\x20hit!:\x20','./reduction/redaction-manager','message','debuggee','GAE-','Registering\x20debuggee','.\x20Retrying\x20in\x20','once','set','selectFiles','Registered\x20as\x20debuggee:\x20','StatusMessage','createLogger','breakpoints_fetched','then','./io/file-index','PipingManager','path','EnvironmentMetadata','Unique\x20ID\x20for\x20this\x20Application:\x20','forEach','\x0a\x09createdTime:\x20','disable','keys','createTime','isArray','\x20to\x20','readFullVersion','logMainConfigParams','seconds','./v8/debugapi','attributes/cluster-name','./quota-manager','>=12','Debuggee\x20is\x20not\x20registered','fromFileStats','ConfigurationProvider','mainModule','reporting\x20breakpoint\x20','isDisabled','default','NOT_SET','env','emit','parameters','format','stopped','remotelyDisabled','remainingHits','rejecting\x20breakpoint','object','maxRequestRetryDelaySeconds','isOutOfQuota','error','agentLogMaxFileCount','SIGQUIT','call','__classPrivateFieldGet','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','__esModule','Result:\x20\x0a','join','./io/sourcemapper','ALLOW_EXPRESSIONS_MESSAGE','filter','):\x20pattern:\x20','mapFiles','undefined','414NAqSLR','values','expressions','GAE_MINOR_VERSION','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','action','setBlocklistManager','registered','Debuglet','constructor','activeBreakpointMap','setIgnoreQuota','Expiring\x20breakpoint','cwd','removePerBreakpointQuota','split','isRedactionActive','resolve','Found\x20breakpoint\x20with\x20invalid\x20action:','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','createDebuggee','pipeLogs','selectStats','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','Working\x20directory:\x20','./reduction/redaction-manager-re2js','quotaCheck','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','LOG','entries','Active\x20Breakpoints:\x20\x0a','replace','stop','config','errors','push','Error\x20scanning\x20the\x20filesystem.','replaceRedactedByValue','pipingManager','status','apply','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','CAPTURE','map','promise','QuotaManager','Scheduling\x20registration\x20in\x20','fetchBreakpointsOnce','\x20because\x20','inspect','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','blacklist','./debuglet-helpers/mapSubtract','Starting\x20debuggee','793510PqiYlW','debuglet','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','5.2\x20||\x20<4','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','has','Fetching\x20breakpoints','./debuglet-helpers/format','logLevel','description','version','./util/utils','globalPipingStatus','mapSubtract','satisfies','Breakpoint','defineProperty','\x0a\x09expressions:\x20','./controller','\x09Got\x20error\x20from\x20server.\x20status:\x20','BREAKPOINT_ACTION_MESSAGE','agentLogTargetDir','./debuglet-helpers/normalizeConfig','../client/stackdriver/status-message','value','kill','waitExpired','workingDirectory','expirationSeconds','shouldRedactByName','(((.+)+)+)+$','findFiles','setPipingStatus','name','sourceContext','clearTransmissionTimeout','Failed\x20to\x20re-register\x20debuggee\x20','warn','\x09successfully\x20added\x20breakpoint','sep','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','javascriptFileExtensions','capture','hash','\x09Long\x20poll\x20completed.','listBreakpoints','getRedactions','started','breakpointUpdateIntervalSec','\x09remove\x20breakpoint','log','Blacklist\x20Exceptions:\x20\x0a\x09','info','quotaRecoverySeconds','add','collectAndSendLog','create','collectLogRequestId','deregister','5372976zHPOrK','enable','clear','pattern','redactionEnabled','createPerBreakpointConditionQuota','location','AGENT_LOG_FILE','Debuglet\x20not\x20running','Controller','utf8','./debuglet-helpers/createDebuggee','agentLog','isAvailable','beforeExit','UNSPECIFIED','search','EventEmitter','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','isReadyManager','toString','breakpointExpirationSec','isReady','initError','internal','pipingStatus','getProps','util','Server\x20breakpoints:\x0a','fetcherActive','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','PatternsBlocklistManager','stringify','.\x20message:\x20','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','bind','pid','parse','\x09Notifying\x20server\x20about\x20error\x20for\x20','getMaxSnapshotBufferSize','getBlocklist','condition','Initializing\x20Node.js\x20agent\x20version:\x20','245816OJzqvN','backoff','Failed\x20to\x20register\x20debuggee:\x20','./configuration-provider','__classPrivateFieldSet','LOGPOINT:\x20','logger','stdErrThreshold','getSourceContextFromFile','APP_ONLY','./piping-manager','start','removeBreakpoint','now','isFinalState','3KerLvl','CachedPromise','debug','promiseResolve','length','gcp-metadata','2901512iGGTql','allowRootAsWorkingDirectory','Redactions:\x20\x0a\x09','SIGINT','unref','function','\x09adding\x20breakpoint','584239UOGEYM','5403486ulOHYO','get','expirationTime','\x0a\x09condition:\x20','enqueueBreakpointUpdate'];a17_0x40d7=function(){return _0x3f21d4;};return a17_0x40d7();}exports[a17_0x39eca5(0x93)]=CachedPromise;function a17_0x4503(_0x4afb11,_0x4f9358){const _0x18cf72=a17_0x40d7();return a17_0x4503=function(_0x1a3215,_0x19c284){_0x1a3215=_0x1a3215-0x71;let _0x40d74d=_0x18cf72[_0x1a3215];return _0x40d74d;},a17_0x4503(_0x4afb11,_0x4f9358);}class IsReadyImpl{constructor(_0x305e66){const _0x5922f5=a17_0x39eca5;this[_0x5922f5(0x123)]=_0x305e66;}['isReady'](){const _0x4b0f5c=a17_0x39eca5;return this[_0x4b0f5c(0x123)][_0x4b0f5c(0x173)]();}}class Debuglet extends events_1[a17_0x39eca5(0x16e)]{constructor(_0x1381a0,_0x1a8b19){const _0xa83f19=a17_0x39eca5;super(),_Debuglet_instances[_0xa83f19(0x158)](this),_Debuglet_debug[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_v8debug[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_running[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_controller[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_debuggeeRegistered[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_nextEnableTimeout['set'](this,null),this[_0xa83f19(0x170)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_scanner[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_quotaManager[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_blocklistManager[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_redactionManager[_0xa83f19(0xb0)](this,void 0x0),_Debuglet_configProvider[_0xa83f19(0xb0)](this,void 0x0),this['config']=(0x0,normalizeConfig_1['normalizeConfig'])(_0x1a8b19),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0xa83f19(0xcc))](this[_0xa83f19(0x10d)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1381a0,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xa83f19(0x75)]=![],this['logger']=agent_logger_1['default'][_0xa83f19(0xb4)](this['config']['agentLog'][_0xa83f19(0x137)],this[_0xa83f19(0x10d)][_0xa83f19(0x169)]['agentLogMaxFileSizeMb'],this[_0xa83f19(0x10d)][_0xa83f19(0x169)][_0xa83f19(0xde)],this[_0xa83f19(0x10d)][_0xa83f19(0x169)]['agentLogLevel'],this[_0xa83f19(0x10d)][_0xa83f19(0x169)][_0xa83f19(0x8a)]),(0x0,config_1[_0xa83f19(0xc4)])(this['config'],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0xa83f19(0xba))](this[_0xa83f19(0x89)])[_0xa83f19(0x72)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0xa83f19(0x166))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0xa83f19(0x10d)],this[_0xa83f19(0x89)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this[_0xa83f19(0x89)]),'f'),this[_0xa83f19(0xab)]=null,this[_0xa83f19(0xf6)]={},__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[(_0xa83f19(0x119))](this['logger'],this[_0xa83f19(0x10d)]),'f'),this[_0xa83f19(0x112)]=new piping_manager_1[(_0xa83f19(0xb8))](_0xa83f19(0x8c),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0xa83f19(0x10d)]);}async[a17_0x39eca5(0x141)](_0x34e41c,_0x5bcef6){const _0x5d7940=a17_0x39eca5,_0x5b3ce3=_0x34e41c[_0x5d7940(0x13d)],_0x5209c4=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x5b3ce3,__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)['call'](Debuglet,_0x34e41c['javascriptFileExtensions']['concat']('js.map')),_0x5bcef6,_0x34e41c['extraPaths']),_0x5cc27e=_0x5209c4[_0x5d7940(0x102)](__classPrivateFieldGet(Debuglet,_a,'m',_Debuglet_buildRegExp)[_0x5d7940(0xe0)](Debuglet,_0x34e41c[_0x5d7940(0x14b)])),_0x422f93=file_index_1['FileIndex'][_0x5d7940(0xcb)](_0x5cc27e),_0x27ecaa=_0x5209c4[_0x5d7940(0xb1)](/.js.map$/,process[_0x5d7940(0xf9)]()),_0x322d3c=_0x5209c4[_0x5d7940(0x10e)]();return{'mapFiles':_0x27ecaa,'errors':_0x322d3c,'jsFileIndex':_0x422f93,'hash':_0x5209c4[_0x5d7940(0x14d)]};}async[a17_0x39eca5(0x8e)](){const _0x2d0437=a17_0x39eca5;var _0x189015;const _0x1fda06=this,_0x249b5c=_0x1fda06[_0x2d0437(0x10d)][_0x2d0437(0x13d)];if(!_0x1fda06['config'][_0x2d0437(0x99)]&&path[_0x2d0437(0xe5)](_0x249b5c,'..')===_0x249b5c){const _0x30170b='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x2d0437(0x126)+'do\x20this.';_0x1fda06['logger'][_0x2d0437(0xdd)](_0x30170b),_0x1fda06[_0x2d0437(0xd3)](_0x2d0437(0x174),new Error(_0x30170b));return;}let _0x5b93f7;process[_0x2d0437(0xd2)][_0x2d0437(0xef)]&&(_0x5b93f7=_0x2d0437(0xac)+process['env']['GAE_MINOR_VERSION']);let _0x4d126c,_0x4e0501=_0x5b93f7||'';try{_0x4d126c=await this['findFiles'](_0x1fda06[_0x2d0437(0x10d)],_0x5b93f7),_0x4d126c[_0x2d0437(0x10e)]['forEach'](_0x1fda06[_0x2d0437(0x89)][_0x2d0437(0x147)]);}catch(_0x17d8f9){_0x1fda06['logger']['error'](_0x2d0437(0x110),_0x17d8f9),_0x1fda06['emit'](_0x2d0437(0x174),_0x17d8f9);return;}try{const _0x245fab=await SourceMapper[_0x2d0437(0x15a)](_0x4d126c[_0x2d0437(0xea)]);__classPrivateFieldSet(_0x1fda06,_Debuglet_v8debug,debugapi['create'](_0x1fda06[_0x2d0437(0x89)],_0x1fda06[_0x2d0437(0x10d)],_0x4d126c[_0x2d0437(0xa6)],_0x245fab,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x4e0501=_0x5b93f7||_0x4d126c[_0x2d0437(0x14d)];}catch(_0x16ccfa){_0x1fda06[_0x2d0437(0x89)]['error']('Error\x20processing\x20the\x20sourcemaps.',_0x16ccfa),_0x1fda06[_0x2d0437(0xd3)](_0x2d0437(0x174),_0x16ccfa);}_0x1fda06[_0x2d0437(0x89)][_0x2d0437(0x156)](_0x2d0437(0xbb)+_0x4e0501);const _0x4258ea=(0x0,utils_1[_0x2d0437(0xc3)])(_0x1fda06[_0x2d0437(0x89)])[_0x2d0437(0x10b)]('\x0a','');_0x1fda06[_0x2d0437(0x89)][_0x2d0437(0x156)](_0x2d0437(0x82)+_0x4258ea);let _0x5a0d1b;try{_0x5a0d1b=_0x1fda06[_0x2d0437(0x10d)][_0x2d0437(0x144)]||await Debuglet['getSourceContextFromFile']();}catch(_0xe44c25){}this[_0x2d0437(0x10d)][_0x2d0437(0x14c)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x2d0437(0x7f)]()===0x0&&(0x0,utils_1[_0x2d0437(0x130)])(process[_0x2d0437(0x12c)],_0x2d0437(0x16f))&&_0x1fda06[_0x2d0437(0x89)][_0x2d0437(0x147)](utils_1[_0x2d0437(0x10e)]['NODE_10_CIRC_REF_MESSAGE']),_0x1fda06['logger'][_0x2d0437(0x156)](_0x2d0437(0x11e)+((_0x189015=process[_0x2d0437(0xcd)])===null||_0x189015===void 0x0?void 0x0:_0x189015['filename'])),_0x1fda06['logger'][_0x2d0437(0x94)](_0x2d0437(0x104)+_0x249b5c),_0x1fda06[_0x2d0437(0x89)][_0x2d0437(0x94)](_0x2d0437(0x121)),__classPrivateFieldSet(_0x1fda06,_Debuglet_running,!![],'f'),_0x1fda06['debuggee']=(0x0,createDebuggee_1[_0x2d0437(0x100)])(_0x4e0501,_0x1fda06[_0x2d0437(0x10d)],_0x5a0d1b,__classPrivateFieldGet(_0x1fda06,_Debuglet_debug,'f')['packageInfo'],_0x4258ea,_0x1fda06['logger'],__classPrivateFieldGet(_0x1fda06,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x1fda06,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x2d0437(0xe0)](_0x1fda06),__classPrivateFieldGet(_0x1fda06,_Debuglet_instances,'m',_Debuglet_register_)[_0x2d0437(0xe0)](_0x1fda06),_0x1fda06['emit'](_0x2d0437(0x151));}[a17_0x39eca5(0x173)](){const _0x4d6519=a17_0x39eca5;if(Date[_0x4d6519(0x90)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x4d6519(0xfd)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()[_0x4d6519(0xb6)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4d6519(0xa1)]();}}static async[a17_0x39eca5(0x8b)](){const _0x2ad942=a17_0x39eca5,_0x3c9494=await readFilep('source-context.json',_0x2ad942(0x167));try{return JSON[_0x2ad942(0x7d)](_0x3c9494);}catch(_0x5762e5){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x5762e5);}}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x39eca5(0x10c)](){const _0x2c186a=a17_0x39eca5;var _0x1f32e7;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this['logger']['debug'](_0x2c186a(0x107));return;}this['logger'][_0x2c186a(0x94)]('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),(_0x1f32e7=__classPrivateFieldGet(this,_Debuglet_controller,'f'))===null||_0x1f32e7===void 0x0?void 0x0:_0x1f32e7[_0x2c186a(0x145)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0x2c186a(0xd6));}}exports[a17_0x39eca5(0xf4)]=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(_0x377dd5){const _0xd1d214=a17_0x39eca5;return new RegExp(_0x377dd5[_0xd1d214(0x117)](_0x512658=>_0x512658+'$')[_0xd1d214(0xe5)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x587062=a17_0x39eca5,_0x32a2a6=['SIGTERM',_0x587062(0x9b),_0x587062(0xdf)];_0x32a2a6[_0x587062(0xbc)](_0x3e370d=>{const _0x4e09a9=_0x587062;process[_0x4e09a9(0xaf)](_0x3e370d,()=>{const _0x2093b0=_0x4e09a9;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2093b0(0x15c)](this[_0x2093b0(0xab)],()=>{const _0x4e7e8f=_0x2093b0;process[_0x4e7e8f(0x13b)](process[_0x4e7e8f(0x7c)],_0x3e370d);});});}),process['once'](_0x587062(0x16b),()=>{const _0x3fa03b=_0x587062;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x3fa03b(0xab)],()=>{});});},_Debuglet_runningOnGCP=function _Debuglet_runningOnGCP(){const _0x85c4d3=a17_0x39eca5;return metadata[_0x85c4d3(0x16a)]();},_Debuglet_getClusterNameFromMetadata=async function _Debuglet_getClusterNameFromMetadata(){const _0x39a090=a17_0x39eca5;return(await metadata['instance'](_0x39a090(0xc7)))['data'];},_Debuglet_register_=function _Debuglet_register_(){const _0x5a3a05=a17_0x39eca5;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x5a3a05(0xe0)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x4fcbb5){const _0x33bd9c=a17_0x39eca5,_0x390ede=this;_0x390ede[_0x33bd9c(0x89)][_0x33bd9c(0x94)](_0x4fcbb5?_0x33bd9c(0x11a)+_0x4fcbb5+'s':_0x33bd9c(0xad));function _0x526950(_0x1770ca,_0xfc98db,_0x53414b=![]){const _0x19e846=_0x33bd9c;var _0x52c4d4,_0x4f2842;const _0x34d993=((_0x52c4d4=_0x390ede[_0x19e846(0xab)])===null||_0x52c4d4===void 0x0?void 0x0:_0x52c4d4['id'])?_0x19e846(0x146)+((_0x4f2842=_0x390ede[_0x19e846(0xab)])===null||_0x4f2842===void 0x0?void 0x0:_0x4f2842['id'])+':\x20'+_0x1770ca:_0x19e846(0x85)+_0x1770ca;_0x390ede['logger']['error'](_0x34d993),_0xfc98db&&!_0x53414b&&_0x390ede[_0x19e846(0x89)][_0x19e846(0xdd)](_0x19e846(0xe4),_0xfc98db),__classPrivateFieldGet(_0x390ede,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x19e846(0xe0)](_0x390ede,(0x0,utils_1[_0x19e846(0x84)])(_0x4fcbb5,_0x390ede['config'][_0x19e846(0x175)]['maxRequestRetryDelaySeconds']));}setTimeout(()=>{const _0x436313=_0x33bd9c;if(!__classPrivateFieldGet(_0x390ede,_Debuglet_running,'f')){_0x526950(new Error(_0x436313(0x165)));return;}__classPrivateFieldGet(_0x390ede,_Debuglet_controller,'f')['register'](_0x390ede[_0x436313(0xab)],(_0x2e59c9,_0x3222ca,_0x45b72c=![])=>{const _0x4b0a98=_0x436313;if(_0x2e59c9){_0x526950(_0x2e59c9,_0x3222ca,_0x45b72c);return;}if(_0x3222ca[_0x4b0a98(0xab)][_0x4b0a98(0xcf)]){_0x526950(new Error('Disabled\x20by\x20the\x20server')),_0x390ede[_0x4b0a98(0xd3)](_0x4b0a98(0xd7));return;}const _0x159772=_0x3222ca[_0x4b0a98(0xab)]['id'];_0x390ede[_0x4b0a98(0x89)][_0x4b0a98(0x156)](_0x4b0a98(0xb2)+_0x159772),_0x390ede[_0x4b0a98(0xab)]['id']=_0x159772;const _0x3aecdb=[__classPrivateFieldGet(_0x390ede,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x4b0a98(0x7b)](_0x390ede)(_0x390ede[_0x4b0a98(0xab)]['id'])];_0x390ede[_0x4b0a98(0x10d)][_0x4b0a98(0x161)]&&_0x3aecdb['push'](__classPrivateFieldGet(_0x390ede,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x390ede)(_0x390ede[_0x4b0a98(0xab)]['id'])),Promise['all'](_0x3aecdb)[_0x4b0a98(0xb6)](()=>{const _0x940c0e=_0x4b0a98;var _0x1e4eeb;_0x390ede[_0x940c0e(0xd3)](_0x940c0e(0xf3),_0x159772),__classPrivateFieldGet(_0x390ede,_Debuglet_debuggeeRegistered,'f')['resolve'](),(_0x1e4eeb=__classPrivateFieldGet(_0x390ede,_Debuglet_v8debug,'f'))===null||_0x1e4eeb===void 0x0?void 0x0:_0x1e4eeb[_0x940c0e(0xf2)](__classPrivateFieldGet(_0x390ede,_Debuglet_blocklistManager,'f')),!_0x390ede[_0x940c0e(0x75)]&&__classPrivateFieldGet(_0x390ede,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x940c0e(0xe0)](_0x390ede,0x0,this[_0x940c0e(0x10d)][_0x940c0e(0x11b)],_0x3222ca===null||_0x3222ca===void 0x0?void 0x0:_0x3222ca['clientConnectionTimeoutInSeconds']);},_0xe6c5c5=>{_0x526950(_0xe6c5c5);});});},_0x4fcbb5*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x2d6420,_0x16e03d,_0x469a3b){const _0x503311=a17_0x39eca5,_0x9d308f=this;!_0x16e03d&&(_0x9d308f[_0x503311(0x75)]=!![]),setTimeout(()=>{const _0x1357fa=_0x503311;if(!__classPrivateFieldGet(_0x9d308f,_Debuglet_running,'f'))return;!_0x16e03d&&assert(_0x9d308f[_0x1357fa(0x75)]),_0x9d308f[_0x1357fa(0x89)]['debug'](_0x1357fa(0x128)),__classPrivateFieldGet(_0x9d308f,_Debuglet_controller,'f')[_0x1357fa(0x14f)](_0x9d308f['debuggee'],(_0x40ae7a,_0x929187,_0x19596a)=>{const _0x157f7b=_0x1357fa;if((_0x929187===null||_0x929187===void 0x0?void 0x0:_0x929187['status'])===0x194){_0x9d308f['logger'][_0x157f7b(0x156)](_0x157f7b(0xca)),_0x9d308f[_0x157f7b(0x75)]=![],__classPrivateFieldGet(_0x9d308f,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x157f7b(0xe0)](_0x9d308f),__classPrivateFieldGet(_0x9d308f,_Debuglet_instances,'m',_Debuglet_register_)[_0x157f7b(0xe0)](_0x9d308f);return;}if(_0x40ae7a){const _0x5b4a37=(0x0,utils_1[_0x157f7b(0x84)])(_0x2d6420,_0x9d308f['config'][_0x157f7b(0x175)][_0x157f7b(0xdb)]);_0x9d308f[_0x157f7b(0x89)][_0x157f7b(0xdd)](_0x157f7b(0x135)+(_0x929187===null||_0x929187===void 0x0?void 0x0:_0x929187['status'])+_0x157f7b(0x79)+_0x40ae7a[_0x157f7b(0xaa)]+_0x157f7b(0xae)+_0x5b4a37+'s'),__classPrivateFieldGet(_0x9d308f,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x9d308f,_0x5b4a37,_0x16e03d,_0x469a3b);return;}_0x9d308f[_0x157f7b(0x89)]['debug']('\x09'+_0x929187[_0x157f7b(0x113)]+'\x20completed.');if(!_0x19596a){const _0x5b274d=_0x9d308f[_0x157f7b(0x10d)][_0x157f7b(0x152)];_0x9d308f['logger'][_0x157f7b(0xdd)](_0x157f7b(0x115)+_0x5b274d+'s'),__classPrivateFieldGet(_0x9d308f,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x157f7b(0xe0)](_0x9d308f,_0x5b274d,_0x16e03d,_0x469a3b);return;}if(_0x19596a[_0x157f7b(0x13c)]){_0x9d308f[_0x157f7b(0x89)][_0x157f7b(0x156)](_0x157f7b(0x14e)),__classPrivateFieldGet(_0x9d308f,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x157f7b(0xe0)](_0x9d308f,0x0,_0x16e03d,_0x469a3b);return;}if(_0x19596a[_0x157f7b(0x101)]&&_0x19596a[_0x157f7b(0x101)]!==_0x157f7b(0xd1)){const _0x2e2413=this['pipingManager'][_0x157f7b(0x12e)];_0x2e2413!==_0x19596a[_0x157f7b(0x101)]&&(this[_0x157f7b(0x89)][_0x157f7b(0x94)]('Switching\x20globalPiping\x20status\x20from\x20'+_0x2e2413+_0x157f7b(0xc2)+_0x19596a[_0x157f7b(0x101)]),this['pipingManager'][_0x157f7b(0x12e)]=_0x19596a[_0x157f7b(0x101)]);}if(_0x19596a[_0x157f7b(0x159)]&&_0x19596a[_0x157f7b(0x15b)]!==_0x9d308f[_0x157f7b(0x15b)]){_0x9d308f[_0x157f7b(0x15b)]=_0x19596a[_0x157f7b(0x15b)];const _0x2df201=_0x9d308f[_0x157f7b(0x10d)][_0x157f7b(0x169)]['agentLogTargetDir']&&path[_0x157f7b(0xe5)](_0x9d308f['config'][_0x157f7b(0x169)]['agentLogTargetDir'],agent_logger_1[_0x157f7b(0xd0)][_0x157f7b(0x164)]);_0x2df201&&fs['existsSync'](_0x2df201)?setTimeout(()=>__classPrivateFieldGet(_0x9d308f,_Debuglet_controller,'f')['sendAgentLogsToServer'](_0x9d308f[_0x157f7b(0xab)],_0x19596a[_0x157f7b(0x15b)],_0x2df201)):_0x9d308f[_0x157f7b(0x89)][_0x157f7b(0x156)](_0x157f7b(0xff)+_0x19596a[_0x157f7b(0x15b)]+_0x157f7b(0x11c)+_0x157f7b(0x124));}const _0x6f5958=(_0x19596a['breakpoints']||[])['map'](_0x2c3e79=>new stackdriver_1[(_0x157f7b(0x131))](_0x2c3e79))['filter'](_0x38d8cb=>{const _0x134ef6=_0x157f7b,_0x12929c=_0x38d8cb[_0x134ef6(0xf1)]||_0x134ef6(0x116);if(__classPrivateFieldGet(_0x9d308f,_Debuglet_completedBreakpointMap,'f')[_0x38d8cb['id']])return![];if(_0x12929c!==_0x134ef6(0x116)&&_0x12929c!=='LOG')return _0x9d308f[_0x134ef6(0x89)][_0x134ef6(0x147)](_0x134ef6(0xfe),_0x12929c),_0x38d8cb['status']=new status_message_1['StatusMessage'](status_message_1[_0x134ef6(0xb3)][_0x134ef6(0x16c)],utils_1[_0x134ef6(0x10e)][_0x134ef6(0x136)],!![]),__classPrivateFieldGet(_0x9d308f,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x134ef6(0xe0)](_0x9d308f,_0x38d8cb),![];return!![];}),_0x303f75=__classPrivateFieldGet(_0x9d308f,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x157f7b(0xe0)](_0x9d308f);let _0x18bbf6=_0x303f75[_0x157f7b(0x96)]>0x0;__classPrivateFieldGet(_0x9d308f,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x157f7b(0xe0)](_0x9d308f,_0x303f75),_0x18bbf6=_0x18bbf6||__classPrivateFieldGet(_0x9d308f,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x9d308f,_0x6f5958),_0x9d308f[_0x157f7b(0xd3)](_0x157f7b(0xb5),_0x6f5958['length']);_0x18bbf6&&_0x9d308f[_0x157f7b(0x89)][_0x157f7b(0x94)](formatBreakpoints(_0x157f7b(0x10a),_0x9d308f['activeBreakpointMap']));__classPrivateFieldSet(_0x9d308f,_Debuglet_breakpointFetchedTimestamp,Date[_0x157f7b(0x90)](),'f');_0x16e03d?__classPrivateFieldGet(_0x9d308f,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x9d308f,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(_0x9d308f,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x9d308f,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x157f7b(0xe0)](_0x9d308f,0x0,_0x16e03d,_0x469a3b);return;},_0x469a3b);},_0x2d6420*0x3e8)[_0x503311(0x9c)]();},_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_(_0x1afe43){const _0x2612b9=a17_0x39eca5,_0x3e1321=this,_0x2af419=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2612b9(0xe0)](this,_0x1afe43);let _0x5f4ffd=![];return _0x1afe43['forEach'](_0x4ad65c=>{const _0x87c08e=_0x2612b9;!__classPrivateFieldGet(_0x3e1321,_Debuglet_completedBreakpointMap,'f')[_0x4ad65c['id']]&&!_0x3e1321[_0x87c08e(0xf6)][_0x4ad65c['id']]&&(__classPrivateFieldGet(_0x3e1321,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x87c08e(0xe0)](_0x3e1321,_0x4ad65c,_0x300181=>{const _0x5beb2a=_0x87c08e;_0x300181&&__classPrivateFieldGet(_0x3e1321,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x5beb2a(0xe0)](_0x3e1321,_0x4ad65c,!![],![]);}),_0x5f4ffd=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x87c08e(0x162)](_0x4ad65c['id'])),__classPrivateFieldGet(_0x3e1321,_Debuglet_quotaManager,'f')[_0x87c08e(0xf7)](_0x4ad65c['id'],_0x4ad65c['ignoreQuota']),_0x3e1321[_0x87c08e(0x112)][_0x87c08e(0x142)](_0x4ad65c['id'],_0x4ad65c[_0x87c08e(0x71)]);}),(0x0,mapSubtract_1[_0x2612b9(0x12f)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x2af419)[_0x2612b9(0xbc)](_0x344850=>{delete __classPrivateFieldGet(_0x3e1321,_Debuglet_completedBreakpointMap,'f')[_0x344850['id']],_0x5f4ffd=!![];}),(0x0,mapSubtract_1[_0x2612b9(0x12f)])(this[_0x2612b9(0xf6)],_0x2af419)[_0x2612b9(0xbc)](_0x1e089f=>{const _0x260213=_0x2612b9;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x260213(0xe0)](this,_0x1e089f,!![]),_0x5f4ffd=!![];}),_0x5f4ffd&&_0x3e1321[_0x2612b9(0x89)][_0x2612b9(0x94)](formatBreakpoints(_0x2612b9(0x74),_0x2af419)),_0x5f4ffd;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x26534a){const _0x1dd05b=a17_0x39eca5,_0x803fbc={};return _0x26534a[_0x1dd05b(0xbc)](_0x53c5a4=>{_0x803fbc[_0x53c5a4['id']]=_0x53c5a4;}),_0x803fbc;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x420a75,_0x385ba){const _0x659247=a17_0x39eca5;this[_0x659247(0x89)][_0x659247(0x156)](_0x659247(0x153),_0x420a75),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x659247(0xfa)](_0x420a75['id']),this[_0x659247(0x112)][_0x659247(0x8f)](_0x420a75['id']),delete this['activeBreakpointMap'][_0x420a75['id']],_0x385ba&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x659247(0x15f)](_0x420a75,_0x4c46a7=>{const _0x260a74=_0x659247;if(_0x4c46a7)this[_0x260a74(0x89)][_0x260a74(0xdd)](_0x4c46a7);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x40e502,_0x4314f4){const _0x574885=a17_0x39eca5;var _0xe36e54;const _0x2196ae=this;_0x2196ae[_0x574885(0x89)][_0x574885(0x156)](_0x574885(0x9e),_0x40e502);if(!_0x2196ae[_0x574885(0x10d)]['allowExpressions']&&(_0x40e502['condition']||_0x40e502[_0x574885(0xee)])){_0x2196ae[_0x574885(0x89)][_0x574885(0xdd)](utils_1[_0x574885(0x10e)][_0x574885(0xe7)][_0x574885(0x12b)]||''),_0x40e502[_0x574885(0x113)]=new status_message_1[(_0x574885(0xb3))](status_message_1[_0x574885(0xb3)]['UNSPECIFIED'],utils_1['errors']['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x168d62=_0x574885;_0x4314f4(utils_1['errors'][_0x168d62(0xe7)]);});return;}if((0x0,utils_1[_0x574885(0x130)])(process[_0x574885(0x12c)],_0x574885(0x125))){const _0x266cf2=utils_1[_0x574885(0x10e)]['NODE_VERSION_MESSAGE'];_0x2196ae['logger'][_0x574885(0xdd)](_0x266cf2),_0x40e502['status']=new status_message_1['StatusMessage'](status_message_1[_0x574885(0xb3)][_0x574885(0x16c)],_0x266cf2,!![]),setImmediate(()=>{_0x4314f4(_0x266cf2);});return;}const _0x394d20=_0x40e502[_0x574885(0xc0)]?Number(_0x40e502[_0x574885(0xc0)]['seconds']):Date[_0x574885(0x90)]()/0x3e8,_0x445738=_0x40e502[_0x574885(0x13e)]||_0x2196ae[_0x574885(0x10d)][_0x574885(0x172)];_0x40e502['expirationTime']=_0x394d20+_0x445738,((_0xe36e54=_0x40e502[_0x574885(0x163)])===null||_0xe36e54===void 0x0?void 0x0:_0xe36e54[_0x574885(0xb9)])&&(_0x40e502[_0x574885(0x163)]['path']=path['normalize'](_0x40e502['location'][_0x574885(0xb9)]),path['sep']===path['posix'][_0x574885(0x149)]&&(_0x40e502[_0x574885(0x163)][_0x574885(0xb9)]=_0x40e502['location'][_0x574885(0xb9)][_0x574885(0xfb)]('\x5c')[_0x574885(0xe5)](path['sep']))),__classPrivateFieldGet(_0x2196ae,_Debuglet_v8debug,'f')[_0x574885(0xb0)](_0x40e502,_0x507b4a=>{const _0x483736=_0x574885;if(_0x507b4a){_0x4314f4(_0x507b4a);return;}_0x2196ae[_0x483736(0x89)][_0x483736(0x156)](_0x483736(0x148),_0x40e502),_0x2196ae[_0x483736(0xf6)][_0x40e502['id']]=_0x40e502,_0x40e502[_0x483736(0xf1)]===_0x483736(0x108)?__classPrivateFieldGet(_0x2196ae,_Debuglet_v8debug,'f')[_0x483736(0x154)](_0x40e502,(_0x2c27d0,_0x48dbb2)=>{const _0x1550c5=_0x483736;var _0x16091c,_0x45f75a,_0x561a58,_0x1b3a32;const _0x16bc98=_0x48dbb2['map'](_0x26aaf2=>__classPrivateFieldGet(_0x2196ae,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1550c5(0xe0)](_0x2196ae,_0x26aaf2)),_0x5e6010=(0x0,format_1[_0x1550c5(0xd5)])(_0x2c27d0,_0x16bc98),_0x4a38bf=_0x1550c5(0x88)+(((_0x16091c=__classPrivateFieldGet(_0x2196ae,_Debuglet_redactionManager,'f'))===null||_0x16091c===void 0x0?void 0x0:_0x16091c[_0x1550c5(0x111)](_0x5e6010))||_0x5e6010),_0x2b1c5e=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1550c5(0x106)](_0x4a38bf,_0x40e502['id']);if(_0x2b1c5e){const _0x4e1a0a=_0x2b1c5e['message'],_0x4a5902=_0x2b1c5e[_0x1550c5(0xdc)];let _0xa1ee3e,_0x4e3ec4;!((_0x45f75a=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x45f75a===void 0x0?void 0x0:_0x45f75a[_0x1550c5(0xfc)]())&&!_0x4a5902&&(_0xa1ee3e=_0x1550c5(0x88)+_0x2c27d0,_0x4e3ec4=_0x16bc98);_0x2196ae['pipingManager']['addAndPipeLog'](_0x2196ae[_0x1550c5(0xab)],_0x40e502['id'],_0x4e1a0a,_0x40e502[_0x1550c5(0x12a)],_0xa1ee3e,_0x4e3ec4);if(_0x4a5902)(_0x561a58=__classPrivateFieldGet(_0x2196ae,_Debuglet_v8debug,'f'))===null||_0x561a58===void 0x0?void 0x0:_0x561a58[_0x1550c5(0xbe)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x5e1719=_0x1550c5;var _0x26f313;(_0x26f313=__classPrivateFieldGet(_0x2196ae,_Debuglet_v8debug,'f'))===null||_0x26f313===void 0x0?void 0x0:_0x26f313[_0x5e1719(0x15e)](),__classPrivateFieldSet(_0x2196ae,_Debuglet_nextEnableTimeout,null,'f');},_0x2196ae[_0x1550c5(0x10d)]['quota'][_0x1550c5(0x157)]*0x3e8),'f');else(_0x4e1a0a===null||_0x4e1a0a===void 0x0?void 0x0:_0x4e1a0a[_0x1550c5(0x96)])===0x0&&((_0x1b3a32=__classPrivateFieldGet(_0x2196ae,_Debuglet_v8debug,'f'))===null||_0x1b3a32===void 0x0?void 0x0:_0x1b3a32[_0x1550c5(0xbe)]());}},()=>{return __classPrivateFieldGet(_0x2196ae,_Debuglet_completedBreakpointMap,'f')[_0x40e502['id']];},_0x96d03=>{const _0x992f64=_0x483736;if(_0x96d03){_0x2196ae[_0x992f64(0x89)]['error'](_0x96d03),_0x4314f4(_0x96d03);return;}}):__classPrivateFieldGet(_0x2196ae,_Debuglet_v8debug,'f')['wait'](_0x40e502,_0x39f0ba=>{const _0x549efd=_0x483736;if(_0x39f0ba){setImmediate(()=>{const _0x4896b5=a17_0x4503;_0x2196ae['logger'][_0x4896b5(0xdd)](_0x39f0ba),_0x4314f4(_0x39f0ba);});return;}_0x2196ae[_0x549efd(0x89)][_0x549efd(0x156)](_0x549efd(0xa8),_0x40e502),__classPrivateFieldGet(_0x2196ae,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x549efd(0xe0)](_0x2196ae,_0x40e502,__classPrivateFieldGet(_0x2196ae,_Debuglet_v8debug,'f')[_0x549efd(0xd8)](_0x40e502['id'])<=0x0);}),__classPrivateFieldGet(_0x2196ae,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x483736(0xe0)](_0x2196ae,_0x40e502);}),this['emit']('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x2e0213,_0x5521ef,_0x304c3c=!![]){const _0x48907c=a17_0x39eca5;var _0x43f49f,_0x1302c8,_0x3d1ff7,_0x4c607e,_0x51642a,_0x18d1f2;const _0x5147f9=this;if(_0x2e0213['status']&&_0x2e0213[_0x48907c(0x113)]['isError']){let _0x375957=((_0x1302c8=(_0x43f49f=_0x2e0213[_0x48907c(0x113)])===null||_0x43f49f===void 0x0?void 0x0:_0x43f49f['description'])===null||_0x1302c8===void 0x0?void 0x0:_0x1302c8[_0x48907c(0xd5)])||'';((_0x4c607e=(_0x3d1ff7=_0x2e0213[_0x48907c(0x113)])===null||_0x3d1ff7===void 0x0?void 0x0:_0x3d1ff7['description'])===null||_0x4c607e===void 0x0?void 0x0:_0x4c607e[_0x48907c(0xd4)])&&(_0x375957+=':\x20'+((_0x18d1f2=(_0x51642a=_0x2e0213[_0x48907c(0x113)])===null||_0x51642a===void 0x0?void 0x0:_0x51642a[_0x48907c(0x12b)])===null||_0x18d1f2===void 0x0?void 0x0:_0x18d1f2[_0x48907c(0xd4)][_0x48907c(0x171)]())),_0x5147f9['logger']['warn'](_0x48907c(0x7e)+_0x2e0213+'.\x20Error:\x20'+_0x375957);}else _0x5147f9[_0x48907c(0x89)]['info'](_0x48907c(0x7a),_0x2e0213);_0x5521ef&&(__classPrivateFieldGet(_0x5147f9,_Debuglet_completedBreakpointMap,'f')[_0x2e0213['id']]=!![],__classPrivateFieldGet(_0x5147f9,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x5147f9,_0x2e0213,_0x304c3c)),__classPrivateFieldGet(_0x5147f9,_Debuglet_controller,'f')[_0x48907c(0xa4)](_0x5147f9[_0x48907c(0xab)],extend(!![],{},_0x2e0213));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x3894d0){const _0x70f5f6=a17_0x39eca5,_0xe9b469=this;_0xe9b469[_0x70f5f6(0x89)][_0x70f5f6(0x94)](_0x70f5f6(0xce)+_0x3894d0+'\x20accepted\x20by\x20agent');const _0x41d70c=extend(!![],{},_0x3894d0);_0x41d70c[_0x70f5f6(0x91)]=![],_0x41d70c['status']=new status_message_1['StatusMessage'](status_message_1[_0x70f5f6(0xb3)][_0x70f5f6(0x16c)],undefined,![],!![]),__classPrivateFieldGet(_0xe9b469,_Debuglet_controller,'f')[_0x70f5f6(0xa4)](_0xe9b469[_0x70f5f6(0xab)],_0x41d70c);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x4a0894){const _0x267cae=a17_0x39eca5,_0x2098a3=this;this[_0x267cae(0x89)]['info'](_0x267cae(0xd9),_0x4a0894),__classPrivateFieldGet(_0x2098a3,_Debuglet_completedBreakpointMap,'f')[_0x4a0894['id']]=!![],__classPrivateFieldGet(_0x2098a3,_Debuglet_controller,'f')[_0x267cae(0xa4)](_0x2098a3[_0x267cae(0xab)],_0x4a0894);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x17ecb2){const _0x396589=a17_0x39eca5,_0x7b1782=this;_0x17ecb2[_0x396589(0xbc)](_0x1225cd=>{const _0xa61a6f=_0x396589;_0x7b1782[_0xa61a6f(0x89)][_0xa61a6f(0x156)](_0xa61a6f(0xf8),_0x1225cd),__classPrivateFieldGet(_0x7b1782,_Debuglet_completedBreakpointMap,'f')[_0x1225cd['id']]=!![],__classPrivateFieldGet(_0x7b1782,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x7b1782,_0x1225cd,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x100bb8=a17_0x39eca5,_0x376031=Date['now']()/0x3e8;return Object[_0x100bb8(0xed)](this['activeBreakpointMap'])[_0x100bb8(0xe8)](_0x1dd232=>_0x1dd232[_0x100bb8(0xa2)]?_0x1dd232[_0x100bb8(0xa2)]<_0x376031:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x48118d){const _0x4500c2=a17_0x39eca5,_0x327b8d=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4500c2(0x80)](_0x48118d),_0x2a7f81=_0x327b8d[_0x4500c2(0x11f)],_0x424135=_0x327b8d['blacklist_exception'];_0x2a7f81&&_0x2a7f81[_0x4500c2(0x96)]&&this['logger'][_0x4500c2(0x94)]('Blacklist:\x20\x0a\x09',_0x2a7f81[_0x4500c2(0xe5)]('\x0a\x09')),_0x424135&&_0x424135[_0x4500c2(0x96)]&&this['logger']['debug'](_0x4500c2(0x155),_0x424135[_0x4500c2(0xe5)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x4500c2(0x77))](_0x2a7f81,_0x424135,this[_0x4500c2(0x10d)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x6bec31){const _0x2e3098=a17_0x39eca5;var _0x5170fc;const _0x118899=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2e3098(0x150)](_0x6bec31);(_0x118899===null||_0x118899===void 0x0?void 0x0:_0x118899[_0x2e3098(0x96)])&&this[_0x2e3098(0x89)][_0x2e3098(0x94)](_0x2e3098(0x9a),_0x118899[_0x2e3098(0x117)](_0x6584e1=>'name:\x20'+_0x6584e1[_0x2e3098(0x143)]+'\x20(type:\x20'+_0x6584e1['type']+_0x2e3098(0xe9)+_0x6584e1[_0x2e3098(0x160)]+'\x20caseInsensitive:\x20'+_0x6584e1['caseInsensitive'])[_0x2e3098(0xe5)]('\x0a\x09'));if((0x0,utils_1['satisfies'])(process[_0x2e3098(0x12c)],_0x2e3098(0xc9))){const {RedactionManagerRE2JS:_0xb94c7c}=await Promise['resolve']()['then'](()=>require(_0x2e3098(0x105)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0xb94c7c(this['logger']),'f'),(_0x5170fc=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x5170fc===void 0x0?void 0x0:_0x5170fc['setPatterns'](_0x118899);}},_Debuglet_stringify=function _Debuglet_stringify(_0xd70b1d){const _0x38a305=a17_0x39eca5;if(!_0xd70b1d)return JSON[_0x38a305(0x78)](_0xd70b1d,(_0x2a0497,_0x141183)=>_0x141183===undefined?_0x38a305(0xeb):_0x141183);if(Array[_0x38a305(0xc1)](_0xd70b1d)){const _0x27fdb7=[];for(const _0x8d7afd of _0xd70b1d){_0x27fdb7[_0x38a305(0x10f)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x38a305(0xe0)](this,_0x8d7afd));}return'['+_0x27fdb7[_0x38a305(0xe5)](',\x20')+']';}if(typeof _0xd70b1d===_0x38a305(0xda)){const _0x121592=Object[_0x38a305(0x109)](_0xd70b1d)[_0x38a305(0x117)](([_0x346c6f,_0x2de3eb])=>{const _0x151ae6=_0x38a305;var _0x4fbc63;const _0x25b78e=((_0x4fbc63=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f'))===null||_0x4fbc63===void 0x0?void 0x0:_0x4fbc63[_0x151ae6(0x13f)](_0x346c6f))?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x151ae6(0xe0)](this,_0x2de3eb);return JSON[_0x151ae6(0x78)](_0x346c6f)+':\x20'+_0x25b78e;})[_0x38a305(0xe5)](',\x20');return'{'+_0x121592+'}';}return JSON[_0x38a305(0x78)](_0xd70b1d);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a18_0x5d7621=a18_0x869e;(function(_0x9ad007,_0x4bfe1a){const _0x296edf=a18_0x869e,_0x133b3c=_0x9ad007();while(!![]){try{const _0x486d51=-parseInt(_0x296edf(0x1e4))/0x1*(parseInt(_0x296edf(0x1f1))/0x2)+-parseInt(_0x296edf(0x1d8))/0x3*(parseInt(_0x296edf(0x1f5))/0x4)+-parseInt(_0x296edf(0x20b))/0x5*(-parseInt(_0x296edf(0x1e9))/0x6)+parseInt(_0x296edf(0x204))/0x7*(parseInt(_0x296edf(0x1dd))/0x8)+-parseInt(_0x296edf(0x206))/0x9*(parseInt(_0x296edf(0x1f8))/0xa)+parseInt(_0x296edf(0x20c))/0xb+parseInt(_0x296edf(0x1f9))/0xc*(parseInt(_0x296edf(0x1ef))/0xd);if(_0x486d51===_0x4bfe1a)break;else _0x133b3c['push'](_0x133b3c['shift']());}catch(_0x3641ba){_0x133b3c['push'](_0x133b3c['shift']());}}}(a18_0x5aa6,0xe8048));function a18_0x5aa6(){const _0x7b7396=['__esModule','17365hYPhuG','1805705sfDLhb','procArch','/etc/os-release','versions','linux','Node.js\x20','MacOS','osVersion','_osRelease','arm','warn','utf-8','arch','VERSION_ID','linuxDistroName','2758443XrakiG','host','assert','readFileSync','arm64','4582552JrLHpH','get','Windows','_logger','defineProperty','toString','hostname','1kYoTZT','split','cpuCoreCount','existsSync','isInDocker','3006ljQJWh','search','constructor','isInK8s','x64','runtimeEnvironmentInfo','2863302kGmuot','(((.+)+)+)+$','2200996hfZsET','totalmem','agentOS','version','4CLGGfE','Linux','release','70480yZbsll','48KIBnbW','pid','_cachedOsRelease','systemTotalMemoryBytes','platform','KUBERNETES_SERVICE_HOST','windows','EnvironmentMetadata','error','/.dockerenv','replace','7LCnAXE','node','495EyeQuK','getProps','x32','trim'];a18_0x5aa6=function(){return _0x7b7396;};return a18_0x5aa6();}function a18_0x869e(_0x363991,_0x1013b9){const _0x2cdeef=a18_0x5aa6();return a18_0x869e=function(_0x34227c,_0xfe4b39){_0x34227c=_0x34227c-0x1d7;let _0x5aa65b=_0x2cdeef[_0x34227c];return _0x5aa65b;},a18_0x869e(_0x363991,_0x1013b9);}Object[a18_0x5d7621(0x1e1)](exports,a18_0x5d7621(0x20a),{'value':!![]}),exports[a18_0x5d7621(0x200)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a18_0x5d7621(0x1da));var OS;(function(_0x537914){const _0x3efbc0=a18_0x5d7621,_0x498eba=(function(){let _0x10bbde=!![];return function(_0xb4ea78,_0x41f442){const _0x341b34=_0x10bbde?function(){if(_0x41f442){const _0x3e6b08=_0x41f442['apply'](_0xb4ea78,arguments);return _0x41f442=null,_0x3e6b08;}}:function(){};return _0x10bbde=![],_0x341b34;};}()),_0x1f7da6=_0x498eba(this,function(){const _0x5362f=a18_0x869e;return _0x1f7da6[_0x5362f(0x1e2)]()['search'](_0x5362f(0x1f0))[_0x5362f(0x1e2)]()[_0x5362f(0x1eb)](_0x1f7da6)[_0x5362f(0x1ea)](_0x5362f(0x1f0));});_0x1f7da6(),_0x537914['Linux']=_0x3efbc0(0x210),_0x537914[_0x3efbc0(0x1df)]=_0x3efbc0(0x1ff),_0x537914[_0x3efbc0(0x212)]='mac';}(OS||(OS={})));var ProcArch;(function(_0x35474b){const _0x29c56a=a18_0x5d7621;_0x35474b[_0x29c56a(0x1ed)]='x64',_0x35474b[_0x29c56a(0x208)]=_0x29c56a(0x208),_0x35474b[_0x29c56a(0x215)]=_0x29c56a(0x215),_0x35474b[_0x29c56a(0x1dc)]=_0x29c56a(0x1dc);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS[a18_0x5d7621(0x1df)],'darwin':OS['MacOS']},ArchToProcArchMap={'x32':ProcArch[a18_0x5d7621(0x208)],'x64':ProcArch[a18_0x5d7621(0x1ed)],'arm':ProcArch['arm'],'arm64':ProcArch[a18_0x5d7621(0x1dc)]};class EnvironmentMetadata{constructor(_0x4f69ef){const _0x59c15f=a18_0x5d7621;assert(_0x4f69ef!==null),this[_0x59c15f(0x1e0)]=_0x4f69ef;}get['runtimeEnvironmentVersion'](){const _0x597465=a18_0x5d7621;try{const _0x4b69fb=process[_0x597465(0x20f)][_0x597465(0x205)]['match'](/(\d+\.\d+)\..*/);if(_0x4b69fb)return _0x4b69fb[0x1];}catch(_0x1ae4fa){this[_0x597465(0x1e0)][_0x597465(0x201)](_0x1ae4fa);}return;}get[a18_0x5d7621(0x1ee)](){const _0x556057=a18_0x5d7621;return _0x556057(0x211)+process[_0x556057(0x1f4)]+'\x20on\x20'+(0x0,os_1[_0x556057(0x1fd)])()+'\x20'+(0x0,os_1[_0x556057(0x1f7)])();}get[a18_0x5d7621(0x1fa)](){return process['pid']['toString']();}get['procArch'](){const _0x38d220=a18_0x5d7621;return ArchToProcArchMap[process['arch']]||process[_0x38d220(0x218)];}get[a18_0x5d7621(0x1e6)](){return(0x0,os_1['cpus'])()['length'];}get['systemTotalMemoryBytes'](){const _0xc1841d=a18_0x5d7621;return(0x0,os_1[_0xc1841d(0x1f2)])();}get['host'](){const _0x3e7e49=a18_0x5d7621;return(0x0,os_1[_0x3e7e49(0x1e3)])();}get[a18_0x5d7621(0x1f3)](){return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1['platform'])();}get[a18_0x5d7621(0x213)](){const _0x1c4f95=a18_0x5d7621;try{if(this[_0x1c4f95(0x1f3)]===OS['Linux'])return this['_osRelease'][_0x1c4f95(0x1de)](_0x1c4f95(0x219))||(0x0,os_1['release'])();return(0x0,os_1[_0x1c4f95(0x1f7)])();}catch(_0x3ef125){this[_0x1c4f95(0x1e0)][_0x1c4f95(0x201)](_0x3ef125);}return;}get['linuxDistroName'](){const _0x35c921=a18_0x5d7621;return this[_0x35c921(0x1f3)]===OS['Linux']&&this['_osRelease'][_0x35c921(0x1de)]('ID')||'';}get[a18_0x5d7621(0x1e8)](){const _0x1a7247=a18_0x5d7621;return this['agentOS']===OS[_0x1a7247(0x1f6)]?(0x0,fs_1[_0x1a7247(0x1e7)])(_0x1a7247(0x202)):![];}get['isInK8s'](){const _0x45050c=a18_0x5d7621;return!!process['env'][_0x45050c(0x1fe)];}get[a18_0x5d7621(0x214)](){const _0x510849=a18_0x5d7621;if(!this[_0x510849(0x1fb)]){this[_0x510849(0x1fb)]=new Map();try{if(this[_0x510849(0x1f3)]===OS['Linux']){const _0x334ebe=(0x0,fs_1[_0x510849(0x1db)])(_0x510849(0x20e),_0x510849(0x217));_0x334ebe[_0x510849(0x1e5)](/\r?\n/)['forEach'](_0x4740ec=>{const _0x1ec4c2=_0x510849;var _0xe1231e;const [_0x19bc9c,_0x24bf11]=_0x4740ec[_0x1ec4c2(0x209)]()['split']('=');(_0xe1231e=this[_0x1ec4c2(0x1fb)])===null||_0xe1231e===void 0x0?void 0x0:_0xe1231e['set'](_0x19bc9c,(_0x24bf11===null||_0x24bf11===void 0x0?void 0x0:_0x24bf11[_0x1ec4c2(0x203)](/^"|"$/g,''))||'');});}}catch(_0x525721){this[_0x510849(0x1e0)][_0x510849(0x216)]('Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release',_0x525721);}}return this[_0x510849(0x1fb)];}[a18_0x5d7621(0x207)](){const _0x1dd5a2=a18_0x5d7621;return{'runtimeEnvironmentVersion':this['runtimeEnvironmentVersion'],'runtimeEnvironmentInfo':this[_0x1dd5a2(0x1ee)],'pid':this[_0x1dd5a2(0x1fa)],'cpuCoreCount':this[_0x1dd5a2(0x1e6)],'systemTotalMemoryBytes':this[_0x1dd5a2(0x1fc)],'host':this[_0x1dd5a2(0x1d9)],'agentOS':this[_0x1dd5a2(0x1f3)],'osVersion':this[_0x1dd5a2(0x213)],'linuxDistroName':this[_0x1dd5a2(0x1d7)]||undefined,'isInDocker':this[_0x1dd5a2(0x1e8)],'isInK8s':this[_0x1dd5a2(0x1ec)],'procArch':this[_0x1dd5a2(0x20d)]};}}exports[a18_0x5d7621(0x200)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x3c37c0=a19_0x1e4c;(function(_0x3b22ef,_0x4e91be){const _0x18f70b=a19_0x1e4c,_0x3a647c=_0x3b22ef();while(!![]){try{const _0x3a68b8=parseInt(_0x18f70b(0xc8))/0x1*(parseInt(_0x18f70b(0xc9))/0x2)+-parseInt(_0x18f70b(0xe8))/0x3+-parseInt(_0x18f70b(0xd4))/0x4+-parseInt(_0x18f70b(0xc7))/0x5*(parseInt(_0x18f70b(0xde))/0x6)+parseInt(_0x18f70b(0xdb))/0x7*(-parseInt(_0x18f70b(0xe5))/0x8)+-parseInt(_0x18f70b(0xd0))/0x9+parseInt(_0x18f70b(0xe2))/0xa*(parseInt(_0x18f70b(0xd7))/0xb);if(_0x3a68b8===_0x4e91be)break;else _0x3a647c['push'](_0x3a647c['shift']());}catch(_0x43594b){_0x3a647c['push'](_0x3a647c['shift']());}}}(a19_0x2660,0x9f11a));const a19_0x2dfdbb=(function(){let _0x310235=!![];return function(_0x3123f3,_0x447f4d){const _0x47f290=_0x310235?function(){if(_0x447f4d){const _0x3f9d8d=_0x447f4d['apply'](_0x3123f3,arguments);return _0x447f4d=null,_0x3f9d8d;}}:function(){};return _0x310235=![],_0x47f290;};}()),a19_0x402730=a19_0x2dfdbb(this,function(){const _0x4e762d=a19_0x1e4c;return a19_0x402730[_0x4e762d(0xe1)]()['search']('(((.+)+)+)+$')[_0x4e762d(0xe1)]()[_0x4e762d(0xd3)](a19_0x402730)[_0x4e762d(0xdf)]('(((.+)+)+)+$');});a19_0x402730();'use strict';Object['defineProperty'](exports,a19_0x3c37c0(0xd6),{'value':!![]}),exports['FileIndex']=void 0x0;function a19_0x2660(){const _0x469c95=['buildIndex','181312srGyHC','generateSubPaths','filter','3220719mBiJOw','path','5CQblkZ','11XqUfCA','9014ByCiwu','indexOf','min','FileIndex','sep','has','fromFileStats','7917615TRGVzV','fileStats','fileIndex','constructor','3802408idwOHz','map','__esModule','22dOKqYv','findShortestFuzzyMatches','substr','_fileStats','217ejaQNq','stripStartingSep','length','4994394qnqOug','search','size','toString','25204310jEahBJ','get'];a19_0x2660=function(){return _0x469c95;};return a19_0x2660();}const path=require(a19_0x3c37c0(0xc6));class FileIndex{constructor(_0x4ac026){const _0x2c3e9b=a19_0x3c37c0;this[_0x2c3e9b(0xda)]=_0x4ac026,this[_0x2c3e9b(0xd2)]=new Map();}static[a19_0x3c37c0(0xcf)](_0x3d933c){const _0x2a1d35=a19_0x3c37c0,_0x439431=new FileIndex(_0x3d933c);return _0x439431[_0x2a1d35(0xe4)](Object['keys'](_0x3d933c)||[]),_0x439431;}static['fromFileList'](_0x33a777){const _0x5d4d30=a19_0x3c37c0,_0x5bf766=new FileIndex(undefined);return _0x5bf766[_0x5d4d30(0xe4)](_0x33a777||[]),_0x5bf766;}get[a19_0x3c37c0(0xd1)](){return this['_fileStats']||{};}[a19_0x3c37c0(0xd8)](_0x5d7d9e){const _0x2cf4cf=a19_0x3c37c0,_0x4bc596=this[_0x2cf4cf(0xdf)](_0x5d7d9e);if(!_0x4bc596||_0x4bc596[_0x2cf4cf(0xe0)]===0x0)return[];const _0x481be8=[..._0x4bc596][_0x2cf4cf(0xd5)](_0x49e191=>_0x49e191['length']),_0x280ec5=Math[_0x2cf4cf(0xcb)](..._0x481be8),_0x5671ff=[..._0x4bc596][_0x2cf4cf(0xe7)](_0x263060=>_0x263060[_0x2cf4cf(0xdd)]===_0x280ec5);return _0x5671ff;}['buildIndex'](_0x39886f){const _0x59c2b0=a19_0x3c37c0;for(const _0xf47d6f of _0x39886f){for(const _0x2b4148 of this['generateSubPaths'](_0xf47d6f)){let _0x4952fc=this['fileIndex'][_0x59c2b0(0xe3)](_0x2b4148);_0x4952fc===undefined&&(_0x4952fc=new Set(),this[_0x59c2b0(0xd2)]['set'](_0x2b4148,_0x4952fc)),_0x4952fc['add'](_0xf47d6f);}}}[a19_0x3c37c0(0xe6)](_0xe1f3b2){const _0x55e028=a19_0x3c37c0;_0xe1f3b2=this[_0x55e028(0xdc)](_0xe1f3b2);const _0x3cd5cf=[_0xe1f3b2];while(_0xe1f3b2['indexOf'](path[_0x55e028(0xcd)])>=0x0){_0xe1f3b2=_0xe1f3b2['substring'](_0xe1f3b2[_0x55e028(0xca)](path['sep'])+path['sep']['length'],_0xe1f3b2['length']),_0x3cd5cf['push'](_0xe1f3b2);}return _0x3cd5cf;}[a19_0x3c37c0(0xdf)](_0xe6f798){const _0x182310=a19_0x3c37c0;if(!_0xe6f798)return undefined;_0xe6f798=this[_0x182310(0xdc)](_0xe6f798);for(const _0x340316 of this[_0x182310(0xe6)](_0xe6f798)){if(this['fileIndex'][_0x182310(0xce)](_0x340316))return this[_0x182310(0xd2)][_0x182310(0xe3)](_0x340316);}return undefined;}[a19_0x3c37c0(0xdc)](_0x241cfb){const _0x1eaf2e=a19_0x3c37c0;if(_0x241cfb&&(_0x241cfb[0x0]==='/'||_0x241cfb[0x0]==='\x5c'))return _0x241cfb[_0x1eaf2e(0xd9)](0x1);return _0x241cfb;}}function a19_0x1e4c(_0x152f50,_0x2bd492){const _0x3defc2=a19_0x2660();return a19_0x1e4c=function(_0x402730,_0x2dfdbb){_0x402730=_0x402730-0xc6;let _0x2660c2=_0x3defc2[_0x402730];return _0x2660c2;},a19_0x1e4c(_0x152f50,_0x2bd492);}exports[a19_0x3c37c0(0xcc)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x423a06=a20_0x575a;(function(_0x1d3b7e,_0x27406b){const _0x4dca36=a20_0x575a,_0x373d49=_0x1d3b7e();while(!![]){try{const _0x21f9b2=parseInt(_0x4dca36(0xa1))/0x1*(-parseInt(_0x4dca36(0xa7))/0x2)+-parseInt(_0x4dca36(0xa3))/0x3*(-parseInt(_0x4dca36(0xac))/0x4)+parseInt(_0x4dca36(0xb1))/0x5+-parseInt(_0x4dca36(0xb2))/0x6+-parseInt(_0x4dca36(0xb4))/0x7+-parseInt(_0x4dca36(0xa8))/0x8+parseInt(_0x4dca36(0xa5))/0x9;if(_0x21f9b2===_0x27406b)break;else _0x373d49['push'](_0x373d49['shift']());}catch(_0x562b44){_0x373d49['push'](_0x373d49['shift']());}}}(a20_0x3d70,0x6a6ac));const a20_0x469e30=(function(){let _0x1548c4=!![];return function(_0x54a393,_0x1941e1){const _0x4976ca=_0x1548c4?function(){const _0x3a41c5=a20_0x575a;if(_0x1941e1){const _0x39f14a=_0x1941e1[_0x3a41c5(0xa9)](_0x54a393,arguments);return _0x1941e1=null,_0x39f14a;}}:function(){};return _0x1548c4=![],_0x4976ca;};}()),a20_0x2509d1=a20_0x469e30(this,function(){const _0x3f6d28=a20_0x575a;return a20_0x2509d1[_0x3f6d28(0xb3)]()[_0x3f6d28(0xb8)](_0x3f6d28(0xab))['toString']()[_0x3f6d28(0x9c)](a20_0x2509d1)[_0x3f6d28(0xb8)](_0x3f6d28(0xab));});a20_0x2509d1();'use strict';Object[a20_0x423a06(0xb7)](exports,a20_0x423a06(0x9d),{'value':!![]}),exports[a20_0x423a06(0x9f)]=void 0x0;const path=require('path');function a20_0x575a(_0x1106e2,_0x1efb14){const _0x3d8ee7=a20_0x3d70();return a20_0x575a=function(_0x2509d1,_0x469e30){_0x2509d1=_0x2509d1-0x9c;let _0x3d7026=_0x3d8ee7[_0x2509d1];return _0x3d7026;},a20_0x575a(_0x1106e2,_0x1efb14);}function a20_0x3d70(){const _0x5854d8=['toString','694309NFpAwq','sep','errorMap','defineProperty','search','constructor','__esModule','errors','ScanResultsImpl','selectFiles','37dCiLFp','normalize','491769hEHOpw','stats','11219616lduftf','filter','3050DcLEwC','4197048HeyTkq','apply','forEach','(((.+)+)+)+$','12KDWhmb','test','map','keys','all','879320hxLJFz','4788780pukqby'];a20_0x3d70=function(){return _0x5854d8;};return a20_0x3d70();}class ScanResultsImpl{constructor(_0x44c539,_0x589794,_0x481278){const _0x5ca987=a20_0x423a06;this[_0x5ca987(0xa4)]=_0x44c539,this[_0x5ca987(0xb6)]=_0x589794,this['hash']=_0x481278;}[a20_0x423a06(0x9e)](){return this['errorMap'];}[a20_0x423a06(0xb0)](){return this['stats'];}['selectStats'](_0x45161d){const _0x2ec409=a20_0x423a06,_0x177f0d={};return Object[_0x2ec409(0xaf)](this[_0x2ec409(0xa4)])[_0x2ec409(0xaa)](_0x19c215=>{const _0xa1bec=_0x2ec409;_0x45161d['test'](_0x19c215)&&(_0x177f0d[_0x19c215]=this[_0xa1bec(0xa4)][_0x19c215]);}),_0x177f0d;}[a20_0x423a06(0xa0)](_0x2a339e,_0x33e3f8){const _0x5d042b=a20_0x423a06;return _0x33e3f8=path[_0x5d042b(0xa2)](_0x33e3f8+path[_0x5d042b(0xb5)]),Object[_0x5d042b(0xaf)](this[_0x5d042b(0xa4)])[_0x5d042b(0xa6)](_0x2c02a8=>{const _0x1b2242=_0x5d042b;return _0x2c02a8&&_0x2a339e[_0x1b2242(0xad)](_0x2c02a8);})[_0x5d042b(0xae)](_0x215fdb=>{const _0x41ff81=_0x5d042b;return path[_0x41ff81(0xa2)](_0x215fdb)['replace'](_0x33e3f8,'');});}}exports[a20_0x423a06(0x9f)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a21_0x43f9(_0x2b2100,_0x51eda5){const _0x41f4a5=a21_0xc4d2();return a21_0x43f9=function(_0x23e512,_0x26f383){_0x23e512=_0x23e512-0x18e;let _0xc4d272=_0x41f4a5[_0x23e512];return _0xc4d272;},a21_0x43f9(_0x2b2100,_0x51eda5);}function a21_0xc4d2(){const _0x219815=['243SZQVfu','hash','join','constructor','resolve','2bcHJra','info','logger','3358510YJxqWM','length','hasReadAccess','open','120330rebUfn','findFiles','19956IqxehL','file','can\x27t\x20access\x20path:\x20[','error','computeStats','createHash','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','node_modules','crypto','set','EMPTY-no-js-files','accessSync','startsWith','constants','175320AWuZWy','R_OK','sha1','warn','basename','Specified\x20extraPaths\x20does\x20not\x20exist!','(((.+)+)+)+$','findit2','data','search','SHA1-','push','ScanResultsImpl','pipe','11411019DFGsKY','end','add','toString','10jmmePs','directory','split','digest','update','1283858QKvFZs','defineProperty','path','sort','Scanner','hex','createReadStream','Indexing\x20files\x20in\x20','__esModule','test','addFilesFromDir','228SValRL','26425520sEZoQC','statsForFile'];a21_0xc4d2=function(){return _0x219815;};return a21_0xc4d2();}const a21_0x135687=a21_0x43f9;(function(_0x35912d,_0xb4179c){const _0x4b4288=a21_0x43f9,_0x15865f=_0x35912d();while(!![]){try{const _0x35c90c=-parseInt(_0x4b4288(0x1a9))/0x1*(parseInt(_0x4b4288(0x196))/0x2)+-parseInt(_0x4b4288(0x1a4))/0x3*(parseInt(_0x4b4288(0x1b2))/0x4)+-parseInt(_0x4b4288(0x1ac))/0x5+parseInt(_0x4b4288(0x1a1))/0x6*(-parseInt(_0x4b4288(0x1b0))/0x7)+parseInt(_0x4b4288(0x1c0))/0x8+parseInt(_0x4b4288(0x1ce))/0x9+parseInt(_0x4b4288(0x191))/0xa*(parseInt(_0x4b4288(0x1a2))/0xb);if(_0x35c90c===_0xb4179c)break;else _0x15865f['push'](_0x15865f['shift']());}catch(_0x4b4576){_0x15865f['push'](_0x15865f['shift']());}}}(a21_0xc4d2,0xa5d45));const a21_0x26f383=(function(){let _0x43e966=!![];return function(_0x1b4a7c,_0xb45f7c){const _0x250e3b=_0x43e966?function(){if(_0xb45f7c){const _0x451ed0=_0xb45f7c['apply'](_0x1b4a7c,arguments);return _0xb45f7c=null,_0x451ed0;}}:function(){};return _0x43e966=![],_0x250e3b;};}()),a21_0x23e512=a21_0x26f383(this,function(){const _0x5590e=a21_0x43f9;return a21_0x23e512[_0x5590e(0x190)]()[_0x5590e(0x1c9)](_0x5590e(0x1c6))['toString']()[_0x5590e(0x1a7)](a21_0x23e512)[_0x5590e(0x1c9)]('(((.+)+)+)+$');});a21_0x23e512();'use strict';Object[a21_0x135687(0x197)](exports,a21_0x135687(0x19e),{'value':!![]}),exports[a21_0x135687(0x19a)]=void 0x0;const crypto=require(a21_0x135687(0x1ba)),fs=require('fs'),path=require(a21_0x135687(0x198)),scan_results_1=require('./scan-results');class Scanner{constructor(_0x174ca1){const _0x477c9a=a21_0x135687;this[_0x477c9a(0x1ab)]=_0x174ca1;}async['scan'](_0x9417da,_0x27c94c,_0x3334da,_0x4076e4){const _0x411819=a21_0x135687,_0x48469c=await this['findFiles'](_0x9417da,_0x27c94c,_0x4076e4);return this[_0x411819(0x1b6)](_0x48469c,_0x3334da);}[a21_0x135687(0x1b6)](_0x34d700,_0x105f49){return new Promise(async _0x329e47=>{const _0x26afb3=a21_0x43f9;if(_0x34d700[_0x26afb3(0x1ad)]===0x0){_0x329e47(new scan_results_1['ScanResultsImpl']({},new Map(),_0x26afb3(0x1bc)));return;}const _0x226eb4=[],_0x261b4e={},_0x416198=new Map();for(const _0x14de45 of _0x34d700){try{const _0x1207a2=await this[_0x26afb3(0x1a3)](_0x14de45,!_0x105f49);!_0x105f49&&_0x226eb4[_0x26afb3(0x1cb)](_0x1207a2[_0x26afb3(0x1a5)]),_0x261b4e[_0x14de45]=_0x1207a2;}catch(_0x53ef0f){_0x416198[_0x26afb3(0x1bb)](_0x14de45,_0x53ef0f);}}let _0x82bcee;if(!_0x105f49){const _0x30620f=_0x226eb4[_0x26afb3(0x199)]()[_0x26afb3(0x1a6)](),_0x55af04=crypto[_0x26afb3(0x1b7)](_0x26afb3(0x1c2))[_0x26afb3(0x195)](_0x30620f)[_0x26afb3(0x194)](_0x26afb3(0x19b));_0x82bcee=_0x26afb3(0x1ca)+_0x55af04;}else _0x82bcee=_0x105f49;_0x329e47(new scan_results_1[(_0x26afb3(0x1cc))](_0x261b4e,_0x416198,_0x82bcee));});}async[a21_0x135687(0x1b1)](_0x1a5ab3,_0x2e697b,_0x3d220a){const _0x4f31fe=a21_0x135687,_0x1dd6ff=new Set();await this[_0x4f31fe(0x1a0)](_0x1dd6ff,_0x1a5ab3,_0x2e697b);for(const _0xae518 of _0x3d220a!==null&&_0x3d220a!==void 0x0?_0x3d220a:[]){if(_0xae518){const _0x5d7c89=path[_0x4f31fe(0x1a8)](_0xae518);try{await this[_0x4f31fe(0x1a0)](_0x1dd6ff,_0x5d7c89,_0x2e697b);}catch(_0x3ad8eb){this[_0x4f31fe(0x1ab)]['error'](_0x4f31fe(0x1c5),_0x3ad8eb);continue;}}}return Array['from'](_0x1dd6ff);}static[a21_0x135687(0x1ae)](_0x3c4540){const _0x53c8a5=a21_0x135687;try{return fs[_0x53c8a5(0x1bd)](_0x3c4540,fs[_0x53c8a5(0x1bf)][_0x53c8a5(0x1c1)]),!![];}catch(_0x1f07ed){return![];}}async[a21_0x135687(0x1a0)](_0x10d653,_0xce8494,_0x9ee77e){return new Promise((_0x5b159a,_0x5dfb0f)=>{const _0xda7f18=a21_0x43f9;let _0x25c331;if(!_0xce8494){_0x5dfb0f(new Error(_0xda7f18(0x1b8)));return;}this[_0xda7f18(0x1ab)][_0xda7f18(0x1aa)](_0xda7f18(0x19d)+path['resolve'](_0xce8494));const _0x3d5bf2=findit(_0xce8494);_0x3d5bf2['on']('error',_0x59d576=>{_0x25c331=_0x59d576;return;}),_0x3d5bf2['on'](_0xda7f18(0x192),(_0x4cd523,_0x134bee,_0x5db52c)=>{const _0x2969e4=_0xda7f18,_0x2d28ee=path[_0x2969e4(0x1c4)](_0x4cd523);!Scanner[_0x2969e4(0x1ae)](_0x4cd523)&&(this['logger'][_0x2969e4(0x1c3)](_0x2969e4(0x1b4)+path[_0x2969e4(0x1a8)](_0x4cd523)+'],\x20due\x20to\x20lack\x20of\x20read\x20permissions'),_0x5db52c()),(_0x2d28ee==='.git'||_0x2d28ee===_0x2969e4(0x1b9))&&(!path[_0x2969e4(0x1a8)](_0xce8494)[_0x2969e4(0x1be)](path[_0x2969e4(0x1a8)](_0x4cd523))&&_0x5db52c());}),_0x3d5bf2['on'](_0xda7f18(0x1b3),_0x165bbd=>{const _0x19db65=_0xda7f18;_0x9ee77e[_0x19db65(0x19f)](_0x165bbd)&&_0x10d653[_0x19db65(0x18f)](_0x165bbd);}),_0x3d5bf2['on'](_0xda7f18(0x18e),()=>{_0x25c331?_0x5dfb0f(_0x25c331):_0x5b159a();});});}async['statsForFile'](_0x5cc81d,_0x2f5eeb){return new Promise((_0x3901f8,_0xff8736)=>{const _0xedf0de=a21_0x43f9,_0xca889=fs[_0xedf0de(0x19c)](_0x5cc81d);_0xca889['on'](_0xedf0de(0x1b5),_0xc7d267=>{_0xff8736(_0xc7d267);}),_0xca889['on'](_0xedf0de(0x1af),()=>{const _0x4c81cb=_0xedf0de;let _0xc11b66;_0x2f5eeb&&(_0xc11b66=crypto[_0x4c81cb(0x1b7)](_0x4c81cb(0x1c2)));let _0xaa93e8=0x0,_0x289b8d;const _0x19647d=_0xca889[_0x4c81cb(0x1cd)](split());_0x19647d['on'](_0x4c81cb(0x1b5),_0x2dbecb=>{_0x289b8d=_0x2dbecb;}),_0x19647d['on'](_0x4c81cb(0x1c8),_0x543c4f=>{_0x2f5eeb&&_0xc11b66['update'](_0x543c4f),_0xaa93e8++;}),_0x19647d['on'](_0x4c81cb(0x18e),()=>{const _0x1fd982=_0x4c81cb;if(_0x289b8d)_0xff8736(_0x289b8d);else{const _0x16cc82=_0x2f5eeb?_0xc11b66[_0x1fd982(0x194)](_0x1fd982(0x19b)):undefined;_0x3901f8({'hash':_0x16cc82,'lines':_0xaa93e8});}});});});}}exports[a21_0x135687(0x19a)]=Scanner;const findit=require(a21_0x135687(0x1c7)),split=require(a21_0x135687(0x193));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x21b6c9=a22_0x38b9;(function(_0x12f2ae,_0x5c8a52){const _0x20e5a6=a22_0x38b9,_0x15b4dc=_0x12f2ae();while(!![]){try{const _0xed22b5=-parseInt(_0x20e5a6(0x1ef))/0x1+-parseInt(_0x20e5a6(0x1c6))/0x2*(parseInt(_0x20e5a6(0x1e1))/0x3)+-parseInt(_0x20e5a6(0x1ed))/0x4+parseInt(_0x20e5a6(0x1ce))/0x5*(parseInt(_0x20e5a6(0x1e2))/0x6)+parseInt(_0x20e5a6(0x1f3))/0x7*(-parseInt(_0x20e5a6(0x1da))/0x8)+-parseInt(_0x20e5a6(0x1dc))/0x9*(parseInt(_0x20e5a6(0x1eb))/0xa)+parseInt(_0x20e5a6(0x1d4))/0xb;if(_0xed22b5===_0x5c8a52)break;else _0x15b4dc['push'](_0x15b4dc['shift']());}catch(_0x231527){_0x15b4dc['push'](_0x15b4dc['shift']());}}}(a22_0x54e2,0xe843d));const a22_0x4c9ee2=(function(){let _0x2425f6=!![];return function(_0x15dd32,_0x123f31){const _0x397b1e=_0x2425f6?function(){const _0x3c60f5=a22_0x38b9;if(_0x123f31){const _0x19b9c0=_0x123f31[_0x3c60f5(0x1b5)](_0x15dd32,arguments);return _0x123f31=null,_0x19b9c0;}}:function(){};return _0x2425f6=![],_0x397b1e;};}()),a22_0x4c29ef=a22_0x4c9ee2(this,function(){const _0x2aa10d=a22_0x38b9;return a22_0x4c29ef['toString']()['search'](_0x2aa10d(0x1b8))['toString']()[_0x2aa10d(0x1ea)](a22_0x4c29ef)['search'](_0x2aa10d(0x1b8));});a22_0x4c29ef();'use strict';Object[a22_0x21b6c9(0x1dd)](exports,a22_0x21b6c9(0x1ba),{'value':!![]}),exports[a22_0x21b6c9(0x1e5)]=exports[a22_0x21b6c9(0x1cd)]=void 0x0;const fs=require('fs'),pLimit=require(a22_0x21b6c9(0x1bc)),path=require(a22_0x21b6c9(0x1d8)),util_1=require(a22_0x21b6c9(0x1e7)),sourceMap=require(a22_0x21b6c9(0x1cb)),file_index_1=require(a22_0x21b6c9(0x1cf)),CONCURRENCY=0xa,WEBPACK_PREFIX=a22_0x21b6c9(0x1d9),readFilep=(0x0,util_1[a22_0x21b6c9(0x1d6)])(fs[a22_0x21b6c9(0x1be)]),MAP_EXT=a22_0x21b6c9(0x1df);async function processSourcemap(_0x346c35,_0x2eb7bb){const _0x3a5912=a22_0x21b6c9;if(!_0x2eb7bb||!_0x2eb7bb[_0x3a5912(0x1e6)](MAP_EXT))throw new Error(_0x3a5912(0x1c5)+_0x2eb7bb+'\x20does\x20not\x20specify\x20a\x20sourcemap\x20file');_0x2eb7bb=path[_0x3a5912(0x1b6)](_0x2eb7bb);let _0xc33dd0;try{_0xc33dd0=await readFilep(_0x2eb7bb,_0x3a5912(0x1e8));}catch(_0x3906fc){throw new Error(_0x3a5912(0x1c9)+_0x2eb7bb+':\x20'+_0x3906fc);}let _0x378a92;try{_0x378a92=new sourceMap[(_0x3a5912(0x1c8))](_0xc33dd0);}catch(_0x34e726){throw new Error(_0x3a5912(0x1c0)+_0x3a5912(0x1e4)+_0x2eb7bb+':\x20'+_0x34e726);}const _0xd7409f=_0x378a92[_0x3a5912(0x1db)]?_0x378a92[_0x3a5912(0x1db)]:path['basename'](_0x2eb7bb,_0x3a5912(0x1df)),_0x2114d8=path['dirname'](_0x2eb7bb),_0x4ea64e=path[_0x3a5912(0x1b6)](path[_0x3a5912(0x1d7)](_0x2114d8,_0xd7409f)),_0x3d58c6=_0x378a92[_0x3a5912(0x1c2)][_0x3a5912(0x1ca)](_0x558555=>!!_0x558555)[_0x3a5912(0x1c7)]((_0x53317a,_0x39f79f)=>_0x53317a[_0x3a5912(0x1d2)]-_0x39f79f[_0x3a5912(0x1d2)]),_0x151dc8=_0x3d58c6[_0x3a5912(0x1d1)](_0x53ceca=>{const _0x578304=_0x3a5912;if(_0x53ceca['toLowerCase']()['startsWith'](WEBPACK_PREFIX))return _0x53ceca['substring'](WEBPACK_PREFIX[_0x578304(0x1d2)]);return _0x53ceca;})[_0x3a5912(0x1d1)](_0x245b54=>{const _0x12b841=_0x3a5912;return path[_0x12b841(0x1b6)](path[_0x12b841(0x1d7)](_0x2114d8,_0x245b54));});if(_0x151dc8['length']===0x0)throw new Error(_0x3a5912(0x1d0)+_0x2eb7bb);for(const _0x199d2e of _0x151dc8){_0x346c35[_0x3a5912(0x1ee)](path[_0x3a5912(0x1b6)](_0x199d2e),{'outputFile':_0x4ea64e,'mapFile':_0x2eb7bb,'mapConsumer':_0x378a92,'sources':_0x3d58c6});}}function a22_0x54e2(){const _0x4ee7cf=['reduce','getMappingInfo','The\x20path\x20','3342952jgkvda','sort','SourceMapConsumer','Could\x20not\x20read\x20sourcemap\x20file\x20','filter','source-map','has','SourceMapper','2403340mSphRy','./file-index','No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20','map','length','all','54439143FVYDvy','relative','promisify','join','path','webpack://','4674736CLSXIA','file','9fBWfGv','defineProperty','column','.map','findInSources','3YWvXUp','6gCYuJh','mappingInfo','sourcemap\x20file\x20','create','endsWith','util','utf8','replace','constructor','11723240SBiIZc','infoMap','2466016svrqWW','set','433678oBUKWV','generatedPositionFor','get','findShortestFuzzyMatches','7OvxAqN','hasMappingInfo','apply','normalize','allGeneratedPositionsFor','(((.+)+)+)+$','from','__esModule','fromFileList','p-limit','mapConsumer','readFile','FileIndex','An\x20error\x20occurred\x20while\x20reading\x20the\x20','line','sources'];a22_0x54e2=function(){return _0x4ee7cf;};return a22_0x54e2();}class SourceMapper{constructor(){const _0xbe026e=a22_0x21b6c9;this[_0xbe026e(0x1ec)]=new Map();}['getMappingInfo'](_0x15f879){const _0x1dec6f=a22_0x21b6c9;if(this[_0x1dec6f(0x1ec)][_0x1dec6f(0x1cc)](path[_0x1dec6f(0x1b6)](_0x15f879)))return{'entry':this['infoMap'][_0x1dec6f(0x1f1)](_0x15f879),'matchedPath':path['normalize'](_0x15f879)};const _0x28746e=file_index_1[_0x1dec6f(0x1bf)][_0x1dec6f(0x1bb)](Array[_0x1dec6f(0x1b9)](this[_0x1dec6f(0x1ec)]['keys']()))[_0x1dec6f(0x1f2)](_0x15f879);if(_0x28746e[_0x1dec6f(0x1d2)]===0x1)return{'entry':this[_0x1dec6f(0x1ec)][_0x1dec6f(0x1f1)](_0x28746e[0x0]),'matchedPath':_0x28746e[0x0]};return null;}[a22_0x21b6c9(0x1f4)](_0x3bb2f1){const _0x275e3e=a22_0x21b6c9;return this[_0x275e3e(0x1c4)](_0x3bb2f1)!==null;}[a22_0x21b6c9(0x1e3)](_0x31cee1,_0x2afbad,_0x2709d6){const _0x87c9fe=a22_0x21b6c9;_0x31cee1=path[_0x87c9fe(0x1b6)](_0x31cee1);const _0x27d433=this['getMappingInfo'](_0x31cee1);if(!_0x27d433)return null;const {entry:_0x28dd5c,matchedPath:_0x486787}=_0x27d433,_0x14dd97=path[_0x87c9fe(0x1d5)](path['dirname'](_0x28dd5c['mapFile']),_0x486787)[_0x87c9fe(0x1e9)](/\\/g,'/');let _0x5c910b=this[_0x87c9fe(0x1e0)](_0x28dd5c,_0x14dd97);_0x5c910b=_0x5c910b||this[_0x87c9fe(0x1e0)](_0x28dd5c,_0x31cee1);const _0x3feff8={'source':_0x5c910b||_0x14dd97,'line':_0x2afbad+0x1,'column':_0x2709d6},_0x49da76=_0x28dd5c[_0x87c9fe(0x1bd)],_0x4778c5=_0x49da76[_0x87c9fe(0x1b7)](_0x3feff8),_0x194f6a=_0x4778c5&&_0x4778c5[_0x87c9fe(0x1d2)]>0x0?_0x4778c5[_0x87c9fe(0x1c3)]((_0x1cae1e,_0xe2df48)=>{const _0x29f35c=_0x87c9fe;return _0xe2df48[_0x29f35c(0x1c1)]<_0x1cae1e['line']?_0xe2df48:_0x1cae1e;}):_0x49da76[_0x87c9fe(0x1f0)](_0x3feff8);return{'file':_0x28dd5c['outputFile'],'line':_0x194f6a[_0x87c9fe(0x1c1)],'column':_0x194f6a[_0x87c9fe(0x1de)]};}[a22_0x21b6c9(0x1e0)](_0x1e9413,_0x62eeba){const _0x3720af=a22_0x21b6c9;for(const _0xbdd564 of _0x1e9413['sources']){if(_0xbdd564[_0x3720af(0x1e6)](_0x62eeba))return _0xbdd564;}return undefined;}}exports[a22_0x21b6c9(0x1cd)]=SourceMapper;async function create(_0x121bdd){const _0x4b215a=a22_0x21b6c9,_0x2f909c=pLimit(CONCURRENCY),_0x455b49=new SourceMapper(),_0x79fc82=_0x121bdd[_0x4b215a(0x1d1)](_0x515843=>_0x2f909c(()=>processSourcemap(_0x455b49['infoMap'],_0x515843)));try{await Promise[_0x4b215a(0x1d3)](_0x79fc82);}catch(_0x3ca6d8){throw new Error('An\x20error\x20occurred\x20while\x20processing\x20the\x20sourcemap\x20files'+_0x3ca6d8);}return _0x455b49;}function a22_0x38b9(_0x42240c,_0x190fff){const _0x2a2924=a22_0x54e2();return a22_0x38b9=function(_0x4c29ef,_0x4c9ee2){_0x4c29ef=_0x4c29ef-0x1b5;let _0x54e26c=_0x2a2924[_0x4c29ef];return _0x54e26c;},a22_0x38b9(_0x42240c,_0x190fff);}exports[a22_0x21b6c9(0x1e5)]=create;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a23_0x41ba7e=a23_0x4e86;(function(_0x534359,_0x8f1bdb){const _0x5d7713=a23_0x4e86,_0x3ae153=_0x534359();while(!![]){try{const _0x3478cf=parseInt(_0x5d7713(0x11e))/0x1+-parseInt(_0x5d7713(0x123))/0x2+-parseInt(_0x5d7713(0x117))/0x3*(parseInt(_0x5d7713(0x120))/0x4)+-parseInt(_0x5d7713(0x11d))/0x5+parseInt(_0x5d7713(0x110))/0x6*(parseInt(_0x5d7713(0x111))/0x7)+parseInt(_0x5d7713(0x126))/0x8*(parseInt(_0x5d7713(0x11b))/0x9)+-parseInt(_0x5d7713(0x112))/0xa*(parseInt(_0x5d7713(0x116))/0xb);if(_0x3478cf===_0x8f1bdb)break;else _0x3ae153['push'](_0x3ae153['shift']());}catch(_0xccf7d4){_0x3ae153['push'](_0x3ae153['shift']());}}}(a23_0x5a37,0xb5519));const a23_0x4e1684=(function(){let _0x3ed1aa=!![];return function(_0x1461fc,_0x4675cf){const _0x89c186=_0x3ed1aa?function(){const _0x4dafd3=a23_0x4e86;if(_0x4675cf){const _0x500025=_0x4675cf[_0x4dafd3(0x10d)](_0x1461fc,arguments);return _0x4675cf=null,_0x500025;}}:function(){};return _0x3ed1aa=![],_0x89c186;};}()),a23_0x49d59a=a23_0x4e1684(this,function(){const _0x5caafe=a23_0x4e86;return a23_0x49d59a['toString']()[_0x5caafe(0x118)](_0x5caafe(0x125))[_0x5caafe(0x119)]()[_0x5caafe(0x11c)](a23_0x49d59a)[_0x5caafe(0x118)](_0x5caafe(0x125));});function a23_0x4e86(_0x111ee2,_0x2272d6){const _0x1324fd=a23_0x5a37();return a23_0x4e86=function(_0x49d59a,_0x4e1684){_0x49d59a=_0x49d59a-0x10a;let _0x5a37dd=_0x1324fd[_0x49d59a];return _0x5a37dd;},a23_0x4e86(_0x111ee2,_0x2272d6);}a23_0x49d59a();'use strict';Object[a23_0x41ba7e(0x10b)](exports,'__esModule',{'value':!![]}),exports[a23_0x41ba7e(0x10e)]=void 0x0;const NANOSECONDS_CONVERSION=0x3b9aca00;function a23_0x5a37(){const _0x4df702=['16sKtMvC','fractionalTokens','requestTokensSlow','1978426YYPkdH','requestTokens','(((.+)+)+)+$','11854992tLARgK','min','defineProperty','takeTokens','apply','LeakyBucket','nowInNanoSeconds','19794RDrYqo','1757YZbFFv','310cDVKAD','capacity','refillBucket','fillTime','122441hEZDnZ','596832nDSyjA','search','toString','tokens','9DeDPPJ','constructor','2385850CMZeFr','1039978loMwEJ','fillRate'];a23_0x5a37=function(){return _0x4df702;};return a23_0x5a37();}class LeakyBucket{constructor(_0x3866cc,_0x93413c){const _0x278edf=a23_0x41ba7e;this['tokens']=_0x3866cc,this[_0x278edf(0x113)]=_0x3866cc,this['fractionalTokens']=0x0,this[_0x278edf(0x11f)]=_0x93413c,this[_0x278edf(0x115)]=this['nowInNanoSeconds']();}[a23_0x41ba7e(0x10f)](){const _0x54512d=process['hrtime']();return _0x54512d[0x0]*NANOSECONDS_CONVERSION+_0x54512d[0x1];}[a23_0x41ba7e(0x114)](_0x4fa699){const _0x402710=a23_0x41ba7e,_0x252f25=this[_0x402710(0x10f)]()-this['fillTime'];this[_0x402710(0x121)]+=Math[_0x402710(0x10a)](_0x252f25*(this[_0x402710(0x11f)]/NANOSECONDS_CONVERSION),this[_0x402710(0x113)]);const _0x4f516a=Math['floor'](this[_0x402710(0x121)]),_0x4802ac=Math['floor'](this[_0x402710(0x113)]-_0x4fa699);let _0x56d3a6=0x0;return _0x4802ac<_0x4f516a?(this[_0x402710(0x121)]=0x0,_0x56d3a6=_0x4802ac):(_0x56d3a6=_0x4f516a,this[_0x402710(0x121)]-=_0x56d3a6),this['tokens']+=_0x56d3a6,this[_0x402710(0x115)]=this[_0x402710(0x10f)](),_0x56d3a6;}[a23_0x41ba7e(0x122)](_0x48b001){const _0x23794a=a23_0x41ba7e;if(this[_0x23794a(0x11a)]>0x0)return!![];const _0x36653e=this['refillBucket'](this[_0x23794a(0x11a)]+_0x48b001);if(_0x36653e>0x0)return!![];return this['tokens']+=_0x48b001,![];}[a23_0x41ba7e(0x10c)](_0x2e8acd){const _0x4f2d72=a23_0x41ba7e;this['tokens']-=_0x2e8acd,this[_0x4f2d72(0x11a)]<0x0&&this[_0x4f2d72(0x114)](this[_0x4f2d72(0x11a)]);}[a23_0x41ba7e(0x124)](_0x35ca4d){const _0x44a794=a23_0x41ba7e;if(_0x35ca4d>this[_0x44a794(0x113)])return![];this[_0x44a794(0x11a)]-=_0x35ca4d;if(this[_0x44a794(0x11a)]>=0x0)return!![];return this[_0x44a794(0x122)](_0x35ca4d);}}exports['LeakyBucket']=LeakyBucket;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a24_0x2cb4a1=a24_0x2ac7;(function(_0x1ddf16,_0x64037c){var _0x251e3e=a24_0x2ac7,_0x24a292=_0x1ddf16();while(!![]){try{var _0x3c617e=parseInt(_0x251e3e(0xb8))/0x1+-parseInt(_0x251e3e(0xb5))/0x2+parseInt(_0x251e3e(0xbc))/0x3+parseInt(_0x251e3e(0xb6))/0x4+-parseInt(_0x251e3e(0xb7))/0x5*(parseInt(_0x251e3e(0xc4))/0x6)+parseInt(_0x251e3e(0xc6))/0x7+parseInt(_0x251e3e(0xb9))/0x8*(parseInt(_0x251e3e(0xb4))/0x9);if(_0x3c617e===_0x64037c)break;else _0x24a292['push'](_0x24a292['shift']());}catch(_0xa825f7){_0x24a292['push'](_0x24a292['shift']());}}}(a24_0x5952,0x261d7));var a24_0x1e0374=(function(){var _0x6d4261=!![];return function(_0x4739e7,_0x414bc5){var _0xf9369e=_0x6d4261?function(){var _0x4d3b3d=a24_0x2ac7;if(_0x414bc5){var _0x27a892=_0x414bc5[_0x4d3b3d(0xbd)](_0x4739e7,arguments);return _0x414bc5=null,_0x27a892;}}:function(){};return _0x6d4261=![],_0xf9369e;};}()),a24_0x17e188=a24_0x1e0374(this,function(){var _0x360214=a24_0x2ac7;return a24_0x17e188[_0x360214(0xbe)]()[_0x360214(0xc7)](_0x360214(0xc0))[_0x360214(0xbe)]()[_0x360214(0xbf)](a24_0x17e188)[_0x360214(0xc7)](_0x360214(0xc0));});function a24_0x5952(){var _0x27d307=['110229FVqSVX','search','18lCOaAx','422582fLUWAi','163176OfTTyo','45ECpheD','201429VekZaK','41864QgbkZm','LogData','actionId','298488ZljTDH','apply','toString','constructor','(((.+)+)+)+$','defineProperty','timestamp','order','348Gybpnk','watchResultsJsonArray'];a24_0x5952=function(){return _0x27d307;};return a24_0x5952();}a24_0x17e188();'use strict';Object[a24_0x2cb4a1(0xc1)](exports,'__esModule',{'value':!![]}),exports[a24_0x2cb4a1(0xba)]=void 0x0;class LogData{constructor(_0x560720,_0x1f0ab9,_0x49771c,_0x643e51,_0x961205,_0x4aaa62){var _0x1e911b=a24_0x2cb4a1;this['data']=_0x560720,this[_0x1e911b(0xc2)]=_0x1f0ab9,this['level']=_0x49771c,this[_0x1e911b(0xbb)]=_0x643e51,this[_0x1e911b(0xc3)]=_0x961205,this[_0x1e911b(0xc5)]=_0x4aaa62;}}function a24_0x2ac7(_0x5d7622,_0x47a84d){var _0x20ba79=a24_0x5952();return a24_0x2ac7=function(_0x17e188,_0x1e0374){_0x17e188=_0x17e188-0xb4;var _0x595269=_0x20ba79[_0x17e188];return _0x595269;},a24_0x2ac7(_0x5d7622,_0x47a84d);}exports[a24_0x2cb4a1(0xba)]=LogData;
|