lightrun 1.61.0 → 1.62.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/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x49e77b=a16_0x4dd6;(function(_0x37f5d7,_0x130976){const _0x208846=a16_0x4dd6,_0x596378=_0x37f5d7();while(!![]){try{const _0x44fa40=-parseInt(_0x208846(0xd5))/0x1*(-parseInt(_0x208846(0xce))/0x2)+-parseInt(_0x208846(0xc6))/0x3+-parseInt(_0x208846(0xbe))/0x4+-parseInt(_0x208846(0xd9))/0x5+parseInt(_0x208846(0xea))/0x6+-parseInt(_0x208846(0xc1))/0x7+parseInt(_0x208846(0xd1))/0x8*(parseInt(_0x208846(0xee))/0x9);if(_0x44fa40===_0x130976)break;else _0x596378['push'](_0x596378['shift']());}catch(_0x2c0c85){_0x596378['push'](_0x596378['shift']());}}}(a16_0x36ac,0xf041b));const a16_0x36c6e5=(function(){let _0x4f7733=!![];return function(_0x371cb5,_0x3fb30f){const _0x3570f1=_0x4f7733?function(){if(_0x3fb30f){const _0x5f199c=_0x3fb30f['apply'](_0x371cb5,arguments);return _0x3fb30f=null,_0x5f199c;}}:function(){};return _0x4f7733=![],_0x3570f1;};}()),a16_0xe7009f=a16_0x36c6e5(this,function(){const _0x2980f7=a16_0x4dd6;return a16_0xe7009f[_0x2980f7(0xda)]()[_0x2980f7(0xe5)](_0x2980f7(0xcd))['toString']()[_0x2980f7(0xeb)](a16_0xe7009f)[_0x2980f7(0xe5)](_0x2980f7(0xcd));});a16_0xe7009f();function a16_0x4dd6(_0x2e720e,_0x1fe226){const _0x4c510f=a16_0x36ac();return a16_0x4dd6=function(_0xe7009f,_0x36c6e5){_0xe7009f=_0xe7009f-0xb3;let _0x36acbd=_0x4c510f[_0xe7009f];return _0x36acbd;},a16_0x4dd6(_0x2e720e,_0x1fe226);}'use strict';Object[a16_0x49e77b(0xca)](exports,a16_0x49e77b(0xdf),{'value':!![]}),exports[a16_0x49e77b(0xb5)]=exports[a16_0x49e77b(0xd6)]=void 0x0;const extend=require('extend'),config_1=require(a16_0x49e77b(0xe0)),utils_1=require(a16_0x49e77b(0xe4)),getAgentConfig_1=require(a16_0x49e77b(0xed)),limitConfig_1=require(a16_0x49e77b(0xb3)),validateConfig=_0x46c9b8=>{const _0x27eaf0=a16_0x49e77b,_0xcbec8e={};try{config_1[_0x27eaf0(0xdb)]['validateSync'](_0x46c9b8,{'abortEarly':![]});}catch(_0x5427a4){_0x5427a4[_0x27eaf0(0xec)][_0x27eaf0(0xcf)](_0x3eb870=>_0x3eb870[_0x27eaf0(0xd3)]&&_0x3eb870[_0x27eaf0(0xd7)])[_0x27eaf0(0xe2)](_0x1a9058=>{const _0x4e1047=_0x27eaf0;_0xcbec8e[_0x1a9058['path']]=_0x1a9058[_0x4e1047(0xd7)];});}return _0xcbec8e;};exports[a16_0x49e77b(0xd6)]=validateConfig;const normalizeConfig=_0x377093=>{const _0x4ad2c5=a16_0x49e77b,_0x5086ae={'serviceContext':{'service':process['env'][_0x4ad2c5(0xd0)]||process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xc0)]||process[_0x4ad2c5(0xe7)]['K_SERVICE'],'version':process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xe1)]||process['env'][_0x4ad2c5(0xb4)]||process[_0x4ad2c5(0xe7)]['K_REVISION'],'minorVersion_':process[_0x4ad2c5(0xe7)]['GAE_DEPLOYMENT_ID']||process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xc5)]},'metadata':{'filename':process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xb7)],'registration':{}},'lightrunSecret':process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xdc)],'apiEndpoint':process['env'][_0x4ad2c5(0xc3)],'noCheckCertificate':(0x0,utils_1[_0x4ad2c5(0xf2)])(process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xc7)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x4ad2c5(0xf2)])(process['env'][_0x4ad2c5(0xc9)]),'lightrunWaitForInit':(0x0,utils_1[_0x4ad2c5(0xf2)])(process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xf3)]),'lightrunInitWaitTimeMs':process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xb6)],'agentLog':_0x377093?.['agentLog']||{},'proxy':{'host':process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xef)],'port':parseInt(process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xb8)]||'')||undefined,'username':process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xcc)],'password':process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xc4)]}};process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xf0)]!==undefined&&(_0x5086ae[_0x4ad2c5(0xf4)]['stdErrThreshold']=process[_0x4ad2c5(0xe7)]['LIGHTRUN_STD_ERR_THRESHOLD']);process['env'][_0x4ad2c5(0xde)]!==undefined&&(_0x5086ae[_0x4ad2c5(0xf4)][_0x4ad2c5(0xd4)]=process['env'][_0x4ad2c5(0xde)]);process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xcb)]!==undefined&&(_0x5086ae[_0x4ad2c5(0xf4)][_0x4ad2c5(0xbd)]=process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xcb)]);process[_0x4ad2c5(0xe7)]['AGENT_LOG_MAX_FILE_COUNT']!==undefined&&(_0x5086ae[_0x4ad2c5(0xf4)][_0x4ad2c5(0xe8)]=parseInt(process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xd8)]));process['env'][_0x4ad2c5(0xbf)]!==undefined&&(_0x5086ae[_0x4ad2c5(0xf4)]['agentLogMaxFileSizeMb']=parseInt(process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xbf)]));process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xf1)]&&(_0x5086ae['serviceContext'][_0x4ad2c5(0xc8)]=process[_0x4ad2c5(0xe7)]['FUNCTION_NAME'],_0x5086ae[_0x4ad2c5(0xbc)][_0x4ad2c5(0xba)]=_0x4ad2c5(0xe3));process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xdd)]&&(_0x5086ae[_0x4ad2c5(0xbb)][_0x4ad2c5(0xc2)]={'tags':process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xdd)]['split'](',')});const _0x54ddf0=(0x0,getAgentConfig_1[_0x4ad2c5(0xb9)])(process[_0x4ad2c5(0xe7)][_0x4ad2c5(0xd2)]||_0x377093?.[_0x4ad2c5(0xe9)]||config_1[_0x4ad2c5(0xe6)][_0x4ad2c5(0xe9)]),_0x360c50=(0x0,limitConfig_1['limitConfig'])(extend(!![],{},config_1[_0x4ad2c5(0xe6)],_0x54ddf0,_0x377093,_0x5086ae)),_0x310e40=(0x0,exports[_0x4ad2c5(0xd6)])(_0x360c50);return{..._0x360c50,'errors':_0x310e40};};exports[a16_0x49e77b(0xb5)]=normalizeConfig;function a16_0x36ac(){const _0x265e85=['defineProperty','AGENT_LOG_TARGET_DIR','LIGHTRUN_PROXY_USERNAME','(((.+)+)+)+$','52joDZLh','filter','GAE_SERVICE','2744pOeMiE','LIGHTRUN_AGENT_CONFIG','path','agentLogLevel','55363ntfowS','validateConfig','message','AGENT_LOG_MAX_FILE_COUNT','4793520tWykDL','toString','configSchema','LIGHTRUN_SECRET','LIGHTRUN_TAGS','AGENT_LOG_LEVEL','__esModule','../config','GAE_VERSION','forEach','unversioned','../util/utils','search','defaultConfig','env','agentLogMaxFileCount','agentConfigFile','3862956eRoJlw','constructor','inner','./getAgentConfig','75519gQuFvI','LIGHTRUN_PROXY_HOST','LIGHTRUN_STD_ERR_THRESHOLD','FUNCTION_NAME','getBooleanValue','LIGHTRUN_WAIT_FOR_INIT','agentLog','./limitConfig','GAE_MODULE_VERSION','normalizeConfig','LIGHTRUN_INIT_WAIT_TIME_MS','LIGHTRUN_METADATA_FILE','LIGHTRUN_PROXY_PORT','getAgentConfig','version','metadata','serviceContext','agentLogTargetDir','623952CnYVgy','AGENT_LOG_MAX_FILE_SIZE_MB','GAE_MODULE_NAME','10727003ppEfOc','registration','LIGHTRUN_API_ENDPOINT','LIGHTRUN_PROXY_PASSWORD','GAE_MINOR_VERSION','3990495rEYUUT','NO_CHECK_CERTIFICATE','service','FETCH_BREAKPOINTS_ONCE'];a16_0x36ac=function(){return _0x265e85;};return a16_0x36ac();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x5b0682=a17_0x520d;function a17_0x2f6a(){const _0x356bd9=['52176JSwGvM','6026909aOxloZ','14kjlfwF','3494250tsiXaI','tokenize','defineProperty','apply','18zfihrG','22554763XJwSbG','delimit','search','constructor','48719XeDSRu','__esModule','push','length','174bbwVdE','12mSDyvq','3136888cPvVeE','9678MEXNDK','./delimit','toString','1185nZKsYy','(((.+)+)+)+$'];a17_0x2f6a=function(){return _0x356bd9;};return a17_0x2f6a();}(function(_0x17b4ea,_0x3c8a14){const _0x4ceeaf=a17_0x520d,_0x42c8e4=_0x17b4ea();while(!![]){try{const _0x51eee0=-parseInt(_0x4ceeaf(0x98))/0x1*(-parseInt(_0x4ceeaf(0xa6))/0x2)+-parseInt(_0x4ceeaf(0x9c))/0x3*(-parseInt(_0x4ceeaf(0xa4))/0x4)+parseInt(_0x4ceeaf(0xa2))/0x5*(-parseInt(_0x4ceeaf(0x9f))/0x6)+parseInt(_0x4ceeaf(0xa5))/0x7+parseInt(_0x4ceeaf(0x9e))/0x8*(parseInt(_0x4ceeaf(0xab))/0x9)+parseInt(_0x4ceeaf(0xa7))/0xa+parseInt(_0x4ceeaf(0xac))/0xb*(-parseInt(_0x4ceeaf(0x9d))/0xc);if(_0x51eee0===_0x3c8a14)break;else _0x42c8e4['push'](_0x42c8e4['shift']());}catch(_0x4e3884){_0x42c8e4['push'](_0x42c8e4['shift']());}}}(a17_0x2f6a,0xa1031));const a17_0x43406f=(function(){let _0x4779e4=!![];return function(_0x3487fd,_0x14f71a){const _0x3e4333=_0x4779e4?function(){const _0x5832b3=a17_0x520d;if(_0x14f71a){const _0x10533a=_0x14f71a[_0x5832b3(0xaa)](_0x3487fd,arguments);return _0x14f71a=null,_0x10533a;}}:function(){};return _0x4779e4=![],_0x3e4333;};}()),a17_0x2d745d=a17_0x43406f(this,function(){const _0x346df4=a17_0x520d;return a17_0x2d745d['toString']()[_0x346df4(0xae)]('(((.+)+)+)+$')[_0x346df4(0xa1)]()[_0x346df4(0x97)](a17_0x2d745d)[_0x346df4(0xae)](_0x346df4(0xa3));});a17_0x2d745d();'use strict';Object[a17_0x5b0682(0xa9)](exports,a17_0x5b0682(0x99),{'value':!![]}),exports[a17_0x5b0682(0xa8)]=void 0x0;function a17_0x520d(_0x3a3228,_0x595438){const _0x3f1a83=a17_0x2f6a();return a17_0x520d=function(_0x2d745d,_0x43406f){_0x2d745d=_0x2d745d-0x97;let _0x2f6abe=_0x3f1a83[_0x2d745d];return _0x2f6abe;},a17_0x520d(_0x3a3228,_0x595438);}const delimit_1=require(a17_0x5b0682(0xa0)),tokenize=(_0x71a3a4,_0x3b9882)=>{const _0x7010ac=a17_0x5b0682;let _0x42b6f6=(0x0,delimit_1[_0x7010ac(0xad)])(_0x71a3a4,'$$');for(let _0x2dc7d5=_0x3b9882-0x1;_0x2dc7d5>=0x0;_0x2dc7d5--){const _0x3f4a5a=[];for(let _0xe87af6=0x0;_0xe87af6<_0x42b6f6[_0x7010ac(0x9b)];_0xe87af6++){_0x42b6f6[_0xe87af6]['v']?_0x3f4a5a[_0x7010ac(0x9a)](_0x42b6f6[_0xe87af6]):_0x3f4a5a[_0x7010ac(0x9a)](...(0x0,delimit_1[_0x7010ac(0xad)])(_0x42b6f6[_0xe87af6],'$'+_0x2dc7d5));}_0x42b6f6=_0x3f4a5a;}return _0x42b6f6;};exports['tokenize']=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x25f039=a18_0xad74;(function(_0x4a12ee,_0x1885ce){const _0x1205b6=a18_0xad74,_0x4a243c=_0x4a12ee();while(!![]){try{const _0x3126ea=parseInt(_0x1205b6(0x1f8))/0x1*(-parseInt(_0x1205b6(0x28e))/0x2)+-parseInt(_0x1205b6(0x19f))/0x3+-parseInt(_0x1205b6(0x1fa))/0x4*(-parseInt(_0x1205b6(0x21a))/0x5)+-parseInt(_0x1205b6(0x217))/0x6+parseInt(_0x1205b6(0x1a4))/0x7*(parseInt(_0x1205b6(0x1cd))/0x8)+parseInt(_0x1205b6(0x1f2))/0x9*(-parseInt(_0x1205b6(0x29c))/0xa)+parseInt(_0x1205b6(0x1b7))/0xb;if(_0x3126ea===_0x1885ce)break;else _0x4a243c['push'](_0x4a243c['shift']());}catch(_0x2a8b92){_0x4a243c['push'](_0x4a243c['shift']());}}}(a18_0x34a8,0x4343f));const a18_0x4713f0=(function(){let _0x315bb9=!![];return function(_0x130a6a,_0x148d9f){const _0x51f037=_0x315bb9?function(){const _0xda6a41=a18_0xad74;if(_0x148d9f){const _0x6a38fb=_0x148d9f[_0xda6a41(0x22d)](_0x130a6a,arguments);return _0x148d9f=null,_0x6a38fb;}}:function(){};return _0x315bb9=![],_0x51f037;};}()),a18_0x53d1a2=a18_0x4713f0(this,function(){const _0xe48aba=a18_0xad74;return a18_0x53d1a2[_0xe48aba(0x229)]()[_0xe48aba(0x29f)](_0xe48aba(0x295))[_0xe48aba(0x229)]()[_0xe48aba(0x299)](a18_0x53d1a2)[_0xe48aba(0x29f)](_0xe48aba(0x295));});a18_0x53d1a2();'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0xec1c23,_0x11338a,_0x5affe8,_0x487799,_0x181761){const _0x6c061=a18_0xad74;if(_0x487799==='m')throw new TypeError(_0x6c061(0x1ba));if(_0x487799==='a'&&!_0x181761)throw new TypeError(_0x6c061(0x1aa));if(typeof _0x11338a===_0x6c061(0x258)?_0xec1c23!==_0x11338a||!_0x181761:!_0x11338a[_0x6c061(0x25a)](_0xec1c23))throw new TypeError(_0x6c061(0x201));return _0x487799==='a'?_0x181761[_0x6c061(0x222)](_0xec1c23,_0x5affe8):_0x181761?_0x181761[_0x6c061(0x252)]=_0x5affe8:_0x11338a[_0x6c061(0x1fd)](_0xec1c23,_0x5affe8),_0x5affe8;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x443baf,_0x62c0d2,_0x38edff,_0x493abd){const _0x272023=a18_0xad74;if(_0x38edff==='a'&&!_0x493abd)throw new TypeError(_0x272023(0x255));if(typeof _0x62c0d2===_0x272023(0x258)?_0x443baf!==_0x62c0d2||!_0x493abd:!_0x62c0d2['has'](_0x443baf))throw new TypeError(_0x272023(0x23a));return _0x38edff==='m'?_0x493abd:_0x38edff==='a'?_0x493abd[_0x272023(0x222)](_0x443baf):_0x493abd?_0x493abd[_0x272023(0x252)]:_0x62c0d2[_0x272023(0x1fe)](_0x443baf);},_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_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a18_0x25f039(0x234)]=exports[a18_0x25f039(0x1a5)]=void 0x0;const assert=require('assert'),events_1=require('events'),extend=require(a18_0x25f039(0x1c3)),fs=require('fs'),path=require(a18_0x25f039(0x1cc)),util=require(a18_0x25f039(0x261)),status_message_1=require(a18_0x25f039(0x1d5)),stackdriver_1=require(a18_0x25f039(0x1ad)),agent_logger_1=require(a18_0x25f039(0x24c)),config_1=require(a18_0x25f039(0x28f)),controller_1=require(a18_0x25f039(0x230)),SourceMapper=require(a18_0x25f039(0x210)),debugapi=require(a18_0x25f039(0x237)),piping_manager_1=require(a18_0x25f039(0x1a0)),quota_manager_1=require(a18_0x25f039(0x1fc)),patterns_blocklist_manager_1=require(a18_0x25f039(0x1ff)),scanner_1=require(a18_0x25f039(0x1e8)),environment_metadata_1=require(a18_0x25f039(0x23d)),file_index_1=require(a18_0x25f039(0x1ef)),utils_1=require(a18_0x25f039(0x1a8)),redaction_manager_1=require('./reduction/redaction-manager'),configuration_provider_1=require(a18_0x25f039(0x294)),normalizeConfig_1=require(a18_0x25f039(0x19e)),mapSubtract_1=require(a18_0x25f039(0x27c)),format_1=require('./debuglet-helpers/format'),createDebuggee_1=require(a18_0x25f039(0x273)),readFilep=util[a18_0x25f039(0x239)](fs['readFile']),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x3b3cd5,_0xbba78c)=>{const _0x1bdf95=a18_0x25f039;let _0x155383=_0x3b3cd5+util[_0x1bdf95(0x21b)](_0x1bdf95(0x269),_0xbba78c['id'],_0xbba78c['action'],util[_0x1bdf95(0x1dc)](_0xbba78c[_0x1bdf95(0x250)]));if(_0xbba78c[_0x1bdf95(0x19b)]){const _0x2c740f=Number(_0xbba78c[_0x1bdf95(0x19b)]['seconds']),_0x50e0f7=new Date(_0x2c740f*0x3e8);_0x155383+=_0x1bdf95(0x216)+_0x50e0f7['toString']();}return _0xbba78c[_0x1bdf95(0x207)]&&(_0x155383+='\x0a\x09condition:\x20'+util[_0x1bdf95(0x1dc)](_0xbba78c[_0x1bdf95(0x207)])),_0xbba78c[_0x1bdf95(0x227)]&&(_0x155383+=_0x1bdf95(0x1e7)+util['inspect'](_0xbba78c['expressions'])),_0x155383;},formatBreakpoints=(_0x42b208,_0x19592d)=>{const _0x5321ab=a18_0x25f039;return _0x42b208+Object[_0x5321ab(0x1c4)](_0x19592d)[_0x5321ab(0x1c6)](_0x4ad435=>{return formatBreakpoint('',_0x19592d[_0x4ad435]);})[_0x5321ab(0x20f)]('\x0a');};class CachedPromise{constructor(){const _0x4fc061=a18_0x25f039;this[_0x4fc061(0x219)]=null,this[_0x4fc061(0x1da)]=new Promise(_0x2f343b=>{const _0x1f7f78=_0x4fc061;this[_0x1f7f78(0x219)]=_0x2f343b;});}[a18_0x25f039(0x1fe)](){const _0x4351e2=a18_0x25f039;return this[_0x4351e2(0x1da)];}['resolve'](){const _0x444020=a18_0x25f039;this[_0x444020(0x219)]&&(this[_0x444020(0x219)](),this['promiseResolve']=null);}}function a18_0x34a8(){const _0x162776=['5.2\x20||\x20<4','fetchBreakpointsOnce','constructor','hash','\x09remove\x20breakpoint','10lYiEiD','extraPaths','isOutOfQuota','search','reporting\x20breakpoint\x20','name','internal','stringify','createTime','selectFiles','Scanner','./debuglet-helpers/normalizeConfig','737928wtCumt','./piping-manager','breakpoints_fetched','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','caseInsensitive','760403zDyNLG','CachedPromise','agentLog','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','./util/utils','setPipingStatus','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','getSourceContextFromFile','activeBreakpointMap','../types/stackdriver','Registering\x20debuggee','status','javascriptFileExtensions','createLogger','emit','breakpointExpirationSec','Failed\x20to\x20register\x20debuggee:\x20','isRunning','\x20to\x20','11010241kNFgwg','StatusMessage','NODE_VERSION_MESSAGE','Private\x20method\x20is\x20not\x20writable','remainingHits','forEach','pipeLogs','started','isReadyManager','enqueueBreakpointUpdate','findFiles','Blacklist\x20Exceptions:\x20\x0a\x09','extend','keys','debug','map','Found\x20breakpoint\x20with\x20invalid\x20action:','Scheduling\x20registration\x20in\x20','logMainConfigParams','filename','undefined','path','8SGFFYB','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','collectLogRequestId','>=12','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','Breakpoint\x20hit!:\x20','mapSubtract','sep','../client/stackdriver/status-message','log','collectAndSendLog','error','globalPipingStatus','promise','CAPTURE','inspect','push','now','add','beforeExit','Disabled\x20by\x20the\x20server','debuggee','quotaRecoverySeconds','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','description','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','\x0a\x09expressions:\x20','./io/scanner','breakpointUpdateIntervalSec','Initializing\x20Node.js\x20agent\x20version:\x20','disable','SIGQUIT','Expiring\x20breakpoint','setPatterns','./io/file-index','Error\x20scanning\x20the\x20filesystem.','object','658710ZnHohv','stdErrThreshold','default','APP_ONLY','breakpoints','stop','423535PwuziQ','once','64TMcYbt','QuotaManager','./quota-manager','set','get','./blocklisting/patterns-blocklist-manager','stopped','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','scan','PatternsBlocklistManager','normalize','agentLogMaxFileCount','version','condition','getRedactions','\x20caseInsensitive:\x20','\x20because\x20','seconds','type','Error\x20processing\x20the\x20sourcemaps.','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','join','./io/sourcemapper','sourceMapDiagnostics','redactionEnabled','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','register','logger','\x0a\x09createdTime:\x20','558888WxbTpq','UNSPECIFIED','promiseResolve','565wrKbHP','format','waitExpired','expirationSeconds','getInitialLevel','setLevel','fromFileStats','posix','call','warn','addAndPipeLog','deregister','removePerBreakpointQuota','expressions','unref','toString','clearTransmissionTimeout','Malformed\x20source-context.json\x20file:\x20','parse','apply','initError','isRedactionActive','./controller','wait','values','PipingManager','Debuglet','Switching\x20globalPiping\x20status\x20from\x20','create','./v8/debugapi','LOG','promisify','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','Debuglet\x20not\x20running','NOT_SET','./environment-metadata','errors','AGENT_LOG_FILE','GAE_MINOR_VERSION','blacklist','DEBUG','isReady','listBreakpoints','allowRootAsWorkingDirectory','.\x20Retrying\x20in\x20','sourceContext','bind','pipingManager','Fetching\x20breakpoints','all','./agent-logger','clear','maxRequestRetryDelaySeconds','jsFileIndex','location','Registered\x20as\x20debuggee:\x20','value','pid','):\x20pattern:\x20','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','Controller','shouldRedactByName','function','parameters','has','normalizeConfig','do\x20this.','info','backoff','getBlocklist','LOGPOINT:\x20','util','pattern','debuglet','SIGINT','.\x20message:\x20','selectStats','replace','GAE-','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','quota','setCustomLogLevel','clientConnectionTimeoutInSeconds','readFullVersion','satisfies','fetcherActive','\x20completed.','existsSync','length','./debuglet-helpers/createDebuggee','agentLogTargetDir','SIGTERM','isArray','config','env','workingDirectory','quotaCheck','filter','./debuglet-helpers/mapSubtract','resolve','\x09adding\x20breakpoint','ALLOW_EXPRESSIONS_MESSAGE','message','blacklist_exception','getProps','source-context.json','getLevel','then','js.map','start','\x09Got\x20error\x20from\x20server.\x20status:\x20','createPerBreakpointConditionQuota','rejecting\x20breakpoint','isDisabled','removeBreakpoint','EventEmitter','2QtQvpY','./config','agentLogLevel','remotelyDisabled','logLevel','EnvironmentMetadata','./configuration-provider','(((.+)+)+)+$','expirationTime'];a18_0x34a8=function(){return _0x162776;};return a18_0x34a8();}exports[a18_0x25f039(0x1a5)]=CachedPromise;function a18_0xad74(_0x57d2bd,_0x8045af){const _0x28c705=a18_0x34a8();return a18_0xad74=function(_0x53d1a2,_0x4713f0){_0x53d1a2=_0x53d1a2-0x19b;let _0x34a840=_0x28c705[_0x53d1a2];return _0x34a840;},a18_0xad74(_0x57d2bd,_0x8045af);}class IsReadyImpl{constructor(_0x31ddee){const _0x3877bc=a18_0x25f039;this[_0x3877bc(0x263)]=_0x31ddee;}['isReady'](){const _0x3a12d3=a18_0x25f039;return this['debuglet'][_0x3a12d3(0x243)]();}}class Debuglet extends events_1[a18_0x25f039(0x28d)]{constructor(_0x123445,_0x24e548){const _0xede9c2=a18_0x25f039;super(),_Debuglet_instances[_0xede9c2(0x1df)](this),_Debuglet_debug[_0xede9c2(0x1fd)](this,void 0x0),_Debuglet_v8debug[_0xede9c2(0x1fd)](this,void 0x0),_Debuglet_running[_0xede9c2(0x1fd)](this,void 0x0),_Debuglet_controller[_0xede9c2(0x1fd)](this,void 0x0),_Debuglet_completedBreakpointMap[_0xede9c2(0x1fd)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0xede9c2(0x1fd)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0xede9c2(0x1fd)](this,null),this[_0xede9c2(0x1bf)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager[_0xede9c2(0x1fd)](this,void 0x0),_Debuglet_blocklistManager[_0xede9c2(0x1fd)](this,void 0x0),_Debuglet_redactionManager[_0xede9c2(0x1fd)](this,void 0x0),_Debuglet_configProvider[_0xede9c2(0x1fd)](this,void 0x0),this[_0xede9c2(0x277)]=(0x0,normalizeConfig_1[_0xede9c2(0x25b)])(_0x24e548),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this[_0xede9c2(0x277)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x123445,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xede9c2(0x26f)]=![],this['logger']=agent_logger_1[_0xede9c2(0x1f4)][_0xede9c2(0x1b1)](this[_0xede9c2(0x277)][_0xede9c2(0x1a6)][_0xede9c2(0x274)],this['config'][_0xede9c2(0x1a6)]['agentLogMaxFileSizeMb'],this[_0xede9c2(0x277)][_0xede9c2(0x1a6)][_0xede9c2(0x205)],this[_0xede9c2(0x277)][_0xede9c2(0x1a6)][_0xede9c2(0x290)],this['config'][_0xede9c2(0x1a6)][_0xede9c2(0x1f3)]),(0x0,config_1[_0xede9c2(0x1c9)])(this[_0xede9c2(0x277)],this[_0xede9c2(0x215)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0xede9c2(0x293))](this[_0xede9c2(0x215)])[_0xede9c2(0x282)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0xede9c2(0x256))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0xede9c2(0x277)],this[_0xede9c2(0x215)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0xede9c2(0x19d))](this[_0xede9c2(0x215)]),'f'),this[_0xede9c2(0x1e2)]=null,this[_0xede9c2(0x1ac)]={},__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[(_0xede9c2(0x1fb))](this['logger'],this[_0xede9c2(0x277)]),'f'),this['pipingManager']=new piping_manager_1[(_0xede9c2(0x233))](_0xede9c2(0x1f5),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a18_0x25f039(0x1c1)](_0x5d6de1,_0x716e5a){const _0x5482db=a18_0x25f039,_0x19195e=_0x5d6de1[_0x5482db(0x279)],_0x170a76=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x5482db(0x202)](_0x19195e,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x5d6de1[_0x5482db(0x1b0)]['concat'](_0x5482db(0x286))),_0x716e5a,_0x5d6de1[_0x5482db(0x29d)]),_0x409092=_0x170a76[_0x5482db(0x266)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x5482db(0x222)](_a,_0x5d6de1[_0x5482db(0x1b0)])),_0x2c8b0d=file_index_1['FileIndex'][_0x5482db(0x220)](_0x409092),_0x172da0=_0x170a76[_0x5482db(0x19c)](/.js.map$/,process['cwd']()),_0x779fd=_0x170a76[_0x5482db(0x23e)]();return{'mapFiles':_0x172da0,'errors':_0x779fd,'jsFileIndex':_0x2c8b0d,'hash':_0x170a76[_0x5482db(0x29a)]};}async[a18_0x25f039(0x287)](){const _0x139f45=a18_0x25f039,_0x5d99c4=this,_0x35b519=_0x5d99c4[_0x139f45(0x277)][_0x139f45(0x279)];if(!_0x5d99c4['config'][_0x139f45(0x245)]&&path[_0x139f45(0x20f)](_0x35b519,'..')===_0x35b519){const _0xe9e36d=_0x139f45(0x1ce)+_0x139f45(0x213)+_0x139f45(0x20e)+_0x139f45(0x25c);_0x5d99c4[_0x139f45(0x215)][_0x139f45(0x1d8)](_0xe9e36d),_0x5d99c4[_0x139f45(0x1b2)]('initError',new Error(_0xe9e36d));return;}let _0x17dba5;process[_0x139f45(0x278)][_0x139f45(0x240)]&&(_0x17dba5=_0x139f45(0x268)+process[_0x139f45(0x278)][_0x139f45(0x240)]);let _0x4fa23b,_0x59be35=_0x17dba5||'';try{_0x4fa23b=await this[_0x139f45(0x1c1)](_0x5d99c4[_0x139f45(0x277)],_0x17dba5),_0x4fa23b[_0x139f45(0x23e)][_0x139f45(0x1bc)](_0x5d99c4['logger']['warn']);}catch(_0x957af){_0x5d99c4[_0x139f45(0x215)][_0x139f45(0x1d8)](_0x139f45(0x1f0),_0x957af),_0x5d99c4[_0x139f45(0x1b2)](_0x139f45(0x22e),_0x957af);return;}try{const _0x3e3d60=await SourceMapper[_0x139f45(0x236)](_0x5d99c4['logger'],_0x4fa23b['mapFiles'],_0x5d99c4[_0x139f45(0x277)][_0x139f45(0x2a2)]?.[_0x139f45(0x211)]);__classPrivateFieldSet(_0x5d99c4,_Debuglet_v8debug,debugapi[_0x139f45(0x236)](_0x5d99c4[_0x139f45(0x215)],_0x5d99c4[_0x139f45(0x277)],_0x4fa23b[_0x139f45(0x24f)],_0x3e3d60,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x59be35=_0x17dba5||_0x4fa23b[_0x139f45(0x29a)];}catch(_0x4ebe40){_0x5d99c4['logger']['error'](_0x139f45(0x20d),_0x4ebe40),_0x5d99c4[_0x139f45(0x215)][_0x139f45(0x25d)](JSON[_0x139f45(0x2a3)](_0x4ebe40)),_0x5d99c4[_0x139f45(0x1b2)](_0x139f45(0x22e),_0x4ebe40);}_0x5d99c4[_0x139f45(0x215)][_0x139f45(0x25d)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x59be35);const _0x530ed0=(0x0,utils_1[_0x139f45(0x26d)])(_0x5d99c4[_0x139f45(0x215)])[_0x139f45(0x267)]('\x0a','');_0x5d99c4[_0x139f45(0x215)]['info'](_0x139f45(0x1ea)+_0x530ed0);let _0x4601ea;try{_0x4601ea=_0x5d99c4[_0x139f45(0x277)][_0x139f45(0x247)]||await _a[_0x139f45(0x1ab)]();}catch(_0x51ed03){}_0x5d99c4[_0x139f45(0x215)][_0x139f45(0x25d)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process['mainModule']?.[_0x139f45(0x1ca)]),_0x5d99c4[_0x139f45(0x215)][_0x139f45(0x1c5)]('Working\x20directory:\x20'+_0x35b519),_0x5d99c4[_0x139f45(0x215)][_0x139f45(0x1c5)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x5d99c4,_Debuglet_running,!![],'f'),_0x5d99c4['debuggee']=(0x0,createDebuggee_1['createDebuggee'])(_0x59be35,_0x5d99c4[_0x139f45(0x277)],_0x4601ea,__classPrivateFieldGet(_0x5d99c4,_Debuglet_debug,'f')['packageInfo'],_0x530ed0,_0x5d99c4[_0x139f45(0x215)],__classPrivateFieldGet(_0x5d99c4,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x5d99c4,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](_0x5d99c4),__classPrivateFieldGet(_0x5d99c4,_Debuglet_instances,'m',_Debuglet_register_)[_0x139f45(0x222)](_0x5d99c4),_0x5d99c4['emit'](_0x139f45(0x1be));}[a18_0x25f039(0x243)](){const _0x5d16bc=a18_0x25f039;if(Date[_0x5d16bc(0x1de)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x5d16bc(0x27d)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5d16bc(0x1fe)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()[_0x5d16bc(0x285)](()=>{const _0x1a269d=_0x5d16bc;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1a269d(0x222)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5d16bc(0x1fe)]();}}static async[a18_0x25f039(0x1ab)](){const _0x4c778f=a18_0x25f039,_0x309e2b=await readFilep(_0x4c778f(0x283),'utf8');try{return JSON[_0x4c778f(0x22c)](_0x309e2b);}catch(_0x5c9a68){throw new Error(_0x4c778f(0x22b)+_0x5c9a68);}}[a18_0x25f039(0x1b5)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x25f039(0x1f7)](){const _0x4fd489=a18_0x25f039;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x4fd489(0x215)]['debug'](_0x4fd489(0x1a7));return;}this[_0x4fd489(0x215)][_0x4fd489(0x1c5)]('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x4fd489(0x22a)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x4fd489(0x1b2)](_0x4fd489(0x200));}[a18_0x25f039(0x26b)](_0xd428e8){const _0x2bb8cf=a18_0x25f039,_0x2c2f7=this[_0x2bb8cf(0x215)][_0x2bb8cf(0x21e)]();if(_0x2c2f7===_0x2bb8cf(0x1c5))return;switch(_0xd428e8){case _0x2bb8cf(0x242):this[_0x2bb8cf(0x215)][_0x2bb8cf(0x284)]()!=='debug'&&(this['logger'][_0x2bb8cf(0x21f)](_0x2bb8cf(0x1c5)),this[_0x2bb8cf(0x215)][_0x2bb8cf(0x1c5)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG'));break;case _0x2bb8cf(0x23c):case undefined:this[_0x2bb8cf(0x215)]['getLevel']()===_0x2bb8cf(0x1c5)&&(this['logger']['setLevel'](_0x2c2f7),this['logger']['info'](_0x2bb8cf(0x1e4)+_0x2c2f7+')'));break;default:this['logger'][_0x2bb8cf(0x223)]('Unknown\x20agentLogLevel\x20'+_0xd428e8);}}}exports[a18_0x25f039(0x234)]=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(_0x10c590){const _0x8ceb86=a18_0x25f039;return new RegExp(_0x10c590[_0x8ceb86(0x1c6)](_0x45f01b=>_0x45f01b+'$')[_0x8ceb86(0x20f)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x29ae21=a18_0x25f039,_0xeb044a=[_0x29ae21(0x275),_0x29ae21(0x264),_0x29ae21(0x1ec)];_0xeb044a[_0x29ae21(0x1bc)](_0x388743=>{const _0x2df4ba=_0x29ae21;process[_0x2df4ba(0x1f9)](_0x388743,()=>{const _0x2bc49b=_0x2df4ba;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2bc49b(0x225)](this[_0x2bc49b(0x1e2)],()=>{const _0x5b0505=_0x2bc49b;process['kill'](process[_0x5b0505(0x253)],_0x388743);});});}),process[_0x29ae21(0x1f9)](_0x29ae21(0x1e0),()=>{const _0x5a14fc=_0x29ae21;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5a14fc(0x225)](this[_0x5a14fc(0x1e2)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x50fa42){const _0xe997eb=a18_0x25f039,_0x3ffad4=this;_0x3ffad4[_0xe997eb(0x215)][_0xe997eb(0x1c5)](_0x50fa42?_0xe997eb(0x1c8)+_0x50fa42+'s':_0xe997eb(0x1ae));function _0x234ef7(_0x334ad5,_0x573b8c,_0x47f793=![]){const _0x7b87ab=_0xe997eb,_0x108331=_0x3ffad4[_0x7b87ab(0x1e2)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x3ffad4[_0x7b87ab(0x1e2)]?.['id']+':\x20'+(0x0,utils_1['prettyError'])(_0x334ad5):_0x7b87ab(0x1b4)+(0x0,utils_1['prettyError'])(_0x334ad5);_0x3ffad4[_0x7b87ab(0x215)][_0x7b87ab(0x1d8)](_0x108331),_0x573b8c&&!_0x47f793&&_0x3ffad4['logger']['error']('Result:\x20\x0a',_0x573b8c),__classPrivateFieldGet(_0x3ffad4,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x7b87ab(0x222)](_0x3ffad4,(0x0,utils_1['backoff'])(_0x50fa42,_0x3ffad4[_0x7b87ab(0x277)][_0x7b87ab(0x2a2)][_0x7b87ab(0x24e)]));}setTimeout(()=>{const _0x55c897=_0xe997eb;if(!__classPrivateFieldGet(_0x3ffad4,_Debuglet_running,'f')){_0x234ef7(new Error(_0x55c897(0x23b)));return;}__classPrivateFieldGet(_0x3ffad4,_Debuglet_controller,'f')[_0x55c897(0x214)](_0x3ffad4[_0x55c897(0x1e2)],(_0xc41c6a,_0x2c0a66,_0x420e17=![])=>{const _0xfcd5c6=_0x55c897;if(_0xc41c6a){_0x234ef7(_0xc41c6a,_0x2c0a66,_0x420e17);return;}if(_0x2c0a66[_0xfcd5c6(0x1e2)][_0xfcd5c6(0x28b)]){_0x234ef7(new Error(_0xfcd5c6(0x1e1))),_0x3ffad4['emit'](_0xfcd5c6(0x291));return;}const _0x149b30=_0x2c0a66[_0xfcd5c6(0x1e2)]['id'];_0x3ffad4['logger'][_0xfcd5c6(0x25d)](_0xfcd5c6(0x251)+_0x149b30),_0x3ffad4[_0xfcd5c6(0x1e2)]['id']=_0x149b30;const _0x22abdc=[__classPrivateFieldGet(_0x3ffad4,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0xfcd5c6(0x248)](_0x3ffad4)(_0x3ffad4[_0xfcd5c6(0x1e2)]['id'])];_0x3ffad4[_0xfcd5c6(0x277)][_0xfcd5c6(0x212)]&&_0x22abdc[_0xfcd5c6(0x1dd)](__classPrivateFieldGet(_0x3ffad4,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0xfcd5c6(0x248)](_0x3ffad4)(_0x3ffad4['debuggee']['id'])),Promise[_0xfcd5c6(0x24b)](_0x22abdc)[_0xfcd5c6(0x285)](()=>{const _0x4adaa8=_0xfcd5c6;_0x3ffad4[_0x4adaa8(0x1b2)]('registered',_0x149b30),__classPrivateFieldGet(_0x3ffad4,_Debuglet_debuggeeRegistered,'f')[_0x4adaa8(0x27d)](),__classPrivateFieldGet(_0x3ffad4,_Debuglet_v8debug,'f')?.['setBlocklistManager'](__classPrivateFieldGet(_0x3ffad4,_Debuglet_blocklistManager,'f')),!_0x3ffad4[_0x4adaa8(0x26f)]&&__classPrivateFieldGet(_0x3ffad4,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4adaa8(0x222)](_0x3ffad4,0x0,this['config'][_0x4adaa8(0x298)],_0x2c0a66?.[_0x4adaa8(0x26c)]);},_0x354c51=>{_0x234ef7(_0x354c51);});});},_0x50fa42*0x3e8)[_0xe997eb(0x228)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x4a18e0,_0x5dcfd3,_0x448d19){const _0x58020e=a18_0x25f039,_0x1dc306=this;!_0x5dcfd3&&(_0x1dc306[_0x58020e(0x26f)]=!![]),setTimeout(()=>{const _0x1ad74f=_0x58020e;if(!__classPrivateFieldGet(_0x1dc306,_Debuglet_running,'f'))return;!_0x5dcfd3&&assert(_0x1dc306['fetcherActive']),_0x1dc306[_0x1ad74f(0x215)][_0x1ad74f(0x1c5)](_0x1ad74f(0x24a)),__classPrivateFieldGet(_0x1dc306,_Debuglet_controller,'f')[_0x1ad74f(0x244)](_0x1dc306[_0x1ad74f(0x1e2)],(_0x152003,_0x49c23d,_0x4c5af7)=>{const _0x38cea9=_0x1ad74f;if(_0x49c23d?.[_0x38cea9(0x1af)]===0x194){_0x1dc306[_0x38cea9(0x215)][_0x38cea9(0x25d)]('Debuggee\x20is\x20not\x20registered'),_0x1dc306['fetcherActive']=![],__classPrivateFieldGet(_0x1dc306,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x38cea9(0x222)](_0x1dc306),__classPrivateFieldGet(_0x1dc306,_Debuglet_instances,'m',_Debuglet_register_)[_0x38cea9(0x222)](_0x1dc306);return;}if(_0x152003){const _0x42e41a=(0x0,utils_1[_0x38cea9(0x25e)])(_0x4a18e0,_0x1dc306[_0x38cea9(0x277)]['internal'][_0x38cea9(0x24e)]);_0x1dc306[_0x38cea9(0x215)][_0x38cea9(0x1d8)](_0x38cea9(0x288)+_0x49c23d?.[_0x38cea9(0x1af)]+_0x38cea9(0x265)+_0x152003[_0x38cea9(0x280)]+_0x38cea9(0x246)+_0x42e41a+'s'),__classPrivateFieldGet(_0x1dc306,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x38cea9(0x222)](_0x1dc306,_0x42e41a,_0x5dcfd3,_0x448d19);return;}_0x1dc306['logger'][_0x38cea9(0x1c5)]('\x09'+_0x49c23d[_0x38cea9(0x1af)]+_0x38cea9(0x270));if(!_0x4c5af7){const _0x22619d=_0x1dc306[_0x38cea9(0x277)][_0x38cea9(0x1e9)];_0x1dc306[_0x38cea9(0x215)]['error'](_0x38cea9(0x1d1)+_0x22619d+'s'),__classPrivateFieldGet(_0x1dc306,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x38cea9(0x222)](_0x1dc306,_0x22619d,_0x5dcfd3,_0x448d19);return;}this[_0x38cea9(0x26b)](_0x4c5af7[_0x38cea9(0x290)]);if(_0x4c5af7[_0x38cea9(0x21c)]){_0x1dc306[_0x38cea9(0x215)]['info']('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(_0x1dc306,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x1dc306,0x0,_0x5dcfd3,_0x448d19);return;}if(_0x4c5af7[_0x38cea9(0x1bd)]&&_0x4c5af7[_0x38cea9(0x1bd)]!==_0x38cea9(0x23c)){const _0x32cdad=this['pipingManager'][_0x38cea9(0x1d9)];_0x32cdad!==_0x4c5af7['pipeLogs']&&(this[_0x38cea9(0x215)][_0x38cea9(0x1c5)](_0x38cea9(0x235)+_0x32cdad+_0x38cea9(0x1b6)+_0x4c5af7['pipeLogs']),this[_0x38cea9(0x249)][_0x38cea9(0x1d9)]=_0x4c5af7[_0x38cea9(0x1bd)]);}if(_0x4c5af7[_0x38cea9(0x1d7)]&&_0x4c5af7[_0x38cea9(0x1cf)]!==_0x1dc306[_0x38cea9(0x1cf)]){_0x1dc306['collectLogRequestId']=_0x4c5af7[_0x38cea9(0x1cf)];const _0x1eb079=_0x1dc306[_0x38cea9(0x277)][_0x38cea9(0x1a6)]['agentLogTargetDir']&&path[_0x38cea9(0x20f)](_0x1dc306['config'][_0x38cea9(0x1a6)][_0x38cea9(0x274)],agent_logger_1[_0x38cea9(0x1f4)][_0x38cea9(0x23f)]);_0x1eb079&&fs[_0x38cea9(0x271)](_0x1eb079)?setTimeout(()=>__classPrivateFieldGet(_0x1dc306,_Debuglet_controller,'f')['sendAgentLogsToServer'](_0x1dc306['debuggee'],_0x4c5af7[_0x38cea9(0x1cf)],_0x1eb079)):_0x1dc306[_0x38cea9(0x215)]['info'](_0x38cea9(0x1e6)+_0x4c5af7[_0x38cea9(0x1cf)]+_0x38cea9(0x20a)+'logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits');}const _0x293e06=(_0x4c5af7[_0x38cea9(0x1f6)]||[])['map'](_0x7feed0=>new stackdriver_1['Breakpoint'](_0x7feed0))['filter'](_0x140172=>{const _0x68e46d=_0x38cea9,_0x49f59e=_0x140172['action']||_0x68e46d(0x1db);if(__classPrivateFieldGet(_0x1dc306,_Debuglet_completedBreakpointMap,'f')[_0x140172['id']])return![];if(_0x49f59e!==_0x68e46d(0x1db)&&_0x49f59e!==_0x68e46d(0x238))return _0x1dc306[_0x68e46d(0x215)][_0x68e46d(0x223)](_0x68e46d(0x1c7),_0x49f59e),_0x140172['status']=new status_message_1['StatusMessage'](status_message_1[_0x68e46d(0x1b8)][_0x68e46d(0x218)],utils_1[_0x68e46d(0x23e)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(_0x1dc306,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x1dc306,_0x140172),![];return!![];}),_0x307313=__classPrivateFieldGet(_0x1dc306,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x38cea9(0x222)](_0x1dc306);let _0x34f202=_0x307313[_0x38cea9(0x272)]>0x0;__classPrivateFieldGet(_0x1dc306,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x1dc306,_0x307313),_0x34f202=_0x34f202||__classPrivateFieldGet(_0x1dc306,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x1dc306,_0x293e06),_0x1dc306[_0x38cea9(0x1b2)](_0x38cea9(0x1a1),_0x293e06[_0x38cea9(0x272)]);_0x34f202&&_0x1dc306[_0x38cea9(0x215)][_0x38cea9(0x1c5)](formatBreakpoints('Active\x20Breakpoints:\x20\x0a',_0x1dc306['activeBreakpointMap']));__classPrivateFieldSet(_0x1dc306,_Debuglet_breakpointFetchedTimestamp,Date[_0x38cea9(0x1de)](),'f');_0x5dcfd3?__classPrivateFieldGet(_0x1dc306,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x1dc306,_Debuglet_breakpointFetched,'f')[_0x38cea9(0x27d)](),__classPrivateFieldSet(_0x1dc306,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x1dc306,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x38cea9(0x222)](_0x1dc306,0x0,_0x5dcfd3,_0x448d19);return;},_0x448d19);},_0x4a18e0*0x3e8)[_0x58020e(0x228)]();},_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_(_0x3fbc6e){const _0x3cac9f=a18_0x25f039,_0x575498=this,_0x18b452=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x3cac9f(0x222)](this,_0x3fbc6e);let _0x36eaf5=![];return _0x3fbc6e['forEach'](_0x1f7f6f=>{const _0x58337b=_0x3cac9f;!__classPrivateFieldGet(_0x575498,_Debuglet_completedBreakpointMap,'f')[_0x1f7f6f['id']]&&!_0x575498[_0x58337b(0x1ac)][_0x1f7f6f['id']]&&(__classPrivateFieldGet(_0x575498,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](_0x575498,_0x1f7f6f,_0xbb0ad8=>{const _0x1ea750=_0x58337b;_0xbb0ad8&&__classPrivateFieldGet(_0x575498,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1ea750(0x222)](_0x575498,_0x1f7f6f,!![],![]);}),_0x36eaf5=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x58337b(0x289)](_0x1f7f6f['id'])),__classPrivateFieldGet(_0x575498,_Debuglet_quotaManager,'f')['setIgnoreQuota'](_0x1f7f6f['id'],_0x1f7f6f['ignoreQuota']),_0x575498[_0x58337b(0x249)][_0x58337b(0x1a9)](_0x1f7f6f['id'],_0x1f7f6f['pipingStatus']);}),(0x0,mapSubtract_1[_0x3cac9f(0x1d3)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x18b452)[_0x3cac9f(0x1bc)](_0xc08fd4=>{delete __classPrivateFieldGet(_0x575498,_Debuglet_completedBreakpointMap,'f')[_0xc08fd4['id']],_0x36eaf5=!![];}),(0x0,mapSubtract_1[_0x3cac9f(0x1d3)])(this[_0x3cac9f(0x1ac)],_0x18b452)[_0x3cac9f(0x1bc)](_0x22f421=>{const _0x316ef3=_0x3cac9f;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x316ef3(0x222)](this,_0x22f421,!![]),_0x36eaf5=!![];}),_0x36eaf5&&_0x575498['logger'][_0x3cac9f(0x1c5)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x18b452)),_0x36eaf5;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x27cd38){const _0x251ad2={};return _0x27cd38['forEach'](_0x2b019b=>{_0x251ad2[_0x2b019b['id']]=_0x2b019b;}),_0x251ad2;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x5593cd,_0x5714cb){const _0x43a591=a18_0x25f039;this[_0x43a591(0x215)][_0x43a591(0x25d)](_0x43a591(0x29b),_0x5593cd),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x43a591(0x226)](_0x5593cd['id']),this[_0x43a591(0x249)][_0x43a591(0x28c)](_0x5593cd['id']),delete this['activeBreakpointMap'][_0x5593cd['id']],_0x5714cb&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x43a591(0x24d)](_0x5593cd,_0x296684=>{const _0x2e73a8=_0x43a591;if(_0x296684)this[_0x2e73a8(0x215)][_0x2e73a8(0x1d8)](_0x296684);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x2bed95,_0x4072f0){const _0xb0f18a=a18_0x25f039,_0x5e73f5=this;_0x5e73f5[_0xb0f18a(0x215)][_0xb0f18a(0x25d)](_0xb0f18a(0x27e),_0x2bed95);if(!_0x5e73f5[_0xb0f18a(0x277)]['allowExpressions']&&(_0x2bed95[_0xb0f18a(0x207)]||_0x2bed95[_0xb0f18a(0x227)])){_0x5e73f5['logger']['error'](utils_1['errors'][_0xb0f18a(0x27f)]['description']||''),_0x2bed95[_0xb0f18a(0x1af)]=new status_message_1[(_0xb0f18a(0x1b8))](status_message_1[_0xb0f18a(0x1b8)][_0xb0f18a(0x218)],utils_1[_0xb0f18a(0x23e)][_0xb0f18a(0x27f)],!![]),setImmediate(()=>{const _0xefbdd4=_0xb0f18a;_0x4072f0(utils_1[_0xefbdd4(0x23e)]['ALLOW_EXPRESSIONS_MESSAGE']);});return;}if((0x0,utils_1[_0xb0f18a(0x26e)])(process[_0xb0f18a(0x206)],_0xb0f18a(0x297))){const _0x46c831=utils_1[_0xb0f18a(0x23e)][_0xb0f18a(0x1b9)];_0x5e73f5[_0xb0f18a(0x215)][_0xb0f18a(0x1d8)](_0x46c831),_0x2bed95['status']=new status_message_1[(_0xb0f18a(0x1b8))](status_message_1[_0xb0f18a(0x1b8)][_0xb0f18a(0x218)],_0x46c831,!![]),setImmediate(()=>{_0x4072f0(_0x46c831);});return;}const _0x25c4d2=_0x2bed95[_0xb0f18a(0x19b)]?Number(_0x2bed95[_0xb0f18a(0x19b)][_0xb0f18a(0x20b)]):Date[_0xb0f18a(0x1de)]()/0x3e8,_0xcb3bfe=_0x2bed95[_0xb0f18a(0x21d)]||_0x5e73f5['config'][_0xb0f18a(0x1b3)];_0x2bed95[_0xb0f18a(0x296)]=_0x25c4d2+_0xcb3bfe,_0x2bed95[_0xb0f18a(0x250)]?.[_0xb0f18a(0x1cc)]&&(_0x2bed95['location'][_0xb0f18a(0x1cc)]=path[_0xb0f18a(0x204)](_0x2bed95[_0xb0f18a(0x250)][_0xb0f18a(0x1cc)]),path[_0xb0f18a(0x1d4)]===path[_0xb0f18a(0x221)][_0xb0f18a(0x1d4)]&&(_0x2bed95[_0xb0f18a(0x250)][_0xb0f18a(0x1cc)]=_0x2bed95[_0xb0f18a(0x250)]['path']['split']('\x5c')[_0xb0f18a(0x20f)](path[_0xb0f18a(0x1d4)]))),__classPrivateFieldGet(_0x5e73f5,_Debuglet_v8debug,'f')[_0xb0f18a(0x1fd)](_0x2bed95,_0x32bc53=>{const _0x2252af=_0xb0f18a;if(_0x32bc53){_0x4072f0(_0x32bc53);return;}_0x5e73f5[_0x2252af(0x215)][_0x2252af(0x25d)]('\x09successfully\x20added\x20breakpoint',_0x2bed95),_0x5e73f5[_0x2252af(0x1ac)][_0x2bed95['id']]=_0x2bed95,_0x2bed95['action']==='LOG'?__classPrivateFieldGet(_0x5e73f5,_Debuglet_v8debug,'f')[_0x2252af(0x1d6)](_0x2bed95,(_0x16c271,_0x45dadb)=>{const _0x1b8c5c=_0x2252af,_0x5bb4fa=_0x45dadb[_0x1b8c5c(0x1c6)](_0x57cc56=>__classPrivateFieldGet(_0x5e73f5,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1b8c5c(0x222)](_0x5e73f5,_0x57cc56)),_0x52efb4=(0x0,format_1[_0x1b8c5c(0x21b)])(_0x16c271,_0x5bb4fa),_0x433324=_0x1b8c5c(0x260)+(__classPrivateFieldGet(_0x5e73f5,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x52efb4)||_0x52efb4),_0x232e8e=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1b8c5c(0x27a)](_0x433324,_0x2bed95['id']);if(_0x232e8e){const _0x1aa0a0=_0x232e8e[_0x1b8c5c(0x280)],_0x1ebdeb=_0x232e8e[_0x1b8c5c(0x29e)];let _0x4fd5ce,_0x15cd7c;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1b8c5c(0x22f)]()&&!_0x1ebdeb&&(_0x4fd5ce='LOGPOINT:\x20'+_0x16c271,_0x15cd7c=_0x5bb4fa);_0x5e73f5[_0x1b8c5c(0x249)][_0x1b8c5c(0x224)](_0x5e73f5[_0x1b8c5c(0x1e2)],_0x2bed95['id'],_0x1aa0a0,_0x2bed95[_0x1b8c5c(0x292)],_0x4fd5ce,_0x15cd7c);if(_0x1ebdeb)__classPrivateFieldGet(_0x5e73f5,_Debuglet_v8debug,'f')?.[_0x1b8c5c(0x1eb)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(_0x5e73f5,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(_0x5e73f5,_Debuglet_nextEnableTimeout,null,'f');},_0x5e73f5[_0x1b8c5c(0x277)][_0x1b8c5c(0x26a)][_0x1b8c5c(0x1e3)]*0x3e8),'f');else _0x1aa0a0?.['length']===0x0&&__classPrivateFieldGet(_0x5e73f5,_Debuglet_v8debug,'f')?.['disable']();}},()=>{return __classPrivateFieldGet(_0x5e73f5,_Debuglet_completedBreakpointMap,'f')[_0x2bed95['id']];},_0x1c521f=>{const _0x1e118a=_0x2252af;if(_0x1c521f){_0x5e73f5[_0x1e118a(0x215)][_0x1e118a(0x1d8)](_0x1c521f),_0x4072f0(_0x1c521f);return;}}):__classPrivateFieldGet(_0x5e73f5,_Debuglet_v8debug,'f')[_0x2252af(0x231)](_0x2bed95,_0x5aa079=>{const _0xc10875=_0x2252af;if(_0x5aa079){setImmediate(()=>{const _0x5af52d=a18_0xad74;_0x5e73f5[_0x5af52d(0x215)][_0x5af52d(0x1d8)](_0x5aa079),_0x4072f0(_0x5aa079);});return;}_0x5e73f5[_0xc10875(0x215)][_0xc10875(0x25d)](_0xc10875(0x1d2),_0x2bed95),__classPrivateFieldGet(_0x5e73f5,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0xc10875(0x222)](_0x5e73f5,_0x2bed95,__classPrivateFieldGet(_0x5e73f5,_Debuglet_v8debug,'f')[_0xc10875(0x1bb)](_0x2bed95['id'])<=0x0);}),__classPrivateFieldGet(_0x5e73f5,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x2252af(0x222)](_0x5e73f5,_0x2bed95);}),this[_0xb0f18a(0x1b2)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x58eb42,_0x329256,_0x2c288c=!![]){const _0x18f32b=a18_0x25f039,_0x225016=this;if(_0x58eb42[_0x18f32b(0x1af)]&&_0x58eb42[_0x18f32b(0x1af)]['isError']){let _0x347891=_0x58eb42[_0x18f32b(0x1af)]?.[_0x18f32b(0x1e5)]?.['format']||'';_0x58eb42[_0x18f32b(0x1af)]?.['description']?.[_0x18f32b(0x259)]&&(_0x347891+=':\x20'+_0x58eb42[_0x18f32b(0x1af)]?.[_0x18f32b(0x1e5)]?.[_0x18f32b(0x259)][_0x18f32b(0x229)]()),_0x225016[_0x18f32b(0x215)][_0x18f32b(0x223)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x58eb42+'.\x20Error:\x20'+_0x347891);}else _0x225016[_0x18f32b(0x215)][_0x18f32b(0x25d)](_0x18f32b(0x1a2),_0x58eb42);_0x329256&&(__classPrivateFieldGet(_0x225016,_Debuglet_completedBreakpointMap,'f')[_0x58eb42['id']]=!![],__classPrivateFieldGet(_0x225016,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x18f32b(0x222)](_0x225016,_0x58eb42,_0x2c288c)),__classPrivateFieldGet(_0x225016,_Debuglet_controller,'f')[_0x18f32b(0x1c0)](_0x225016[_0x18f32b(0x1e2)],extend(!![],{},_0x58eb42));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x27f599){const _0xa765db=a18_0x25f039,_0x182e95=this;_0x182e95[_0xa765db(0x215)][_0xa765db(0x1c5)](_0xa765db(0x2a0)+_0x27f599+'\x20accepted\x20by\x20agent');const _0x51ae3a=extend(!![],{},_0x27f599);_0x51ae3a['isFinalState']=![],_0x51ae3a[_0xa765db(0x1af)]=new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0xa765db(0x218)],undefined,![],!![]),__classPrivateFieldGet(_0x182e95,_Debuglet_controller,'f')[_0xa765db(0x1c0)](_0x182e95[_0xa765db(0x1e2)],_0x51ae3a);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x11b9a4){const _0x35b947=a18_0x25f039,_0x20be71=this;this[_0x35b947(0x215)][_0x35b947(0x25d)](_0x35b947(0x28a),_0x11b9a4),__classPrivateFieldGet(_0x20be71,_Debuglet_completedBreakpointMap,'f')[_0x11b9a4['id']]=!![],__classPrivateFieldGet(_0x20be71,_Debuglet_controller,'f')[_0x35b947(0x1c0)](_0x20be71[_0x35b947(0x1e2)],_0x11b9a4);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5a0747){const _0x5535c1=a18_0x25f039,_0x433942=this;_0x5a0747[_0x5535c1(0x1bc)](_0x3f38f1=>{const _0x2df875=_0x5535c1;_0x433942['logger'][_0x2df875(0x25d)](_0x2df875(0x1ed),_0x3f38f1),__classPrivateFieldGet(_0x433942,_Debuglet_completedBreakpointMap,'f')[_0x3f38f1['id']]=!![],__classPrivateFieldGet(_0x433942,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2df875(0x222)](_0x433942,_0x3f38f1,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x356197=a18_0x25f039,_0x5b6ffe=Date[_0x356197(0x1de)]()/0x3e8;return Object[_0x356197(0x232)](this['activeBreakpointMap'])[_0x356197(0x27b)](_0x58c064=>_0x58c064[_0x356197(0x296)]?_0x58c064['expirationTime']<_0x5b6ffe:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x3fd894){const _0x1d14f8=a18_0x25f039,_0x4d2f7f=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1d14f8(0x25f)](_0x3fd894),_0x371b38=_0x4d2f7f[_0x1d14f8(0x241)],_0x412441=_0x4d2f7f[_0x1d14f8(0x281)];_0x371b38&&_0x371b38[_0x1d14f8(0x272)]&&this[_0x1d14f8(0x215)][_0x1d14f8(0x1c5)]('Blacklist:\x20\x0a\x09',_0x371b38[_0x1d14f8(0x20f)]('\x0a\x09')),_0x412441&&_0x412441[_0x1d14f8(0x272)]&&this[_0x1d14f8(0x215)][_0x1d14f8(0x1c5)](_0x1d14f8(0x1c2),_0x412441[_0x1d14f8(0x20f)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x1d14f8(0x203))](_0x371b38,_0x412441,this[_0x1d14f8(0x277)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x46e4bc){const _0xd256b4=a18_0x25f039,_0x5a1b9c=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xd256b4(0x208)](_0x46e4bc);_0x5a1b9c?.[_0xd256b4(0x272)]&&this['logger'][_0xd256b4(0x1c5)]('Redactions:\x20\x0a\x09',_0x5a1b9c[_0xd256b4(0x1c6)](_0x42b3ac=>'name:\x20'+_0x42b3ac[_0xd256b4(0x2a1)]+'\x20(type:\x20'+_0x42b3ac[_0xd256b4(0x20c)]+_0xd256b4(0x254)+_0x42b3ac[_0xd256b4(0x262)]+_0xd256b4(0x209)+_0x42b3ac[_0xd256b4(0x1a3)])[_0xd256b4(0x20f)]('\x0a\x09'));if((0x0,utils_1['satisfies'])(process[_0xd256b4(0x206)],_0xd256b4(0x1d0))){const {RedactionManagerRE2JS:_0x3a7bef}=await Promise[_0xd256b4(0x27d)]()[_0xd256b4(0x285)](()=>require('./reduction/redaction-manager-re2js'));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x3a7bef(this['logger']),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0xd256b4(0x1ee)](_0x5a1b9c);}},_Debuglet_stringify=function _Debuglet_stringify(_0x499519){const _0x32bdcd=a18_0x25f039;if(!_0x499519)return JSON['stringify'](_0x499519,(_0x49b17a,_0x9dd1e0)=>_0x9dd1e0===undefined?_0x32bdcd(0x1cb):_0x9dd1e0);if(Array[_0x32bdcd(0x276)](_0x499519)){const _0x279b81=[];for(const _0x1d575c of _0x499519){_0x279b81[_0x32bdcd(0x1dd)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x1d575c));}return'['+_0x279b81[_0x32bdcd(0x20f)](',\x20')+']';}if(typeof _0x499519===_0x32bdcd(0x1f1)){const _0x1c58ea=Object['entries'](_0x499519)[_0x32bdcd(0x1c6)](([_0x1862cd,_0x29eb33])=>{const _0x1a8cbb=_0x32bdcd,_0x1eb024=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1a8cbb(0x257)](_0x1862cd)?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1a8cbb(0x222)](this,_0x29eb33);return JSON[_0x1a8cbb(0x2a3)](_0x1862cd)+':\x20'+_0x1eb024;})['join'](',\x20');return'{'+_0x1c58ea+'}';}return JSON[_0x32bdcd(0x2a3)](_0x499519);});
|
|
1
|
+
const a18_0x2bb736=a18_0x5784;(function(_0x50591a,_0x491947){const _0xaa0ceb=a18_0x5784,_0x24a2ff=_0x50591a();while(!![]){try{const _0x513a3d=-parseInt(_0xaa0ceb(0x1e0))/0x1+-parseInt(_0xaa0ceb(0x217))/0x2*(parseInt(_0xaa0ceb(0x253))/0x3)+-parseInt(_0xaa0ceb(0x1ed))/0x4*(parseInt(_0xaa0ceb(0x1cb))/0x5)+parseInt(_0xaa0ceb(0x2a3))/0x6+-parseInt(_0xaa0ceb(0x1c0))/0x7*(parseInt(_0xaa0ceb(0x20a))/0x8)+parseInt(_0xaa0ceb(0x21c))/0x9+parseInt(_0xaa0ceb(0x23c))/0xa;if(_0x513a3d===_0x491947)break;else _0x24a2ff['push'](_0x24a2ff['shift']());}catch(_0x5181da){_0x24a2ff['push'](_0x24a2ff['shift']());}}}(a18_0x4718,0x76714));const a18_0x229d47=(function(){let _0x3db3be=!![];return function(_0x5dbf9f,_0x5f3902){const _0x1ca440=_0x3db3be?function(){const _0x1a5a54=a18_0x5784;if(_0x5f3902){const _0x46dd6a=_0x5f3902[_0x1a5a54(0x25e)](_0x5dbf9f,arguments);return _0x5f3902=null,_0x46dd6a;}}:function(){};return _0x3db3be=![],_0x1ca440;};}()),a18_0x84922a=a18_0x229d47(this,function(){const _0x49cbf8=a18_0x5784;return a18_0x84922a[_0x49cbf8(0x1e7)]()[_0x49cbf8(0x258)](_0x49cbf8(0x230))['toString']()[_0x49cbf8(0x272)](a18_0x84922a)['search']('(((.+)+)+)+$');});a18_0x84922a();'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x36aa7c,_0x67b99,_0x3738a7,_0x34a514,_0x4f38a2){const _0x1818a2=a18_0x5784;if(_0x34a514==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x34a514==='a'&&!_0x4f38a2)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x67b99===_0x1818a2(0x1be)?_0x36aa7c!==_0x67b99||!_0x4f38a2:!_0x67b99[_0x1818a2(0x2a4)](_0x36aa7c))throw new TypeError(_0x1818a2(0x248));return _0x34a514==='a'?_0x4f38a2[_0x1818a2(0x1c8)](_0x36aa7c,_0x3738a7):_0x4f38a2?_0x4f38a2[_0x1818a2(0x290)]=_0x3738a7:_0x67b99['set'](_0x36aa7c,_0x3738a7),_0x3738a7;},__classPrivateFieldGet=this&&this[a18_0x2bb736(0x24f)]||function(_0x3ceced,_0x18cc76,_0x40246e,_0x3fd21d){const _0x11bd0a=a18_0x2bb736;if(_0x40246e==='a'&&!_0x3fd21d)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x18cc76===_0x11bd0a(0x1be)?_0x3ceced!==_0x18cc76||!_0x3fd21d:!_0x18cc76['has'](_0x3ceced))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x40246e==='m'?_0x3fd21d:_0x40246e==='a'?_0x3fd21d[_0x11bd0a(0x1c8)](_0x3ceced):_0x3fd21d?_0x3fd21d[_0x11bd0a(0x290)]:_0x18cc76[_0x11bd0a(0x22d)](_0x3ceced);},_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_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[a18_0x2bb736(0x20d)](exports,'__esModule',{'value':!![]}),exports[a18_0x2bb736(0x2a1)]=exports[a18_0x2bb736(0x216)]=void 0x0;function a18_0x5784(_0x481e58,_0x2672e5){const _0x3db09e=a18_0x4718();return a18_0x5784=function(_0x84922a,_0x229d47){_0x84922a=_0x84922a-0x1a8;let _0x47180f=_0x3db09e[_0x84922a];return _0x47180f;},a18_0x5784(_0x481e58,_0x2672e5);}const assert=require(a18_0x2bb736(0x200)),events_1=require(a18_0x2bb736(0x288)),extend=require('extend'),fs=require('fs'),path=require(a18_0x2bb736(0x201)),util=require(a18_0x2bb736(0x1b7)),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a18_0x2bb736(0x2a8)),config_1=require(a18_0x2bb736(0x271)),controller_1=require(a18_0x2bb736(0x1d9)),SourceMapper=require(a18_0x2bb736(0x250)),debugapi=require(a18_0x2bb736(0x251)),piping_manager_1=require(a18_0x2bb736(0x21e)),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require(a18_0x2bb736(0x28a)),scanner_1=require('./io/scanner'),environment_metadata_1=require(a18_0x2bb736(0x1ba)),file_index_1=require(a18_0x2bb736(0x1e9)),utils_1=require('./util/utils'),redaction_manager_1=require(a18_0x2bb736(0x22f)),configuration_provider_1=require(a18_0x2bb736(0x1da)),normalizeConfig_1=require(a18_0x2bb736(0x1fc)),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),format_1=require('./debuglet-helpers/format'),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),readFilep=util[a18_0x2bb736(0x1e6)](fs[a18_0x2bb736(0x289)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x39cf43,_0x4891e6)=>{const _0x33e0ae=a18_0x2bb736;let _0x160e25=_0x39cf43+util[_0x33e0ae(0x1fa)](_0x33e0ae(0x1a8),_0x4891e6['id'],_0x4891e6['action'],util[_0x33e0ae(0x1c5)](_0x4891e6['location']));if(_0x4891e6['createTime']){const _0x1cfe0f=Number(_0x4891e6[_0x33e0ae(0x1c7)]['seconds']),_0x944b4e=new Date(_0x1cfe0f*0x3e8);_0x160e25+=_0x33e0ae(0x1ce)+_0x944b4e[_0x33e0ae(0x1e7)]();}return _0x4891e6[_0x33e0ae(0x1ea)]&&(_0x160e25+=_0x33e0ae(0x287)+util[_0x33e0ae(0x1c5)](_0x4891e6[_0x33e0ae(0x1ea)])),_0x4891e6[_0x33e0ae(0x239)]&&(_0x160e25+='\x0a\x09expressions:\x20'+util[_0x33e0ae(0x1c5)](_0x4891e6[_0x33e0ae(0x239)])),_0x160e25;},formatBreakpoints=(_0x1da239,_0x89f285)=>{const _0x59f2f8=a18_0x2bb736;return _0x1da239+Object[_0x59f2f8(0x238)](_0x89f285)[_0x59f2f8(0x1ac)](_0x59c216=>{return formatBreakpoint('',_0x89f285[_0x59c216]);})[_0x59f2f8(0x221)]('\x0a');};class CachedPromise{constructor(){const _0x4a82ab=a18_0x2bb736;this[_0x4a82ab(0x1f9)]=null,this[_0x4a82ab(0x207)]=new Promise(_0x201a29=>{const _0x57173a=_0x4a82ab;this[_0x57173a(0x1f9)]=_0x201a29;});}[a18_0x2bb736(0x22d)](){return this['promise'];}[a18_0x2bb736(0x1bc)](){const _0x8e44a6=a18_0x2bb736;this[_0x8e44a6(0x1f9)]&&(this[_0x8e44a6(0x1f9)](),this[_0x8e44a6(0x1f9)]=null);}}exports[a18_0x2bb736(0x216)]=CachedPromise;function a18_0x4718(){const _0x2123c1=['stringify','warn','GAE-','./controller','./configuration-provider','registered','pipingStatus','removeBreakpoint','isOutOfQuota','isRedactionActive','237140WUfzwW','caseInsensitive','selectFiles','forEach','Disabled\x20by\x20the\x20server','config','promisify','toString','bind','./io/file-index','condition','removePerBreakpointQuota','setPipingStatus','28JmiRaZ','EventEmitter','5.2\x20||\x20<4','deregister','Unknown\x20agentLogLevel\x20','breakpoint_set','disable','Result:\x20\x0a','clear','Scanner','once','Switching\x20globalPiping\x20status\x20from\x20','promiseResolve','format','logger','./debuglet-helpers/normalizeConfig','Blacklist\x20Exceptions:\x20\x0a\x09','blacklist','pid','assert','path','Active\x20Breakpoints:\x20\x0a','scan','sourceMapDiagnostics','split','start','promise','remotelyDisabled','internal','8qMnygm','enable','javascriptFileExtensions','defineProperty','now','Stopping\x20Debuglet','):\x20pattern:\x20','REDACTED_PLACEHOLDER','debuggee','isReady','mapFiles','getBlocklist','CachedPromise','28Zpzmpc','setLevel','cwd','listBreakpoints','BREAKPOINT_ACTION_MESSAGE','7037397bjSNrn','.\x20message:\x20','./piping-manager','existsSync','isReadyManager','join','fetcherActive','debuglet','./reduction/redaction-manager-re2js','createDebuggee','setBlocklistManager','Initializing\x20Node.js\x20agent\x20version:\x20','location','QuotaManager','error','kill','CAPTURE','get','Error\x20scanning\x20the\x20filesystem.','./reduction/redaction-manager','(((.+)+)+)+$','posix','expirationTime','all','Blacklist:\x20\x0a\x09','satisfies','\x20because\x20','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','keys','expressions','collectLogRequestId','Malformed\x20source-context.json\x20file:\x20','15112870hSVMuS','addAndPipeLog','pipeLogs','errors','prettyError','setCustomLogLevel','enqueueBreakpointUpdate','length','wait','normalize','ConfigurationProvider','NODE_VERSION_MESSAGE','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','backoff','rejecting\x20breakpoint','Expiring\x20breakpoint','sep','\x20completed.','setIgnoreQuota','__classPrivateFieldGet','./io/sourcemapper','./v8/debugapi','selectStats','194568dqzPrA','agentLog','stdErrThreshold','allowExpressions','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','search','object','clientConnectionTimeoutInSeconds','breakpoints','agentLogTargetDir','Unique\x20ID\x20for\x20this\x20Application:\x20','apply','LOGPOINT:\x20','blacklist_exception','hash','globalPipingStatus','message','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','logMainConfigParams','default','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','Server\x20breakpoints:\x0a','description','SIGINT','emit','breakpointUpdateIntervalSec','clearTransmissionTimeout','action','readFullVersion','Registered\x20as\x20debuggee:\x20','./config','constructor','concat','env','NOT_SET','remainingHits','agentLogMaxFileSizeMb','LOG','Found\x20breakpoint\x20with\x20invalid\x20action:','mainModule','Working\x20directory:\x20','EnvironmentMetadata','GAE_MINOR_VERSION','register','reporting\x20breakpoint\x20','getLevel','setPatterns','collectAndSendLog','sourceContext','Failed\x20to\x20register\x20debuggee:\x20','.\x20Retrying\x20in\x20','waitExpired','\x0a\x09condition:\x20','events','readFile','./blocklisting/patterns-blocklist-manager','initError','isDisabled','Fetching\x20breakpoints','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','activeBreakpointMap','value','started','\x20(type:\x20','\x09successfully\x20added\x20breakpoint','jsFileIndex','getInitialLevel','mapSubtract','create','StatusMessage','agentLogMaxFileCount','AGENT_LOG_FILE','\x09Notifying\x20server\x20about\x20error\x20for\x20','set','type','parameters','agentLogLevel','ignoreQuota','Debuglet','expirationSeconds','2840640axJIfN','has','UNSPECIFIED','filename','status','./agent-logger','maxRequestRetryDelaySeconds','SIGQUIT','\x09remove\x20breakpoint','getSourceContextFromFile','findFiles','unref','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','isArray','\x20to\x20','then','map','replace','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','debug','do\x20this.','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','redactionEnabled','fromFileStats','FileIndex','stop','\x09Long\x20poll\x20completed.','util','PipingManager','version','./environment-metadata','Error\x20processing\x20the\x20sourcemaps.','resolve','ALLOW_EXPRESSIONS_MESSAGE','function','createLogger','3083731tPMCsg','allowRootAsWorkingDirectory','\x09adding\x20breakpoint','source-context.json','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','inspect','quotaRecoverySeconds','createTime','call','push','Scheduling\x20registration\x20in\x20','497045sJiDmt','name','Failed\x20to\x20re-register\x20debuggee\x20','\x0a\x09createdTime:\x20','info','undefined','pipingManager','quotaCheck','Debuggee\x20is\x20not\x20registered','quota','name:\x20'];a18_0x4718=function(){return _0x2123c1;};return a18_0x4718();}class IsReadyImpl{constructor(_0x351579){const _0x364519=a18_0x2bb736;this[_0x364519(0x223)]=_0x351579;}[a18_0x2bb736(0x213)](){const _0x570445=a18_0x2bb736;return this[_0x570445(0x223)][_0x570445(0x213)]();}}class Debuglet extends events_1[a18_0x2bb736(0x1ee)]{constructor(_0x13e8d8,_0x52dca2){const _0x22e083=a18_0x2bb736;super(),_Debuglet_instances['add'](this),_Debuglet_debug[_0x22e083(0x29c)](this,void 0x0),_Debuglet_v8debug[_0x22e083(0x29c)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller[_0x22e083(0x29c)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x22e083(0x29c)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x22e083(0x29c)](this,null),this[_0x22e083(0x220)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x22e083(0x29c)](this,void 0x0),_Debuglet_scanner[_0x22e083(0x29c)](this,void 0x0),_Debuglet_quotaManager[_0x22e083(0x29c)](this,void 0x0),_Debuglet_blocklistManager[_0x22e083(0x29c)](this,void 0x0),_Debuglet_redactionManager[_0x22e083(0x29c)](this,void 0x0),_Debuglet_configProvider[_0x22e083(0x29c)](this,void 0x0),this[_0x22e083(0x1e5)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0x52dca2),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x22e083(0x246))](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x13e8d8,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x22e083(0x222)]=![],this['logger']=agent_logger_1['default'][_0x22e083(0x1bf)](this[_0x22e083(0x1e5)][_0x22e083(0x254)][_0x22e083(0x25c)],this[_0x22e083(0x1e5)][_0x22e083(0x254)][_0x22e083(0x277)],this['config'][_0x22e083(0x254)][_0x22e083(0x299)],this['config'][_0x22e083(0x254)]['agentLogLevel'],this[_0x22e083(0x1e5)][_0x22e083(0x254)][_0x22e083(0x255)]),(0x0,config_1[_0x22e083(0x265)])(this[_0x22e083(0x1e5)],this[_0x22e083(0x1fb)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x22e083(0x27c))](this[_0x22e083(0x1fb)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x22e083(0x1e5)],this[_0x22e083(0x1fb)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x22e083(0x1f6))](this['logger']),'f'),this[_0x22e083(0x212)]=null,this[_0x22e083(0x28f)]={},__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[(_0x22e083(0x229))](this[_0x22e083(0x1fb)],this[_0x22e083(0x1e5)]),'f'),this['pipingManager']=new piping_manager_1[(_0x22e083(0x1b8))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x22e083(0x1e5)]);}async[a18_0x2bb736(0x2ad)](_0x366305,_0xd58a51){const _0x2cc08c=a18_0x2bb736,_0x288022=_0x366305['workingDirectory'],_0x4329d7=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x2cc08c(0x203)](_0x288022,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2cc08c(0x1c8)](_a,_0x366305[_0x2cc08c(0x20c)][_0x2cc08c(0x273)]('js.map')),_0xd58a51,_0x366305['extraPaths']),_0x1698d9=_0x4329d7[_0x2cc08c(0x252)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2cc08c(0x1c8)](_a,_0x366305['javascriptFileExtensions'])),_0x5db2a6=file_index_1[_0x2cc08c(0x1b4)][_0x2cc08c(0x1b3)](_0x1698d9),_0x261166=_0x4329d7[_0x2cc08c(0x1e2)](/.js.map$/,process[_0x2cc08c(0x219)]()),_0xf7df05=_0x4329d7[_0x2cc08c(0x23f)]();return{'mapFiles':_0x261166,'errors':_0xf7df05,'jsFileIndex':_0x5db2a6,'hash':_0x4329d7[_0x2cc08c(0x261)]};}async[a18_0x2bb736(0x206)](){const _0x5d34b4=a18_0x2bb736,_0x31c748=this,_0xc12b=_0x31c748['config']['workingDirectory'];if(!_0x31c748['config'][_0x5d34b4(0x1c1)]&&path[_0x5d34b4(0x221)](_0xc12b,'..')===_0xc12b){const _0x3debcd=_0x5d34b4(0x264)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x5d34b4(0x1ae)+_0x5d34b4(0x1b0);_0x31c748[_0x5d34b4(0x1fb)][_0x5d34b4(0x22a)](_0x3debcd),_0x31c748[_0x5d34b4(0x26b)](_0x5d34b4(0x28b),new Error(_0x3debcd));return;}let _0x2f28d0;process[_0x5d34b4(0x274)][_0x5d34b4(0x27d)]&&(_0x2f28d0=_0x5d34b4(0x1d8)+process['env'][_0x5d34b4(0x27d)]);let _0x8ef9a6,_0x49aa4e=_0x2f28d0||'';try{_0x8ef9a6=await this[_0x5d34b4(0x2ad)](_0x31c748['config'],_0x2f28d0),_0x8ef9a6['errors']['forEach'](_0x31c748['logger']['warn']);}catch(_0x30c25c){_0x31c748[_0x5d34b4(0x1fb)][_0x5d34b4(0x22a)](_0x5d34b4(0x22e),_0x30c25c),_0x31c748[_0x5d34b4(0x26b)](_0x5d34b4(0x28b),_0x30c25c);return;}try{const _0x509561=await SourceMapper[_0x5d34b4(0x297)](_0x31c748[_0x5d34b4(0x1fb)],_0x8ef9a6[_0x5d34b4(0x214)],_0x31c748[_0x5d34b4(0x1e5)]['internal']?.[_0x5d34b4(0x204)]);__classPrivateFieldSet(_0x31c748,_Debuglet_v8debug,debugapi[_0x5d34b4(0x297)](_0x31c748['logger'],_0x31c748[_0x5d34b4(0x1e5)],_0x8ef9a6[_0x5d34b4(0x294)],_0x509561,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x49aa4e=_0x2f28d0||_0x8ef9a6[_0x5d34b4(0x261)];}catch(_0x3ded38){_0x31c748[_0x5d34b4(0x1fb)][_0x5d34b4(0x22a)](_0x5d34b4(0x1bb),_0x3ded38),_0x31c748['logger'][_0x5d34b4(0x1cf)](JSON['stringify'](_0x3ded38)),_0x31c748['emit'](_0x5d34b4(0x28b),_0x3ded38);}_0x31c748[_0x5d34b4(0x1fb)][_0x5d34b4(0x1cf)](_0x5d34b4(0x25d)+_0x49aa4e);const _0x3b9005=(0x0,utils_1[_0x5d34b4(0x26f)])(_0x31c748[_0x5d34b4(0x1fb)])[_0x5d34b4(0x1ad)]('\x0a','');_0x31c748[_0x5d34b4(0x1fb)]['info'](_0x5d34b4(0x227)+_0x3b9005);let _0x1d3c34;try{_0x1d3c34=_0x31c748[_0x5d34b4(0x1e5)][_0x5d34b4(0x283)]||await _a[_0x5d34b4(0x2ac)]();}catch(_0x3fdfd4){}_0x31c748['logger'][_0x5d34b4(0x1cf)](_0x5d34b4(0x1c4)+process[_0x5d34b4(0x27a)]?.[_0x5d34b4(0x2a6)]),_0x31c748[_0x5d34b4(0x1fb)][_0x5d34b4(0x1af)](_0x5d34b4(0x27b)+_0xc12b),_0x31c748[_0x5d34b4(0x1fb)][_0x5d34b4(0x1af)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x31c748,_Debuglet_running,!![],'f'),_0x31c748[_0x5d34b4(0x212)]=(0x0,createDebuggee_1[_0x5d34b4(0x225)])(_0x49aa4e,_0x31c748[_0x5d34b4(0x1e5)],_0x1d3c34,__classPrivateFieldGet(_0x31c748,_Debuglet_debug,'f')['packageInfo'],_0x3b9005,_0x31c748[_0x5d34b4(0x1fb)],__classPrivateFieldGet(_0x31c748,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x31c748,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](_0x31c748),__classPrivateFieldGet(_0x31c748,_Debuglet_instances,'m',_Debuglet_register_)[_0x5d34b4(0x1c8)](_0x31c748),_0x31c748[_0x5d34b4(0x26b)](_0x5d34b4(0x291));}[a18_0x2bb736(0x213)](){const _0x1add6a=a18_0x2bb736;if(Date[_0x1add6a(0x20e)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x1add6a(0x1bc)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x1add6a(0x22d)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()[_0x1add6a(0x1ab)](()=>{const _0x1c3c5e=_0x1add6a;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1c3c5e(0x1c8)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x1add6a(0x22d)]();}}static async[a18_0x2bb736(0x2ac)](){const _0x1c625c=a18_0x2bb736,_0x42c924=await readFilep(_0x1c625c(0x1c3),'utf8');try{return JSON['parse'](_0x42c924);}catch(_0x3475c3){throw new Error(_0x1c625c(0x23b)+_0x3475c3);}}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x2bb736(0x1b5)](){const _0x39a014=a18_0x2bb736;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x39a014(0x1fb)][_0x39a014(0x1af)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0x39a014(0x1fb)][_0x39a014(0x1af)](_0x39a014(0x20f)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x39a014(0x26d)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit']('stopped');}['setCustomLogLevel'](_0x294056){const _0x2f5747=a18_0x2bb736,_0x4c900d=this[_0x2f5747(0x1fb)][_0x2f5747(0x295)]();if(_0x4c900d===_0x2f5747(0x1af))return;switch(_0x294056){case'DEBUG':this[_0x2f5747(0x1fb)][_0x2f5747(0x280)]()!=='debug'&&(this[_0x2f5747(0x1fb)][_0x2f5747(0x218)](_0x2f5747(0x1af)),this[_0x2f5747(0x1fb)][_0x2f5747(0x1af)](_0x2f5747(0x267)));break;case _0x2f5747(0x275):case undefined:this[_0x2f5747(0x1fb)][_0x2f5747(0x280)]()===_0x2f5747(0x1af)&&(this[_0x2f5747(0x1fb)][_0x2f5747(0x218)](_0x4c900d),this[_0x2f5747(0x1fb)][_0x2f5747(0x1cf)](_0x2f5747(0x28e)+_0x4c900d+')'));break;default:this['logger'][_0x2f5747(0x1d7)](_0x2f5747(0x1f1)+_0x294056);}}}exports[a18_0x2bb736(0x2a1)]=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(_0x5d41cf){const _0x22b110=a18_0x2bb736;return new RegExp(_0x5d41cf[_0x22b110(0x1ac)](_0x3a7ab1=>_0x3a7ab1+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x348a13=a18_0x2bb736,_0xb2c808=['SIGTERM',_0x348a13(0x26a),_0x348a13(0x2aa)];_0xb2c808[_0x348a13(0x1e3)](_0x4026dc=>{const _0x4efa16=_0x348a13;process[_0x4efa16(0x1f7)](_0x4026dc,()=>{const _0xb096f=_0x4efa16;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xb096f(0x1f0)](this[_0xb096f(0x212)],()=>{const _0x52df2a=_0xb096f;process[_0x52df2a(0x22b)](process[_0x52df2a(0x1ff)],_0x4026dc);});});}),process[_0x348a13(0x1f7)]('beforeExit',()=>{const _0x1eb5e9=_0x348a13;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1eb5e9(0x1f0)](this[_0x1eb5e9(0x212)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x8f87d=a18_0x2bb736;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x8f87d(0x1c8)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x59dfb7){const _0x4b481c=a18_0x2bb736,_0x45d7ec=this;_0x45d7ec[_0x4b481c(0x1fb)]['debug'](_0x59dfb7?_0x4b481c(0x1ca)+_0x59dfb7+'s':'Registering\x20debuggee');function _0x2abc0f(_0x38fab0,_0x5dead4,_0x4a5861=![]){const _0x3ffc5a=_0x4b481c,_0x3af0f4=_0x45d7ec[_0x3ffc5a(0x212)]?.['id']?_0x3ffc5a(0x1cd)+_0x45d7ec[_0x3ffc5a(0x212)]?.['id']+':\x20'+(0x0,utils_1[_0x3ffc5a(0x240)])(_0x38fab0):_0x3ffc5a(0x284)+(0x0,utils_1[_0x3ffc5a(0x240)])(_0x38fab0);_0x45d7ec[_0x3ffc5a(0x1fb)][_0x3ffc5a(0x22a)](_0x3af0f4),_0x5dead4&&!_0x4a5861&&_0x45d7ec[_0x3ffc5a(0x1fb)][_0x3ffc5a(0x22a)](_0x3ffc5a(0x1f4),_0x5dead4),__classPrivateFieldGet(_0x45d7ec,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x3ffc5a(0x1c8)](_0x45d7ec,(0x0,utils_1[_0x3ffc5a(0x249)])(_0x59dfb7,_0x45d7ec[_0x3ffc5a(0x1e5)][_0x3ffc5a(0x209)][_0x3ffc5a(0x2a9)]));}setTimeout(()=>{const _0x4215d6=_0x4b481c;if(!__classPrivateFieldGet(_0x45d7ec,_Debuglet_running,'f')){_0x2abc0f(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(_0x45d7ec,_Debuglet_controller,'f')[_0x4215d6(0x27e)](_0x45d7ec[_0x4215d6(0x212)],(_0x47f128,_0x5b9efb,_0x155b68=![])=>{const _0x373c36=_0x4215d6;if(_0x47f128){_0x2abc0f(_0x47f128,_0x5b9efb,_0x155b68);return;}if(_0x5b9efb[_0x373c36(0x212)][_0x373c36(0x28c)]){_0x2abc0f(new Error(_0x373c36(0x1e4))),_0x45d7ec[_0x373c36(0x26b)](_0x373c36(0x208));return;}const _0x53543e=_0x5b9efb[_0x373c36(0x212)]['id'];_0x45d7ec[_0x373c36(0x1fb)]['info'](_0x373c36(0x270)+_0x53543e),_0x45d7ec[_0x373c36(0x212)]['id']=_0x53543e;const _0x43fca0=[__classPrivateFieldGet(_0x45d7ec,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x373c36(0x1e8)](_0x45d7ec)(_0x45d7ec['debuggee']['id'])];_0x45d7ec[_0x373c36(0x1e5)][_0x373c36(0x1b2)]&&_0x43fca0['push'](__classPrivateFieldGet(_0x45d7ec,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x373c36(0x1e8)](_0x45d7ec)(_0x45d7ec[_0x373c36(0x212)]['id'])),Promise[_0x373c36(0x233)](_0x43fca0)[_0x373c36(0x1ab)](()=>{const _0x3a8a0c=_0x373c36;_0x45d7ec[_0x3a8a0c(0x26b)](_0x3a8a0c(0x1db),_0x53543e),__classPrivateFieldGet(_0x45d7ec,_Debuglet_debuggeeRegistered,'f')[_0x3a8a0c(0x1bc)](),__classPrivateFieldGet(_0x45d7ec,_Debuglet_v8debug,'f')?.[_0x3a8a0c(0x226)](__classPrivateFieldGet(_0x45d7ec,_Debuglet_blocklistManager,'f')),!_0x45d7ec['fetcherActive']&&__classPrivateFieldGet(_0x45d7ec,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3a8a0c(0x1c8)](_0x45d7ec,0x0,this[_0x3a8a0c(0x1e5)]['fetchBreakpointsOnce'],_0x5b9efb?.[_0x3a8a0c(0x25a)]);},_0x3e3c04=>{_0x2abc0f(_0x3e3c04);});});},_0x59dfb7*0x3e8)[_0x4b481c(0x2ae)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x4853a7,_0x2fabe2,_0x4da3a8){const _0x56a29c=a18_0x2bb736,_0x36618d=this;!_0x2fabe2&&(_0x36618d[_0x56a29c(0x222)]=!![]),setTimeout(()=>{const _0x455688=_0x56a29c;if(!__classPrivateFieldGet(_0x36618d,_Debuglet_running,'f'))return;!_0x2fabe2&&assert(_0x36618d['fetcherActive']),_0x36618d[_0x455688(0x1fb)][_0x455688(0x1af)](_0x455688(0x28d)),__classPrivateFieldGet(_0x36618d,_Debuglet_controller,'f')[_0x455688(0x21a)](_0x36618d[_0x455688(0x212)],(_0x4a2786,_0x22a378,_0x3eddb7)=>{const _0x62eb62=_0x455688;if(_0x22a378?.['status']===0x194){_0x36618d['logger'][_0x62eb62(0x1cf)](_0x62eb62(0x1d3)),_0x36618d[_0x62eb62(0x222)]=![],__classPrivateFieldGet(_0x36618d,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x62eb62(0x1c8)](_0x36618d),__classPrivateFieldGet(_0x36618d,_Debuglet_instances,'m',_Debuglet_register_)[_0x62eb62(0x1c8)](_0x36618d);return;}if(_0x4a2786){const _0x35f528=(0x0,utils_1[_0x62eb62(0x249)])(_0x4853a7,_0x36618d[_0x62eb62(0x1e5)]['internal']['maxRequestRetryDelaySeconds']);_0x36618d['logger']['error']('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x22a378?.[_0x62eb62(0x2a7)]+_0x62eb62(0x21d)+_0x4a2786[_0x62eb62(0x263)]+_0x62eb62(0x285)+_0x35f528+'s'),__classPrivateFieldGet(_0x36618d,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x36618d,_0x35f528,_0x2fabe2,_0x4da3a8);return;}_0x36618d[_0x62eb62(0x1fb)]['debug']('\x09'+_0x22a378[_0x62eb62(0x2a7)]+_0x62eb62(0x24d));if(!_0x3eddb7){const _0x7b2b06=_0x36618d[_0x62eb62(0x1e5)][_0x62eb62(0x26c)];_0x36618d[_0x62eb62(0x1fb)][_0x62eb62(0x22a)](_0x62eb62(0x1b1)+_0x7b2b06+'s'),__classPrivateFieldGet(_0x36618d,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x62eb62(0x1c8)](_0x36618d,_0x7b2b06,_0x2fabe2,_0x4da3a8);return;}this[_0x62eb62(0x241)](_0x3eddb7[_0x62eb62(0x29f)]);if(_0x3eddb7[_0x62eb62(0x286)]){_0x36618d['logger'][_0x62eb62(0x1cf)](_0x62eb62(0x1b6)),__classPrivateFieldGet(_0x36618d,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x62eb62(0x1c8)](_0x36618d,0x0,_0x2fabe2,_0x4da3a8);return;}if(_0x3eddb7[_0x62eb62(0x23e)]&&_0x3eddb7[_0x62eb62(0x23e)]!==_0x62eb62(0x275)){const _0x45d713=this[_0x62eb62(0x1d1)][_0x62eb62(0x262)];_0x45d713!==_0x3eddb7['pipeLogs']&&(this[_0x62eb62(0x1fb)][_0x62eb62(0x1af)](_0x62eb62(0x1f8)+_0x45d713+_0x62eb62(0x1aa)+_0x3eddb7[_0x62eb62(0x23e)]),this[_0x62eb62(0x1d1)]['globalPipingStatus']=_0x3eddb7[_0x62eb62(0x23e)]);}if(_0x3eddb7[_0x62eb62(0x282)]&&_0x3eddb7[_0x62eb62(0x23a)]!==_0x36618d['collectLogRequestId']){_0x36618d['collectLogRequestId']=_0x3eddb7[_0x62eb62(0x23a)];const _0x159be5=_0x36618d[_0x62eb62(0x1e5)][_0x62eb62(0x254)][_0x62eb62(0x25c)]&&path[_0x62eb62(0x221)](_0x36618d['config'][_0x62eb62(0x254)][_0x62eb62(0x25c)],agent_logger_1[_0x62eb62(0x266)][_0x62eb62(0x29a)]);_0x159be5&&fs[_0x62eb62(0x21f)](_0x159be5)?setTimeout(()=>__classPrivateFieldGet(_0x36618d,_Debuglet_controller,'f')['sendAgentLogsToServer'](_0x36618d['debuggee'],_0x3eddb7['collectLogRequestId'],_0x159be5)):_0x36618d[_0x62eb62(0x1fb)][_0x62eb62(0x1cf)]('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x3eddb7[_0x62eb62(0x23a)]+_0x62eb62(0x236)+_0x62eb62(0x237));}const _0x658a98=(_0x3eddb7[_0x62eb62(0x25b)]||[])[_0x62eb62(0x1ac)](_0x5623c2=>new stackdriver_1['Breakpoint'](_0x5623c2))['filter'](_0x38c411=>{const _0x10b726=_0x62eb62,_0x5a35bd=_0x38c411[_0x10b726(0x26e)]||'CAPTURE';if(__classPrivateFieldGet(_0x36618d,_Debuglet_completedBreakpointMap,'f')[_0x38c411['id']])return![];if(_0x5a35bd!==_0x10b726(0x22c)&&_0x5a35bd!=='LOG')return _0x36618d[_0x10b726(0x1fb)]['warn'](_0x10b726(0x279),_0x5a35bd),_0x38c411[_0x10b726(0x2a7)]=new status_message_1[(_0x10b726(0x298))](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0x10b726(0x23f)][_0x10b726(0x21b)],!![]),__classPrivateFieldGet(_0x36618d,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x10b726(0x1c8)](_0x36618d,_0x38c411),![];return!![];}),_0x530a0d=__classPrivateFieldGet(_0x36618d,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](_0x36618d);let _0x41198b=_0x530a0d[_0x62eb62(0x243)]>0x0;__classPrivateFieldGet(_0x36618d,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x62eb62(0x1c8)](_0x36618d,_0x530a0d),_0x41198b=_0x41198b||__classPrivateFieldGet(_0x36618d,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x62eb62(0x1c8)](_0x36618d,_0x658a98),_0x36618d[_0x62eb62(0x26b)]('breakpoints_fetched',_0x658a98['length']);_0x41198b&&_0x36618d[_0x62eb62(0x1fb)]['debug'](formatBreakpoints(_0x62eb62(0x202),_0x36618d['activeBreakpointMap']));__classPrivateFieldSet(_0x36618d,_Debuglet_breakpointFetchedTimestamp,Date[_0x62eb62(0x20e)](),'f');_0x2fabe2?__classPrivateFieldGet(_0x36618d,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x36618d,_Debuglet_breakpointFetched,'f')[_0x62eb62(0x1bc)](),__classPrivateFieldSet(_0x36618d,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x36618d,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x62eb62(0x1c8)](_0x36618d,0x0,_0x2fabe2,_0x4da3a8);return;},_0x4da3a8);},_0x4853a7*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x51897c=a18_0x2bb736;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x51897c(0x1bc)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x208358){const _0x120e13=a18_0x2bb736,_0x42ff02=this,_0x32df0d=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x120e13(0x1c8)](this,_0x208358);let _0x395b31=![];return _0x208358[_0x120e13(0x1e3)](_0x35a0ac=>{const _0x1c1d3d=_0x120e13;!__classPrivateFieldGet(_0x42ff02,_Debuglet_completedBreakpointMap,'f')[_0x35a0ac['id']]&&!_0x42ff02[_0x1c1d3d(0x28f)][_0x35a0ac['id']]&&(__classPrivateFieldGet(_0x42ff02,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x1c1d3d(0x1c8)](_0x42ff02,_0x35a0ac,_0x212520=>{const _0x474f6f=_0x1c1d3d;_0x212520&&__classPrivateFieldGet(_0x42ff02,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x474f6f(0x1c8)](_0x42ff02,_0x35a0ac,!![],![]);}),_0x395b31=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x35a0ac['id'])),__classPrivateFieldGet(_0x42ff02,_Debuglet_quotaManager,'f')[_0x1c1d3d(0x24e)](_0x35a0ac['id'],_0x35a0ac[_0x1c1d3d(0x2a0)]),_0x42ff02[_0x1c1d3d(0x1d1)][_0x1c1d3d(0x1ec)](_0x35a0ac['id'],_0x35a0ac[_0x1c1d3d(0x1dc)]);}),(0x0,mapSubtract_1[_0x120e13(0x296)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x32df0d)['forEach'](_0x431234=>{delete __classPrivateFieldGet(_0x42ff02,_Debuglet_completedBreakpointMap,'f')[_0x431234['id']],_0x395b31=!![];}),(0x0,mapSubtract_1[_0x120e13(0x296)])(this[_0x120e13(0x28f)],_0x32df0d)['forEach'](_0x1bedff=>{const _0x4c7b6e=_0x120e13;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x4c7b6e(0x1c8)](this,_0x1bedff,!![]),_0x395b31=!![];}),_0x395b31&&_0x42ff02[_0x120e13(0x1fb)][_0x120e13(0x1af)](formatBreakpoints(_0x120e13(0x268),_0x32df0d)),_0x395b31;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x109f35){const _0x1417cb={};return _0x109f35['forEach'](_0x3d18f5=>{_0x1417cb[_0x3d18f5['id']]=_0x3d18f5;}),_0x1417cb;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x5543ff,_0x5090f9){const _0x4159d7=a18_0x2bb736;this[_0x4159d7(0x1fb)][_0x4159d7(0x1cf)](_0x4159d7(0x2ab),_0x5543ff),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x4159d7(0x1eb)](_0x5543ff['id']),this[_0x4159d7(0x1d1)][_0x4159d7(0x1dd)](_0x5543ff['id']),delete this[_0x4159d7(0x28f)][_0x5543ff['id']],_0x5090f9&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4159d7(0x1f5)](_0x5543ff,_0x3002b9=>{if(_0x3002b9)this['logger']['error'](_0x3002b9);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x155a0c,_0x26946c){const _0xe97c7=a18_0x2bb736,_0x5d1594=this;_0x5d1594[_0xe97c7(0x1fb)][_0xe97c7(0x1cf)](_0xe97c7(0x1c2),_0x155a0c);if(!_0x5d1594[_0xe97c7(0x1e5)][_0xe97c7(0x256)]&&(_0x155a0c[_0xe97c7(0x1ea)]||_0x155a0c[_0xe97c7(0x239)])){_0x5d1594[_0xe97c7(0x1fb)][_0xe97c7(0x22a)](utils_1['errors'][_0xe97c7(0x1bd)][_0xe97c7(0x269)]||''),_0x155a0c[_0xe97c7(0x2a7)]=new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0xe97c7(0x2a5)],utils_1[_0xe97c7(0x23f)][_0xe97c7(0x1bd)],!![]),setImmediate(()=>{const _0x28f348=_0xe97c7;_0x26946c(utils_1['errors'][_0x28f348(0x1bd)]);});return;}if((0x0,utils_1[_0xe97c7(0x235)])(process[_0xe97c7(0x1b9)],_0xe97c7(0x1ef))){const _0x39c3f4=utils_1[_0xe97c7(0x23f)][_0xe97c7(0x247)];_0x5d1594[_0xe97c7(0x1fb)][_0xe97c7(0x22a)](_0x39c3f4),_0x155a0c[_0xe97c7(0x2a7)]=new status_message_1[(_0xe97c7(0x298))](status_message_1[_0xe97c7(0x298)][_0xe97c7(0x2a5)],_0x39c3f4,!![]),setImmediate(()=>{_0x26946c(_0x39c3f4);});return;}const _0x37307f=_0x155a0c[_0xe97c7(0x1c7)]?Number(_0x155a0c[_0xe97c7(0x1c7)]['seconds']):Date[_0xe97c7(0x20e)]()/0x3e8,_0x1f3497=_0x155a0c[_0xe97c7(0x2a2)]||_0x5d1594[_0xe97c7(0x1e5)]['breakpointExpirationSec'];_0x155a0c[_0xe97c7(0x232)]=_0x37307f+_0x1f3497,_0x155a0c[_0xe97c7(0x228)]?.[_0xe97c7(0x201)]&&(_0x155a0c[_0xe97c7(0x228)][_0xe97c7(0x201)]=path[_0xe97c7(0x245)](_0x155a0c[_0xe97c7(0x228)][_0xe97c7(0x201)]),path['sep']===path[_0xe97c7(0x231)][_0xe97c7(0x24c)]&&(_0x155a0c[_0xe97c7(0x228)][_0xe97c7(0x201)]=_0x155a0c[_0xe97c7(0x228)][_0xe97c7(0x201)][_0xe97c7(0x205)]('\x5c')['join'](path[_0xe97c7(0x24c)]))),__classPrivateFieldGet(_0x5d1594,_Debuglet_v8debug,'f')[_0xe97c7(0x29c)](_0x155a0c,_0x2ed50e=>{const _0x374227=_0xe97c7;if(_0x2ed50e){_0x26946c(_0x2ed50e);return;}_0x5d1594[_0x374227(0x1fb)][_0x374227(0x1cf)](_0x374227(0x293),_0x155a0c),_0x5d1594[_0x374227(0x28f)][_0x155a0c['id']]=_0x155a0c,_0x155a0c[_0x374227(0x26e)]===_0x374227(0x278)?__classPrivateFieldGet(_0x5d1594,_Debuglet_v8debug,'f')['log'](_0x155a0c,(_0x4969d7,_0x32f017)=>{const _0x401c4c=_0x374227,_0x464531=_0x32f017[_0x401c4c(0x1ac)](_0x413b08=>__classPrivateFieldGet(_0x5d1594,_Debuglet_instances,'m',_Debuglet_stringify)['call'](_0x5d1594,_0x413b08)),_0x79c60e=(0x0,format_1[_0x401c4c(0x1fa)])(_0x4969d7,_0x464531),_0xc09c0c=_0x401c4c(0x25f)+(__classPrivateFieldGet(_0x5d1594,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x79c60e)||_0x79c60e),_0x41a045=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x401c4c(0x1d2)](_0xc09c0c,_0x155a0c['id']);if(_0x41a045){const _0x3384b4=_0x41a045[_0x401c4c(0x263)],_0x35ef22=_0x41a045[_0x401c4c(0x1de)];let _0xd84124,_0x298ba6;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x401c4c(0x1df)]()&&!_0x35ef22&&(_0xd84124=_0x401c4c(0x25f)+_0x4969d7,_0x298ba6=_0x464531);_0x5d1594[_0x401c4c(0x1d1)][_0x401c4c(0x23d)](_0x5d1594[_0x401c4c(0x212)],_0x155a0c['id'],_0x3384b4,_0x155a0c['logLevel'],_0xd84124,_0x298ba6);if(_0x35ef22)__classPrivateFieldGet(_0x5d1594,_Debuglet_v8debug,'f')?.[_0x401c4c(0x1f3)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0xa13e45=_0x401c4c;__classPrivateFieldGet(_0x5d1594,_Debuglet_v8debug,'f')?.[_0xa13e45(0x20b)](),__classPrivateFieldSet(_0x5d1594,_Debuglet_nextEnableTimeout,null,'f');},_0x5d1594[_0x401c4c(0x1e5)][_0x401c4c(0x1d4)][_0x401c4c(0x1c6)]*0x3e8),'f');else _0x3384b4?.[_0x401c4c(0x243)]===0x0&&__classPrivateFieldGet(_0x5d1594,_Debuglet_v8debug,'f')?.[_0x401c4c(0x1f3)]();}},()=>{return __classPrivateFieldGet(_0x5d1594,_Debuglet_completedBreakpointMap,'f')[_0x155a0c['id']];},_0x49250e=>{const _0x31f19e=_0x374227;if(_0x49250e){_0x5d1594[_0x31f19e(0x1fb)]['error'](_0x49250e),_0x26946c(_0x49250e);return;}}):__classPrivateFieldGet(_0x5d1594,_Debuglet_v8debug,'f')[_0x374227(0x244)](_0x155a0c,_0x202b99=>{const _0x4ab8ad=_0x374227;if(_0x202b99){setImmediate(()=>{const _0x8a21d4=a18_0x5784;_0x5d1594[_0x8a21d4(0x1fb)][_0x8a21d4(0x22a)](_0x202b99),_0x26946c(_0x202b99);});return;}_0x5d1594[_0x4ab8ad(0x1fb)][_0x4ab8ad(0x1cf)]('Breakpoint\x20hit!:\x20',_0x155a0c),__classPrivateFieldGet(_0x5d1594,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x4ab8ad(0x1c8)](_0x5d1594,_0x155a0c,__classPrivateFieldGet(_0x5d1594,_Debuglet_v8debug,'f')[_0x4ab8ad(0x276)](_0x155a0c['id'])<=0x0);}),__classPrivateFieldGet(_0x5d1594,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x374227(0x1c8)](_0x5d1594,_0x155a0c);}),this['emit'](_0xe97c7(0x1f2));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x2bb15e,_0x4c13bf,_0x3641ce=!![]){const _0x1f94d3=a18_0x2bb736,_0x155c91=this;if(_0x2bb15e['status']&&_0x2bb15e[_0x1f94d3(0x2a7)]['isError']){let _0x4ef79a=_0x2bb15e[_0x1f94d3(0x2a7)]?.[_0x1f94d3(0x269)]?.[_0x1f94d3(0x1fa)]||'';_0x2bb15e[_0x1f94d3(0x2a7)]?.[_0x1f94d3(0x269)]?.[_0x1f94d3(0x29e)]&&(_0x4ef79a+=':\x20'+_0x2bb15e['status']?.['description']?.[_0x1f94d3(0x29e)]['toString']()),_0x155c91[_0x1f94d3(0x1fb)]['warn'](_0x1f94d3(0x29b)+_0x2bb15e+'.\x20Error:\x20'+_0x4ef79a);}else _0x155c91[_0x1f94d3(0x1fb)][_0x1f94d3(0x1cf)](_0x1f94d3(0x257),_0x2bb15e);_0x4c13bf&&(__classPrivateFieldGet(_0x155c91,_Debuglet_completedBreakpointMap,'f')[_0x2bb15e['id']]=!![],__classPrivateFieldGet(_0x155c91,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x155c91,_0x2bb15e,_0x3641ce)),__classPrivateFieldGet(_0x155c91,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x155c91[_0x1f94d3(0x212)],extend(!![],{},_0x2bb15e));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0xc62ab){const _0x2ee7b9=a18_0x2bb736,_0x1925f8=this;_0x1925f8[_0x2ee7b9(0x1fb)][_0x2ee7b9(0x1af)](_0x2ee7b9(0x27f)+_0xc62ab+'\x20accepted\x20by\x20agent');const _0x5c96a0=extend(!![],{},_0xc62ab);_0x5c96a0['isFinalState']=![],_0x5c96a0[_0x2ee7b9(0x2a7)]=new status_message_1[(_0x2ee7b9(0x298))](status_message_1['StatusMessage'][_0x2ee7b9(0x2a5)],undefined,![],!![]),__classPrivateFieldGet(_0x1925f8,_Debuglet_controller,'f')[_0x2ee7b9(0x242)](_0x1925f8[_0x2ee7b9(0x212)],_0x5c96a0);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x2ce2e9){const _0x207180=a18_0x2bb736,_0x2bcec4=this;this[_0x207180(0x1fb)][_0x207180(0x1cf)](_0x207180(0x24a),_0x2ce2e9),__classPrivateFieldGet(_0x2bcec4,_Debuglet_completedBreakpointMap,'f')[_0x2ce2e9['id']]=!![],__classPrivateFieldGet(_0x2bcec4,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x2bcec4[_0x207180(0x212)],_0x2ce2e9);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x1d2c3b){const _0x584828=this;_0x1d2c3b['forEach'](_0x20326b=>{const _0x596b60=a18_0x5784;_0x584828[_0x596b60(0x1fb)]['info'](_0x596b60(0x24b),_0x20326b),__classPrivateFieldGet(_0x584828,_Debuglet_completedBreakpointMap,'f')[_0x20326b['id']]=!![],__classPrivateFieldGet(_0x584828,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x584828,_0x20326b,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x305f5c=a18_0x2bb736,_0x373b9a=Date[_0x305f5c(0x20e)]()/0x3e8;return Object['values'](this['activeBreakpointMap'])['filter'](_0x5c3a5=>_0x5c3a5[_0x305f5c(0x232)]?_0x5c3a5[_0x305f5c(0x232)]<_0x373b9a:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x3792f3){const _0x29fd1e=a18_0x2bb736,_0x12025a=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x29fd1e(0x215)](_0x3792f3),_0x36feb4=_0x12025a[_0x29fd1e(0x1fe)],_0x5a2986=_0x12025a[_0x29fd1e(0x260)];_0x36feb4&&_0x36feb4[_0x29fd1e(0x243)]&&this[_0x29fd1e(0x1fb)]['debug'](_0x29fd1e(0x234),_0x36feb4[_0x29fd1e(0x221)]('\x0a\x09')),_0x5a2986&&_0x5a2986[_0x29fd1e(0x243)]&&this[_0x29fd1e(0x1fb)]['debug'](_0x29fd1e(0x1fd),_0x5a2986[_0x29fd1e(0x221)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x36feb4,_0x5a2986,this[_0x29fd1e(0x1e5)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x215a70){const _0x5064b5=a18_0x2bb736,_0x42a1ae=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x215a70);_0x42a1ae?.[_0x5064b5(0x243)]&&this['logger']['debug']('Redactions:\x20\x0a\x09',_0x42a1ae[_0x5064b5(0x1ac)](_0x582dea=>_0x5064b5(0x1d5)+_0x582dea[_0x5064b5(0x1cc)]+_0x5064b5(0x292)+_0x582dea[_0x5064b5(0x29d)]+_0x5064b5(0x210)+_0x582dea['pattern']+'\x20caseInsensitive:\x20'+_0x582dea[_0x5064b5(0x1e1)])[_0x5064b5(0x221)]('\x0a\x09'));if((0x0,utils_1[_0x5064b5(0x235)])(process[_0x5064b5(0x1b9)],'>=12')){const {RedactionManagerRE2JS:_0x1bef46}=await Promise[_0x5064b5(0x1bc)]()[_0x5064b5(0x1ab)](()=>require(_0x5064b5(0x224)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x1bef46(this[_0x5064b5(0x1fb)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5064b5(0x281)](_0x42a1ae);}},_Debuglet_stringify=function _Debuglet_stringify(_0x5bdc9f){const _0x287d8e=a18_0x2bb736;if(!_0x5bdc9f)return JSON[_0x287d8e(0x1d6)](_0x5bdc9f,(_0x581732,_0x961cc)=>_0x961cc===undefined?_0x287d8e(0x1d0):_0x961cc);if(Array[_0x287d8e(0x1a9)](_0x5bdc9f)){const _0x21a073=[];for(const _0x21c27c of _0x5bdc9f){_0x21a073[_0x287d8e(0x1c9)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x21c27c));}return'['+_0x21a073['join'](',\x20')+']';}if(typeof _0x5bdc9f===_0x287d8e(0x259)){const _0x2d6126=Object['entries'](_0x5bdc9f)[_0x287d8e(0x1ac)](([_0x4e5055,_0x2cf7b9])=>{const _0x561d0c=_0x287d8e,_0x30c8c4=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x4e5055)?redaction_manager_1[_0x561d0c(0x211)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x561d0c(0x1c8)](this,_0x2cf7b9);return JSON[_0x561d0c(0x1d6)](_0x4e5055)+':\x20'+_0x30c8c4;})[_0x287d8e(0x221)](',\x20');return'{'+_0x2d6126+'}';}return JSON[_0x287d8e(0x1d6)](_0x5bdc9f);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a19_0x1213c3=a19_0x288c;(function(_0x42ee6f,_0x438cae){const _0x99e7ce=a19_0x288c,_0x103553=_0x42ee6f();while(!![]){try{const _0x471384=parseInt(_0x99e7ce(0x1c2))/0x1+-parseInt(_0x99e7ce(0x1a7))/0x2+-parseInt(_0x99e7ce(0x1a9))/0x3*(-parseInt(_0x99e7ce(0x1a8))/0x4)+parseInt(_0x99e7ce(0x1b6))/0x5+-parseInt(_0x99e7ce(0x1a5))/0x6*(parseInt(_0x99e7ce(0x188))/0x7)+-parseInt(_0x99e7ce(0x19d))/0x8*(-parseInt(_0x99e7ce(0x1b4))/0x9)+-parseInt(_0x99e7ce(0x1bd))/0xa;if(_0x471384===_0x438cae)break;else _0x103553['push'](_0x103553['shift']());}catch(_0x57242e){_0x103553['push'](_0x103553['shift']());}}}(a19_0x4149,0xa6d93));Object[a19_0x1213c3(0x1b8)](exports,a19_0x1213c3(0x1b2),{'value':!![]}),exports[a19_0x1213c3(0x1b0)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x1213c3(0x19e));var OS;(function(_0x545ab9){const _0xac245=a19_0x1213c3,_0x47e51d=(function(){let _0xcc94b=!![];return function(_0x4c6113,_0x43a70c){const _0x4f4810=_0xcc94b?function(){if(_0x43a70c){const _0x5ad168=_0x43a70c['apply'](_0x4c6113,arguments);return _0x43a70c=null,_0x5ad168;}}:function(){};return _0xcc94b=![],_0x4f4810;};}()),_0xc95e33=_0x47e51d(this,function(){const _0xfde6b0=a19_0x288c;return _0xc95e33[_0xfde6b0(0x1b7)]()[_0xfde6b0(0x1a2)](_0xfde6b0(0x1a4))['toString']()[_0xfde6b0(0x196)](_0xc95e33)['search'](_0xfde6b0(0x1a4));});_0xc95e33(),_0x545ab9[_0xac245(0x191)]='linux',_0x545ab9[_0xac245(0x1b3)]='windows',_0x545ab9[_0xac245(0x18b)]='mac';}(OS||(OS={})));function a19_0x288c(_0xbd0a76,_0x500f17){const _0x15f056=a19_0x4149();return a19_0x288c=function(_0x33dc48,_0x432e3f){_0x33dc48=_0x33dc48-0x188;let _0x414948=_0x15f056[_0x33dc48];return _0x414948;},a19_0x288c(_0xbd0a76,_0x500f17);}var ProcArch;(function(_0xb7ab62){const _0x441c82=a19_0x1213c3;_0xb7ab62[_0x441c82(0x18e)]=_0x441c82(0x18e),_0xb7ab62[_0x441c82(0x1b5)]='x32',_0xb7ab62[_0x441c82(0x195)]=_0x441c82(0x195),_0xb7ab62['arm64']=_0x441c82(0x1aa);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS['Windows'],'darwin':OS[a19_0x1213c3(0x18b)]},ArchToProcArchMap={'x32':ProcArch['x32'],'x64':ProcArch[a19_0x1213c3(0x18e)],'arm':ProcArch['arm'],'arm64':ProcArch['arm64']};class EnvironmentMetadata{constructor(_0x3f8067){const _0x1fd221=a19_0x1213c3;assert(_0x3f8067!==null),this[_0x1fd221(0x1ba)]=_0x3f8067;}get[a19_0x1213c3(0x18d)](){const _0x2f9395=a19_0x1213c3;try{const _0x346f74=process[_0x2f9395(0x1c3)][_0x2f9395(0x197)][_0x2f9395(0x198)](/(\d+\.\d+)\..*/);if(_0x346f74)return _0x346f74[0x1];}catch(_0x2cd4e4){this['_logger'][_0x2f9395(0x18f)](_0x2cd4e4);}return;}get['runtimeEnvironmentInfo'](){const _0x6d516d=a19_0x1213c3;return _0x6d516d(0x1ae)+process[_0x6d516d(0x194)]+'\x20on\x20'+(0x0,os_1[_0x6d516d(0x1ab)])()+'\x20'+(0x0,os_1[_0x6d516d(0x1b1)])();}get['pid'](){const _0x1ff37d=a19_0x1213c3;return process[_0x1ff37d(0x1a6)][_0x1ff37d(0x1b7)]();}get[a19_0x1213c3(0x1c4)](){const _0x5c021a=a19_0x1213c3;return ArchToProcArchMap[process[_0x5c021a(0x1a3)]]||process[_0x5c021a(0x1a3)];}get[a19_0x1213c3(0x1ad)](){const _0x5320c2=a19_0x1213c3;return(0x0,os_1[_0x5320c2(0x1c1)])()[_0x5320c2(0x18c)];}get['systemTotalMemoryBytes'](){const _0x473d48=a19_0x1213c3;return(0x0,os_1[_0x473d48(0x1b9)])();}get[a19_0x1213c3(0x192)](){return(0x0,os_1['hostname'])();}get['agentOS'](){const _0x37b94a=a19_0x1213c3;return PlatformToOsMap[(0x0,os_1[_0x37b94a(0x1ab)])()]||(0x0,os_1[_0x37b94a(0x1ab)])();}get[a19_0x1213c3(0x190)](){const _0x35ad12=a19_0x1213c3;try{if(this[_0x35ad12(0x1c6)]===OS[_0x35ad12(0x191)])return this[_0x35ad12(0x189)][_0x35ad12(0x1be)](_0x35ad12(0x1c0))||(0x0,os_1[_0x35ad12(0x1b1)])();return(0x0,os_1['release'])();}catch(_0x398d3a){this[_0x35ad12(0x1ba)][_0x35ad12(0x18f)](_0x398d3a);}return;}get[a19_0x1213c3(0x1ac)](){const _0x5121f7=a19_0x1213c3;return this['agentOS']===OS[_0x5121f7(0x191)]&&this['_osRelease'][_0x5121f7(0x1be)]('ID')||'';}get[a19_0x1213c3(0x18a)](){const _0x4b4510=a19_0x1213c3;return this[_0x4b4510(0x1c6)]===OS[_0x4b4510(0x191)]?(0x0,fs_1['existsSync'])('/.dockerenv'):![];}get[a19_0x1213c3(0x1bb)](){const _0x76a0f2=a19_0x1213c3;return!!process[_0x76a0f2(0x1af)][_0x76a0f2(0x1bf)];}get[a19_0x1213c3(0x189)](){const _0xdd1b88=a19_0x1213c3;if(!this[_0xdd1b88(0x1a1)]){this['_cachedOsRelease']=new Map();try{if(this['agentOS']===OS['Linux']){const _0x54cbdc=(0x0,fs_1[_0xdd1b88(0x19f)])(_0xdd1b88(0x19b),_0xdd1b88(0x19c));_0x54cbdc[_0xdd1b88(0x199)](/\r?\n/)['forEach'](_0x538c7d=>{const _0x3ed0f0=_0xdd1b88,[_0x26f644,_0x52d526]=_0x538c7d[_0x3ed0f0(0x1bc)]()[_0x3ed0f0(0x199)]('=');this[_0x3ed0f0(0x1a1)]?.[_0x3ed0f0(0x19a)](_0x26f644,_0x52d526?.[_0x3ed0f0(0x1a0)](/^"|"$/g,'')||'');});}}catch(_0x5932d1){this['_logger'][_0xdd1b88(0x193)]('Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release',_0x5932d1);}}return this[_0xdd1b88(0x1a1)];}['getProps'](){const _0x6b1216=a19_0x1213c3;return{'runtimeEnvironmentVersion':this[_0x6b1216(0x18d)],'runtimeEnvironmentInfo':this[_0x6b1216(0x1c5)],'pid':this[_0x6b1216(0x1a6)],'cpuCoreCount':this[_0x6b1216(0x1ad)],'systemTotalMemoryBytes':this['systemTotalMemoryBytes'],'host':this[_0x6b1216(0x192)],'agentOS':this[_0x6b1216(0x1c6)],'osVersion':this[_0x6b1216(0x190)],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x6b1216(0x18a)],'isInK8s':this[_0x6b1216(0x1bb)],'procArch':this[_0x6b1216(0x1c4)]};}}function a19_0x4149(){const _0x566c61=['arm64','platform','linuxDistroName','cpuCoreCount','Node.js\x20','env','EnvironmentMetadata','release','__esModule','Windows','391860bsdlVS','x32','6822020WYUvjq','toString','defineProperty','totalmem','_logger','isInK8s','trim','24306370LFXVIf','get','KUBERNETES_SERVICE_HOST','VERSION_ID','cpus','83393THnQcE','versions','procArch','runtimeEnvironmentInfo','agentOS','7ArQYoJ','_osRelease','isInDocker','MacOS','length','runtimeEnvironmentVersion','x64','error','osVersion','Linux','host','warn','version','arm','constructor','node','match','split','set','/etc/os-release','utf-8','240TDdbGY','assert','readFileSync','replace','_cachedOsRelease','search','arch','(((.+)+)+)+$','2698098Djndct','pid','853846OXWfmD','1648876jLlszT','9XeBPDv'];a19_0x4149=function(){return _0x566c61;};return a19_0x4149();}exports[a19_0x1213c3(0x1b0)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x3aef08=a20_0x4fe7;function a20_0x4fe7(_0xac3e4a,_0x45d17f){const _0x44e47c=a20_0x3c2f();return a20_0x4fe7=function(_0x1d518d,_0x105433){_0x1d518d=_0x1d518d-0xbd;let _0x3c2fac=_0x44e47c[_0x1d518d];return _0x3c2fac;},a20_0x4fe7(_0xac3e4a,_0x45d17f);}(function(_0x2d5d88,_0x98be6a){const _0xd4ee2f=a20_0x4fe7,_0x2e4ab7=_0x2d5d88();while(!![]){try{const _0x57924f=-parseInt(_0xd4ee2f(0xdc))/0x1*(-parseInt(_0xd4ee2f(0xd8))/0x2)+-parseInt(_0xd4ee2f(0xc6))/0x3*(parseInt(_0xd4ee2f(0xbe))/0x4)+parseInt(_0xd4ee2f(0xcd))/0x5*(-parseInt(_0xd4ee2f(0xca))/0x6)+-parseInt(_0xd4ee2f(0xcf))/0x7*(parseInt(_0xd4ee2f(0xda))/0x8)+parseInt(_0xd4ee2f(0xc4))/0x9*(parseInt(_0xd4ee2f(0xd3))/0xa)+-parseInt(_0xd4ee2f(0xc7))/0xb*(parseInt(_0xd4ee2f(0xd0))/0xc)+parseInt(_0xd4ee2f(0xbf))/0xd;if(_0x57924f===_0x98be6a)break;else _0x2e4ab7['push'](_0x2e4ab7['shift']());}catch(_0x5da94f){_0x2e4ab7['push'](_0x2e4ab7['shift']());}}}(a20_0x3c2f,0x26f31));function a20_0x3c2f(){const _0x2e35d8=['keys','25JqArJk','push','7IcJHbN','48LgVpys','substr','constructor','5690EeLPIS','filter','toString','__esModule','min','2gsblMC','fromFileList','1368272sbVopb','defineProperty','110836QyKMUH','get','fromFileStats','fileIndex','FileIndex','has','size','length','add','substring','map','search','4492XzCnxV','11929528stiwlh','stripStartingSep','fileStats','indexOf','generateSubPaths','486vyKKAV','_fileStats','510ylxsqC','689183qjLyLK','sep','(((.+)+)+)+$','344550UXpCAF','findShortestFuzzyMatches'];a20_0x3c2f=function(){return _0x2e35d8;};return a20_0x3c2f();}const a20_0x105433=(function(){let _0x14e30d=!![];return function(_0x4db91f,_0x2086e7){const _0x595c96=_0x14e30d?function(){if(_0x2086e7){const _0x8964e2=_0x2086e7['apply'](_0x4db91f,arguments);return _0x2086e7=null,_0x8964e2;}}:function(){};return _0x14e30d=![],_0x595c96;};}()),a20_0x1d518d=a20_0x105433(this,function(){const _0x46d3f9=a20_0x4fe7;return a20_0x1d518d[_0x46d3f9(0xd5)]()[_0x46d3f9(0xbd)](_0x46d3f9(0xc9))[_0x46d3f9(0xd5)]()[_0x46d3f9(0xd2)](a20_0x1d518d)[_0x46d3f9(0xbd)](_0x46d3f9(0xc9));});a20_0x1d518d();'use strict';Object[a20_0x3aef08(0xdb)](exports,a20_0x3aef08(0xd6),{'value':!![]}),exports[a20_0x3aef08(0xe0)]=void 0x0;const path=require('path');class FileIndex{constructor(_0x2e15d2){const _0x5f4185=a20_0x3aef08;this[_0x5f4185(0xc5)]=_0x2e15d2,this['fileIndex']=new Map();}static[a20_0x3aef08(0xde)](_0x1fe67b){const _0x41d144=a20_0x3aef08,_0x77fd95=new FileIndex(_0x1fe67b);return _0x77fd95['buildIndex'](Object[_0x41d144(0xcc)](_0x1fe67b)||[]),_0x77fd95;}static[a20_0x3aef08(0xd9)](_0x2962e5){const _0x364201=new FileIndex(undefined);return _0x364201['buildIndex'](_0x2962e5||[]),_0x364201;}get[a20_0x3aef08(0xc1)](){return this['_fileStats']||{};}[a20_0x3aef08(0xcb)](_0x12d7e8){const _0x1edac0=a20_0x3aef08,_0x38a328=this['search'](_0x12d7e8);if(!_0x38a328||_0x38a328[_0x1edac0(0xe2)]===0x0)return[];const _0x401c4f=[..._0x38a328][_0x1edac0(0xe6)](_0x46f305=>_0x46f305[_0x1edac0(0xe3)]),_0x75741a=Math[_0x1edac0(0xd7)](..._0x401c4f),_0x52d4b1=[..._0x38a328][_0x1edac0(0xd4)](_0x5ebf7e=>_0x5ebf7e[_0x1edac0(0xe3)]===_0x75741a);return _0x52d4b1;}['buildIndex'](_0x1673eb){const _0x4217e2=a20_0x3aef08;for(const _0x3cf28e of _0x1673eb){for(const _0x277b88 of this[_0x4217e2(0xc3)](_0x3cf28e)){let _0x3b6501=this[_0x4217e2(0xdf)][_0x4217e2(0xdd)](_0x277b88);_0x3b6501===undefined&&(_0x3b6501=new Set(),this['fileIndex']['set'](_0x277b88,_0x3b6501)),_0x3b6501[_0x4217e2(0xe4)](_0x3cf28e);}}}[a20_0x3aef08(0xc3)](_0x52542c){const _0xb86225=a20_0x3aef08;_0x52542c=this[_0xb86225(0xc0)](_0x52542c);const _0x24b7e0=[_0x52542c];while(_0x52542c['indexOf'](path[_0xb86225(0xc8)])>=0x0){_0x52542c=_0x52542c[_0xb86225(0xe5)](_0x52542c[_0xb86225(0xc2)](path[_0xb86225(0xc8)])+path[_0xb86225(0xc8)][_0xb86225(0xe3)],_0x52542c[_0xb86225(0xe3)]),_0x24b7e0[_0xb86225(0xce)](_0x52542c);}return _0x24b7e0;}[a20_0x3aef08(0xbd)](_0x5d5411){const _0xdf40f9=a20_0x3aef08;if(!_0x5d5411)return undefined;_0x5d5411=this['stripStartingSep'](_0x5d5411);for(const _0x9004e4 of this[_0xdf40f9(0xc3)](_0x5d5411)){if(this['fileIndex'][_0xdf40f9(0xe1)](_0x9004e4))return this[_0xdf40f9(0xdf)][_0xdf40f9(0xdd)](_0x9004e4);}return undefined;}[a20_0x3aef08(0xc0)](_0x55a435){const _0x58a495=a20_0x3aef08;if(_0x55a435&&(_0x55a435[0x0]==='/'||_0x55a435[0x0]==='\x5c'))return _0x55a435[_0x58a495(0xd1)](0x1);return _0x55a435;}}exports[a20_0x3aef08(0xe0)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x4161db=a21_0x1043;(function(_0x41160f,_0x3ec057){const _0x4cca77=a21_0x1043,_0x28e52e=_0x41160f();while(!![]){try{const _0x1ec433=-parseInt(_0x4cca77(0x148))/0x1+-parseInt(_0x4cca77(0x143))/0x2*(parseInt(_0x4cca77(0x145))/0x3)+parseInt(_0x4cca77(0x138))/0x4*(-parseInt(_0x4cca77(0x134))/0x5)+parseInt(_0x4cca77(0x139))/0x6+-parseInt(_0x4cca77(0x131))/0x7+-parseInt(_0x4cca77(0x135))/0x8*(-parseInt(_0x4cca77(0x149))/0x9)+parseInt(_0x4cca77(0x132))/0xa;if(_0x1ec433===_0x3ec057)break;else _0x28e52e['push'](_0x28e52e['shift']());}catch(_0x16bc87){_0x28e52e['push'](_0x28e52e['shift']());}}}(a21_0x264f,0x40c7d));function a21_0x1043(_0x15cced,_0x2b4b6d){const _0x1e8414=a21_0x264f();return a21_0x1043=function(_0x14f57b,_0x5746c0){_0x14f57b=_0x14f57b-0x130;let _0x264f5b=_0x1e8414[_0x14f57b];return _0x264f5b;},a21_0x1043(_0x15cced,_0x2b4b6d);}const a21_0x5746c0=(function(){let _0x202439=!![];return function(_0x4ac08d,_0x5187ac){const _0x49786a=_0x202439?function(){const _0x13c860=a21_0x1043;if(_0x5187ac){const _0xf03904=_0x5187ac[_0x13c860(0x137)](_0x4ac08d,arguments);return _0x5187ac=null,_0xf03904;}}:function(){};return _0x202439=![],_0x49786a;};}()),a21_0x14f57b=a21_0x5746c0(this,function(){const _0x3ac833=a21_0x1043;return a21_0x14f57b[_0x3ac833(0x13a)]()[_0x3ac833(0x13f)]('(((.+)+)+)+$')[_0x3ac833(0x13a)]()[_0x3ac833(0x14a)](a21_0x14f57b)['search']('(((.+)+)+)+$');});a21_0x14f57b();'use strict';Object[a21_0x4161db(0x146)](exports,'__esModule',{'value':!![]}),exports[a21_0x4161db(0x142)]=void 0x0;function a21_0x264f(){const _0x1479c1=['path','map','ScanResultsImpl','298946qXgoiD','selectStats','6UlPIyW','defineProperty','forEach','274972YaOEtR','9vcauVr','constructor','stats','3604846biprWX','9211230vpcNAd','all','1250xTNngS','3594376aetzZA','sep','apply','5420aIUiYl','1935402KzVLnf','toString','normalize','filter','test','replace','search'];a21_0x264f=function(){return _0x1479c1;};return a21_0x264f();}const path=require(a21_0x4161db(0x140));class ScanResultsImpl{constructor(_0x68745a,_0x32b652,_0x2b740d){const _0x5c48e2=a21_0x4161db;this[_0x5c48e2(0x130)]=_0x68745a,this['errorMap']=_0x32b652,this['hash']=_0x2b740d;}['errors'](){return this['errorMap'];}[a21_0x4161db(0x133)](){return this['stats'];}[a21_0x4161db(0x144)](_0x1ccd36){const _0x3e128f=a21_0x4161db,_0x41f0c6={};return Object['keys'](this['stats'])[_0x3e128f(0x147)](_0x3de353=>{const _0x735600=_0x3e128f;_0x1ccd36[_0x735600(0x13d)](_0x3de353)&&(_0x41f0c6[_0x3de353]=this[_0x735600(0x130)][_0x3de353]);}),_0x41f0c6;}['selectFiles'](_0x19cad9,_0x525f64){const _0x20b56e=a21_0x4161db;return _0x525f64=path['normalize'](_0x525f64+path[_0x20b56e(0x136)]),Object['keys'](this[_0x20b56e(0x130)])[_0x20b56e(0x13c)](_0x1f4073=>{const _0x43d38b=_0x20b56e;return _0x1f4073&&_0x19cad9[_0x43d38b(0x13d)](_0x1f4073);})[_0x20b56e(0x141)](_0x5429bf=>{const _0x12006d=_0x20b56e;return path[_0x12006d(0x13b)](_0x5429bf)[_0x12006d(0x13e)](_0x525f64,'');});}}exports[a21_0x4161db(0x142)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x1451e2=a22_0x5d02;(function(_0x2777c1,_0x458499){const _0x11cdc1=a22_0x5d02,_0x3c6b4d=_0x2777c1();while(!![]){try{const _0x29bcbc=parseInt(_0x11cdc1(0xb0))/0x1+-parseInt(_0x11cdc1(0xc6))/0x2*(parseInt(_0x11cdc1(0xbb))/0x3)+-parseInt(_0x11cdc1(0xd4))/0x4*(parseInt(_0x11cdc1(0xd0))/0x5)+parseInt(_0x11cdc1(0xd7))/0x6*(-parseInt(_0x11cdc1(0xb9))/0x7)+-parseInt(_0x11cdc1(0xd1))/0x8+-parseInt(_0x11cdc1(0xb5))/0x9*(-parseInt(_0x11cdc1(0xc4))/0xa)+parseInt(_0x11cdc1(0xdf))/0xb;if(_0x29bcbc===_0x458499)break;else _0x3c6b4d['push'](_0x3c6b4d['shift']());}catch(_0x522070){_0x3c6b4d['push'](_0x3c6b4d['shift']());}}}(a22_0x4084,0x22146));const a22_0x204518=(function(){let _0x161aff=!![];return function(_0x7a0a6f,_0x5f1491){const _0x134807=_0x161aff?function(){const _0x28998f=a22_0x5d02;if(_0x5f1491){const _0x403472=_0x5f1491[_0x28998f(0xcd)](_0x7a0a6f,arguments);return _0x5f1491=null,_0x403472;}}:function(){};return _0x161aff=![],_0x134807;};}()),a22_0x3f3721=a22_0x204518(this,function(){const _0x519669=a22_0x5d02;return a22_0x3f3721['toString']()['search']('(((.+)+)+)+$')['toString']()['constructor'](a22_0x3f3721)[_0x519669(0xda)](_0x519669(0xdc));});a22_0x3f3721();function a22_0x4084(){const _0x4d436=['1910dFvLBo','pipe','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','./scan-results','Specified\x20extraPaths\x20does\x20not\x20exist!','hex','push','apply','Scanner','add','326710RWchCI','693416owDGkv','logger','hash','8visUyM','path','SHA1-','1638258IyQpSi','sort','split','search','digest','(((.+)+)+)+$','can\x27t\x20access\x20path:\x20[','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','7298093XgNprs','statsForFile','end','findFiles','join','test','data','from','ScanResultsImpl','accessSync','resolve','40228WdwPVc','R_OK','startsWith','constants','error','3564CZuRlv','update','__esModule','EMPTY-no-js-files','7SYLoRs','createHash','285uEGfjy','addFilesFromDir','computeStats','sha1','findit2','length','node_modules','scan','crypto','430WexAwH','info'];a22_0x4084=function(){return _0x4d436;};return a22_0x4084();}function a22_0x5d02(_0x46be7e,_0x3f47d1){const _0x130db0=a22_0x4084();return a22_0x5d02=function(_0x3f3721,_0x204518){_0x3f3721=_0x3f3721-0xae;let _0x40841f=_0x130db0[_0x3f3721];return _0x40841f;},a22_0x5d02(_0x46be7e,_0x3f47d1);}'use strict';Object['defineProperty'](exports,a22_0x1451e2(0xb7),{'value':!![]}),exports[a22_0x1451e2(0xce)]=void 0x0;const crypto=require(a22_0x1451e2(0xc3)),fs=require('fs'),path=require(a22_0x1451e2(0xd5)),scan_results_1=require(a22_0x1451e2(0xc9));class Scanner{constructor(_0x4f9446){const _0xe7c0b0=a22_0x1451e2;this[_0xe7c0b0(0xd2)]=_0x4f9446;}async[a22_0x1451e2(0xc2)](_0x587dec,_0x25a0ae,_0x2ef603,_0x1f0cc8){const _0x33d850=a22_0x1451e2,_0x32b139=await this[_0x33d850(0xe2)](_0x587dec,_0x25a0ae,_0x1f0cc8);return this['computeStats'](_0x32b139,_0x2ef603);}[a22_0x1451e2(0xbd)](_0x587735,_0x7dbb92){return new Promise(async _0x3335b7=>{const _0x8d2ef3=a22_0x5d02;if(_0x587735[_0x8d2ef3(0xc0)]===0x0){_0x3335b7(new scan_results_1['ScanResultsImpl']({},new Map(),_0x8d2ef3(0xb8)));return;}const _0x230751=[],_0x486a12={},_0x2ec1ed=new Map();for(const _0x38c608 of _0x587735){try{const _0x4eec90=await this[_0x8d2ef3(0xe0)](_0x38c608,!_0x7dbb92);!_0x7dbb92&&_0x230751[_0x8d2ef3(0xcc)](_0x4eec90[_0x8d2ef3(0xd3)]),_0x486a12[_0x38c608]=_0x4eec90;}catch(_0xe907f2){_0x2ec1ed['set'](_0x38c608,_0xe907f2);}}let _0x4694d8;if(!_0x7dbb92){const _0x24ecbc=_0x230751[_0x8d2ef3(0xd8)]()[_0x8d2ef3(0xe3)](),_0x5921fc=crypto[_0x8d2ef3(0xba)](_0x8d2ef3(0xbe))['update'](_0x24ecbc)[_0x8d2ef3(0xdb)](_0x8d2ef3(0xcb));_0x4694d8=_0x8d2ef3(0xd6)+_0x5921fc;}else _0x4694d8=_0x7dbb92;_0x3335b7(new scan_results_1[(_0x8d2ef3(0xe7))](_0x486a12,_0x2ec1ed,_0x4694d8));});}async[a22_0x1451e2(0xe2)](_0x3668e7,_0x396eef,_0x527e57){const _0x5a6fc7=a22_0x1451e2,_0x5574f9=new Set();await this['addFilesFromDir'](_0x5574f9,_0x3668e7,_0x396eef);for(const _0x2b80c2 of _0x527e57??[]){if(_0x2b80c2){const _0x2f6a70=path['resolve'](_0x2b80c2);try{await this[_0x5a6fc7(0xbc)](_0x5574f9,_0x2f6a70,_0x396eef);}catch(_0x30db4d){this['logger'][_0x5a6fc7(0xb4)](_0x5a6fc7(0xca),_0x30db4d);continue;}}}return Array[_0x5a6fc7(0xe6)](_0x5574f9);}static['hasReadAccess'](_0x387573){const _0x2b86a1=a22_0x1451e2;try{return fs[_0x2b86a1(0xae)](_0x387573,fs[_0x2b86a1(0xb3)][_0x2b86a1(0xb1)]),!![];}catch(_0x3db074){return![];}}async[a22_0x1451e2(0xbc)](_0x4d5af6,_0x54abd5,_0x87be2e){return new Promise((_0x2cfcd3,_0x343527)=>{const _0x3f6822=a22_0x5d02;let _0xba8386;if(!_0x54abd5){_0x343527(new Error(_0x3f6822(0xde)));return;}this[_0x3f6822(0xd2)][_0x3f6822(0xc5)]('Indexing\x20files\x20in\x20'+path[_0x3f6822(0xaf)](_0x54abd5));const _0x369b22=findit(_0x54abd5);_0x369b22['on'](_0x3f6822(0xb4),_0x492532=>{_0xba8386=_0x492532;return;}),_0x369b22['on']('directory',(_0x2a33d3,_0x72d7c6,_0x814f5b)=>{const _0x397db5=_0x3f6822,_0x34e581=path['basename'](_0x2a33d3);!Scanner['hasReadAccess'](_0x2a33d3)&&(this[_0x397db5(0xd2)]['warn'](_0x397db5(0xdd)+path[_0x397db5(0xaf)](_0x2a33d3)+_0x397db5(0xc8)),_0x814f5b()),(_0x34e581==='.git'||_0x34e581===_0x397db5(0xc1))&&(!path[_0x397db5(0xaf)](_0x54abd5)[_0x397db5(0xb2)](path[_0x397db5(0xaf)](_0x2a33d3))&&_0x814f5b());}),_0x369b22['on']('file',_0x3d3f7f=>{const _0x26f416=_0x3f6822;_0x87be2e[_0x26f416(0xe4)](_0x3d3f7f)&&_0x4d5af6[_0x26f416(0xcf)](_0x3d3f7f);}),_0x369b22['on'](_0x3f6822(0xe1),()=>{_0xba8386?_0x343527(_0xba8386):_0x2cfcd3();});});}async[a22_0x1451e2(0xe0)](_0x4ca9c2,_0x5c3a40){return new Promise((_0x4fa130,_0xb94e85)=>{const _0x286228=a22_0x5d02,_0x20cb99=fs['createReadStream'](_0x4ca9c2);_0x20cb99['on'](_0x286228(0xb4),_0x522285=>{_0xb94e85(_0x522285);}),_0x20cb99['on']('open',()=>{const _0x4597f4=_0x286228;let _0x14e496;_0x5c3a40&&(_0x14e496=crypto[_0x4597f4(0xba)](_0x4597f4(0xbe)));let _0x1b2e2d=0x0,_0x203af1;const _0x2f9b30=_0x20cb99[_0x4597f4(0xc7)](split());_0x2f9b30['on'](_0x4597f4(0xb4),_0x459f7a=>{_0x203af1=_0x459f7a;}),_0x2f9b30['on'](_0x4597f4(0xe5),_0x1f3fef=>{const _0x558346=_0x4597f4;_0x5c3a40&&_0x14e496[_0x558346(0xb6)](_0x1f3fef),_0x1b2e2d++;}),_0x2f9b30['on'](_0x4597f4(0xe1),()=>{const _0x4ae8b4=_0x4597f4;if(_0x203af1)_0xb94e85(_0x203af1);else{const _0x13db3c=_0x5c3a40?_0x14e496[_0x4ae8b4(0xdb)](_0x4ae8b4(0xcb)):undefined;_0x4fa130({'hash':_0x13db3c,'lines':_0x1b2e2d});}});});});}}exports['Scanner']=Scanner;const findit=require(a22_0x1451e2(0xbf)),split=require(a22_0x1451e2(0xd9));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a23_0x340051=a23_0x2801;(function(_0x372699,_0x882fcc){const _0x2d4387=a23_0x2801,_0x5e36f9=_0x372699();while(!![]){try{const _0x46b630=-parseInt(_0x2d4387(0x1bc))/0x1*(parseInt(_0x2d4387(0x195))/0x2)+parseInt(_0x2d4387(0x18f))/0x3+-parseInt(_0x2d4387(0x1b1))/0x4*(-parseInt(_0x2d4387(0x19e))/0x5)+-parseInt(_0x2d4387(0x1be))/0x6+parseInt(_0x2d4387(0x1c1))/0x7*(parseInt(_0x2d4387(0x1c9))/0x8)+parseInt(_0x2d4387(0x1ac))/0x9+-parseInt(_0x2d4387(0x1ad))/0xa;if(_0x46b630===_0x882fcc)break;else _0x5e36f9['push'](_0x5e36f9['shift']());}catch(_0x34ce92){_0x5e36f9['push'](_0x5e36f9['shift']());}}}(a23_0x44e4,0xc17d2));const a23_0x2d2351=(function(){let _0x302b17=!![];return function(_0x1f9194,_0x26e3f8){const _0xb02dbd=_0x302b17?function(){const _0x5b092b=a23_0x2801;if(_0x26e3f8){const _0x5dbb78=_0x26e3f8[_0x5b092b(0x1b8)](_0x1f9194,arguments);return _0x26e3f8=null,_0x5dbb78;}}:function(){};return _0x302b17=![],_0xb02dbd;};}()),a23_0x5c9b76=a23_0x2d2351(this,function(){const _0x5f59f5=a23_0x2801;return a23_0x5c9b76['toString']()[_0x5f59f5(0x1c8)]('(((.+)+)+)+$')[_0x5f59f5(0x1cc)]()[_0x5f59f5(0x1c6)](a23_0x5c9b76)['search'](_0x5f59f5(0x1b6));});a23_0x5c9b76();function a23_0x44e4(){const _0x1eaedc=['line','__esModule','44320VEvJoz','Could\x20not\x20read\x20sourcemap\x20file\x20','mappingInfo','info','outputFile','sourcemap\x20file\x20','substring','toLowerCase','SourceMapper','webpack://','join','from','path','file','46980octmus','12312510TUWuFT','debug','mapFile','stringify','308yAWxLL','error','findInSources','FOUND\x20IN','fromFileList','(((.+)+)+)+$','create','apply','findShortestFuzzyMatches','has','map','18QKFFYT','column','6279882KXeVnY','source-map','The\x20path\x20','119dPXVeK','Failed\x20to\x20process\x20a\x20source\x20map\x20file','SourceMapConsumer','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','normalize','constructor','basename','search','591208TYbVpl','Processing\x20','No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20','toString','generatedPositionFor','sort','keys','An\x20error\x20occurred\x20while\x20reading\x20the\x20','length','readFile','allGeneratedPositionsFor','getMappingInfo','utf8','util','4481121uvzuVf','p-limit','mapConsumer','reduce','endsWith','dirname','40816kcCozS','set','./file-index','Creating\x20SourceMapper','FileIndex','infoMap','defineProperty'];a23_0x44e4=function(){return _0x1eaedc;};return a23_0x44e4();}function a23_0x2801(_0x1bcafd,_0x4f0e01){const _0x1f3c0e=a23_0x44e4();return a23_0x2801=function(_0x5c9b76,_0x2d2351){_0x5c9b76=_0x5c9b76-0x185;let _0x44e4a1=_0x1f3c0e[_0x5c9b76];return _0x44e4a1;},a23_0x2801(_0x1bcafd,_0x4f0e01);}'use strict';Object[a23_0x340051(0x19b)](exports,a23_0x340051(0x19d),{'value':!![]}),exports[a23_0x340051(0x1b7)]=exports['SourceMapper']=void 0x0;const fs=require('fs'),pLimit=require(a23_0x340051(0x190)),path=require(a23_0x340051(0x1aa)),util_1=require(a23_0x340051(0x18e)),sourceMap=require(a23_0x340051(0x1bf)),file_index_1=require(a23_0x340051(0x197)),CONCURRENCY=0xa,WEBPACK_PREFIX=a23_0x340051(0x1a7),readFilep=(0x0,util_1['promisify'])(fs[a23_0x340051(0x18a)]),MAP_EXT='.map';async function processSourcemap(_0x516250,_0x394eee,_0x593710,_0xf2015a){const _0x51fb4b=a23_0x340051;_0xf2015a&&_0x516250[_0x51fb4b(0x1ae)](_0x51fb4b(0x1ca),_0x593710);if(!_0x593710||!_0x593710['endsWith'](MAP_EXT))throw new Error(_0x51fb4b(0x1c0)+_0x593710+_0x51fb4b(0x1c4));_0x593710=path[_0x51fb4b(0x1c5)](_0x593710);let _0x27ab0a;try{_0x27ab0a=await readFilep(_0x593710,_0x51fb4b(0x18d));}catch(_0x51ecef){throw new Error(_0x51fb4b(0x19f)+_0x593710+':\x20'+_0x51ecef);}let _0x562e2c;try{_0x562e2c=new sourceMap[(_0x51fb4b(0x1c3))](_0x27ab0a);}catch(_0xda3aa2){_0x516250[_0x51fb4b(0x1b2)]('Failed\x20to\x20parse\x20source\x20map\x20file\x20'+_0x593710+':\x20'+_0xda3aa2),_0x516250['error'](JSON[_0x51fb4b(0x1b0)](_0xda3aa2)),_0xf2015a&&_0x516250[_0x51fb4b(0x1ae)]('CONTENT',_0x27ab0a);throw new Error(_0x51fb4b(0x188)+_0x51fb4b(0x1a3)+_0x593710+':\x20'+_0xda3aa2);}const _0x1ad327=_0x562e2c[_0x51fb4b(0x1ab)]?_0x562e2c[_0x51fb4b(0x1ab)]:path[_0x51fb4b(0x1c7)](_0x593710,'.map'),_0x4c7d18=path[_0x51fb4b(0x194)](_0x593710),_0x33b462=path[_0x51fb4b(0x1c5)](path[_0x51fb4b(0x1a8)](_0x4c7d18,_0x1ad327)),_0x164dbe=_0x562e2c['sources']['filter'](_0x5ec29f=>!!_0x5ec29f)[_0x51fb4b(0x186)]((_0x5b02c0,_0x72ec91)=>_0x5b02c0[_0x51fb4b(0x189)]-_0x72ec91[_0x51fb4b(0x189)]),_0x320bf1=_0x164dbe[_0x51fb4b(0x1bb)](_0x54623f=>{const _0xaa7233=_0x51fb4b;if(_0x54623f[_0xaa7233(0x1a5)]()['startsWith'](WEBPACK_PREFIX))return _0x54623f[_0xaa7233(0x1a4)](WEBPACK_PREFIX[_0xaa7233(0x189)]);return _0x54623f;})[_0x51fb4b(0x1bb)](_0x4182fc=>{const _0x2b98d3=_0x51fb4b;return path[_0x2b98d3(0x1c5)](path[_0x2b98d3(0x1a8)](_0x4c7d18,_0x4182fc));});if(_0x320bf1[_0x51fb4b(0x189)]===0x0)throw new Error(_0x51fb4b(0x1cb)+_0x593710);for(const _0x561350 of _0x320bf1){_0xf2015a&&_0x516250[_0x51fb4b(0x1a1)](path['normalize'](_0x561350),_0x51fb4b(0x1b4),_0x593710),_0x394eee[_0x51fb4b(0x196)](path['normalize'](_0x561350),{'outputFile':_0x33b462,'mapFile':_0x593710,'mapConsumer':_0x562e2c,'sources':_0x164dbe});}_0x516250[_0x51fb4b(0x1ae)]('Map\x20file\x20processed:\x20',_0x593710);}class SourceMapper{constructor(_0x57767d){const _0x2fe43=a23_0x340051;this['logger']=_0x57767d,this[_0x2fe43(0x19a)]=new Map();}[a23_0x340051(0x18c)](_0x1b7ee3){const _0x253aef=a23_0x340051;if(this['infoMap'][_0x253aef(0x1ba)](path[_0x253aef(0x1c5)](_0x1b7ee3)))return{'entry':this[_0x253aef(0x19a)]['get'](_0x1b7ee3),'matchedPath':path[_0x253aef(0x1c5)](_0x1b7ee3)};const _0x5f2853=file_index_1[_0x253aef(0x199)][_0x253aef(0x1b5)](Array[_0x253aef(0x1a9)](this['infoMap'][_0x253aef(0x187)]()))[_0x253aef(0x1b9)](_0x1b7ee3);if(_0x5f2853[_0x253aef(0x189)]===0x1)return{'entry':this[_0x253aef(0x19a)]['get'](_0x5f2853[0x0]),'matchedPath':_0x5f2853[0x0]};return null;}['hasMappingInfo'](_0x5d597a){const _0x47cdc0=a23_0x340051;return this[_0x47cdc0(0x18c)](_0x5d597a)!==null;}[a23_0x340051(0x1a0)](_0x183dfc,_0x518638,_0x28836c){const _0x5ad265=a23_0x340051;_0x183dfc=path[_0x5ad265(0x1c5)](_0x183dfc);const _0x23121d=this[_0x5ad265(0x18c)](_0x183dfc);if(!_0x23121d)return null;const {entry:_0x21d2ad,matchedPath:_0x133530}=_0x23121d,_0x3ef3c6=path['relative'](path[_0x5ad265(0x194)](_0x21d2ad[_0x5ad265(0x1af)]),_0x133530)['replace'](/\\/g,'/');let _0x205fee=this[_0x5ad265(0x1b3)](_0x21d2ad,_0x3ef3c6);_0x205fee=_0x205fee||this[_0x5ad265(0x1b3)](_0x21d2ad,_0x183dfc);const _0x339d97={'source':_0x205fee||_0x3ef3c6,'line':_0x518638+0x1,'column':_0x28836c},_0x21be5a=_0x21d2ad[_0x5ad265(0x191)],_0xdd2dc5=_0x21be5a[_0x5ad265(0x18b)](_0x339d97),_0x29f9da=_0xdd2dc5&&_0xdd2dc5[_0x5ad265(0x189)]>0x0?_0xdd2dc5[_0x5ad265(0x192)]((_0x48f4ce,_0x1235d6)=>{const _0xa6eb53=_0x5ad265;return _0x1235d6[_0xa6eb53(0x19c)]<_0x48f4ce[_0xa6eb53(0x19c)]?_0x1235d6:_0x48f4ce;}):_0x21be5a[_0x5ad265(0x185)](_0x339d97);return{'file':_0x21d2ad[_0x5ad265(0x1a2)],'line':_0x29f9da[_0x5ad265(0x19c)],'column':_0x29f9da[_0x5ad265(0x1bd)]};}[a23_0x340051(0x1b3)](_0x3ed053,_0x4922f1){const _0x4b587e=a23_0x340051;for(const _0x578137 of _0x3ed053['sources']){if(_0x578137[_0x4b587e(0x193)](_0x4922f1))return _0x578137;}return undefined;}}exports[a23_0x340051(0x1a6)]=SourceMapper;async function create(_0x2db729,_0x4e09a8,_0x130ecf){const _0x4d0c5f=a23_0x340051;_0x2db729[_0x4d0c5f(0x1ae)](_0x4d0c5f(0x198));const _0x1cf5fb=new SourceMapper(_0x2db729);_0x2db729[_0x4d0c5f(0x1ae)]('Parsing\x20source\x20map\x20files',_0x4e09a8[_0x4d0c5f(0x189)]);const _0x3a582c=async _0x38444d=>{const _0x5e169e=_0x4d0c5f;try{await processSourcemap(_0x2db729,_0x1cf5fb[_0x5e169e(0x19a)],_0x38444d,_0x130ecf);}catch(_0x16eb81){_0x2db729[_0x5e169e(0x1b2)](_0x5e169e(0x1c2),_0x38444d,_0x16eb81),_0x2db729['error'](JSON['stringify'](_0x16eb81));}};if(_0x130ecf)for(const _0x1c601e of _0x4e09a8){await _0x3a582c(_0x1c601e);}else{const _0x157dc4=pLimit(CONCURRENCY),_0x1f72d2=_0x4e09a8[_0x4d0c5f(0x1bb)](_0x581e48=>_0x157dc4(()=>_0x3a582c(_0x581e48)));await Promise['all'](_0x1f72d2);}return _0x1cf5fb;}exports['create']=create;
|