lightrun 1.57.1 → 1.58.1
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_0x17ab1f=a16_0x7e12;(function(_0x382ba9,_0x27f795){const _0x16a332=a16_0x7e12,_0x48fe33=_0x382ba9();while(!![]){try{const _0x29ba60=parseInt(_0x16a332(0x1e9))/0x1+-parseInt(_0x16a332(0x1db))/0x2*(-parseInt(_0x16a332(0x1c8))/0x3)+parseInt(_0x16a332(0x203))/0x4*(-parseInt(_0x16a332(0x1d6))/0x5)+-parseInt(_0x16a332(0x205))/0x6*(-parseInt(_0x16a332(0x1ca))/0x7)+parseInt(_0x16a332(0x1da))/0x8+-parseInt(_0x16a332(0x206))/0x9*(-parseInt(_0x16a332(0x1ff))/0xa)+-parseInt(_0x16a332(0x200))/0xb;if(_0x29ba60===_0x27f795)break;else _0x48fe33['push'](_0x48fe33['shift']());}catch(_0x3e46c8){_0x48fe33['push'](_0x48fe33['shift']());}}}(a16_0x236f,0xcbc1b));function a16_0x236f(){const _0x1d7f7a=['serviceContext','(((.+)+)+)+$','getBooleanValue','message','1243606bYTjLJ','LIGHTRUN_INIT_WAIT_TIME_MS','toString','LIGHTRUN_API_ENDPOINT','normalizeConfig','../util/utils','__esModule','validateConfig','LIGHTRUN_SECRET','path','agentLogLevel','LIGHTRUN_METADATA_FILE','K_REVISION','agentLog','filter','GAE_DEPLOYMENT_ID','stdErrThreshold','metadata','LIGHTRUN_PROXY_PASSWORD','limitConfig','env','validateSync','1030LXxQmK','29536661PNzNcx','LIGHTRUN_AGENT_CONFIG','agentLogMaxFileSizeMb','4UfBYtG','LIGHTRUN_WAIT_FOR_INIT','114zrQlpO','92862CHjYyq','667653uqCsrx','AGENT_LOG_MAX_FILE_COUNT','290878SGuxBW','GAE_SERVICE','LIGHTRUN_TAGS','defineProperty','LIGHTRUN_PROXY_PORT','service','defaultConfig','inner','NO_CHECK_CERTIFICATE','constructor','LIGHTRUN_STD_ERR_THRESHOLD','K_SERVICE','6115985ClXASq','AGENT_LOG_TARGET_DIR','split','./getAgentConfig','9615576oUHdDv','4vLEJKQ','GAE_VERSION','AGENT_LOG_LEVEL','apply','LIGHTRUN_PROXY_USERNAME','FETCH_BREAKPOINTS_ONCE','AGENT_LOG_MAX_FILE_SIZE_MB','agentConfigFile','registration','GAE_MINOR_VERSION'];a16_0x236f=function(){return _0x1d7f7a;};return a16_0x236f();}const a16_0x5e97c3=(function(){let _0x8abb7=!![];return function(_0x5390cf,_0x4265a2){const _0x2c38b2=_0x8abb7?function(){const _0x50927e=a16_0x7e12;if(_0x4265a2){const _0x364ad3=_0x4265a2[_0x50927e(0x1de)](_0x5390cf,arguments);return _0x4265a2=null,_0x364ad3;}}:function(){};return _0x8abb7=![],_0x2c38b2;};}()),a16_0xb50d98=a16_0x5e97c3(this,function(){const _0x455922=a16_0x7e12;return a16_0xb50d98[_0x455922(0x1eb)]()['search'](_0x455922(0x1e6))[_0x455922(0x1eb)]()[_0x455922(0x1d3)](a16_0xb50d98)['search'](_0x455922(0x1e6));});a16_0xb50d98();'use strict';Object[a16_0x17ab1f(0x1cd)](exports,a16_0x17ab1f(0x1ef),{'value':!![]}),exports[a16_0x17ab1f(0x1ed)]=exports['validateConfig']=void 0x0;const extend=require('extend'),config_1=require('../config'),utils_1=require(a16_0x17ab1f(0x1ee)),getAgentConfig_1=require(a16_0x17ab1f(0x1d9)),limitConfig_1=require('./limitConfig'),validateConfig=_0xfd76e3=>{const _0x3e2d3d=a16_0x17ab1f,_0x4f2252={};try{config_1['configSchema'][_0x3e2d3d(0x1fe)](_0xfd76e3,{'abortEarly':![]});}catch(_0x190a04){_0x190a04[_0x3e2d3d(0x1d1)][_0x3e2d3d(0x1f7)](_0x17d3ba=>_0x17d3ba[_0x3e2d3d(0x1f2)]&&_0x17d3ba[_0x3e2d3d(0x1e8)])['forEach'](_0x25f3f9=>{const _0x3e8fc8=_0x3e2d3d;_0x4f2252[_0x25f3f9[_0x3e8fc8(0x1f2)]]=_0x25f3f9[_0x3e8fc8(0x1e8)];});}return _0x4f2252;};exports['validateConfig']=validateConfig;function a16_0x7e12(_0x244604,_0x44daf0){const _0x215eb3=a16_0x236f();return a16_0x7e12=function(_0xb50d98,_0x5e97c3){_0xb50d98=_0xb50d98-0x1c8;let _0x236f30=_0x215eb3[_0xb50d98];return _0x236f30;},a16_0x7e12(_0x244604,_0x44daf0);}const normalizeConfig=_0x5c061b=>{const _0xa185f1=a16_0x17ab1f,_0x440748={'serviceContext':{'service':process[_0xa185f1(0x1fd)][_0xa185f1(0x1cb)]||process[_0xa185f1(0x1fd)]['GAE_MODULE_NAME']||process[_0xa185f1(0x1fd)][_0xa185f1(0x1d5)],'version':process[_0xa185f1(0x1fd)][_0xa185f1(0x1dc)]||process[_0xa185f1(0x1fd)]['GAE_MODULE_VERSION']||process[_0xa185f1(0x1fd)][_0xa185f1(0x1f5)],'minorVersion_':process['env'][_0xa185f1(0x1f8)]||process[_0xa185f1(0x1fd)][_0xa185f1(0x1e4)]},'metadata':{'filename':process[_0xa185f1(0x1fd)][_0xa185f1(0x1f4)],'registration':{}},'lightrunSecret':process[_0xa185f1(0x1fd)][_0xa185f1(0x1f1)],'apiEndpoint':process[_0xa185f1(0x1fd)][_0xa185f1(0x1ec)],'noCheckCertificate':(0x0,utils_1[_0xa185f1(0x1e7)])(process[_0xa185f1(0x1fd)][_0xa185f1(0x1d2)]),'fetchBreakpointsOnce':(0x0,utils_1[_0xa185f1(0x1e7)])(process[_0xa185f1(0x1fd)][_0xa185f1(0x1e0)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0xa185f1(0x1fd)][_0xa185f1(0x204)]),'lightrunInitWaitTimeMs':process[_0xa185f1(0x1fd)][_0xa185f1(0x1ea)],'agentLog':_0x5c061b?.[_0xa185f1(0x1f6)]||{},'proxy':{'host':process[_0xa185f1(0x1fd)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process['env'][_0xa185f1(0x1ce)]||'')||undefined,'username':process[_0xa185f1(0x1fd)][_0xa185f1(0x1df)],'password':process[_0xa185f1(0x1fd)][_0xa185f1(0x1fb)]}};process[_0xa185f1(0x1fd)][_0xa185f1(0x1d4)]!==undefined&&(_0x440748[_0xa185f1(0x1f6)][_0xa185f1(0x1f9)]=process['env']['LIGHTRUN_STD_ERR_THRESHOLD']);process[_0xa185f1(0x1fd)]['AGENT_LOG_LEVEL']!==undefined&&(_0x440748[_0xa185f1(0x1f6)][_0xa185f1(0x1f3)]=process[_0xa185f1(0x1fd)][_0xa185f1(0x1dd)]);process[_0xa185f1(0x1fd)][_0xa185f1(0x1d7)]!==undefined&&(_0x440748[_0xa185f1(0x1f6)]['agentLogTargetDir']=process[_0xa185f1(0x1fd)][_0xa185f1(0x1d7)]);process[_0xa185f1(0x1fd)][_0xa185f1(0x1c9)]!==undefined&&(_0x440748['agentLog']['agentLogMaxFileCount']=parseInt(process[_0xa185f1(0x1fd)][_0xa185f1(0x1c9)]));process['env'][_0xa185f1(0x1e1)]!==undefined&&(_0x440748[_0xa185f1(0x1f6)][_0xa185f1(0x202)]=parseInt(process[_0xa185f1(0x1fd)][_0xa185f1(0x1e1)]));process[_0xa185f1(0x1fd)]['FUNCTION_NAME']&&(_0x440748[_0xa185f1(0x1e5)][_0xa185f1(0x1cf)]=process[_0xa185f1(0x1fd)]['FUNCTION_NAME'],_0x440748[_0xa185f1(0x1e5)]['version']='unversioned');process[_0xa185f1(0x1fd)][_0xa185f1(0x1cc)]&&(_0x440748[_0xa185f1(0x1fa)][_0xa185f1(0x1e3)]={'tags':process[_0xa185f1(0x1fd)]['LIGHTRUN_TAGS'][_0xa185f1(0x1d8)](',')});const _0x18edbb=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0xa185f1(0x1fd)][_0xa185f1(0x201)]||_0x5c061b?.[_0xa185f1(0x1e2)]||config_1['defaultConfig']['agentConfigFile']),_0x6c55f1=(0x0,limitConfig_1[_0xa185f1(0x1fc)])(extend(!![],{},config_1[_0xa185f1(0x1d0)],_0x18edbb,_0x5c061b,_0x440748)),_0x9b955c=(0x0,exports[_0xa185f1(0x1f0)])(_0x6c55f1);return{..._0x6c55f1,'errors':_0x9b955c};};exports[a16_0x17ab1f(0x1ed)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a17_0x3fd1(_0x55e282,_0x456253){const _0x32c1be=a17_0x6527();return a17_0x3fd1=function(_0x26a663,_0x38a735){_0x26a663=_0x26a663-0x1bb;let _0x65271d=_0x32c1be[_0x26a663];return _0x65271d;},a17_0x3fd1(_0x55e282,_0x456253);}const a17_0x3ee2ac=a17_0x3fd1;(function(_0x504628,_0x2ec5e5){const _0x4d33fe=a17_0x3fd1,_0x210eab=_0x504628();while(!![]){try{const _0x342ad3=-parseInt(_0x4d33fe(0x1be))/0x1*(parseInt(_0x4d33fe(0x1c1))/0x2)+-parseInt(_0x4d33fe(0x1c4))/0x3*(-parseInt(_0x4d33fe(0x1bf))/0x4)+parseInt(_0x4d33fe(0x1bb))/0x5+parseInt(_0x4d33fe(0x1c9))/0x6*(parseInt(_0x4d33fe(0x1ca))/0x7)+parseInt(_0x4d33fe(0x1c7))/0x8*(parseInt(_0x4d33fe(0x1c3))/0x9)+-parseInt(_0x4d33fe(0x1cc))/0xa+-parseInt(_0x4d33fe(0x1c0))/0xb;if(_0x342ad3===_0x2ec5e5)break;else _0x210eab['push'](_0x210eab['shift']());}catch(_0x52f014){_0x210eab['push'](_0x210eab['shift']());}}}(a17_0x6527,0xcbb21));const a17_0x38a735=(function(){let _0x724031=!![];return function(_0x4f4c29,_0x2b0a31){const _0x1114f2=_0x724031?function(){if(_0x2b0a31){const _0x528515=_0x2b0a31['apply'](_0x4f4c29,arguments);return _0x2b0a31=null,_0x528515;}}:function(){};return _0x724031=![],_0x1114f2;};}()),a17_0x26a663=a17_0x38a735(this,function(){const _0x4f8260=a17_0x3fd1;return a17_0x26a663[_0x4f8260(0x1bc)]()['search'](_0x4f8260(0x1bd))[_0x4f8260(0x1bc)]()[_0x4f8260(0x1cb)](a17_0x26a663)['search']('(((.+)+)+)+$');});a17_0x26a663();function a17_0x6527(){const _0x30246f=['287wFoilM','constructor','1122980WQmTtO','delimit','3454810SguvQO','toString','(((.+)+)+)+$','47167iBhQUh','8YuRuMM','86471aENcJF','58FnDyGu','__esModule','9lliCTg','4242LoDXFh','length','push','3976248ADKvjY','tokenize','165588wOuedL'];a17_0x6527=function(){return _0x30246f;};return a17_0x6527();}'use strict';Object['defineProperty'](exports,a17_0x3ee2ac(0x1c2),{'value':!![]}),exports[a17_0x3ee2ac(0x1c8)]=void 0x0;const delimit_1=require('./delimit'),tokenize=(_0x378eef,_0x471a9c)=>{const _0x46fe55=a17_0x3ee2ac;let _0x3449fe=(0x0,delimit_1[_0x46fe55(0x1cd)])(_0x378eef,'$$');for(let _0x4d23c3=_0x471a9c-0x1;_0x4d23c3>=0x0;_0x4d23c3--){const _0x5d3898=[];for(let _0x5a0652=0x0;_0x5a0652<_0x3449fe[_0x46fe55(0x1c5)];_0x5a0652++){_0x3449fe[_0x5a0652]['v']?_0x5d3898['push'](_0x3449fe[_0x5a0652]):_0x5d3898[_0x46fe55(0x1c6)](...(0x0,delimit_1['delimit'])(_0x3449fe[_0x5a0652],'$'+_0x4d23c3));}_0x3449fe=_0x5d3898;}return _0x3449fe;};exports[a17_0x3ee2ac(0x1c8)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x479f82=a18_0x2396;(function(_0x2b9f3d,_0x2dfcf9){const _0x5cb4a3=a18_0x2396,_0x193dae=_0x2b9f3d();while(!![]){try{const _0x386f30=-parseInt(_0x5cb4a3(0xdf))/0x1*(-parseInt(_0x5cb4a3(0x14d))/0x2)+parseInt(_0x5cb4a3(0x126))/0x3*(parseInt(_0x5cb4a3(0xde))/0x4)+-parseInt(_0x5cb4a3(0x17a))/0x5+parseInt(_0x5cb4a3(0x113))/0x6*(parseInt(_0x5cb4a3(0x11b))/0x7)+-parseInt(_0x5cb4a3(0x163))/0x8+parseInt(_0x5cb4a3(0x198))/0x9+-parseInt(_0x5cb4a3(0x139))/0xa;if(_0x386f30===_0x2dfcf9)break;else _0x193dae['push'](_0x193dae['shift']());}catch(_0x46f191){_0x193dae['push'](_0x193dae['shift']());}}}(a18_0x1e9a,0xceb51));const a18_0x3ccbb7=(function(){let _0x44945e=!![];return function(_0x76fc79,_0xd0ccbf){const _0x59f28c=_0x44945e?function(){const _0x3516de=a18_0x2396;if(_0xd0ccbf){const _0x91a217=_0xd0ccbf[_0x3516de(0x1ae)](_0x76fc79,arguments);return _0xd0ccbf=null,_0x91a217;}}:function(){};return _0x44945e=![],_0x59f28c;};}()),a18_0x4b075a=a18_0x3ccbb7(this,function(){const _0x350598=a18_0x2396;return a18_0x4b075a[_0x350598(0x187)]()['search'](_0x350598(0x166))[_0x350598(0x187)]()[_0x350598(0xe0)](a18_0x4b075a)[_0x350598(0xf1)](_0x350598(0x166));});function a18_0x2396(_0x42d071,_0x3cbdd5){const _0x2b52cc=a18_0x1e9a();return a18_0x2396=function(_0x4b075a,_0x3ccbb7){_0x4b075a=_0x4b075a-0xdc;let _0x1e9ae0=_0x2b52cc[_0x4b075a];return _0x1e9ae0;},a18_0x2396(_0x42d071,_0x3cbdd5);}a18_0x4b075a();'use strict';var __classPrivateFieldSet=this&&this[a18_0x479f82(0x1d7)]||function(_0x4297e4,_0x536b66,_0x1a6c6d,_0x54381e,_0xaefaba){const _0x53c222=a18_0x479f82;if(_0x54381e==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x54381e==='a'&&!_0xaefaba)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x536b66===_0x53c222(0x141)?_0x4297e4!==_0x536b66||!_0xaefaba:!_0x536b66['has'](_0x4297e4))throw new TypeError(_0x53c222(0x17d));return _0x54381e==='a'?_0xaefaba[_0x53c222(0x1dc)](_0x4297e4,_0x1a6c6d):_0xaefaba?_0xaefaba[_0x53c222(0x1d4)]=_0x1a6c6d:_0x536b66[_0x53c222(0x169)](_0x4297e4,_0x1a6c6d),_0x1a6c6d;},__classPrivateFieldGet=this&&this['__classPrivateFieldGet']||function(_0x554644,_0x18d704,_0x95f93b,_0x4a71a9){const _0x23dd1b=a18_0x479f82;if(_0x95f93b==='a'&&!_0x4a71a9)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x18d704===_0x23dd1b(0x141)?_0x554644!==_0x18d704||!_0x4a71a9:!_0x18d704[_0x23dd1b(0xdc)](_0x554644))throw new TypeError(_0x23dd1b(0x1b7));return _0x95f93b==='m'?_0x4a71a9:_0x95f93b==='a'?_0x4a71a9[_0x23dd1b(0x1dc)](_0x554644):_0x4a71a9?_0x4a71a9[_0x23dd1b(0x1d4)]:_0x18d704['get'](_0x554644);},_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_0x479f82(0x1d9)](exports,'__esModule',{'value':!![]}),exports[a18_0x479f82(0x12c)]=exports['CachedPromise']=void 0x0;const assert=require(a18_0x479f82(0x19b)),events_1=require(a18_0x479f82(0x115)),extend=require(a18_0x479f82(0x1a3)),fs=require('fs'),path=require('path'),util=require(a18_0x479f82(0x104)),status_message_1=require(a18_0x479f82(0xf2)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a18_0x479f82(0x155)),config_1=require(a18_0x479f82(0x18b)),controller_1=require('./controller'),SourceMapper=require('./io/sourcemapper'),debugapi=require('./v8/debugapi'),piping_manager_1=require(a18_0x479f82(0xff)),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require(a18_0x479f82(0x193)),scanner_1=require(a18_0x479f82(0x132)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x479f82(0x18c)),utils_1=require(a18_0x479f82(0x11d)),redaction_manager_1=require(a18_0x479f82(0x143)),configuration_provider_1=require(a18_0x479f82(0x15a)),normalizeConfig_1=require(a18_0x479f82(0x137)),mapSubtract_1=require(a18_0x479f82(0x146)),format_1=require('./debuglet-helpers/format'),createDebuggee_1=require(a18_0x479f82(0xfd)),readFilep=util[a18_0x479f82(0x1c6)](fs[a18_0x479f82(0x1dd)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x58f975,_0x3c44c3)=>{const _0xdcf409=a18_0x479f82;let _0x5d11ed=_0x58f975+util[_0xdcf409(0x1a6)](_0xdcf409(0x14a),_0x3c44c3['id'],_0x3c44c3[_0xdcf409(0x11e)],util[_0xdcf409(0x1c0)](_0x3c44c3[_0xdcf409(0x12b)]));if(_0x3c44c3[_0xdcf409(0x13a)]){const _0x49e3f2=Number(_0x3c44c3[_0xdcf409(0x13a)][_0xdcf409(0x1da)]),_0x22067b=new Date(_0x49e3f2*0x3e8);_0x5d11ed+='\x0a\x09createdTime:\x20'+_0x22067b[_0xdcf409(0x187)]();}return _0x3c44c3['condition']&&(_0x5d11ed+=_0xdcf409(0x1de)+util[_0xdcf409(0x1c0)](_0x3c44c3[_0xdcf409(0x175)])),_0x3c44c3[_0xdcf409(0xf9)]&&(_0x5d11ed+=_0xdcf409(0x15d)+util[_0xdcf409(0x1c0)](_0x3c44c3[_0xdcf409(0xf9)])),_0x5d11ed;},formatBreakpoints=(_0x19c7d1,_0x3d6da8)=>{const _0x345388=a18_0x479f82;return _0x19c7d1+Object['keys'](_0x3d6da8)[_0x345388(0x14e)](_0x505ecb=>{return formatBreakpoint('',_0x3d6da8[_0x505ecb]);})['join']('\x0a');};class CachedPromise{constructor(){const _0x4c8e7d=a18_0x479f82;this[_0x4c8e7d(0x199)]=null,this['promise']=new Promise(_0x3c47c8=>{const _0x5ed037=_0x4c8e7d;this[_0x5ed037(0x199)]=_0x3c47c8;});}[a18_0x479f82(0x16d)](){const _0x46a33=a18_0x479f82;return this[_0x46a33(0x17b)];}[a18_0x479f82(0x1a9)](){const _0x4d60ef=a18_0x479f82;this['promiseResolve']&&(this[_0x4d60ef(0x199)](),this['promiseResolve']=null);}}function a18_0x1e9a(){const _0x5de88b=['4144480YChCbb','createTime','initError','NODE_VERSION_MESSAGE','path','shouldRedactByName','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','register','function','NOT_SET','./reduction/redaction-manager','breakpoints','selectStats','./debuglet-helpers/mapSubtract','pattern','Registering\x20debuggee','name','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','QuotaManager','mainModule','2HoMZWT','map','breakpointUpdateIntervalSec','UNSPECIFIED','internal','version','agentLog','scan','./agent-logger','.\x20Error:\x20','workingDirectory','Scheduling\x20registration\x20in\x20','join','./configuration-provider','\x09adding\x20breakpoint','\x20to\x20','\x0a\x09expressions:\x20','blacklist','Working\x20directory:\x20','isDisabled','breakpoint_set','Error\x20scanning\x20the\x20filesystem.','6423768AbWCaQ','isFinalState','Debuggee\x20is\x20not\x20registered','(((.+)+)+)+$','filename','Found\x20breakpoint\x20with\x20invalid\x20action:','set','LOGPOINT:\x20','setBlocklistManager','enable','get','maxRequestRetryDelaySeconds','APP_ONLY','quotaRecoverySeconds','waitExpired','\x09successfully\x20added\x20breakpoint','source-context.json','ConfigurationProvider','condition','log','findFiles','extraPaths','parse','3200685yDaHIE','promise','fetcherActive','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','description','Switching\x20globalPiping\x20status\x20from\x20','\x09remove\x20breakpoint','clear','sendAgentLogsToServer','listBreakpoints','registered','pipingManager','Initializing\x20Node.js\x20agent\x20version:\x20','toString','Unknown\x20agentLogLevel\x20','concat','isRunning','./config','./io/file-index','once','parameters','\x20because\x20','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','remainingHits','mapSubtract','./blocklisting/patterns-blocklist-manager','pipeLogs','sourceContext','cwd','REDACTED_PLACEHOLDER','3864969lhUfJH','promiseResolve','backoff','assert','\x20accepted\x20by\x20agent','GAE_MINOR_VERSION','Result:\x20\x0a','filter','stop','Blacklist:\x20\x0a\x09','allowExpressions','extend','\x09Notifying\x20server\x20about\x20error\x20for\x20','PatternsBlocklistManager','format','isOutOfQuota','FileIndex','resolve','forEach','Registered\x20as\x20debuggee:\x20','debug','length','apply','removePerBreakpointQuota','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','isRedactionActive','CAPTURE','getLevel','create','getSourceContextFromFile','sourceMapDiagnostics','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','disable','fromFileStats','ignoreQuota','message','started','BREAKPOINT_ACTION_MESSAGE','Breakpoint','ALLOW_EXPRESSIONS_MESSAGE','inspect','bind','globalPipingStatus','pipingStatus','then','enqueueBreakpointUpdate','promisify','all','setCustomLogLevel','quota','js.map','rejecting\x20breakpoint','push','logger','info','unref','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','PipingManager','debuggee','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','value','Failed\x20to\x20register\x20debuggee:\x20','remotelyDisabled','__classPrivateFieldSet','GAE-','defineProperty','seconds','selectFiles','call','readFile','\x0a\x09condition:\x20','readFullVersion','has','emit','790844dFqdwF','229682WrucpB','constructor','fetchBreakpointsOnce','collectLogRequestId','activeBreakpointMap','expirationTime','error','getProps','removeBreakpoint','quotaCheck','config','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','sep','Scanner','env','blacklist_exception','name:\x20','allowRootAsWorkingDirectory','search','../client/stackdriver/status-message','CachedPromise','normalize','stringify','getRedactions','logLevel','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','expressions','errors','warn','StatusMessage','./debuglet-helpers/createDebuggee','agentLogMaxFileSizeMb','./piping-manager','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','entries','Error\x20processing\x20the\x20sourcemaps.','agentLogTargetDir','util','now','isArray','undefined','createPerBreakpointConditionQuota','\x09Long\x20poll\x20completed.','wait','SIGINT','javascriptFileExtensions','setIgnoreQuota','deregister','prettyError','Fetching\x20breakpoints','agentLogLevel','breakpointExpirationSec','18pROnUA','Stopping\x20Debuglet','events','isReady','pid','type','Breakpoint\x20hit!:\x20','setPatterns','3387937THtcQA','):\x20pattern:\x20','./util/utils','action','clearTransmissionTimeout','agentLogMaxFileCount','values','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','DEBUG','split','Debuglet\x20not\x20running','9IjtYKb','satisfies','default','\x20caseInsensitive:\x20','redactionEnabled','location','Debuglet','LOG','Active\x20Breakpoints:\x20\x0a','\x20completed.','\x09Got\x20error\x20from\x20server.\x20status:\x20','status','./io/scanner','5.2\x20||\x20<4','debuglet','setLevel','hash','./debuglet-helpers/normalizeConfig','jsFileIndex'];a18_0x1e9a=function(){return _0x5de88b;};return a18_0x1e9a();}exports[a18_0x479f82(0xf3)]=CachedPromise;class IsReadyImpl{constructor(_0x56e35a){const _0x325e98=a18_0x479f82;this[_0x325e98(0x134)]=_0x56e35a;}[a18_0x479f82(0x116)](){const _0x224feb=a18_0x479f82;return this['debuglet'][_0x224feb(0x116)]();}}class Debuglet extends events_1['EventEmitter']{constructor(_0x5af959,_0x51fa89){const _0x5a82b8=a18_0x479f82;super(),_Debuglet_instances['add'](this),_Debuglet_debug[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_v8debug[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_running[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_controller[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x5a82b8(0x169)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_quotaManager[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x5a82b8(0x169)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this[_0x5a82b8(0xe9)]=(0x0,normalizeConfig_1['normalizeConfig'])(_0x51fa89),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x5a82b8(0x174))](this[_0x5a82b8(0xe9)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x5af959,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x5a82b8(0x17c)]=![],this[_0x5a82b8(0x1cd)]=agent_logger_1[_0x5a82b8(0x128)]['createLogger'](this['config'][_0x5a82b8(0x153)][_0x5a82b8(0x103)],this['config'][_0x5a82b8(0x153)][_0x5a82b8(0xfe)],this[_0x5a82b8(0xe9)]['agentLog'][_0x5a82b8(0x120)],this[_0x5a82b8(0xe9)][_0x5a82b8(0x153)][_0x5a82b8(0x111)],this[_0x5a82b8(0xe9)][_0x5a82b8(0x153)]['stdErrThreshold']),(0x0,config_1['logMainConfigParams'])(this[_0x5a82b8(0xe9)],this[_0x5a82b8(0x1cd)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x5a82b8(0x1cd)])[_0x5a82b8(0xe6)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x5a82b8(0xe9)],this[_0x5a82b8(0x1cd)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x5a82b8(0xec))](this[_0x5a82b8(0x1cd)]),'f'),this[_0x5a82b8(0x1d2)]=null,this[_0x5a82b8(0xe3)]={},__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[(_0x5a82b8(0x14b))](this[_0x5a82b8(0x1cd)],this['config']),'f'),this[_0x5a82b8(0x185)]=new piping_manager_1[(_0x5a82b8(0x1d1))](_0x5a82b8(0x16f),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x5a82b8(0xe9)]);}async[a18_0x479f82(0x177)](_0x5e11ca,_0x4b05e9){const _0x46ec60=a18_0x479f82,_0x80380d=_0x5e11ca[_0x46ec60(0x157)],_0x3daa0b=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x46ec60(0x154)](_0x80380d,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x46ec60(0x1dc)](_a,_0x5e11ca[_0x46ec60(0x10c)][_0x46ec60(0x189)](_0x46ec60(0x1ca))),_0x4b05e9,_0x5e11ca[_0x46ec60(0x178)]),_0x207719=_0x3daa0b[_0x46ec60(0x145)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x5e11ca[_0x46ec60(0x10c)])),_0x3abd81=file_index_1[_0x46ec60(0x1a8)][_0x46ec60(0x1b9)](_0x207719),_0x56e573=_0x3daa0b[_0x46ec60(0x1db)](/.js.map$/,process[_0x46ec60(0x196)]()),_0x207cb0=_0x3daa0b[_0x46ec60(0xfa)]();return{'mapFiles':_0x56e573,'errors':_0x207cb0,'jsFileIndex':_0x3abd81,'hash':_0x3daa0b[_0x46ec60(0x136)]};}async['start'](){const _0x14a44a=a18_0x479f82,_0x20da7c=this,_0x245ad=_0x20da7c[_0x14a44a(0xe9)][_0x14a44a(0x157)];if(!_0x20da7c[_0x14a44a(0xe9)][_0x14a44a(0xf0)]&&path[_0x14a44a(0x159)](_0x245ad,'..')===_0x245ad){const _0x116109='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+_0x14a44a(0x190)+_0x14a44a(0x122)+'do\x20this.';_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0xe5)](_0x116109),_0x20da7c[_0x14a44a(0xdd)](_0x14a44a(0x13b),new Error(_0x116109));return;}let _0x19a589;process[_0x14a44a(0xed)][_0x14a44a(0x19d)]&&(_0x19a589=_0x14a44a(0x1d8)+process[_0x14a44a(0xed)][_0x14a44a(0x19d)]);let _0x344e46,_0x224d44=_0x19a589||'';try{_0x344e46=await this[_0x14a44a(0x177)](_0x20da7c['config'],_0x19a589),_0x344e46[_0x14a44a(0xfa)][_0x14a44a(0x1aa)](_0x20da7c[_0x14a44a(0x1cd)]['warn']);}catch(_0x343302){_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0xe5)](_0x14a44a(0x162),_0x343302),_0x20da7c[_0x14a44a(0xdd)]('initError',_0x343302);return;}try{const _0x17ad1b=await SourceMapper[_0x14a44a(0x1b4)](_0x20da7c['logger'],_0x344e46['mapFiles'],_0x20da7c[_0x14a44a(0xe9)][_0x14a44a(0x151)]?.[_0x14a44a(0x1b6)]);__classPrivateFieldSet(_0x20da7c,_Debuglet_v8debug,debugapi[_0x14a44a(0x1b4)](_0x20da7c[_0x14a44a(0x1cd)],_0x20da7c[_0x14a44a(0xe9)],_0x344e46[_0x14a44a(0x138)],_0x17ad1b,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x224d44=_0x19a589||_0x344e46[_0x14a44a(0x136)];}catch(_0x7e83ba){_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0xe5)](_0x14a44a(0x102),_0x7e83ba),_0x20da7c['logger'][_0x14a44a(0x1ce)](JSON[_0x14a44a(0xf5)](_0x7e83ba)),_0x20da7c['emit']('initError',_0x7e83ba);}_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0x1ce)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x224d44);const _0x59eb4c=(0x0,utils_1[_0x14a44a(0x1df)])(_0x20da7c['logger'])['replace']('\x0a','');_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0x1ce)](_0x14a44a(0x186)+_0x59eb4c);let _0xde596d;try{_0xde596d=_0x20da7c[_0x14a44a(0xe9)][_0x14a44a(0x195)]||await _a[_0x14a44a(0x1b5)]();}catch(_0x2ccdd4){}_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0x1ce)](_0x14a44a(0x1b0)+process[_0x14a44a(0x14c)]?.[_0x14a44a(0x167)]),_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0x1ac)](_0x14a44a(0x15f)+_0x245ad),_0x20da7c[_0x14a44a(0x1cd)][_0x14a44a(0x1ac)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x20da7c,_Debuglet_running,!![],'f'),_0x20da7c[_0x14a44a(0x1d2)]=(0x0,createDebuggee_1['createDebuggee'])(_0x224d44,_0x20da7c[_0x14a44a(0xe9)],_0xde596d,__classPrivateFieldGet(_0x20da7c,_Debuglet_debug,'f')['packageInfo'],_0x59eb4c,_0x20da7c[_0x14a44a(0x1cd)],__classPrivateFieldGet(_0x20da7c,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x20da7c,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](_0x20da7c),__classPrivateFieldGet(_0x20da7c,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x20da7c),_0x20da7c['emit'](_0x14a44a(0x1bc));}['isReady'](){const _0x280c40=a18_0x479f82;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x280c40(0x1a9)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x280c40(0x16d)]()[_0x280c40(0x1c4)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x280c40(0x16d)]();}}static async[a18_0x479f82(0x1b5)](){const _0x3c85c8=a18_0x479f82,_0x37aff7=await readFilep(_0x3c85c8(0x173),'utf8');try{return JSON[_0x3c85c8(0x179)](_0x37aff7);}catch(_0x1bf96e){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x1bf96e);}}[a18_0x479f82(0x18a)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x479f82(0x1a0)](){const _0x4d9499=a18_0x479f82;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x4d9499(0x1cd)]['debug']('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0x4d9499(0x1cd)][_0x4d9499(0x1ac)](_0x4d9499(0x114)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x4d9499(0x11f)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x4d9499(0xdd)]('stopped');}[a18_0x479f82(0x1c8)](_0x5ee6c3){const _0x188418=a18_0x479f82,_0x41cad8=this[_0x188418(0x1cd)]['getInitialLevel']();if(_0x41cad8==='debug')return;switch(_0x5ee6c3){case _0x188418(0x123):this[_0x188418(0x1cd)]['getLevel']()!==_0x188418(0x1ac)&&(this[_0x188418(0x1cd)][_0x188418(0x135)](_0x188418(0x1ac)),this[_0x188418(0x1cd)][_0x188418(0x1ac)](_0x188418(0xf8)));break;case _0x188418(0x142):case undefined:this['logger'][_0x188418(0x1b3)]()==='debug'&&(this[_0x188418(0x1cd)][_0x188418(0x135)](_0x41cad8),this[_0x188418(0x1cd)]['info'](_0x188418(0x13f)+_0x41cad8+')'));break;default:this[_0x188418(0x1cd)][_0x188418(0xfb)](_0x188418(0x188)+_0x5ee6c3);}}}exports['Debuglet']=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(_0x332cbd){const _0x52b470=a18_0x479f82;return new RegExp(_0x332cbd[_0x52b470(0x14e)](_0x57957c=>_0x57957c+'$')[_0x52b470(0x159)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x1220de=a18_0x479f82,_0x248949=['SIGTERM',_0x1220de(0x10b),'SIGQUIT'];_0x248949['forEach'](_0x237328=>{const _0xd0c44e=_0x1220de;process[_0xd0c44e(0x18d)](_0x237328,()=>{const _0x590d21=_0xd0c44e;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x590d21(0x10e)](this[_0x590d21(0x1d2)],()=>{const _0x469578=_0x590d21;process['kill'](process[_0x469578(0x117)],_0x237328);});});}),process[_0x1220de(0x18d)]('beforeExit',()=>{const _0x11f8fe=_0x1220de;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x11f8fe(0x10e)](this[_0x11f8fe(0x1d2)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x3d1a21=a18_0x479f82;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x3d1a21(0x1dc)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x583728){const _0x2f15c7=a18_0x479f82,_0x3061f2=this;_0x3061f2[_0x2f15c7(0x1cd)][_0x2f15c7(0x1ac)](_0x583728?_0x2f15c7(0x158)+_0x583728+'s':_0x2f15c7(0x148));function _0x1ef78f(_0x3a1218,_0x5cfd1c,_0x23d3d9=![]){const _0x296953=_0x2f15c7,_0x339918=_0x3061f2[_0x296953(0x1d2)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x3061f2[_0x296953(0x1d2)]?.['id']+':\x20'+(0x0,utils_1[_0x296953(0x10f)])(_0x3a1218):_0x296953(0x1d5)+(0x0,utils_1['prettyError'])(_0x3a1218);_0x3061f2[_0x296953(0x1cd)][_0x296953(0xe5)](_0x339918),_0x5cfd1c&&!_0x23d3d9&&_0x3061f2['logger'][_0x296953(0xe5)](_0x296953(0x19e),_0x5cfd1c),__classPrivateFieldGet(_0x3061f2,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x296953(0x1dc)](_0x3061f2,(0x0,utils_1[_0x296953(0x19a)])(_0x583728,_0x3061f2[_0x296953(0xe9)][_0x296953(0x151)][_0x296953(0x16e)]));}setTimeout(()=>{const _0x2d4fc5=_0x2f15c7;if(!__classPrivateFieldGet(_0x3061f2,_Debuglet_running,'f')){_0x1ef78f(new Error(_0x2d4fc5(0x125)));return;}__classPrivateFieldGet(_0x3061f2,_Debuglet_controller,'f')[_0x2d4fc5(0x140)](_0x3061f2['debuggee'],(_0x39f911,_0x4622cc,_0x967f0=![])=>{const _0x2595d3=_0x2d4fc5;if(_0x39f911){_0x1ef78f(_0x39f911,_0x4622cc,_0x967f0);return;}if(_0x4622cc[_0x2595d3(0x1d2)][_0x2595d3(0x160)]){_0x1ef78f(new Error('Disabled\x20by\x20the\x20server')),_0x3061f2[_0x2595d3(0xdd)](_0x2595d3(0x1d6));return;}const _0x1ddc49=_0x4622cc[_0x2595d3(0x1d2)]['id'];_0x3061f2[_0x2595d3(0x1cd)][_0x2595d3(0x1ce)](_0x2595d3(0x1ab)+_0x1ddc49),_0x3061f2['debuggee']['id']=_0x1ddc49;const _0x3785d1=[__classPrivateFieldGet(_0x3061f2,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](_0x3061f2)(_0x3061f2[_0x2595d3(0x1d2)]['id'])];_0x3061f2[_0x2595d3(0xe9)][_0x2595d3(0x12a)]&&_0x3785d1[_0x2595d3(0x1cc)](__classPrivateFieldGet(_0x3061f2,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x2595d3(0x1c1)](_0x3061f2)(_0x3061f2[_0x2595d3(0x1d2)]['id'])),Promise[_0x2595d3(0x1c7)](_0x3785d1)['then'](()=>{const _0x4e5b9f=_0x2595d3;_0x3061f2[_0x4e5b9f(0xdd)](_0x4e5b9f(0x184),_0x1ddc49),__classPrivateFieldGet(_0x3061f2,_Debuglet_debuggeeRegistered,'f')[_0x4e5b9f(0x1a9)](),__classPrivateFieldGet(_0x3061f2,_Debuglet_v8debug,'f')?.[_0x4e5b9f(0x16b)](__classPrivateFieldGet(_0x3061f2,_Debuglet_blocklistManager,'f')),!_0x3061f2[_0x4e5b9f(0x17c)]&&__classPrivateFieldGet(_0x3061f2,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4e5b9f(0x1dc)](_0x3061f2,0x0,this[_0x4e5b9f(0xe9)][_0x4e5b9f(0xe1)],_0x4622cc?.['clientConnectionTimeoutInSeconds']);},_0x4538be=>{_0x1ef78f(_0x4538be);});});},_0x583728*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0xd72c2b,_0x49a865,_0x50bd20){const _0x203f25=a18_0x479f82,_0x4670eb=this;!_0x49a865&&(_0x4670eb['fetcherActive']=!![]),setTimeout(()=>{const _0x4874dd=a18_0x2396;if(!__classPrivateFieldGet(_0x4670eb,_Debuglet_running,'f'))return;!_0x49a865&&assert(_0x4670eb[_0x4874dd(0x17c)]),_0x4670eb[_0x4874dd(0x1cd)][_0x4874dd(0x1ac)](_0x4874dd(0x110)),__classPrivateFieldGet(_0x4670eb,_Debuglet_controller,'f')[_0x4874dd(0x183)](_0x4670eb['debuggee'],(_0x36c240,_0x2edbb4,_0x403040)=>{const _0x399ca1=_0x4874dd;if(_0x2edbb4?.[_0x399ca1(0x131)]===0x194){_0x4670eb[_0x399ca1(0x1cd)]['info'](_0x399ca1(0x165)),_0x4670eb['fetcherActive']=![],__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x399ca1(0x1dc)](_0x4670eb),__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_register_)[_0x399ca1(0x1dc)](_0x4670eb);return;}if(_0x36c240){const _0x20e13a=(0x0,utils_1[_0x399ca1(0x19a)])(_0xd72c2b,_0x4670eb[_0x399ca1(0xe9)]['internal'][_0x399ca1(0x16e)]);_0x4670eb[_0x399ca1(0x1cd)][_0x399ca1(0xe5)](_0x399ca1(0x130)+_0x2edbb4?.[_0x399ca1(0x131)]+'.\x20message:\x20'+_0x36c240[_0x399ca1(0x1bb)]+'.\x20Retrying\x20in\x20'+_0x20e13a+'s'),__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4670eb,_0x20e13a,_0x49a865,_0x50bd20);return;}_0x4670eb[_0x399ca1(0x1cd)][_0x399ca1(0x1ac)]('\x09'+_0x2edbb4[_0x399ca1(0x131)]+_0x399ca1(0x12f));if(!_0x403040){const _0x4b802a=_0x4670eb[_0x399ca1(0xe9)][_0x399ca1(0x14f)];_0x4670eb[_0x399ca1(0x1cd)][_0x399ca1(0xe5)](_0x399ca1(0x1d0)+_0x4b802a+'s'),__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4670eb,_0x4b802a,_0x49a865,_0x50bd20);return;}this[_0x399ca1(0x1c8)](_0x403040[_0x399ca1(0x111)]);if(_0x403040[_0x399ca1(0x171)]){_0x4670eb[_0x399ca1(0x1cd)][_0x399ca1(0x1ce)](_0x399ca1(0x109)),__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4670eb,0x0,_0x49a865,_0x50bd20);return;}if(_0x403040[_0x399ca1(0x194)]&&_0x403040[_0x399ca1(0x194)]!==_0x399ca1(0x142)){const _0x424532=this['pipingManager'][_0x399ca1(0x1c2)];_0x424532!==_0x403040[_0x399ca1(0x194)]&&(this[_0x399ca1(0x1cd)]['debug'](_0x399ca1(0x17f)+_0x424532+_0x399ca1(0x15c)+_0x403040[_0x399ca1(0x194)]),this[_0x399ca1(0x185)][_0x399ca1(0x1c2)]=_0x403040[_0x399ca1(0x194)]);}if(_0x403040['collectAndSendLog']&&_0x403040[_0x399ca1(0xe2)]!==_0x4670eb[_0x399ca1(0xe2)]){_0x4670eb['collectLogRequestId']=_0x403040['collectLogRequestId'];const _0x580cf2=_0x4670eb[_0x399ca1(0xe9)][_0x399ca1(0x153)][_0x399ca1(0x103)]&&path[_0x399ca1(0x159)](_0x4670eb[_0x399ca1(0xe9)][_0x399ca1(0x153)][_0x399ca1(0x103)],agent_logger_1[_0x399ca1(0x128)]['AGENT_LOG_FILE']);_0x580cf2&&fs['existsSync'](_0x580cf2)?setTimeout(()=>__classPrivateFieldGet(_0x4670eb,_Debuglet_controller,'f')[_0x399ca1(0x182)](_0x4670eb[_0x399ca1(0x1d2)],_0x403040[_0x399ca1(0xe2)],_0x580cf2)):_0x4670eb[_0x399ca1(0x1cd)][_0x399ca1(0x1ce)](_0x399ca1(0xea)+_0x403040['collectLogRequestId']+_0x399ca1(0x18f)+_0x399ca1(0x1d3));}const _0x30bb9a=(_0x403040[_0x399ca1(0x144)]||[])[_0x399ca1(0x14e)](_0x138ea5=>new stackdriver_1[(_0x399ca1(0x1be))](_0x138ea5))['filter'](_0x562556=>{const _0x3ed11f=_0x399ca1,_0x299cc6=_0x562556[_0x3ed11f(0x11e)]||_0x3ed11f(0x1b2);if(__classPrivateFieldGet(_0x4670eb,_Debuglet_completedBreakpointMap,'f')[_0x562556['id']])return![];if(_0x299cc6!=='CAPTURE'&&_0x299cc6!==_0x3ed11f(0x12d))return _0x4670eb[_0x3ed11f(0x1cd)][_0x3ed11f(0xfb)](_0x3ed11f(0x168),_0x299cc6),_0x562556[_0x3ed11f(0x131)]=new status_message_1['StatusMessage'](status_message_1[_0x3ed11f(0xfc)][_0x3ed11f(0x150)],utils_1['errors'][_0x3ed11f(0x1bd)],!![]),__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3ed11f(0x1dc)](_0x4670eb,_0x562556),![];return!![];}),_0xf25ec4=__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x399ca1(0x1dc)](_0x4670eb);let _0x575e13=_0xf25ec4[_0x399ca1(0x1ad)]>0x0;__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x399ca1(0x1dc)](_0x4670eb,_0xf25ec4),_0x575e13=_0x575e13||__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x399ca1(0x1dc)](_0x4670eb,_0x30bb9a),_0x4670eb[_0x399ca1(0xdd)]('breakpoints_fetched',_0x30bb9a[_0x399ca1(0x1ad)]);_0x575e13&&_0x4670eb[_0x399ca1(0x1cd)]['debug'](formatBreakpoints(_0x399ca1(0x12e),_0x4670eb[_0x399ca1(0xe3)]));__classPrivateFieldSet(_0x4670eb,_Debuglet_breakpointFetchedTimestamp,Date[_0x399ca1(0x105)](),'f');_0x49a865?__classPrivateFieldGet(_0x4670eb,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x4670eb,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(_0x4670eb,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x4670eb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x399ca1(0x1dc)](_0x4670eb,0x0,_0x49a865,_0x50bd20);return;},_0x50bd20);},_0xd72c2b*0x3e8)[_0x203f25(0x1cf)]();},_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_(_0x55d506){const _0x4a3a3f=a18_0x479f82,_0x4634dc=this,_0x595fd6=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x4a3a3f(0x1dc)](this,_0x55d506);let _0x1dfca9=![];return _0x55d506[_0x4a3a3f(0x1aa)](_0x3da2c5=>{const _0x243634=_0x4a3a3f;!__classPrivateFieldGet(_0x4634dc,_Debuglet_completedBreakpointMap,'f')[_0x3da2c5['id']]&&!_0x4634dc[_0x243634(0xe3)][_0x3da2c5['id']]&&(__classPrivateFieldGet(_0x4634dc,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x243634(0x1dc)](_0x4634dc,_0x3da2c5,_0x2c47c4=>{_0x2c47c4&&__classPrivateFieldGet(_0x4634dc,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x4634dc,_0x3da2c5,!![],![]);}),_0x1dfca9=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x243634(0x108)](_0x3da2c5['id'])),__classPrivateFieldGet(_0x4634dc,_Debuglet_quotaManager,'f')[_0x243634(0x10d)](_0x3da2c5['id'],_0x3da2c5[_0x243634(0x1ba)]),_0x4634dc[_0x243634(0x185)]['setPipingStatus'](_0x3da2c5['id'],_0x3da2c5[_0x243634(0x1c3)]);}),(0x0,mapSubtract_1[_0x4a3a3f(0x192)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x595fd6)['forEach'](_0x4432e7=>{delete __classPrivateFieldGet(_0x4634dc,_Debuglet_completedBreakpointMap,'f')[_0x4432e7['id']],_0x1dfca9=!![];}),(0x0,mapSubtract_1[_0x4a3a3f(0x192)])(this['activeBreakpointMap'],_0x595fd6)[_0x4a3a3f(0x1aa)](_0x3d7beb=>{const _0x2baf61=_0x4a3a3f;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2baf61(0x1dc)](this,_0x3d7beb,!![]),_0x1dfca9=!![];}),_0x1dfca9&&_0x4634dc[_0x4a3a3f(0x1cd)][_0x4a3a3f(0x1ac)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x595fd6)),_0x1dfca9;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x33e6f2){const _0x3c4499=a18_0x479f82,_0x47fc12={};return _0x33e6f2[_0x3c4499(0x1aa)](_0x3db8fc=>{_0x47fc12[_0x3db8fc['id']]=_0x3db8fc;}),_0x47fc12;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x8dfd86,_0x5a0782){const _0x163194=a18_0x479f82;this[_0x163194(0x1cd)][_0x163194(0x1ce)](_0x163194(0x180),_0x8dfd86),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x163194(0x1af)](_0x8dfd86['id']),this[_0x163194(0x185)][_0x163194(0xe7)](_0x8dfd86['id']),delete this[_0x163194(0xe3)][_0x8dfd86['id']],_0x5a0782&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x163194(0x181)](_0x8dfd86,_0x27e6b8=>{const _0x57866b=_0x163194;if(_0x27e6b8)this[_0x57866b(0x1cd)][_0x57866b(0xe5)](_0x27e6b8);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x1cbe15,_0x30a4f2){const _0x312744=a18_0x479f82,_0x2ea2da=this;_0x2ea2da[_0x312744(0x1cd)]['info'](_0x312744(0x15b),_0x1cbe15);if(!_0x2ea2da['config'][_0x312744(0x1a2)]&&(_0x1cbe15[_0x312744(0x175)]||_0x1cbe15[_0x312744(0xf9)])){_0x2ea2da[_0x312744(0x1cd)]['error'](utils_1['errors'][_0x312744(0x1bf)]['description']||''),_0x1cbe15['status']=new status_message_1[(_0x312744(0xfc))](status_message_1[_0x312744(0xfc)][_0x312744(0x150)],utils_1['errors'][_0x312744(0x1bf)],!![]),setImmediate(()=>{const _0x41e453=_0x312744;_0x30a4f2(utils_1[_0x41e453(0xfa)][_0x41e453(0x1bf)]);});return;}if((0x0,utils_1[_0x312744(0x127)])(process[_0x312744(0x152)],_0x312744(0x133))){const _0x240dfe=utils_1[_0x312744(0xfa)][_0x312744(0x13c)];_0x2ea2da[_0x312744(0x1cd)]['error'](_0x240dfe),_0x1cbe15['status']=new status_message_1[(_0x312744(0xfc))](status_message_1[_0x312744(0xfc)]['UNSPECIFIED'],_0x240dfe,!![]),setImmediate(()=>{_0x30a4f2(_0x240dfe);});return;}const _0x3eabe9=_0x1cbe15[_0x312744(0x13a)]?Number(_0x1cbe15[_0x312744(0x13a)][_0x312744(0x1da)]):Date[_0x312744(0x105)]()/0x3e8,_0x44f4de=_0x1cbe15['expirationSeconds']||_0x2ea2da[_0x312744(0xe9)][_0x312744(0x112)];_0x1cbe15[_0x312744(0xe4)]=_0x3eabe9+_0x44f4de,_0x1cbe15[_0x312744(0x12b)]?.[_0x312744(0x13d)]&&(_0x1cbe15[_0x312744(0x12b)]['path']=path[_0x312744(0xf4)](_0x1cbe15[_0x312744(0x12b)][_0x312744(0x13d)]),path[_0x312744(0xeb)]===path['posix']['sep']&&(_0x1cbe15[_0x312744(0x12b)][_0x312744(0x13d)]=_0x1cbe15['location']['path'][_0x312744(0x124)]('\x5c')[_0x312744(0x159)](path[_0x312744(0xeb)]))),__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')['set'](_0x1cbe15,_0x284a6a=>{const _0x20d152=_0x312744;if(_0x284a6a){_0x30a4f2(_0x284a6a);return;}_0x2ea2da[_0x20d152(0x1cd)][_0x20d152(0x1ce)](_0x20d152(0x172),_0x1cbe15),_0x2ea2da[_0x20d152(0xe3)][_0x1cbe15['id']]=_0x1cbe15,_0x1cbe15['action']==='LOG'?__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')[_0x20d152(0x176)](_0x1cbe15,(_0xdc8395,_0x3abf07)=>{const _0x2e1344=_0x20d152,_0x11b3d1=_0x3abf07['map'](_0xc7c631=>__classPrivateFieldGet(_0x2ea2da,_Debuglet_instances,'m',_Debuglet_stringify)['call'](_0x2ea2da,_0xc7c631)),_0xb9b920=(0x0,format_1['format'])(_0xdc8395,_0x11b3d1),_0x577f76=_0x2e1344(0x16a)+(__classPrivateFieldGet(_0x2ea2da,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0xb9b920)||_0xb9b920),_0x396771=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x2e1344(0xe8)](_0x577f76,_0x1cbe15['id']);if(_0x396771){const _0x2ecda7=_0x396771[_0x2e1344(0x1bb)],_0x5f32a1=_0x396771[_0x2e1344(0x1a7)];let _0xd46e,_0x394931;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2e1344(0x1b1)]()&&!_0x5f32a1&&(_0xd46e=_0x2e1344(0x16a)+_0xdc8395,_0x394931=_0x11b3d1);_0x2ea2da['pipingManager']['addAndPipeLog'](_0x2ea2da[_0x2e1344(0x1d2)],_0x1cbe15['id'],_0x2ecda7,_0x1cbe15[_0x2e1344(0xf7)],_0xd46e,_0x394931);if(_0x5f32a1)__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0xf1a003=_0x2e1344;__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')?.[_0xf1a003(0x16c)](),__classPrivateFieldSet(_0x2ea2da,_Debuglet_nextEnableTimeout,null,'f');},_0x2ea2da[_0x2e1344(0xe9)][_0x2e1344(0x1c9)][_0x2e1344(0x170)]*0x3e8),'f');else _0x2ecda7?.[_0x2e1344(0x1ad)]===0x0&&__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')?.[_0x2e1344(0x1b8)]();}},()=>{return __classPrivateFieldGet(_0x2ea2da,_Debuglet_completedBreakpointMap,'f')[_0x1cbe15['id']];},_0x1e592c=>{const _0x50b529=_0x20d152;if(_0x1e592c){_0x2ea2da[_0x50b529(0x1cd)][_0x50b529(0xe5)](_0x1e592c),_0x30a4f2(_0x1e592c);return;}}):__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')[_0x20d152(0x10a)](_0x1cbe15,_0x28ed37=>{const _0x48a423=_0x20d152;if(_0x28ed37){setImmediate(()=>{const _0x738485=a18_0x2396;_0x2ea2da[_0x738485(0x1cd)][_0x738485(0xe5)](_0x28ed37),_0x30a4f2(_0x28ed37);});return;}_0x2ea2da[_0x48a423(0x1cd)]['info'](_0x48a423(0x119),_0x1cbe15),__classPrivateFieldGet(_0x2ea2da,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x48a423(0x1dc)](_0x2ea2da,_0x1cbe15,__classPrivateFieldGet(_0x2ea2da,_Debuglet_v8debug,'f')[_0x48a423(0x191)](_0x1cbe15['id'])<=0x0);}),__classPrivateFieldGet(_0x2ea2da,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)['call'](_0x2ea2da,_0x1cbe15);}),this[_0x312744(0xdd)](_0x312744(0x161));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x4bde3f,_0x470593,_0x430c80=!![]){const _0x3e96c3=a18_0x479f82,_0x2877b8=this;if(_0x4bde3f['status']&&_0x4bde3f[_0x3e96c3(0x131)]['isError']){let _0x33468f=_0x4bde3f[_0x3e96c3(0x131)]?.[_0x3e96c3(0x17e)]?.[_0x3e96c3(0x1a6)]||'';_0x4bde3f['status']?.[_0x3e96c3(0x17e)]?.['parameters']&&(_0x33468f+=':\x20'+_0x4bde3f['status']?.[_0x3e96c3(0x17e)]?.[_0x3e96c3(0x18e)][_0x3e96c3(0x187)]()),_0x2877b8[_0x3e96c3(0x1cd)][_0x3e96c3(0xfb)](_0x3e96c3(0x1a4)+_0x4bde3f+_0x3e96c3(0x156)+_0x33468f);}else _0x2877b8[_0x3e96c3(0x1cd)][_0x3e96c3(0x1ce)](_0x3e96c3(0x100),_0x4bde3f);_0x470593&&(__classPrivateFieldGet(_0x2877b8,_Debuglet_completedBreakpointMap,'f')[_0x4bde3f['id']]=!![],__classPrivateFieldGet(_0x2877b8,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x2877b8,_0x4bde3f,_0x430c80)),__classPrivateFieldGet(_0x2877b8,_Debuglet_controller,'f')[_0x3e96c3(0x1c5)](_0x2877b8['debuggee'],extend(!![],{},_0x4bde3f));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x530bfb){const _0x49e2c3=a18_0x479f82,_0x56ced0=this;_0x56ced0[_0x49e2c3(0x1cd)][_0x49e2c3(0x1ac)]('reporting\x20breakpoint\x20'+_0x530bfb+_0x49e2c3(0x19c));const _0x5dd821=extend(!![],{},_0x530bfb);_0x5dd821[_0x49e2c3(0x164)]=![],_0x5dd821[_0x49e2c3(0x131)]=new status_message_1['StatusMessage'](status_message_1[_0x49e2c3(0xfc)][_0x49e2c3(0x150)],undefined,![],!![]),__classPrivateFieldGet(_0x56ced0,_Debuglet_controller,'f')[_0x49e2c3(0x1c5)](_0x56ced0[_0x49e2c3(0x1d2)],_0x5dd821);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x21ddb5){const _0xf4845d=a18_0x479f82,_0x21b3c7=this;this[_0xf4845d(0x1cd)]['info'](_0xf4845d(0x1cb),_0x21ddb5),__classPrivateFieldGet(_0x21b3c7,_Debuglet_completedBreakpointMap,'f')[_0x21ddb5['id']]=!![],__classPrivateFieldGet(_0x21b3c7,_Debuglet_controller,'f')[_0xf4845d(0x1c5)](_0x21b3c7[_0xf4845d(0x1d2)],_0x21ddb5);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x267c23){const _0x33fe8f=this;_0x267c23['forEach'](_0x2b8560=>{const _0x5ba423=a18_0x2396;_0x33fe8f[_0x5ba423(0x1cd)]['info']('Expiring\x20breakpoint',_0x2b8560),__classPrivateFieldGet(_0x33fe8f,_Debuglet_completedBreakpointMap,'f')[_0x2b8560['id']]=!![],__classPrivateFieldGet(_0x33fe8f,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5ba423(0x1dc)](_0x33fe8f,_0x2b8560,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x41bf7f=a18_0x479f82,_0x55d48d=Date['now']()/0x3e8;return Object[_0x41bf7f(0x121)](this[_0x41bf7f(0xe3)])[_0x41bf7f(0x19f)](_0x3fd75e=>_0x3fd75e[_0x41bf7f(0xe4)]?_0x3fd75e[_0x41bf7f(0xe4)]<_0x55d48d:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x11022a){const _0x1b44c2=a18_0x479f82,_0x13c307=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x11022a),_0x18980a=_0x13c307[_0x1b44c2(0x15e)],_0xc95f33=_0x13c307[_0x1b44c2(0xee)];_0x18980a&&_0x18980a['length']&&this[_0x1b44c2(0x1cd)][_0x1b44c2(0x1ac)](_0x1b44c2(0x1a1),_0x18980a[_0x1b44c2(0x159)]('\x0a\x09')),_0xc95f33&&_0xc95f33[_0x1b44c2(0x1ad)]&&this['logger'][_0x1b44c2(0x1ac)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0xc95f33[_0x1b44c2(0x159)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x1b44c2(0x1a5))](_0x18980a,_0xc95f33,this[_0x1b44c2(0xe9)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x5a61cd){const _0x1c5d36=a18_0x479f82,_0x49907f=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1c5d36(0xf6)](_0x5a61cd);_0x49907f?.[_0x1c5d36(0x1ad)]&&this[_0x1c5d36(0x1cd)][_0x1c5d36(0x1ac)]('Redactions:\x20\x0a\x09',_0x49907f[_0x1c5d36(0x14e)](_0x343df0=>_0x1c5d36(0xef)+_0x343df0[_0x1c5d36(0x149)]+'\x20(type:\x20'+_0x343df0[_0x1c5d36(0x118)]+_0x1c5d36(0x11c)+_0x343df0[_0x1c5d36(0x147)]+_0x1c5d36(0x129)+_0x343df0['caseInsensitive'])[_0x1c5d36(0x159)]('\x0a\x09'));if((0x0,utils_1[_0x1c5d36(0x127)])(process[_0x1c5d36(0x152)],'>=12')){const {RedactionManagerRE2JS:_0x71295}=await Promise[_0x1c5d36(0x1a9)]()[_0x1c5d36(0x1c4)](()=>require('./reduction/redaction-manager-re2js'));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x71295(this[_0x1c5d36(0x1cd)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1c5d36(0x11a)](_0x49907f);}},_Debuglet_stringify=function _Debuglet_stringify(_0x114841){const _0x1e7e5e=a18_0x479f82;if(!_0x114841)return JSON[_0x1e7e5e(0xf5)](_0x114841,(_0x34b50e,_0x154fee)=>_0x154fee===undefined?_0x1e7e5e(0x107):_0x154fee);if(Array[_0x1e7e5e(0x106)](_0x114841)){const _0x161338=[];for(const _0x480679 of _0x114841){_0x161338[_0x1e7e5e(0x1cc)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1e7e5e(0x1dc)](this,_0x480679));}return'['+_0x161338[_0x1e7e5e(0x159)](',\x20')+']';}if(typeof _0x114841==='object'){const _0x220249=Object[_0x1e7e5e(0x101)](_0x114841)[_0x1e7e5e(0x14e)](([_0x274e18,_0x43de3e])=>{const _0x1ab621=_0x1e7e5e,_0x3ee129=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1ab621(0x13e)](_0x274e18)?redaction_manager_1[_0x1ab621(0x197)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1ab621(0x1dc)](this,_0x43de3e);return JSON['stringify'](_0x274e18)+':\x20'+_0x3ee129;})[_0x1e7e5e(0x159)](',\x20');return'{'+_0x220249+'}';}return JSON[_0x1e7e5e(0xf5)](_0x114841);});
|
|
1
|
+
const a18_0x49b105=a18_0x2fd9;function a18_0x2fd9(_0x53ce22,_0xdf0b8a){const _0x1b2ac5=a18_0x202d();return a18_0x2fd9=function(_0x3c37f0,_0x18b67f){_0x3c37f0=_0x3c37f0-0x171;let _0x202df5=_0x1b2ac5[_0x3c37f0];return _0x202df5;},a18_0x2fd9(_0x53ce22,_0xdf0b8a);}(function(_0x5a94c8,_0xf02e3c){const _0x447468=a18_0x2fd9,_0x550625=_0x5a94c8();while(!![]){try{const _0x304d06=parseInt(_0x447468(0x25c))/0x1*(-parseInt(_0x447468(0x17c))/0x2)+-parseInt(_0x447468(0x25a))/0x3+-parseInt(_0x447468(0x20e))/0x4*(-parseInt(_0x447468(0x266))/0x5)+-parseInt(_0x447468(0x1ee))/0x6*(-parseInt(_0x447468(0x20c))/0x7)+parseInt(_0x447468(0x183))/0x8*(-parseInt(_0x447468(0x200))/0x9)+-parseInt(_0x447468(0x19c))/0xa*(-parseInt(_0x447468(0x1ba))/0xb)+-parseInt(_0x447468(0x197))/0xc*(parseInt(_0x447468(0x1e9))/0xd);if(_0x304d06===_0xf02e3c)break;else _0x550625['push'](_0x550625['shift']());}catch(_0x3e533b){_0x550625['push'](_0x550625['shift']());}}}(a18_0x202d,0xda440));const a18_0x18b67f=(function(){let _0x41fef4=!![];return function(_0x2407b6,_0xdc7847){const _0x50d5f0=_0x41fef4?function(){const _0x2eaddb=a18_0x2fd9;if(_0xdc7847){const _0x12110e=_0xdc7847[_0x2eaddb(0x18a)](_0x2407b6,arguments);return _0xdc7847=null,_0x12110e;}}:function(){};return _0x41fef4=![],_0x50d5f0;};}()),a18_0x3c37f0=a18_0x18b67f(this,function(){const _0x2470a1=a18_0x2fd9;return a18_0x3c37f0[_0x2470a1(0x19e)]()[_0x2470a1(0x217)](_0x2470a1(0x1a1))[_0x2470a1(0x19e)]()[_0x2470a1(0x20d)](a18_0x3c37f0)['search']('(((.+)+)+)+$');});a18_0x3c37f0();'use strict';var __classPrivateFieldSet=this&&this[a18_0x49b105(0x220)]||function(_0x47c74d,_0x1817fc,_0x5e4743,_0x507583,_0x66eefb){const _0x3f3c2f=a18_0x49b105;if(_0x507583==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x507583==='a'&&!_0x66eefb)throw new TypeError(_0x3f3c2f(0x256));if(typeof _0x1817fc===_0x3f3c2f(0x225)?_0x47c74d!==_0x1817fc||!_0x66eefb:!_0x1817fc[_0x3f3c2f(0x210)](_0x47c74d))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x507583==='a'?_0x66eefb[_0x3f3c2f(0x1d0)](_0x47c74d,_0x5e4743):_0x66eefb?_0x66eefb[_0x3f3c2f(0x219)]=_0x5e4743:_0x1817fc[_0x3f3c2f(0x1e2)](_0x47c74d,_0x5e4743),_0x5e4743;},__classPrivateFieldGet=this&&this[a18_0x49b105(0x1d8)]||function(_0x581643,_0xc7a357,_0xf518a0,_0x1823c6){const _0x50a781=a18_0x49b105;if(_0xf518a0==='a'&&!_0x1823c6)throw new TypeError(_0x50a781(0x1a5));if(typeof _0xc7a357===_0x50a781(0x225)?_0x581643!==_0xc7a357||!_0x1823c6:!_0xc7a357[_0x50a781(0x210)](_0x581643))throw new TypeError(_0x50a781(0x276));return _0xf518a0==='m'?_0x1823c6:_0xf518a0==='a'?_0x1823c6['call'](_0x581643):_0x1823c6?_0x1823c6[_0x50a781(0x219)]:_0xc7a357[_0x50a781(0x285)](_0x581643);},_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_0x49b105(0x1f6)](exports,a18_0x49b105(0x237),{'value':!![]}),exports[a18_0x49b105(0x1ec)]=exports[a18_0x49b105(0x1dd)]=void 0x0;function a18_0x202d(){const _0x108e64=['AGENT_LOG_FILE','\x09adding\x20breakpoint','emit','stdErrThreshold','./configuration-provider','create','__esModule','./config','./controller','createPerBreakpointConditionQuota','pipingManager','EnvironmentMetadata','agentLogTargetDir','\x0a\x09createdTime:\x20','breakpointExpirationSec','redactionEnabled','push','\x0a\x09condition:\x20','./debuglet-helpers/mapSubtract','ignoreQuota','bind','EventEmitter','initError','isFinalState','blacklist','promise','description','expressions','workingDirectory','length','stringify','wait','once','Scheduling\x20registration\x20in\x20','Stopping\x20Debuglet','replaceRedactedByValue','status','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','unref','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','DEBUG','3053607KHQxDM','Initializing\x20Node.js\x20agent\x20version:\x20','9939tBGpNn','SIGQUIT','object','\x09successfully\x20added\x20breakpoint','Blacklist\x20Exceptions:\x20\x0a\x09','packageInfo','add','promisify','warn','Redactions:\x20\x0a\x09','5ROotqO','./reduction/redaction-manager-re2js','breakpoints','satisfies','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','Debuglet\x20not\x20running','posix','parse','Server\x20breakpoints:\x0a','clear','\x20caseInsensitive:\x20','expirationTime','enqueueBreakpointUpdate','stop','Controller','PatternsBlocklistManager','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','fetcherActive','scan','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','Malformed\x20source-context.json\x20file:\x20','readFile','parameters','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','ConfigurationProvider','\x20(type:\x20','message','remotelyDisabled','kill','fetchBreakpointsOnce','format','get','Error\x20processing\x20the\x20sourcemaps.','version','StatusMessage','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','errors','SIGINT','normalizeConfig','FileIndex','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','isReady','assert','selectFiles','caseInsensitive','hash','isOutOfQuota','log','./io/scanner','14uBvSxQ','shouldRedactByName','resolve','join','getLevel','./environment-metadata','breakpointUpdateIntervalSec','21288qoHqpu','\x0a\x09expressions:\x20','logMainConfigParams','GAE_MINOR_VERSION','Active\x20Breakpoints:\x20\x0a','allowRootAsWorkingDirectory','ALLOW_EXPRESSIONS_MESSAGE','apply','env','breakpoints_fetched','\x09Got\x20error\x20from\x20server.\x20status:\x20','info','createDebuggee','Failed\x20to\x20re-register\x20debuggee\x20','backoff','agentLog','jsFileIndex','NOT_SET','./debuglet-helpers/createDebuggee','setIgnoreQuota','300hcQIlw','reporting\x20breakpoint\x20','register','Registering\x20debuggee','sourceMapDiagnostics','40qSJcwk','CAPTURE','toString','pid','getInitialLevel','(((.+)+)+)+$','path','split','./quota-manager','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','registered','logLevel','LOG','pipeLogs','cwd','Expiring\x20breakpoint','disable','Switching\x20globalPiping\x20status\x20from\x20','selectStats','REDACTED_PLACEHOLDER','now','5.2\x20||\x20<4','removePerBreakpointQuota','Fetching\x20breakpoints','getSourceContextFromFile','extraPaths','sep','name:\x20','events','isArray','2685089MczBDs','BREAKPOINT_ACTION_MESSAGE','quota','.\x20Error:\x20','>=12','waitExpired','map','rejecting\x20breakpoint','pipingStatus','logger','mapFiles','./v8/debugapi','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','QuotaManager','allowExpressions','debug','seconds','./debuglet-helpers/format','isReadyManager','source-context.json','collectLogRequestId','Disabled\x20by\x20the\x20server','call','filter','default','promiseResolve','activeBreakpointMap','Registered\x20as\x20debuggee:\x20','Failed\x20to\x20register\x20debuggee:\x20','Working\x20directory:\x20','__classPrivateFieldGet','LOGPOINT:\x20','values','agentLogMaxFileCount','replace','CachedPromise','APP_ONLY','Error\x20scanning\x20the\x20filesystem.','agentLogMaxFileSizeMb','forEach','set','PipingManager','./io/file-index','stopped','config','debuggee','existsSync','389701wUARMC','addAndPipeLog','\x20to\x20','Debuglet','javascriptFileExtensions','12MJipwN','./piping-manager','mapSubtract','Debuggee\x20is\x20not\x20registered','setPipingStatus','GAE-','keys','createLogger','defineProperty','listBreakpoints','Unknown\x20agentLogLevel\x20','setCustomLogLevel','deregister','globalPipingStatus','prettyError','Result:\x20\x0a','collectAndSendLog','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','1467wMvbDm','action','setBlocklistManager','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','then','setLevel','UNSPECIFIED','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','entries','util','beforeExit','js.map','1453361ePMBOw','constructor','7091936wgshcG','location','has','Unique\x20ID\x20for\x20this\x20Application:\x20','remainingHits','do\x20this.','type','inspect','./debuglet-helpers/normalizeConfig','search','name','value','./agent-logger','SIGTERM','setPatterns','\x20because\x20','debuglet','condition','__classPrivateFieldSet','maxRequestRetryDelaySeconds','clientConnectionTimeoutInSeconds','.\x20Retrying\x20in\x20','../types/stackdriver','function','createTime','./blocklisting/patterns-blocklist-manager','agentLogLevel','internal','Breakpoint','sendAgentLogsToServer','Blacklist:\x20\x0a\x09','\x09Long\x20poll\x20completed.','\x20completed.','error','fromFileStats'];a18_0x202d=function(){return _0x108e64;};return a18_0x202d();}const assert=require(a18_0x49b105(0x175)),events_1=require(a18_0x49b105(0x1b8)),extend=require('extend'),fs=require('fs'),path=require(a18_0x49b105(0x1a2)),util=require(a18_0x49b105(0x209)),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a18_0x49b105(0x224)),agent_logger_1=require(a18_0x49b105(0x21a)),config_1=require(a18_0x49b105(0x238)),controller_1=require(a18_0x49b105(0x239)),SourceMapper=require('./io/sourcemapper'),debugapi=require(a18_0x49b105(0x1c5)),piping_manager_1=require(a18_0x49b105(0x1ef)),quota_manager_1=require(a18_0x49b105(0x1a4)),patterns_blocklist_manager_1=require(a18_0x49b105(0x227)),scanner_1=require(a18_0x49b105(0x17b)),environment_metadata_1=require(a18_0x49b105(0x181)),file_index_1=require(a18_0x49b105(0x1e4)),utils_1=require('./util/utils'),redaction_manager_1=require('./reduction/redaction-manager'),configuration_provider_1=require(a18_0x49b105(0x235)),normalizeConfig_1=require(a18_0x49b105(0x216)),mapSubtract_1=require(a18_0x49b105(0x243)),format_1=require(a18_0x49b105(0x1cb)),createDebuggee_1=require(a18_0x49b105(0x195)),readFilep=util[a18_0x49b105(0x263)](fs[a18_0x49b105(0x27b)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x3ea3ad,_0x3e9a4a)=>{const _0x49bc7e=a18_0x49b105;let _0x3c4ff4=_0x3ea3ad+util[_0x49bc7e(0x284)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x3e9a4a['id'],_0x3e9a4a['action'],util[_0x49bc7e(0x215)](_0x3e9a4a[_0x49bc7e(0x20f)]));if(_0x3e9a4a['createTime']){const _0x46750b=Number(_0x3e9a4a['createTime'][_0x49bc7e(0x1ca)]),_0x550288=new Date(_0x46750b*0x3e8);_0x3c4ff4+=_0x49bc7e(0x23e)+_0x550288[_0x49bc7e(0x19e)]();}return _0x3e9a4a['condition']&&(_0x3c4ff4+=_0x49bc7e(0x242)+util[_0x49bc7e(0x215)](_0x3e9a4a[_0x49bc7e(0x21f)])),_0x3e9a4a['expressions']&&(_0x3c4ff4+=_0x49bc7e(0x184)+util[_0x49bc7e(0x215)](_0x3e9a4a[_0x49bc7e(0x24c)])),_0x3c4ff4;},formatBreakpoints=(_0x3e6f7d,_0x1d2c98)=>{const _0xdb5bd=a18_0x49b105;return _0x3e6f7d+Object[_0xdb5bd(0x1f4)](_0x1d2c98)[_0xdb5bd(0x1c0)](_0xbf7be8=>{return formatBreakpoint('',_0x1d2c98[_0xbf7be8]);})['join']('\x0a');};class CachedPromise{constructor(){const _0x159628=a18_0x49b105;this[_0x159628(0x1d3)]=null,this[_0x159628(0x24a)]=new Promise(_0x347f7e=>{const _0x5e5eb8=_0x159628;this[_0x5e5eb8(0x1d3)]=_0x347f7e;});}[a18_0x49b105(0x285)](){const _0x379920=a18_0x49b105;return this[_0x379920(0x24a)];}[a18_0x49b105(0x17e)](){const _0xa754ad=a18_0x49b105;this['promiseResolve']&&(this['promiseResolve'](),this[_0xa754ad(0x1d3)]=null);}}exports[a18_0x49b105(0x1dd)]=CachedPromise;class IsReadyImpl{constructor(_0x26a05c){const _0x399371=a18_0x49b105;this[_0x399371(0x21e)]=_0x26a05c;}[a18_0x49b105(0x174)](){const _0x521ee1=a18_0x49b105;return this[_0x521ee1(0x21e)][_0x521ee1(0x174)]();}}class Debuglet extends events_1[a18_0x49b105(0x246)]{constructor(_0xde1316,_0x55b432){const _0x3f1fa8=a18_0x49b105;super(),_Debuglet_instances[_0x3f1fa8(0x262)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_running[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_controller[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_breakpointFetched[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x3f1fa8(0x1e2)](this,null),this[_0x3f1fa8(0x1cc)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_scanner[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_quotaManager[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_blocklistManager[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_redactionManager[_0x3f1fa8(0x1e2)](this,void 0x0),_Debuglet_configProvider[_0x3f1fa8(0x1e2)](this,void 0x0),this[_0x3f1fa8(0x1e6)]=(0x0,normalizeConfig_1[_0x3f1fa8(0x171)])(_0x55b432),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x3f1fa8(0x27e))](this[_0x3f1fa8(0x1e6)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0xde1316,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x3f1fa8(0x1c3)]=agent_logger_1[_0x3f1fa8(0x1d2)][_0x3f1fa8(0x1f5)](this[_0x3f1fa8(0x1e6)]['agentLog'][_0x3f1fa8(0x23d)],this[_0x3f1fa8(0x1e6)][_0x3f1fa8(0x192)][_0x3f1fa8(0x1e0)],this[_0x3f1fa8(0x1e6)][_0x3f1fa8(0x192)][_0x3f1fa8(0x1db)],this[_0x3f1fa8(0x1e6)][_0x3f1fa8(0x192)]['agentLogLevel'],this['config'][_0x3f1fa8(0x192)][_0x3f1fa8(0x234)]),(0x0,config_1[_0x3f1fa8(0x185)])(this['config'],this[_0x3f1fa8(0x1c3)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x3f1fa8(0x23c))](this[_0x3f1fa8(0x1c3)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x3f1fa8(0x274))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x3f1fa8(0x1e6)],this[_0x3f1fa8(0x1c3)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this[_0x3f1fa8(0x1c3)]),'f'),this[_0x3f1fa8(0x1e7)]=null,this[_0x3f1fa8(0x1d4)]={},__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[(_0x3f1fa8(0x1c7))](this[_0x3f1fa8(0x1c3)],this['config']),'f'),this['pipingManager']=new piping_manager_1[(_0x3f1fa8(0x1e3))](_0x3f1fa8(0x1de),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x3f1fa8(0x1e6)]);}async['findFiles'](_0x2b7512,_0x4be005){const _0x3e2f11=a18_0x49b105,_0x4c60a2=_0x2b7512[_0x3e2f11(0x24d)],_0x4c25fa=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x3e2f11(0x278)](_0x4c60a2,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x2b7512[_0x3e2f11(0x1ed)]['concat'](_0x3e2f11(0x20b))),_0x4be005,_0x2b7512[_0x3e2f11(0x1b5)]),_0x2aebb2=_0x4c25fa[_0x3e2f11(0x1ae)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x3e2f11(0x1d0)](_a,_0x2b7512['javascriptFileExtensions'])),_0x596e0b=file_index_1[_0x3e2f11(0x172)][_0x3e2f11(0x230)](_0x2aebb2),_0x45b6f7=_0x4c25fa[_0x3e2f11(0x176)](/.js.map$/,process[_0x3e2f11(0x1aa)]()),_0x9466cb=_0x4c25fa['errors']();return{'mapFiles':_0x45b6f7,'errors':_0x9466cb,'jsFileIndex':_0x596e0b,'hash':_0x4c25fa[_0x3e2f11(0x178)]};}async['start'](){const _0x547bf5=a18_0x49b105,_0x10b563=this,_0x44b345=_0x10b563[_0x547bf5(0x1e6)][_0x547bf5(0x24d)];if(!_0x10b563[_0x547bf5(0x1e6)][_0x547bf5(0x188)]&&path[_0x547bf5(0x17f)](_0x44b345,'..')===_0x44b345){const _0x368b2a=_0x547bf5(0x1c6)+_0x547bf5(0x258)+_0x547bf5(0x26a)+_0x547bf5(0x213);_0x10b563['logger'][_0x547bf5(0x22f)](_0x368b2a),_0x10b563[_0x547bf5(0x233)](_0x547bf5(0x247),new Error(_0x368b2a));return;}let _0xd37b9d;process[_0x547bf5(0x18b)][_0x547bf5(0x186)]&&(_0xd37b9d=_0x547bf5(0x1f3)+process[_0x547bf5(0x18b)][_0x547bf5(0x186)]);let _0x296026,_0x4e87d5=_0xd37b9d||'';try{_0x296026=await this['findFiles'](_0x10b563[_0x547bf5(0x1e6)],_0xd37b9d),_0x296026[_0x547bf5(0x28a)][_0x547bf5(0x1e1)](_0x10b563[_0x547bf5(0x1c3)][_0x547bf5(0x264)]);}catch(_0x4e5b83){_0x10b563['logger'][_0x547bf5(0x22f)](_0x547bf5(0x1df),_0x4e5b83),_0x10b563[_0x547bf5(0x233)](_0x547bf5(0x247),_0x4e5b83);return;}try{const _0x4a546b=await SourceMapper[_0x547bf5(0x236)](_0x10b563['logger'],_0x296026[_0x547bf5(0x1c4)],_0x10b563['config'][_0x547bf5(0x229)]?.[_0x547bf5(0x19b)]);__classPrivateFieldSet(_0x10b563,_Debuglet_v8debug,debugapi['create'](_0x10b563['logger'],_0x10b563[_0x547bf5(0x1e6)],_0x296026[_0x547bf5(0x193)],_0x4a546b,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x4e87d5=_0xd37b9d||_0x296026['hash'];}catch(_0xad47c1){_0x10b563[_0x547bf5(0x1c3)][_0x547bf5(0x22f)](_0x547bf5(0x286),_0xad47c1),_0x10b563[_0x547bf5(0x1c3)][_0x547bf5(0x18e)](JSON[_0x547bf5(0x24f)](_0xad47c1)),_0x10b563['emit'](_0x547bf5(0x247),_0xad47c1);}_0x10b563['logger']['info'](_0x547bf5(0x211)+_0x4e87d5);const _0x49e13e=(0x0,utils_1['readFullVersion'])(_0x10b563['logger'])[_0x547bf5(0x1dc)]('\x0a','');_0x10b563[_0x547bf5(0x1c3)][_0x547bf5(0x18e)](_0x547bf5(0x25b)+_0x49e13e);let _0xb92935;try{_0xb92935=_0x10b563['config']['sourceContext']||await _a[_0x547bf5(0x1b4)]();}catch(_0x52d432){}_0x10b563[_0x547bf5(0x1c3)][_0x547bf5(0x18e)](_0x547bf5(0x207)+process['mainModule']?.['filename']),_0x10b563['logger'][_0x547bf5(0x1c9)](_0x547bf5(0x1d7)+_0x44b345),_0x10b563[_0x547bf5(0x1c3)][_0x547bf5(0x1c9)]('Starting\x20debuggee'),__classPrivateFieldSet(_0x10b563,_Debuglet_running,!![],'f'),_0x10b563['debuggee']=(0x0,createDebuggee_1[_0x547bf5(0x18f)])(_0x4e87d5,_0x10b563['config'],_0xb92935,__classPrivateFieldGet(_0x10b563,_Debuglet_debug,'f')[_0x547bf5(0x261)],_0x49e13e,_0x10b563['logger'],__classPrivateFieldGet(_0x10b563,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x10b563,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](_0x10b563),__classPrivateFieldGet(_0x10b563,_Debuglet_instances,'m',_Debuglet_register_)[_0x547bf5(0x1d0)](_0x10b563),_0x10b563[_0x547bf5(0x233)]('started');}['isReady'](){const _0x1ee4f4=a18_0x49b105;if(Date[_0x1ee4f4(0x1b0)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x1ee4f4(0x17e)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x1ee4f4(0x285)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x1ee4f4(0x285)]()[_0x1ee4f4(0x204)](()=>{const _0x367e80=_0x1ee4f4;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x367e80(0x1d0)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x1ee4f4(0x285)]();}}static async[a18_0x49b105(0x1b4)](){const _0x135eda=a18_0x49b105,_0x53b79d=await readFilep(_0x135eda(0x1cd),'utf8');try{return JSON[_0x135eda(0x26d)](_0x53b79d);}catch(_0x50b4c7){throw new Error(_0x135eda(0x27a)+_0x50b4c7);}}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x49b105(0x273)](){const _0xac656c=a18_0x49b105;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xac656c(0x1c3)][_0xac656c(0x1c9)](_0xac656c(0x279));return;}this[_0xac656c(0x1c3)][_0xac656c(0x1c9)](_0xac656c(0x253)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['clearTransmissionTimeout'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xac656c(0x233)](_0xac656c(0x1e5));}['setCustomLogLevel'](_0x289c36){const _0x503ba7=a18_0x49b105,_0x29125c=this['logger'][_0x503ba7(0x1a0)]();if(_0x29125c===_0x503ba7(0x1c9))return;switch(_0x289c36){case _0x503ba7(0x259):this[_0x503ba7(0x1c3)]['getLevel']()!=='debug'&&(this['logger']['setLevel'](_0x503ba7(0x1c9)),this[_0x503ba7(0x1c3)][_0x503ba7(0x1c9)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG'));break;case'NOT_SET':case undefined:this['logger'][_0x503ba7(0x180)]()===_0x503ba7(0x1c9)&&(this[_0x503ba7(0x1c3)][_0x503ba7(0x205)](_0x29125c),this[_0x503ba7(0x1c3)][_0x503ba7(0x18e)](_0x503ba7(0x203)+_0x29125c+')'));break;default:this[_0x503ba7(0x1c3)][_0x503ba7(0x264)](_0x503ba7(0x1f8)+_0x289c36);}}}exports[a18_0x49b105(0x1ec)]=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(_0x57757a){const _0x26b049=a18_0x49b105;return new RegExp(_0x57757a[_0x26b049(0x1c0)](_0x25c4a3=>_0x25c4a3+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x42e41a=a18_0x49b105,_0x4002e0=[_0x42e41a(0x21b),_0x42e41a(0x28b),_0x42e41a(0x25d)];_0x4002e0[_0x42e41a(0x1e1)](_0x1aa121=>{process['once'](_0x1aa121,()=>{const _0x263357=a18_0x2fd9;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x263357(0x1fa)](this['debuggee'],()=>{const _0x4a04eb=_0x263357;process[_0x4a04eb(0x282)](process[_0x4a04eb(0x19f)],_0x1aa121);});});}),process[_0x42e41a(0x251)](_0x42e41a(0x20a),()=>{const _0x435d21=_0x42e41a;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x435d21(0x1fa)](this['debuggee'],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x1185e7=a18_0x49b105;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1185e7(0x1d0)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x1b34b0){const _0xfefe29=a18_0x49b105,_0x586d65=this;_0x586d65[_0xfefe29(0x1c3)][_0xfefe29(0x1c9)](_0x1b34b0?_0xfefe29(0x252)+_0x1b34b0+'s':_0xfefe29(0x19a));function _0x567f71(_0x4c1550,_0x107512,_0x1f7203=![]){const _0x173306=_0xfefe29,_0x556562=_0x586d65[_0x173306(0x1e7)]?.['id']?_0x173306(0x190)+_0x586d65[_0x173306(0x1e7)]?.['id']+':\x20'+(0x0,utils_1['prettyError'])(_0x4c1550):_0x173306(0x1d6)+(0x0,utils_1[_0x173306(0x1fc)])(_0x4c1550);_0x586d65['logger'][_0x173306(0x22f)](_0x556562),_0x107512&&!_0x1f7203&&_0x586d65['logger'][_0x173306(0x22f)](_0x173306(0x1fd),_0x107512),__classPrivateFieldGet(_0x586d65,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x173306(0x1d0)](_0x586d65,(0x0,utils_1[_0x173306(0x191)])(_0x1b34b0,_0x586d65[_0x173306(0x1e6)][_0x173306(0x229)][_0x173306(0x221)]));}setTimeout(()=>{const _0x28f5f4=_0xfefe29;if(!__classPrivateFieldGet(_0x586d65,_Debuglet_running,'f')){_0x567f71(new Error(_0x28f5f4(0x26b)));return;}__classPrivateFieldGet(_0x586d65,_Debuglet_controller,'f')[_0x28f5f4(0x199)](_0x586d65[_0x28f5f4(0x1e7)],(_0x25d22e,_0x372bb8,_0x4fcaa6=![])=>{const _0x5194b0=_0x28f5f4;if(_0x25d22e){_0x567f71(_0x25d22e,_0x372bb8,_0x4fcaa6);return;}if(_0x372bb8[_0x5194b0(0x1e7)]['isDisabled']){_0x567f71(new Error(_0x5194b0(0x1cf))),_0x586d65[_0x5194b0(0x233)](_0x5194b0(0x281));return;}const _0x4391e6=_0x372bb8[_0x5194b0(0x1e7)]['id'];_0x586d65['logger'][_0x5194b0(0x18e)](_0x5194b0(0x1d5)+_0x4391e6),_0x586d65[_0x5194b0(0x1e7)]['id']=_0x4391e6;const _0x5b5639=[__classPrivateFieldGet(_0x586d65,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](_0x586d65)(_0x586d65['debuggee']['id'])];_0x586d65['config'][_0x5194b0(0x240)]&&_0x5b5639[_0x5194b0(0x241)](__classPrivateFieldGet(_0x586d65,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x5194b0(0x245)](_0x586d65)(_0x586d65['debuggee']['id'])),Promise['all'](_0x5b5639)[_0x5194b0(0x204)](()=>{const _0xf39663=_0x5194b0;_0x586d65['emit'](_0xf39663(0x1a6),_0x4391e6),__classPrivateFieldGet(_0x586d65,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(_0x586d65,_Debuglet_v8debug,'f')?.[_0xf39663(0x202)](__classPrivateFieldGet(_0x586d65,_Debuglet_blocklistManager,'f')),!_0x586d65['fetcherActive']&&__classPrivateFieldGet(_0x586d65,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x586d65,0x0,this[_0xf39663(0x1e6)][_0xf39663(0x283)],_0x372bb8?.[_0xf39663(0x222)]);},_0x1a1620=>{_0x567f71(_0x1a1620);});});},_0x1b34b0*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x2e8043,_0x535218,_0x199488){const _0x5348ee=a18_0x49b105,_0x2bdd07=this;!_0x535218&&(_0x2bdd07[_0x5348ee(0x277)]=!![]),setTimeout(()=>{const _0x5b8787=_0x5348ee;if(!__classPrivateFieldGet(_0x2bdd07,_Debuglet_running,'f'))return;!_0x535218&&assert(_0x2bdd07[_0x5b8787(0x277)]),_0x2bdd07['logger'][_0x5b8787(0x1c9)](_0x5b8787(0x1b3)),__classPrivateFieldGet(_0x2bdd07,_Debuglet_controller,'f')[_0x5b8787(0x1f7)](_0x2bdd07[_0x5b8787(0x1e7)],(_0x17fc79,_0x5cc4c5,_0x44d79c)=>{const _0x44e214=_0x5b8787;if(_0x5cc4c5?.['status']===0x194){_0x2bdd07['logger'][_0x44e214(0x18e)](_0x44e214(0x1f1)),_0x2bdd07[_0x44e214(0x277)]=![],__classPrivateFieldGet(_0x2bdd07,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](_0x2bdd07),__classPrivateFieldGet(_0x2bdd07,_Debuglet_instances,'m',_Debuglet_register_)[_0x44e214(0x1d0)](_0x2bdd07);return;}if(_0x17fc79){const _0x5e4112=(0x0,utils_1[_0x44e214(0x191)])(_0x2e8043,_0x2bdd07[_0x44e214(0x1e6)][_0x44e214(0x229)]['maxRequestRetryDelaySeconds']);_0x2bdd07[_0x44e214(0x1c3)][_0x44e214(0x22f)](_0x44e214(0x18d)+_0x5cc4c5?.[_0x44e214(0x255)]+'.\x20message:\x20'+_0x17fc79['message']+_0x44e214(0x223)+_0x5e4112+'s'),__classPrivateFieldGet(_0x2bdd07,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x44e214(0x1d0)](_0x2bdd07,_0x5e4112,_0x535218,_0x199488);return;}_0x2bdd07[_0x44e214(0x1c3)][_0x44e214(0x1c9)]('\x09'+_0x5cc4c5[_0x44e214(0x255)]+_0x44e214(0x22e));if(!_0x44d79c){const _0x21b23f=_0x2bdd07[_0x44e214(0x1e6)][_0x44e214(0x182)];_0x2bdd07['logger'][_0x44e214(0x22f)](_0x44e214(0x173)+_0x21b23f+'s'),__classPrivateFieldGet(_0x2bdd07,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x2bdd07,_0x21b23f,_0x535218,_0x199488);return;}this[_0x44e214(0x1f9)](_0x44d79c[_0x44e214(0x228)]);if(_0x44d79c[_0x44e214(0x1bf)]){_0x2bdd07['logger']['info'](_0x44e214(0x22d)),__classPrivateFieldGet(_0x2bdd07,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x44e214(0x1d0)](_0x2bdd07,0x0,_0x535218,_0x199488);return;}if(_0x44d79c['pipeLogs']&&_0x44d79c['pipeLogs']!==_0x44e214(0x194)){const _0x66a211=this[_0x44e214(0x23b)][_0x44e214(0x1fb)];_0x66a211!==_0x44d79c['pipeLogs']&&(this[_0x44e214(0x1c3)][_0x44e214(0x1c9)](_0x44e214(0x1ad)+_0x66a211+_0x44e214(0x1eb)+_0x44d79c['pipeLogs']),this[_0x44e214(0x23b)]['globalPipingStatus']=_0x44d79c[_0x44e214(0x1a9)]);}if(_0x44d79c[_0x44e214(0x1fe)]&&_0x44d79c['collectLogRequestId']!==_0x2bdd07[_0x44e214(0x1ce)]){_0x2bdd07[_0x44e214(0x1ce)]=_0x44d79c[_0x44e214(0x1ce)];const _0x329884=_0x2bdd07[_0x44e214(0x1e6)][_0x44e214(0x192)][_0x44e214(0x23d)]&&path[_0x44e214(0x17f)](_0x2bdd07[_0x44e214(0x1e6)]['agentLog'][_0x44e214(0x23d)],agent_logger_1['default'][_0x44e214(0x231)]);_0x329884&&fs[_0x44e214(0x1e8)](_0x329884)?setTimeout(()=>__classPrivateFieldGet(_0x2bdd07,_Debuglet_controller,'f')[_0x44e214(0x22b)](_0x2bdd07[_0x44e214(0x1e7)],_0x44d79c[_0x44e214(0x1ce)],_0x329884)):_0x2bdd07[_0x44e214(0x1c3)]['info'](_0x44e214(0x1ff)+_0x44d79c[_0x44e214(0x1ce)]+_0x44e214(0x21d)+_0x44e214(0x27d));}const _0x54fa5e=(_0x44d79c[_0x44e214(0x268)]||[])[_0x44e214(0x1c0)](_0x1d62b3=>new stackdriver_1[(_0x44e214(0x22a))](_0x1d62b3))[_0x44e214(0x1d1)](_0x3af27b=>{const _0x5dd1c0=_0x44e214,_0x4adfc1=_0x3af27b['action']||_0x5dd1c0(0x19d);if(__classPrivateFieldGet(_0x2bdd07,_Debuglet_completedBreakpointMap,'f')[_0x3af27b['id']])return![];if(_0x4adfc1!==_0x5dd1c0(0x19d)&&_0x4adfc1!==_0x5dd1c0(0x1a8))return _0x2bdd07[_0x5dd1c0(0x1c3)][_0x5dd1c0(0x264)]('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x4adfc1),_0x3af27b['status']=new status_message_1[(_0x5dd1c0(0x288))](status_message_1['StatusMessage'][_0x5dd1c0(0x206)],utils_1[_0x5dd1c0(0x28a)][_0x5dd1c0(0x1bb)],!![]),__classPrivateFieldGet(_0x2bdd07,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x5dd1c0(0x1d0)](_0x2bdd07,_0x3af27b),![];return!![];}),_0x35ae6c=__classPrivateFieldGet(_0x2bdd07,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x44e214(0x1d0)](_0x2bdd07);let _0x3bf951=_0x35ae6c[_0x44e214(0x24e)]>0x0;__classPrivateFieldGet(_0x2bdd07,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x44e214(0x1d0)](_0x2bdd07,_0x35ae6c),_0x3bf951=_0x3bf951||__classPrivateFieldGet(_0x2bdd07,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x44e214(0x1d0)](_0x2bdd07,_0x54fa5e),_0x2bdd07[_0x44e214(0x233)](_0x44e214(0x18c),_0x54fa5e[_0x44e214(0x24e)]);_0x3bf951&&_0x2bdd07['logger'][_0x44e214(0x1c9)](formatBreakpoints(_0x44e214(0x187),_0x2bdd07[_0x44e214(0x1d4)]));__classPrivateFieldSet(_0x2bdd07,_Debuglet_breakpointFetchedTimestamp,Date[_0x44e214(0x1b0)](),'f');_0x535218?__classPrivateFieldGet(_0x2bdd07,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x2bdd07,_Debuglet_breakpointFetched,'f')[_0x44e214(0x17e)](),__classPrivateFieldSet(_0x2bdd07,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x2bdd07,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x2bdd07,0x0,_0x535218,_0x199488);return;},_0x199488);},_0x2e8043*0x3e8)[_0x5348ee(0x257)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x12ef10=a18_0x49b105;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x12ef10(0x17e)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x5654d8){const _0x561b24=a18_0x49b105,_0x4afe16=this,_0x3c493d=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x561b24(0x1d0)](this,_0x5654d8);let _0x124471=![];return _0x5654d8[_0x561b24(0x1e1)](_0xe9f31=>{const _0x2b4f39=_0x561b24;!__classPrivateFieldGet(_0x4afe16,_Debuglet_completedBreakpointMap,'f')[_0xe9f31['id']]&&!_0x4afe16[_0x2b4f39(0x1d4)][_0xe9f31['id']]&&(__classPrivateFieldGet(_0x4afe16,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x2b4f39(0x1d0)](_0x4afe16,_0xe9f31,_0x298647=>{_0x298647&&__classPrivateFieldGet(_0x4afe16,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x4afe16,_0xe9f31,!![],![]);}),_0x124471=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x2b4f39(0x23a)](_0xe9f31['id'])),__classPrivateFieldGet(_0x4afe16,_Debuglet_quotaManager,'f')[_0x2b4f39(0x196)](_0xe9f31['id'],_0xe9f31[_0x2b4f39(0x244)]),_0x4afe16[_0x2b4f39(0x23b)][_0x2b4f39(0x1f2)](_0xe9f31['id'],_0xe9f31[_0x2b4f39(0x1c2)]);}),(0x0,mapSubtract_1[_0x561b24(0x1f0)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x3c493d)[_0x561b24(0x1e1)](_0x9306f0=>{delete __classPrivateFieldGet(_0x4afe16,_Debuglet_completedBreakpointMap,'f')[_0x9306f0['id']],_0x124471=!![];}),(0x0,mapSubtract_1[_0x561b24(0x1f0)])(this[_0x561b24(0x1d4)],_0x3c493d)[_0x561b24(0x1e1)](_0x33498e=>{const _0x2ef5ae=_0x561b24;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2ef5ae(0x1d0)](this,_0x33498e,!![]),_0x124471=!![];}),_0x124471&&_0x4afe16[_0x561b24(0x1c3)]['debug'](formatBreakpoints(_0x561b24(0x26e),_0x3c493d)),_0x124471;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x47da29){const _0x5de18b=a18_0x49b105,_0x4b6df7={};return _0x47da29[_0x5de18b(0x1e1)](_0x5bfab1=>{_0x4b6df7[_0x5bfab1['id']]=_0x5bfab1;}),_0x4b6df7;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x47f691,_0x4c4144){const _0x4dbec4=a18_0x49b105;this[_0x4dbec4(0x1c3)][_0x4dbec4(0x18e)]('\x09remove\x20breakpoint',_0x47f691),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x4dbec4(0x1b2)](_0x47f691['id']),this['pipingManager']['removeBreakpoint'](_0x47f691['id']),delete this[_0x4dbec4(0x1d4)][_0x47f691['id']],_0x4c4144&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4dbec4(0x26f)](_0x47f691,_0x388eb2=>{const _0x2d54ff=_0x4dbec4;if(_0x388eb2)this['logger'][_0x2d54ff(0x22f)](_0x388eb2);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x55d578,_0x16f6f1){const _0x4f81e0=a18_0x49b105,_0x335bae=this;_0x335bae[_0x4f81e0(0x1c3)][_0x4f81e0(0x18e)](_0x4f81e0(0x232),_0x55d578);if(!_0x335bae['config'][_0x4f81e0(0x1c8)]&&(_0x55d578[_0x4f81e0(0x21f)]||_0x55d578[_0x4f81e0(0x24c)])){_0x335bae['logger'][_0x4f81e0(0x22f)](utils_1[_0x4f81e0(0x28a)][_0x4f81e0(0x189)][_0x4f81e0(0x24b)]||''),_0x55d578[_0x4f81e0(0x255)]=new status_message_1['StatusMessage'](status_message_1[_0x4f81e0(0x288)]['UNSPECIFIED'],utils_1[_0x4f81e0(0x28a)]['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x13ccb7=_0x4f81e0;_0x16f6f1(utils_1[_0x13ccb7(0x28a)][_0x13ccb7(0x189)]);});return;}if((0x0,utils_1[_0x4f81e0(0x269)])(process['version'],_0x4f81e0(0x1b1))){const _0x53032d=utils_1[_0x4f81e0(0x28a)]['NODE_VERSION_MESSAGE'];_0x335bae['logger'][_0x4f81e0(0x22f)](_0x53032d),_0x55d578[_0x4f81e0(0x255)]=new status_message_1[(_0x4f81e0(0x288))](status_message_1[_0x4f81e0(0x288)][_0x4f81e0(0x206)],_0x53032d,!![]),setImmediate(()=>{_0x16f6f1(_0x53032d);});return;}const _0x1d533b=_0x55d578[_0x4f81e0(0x226)]?Number(_0x55d578[_0x4f81e0(0x226)]['seconds']):Date[_0x4f81e0(0x1b0)]()/0x3e8,_0xf96874=_0x55d578['expirationSeconds']||_0x335bae[_0x4f81e0(0x1e6)][_0x4f81e0(0x23f)];_0x55d578[_0x4f81e0(0x271)]=_0x1d533b+_0xf96874,_0x55d578[_0x4f81e0(0x20f)]?.[_0x4f81e0(0x1a2)]&&(_0x55d578[_0x4f81e0(0x20f)]['path']=path['normalize'](_0x55d578[_0x4f81e0(0x20f)][_0x4f81e0(0x1a2)]),path[_0x4f81e0(0x1b6)]===path[_0x4f81e0(0x26c)][_0x4f81e0(0x1b6)]&&(_0x55d578[_0x4f81e0(0x20f)][_0x4f81e0(0x1a2)]=_0x55d578[_0x4f81e0(0x20f)][_0x4f81e0(0x1a2)][_0x4f81e0(0x1a3)]('\x5c')['join'](path[_0x4f81e0(0x1b6)]))),__classPrivateFieldGet(_0x335bae,_Debuglet_v8debug,'f')[_0x4f81e0(0x1e2)](_0x55d578,_0x20df71=>{const _0x4aa767=_0x4f81e0;if(_0x20df71){_0x16f6f1(_0x20df71);return;}_0x335bae[_0x4aa767(0x1c3)]['info'](_0x4aa767(0x25f),_0x55d578),_0x335bae[_0x4aa767(0x1d4)][_0x55d578['id']]=_0x55d578,_0x55d578[_0x4aa767(0x201)]===_0x4aa767(0x1a8)?__classPrivateFieldGet(_0x335bae,_Debuglet_v8debug,'f')[_0x4aa767(0x17a)](_0x55d578,(_0x229326,_0x1bad72)=>{const _0x1ba38b=_0x4aa767,_0x351dd3=_0x1bad72['map'](_0x5ae6be=>__classPrivateFieldGet(_0x335bae,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1ba38b(0x1d0)](_0x335bae,_0x5ae6be)),_0x2ff8c0=(0x0,format_1['format'])(_0x229326,_0x351dd3),_0x4c78c8=_0x1ba38b(0x1d9)+(__classPrivateFieldGet(_0x335bae,_Debuglet_redactionManager,'f')?.[_0x1ba38b(0x254)](_0x2ff8c0)||_0x2ff8c0),_0x5d510d=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x4c78c8,_0x55d578['id']);if(_0x5d510d){const _0x1b144b=_0x5d510d[_0x1ba38b(0x280)],_0x4754c7=_0x5d510d[_0x1ba38b(0x179)];let _0x39ff3b,_0x4e1c16;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['isRedactionActive']()&&!_0x4754c7&&(_0x39ff3b=_0x1ba38b(0x1d9)+_0x229326,_0x4e1c16=_0x351dd3);_0x335bae[_0x1ba38b(0x23b)][_0x1ba38b(0x1ea)](_0x335bae[_0x1ba38b(0x1e7)],_0x55d578['id'],_0x1b144b,_0x55d578[_0x1ba38b(0x1a7)],_0x39ff3b,_0x4e1c16);if(_0x4754c7)__classPrivateFieldGet(_0x335bae,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(_0x335bae,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(_0x335bae,_Debuglet_nextEnableTimeout,null,'f');},_0x335bae[_0x1ba38b(0x1e6)][_0x1ba38b(0x1bc)]['quotaRecoverySeconds']*0x3e8),'f');else _0x1b144b?.[_0x1ba38b(0x24e)]===0x0&&__classPrivateFieldGet(_0x335bae,_Debuglet_v8debug,'f')?.[_0x1ba38b(0x1ac)]();}},()=>{return __classPrivateFieldGet(_0x335bae,_Debuglet_completedBreakpointMap,'f')[_0x55d578['id']];},_0xbb83ab=>{const _0x34c805=_0x4aa767;if(_0xbb83ab){_0x335bae[_0x34c805(0x1c3)][_0x34c805(0x22f)](_0xbb83ab),_0x16f6f1(_0xbb83ab);return;}}):__classPrivateFieldGet(_0x335bae,_Debuglet_v8debug,'f')[_0x4aa767(0x250)](_0x55d578,_0x3da4ba=>{const _0x37794a=_0x4aa767;if(_0x3da4ba){setImmediate(()=>{const _0x359498=a18_0x2fd9;_0x335bae[_0x359498(0x1c3)][_0x359498(0x22f)](_0x3da4ba),_0x16f6f1(_0x3da4ba);});return;}_0x335bae['logger'][_0x37794a(0x18e)]('Breakpoint\x20hit!:\x20',_0x55d578),__classPrivateFieldGet(_0x335bae,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x37794a(0x1d0)](_0x335bae,_0x55d578,__classPrivateFieldGet(_0x335bae,_Debuglet_v8debug,'f')[_0x37794a(0x212)](_0x55d578['id'])<=0x0);}),__classPrivateFieldGet(_0x335bae,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x4aa767(0x1d0)](_0x335bae,_0x55d578);}),this[_0x4f81e0(0x233)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x101586,_0x323d65,_0x563753=!![]){const _0x191389=a18_0x49b105,_0x4146d0=this;if(_0x101586['status']&&_0x101586['status']['isError']){let _0x118daf=_0x101586[_0x191389(0x255)]?.[_0x191389(0x24b)]?.[_0x191389(0x284)]||'';_0x101586[_0x191389(0x255)]?.[_0x191389(0x24b)]?.['parameters']&&(_0x118daf+=':\x20'+_0x101586[_0x191389(0x255)]?.[_0x191389(0x24b)]?.[_0x191389(0x27c)][_0x191389(0x19e)]()),_0x4146d0[_0x191389(0x1c3)]['warn']('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x101586+_0x191389(0x1bd)+_0x118daf);}else _0x4146d0[_0x191389(0x1c3)][_0x191389(0x18e)](_0x191389(0x289),_0x101586);_0x323d65&&(__classPrivateFieldGet(_0x4146d0,_Debuglet_completedBreakpointMap,'f')[_0x101586['id']]=!![],__classPrivateFieldGet(_0x4146d0,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x4146d0,_0x101586,_0x563753)),__classPrivateFieldGet(_0x4146d0,_Debuglet_controller,'f')[_0x191389(0x272)](_0x4146d0[_0x191389(0x1e7)],extend(!![],{},_0x101586));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x2aadcf){const _0x29d2c1=a18_0x49b105,_0x9d8cff=this;_0x9d8cff[_0x29d2c1(0x1c3)][_0x29d2c1(0x1c9)](_0x29d2c1(0x198)+_0x2aadcf+'\x20accepted\x20by\x20agent');const _0x519fa0=extend(!![],{},_0x2aadcf);_0x519fa0[_0x29d2c1(0x248)]=![],_0x519fa0[_0x29d2c1(0x255)]=new status_message_1[(_0x29d2c1(0x288))](status_message_1[_0x29d2c1(0x288)][_0x29d2c1(0x206)],undefined,![],!![]),__classPrivateFieldGet(_0x9d8cff,_Debuglet_controller,'f')[_0x29d2c1(0x272)](_0x9d8cff[_0x29d2c1(0x1e7)],_0x519fa0);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x599040){const _0x2245bd=a18_0x49b105,_0x32f095=this;this['logger'][_0x2245bd(0x18e)](_0x2245bd(0x1c1),_0x599040),__classPrivateFieldGet(_0x32f095,_Debuglet_completedBreakpointMap,'f')[_0x599040['id']]=!![],__classPrivateFieldGet(_0x32f095,_Debuglet_controller,'f')[_0x2245bd(0x272)](_0x32f095['debuggee'],_0x599040);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x3e51ba){const _0x3b98bc=this;_0x3e51ba['forEach'](_0x2163a6=>{const _0x47003c=a18_0x2fd9;_0x3b98bc[_0x47003c(0x1c3)]['info'](_0x47003c(0x1ab),_0x2163a6),__classPrivateFieldGet(_0x3b98bc,_Debuglet_completedBreakpointMap,'f')[_0x2163a6['id']]=!![],__classPrivateFieldGet(_0x3b98bc,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x47003c(0x1d0)](_0x3b98bc,_0x2163a6,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x38e6ab=a18_0x49b105,_0x3f1811=Date[_0x38e6ab(0x1b0)]()/0x3e8;return Object[_0x38e6ab(0x1da)](this['activeBreakpointMap'])[_0x38e6ab(0x1d1)](_0x2ccadf=>_0x2ccadf[_0x38e6ab(0x271)]?_0x2ccadf['expirationTime']<_0x3f1811:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x24297a){const _0x11c82d=a18_0x49b105,_0x118377=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x24297a),_0x5ba2d6=_0x118377[_0x11c82d(0x249)],_0x32213f=_0x118377['blacklist_exception'];_0x5ba2d6&&_0x5ba2d6[_0x11c82d(0x24e)]&&this[_0x11c82d(0x1c3)][_0x11c82d(0x1c9)](_0x11c82d(0x22c),_0x5ba2d6['join']('\x0a\x09')),_0x32213f&&_0x32213f['length']&&this[_0x11c82d(0x1c3)][_0x11c82d(0x1c9)](_0x11c82d(0x260),_0x32213f['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x11c82d(0x275))](_0x5ba2d6,_0x32213f,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x56172a){const _0x106f86=a18_0x49b105,_0x1f4bf7=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x56172a);_0x1f4bf7?.[_0x106f86(0x24e)]&&this[_0x106f86(0x1c3)]['debug'](_0x106f86(0x265),_0x1f4bf7[_0x106f86(0x1c0)](_0x1b4232=>_0x106f86(0x1b7)+_0x1b4232[_0x106f86(0x218)]+_0x106f86(0x27f)+_0x1b4232[_0x106f86(0x214)]+'):\x20pattern:\x20'+_0x1b4232['pattern']+_0x106f86(0x270)+_0x1b4232[_0x106f86(0x177)])['join']('\x0a\x09'));if((0x0,utils_1[_0x106f86(0x269)])(process[_0x106f86(0x287)],_0x106f86(0x1be))){const {RedactionManagerRE2JS:_0x41338a}=await Promise[_0x106f86(0x17e)]()[_0x106f86(0x204)](()=>require(_0x106f86(0x267)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x41338a(this[_0x106f86(0x1c3)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x106f86(0x21c)](_0x1f4bf7);}},_Debuglet_stringify=function _Debuglet_stringify(_0x610341){const _0x3c5305=a18_0x49b105;if(!_0x610341)return JSON[_0x3c5305(0x24f)](_0x610341,(_0x203fbd,_0x413c69)=>_0x413c69===undefined?'undefined':_0x413c69);if(Array[_0x3c5305(0x1b9)](_0x610341)){const _0x599d84=[];for(const _0x112b87 of _0x610341){_0x599d84[_0x3c5305(0x241)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3c5305(0x1d0)](this,_0x112b87));}return'['+_0x599d84[_0x3c5305(0x17f)](',\x20')+']';}if(typeof _0x610341===_0x3c5305(0x25e)){const _0xa95055=Object[_0x3c5305(0x208)](_0x610341)[_0x3c5305(0x1c0)](([_0x7a93d1,_0x22af29])=>{const _0x2812f4=_0x3c5305,_0x5b6ee1=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2812f4(0x17d)](_0x7a93d1)?redaction_manager_1[_0x2812f4(0x1af)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x2812f4(0x1d0)](this,_0x22af29);return JSON[_0x2812f4(0x24f)](_0x7a93d1)+':\x20'+_0x5b6ee1;})[_0x3c5305(0x17f)](',\x20');return'{'+_0xa95055+'}';}return JSON[_0x3c5305(0x24f)](_0x610341);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a19_0x121260=a19_0x1666;(function(_0x22472d,_0x3fa736){const _0x462825=a19_0x1666,_0x5d655d=_0x22472d();while(!![]){try{const _0x5875a7=-parseInt(_0x462825(0x1fb))/0x1*(-parseInt(_0x462825(0x209))/0x2)+-parseInt(_0x462825(0x211))/0x3*(-parseInt(_0x462825(0x20a))/0x4)+parseInt(_0x462825(0x225))/0x5*(-parseInt(_0x462825(0x1ee))/0x6)+parseInt(_0x462825(0x1fc))/0x7+parseInt(_0x462825(0x20d))/0x8+-parseInt(_0x462825(0x1ea))/0x9+parseInt(_0x462825(0x224))/0xa*(-parseInt(_0x462825(0x205))/0xb);if(_0x5875a7===_0x3fa736)break;else _0x5d655d['push'](_0x5d655d['shift']());}catch(_0x512ceb){_0x5d655d['push'](_0x5d655d['shift']());}}}(a19_0x16b6,0x73323));Object['defineProperty'](exports,a19_0x121260(0x1f4),{'value':!![]}),exports[a19_0x121260(0x221)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require('assert');function a19_0x16b6(){const _0x3154e0=['hostname','_cachedOsRelease','cpuCoreCount','x32','isInK8s','23637MiNUoP','4313764cHagda','linux','trim','env','pid','length','split','Linux','platform','103631HdfqzK','existsSync','node','arm64','66IqTTBB','4yMgCAa','readFileSync','search','6863088PUyGlI','error','set','forEach','2338773ybybLv','x64','match','_logger','get','linuxDistroName','versions','Windows','arm','_osRelease','systemTotalMemoryBytes','isInDocker','cpus','getProps','totalmem','arch','EnvironmentMetadata','replace','version','1180FnGEmx','590ZXjuKI','(((.+)+)+)+$','runtimeEnvironmentVersion','release','7416027TdABFw','runtimeEnvironmentInfo','procArch','host','31842NJiWUC','mac','osVersion','agentOS','KUBERNETES_SERVICE_HOST','windows','__esModule','toString'];a19_0x16b6=function(){return _0x3154e0;};return a19_0x16b6();}var OS;(function(_0x853f36){const _0x108817=a19_0x121260;_0x853f36['Linux']=_0x108817(0x1fd),_0x853f36[_0x108817(0x218)]=_0x108817(0x1f3),_0x853f36['MacOS']=_0x108817(0x1ef);}(OS||(OS={})));function a19_0x1666(_0x22319a,_0xfac615){const _0x5a4441=a19_0x16b6();return a19_0x1666=function(_0x388ca2,_0x2e225c){_0x388ca2=_0x388ca2-0x1ea;let _0x16b6c8=_0x5a4441[_0x388ca2];return _0x16b6c8;},a19_0x1666(_0x22319a,_0xfac615);}var ProcArch;(function(_0x1a9828){const _0x5333c5=a19_0x121260,_0x1fd573=(function(){let _0x2a5c69=!![];return function(_0x1b49a0,_0x4b243e){const _0x52ab56=_0x2a5c69?function(){if(_0x4b243e){const _0x4f3af4=_0x4b243e['apply'](_0x1b49a0,arguments);return _0x4b243e=null,_0x4f3af4;}}:function(){};return _0x2a5c69=![],_0x52ab56;};}()),_0x228d4f=_0x1fd573(this,function(){const _0x4d8584=a19_0x1666;return _0x228d4f['toString']()['search'](_0x4d8584(0x226))[_0x4d8584(0x1f5)]()['constructor'](_0x228d4f)[_0x4d8584(0x20c)](_0x4d8584(0x226));});_0x228d4f(),_0x1a9828[_0x5333c5(0x212)]=_0x5333c5(0x212),_0x1a9828[_0x5333c5(0x1f9)]=_0x5333c5(0x1f9),_0x1a9828['arm']='arm',_0x1a9828[_0x5333c5(0x208)]=_0x5333c5(0x208);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x121260(0x203)],'win32':OS[a19_0x121260(0x218)],'darwin':OS['MacOS']},ArchToProcArchMap={'x32':ProcArch[a19_0x121260(0x1f9)],'x64':ProcArch[a19_0x121260(0x212)],'arm':ProcArch[a19_0x121260(0x219)],'arm64':ProcArch[a19_0x121260(0x208)]};class EnvironmentMetadata{constructor(_0x3f0b28){const _0x3c5395=a19_0x121260;assert(_0x3f0b28!==null),this[_0x3c5395(0x214)]=_0x3f0b28;}get[a19_0x121260(0x227)](){const _0x2de286=a19_0x121260;try{const _0x1b5c07=process[_0x2de286(0x217)][_0x2de286(0x207)][_0x2de286(0x213)](/(\d+\.\d+)\..*/);if(_0x1b5c07)return _0x1b5c07[0x1];}catch(_0x46d2bb){this[_0x2de286(0x214)][_0x2de286(0x20e)](_0x46d2bb);}return;}get[a19_0x121260(0x1eb)](){const _0x1d1f64=a19_0x121260;return'Node.js\x20'+process[_0x1d1f64(0x223)]+'\x20on\x20'+(0x0,os_1[_0x1d1f64(0x204)])()+'\x20'+(0x0,os_1[_0x1d1f64(0x228)])();}get['pid'](){const _0x555f62=a19_0x121260;return process[_0x555f62(0x200)][_0x555f62(0x1f5)]();}get['procArch'](){const _0x3d0360=a19_0x121260;return ArchToProcArchMap[process[_0x3d0360(0x220)]]||process['arch'];}get[a19_0x121260(0x1f8)](){const _0x2e6c78=a19_0x121260;return(0x0,os_1[_0x2e6c78(0x21d)])()[_0x2e6c78(0x201)];}get['systemTotalMemoryBytes'](){const _0xd78306=a19_0x121260;return(0x0,os_1[_0xd78306(0x21f)])();}get['host'](){const _0x55479c=a19_0x121260;return(0x0,os_1[_0x55479c(0x1f6)])();}get[a19_0x121260(0x1f1)](){const _0x8813cf=a19_0x121260;return PlatformToOsMap[(0x0,os_1[_0x8813cf(0x204)])()]||(0x0,os_1[_0x8813cf(0x204)])();}get[a19_0x121260(0x1f0)](){const _0x55c37a=a19_0x121260;try{if(this[_0x55c37a(0x1f1)]===OS[_0x55c37a(0x203)])return this[_0x55c37a(0x21a)]['get']('VERSION_ID')||(0x0,os_1[_0x55c37a(0x228)])();return(0x0,os_1[_0x55c37a(0x228)])();}catch(_0x2bcb6a){this[_0x55c37a(0x214)][_0x55c37a(0x20e)](_0x2bcb6a);}return;}get[a19_0x121260(0x216)](){const _0x12da7e=a19_0x121260;return this[_0x12da7e(0x1f1)]===OS[_0x12da7e(0x203)]&&this['_osRelease'][_0x12da7e(0x215)]('ID')||'';}get[a19_0x121260(0x21c)](){const _0x2b33c9=a19_0x121260;return this[_0x2b33c9(0x1f1)]===OS[_0x2b33c9(0x203)]?(0x0,fs_1[_0x2b33c9(0x206)])('/.dockerenv'):![];}get[a19_0x121260(0x1fa)](){const _0x2f54b2=a19_0x121260;return!!process[_0x2f54b2(0x1ff)][_0x2f54b2(0x1f2)];}get[a19_0x121260(0x21a)](){const _0x1905ad=a19_0x121260;if(!this['_cachedOsRelease']){this['_cachedOsRelease']=new Map();try{if(this['agentOS']===OS[_0x1905ad(0x203)]){const _0x194fba=(0x0,fs_1[_0x1905ad(0x20b)])('/etc/os-release','utf-8');_0x194fba[_0x1905ad(0x202)](/\r?\n/)[_0x1905ad(0x210)](_0x3249c5=>{const _0x3da0de=_0x1905ad,[_0x294571,_0x52e512]=_0x3249c5[_0x3da0de(0x1fe)]()[_0x3da0de(0x202)]('=');this[_0x3da0de(0x1f7)]?.[_0x3da0de(0x20f)](_0x294571,_0x52e512?.[_0x3da0de(0x222)](/^"|"$/g,'')||'');});}}catch(_0x1d939e){this['_logger']['warn']('Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release',_0x1d939e);}}return this[_0x1905ad(0x1f7)];}[a19_0x121260(0x21e)](){const _0x1f839e=a19_0x121260;return{'runtimeEnvironmentVersion':this['runtimeEnvironmentVersion'],'runtimeEnvironmentInfo':this[_0x1f839e(0x1eb)],'pid':this['pid'],'cpuCoreCount':this[_0x1f839e(0x1f8)],'systemTotalMemoryBytes':this[_0x1f839e(0x21b)],'host':this[_0x1f839e(0x1ed)],'agentOS':this[_0x1f839e(0x1f1)],'osVersion':this['osVersion'],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x1f839e(0x21c)],'isInK8s':this[_0x1f839e(0x1fa)],'procArch':this[_0x1f839e(0x1ec)]};}}exports[a19_0x121260(0x221)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x50cab8=a20_0x3830;(function(_0x864b10,_0x40889c){const _0xa77fff=a20_0x3830,_0x1f4e28=_0x864b10();while(!![]){try{const _0x4ff9e3=parseInt(_0xa77fff(0x8e))/0x1*(parseInt(_0xa77fff(0x79))/0x2)+-parseInt(_0xa77fff(0x85))/0x3+parseInt(_0xa77fff(0x83))/0x4+parseInt(_0xa77fff(0x7d))/0x5*(-parseInt(_0xa77fff(0x8d))/0x6)+parseInt(_0xa77fff(0x9e))/0x7+parseInt(_0xa77fff(0x81))/0x8+-parseInt(_0xa77fff(0x7f))/0x9*(parseInt(_0xa77fff(0x90))/0xa);if(_0x4ff9e3===_0x40889c)break;else _0x1f4e28['push'](_0x1f4e28['shift']());}catch(_0x13ee7b){_0x1f4e28['push'](_0x1f4e28['shift']());}}}(a20_0x4bfa,0x4abc9));const a20_0x5b633f=(function(){let _0x3bc5eb=!![];return function(_0x48cdf7,_0x5c06fb){const _0xb7a4b8=_0x3bc5eb?function(){const _0x27401e=a20_0x3830;if(_0x5c06fb){const _0x11ebe4=_0x5c06fb[_0x27401e(0x9b)](_0x48cdf7,arguments);return _0x5c06fb=null,_0x11ebe4;}}:function(){};return _0x3bc5eb=![],_0xb7a4b8;};}()),a20_0xd1a4e1=a20_0x5b633f(this,function(){const _0x377f60=a20_0x3830;return a20_0xd1a4e1[_0x377f60(0x97)]()[_0x377f60(0x8a)](_0x377f60(0x8f))[_0x377f60(0x97)]()[_0x377f60(0x88)](a20_0xd1a4e1)['search'](_0x377f60(0x8f));});function a20_0x4bfa(){const _0x27b7b8=['30drRiTN','size','__esModule','fileIndex','885CpijDz','findShortestFuzzyMatches','8766hBeRMB','keys','701632UUdcVa','fileStats','1389884zrZLyH','push','826815IbptuI','stripStartingSep','get','constructor','fromFileStats','search','map','add','13194rXUHrc','33521JwQMGs','(((.+)+)+)+$','4580qnuiIC','_fileStats','length','fromFileList','generateSubPaths','defineProperty','substr','toString','indexOf','min','buildIndex','apply','sep','substring','3353357bPviuh','path','filter','FileIndex'];a20_0x4bfa=function(){return _0x27b7b8;};return a20_0x4bfa();}a20_0xd1a4e1();'use strict';Object[a20_0x50cab8(0x95)](exports,a20_0x50cab8(0x7b),{'value':!![]}),exports[a20_0x50cab8(0x78)]=void 0x0;const path=require(a20_0x50cab8(0x9f));function a20_0x3830(_0x53b6fe,_0x5bdfa1){const _0xf1f6ac=a20_0x4bfa();return a20_0x3830=function(_0xd1a4e1,_0x5b633f){_0xd1a4e1=_0xd1a4e1-0x78;let _0x4bfae5=_0xf1f6ac[_0xd1a4e1];return _0x4bfae5;},a20_0x3830(_0x53b6fe,_0x5bdfa1);}class FileIndex{constructor(_0x4e3322){const _0x91b874=a20_0x50cab8;this[_0x91b874(0x91)]=_0x4e3322,this[_0x91b874(0x7c)]=new Map();}static[a20_0x50cab8(0x89)](_0x3a9e65){const _0x217927=a20_0x50cab8,_0x53a0c2=new FileIndex(_0x3a9e65);return _0x53a0c2[_0x217927(0x9a)](Object[_0x217927(0x80)](_0x3a9e65)||[]),_0x53a0c2;}static[a20_0x50cab8(0x93)](_0x2e5daf){const _0x3c49dc=new FileIndex(undefined);return _0x3c49dc['buildIndex'](_0x2e5daf||[]),_0x3c49dc;}get[a20_0x50cab8(0x82)](){return this['_fileStats']||{};}[a20_0x50cab8(0x7e)](_0x1a888c){const _0x5bafa7=a20_0x50cab8,_0x53698d=this[_0x5bafa7(0x8a)](_0x1a888c);if(!_0x53698d||_0x53698d[_0x5bafa7(0x7a)]===0x0)return[];const _0x34edce=[..._0x53698d][_0x5bafa7(0x8b)](_0xb63071=>_0xb63071[_0x5bafa7(0x92)]),_0x30311d=Math[_0x5bafa7(0x99)](..._0x34edce),_0x56973f=[..._0x53698d][_0x5bafa7(0xa0)](_0x2667d5=>_0x2667d5['length']===_0x30311d);return _0x56973f;}[a20_0x50cab8(0x9a)](_0x14a763){const _0x1ebf4e=a20_0x50cab8;for(const _0xd00c5a of _0x14a763){for(const _0x1e98ed of this['generateSubPaths'](_0xd00c5a)){let _0xc8fc83=this[_0x1ebf4e(0x7c)][_0x1ebf4e(0x87)](_0x1e98ed);_0xc8fc83===undefined&&(_0xc8fc83=new Set(),this[_0x1ebf4e(0x7c)]['set'](_0x1e98ed,_0xc8fc83)),_0xc8fc83[_0x1ebf4e(0x8c)](_0xd00c5a);}}}[a20_0x50cab8(0x94)](_0x3611e3){const _0x37b371=a20_0x50cab8;_0x3611e3=this[_0x37b371(0x86)](_0x3611e3);const _0x1829aa=[_0x3611e3];while(_0x3611e3[_0x37b371(0x98)](path['sep'])>=0x0){_0x3611e3=_0x3611e3[_0x37b371(0x9d)](_0x3611e3[_0x37b371(0x98)](path[_0x37b371(0x9c)])+path[_0x37b371(0x9c)][_0x37b371(0x92)],_0x3611e3[_0x37b371(0x92)]),_0x1829aa[_0x37b371(0x84)](_0x3611e3);}return _0x1829aa;}[a20_0x50cab8(0x8a)](_0x40a966){const _0x41d84e=a20_0x50cab8;if(!_0x40a966)return undefined;_0x40a966=this[_0x41d84e(0x86)](_0x40a966);for(const _0x26dced of this[_0x41d84e(0x94)](_0x40a966)){if(this['fileIndex']['has'](_0x26dced))return this[_0x41d84e(0x7c)][_0x41d84e(0x87)](_0x26dced);}return undefined;}['stripStartingSep'](_0x39a95c){const _0x52c195=a20_0x50cab8;if(_0x39a95c&&(_0x39a95c[0x0]==='/'||_0x39a95c[0x0]==='\x5c'))return _0x39a95c[_0x52c195(0x96)](0x1);return _0x39a95c;}}exports[a20_0x50cab8(0x78)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x3a5cce=a21_0x10ab;(function(_0x38c926,_0x528078){const _0x387998=a21_0x10ab,_0x5800b0=_0x38c926();while(!![]){try{const _0x2bc6f5=parseInt(_0x387998(0x13e))/0x1+parseInt(_0x387998(0x149))/0x2*(parseInt(_0x387998(0x14a))/0x3)+-parseInt(_0x387998(0x13f))/0x4*(-parseInt(_0x387998(0x141))/0x5)+-parseInt(_0x387998(0x136))/0x6+parseInt(_0x387998(0x142))/0x7+-parseInt(_0x387998(0x135))/0x8*(-parseInt(_0x387998(0x137))/0x9)+-parseInt(_0x387998(0x151))/0xa;if(_0x2bc6f5===_0x528078)break;else _0x5800b0['push'](_0x5800b0['shift']());}catch(_0x247085){_0x5800b0['push'](_0x5800b0['shift']());}}}(a21_0x3991,0x36f6a));const a21_0x133cf2=(function(){let _0x36c10e=!![];return function(_0x142bd4,_0x281e15){const _0x2d5c5c=_0x36c10e?function(){const _0x184851=a21_0x10ab;if(_0x281e15){const _0x378d70=_0x281e15[_0x184851(0x13c)](_0x142bd4,arguments);return _0x281e15=null,_0x378d70;}}:function(){};return _0x36c10e=![],_0x2d5c5c;};}()),a21_0x57e0cb=a21_0x133cf2(this,function(){const _0x4140b8=a21_0x10ab;return a21_0x57e0cb[_0x4140b8(0x138)]()[_0x4140b8(0x14c)](_0x4140b8(0x146))['toString']()[_0x4140b8(0x140)](a21_0x57e0cb)[_0x4140b8(0x14c)](_0x4140b8(0x146));});a21_0x57e0cb();'use strict';function a21_0x10ab(_0x32e75d,_0xd2252){const _0x680a52=a21_0x3991();return a21_0x10ab=function(_0x57e0cb,_0x133cf2){_0x57e0cb=_0x57e0cb-0x135;let _0x39918f=_0x680a52[_0x57e0cb];return _0x39918f;},a21_0x10ab(_0x32e75d,_0xd2252);}Object[a21_0x3a5cce(0x14e)](exports,'__esModule',{'value':!![]}),exports[a21_0x3a5cce(0x147)]=void 0x0;const path=require(a21_0x3a5cce(0x14d));class ScanResultsImpl{constructor(_0x1f984a,_0x5fb371,_0x556eff){const _0x5a98d2=a21_0x3a5cce;this[_0x5a98d2(0x144)]=_0x1f984a,this[_0x5a98d2(0x14f)]=_0x5fb371,this[_0x5a98d2(0x13d)]=_0x556eff;}[a21_0x3a5cce(0x14b)](){const _0x7c7467=a21_0x3a5cce;return this[_0x7c7467(0x14f)];}[a21_0x3a5cce(0x148)](){const _0x1b1921=a21_0x3a5cce;return this[_0x1b1921(0x144)];}[a21_0x3a5cce(0x143)](_0x2cfd8f){const _0x252950=a21_0x3a5cce,_0x3b4e3c={};return Object[_0x252950(0x139)](this[_0x252950(0x144)])['forEach'](_0x391f66=>{const _0x2710d9=_0x252950;_0x2cfd8f['test'](_0x391f66)&&(_0x3b4e3c[_0x391f66]=this[_0x2710d9(0x144)][_0x391f66]);}),_0x3b4e3c;}[a21_0x3a5cce(0x13a)](_0x42d072,_0x20e72b){const _0x2c8b13=a21_0x3a5cce;return _0x20e72b=path[_0x2c8b13(0x150)](_0x20e72b+path['sep']),Object[_0x2c8b13(0x139)](this[_0x2c8b13(0x144)])['filter'](_0x500fbf=>{const _0x1c4393=_0x2c8b13;return _0x500fbf&&_0x42d072[_0x1c4393(0x145)](_0x500fbf);})[_0x2c8b13(0x13b)](_0x239f15=>{const _0x445a4c=_0x2c8b13;return path[_0x445a4c(0x150)](_0x239f15)['replace'](_0x20e72b,'');});}}exports[a21_0x3a5cce(0x147)]=ScanResultsImpl;function a21_0x3991(){const _0x18e36d=['keys','selectFiles','map','apply','hash','153765RdeeVU','755804CHEFIY','constructor','5xfmdcM','1253448cdCpWu','selectStats','stats','test','(((.+)+)+)+$','ScanResultsImpl','all','182212yzqsOe','12xrcFiL','errors','search','path','defineProperty','errorMap','normalize','7286310ybFxZB','10256OpSMDu','1971486DcidUg','2781VsMfBw','toString'];a21_0x3991=function(){return _0x18e36d;};return a21_0x3991();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a22_0x3ab6(){const _0x49fa93=['45ZrGHPE','startsWith','from','accessSync','basename','update','.git','5zVJgST','toString','__esModule','directory','createReadStream','SHA1-','constants','hasReadAccess','info','computeStats','data','5138jNVcyN','set','error','join','hex','apply','end','Indexing\x20files\x20in\x20','node_modules','test','resolve','1841013JJudYw','409152sSKRIX','22lWAZNU','statsForFile','createHash','file','path','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','501612SvUVYx','defineProperty','crypto','Scanner','logger','addFilesFromDir','2896455VbeqcL','./scan-results','search','9714QqQBIJ','digest','findFiles','570714sLBsgf','hash','can\x27t\x20access\x20path:\x20[','17469490fsqPNr','ScanResultsImpl','add','(((.+)+)+)+$','sha1','findit2','open','length'];a22_0x3ab6=function(){return _0x49fa93;};return a22_0x3ab6();}const a22_0x102939=a22_0xe0e2;(function(_0x30d166,_0x68a3f2){const _0x476330=a22_0xe0e2,_0x446a52=_0x30d166();while(!![]){try{const _0xec9d68=parseInt(_0x476330(0xd1))/0x1*(-parseInt(_0x476330(0xfb))/0x2)+-parseInt(_0x476330(0xf5))/0x3+-parseInt(_0x476330(0xef))/0x4*(-parseInt(_0x476330(0x106))/0x5)+-parseInt(_0x476330(0xf8))/0x6*(parseInt(_0x476330(0xdc))/0x7)+-parseInt(_0x476330(0xe8))/0x8+-parseInt(_0x476330(0xe7))/0x9+parseInt(_0x476330(0xfe))/0xa*(parseInt(_0x476330(0xe9))/0xb);if(_0xec9d68===_0x68a3f2)break;else _0x446a52['push'](_0x446a52['shift']());}catch(_0x219fee){_0x446a52['push'](_0x446a52['shift']());}}}(a22_0x3ab6,0xbff20));const a22_0x495e17=(function(){let _0x3b8de8=!![];return function(_0x24b6e3,_0x2783d6){const _0x136b0d=_0x3b8de8?function(){const _0x317ee7=a22_0xe0e2;if(_0x2783d6){const _0x56ab6d=_0x2783d6[_0x317ee7(0xe1)](_0x24b6e3,arguments);return _0x2783d6=null,_0x56ab6d;}}:function(){};return _0x3b8de8=![],_0x136b0d;};}()),a22_0x5c488c=a22_0x495e17(this,function(){const _0x5ec531=a22_0xe0e2;return a22_0x5c488c[_0x5ec531(0xd2)]()[_0x5ec531(0xf7)](_0x5ec531(0x101))[_0x5ec531(0xd2)]()['constructor'](a22_0x5c488c)['search'](_0x5ec531(0x101));});a22_0x5c488c();function a22_0xe0e2(_0x3fdf8,_0xa188a8){const _0x50f381=a22_0x3ab6();return a22_0xe0e2=function(_0x5c488c,_0x495e17){_0x5c488c=_0x5c488c-0xcb;let _0x3ab630=_0x50f381[_0x5c488c];return _0x3ab630;},a22_0xe0e2(_0x3fdf8,_0xa188a8);}'use strict';Object[a22_0x102939(0xf0)](exports,a22_0x102939(0xd3),{'value':!![]}),exports[a22_0x102939(0xf2)]=void 0x0;const crypto=require(a22_0x102939(0xf1)),fs=require('fs'),path=require(a22_0x102939(0xed)),scan_results_1=require(a22_0x102939(0xf6));class Scanner{constructor(_0x37c28d){const _0x4f0609=a22_0x102939;this[_0x4f0609(0xf3)]=_0x37c28d;}async['scan'](_0x19fc3b,_0x42c75d,_0x1b2c11,_0x35e395){const _0x410ab3=a22_0x102939,_0x1d1cb4=await this[_0x410ab3(0xfa)](_0x19fc3b,_0x42c75d,_0x35e395);return this['computeStats'](_0x1d1cb4,_0x1b2c11);}[a22_0x102939(0xda)](_0x5bb733,_0x1c04c8){return new Promise(async _0x3ae18c=>{const _0x53b4ec=a22_0xe0e2;if(_0x5bb733[_0x53b4ec(0x105)]===0x0){_0x3ae18c(new scan_results_1[(_0x53b4ec(0xff))]({},new Map(),'EMPTY-no-js-files'));return;}const _0x32fc5d=[],_0x2b78a4={},_0x340c7f=new Map();for(const _0x5182c0 of _0x5bb733){try{const _0x5e38ed=await this[_0x53b4ec(0xea)](_0x5182c0,!_0x1c04c8);!_0x1c04c8&&_0x32fc5d['push'](_0x5e38ed[_0x53b4ec(0xfc)]),_0x2b78a4[_0x5182c0]=_0x5e38ed;}catch(_0x123976){_0x340c7f[_0x53b4ec(0xdd)](_0x5182c0,_0x123976);}}let _0x538dbc;if(!_0x1c04c8){const _0x29907c=_0x32fc5d['sort']()[_0x53b4ec(0xdf)](),_0x39631b=crypto[_0x53b4ec(0xeb)](_0x53b4ec(0x102))[_0x53b4ec(0xcf)](_0x29907c)[_0x53b4ec(0xf9)](_0x53b4ec(0xe0));_0x538dbc=_0x53b4ec(0xd6)+_0x39631b;}else _0x538dbc=_0x1c04c8;_0x3ae18c(new scan_results_1[(_0x53b4ec(0xff))](_0x2b78a4,_0x340c7f,_0x538dbc));});}async[a22_0x102939(0xfa)](_0x8b78e6,_0x5357a0,_0x13182f){const _0x2f3c3f=a22_0x102939,_0x3c8a20=new Set();await this[_0x2f3c3f(0xf4)](_0x3c8a20,_0x8b78e6,_0x5357a0);for(const _0x358bea of _0x13182f??[]){if(_0x358bea){const _0x373005=path[_0x2f3c3f(0xe6)](_0x358bea);try{await this[_0x2f3c3f(0xf4)](_0x3c8a20,_0x373005,_0x5357a0);}catch(_0xee47fa){this[_0x2f3c3f(0xf3)][_0x2f3c3f(0xde)]('Specified\x20extraPaths\x20does\x20not\x20exist!',_0xee47fa);continue;}}}return Array[_0x2f3c3f(0xcc)](_0x3c8a20);}static[a22_0x102939(0xd8)](_0x1c1bd4){const _0x23f805=a22_0x102939;try{return fs[_0x23f805(0xcd)](_0x1c1bd4,fs[_0x23f805(0xd7)]['R_OK']),!![];}catch(_0x403519){return![];}}async[a22_0x102939(0xf4)](_0x317939,_0x5ec4b4,_0x3b3f6b){return new Promise((_0x3806ff,_0x57770e)=>{const _0x318b4c=a22_0xe0e2;let _0x30dfdb;if(!_0x5ec4b4){_0x57770e(new Error('addFilesFromDir\x20requires\x20a\x20searchDir\x20argument'));return;}this[_0x318b4c(0xf3)][_0x318b4c(0xd9)](_0x318b4c(0xe3)+path[_0x318b4c(0xe6)](_0x5ec4b4));const _0x533c94=findit(_0x5ec4b4);_0x533c94['on']('error',_0x36e878=>{_0x30dfdb=_0x36e878;return;}),_0x533c94['on'](_0x318b4c(0xd4),(_0x38b8ac,_0x5d4976,_0x368f14)=>{const _0x4f42a8=_0x318b4c,_0x32935d=path[_0x4f42a8(0xce)](_0x38b8ac);!Scanner[_0x4f42a8(0xd8)](_0x38b8ac)&&(this[_0x4f42a8(0xf3)]['warn'](_0x4f42a8(0xfd)+path['resolve'](_0x38b8ac)+_0x4f42a8(0xee)),_0x368f14()),(_0x32935d===_0x4f42a8(0xd0)||_0x32935d===_0x4f42a8(0xe4))&&(!path[_0x4f42a8(0xe6)](_0x5ec4b4)[_0x4f42a8(0xcb)](path[_0x4f42a8(0xe6)](_0x38b8ac))&&_0x368f14());}),_0x533c94['on'](_0x318b4c(0xec),_0xce9f68=>{const _0x750f52=_0x318b4c;_0x3b3f6b[_0x750f52(0xe5)](_0xce9f68)&&_0x317939[_0x750f52(0x100)](_0xce9f68);}),_0x533c94['on'](_0x318b4c(0xe2),()=>{_0x30dfdb?_0x57770e(_0x30dfdb):_0x3806ff();});});}async[a22_0x102939(0xea)](_0x1964c3,_0x3270e8){return new Promise((_0xe63970,_0x28133f)=>{const _0x226bc7=a22_0xe0e2,_0x2e14ef=fs[_0x226bc7(0xd5)](_0x1964c3);_0x2e14ef['on'](_0x226bc7(0xde),_0x5caa23=>{_0x28133f(_0x5caa23);}),_0x2e14ef['on'](_0x226bc7(0x104),()=>{const _0x662e02=_0x226bc7;let _0x3c56c9;_0x3270e8&&(_0x3c56c9=crypto[_0x662e02(0xeb)]('sha1'));let _0x57d1f7=0x0,_0x33da14;const _0xb45bb=_0x2e14ef['pipe'](split());_0xb45bb['on']('error',_0x179a14=>{_0x33da14=_0x179a14;}),_0xb45bb['on'](_0x662e02(0xdb),_0x354ee5=>{const _0x558281=_0x662e02;_0x3270e8&&_0x3c56c9[_0x558281(0xcf)](_0x354ee5),_0x57d1f7++;}),_0xb45bb['on']('end',()=>{const _0x58b83f=_0x662e02;if(_0x33da14)_0x28133f(_0x33da14);else{const _0x20bbdd=_0x3270e8?_0x3c56c9[_0x58b83f(0xf9)](_0x58b83f(0xe0)):undefined;_0xe63970({'hash':_0x20bbdd,'lines':_0x57d1f7});}});});});}}exports[a22_0x102939(0xf2)]=Scanner;const findit=require(a22_0x102939(0x103)),split=require('split');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a23_0x3ffd(){const _0x5c31be=['719145nEnPRk','sort','mapConsumer','keys','infoMap','3342ASorcI','defineProperty','source-map','findInSources','9182936zhBzot','length','has','findShortestFuzzyMatches','The\x20path\x20','./file-index','55097955XXHQqF','webpack://','file','mapFile','basename','normalize','relative','15HuSdOJ','filter','FOUND\x20IN','outputFile','SourceMapper','substring','constructor','endsWith','.map','10462842RWhGSU','create','stringify','2940kMIiOo','reduce','promisify','Parsing\x20source\x20map\x20files','sourcemap\x20file\x20','error','(((.+)+)+)+$','8996477mfdwiy','map','Could\x20not\x20read\x20sourcemap\x20file\x20','all','from','An\x20error\x20occurred\x20while\x20reading\x20the\x20','replace','search','debug','157252JrzKHQ','info','join','mappingInfo','util','path','column','dirname','toString','Processing\x20','line','Failed\x20to\x20parse\x20source\x20map\x20file\x20','allGeneratedPositionsFor','sources','SourceMapConsumer','getMappingInfo'];a23_0x3ffd=function(){return _0x5c31be;};return a23_0x3ffd();}const a23_0x99e8f6=a23_0x50ad;(function(_0x125d06,_0x456e1f){const _0x45b1a4=a23_0x50ad,_0xca8e0e=_0x125d06();while(!![]){try{const _0x5e07e2=parseInt(_0x45b1a4(0x117))/0x1+parseInt(_0x45b1a4(0x11c))/0x2*(-parseInt(_0x45b1a4(0xf7))/0x3)+parseInt(_0x45b1a4(0x107))/0x4*(-parseInt(_0x45b1a4(0x12d))/0x5)+-parseInt(_0x45b1a4(0x136))/0x6+-parseInt(_0x45b1a4(0xfe))/0x7+-parseInt(_0x45b1a4(0x120))/0x8+parseInt(_0x45b1a4(0x126))/0x9;if(_0x5e07e2===_0x456e1f)break;else _0xca8e0e['push'](_0xca8e0e['shift']());}catch(_0x7357){_0xca8e0e['push'](_0xca8e0e['shift']());}}}(a23_0x3ffd,0xdddc0));const a23_0x50f663=(function(){let _0x581491=!![];return function(_0x1d0a71,_0x5629cb){const _0x19ece9=_0x581491?function(){if(_0x5629cb){const _0x22aced=_0x5629cb['apply'](_0x1d0a71,arguments);return _0x5629cb=null,_0x22aced;}}:function(){};return _0x581491=![],_0x19ece9;};}()),a23_0x48d1ed=a23_0x50f663(this,function(){const _0x15790c=a23_0x50ad;return a23_0x48d1ed[_0x15790c(0x10f)]()[_0x15790c(0x105)](_0x15790c(0xfd))[_0x15790c(0x10f)]()[_0x15790c(0x133)](a23_0x48d1ed)[_0x15790c(0x105)](_0x15790c(0xfd));});a23_0x48d1ed();'use strict';Object[a23_0x99e8f6(0x11d)](exports,'__esModule',{'value':!![]}),exports[a23_0x99e8f6(0x137)]=exports[a23_0x99e8f6(0x131)]=void 0x0;const fs=require('fs'),pLimit=require('p-limit'),path=require(a23_0x99e8f6(0x10c)),util_1=require(a23_0x99e8f6(0x10b)),sourceMap=require(a23_0x99e8f6(0x11e)),file_index_1=require(a23_0x99e8f6(0x125)),CONCURRENCY=0xa,WEBPACK_PREFIX=a23_0x99e8f6(0x127),readFilep=(0x0,util_1[a23_0x99e8f6(0xf9)])(fs['readFile']),MAP_EXT=a23_0x99e8f6(0x135);function a23_0x50ad(_0x966bdf,_0x2e9693){const _0x16a852=a23_0x3ffd();return a23_0x50ad=function(_0x48d1ed,_0x50f663){_0x48d1ed=_0x48d1ed-0xf6;let _0x3ffd82=_0x16a852[_0x48d1ed];return _0x3ffd82;},a23_0x50ad(_0x966bdf,_0x2e9693);}async function processSourcemap(_0x21decf,_0x1ff899,_0x527ade,_0x34b93a){const _0x4e366f=a23_0x99e8f6;_0x34b93a&&_0x21decf['debug'](_0x4e366f(0x110),_0x527ade);if(!_0x527ade||!_0x527ade[_0x4e366f(0x134)](MAP_EXT))throw new Error(_0x4e366f(0x124)+_0x527ade+'\x20does\x20not\x20specify\x20a\x20sourcemap\x20file');_0x527ade=path[_0x4e366f(0x12b)](_0x527ade);let _0x3106fb;try{_0x3106fb=await readFilep(_0x527ade,'utf8');}catch(_0x3ac33b){throw new Error(_0x4e366f(0x100)+_0x527ade+':\x20'+_0x3ac33b);}let _0x47739a;try{_0x47739a=new sourceMap[(_0x4e366f(0x115))](_0x3106fb);}catch(_0x2cbdb7){_0x21decf[_0x4e366f(0xfc)](_0x4e366f(0x112)+_0x527ade+':\x20'+_0x2cbdb7),_0x21decf['error'](JSON[_0x4e366f(0xf6)](_0x2cbdb7)),_0x34b93a&&_0x21decf[_0x4e366f(0x106)]('CONTENT',_0x3106fb);throw new Error(_0x4e366f(0x103)+_0x4e366f(0xfb)+_0x527ade+':\x20'+_0x2cbdb7);}const _0x41244c=_0x47739a[_0x4e366f(0x128)]?_0x47739a[_0x4e366f(0x128)]:path[_0x4e366f(0x12a)](_0x527ade,_0x4e366f(0x135)),_0x5a4700=path['dirname'](_0x527ade),_0x2b4e76=path[_0x4e366f(0x12b)](path['join'](_0x5a4700,_0x41244c)),_0x38ebe9=_0x47739a[_0x4e366f(0x114)][_0x4e366f(0x12e)](_0x77f53b=>!!_0x77f53b)[_0x4e366f(0x118)]((_0x5391ef,_0x38167f)=>_0x5391ef[_0x4e366f(0x121)]-_0x38167f['length']),_0x365b66=_0x38ebe9[_0x4e366f(0xff)](_0x50bb15=>{const _0x2dec08=_0x4e366f;if(_0x50bb15['toLowerCase']()['startsWith'](WEBPACK_PREFIX))return _0x50bb15[_0x2dec08(0x132)](WEBPACK_PREFIX[_0x2dec08(0x121)]);return _0x50bb15;})[_0x4e366f(0xff)](_0x4f4e40=>{const _0x46775a=_0x4e366f;return path[_0x46775a(0x12b)](path[_0x46775a(0x109)](_0x5a4700,_0x4f4e40));});if(_0x365b66[_0x4e366f(0x121)]===0x0)throw new Error('No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20'+_0x527ade);for(const _0x114898 of _0x365b66){_0x34b93a&&_0x21decf[_0x4e366f(0x108)](path[_0x4e366f(0x12b)](_0x114898),_0x4e366f(0x12f),_0x527ade),_0x1ff899['set'](path['normalize'](_0x114898),{'outputFile':_0x2b4e76,'mapFile':_0x527ade,'mapConsumer':_0x47739a,'sources':_0x38ebe9});}_0x21decf[_0x4e366f(0x106)]('Map\x20file\x20processed:\x20',_0x527ade);}class SourceMapper{constructor(_0x11c204){const _0x24d7f3=a23_0x99e8f6;this['logger']=_0x11c204,this[_0x24d7f3(0x11b)]=new Map();}['getMappingInfo'](_0x308cb4){const _0x40f9b3=a23_0x99e8f6;if(this['infoMap'][_0x40f9b3(0x122)](path[_0x40f9b3(0x12b)](_0x308cb4)))return{'entry':this[_0x40f9b3(0x11b)]['get'](_0x308cb4),'matchedPath':path[_0x40f9b3(0x12b)](_0x308cb4)};const _0x18e418=file_index_1['FileIndex']['fromFileList'](Array[_0x40f9b3(0x102)](this['infoMap'][_0x40f9b3(0x11a)]()))[_0x40f9b3(0x123)](_0x308cb4);if(_0x18e418[_0x40f9b3(0x121)]===0x1)return{'entry':this[_0x40f9b3(0x11b)]['get'](_0x18e418[0x0]),'matchedPath':_0x18e418[0x0]};return null;}['hasMappingInfo'](_0x639d80){return this['getMappingInfo'](_0x639d80)!==null;}[a23_0x99e8f6(0x10a)](_0x31de27,_0x278142,_0x5ef0e0){const _0x123832=a23_0x99e8f6;_0x31de27=path[_0x123832(0x12b)](_0x31de27);const _0xfef694=this[_0x123832(0x116)](_0x31de27);if(!_0xfef694)return null;const {entry:_0x2be0e9,matchedPath:_0xeee0e9}=_0xfef694,_0x5936dd=path[_0x123832(0x12c)](path[_0x123832(0x10e)](_0x2be0e9[_0x123832(0x129)]),_0xeee0e9)[_0x123832(0x104)](/\\/g,'/');let _0x585273=this['findInSources'](_0x2be0e9,_0x5936dd);_0x585273=_0x585273||this[_0x123832(0x11f)](_0x2be0e9,_0x31de27);const _0x50a0bd={'source':_0x585273||_0x5936dd,'line':_0x278142+0x1,'column':_0x5ef0e0},_0x4fe09c=_0x2be0e9[_0x123832(0x119)],_0x493fc0=_0x4fe09c[_0x123832(0x113)](_0x50a0bd),_0x79ec2e=_0x493fc0&&_0x493fc0['length']>0x0?_0x493fc0[_0x123832(0xf8)]((_0x1a497f,_0xa1253b)=>{const _0xecca7=_0x123832;return _0xa1253b[_0xecca7(0x111)]<_0x1a497f[_0xecca7(0x111)]?_0xa1253b:_0x1a497f;}):_0x4fe09c['generatedPositionFor'](_0x50a0bd);return{'file':_0x2be0e9[_0x123832(0x130)],'line':_0x79ec2e[_0x123832(0x111)],'column':_0x79ec2e[_0x123832(0x10d)]};}[a23_0x99e8f6(0x11f)](_0x3b8e66,_0x410a5b){const _0x2af963=a23_0x99e8f6;for(const _0x5103e2 of _0x3b8e66[_0x2af963(0x114)]){if(_0x5103e2['endsWith'](_0x410a5b))return _0x5103e2;}return undefined;}}exports[a23_0x99e8f6(0x131)]=SourceMapper;async function create(_0x26416a,_0x3bcd56,_0x4b4958){const _0x36d3a8=a23_0x99e8f6;_0x26416a['debug']('Creating\x20SourceMapper');const _0xb866e5=new SourceMapper(_0x26416a);_0x26416a[_0x36d3a8(0x106)](_0x36d3a8(0xfa),_0x3bcd56[_0x36d3a8(0x121)]);const _0x94ca7a=async _0x4b45eb=>{const _0x1d287e=_0x36d3a8;try{await processSourcemap(_0x26416a,_0xb866e5[_0x1d287e(0x11b)],_0x4b45eb,_0x4b4958);}catch(_0x58003d){_0x26416a[_0x1d287e(0xfc)]('Failed\x20to\x20process\x20a\x20source\x20map\x20file',_0x4b45eb,_0x58003d),_0x26416a['error'](JSON[_0x1d287e(0xf6)](_0x58003d));}};if(_0x4b4958)for(const _0x4d163a of _0x3bcd56){await _0x94ca7a(_0x4d163a);}else{const _0x12634f=pLimit(CONCURRENCY),_0x1f9619=_0x3bcd56[_0x36d3a8(0xff)](_0x1cb27c=>_0x12634f(()=>_0x94ca7a(_0x1cb27c)));await Promise[_0x36d3a8(0x101)](_0x1f9619);}return _0xb866e5;}exports[a23_0x99e8f6(0x137)]=create;
|